m4/as-compiler-flag.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 59003aea7d25c962c3332db28222b4241f68fdda
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Oct 30 10:40:04 2007 +0100
make second and third arguments to AS_COMPILER_FLAG optional
diff --git a/m4/as-compiler-flag.m4 b/m4/as-compiler-flag.m4
index f706196..76cf4cd 100644
--- a/m4/as-compiler-flag.m4
+++ b/m4/as-compiler-flag.m4
@@ -28,10 +28,10 @@ int main (int argc, char **argv)
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then
- $2
+ m4_ifvaln([$2],[$2])
true
else
- $3
+ m4_ifvaln([$3],[$3])
true
fi
AC_MSG_RESULT([$flag_ok])