| 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
|
|---|
| 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 4
|
|---|
| 13 |
|
|---|
| 14 | AC_DEFUN([AM_C_PROTOTYPES],
|
|---|
| 15 | [AC_REQUIRE([AC_C_PROTOTYPES])
|
|---|
| 16 | if test "$ac_cv_prog_cc_stdc" != no; then
|
|---|
| 17 | U= ANSI2KNR=
|
|---|
| 18 | else
|
|---|
| 19 | U=_ ANSI2KNR=./ansi2knr
|
|---|
| 20 | fi
|
|---|
| 21 | # Ensure some checks needed by ansi2knr itself.
|
|---|
| 22 | AC_REQUIRE([AC_HEADER_STDC])
|
|---|
| 23 | AC_CHECK_HEADERS(string.h)
|
|---|
| 24 | AC_SUBST(U)dnl
|
|---|
| 25 | AC_SUBST(ANSI2KNR)dnl
|
|---|
| 26 | ])
|
|---|
| 27 |
|
|---|
| 28 | AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.