NightStrike wrote: > Does autoconf contain a test for checking for whether the compiler > supports SEH, the exception handling method employed by windows? Not to be blunt or anything but the list of autoconf macros is at <http://www.gnu.org/software/autoconf/manual/html_node/Autoconf-Macro-Index.html> and it's simple to ctrl-f that page. Maybe you should explain why you're asking, since tcl already has a perfectly reasonable test: AC_CACHE_CHECK(for SEH support in compiler, tcl_cv_seh, AC_TRY_RUN([ #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN int main(int argc, char** argv) { int a, b = 0; __try { a = 666 / b; } __except (EXCEPTION_EXECUTE_HANDLER) { return 0; } return 1; } ], tcl_cv_seh=yes, tcl_cv_seh=no, tcl_cv_seh=no) ) if test "$tcl_cv_seh" = "no" ; then AC_DEFINE(HAVE_NO_SEH, 1, [Defined when mingw does not support SEH]) fi Brian _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf