summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2014-06-03 14:03:08 +0200
committerAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2014-06-03 14:03:08 +0200
commitbb4dfed0452b2ad85948530e84c08a5a6347b33f (patch)
tree92d392b39367715164a6dbf08b697b1c23a4c31a /configure
parentc04e62858d86f2b1cb5b143ffff6887f55342fc6 (diff)
downloadquilt-bb4dfed0452b2ad85948530e84c08a5a6347b33f.tar.gz
Makefile.in: fix patch-wrapper checks
293c4ddb added checks to Makefile.in to disable the patch-wrapper test when the configure script is not invoked with the --with-patch-wrapper argument. Those checks assumed that PATCH_WRAPPER will always be empty unless --with-patch-wrapper was used. However, PATCH_WRAPPER will be set to "no" when the configure script is invoked with the --without-patch-wrapper argument. Reported-by: Kent R. Spillner <kspillner@acm.org> Signed-off-by: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 09eb38a..8a4ce44 100755
--- a/configure
+++ b/configure
@@ -4423,13 +4423,17 @@ You can download GNU Gettext from ftp.gnu.org
" "$LINENO" 5
fi
+PATCH_WRAPPER=
# Check whether --with-patch-wrapper was given.
if test "${with_patch_wrapper+set}" = set; then :
withval=$with_patch_wrapper;
+ if test "$withval" = yes ; then
+ PATCH_WRAPPER=$withval
+ fi
+
fi
-PATCH_WRAPPER=$withval
if test $USE_NLS = no ; then