summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/xine.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/xine.m4 b/m4/xine.m4
index eb4ef9d20..7030a991f 100644
--- a/m4/xine.m4
+++ b/m4/xine.m4
@@ -47,7 +47,9 @@ dnl AM_PATH_XINE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
dnl Test for XINE, and define XINE_CFLAGS and XINE_LIBS
dnl
AC_DEFUN([AM_PATH_XINE], [
- AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
AC_ARG_VAR([XINE_CONFIG], [Full path to xine-config (xine-lib < 1.2)])
AC_ARG_WITH([xine-prefix],