X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Funistd;h=f54499f119e9dc486d8683e1dfc5176ae8caaf09;hb=4294e57788932e47171d553d40b85feb98795685;hp=edcae83827a53201d9ffdb5b7ebbd2c0ba179477;hpb=266f4849713b596f0dce71069dba18dc2fbb081d;p=gnulib.git diff --git a/modules/unistd b/modules/unistd index edcae8382..f54499f11 100644 --- a/modules/unistd +++ b/modules/unistd @@ -2,7 +2,6 @@ Description: A for systems lacking it. Files: -lib/unistd_.h m4/unistd_h.m4 Depends-on: @@ -12,14 +11,12 @@ gl_HEADER_UNISTD Makefile.am: BUILT_SOURCES += $(UNISTD_H) -EXTRA_DIST += unistd_.h - -# We need the following in order to create when the system -# doesn't have one. -unistd.h: unistd_.h - cp $(srcdir)/unistd_.h $@-t - mv $@-t $@ -MOSTLYCLEANFILES += unistd.h unistd.h-t + +# We need the following in order to create an empty placeholder for +# when the system doesn't have one. +unistd.h: + echo '/* Empty placeholder for $@. */' >$@ +MOSTLYCLEANFILES += unistd.h Include: #include