Am Dienstag, 13. September 2005 14:30 schrieb John Levon:
> On Tue, Sep 13, 2005 at 09:24:07AM +0200, Georg Baum wrote:
> > It looks like configure does not find the qt libary (but it seems to find
> > the headers). This looks like a configure bug: It should stop with an
> > error message if the library cannot be found.
>
> IIRC Lars changed this.

I now remember that, too. I also remember that I added error messages for moc 
and uic, so here comes the logical extension.

Mike, could you please test whether configure aborts with this patch (and 
without the other one) if it cannot find the qt library?


Georg
Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
retrieving revision 1.1023
diff -u -p -r1.1023 ChangeLog
--- ChangeLog	18 Jul 2005 15:49:56 -0000	1.1023
+++ ChangeLog	13 Sep 2005 14:23:16 -0000
@@ -1,3 +1,8 @@
+2005-09-13  Georg Baum  <[EMAIL PROTECTED]>
+
+	* configure.ac: error out if qt frontend is choosen but no qt library
+	was found
+
 2005-07-18  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
 	* configure.ac: version back to 1.4.0cvs 
Index: configure.ac
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/configure.ac,v
retrieving revision 1.58
diff -u -p -r1.58 configure.ac
--- configure.ac	18 Jul 2005 15:49:57 -0000	1.58
+++ configure.ac	13 Sep 2005 14:23:16 -0000
@@ -216,6 +219,9 @@ dnl qt build will fail without moc or ui
 	  fi
 	  if test -z "$UIC"; then
 	    LYX_ERROR([uic binary not found !])
+	  fi
+	  if test -z "$QT_LIB"; then
+	    LYX_ERROR([qt library not found !])
 	  fi
       ;;
     *)

Reply via email to