comparison mcabber/configure.ac @ 1499:1eb27a3bb457

Fix buggy check in configure.ac getopt(3) prototype is provided by unistd.h
author Mikael Berthe <mikael@lilotux.net>
date Tue, 22 Jul 2008 23:00:02 +0200
parents 35020a2ed115
children 33f8f795abd2
comparison
equal deleted inserted replaced
1498:2eaa52d314e3 1499:1eb27a3bb457
31 31
32 # Checks for header files. 32 # Checks for header files.
33 AC_HEADER_STDC 33 AC_HEADER_STDC
34 AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \ 34 AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \
35 stdlib.h string.h strings.h sys/socket.h sys/time.h \ 35 stdlib.h string.h strings.h sys/socket.h sys/time.h \
36 syslog.h termios.h unistd.h getopt.h wchar.h wctype.h \ 36 syslog.h termios.h wchar.h wctype.h localcharset.h])
37 localcharset.h]) 37 AC_CHECK_HEADERS([unistd.h], , AC_MSG_ERROR([Missing header file]))
38 AC_CHECK_HEADERS([getopt.h], , AC_MSG_ERROR([Missing header file]))
39 AC_VAR_TIMEZONE_EXTERNALS 38 AC_VAR_TIMEZONE_EXTERNALS
40 39
41 # Checks for typedefs, structures, and compiler characteristics. 40 # Checks for typedefs, structures, and compiler characteristics.
42 AC_HEADER_STDBOOL 41 AC_HEADER_STDBOOL
43 AC_C_CONST 42 AC_C_CONST