configure.ac
changeset 1911 c925a077cf73
parent 1863 12e0db6b7d0e
child 1941 9fe177e0437d
equal deleted inserted replaced
32:f8630c066ac5 33:61b7465273ea
     4 AM_INIT_AUTOMAKE([1.7])
     4 AM_INIT_AUTOMAKE([1.7])
     5 AC_CONFIG_SRCDIR([lemon/invalid.h])
     5 AC_CONFIG_SRCDIR([lemon/invalid.h])
     6 AC_CONFIG_HEADERS([config.h lemon/config.h])
     6 AC_CONFIG_HEADERS([config.h lemon/config.h])
     7 AC_PREREQ([2.59])
     7 AC_PREREQ([2.59])
     8 
     8 
       
     9 lx_cmdline_cxxflags_set=${CXXFLAGS+set}
       
    10 
     9 dnl Checks for programs.
    11 dnl Checks for programs.
    10 AC_PROG_CXX
    12 AC_PROG_CXX
    11 AC_PROG_CXXCPP
    13 AC_PROG_CXXCPP
    12 AC_PROG_INSTALL
    14 AC_PROG_INSTALL
    13 AC_DISABLE_SHARED
    15 AC_DISABLE_SHARED
    14 AC_PROG_LIBTOOL
    16 AC_PROG_LIBTOOL
    15 
    17 
    16 if test $CXX != icc -a $CXX != icpc; then
    18 if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
    17   CXXFLAGS="$CXXFLAGS -Wall -W"
    19   CXXFLAGS="$CXXFLAGS -Wall -W"
    18 fi
    20 fi
    19 
    21 
    20 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    22 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    21 
    23