2
dnl Copyright (C) 1993-2003 Free Software Foundation, Inc.
3
dnl This file is free software, distributed under the terms of the GNU
4
dnl General Public License. As a special exception to the GNU General
5
dnl Public License, this file may be distributed as part of a program
6
dnl that contains a configuration script generated by Autoconf, under
7
dnl the same distribution terms as the rest of that program.
9
dnl From Bruno Haible, Marcus Daniels, Sam Steingold.
14
[AC_CHECK_FUNC(_setjmp, , no__jmp=1)dnl
15
if test -z "$no__jmp"; then
16
AC_CHECK_FUNC(_longjmp, , no__jmp=1)dnl
18
if test -z "$no__jmp"; then
19
AC_DEFINE(HAVE__JMP,,[have _setjmp() and _longjmp()])
21
AC_EGREP_HEADER([void.* longjmp], setjmp.h, , AC_DEFINE(LONGJMP_RETURNS,,[longjmp() may return]))