source: configure.ac@ 4835

Last change on this file since 4835 was 4733, checked in by Christoph Mayer, 15 years ago

-integrated avahi and a bootstrap manager and stuff (still not working, but compiling)

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_AVAHI
37
38dnl Check for boost
39BOOST_REQUIRE([1.35])
40BOOST_THREADS
41BOOST_SYSTEM
42BOOST_FOREACH
43BOOST_REGEX
44
45dnl Check for maemo platform
46AX_MAEMO_WITH_FIX
47
48AC_CONFIG_FILES([
49Makefile
50source/Makefile
51source/ariba/Makefile
52sample/Makefile
53sample/pingpong/Makefile
54docu/Makefile
55docu/doxygen/Makefile
56])
57
58AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.