<div dir="auto">What's wrong with using icu-config? I'm not sure what you're fixing with this.<div dir="auto"><br></div><div dir="auto">Greg </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 20, 2020, 11:56 Adrian Bunk <<a href="mailto:bunk@debian.org">bunk@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: László Böszörményi <<a href="mailto:gcs@debian.org" target="_blank" rel="noreferrer">gcs@debian.org</a>><br>
<br>
Let still search for icu-config but use pkg-config method after that.<br>
<br>
<a href="https://bugs.debian.org/962265" rel="noreferrer noreferrer" target="_blank">https://bugs.debian.org/962265</a><br>
---<br>
 <a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> | 16 +++++++++++++---<br>
 1 file changed, 13 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
index cd587b41..b7cab681 100644<br>
--- a/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
@@ -240,9 +240,19 @@ if test x$with_icu = xyes; then<br>
           AM_CXXFLAGS="$AM_CXXFLAGS -D_ICU_"<br>
           AM_CFLAGS="$AM_CFLAGS -D_ICU_"<br>
        else<br>
-          echo "*** The icu-config script installed by icu could not be found"<br>
-          echo "*** compiling without ICU support"<br>
-          with_icu=no<br>
+          PKG_CHECK_MODULES([ICU], [icu-i18n >= 63.1], [found_icu=yes])<br>
+          if test "$found_icu" = "yes"; then<br>
+             PKG_CHECK_MODULES([ICU_IO], [icu-io >= 63.1])<br>
+             ICU_IOLIBS="$ICU_IO_LIBS"<br>
+             with_icu=yes<br>
+             LIBS="$LIBS $ICU_LIBS $ICU_IOLIBS"<br>
+             AM_CXXFLAGS="$AM_CXXFLAGS -D_ICU_"<br>
+             AM_CFLAGS="$AM_CFLAGS -D_ICU_"<br>
+          else<br>
+             echo "*** The icu-config script installed by icu could not be found"<br>
+             echo "*** compiling without ICU support"<br>
+             with_icu=no<br>
+          fi<br>
        fi<br>
 fi<br>
<br>
-- <br>
2.20.1<br>
<br>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" rel="noreferrer">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div>