libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Integrating libtool head into GraphicsMagick


From: Bob Friesenhahn
Subject: Integrating libtool head into GraphicsMagick
Date: Sun, 4 Dec 2005 19:55:35 -0600 (CST)

Ralph provided me with some patches to get development libtool integrated into development GraphicsMagick using a non-recursive build, but I have run into a hang-up. The problem is that libtool tests include code like:

AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
AC_CHECK_FUNCS([argz_append argz_create_sep argz_insert argz_next \
        argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])

This definition is in configure.ac (but seems to be ignored):

# Directory where AC_LIBOBJ replacement files are to be found.
AC_CONFIG_LIBOBJ_DIR([ltdl])

and the files are indeed directly under 'ltdl', but automake (1.9.6) fails with:

% automake
configure.ac:2736: required file `./lt__dirent.c' not found
configure.ac:2736: required file `./argz.c' not found
configure.ac:2736: required file `./lt__strl.c' not found

as if it is assuming the current directory rather than looking in 'ltdl'.

Looking at libltdl's Makefile.in I see that these files are normally listed in DIST_COMMON but are also in the current directory. For the case of the non-recursive build, the files live in a subdirectory.

Does anyone have an idea as to how Automake can be encouraged to look in the right place?

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]