source: configure.ac@ 4104

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

-spezialbehandlung wenn auf maemo kompiliert wird
-config.h ausgeben lassen, damit dynamisch geschaut wird welche libs vorhanden sind bei optionalen

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 maemo platform
30AX_MAEMO
31
32dnl Check for doxygen and features
33AX_PROG_DOXYGEN
34
35dnl Check for libraries
36AX_GMP
37AX_LOG4CXX
38AX_OPENSSL
39
40dnl Check for boost
41BOOST_REQUIRE([1.35])
42BOOST_THREADS
43BOOST_SYSTEM
44BOOST_FOREACH
45BOOST_REGEX
46
47AC_CONFIG_FILES([
48Makefile
49source/Makefile
50source/ariba/Makefile
51sample/Makefile
52sample/pingpong/Makefile
53docu/Makefile
54docu/doxygen/Makefile
55])
56
57AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.