changeset 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 2eaa52d314e3
children 0803c0bd8b76
files mcabber/configure.ac
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/configure.ac	Tue Jul 15 21:37:43 2008 +0200
+++ b/mcabber/configure.ac	Tue Jul 22 23:00:02 2008 +0200
@@ -33,9 +33,8 @@
 AC_HEADER_STDC
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \
                   stdlib.h string.h strings.h sys/socket.h sys/time.h \
-                  syslog.h termios.h unistd.h getopt.h wchar.h wctype.h \
-                  localcharset.h])
-AC_CHECK_HEADERS([getopt.h], , AC_MSG_ERROR([Missing header file]))
+                  syslog.h termios.h wchar.h wctype.h localcharset.h])
+AC_CHECK_HEADERS([unistd.h], , AC_MSG_ERROR([Missing header file]))
 AC_VAR_TIMEZONE_EXTERNALS
 
 # Checks for typedefs, structures, and compiler characteristics.