diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-09-19 01:47:28 +0200 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-09-19 01:47:28 +0200 |
commit | 846f09f7f41bfc5176efe7c07dc45935d9fc5556 (patch) | |
tree | 0e3aa2442cbb0fbd0b7524e44aa922dbe7109f37 /build | |
parent | If the user passed invalid credentials (user id or password) and auth_ldap is (diff) | |
download | apache2-846f09f7f41bfc5176efe7c07dc45935d9fc5556.tar.xz apache2-846f09f7f41bfc5176efe7c07dc45935d9fc5556.zip |
Allow instdso.sh to be used with a .so file directly rather than requiring
a libtool archive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rwxr-xr-x | build/instdso.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/instdso.sh b/build/instdso.sh index 1a476ec182..0751d28a4a 100755 --- a/build/instdso.sh +++ b/build/instdso.sh @@ -49,6 +49,13 @@ DLNAME=`grep "^dlname" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^' LIBRARY_NAMES=`grep "library_names" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"` LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"` +if test -z "$DLNAME" +then + echo "Warning! dlname not found in $TARGETDIR/$DSOARCHIVE_BASENAME." + echo "Assuming installing a .so rather than a libtool archive." + exit 0 +fi + if test -n "$LIBRARY_NAMES" then for f in $LIBRARY_NAMES |