Commit 9fffc807 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

configure.ac: Improve configure's outputs for external library checks.

parent aa19b0aa
2010-08-03 Guillaume Lazzara <z@lrde.epita.fr>
* configure.ac: Improve configure's outputs for external library
checks.
2010-08-03 Guillaume Lazzara <z@lrde.epita.fr>
Handle libMagick++ dependency with pkg-config.
......
......@@ -193,10 +193,20 @@ AM_CONDITIONAL([DARWIN], [echo "$host_os" | grep '^darwin'])
# Prepare calls to pkg-config
PKG_PROG_PKG_CONFIG
AC_MSG_RESULT([])
AC_MSG_RESULT([])
AC_MSG_RESULT([Checking external libraries])
AC_MSG_RESULT([------------------------------------------------------------])
### Support for FreeImagePlus has been disabled for Olena 1.0.
## OLN_WITH_LIB([FreeImagePlus], [FreeImagePlus.h], [freeimageplus])
# CFITSIO library.
AC_MSG_RESULT([])
AC_MSG_RESULT([* libcfitsio])
AC_MSG_RESULT([------------])
OLN_WITH_LIB([CFITSIO], [fitsio.h], [cfitsio])
......@@ -245,23 +255,41 @@ AM_CONDITIONAL(HAVE_MAGICKXX, test "x$have_magickxx" = 'xyes')
# TIFF library.
AC_MSG_RESULT([])
AC_MSG_RESULT([* libtiff])
AC_MSG_RESULT([---------])
OLN_WITH_LIB([TIFF], [tiff.h], [tiff])
# Grassroots DiCoM (GDCM).
AC_MSG_RESULT([])
AC_MSG_RESULT([* libgdcm])
AC_MSG_RESULT([---------])
OLN_WITH_LIB([GDCM], [gdcm-2.0/gdcmReader.h], [gdcmCommon], [gdcm], [GDCM],
[-lgdcmzlib])
# Tesseract.
AC_MSG_RESULT([])
AC_MSG_RESULT([* Tesseract])
AC_MSG_RESULT([-----------])
OLN_WITH_LIB([TESSERACT], [tesseract/baseapi.h], [tesseract_full],
[tesseract], [TESSERACT])
# Qt.
AC_MSG_RESULT([])
AC_MSG_RESULT([* Qt])
AC_MSG_RESULT([----])
AT_WITH_QT([+xml], [], [],
AC_DEFINE([HAVE_QT], 0, [Define to 1 if we can use Qt]),
AC_DEFINE([HAVE_QT], 1))
AM_CONDITIONAL([HAVE_QT], [test x$QT_PATH != x])
AC_MSG_RESULT([])
AC_MSG_RESULT([------------------------------------------------------------])
AC_MSG_RESULT([])
AC_MSG_RESULT([])
## ---------------------------- ##
## (Bundled) trimesh2 library. ##
## ---------------------------- ##
......
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