X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Funistd;h=f54499f119e9dc486d8683e1dfc5176ae8caaf09;hb=d8c878368309fa0255b79d90bc773e63e8260053;hp=6cb126a55d76fe2fa17e9221e36e7ce34a146bc1;hpb=767e884e3af06e0b9ea66dc7fa244becf8ae606d;p=gnulib.git diff --git a/modules/unistd b/modules/unistd index 6cb126a55..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