Fixed some minor problems.
authorewt <devnull@localhost>
Wed, 14 May 1997 18:42:47 +0000 (18:42 +0000)
committerewt <devnull@localhost>
Wed, 14 May 1997 18:42:47 +0000 (18:42 +0000)
CVS patchset: 1623
CVS date: 1997/05/14 18:42:47

configure.in

index 8b479ac..d722ee8 100644 (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