Updated configure.ac so that it does not include the -Wall and -Werror if the compiler cannot use these flags.

Original commit message from CVS:
Updated configure.ac so that it does not include the -Wall and -Werror
if the compiler cannot use these flags.
This commit is contained in:
Brian Cameron 2003-05-19 11:55:56 +00:00
parent 906329ab04
commit 844b7e1475

View file

@ -36,9 +36,9 @@ AM_PROG_AS
AS="${CC}" AS="${CC}"
dnl decide on error flags dnl decide on error flags
AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",) AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",GST_ERROR="$GST_ERROR")
if test "x$GST_CVS"="xyes"; then if test "x$GST_CVS"="xyes"; then
AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",) AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
fi fi
dnl We disable static building for development, for time savings dnl We disable static building for development, for time savings