# HG changeset patch # User Mikael Berthe # Date 1216760402 -7200 # Node ID 1eb27a3bb4578849688c4946744462890c7330a7 # Parent 2eaa52d314e3ac20d4855c52d394f08a4ea36512 Fix buggy check in configure.ac getopt(3) prototype is provided by unistd.h diff -r 2eaa52d314e3 -r 1eb27a3bb457 mcabber/configure.ac --- 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.