source: trunk/essentials/sys-devel/automake-1.10/m4/protos.m4

Last change on this file was 3147, checked in by bird, 18 years ago

automake 1.10

File size: 877 bytes
Line 
1## ------------------------------- ## -*- Autoconf -*-
2## Check for function prototypes. ##
3## From Franc,ois Pinard ##
4## ------------------------------- ##
5# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006
6# Free Software Foundation, Inc.
7#
8# This file is free software; the Free Software Foundation
9# gives unlimited permission to copy and/or distribute it,
10# with or without modifications, as long as this notice is preserved.
11
12# serial 5
13
14AC_DEFUN([AM_C_PROTOTYPES],
15[AC_REQUIRE([AC_C_PROTOTYPES])
16if test "$ac_cv_prog_cc_stdc" != no; then
17 U= ANSI2KNR=
18else
19 U=_ ANSI2KNR=./ansi2knr
20fi
21# Ensure some checks needed by ansi2knr itself.
22AC_REQUIRE([AC_HEADER_STDC])
23AC_CHECK_HEADERS([string.h])
24AC_SUBST([U])dnl
25AC_SUBST([ANSI2KNR])dnl
26_AM_SUBST_NOTMAKE([ANSI2KNR])dnl
27])
28
29AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
Note: See TracBrowser for help on using the repository browser.