summaryrefslogtreecommitdiffstats
path: root/m4/zip.m4
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-08-26 02:26:34 -0700
committerRoland McGrath <roland@redhat.com>2009-08-26 02:27:19 -0700
commit241696467caa087278576291cb3b89693668df0b (patch)
tree23132315a7fcbc856ded416ae2883abd3637b52b /m4/zip.m4
parentae1d7dc16530898192929ea2a8faea803282a3b3 (diff)
libdwfl: Support automatic decompression of files in XZ format.
Diffstat (limited to 'm4/zip.m4')
-rw-r--r--m4/zip.m426
1 files changed, 13 insertions, 13 deletions
diff --git a/m4/zip.m4 b/m4/zip.m4
index 19fa4926..8e4d545c 100644
--- a/m4/zip.m4
+++ b/m4/zip.m4
@@ -1,18 +1,18 @@
dnl -*- Autoconf -*- test for either zlib or bzlib.
-dnl Defines --with-$1lib argument, $2LIB automake conditional,
-dnl and sets AC_DEFINE(USE_$2LIB) and LIBS.
+dnl Defines --with-$1 argument, $2 automake conditional,
+dnl and sets AC_DEFINE(USE_$2) and LIBS.
AC_DEFUN([eu_ZIPLIB], [dnl
-AC_ARG_WITH([[$1]lib],
-AC_HELP_STRING([--with-[$1]lib], [support g[$1]ip compression in libdwfl]),,
- [with_[$1]lib=default])
-if test $with_[$1]lib != no; then
- AC_SEARCH_LIBS([$4], [$3], [with_[$1]lib=yes],
- [test $with_[$1]lib = default ||
- AC_MSG_ERROR([missing -l[$3] for --with-[$1]lib])])
+AC_ARG_WITH([[$1]],
+AC_HELP_STRING([--with-[$1]], [support [$1] compression in libdwfl]),,
+ [with_[$1]=default])
+if test $with_[$1] != no; then
+ AC_SEARCH_LIBS([$4], [$3], [with_[$1]=yes],
+ [test $with_[$1] = default ||
+ AC_MSG_ERROR([missing -l[$3] for --with-[$1]])])
fi
-AM_CONDITIONAL([$2]LIB, test $with_[$1]lib = yes)
-if test $with_[$1]lib = yes; then
- AC_DEFINE(USE_[$2]LIB)
+AM_CONDITIONAL([$2], test $with_[$1] = yes)
+if test $with_[$1] = yes; then
+ AC_DEFINE(USE_[$2])
fi
-AH_TEMPLATE(USE_[$2]LIB, [Support $5 decompression via -l$3.])])
+AH_TEMPLATE(USE_[$2], [Support $5 decompression via -l$3.])])