source: configure.ac@ 2454

Last change on this file since 2454 was 2411, checked in by mies, 16 years ago

adapted Makefiles

File size: 1.3 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_PROG_LIBTOOL
19AC_PROG_CXX
20AC_PROG_CC
21AC_PROG_INSTALL
22
23AC_LANG(C++)
24
25dnl Check for doxygen and features
26AX_PROG_DOXYGEN
27
28dnl Check for libraries
29AX_GMP
30AX_LOG4CXX
31
32dnl Check for boost
33BOOST_REQUIRE([1.35])
34BOOST_THREADS
35BOOST_SYSTEM
36BOOST_FOREACH
37BOOST_REGEX
38
39AC_CONFIG_FILES([
40Makefile
41source/Makefile
42source/ariba/Makefile
43sample/Makefile
44sample/pingpong/Makefile
45docu/Makefile
46docu/doxygen/Makefile
47])
48AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.