jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 1 | dnl Process this file with autoconf to produce a configure script. |
jjako | 6922f96 | 2003-01-05 18:13:35 +0000 | [diff] [blame] | 2 | AC_INIT(gtp/gtp.c) |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 3 | |
| 4 | dnl Checks for programs. |
| 5 | AC_PROG_AWK |
| 6 | AC_PROG_CC |
| 7 | AC_PROG_INSTALL |
| 8 | AC_PROG_LN_S |
| 9 | |
| 10 | AC_PROG_LIBTOOL |
| 11 | AM_PROG_LIBTOOL |
| 12 | |
| 13 | dnl Checks for libraries. |
| 14 | |
| 15 | dnl Checks for header files. |
| 16 | AC_HEADER_STDC |
| 17 | AC_HEADER_SYS_WAIT |
| 18 | AC_CHECK_HEADERS(fcntl.h strings.h sys/ioctl.h sys/time.h syslog.h unistd.h) |
| 19 | |
| 20 | dnl Checks for typedefs, structures, and compiler characteristics. |
| 21 | AC_C_CONST |
| 22 | AC_TYPE_SIZE_T |
| 23 | AC_HEADER_TIME |
| 24 | |
| 25 | dnl Checks for library functions. |
| 26 | AC_PROG_GCC_TRADITIONAL |
| 27 | AC_FUNC_VFORK |
| 28 | AC_CHECK_FUNCS(select socket strdup strerror strtoul) |
| 29 | |
jjako | 6922f96 | 2003-01-05 18:13:35 +0000 | [diff] [blame] | 30 | AM_INIT_AUTOMAKE(OpenGGSN,0.51) |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 31 | |
| 32 | AC_OUTPUT(doc/Makefile po/Makefile intl/Makefile Makefile tests/Makefile src/Makefile gtp/Makefile ggsn/Makefile sgsnemu/Makefile) |