List Info

Thread: add option to use libpng-config tool]




add option to use libpng-config tool]
user name
2006-10-05 05:52:57
Hi
This is my previously sent patch, which i can't found in the
list.
Is there any reason?

Gery
Hi
It is my 1st patch here 
 From now, the configure recognizes libpng-config tool.
Found it very useful
in cross compile environment.

Gery
 -699,6
+688,16  if test "$enable_png" = "yes";
then
       ])
   fi
 
+  AC_PATH_PROG(LIBPNG_CONFIG, libpng-config, no)
+  if test "$LIBPNG_CONFIG" = no; then
+      PNG=no
+      AC_MSG_WARN([
+*** libpng-config not found ])
+  else
+      PNG=yes
+      LIBPNG=`$LIBPNG_CONFIG --libs`
+  fi
+
   dnl Test for libpng
   if test -z "$LIBPNG" && test -n
"$ZLIB_LIBS"; then
     AC_CHECK_LIB(png, png_read_info,
_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )