diff options
author | David Schleef <ds@schleef.org> | 2003-05-25 04:14:18 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-05-25 04:14:18 +0000 |
commit | 9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025 (patch) | |
tree | b905570f656afd34f234a4b0ace0789cee9e413e | |
parent | 54aa761f9d486bca3ee35029a110386a144340c5 (diff) | |
download | gstreamer-common-9a3a505fcc52865de0bedbb3ee1ce0a6dcc9a025.tar.gz |
Fix to make macro compatible with POSIX shell
Original commit message from CVS:
Fix to make macro compatible with POSIX shell
-rw-r--r-- | m4/as-compiler-flag.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/as-compiler-flag.m4 b/m4/as-compiler-flag.m4 index 41db7d1..f70675d 100644 --- a/m4/as-compiler-flag.m4 +++ b/m4/as-compiler-flag.m4 @@ -13,10 +13,12 @@ AC_DEFUN(AS_COMPILER_FLAG, AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no]) CFLAGS="$save_CFLAGS" - if test "X$flag_ok" = Xyes; then + if test "X$flag_ok" = Xyes ; then $2 + true else $3 + true fi AC_MSG_RESULT([$flag_ok]) ]) |