diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2006-07-06 14:33:25 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2006-07-06 14:33:25 +0000 |
commit | 28a872073da59d22a28905941d00ff76aa5bac8c (patch) | |
tree | 2bf9e5da54ad67cfd0c79813de719b34dfc2f1e3 | |
parent | d578ea7c2510b43105f1da99fcf4303009f5e425 (diff) | |
download | xine-lib-28a872073da59d22a28905941d00ff76aa5bac8c.tar.gz xine-lib-28a872073da59d22a28905941d00ff76aa5bac8c.tar.bz2 |
Adjust sed script for FreeBSD (new line after label names).
CVS patchset: 8091
CVS date: 2006/07/06 14:33:25
-rw-r--r-- | configure.ac | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 60d92cbae..bd8ac15ae 100644 --- a/configure.ac +++ b/configure.ac @@ -443,9 +443,14 @@ dnl --------------------------------------------- dnl Locate libraries needed for X health check dnl --------------------------------------------- -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'`" +soname_script="/[[0-9]]$/! d; s%^.*/%% +t q +b +:q +q" +x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libX11.so"* "${x_libraries:-/usr/lib}/libX11.so"* 2>/dev/null | sed -e \"${soname_script}\"`" 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'`" +x_lib_location="`ls -1 "${x_libraries:-/usr/local/lib}/libXv.so"* "${x_libraries:-/usr/lib}/libXv.so"* 2>/dev/null | sed -e \"${soname_script}\"`" AC_DEFINE_UNQUOTED([LIBXV_SO], "${x_lib_location:-libXv.so}", [The soname of libXv, needed for dlopen()]) |