Commit 4bbbba02 authored by unknown's avatar unknown
Browse files

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 5a720d4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -646,8 +646,8 @@ m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
   'void exit (int);' \
   '#include <stdlib.h>'
do
  _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
$ac_declaration],
  _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration
@%:@include <stdlib.h>],
                                      [exit (42);])],
                     [],
                     [continue])