Commit a9a6adec authored by unknown's avatar unknown

Carry over change to fix build on ICC that was lost in merge from 4.1.


config/ac-macros/misc.m4:
  Try exit-related declarations before including stdlib.h, as
  this is how the actual code is structured.
parent 8d1bb622
...@@ -646,8 +646,8 @@ m4_define([_AC_PROG_CXX_EXIT_DECLARATION], ...@@ -646,8 +646,8 @@ m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
'void exit (int);' \ 'void exit (int);' \
'#include <stdlib.h>' '#include <stdlib.h>'
do do
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h> _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration
$ac_declaration], @%:@include <stdlib.h>],
[exit (42);])], [exit (42);])],
[], [],
[continue]) [continue])
......
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