[PATCH] osmo-bts[master]: Fix building ith newer autoconf

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/.

Max gerrit-no-reply at lists.osmocom.org
Tue Apr 25 13:55:25 UTC 2017


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

Fix building ith newer autoconf

Previously AC_CHECK_HEADER merely checked if header is accepted by the
preprocessor, now actual compile check is performed. As
gsm_data_shared.h has rather lengthy #include list, the easiest fix is
to enable old behavior using special include parameter.

Change-Id: I865db615359624776c311f4d752075327aadc06c
---
M configure.ac
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/05/2405/1

diff --git a/configure.ac b/configure.ac
index a03b2dd..28a6975 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,7 +154,7 @@
 CPPFLAGS="$CPPFLAGS -I$OPENBSC_INCDIR -I$srcdir/include $LIBOSMOCORE_CFLAGS"
 AC_CHECK_HEADER([openbsc/gsm_data_shared.h],[],
 	[AC_MSG_ERROR([openbsc/gsm_data_shared.h can not be found in $openbsc_incdir])],
-	[#include <osmo-bts/tx_power.h>])
+	[-])
 CPPFLAGS=$oldCPPFLAGS
 
 # Check for the sbts2050_header.h that was added after the 3.6 release

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I865db615359624776c311f4d752075327aadc06c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list