diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-19 17:33:25 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-19 17:33:25 +0100 |
commit | 7dd60dddc194cd2f32d3685f396e8d09fcb2ce42 (patch) | |
tree | f090e210e5bb0c6b2845599716e8194d95f48ba2 /configure.ac | |
parent | 723929bcee68add69f866f42dc3a610e6db638d0 (diff) | |
download | haskell-7dd60dddc194cd2f32d3685f396e8d09fcb2ce42.tar.gz |
Convert the HAVE_GNU_NONEXEC_STACK conditional into Haskell
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index f10b31fe23..5f6208392c 100644 --- a/configure.ac +++ b/configure.ac @@ -703,24 +703,6 @@ FP_PROG_LD_X FP_PROG_LD_IS_GNU FP_PROG_LD_BUILD_ID -dnl *** check for GNU non-executable stack note support (ELF only) -dnl (.section .note.GNU-stack,"",@progbits) - -dnl This test doesn't work with "gcc -g" in gcc 4.4 (GHC trac #3889: -dnl Error: can't resolve `.note.GNU-stack' {.note.GNU-stack section} - `.Ltext0' {.text section} -dnl so we empty CFLAGS while running this test -CFLAGS2="$CFLAGS" -CFLAGS= -AC_MSG_CHECKING(for GNU non-executable stack support) -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([__asm__ (".section .note.GNU-stack,\"\",@progbits");], [0])], - [AC_MSG_RESULT(yes) - AC_DEFINE([HAVE_GNU_NONEXEC_STACK],[1], - [Define to 1 if GNU non-executable stack notes are supported.]) - ], - [AC_MSG_RESULT(no)]) -CFLAGS="$CFLAGS2" - FP_VISIBILITY_HIDDEN dnl ** check for librt |