From 68b291c62ffdc2c7b5af741af07dd25db0bdbe2c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 27 Oct 2008 14:32:18 +0000 Subject: [PATCH] Fix the following annoying problem: when using --with-version-suffix (without value), config.status will be written wrongly and try to run ./configure--with-qt4-lib= [...] This is because the code that adds automatically the version number eats the leading space. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27151 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/lyxinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index f55918b65d..9ec41461e8 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -48,7 +48,7 @@ AC_ARG_WITH(version-suffix, [if test "x$withval" = "xyes"; then withval="-"AC_PACKAGE_VERSION - ac_configure_args=`echo $ac_configure_args | sed "s,--with-version-suffix,--with-version-suffix=$withval,"` + ac_configure_args=`echo "$ac_configure_args" | sed "s,--with-version-suffix,--with-version-suffix=$withval,"` fi AC_SUBST(version_suffix,$withval) RPM_VERSION_SUFFIX="--with-version-suffix=$withval"]) -- 2.39.2