aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-24 19:08:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-24 19:08:17 +0000
commit19a526636b7a7f6dd6f10ac694aa98534cabb3cc (patch)
treea548ef782e44ed4f8158e83697db6d4ef97f8498
parentd2602816149bcf68125793451bacb22e7f1f716a (diff)
downloadpaludis-19a526636b7a7f6dd6f10ac694aa98534cabb3cc.tar.gz
paludis-19a526636b7a7f6dd6f10ac694aa98534cabb3cc.tar.xz
More build environment sanity checking.
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7c16790..99bd8f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -236,6 +236,19 @@ AC_CHECK_FUNCS([unlockpt], [], [AC_MSG_ERROR([I need unlockpt])])
dnl }}}
dnl {{{ check for cxxflags
+AC_MSG_CHECKING([for go faster stripes])
+if echo "${LDFLAGS} ${CFLAGS} ${CXXFLAGS}" | grep "as-needed" >/dev/null ; then
+ AC_MSG_RESULT([as-needed])
+ AC_MSG_ERROR([Bad ricer. No bagel.])
+else
+ if echo "${LDFLAGS} ${CFLAGS} ${CXXFLAGS}" | grep "visibility" >/dev/null ; then
+ AC_MSG_RESULT([visibility])
+ AC_MSG_ERROR([Bad ricer. No bagel.])
+ else
+ AC_MSG_RESULT([no])
+ fi
+fi
+
PALUDIS_CXXFLAGS=
PALUDIS_CXXFLAGS_NO_WOLD_STYLE_CAST=
PALUDIS_CXXFLAGS_NO_WREDUNDANT_DECLS=