octave-maintainers
[Top][All Lists]
Advanced

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

Re: [changeset] GraphicsMagick++ configuration


From: Thomas Treichl
Subject: Re: [changeset] GraphicsMagick++ configuration
Date: Thu, 27 Aug 2009 21:55:14 +0200
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

John W. Eaton schrieb:
On 27-Aug-2009, Thomas Treichl wrote:
| David Grundberg schrieb:
| > Jaroslav Hajek wrote:
| >> I applied this, updating also src/oct-conf.h.in and src/toplev.cc,
| >> which was necessary.
| >>
| >> regards
| > | > Yes, I saw that you did so. | > | > Thanks,
| > David
| | That change causes a failing GraphicsMagick++ test for me. I changed | | CPPFLAGS="$CPPFLAGS $MAGICK_CPPFLAGS"
|    LDFLAGS="$LIBS $MAGICK_LDFLAGS"
|    LIBS="$LIBS $MAGICK_LIBS"
| | (cf. LDFLAGS line) to | | CPPFLAGS="$CPPFLAGS $MAGICK_CPPFLAGS"
|    LDFLAGS="$LDFLAGS $MAGICK_LDFLAGS"
|    LIBS="$LIBS $MAGICK_LIBS"
| | then it worked for me again. If this is the right thing to do then can you | please make such a change? Thanks,

In the configure script, I would not modify LDFLAGS, but instead just
do

  save_LIBS="$LIBS"
  LIBS="$MAGICK_LDFLAGS $MAGICK_LIBS $LIBS"

  ...

  LIBS="$save_LIBS"

I checked in the following change.

  http://hg.savannah.gnu.org/hgweb/octave/rev/8dc1531e2149

Works perfectly for me, thanks,

  Thomas


reply via email to

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