source: configure.ac@ 5639

Last change on this file since 5639 was 5611, checked in by Christoph Mayer, 15 years ago
File size: 1.5 KB
Line 
1AC_INIT([ariba], [0.2.1], [http://www.ariba-underlay.org])
2AM_INIT_AUTOMAKE([-Wall -Werror 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_PROG_LIBTOOL
23AC_PROG_CXX
24AC_PROG_CC
25AC_PROG_INSTALL
26
27AC_LANG(C++)
28
29dnl Check for doxygen and features
30AX_PROG_DOXYGEN
31
32dnl Check for libraries
33AX_GMP
34AX_LOG4CXX
35AX_OPENSSL
36AX_BLUETOOTH
37AX_AVAHI
38
39dnl Check for boost
40BOOST_REQUIRE([1.35])
41BOOST_THREADS
42BOOST_SYSTEM
43BOOST_FOREACH
44BOOST_REGEX
45
46dnl Check for maemo platform
47AX_MAEMO
48
49AC_CONFIG_FILES([
50Makefile
51source/Makefile
52source/ariba/Makefile
53sample/Makefile
54sample/pingpong/Makefile
55docu/Makefile
56docu/doxygen/Makefile
57])
58
59AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.