X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsys_socket;h=47d113cdf0a1f2f69468ad6427182171e3356a61;hb=fef5a9944fb33549bd9486d764c36e3873d70aaa;hp=5da2ac5bdbc7f92c78e4295594e16b1a0e214bdd;hpb=b8dff30e13560a9a3f973c6334f8b39917004e37;p=gnulib.git diff --git a/modules/sys_socket b/modules/sys_socket index 5da2ac5bd..47d113cdf 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -4,6 +4,7 @@ A for systems lacking it. Files: lib/socket_.h m4/sys_socket_h.m4 +m4/sockpfaf.m4 Depends-on: @@ -12,20 +13,20 @@ gl_HEADER_SYS_SOCKET Makefile.am: BUILT_SOURCES += $(SYS_SOCKET_H) -EXTRA_DIST += socket_.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. sys/socket.h: socket_.h test -d sys || mkdir sys - cp $(srcdir)/socket_.h $@-t - mv $@-t $@ + { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ + cat $(srcdir)/socket_.h; \ + } > $@-t + mv -f $@-t $@ MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t - -mostlyclean-local: - -rmdir sys 2>/dev/null +MOSTLYCLEANDIRS += sys Include: +#include #include License: