summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-02-10 02:36:22 +0100
committerBruno Haible <bruno@clisp.org>2023-02-11 11:32:45 +0100
commit83bdcc5bab812405b5ec5e943e37f3e49e335448 (patch)
treef14837c340cb982def87a1ea437b95c9567b3d45
parenta3a927cba0c5f6cceb55c435eace1df46e16908d (diff)
downloadgettext-83bdcc5bab812405b5ec5e943e37f3e49e335448.tar.gz
Fix compilation error on Cygwin.
The error occurred because Gnulib's error.h currently does not and HAVE_ERROR=0. In this case we shouldn't force the creation of error.h. * gettext-tools/configure.ac: Don't set ac_cv_lib_error_at_line=no. This reverts a workaround from 2012-12-25.
-rw-r--r--gettext-tools/configure.ac9
1 files changed, 1 insertions, 8 deletions
diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac
index 08e24c8bc..449cd284f 100644
--- a/gettext-tools/configure.ac
+++ b/gettext-tools/configure.ac
@@ -1,5 +1,5 @@
dnl Configuration for the gettext-tools directory of GNU gettext
-dnl Copyright (C) 1995-2022 Free Software Foundation, Inc.
+dnl Copyright (C) 1995-2023 Free Software Foundation, Inc.
dnl
dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -126,13 +126,6 @@ case "$host_os" in
esac
AM_CONDITIONAL([WINDOWS_NATIVE], [test $is_windows_native = yes])
-dnl On Cygwin 1.7.10-1 or later, error_* variables are defined in the
-dnl Cygwin DLL. To avoid any conflict with gettext DLLs, always link
-dnl to gnulib's error.c. See GETTEXTLIB_EXPORTS_FLAGS setting below.
-case "$host_os" in
- cygwin*) ac_cv_lib_error_at_line=no ;;
-esac
-
dnl Checks for libraries.
dnl These are the only lines required to internationalize the package.