+2021-12-15 Bruno Haible <bruno@clisp.org>
+
+ Fix creation of build directories with non-recursive-gnulib-prefix-hack.
+ This is necessary for executing "make" in a VPATH build of a package
+ that uses prefix-gnulib-mk and a module such as alloca-opt.
+ * modules/alloca-opt (Makefile.am): Before generating the .h-t file,
+ ensure that the directory in which we want to create it exists.
+ (configure.ac): Invoke AC_PROG_MKDIR_P.
+ * modules/argz: Likewise.
+ * modules/arpa_inet: Likewise.
+ * modules/assert-h: Likewise.
+ * modules/byteswap: Likewise.
+ * modules/configmake: Likewise.
+ * modules/ctype: Likewise.
+ * modules/dirent: Likewise.
+ * modules/dynarray: Likewise.
+ * modules/errno: Likewise.
+ * modules/execinfo: Likewise.
+ * modules/fcntl-h: Likewise.
+ * modules/float: Likewise.
+ * modules/fnmatch-h: Likewise.
+ * modules/getopt-posix: Likewise.
+ * modules/glob-h: Likewise.
+ * modules/iconv-h: Likewise.
+ * modules/ieee754-h: Likewise.
+ * modules/inttypes-incomplete: Likewise.
+ * modules/langinfo: Likewise.
+ * modules/libgmp: Likewise.
+ * modules/libtextstyle-optional: Likewise.
+ * modules/limits-h: Likewise.
+ * modules/locale: Likewise.
+ * modules/malloc-h: Likewise.
+ * modules/math: Likewise.
+ * modules/monetary: Likewise.
+ * modules/net_if: Likewise.
+ * modules/netdb: Likewise.
+ * modules/netinet_in: Likewise.
+ * modules/openmp-init: Likewise.
+ * modules/poll-h: Likewise.
+ * modules/posix-shell: Likewise.
+ * modules/pthread-h: Likewise.
+ * modules/pty: Likewise.
+ * modules/sched: Likewise.
+ * modules/scratch_buffer: Likewise.
+ * modules/search: Likewise.
+ * modules/selinux-h: Likewise.
+ * modules/signal-h: Likewise.
+ * modules/sigsegv: Likewise.
+ * modules/snippet/link-warning: Likewise.
+ * modules/spawn: Likewise.
+ * modules/stdalign: Likewise.
+ * modules/stdarg: Likewise.
+ * modules/stdbool: Likewise.
+ * modules/stddef: Likewise.
+ * modules/stdint: Likewise.
+ * modules/stdio: Likewise.
+ * modules/stdlib: Likewise.
+ * modules/stdnoreturn: Likewise.
+ * modules/string: Likewise.
+ * modules/strings: Likewise.
+ * modules/sys_file: Likewise.
+ * modules/sys_ioctl: Likewise.
+ * modules/sys_random: Likewise.
+ * modules/sys_resource: Likewise.
+ * modules/sys_select: Likewise.
+ * modules/sys_socket: Likewise.
+ * modules/sys_stat: Likewise.
+ * modules/sys_time: Likewise.
+ * modules/sys_times: Likewise.
+ * modules/sys_types: Likewise.
+ * modules/sys_uio: Likewise.
+ * modules/sys_utsname: Likewise.
+ * modules/sys_wait: Likewise.
+ * modules/sysexits: Likewise.
+ * modules/termios: Likewise.
+ * modules/threads-h: Likewise.
+ * modules/time: Likewise.
+ * modules/uchar: Likewise.
+ * modules/unicase/base: Likewise.
+ * modules/unicase/special-casing: Likewise.
+ * modules/uniconv/base: Likewise.
+ * modules/unictype/base: Likewise.
+ * modules/unigbrk/base: Likewise.
+ * modules/unilbrk/base: Likewise.
+ * modules/uniname/base: Likewise.
+ * modules/uninorm/base: Likewise.
+ * modules/unistd: Likewise.
+ * modules/unistdio/base: Likewise.
+ * modules/unistr/base: Likewise.
+ * modules/unitypes: Likewise.
+ * modules/uniwbrk/base: Likewise.
+ * modules/uniwidth/base: Likewise.
+ * modules/utime-h: Likewise.
+ * modules/wchar: Likewise.
+ * modules/wctype-h: Likewise.
+ * gnulib-tool (func_emit_lib_Makefile_am): When producing output for
+ GNU make, eliminate %reldir% tokens.
+
2021-12-15 Bruno Haible <bruno@clisp.org>
non-recursive-gnulib-prefix-hack: Remove obsolete code.
echo "## begin gnulib module $module"
if $gnu_make; then
echo "ifeq (,\$(OMIT_GNULIB_MODULE_$module))"
- convert_to_gnu_make='s/^if \(.*\)/ifneq (,$(\1))/'
- else
- convert_to_gnu_make=
+ convert_to_gnu_make_1='s/^if \(.*\)/ifneq (,$(\1))/'
+ convert_to_gnu_make_2='s|%reldir%/||g'
+ convert_to_gnu_make_3='s|%reldir%|.|g'
fi
echo
if test "$cond_dependencies" = true; then
fi
fi
fi
- sed "$convert_to_gnu_make" "$tmp"/amsnippet1
+ if $gnu_make; then
+ sed -e "$convert_to_gnu_make_1" \
+ -e "$convert_to_gnu_make_2" \
+ -e "$convert_to_gnu_make_3" \
+ "$tmp"/amsnippet1
+ else
+ cat "$tmp"/amsnippet1
+ fi
if test "$cond_dependencies" = true; then
if func_cond_module_p "$module"; then
echo "endif"
fi
fi
- sed "$convert_to_gnu_make" "$tmp"/amsnippet2
+ if $gnu_make; then
+ sed -e "$convert_to_gnu_make_1" \
+ -e "$convert_to_gnu_make_2" \
+ -e "$convert_to_gnu_make_3" \
+ "$tmp"/amsnippet2
+ else
+ cat "$tmp"/amsnippet2
+ fi
if $gnu_make; then
echo "endif"
fi
configure.ac:
gl_FUNC_ALLOCA
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(ALLOCA_H)
if GL_GENERATE_ALLOCA_H
alloca.h: alloca.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(srcdir)/alloca.in.h; \
} > $@-t && \
configure.ac:
gl_FUNC_ARGZ
+AC_PROG_MKDIR_P
if test -n "$ARGZ_H"; then
AC_LIBOBJ([argz])
fi
if GL_GENERATE_ARGZ_H
argz.h: argz.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/argz.in.h; \
} > $@-t && \
# We need the following in order to create <arpa/inet.h> when the system
# doesn't have one.
arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_at)$(MKDIR_P) arpa
+ $(AM_V_at)$(MKDIR_P) '%reldir%/arpa'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
configure.ac:
gl_ASSERT_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(ASSERT_H)
if GL_GENERATE_ASSERT_H
assert.h: assert.in.h verify.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
configure.ac:
gl_BYTESWAP
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(BYTESWAP_H)
if GL_GENERATE_BYTESWAP_H
byteswap.h: byteswap.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/byteswap.in.h; \
} > $@-t && \
configure.ac:
gl_CONFIGMAKE_PREP
+AC_PROG_MKDIR_P
Makefile.am:
# Listed in the same order as the GNU makefile conventions, and
# listed in the Automake 1.10a+ documentation.
configmake.h: Makefile
$(AM_V_GEN)rm -f $@-t && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#if HAVE_WINSOCK2_H'; \
echo '# include <winsock2.h> /* avoid mingw pollution on DATADIR */'; \
configure.ac:
gl_CTYPE_H
gl_CTYPE_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += ctype.h
# doesn't have one that works with the given compiler.
ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_DIRENT_H
gl_DIRENT_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += dirent.h
# doesn't have one that works with the given compiler.
dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
malloc/dynarray.gl.h: malloc/dynarray.h
- $(AM_V_at)$(MKDIR_P) malloc
+ $(AM_V_at)$(MKDIR_P) '%reldir%/malloc'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \
MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
- $(AM_V_at)$(MKDIR_P) malloc
+ $(AM_V_at)$(MKDIR_P) '%reldir%/malloc'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
configure.ac:
gl_HEADER_ERRNO_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(ERRNO_H)
if GL_GENERATE_ERRNO_H
errno.h: errno.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_EXECINFO_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(EXECINFO_H)
if GL_GENERATE_EXECINFO_H
execinfo.h: execinfo.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/execinfo.in.h; \
} > $@-t && \
configure.ac:
gl_FCNTL_H
gl_FCNTL_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += fcntl.h
# doesn't have one that works with the given compiler.
fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_FLOAT_H
+AC_PROG_MKDIR_P
if test $REPLACE_FLOAT_LDBL = 1; then
AC_LIBOBJ([float])
fi
if GL_GENERATE_FLOAT_H
float.h: float.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_FNMATCH_H
gl_FNMATCH_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(FNMATCH_H)
if GL_GENERATE_FNMATCH_H
fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
configure.ac:
gl_FUNC_GETOPT_POSIX
+AC_PROG_MKDIR_P
if test $REPLACE_GETOPT = 1; then
AC_LIBOBJ([getopt])
AC_LIBOBJ([getopt1])
# doesn't have one that works with the given compiler.
getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
configure.ac:
gl_GLOB_H
gl_GLOB_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(GLOB_H)
if GL_GENERATE_GLOB_H
glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \
configure.ac:
gl_ICONV_H
gl_ICONV_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(ICONV_H)
if GL_GENERATE_ICONV_H
iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_IEEE754_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(IEEE754_H)
if GL_GENERATE_IEEE754_H
ieee754.h: ieee754.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \
$(srcdir)/ieee754.in.h; \
configure.ac:
gl_INTTYPES_INCOMPLETE
gl_INTTYPES_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += inttypes.h
# doesn't have one that works with the given compiler.
inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_LANGINFO_H
gl_LANGINFO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += langinfo.h
# <langinfo.h> when the system doesn't have one.
langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
configure.ac:
gl_LIBGMP
+AC_PROG_MKDIR_P
if test $HAVE_LIBGMP != yes; then
AC_LIBOBJ([mini-gmp-gnulib])
fi
if GL_GENERATE_MINI_GMP_H
# Build gmp.h as a wrapper for mini-gmp.h when using mini-gmp.
gmp.h: $(top_builddir)/config.status
- echo '#include "mini-gmp.h"' >$@-t
+ $(MKDIR_P) '%reldir%'
+ echo '#include "mini-gmp.h"' > $@-t
mv $@-t $@
else
if GL_GENERATE_GMP_GMP_H
# Build gmp.h as a wrapper for gmp/gmp.h.
gmp.h: $(top_builddir)/config.status
- echo '#include <gmp/gmp.h>' >$@-t
+ $(MKDIR_P) '%reldir%'
+ echo '#include <gmp/gmp.h>' > $@-t
mv $@-t $@
else
gmp.h: $(top_builddir)/config.status
configure.ac:
# You need to invoke gl_LIBTEXTSTYLE_OPTIONAL yourself, possibly with arguments.
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(TEXTSTYLE_H)
if GL_GENERATE_TEXTSTYLE_H
textstyle.h: textstyle.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/textstyle.in.h; \
} > $@-t && \
configure.ac:
gl_LIMITS_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIMITS_H)
if GL_GENERATE_LIMITS_H
limits.h: limits.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_LOCALE_H
gl_LOCALE_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += locale.h
# doesn't have one that provides all definitions.
locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_MALLOC_H
gl_MALLOC_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += malloc.h
# We need the following in order to create <malloc.h> when we add workarounds.
malloc.h: malloc.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \
configure.ac:
gl_MATH_H
gl_MATH_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += math.h
# doesn't have one that works with the given compiler.
math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
configure.ac:
gl_MONETARY_H
gl_MONETARY_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(MONETARY_H)
if GL_GENERATE_MONETARY_H
monetary.h: monetary.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \
# doesn't have one.
if GL_GENERATE_NET_IF_H
net/if.h: net_if.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) net
+ $(AM_V_at)$(MKDIR_P) '%reldir%/net'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
configure.ac:
gl_NETDB_H
gl_NETDB_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += netdb.h
# doesn't have one that works with the given compiler.
netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
# doesn't have one.
if GL_GENERATE_NETINET_IN_H
netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) netinet
+ $(AM_V_at)$(MKDIR_P) '%reldir%/netinet'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
configure.ac:
gl_OMP_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += omp.h
omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_POLL_H
gl_POLL_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += poll.h
# doesn't have one.
poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
configure.ac:
gl_POSIX_SHELL
+AC_PROG_MKDIR_P
Makefile.am:
##Sample usage of posix-shell module:
#script: script.in
# rm -f $@-t $@
+# $(MKDIR_P) '%reldir%'
# sed -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \
# -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \
-# -e $(srcdir)/$@.in >$@-t
+# -e $(srcdir)/$@.in > $@-t
# chmod a+x $@-t
# mv $@-t $@
#EXTRA_DIST += script.in
configure.ac:
gl_PTHREAD_H
gl_PTHREAD_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += pthread.h
# doesn't have one that works with the given compiler.
pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \
configure.ac:
gl_PTY_H
gl_PTY_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += pty.h
# doesn't have one that works with the given compiler.
pty.h: pty.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \
configure.ac:
gl_SCHED_H
gl_SCHED_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += sched.h
# the system doesn't have one.
sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
BUILT_SOURCES += malloc/scratch_buffer.gl.h
malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h
- $(AM_V_at)$(MKDIR_P) malloc
+ $(AM_V_at)$(MKDIR_P) '%reldir%/malloc'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \
configure.ac:
gl_SEARCH_H
gl_SEARCH_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += search.h
# doesn't have one that works with the given compiler.
search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
gl_HEADERS_SELINUX_SELINUX_H
gl_HEADERS_SELINUX_CONTEXT_H
gl_HEADERS_SELINUX_LABEL_H
+AC_PROG_MKDIR_P
if test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes; then
AC_LIBOBJ([getfilecon])
fi
BUILT_SOURCES += selinux/selinux.h
selinux/selinux.h: se-selinux.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) selinux
+ $(AM_V_at)$(MKDIR_P) '%reldir%/selinux'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
BUILT_SOURCES += $(SELINUX_CONTEXT_H)
if GL_GENERATE_SELINUX_CONTEXT_H
selinux/context.h: se-context.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) selinux
+ $(AM_V_at)$(MKDIR_P) '%reldir%/selinux'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
cat $(srcdir)/se-context.in.h; \
BUILT_SOURCES += $(SELINUX_LABEL_H)
if GL_GENERATE_SELINUX_LABEL_H
selinux/label.h: se-label.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) selinux
+ $(AM_V_at)$(MKDIR_P) '%reldir%/selinux'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
cat $(srcdir)/se-label.in.h; \
configure.ac:
gl_SIGNAL_H
gl_SIGNAL_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += signal.h
# doesn't have a complete one.
signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
fi
AC_SUBST([SIGSEGV_H])
AM_CONDITIONAL([GL_GENERATE_SIGSEGV_H], [test -n "$SIGSEGV_H"])
+AC_PROG_MKDIR_P
if test -n "$SIGSEGV_H"; then
dnl Persuade glibc <sys/ucontext.h> to declare macros designating register
dnl indices: REG_RSP on x86_64, REG_ESP on i386.
if GL_GENERATE_SIGSEGV_H
sigsegv.h: sigsegv.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/sigsegv.in.h; \
} > $@-t && \
configure.ac:
AC_REQUIRE([gl_FEATURES_H])
+AC_PROG_MKDIR_P
Makefile.am:
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
BUILT_SOURCES += link-warning.h
link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
sed -n -e '/HAVE_FEATURES_H/,$$p' \
< $(top_srcdir)/build-aux/snippet/link-warning.h \
| sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
configure.ac:
gl_SPAWN_H
gl_SPAWN_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += spawn.h
# the system doesn't have one.
spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
configure.ac:
gl_STDALIGN_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDALIGN_H)
if GL_GENERATE_STDALIGN_H
stdalign.h: stdalign.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/stdalign.in.h; \
} > $@-t && \
configure.ac:
gl_STDARG_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDARG_H)
if GL_GENERATE_STDARG_H
stdarg.h: stdarg.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
AM_STDBOOL_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDBOOL_H)
if GL_GENERATE_STDBOOL_H
stdbool.h: stdbool.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
} > $@-t && \
configure.ac:
gl_STDDEF_H
gl_STDDEF_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDDEF_H)
if GL_GENERATE_STDDEF_H
stddef.h: stddef.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_STDINT_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDINT_H)
if GL_GENERATE_STDINT_H
stdint.h: stdint.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
configure.ac:
gl_STDIO_H
gl_STDIO_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
dnl No need to create extra modules for these functions. Everyone who uses
dnl <stdio.h> likely needs them.
# doesn't have one that works with the given compiler.
stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_STDLIB_H
gl_STDLIB_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += stdlib.h
stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_STDNORETURN_H
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(STDNORETURN_H)
if GL_GENERATE_STDNORETURN_H
stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e '/definition of _Noreturn/r $(_NORETURN_H)' \
< $(srcdir)/stdnoreturn.in.h; \
configure.ac:
gl_STRING_H
gl_STRING_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += string.h
# doesn't have one that works with the given compiler.
string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_STRINGS_H
gl_STRINGS_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += strings.h
# doesn't have one that works with the given compiler.
strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
# We need the following in order to create <sys/file.h> when the system
# has one that is incomplete.
sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/ioctl.h> when the system
# does not have a complete one.
sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/random.h> when the system
# doesn't have one.
sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/resource.h> when the system
# doesn't have one.
sys/resource.h: sys_resource.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# 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: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# 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: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/stat.h> when the system
# has one that is incomplete.
sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# 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.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/times.h> when the system
# doesn't have one that works with the given compiler.
sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/types.h> when the system
# doesn't have one that works with the given compiler.
sys/types.h: sys_types.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/uio.h> when the system
# doesn't have one that works with the given compiler.
sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/utsname.h> when the system
# does not have one.
sys/utsname.h: sys_utsname.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
# We need the following in order to create <sys/wait.h> when the system
# has one that is incomplete.
sys/wait.h: sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
- $(AM_V_at)$(MKDIR_P) sys
+ $(AM_V_at)$(MKDIR_P) '%reldir%/sys'
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
configure.ac:
gl_SYSEXITS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(SYSEXITS_H)
if GL_GENERATE_SYSEXITS_H
sysexits.h: sysexits.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
configure.ac:
gl_TERMIOS_H
gl_TERMIOS_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += termios.h
# version does not have all declarations.
termios.h: termios.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_THREADS_H
gl_THREADS_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += threads.h
# doesn't have one.
threads.h: threads.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \
configure.ac:
gl_TIME_H
gl_TIME_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += time.h
# doesn't have one that works with the given compiler.
time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_UCHAR_H
gl_UCHAR_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += uchar.h
uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unicase.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H)
unicase.h: unicase.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unicase.in.h; \
} > $@-t && \
gperf
configure.ac:
+AC_PROG_MKDIR_P
Makefile.am:
lib_SOURCES += unicase/special-casing.c
# Generate special-casing.h with a declaration that depends on the gperf version.
unicase/special-casing.h: unicase/special-casing.in.h unicase/special-casing-table.h
- $(AM_V_at)$(MKDIR_P) unicase
+ $(AM_V_at)$(MKDIR_P) '%reldir%/unicase'
$(AM_V_GEN)rm -f $@-t $@ && \
declaration=`grep '^gl_unicase_special_lookup' $(srcdir)/unicase/special-casing-table.h | sed -e 's/register //g'` && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniconv.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H)
uniconv.h: uniconv.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/uniconv.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.8], [unictype.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H)
unictype.h: unictype.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unictype.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.8], [unigbrk.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H)
unigbrk.h: unigbrk.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unigbrk.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unilbrk.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H)
unilbrk.h: unilbrk.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unilbrk.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.5], [uniname.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H)
uniname.h: uniname.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/uniname.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [uninorm.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H)
uninorm.h: uninorm.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/uninorm.in.h; \
} > $@-t && \
configure.ac:
gl_UNISTD_H
gl_UNISTD_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += unistd.h
# <unistd.h> when the system doesn't have one.
unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unistdio.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H)
unistdio.h: unistdio.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unistdio.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unistr.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
unistr.h: unistr.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unistr.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
+AC_PROG_MKDIR_P
AH_VERBATIM([unitypes_restrict], [
/* This definition is a duplicate of the one in unitypes.h.
unitypes.h: unitypes.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/unitypes.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwbrk.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H)
uniwbrk.h: uniwbrk.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/uniwbrk.in.h; \
} > $@-t && \
configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h])
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
uniwidth.h: uniwidth.in.h
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/uniwidth.in.h; \
} > $@-t && \
configure.ac:
gl_UTIME_H
gl_UTIME_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += utime.h
# doesn't have one that works with the given compiler.
utime.h: utime.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UTIME_H''@/$(HAVE_UTIME_H)/g' \
configure.ac:
gl_WCHAR_H
gl_WCHAR_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += wchar.h
# version does not work standalone.
wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
configure.ac:
gl_WCTYPE_H
gl_WCTYPE_H_REQUIRE_DEFAULTS
+AC_PROG_MKDIR_P
Makefile.am:
BUILT_SOURCES += wctype.h
# doesn't have one that works with the given compiler.
wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f $@-t $@ && \
+ $(MKDIR_P) '%reldir%' && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \