CL_AS_NOEXECSTACK assumes grep understands -q
Albert Chin
gcrypt-devel at mlists.thewrittenword.com
Fri Oct 17 20:27:56 CEST 2008
Solaris grep doesn't understand -q, used in CL_AS_NOEXECSTACK by
m4/noexecstack.m4 for libgcrypt-1.4.3.
Patch attached.
--
albert chin (china at thewrittenword.com)
-------------- next part --------------
Index: m4/noexecstack.m4
===================================================================
--- m4/noexecstack.m4.orig 2008-10-17 18:26:32.809072183 +0000
+++ m4/noexecstack.m4 2008-10-17 18:26:35.014143443 +0000
@@ -37,7 +37,7 @@
EOF
if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS
-S -o conftest.s conftest.c >/dev/null]) \
- && grep -q .note.GNU-stack conftest.s \
+ && grep .note.GNU-stack conftest.s >/dev/null \
&& AC_TRY_COMMAND([${CCAS} $CCASFLAGS $CPPFLAGS -Wa,--noexecstack
-c -o conftest.o conftest.s >/dev/null])
then
More information about the Gcrypt-devel
mailing list