mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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
This commit is contained in:
parent
ba3697ec45
commit
68b291c62f
@ -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"])
|
||||
|
Loading…
Reference in New Issue
Block a user