File autoconf-archive-ax_have_qt_fix_library_order.patch of Package autoconf-archive

Index: m4/ax_have_qt.m4
===================================================================
--- m4/ax_have_qt.m4.orig	2011-03-23 17:27:33.000000000 +0100
+++ m4/ax_have_qt.m4	2011-03-23 17:29:07.105463016 +0100
@@ -313,7 +313,7 @@ EOF
             echo "configure: could not compile:" >&AC_FD_CC
             cat ax_qt_main.$ac_ext >&AC_FD_CC
           else
-            ax_try_4="$CXX $QT_LIBS $LIBS -o ax_qt_main ax_qt_main.o moc_ax_qt_test.o >/dev/null 2>/dev/null"
+            ax_try_4="$CXX -o ax_qt_main ax_qt_main.o moc_ax_qt_test.o $QT_LIBS $LIBS >/dev/null 2>/dev/null"
             AC_TRY_EVAL(ax_try_4)
             if test x"$ac_status" != x0; then
               echo "$ax_err_4" >&AC_FD_CC
openSUSE Build Service is sponsored by