]>
Commit | Line | Data |
---|---|---|
9903c388 EB |
1 | # -*- Autoconf -*- |
2 | # Process this file with autoconf to produce a configure script. | |
3 | ||
4 | AC_PREREQ(2.59) | |
5 | AC_INIT(viking, 0.1.1) | |
6 | AM_INIT_AUTOMAKE() | |
7 | dnl AC_CONFIG_SRCDIR([src/main.c]) | |
8 | dnl AM_CONFIG_HEADERS([config.h]) | |
9 | ||
10 | # Checks for programs. | |
11 | AC_PROG_CC | |
12 | AC_PROG_MAKE_SET | |
13 | ||
14 | # Checks for libraries. | |
15 | AM_PATH_GTK_2_0(2.2.0,,AC_MSG_ERROR(needs GTK+ 2.2.0),gthread) | |
16 | ||
17 | # Checks for header files. | |
18 | AC_HEADER_STDC | |
19 | AC_CHECK_HEADERS([malloc.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h]) | |
20 | ||
21 | # Checks for typedefs, structures, and compiler characteristics. | |
22 | AC_C_CONST | |
23 | AC_TYPE_MODE_T | |
24 | ||
25 | # Checks for library functions. | |
26 | AC_FUNC_STAT | |
27 | AC_FUNC_STRTOD | |
28 | AC_CHECK_FUNCS([bzero floor gethostbyname memset mkdir pow realpath socket sqrt strcasecmp strchr strdup strncasecmp strtol strtoul]) | |
29 | ||
30 | AC_CONFIG_FILES([Makefile | |
31 | src/Makefile]) | |
32 | AC_OUTPUT |