blob: 7ad5908d722a821eac8da2b457726d7fdda23ef8 [file] [log] [blame]
Harald Welte4cd3d8a2010-03-23 00:30:19 +08001AC_INIT([libosmocore],
2 m4_esyscmd([./git-version-gen .tarball-version]),
Holger Hans Peter Freyther8db70202012-03-26 16:34:37 +02003 [openbsc@lists.osmocom.org])
Harald Welte3cae0392010-02-20 21:09:24 +01004
Neels Hofmeyrcbdfa652016-09-30 23:45:28 +02005dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
6AC_CONFIG_AUX_DIR([.])
7
Sylvain Munaut69b1b8b2015-08-19 11:15:14 +02008AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip 1.6 subdir-objects])
Holger Hans Peter Freytherf9eda742011-11-13 01:02:54 +01009AC_CONFIG_TESTDIR(tests)
Harald Welte3cae0392010-02-20 21:09:24 +010010
11dnl kernel style compile messages
12m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
13
Maxff932bb2017-07-04 18:19:38 +020014dnl include release helper
15RELMAKE='-include osmo-release.mk'
16AC_SUBST([RELMAKE])
17
Harald Welte3cae0392010-02-20 21:09:24 +010018dnl checks for programs
19AC_PROG_MAKE_SET
Diego Elio Pettenòd471a212012-06-29 13:01:19 -070020AC_PROG_MKDIR_P
Harald Welte3cae0392010-02-20 21:09:24 +010021AC_PROG_CC
22AC_PROG_INSTALL
Jan Engelhardtc2ddc4f2015-09-16 14:32:31 +020023LT_INIT([pic-only disable-static])
Harald Welte3cae0392010-02-20 21:09:24 +010024
Harald Welte4cd3d8a2010-03-23 00:30:19 +080025AC_CONFIG_MACRO_DIR([m4])
26
Neels Hofmeyrfef2fa22016-08-08 15:38:35 +020027dnl check for pkg-config
28dnl * If pkg-config is missing, we get a "syntax error" for PKG_CHECK_MODULES.
29dnl Instead, we want to say that pkg-config and pkg.m4 are missing.
30dnl * The proper way is PKG_PROG_PKG_CONFIG() but unfortunately that does not
31dnl produce an intelligible error message if pkg-config is missing entirely
32dnl ("syntax error near unexpected token `0.20'").
33dnl * To produce a hint that pkg-config is missing, check for the pkg-config
34dnl binary; but AC_PATH_PROG breaks if the distribution provides only
35dnl prefixed (<arch>-pkg-config) versions, so just print a warning.
36AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
37if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
38 AC_MSG_WARN([You need to install pkg-config])
39fi
40PKG_PROG_PKG_CONFIG([0.20])
41
Tobias Engel597460f2012-10-24 17:52:52 +020042dnl check os: some linker flags not available on osx
43case $host in
44*-darwin*)
45 ;;
46*)
47 LTLDFLAGS_OSMOGB='-Wl,--version-script=$(srcdir)/libosmogb.map'
48 LTLDFLAGS_OSMOGSM='-Wl,--version-script=$(srcdir)/libosmogsm.map'
Vadim Yanitskiy3262f822016-09-23 01:48:59 +070049 LTLDFLAGS_OSMOCODING='-Wl,--version-script=$(srcdir)/libosmocoding.map'
Harald Welteed605782018-05-26 17:07:39 +020050 LTLDFLAGS_OSMOCTRL='-Wl,--version-script=$(srcdir)/libosmoctrl.map'
Tobias Engel597460f2012-10-24 17:52:52 +020051 ;;
52esac
53AC_SUBST(LTLDFLAGS_OSMOGB)
54AC_SUBST(LTLDFLAGS_OSMOGSM)
Vadim Yanitskiy272bd4f2017-08-31 17:53:04 +070055AC_SUBST(LTLDFLAGS_OSMOCODING)
Harald Welteed605782018-05-26 17:07:39 +020056AC_SUBST(LTLDFLAGS_OSMOCTRL)
Tobias Engel597460f2012-10-24 17:52:52 +020057
Harald Welte3cae0392010-02-20 21:09:24 +010058dnl checks for header files
59AC_HEADER_STDC
Neels Hofmeyr0c7826e2019-02-25 02:45:06 +010060AC_CHECK_HEADERS(execinfo.h sys/select.h sys/socket.h sys/timerfd.h syslog.h ctype.h netinet/tcp.h netinet/in.h)
Holger Hans Peter Freyther47723482011-11-09 11:26:15 +010061# for src/conv.c
62AC_FUNC_ALLOCA
Pau Espin Pedrolcacaa4a2018-05-04 19:21:58 +020063AC_SEARCH_LIBS([dlopen], [dl dld], [LIBRARY_DLOPEN="$LIBS";LIBS=""])
64AC_SUBST(LIBRARY_DLOPEN)
65AC_SEARCH_LIBS([dlsym], [dl dld], [LIBRARY_DLSYM="$LIBS";LIBS=""])
66AC_SUBST(LIBRARY_DLSYM)
Holger Hans Peter Freytherc2c042d2014-04-17 23:19:10 +020067# for src/backtrace.c
68AC_CHECK_LIB(execinfo, backtrace, BACKTRACE_LIB=-lexecinfo, BACKTRACE_LIB=)
69AC_SUBST(BACKTRACE_LIB)
Harald Welte3cae0392010-02-20 21:09:24 +010070
Alexander Couzensa2f696f2018-04-24 16:15:23 +020071# check for old glibc < 2.17 to get clock_gettime
72AC_SEARCH_LIBS([clock_gettime], [rt posix4], [LIBRARY_RT="$LIBS";LIBS=""])
73AC_SUBST(LIBRARY_RT)
74
Pau Espin Pedrol639c4082017-07-06 10:45:22 +020075AC_ARG_ENABLE(doxygen,
76 [AS_HELP_STRING(
77 [--disable-doxygen],
78 [Disable generation of documentation using doxygen],
79 )],
80 [doxygen=$enableval], [doxygen="yes"])
Harald Welte21e73c22011-08-17 19:33:06 +020081AC_PATH_PROG(DOXYGEN,doxygen,false)
Pau Espin Pedrol639c4082017-07-06 10:45:22 +020082AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false && test "x$doxygen" = "xyes")
Harald Welte21e73c22011-08-17 19:33:06 +020083
Max4b2b0cc2017-07-10 14:32:48 +020084# check for syscal fallback on glibc < 2.25 - can be removed once glibc version requirement is bumped
85AC_CHECK_DECLS([SYS_getrandom], [], [], [[#include <sys/syscall.h>]])
86
Harald Welte3cae0392010-02-20 21:09:24 +010087# The following test is taken from WebKit's webkit.m4
88saved_CFLAGS="$CFLAGS"
89CFLAGS="$CFLAGS -fvisibility=hidden "
90AC_MSG_CHECKING([if ${CC} supports -fvisibility=hidden])
Alexander Huemer3d79f532011-05-24 15:16:13 +020091AC_COMPILE_IFELSE([AC_LANG_SOURCE([char foo;])],
Harald Welte3cae0392010-02-20 21:09:24 +010092 [ AC_MSG_RESULT([yes])
93 SYMBOL_VISIBILITY="-fvisibility=hidden"],
94 AC_MSG_RESULT([no]))
95CFLAGS="$saved_CFLAGS"
96AC_SUBST(SYMBOL_VISIBILITY)
97
Harald Welte14c4c492018-06-28 08:28:52 +020098AC_CHECK_FUNCS(clock_gettime localtime_r)
99
Harald Welte7c8e2cc2012-08-29 16:47:30 +0200100AC_DEFUN([CHECK_TM_INCLUDES_TM_GMTOFF], [
101 AC_CACHE_CHECK(
102 [whether struct tm has tm_gmtoff member],
103 osmo_cv_tm_includes_tm_gmtoff,
104 [AC_LINK_IFELSE([
105 AC_LANG_PROGRAM([
106 #include <time.h>
107 ], [
108 time_t t = time(NULL);
109 struct tm* lt = localtime(&t);
110 int off = lt->tm_gmtoff;
111 ])
112 ],
113 osmo_cv_tm_includes_tm_gmtoff=yes,
114 osmo_cv_tm_includes_tm_gmtoff=no
115 )]
116 )
117 if test "x$osmo_cv_tm_includes_tm_gmtoff" = xyes; then
118 AC_DEFINE(HAVE_TM_GMTOFF_IN_TM, 1,
119 [Define if struct tm has tm_gmtoff member.])
120 fi
121])
122
123CHECK_TM_INCLUDES_TM_GMTOFF
124
Pau Espin Pedrole188b8c2019-08-05 13:46:33 +0200125dnl Check if We need to apply workaround for TLS bug on ARM platform for GCC < 7.3.0:
Pau Espin Pedrolafce89d2019-08-06 12:46:46 +0200126ARG_ENABLE_DETECT_TLS_GCC_ARM_BUG
Pau Espin Pedrole188b8c2019-08-05 13:46:33 +0200127
Harald Welte3cae0392010-02-20 21:09:24 +0100128dnl Generate the output
Christian Vogel854debc2013-01-05 20:30:41 +0100129AC_CONFIG_HEADER(config.h)
Harald Welte3cae0392010-02-20 21:09:24 +0100130
Harald Welte90e614f2015-12-05 23:38:18 +0100131PKG_CHECK_MODULES(TALLOC, [talloc >= 2.0.1])
132
Harald Welte495fe262012-09-10 16:28:17 +0200133AC_ARG_ENABLE([pcsc], [AS_HELP_STRING([--disable-pcsc], [Build without PC/SC support])],
134 [
Neels Hofmeyr96831042016-11-15 17:31:14 +0100135 ENABLE_PCSC=$enableval
Harald Welte495fe262012-09-10 16:28:17 +0200136 ],
137 [
Neels Hofmeyr96831042016-11-15 17:31:14 +0100138 ENABLE_PCSC="yes"
Harald Welte495fe262012-09-10 16:28:17 +0200139 ])
Neels Hofmeyr96831042016-11-15 17:31:14 +0100140AS_IF([test "x$ENABLE_PCSC" = "xyes"], [
Holger Hans Peter Freyther18bcc8a2014-11-14 15:06:09 +0100141 PKG_CHECK_MODULES(PCSC, libpcsclite)
Harald Welted086f212015-11-21 11:38:09 +0100142])
Neels Hofmeyr96831042016-11-15 17:31:14 +0100143AM_CONDITIONAL(ENABLE_PCSC, test "x$ENABLE_PCSC" = "xyes")
144AC_SUBST(ENABLE_PCSC)
Harald Welte495fe262012-09-10 16:28:17 +0200145
Maxed029df2017-10-26 10:56:04 +0200146AC_ARG_ENABLE([gnutls], [AS_HELP_STRING([--disable-gnutls], [Do not use GnuTLS fallback for missing getrandom()])],
147 [ENABLE_GNUTLS=$enableval], [ENABLE_GNUTLS="yes"])
148AM_CONDITIONAL(ENABLE_GNUTLS, test x"$ENABLE_GNUTLS" = x"yes")
149AS_IF([test "x$ENABLE_GNUTLS" = "xyes"], [
150 PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.12.0])
151])
152AC_SUBST(ENABLE_GNUTLS)
153if test x"$ENABLE_GNUTLS" = x"yes"
154then
155 AC_SUBST([LIBGNUTLS_CFLAGS])
156 AC_SUBST([LIBGNUTLS_LIBS])
157 AC_DEFINE([USE_GNUTLS], [1], [Use GnuTLS as a fallback for missing getrandom()])
158fi
159
Harald Welteb9ce51c2010-06-30 19:43:11 +0200160AC_ARG_ENABLE(plugin,
Sylvain Munautf23abab2010-07-25 16:16:42 +0200161 [AS_HELP_STRING(
162 [--disable-plugin],
163 [Disable support for dlopen plugins],
164 )],
job36b4a202011-08-21 17:18:23 +0200165 [enable_plugin=$enableval], [enable_plugin="yes"])
166AM_CONDITIONAL(ENABLE_PLUGIN, test x"$enable_plugin" = x"yes")
Harald Welteb9ce51c2010-06-30 19:43:11 +0200167
Harald Welte1067e8c2010-06-25 03:00:58 +0200168AC_ARG_ENABLE(vty,
Sylvain Munautf23abab2010-07-25 16:16:42 +0200169 [AS_HELP_STRING(
170 [--disable-vty],
171 [Disable building VTY telnet interface]
172 )],
job36b4a202011-08-21 17:18:23 +0200173 [enable_vty=$enableval], [enable_vty="yes"])
174AM_CONDITIONAL(ENABLE_VTY, test x"$enable_vty" = x"yes")
Harald Welte54403772010-05-29 11:49:51 +0200175
Sylvain Munautac3e61a2010-07-25 18:08:54 +0200176AC_ARG_ENABLE(panic_infloop,
177 [AS_HELP_STRING(
178 [--enable-panic-infloop],
179 [Trigger infinite loop on panic rather than fprintf/abort]
180 )],
job36b4a202011-08-21 17:18:23 +0200181 [panic_infloop=$enableval], [panic_infloop="no"])
182if test x"$panic_infloop" = x"yes"
Sylvain Munautac3e61a2010-07-25 18:08:54 +0200183then
184 AC_DEFINE([PANIC_INFLOOP],[1],[Use infinite loop on panic rather than fprintf/abort])
185fi
186
Holger Hans Peter Freyther43558312010-08-06 06:48:43 +0800187AC_ARG_ENABLE(bsc_fd_check,
188 [AS_HELP_STRING(
189 [--enable-bsc-fd-check],
190 [Instrument bsc_register_fd to check that the fd is registered]
191 )],
job36b4a202011-08-21 17:18:23 +0200192 [fd_check=$enableval], [fd_check="no"])
193if test x"$fd_check" = x"no"
Holger Hans Peter Freyther43558312010-08-06 06:48:43 +0800194then
195 AC_DEFINE([BSC_FD_CHECK],[1],[Instrument the bsc_register_fd])
196fi
197
Holger Hans Peter Freytherc87f2662010-10-07 00:00:15 +0800198AC_ARG_ENABLE(msgfile,
199 [AS_HELP_STRING(
200 [--disable-msgfile],
201 [Disable support for the msgfile],
202 )],
job36b4a202011-08-21 17:18:23 +0200203 [enable_msgfile=$enableval], [enable_msgfile="yes"])
204AM_CONDITIONAL(ENABLE_MSGFILE, test x"$enable_msgfile" = x"yes")
Holger Hans Peter Freytherc87f2662010-10-07 00:00:15 +0800205
Sylvain Munautfe28ded2011-09-02 22:18:24 +0200206AC_ARG_ENABLE(serial,
207 [AS_HELP_STRING(
208 [--disable-serial],
209 [Disable support for the serial helpers],
210 )],
211 [enable_serial=$enableval], [enable_serial="yes"])
212AM_CONDITIONAL(ENABLE_SERIAL, test x"$enable_serial" = x"yes")
213
job8e4deb62011-08-21 17:18:24 +0200214AC_ARG_ENABLE(utilities,
215 [AS_HELP_STRING(
216 [--disable-utilities],
217 [Disable building utility programs],
218 )],
219 [enable_utilities=$enableval], [enable_utilities="yes"])
220AM_CONDITIONAL(ENABLE_UTILITIES, test x"$enable_utilities" = x"yes")
221
Harald Weltee3a10b62012-09-08 22:18:43 +0200222AC_ARG_ENABLE(gb,
223 [AS_HELP_STRING(
224 [--disable-gb],
225 [Disable building Gb library],
226 )],
227 [enable_gb=$enableval], [enable_gb="yes"])
228AM_CONDITIONAL(ENABLE_GB, test x"$enable_gb" = x"yes")
229
Harald Welte1c67e752017-01-15 17:52:30 +0100230AC_ARG_ENABLE(ctrl,
231 [AS_HELP_STRING(
232 [--disable-ctrl],
233 [Disable building CTRL library],
234 )],
235 [enable_ctrl=$enableval], [enable_ctrl="yes"])
236AM_CONDITIONAL(ENABLE_CTRL, test x"$enable_ctrl" = x"yes")
237
Harald Welte898ffef2017-05-15 21:37:34 +0200238AC_ARG_ENABLE(pseudotalloc,
239 [AS_HELP_STRING(
240 [--enable-pseudotalloc],
241 [Enable building pseudotalloc library],
242 )],
243 [enable_pseudotalloc=$enableval], [enable_pseudotalloc="no"])
244AM_CONDITIONAL(ENABLE_PSEUDOTALLOC, test x"$enable_pseudotalloc" = x"yes")
245
job8e4deb62011-08-21 17:18:24 +0200246AC_ARG_ENABLE(embedded,
247 [AS_HELP_STRING(
248 [--enable-embedded],
249 [Enable building for embedded use and disable unsupported features]
250 )],
251 [embedded=$enableval], [embedded="no"])
Max89c8c402018-01-18 16:05:27 +0100252
253AM_CONDITIONAL(ENABLE_STATS_TEST, true)
Max3da79382018-01-18 16:50:51 +0100254AM_CONDITIONAL(ENABLE_SERCOM_STUB, false)
Max89c8c402018-01-18 16:05:27 +0100255
job8e4deb62011-08-21 17:18:24 +0200256if test x"$embedded" = x"yes"
257then
258 AC_DEFINE([EMBEDDED],[1],[Select building for embedded use])
job8e4deb62011-08-21 17:18:24 +0200259 AM_CONDITIONAL(ENABLE_PLUGIN, false)
260 AM_CONDITIONAL(ENABLE_MSGFILE, false)
Sylvain Munautfe28ded2011-09-02 22:18:24 +0200261 AM_CONDITIONAL(ENABLE_SERIAL, false)
Maxed029df2017-10-26 10:56:04 +0200262 AM_CONDITIONAL(ENABLE_GNUTLS, false)
job8e4deb62011-08-21 17:18:24 +0200263 AM_CONDITIONAL(ENABLE_VTY, false)
Harald Welte1c67e752017-01-15 17:52:30 +0100264 AM_CONDITIONAL(ENABLE_CTRL, false)
job8e4deb62011-08-21 17:18:24 +0200265 AM_CONDITIONAL(ENABLE_UTILITIES, false)
Harald Weltee3a10b62012-09-08 22:18:43 +0200266 AM_CONDITIONAL(ENABLE_GB, false)
Maxed029df2017-10-26 10:56:04 +0200267 AM_CONDITIONAL(ENABLE_GNUTLS, false)
Harald Welte1a7d64c2017-01-15 17:53:23 +0100268 AM_CONDITIONAL(ENABLE_PCSC, false)
Harald Welte898ffef2017-05-15 21:37:34 +0200269 AM_CONDITIONAL(ENABLE_PSEUDOTALLOC, true)
Max3da79382018-01-18 16:50:51 +0100270 AM_CONDITIONAL(ENABLE_SERCOM_STUB, true)
Max89c8c402018-01-18 16:05:27 +0100271 AM_CONDITIONAL(ENABLE_STATS_TEST, false)
Maxed029df2017-10-26 10:56:04 +0200272 AC_DEFINE([USE_GNUTLS], [0])
job8e4deb62011-08-21 17:18:24 +0200273 AC_DEFINE([PANIC_INFLOOP],[1],[Use infinite loop on panic rather than fprintf/abort])
274fi
Harald Welte54403772010-05-29 11:49:51 +0200275
Neels Hofmeyra2381762016-09-30 01:25:45 +0200276AC_ARG_ENABLE(sanitize,
277 [AS_HELP_STRING(
278 [--enable-sanitize],
279 [Compile with address sanitizer enabled],
280 )],
281 [sanitize=$enableval], [sanitize="no"])
282if test x"$sanitize" = x"yes"
283then
Pau Espin Pedrol13492492017-06-23 11:18:04 +0200284 CFLAGS="$CFLAGS -fsanitize=address -fsanitize=undefined"
285 CPPFLAGS="$CPPFLAGS -fsanitize=address -fsanitize=undefined"
Neels Hofmeyra2381762016-09-30 01:25:45 +0200286fi
287
Neels Hofmeyr09ecbb72018-03-05 20:40:05 +0100288AC_ARG_ENABLE(werror,
289 [AS_HELP_STRING(
290 [--enable-werror],
291 [Turn all compiler warnings into errors, with exceptions:
292 a) deprecation (allow upstream to mark deprecation without breaking builds);
293 b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds)
294 ]
295 )],
296 [werror=$enableval], [werror="no"])
297if test x"$werror" = x"yes"
298then
299 WERROR_FLAGS="-Werror"
300 WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations"
301 WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
302 CFLAGS="$CFLAGS $WERROR_FLAGS"
303 CPPFLAGS="$CPPFLAGS $WERROR_FLAGS"
304fi
305
Neels Hofmeyr3a9ff112018-09-10 17:18:28 +0200306AC_ARG_ENABLE([external_tests],
307 AC_HELP_STRING([--enable-external-tests],
308 [Include the VTY/CTRL tests in make check [default=no]]),
309 [enable_ext_tests="$enableval"],[enable_ext_tests="no"])
310if test "x$enable_ext_tests" = "xyes" ; then
311 AM_PATH_PYTHON
312 AC_CHECK_PROG(OSMOTESTEXT_CHECK,osmo_verify_transcript_vty.py,yes)
313 if test "x$OSMOTESTEXT_CHECK" != "xyes" ; then
314 AC_MSG_ERROR([Please install git://osmocom.org/python/osmo-python-tests to run the VTY/CTRL tests.])
315 fi
316fi
317AC_MSG_CHECKING([whether to enable VTY/CTRL tests])
318AC_MSG_RESULT([$enable_ext_tests])
319AM_CONDITIONAL(ENABLE_EXT_TESTS, test "x$enable_ext_tests" = "xyes")
320
Pau Espin Pedrol13492492017-06-23 11:18:04 +0200321CFLAGS="$CFLAGS -DBUILDING_LIBOSMOCORE -Wall"
322CPPFLAGS="$CPPFLAGS -DBUILDING_LIBOSMOCORE -Wall"
Pau Espin Pedrol69dfe5a2017-06-17 23:18:11 +0200323
Vadim Yanitskiy2c3066e2017-04-30 19:41:56 +0700324AC_ARG_ENABLE(simd,
325 [AS_HELP_STRING(
326 [--disable-simd],
327 [Disable SIMD support]
328 )],
329 [simd=$enableval], [simd="yes"])
330if test x"$simd" = x"yes"
331then
332 # Find and define supported SIMD extensions
333 AX_CHECK_SIMD
334else
335 AM_CONDITIONAL(HAVE_AVX2, false)
Harald Welteb93f60f2017-11-17 11:41:34 +0100336 AM_CONDITIONAL(HAVE_SSSE3, false)
Vadim Yanitskiy2c3066e2017-04-30 19:41:56 +0700337 AM_CONDITIONAL(HAVE_SSE4_1, false)
338fi
339
Vadim Yanitskiya8a58192017-05-08 00:07:21 +0700340dnl Check if the compiler supports specified GCC's built-in function
341AC_DEFUN([CHECK_BUILTIN_SUPPORT], [
342 AC_CACHE_CHECK(
343 [whether ${CC} has $1 built-in],
344 [osmo_cv_cc_has_builtin], [
345 AC_LINK_IFELSE([
346 AC_LANG_PROGRAM([], [
347 __builtin_cpu_supports("sse");
348 ])
349 ],
350 [AS_VAR_SET([osmo_cv_cc_has_builtin], [yes])],
351 [AS_VAR_SET([osmo_cv_cc_has_builtin], [no])])
352 ]
353 )
354
355 AS_IF([test yes = AS_VAR_GET([osmo_cv_cc_has_builtin])], [
356 AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1), 1,
357 [Define to 1 if compiler has the '$1' built-in function])
358 ], [
359 AC_MSG_WARN($2)
360 ])
361])
362
363dnl Check if the compiler supports runtime SIMD detection
364CHECK_BUILTIN_SUPPORT([__builtin_cpu_supports],
365 [Runtime SIMD detection will be disabled])
366
Neels Hofmeyr09ecbb72018-03-05 20:40:05 +0100367AC_MSG_RESULT([CFLAGS="$CFLAGS"])
368AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
369
Harald Welte3cae0392010-02-20 21:09:24 +0100370AC_OUTPUT(
371 libosmocore.pc
Sylvain Munautb99b9302010-10-24 18:23:10 +0200372 libosmocodec.pc
Vadim Yanitskiy3262f822016-09-23 01:48:59 +0700373 libosmocoding.pc
Harald Weltee352c522010-05-19 19:42:32 +0200374 libosmovty.pc
Pablo Neira Ayusofba495e2011-03-23 18:08:08 +0100375 libosmogsm.pc
Harald Welte641f7ce2012-06-17 23:05:26 +0800376 libosmogb.pc
Harald Welte3ff81b12014-08-20 19:58:40 +0200377 libosmoctrl.pc
Harald Welted54c2ee2012-01-17 18:25:50 +0100378 libosmosim.pc
Harald Welte3cae0392010-02-20 21:09:24 +0100379 include/Makefile
380 src/Makefile
Harald Welte3fb0b6f2010-05-19 19:02:52 +0200381 src/vty/Makefile
Sylvain Munaut1a4ea5b2010-10-08 15:09:16 +0200382 src/codec/Makefile
Vadim Yanitskiy3262f822016-09-23 01:48:59 +0700383 src/coding/Makefile
Harald Welted54c2ee2012-01-17 18:25:50 +0100384 src/sim/Makefile
Pablo Neira Ayusofba495e2011-03-23 18:08:08 +0100385 src/gsm/Makefile
Harald Welte641f7ce2012-06-17 23:05:26 +0800386 src/gb/Makefile
Harald Welte3ff81b12014-08-20 19:58:40 +0200387 src/ctrl/Makefile
Harald Welte898ffef2017-05-15 21:37:34 +0200388 src/pseudotalloc/Makefile
Harald Welte3cae0392010-02-20 21:09:24 +0100389 tests/Makefile
Neels Hofmeyr96831042016-11-15 17:31:14 +0100390 tests/atlocal
Harald Welteeeb78dd2011-08-02 13:44:54 +0200391 utils/Makefile
Harald Weltec7859ed2011-08-20 12:54:17 +0200392 Doxyfile.core
Harald Welte49e10562011-08-17 19:21:07 +0200393 Doxyfile.gsm
394 Doxyfile.vty
395 Doxyfile.codec
Vadim Yanitskiy3262f822016-09-23 01:48:59 +0700396 Doxyfile.coding
Neels Hofmeyr249fb712017-06-20 02:52:38 +0200397 Doxyfile.gb
Harald Welteb4186822018-05-26 17:25:11 +0200398 Doxyfile.ctrl
Harald Welte3cae0392010-02-20 21:09:24 +0100399 Makefile)