configure: properly quote CFLAGS in lc15 check

Change-Id: I7bb7a7d7b5b9340cb41c95f848774ee378c59212
This commit is contained in:
Neels Hofmeyr 2018-03-29 17:04:43 +02:00 committed by Neels Hofmeyr
parent a661bcd086
commit 9f06cbff6d
1 changed files with 2 additions and 2 deletions

View File

@ -130,12 +130,12 @@ AC_SUBST([LITECELL15_CFLAGS], $litecell15_cflags)
AC_MSG_RESULT([$enable_lc15bts_phy])
AM_CONDITIONAL(ENABLE_LC15BTS_PHY, test "x$enable_lc15bts_phy" = "xyes")
if test "$enable_litecell15" = "yes"; then
oldCPPFLAGS=$CPPFLAGS
oldCPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $LITECELL15_CFLAGS -I$srcdir/include $LIBOSMOCORE_CFLAGS"
AC_CHECK_HEADER([nrw/litecell15/litecell15.h],[],
[AC_MSG_ERROR([nrw/litecell15/litecell15.h can not be found using $litecell15_cflags])],
[#include <nrw/litecell15/litecell15.h>])
CPPFLAGS=$oldCPPFLAGS
CPPFLAGS="$oldCPPFLAGS"
fi
AC_ARG_ENABLE([vty_tests],