author | alpar |
Wed, 04 Aug 2004 19:04:42 +0000 | |
changeset 755 | a8c2e828ce0b |
parent 704 | f450618b8f98 |
child 774 | 4297098d9677 |
permissions | -rw-r--r-- |
ladanyi@542 | 1 |
dnl Process this file with autoconf to produce a configure script. |
ladanyi@542 | 2 |
AC_INIT([HugoLib], [0.1], [etik-ol@cs.elte.hu], [hugo]) |
ladanyi@542 | 3 |
AC_CONFIG_AUX_DIR([config]) |
ladanyi@542 | 4 |
AM_INIT_AUTOMAKE(1.7) |
ladanyi@542 | 5 |
AC_CONFIG_SRCDIR([src/hugo/invalid.h]) |
ladanyi@542 | 6 |
AC_PREREQ(2.57) |
ladanyi@542 | 7 |
|
ladanyi@542 | 8 |
dnl Checks for programs. |
ladanyi@542 | 9 |
AC_PROG_CC |
ladanyi@542 | 10 |
AC_PROG_CXX |
ladanyi@542 | 11 |
|
alpar@716 | 12 |
CXXFLAGS="$CXXFLAGS -Wall" |
alpar@716 | 13 |
|
ladanyi@542 | 14 |
dnl Checks for libraries. |
ladanyi@542 | 15 |
|
ladanyi@542 | 16 |
dnl Checks for header files. |
ladanyi@542 | 17 |
AC_CHECK_HEADERS(limits.h sys/time.h unistd.h) |
ladanyi@542 | 18 |
|
ladanyi@542 | 19 |
dnl Checks for typedefs, structures, and compiler characteristics. |
ladanyi@542 | 20 |
AC_C_CONST |
ladanyi@542 | 21 |
AC_C_INLINE |
ladanyi@542 | 22 |
AC_TYPE_SIZE_T |
ladanyi@542 | 23 |
AC_HEADER_TIME |
ladanyi@542 | 24 |
AC_STRUCT_TM |
ladanyi@542 | 25 |
|
ladanyi@542 | 26 |
dnl Checks for library functions. |
ladanyi@542 | 27 |
AC_HEADER_STDC |
ladanyi@542 | 28 |
AC_CHECK_FUNCS(gettimeofday) |
ladanyi@542 | 29 |
|
ladanyi@704 | 30 |
AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/hugo/Makefile src/test/Makefile src/benchmark/Makefile]) |
ladanyi@542 | 31 |
AC_OUTPUT |