[PATCH] osmo-pcu[master]: configure: properly quote CFLAGS in lc15 check

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Mar 29 15:08:03 UTC 2018


Review at  https://gerrit.osmocom.org/7583

configure: properly quote CFLAGS in lc15 check

Change-Id: I7bb7a7d7b5b9340cb41c95f848774ee378c59212
---
M configure.ac
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/83/7583/1

diff --git a/configure.ac b/configure.ac
index 33bac6a..c80d25e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,12 +130,12 @@
 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],

-- 
To view, visit https://gerrit.osmocom.org/7583
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7bb7a7d7b5b9340cb41c95f848774ee378c59212
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list