]>
Commit | Line | Data |
---|---|---|
f107f702 | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_INIT(aClient.cpp) | |
3 | ||
4 | dnl Create the config.h | |
5 | AC_CONFIG_HEADER(config.h) | |
6 | ||
7 | dnl Checks for programs. | |
8 | AC_PROG_CXX | |
9 | AC_PROG_CXXCPP | |
10 | AC_PROG_CC | |
11 | ||
12 | dnl Checks for libraries. | |
13 | AC_CHECK_LIB(crypt, crypt) | |
14 | ||
15 | dnl Checks for header files. | |
16 | AC_HEADER_STDC | |
17 | AC_HEADER_TIME | |
18 | AC_CHECK_HEADERS(limits.h unistd.h crypt.h) | |
19 | ||
20 | dnl Checks for typedefs, structures, and compiler characteristics. | |
21 | AC_C_CONST | |
22 | AC_TYPE_SIZE_T | |
23 | ||
24 | dnl Checks for library functions. | |
285f72cf | 25 | AC_CHECK_FUNCS(socket strcspn strspn strtol strtok gethostbyname) |
f107f702 | 26 | AC_OUTPUT(Makefile) |
27 |