instdso.sh revision 497fa819516523a34bb79eec20869719ec264694
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# Licensed to the Apache Software Foundation (ASF) under one or more
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# contributor license agreements. See the NOTICE file distributed with
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# this work for additional information regarding copyright ownership.
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# The ASF licenses this file to You under the Apache License, Version 2.0
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# (the "License"); you may not use this file except in compliance with
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# the License. You may obtain a copy of the License at
af3bccd6d87759f0b146bf5980bdd56144d70c7eLennart Poettering# http://www.apache.org/licenses/LICENSE-2.0
082694b75f0217f1c5b8b89590e5018f6d8b0949Lennart Poettering# Unless required by applicable law or agreed to in writing, software
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# distributed under the License is distributed on an "AS IS" BASIS,
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poettering# See the License for the specific language governing permissions and
454591be36880b0300b0448576c483a39d9cc611Lennart Poettering# limitations under the License.
f84aea434f2b014716ce9067f0af4db24a91a7c4Lennart Poettering# instdso.sh - install Apache DSO modules
f84aea434f2b014716ce9067f0af4db24a91a7c4Lennart Poettering# we use this instead of libtool --install because:
f84aea434f2b014716ce9067f0af4db24a91a7c4Lennart Poettering# 1) on a few platforms libtool doesn't install DSOs exactly like we'd
echo "wrong number of arguments to instdso.sh"
echo "Usage: instdso.sh SH_LIBTOOL-value dso-name path-to-modules"
echo $CMD
$CMD || exit $?
echo $CMD
$CMD || exit $?
if test -s "$TARGETDIR/$DSOARCHIVE_BASENAME"
LIBRARY_NAMES=`sed -n "/^library_names/{s/library_names='\([^']*\)'/\1/;p;}" $TARGETDIR/$DSOARCHIVE_BASENAME`
if test -z "$DLNAME"
echo "Warning! dlname not found in $TARGETDIR/$DSOARCHIVE_BASENAME."
if test -n "$LIBRARY_NAMES"