Commit 60bbc36b authored by duncan.coutts@worc.ox.ac.uk's avatar duncan.coutts@worc.ox.ac.uk
Browse files

Replace deprecated AC_TRY_COMPILE macro with the reccomended replcament

See: http://www.gnu.org/software/autoconf/manual/html_node/Obsolete-Macros.html
parent ea025306
......@@ -1136,17 +1136,13 @@ dnl (.subsections-via-symbols assembler directive)
AC_MSG_CHECKING(for .subsections_via_symbols)
AC_TRY_COMPILE(,[__asm__ (".subsections_via_symbols");],
[
AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_SUBSECTIONS_VIA_SYMBOLS],[1],
[Define to 1 if Apple-style dead-stripping is supported.])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([], [__asm__ (".subsections_via_symbols");])],
[AC_MSG_RESULT(yes)
AC_DEFINE([HAVE_SUBSECTIONS_VIA_SYMBOLS],[1],
[Define to 1 if Apple-style dead-stripping is supported.])
],
[
AC_MSG_RESULT(no)
AC_DEFINE([HAVE_SUBSECTIONS_VIA_SYMBOLS],[0],
[Define to 1 if Apple-style dead-stripping is supported.])
])
[AC_MSG_RESULT(no)])
dnl *** check for GNU non-executable stack note support (ELF only)
dnl (.section .note.GNU-stack,"",@progbits)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment