]> git.sesse.net Git - vlc/commitdiff
Fix HAVE_LIBPNG in configure.ac
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 13 Jan 2008 00:37:19 +0000 (00:37 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 13 Jan 2008 00:37:19 +0000 (00:37 +0000)
configure.ac

index 039a9569ea1982a01e680bc79ba8cd2ec3853132..4f3dfbbce4cda615a9c2419a2d53d0872796ee5f 100644 (file)
@@ -3770,7 +3770,7 @@ AC_CHECK_HEADERS(png.h, [
     VLC_ADD_LIBS([png],[-lpng -lz])
     VLC_ADD_PLUGINS([png])
     VLC_ADD_PLUGINS([osdmenu osd_parser])
-    AC_DEFINE(HAVE_LIBPNG, [], [Define if you have the PNG library: libpng])],
+    AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have the PNG library: libpng])],
     [],[-lz])
   LDFLAGS="${LDFLAGS_save}"
   ])