pidgin: acf15998: Undo the AC_CHECK_HEADERS_ONCE thing, si...

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Mar 21 11:30:39 EDT 2008


-----------------------------------------------------------------
Revision: acf159984b5980f9b5644037de5c6fe4460689ae
Ancestor: 8afb9d4ba4dd63cb707b8974ebd6775ef563a9d9
Author: markdoliner at pidgin.im
Date: 2008-03-21T15:18:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/acf159984b5980f9b5644037de5c6fe4460689ae

Modified files:
        configure.ac

ChangeLog: 

Undo the AC_CHECK_HEADERS_ONCE thing, since it requires a fairly new
autoconf

-------------- next part --------------
============================================================
--- configure.ac	38765b5d99fab788e1a6780fe9cdeb8e4d1fb063
+++ configure.ac	32415640c288407ad7b767c2308aae7d6917a5e1
@@ -166,7 +166,7 @@ AC_HEADER_SYS_WAIT
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS_ONCE(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h)
+AC_CHECK_HEADERS(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
@@ -1053,7 +1053,7 @@ AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test 
 AC_ARG_WITH(zephyr, [AC_HELP_STRING([--with-zephyr=PREFIX], [compile Zephyr plugin against external libzephyr])], zephyr="$withval", zephyr="no")
 AM_CONDITIONAL(EXTERNAL_LIBZEPHYR, test "x$zephyr" != "xno")
 
-AC_CHECK_HEADERS_ONCE(sys/utsname.h)
+AC_CHECK_HEADERS(sys/utsname.h)
 AC_CHECK_FUNC(uname)
 
 AC_ARG_ENABLE(fortify, [AC_HELP_STRING([--disable-fortify], [compile without FORTIFY_SOURCE support])], , enable_fortify=yes)
@@ -2103,13 +2103,13 @@ AC_CHECK_FUNCS(memcpy memmove random str
 AC_MSG_RESULT(no)
 AC_CHECK_FUNCS(gethostid lrand48)
 AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf)
-AC_CHECK_HEADERS_ONCE(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h)
-AC_CHECK_HEADERS_ONCE(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h)
-AC_CHECK_HEADERS_ONCE(sys/select.h sys/uio.h sys/utsname.h sys/wait.h)
-AC_CHECK_HEADERS_ONCE(termios.h)
+AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h)
+AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h)
+AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h)
+AC_CHECK_HEADERS(termios.h)
 
 # sys/sysctl.h on OpenBSD 4.2 requires sys/param.h
-AC_CHECK_HEADERS_ONCE(sys/param.h)
+AC_CHECK_HEADERS(sys/param.h)
 AC_CHECK_HEADERS(sys/sysctl.h, [], [],
 	[[
 		#ifdef HAVE_PARAM_H
@@ -2117,7 +2117,7 @@ AC_CHECK_HEADERS(sys/sysctl.h, [], [],
 		#endif
 	]])
 
-AC_CHECK_HEADERS_ONCE(sys/socket.h)
+AC_CHECK_HEADERS(sys/socket.h)
 AC_VAR_TIMEZONE_EXTERNALS
 
 AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,


More information about the Commits mailing list