From 9c75067ef972c8003dede073a68e953ed15c61ad Mon Sep 17 00:00:00 2001 From: panne Date: Mon, 18 Aug 2003 16:46:42 +0000 Subject: [PATCH] [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. --- acconfig.h | 3 --- aclocal.m4 | 18 ------------------ configure.ac | 3 --- mk/config.h.in | 3 --- 4 files changed, 27 deletions(-) diff --git a/acconfig.h b/acconfig.h index a29b824..9fbaec7 100644 --- a/acconfig.h +++ b/acconfig.h @@ -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 diff --git a/aclocal.m4 b/aclocal.m4 index 94dd619..d07f365 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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 diff --git a/configure.ac b/configure.ac index 52de912..3bac0be 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/mk/config.h.in b/mk/config.h.in index b297add..5c7e6a3 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -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 -- 1.7.10.4