* configure.ac: Here.
---
ChangeLog | 6 ++++++
configure.ac | 7 +++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c4852d9..9ec33c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-09-25 Roland Levillain <roland(a)lrde.epita.fr>
+ Ask configure to try to find OpenCV.
+
+ * configure.ac: Here.
+
+2012-09-25 Roland Levillain <roland(a)lrde.epita.fr>
+
Have configure find an archiver.
* configure.ac: Invoke AM_PROG_AR.
diff --git a/configure.ac b/configure.ac
index fa7e091..2b3cfc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -268,6 +268,13 @@ OLN_WITH_LIB([GDCM], [gdcm-2.0/gdcmReader.h], [gdcmCommon], [gdcm],
[ -lgdcmexpat -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmjpeg8],
[ -lgdcmopenjpeg -lgdcmuuid -lgdcmzlib]))
+# ---------------- #
+# OpenCV library. #
+# ---------------- #
+
+OLN_WITH_LIB([OPENCV], [opencv/cv.h], [opencv_core], [opencv],
+ [OPENCV], [-lopencv_highgui])
+
# ---------------------------- #
# (Bundled) trimesh2 library. #
# ---------------------------- #
--
1.7.2.5
Show replies by date