summaryrefslogtreecommitdiff
path: root/gl/gnulib.mk
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-03-11 20:54:11 +0100
committerSimon Josefsson <simon@josefsson.org>2008-03-11 20:54:11 +0100
commit06e5c18f65a705c45735b4e18a34f8b3afc567e1 (patch)
treeb7f2ed901f2e7bc9c7a2f97d9ebaa0e99b49cdb9 /gl/gnulib.mk
parentd65690c152ff765878438f91a3235980a940e448 (diff)
downloadgnutls-06e5c18f65a705c45735b4e18a34f8b3afc567e1.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/gnulib.mk')
-rw-r--r--gl/gnulib.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/gl/gnulib.mk b/gl/gnulib.mk
index 80b164bd0e..d72e891acc 100644
--- a/gl/gnulib.mk
+++ b/gl/gnulib.mk
@@ -193,6 +193,26 @@ EXTRA_libgnu_la_SOURCES += readline.c
## end gnulib module readline
+## begin gnulib module stdarg
+
+BUILT_SOURCES += $(STDARG_H)
+
+# We need the following in order to create <stdarg.h> when the system
+# doesn't have one that works with the given compiler.
+stdarg.h: stdarg.in.h
+ rm -f $@-t $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
+ sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
+ -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
+ < $(srcdir)/stdarg.in.h; \
+ } > $@-t
+ mv $@-t $@
+MOSTLYCLEANFILES += stdarg.h stdarg.h-t
+
+EXTRA_DIST += stdarg.in.h
+
+## end gnulib module stdarg
+
## begin gnulib module strdup