auxilary files in the libltdl directory.
* Makefile.am: Add to the ltmain.sh rule to copy it into the
libltdl subdirectory.
* bootstrap: Explicitly handle ltmain.sh in libltdl, and pass
--copy to automake.
+2003-02-24 Robert Boehne <rboehne@gnu.org>
+
+ * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place
+ auxilary files in the libltdl directory.
+ * Makefile.am: Add to the ltmain.sh rule to copy it into the
+ libltdl subdirectory.
+ * bootstrap: Explicitly handle ltmain.sh in libltdl, and pass
+ --copy to automake.
+
2003-02-24 Ralph Schleicher <rs@nunatak.allgaeu.org>
* libtool.m4 (AC_LIBTOOL_SETUP): Check for ar.
-e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT
mv -f ltmain.shT $@ || \
(rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)
+ cp $@ $(srcdir)/libltdl/
# TSDEPS will be defined to TSDEPS_DIST at `make dist' time
TSDEPS =
# fake the libtool scripts
touch ltmain.sh
touch libtoolize
+(cd libltdl && touch ltmain.sh)
for sub in . libltdl cdemo demo depdemo mdemo pdemo tagdemo f77demo; do
case $sub in
libltdl)
top_srcdir=..
acfiles="$top_srcdir/libtool.m4 $top_srcdir/ltdl.m4"
- AUTOMAKE_FLAGS="--gnits --add-missing"
+ AUTOMAKE_FLAGS="--gnits --add-missing --copy"
;;
*)
top_srcdir=..
cd $top_srcdir
done
-rm -f ltmain.sh libtoolize
+rm -f ltmain.sh libtoolize libltdl/ltmain.sh
exit 0
## Libltdl specific configuration. ##
## ------------------------------- ##
-# We shouldn't be using these internal macros of autoconf,
-# but CONFIG_AUX_DIR($with_auxdir) breaks automake.
-AC_ARG_WITH([auxdir],
- [AC_HELP_STRING([--with-auxdir=DIR], [path to autoconf auxiliary files])],
- [AC_CONFIG_AUX_DIRS($with_auxdir)],
- [AC_CONFIG_AUX_DIR_DEFAULT])
+AC_CONFIG_AUX_DIR([.])
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
if test -f ${srcdir}/ltmain.sh; then