Skip to content

Commit

Permalink
fix pkg-config in configure.ac
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Aug 1, 2024
1 parent d996734 commit c6f04e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4468,8 +4468,8 @@ if test "$FAST_TCL_INTERP" = yes ; then
fi
if test -z "$TCL_INCLUDE" ; then
# Extract the first word of "pkg-configFoo", so it can be a program name with args.
set dummy pkg-configFoo; ac_word=$2
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_pkgConfig+y}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ if test "$FAST_TCL_INTERP" = yes ; then
fi

if test -z "$TCL_INCLUDE" ; then
AC_PATH_PROG(pkgConfig, pkg-configFoo, "")
AC_PATH_PROG(pkgConfig, pkg-config, "")
if ! test x$pkgConfig = "x"; then
for i in tcl tcl8.8 tcl8.7 tcl8.6 tcl8.5; do
$pkgConfig --exists $i
Expand Down

0 comments on commit c6f04e5

Please sign in to comment.