COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1348:115e42a5b0f7

Last change on this file since 1348:115e42a5b0f7 was 1348:115e42a5b0f7, checked in by Akos Ladanyi, 17 years ago
  • added autoheader (just to reduce the compliers argument list)
  • don't add -Wall to CXXFLAGS when using Intel's compiler (because this causes a lot of remarks)
File size: 1.0 KB
RevLine 
[542]1dnl Process this file with autoconf to produce a configure script.
[1163]2AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
[542]3AC_CONFIG_AUX_DIR([config])
[1348]4AM_INIT_AUTOMAKE
[921]5AC_CONFIG_SRCDIR([src/lemon/invalid.h])
[1348]6AM_CONFIG_HEADER([config.h])
[542]7AC_PREREQ(2.57)
8
9dnl Checks for programs.
10AC_PROG_CXX
[1304]11AC_PROG_INSTALL
[1327]12AC_DISABLE_SHARED
[1304]13AC_PROG_LIBTOOL
[542]14
[1348]15dnl I know this is not perfect. A better solution will come soon.
16if test $CXX != icc -a $CXX != icpc; then
17  CXXFLAGS="$CXXFLAGS -Wall"
18fi
[716]19
[542]20dnl Checks for libraries.
21
22dnl Checks for header files.
[774]23AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]24
25dnl Checks for typedefs, structures, and compiler characteristics.
26AC_C_CONST
27AC_C_INLINE
28AC_TYPE_SIZE_T
29AC_HEADER_TIME
30AC_STRUCT_TM
31
32dnl Checks for library functions.
33AC_HEADER_STDC
[1108]34AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]35
[1304]36AC_CONFIG_FILES([
37Makefile
38autopackage/default.apspec
39doc/Makefile
40doc/Doxyfile
41src/Makefile
42src/lemon/Makefile
43src/lemon/lemon.pc
44src/benchmark/Makefile
45src/demo/Makefile
46src/test/Makefile
47])
[542]48AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.