summaryrefslogtreecommitdiff
path: root/modules/error
diff options
context:
space:
mode:
Diffstat (limited to 'modules/error')
-rw-r--r--modules/error4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/error b/modules/error
index 2945c48454..08370da770 100644
--- a/modules/error
+++ b/modules/error
@@ -15,10 +15,10 @@ msvc-nothrow [test $ac_cv_lib_error_at_line = no]
configure.ac:
gl_ERROR
-if test $ac_cv_lib_error_at_line = no; then
+AS_IF([test "$ac_cv_lib_error_at_line" = no], [
AC_LIBOBJ([error])
gl_PREREQ_ERROR
-fi
+])
m4_ifdef([AM_XGETTEXT_OPTION],
[AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])