From 206c163522a4d3e5ffc8ab6817dce1675196344f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 27 Apr 2010 18:01:25 +0200 Subject: hdfsee: Add ability to save image as PNG Also moves the "Image" menu to "View", where it belongs. --- configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 8b36eee3..b85ee57e 100755 --- a/configure +++ b/configure @@ -5700,6 +5700,25 @@ done +{ $as_echo "$as_me:$LINENO: checking libpng" >&5 +$as_echo_n "checking libpng... " >&6; } +if $PKG_CONFIG --atleast-version 1.2.0 libpng ; then + LIBPNG_VERSION=`$PKG_CONFIG --modversion libpng` + { $as_echo "$as_me:$LINENO: result: $LIBPNG_VERSION" >&5 +$as_echo "$LIBPNG_VERSION" >&6; } + LIBPNG_CFLAGS=`$PKG_CONFIG --cflags libpng` + LIBPNG_LIBS=`$PKG_CONFIG --libs libpng` +else + { $as_echo "$as_me:$LINENO: result: Lower than 1.2.0 or not found" >&5 +$as_echo "Lower than 1.2.0 or not found" >&6; } + { { $as_echo "$as_me:$LINENO: error: +*** libPNG is required to build CrystFEL" >&5 +$as_echo "$as_me: error: +*** libPNG is required to build CrystFEL" >&2;} + { (exit 1); exit 1; }; } +fi + + CFLAGS="$CFLAGS $HDF5_CFLAGS $GTK_CFLAGS $GSL_CFLAGS $OPENCL_CFLAGS -pthread" LIBS="$LIBS $HDF5_LIBS -lm -lz $GSL_LIBS $GTK_LIBS $OPENCL_LIBS -pthread" -- cgit v1.2.3