* configure.ac: Find GDCM using OLN_WITH_LIB.
---
ChangeLog | 6 ++++++
configure.ac | 7 +++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bdf50ef..8fba8f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Add tentative support for GDCM in the configuration system.
+
+ * configure.ac: Find GDCM using OLN_WITH_LIB.
+
+2009-06-03 Roland Levillain <roland(a)lrde.epita.fr>
Add support for Magick++ in the configuration system.
diff --git a/configure.ac b/configure.ac
index d82540d..ce0af7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,6 +145,13 @@ OLN_WITH_LIB([Magick++], [Magick++.h], [Magick++], [magickxx],
[MAGICKXX])
# TIFF library.
OLN_WITH_LIB([TIFF], [tiff.h], [tiff])
+# Grassroots DiCoM (GDCM).
+# FIXME: Linking against the sole libgdcmCommon.{a,so,dylib} is
+# probably not enough in many cases (there are other libraries in the
+# GDCM package). Write a decent test first (in
+# milena/tests/io/dicom/), and improve the configuration.
+OLN_WITH_LIB([GDCM], [gdcm-2.0/gdcmReader.h], [gdcmCommon], [gdcm], [GDCM])
+
## ---------------------------- ##
## (Bundled) trimesh2 library. ##
--
1.6.1.2