aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-05 16:33:49 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:52 +0100
commit7135bb83dacf088e6613149453a9e51dd005a730 (patch)
treea588a7146cb0ba7dd637a1ee4e990cea9e682ffa /configure.ac
parentd12550ca258bc9c7dbe7d887ed81949e406d5aef (diff)
Test for libPNG
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 17caaaae..405f95f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,10 +97,9 @@ if $PKG_CONFIG --atleast-version 1.2.0 libpng ; then
AC_MSG_RESULT($LIBPNG_VERSION)
LIBPNG_CFLAGS=`$PKG_CONFIG --cflags libpng`
LIBPNG_LIBS=`$PKG_CONFIG --libs libpng`
+ AC_DEFINE([HAVE_LIBPNG], [1], [Define to 1 if libPNG is available])
else
AC_MSG_RESULT([Lower than 1.2.0 or not found])
- AC_MSG_ERROR([
-*** libPNG is required to build CrystFEL])
fi