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.
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
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])