diff options
author | Roland McGrath <roland@redhat.com> | 2009-08-26 02:26:34 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-08-26 02:27:19 -0700 |
commit | 241696467caa087278576291cb3b89693668df0b (patch) | |
tree | 23132315a7fcbc856ded416ae2883abd3637b52b /m4 | |
parent | Fix bzip2 support for non-mmap case. (diff) | |
download | elfutils-241696467caa087278576291cb3b89693668df0b.tar.gz elfutils-241696467caa087278576291cb3b89693668df0b.tar.bz2 elfutils-241696467caa087278576291cb3b89693668df0b.tar.xz |
libdwfl: Support automatic decompression of files in XZ format.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 4 | ||||
-rw-r--r-- | m4/zip.m4 | 26 |
2 files changed, 17 insertions, 13 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 25675634..d116ccdc 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog | |||
@@ -1,3 +1,7 @@ | |||
1 | 2009-08-26 Roland McGrath <roland@redhat.com> | ||
2 | |||
3 | * zip.m4 (eu_ZIPLIB): Don't apply lib/LIB suffix to args. | ||
4 | |||
1 | 2009-02-01 Roland McGrath <roland@redhat.com> | 5 | 2009-02-01 Roland McGrath <roland@redhat.com> |
2 | 6 | ||
3 | * zip.m4: Fix --with/--without argument handling. | 7 | * zip.m4: Fix --with/--without argument handling. |
@@ -1,18 +1,18 @@ | |||
1 | dnl -*- Autoconf -*- 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-$1 argument, $2 automake conditional, |
3 | dnl and sets AC_DEFINE(USE_$2LIB) and LIBS. | 3 | dnl and sets AC_DEFINE(USE_$2) and LIBS. |
4 | 4 | ||
5 | AC_DEFUN([eu_ZIPLIB], [dnl | 5 | AC_DEFUN([eu_ZIPLIB], [dnl |
6 | AC_ARG_WITH([[$1]lib], | 6 | AC_ARG_WITH([[$1]], |
7 | AC_HELP_STRING([--with-[$1]lib], [support g[$1]ip compression in libdwfl]),, | 7 | AC_HELP_STRING([--with-[$1]], [support [$1] compression in libdwfl]),, |
8 | [with_[$1]lib=default]) | 8 | [with_[$1]=default]) |
9 | if test $with_[$1]lib != no; then | 9 | if test $with_[$1] != no; then |
10 | AC_SEARCH_LIBS([$4], [$3], [with_[$1]lib=yes], | 10 | AC_SEARCH_LIBS([$4], [$3], [with_[$1]=yes], |
11 | [test $with_[$1]lib = default || | 11 | [test $with_[$1] = default || |
12 | AC_MSG_ERROR([missing -l[$3] for --with-[$1]lib])]) | 12 | AC_MSG_ERROR([missing -l[$3] for --with-[$1]])]) |
13 | fi | 13 | fi |
14 | AM_CONDITIONAL([$2]LIB, test $with_[$1]lib = yes) | 14 | AM_CONDITIONAL([$2], test $with_[$1] = yes) |
15 | if test $with_[$1]lib = yes; then | 15 | if test $with_[$1] = yes; then |
16 | AC_DEFINE(USE_[$2]LIB) | 16 | AC_DEFINE(USE_[$2]) |
17 | fi | 17 | fi |
18 | AH_TEMPLATE(USE_[$2]LIB, [Support $5 decompression via -l$3.])]) | 18 | AH_TEMPLATE(USE_[$2], [Support $5 decompression via -l$3.])]) |