gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash] configure problem: QT-dev not found.


From: Rob Savoye
Subject: Re: [Gnash] configure problem: QT-dev not found.
Date: Sun, 04 Mar 2007 12:10:30 -0700
User-agent: Thunderbird 3.0a1 (X11/20070301)

Niklaus Giger wrote:
Am Sonntag, 4. März 2007 17:32 schrieb Rob Savoye:
Niklaus Giger wrote:

qobject.h (which is referenced in configure can be found in
/usr/include/qt3/qobject.h  and
/usr/include/qt4/Qt/qobject.h

  Hum, that's a non-standard place, but this patch should fix it:
diff -u -b -B -w -r1.26 kde.m4
--- macros/kde.m4       2 Feb 2007 01:57:57 -0000       1.26
+++ macros/kde.m4       4 Mar 2007 19:06:27 -0000
@@ -167,7 +167,7 @@
   gnash_qt_version=""
dnl QT stores it's headers in ../lib/qt-3.3/include for example, so use libslist
   dnl instead of incllist
-  for i in $libslist; do
+  for i in $QTDIR $libslist $incllist; do
     for j in `ls -dr $i/qt-[[0-9]].[[0-9]] 2>/dev/null`; do
       if test -f $j/include/qobject.h; then
         gnash_qt_topdir=$j

I think the macros/kde.m4 is outdated, and I found (google is my friedn) in http://autoconf-archive.cryp.to/bnv_have_qt.html quite a different way (which looked correct for my eyes) to find the include path for QT headers. But I am no autotool guru and never understood how and where to find current m4 macros for a given task.

Gnash uses a kde.m4 I wrote, the one floating around on the net didn't handle cross-configuration, and was overly complex. But I was only looking in the library directories for QT headers, which is where they are on all the distributions we've tried it on. This patch adds both QTDIR and the regular list of header paths. If it works for you, I'll check it in.

        - rob -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]