libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring libtool HEAD branch.


From: Gary V . Vaughan
Subject: Re: Configuring libtool HEAD branch.
Date: Mon, 16 Apr 2001 20:06:26 +0100

Hi Dan,

On Thursday 12 April 2001  5:42 pm, address@hidden wrote:
> I just sucked down a fresh copy of the HEAD branch from cvs.
>
> libtool/ltdl.m4 contains the following line:
> AC_CHECK_FUNCS(memcpy bcopy, break)

Uh-huh.

> But there is nothing in libtool/configure.in nor
> libtool/libltdl/configure.in.

Nope.  That isn't how it works...

libltdl/configure.in contains a reference to AC_LIB_LTDL, the definition of 
which contains the call to AC_CHECK_FUNCs that you mention above.  This in 
turn leads to the definition of HAVE_MEMCPY (or not) in libltdl/config.h.

However, that is not related to the problem you are experiencing I think.  If 
your project relies on the correct definition of HAVE_MEMCPY then that 
project's configure.in must have AC_CHECK_FUNCS(memcpy) -- or its equivalent, 
e.g. AC_LIB_LTDL.

Having added this macro invocation to configure.in, you must run aclocal to 
add the macro definition to aclocal.m4, and then autoconf to add the full 
expansion of the macro to the configure script.  There is a nice appendix in 
The Goat Book with diagrams of how all of these interdependencies relate to 
one another.

> Dan

HTH,
        Gary.

> > From: "Gary V. Vaughan" <address@hidden>
> >
> > On Wednesday 11 April 2001 11:03 pm, address@hidden wrote:
> > > I am running into a small problem when using our native
> > > compiler because HAVE_MEMCPY is not being set (or even
> > > checked for).
> >
> > Do you have AC_CHECK_FUNCS(memcpy) in your configure.in?
> >
> > Cheers,
> >     Gary.
>
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool

-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]