changeset 5900:3e51d5f6d624

more compatible libpng version check
author arpi
date Mon, 29 Apr 2002 16:24:22 +0000
parents a79f46ea2a6a
children 6d7131d79ce0
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Apr 29 16:03:37 2002 +0000
+++ b/configure	Mon Apr 29 16:24:22 2002 +0000
@@ -2264,8 +2264,8 @@
 #include <string.h>
 int main(void) {
   printf("png.h : %s\n", PNG_LIBPNG_VER_STRING);
-  printf("libpng: %s\n", png_get_libpng_ver(NULL));
-  return (strcmp(PNG_LIBPNG_VER_STRING, png_get_libpng_ver(NULL)));
+  printf("libpng: %s\n", png_libpng_ver);
+  return (strcmp(PNG_LIBPNG_VER_STRING, png_libpng_ver));
 }
 EOF
     if cc_check -lpng -lz -lm ; then