diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-23 15:28:09 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-23 15:28:09 +0000 |
commit | d4589d070b886c317d0052553dd04d5b73c86974 (patch) | |
tree | ddf9f70001a4bcd9a9b5d927fa071ee443683041 /m4 | |
parent | f9e18f0b498742ad1bcd8783b13aea6b636ad2c8 (diff) | |
download | xine-lib-d4589d070b886c317d0052553dd04d5b73c86974.tar.gz xine-lib-d4589d070b886c317d0052553dd04d5b73c86974.tar.bz2 |
Cannot build/configure xine-lib in a separate "object" directory, because
configure was looking for "ltmain.sh" in the current directory.
configure tries to find "ltmain.sh" in $srcdir now.
CVS patchset: 686
CVS date: 2001/09/23 15:28:09
Diffstat (limited to 'm4')
-rw-r--r-- | m4/_xine.m4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4 index ad39ecc2c..b58ded3a6 100644 --- a/m4/_xine.m4 +++ b/m4/_xine.m4 @@ -6,9 +6,7 @@ AC_DEFUN([AC_PREREQ_LIBTOOL], lt_min_full=ifelse([$1], ,1.3.5,$1) lt_min=`echo $lt_min_full | sed -e 's/\.//g'` AC_MSG_CHECKING(for libtool >= $lt_min_full) - lpwd="`pwd`" - lt_pathname="`echo $lpwd/ltmain.sh | sed -e 's/\=build\///g'`" - lt_version="`grep '^VERSION' $lt_pathname | sed -e 's/\.//g;s/VERSION\=//g;s/[a-zA-Z]//g;s/-//g'`" + lt_version="`grep '^VERSION' $srcdir/ltmain.sh | sed -e 's/VERSION\=//g;s/[[a-zA-Z-.]]//g'`" if test $lt_version -lt 100 ; then lt_version=`expr $lt_version \* 10` |