From: Bruno Haible Date: Fri, 10 Feb 2023 01:36:22 +0000 (+0100) Subject: Fix compilation error on Cygwin. X-Git-Tag: v0.22~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83bdcc5bab812405b5ec5e943e37f3e49e335448;p=thirdparty%2Fgettext.git 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. --- 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.