Updated configure.ac so that it does not include the -Wall and -Werror if the compile...
authorBrian Cameron <brian.cameron@sun.com>
Mon, 19 May 2003 11:55:56 +0000 (11:55 +0000)
committerBrian Cameron <brian.cameron@sun.com>
Mon, 19 May 2003 11:55:56 +0000 (11:55 +0000)
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.

configure.ac

index 59c3f03..0ba8793 100644 (file)
@@ -36,9 +36,9 @@ AM_PROG_AS
 AS="${CC}"
 
 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
-  AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",)
+  AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
 fi
 
 dnl We disable static building for development, for time savings