1363: Add support for the FreeImage library.

https://svn.lrde.epita.fr/svn/oln/trunk Index: ChangeLog from Roland Levillain <roland@lrde.epita.fr> Add support for the FreeImage library. * configure.ac: Check for headers and libraries of FreeImage. Configure milena/tests/Makefile. configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) Index: configure.ac --- configure.ac (revision 1363) +++ configure.ac (working copy) @@ -54,6 +54,16 @@ AC_CHECK_PROGS([CONCEPTCXX], [conceptg++ conceptc++]) +## -------------- ## +## Dependencies. ## +## -------------- ## + +# FreeImage library. +AC_CHECK_HEADERS([FreeImagePlus.h], + [AM_CONDITIONAL([FREE_IMAGE_PLUS], [true])]) +AC_CHECK_LIB([freeimageplus], [main]) + + ## ------- ## ## Tests. ## ## ------- ## @@ -97,6 +107,7 @@ ]) # FIXME: Should be performed through oln.m4 macros. AC_CONFIG_FILES([ + milena/tests/Makefile olena/tests/algorithms/Makefile olena/tests/check/Makefile olena/tests/check/defs
participants (1)
-
Roland Levillain