On Wed, May 10, 2006 at 04:41:38PM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> On Wed, May 10, 2006 at 10:14:13AM +0200, Jean-Marc Lasgouttes > Enrico> wrote: > >> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > >> > Enrico> No, please. config/cygwin.m4 in 1.5 should be copied verbatim > Enrico> to 1.4. > >> My plan is to replace it with something like the following (not > >> tested, I am in a hurry). > > Enrico> I guess yes, if it is used whenever a qt related file is > Enrico> compiled. > > Could you try the following patch, on either 1.4 or 1.5? I will > additionally remove cygwin.m4.
I am going to do that. I have also tested the attached patch which helps recognizing qt during the configure phase. -- Enrico
Index: config/qt.m4 =================================================================== --- config/qt.m4 (revision 13791) +++ config/qt.m4 (working copy) @@ -88,6 +88,8 @@ AC_DEFUN([QT_FIND_MOC], dnl check a particular libname AC_DEFUN([QT_TRY_LINK], [ + SAVE_CC="$CC" + CC="$SHELL ./libtool --mode=link $CC" SAVE_LIBS="$LIBS" LIBS="$LIBS $1" AC_TRY_LINK([ @@ -103,6 +105,7 @@ AC_DEFUN([QT_TRY_LINK], qt_cv_libname=$1, ) LIBS="$SAVE_LIBS" + CC="$SAVE_CC" ]) dnl check we can do a compile