summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoracurtis@xiphis.org <>2006-06-21 20:27:52 -0700
committeracurtis@xiphis.org <>2006-06-21 20:27:52 -0700
commit9d74f0c601d61c0d1352b60acfef3b2340fb7b4e (patch)
tree2078ae56d7f0aa09e64857cfa4f46a272bef3385 /config
parent751887b4c14ef17b8c5a7dec31322f8c99af9bb1 (diff)
downloadmariadb-git-9d74f0c601d61c0d1352b60acfef3b2340fb7b4e.tar.gz
traditional grep does not have -q option
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/compiler_flag.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ac-macros/compiler_flag.m4 b/config/ac-macros/compiler_flag.m4
index 9dda6da72fa..88097c7a62e 100644
--- a/config/ac-macros/compiler_flag.m4
+++ b/config/ac-macros/compiler_flag.m4
@@ -47,7 +47,7 @@ void foo (void) { }
EOF
if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS
-S -o conftest.s conftest.c 1>&AS_MESSAGE_LOG_FD]) \
- && grep -q .note.GNU-stack conftest.s \
+ && grep .note.GNU-stack conftest.s >/dev/null \
&& AC_TRY_COMMAND([${CC-cc} $CCASFLAGS $CPPFLAGS -Wa,--noexecstack
-c -o conftest.o conftest.s 1>&AS_MESSAGE_LOG_FD])
then