[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patches for Makefile.maint etc. to remove K&R C support for Bison
From: |
Paul Eggert |
Subject: |
patches for Makefile.maint etc. to remove K&R C support for Bison |
Date: |
Wed, 16 Oct 2002 18:38:29 -0700 (PDT) |
I installed the following patch in Bison and (for Makefile.maint only)
in Autoconf. Makefile.maint seems to have forked quite a bit from
coreutils, so I removed the claim that they're copies.
2002-10-16 Paul Eggert <address@hidden>
* NEWS: Officially drop support for building Bison with K&R C,
since it didn't work anyway and it's not worth worrying about.
* Makefile.maint (wget_files): Remove ansi2knr.c.
(ansi2knr.c-url_prefix): Remove.
* lib/.cvsignore: Remove ansi2knr, ansi2knr.*.
* lib/Makefile.am (AUTOMAKE_OPTIONS): Remove.
* src/Makefile.am (AUTOMAKE_OPTIONS): Remove.
Index: Makefile.maint
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.maint,v
retrieving revision 1.18
retrieving revision 1.19
diff -p -u -r1.18 -r1.19
--- Makefile.maint 13 Sep 2002 08:41:54 -0000 1.18
+++ Makefile.maint 17 Oct 2002 01:32:23 -0000 1.19
@@ -1,8 +1,7 @@
# -*-Makefile-*-
-# This Makefile fragment is shared between fileutils, sh-utils, textutils,
-# CPPI, Bison, and Autoconf.
+# This Makefile fragment is shared between Autoconf and Bison.
-## Copyright 2001 Free Software Foundation, Inc.
+## Copyright (C) 2001, 2002 Free Software Foundation, Inc.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -81,14 +80,11 @@ po-update:
# with each of the files that belongs to some other package and is
# regularly updated from the specified URL.
wget_files ?= $(srcdir)/config.guess $(srcdir)/config.sub \
- $(srcdir)/src/ansi2knr.c \
$(srcdir)/doc/texinfo.tex
wget-targets = $(patsubst %, get-%, $(wget_files))
config.guess-url_prefix = $(ftp-gnu)/config/
config.sub-url_prefix = $(ftp-gnu)/config/
-
-ansi2knr.c-url_prefix = ftp://ftp.cs.wisc.edu/ghost/
texinfo.tex-url_prefix = $(ftp-gnu)/texinfo/
Index: NEWS
===================================================================
RCS file: /cvsroot/bison/bison/NEWS,v
retrieving revision 1.63
diff -p -u -r1.63 NEWS
--- NEWS 14 Oct 2002 16:29:41 -0000 1.63
+++ NEWS 17 Oct 2002 00:12:00 -0000
@@ -1,6 +1,13 @@
Bison News
----------
+Changes in version 1.75a:
+
+* Bison can no longer be built by a K&R C compiler; it requires C89 or
+ later to be built. This change originally took place a few versions
+ ago, but nobody noticed until we recently asked someone to try
+ building Bison with a K&R C compiler.
+
Changes in version 1.75:
* Bison should now work on 64-bit hosts.
Index: lib/.cvsignore
===================================================================
RCS file: /cvsroot/bison/bison/lib/.cvsignore,v
retrieving revision 1.6
diff -p -u -r1.6 .cvsignore
--- lib/.cvsignore 18 Oct 2001 15:27:30 -0000 1.6
+++ lib/.cvsignore 17 Oct 2002 00:12:00 -0000
@@ -1,5 +1,4 @@
*_.c
.deps
Makefile
-ansi2knr ansi2knr.*
Makefile.in
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/lib/Makefile.am,v
retrieving revision 1.31
diff -p -u -r1.31 Makefile.am
--- lib/Makefile.am 5 Oct 2002 04:53:54 -0000 1.31
+++ lib/Makefile.am 17 Oct 2002 00:12:00 -0000
@@ -15,8 +15,6 @@
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
## 02111-1307 USA
-AUTOMAKE_OPTIONS = ansi2knr
-
AM_CFLAGS = $(WARNING_CFLAGS)
noinst_LIBRARIES = libbison.a
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/bison/bison/src/Makefile.am,v
retrieving revision 1.53
diff -p -u -r1.53 Makefile.am
--- src/Makefile.am 5 Oct 2002 04:54:54 -0000 1.53
+++ src/Makefile.am 17 Oct 2002 00:12:00 -0000
@@ -15,8 +15,6 @@
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
## 02111-1307 USA
-AUTOMAKE_OPTIONS = ../lib/ansi2knr
-
DEFS = @DEFS@ \
-DPKGDATADIR=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(datadir)/locale\"
- patches for Makefile.maint etc. to remove K&R C support for Bison,
Paul Eggert <=