summaryrefslogtreecommitdiff
path: root/Makefile.cfg
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-15 21:40:30 +0000
committerJim Meyering <jim@meyering.net>2002-12-15 21:40:30 +0000
commite7ff31d2ace66ee2ea38a6e057caad6db0a8fea1 (patch)
treea4370ea09db961383e0621576438d20cfd93c322 /Makefile.cfg
parent0a8353f85e14c8524e049b750a7fbafe661f2eec (diff)
downloadcoreutils-e7ff31d2ace66ee2ea38a6e057caad6db0a8fea1.tar.xz
Remove rules related to generating m4/jm-glibc-io.m4.
Diffstat (limited to 'Makefile.cfg')
-rw-r--r--Makefile.cfg25
1 files changed, 0 insertions, 25 deletions
diff --git a/Makefile.cfg b/Makefile.cfg
index 30cdc6b4e..bb71e9bcc 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -27,28 +27,3 @@ cvs_files = \
# $(srcdir)/src/ansi2knr.c
local_updates = wget-update cvs-update
-
-###############################################
-
-# FIXME: CAUTION this list is a duplicate of one in lib/Makefile.am.
-io_functions = \
- clearerr feof ferror fflush fgets fputc fputs \
- fread fwrite getc getchar putc putchar
-unlocked_io_functions = $(patsubst %,%_unlocked,$(io_functions))
-
-comma_separated = $(shell echo $(unlocked_io_functions)|tr -s ' ' ,)
-
-# This temp file may not be e.g., $@t, since that may be in a read-only
-# directory. Instead, use a file in the current directory.
-t_io = $(notdir $@)t
-
-# This rule requires GNU make.
-$(srcdir)/m4/jm-glibc-io.m4: $(srcdir)/m4/jm-glibc-io.m4n Makefile.cfg
- echo dnl This file is automatically generated from $(notdir $<). \
- > $(t_io)
- echo >> $(t_io)
- sed \
- -e 's/@space_separated@/$(unlocked_io_functions)/g' \
- -e 's/@comma_separated@/$(comma_separated)/g' \
- $< >> $(t_io)
- mv $(t_io) $@