configure.ac
author ladanyi
Thu, 14 Apr 2005 12:02:14 +0000
changeset 1349 83388a4aa3af
parent 1348 115e42a5b0f7
child 1350 fb794edbf04b
permissions -rw-r--r--
- GLPK is autodetected now
     1 dnl Process this file with autoconf to produce a configure script.
     2 AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
     3 AC_CONFIG_AUX_DIR([config])
     4 AM_INIT_AUTOMAKE
     5 AC_CONFIG_SRCDIR([src/lemon/invalid.h])
     6 AM_CONFIG_HEADER([config.h])
     7 AC_PREREQ([2.53])
     8 
     9 dnl Checks for programs.
    10 AC_PROG_CXX
    11 AC_PROG_INSTALL
    12 AC_DISABLE_SHARED
    13 AC_PROG_LIBTOOL
    14 
    15 if test $CXX != icc -a $CXX != icpc; then
    16   CXXFLAGS="$CXXFLAGS -Wall -W"
    17 fi
    18 
    19 dnl Checks for libraries.
    20 LX_CHECK_GLPK
    21 
    22 dnl Checks for header files.
    23 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
    24 
    25 dnl Checks for typedefs, structures, and compiler characteristics.
    26 AC_C_CONST
    27 AC_C_INLINE
    28 AC_TYPE_SIZE_T
    29 AC_HEADER_TIME
    30 AC_STRUCT_TM
    31 
    32 dnl Checks for library functions.
    33 AC_HEADER_STDC
    34 AC_CHECK_FUNCS(gettimeofday times ctime_r)
    35 
    36 AC_CONFIG_FILES([
    37 Makefile
    38 autopackage/default.apspec
    39 doc/Makefile
    40 doc/Doxyfile
    41 src/Makefile
    42 src/lemon/Makefile
    43 src/lemon/lemon.pc
    44 src/benchmark/Makefile
    45 src/demo/Makefile
    46 src/test/Makefile
    47 ])
    48 
    49 AC_OUTPUT