* lib/version-etc.c [!defined PACKAGE]: Define to PACKAGE_TARNAME.
+2009-11-22 Andy Wingo <wingo@pobox.com>
+
+ version-etc: work also with AM_INIT_AUTOMAKE's no-define option
+ * lib/version-etc.c [!defined PACKAGE]: Define to PACKAGE_TARNAME.
+
2009-11-24 Bruno Haible <bruno@clisp.org>
doc: Most *_l functions exist in MacOS X 10.5.
#include "gettext.h"
#define _(msgid) gettext (msgid)
+/* If you use AM_INIT_AUTOMAKE's no-define option,
+ PACKAGE is not defined. Use PACKAGE_TARNAME instead. */
+#if ! defined PACKAGE && defined PACKAGE_TARNAME
+# define PACKAGE PACKAGE_TARNAME
+#endif
+
enum { COPYRIGHT_YEAR = 2009 };
/* The three functions below display the --version information the