diff options
author | unknown <acurtis@xiphis.org> | 2006-06-21 20:27:52 -0700 |
---|---|---|
committer | unknown <acurtis@xiphis.org> | 2006-06-21 20:27:52 -0700 |
commit | edcba74415fc7a2ead3d65628d22efab598a61b8 (patch) | |
tree | 2078ae56d7f0aa09e64857cfa4f46a272bef3385 /config | |
parent | 0f278f968b23459391753fb35658e0fcbb435d0f (diff) | |
download | mariadb-git-edcba74415fc7a2ead3d65628d22efab598a61b8.tar.gz |
traditional grep does not have -q option
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/compiler_flag.m4 | 2 |
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 |