[project @ 2003-08-18 16:46:37 by panne]
authorpanne <unknown>
Mon, 18 Aug 2003 16:46:42 +0000 (16:46 +0000)
committerpanne <unknown>
Mon, 18 Aug 2003 16:46:42 +0000 (16:46 +0000)
Nuked AC_C_PROTOTYPES macro. We don't need the result and newer
autoconfs come with their own definition.

acconfig.h
aclocal.m4
configure.ac
mk/config.h.in

index a29b824..9fbaec7 100644 (file)
 /* 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
 
index 94dd619..d07f365 100644 (file)
@@ -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
index 52de912..3bac0be 100644 (file)
@@ -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
 
index b297add..5c7e6a3 100644 (file)
 /* 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