1 | dnl This file is an input file used by the GNU "autoconf" program to |
1 | dnl This file is an input file used by the GNU "autoconf" program to |
2 | dnl generate the file "configure", which tries to guess your system |
2 | dnl generate the file "configure", which tries to guess your system |
3 | dnl configuration so that no manual editing of the Makefile should be |
3 | dnl configuration so that no manual editing of the Makefile should be |
4 | dnl necessary |
4 | dnl necessary |
5 | dnl |
5 | dnl |
6 | dnl $Id: configure.in,v 1.10 2009/08/24 06:15:00 root Exp $ |
6 | dnl $Id: configure.in,v 1.11 2009/09/15 17:03:36 root Exp $ |
7 | dnl |
7 | dnl |
8 | |
8 | |
9 | AC_INIT(uulib.c) |
9 | AC_INIT(uulib.c) |
10 | AC_PREREQ(2.9) |
10 | AC_PREREQ(2.9) |
11 | AC_CONFIG_HEADER(config.h) |
11 | AC_CONFIG_HEADER(config.h) |
… | |
… | |
41 | AC_HEADER_TIME |
41 | AC_HEADER_TIME |
42 | AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h) |
42 | AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h) |
43 | AC_CHECK_HEADERS(io.h sys/time.h) |
43 | AC_CHECK_HEADERS(io.h sys/time.h) |
44 | |
44 | |
45 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
45 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
|
|
46 | AC_CHECK_FUNCS(gettimeofday fgetc_unlocked) |
46 | AC_CHECK_FUNCS(gettimeofday fgetc_unlocked strcasecmp strncasecmp strcasestr) |
47 | dnl AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr) |
47 | |
48 | |
48 | AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam)) |
49 | AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam)) |
49 | |
50 | |
50 | AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD)) |
51 | AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD)) |
51 | AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK)) |
52 | AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK)) |