Mercurial > hg > octave-nkf
diff configure.in @ 7926:d74f996e005d
__magick_read__.cc: configuration and style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 14 Jul 2008 16:00:09 -0400 |
parents | fcc70f30fe31 |
children | 5a156ab94dd2 |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -635,6 +635,13 @@ warn_curl="cURL library not found. The urlread and urlwrite functions will be disabled." fi +# GraphicsMagick++ + +warn_magick= +AC_CHECK_PROGS(MAGICK_CONFIG, [GraphicsMagick++-config GraphicsMagick-config]) +if test -z "$MAGICK_CONFIG"; then + warn_magick="GraphicsMagick++ config script not found. Assuming GraphicsMagic++ library and header files are missing, so imread will not be fully functional" +fi # --------------------------------------------------------------------- @@ -2016,6 +2023,7 @@ gnuplot: $GNUPLOT OPENGL libraries: $OPENGL_LIBS fltk backend libs: $GRAPHICS_LIBS + Magick config: $MAGICK_CONFIG Do internal array bounds checking: $BOUNDS_CHECKING Build static libraries: $STATIC_LIBS @@ -2132,6 +2140,11 @@ warn_msg_printed=true fi +if test -n "$warn_magick"; then + AC_MSG_WARN($warn_magick) + warn_msg_printed=true +fi + if test -n "$warn_hdf5"; then AC_MSG_WARN($warn_hdf5) warn_msg_printed=true