summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-12 18:29:54 +0000
committerJean Delvare <khali@linux-fr.org>2005-08-12 18:29:54 +0000
commitc4576702a10aa61d8a4a51fecf748abea0ad5648 (patch)
tree38037687a3dce3f3d51165f0e851b1f011416033 /configure.ac
parent70abb31b595527ced19933c9a4e9be39c4c5035e (diff)
downloadquilt-c4576702a10aa61d8a4a51fecf748abea0ad5648.tar.gz
- configure.ac: Do not check for diffstat version if --without-diffstat
is used.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d6aaa36..3e146d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT([quilt],[0.42],[quilt-dev@nongnu.org])
AC_CONFIG_AUX_DIR(config)
AC_PREREQ(2.53)
-AC_REVISION ($Revision: 1.38 $)
+AC_REVISION ($Revision: 1.39 $)
PACKAGE_RELEASE=1
AC_SUBST(PACKAGE_RELEASE)
@@ -200,10 +200,11 @@ in a directory that is not in the search path you can specify its location
using the '--with-diffstat' option.
])
DIFFSTAT="diffstat"
-else
+elif test "$DIFFSTAT" != no; then
# We need diffstat version 1.32 or better, else quilt refresh --diffstat
# will show progress data we don't want to see. This is only a warning
- # and we continue even if version is older, as this is only a minor annoyance.
+ # and we continue even if version is older, as this is only a minor
+ # annoyance.
AC_MSG_CHECKING([for diffstat version])
diffstat_major_version=`$DIFFSTAT -V 2>/dev/null | \
sed 's/^[[^0-9]]*\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`