[gimp/metadata-browser] configure: fix check for _NL_MEASUREMENT_MEASUREMENT
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] configure: fix check for _NL_MEASUREMENT_MEASUREMENT
- Date: Fri, 2 Dec 2011 02:23:52 +0000 (UTC)
commit 6b9ac1766fe7070da698ca493df1aea72a72d032
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 19 21:33:49 2011 +0200
configure: fix check for _NL_MEASUREMENT_MEASUREMENT
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4ecb31a..a30f3a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -426,8 +426,8 @@ AM_BINRELOC
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
AC_MSG_CHECKING([for _NL_MEASUREMENT_MEASUREMENT])
-AC_PREPROC_IFELSE(
- [AC_LANG_SOURCE(
+AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
[[#include <langinfo.h>]],
[[char c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));]])],
[nl_ok=yes],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]