configure.ac
author alpar
Fri, 08 Apr 2005 15:46:12 +0000
changeset 1329 1bfaec33215b
parent 1304 c9c2e90b2342
child 1348 115e42a5b0f7
permissions -rw-r--r--
- Insert LP stuff into the module structure
     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(1.7)
     5 AC_CONFIG_SRCDIR([src/lemon/invalid.h])
     6 AC_PREREQ(2.57)
     7 
     8 dnl Checks for programs.
     9 AC_PROG_CXX
    10 AC_PROG_INSTALL
    11 AC_DISABLE_SHARED
    12 AC_PROG_LIBTOOL
    13 
    14 CXXFLAGS="$CXXFLAGS -Wall"
    15 
    16 dnl Checks for libraries.
    17 
    18 dnl Checks for header files.
    19 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
    20 
    21 dnl Checks for typedefs, structures, and compiler characteristics.
    22 AC_C_CONST
    23 AC_C_INLINE
    24 AC_TYPE_SIZE_T
    25 AC_HEADER_TIME
    26 AC_STRUCT_TM
    27 
    28 dnl Checks for library functions.
    29 AC_HEADER_STDC
    30 AC_CHECK_FUNCS(gettimeofday times ctime_r)
    31 
    32 AC_CONFIG_FILES([
    33 Makefile
    34 autopackage/default.apspec
    35 doc/Makefile
    36 doc/Doxyfile
    37 src/Makefile
    38 src/lemon/Makefile
    39 src/lemon/lemon.pc
    40 src/benchmark/Makefile
    41 src/demo/Makefile
    42 src/test/Makefile
    43 ])
    44 AC_OUTPUT