camlspotter avatar camlspotter committed d8090bd

png pkg-config fix

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):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.