Rev | Line | |
---|
[542] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
[1163] | 2 | AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon]) |
---|
[542] | 3 | AC_CONFIG_AUX_DIR([config]) |
---|
[1348] | 4 | AM_INIT_AUTOMAKE |
---|
[921] | 5 | AC_CONFIG_SRCDIR([src/lemon/invalid.h]) |
---|
[1348] | 6 | AM_CONFIG_HEADER([config.h]) |
---|
[1349] | 7 | AC_PREREQ([2.53]) |
---|
[542] | 8 | |
---|
[1350] | 9 | dnl Save user defined CXXFLAGS |
---|
| 10 | dnl lx_user_cxxflags="$CXXFLAGS" |
---|
| 11 | |
---|
[542] | 12 | dnl Checks for programs. |
---|
| 13 | AC_PROG_CXX |
---|
[1350] | 14 | AC_PROG_CXXCPP |
---|
[1304] | 15 | AC_PROG_INSTALL |
---|
[1327] | 16 | AC_DISABLE_SHARED |
---|
[1304] | 17 | AC_PROG_LIBTOOL |
---|
[542] | 18 | |
---|
[1348] | 19 | if test $CXX != icc -a $CXX != icpc; then |
---|
[1349] | 20 | CXXFLAGS="$CXXFLAGS -Wall -W" |
---|
[1348] | 21 | fi |
---|
[716] | 22 | |
---|
[1350] | 23 | dnl This is tested only with gcc-3.4 and icc-8.0 |
---|
| 24 | dnl LX_SET_CXXFLAGS |
---|
| 25 | |
---|
[542] | 26 | dnl Checks for libraries. |
---|
[1349] | 27 | LX_CHECK_GLPK |
---|
[542] | 28 | |
---|
| 29 | dnl Checks for header files. |
---|
[774] | 30 | AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
---|
[542] | 31 | |
---|
| 32 | dnl Checks for typedefs, structures, and compiler characteristics. |
---|
| 33 | AC_C_CONST |
---|
| 34 | AC_C_INLINE |
---|
| 35 | AC_TYPE_SIZE_T |
---|
| 36 | AC_HEADER_TIME |
---|
| 37 | AC_STRUCT_TM |
---|
| 38 | |
---|
| 39 | dnl Checks for library functions. |
---|
| 40 | AC_HEADER_STDC |
---|
[1108] | 41 | AC_CHECK_FUNCS(gettimeofday times ctime_r) |
---|
[542] | 42 | |
---|
[1304] | 43 | AC_CONFIG_FILES([ |
---|
| 44 | Makefile |
---|
| 45 | autopackage/default.apspec |
---|
| 46 | doc/Makefile |
---|
| 47 | doc/Doxyfile |
---|
| 48 | src/Makefile |
---|
| 49 | src/lemon/Makefile |
---|
| 50 | src/lemon/lemon.pc |
---|
| 51 | src/benchmark/Makefile |
---|
| 52 | src/demo/Makefile |
---|
| 53 | src/test/Makefile |
---|
| 54 | ]) |
---|
[1349] | 55 | |
---|
[542] | 56 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.