equal
deleted
inserted
replaced
1 dnl Process this file with autoconf to produce a configure script. |
1 dnl Process this file with autoconf to produce a configure script. |
2 AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon]) |
2 AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon]) |
3 AC_CONFIG_AUX_DIR([config]) |
3 AC_CONFIG_AUX_DIR([config]) |
4 AM_INIT_AUTOMAKE(1.7) |
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 AC_PREREQ(2.57) |
7 AC_PREREQ(2.57) |
7 |
8 |
8 dnl Checks for programs. |
9 dnl Checks for programs. |
9 AC_PROG_CXX |
10 AC_PROG_CXX |
10 AC_PROG_INSTALL |
11 AC_PROG_INSTALL |
11 AC_DISABLE_SHARED |
12 AC_DISABLE_SHARED |
12 AC_PROG_LIBTOOL |
13 AC_PROG_LIBTOOL |
13 |
14 |
14 CXXFLAGS="$CXXFLAGS -Wall" |
15 dnl I know this is not perfect. A better solution will come soon. |
|
16 if test $CXX != icc -a $CXX != icpc; then |
|
17 CXXFLAGS="$CXXFLAGS -Wall" |
|
18 fi |
15 |
19 |
16 dnl Checks for libraries. |
20 dnl Checks for libraries. |
17 |
21 |
18 dnl Checks for header files. |
22 dnl Checks for header files. |
19 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
23 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |