summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorClaudio Ciccani <klan@users.sf.net>2007-11-15 14:52:14 +0100
committerClaudio Ciccani <klan@users.sf.net>2007-11-15 14:52:14 +0100
commit4e6ce19f3aef2280a29861661e596d50ba3e7952 (patch)
tree730da2e6378a0b12d9c198787e270a47fce9f323 /m4
parent9aab0fa061a6c0ce3f83c28732a37fce7c6cb289 (diff)
downloadxine-lib-4e6ce19f3aef2280a29861661e596d50ba3e7952.tar.gz
xine-lib-4e6ce19f3aef2280a29861661e596d50ba3e7952.tar.bz2
Do not rely on PKG_PROG_PKG_CONFIG.
Be backward compatible and use AC_PATH_PROG() instead.
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],