Restore changes accidentally lost during the "autoupdate" on 2005-12-12.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 7 Feb 2006 13:35:29 +0000 (13:35 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 7 Feb 2006 13:35:29 +0000 (13:35 +0000)
lib/argp-namefrob.h

index f10f582..ea30864 100644 (file)
 # 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