Commit 1ce985ab authored by David Lawrence's avatar David Lawrence
Browse files

do solaris-specific items on all solaris platforms, not just *sun-solaris*

parent 4bcc9c7b
#! /bin/sh
# From configure.in Revision: 1.102
# From configure.in Revision: 1.103
......@@ -931,7 +931,7 @@ if test "X$CC" = "X" ; then
*-dec-osf*)
CC="cc"
;;
*-sun-solaris*)
*-solaris*)
# Use Sun's cc if it is available, but watch
# out for /usr/ucb/cc; it will never be the right
# compiler to use.
......@@ -2057,7 +2057,7 @@ esac
# Make sure we get the right sigwait() semantics...
#
case "$host" in
*-sun-solaris*)
*-solaris*)
cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF
......@@ -2263,7 +2263,7 @@ if test "X$GCC" = "Xyes"; then
*-openbsd*)
CC="$CC -pthread"
;;
*-sun-solaris*)
*-solaris*)
LIBS="$LIBS -lthread"
;;
esac
......@@ -2273,7 +2273,7 @@ else
CC="$CC -std -pthread"
MKDEPCC="$CC"
;;
*-sun-solaris*)
*-solaris*)
CC="$CC -mt"
MKDEPCC="$CC"
MKDEPCFLAGS="-xM"
......
......@@ -13,7 +13,7 @@
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
# SOFTWARE.
AC_REVISION($Revision: 1.102 $)
AC_REVISION($Revision: 1.103 $)
AC_PREREQ(2.13)
......@@ -112,7 +112,7 @@ if test "X$CC" = "X" ; then
*-dec-osf*)
CC="cc"
;;
*-sun-solaris*)
*-solaris*)
# Use Sun's cc if it is available, but watch
# out for /usr/ucb/cc; it will never be the right
# compiler to use.
......@@ -268,7 +268,7 @@ esac
# Make sure we get the right sigwait() semantics...
#
case "$host" in
*-sun-solaris*)
*-solaris*)
AC_DEFINE(_POSIX_PTHREAD_SEMANTICS)
;;
esac
......@@ -323,7 +323,7 @@ if test "X$GCC" = "Xyes"; then
*-openbsd*)
CC="$CC -pthread"
;;
*-sun-solaris*)
*-solaris*)
LIBS="$LIBS -lthread"
;;
esac
......@@ -333,7 +333,7 @@ else
CC="$CC -std -pthread"
MKDEPCC="$CC"
;;
*-sun-solaris*)
*-solaris*)
CC="$CC -mt"
MKDEPCC="$CC"
MKDEPCFLAGS="-xM"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment