Kaydet (Commit) 77632463 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS i18n43_DEV300 (1.237.4.5.2); FILE MERGED

2008/04/29 21:47:03 khong 1.237.4.5.2.1: #i88411# remove icu setBreakType patch from i83146
üst bb0d01f9
......@@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et:
dnl *
dnl * Name: configure.in
dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
dnl * Date: $Date: 2008-05-14 14:56:04 $
dnl * Date: $Date: 2008-05-20 14:34:05 $
dnl *
dnl * Desc: This file serves as input for the GNU autoconf package
dnl * in order to create a configure script.
......@@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org
dnl *
dnl *
dnl ******************************************************************/
AC_REVISION( $Revision: 1.267 $ )
AC_REVISION( $Revision: 1.268 $ )
AC_PREREQ(2.50)
AC_INIT()
echo "$@" >config.parms
......@@ -4205,20 +4205,6 @@ int main(int argc, char **argv) {
else return 1;
}
], [AC_MSG_RESULT(OK)], [AC_MSG_RESULT([not suitable, only 3.6 supported currently])])
AC_MSG_CHECKING(whether setBreakType is public)
save_LIBS="$LIBS"
LIBS="$LIBS -licuuc"
AC_TRY_LINK([#include <unicode/rbbi.h>], [
RuleBasedBreakIterator *rbi = NULL;
rbi = new RuleBasedBreakIterator();
rbi->setBreakType(UBRK_CHARACTER);
], [SBT_PUBLIC=YES], [SBT_PUBLIC=NO])
if test "$SBT_PUBLIC" = "NO"; then
AC_MSG_ERROR(no. You need a patched ICU with this function public:)
else
AC_MSG_RESULT(yes)
fi
LIBS="$save_LIBS"
AC_LANG_POP([C++])
else
AC_MSG_RESULT([internal])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment