]> git.lyx.org Git - features.git/commitdiff
Fix the following annoying problem: when
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 27 Oct 2008 14:32:18 +0000 (14:32 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 27 Oct 2008 14:32:18 +0000 (14:32 +0000)
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

index f55918b65d53945cf2ac9ae9b94afce8801f221b..9ec41461e86ab2b4d5cdc9698e8b9e3e36f30d95 100644 (file)
@@ -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"])