X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsys_socket;h=a1785aaa9b129b74bf5da17f629a443b0abb74b4;hb=402c474488000ea5ad3c8bd64442938dbe4f61ce;hp=47d113cdf0a1f2f69468ad6427182171e3356a61;hpb=5eeec029e833abe9ba663d51bb556bd1eebb814e;p=gnulib.git diff --git a/modules/sys_socket b/modules/sys_socket index 47d113cdf..a1785aaa9 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -10,6 +10,7 @@ Depends-on: configure.ac: gl_HEADER_SYS_SOCKET +AC_PROG_MKDIR_P Makefile.am: BUILT_SOURCES += $(SYS_SOCKET_H) @@ -17,7 +18,7 @@ BUILT_SOURCES += $(SYS_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 + @MKDIR_P@ sys { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/socket_.h; \ } > $@-t