From db51f0d73efda28d4b83703d512cd7137beae9d8 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 20 Dec 2012 00:04:20 +0100 Subject: openbsc: Introduce autoconf support to set the OpenBSC include directory Add autoconf support to set the path to the OpenBSC include directory so that openbsc/gsm_data_shared.h can be found there. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ccca24fc..ef583d36 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,11 @@ AM_CONDITIONAL(ENABLE_SYSMOBTS, test "x$enable_sysmocom_bts" = "xyes") # We share gsm_data.h with OpenBSC and need to be pointed to the source # directory of OpenBSC for now. -openbsc_incdir="\$(abs_top_srcdir)/../openbsc/openbsc/include" +AC_ARG_WITH([openbsc], + [AS_HELP_STRING([--with-openbsc=INCLUDE_DIR], + [OpenBSC include directory for openbsc/gsm_data_shared.h])], + [openbsc_incdir="$withval"], + [openbsc_incdir="\$(abs_top_srcdir)/../openbsc/openbsc/include"]) AC_SUBST([OPENBSC_INCDIR], $openbsc_incdir) AC_OUTPUT( -- cgit v1.2.3