Slightly more portable version of configure test.
This commit is contained in:
parent
4be2f61b53
commit
90f37fe3cb
|
|
@ -181,21 +181,21 @@ AX_C_UNDERSCORES_TRAILING
|
||||||
#######################
|
#######################
|
||||||
|
|
||||||
AC_MSG_CHECKING(for sanity of prefix)
|
AC_MSG_CHECKING(for sanity of prefix)
|
||||||
if test X`echo "$prefix" | wc -w` != X1
|
if test `echo "$prefix" | wc -w` != 1
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR(cannot configure white space in prefix: $prefix)
|
AC_MSG_ERROR(cannot configure white space in prefix: $prefix)
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(ok)
|
AC_MSG_RESULT(ok)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for sanity of exec_prefix)
|
AC_MSG_CHECKING(for sanity of exec_prefix)
|
||||||
if test X`echo "$exec_prefix" | wc -w` != X1
|
if test `echo "$exec_prefix" | wc -w` != 1
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR(cannot configure white space in exec_prefix: $exec_prefix)
|
AC_MSG_ERROR(cannot configure white space in exec_prefix: $exec_prefix)
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(ok)
|
AC_MSG_RESULT(ok)
|
||||||
|
|
||||||
AC_MSG_CHECKING(for sanity of libdir)
|
AC_MSG_CHECKING(for sanity of libdir)
|
||||||
if test X`echo "$libdir" | wc -w` != X1
|
if test `echo "$libdir" | wc -w` != 1
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
|
AC_MSG_ERROR(cannot configure white space in libdir: $libdir)
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue