From e76153d66f0052d83d0cea811a1872c9971ea58a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 11 May 2003 07:08:46 +0000 Subject: [PATCH] Change from AS_COMPILER() to AS_COMPILER_FLAG() in order to directly check for available warning/error flags Original commit message from CVS: Change from AS_COMPILER() to AS_COMPILER_FLAG() in order to directly check for available warning/error flags --- common | 2 +- configure.ac | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/common b/common index ed42933..c5d7301 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388 +Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b diff --git a/configure.ac b/configure.ac index af4e497..d242635 100644 --- a/configure.ac +++ b/configure.ac @@ -36,15 +36,9 @@ AM_PROG_AS AS="${CC}" dnl decide on error flags -AS_COMPILER(COMPILER) -if test "x$COMPILER" = "xforte"; then - GST_ERROR= -else - if test "x$GST_CVS"="xyes"; then - GST_ERROR="-Wall -Werror" - else - GST_ERROR="-Wall" - fi +AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",) +if test "x$GST_CVS"="xyes"; then + AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",) fi dnl We disable static building for development, for time savings -- 2.7.4