]> granicus.if.org Git - apache/commitdiff
OS/2: Stop a bunch of error messages while doing a make install.
authorBrian Havard <bjh@apache.org>
Sun, 16 Jun 2002 07:43:14 +0000 (07:43 +0000)
committerBrian Havard <bjh@apache.org>
Sun, 16 Jun 2002 07:43:14 +0000 (07:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95710 13f79535-47bb-0310-9956-ffa450edef68

build/instdso.sh

index eb0945fa10f70c48b118ee4b6bef81b1a6501199..1a476ec18205ebbbf51ce2d509cbd95924d1b111 100755 (executable)
@@ -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"`