* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
tests/
2005-11-18 Roland McGrath <roland@redhat.com>
* test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
* test-wrapper.sh: Likewise.
+2005-11-18 Roland McGrath <roland@redhat.com>
+
+ * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
+
2005-11-16 Roland McGrath <roland@redhat.com>
* configure.ac: Define HAVE_LIBASM and STANDALONE conditionals.
EXTRA_DIST = elfutils.spec GPG-KEY NOTES COPYING.GPL
+# Make sure the test install uses lib64 when $LIB will yield lib64.
+# Make sure the test build uses the same compiler, which on e.g. ppc64
+# determines which platform we are actually testing.
+DISTCHECK_CONFIGURE_FLAGS = \
+ --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\
+ CC="$(CC)"
+
distcheck-hook:
chmod -R u+w $(distdir)
+2005-11-18 Roland McGrath <roland@redhat.com>
+
+ * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
+ * test-wrapper.sh: Likewise.
+
2005-11-17 Roland McGrath <roland@redhat.com>
* Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
program=${bindir}/`program_transform ${program##*/}`
;;
esac
- if [ "${libdir}" != /usr/lib ]; then
+ if [ "${libdir}" != /usr/lib ] && [ "${libdir}" != /usr/lib64 ]; then
LD_LIBRARY_PATH="${libdir}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" \
$program ${1+"$@"}
else
elif [ $elfutils_tests_rpath = yes ]; then
echo >&2 installcheck not possible with --enable-tests-rpath
exit 77
- elif [ "x$libdir" != x/usr/lib ]; then
+ elif [ "x$libdir" != x/usr/lib ] && [ "x$libdir" != x/usr/lib64 ]; then
LD_LIBRARY_PATH="$libdir${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
fi