This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
autoconf fails within GDB
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: autoconf fails within GDB
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 Sep 2000 15:03:04 -0300
- Cc: gdb-patches at sources dot redhat dot com
- Organization: GCC Team, Red Hat
- References: <39B72B85.FAE54B7B@cygnus.com><orbsy0wxnf.fsf@guarana.lsd.ic.unicamp.br><39B77489.DD736BC2@cygnus.com><orlmx3o158.fsf@guarana.lsd.ic.unicamp.br><39B8ECB8.5AC1E34B@cygnus.com>
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