Hi,
I'm currently porting a program to libtool usage + libltdl.
In my configure.in I have:

<...>
AC_CONFIG_AUX_DIR(config)
<...>
AC_LIBLTDL_CONVENIENCE
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
<...>AC_CONFIG_SUBDIRS(libltdl)
<...>

I've libtoolized the package (libtoolize --force --copy --ltdl), so the
libltdl files are copied in the libltdl/ and libtool's scripts copied to
config/.
This causes libltdl/configure to run with the following parameters:
 running /bin/sh ./configure  --enable-ltdl-convenience
--cache-file=.././config.cache --srcdir=.
The problem is that I get errors:
configure: error: can not find install-sh or install.sh in . ./.. ./../..
configure: error: ./configure failed for libltdl

As you may notice those files are searched in ./ which is wrong. They should
be searched in ./config.
As temporarly workaround i've symlinked libtool script form config/ to the
topdir.

I guess, i'm obviously missing something, but what?
Looking at configure.in for libltdl, i've discovered there's a parameter to
specificy the aux_dir, but I didn't figure out how to pass it from the top
configure.in.

Any ideas to fix the problem?

Tools versions:
autoconf 2.13
automake 1.4-p4
libtool 1.4.2

Thanks in advance.

Regards,
Federico Mennite.





_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to