ENABLE_SS5_TRUE
ENABLE_GSM_FALSE
ENABLE_GSM_TRUE
+ENABLE_GSM_MS_FALSE
+ENABLE_GSM_MS_TRUE
+ENABLE_GSM_BS_FALSE
+ENABLE_GSM_BS_TRUE
LIBCRYPTO
ENABLE_ASTERISK_CHANNEL_DRIVER_FALSE
ENABLE_ASTERISK_CHANNEL_DRIVER_TRUE
enable_dependency_tracking
with_asterisk
with_ssl
-with_gsm
+with_gsm_bs
+with_gsm_ms
with_ss5
'
ac_precious_vars='build_alias
--with-ssl compile with ssl support (libcrypto) [default=check]
- --with-gsm compile with OpenBSC support [default=check]
+ --with-gsm-bs compile with OpenBSC support [default=check]
+
+ --with-gsm-ms compile with Osmocom-bb support [default=check]
--with-ss5 compile with CCITT No. 5 support [default=no]
fi
-# check for gsm
+# check for gsm-bs
-# Check whether --with-gsm was given.
-if test "${with_gsm+set}" = set; then
- withval=$with_gsm;
+# Check whether --with-gsm-bs was given.
+if test "${with_gsm_bs+set}" = set; then
+ withval=$with_gsm_bs;
else
- with_gsm="check"
+ with_gsm_bs="check"
fi
-if test "x$with_gsm" != xno; then
+if test "x$with_gsm_bs" != xno; then
{ $as_echo "$as_me:$LINENO: checking for openbsc/include/openbsc/gsm_data.h" >&5
$as_echo_n "checking for openbsc/include/openbsc/gsm_data.h... " >&6; }
if test "${ac_cv_file_openbsc_include_openbsc_gsm_data_h+set}" = set; then
{ $as_echo "$as_me:$LINENO: result: $ac_cv_file_openbsc_include_openbsc_gsm_data_h" >&5
$as_echo "$ac_cv_file_openbsc_include_openbsc_gsm_data_h" >&6; }
if test "x$ac_cv_file_openbsc_include_openbsc_gsm_data_h" = x""yes; then
- with_gsm="yes"
+ with_gsm_bs="yes"
else
- if test "x$with_gsm" != xcheck ; then
+ if test "x$with_gsm_bs" != xcheck ; then
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ { $as_echo "$as_me:$LINENO: error: --with-gsm was given, but openbsc/include/openbsc/gsm_data.h was not found! Pleas link OpenBSC and libosmocore source directory to LCR source directory: ln -s path_to_openbsc/openbsc/ openbsc ; ln -s patch_to_libosmocore osmocore
+{ { $as_echo "$as_me:$LINENO: error: --with-gsm-bs was given, but openbsc/include/openbsc/gsm_data.h was not found! Pleas link OpenBSC and libosmocore source directory to LCR source directory: ln -s path_to_openbsc/openbsc/ openbsc ; ln -s patch_to_libosmocore libosmocore
See \`config.log' for more details." >&5
-$as_echo "$as_me: error: --with-gsm was given, but openbsc/include/openbsc/gsm_data.h was not found! Pleas link OpenBSC and libosmocore source directory to LCR source directory: ln -s path_to_openbsc/openbsc/ openbsc ; ln -s patch_to_libosmocore osmocore
+$as_echo "$as_me: error: --with-gsm-bs was given, but openbsc/include/openbsc/gsm_data.h was not found! Pleas link OpenBSC and libosmocore source directory to LCR source directory: ln -s path_to_openbsc/openbsc/ openbsc ; ln -s patch_to_libosmocore libosmocore
See \`config.log' for more details." >&2;}
{ (exit 1); exit 1; }; }; }
fi
-if test "x$with_gsm" == "xyes" ; then
+if test "x$with_gsm_bs" == "xyes" ; then
+ ENABLE_GSM_BS_TRUE=
+ ENABLE_GSM_BS_FALSE='#'
+else
+ ENABLE_GSM_BS_TRUE='#'
+ ENABLE_GSM_BS_FALSE=
+fi
+
+
+# check for gsm-ms
+
+# Check whether --with-gsm-ms was given.
+if test "${with_gsm_ms+set}" = set; then
+ withval=$with_gsm_ms;
+else
+ with_gsm_ms="check"
+fi
+
+
+if test "x$with_gsm_ms" != xno; then
+ { $as_echo "$as_me:$LINENO: checking for layer23/include/osmocom/osmocom_data.h" >&5
+$as_echo_n "checking for layer23/include/osmocom/osmocom_data.h... " >&6; }
+if test "${ac_cv_file_layer23_include_osmocom_osmocom_data_h+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ test "$cross_compiling" = yes &&
+ { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
+$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
+ { (exit 1); exit 1; }; }
+if test -r "layer23/include/osmocom/osmocom_data.h"; then
+ ac_cv_file_layer23_include_osmocom_osmocom_data_h=yes
+else
+ ac_cv_file_layer23_include_osmocom_osmocom_data_h=no
+fi
+fi
+{ $as_echo "$as_me:$LINENO: result: $ac_cv_file_layer23_include_osmocom_osmocom_data_h" >&5
+$as_echo "$ac_cv_file_layer23_include_osmocom_osmocom_data_h" >&6; }
+if test "x$ac_cv_file_layer23_include_osmocom_osmocom_data_h" = x""yes; then
+ with_gsm_ms="yes"
+else
+ if test "x$with_gsm_ms" != xcheck ; then
+ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+{ { $as_echo "$as_me:$LINENO: error: --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
+See \`config.log' for more details." >&5
+$as_echo "$as_me: error: --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
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }; }
+ fi
+
+fi
+
+
+fi
+
+
+
+
+if test "x$with_gsm_ms" == "xyes" ; then
+ ENABLE_GSM_MS_TRUE=
+ ENABLE_GSM_MS_FALSE='#'
+else
+ ENABLE_GSM_MS_TRUE='#'
+ ENABLE_GSM_MS_FALSE=
+fi
+
+
+
+
+if test "x$with_gsm_bs" == "xyes" -o "x$with_gsm_ms" == "xyes"; then
ENABLE_GSM_TRUE=
ENABLE_GSM_FALSE='#'
else
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${ENABLE_GSM_BS_TRUE}" && test -z "${ENABLE_GSM_BS_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GSM_BS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"ENABLE_GSM_BS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${ENABLE_GSM_MS_TRUE}" && test -z "${ENABLE_GSM_MS_FALSE}"; then
+ { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GSM_MS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+$as_echo "$as_me: error: conditional \"ENABLE_GSM_MS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${ENABLE_GSM_TRUE}" && test -z "${ENABLE_GSM_FALSE}"; then
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GSM\" was never defined.
Usually this means the macro was only invoked conditionally." >&5