[sword-svn] r1817 - trunk

jansorg at crosswire.org jansorg at crosswire.org
Mon May 23 15:49:07 MST 2005


Author: jansorg
Date: 2005-05-23 15:49:06 -0700 (Mon, 23 May 2005)
New Revision: 1817

Modified:
   trunk/configure.ac
Log:
fix to work with icu-config of icu >= 3.0; now compiles again on crosswire's server; it's not 100% clear whether the icu-config change was made in 3.0 or 3.2; it also compiles fine with 2.8

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2005-05-22 11:59:56 UTC (rev 1816)
+++ trunk/configure.ac	2005-05-23 22:49:06 UTC (rev 1817)
@@ -131,7 +131,7 @@
 	else
 	   ICU_VER=`$ICU_CONFIG --version`
 	   ICU_LIBS=`$ICU_CONFIG --ldflags`
-	   ICU_IOLIBS=`$ICU_CONFIG --ldflags-ustdio`
+	   ICU_IOLIBS=`if test $(echo "$ICU_VER >= 3.0"|bc) -eq 1; then $ICU_CONFIG --ldflags-icuio; else $ICU_CONFIG --ldflags-ustdio; fi;`
 	fi
 fi
 



More information about the sword-cvs mailing list