summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 202e2f0ea..03d3437e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -441,6 +441,12 @@ if test "x$with_x" != "xno"; then
PKG_CHECK_MODULES([X], [x11 xext], , [
AC_PATH_XTRA
+ dnl Set xv_path if its not done already
+ dnl we do it here before rewriting X_LIBS
+ if test x$xv_path = x; then
+ xv_path=`echo $X_LIBS | sed -e 's/\-L\(.*\)/\1/'`
+ fi
+
dnl ----------------------------------------------
dnl Check for XShm support (required with X)
dnl ----------------------------------------------