]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 11 Jan 2006 08:17:17 +0000 (08:17 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 11 Jan 2006 08:17:17 +0000 (08:17 +0000)
declaration that works for MSVC.

ChangeLog
lib/autoconf/c.m4

index 63973f41b48d4a5aa5e858ab665e84048902f19f..3e850bd3b397b5566398c0aff0ba761bf5c25afa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-11  David Thompson  <dthompsn@vizsolutions.com>
+
+       * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
+       declaration that works for MSVC.
+
 2006-01-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
index 3a5f4a053b70559cb0b1cb3e5c07e7a03b324285..7ccf96f537358a4f577125fc0a1793c65d15c63f 100644 (file)
@@ -1,6 +1,7 @@
 # This file is part of Autoconf.                       -*- Autoconf -*-
 # Programming languages support.
-# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
+# Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -783,6 +784,7 @@ m4_define([_AC_PROG_CXX_EXIT_DECLARATION],
    'extern "C" void std::exit (int); using std::exit;' \
    'extern "C" void exit (int) throw ();' \
    'extern "C" void exit (int);' \
+   'extern "C" __declspec(dllimport) void exit (int);' \
    'void exit (int);'
 do
   _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration