/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.68 by camm, Fri Aug 9 05:49:32 2002 UTC revision 1.69 by camm, Fri Aug 9 14:18:49 2002 UTC
# Line 198  fi Line 198  fi
198    
199  def_dlopen="no"  def_dlopen="no"
200  def_statsysbfd="yes"  def_statsysbfd="yes"
201    def_custreloc="no"
202  case $use in  case $use in
203       *linux)       *linux)
204          ln -snf linux.defs h/$use.defs;          ln -snf linux.defs h/$use.defs;
# Line 211  case $use in Line 212  case $use in
212                  hppa*)                  hppa*)
213                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
214          esac;;          esac;;
215        *mingw*)
216            def_statsysbfd="no" ; def_custreloc="yes" ;;
217  esac  esac
218    
219  AC_ARG_ENABLE(dlopen,  AC_ARG_ENABLE(dlopen,
# Line 225  AC_ARG_ENABLE(dynsysbfd, Line 228  AC_ARG_ENABLE(dynsysbfd,
228  AC_ARG_ENABLE(locbfd,  AC_ARG_ENABLE(locbfd,
229          [ --enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files ]          [ --enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files ]
230          ,,enable_locbfd="no")          ,,enable_locbfd="no")
231    AC_ARG_ENABLE(custreloc,
232            [ --enable-custreloc uses custom gcl code if available for loading  and relocationing object files ]
233            ,,enable_custreloc="def_custreloc")
234  AC_ARG_ENABLE(debug,  AC_ARG_ENABLE(debug,
235          [ --enable-debug builds gcl with -g in CFLAGS to enable running under gdb ]          [ --enable-debug builds gcl with -g in CFLAGS to enable running under gdb ]
236          ,,enable_debug="no")          ,,enable_debug="no")
# Line 242  fi Line 248  fi
248  if test "$enable_locbfd" = "yes" ; then  if test "$enable_locbfd" = "yes" ; then
249          load_opt=$(($load_opt+1))          load_opt=$(($load_opt+1))
250  fi  fi
251    if test "$enable_custreloc" = "yes" ; then
252            load_opt=$(($load_opt+1))
253    fi
254    
255  if test "$load_opt" != "1" ; then  if test "$load_opt" != "1" ; then
256          echo "Exactly one loader option must be chosen: dlopen=$enable_dlopen statsysbfd=$enable_statsysbfd dynsysbfd=$enable_dynsysbfd locbfd=$enable_locbfd"          echo "Exactly one loader option must be chosen: dlopen=$enable_dlopen statsysbfd=$enable_statsysbfd dynsysbfd=$enable_dynsysbfd locbfd=$enable_locbfd custreloc=$enable_custreloc"
257          exit 1          exit 1
258  fi  fi
259    
# Line 457  if test "$enable_locbfd" = "yes" ; then Line 466  if test "$enable_locbfd" = "yes" ; then
466          echo "# Subconfigure of BFD"          echo "# Subconfigure of BFD"
467          echo "#"          echo "#"
468          echo "#"          echo "#"
469          cd binutils/bfd && ./configure && cd ../..          cd binutils/bfd && chmod +x configure && ./configure && cd ../..
470          echo "#"          echo "#"
471          echo "#"          echo "#"
472          echo "#"          echo "#"
# Line 470  if test "$enable_locbfd" = "yes" ; then Line 479  if test "$enable_locbfd" = "yes" ; then
479          echo "# Subconfigure of LIBIBERTY"          echo "# Subconfigure of LIBIBERTY"
480          echo "#"          echo "#"
481          echo "#"          echo "#"
482          cd binutils/libiberty && ./configure && cd ../..          cd binutils/libiberty && chmod +x configure && ./configure && cd ../..
483          echo "#"          echo "#"
484          echo "#"          echo "#"
485          echo "#"          echo "#"

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26