Mercurial > hg > octave-lyh > gnulib-hg
changeset 6624:ed1144410269
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
author | Sergey Poznyakoff <gray@gnu.org.ua> |
---|---|
date | Tue, 07 Feb 2006 13:35:29 +0000 |
parents | a23e0fc1aea4 |
children | add6e06e0230 |
files | lib/argp-namefrob.h |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/argp-namefrob.h +++ b/lib/argp-namefrob.h @@ -141,6 +141,20 @@ # define putchar_unlocked(x) putchar (x) # endif +/* GNULIB makes sure both program_invocation_name and + program_invocation_short_name are available */ +#ifdef GNULIB_PROGRAM_INVOCATION_NAME +extern char *program_invocation_name; +# undef HAVE_DECL_PROGRAM_INVOCATION_NAME +# define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 +#endif + +#ifdef GNULIB_PROGRAM_INVOCATION_SHORT_NAME +extern char *program_invocation_short_name; +# undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME +# define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1 +#endif + #endif /* !_LIBC */ #ifndef __set_errno