summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-05 11:56:17 +0200
committerJim Meyering <meyering@redhat.com>2010-04-05 12:02:44 +0200
commitf95776680cc4c150fa213f8d59218c2e44cf0e21 (patch)
tree9b91c66e40afb0b4f4e78fa4e043cc9a5db290b5 /configure.ac
parent6aaf073ddc8eced8cbde3f687b1a6464476c6be4 (diff)
downloadgrep-f95776680cc4c150fa213f8d59218c2e44cf0e21.tar.gz
maint: fix new argmatch-related syntax-check failures
* configure.ac (ARGMATCH_DIE): Use usage(EXIT_FAILURE), not exit(1). * po/POTFILES.in: Add lib/argmatch.c.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 820b4590..7eaeed34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,8 +128,8 @@ if test "$gl_gcc_warnings" = yes; then
AC_SUBST([GNULIB_WARN_CFLAGS])
fi
-# By default, argmatch should fail calling usage (1).
-AC_DEFINE([ARGMATCH_DIE], [usage (1)],
+# By default, argmatch should fail calling usage (EXIT_FAILURE).
+AC_DEFINE([ARGMATCH_DIE], [usage (EXIT_FAILURE)],
[Define to the function xargmatch calls on failures.])
AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)],
[Define to the declaration of the xargmatch failure function.])