Commit 3a7649bf authored by Roland Levillain's avatar Roland Levillain
Browse files

configure.ac: Fix the initialization of Magick++ flags.

parent 1027a673
2011-09-15 Roland Levillain <roland@lrde.epita.fr>
* configure.ac: Fix the initialization of Magick++ flags.
2011-09-15 Guillaume Lazzara <z@lrde.epita.fr>
* distrib/macports/Portfile.in: Force the use of GraphicsMagick.
......
......@@ -218,10 +218,11 @@ OLN_WITH_LIB_PKG_CONFIG([GraphicsMagick++], [Magick++.h], [Magick++],
# If both ImageMagick and GraphicsMagic are available, choose the
# former by default. (Use `--with-imagemagickxx=no' to ignore an
# installation of ImageMagick and let configure try GraphicsMagick).
if test "x$oln_have_imagemagickxx"; then
if test "x$with_imagemagickxx" != xno \
&& test "x$oln_have_imagemagickxx" = xyes; then
MAGICKXX_CPPFLAGS=$IMAGEMAGICKXX_CPPFLAGS
MAGICKXX_LDFLAGS=$IMAGEMAGICKXX_LDFLAGS
else
elif test "x$oln_have_graphicsmagickxx" = xyes; then
MAGICKXX_CPPFLAGS=$GRAPHICSMAGICKXX_CPPFLAGS
MAGICKXX_LDFLAGS=$GRAPHICSMAGICKXX_LDFLAGS
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment