Fixed some minor problems.

CVS patchset: 1623
CVS date: 1997/05/14 18:42:47
This commit is contained in:
ewt 1997-05-14 18:42:47 +00:00
parent 5c28a3c541
commit 43e43407b8
1 changed files with 19 additions and 16 deletions

View File

@ -294,26 +294,29 @@ if test "x$tmpdir" = "x"; then
fi
# Solaris 2.5.1 seems to confuse things
if echo "$build" grep "solaris2.5" > /dev/null ; then
echo "Real Time is hacking things up for Solaris 2.5.x"
if echo "$build" | grep "solaris2.5" > /dev/null ; then
echo "Hacking things up for Solaris 2.5.x"
build_os="solaris"
fi
if echo "$build" | egrep 'solaris|hpux10|sco' >/dev/null ; then
# Solaris needs -ldl to use -lnsl, and it can't build static
# binaries if you use -ldl
RPM=rpm
# Solaris needs -ldl to use -lnsl, and it can't build static
# binaries if you use -ldl
if echo "$build_os" | grep solaris >/dev/null; then
echo "hacking things up for solaris"
RPM=rpm.shared
if echo "$build" | grep solaris >/dev/null; then
echo "hacking things up for solaris"
LIBDL=-ldl
elif echo "$build" | grep sco > /dev/null; then
echo "hacking things up for sco"
AC_DEFINE(NEED_STRINGS_H)
else
echo "hacking things up for hpux"
fi
else
RPM=rpm
LIBDL=-ldl
elif echo "$build_os" | grep sco > /dev/null; then
echo "hacking things up for sco"
RPM=rpm.shared
AC_DEFINE(NEED_STRINGS_H)
elif echo "$build_os" | grep sunos > /dev/null; then
echo "hacking things up for sunos"
CFLAGS="$CFLAGS -D__USE_FIXED_PROTOTYPES__"
AC_DEFINE(NEED_STRINGS_H)
elif echo "$build_os" | grep hpux > /dev/null; then
RPM=rpm.shared
echo "hacking things up for hpux"
fi
rm -f ./find-provides.sh