From: Brian Havard Date: Sun, 16 Jun 2002 07:43:14 +0000 (+0000) Subject: OS/2: Stop a bunch of error messages while doing a make install. X-Git-Tag: 2.0.38~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fabd14680467f7821210bb5dff336553263c3f1;p=apache OS/2: Stop a bunch of error messages while doing a make install. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95710 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/instdso.sh b/build/instdso.sh index eb0945fa10..1a476ec182 100755 --- a/build/instdso.sh +++ b/build/instdso.sh @@ -37,6 +37,14 @@ CMD="$SH_LIBTOOL --mode=install cp $DSOARCHIVE $TARGETDIR/" echo $CMD $CMD || exit $? +if test "$SYS" = "OS/2" +then + # on OS/2, aplibtool --install doesn't copy the .la files & we can't + # rename DLLs to have a .so extension or they won't load so none of the + # steps below make sense. + exit 0 +fi + DLNAME=`grep "^dlname" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"` LIBRARY_NAMES=`grep "library_names" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"` LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"`