Author: jberry
Date: Tue May 23 12:00:47 2006
New Revision: 408982

URL: http://svn.apache.org/viewvc?rev=408982&view=rev
Log:

Move test for genrb from the icu_prefix determination into the icu msgloader 
test, since genrb is used only by the icu msgloader.
It's nice to know that Alberto is watching my back.

Modified:
    xerces/c/trunk/m4/xerces_icu_prefix.m4
    xerces/c/trunk/m4/xerces_msgloader_selection.m4

Modified: xerces/c/trunk/m4/xerces_icu_prefix.m4
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/m4/xerces_icu_prefix.m4?rev=408982&r1=408981&r2=408982&view=diff
==============================================================================
--- xerces/c/trunk/m4/xerces_icu_prefix.m4 (original)
+++ xerces/c/trunk/m4/xerces_icu_prefix.m4 Tue May 23 12:00:47 2006
@@ -23,7 +23,7 @@
                if test x"$with_icu" != x"no"; then
                        search_list="$with_icu /usr/local /usr"
                        for i in $search_list; do                       
-                               if test -x $i/bin/genrb -a -r 
$i/include/unicode/ucnv.h; then
+                               if test -r $i/include/unicode/ucnv.h; then
                                        xerces_cv_icu_prefix=$i
                                        break
                                fi

Modified: xerces/c/trunk/m4/xerces_msgloader_selection.m4
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/m4/xerces_msgloader_selection.m4?rev=408982&r1=408981&r2=408982&view=diff
==============================================================================
--- xerces/c/trunk/m4/xerces_msgloader_selection.m4 (original)
+++ xerces/c/trunk/m4/xerces_msgloader_selection.m4 Tue May 23 12:00:47 2006
@@ -41,7 +41,7 @@
        AC_REQUIRE([XERCES_ICU_PREFIX])
        AC_MSG_CHECKING([whether we support the ICU MsgLoader])
        list_add=
-       AS_IF([test x"$xerces_cv_icu_prefix" != x], [
+       AS_IF([test x"$xerces_cv_icu_prefix" != x -a -x 
$xerces_cv_icu_prefix/bin/genrb], [
                AC_ARG_ENABLE([msgloader-icu],
                        AS_HELP_STRING([--enable-msgloader-icu],
                                [Enable ICU-based MsgLoader support]),



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to