diff options
author | Jim Meyering <jim@meyering.net> | 2001-07-15 14:31:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-07-15 14:31:54 +0000 |
commit | 773ad9253331bd13779657543858f1c9dedb2385 (patch) | |
tree | 68c327e5b380ff74322bfea4e316e10599045c45 | |
parent | 876fe14529495cfc127b683f7c3ce4a09a72f4f8 (diff) | |
download | coreutils-773ad9253331bd13779657543858f1c9dedb2385.tar.xz |
remove unlocked-io.h stuff
-rw-r--r-- | m4/Makefile.am.in | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in index 241abdabc..591402869 100644 --- a/m4/Makefile.am.in +++ b/m4/Makefile.am.in @@ -13,53 +13,5 @@ Makefile.am: Makefile.am.in |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ >> $@t sed -n '/^##m4-files-end/,$$p' $< >> $@t - echo >> $@t - echo all-local: glibc-io.stamp >> $@t chmod a-w $@t mv $@t $@ - -unlocked_functions = \ - clearerr_unlocked feof_unlocked ferror_unlocked \ - fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked \ - fread_unlocked fwrite_unlocked getc_unlocked getchar_unlocked \ - putc_unlocked putchar_unlocked - -comma_separated = $(shell echo $(unlocked_functions)|tr -s ' ' ,) -base_functions = $(patsubst %_unlocked,%,$(unlocked_functions)) - -# Don't depend directly on jm-glibc-io.m4, because that would cause it -# to be created in non-srcdir==. builds, and that leads to problems with -# distcheck. Note also that we can't add it to DISTCLEANFILES for similar -# reasons. -glibc-io.stamp: jm-glibc-io.m4n Makefile - if test `pwd` = `cd $(srcdir); pwd`; then \ - t=jm-glibc-io.m4; \ - src=$(srcdir)/jm-glibc-io.m4n; \ - echo "dnl This file is automatically generated from $${t}n." \ - > $${t}t; \ - echo '' >> $${t}t; \ - sed \ - -e 's/@space_separated@/$(unlocked_functions)/g' \ - -e 's/@comma_separated@/$(comma_separated)/g' \ - $$src >> $${t}t; \ - move-if-change $${t}t $$t; \ - fi - touch $@ - -DISTCLEANFILES = glibc-io.stamp - -unlocked-io.h: unlocked-io.hin Makefile.am.in - 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 $@ |