It appears that your version of libtool can't find its m4 file to incorporate it into your aclocal. I'd bet that aclocal does not know how to find your libtool.m4 file to include it since it is named libtool15.m4. If you rename it to libtool.m4 I'd bet this work straight out of the box.

David

David Thompson wrote:
 Run aclocal

 Now open aclocal.m4 and see if AC_DEFUN([AC_PROG_LIBTOOL] exists; if so,
 then continue on with autoheader, automake -a -i, autoconf. If not, then
 delete aclocal.m4 and try the libtoolize, aclocal again until it does
 exist.

I apologize for my ignorance on this libtool- and auto-stuff.

I played a bit with your recommended strategy and below are the sequence
of commands that seemed to work fine.
The crucial "missing link" is between the aclocal and autoheader commands:

   cat /usr/local/share/aclocal/libtool15.m4 >> aclocal.m4

Any ideas?

Here is what I've done:

$ cd dx
$ rm -f aclocal.m4
$ libtoolize --force --copy
You should add the contents of `/usr/local/share/aclocal/libtool15.m4' to `aclocal.m4'.
$ aclocal
$ grep AC_PROG_LIBTOOL aclocal.m4
$ cat /usr/local/share/aclocal/libtool15.m4 >> aclocal.m4
$ grep AC_PROG_LIBTOOL aclocal.m4
   # serial 47 AC_PROG_LIBTOOL
   # AC_PROG_LIBTOOL
   AC_DEFUN([AC_PROG_LIBTOOL],
   [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
   ])])# AC_PROG_LIBTOOL
   # _AC_PROG_LIBTOOL
   AC_DEFUN([_AC_PROG_LIBTOOL],
   define([AC_PROG_LIBTOOL], [])
   ])# _AC_PROG_LIBTOOL
   # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
   AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
$ autoheader
$ automake -a -i
$ autoconf

Cheers,
Rob.


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to