#!/bin/sh

if [ -x /bin/ranlib ]; then
	/bin/ranlib $@
	exit $?
elif [ -x /usr/bin/ranlib ]; then
	/usr/bin/ranlib $@
	exit $?
elif [ -x /usr/ccs/bin/ar ]; then
# the location under Solaris 2
	/usr/ccs/bin/ar rs $@
	exit $?
elif [ -x /usr/bin/ar ]; then
	/usr/bin/ar rs $@
	exit $?
else
# ar had better be in the user's PATH, or we fail here
	ar rs $@
	exit $?
fi

exit 0
