diff options
author | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2014-06-03 14:03:08 +0200 |
---|---|---|
committer | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2014-06-03 14:03:08 +0200 |
commit | bb4dfed0452b2ad85948530e84c08a5a6347b33f (patch) | |
tree | 92d392b39367715164a6dbf08b697b1c23a4c31a /configure.ac | |
parent | c04e62858d86f2b1cb5b143ffff6887f55342fc6 (diff) | |
download | quilt-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.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
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 |