Commits

camlspotter committed d8090bd

png pkg-config fix

  • Participants
  • Parent commits a3369bf

Comments (0)

Files changed (1)

   # PNG
   CFLAGS_png=
   LDFLAGS_png=
+  SUPPORT_PNG=false
   if $(true_if_not_defined ARG_WANT_PNG)
-    res=$(pkg_config png, libpng) # we need a separate statement to get the vars defined in pkg_config reflected.
+    # we need a separate statement to get the vars defined in pkg_config reflected.
+    res=$(pkg_config png, libpng)
     if $(not $(res))
       HAVE_PNG = $(Check_header_library png, png.h, png_create_read_struct)
       SUPPORT_PNG = $(and $(HAVE_Z) $(HAVE_PNG))
   # JPEG
   CFLAGS_jpeg=
   LDFLAGS_jpeg=
+  SUPPORT_JPEG=false
   if $(true_if_not_defined ARG_WANT_JPEG)
     res=$(pkg_config jpeg, libjpeg)
     if $(not $(res))
   # EXIF
   CFLAGS_exif=
   LDFLAGS_exif=
+  SUPPORT_EXIF=false
   if $(true_if_not_defined ARG_WANT_EXIF)
     res=$(pkg_config exif, libexif)
     if $(not $(res))
   # TIFF
   CFLAGS_tiff=
   LDFLAGS_tiff=
+  SUPPORT_TIFF=false
   if $(true_if_not_defined ARG_WANT_TIFF)
     res=$(pkg_config tiff, libtiff-4)
     if $(not $(res))
   # XPM
   CFLAGS_xpm=
   LDFLAGS_xpm=
+  SUPPORT_XPM=false
   if $(true_if_not_defined ARG_WANT_XPM)
     res=$(pkg_config xpm, xpm)
     if $(not $(res))
   # PS
   CFLAGS_ps=
   LDFLAGS_ps=
+  SUPPORT_PS=false
   if $(true_if_not_defined ARG_WANT_GS)
     if $(defined ARG_PATH_GS):
         PATH_GS = $(ARG_PATH_GS)
   # LABLGTK2
   CFLAGS_lablgtk2=
   LDFLAGS_lablgtk2=
+  SUPPORT_LABLGTK2=false
   if $(true_if_not_defined ARG_WANT_LABLGTK2)
     SUPPORT_LABLGTK2 = $(Check_ocamlfind_package lablgtk2)
     if $(SUPPORT_LABLGTK2)
   # FREETYPE
   CFLAGS_freetype=
   LDFLAGS_freetype=
+  SUPPORT_FREETYPE=false
   if $(true_if_not_defined ARG_WANT_FREETYPE)
     PATH_FREETYPE_CONFIG=
     if $(defined ARG_PATH_FREETYPE_CONFIG):