mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
6668715402
commit
d13b78bdde
@@ -287,14 +287,14 @@ AS_IF([test "x$enable_magick" = "xno"],
|
|||||||
[wm_cv_libchk_magick=no
|
[wm_cv_libchk_magick=no
|
||||||
dnl First try to get the configuration from either pkg-config (the official way)
|
dnl First try to get the configuration from either pkg-config (the official way)
|
||||||
dnl or with the fallback MagickWand-config
|
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],
|
[AC_PATH_PROGS_FEATURE_CHECK([magickwand], [MagickWand-config],
|
||||||
[wm_cv_libchk_magick_cflags=`$ac_path_magickwand --cflags`
|
[wm_cv_libchk_magick_cflags=`$ac_path_magickwand --cflags`
|
||||||
wm_cv_libchk_magick_libs=`$ac_path_magickwand --ldflags`
|
wm_cv_libchk_magick_libs=`$ac_path_magickwand --ldflags`
|
||||||
wm_cv_libchk_magick=magickwand])],
|
wm_cv_libchk_magick=magickwand])],
|
||||||
[AS_IF([$PKGCONFIG --exists MagickWand],
|
[AS_IF([$PKG_CONFIG --exists MagickWand],
|
||||||
[wm_cv_libchk_magick_cflags=`$PKGCONFIG --cflags MagickWand`
|
[wm_cv_libchk_magick_cflags=`$PKG_CONFIG --cflags MagickWand`
|
||||||
wm_cv_libchk_magick_libs=`$PKGCONFIG --libs MagickWand`
|
wm_cv_libchk_magick_libs=`$PKG_CONFIG --libs MagickWand`
|
||||||
wm_cv_libchk_magick=pkgconfig])])
|
wm_cv_libchk_magick=pkgconfig])])
|
||||||
AS_IF([test "x$wm_cv_libchk_magick" = "xno"],
|
AS_IF([test "x$wm_cv_libchk_magick" = "xno"],
|
||||||
[AS_IF([test "x$enable_magick" != "xauto"],
|
[AS_IF([test "x$enable_magick" != "xauto"],
|
||||||
|
|||||||
Reference in New Issue
Block a user