Correct whitespace in path detection, and turn it into a fatal error

This commit is contained in:
Frank Denis
2016-06-15 09:50:45 +02:00
parent aaf6854edf
commit ba9c296108
+2 -2
View File
@@ -40,8 +40,8 @@ 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])]
AS_IF([pwd | fgrep ' ' > /dev/null 2>&1],
[AC_MSG_ERROR([The build directory contains whitespaces - This can cause tests/installation to fail due to limitations of some libtool versions])]
)
dnl Switches