From e36f2d8ce81592ee2ecf29050da9c758e53adc05 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 1 Sep 2011 14:28:54 +0200 Subject: [PATCH] Use --cppflags-searchpath to get ICU includes Use icu-config --cppflags-searchpath instead of icu-config --cppflags. Problem is that it --cpflags does not always contain include path. Seen with ICU 4.6.1 on Solaris 5.10, GCC 3.4.3. --- ac_check_icu.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ac_check_icu.m4 b/ac_check_icu.m4 index 9bdf505..6cc6097 100644 --- a/ac_check_icu.m4 +++ b/ac_check_icu.m4 @@ -44,7 +44,7 @@ AC_DEFUN([AC_CHECK_ICU],[ ICU_PREFIX=`$ICU_CONFIG --prefix` AC_MSG_CHECKING(ICU_CPPFLAGS) - ICU_CPPFLAGS=`$ICU_CONFIG --cppflags`"" + ICU_CPPFLAGS=`$ICU_CONFIG --cppflags-searchpath`"" if test "$ICU_PREFIX" = "/usr"; then ICU_CPPFLAGS=`echo $ICU_CPPFLAGS|sed 's@-I/usr/include@@'` fi -- 1.7.10.4