mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
tweak icu config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32001 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
abbde1c543
commit
a23a14fa82
3 changed files with 17497 additions and 4194 deletions
|
@ -20,8 +20,12 @@ AC_DEFUN([AC_CHECK_ICU], [
|
|||
AC_MSG_CHECKING(ICU_LIBS)
|
||||
ICU_LIBS=`$ICU_CONFIG --ldflags-libsonly`
|
||||
AC_MSG_RESULT($ICU_LIBS)
|
||||
AC_MSG_CHECKING(ICU_LDFLAGS)
|
||||
ICU_LDFLAGS=`$ICU_CONFIG --ldflags-searchpath`
|
||||
AC_MSG_RESULT($ICU_LDFLAGS)
|
||||
else
|
||||
ICU_LIBS=""
|
||||
ICU_LDFLAGS=""
|
||||
## Either perform custom action or print error message
|
||||
ifelse([$3], ,echo "can't find ICU >= $1 (got $ICU_VERSION)",)
|
||||
fi
|
||||
|
|
|
@ -2692,6 +2692,7 @@ if test $enable_icu = yes; then
|
|||
AC_MSG_RESULT(yes)
|
||||
AC_CHECK_HEADERS(unicode/uloc.h unicode/ulocdata.h unicode/ucurr.h unicode/uregex.h unicode/ucal.h unicode/unum.h unicode/udat.h)
|
||||
LIBS="$LIBS $ICU_LIBS"
|
||||
LDFLAGS="$LDFLAGS $ICU_LDFLAGS"
|
||||
HAVE_ICU=1
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
|
|
Loading…
Reference in a new issue