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