You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2002/09/19 01:47:28 UTC
cvs commit: httpd-2.0/build instdso.sh
jerenkrantz 2002/09/18 16:47:28
Modified: build instdso.sh
Log:
Allow instdso.sh to be used with a .so file directly rather than requiring
a libtool archive.
Revision Changes Path
1.8 +7 -0 httpd-2.0/build/instdso.sh
Index: instdso.sh
===================================================================
RCS file: /home/cvs/httpd-2.0/build/instdso.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -u -r1.7 -r1.8
--- instdso.sh 16 Jun 2002 07:43:14 -0000 1.7
+++ instdso.sh 18 Sep 2002 23:47:28 -0000 1.8
@@ -49,6 +49,13 @@
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