aboutsummaryrefslogtreecommitdiff
path: root/gas/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-31 05:55:18 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-31 06:39:57 -0700
commit543b793377eb8c64f8c4e0e68cd3e6b39e857051 (patch)
tree10daf4193326e332e374cb00641fea7ce26465d6 /gas/configure
parented2b5077eb36d82ad7763d76fdd8e82d15f72b7a (diff)
downloadgdb-543b793377eb8c64f8c4e0e68cd3e6b39e857051.zip
gdb-543b793377eb8c64f8c4e0e68cd3e6b39e857051.tar.gz
gdb-543b793377eb8c64f8c4e0e68cd3e6b39e857051.tar.bz2
Revert the AM_ZLIB change in gas
* configure.ac: Revert the AM_ZLIB change. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise.
Diffstat (limited to 'gas/configure')
-rwxr-xr-xgas/configure17
1 files changed, 12 insertions, 5 deletions
diff --git a/gas/configure b/gas/configure
index 07bcee0..002891d 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