Warn that libtool might fail if the build directory contains whitespaces

This commit is contained in:
Frank Denis 2014-12-21 09:51:32 +01:00
parent b5e1a5afc1
commit 0b58f87fef

View File

@ -38,6 +38,12 @@ AC_SUBST(DLL_VERSION)
LX_CFLAGS=${CFLAGS-NONE} LX_CFLAGS=${CFLAGS-NONE}
dnl Path check
AS_IF([test pwd | fgrep ' ' > /dev/null 2>&1],
[AC_MSG_WARN([The build directory contains whitespaces - This can cause tests/installation to fail due to limitations of some libtool versions])]
)
dnl Switches dnl Switches
AC_ARG_ENABLE(ssp, AC_ARG_ENABLE(ssp,