diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-02 19:46:24 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-02 19:46:24 +0000 |
commit | 41165ca3640ebf0edf97a783f057b572efbe94af (patch) | |
tree | c379a02380c54ba4bb3829f33c59821c52264d44 | |
parent | f5c3098b44cb8af9c5c57866a09b3adea6e13b51 (diff) | |
download | xine-lib-41165ca3640ebf0edf97a783f057b572efbe94af.tar.gz xine-lib-41165ca3640ebf0edf97a783f057b572efbe94af.tar.bz2 |
Whoops. Apply a working version of the libX11/libXv locator fix.
CVS patchset: 8006
CVS date: 2006/06/02 19:46:24
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index d766ac03c..bff84ff7e 100644 --- a/configure.ac +++ b/configure.ac @@ -449,10 +449,10 @@ dnl --------------------------------------------- dnl Locate libraries needed for X health check dnl --------------------------------------------- -x_lib_location="`ls "$x_libraries/libX11.so"* | sed -e '/[0-9]$/! d; s%^.*/%%; t q; b; :q q'`" -AC_DEFINE([LIBX11_SO], [${x_lib_location:-libX11.so}], [Filename of libX11, for use in dlopen() by the health check code]) -x_lib_location="`ls "$x_libraries/libXv.so"* | sed -e '/[0-9]$/! d; s%^.*/%%; t q; b; :q q'`" -AC_DEFINE([LIBXV_SO], [${x_lib_location:-libXv.so}], [Filename of libXv, for use in dlopen() by the health check code]) +x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libX11.so"* "${x_libraries:-/usr/lib}/libX11.so"* 2>/dev/null | sed -e '/[[0-9]]$/! d; s%^.*/%%; t q; b; :q q'`" +AC_DEFINE_UNQUOTED([LIBX11_SO], "${x_lib_location:-libX11.so}", [The soname of libX11, needed for dlopen()]) +x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libXv.so"* "${x_libraries:-/usr/lib}/libXv.so"* 2>/dev/null | sed -e '/[[0-9]]$/! d; s%^.*/%%; t q; b; :q q'`" +AC_DEFINE_UNQUOTED([LIBXV_SO], "${x_lib_location:-libXv.so}", [The soname of libXv, needed for dlopen()]) dnl --------------------------------------------- |