patch: fixincludes: fix glibc_mutex_init

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Sat Sep 6 21:51:00 GMT 2008


* Bruce Korb wrote on Sat, Sep 06, 2008 at 10:58:30PM CEST:
> On Sat, Sep 6, 2008 at 1:17 PM, Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
> >> --- configure.ac      (revision 140070)
> >> +++ configure.ac      (working copy)
> >> @@ -5,6 +5,7 @@
> >>  AC_CONFIG_AUX_DIR(..)
> >>  AC_CANONICAL_SYSTEM
> >>  AC_PROG_CC
> >> +AC_PROG_SED
> >
> > Autoconf 2.59 didn't have this macro AFAIR.  GCC has a copy in
> > libtool.m4 in the top level.  You may have to m4_sinclude it
> > for this though (and in this case the $(srcdir)/configure dependencies
> > should be adjusted).
> 
> Uh, oh.  I'm not exactly an autoconf expert.  I need some examples to
> copy from.  :(

Never mind.  I was looking wrongly at toplevel configure.ac rather than
fixincludes/configure.ac.

But you still need to help it a bit, because aclocal won't find the
definition of AC_PROG_SED itself.  You can just add
  m4_sinclude(../libtool.m4)  dnl needed for AC_PROG_SED

as the first line to fixincludes/configure.ac.  That should be
sufficient.

Cheers,
Ralf



More information about the Gcc-patches mailing list