summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-08-28 18:43:11 -0400
committerMike Frysinger <vapier@gentoo.org>2022-08-28 18:43:11 -0400
commit946088ca0735c2040961b323c363851803eb4206 (patch)
treed6e3266398846a611cf895d60b2890bd8e473b59
parentd4a3100ff36140dc691c4efad04c017655adea3c (diff)
downloadlibgd-946088ca0735c2040961b323c363851803eb4206.tar.gz
configure: add log when we check config scripts
This should make it more obvious when we aren't probing for the libs and headers directy ourselves. Closes #841.
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1544e34..463fbad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,10 +204,14 @@ GD_LIB_PKG_CHECK([LIBZ], [ZLIB], [zlib], [zlib], [dnl
dnl Check for libpng support.
GD_LIB_PKG_CHECK([LIBPNG], [PNG], [png], [libpng], [
LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config
+ AC_MSG_CHECKING([for $LIBPNG_CONFIG script])
if test -e "$LIBPNG_CONFIG"; then
LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags`
LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags`
+ AC_MSG_RESULT(yes)
gd_found_lib=yes
+ else
+ AC_MSG_RESULT(no)
fi
])
@@ -215,10 +219,14 @@ dnl Check for FreeType support.
dnl NB: "9.8.3" corresponds to freetype-2.1.10.
GD_LIB_PKG_CHECK([LIBFREETYPE], [FREETYPE], [freetype], [freetype2 >= 9.8.3], [
FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config
+ AC_MSG_CHECKING([for $FREETYPE_CONFIG script])
if test -e "$FREETYPE_CONFIG"; then
LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
+ AC_MSG_RESULT(yes)
gd_found_lib=yes
+ else
+ AC_MSG_RESULT(no)
fi
])
if test "$gd_with_LIBFREETYPE" = "yes"; then