X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfigure;h=002891d6ed2d4b2e4ff0713876f7876afef8dca6;hb=543b793377eb8c64f8c4e0e68cd3e6b39e857051;hp=07bcee097b7437fc9993e871c23cdfbe826602c2;hpb=ed2b5077eb36d82ad7763d76fdd8e82d15f72b7a;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/configure b/gas/configure index 07bcee097b..002891d6ed 100755 --- a/gas/configure +++ b/gas/configure @@ -603,6 +603,7 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS zlibinc +zlibdir LIBM ALLOCA GENINSRC_NEVER_FALSE @@ -10968,7 +10969,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10971 "configure" +#line 10972 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11074,7 +11075,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11077 "configure" +#line 11078 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14320,17 +14321,23 @@ $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h ;; esac -# Use the system's zlib library. -zlibinc="-I\$(srcdir)/../zlib" +# Link in zlib if we can. This allows us to write compressed debug sections. + + # Use the system's zlib library. + zlibdir=-L../zlib + zlibinc="-I\$(srcdir)/../zlib" # Check whether --with-system-zlib was given. if test "${with_system_zlib+set}" = set; then : - withval=$with_system_zlib; zlibinc= + withval=$with_system_zlib; zlibdir= + zlibinc= fi + + # Support for VMS timestamps via cross compile if test "$ac_cv_header_time_h" = yes; then