Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 404047a5ef18136a52caf6886b248e5d > files > 2

icu-4.4.2-2.1.mga1.src.rpm

--- icu/source/configure.in	2009-07-01 19:51:26.000000000 +0100
+++ icu/source/configure.in	2009-11-19 09:12:23.000000000 +0000
@@ -57,6 +57,11 @@
 
 AC_SUBST(cross_compiling)
 
+dnl use the pld hack to get ac_fn_cxx_try_link defined globally and not local
+AC_LANG_PUSH([C++])
+AC_LINK_IFELSE([AC_LANG_PROGRAM()])
+AC_LANG_POP([C++])
+
 # make sure install is relative to srcdir - if a script
 if test "$srcdir" = "."; then
   # If srcdir isn't just ., then (srcdir) is already prepended.