libtool.m4 contains:

# serial 49 AC_PROG_LIBTOOL
AC_DEFUN_ONCE([LT_INIT],
AU_DEFUN([AC_PROG_LIBTOOL],         [LT_INIT])
AU_DEFUN([AM_PROG_LIBTOOL],         [LT_INIT])

and libtoolize looks for the AC_DEFUN of A[CM]_PROG_LIBTOOL.

So one trivial fix is to tell libtoolize to look for A[CU]_DEFUN of
A[CM]_PROG_LIBTOOL. However, maybe teaching it just about LT_INIT might
be more sensible - when can libtoolize be older than the libtool.m4 it
is trying to copy?

(This isn't the whole story though: even after convincing libtoolize to
copy the new libtool.m4:

src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:1: 
src/Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again.

from automake)

Cheers,

Patrick

On Thu, Feb 26, 2004 at 04:41:54PM +0000, Patrick Welche wrote:
> libtoolize: warning: no serial number on `/usr/local/share/libtool/m4/libtool.m4', 
> not copying.
> 
> libtoolize (GNU libtool 1.1434 2004/02/23 16:59:14) 1.5a
> -rw-r--r--  1 root  wheel  206060 Feb 26 14:55 /usr/local/share/libtool/m4/libtool.m4
> % grep serial /usr/local/share/libtool/m4/libtool.m4
> # serial 49 AC_PROG_LIBTOOL


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

Reply via email to