40 lines
1 KiB
Text
40 lines
1 KiB
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(src/eo)
|
|
|
|
dnl Change the version number here
|
|
AM_INIT_AUTOMAKE(eo, 0.9.2)
|
|
|
|
dnl Checks for maintainer mode
|
|
AM_MAINTAINER_MODE
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CXX
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AC_PROG_MAKE_SET
|
|
AC_PROG_RANLIB
|
|
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -leo:
|
|
AC_CHECK_LIB(eo, main)
|
|
dnl Replace `main' with a function in -leoutils:
|
|
AC_CHECK_LIB(eoutils, main)
|
|
dnl Replace `main' with a function in -lm:
|
|
AC_CHECK_LIB(m, main)
|
|
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(limits.h)
|
|
AC_CXX_HAVE_SSTREAM
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AC_TYPE_SIZE_T
|
|
|
|
dnl Checks for library functions.
|
|
AC_CHECK_FUNCS(select)
|
|
|
|
AC_OUTPUT(doc/Makefile src/Makefile src/utils/Makefile src/other/Makefile win/Makefile src/gp/Makefile src/es/Makefile src/ga/Makefile test/Makefile contrib/Makefile Makefile app/Makefile app/gprop/Makefile app/mastermind/Makefile app/gpsymreg/Makefile src/do/Makefile)
|
|
|