An Overlay-based
Virtual Network Substrate
SpoVNet

source: configure.ac @ 7463

Last change on this file since 7463 was 7042, checked in by Christoph Mayer, 14 years ago

-bluetooth optional

File size: 1.7 KB
Line 
1AC_INIT([ariba], [0.3.0], [http://www.ariba-underlay.org])
2AM_INIT_AUTOMAKE([-Wall foreign])
3AC_CONFIG_SRCDIR([source/ariba/ariba.h])
4AC_CONFIG_MACRO_DIR([m4])
5AC_CONFIG_HEADER([source/ariba/config.h])
6
7AC_ARG_ENABLE(debug, [  --enable-debug  Enable debug options], enable_debug=$enableval, enable_debug=no)
8AM_CONDITIONAL(DEBUG, test "$enable_debug" = yes)
9
10AC_ARG_ENABLE(profiling, [  --enable-profiling  Enable profiling], enable_profiling=$enableval, enable_profiling=no)
11AM_CONDITIONAL(PROFILING, test "$enable_profiling" = yes)
12
13AC_ARG_ENABLE(simulation, [  --enable-simulation        Enable simulation mode], enable_simulation=$enableval, enable_simulation=no)
14AM_CONDITIONAL(OMNET, test "$enable_simulation" = yes)
15
16AC_ARG_ENABLE(doxygen, [  --enable-doxygen      Enable doxygen documentation ], enable_doxygen=$enableval, enable_doxygen=no)
17AM_CONDITIONAL(DOXYGEN, test "$enable_doxygen" = yes)
18
19AC_ARG_ENABLE(logcolors, [  --enable-logcolors  Enable colorful logging], enable_logcolors=$enableval, enable_logcolors=no)
20AM_CONDITIONAL(LOGCOLORS, test "$enable_logcolors" = yes)
21
22AC_ARG_ENABLE(bluetooth, [  --enable-bluetooth  Enable bluetooth transport [default=yes]], enable_bluetooth=$enableval, enable_bluetooth=yes)
23
24AC_PROG_LIBTOOL
25AC_PROG_CXX
26AC_PROG_CC
27AC_PROG_INSTALL
28
29AC_LANG(C++)
30
31dnl Check for doxygen and features
32AX_PROG_DOXYGEN
33
34dnl Check for libraries
35AX_GMP
36AX_LOG4CXX
37AX_OPENSSL
38AX_AVAHI
39
40if test "$enable_bluetooth" = "yes"; then
41  AX_BLUETOOTH
42fi
43
44dnl Check for boost
45BOOST_REQUIRE([1.35])
46BOOST_THREADS
47BOOST_SYSTEM
48BOOST_FOREACH
49BOOST_REGEX
50
51dnl Check for maemo platform
52AX_MAEMO
53
54AC_CONFIG_FILES([
55Makefile
56source/Makefile
57source/ariba/Makefile
58sample/Makefile
59sample/pingpong/Makefile
60sample/testdht/Makefile
61docu/Makefile
62docu/doxygen/Makefile
63])
64
65AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.