equal
deleted
inserted
replaced
4 AM_INIT_AUTOMAKE |
4 AM_INIT_AUTOMAKE |
5 AC_CONFIG_SRCDIR([src/lemon/invalid.h]) |
5 AC_CONFIG_SRCDIR([src/lemon/invalid.h]) |
6 AM_CONFIG_HEADER([config.h]) |
6 AM_CONFIG_HEADER([config.h]) |
7 AC_PREREQ([2.53]) |
7 AC_PREREQ([2.53]) |
8 |
8 |
|
9 dnl Save user defined CXXFLAGS |
|
10 dnl lx_user_cxxflags="$CXXFLAGS" |
|
11 |
9 dnl Checks for programs. |
12 dnl Checks for programs. |
10 AC_PROG_CXX |
13 AC_PROG_CXX |
|
14 AC_PROG_CXXCPP |
11 AC_PROG_INSTALL |
15 AC_PROG_INSTALL |
12 AC_DISABLE_SHARED |
16 AC_DISABLE_SHARED |
13 AC_PROG_LIBTOOL |
17 AC_PROG_LIBTOOL |
14 |
18 |
15 if test $CXX != icc -a $CXX != icpc; then |
19 if test $CXX != icc -a $CXX != icpc; then |
16 CXXFLAGS="$CXXFLAGS -Wall -W" |
20 CXXFLAGS="$CXXFLAGS -Wall -W" |
17 fi |
21 fi |
|
22 |
|
23 dnl This is tested only with gcc-3.4 and icc-8.0 |
|
24 dnl LX_SET_CXXFLAGS |
18 |
25 |
19 dnl Checks for libraries. |
26 dnl Checks for libraries. |
20 LX_CHECK_GLPK |
27 LX_CHECK_GLPK |
21 |
28 |
22 dnl Checks for header files. |
29 dnl Checks for header files. |