diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-12-28 05:05:17 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-12-28 05:21:19 +0700 |
commit | 0ce64705e0415c33204d194848d548c86341cf98 (patch) | |
tree | 3b28a0bfc31964ad87dc86d12e485528947f89a0 | |
parent | configure.ac: cosmetic: rearrange MS TRX related logic (diff) | |
download | OsmoTRX-0ce64705e0415c33204d194848d548c86341cf98.tar.xz OsmoTRX-0ce64705e0415c33204d194848d548c86341cf98.zip |
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
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fd8d577..2c4bb28 100644 --- a/configure.ac +++ b/configure.ac @@ -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"], [ |