mirror of
https://github.com/vim/vim.git
synced 2025-10-23 08:44:20 -04:00
patch 9.1.1560: configure: uses $PKG_CONFIG before it is defined
Problem: configure: uses $PKG_CONFIG before it is defined Solution: Define $PKG_CONFIG earlier in the script (Christoffer Aasted). closes: #17771 Signed-off-by: Christoffer Aasted <chr.aasted@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
12d274af44
commit
861dade4e3
@@ -25,6 +25,10 @@ AC_EXEEXT
|
||||
|
||||
AC_HEADER_SYS_WAIT
|
||||
|
||||
if test -z "$PKG_CONFIG"; then
|
||||
AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
|
||||
fi
|
||||
|
||||
dnl Check that the C99 features that Vim uses are supported:
|
||||
if test x"$ac_cv_prog_cc_c99" != xno; then
|
||||
dnl If the compiler doesn't explicitly support C99, then check
|
||||
@@ -2885,10 +2889,6 @@ AC_DEFUN([GNOME_INIT],[
|
||||
GNOME_INIT_HOOK([],fail)
|
||||
])
|
||||
|
||||
if test -z "$PKG_CONFIG"; then
|
||||
AC_PATH_TOOL(PKG_CONFIG, pkg-config, no)
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Check for GTK3. If it succeeds, skip the check for GTK2.
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user