author | alpar |
Sat, 27 Aug 2005 09:32:34 +0000 | |
changeset 1659 | ab1e97b7b2b7 |
parent 1572 | ce52ee162ec0 |
child 1662 | 8b4d25be4f7a |
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@1482 | 4 |
AM_INIT_AUTOMAKE([1.7]) |
ladanyi@1435 | 5 |
AC_CONFIG_SRCDIR([lemon/invalid.h]) |
ladanyi@1435 | 6 |
AC_CONFIG_HEADERS([config.h lemon/config.h]) |
ladanyi@1482 | 7 |
AC_PREREQ([2.59]) |
ladanyi@542 | 8 |
|
ladanyi@542 | 9 |
dnl Checks for programs. |
ladanyi@542 | 10 |
AC_PROG_CXX |
ladanyi@1350 | 11 |
AC_PROG_CXXCPP |
ladanyi@1304 | 12 |
AC_PROG_INSTALL |
alpar@1327 | 13 |
AC_DISABLE_SHARED |
ladanyi@1304 | 14 |
AC_PROG_LIBTOOL |
ladanyi@542 | 15 |
|
ladanyi@1348 | 16 |
if test $CXX != icc -a $CXX != icpc; then |
ladanyi@1349 | 17 |
CXXFLAGS="$CXXFLAGS -Wall -W" |
ladanyi@1348 | 18 |
fi |
alpar@716 | 19 |
|
alpar@1400 | 20 |
AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no]) |
alpar@1400 | 21 |
|
ladanyi@542 | 22 |
dnl Checks for libraries. |
ladanyi@1349 | 23 |
LX_CHECK_GLPK |
ladanyi@1380 | 24 |
LX_CHECK_CPLEX |
ladanyi@542 | 25 |
|
ladanyi@1487 | 26 |
LX_DOCDIR_SUFFIX |
ladanyi@1489 | 27 |
LX_ENABLE_DOC |
ladanyi@1404 | 28 |
LX_ENABLE_GUI |
ladanyi@1370 | 29 |
|
ladanyi@542 | 30 |
dnl Checks for header files. |
alpar@774 | 31 |
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) |
ladanyi@542 | 32 |
|
ladanyi@542 | 33 |
dnl Checks for typedefs, structures, and compiler characteristics. |
ladanyi@542 | 34 |
AC_C_CONST |
ladanyi@542 | 35 |
AC_C_INLINE |
ladanyi@542 | 36 |
AC_TYPE_SIZE_T |
ladanyi@542 | 37 |
AC_HEADER_TIME |
ladanyi@542 | 38 |
AC_STRUCT_TM |
ladanyi@542 | 39 |
|
ladanyi@542 | 40 |
dnl Checks for library functions. |
ladanyi@542 | 41 |
AC_HEADER_STDC |
alpar@1108 | 42 |
AC_CHECK_FUNCS(gettimeofday times ctime_r) |
ladanyi@542 | 43 |
|
ladanyi@1304 | 44 |
AC_CONFIG_FILES([ |
ladanyi@1304 | 45 |
Makefile |
ladanyi@1483 | 46 |
lemon.spec |
ladanyi@1304 | 47 |
autopackage/default.apspec |
ladanyi@1304 | 48 |
doc/Makefile |
ladanyi@1304 | 49 |
doc/Doxyfile |
ladanyi@1435 | 50 |
lemon/Makefile |
ladanyi@1435 | 51 |
lemon/lemon.pc |
ladanyi@1435 | 52 |
benchmark/Makefile |
ladanyi@1435 | 53 |
demo/Makefile |
ladanyi@1435 | 54 |
test/Makefile |
ladanyi@1435 | 55 |
gui/Makefile |
alpar@1659 | 56 |
gui/icons/Makefile |
ladanyi@1304 | 57 |
]) |
ladanyi@1349 | 58 |
|
ladanyi@542 | 59 |
AC_OUTPUT |
alpar@1372 | 60 |
|
alpar@1372 | 61 |
echo |
alpar@1372 | 62 |
echo '****************************** SUMMARY ******************************' |
alpar@1372 | 63 |
echo |
alpar@1372 | 64 |
echo Package version............... : $PACKAGE-$VERSION |
alpar@1372 | 65 |
echo |
alpar@1372 | 66 |
echo C++ compiler.................. : $CXX |
alpar@1372 | 67 |
echo C++ compiles flags............ : $CXXFLAGS |
alpar@1372 | 68 |
echo |
alpar@1373 | 69 |
echo GLPK support.................. : $lx_glpk_found |
ladanyi@1380 | 70 |
echo CPLEX support................. : $lx_cplex_found |
alpar@1372 | 71 |
echo |
ladanyi@1404 | 72 |
echo build GUI..................... : $enable_gui |
ladanyi@1404 | 73 |
echo |
alpar@1372 | 74 |
echo The packace will be installed in |
alpar@1372 | 75 |
echo -n ' ' |
alpar@1372 | 76 |
echo $prefix. |
alpar@1372 | 77 |
echo |
alpar@1372 | 78 |
echo The documentation will be installed in |
alpar@1372 | 79 |
echo -n ' ' |
ladanyi@1487 | 80 |
eval echo ${datadir}/doc/$DOCSUFFIX. |
alpar@1372 | 81 |
echo |
alpar@1372 | 82 |
echo '*********************************************************************' |
alpar@1372 | 83 |
|
alpar@1372 | 84 |
echo |
alpar@1572 | 85 |
echo configure complete, now type \'make\' and then \'make install\'. |
alpar@1372 | 86 |
echo |