summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 16:29:55 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 16:29:55 +0000
commit9e431b970f2875e6e30b0680ee54e7c90cfe537e (patch)
treed2201e0813ed9dfab88d0c5bf9764b54c7e24527 /Build/source
parent371b8e253250c7ed1fde51ca0f9b0a25bd997fda (diff)
completely drop HAVE_PROTOTYPES
git-svn-id: svn://tug.org/texlive/trunk@13922 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/m4/kpse-common.m45
-rw-r--r--Build/source/texk/kpathsea/ChangeLog2
-rw-r--r--Build/source/texk/kpathsea/c-proto.h2
-rw-r--r--Build/source/texk/ps2pkm/ChangeLog5
-rw-r--r--Build/source/texk/seetexk/ChangeLog5
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 <peb@mppmu.mpg.de>
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 <peb@mppmu.mpg.de>
+
+ * fontfcn.c, regions.c, regions.h, scanfont.c, t1funcs.c:
+ drop #ifdef HAVE_PROTOTYPES, unconditionalty use prototypes.
+
2009-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* 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 <peb@mppmu.mpg.de>
+
+ * dvibook.c, dvitodvi.c: drop #ifdef HAVE_PROTOTYPES,
+ unconditionalty use prototypes.
+
2009-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (AM_CPPFLAGS): remove -DNeedFunctionPrototypes.