diff options
author | Philipp <pmaier@sysmocom.de> | 2016-11-25 13:25:27 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-27 18:28:24 +0000 |
commit | 8ea93a8a7d53c8ba521f9cb42106b868037c61df (patch) | |
tree | 81c8c7bd44c79938e92952de26cfb4630be22051 /contrib | |
parent | ae5405e2a434f008e9798d571072e4df0ec86493 (diff) |
octphy: multi-trx support: fix AC_CHECK order
The header file octphy/octvc1/gsm/octvc1_gsm_default.h is not
visible to the configure script when the octphy header files
are referenced via --with-octsdr-2g instead having them
installed in /usr/local/include. This results in a failed
AC_CHECK_MEMBER check for tOCTVC1_GSM_TRX_CONFIG.usCentreArfcn,
even if header files with multi-trx support are used.
The configure.ac script manipulates the CPPFLAGS in order to
make the octphy include files visible to AC_CHECK_ and restores
the original CPPFLAGS when done. This is required when
--with-octsdr-2g is used. AC_CHECK_MEMBER is executed
before the CPPFLAGS are manipulated. This causes no issues
if the headers are properly installed to /usr/local/include,
but does not work when --with-octsdr-2g is used.
This commit moves the AC_CHECK_MEMBER command into the section
where the manipulated CPPFLAGS are valid in order to fix the
problem described above
See also commit: f5494e84e898f947190466d30d5f932bac0fadf9
Change-Id: I7bdfa4449cd6061c395cce315b372c2833520e37
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions