Lines 17360-17427
Link Here
|
17360 |
fi |
17360 |
fi |
17361 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17361 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17362 |
fi |
17362 |
fi |
17363 |
echo "$as_me:$LINENO: checking whether setBreakType is public" >&5 |
|
|
17364 |
echo $ECHO_N "checking whether setBreakType is public... $ECHO_C" >&6 |
17365 |
save_LIBS="$LIBS" |
17366 |
LIBS="$LIBS -licuuc" |
17367 |
cat >conftest.$ac_ext <<_ACEOF |
17368 |
/* confdefs.h. */ |
17369 |
_ACEOF |
17370 |
cat confdefs.h >>conftest.$ac_ext |
17371 |
cat >>conftest.$ac_ext <<_ACEOF |
17372 |
/* end confdefs.h. */ |
17373 |
#include <unicode/rbbi.h> |
17374 |
int |
17375 |
main () |
17376 |
{ |
17377 |
|
17378 |
RuleBasedBreakIterator *rbi = NULL; |
17379 |
rbi = new RuleBasedBreakIterator(); |
17380 |
rbi->setBreakType(UBRK_CHARACTER); |
17381 |
|
17382 |
; |
17383 |
return 0; |
17384 |
} |
17385 |
_ACEOF |
17386 |
rm -f conftest.$ac_objext conftest$ac_exeext |
17387 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17388 |
(eval $ac_link) 2>conftest.er1 |
17389 |
ac_status=$? |
17390 |
grep -v '^ *+' conftest.er1 >conftest.err |
17391 |
rm -f conftest.er1 |
17392 |
cat conftest.err >&5 |
17393 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17394 |
(exit $ac_status); } && |
17395 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
17396 |
|| test ! -s conftest.err' |
17397 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17398 |
(eval $ac_try) 2>&5 |
17399 |
ac_status=$? |
17400 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17401 |
(exit $ac_status); }; } && |
17402 |
{ ac_try='test -s conftest$ac_exeext' |
17403 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17404 |
(eval $ac_try) 2>&5 |
17405 |
ac_status=$? |
17406 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17407 |
(exit $ac_status); }; }; then |
17408 |
SBT_PUBLIC=YES |
17409 |
else |
17410 |
echo "$as_me: failed program was:" >&5 |
17411 |
sed 's/^/| /' conftest.$ac_ext >&5 |
17412 |
|
17413 |
SBT_PUBLIC=NO |
17414 |
fi |
17415 |
rm -f conftest.err conftest.$ac_objext \ |
17416 |
conftest$ac_exeext conftest.$ac_ext |
17417 |
if test "$SBT_PUBLIC" = "NO"; then |
17418 |
{ { echo "$as_me:$LINENO: error: no. You need a patched ICU with this function public:" >&5 |
17419 |
echo "$as_me: error: no. You need a patched ICU with this function public:" >&2;} |
17420 |
{ (exit 1); exit 1; }; } |
17421 |
else |
17422 |
echo "$as_me:$LINENO: result: yes" >&5 |
17423 |
echo "${ECHO_T}yes" >&6 |
17424 |
fi |
17425 |
LIBS="$save_LIBS" |
17363 |
LIBS="$save_LIBS" |
17426 |
ac_ext=c |
17364 |
ac_ext=c |
17427 |
ac_cpp='$CPP $CPPFLAGS' |
17365 |
ac_cpp='$CPP $CPPFLAGS' |