From: Jean-Marc Lasgouttes Date: Mon, 27 Oct 2008 14:32:18 +0000 (+0000) Subject: Fix the following annoying problem: when X-Git-Tag: 1.6.10~2815 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=68b291c62ffdc2c7b5af741af07dd25db0bdbe2c;p=features.git 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 --- 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"])