summaryrefslogtreecommitdiff
path: root/lib/stdarg.in.h
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-11-17 22:03:13 +0100
committerLudovic Courtès <ludo@gnu.org>2009-11-17 23:42:30 +0100
commit4f02b98d0ed4a314916c69a225d7a45dda3f5f8c (patch)
tree8c1c3ad43ff6773767a38b13299330d4cb9d9b96 /lib/stdarg.in.h
parent8bcecbd302912f802026b00fbd15abc93c81860c (diff)
downloadguile-4f02b98d0ed4a314916c69a225d7a45dda3f5f8c.tar.gz
Use Gnulib's `version-etc-fsf' for `--version' and `--help' output.
* m4/gnulib-cache.m4: Add `version-etc-fsf'. Switch to LGPLv3+. * GUILE-VERSION (PACKAGE): Change to "GNU Guile". * Makefile.am (distdir): New variable. * libguile/script.c (scm_shell_usage): Improve formatting. Use `emit_bug_reporting_address ()'. (scm_compile_shell_switches): Use `version_etc ()'.
Diffstat (limited to 'lib/stdarg.in.h')
-rw-r--r--lib/stdarg.in.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/stdarg.in.h b/lib/stdarg.in.h
new file mode 100644
index 000000000..873e6c0c3
--- /dev/null
+++ b/lib/stdarg.in.h
@@ -0,0 +1,35 @@
+/* Substitute for and wrapper around <stdarg.h>.
+ Copyright (C) 2008 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#ifndef _GL_STDARG_H
+
+#if __GNUC__ >= 3
+@PRAGMA_SYSTEM_HEADER@
+#endif
+
+/* The include_next requires a split double-inclusion guard. */
+#@INCLUDE_NEXT@ @NEXT_STDARG_H@
+
+#ifndef _GL_STDARG_H
+#define _GL_STDARG_H
+
+#ifndef va_copy
+# define va_copy(a,b) ((a) = (b))
+#endif
+
+#endif /* _GL_STDARG_H */
+#endif /* _GL_STDARG_H */