summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac8
2 files changed, 11 insertions, 3 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
diff --git a/configure.ac b/configure.ac
index a594f4d..9c04d24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -394,9 +394,13 @@ You can download GNU Gettext from ftp.gnu.org
])
fi
+PATCH_WRAPPER=
AC_ARG_WITH(patch-wrapper, AC_HELP_STRING(
- [--with-patch-wrapper], [include GNU patch wrapper]))
-PATCH_WRAPPER=$withval
+ [--with-patch-wrapper], [include GNU patch wrapper]), [
+ if test "$withval" = yes ; then
+ PATCH_WRAPPER=$withval
+ fi
+ ])
AC_SUBST(PATCH_WRAPPER)
if test $USE_NLS = no ; then