projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.6.1
[debian/amanda]
/
config
/
amanda
/
compress.m4
diff --git
a/config/amanda/compress.m4
b/config/amanda/compress.m4
index 1fb47ec8ac6cfe808b770b43d8cef8cfaccc4e65..4df5a496e89411f91040c39ef49e411090b593af 100644
(file)
--- a/
config/amanda/compress.m4
+++ b/
config/amanda/compress.m4
@@
-4,7
+4,7
@@
#
# OVERVIEW
#
#
# OVERVIEW
#
-# Find a suitable compression program and define the following:
+# Find a suitable compression program and
substitute and
define the following:
#
# - COMPRESS_PATH
# - COMPRESS_SUFFIX
#
# - COMPRESS_PATH
# - COMPRESS_SUFFIX
@@
-20,9
+20,11
@@
AC_DEFUN([AMANDA_CHECK_COMPRESSION],
AC_REQUIRE([AMANDA_PROG_COMPRESS])
AC_REQUIRE([AMANDA_PROG_GZIP])
AC_REQUIRE([AMANDA_PROG_COMPRESS])
AC_REQUIRE([AMANDA_PROG_GZIP])
+ HAVE_GZIP=
if test "$GZIP"; then
AC_DEFINE(HAVE_GZIP,1,
[Define if Amanda is using the gzip program. ])
if test "$GZIP"; then
AC_DEFINE(HAVE_GZIP,1,
[Define if Amanda is using the gzip program. ])
+ HAVE_GZIP=1
COMPRESS_PATH="$GZIP"
COMPRESS_SUFFIX=".gz"
COMPRESS_FAST_OPT="--fast"
COMPRESS_PATH="$GZIP"
COMPRESS_SUFFIX=".gz"
COMPRESS_FAST_OPT="--fast"
@@
-66,6
+68,14
@@
AC_DEFUN([AMANDA_CHECK_COMPRESSION],
AC_DEFINE_UNQUOTED(UNCOMPRESS_OPT,"$UNCOMPRESS_OPT",
[Define as any optional arguments to get UNCOMPRESS_PATH to uncompress. ])
AC_DEFINE_UNQUOTED(UNCOMPRESS_OPT,"$UNCOMPRESS_OPT",
[Define as any optional arguments to get UNCOMPRESS_PATH to uncompress. ])
+ AC_SUBST(COMPRESS_PATH)
+ AC_SUBST(COMPRESS_SUFFIX)
+ AC_SUBST(COMPRESS_FAST_OPT)
+ AC_SUBST(COMPRESS_BEST_OPT)
+ AC_SUBST(UNCOMPRESS_PATH)
+ AC_SUBST(UNCOMPRESS_OPT)
+ AC_SUBST(HAVE_GZIP)
+
# Empty GZIP so that make dist works.
GZIP=
])
# Empty GZIP so that make dist works.
GZIP=
])