1 ## ------------------------------- ##
2 ## Check for function prototypes. ##
3 ## From Franc,ois Pinard ##
4 ## ------------------------------- ##
8 AC_DEFUN([AM_C_PROTOTYPES],
9 [AC_REQUIRE([AM_PROG_CC_STDC])
10 AC_REQUIRE([AC_PROG_CPP])
11 AC_MSG_CHECKING([for function prototypes])
12 if test "$am_cv_prog_cc_stdc" != no; then
14 AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes])
18 U=_ ANSI2KNR=./ansi2knr
20 # Ensure some checks needed by ansi2knr itself.
22 AC_CHECK_HEADERS(string.h)