]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - aclocal.m4
ncurses 6.3 - patch 20220129
[ncurses.git] / aclocal.m4
index b1e5ab64bf01d3c352767274538030f056d027e7..72205319a0265fd488258eb40ea23f8809736dae 100644 (file)
@@ -29,7 +29,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: aclocal.m4,v 1.1001 2022/01/23 00:15:35 tom Exp $
+dnl $Id: aclocal.m4,v 1.1003 2022/01/29 22:05:06 tom Exp $
 dnl Macros used in NCURSES auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -9317,7 +9317,7 @@ if test "x$with_pcre2" != xno ; then
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_WITH_PKG_CONFIG_LIBDIR version: 19 updated: 2021/11/20 14:57:36
+dnl CF_WITH_PKG_CONFIG_LIBDIR version: 20 updated: 2022/01/29 17:03:42
 dnl -------------------------
 dnl Allow the choice of the pkg-config library directory to be overridden.
 dnl
@@ -9349,7 +9349,7 @@ AC_ARG_WITH(pkg-config-libdir,
        [cf_search_path=$withval],
        [test "x$PKG_CONFIG" != xnone && test -z "$cf_search_path" && cf_search_path=libdir])
 
-case x$cf_search_path in
+case "x$cf_search_path" in
 (xlibdir)
        PKG_CONFIG_LIBDIR='${libdir}/pkgconfig'
        AC_MSG_RESULT($PKG_CONFIG_LIBDIR)
@@ -9357,6 +9357,9 @@ case x$cf_search_path in
        ;;
 (x)
        ;;
+(x/*\ *)
+       PKG_CONFIG_LIBDIR=
+       ;;
 (x/*)
        PKG_CONFIG_LIBDIR="$cf_search_path"
        AC_MSG_RESULT($PKG_CONFIG_LIBDIR)