From 2ceb2c3a4b580e09aadcbd1cbbb12e10b60f1337 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 24 Nov 2008 12:07:22 +0100 Subject: [PATCH] Avoid -I/usr/include for ICU_CPPFLAGS --- ac_check_icu.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ac_check_icu.m4 b/ac_check_icu.m4 index d15b61c..508032c 100644 --- a/ac_check_icu.m4 +++ b/ac_check_icu.m4 @@ -45,6 +45,9 @@ AC_DEFUN([AC_CHECK_ICU],[ AC_MSG_CHECKING(ICU_CPPFLAGS) ICU_CPPFLAGS=`$ICU_CONFIG --cppflags`"" + if test "$ICU_PREFIX" = "/usr"; then + ICU_CPPFLAGS=`echo $ICU_CPPFLAGS|sed 's@-I/usr/include@@'` + fi AC_MSG_RESULT($ICU_CPPFLAGS) AC_MSG_CHECKING(ICU_CFLAGS) -- 1.7.10.4