Commit 9c75067e authored by panne's avatar panne

[project @ 2003-08-18 16:46:37 by panne]

Nuked AC_C_PROTOTYPES macro. We don't need the result and newer
autoconfs come with their own definition.
parent f8ec13c0
......@@ -406,9 +406,6 @@
/* Define if fcntl.h defines O_BINARY */
#undef HAVE_O_BINARY
/* Define if compiler supports prototypes. */
#undef HAVE_PROTOTYPES
/* Define if readline/readline.h and readline/history.h exist */
#undef HAVE_READLINE_HEADERS
......
......@@ -792,24 +792,6 @@ AC_DEFUN(FPTOOLS_CHECK_LIB_NOWARN,
)])]
)
dnl check for prototypes
dnl
AC_DEFUN([AC_C_PROTOTYPES],
[AC_CACHE_CHECK([prototypes], ac_cv_prototypes,
[AC_TRY_COMPILE([
void foo(int);
void foo(i)
int i; {
return;
}
],
[int i;],
ac_cv_prototypes=yes,
ac_cv_prototypes=no)])
if test "$ac_cv_prototypes" = yes; then
AC_DEFINE([HAVE_PROTOTYPES])
fi
])
dnl ** Check which CATALOG file we have to use with DocBook SGML.
dnl
......
......@@ -1317,9 +1317,6 @@ AC_FUNC_VFORK
dnl ** determine whether or not const works
AC_C_CONST
dnl ** determine whether ANSI-function prototypes work?
AC_C_PROTOTYPES
dnl ** are we big endian?
AC_C_BIGENDIAN
......
......@@ -406,9 +406,6 @@
/* Define if fcntl.h defines O_BINARY */
#undef HAVE_O_BINARY
/* Define if compiler supports prototypes. */
#undef HAVE_PROTOTYPES
/* Define if readline/readline.h and readline/history.h exist */
#undef HAVE_READLINE_HEADERS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment