Use @MKDIR_P@ instead of $(MKDIR_P), since automake < 1.10 doesn't the
authorBruno Haible <bruno@clisp.org>
Mon, 22 Jan 2007 23:07:42 +0000 (23:07 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 22 Jan 2007 23:07:42 +0000 (23:07 +0000)
MKDIR_P variable of autoconf >= 2.60.

modules/sys_select
modules/sys_socket
modules/sys_stat
modules/sys_time

index 3319c3c..be92f4b 100644 (file)
@@ -17,7 +17,7 @@ BUILT_SOURCES += $(SYS_SELECT_H)
 # We need the following in order to create <sys/select.h> when the system
 # doesn't have one that works with the given compiler.
 sys/select.h:
-       $(MKDIR_P) sys
+       @MKDIR_P@ sys
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#include <sys/socket.h>'; \
index 6b75a4e..a1785aa 100644 (file)
@@ -18,7 +18,7 @@ BUILT_SOURCES += $(SYS_SOCKET_H)
 # We need the following in order to create <sys/socket.h> when the system
 # doesn't have one that works with the given compiler.
 sys/socket.h: socket_.h
-       $(MKDIR_P) sys
+       @MKDIR_P@ sys
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          cat $(srcdir)/socket_.h; \
        } > $@-t
index 1b07c85..b8d8c62 100644 (file)
@@ -18,7 +18,7 @@ BUILT_SOURCES += $(SYS_STAT_H)
 # We need the following in order to create <sys/stat.h> when the system
 # has one that is incomplete.
 sys/stat.h: stat_.h
-       $(MKDIR_P) sys
+       @MKDIR_P@ sys
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
index f00a0df..80be27d 100644 (file)
@@ -18,7 +18,7 @@ BUILT_SOURCES += sys/time.h
 # We need the following in order to create <sys/time.h> when the system
 # doesn't have one that works with the given compiler.
 sys/time.h: sys_time_.h
-       $(MKDIR_P) sys
+       @MKDIR_P@ sys
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \