diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-04-04 21:10:25 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-04-04 21:10:25 +0200 |
| commit | cc6a7d008b402e5e019237e2576e3d98e815bf91 (patch) | |
| tree | 83469605f51632aa19722b5f40091bfc97f387a9 /configure.ac | |
| parent | 2ee27e39db4e1e23cf9e917b671c7581be90b699 (diff) | |
Remove obsolete config variable 'HAVE_LIBPNG_PNG_H'
This variable has never been used in the code. Configure and CMake
look for a *working* libpng (HAVE_PNG) and set variable HAVE_PNG_H
if the header <png.h> can be included.
The alternative to include <libpng/png.h> is always used in the #else
clause and doesn't need its own config variable. Configure and CMake
log what they find, hence this extra variable is not necessary.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2f9d83126..ca2a7bcc2 100644 --- a/configure.ac +++ b/configure.ac @@ -738,7 +738,6 @@ AS_IF([test x$enable_localpng != xyes], [ syspnginc_ok=yes ]) AC_CHECK_HEADER([libpng/png.h], [ - AC_DEFINE([HAVE_LIBPNG_PNG_H]) syspnginc_ok=yes ]) AS_IF([test x$syspnginc_ok = xyes], [ @@ -815,7 +814,6 @@ AC_SUBST([JPEGINC]) AC_SUBST([PNG]) AC_SUBST([PNGINC]) AC_SUBST([HAVE_PNG_H]) -AC_SUBST([HAVE_LIBPNG_H]) AC_SUBST([ZLIB]) AC_SUBST([ZLIBINC]) |
