1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-18 20:10:29 +01:00

configure: Fix pkg-config variable typo.

The variable set by PKG_PROG_PKG_CONFIG which points to the pkg-config
utility is PKG_CONFIG, not PKGCONFIG.  The latter was previously used
when trying to detect the presence of the MagickWand library when Window
Maker was built using --enable-magick.
This commit is contained in:
Doug Torrance
2018-08-07 21:55:01 -04:00
committed by Carlos R. Mafra
parent 6668715402
commit d13b78bdde

View File

@@ -287,14 +287,14 @@ AS_IF([test "x$enable_magick" = "xno"],
[wm_cv_libchk_magick=no
dnl First try to get the configuration from either pkg-config (the official way)
dnl or with the fallback MagickWand-config
AS_IF([test "x$PKGCONFIG" = "x"],
AS_IF([test "x$PKG_CONFIG" = "x"],
[AC_PATH_PROGS_FEATURE_CHECK([magickwand], [MagickWand-config],
[wm_cv_libchk_magick_cflags=`$ac_path_magickwand --cflags`
wm_cv_libchk_magick_libs=`$ac_path_magickwand --ldflags`
wm_cv_libchk_magick=magickwand])],
[AS_IF([$PKGCONFIG --exists MagickWand],
[wm_cv_libchk_magick_cflags=`$PKGCONFIG --cflags MagickWand`
wm_cv_libchk_magick_libs=`$PKGCONFIG --libs MagickWand`
[AS_IF([$PKG_CONFIG --exists MagickWand],
[wm_cv_libchk_magick_cflags=`$PKG_CONFIG --cflags MagickWand`
wm_cv_libchk_magick_libs=`$PKG_CONFIG --libs MagickWand`
wm_cv_libchk_magick=pkgconfig])])
AS_IF([test "x$wm_cv_libchk_magick" = "xno"],
[AS_IF([test "x$enable_magick" != "xauto"],