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.13 2020/12/12 03:54:59 root Exp $ |
6 | dnl $Id: configure.in,v 1.14 2022/09/24 06:22:47 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) |
… | |
… | |
29 | # |
29 | # |
30 | |
30 | |
31 | AC_HEADER_STDC |
31 | AC_HEADER_STDC |
32 | AC_TYPE_SIZE_T |
32 | AC_TYPE_SIZE_T |
33 | AC_HEADER_TIME |
33 | AC_HEADER_TIME |
34 | AC_CHECK_HEADERS(fcntl.h unistd.h memory.h malloc.h errno.h) |
34 | AC_CHECK_HEADERS(fcntl.h unistd.h) |
35 | AC_CHECK_HEADERS(io.h sys/time.h) |
35 | AC_CHECK_HEADERS(io.h sys/time.h) |
36 | |
36 | |
37 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
37 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
38 | AC_CHECK_FUNCS(tempnam gettimeofday flockfile getc_unlocked feof_unlocked ferror_unlocked) |
38 | AC_CHECK_FUNCS(tempnam gettimeofday flockfile getc_unlocked feof_unlocked ferror_unlocked) |
39 | dnl AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr) |
39 | dnl AC_CHECK_FUNCS(strcasecmp strncasecmp strcasestr) |