GNOME Bugzilla – Bug 517991
problems with configure file depending on GCC compiler
Last modified: 2008-02-22 05:25:27 UTC
I noticed that we were no longer installing the gstsubparse plugin in gst-plugins-base. It turns out that the problem was caused due to tests in configure.ac failing because "-Wall -Werror" is being hardcoded to some tests.
Not sure why this is necessary for a configure script. Anyway, these options
should only be added when using GCC since they don't work with other compilers, such as Sun Studio.
I'm attaching a patch that removes the offending -Wall and -Werror references from configure.ac. Can this go upstream, or can the configure script be smarter about only adding these options when GCC is being used? Thanks.
Created attachment 105739 [details] [review]
patch fixing problem.
2008-02-22 Sebastian Dröge <firstname.lastname@example.org>
Patch by: Brian Cameron <brian dot cameron at sun dot com>
Don't hardcode -Wall and -Werror for configure checks, this fails
with non-GCC compilers. Fixes bug #517991.