libtool-patches
[Top][All Lists]
Advanced

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

Re: FYI: test subproject ltdl [283]


From: Ralf Wildenhues
Subject: Re: FYI: test subproject ltdl [283]
Date: Wed, 5 Oct 2005 17:55:11 +0200
User-agent: Mutt/1.5.11

Hi Gary,

* Gary V. Vaughan wrote on Wed, Oct 05, 2005 at 05:04:34PM CEST:
> 
> Applied to HEAD.

Doesn't work, unfortunately.

>   Index: Changelog
>   from  Gary V. Vaughan  <address@hidden>
>   
>       * tests/subproject.at: New tests for libltdl as a subproject with
>       its own configuration.
>       * tests/testsuite.at: Use it.
>       * Makefile.am (TESTSUITE_AT): Depend on it.

No copy of subproject.at posted, unfortunately.

But quoting some suspicious lines:


| # _LTDL_SETUP([CONFIGURE-OPTIONS], [LIBTOOLIZE-OPTIONS])
| # ------------------------------------------------------
| m4_define([_LTDL_SETUP],
| [AT_DATA([configure.ac],
| [[AC_INIT([subproject-demo], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
| LT_CONFIG_LTDL_DIR([sub/ltdl])
| AC_CONFIG_AUX_DIR([sub/ltdl/config])
| AC_CONFIG_MACRO_DIR([sub/ltdl/m4])
| AM_INIT_AUTOMAKE([foreign])
| LT_WITH_LTDL
| LT_INIT
| AC_CONFIG_FILES([Makefile])
| AC_OUTPUT
| ]])

_LTDL_SETUP does not use any of these options, nor receive them in the
usage.

| AT_DATA([Makefile.am],
| [[ACLOCAL_AMFLAGS = -I sub/ltdl/m4
| SUBDIRS = sub/ltdl
| lib_LTLIBRARIES = foo.la
| foo_la_LDFLAGS = -module -avoid-version
| ]])
| 
| touch foo.c
| ])# _LTDL_SETUP
| 
| ## ------------------------ ##
| ## Softlinked libltdl tree. ##
| ## ------------------------ ##
| 
| AT_SETUP([compiling softlinked libltdl])
| 
| _LTDL_SETUP
| LT_AT_BOOTSTRAP

LT_AT_BOOTSTRAP does not use --ltdl with libtoolize.  Thus no libltdl C
source files end up in the desired directory.  Same issue with other
tests.

| LT_AT_MAKE
| 
| AT_CHECK([test -f sub/ltdl/libltdlc.la])
| 
| AT_CLEANUP
*snip rest*

Cheers,
Ralf




reply via email to

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