configure.ac: make use of AC_MSG_CHECKING and AC_MSG_RESULT
Always log whether the MS TRX is going to be built, event if it's not. Change-Id: I1c5648b8090ba2b6638b71f2d3332dfae87b2772 Related: OS#5599
This commit is contained in:
parent
d0b947a0c4
commit
0ce64705e0
|
@ -209,16 +209,18 @@ AS_IF([test "x$with_bladerf" = "xyes"], [
|
|||
PKG_CHECK_MODULES(BLADE, libbladeRF >= 2.0)
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING([whether to enable building MS TRX])
|
||||
AS_IF([test "x$with_mstrx" = "xyes"], [
|
||||
AC_MSG_NOTICE(["Enabling ms-trx..."])
|
||||
AC_CONFIG_SUBDIRS([osmocom-bb/src/host/trxcon])
|
||||
AC_SUBST(LIBTRXCON_DIR, "osmocom-bb/src/host/trxcon")
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
# Despite LIBTRXCON_DIR is added to SUBDIRS conditionally,
|
||||
# autoconf/automake still requires the directory to be present
|
||||
# and thus the submodule to be fetched (even if MS TRX is not needed).
|
||||
# Work this around by pointing it to an empty dir.
|
||||
AC_SUBST(LIBTRXCON_DIR, "osmocom-bb")
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
AS_IF([test "x$with_singledb" = "xyes"], [
|
||||
|
|
Loading…
Reference in New Issue