octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41236] Configure fails to find Qt frameworks


From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41236] Configure fails to find Qt frameworks if not installed in system locations (patch provided)
Date: Wed, 15 Jan 2014 15:12:30 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

Follow-up Comment #3, bug #41236 (project octave):

Even if we agree this is the right patch, hold off---I had to learn the ins
and outs of M4 quadrigraphs here to get this to parse right with autoconf. A
new patch is forthcoming.

To answer your question: I considered that, of course. But it would still
require that I perform the same kind of splitting that I'm doing here. The
result, it seems to me, would be would look something like this:


    QT_LDFLAGS="`$PKG_CONFIG --libs-only-L QtCore QtGui QtNetwork`"
    QT_LIBS="`$PKG_CONFIG --libs-only-l QtCore QtGui QtNetwork`"
    case $host_os in
    *darwin*)
      QT_LDFLAGS+=" `$PKG_CONFIG --libs-only-other QtCore QtGui QtNetwork | tr
' ' 'n' | grep -e '-@<:@FL@:>@' | uniq | sed 'address@hidden@-Wl,-F@' | tr 'n' 
' '`"
      QT_LIBS+=" `$PKG_CONFIG --libs-only-other QtCore QtGui QtNetwork | tr '
' 'n' | grep -v -e '-@<:@FL@:>@' | uniq | tr 'n' ' '`"
      ;;
    *)
      ;;
    esac


(I just did this off the top of my head; I didn't actually test it.) Seems to
me it doesn't matter either way.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41236>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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