~ubuntu-branches/ubuntu/precise/a2ps/precise-security

« back to all changes in this revision

Viewing changes to m4/protos.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2004-12-10 08:26:05 UTC
  • Revision ID: james.westby@ubuntu.com-20041210082605-rha33nklyielibe4
Tags: upstream-4.13b
ImportĀ upstreamĀ versionĀ 4.13b

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## ------------------------------- ##
 
2
## Check for function prototypes.  ##
 
3
## From Franc,ois Pinard           ##
 
4
## ------------------------------- ##
 
5
 
 
6
# serial 1
 
7
 
 
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
 
13
  AC_MSG_RESULT(yes)
 
14
  AC_DEFINE(PROTOTYPES,1,[Define if compiler has function prototypes])
 
15
  U= ANSI2KNR=
 
16
else
 
17
  AC_MSG_RESULT(no)
 
18
  U=_ ANSI2KNR=./ansi2knr
 
19
  # Ensure some checks needed by ansi2knr itself.
 
20
  AC_HEADER_STDC
 
21
  AC_CHECK_HEADERS(string.h)
 
22
fi
 
23
AC_SUBST(U)dnl
 
24
AC_SUBST(ANSI2KNR)dnl
 
25
])