- [AC_CHECK_FILE([layer23/include/osmocom/osmocom_data.h],
- [with_gsm_ms="yes"],
- [if test "x$with_gsm_ms" != xcheck ; then
- AC_MSG_FAILURE(
- [--with-gsm-ms was given, but osmocom-bb/include/osmocom/osmocom_data.h was not found! Pleas link Osmocom-BB and libosmocore source directory to LCR source directory: ln -s path_to_osmocom-bb/src/host/layer23/ layer23 ; ln -s path_to_libosmocore libosmocore])
- fi
- ])
+ [AC_MSG_CHECKING(layer23/include/osmocom/osmocom_data.h)
+ if test -e layer23/include/osmocom/osmocom_data.h; then
+ with_gsm_ms="yes"
+ AC_MSG_RESULT(yes)
+ elif test "x$with_gsm_ms" != xcheck ; then
+ AC_MSG_FAILURE([--with-gsm-ms was given, but layer23/include/osmocom/osmocom_data.h was not found! Please link Osmocom-BB and libosmocore source directory to LCR source directory: ln -s path_to_osmocom-bb/src/host/layer23/ layer23 ; ln -s path_to_libosmocore libosmocore])
+ else
+ AC_MSG_RESULT(no)
+ fi