summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-10-31 13:20:44 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-10-31 13:20:44 +0000
commitf832be34493d48c0f83bc2cef0fb227812a5994a (patch)
treef264eae73c0a1d86746733176f74842cbc13fc60
parent0276c779dd608e33a67d98802f6ad3df76bf9fde (diff)
downloadmailutils-f832be34493d48c0f83bc2cef0fb227812a5994a.tar.gz
mailutils-f832be34493d48c0f83bc2cef0fb227812a5994a.tar.bz2
Always define program_name to program_invocation_name
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8cd94fd8a..ba5520556 100644
--- a/configure.ac
+++ b/configure.ac
@@ -452,6 +452,11 @@ AC_TRY_COMPILE([#include <argp.h>
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
+AH_BOTTOM([
+/* program_name is used by lib/error.c */
+#define program_name program_invocation_name
+])
+
if test "$ac_use_included_regex" = yes; then
MU_HEADER(regex.h)
fi

Return to:

Send suggestions and report system problems to the System administrator.