mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Closes: https://github.com/gentoo/gentoo/pull/23883 Signed-off-by: Sam James <sam@gentoo.org>
29 lines
833 B
Diff
29 lines
833 B
Diff
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -18,6 +18,7 @@ if test "x$LEX" = "xlex" ; then AC_DEFINE(USING_LEX, 1,
|
|
[Define this if the scanner is run through lex, not flex])
|
|
fi
|
|
AC_PROG_YACC
|
|
+PKG_PROG_PKG_CONFIG
|
|
|
|
AC_SYS_LARGEFILE
|
|
|
|
@@ -361,7 +362,7 @@ dnl Check for a GNOME installation
|
|
AC_DEFUN([AC_CHECK_GNOME],[
|
|
has_gnome=false
|
|
AC_CHECK_PROG(gnome1, gnome-config, true)
|
|
- AC_CHECK_PROG(gnome2, pkg-config, true)
|
|
+ AC_CHECK_PROG(gnome2, $PKG_CONFIG, true)
|
|
|
|
if test x$gnome1 = xtrue; then
|
|
has_gnome=true
|
|
@@ -371,7 +372,7 @@ AC_DEFUN([AC_CHECK_GNOME],[
|
|
has_gnome=true
|
|
fi
|
|
|
|
- AM_CONDITIONAL(USING_GNOME2, pkg-config --exists gtk+-2.0)
|
|
+ AM_CONDITIONAL(USING_GNOME2, $PKG_CONFIG --exists gtk+-2.0)
|
|
AM_CONDITIONAL(HAS_GNOME, test "$has_gnome" = true)
|
|
AM_CONDITIONAL(GNOME_LINUX, test "$host_os" = Linux)
|
|
])
|