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:57 +0000 (11:55 +0000)
committerBrian Cameron <brian.cameron@sun.com>
Mon, 19 May 2003 11:55:57 +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.

m4/as-compiler-flag.m4

index d091733..41db7d1 100644 (file)
@@ -16,7 +16,7 @@ AC_DEFUN(AS_COMPILER_FLAG,
   if test "X$flag_ok" = Xyes; then
     $2
   else
-    $2
+    $3
   fi
   AC_MSG_RESULT([$flag_ok])
 ])