dnl Local additions to Autoconf macros.
dnl reused wholsale from the GNU m-1.2 distribution
dnl
dnl Copyright (C) 1992, 1994 Free Software Foundation, Inc.
dnl Francois Pinard <pinard@iro.umontreal.ca>, 1992.
dnl
dnl Check for function prototypes.
dnl With ideas from Brook G. Milligan <brook@trillium.botany.utexas.edu>.
dnl
define(AC_PROTOTYPES,
[AC_COMPILE_CHECK([function prototypes],
[#ifndef __STDC__
KaBoom!
#endif], 
[extern int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};],
U=
AC_VERBOSE(setting U to be empty),
U=_
AC_VERBOSE(setting U to _)
)AC_SUBST(U)])dnl
dnl
dnl
