Commit 66af4244 authored by Roland Levillain's avatar Roland Levillain

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.
parent fde7fd80
2014-07-03 Roland Levillain <roland@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@lrde.epita.fr> 2014-07-03 Roland Levillain <roland@lrde.epita.fr>
Help configure find Poppler on OS X with the MacPorts. Help configure find Poppler on OS X with the MacPorts.
......
...@@ -110,7 +110,8 @@ esac ...@@ -110,7 +110,8 @@ esac
# concept checking means in Milena (`-Wunused-local-typedefs' is # concept checking means in Milena (`-Wunused-local-typedefs' is
# enabled by `-Wall' in GCC since version 4.8). # enabled by `-Wall' in GCC since version 4.8).
AX_CHECK_COMPILE_FLAG([-Wno-unused-local-typedefs], 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])
# ------------------------------ # # ------------------------------ #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment