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

Diff of /gcl/configure.in

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

revision 1.72 by camm, Sun Aug 11 16:32:10 2002 UTC revision 1.73 by camm, Tue Aug 13 03:59:56 2002 UTC
# Line 199  fi Line 199  fi
199  def_dlopen="no"  def_dlopen="no"
200  def_statsysbfd="yes"  def_statsysbfd="yes"
201  def_custreloc="no"  def_custreloc="no"
202    def_oldgmp="no"
203  case $use in  case $use in
204       *linux)       *linux)
205          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                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
213                  hppa*)                  hppa*)
214                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
215                    m68k*)
216                            def_oldgmp="yes" ;;
217          esac;;          esac;;
218      *mingw*)      *mingw*)
219          def_statsysbfd="no" ; def_custreloc="yes" ;;          def_statsysbfd="no" ; def_custreloc="yes" ;;
# Line 235  AC_ARG_ENABLE(debug, Line 238  AC_ARG_ENABLE(debug,
238          [ --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 ]
239          ,,enable_debug="no")          ,,enable_debug="no")
240    
241    AC_ARG_ENABLE(oldgmp,
242            [ --enable-oldgmp will link agains gmp2 instead of gmp3 ]
243            ,,enable_oldgmp="$def_oldgmp")
244    
245  load_opt="0"  load_opt="0"
246  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
247          load_opt=$(($load_opt+1))          load_opt=$(($load_opt+1))
# Line 364  if test $use_gmp = yes ; then Line 371  if test $use_gmp = yes ; then
371   echo "# Subconfigure of GMP"   echo "# Subconfigure of GMP"
372   echo "#"   echo "#"
373   echo "#"   echo "#"
374    
375     if test "$enable_oldgmp" = "yes" ; then
376            GMPDIR=gmp
377     else
378            GMPDIR=gmp3
379     fi
380    
381   case "$use" in   case "$use" in
382  #  Seem to be some problems with gmp3 on 68060 machines.  CM  #  Seem to be some problems with gmp3 on 68060 machines.  CM
383  #   m68k-linux)  #   m68k-linux)
384  #      (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;;  #      (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;;
385     *)     *)
386        (cd gmp3 && ./configure) ;;        (cd $GMPDIR && ./configure) ;;
387   esac   esac
388   echo "#"   echo "#"
389   echo "#"   echo "#"
# Line 377  if test $use_gmp = yes ; then Line 391  if test $use_gmp = yes ; then
391   echo "# Subconfigure of GMP done"   echo "# Subconfigure of GMP done"
392   echo "# ------------------------"   echo "# ------------------------"
393   echo "#"   echo "#"
394   cp gmp3/gmp.h h/gmp.h   cp $GMPDIR/gmp.h h/gmp.h
395   AC_MSG_CHECKING("for size of gmp limbs")   AC_MSG_CHECKING("for size of gmp limbs")
396   AC_TRY_RUN([#include <stdio.h>   AC_TRY_RUN([#include <stdio.h>
397          #include "h/gmp.h"          #include "h/gmp.h"
# Line 396  if test $use_gmp = yes ; then Line 410  if test $use_gmp = yes ; then
410   GMP=1   GMP=1
411   AC_DEFINE(GMP)   AC_DEFINE(GMP)
412   AC_SUBST(GMP)   AC_SUBST(GMP)
413     AC_SUBST(GMPDIR)
414   MP_INCLUDE=h/gmp.h   MP_INCLUDE=h/gmp.h
415   echo > makedefsafter   echo > makedefsafter
416   echo 'MPFILES=${GMP_DIR}libgmp.a' >> makedefsafter   echo 'MPFILES=${GMPDIR}/libgmp.a' >> makedefsafter
417   echo >> makedefsafter   echo >> makedefsafter
418  fi  fi
419  AC_SUBST(MP_INCLUDE)  AC_SUBST(MP_INCLUDE)
# Line 488  if test "$enable_locbfd" = "yes" ; then Line 503  if test "$enable_locbfd" = "yes" ; then
503          echo "#"          echo "#"
504          TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a"          TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a"
505          AC_DEFINE(HAVE_LIBBFD)          AC_DEFINE(HAVE_LIBBFD)
506          BUILD_BFD="h/bfd.h h/bfdlink.h"          BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h"
507          AC_SUBST(BUILD_BFD)          AC_SUBST(BUILD_BFD)
508  fi  fi
509    

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

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