summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/xv.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/xv.m4 b/m4/xv.m4
index 8d464591a..b09e23626 100644
--- a/m4/xv.m4
+++ b/m4/xv.m4
@@ -8,7 +8,12 @@ AC_DEFUN([AC_PATH_LIBXV_IMPL],
AC_MSG_RESULT([found $1 in $xv_path])
XV_LIB="$1"
else
- AC_MSG_RESULT([$1 not found in $xv_path])
+ if test -f "/usr/lib/$1"; then
+ AC_MSG_RESULT([found $1 in /usr/lib])
+ XV_LIB="$1"
+ else
+ AC_MSG_RESULT([$1 not found in $xv_path])
+ fi
fi
])