libtool/tests/tlibtool

18 lines
442 B
Plaintext
Raw Normal View History

1997-04-02 03:18:28 +08:00
#! /bin/sh
# tlibtool - A little test version of libtool.
if test -z "$srcdir"; then
echo "tlibtool: you must set \`\$srcdir' before running this test program" 1>&2
exit 1
fi
1997-04-02 03:53:01 +08:00
# Grab all the settings from the generated libtool.
eval "`egrep '^[A-Za-z_][A-Za-z0-9_]*=' ../libtool`"
1997-04-02 03:18:28 +08:00
# Use @VERSION@ so that we can use ../ltmain.sh.in directly.
LTCONFIG_VERSION="@VERSION@"
# Execute the libtool backend.
. $srcdir/../ltmain.sh.in
exit 1