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