+1999-04-05 Thomas Tanner <tanner@gmx.de>
+
+ * demo/run.test: removed the unnecessary test
+ * demo/Makefile.am: ditto
+ * ltmain.in: set the DLL search path on cygwin,mingw and os2
+
1999-04-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
AUTOMAKE_OPTIONS = no-dependencies foreign
-EXTRA_DIST = $(TESTS) acinclude.m4
+EXTRA_DIST = acinclude.m4
# Build a libtool library, libhello.la for installation in libdir.
lib_LTLIBRARIES = libhello.la
# to its private directory.
objdir = `sed -n -e 's/^objdir=\(.*\)$$/\1/p' ../libtool`
-TESTS = run.test
-
# The following rules are only for the libtool demo and tests.
# Regenerate our acinclude.m4 only if it doesn't exist.
$(srcdir)/acinclude.m4:
old_convenience=
deplibs=
linkopts=
+ dllsearchpath=
lib_search_path=`pwd`
avoid_version=no
lib_search_path="$lib_search_path $dir"
;;
esac
+ case "$host" in
+ *-*-cygwin* | *-*-mingw* | *-*-os2*)
+ case ":$dllsearchpath:" in
+ *":$dir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$dir";;
+ esac
+ ;;
+ esac
continue
;;
*) perm_rpath="$perm_rpath $libdir" ;;
esac
fi
+ case "$host" in
+ *-*-cygwin* | *-*-mingw* | *-*-os2*)
+ case ":$dllsearchpath:" in
+ *":$libdir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$libdir";;
+ esac
+ ;;
+ esac
done
# Substitute the hardcoded libdirs into the rpath.
if test -n "$hardcode_libdir_separator" &&
"
fi
+ # fixup the dll searchpath if we need to.
+ if test -n "$dllsearchpath"; then
+ $echo >> $output "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
$echo >> $output "\
if test \"\$libtool_execute_magic\" != \"$magic\"; then
# Run the actual program with our arguments.