Last change
on this file since 1348:115e42a5b0f7 was
1348:115e42a5b0f7,
checked in by Akos Ladanyi, 19 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
|
Rev | Line | |
---|
[542] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
[1163] | 2 | AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon]) |
---|
[542] | 3 | AC_CONFIG_AUX_DIR([config]) |
---|
[1348] | 4 | AM_INIT_AUTOMAKE |
---|
[921] | 5 | AC_CONFIG_SRCDIR([src/lemon/invalid.h]) |
---|
[1348] | 6 | AM_CONFIG_HEADER([config.h]) |
---|
[542] | 7 | AC_PREREQ(2.57) |
---|
| 8 | |
---|
| 9 | dnl Checks for programs. |
---|
| 10 | AC_PROG_CXX |
---|
[1304] | 11 | AC_PROG_INSTALL |
---|
[1327] | 12 | AC_DISABLE_SHARED |
---|
[1304] | 13 | AC_PROG_LIBTOOL |
---|
[542] | 14 | |
---|
[1348] | 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 |
---|
[716] | 19 | |
---|
[542] | 20 | dnl Checks for libraries. |
---|
| 21 | |
---|
| 22 | dnl Checks for header files. |
---|
[774] | 23 | AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
---|
[542] | 24 | |
---|
| 25 | dnl Checks for typedefs, structures, and compiler characteristics. |
---|
| 26 | AC_C_CONST |
---|
| 27 | AC_C_INLINE |
---|
| 28 | AC_TYPE_SIZE_T |
---|
| 29 | AC_HEADER_TIME |
---|
| 30 | AC_STRUCT_TM |
---|
| 31 | |
---|
| 32 | dnl Checks for library functions. |
---|
| 33 | AC_HEADER_STDC |
---|
[1108] | 34 | AC_CHECK_FUNCS(gettimeofday times ctime_r) |
---|
[542] | 35 | |
---|
[1304] | 36 | AC_CONFIG_FILES([ |
---|
| 37 | Makefile |
---|
| 38 | autopackage/default.apspec |
---|
| 39 | doc/Makefile |
---|
| 40 | doc/Doxyfile |
---|
| 41 | src/Makefile |
---|
| 42 | src/lemon/Makefile |
---|
| 43 | src/lemon/lemon.pc |
---|
| 44 | src/benchmark/Makefile |
---|
| 45 | src/demo/Makefile |
---|
| 46 | src/test/Makefile |
---|
| 47 | ]) |
---|
[542] | 48 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.