[Gpa-commits] r934 - trunk

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Jan 17 13:32:39 CET 2009


Author: moritzs
Date: 2009-01-17 13:32:39 +0100 (Sat, 17 Jan 2009)
New Revision: 934

Modified:
   trunk/ChangeLog
   trunk/configure.ac
Log:
2009-01-17  Moritz  <moritz at gnu.org>

	* configure.ac: Use AC_CHECK_HEADERS to check for locale.h.

(i18n.h checks HAVE_LOCALE_H before including locale.h; this fixes a
build failure for me with CFLAGS="-g -O0")



Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-01-16 16:51:04 UTC (rev 933)
+++ trunk/ChangeLog	2009-01-17 12:32:39 UTC (rev 934)
@@ -1,3 +1,7 @@
+2009-01-17  Moritz  <moritz at gnu.org>
+
+	* configure.ac: Use AC_CHECK_HEADERS to check for locale.h.
+
 2008-12-16  Werner Koch  <wk at g10code.com>
 
 	* configure.ac: Remove unused test for getopt_long.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-01-16 16:51:04 UTC (rev 933)
+++ trunk/configure.ac	2009-01-17 12:32:39 UTC (rev 934)
@@ -221,6 +221,11 @@
 # We need this for GPGME
 AC_SYS_LARGEFILE
 
+#
+# Checks for header files.
+#
+AC_MSG_NOTICE([checking for header files])
+AC_CHECK_HEADERS([locale.h])
 
 #
 # Checks for typedefs and structures



More information about the Gpa-commits mailing list