From: Bruno Haible Date: Mon, 22 Jan 2007 23:07:42 +0000 (+0000) Subject: Use @MKDIR_P@ instead of $(MKDIR_P), since automake < 1.10 doesn't the X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a6017eea65b334aec6941b6850bdf4084f53e4d;p=pspp Use @MKDIR_P@ instead of $(MKDIR_P), since automake < 1.10 doesn't the MKDIR_P variable of autoconf >= 2.60. --- diff --git a/modules/sys_select b/modules/sys_select index 3319c3cd8a..be92f4b557 100644 --- a/modules/sys_select +++ b/modules/sys_select @@ -17,7 +17,7 @@ BUILT_SOURCES += $(SYS_SELECT_H) # We need the following in order to create 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 '; \ diff --git a/modules/sys_socket b/modules/sys_socket index 6b75a4e938..a1785aaa9b 100644 --- a/modules/sys_socket +++ b/modules/sys_socket @@ -18,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 - $(MKDIR_P) sys + @MKDIR_P@ sys { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ cat $(srcdir)/socket_.h; \ } > $@-t diff --git a/modules/sys_stat b/modules/sys_stat index 1b07c854f0..b8d8c62b41 100644 --- a/modules/sys_stat +++ b/modules/sys_stat @@ -18,7 +18,7 @@ BUILT_SOURCES += $(SYS_STAT_H) # We need the following in order to create 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' \ diff --git a/modules/sys_time b/modules/sys_time index f00a0df803..80be27d0f4 100644 --- a/modules/sys_time +++ b/modules/sys_time @@ -18,7 +18,7 @@ BUILT_SOURCES += sys/time.h # We need the following in order to create 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' \