mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
Do not call toplevel configure in non-VPATH build.
* tests/deplibs-mingw.at (deplibs without file command): Use LT_AT_CONFIGURE for consistency, update comment about why it might fail. * tests/pic_flag.at (override pic_flag at configure time): Skip test if we are building in-tree. Report by Rainer Tammer. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
4055972b1c
commit
3936d01df5
@ -1,5 +1,13 @@
|
||||
2010-08-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Do not call toplevel configure in non-VPATH build.
|
||||
* tests/deplibs-mingw.at (deplibs without file command): Use
|
||||
LT_AT_CONFIGURE for consistency, update comment about why it
|
||||
might fail.
|
||||
* tests/pic_flag.at (override pic_flag at configure time): Skip
|
||||
test if we are building in-tree.
|
||||
Report by Rainer Tammer.
|
||||
|
||||
Allow running pic_flag test with different shell.
|
||||
* tests/testsuite.at (LT_AT_CONFIGURE): Accept optional second
|
||||
argument specifying the configure script to run.
|
||||
|
@ -74,8 +74,9 @@ EOF
|
||||
chmod +x bin/file
|
||||
PATH=`pwd`/bin${PATH_SEPARATOR-:}$PATH
|
||||
cd new-libtool
|
||||
AT_CHECK(["$abs_top_srcdir"/configure $configure_options || exit 77],
|
||||
[], [ignore], [ignore])
|
||||
# configure might fail due to in-tree build of toplevel, or
|
||||
# missing configure flags and other reasons.
|
||||
LT_AT_CONFIGURE([|| exit 77], ["$abs_top_srcdir"/configure])
|
||||
cd ..
|
||||
LIBTOOL=new-libtool/libtool
|
||||
export LIBTOOL
|
||||
|
@ -43,6 +43,7 @@ if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else
|
||||
CXX_pic_flag=
|
||||
fi
|
||||
|
||||
AT_CHECK([test "$at_srcdir" != . || exit 77])
|
||||
LT_AT_CONFIGURE([lt_cv_prog_compiler_pic="$C_pic_flag" ]dnl
|
||||
[lt_cv_prog_compiler_pic_CXX="$CXX_pic_flag"],
|
||||
["$abs_top_srcdir"/configure])
|
||||
|
Loading…
Reference in New Issue
Block a user