aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-14 15:03:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-08-14 15:03:59 +0000
commit70ea1692b7560d38478a27e126397b235d042fc0 (patch)
treec577d89ca2a9a3216d7a644cf1c4770da63b60f9
parent8c159f511ee47855454f1c45916c9b3a08c83bbf (diff)
downloadpaludis-70ea1692b7560d38478a27e126397b235d042fc0.tar.gz
paludis-70ea1692b7560d38478a27e126397b235d042fc0.tar.xz
Minor tweaks
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b19febb..a2cd3ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -427,8 +427,9 @@ then
for x in "enforce-eh" "fast-math" "rtti" "visibility"
do
if echo "${LDFLAGS} ${CFLAGS} ${CXXFLAGS}" | grep "$x" >/dev/null ; then
- AC_MSG_RESULT([$x])
- AC_MSG_ERROR([Bad ricer. No bagel.])
+ flag=`echo "${LDFLAGS} ${CFLAGS} ${CXXFLAGS}" | tr ' ' '\n' | grep $x | tr '\n' ' '`
+ AC_MSG_RESULT([$flag])
+ AC_MSG_ERROR([Bad ricer. No bagel. Try again with non-broken compiler flags.])
fi
done
AC_MSG_RESULT([no])