configure.ac
changeset 1369 f1cf6b807414
parent 1349 83388a4aa3af
child 1370 76a3f46d361c
equal deleted inserted replaced
13:3876cf0a89ab 14:540f986854c7
     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.