Mercurial > ~mikael > mcabber > hg
diff 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 |
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.