>>>>> "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). I guess the same is needed for qt4.

And add tests for special libs.

Would that be OK?

JMarc

Index: config/qt.m4
===================================================================
--- config/qt.m4	(revision 13813)
+++ config/qt.m4	(working copy)
@@ -248,6 +248,14 @@
 	case ${host} in
 	*mingw*) QT_CPPFLAGS="-DQT_DLL $QT_CPPFLAGS";;
 	esac
+
+	case ${host_os} in
+	cygwin* ) 
+		if test "x$with_x" = xno ; then 
+			QT_CPPFLAGS="$QT_CPPFLAGS -DQ_CYGWIN_WIN";;
+		fi;;
+	esac
+
 	AC_SUBST(QT_CPPFLAGS)
 
 	if test -z "$MOC"; then

Reply via email to