From: Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk>
To: Daniel Jacobowitz <drow@false.org>
Cc: Richard.Earnshaw@buzzard.freeserve.co.uk,
gdb-patches@sourceware.org,
Masaki Muranaka <monaka@monami-software.com>,
Alexandre Oliva <aoliva@redhat.com>
Subject: Re: Failed to detect config.intl at sim/*/configure
Date: Mon, 12 Jun 2006 17:49:00 -0000 [thread overview]
Message-ID: <200606121748.k5CHmvi0020596@merlin.buzzard.freeserve.co.uk> (raw)
In-Reply-To: <1150125925.21187.56.camel@pc960.cambridge.arm.com>
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
mark@mcs.vuw.ac.nz said:
> > This can't use with sim because it was linked at not sim/
> > but sim/*/ .
> > I've tried to fix it, but I can't see how to get
> > the top level build directory.
> >
> > Would anyone fix it?
>
> I couldn't see how either - we want $ac_top_builddir but the only way
> to set it is undocumented. But, we can just keep trying. Want to try
> this patch?
> I was discussing exactly this problem with Alexander Olivia just last
> night. I think the patch he proposed to me and which I've run tests on is
> a bit more general than your solution. I'll post it tonight.
> R.
Here's the patch I have.
R.
2006/06/12 Richard Earnshaw <rearnsha@arm.com>
Alexandre Oliva <aoliva@redhat.com>
* config/gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Add optional
argument for where to search for NLS config file.
* sim/common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
* sim/common/common.m4: Likewise.
* sim/*/configure: Regenerate.
[-- Attachment #2: sim.patch --]
[-- Type: text/x-patch , Size: 2022 bytes --]
Index: config/gettext-sister.m4
===================================================================
RCS file: /cvs/src/src/config/gettext-sister.m4,v
retrieving revision 1.2
diff -p -u -r1.2 gettext-sister.m4
--- config/gettext-sister.m4 31 May 2006 15:14:35 -0000 1.2
+++ config/gettext-sister.m4 12 Jun 2006 17:37:27 -0000
@@ -19,8 +19,9 @@ INCINTL= AC_SUBST(INCINTL)
XGETTEXT= AC_SUBST(XGETTEXT)
GMSGFMT= AC_SUBST(GMSGFMT)
POSUB= AC_SUBST(POSUB)
-if test -f ../intl/config.intl; then
- . ../intl/config.intl
+
+if test -f ifelse([$1],,[../intl],[$1])/config.intl; then
+ . ifelse([$1],,[../intl],[$1])/config.intl
fi
AC_MSG_CHECKING([whether NLS is requested])
if test x"$USE_NLS" != xyes; then
Index: sim/common/aclocal.m4
===================================================================
RCS file: /cvs/src/src/sim/common/aclocal.m4,v
retrieving revision 1.13
diff -p -u -r1.13 aclocal.m4
--- sim/common/aclocal.m4 31 May 2006 15:14:40 -0000 1.13
+++ sim/common/aclocal.m4 12 Jun 2006 17:37:40 -0000
@@ -44,7 +44,7 @@ AC_PROG_RANLIB
dnl We don't use gettext, but bfd does. So we do the appropriate checks
dnl to see if there are intl libraries we should link against.
ALL_LINGUAS=
-ZW_GNU_GETTEXT_SISTER_DIR
+ZW_GNU_GETTEXT_SISTER_DIR(../../intl)
# Check for common headers.
# FIXME: Seems to me this can cause problems for i386-windows hosts.
Index: sim/common/common.m4
===================================================================
RCS file: /cvs/src/src/sim/common/common.m4,v
retrieving revision 1.3
diff -p -u -r1.3 common.m4
--- sim/common/common.m4 5 Jun 2006 14:21:11 -0000 1.3
+++ sim/common/common.m4 12 Jun 2006 17:37:40 -0000
@@ -39,7 +39,7 @@ AC_PROG_RANLIB
dnl We don't use gettext, but bfd does. So we do the appropriate checks
dnl to see if there are intl libraries we should link against.
ALL_LINGUAS=
-ZW_GNU_GETTEXT_SISTER_DIR
+ZW_GNU_GETTEXT_SISTER_DIR(../../intl)
# Check for common headers.
# FIXME: Seems to me this can cause problems for i386-windows hosts.
next prev parent reply other threads:[~2006-06-12 17:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-12 5:07 Masaki Muranaka
2006-06-12 12:59 ` Daniel Jacobowitz
2006-06-12 14:05 ` Masaki Muranaka
2006-06-12 14:23 ` Daniel Jacobowitz
2006-06-12 15:27 ` Richard Earnshaw
2006-06-12 17:49 ` Richard Earnshaw [this message]
2006-06-12 18:51 ` Daniel Jacobowitz
2006-06-12 20:48 ` Alexandre Oliva
2006-06-13 6:55 ` Masaki Muranaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606121748.k5CHmvi0020596@merlin.buzzard.freeserve.co.uk \
--to=richard.earnshaw@buzzard.freeserve.co.uk \
--cc=aoliva@redhat.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=monaka@monami-software.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox