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.8 2004/04/18 20:08:11 root Exp $ |
6 | dnl $Id: configure.in,v 1.9 2009/08/24 04:38:23 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) |
… | |
… | |
39 | AC_HEADER_STDC |
39 | AC_HEADER_STDC |
40 | AC_TYPE_SIZE_T |
40 | AC_TYPE_SIZE_T |
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 | AC_CHECK_FUNCS(gettimeofday) |
44 | AC_CHECK_FUNCS(gettimeofday fgetc_unlocked) |
45 | |
45 | |
46 | AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam)) |
46 | AC_CHECK_FUNC(tempnam,,AC_DEFINE(tempnam,FP_tempnam)) |
47 | |
47 | |
48 | AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD)) |
48 | AC_CHECK_FUNC(chmod,AC_DEFINE(HAVE_CHMOD)) |
49 | AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK)) |
49 | AC_CHECK_FUNC(umask,AC_DEFINE(HAVE_UMASK)) |