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

Diff of /gcl/configure.in

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

revision 1.112.4.1.2.1 by camm, Thu Aug 21 04:17:46 2003 UTC revision 1.112.4.1.2.2 by camm, Thu Aug 21 04:31:36 2003 UTC
# Line 22  AC_ARG_ENABLE(vssize,[ --enable-vssize=X Line 22  AC_ARG_ENABLE(vssize,[ --enable-vssize=X
22  AC_ARG_ENABLE(machine,[ --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs] ,  AC_ARG_ENABLE(machine,[ --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs] ,
23  [enable_machine=$enableval],[enable_machine=""])  [enable_machine=$enableval],[enable_machine=""])
24    
 AC_ARG_ENABLE(static,[ --enable-static will link your GCL against static as opposed to shared system libraries ] ,  
 [enable_static=$enableval],[enable_static="no"])  
   
25  AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] ,  AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] ,
26  [use_gmp=$enableval],[use_gmp="yes"])  [use_gmp=$enableval],[use_gmp="yes"])
27    
# Line 237  def_statsysbfd="yes" Line 234  def_statsysbfd="yes"
234  def_custreloc="no"  def_custreloc="no"
235  def_oldgmp="no"  def_oldgmp="no"
236  def_pic="no";  def_pic="no";
237    def_static="no";
238  case $use in  case $use in
239       *linux)       *linux)
240          ln -snf linux.defs h/$use.defs;          ln -snf linux.defs h/$use.defs;
241          case $use in          case $use in
                 amd64*)  
                         TCFLAGS="$TCFLAGS -m64";;    
242                  alpha*)                  alpha*)
243                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
244                  mips*)                  mips*)
245                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
246    # def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion
247    # on these architectures -- CM                  
248                  ia64*)                  ia64*)
249                          def_dlopen="yes" ; def_statsysbfd="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ; def_static = "yes" ;;
250                  hppa*)                  hppa*)
251                          def_dlopen="yes" ; def_statsysbfd="no" def_pic="yes" ;;                          def_dlopen="yes" ; def_statsysbfd="no" def_pic="yes" ;;
252  #               m68k*)  #               m68k*)
# Line 276  AC_ARG_ENABLE(custreloc, Line 274  AC_ARG_ENABLE(custreloc,
274  AC_ARG_ENABLE(debug,  AC_ARG_ENABLE(debug,
275          [ --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 ]
276          ,,enable_debug="no")          ,,enable_debug="no")
277    AC_ARG_ENABLE(static,[ --enable-static will link your GCL against static as opposed to shared system libraries ] ,
278            [enable_static=$enableval],[enable_static="$def_static"])
279  AC_ARG_ENABLE(pic,  AC_ARG_ENABLE(pic,
280          [ --enable-pic builds gcl with -fPIC in CFLAGS ]          [ --enable-pic builds gcl with -fPIC in CFLAGS ]
281          ,,enable_pic="$def_pic")          ,,enable_pic="$def_pic")
# Line 328  if test "$load_opt" != "1" ; then Line 328  if test "$load_opt" != "1" ; then
328          exit 1          exit 1
329  fi  fi
330    
331    if test "$enable_static" = "yes" ; then
332       TLIBS="-static $TLIBS";
333    fi
334    
335  ## finally warn if we did not find a recognized machine.s  ## finally warn if we did not find a recognized machine.s
336  ##  ##
337  #if test "$use" = "unknown" ; then  #if test "$use" = "unknown" ; then
# Line 381  AC_CHECK_PROGS(AWK,gawk nawk awk,"") Line 385  AC_CHECK_PROGS(AWK,gawk nawk awk,"")
385  case $use in  case $use in
386       *linux)       *linux)
387          case $use in          case $use in
388                    amd64*)
389                            TCFLAGS="$TCFLAGS -m64";;  
390                  alpha*)                  alpha*)
391                          TCFLAGS="$TCFLAGS -mieee";;                          TCFLAGS="$TCFLAGS -mieee";;
392  #               m68k*)  #               m68k*)
# Line 392  case $use in Line 398  case $use in
398                          ;;                          ;;
399                  arm*)                  arm*)
400                          TCFLAGS="$TCFLAGS -mlong-calls";;                                TCFLAGS="$TCFLAGS -mlong-calls";;      
                 ia64*)  
 # Function descriptors are currently realized at runtime in a non-reporducible fashion  
 # on these architectures -- CM                    
                         TLIBS="-static $TLIBS";;  
401                  powerpc*)                  powerpc*)
402                          if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then                          if $CC -v 2>&1 | grep -q "gcc version 3.2" ; then
403                             echo Reducing optimization for buggy gcc-3.2                             echo Reducing optimization for buggy gcc-3.2

Legend:
Removed from v.1.112.4.1.2.1  
changed lines
  Added in v.1.112.4.1.2.2

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