Hi Dan,
On Thursday 12 April 2001 5:42 pm, [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]>
> >
> > On Wednesday 11 April 2001 11:03 pm, [EMAIL PROTECTED] 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
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/libtool
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool