1 dnl Process this file with autoconf to produce a configure script.
3 AC_CONFIG_AUX_DIR(config)
8 AM_INIT_AUTOMAKE(sid, 0.1-net)
19 dnl The following is needed for config/info.tcl.
22 dnl Disable shared libraries
23 AC_CACHE_CHECK(whether can build shared SID component libraries, ac_cv_libstdcxx_shared, [
25 ac_cv_libstdcxx_shared=$have_libstdcxx_shared
28 if test x$ac_cv_libstdcxx_shared != xyes -o x$enable_shared = xno
30 AC_MSG_WARN(Disabling shared SID component libraries.)
31 # This variable is not really proper to mess with. However,
32 # there appears to be no other way of adding an extra argument
33 # to child directories' configure runs. This is largely safe
34 # because this code is run long after the ac_configure_args were
35 # parsed for the enable_* etc. args.
36 ac_configure_args="$ac_configure_args --disable-shared"
41 AC_SUBST(enable_shared)
45 AC_CONFIG_SUBDIRS(include component main bsp samples demos)
46 AC_OUTPUT(Makefile doc/Makefile config/info.tcl)