source: configure.ac@ 4591

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

maemo verbesserte erkennung

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
36
37dnl Check for boost
38BOOST_REQUIRE([1.35])
39BOOST_THREADS
40BOOST_SYSTEM
41BOOST_FOREACH
42BOOST_REGEX
43
44dnl Check for maemo platform
45AX_MAEMO_WITH_FIX
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.