~ubuntu-branches/ubuntu/natty/libgcrypt11/natty-proposed

« back to all changes in this revision

Viewing changes to m4/noexecstack.m4

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2009-02-21 13:46:58 UTC
  • mto: (1.1.6 upstream) (2.1.3 squeeze)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20090221134658-855twvcr4ezk2ron
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
EOF
38
38
  if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS
39
39
                     -S -o conftest.s conftest.c >/dev/null]) \
40
 
     && grep -q .note.GNU-stack conftest.s \
 
40
     && grep .note.GNU-stack conftest.s >/dev/null \
41
41
     && AC_TRY_COMMAND([${CCAS} $CCASFLAGS $CPPFLAGS -Wa,--noexecstack
42
42
                       -c -o conftest.o conftest.s >/dev/null])
43
43
  then