This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Libtool".
The branch, master has been updated via 5892f61de832b6ab679ac3bf5a51cc680884c739 (commit) from a107f18041e458fa9fe521d33c8d316a088447c9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5892f61de832b6ab679ac3bf5a51cc680884c739 Author: Ralf Wildenhues <ralf.wildenh...@gmx.de> Date: Mon Aug 2 22:21:05 2010 +0200 Fix pic_flag test unportabilities. * tests/pic_flag.at (override pic_flag at configure time): Skip test if the compiler produces a warning containing `fpic'. Do not use nonportable `grep -e', for Solaris. Report by Charles Wilson. Signed-off-by: Ralf Wildenhues <ralf.wildenh...@gmx.de> ----------------------------------------------------------------------- Summary of changes: ChangeLog | 8 ++++++++ tests/pic_flag.at | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0e0469..3655c07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-08-02 Ralf Wildenhues <ralf.wildenh...@gmx.de> + + Fix pic_flag test unportabilities. + * tests/pic_flag.at (override pic_flag at configure time): Skip + test if the compiler produces a warning containing `fpic'. + Do not use nonportable `grep -e', for Solaris. + Report by Charles Wilson. + 2010-08-01 Paolo Bonzini <bonz...@gnu.org> Fix bug in postdeps computation diff --git a/tests/pic_flag.at b/tests/pic_flag.at index a729d16..e62e1b7 100644 --- a/tests/pic_flag.at +++ b/tests/pic_flag.at @@ -34,7 +34,9 @@ int func(void) { return data; } cp foo.c foo.cpp C_pic_flag='-fpic -DPIC' AT_CHECK([$CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77], - [], [ignore], [ignore]) + [], [stdout], [stderr]) +# The configure test for the PIC flag also checks for warnings. +AT_CHECK([grep fpic stdout stderr && exit 77], [1]) CXX_pic_flag='-fpic -DPIC' if $CXX $CPPFLAGS $CXXFLAGS $CXX_pic_flag -c foo.cpp; then :; else @@ -46,6 +48,6 @@ AT_CHECK(["$abs_top_srcdir"/configure lt_cv_prog_compiler_pic="$C_pic_flag" ]dnl : ${MAKE=make} AT_CHECK([$MAKE], [], [stdout], [ignore]) AT_CHECK([if ./libtool --features | grep 'enable shared libraries'; then ]dnl - [ grep -e -fpic stdout; else exit 77; fi], [], [ignore], [ignore]) + [ grep ' -fpic' stdout; else exit 77; fi], [], [ignore], [ignore]) AT_CLEANUP hooks/post-receive -- GNU Libtool