mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-13 14:36:50 +08:00
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
then '#include <stdlib.h>', before trying the explicit declarations.
This commit is contained in:
parent
b54be14bee
commit
938f1a75cb
@ -1,3 +1,8 @@
|
||||
2001-01-22 Lars J. Aas <somelarsa@sim.no>
|
||||
|
||||
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
|
||||
then '#include <stdlib.h>', before trying the explicit declarations.
|
||||
|
||||
2001-01-22 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
|
||||
|
@ -1129,12 +1129,13 @@ fi[]dnl
|
||||
# Find a valid prototype for exit and declare it in confdefs.h.
|
||||
m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
|
||||
[for ac_declaration in \
|
||||
''\
|
||||
'#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
'extern "C" void exit (int);' \
|
||||
'void exit (int);' \
|
||||
''
|
||||
'void exit (int);'
|
||||
do
|
||||
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
|
||||
$ac_declaration],
|
||||
|
@ -1129,12 +1129,13 @@ fi[]dnl
|
||||
# Find a valid prototype for exit and declare it in confdefs.h.
|
||||
m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
|
||||
[for ac_declaration in \
|
||||
''\
|
||||
'#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
'extern "C" void exit (int);' \
|
||||
'void exit (int);' \
|
||||
''
|
||||
'void exit (int);'
|
||||
do
|
||||
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
|
||||
$ac_declaration],
|
||||
|
@ -1129,12 +1129,13 @@ fi[]dnl
|
||||
# Find a valid prototype for exit and declare it in confdefs.h.
|
||||
m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
|
||||
[for ac_declaration in \
|
||||
''\
|
||||
'#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
'extern "C" void exit (int);' \
|
||||
'void exit (int);' \
|
||||
''
|
||||
'void exit (int);'
|
||||
do
|
||||
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
|
||||
$ac_declaration],
|
||||
|
@ -1129,12 +1129,13 @@ fi[]dnl
|
||||
# Find a valid prototype for exit and declare it in confdefs.h.
|
||||
m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
|
||||
[for ac_declaration in \
|
||||
''\
|
||||
'#include <stdlib.h>' \
|
||||
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
||||
'extern "C" void std::exit (int); using std::exit;' \
|
||||
'extern "C" void exit (int) throw ();' \
|
||||
'extern "C" void exit (int);' \
|
||||
'void exit (int);' \
|
||||
''
|
||||
'void exit (int);'
|
||||
do
|
||||
_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
|
||||
$ac_declaration],
|
||||
|
Loading…
x
Reference in New Issue
Block a user