diff options
author | Thomas White <taw@physics.org> | 2010-07-05 16:33:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:52 +0100 |
commit | 7135bb83dacf088e6613149453a9e51dd005a730 (patch) | |
tree | a588a7146cb0ba7dd637a1ee4e990cea9e682ffa /configure | |
parent | d12550ca258bc9c7dbe7d887ed81949e406d5aef (diff) |
Test for libPNG
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5710,14 +5710,14 @@ if $PKG_CONFIG --atleast-version 1.2.0 libpng ; then $as_echo "$LIBPNG_VERSION" >&6; } LIBPNG_CFLAGS=`$PKG_CONFIG --cflags libpng` LIBPNG_LIBS=`$PKG_CONFIG --libs libpng` + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LIBPNG 1 +_ACEOF + 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 |