1 |
# Process this file with autoconf to produce a configure script. |
2 |
AC_INIT(dtse, 1.2) |
3 |
AC_CONFIG_SRCDIR(Search.cpp) |
4 |
|
5 |
# Checks for programs. |
6 |
CHECK_GNU_MAKE |
7 |
if test x$_cv_gnu_make_command = x; then |
8 |
AC_MSG_WARN(You need GNU Make.) |
9 |
fi |
10 |
AC_PROG_CXX |
11 |
AC_PROG_PERL_VERSION(5.00503, , AC_MSG_WARN(You need a Perl 5.6 or higher.)) |
12 |
|
13 |
# Checks for libraries. |
14 |
AC_PROG_PERL_MODULES(File::Temp, , AC_MSG_WARN(You need Fill::Temp.)) |
15 |
CHECK_SSL |
16 |
|
17 |
# Checks for header files. |
18 |
AC_CHECK_HEADERS([netdb.h netinet/in.h sys/socket.h unistd.h]) |
19 |
|
20 |
# Checks for typedefs, structures, and compiler characteristics. |
21 |
ETR_SOCKET_NSL |
22 |
|
23 |
# Checks for library functions. |
24 |
AC_FUNC_ERROR_AT_LINE |
25 |
AC_C_CONST |
26 |
AC_C_INLINE |
27 |
AC_CHECK_FUNCS([gethostbyname memset socket strtoul uname]) |
28 |
|
29 |
AC_CONFIG_FILES([GNUmakefile]) |
30 |
AC_OUTPUT |