[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot build gawk 3.1.1 on Solaris 7
From: |
Paul Eggert |
Subject: |
Re: Cannot build gawk 3.1.1 on Solaris 7 |
Date: |
Wed, 9 Oct 2002 17:32:11 -0700 (PDT) |
> From: Stepan Kasal <address@hidden>
> Date: Wed, 9 Oct 2002 16:49:40 +0200
>
> the problem seems to be your locale configuration.
No, the problem is that gawk-3.1.1/intl/Makefile.in says this:
INCLUDES = -I.. -I. -I$(top_srcdir)/intl
and this include path does not see custom.h when the build directory
differs from the source directory.
To work around the problem, configure and build in the source directory.
I have tested this on Solaris 7 (sparc) with gcc.
My suggestion for fixing the bug is for Gawk to not ship the intl
directory at all, e.g. with the following patch. This is what most
other gettext-using packages are doing these days.
2002-10-09 Paul Eggert <address@hidden>
* configure.in (AM_GNU_GETTEXT): Switch from no-libtool to external.
--- old/configure.in 2002-04-29 05:23:32.000000000 -0700
+++ new/configure.in 2002-10-09 17:30:02.716361633 -0700
@@ -96,7 +96,7 @@
AM_C_PROTOTYPES
dnl initialize GNU gettext
-AM_GNU_GETTEXT([no-libtool], [need-ngettext])
+AM_GNU_GETTEXT([external], [need-ngettext])
dnl checks for header files
AC_HEADER_STDC