* configure.ac: Do not add `-Wno-unused-local-typedefs' to
WARNINGS_CXXFLAGS if it is accepted by the compiler but produces a
warning.
---
ChangeLog | 8 ++++++++
configure.ac | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 0d6c1a1..7363fa7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2014-07-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Pacify Clang w.r.t. unknown compiler flags.
+
+ * configure.ac: Do not add `-Wno-unused-local-typedefs' to
+ WARNINGS_CXXFLAGS if it is accepted by the compiler but produces a
+ warning.
+
+2014-07-03 Roland Levillain <roland(a)lrde.epita.fr>
+
Help configure find Poppler on OS X with the MacPorts.
* configure.ac: Use OLN_WITH_LIB instead of
diff --git a/configure.ac b/configure.ac
index d6b4128..bd9e2c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,8 @@ esac
# concept checking means in Milena (`-Wunused-local-typedefs' is
# enabled by `-Wall' in GCC since version 4.8).
AX_CHECK_COMPILE_FLAG([-Wno-unused-local-typedefs],
- [WARNINGS_CXXFLAGS="$WARNINGS_CXXFLAGS -Wno-unused-local-typedefs"])
+ [WARNINGS_CXXFLAGS="$WARNINGS_CXXFLAGS -Wno-unused-local-typedefs"], [:],
+ [-Werror])
# ------------------------------ #
--
1.7.10.4
Show replies by date