diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 03:55:56 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-31 03:56:12 -0700 |
commit | 0138187e9fc351c6d4615bbe2ab020a3ac646b50 (patch) | |
tree | 5863d905a08e1fca6445b29b1f8aada03c805b86 /gas/config.in | |
parent | 0ee42ecde7aadb3e68ae5b944f7b1b6a859ebcfd (diff) | |
download | binutils-0138187e9fc351c6d4615bbe2ab020a3ac646b50.zip binutils-0138187e9fc351c6d4615bbe2ab020a3ac646b50.tar.gz binutils-0138187e9fc351c6d4615bbe2ab020a3ac646b50.tar.bz2 |
Add --with-system-zlib in gas
This patch adds --with-system-zlib and remove --with-zlib in gas.
gas/
* Makefile.am (ZLIBINC): New.
(AM_CFLAGS): Add $(ZLIBINC).
* as.c: (show_usage): Don't check HAVE_ZLIB_H.
(parse_args): Likewise.
* compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
(compress_init): Don't check HAVE_ZLIB_H.
(compress_data): Likewise.
(compress_finish): Likewise.
* configure.ac (AM_ZLIB): Removed.
(zlibinc): New. AC_SUBST.
Add --with-system-zlib.
* Makefile.in: Regenerated.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
gas/testsuite/
* gas/i386/dw2-compress-1.d: Expect .zdebug_info.
Diffstat (limited to 'gas/config.in')
-rw-r--r-- | gas/config.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gas/config.in b/gas/config.in index fef16ee..a2d62f4 100644 --- a/gas/config.in +++ b/gas/config.in @@ -157,9 +157,6 @@ /* Define to 1 if you have the <windows.h> header file. */ #undef HAVE_WINDOWS_H -/* Define to 1 if you have the <zlib.h> header file. */ -#undef HAVE_ZLIB_H - /* Using i386 COFF? */ #undef I386COFF |