source: configure.ac@ 2482

Last change on this file since 2482 was 2467, checked in by Christoph Mayer, 16 years ago

-logging farben über ./configure --enable-logcolors=yes einschaltbar, sonst per default ausgeschalten
-alls std::cout auskommentiert

File size: 1.4 KB
Line 
1AC_INIT([ariba], [0.1.0], [http://www.ariba-underlay.org])
2AM_INIT_AUTOMAKE([-Wall -Werror foreign])
3AC_CONFIG_SRCDIR([source/ariba/interface/UnderlayAbstraction.cpp])
4AC_CONFIG_MACRO_DIR([m4])
5
6AC_ARG_ENABLE(debug, [ --enable-debug Enable debug options], enable_debug=$enableval, enable_debug=no)
7AM_CONDITIONAL(DEBUG, test "$enable_debug" = yes)
8
9AC_ARG_ENABLE(profiling, [ --enable-profiling Enable profiling], enable_profiling=$enableval, enable_profiling=no)
10AM_CONDITIONAL(PROFILING, test "$enable_profiling" = yes)
11
12AC_ARG_ENABLE(simulation, [ --enable-simulation Enable simulation mode], enable_simulation=$enableval, enable_simulation=no)
13AM_CONDITIONAL(OMNET, test "$enable_simulation" = yes)
14
15AC_ARG_ENABLE(doxygen, [ --enable-doxygen Enable doxygen documentation ], enable_doxygen=$enableval, enable_doxygen=no)
16AM_CONDITIONAL(DOXYGEN, test "$enable_doxygen" = yes)
17
18AC_ARG_ENABLE(logcolors, [ --enable-logcolors Enable colorful logging], enable_logcolors=$enableval, enable_logcolors=no)
19AM_CONDITIONAL(LOGCOLORS, test "$enable_logcolors" = yes)
20
21AC_PROG_LIBTOOL
22AC_PROG_CXX
23AC_PROG_CC
24AC_PROG_INSTALL
25
26AC_LANG(C++)
27
28dnl Check for doxygen and features
29AX_PROG_DOXYGEN
30
31dnl Check for libraries
32AX_GMP
33AX_LOG4CXX
34
35dnl Check for boost
36BOOST_REQUIRE([1.35])
37BOOST_THREADS
38BOOST_SYSTEM
39BOOST_FOREACH
40BOOST_REGEX
41
42AC_CONFIG_FILES([
43Makefile
44source/Makefile
45source/ariba/Makefile
46sample/Makefile
47sample/pingpong/Makefile
48docu/Makefile
49docu/doxygen/Makefile
50])
51AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.