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.

Reply via email to