author | alpar |
Mon, 18 Apr 2005 14:59:24 +0000 | |
changeset 1367 | a490662291b9 |
parent 1349 | 83388a4aa3af |
child 1370 | 76a3f46d361c |
permissions | -rw-r--r-- |
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@1348 | 4 |
AM_INIT_AUTOMAKE |
alpar@921 | 5 |
AC_CONFIG_SRCDIR([src/lemon/invalid.h]) |
ladanyi@1348 | 6 |
AM_CONFIG_HEADER([config.h]) |
ladanyi@1349 | 7 |
AC_PREREQ([2.53]) |
ladanyi@542 | 8 |
|
ladanyi@1350 | 9 |
dnl Save user defined CXXFLAGS |
ladanyi@1350 | 10 |
dnl lx_user_cxxflags="$CXXFLAGS" |
ladanyi@1350 | 11 |
|
ladanyi@542 | 12 |
dnl Checks for programs. |
ladanyi@542 | 13 |
AC_PROG_CXX |
ladanyi@1350 | 14 |
AC_PROG_CXXCPP |
ladanyi@1304 | 15 |
AC_PROG_INSTALL |
alpar@1327 | 16 |
AC_DISABLE_SHARED |
ladanyi@1304 | 17 |
AC_PROG_LIBTOOL |
ladanyi@542 | 18 |
|
ladanyi@1348 | 19 |
if test $CXX != icc -a $CXX != icpc; then |
ladanyi@1349 | 20 |
CXXFLAGS="$CXXFLAGS -Wall -W" |
ladanyi@1348 | 21 |
fi |
alpar@716 | 22 |
|
ladanyi@1350 | 23 |
dnl This is tested only with gcc-3.4 and icc-8.0 |
ladanyi@1350 | 24 |
dnl LX_SET_CXXFLAGS |
ladanyi@1350 | 25 |
|
ladanyi@542 | 26 |
dnl Checks for libraries. |
ladanyi@1349 | 27 |
LX_CHECK_GLPK |
ladanyi@542 | 28 |
|
ladanyi@542 | 29 |
dnl Checks for header files. |
alpar@774 | 30 |
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
ladanyi@542 | 31 |
|
ladanyi@542 | 32 |
dnl Checks for typedefs, structures, and compiler characteristics. |
ladanyi@542 | 33 |
AC_C_CONST |
ladanyi@542 | 34 |
AC_C_INLINE |
ladanyi@542 | 35 |
AC_TYPE_SIZE_T |
ladanyi@542 | 36 |
AC_HEADER_TIME |
ladanyi@542 | 37 |
AC_STRUCT_TM |
ladanyi@542 | 38 |
|
ladanyi@542 | 39 |
dnl Checks for library functions. |
ladanyi@542 | 40 |
AC_HEADER_STDC |
alpar@1108 | 41 |
AC_CHECK_FUNCS(gettimeofday times ctime_r) |
ladanyi@542 | 42 |
|
ladanyi@1304 | 43 |
AC_CONFIG_FILES([ |
ladanyi@1304 | 44 |
Makefile |
ladanyi@1304 | 45 |
autopackage/default.apspec |
ladanyi@1304 | 46 |
doc/Makefile |
ladanyi@1304 | 47 |
doc/Doxyfile |
ladanyi@1304 | 48 |
src/Makefile |
ladanyi@1304 | 49 |
src/lemon/Makefile |
ladanyi@1304 | 50 |
src/lemon/lemon.pc |
ladanyi@1304 | 51 |
src/benchmark/Makefile |
ladanyi@1304 | 52 |
src/demo/Makefile |
ladanyi@1304 | 53 |
src/test/Makefile |
ladanyi@1304 | 54 |
]) |
ladanyi@1349 | 55 |
|
ladanyi@542 | 56 |
AC_OUTPUT |