summaryrefslogtreecommitdiffstats
path: root/libgnu/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libgnu/Makefile.am')
-rw-r--r--libgnu/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/libgnu/Makefile.am b/libgnu/Makefile.am
index 25a811bc..301744c6 100644
--- a/libgnu/Makefile.am
+++ b/libgnu/Makefile.am
@@ -35,7 +35,8 @@ noinst_LIBRARIES =
MOSTLYCLEANFILES =
MOSTLYCLEANDIRS =
BUILT_SOURCES =
-EXTRA_DIST = endian.in.h byteswap.in.h sys_mman.win32.h mman_win32.c sysconf_win32.c ar.in.h features.in.h
+EXTRA_DIST = endian.in.h byteswap.in.h sys_mman.win32.h mman_win32.c sysconf_win32.c ar.in.h features.in.h \
+ stdio_ext.in.h
CLEANFILES =
SUFFIXES =
@@ -76,6 +77,13 @@ MOSTLYCLEANFILES += sys/mman.h
endif
endif
+if !HAVE_STDIO_EXT_H
+stdio_ext.h: stdio_ext.in.h
+ $(AM_V_GEN)rm -f $@ && cat $< > $@
+BUILT_SOURCES += stdio_ext.h
+MOSTLYCLEANFILES += stdio_ext.h
+endif
+
include gnulib.am
if !HAVE_SYS_MMAN_H