* configure.ac: Find Magick++ using OLN_WITH_LIB.
---
ChangeLog | 6 ++++++
configure.ac | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 87ba37a..bdf50ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Add support for Magick++ in the configuration system.
+
+ * configure.ac: Find Magick++ using OLN_WITH_LIB.
+
+2009-06-02 Roland Levillain <roland(a)lrde.epita.fr>
+
Add support for TIFF in the configuration system.
* configure.ac: Find libtiff using OLN_WITH_LIB.
diff --git a/configure.ac b/configure.ac
index 18bbdfd..d82540d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,6 +136,12 @@ AM_CONDITIONAL([DARWIN], [echo "$host_os" | grep
'^darwin'])
# CFITSIO library.
OLN_WITH_LIB([CFITSIO], [fitsio.h], [cfitsio])
+# Magick++.
+# FIXME: We should handle Magick++ using pkgconfig (and/or
+# Magick++-config?) instead of OLN_WITH_LIB. See how other projects
+# handle this.
+OLN_WITH_LIB([Magick++], [Magick++.h], [Magick++], [magickxx], [MAGICKXX])
+
# TIFF library.
OLN_WITH_LIB([TIFF], [tiff.h], [tiff])
--
1.6.1.2