>>>>> "Roger" == Roger Mc Murtrie <[EMAIL PROTECTED]> writes:

Roger> I'm wondering if the undefined libiconv symbols occur as the
Roger> expected result of the failure of the conftest test program
Roger> that is run to check for the Qt 4 library name? 

The iconv test is done, but too late. Does this patch fix the problem?

JMarc

Index: configure.ac
===================================================================
--- configure.ac	(révision 18996)
+++ configure.ac	(copie de travail)
@@ -158,6 +158,12 @@ AC_LIBTOOL_WIN32_DLL
 #AM_PROG_LIBTOOL
 LYX_PROG_LIBTOOL
 
+### We need iconv for unicode support (Qt4 frontend requires it too)
+AM_ICONV
+if test "$am_cv_func_iconv" = no; then
+  LYX_ERROR([Cannot find required library iconv])
+fi
+
 ### Check for X libraries
 AC_PATH_XTRA
 case $have_x in
@@ -211,12 +217,6 @@ if echo $prefix |grep ' ' >/dev/null 2>/
   prefix=`pwd`/installprefix
 fi
 
-### We need iconv for unicode support
-AM_ICONV
-if test "$am_cv_func_iconv" = no; then
-  LYX_ERROR([Cannot find required library iconv])
-fi
-
 ### Setup GNU gettext
 dnl GNU gettext is written in C
 AC_LANG_PUSH(C)

Reply via email to