X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsys_socket;h=47d113cdf0a1f2f69468ad6427182171e3356a61;hb=911bc34c6cb77f2b30f5cd803dcb53410607e016;hp=9c4959da0701d662905c6c0c62d413c509bf2bde;hpb=b258683f73569d6d7ca77431fa4f3506d0b3a21e;p=gnulib.git diff --git a/modules/sys_socket b/modules/sys_socket index 9c4959da0..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,14 +13,15 @@ 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 MOSTLYCLEANDIRS += sys