diff options
author | Roland McGrath <roland@redhat.com> | 2009-02-01 14:24:46 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-02-01 14:24:46 -0800 |
commit | e8d3528477c499edfcd177d779952c15b546913c (patch) | |
tree | fa00973dc41eeff80471933b509b1713947c2fd1 /m4 | |
parent | Fiddle internal type decls for C++ scoping. (diff) | |
download | elfutils-e8d3528477c499edfcd177d779952c15b546913c.tar.gz elfutils-e8d3528477c499edfcd177d779952c15b546913c.tar.bz2 elfutils-e8d3528477c499edfcd177d779952c15b546913c.tar.xz |
zip.m4: Fix --with/--without argument handling.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 4 | ||||
-rw-r--r-- | m4/zip.m4 | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index eea78ff0..25675634 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog | |||
@@ -1,3 +1,7 @@ | |||
1 | 2009-02-01 Roland McGrath <roland@redhat.com> | ||
2 | |||
3 | * zip.m4: Fix --with/--without argument handling. | ||
4 | |||
1 | 2009-01-08 Roland McGrath <roland@redhat.com> | 5 | 2009-01-08 Roland McGrath <roland@redhat.com> |
2 | 6 | ||
3 | * zip.am: New file. | 7 | * zip.am: New file. |
@@ -1,10 +1,11 @@ | |||
1 | dnl Test for either zlib or bzlib. | 1 | dnl -*- Autoconf -*- test for either zlib or bzlib. |
2 | dnl Defines --with-$1lib argument, $2LIB automake conditional, | 2 | dnl Defines --with-$1lib argument, $2LIB automake conditional, |
3 | dnl and sets AC_DEFINE(USE_$2LIB) and LIBS. | 3 | dnl and sets AC_DEFINE(USE_$2LIB) and LIBS. |
4 | 4 | ||
5 | AC_DEFUN([eu_ZIPLIB], [with_[$1]lib=default | 5 | AC_DEFUN([eu_ZIPLIB], [dnl |
6 | AC_ARG_WITH([[$1]lib], | 6 | AC_ARG_WITH([[$1]lib], |
7 | AC_HELP_STRING([--with-[$1]lib], [support g[$1]ip compression in libdwfl])) | 7 | AC_HELP_STRING([--with-[$1]lib], [support g[$1]ip compression in libdwfl]),, |
8 | [with_[$1]lib=default]) | ||
8 | if test $with_[$1]lib != no; then | 9 | if test $with_[$1]lib != no; then |
9 | AC_SEARCH_LIBS([$4], [$3], [with_[$1]lib=yes], | 10 | AC_SEARCH_LIBS([$4], [$3], [with_[$1]lib=yes], |
10 | [test $with_[$1]lib = default || | 11 | [test $with_[$1]lib = default || |