mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 08:22:00 +00:00
configure.ac: check if LIBTRXCON_DIR (submodule) exists
Fail during the configure stage if the submodule is not fetched. Change-Id: I06456c2087e160032f5bf8b36304477390f117d0 Related: OS#5599
This commit is contained in:
@@ -212,7 +212,12 @@ AS_IF([test "x$with_bladerf" = "xyes"], [
|
||||
AC_MSG_CHECKING([whether to enable building MS TRX])
|
||||
AS_IF([test "x$with_mstrx" = "xyes"], [
|
||||
AC_CONFIG_SUBDIRS([osmocom-bb/src/host/trxcon])
|
||||
AC_SUBST(LIBTRXCON_DIR, "osmocom-bb/src/host/trxcon")
|
||||
LIBTRXCON_DIR="osmocom-bb/src/host/trxcon"
|
||||
if ! test -d "$LIBTRXCON_DIR"; then
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_ERROR([$LIBTRXCON_DIR does not exist])
|
||||
fi
|
||||
AC_SUBST(LIBTRXCON_DIR)
|
||||
AC_MSG_RESULT([yes])
|
||||
], [
|
||||
# Despite LIBTRXCON_DIR is added to SUBDIRS conditionally,
|
||||
|
Reference in New Issue
Block a user