This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failed to detect config.intl at sim/*/configure


On Mon, Jun 12, 2006 at 02:07:36PM +0900, Masaki Muranaka wrote:
> 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?

Index: config/gettext-sister.m4
===================================================================
RCS file: /cvs/src/src/config/gettext-sister.m4,v
retrieving revision 1.2
diff -u -p -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 12:58:14 -0000
@@ -21,6 +21,8 @@ GMSGFMT=	AC_SUBST(GMSGFMT)
 POSUB=		AC_SUBST(POSUB)
 if test -f ../intl/config.intl; then
   . ../intl/config.intl
+elif test -f ../../intl/config.intl; then
+  . ../../intl/config.intl
 fi
 AC_MSG_CHECKING([whether NLS is requested])
 if test x"$USE_NLS" != xyes; then
Index: sim/mips/configure
===================================================================
RCS file: /cvs/src/src/sim/mips/configure,v
retrieving revision 1.24
diff -u -p -r1.24 configure
--- sim/mips/configure	5 Jun 2006 14:21:13 -0000	1.24
+++ sim/mips/configure	12 Jun 2006 12:58:16 -0000
@@ -2705,6 +2705,8 @@ GMSGFMT=
 POSUB=
 if test -f ../intl/config.intl; then
   . ../intl/config.intl
+elif test -f ../../intl/config.intl; then
+  . ../../intl/config.intl
 fi
 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6


-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]