source: configure.ac@ 3038

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

-changed source-available? checking to std ariba interface

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/ariba.h])
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
34AX_OPENSSL
35
36dnl Check for boost
37BOOST_REQUIRE([1.35])
38BOOST_THREADS
39BOOST_SYSTEM
40BOOST_FOREACH
41BOOST_REGEX
42
43AC_CONFIG_FILES([
44Makefile
45source/Makefile
46source/ariba/Makefile
47sample/Makefile
48sample/pingpong/Makefile
49docu/Makefile
50docu/doxygen/Makefile
51])
52AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.