diff options
author | Jim Meyering <jim@meyering.net> | 2001-07-15 15:15:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-07-15 15:15:35 +0000 |
commit | 35f7a62c1c1481dd6678ff1b0c84f1c414b20020 (patch) | |
tree | 81de56a402bf90ab733386b8209c9516843ecd77 | |
parent | 525eedaf380da6ef69fbc366f718a4f4023b2f22 (diff) | |
download | coreutils-35f7a62c1c1481dd6678ff1b0c84f1c414b20020.tar.xz |
Remove unlocked-io.h rule -- now it's in its final resting place:
lib/Makefile.am.
-rw-r--r-- | Makefile.cfg | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/Makefile.cfg b/Makefile.cfg index 4a002d544..b9cfe2e11 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -23,13 +23,13 @@ wget_files = \ ############################################### +# FIXME: CAUTION this list is a duplicate of one in ../Makefile.cfg. 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 ' ' ,) -base_functions = $(patsubst %_unlocked,%,$(unlocked_io_functions)) # 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. @@ -45,20 +45,3 @@ $(srcdir)/m4/jm-glibc-io.m4: $(srcdir)/m4/jm-glibc-io.m4n Makefile.am -e 's/@comma_separated@/$(comma_separated)/g' \ $< >> $(t_io) move-if-change $(t_io) $@ - -# This rule requires GNU make. -unlocked-io.h: unlocked-io.hin Makefile.cfg - tmp=t$$$$; \ - echo > $$tmp; \ - for f in $(base_functions); do \ - u=`echo $$f|tr '[:lower:]' '[:upper:]'`; \ - echo "# if HAVE_$${u}_UNLOCKED" >> $$tmp; \ - echo "# undef $$f" >> $$tmp; \ - echo "# define $$f(S) $${f}_unlocked (S)" >> $$tmp; \ - echo '#endif' >> $$tmp; \ - done; \ - sed "/^@replace_this@$$/r$$tmp" $< \ - | sed "/^@replace_this@$$/d" \ - > $@t; \ - rm -f $$tmp; \ - mv $@t $@ |