Revision 6, 1.1 KB
(checked in by andreu, 17 years ago)
|
first add
|
-
Property svn:eol-style set to
native
|
Rev | Line | |
---|
[5] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ(2.59) |
---|
| 5 | AC_INIT(RENETCOL, 0.0.2, andreu@renater.fr) |
---|
| 6 | AC_CONFIG_SRCDIR(src/) |
---|
| 7 | AC_PROG_MAKE_SET |
---|
[6] | 8 | AC_CONFIG_HEADER(config.h) |
---|
[5] | 9 | AM_INIT_AUTOMAKE |
---|
| 10 | CFLAGS=-I/usr/local/include -g -ansi -Wall -D _SVID_SOURCE \ |
---|
| 11 | -DSIGSETJMP_IS_BROKEN \ |
---|
| 12 | -D _XOPEN_SOURCE \ |
---|
| 13 | -pedantic \ |
---|
| 14 | -pg |
---|
| 15 | |
---|
| 16 | # Checks for programs. |
---|
| 17 | AC_PROG_CC |
---|
| 18 | |
---|
| 19 | # Checks for header files. |
---|
| 20 | AC_HEADER_STDC |
---|
| 21 | AC_CHECK_HEADERS([unistd.h stdio.h string.h stdlib.h syslog.h sys/types.h sys/socket.h netinet/in.h time.h errno.h sys/ipc.h sys/shm.h sys/sem.h ctype.h netdb.h net/if.h sys/ioctl.h arpa/inet.h signal.h setjmp.h sys/wait.h]) |
---|
| 22 | |
---|
| 23 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 24 | AC_C_CONST |
---|
| 25 | AC_STRUCT_TM |
---|
| 26 | AC_C_VOLATILE |
---|
| 27 | AC_TYPE_SIZE_T |
---|
| 28 | |
---|
| 29 | # Checks for library functions. |
---|
| 30 | AC_FUNC_MALLOC |
---|
| 31 | AC_CHECK_FUNCS([getpass inet_ntoa memset socket strerror strspn]) |
---|
| 32 | AC_CHECK_FUNCS([mempcpy perror syslog sscanf signal malloc strcpy ntohl]) |
---|
| 33 | AC_CHECK_FUNCS([strncmp strtok memcpy getaddrinfo gai_strerror sendto]) |
---|
| 34 | AC_CONFIG_FILES([Makefile |
---|
| 35 | src/Makefile]) |
---|
| 36 | AC_OUTPUT |
---|