On Wed, Oct 19, 2005 at 10:06:22PM +0400, Dmitry V. Levin wrote: > On Thu, Oct 20, 2005 at 12:00:39AM +0600, Andrey Rahmatullin wrote: > > On Wed, Oct 19, 2005 at 09:34:05PM +0400, Dmitry V. Levin wrote: > > > > Не подскажете, что надо вписать в configure.ac, чтобы при наличии libltdl > > > > в системе программа собиралась с ней, а при отсутствии - со своими > > > > ltdl.[ch]? > > > > И чем отличается AC_LIBLTDL_CONVENIENCE от AC_LIBLTDL_INSTALLABLE? > > > info libtool 'Distributing libltdl' > > Я это всё уже прочитал. > > Непохоже. :) > > "In order to select the installable version of libltdl, you should > add a call of the macro `AC_LIBLTDL_INSTALLABLE' to your `configure.in' > _before_ `AC_PROG_LIBTOOL'. This macro will check whether libltdl is > already installed and, if not, request the libltdl embedded in your > package to be built and installed. Note, however, that no version > checking is performed. The user may override the test and determine > that the libltdl embedded must be installed, regardless of the > existence of another version, using the configure switch > `--enable-ltdl-install'." Информация к размышлению: Для исправления libgcj3.4 достаточно было сделать следующее: %__subst s/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/ libjava/configure.in -- ldv