1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

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 ()'.
This commit is contained in:
Ludovic Courtès 2009-11-17 22:03:13 +01:00
parent 8bcecbd302
commit 4f02b98d0e
18 changed files with 899 additions and 50 deletions

View file

@ -384,11 +384,21 @@ extern int rpmatch (const char *response);
#endif
#if @GNULIB_SETENV@
# if !@HAVE_SETENV@
# if @REPLACE_SETENV@
# undef setenv
# define setenv rpl_setenv
# endif
# if !@HAVE_SETENV@ || @REPLACE_SETENV@
/* Set NAME to VALUE in the environment.
If REPLACE is nonzero, overwrite an existing value. */
extern int setenv (const char *name, const char *value, int replace);
# endif
#elif defined GNULIB_POSIXCHECK
# undef setenv
# define setenv(n,v,o) \
(GL_LINK_WARNING ("setenv is unportable - " \
"use gnulib module setenv for portability"), \
setenv (n, v, o))
#endif
#if @GNULIB_STRTOD@
@ -448,16 +458,20 @@ extern unsigned long long strtoull (const char *string, char **endptr, int base)
#endif
#if @GNULIB_UNSETENV@
# if @HAVE_UNSETENV@
# if @VOID_UNSETENV@
/* On some systems, unsetenv() returns void.
This is the case for MacOS X 10.3, FreeBSD 4.8, NetBSD 1.6, OpenBSD 3.4. */
# define unsetenv(name) ((unsetenv)(name), 0)
# endif
# else
# if @REPLACE_UNSETENV@
# undef unsetenv
# define unsetenv rpl_unsetenv
# endif
# if !@HAVE_UNSETENV@ || @REPLACE_UNSETENV@
/* Remove the variable NAME from the environment. */
extern int unsetenv (const char *name);
# endif
#elif defined GNULIB_POSIXCHECK
# undef unsetenv
# define unsetenv(n) \
(GL_LINK_WARNING ("unsetenv is unportable - " \
"use gnulib module unsetenv for portability"), \
unsetenv (n))
#endif
#ifdef __cplusplus