This is the mail archive of the gdb-patches@sources.redhat.com 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]

autoconf fails within GDB


On Sep  8, 2000, Andrew Cagney <ac131313@cygnus.com> wrote:

> Alexandre Oliva wrote:
>> 
>> On Sep  7, 2000, Andrew Cagney <ac131313@cygnus.com> wrote:
>> 
>> > Alexandre Oliva wrote:
>> >>
>> >> On Sep  7, 2000, Andrew Cagney <ac131313@cygnus.com> wrote:
>> >>
>> >> > I can't regenerate configure et.al.

>> >> Drats!  This is caused by changes in bfd/acinclude.m4.  You'll have to
>> >> bring the following code fragment to gdb/acinclude.m4:

[snip]

>> > Thanks for the hint. It turned out that I just needed to run `aclocal`

>> That's probably because you don't have gettext.m4 in
>> ${automake's prefix}/share/aclocal.  It will bite whoever does, unless
>> it's fixed properly.  Would you like me to address this problem (i.e.,
>> post a patch to gdb-patches)?

> Ah, yes please!

Here's the patch.  Ok to install?

Index: gdb/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* acinclude.m4 (CY_GNU_GETTEXT): Add dummy definition, so that the
	one brought in by ../bfd/acinclude.m4 prevails.
	* aclocal.m4, configure: Rebuilt.

Index: gdb/acinclude.m4
===================================================================
RCS file: /cvs/src/src/gdb/acinclude.m4,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 acinclude.m4
--- gdb/acinclude.m4 1999/04/26 18:23:25 1.1.1.2
+++ gdb/acinclude.m4 2000/09/10 18:01:07
@@ -859,3 +859,10 @@ dnl    AC_SUBST(TIX_BUILD_INCLUDES)
     AC_SUBST(TIX_BUILD_LIB_SPEC)
 dnl    AC_SUBST(TIX_LIB_SPEC)
 ])
+
+dnl sinclude(../gettext.m4) already included by bfd/acinclude.m4
+dnl The lines below arrange for aclocal not to bring gettext.m4's
+dnl CY_GNU_GETTEXT into aclocal.m4.
+ifelse(yes,no,[
+AC_DEFUN([CY_GNU_GETTEXT],)
+])

-- 
Alexandre Oliva, GCC Team    +55 19 9714-3658

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