Commit 25675a76 authored by Brian Cameron's avatar Brian Cameron Committed by Sebastian Dröge

configure.ac: Don't hardcode -Wall and -Werror for configure checks, this...

configure.ac: Don't hardcode -Wall and -Werror for configure checks, this fails with non-GCC compilers. Fixes bug #51...

Original commit message from CVS:
Patch by: Brian Cameron <brian dot cameron at sun dot com>
* configure.ac:
Don't hardcode -Wall and -Werror for configure checks, this fails
with non-GCC compilers. Fixes bug #517991.
parent 7278c587
2008-02-22 Sebastian Dröge <slomo@circular-chaos.org>
Patch by: Brian Cameron <brian dot cameron at sun dot com>
* configure.ac:
Don't hardcode -Wall and -Werror for configure checks, this fails
with non-GCC compilers. Fixes bug #517991.
2008-02-21 Stefan Kost <ensonic@users.sf.net>
* gst/audiotestsrc/gstaudiotestsrc.c:
......@@ -183,7 +183,7 @@ AM_CONDITIONAL(HAVE_REGEX_H, test "x$HAVE_REGEX_H" = "xyes")
if test "x$HAVE_REGEX_H" = "xyes"; then
ac_cppflags_save="$CPPFLAGS"
CPPFLAGS="-Wall -Werror `$PKG_CONFIG --cflags libxml-2.0`"
CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM([
#include <libxml/HTMLparser.h>
......@@ -543,9 +543,6 @@ AG_GST_CHECK_FEATURE(VORBIS, [Xiph Vorbis audio codec], vorbis, [
if test "x$HAVE_VORBIS" = "xyes"; then
ac_cflags_save="$CFLAGS"
dnl FIXME: does this work on non-gcc? -- Company
dnl FIXME: no, it doesn't. Why is this here in the first place ? -- thomasvs
CFLAGS="-Wall -Werror"
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM([
#include <vorbis/codec.h>
......
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