markup
minmax
open
- progname
relocatable-lib
sigpipe
stdbool
realloc-posix
'
$GNULIB_TOOL --dir=gettext-tools --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --macro-prefix=gtpo --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local --local-symlink \
- --import $GNULIB_MODULES_LIBGETTEXTPO $GNULIB_MODULES_LIBGETTEXTPO_OTHER || exit $?
+ --import --avoid=progname $GNULIB_MODULES_LIBGETTEXTPO $GNULIB_MODULES_LIBGETTEXTPO_OTHER || exit $?
# Overwrite older versions of .m4 files with the up-to-date version.
cp gettext-runtime/m4/gettext.m4 gettext-tools/gnulib-m4/gettext.m4
cp gettext-runtime/m4/intl.m4 gettext-tools/gnulib-m4/intl.m4
/* Error handling during reading and writing of PO files.
- Copyright (C) 2005-2007, 2013 Free Software Foundation, Inc.
+ Copyright (C) 2005-2007, 2013, 2019 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2005.
This program is free software: you can redistribute it and/or modify
#include <stdlib.h>
#include "message.h"
-#include "progname.h"
#include "error-progname.h"
#include "xalloc.h"
#include "xerror.h"
#include "error.h"
#include "xvasprintf.h"
#include "po-error.h"
+#if IN_LIBGETTEXTPO
+# include "getprogname.h"
+# define program_name getprogname ()
+#else
+# include "progname.h"
+#endif
#include "gettext.h"
#define _(str) gettext (str)
/* Use of program name in error-reporting functions.
- Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006, 2019 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
#include <stdio.h>
-#include "progname.h"
+#if IN_LIBGETTEXTPO
+# include "getprogname.h"
+# define program_name getprogname ()
+#else
+# include "progname.h"
+#endif
/* Indicates whether errors and warnings get prefixed with program_name.
/* Multiline error-reporting functions.
- Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006, 2019 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
#include <string.h>
#include "error.h"
-#include "progname.h"
#include "error-progname.h"
#include "mbswidth.h"
+#if IN_LIBGETTEXTPO
+# include "getprogname.h"
+# define program_name getprogname ()
+#else
+# include "progname.h"
+#endif
/* Emit a multiline warning to stderr, consisting of MESSAGE, with the
first line prefixed with PREFIX and the remaining lines prefixed with