configure.ac
author ladanyi
Tue, 05 Apr 2005 09:49:01 +0000
changeset 1306 4ea2147274db
parent 1171 f426c84a4e00
child 1327 ecc1cdea2ee7
permissions -rw-r--r--
make distcheck fixes. Anyway it still doesn't work.
ladanyi@542
     1
dnl Process this file with autoconf to produce a configure script.
alpar@1163
     2
AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
ladanyi@542
     3
AC_CONFIG_AUX_DIR([config])
ladanyi@542
     4
AM_INIT_AUTOMAKE(1.7)
alpar@921
     5
AC_CONFIG_SRCDIR([src/lemon/invalid.h])
ladanyi@542
     6
AC_PREREQ(2.57)
ladanyi@542
     7
ladanyi@542
     8
dnl Checks for programs.
ladanyi@542
     9
AC_PROG_CXX
ladanyi@1304
    10
AC_PROG_INSTALL
ladanyi@1304
    11
AC_PROG_LIBTOOL
ladanyi@542
    12
alpar@716
    13
CXXFLAGS="$CXXFLAGS -Wall"
alpar@716
    14
ladanyi@542
    15
dnl Checks for libraries.
ladanyi@542
    16
ladanyi@542
    17
dnl Checks for header files.
alpar@774
    18
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
ladanyi@542
    19
ladanyi@542
    20
dnl Checks for typedefs, structures, and compiler characteristics.
ladanyi@542
    21
AC_C_CONST
ladanyi@542
    22
AC_C_INLINE
ladanyi@542
    23
AC_TYPE_SIZE_T
ladanyi@542
    24
AC_HEADER_TIME
ladanyi@542
    25
AC_STRUCT_TM
ladanyi@542
    26
ladanyi@542
    27
dnl Checks for library functions.
ladanyi@542
    28
AC_HEADER_STDC
alpar@1108
    29
AC_CHECK_FUNCS(gettimeofday times ctime_r)
ladanyi@542
    30
ladanyi@1304
    31
AC_CONFIG_FILES([
ladanyi@1304
    32
Makefile
ladanyi@1304
    33
autopackage/default.apspec
ladanyi@1304
    34
doc/Makefile
ladanyi@1304
    35
doc/Doxyfile
ladanyi@1304
    36
src/Makefile
ladanyi@1304
    37
src/lemon/Makefile
ladanyi@1304
    38
src/lemon/lemon.pc
ladanyi@1304
    39
src/benchmark/Makefile
ladanyi@1304
    40
src/demo/Makefile
ladanyi@1304
    41
src/test/Makefile
ladanyi@1304
    42
])
ladanyi@542
    43
AC_OUTPUT