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

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

automake 1.8.5

File size: 1.3 KB
Line 
1## ------------------------------- ## -*- Autoconf -*-
2## Check for function prototypes. ##
3## From Franc,ois Pinard ##
4## ------------------------------- ##
5
6# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003
7# Free Software Foundation, Inc.
8
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2, or (at your option)
12# any later version.
13
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22# 02111-1307, USA.
23
24# serial 3
25
26AC_DEFUN([AM_C_PROTOTYPES],
27[AC_REQUIRE([AC_C_PROTOTYPES])
28if test "$ac_cv_prog_cc_stdc" != no; then
29 U= ANSI2KNR=
30else
31 U=_ ANSI2KNR=./ansi2knr
32fi
33# Ensure some checks needed by ansi2knr itself.
34AC_REQUIRE([AC_HEADER_STDC])
35AC_CHECK_HEADERS(string.h)
36AC_SUBST(U)dnl
37AC_SUBST(ANSI2KNR)dnl
38])
39
40AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
Note: See TracBrowser for help on using the repository browser.