[gimp] configure: fix check for _NL_MEASUREMENT_MEASUREMENT



commit b99e0f90c85f3a9a9912aea814894a35487da2a8
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 6bdea8e..d78623a 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]