From: Adam Dickmeiss Date: Thu, 1 Sep 2011 12:45:22 +0000 (+0200) Subject: ICU: Proper check for -lCrun on Solaris X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=666db2b922a031302d0224750337a17364ec0191;p=m4-moved-to-github.git ICU: Proper check for -lCrun on Solaris Seems only necessary with Sun Studio (cc); not GCC. --- diff --git a/ac_check_icu.m4 b/ac_check_icu.m4 index 6cc6097..933b513 100644 --- a/ac_check_icu.m4 +++ b/ac_check_icu.m4 @@ -66,7 +66,7 @@ AC_DEFUN([AC_CHECK_ICU],[ fi case $host_os in solaris*) - ICU_LIBS="$ICU_LIBS -lCrun" + AC_CHECK_LIB([Crun],[_fini],[ICU_LIBS="$ICU_LIBS -lCrun"]) ;; esac AC_MSG_RESULT($ICU_LIBS)