From 9e431b970f2875e6e30b0680ee54e7c90cfe537e Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 23 Jun 2009 16:29:55 +0000 Subject: completely drop HAVE_PROTOTYPES git-svn-id: svn://tug.org/texlive/trunk@13922 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/m4/kpse-common.m4 | 5 +---- Build/source/texk/kpathsea/ChangeLog | 2 +- Build/source/texk/kpathsea/c-proto.h | 2 -- Build/source/texk/ps2pkm/ChangeLog | 5 +++++ Build/source/texk/seetexk/ChangeLog | 5 +++++ 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Build/source/m4/kpse-common.m4 b/Build/source/m4/kpse-common.m4 index 859892ff166..d4da8aa8a82 100644 --- a/Build/source/m4/kpse-common.m4 +++ b/Build/source/m4/kpse-common.m4 @@ -242,10 +242,7 @@ AC_CACHE_CHECK([whether the compiler accepts prototypes], [[extern void foo(int i,...);]])], [kb_cv_c_prototypes=yes], [kb_cv_c_prototypes=no])]) -if test "$kb_cv_c_prototypes" = yes; then - AC_DEFINE([HAVE_PROTOTYPES], 1, - [Define to 1 if your compiler understands prototypes.]) -else +if test "x$kb_cv_c_prototypes" = xno; then AC_MSG_ERROR([Sorry, your compiler does not understand prototypes.]) fi dnl diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index fa7a280c85a..023c402fcd3 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -8,7 +8,7 @@ * kpathsea.h (removed): no longer distributed. * Makefile.am: remove c-vararg.h, rebuild kpathsea.h. - * c-proto.h: assume HAVE_PROTOTYPES. + * c-proto.h: assume HAVE_PROTOTYPES, remove AA macro. 2009-06-22 Peter Breitenlohner diff --git a/Build/source/texk/kpathsea/c-proto.h b/Build/source/texk/kpathsea/c-proto.h index 9912a8fef92..da901e79e25 100644 --- a/Build/source/texk/kpathsea/c-proto.h +++ b/Build/source/texk/kpathsea/c-proto.h @@ -37,8 +37,6 @@ /* We now require that the compiler understands prototypes. We keep these definitions until the macros are not used anymore. */ -#define AA(args) args /* For an arbitrary number; ARGS must be in parens. */ - #define P1H(p1) (p1) #define P2H(p1,p2) (p1, p2) #define P3H(p1,p2,p3) (p1, p2, p3) diff --git a/Build/source/texk/ps2pkm/ChangeLog b/Build/source/texk/ps2pkm/ChangeLog index c3d70f608aa..7b0f4ef46db 100644 --- a/Build/source/texk/ps2pkm/ChangeLog +++ b/Build/source/texk/ps2pkm/ChangeLog @@ -1,3 +1,8 @@ +2009-06-23 Peter Breitenlohner + + * fontfcn.c, regions.c, regions.h, scanfont.c, t1funcs.c: + drop #ifdef HAVE_PROTOTYPES, unconditionalty use prototypes. + 2009-06-22 Peter Breitenlohner * objects.c, objects.h: use ANSI C variadic function syntax. diff --git a/Build/source/texk/seetexk/ChangeLog b/Build/source/texk/seetexk/ChangeLog index ca6ea6ffdbc..5e60de3f9c0 100644 --- a/Build/source/texk/seetexk/ChangeLog +++ b/Build/source/texk/seetexk/ChangeLog @@ -1,3 +1,8 @@ +2009-06-23 Peter Breitenlohner + + * dvibook.c, dvitodvi.c: drop #ifdef HAVE_PROTOTYPES, + unconditionalty use prototypes. + 2009-06-22 Peter Breitenlohner * Makefile.am (AM_CPPFLAGS): remove -DNeedFunctionPrototypes. -- cgit v1.2.3