@@ -282,8 +282,8 @@ AC_SUBST(GO_SYSCALL_OS_ARCH_FILE)
dnl Special flags used to generate sysinfo.go.
OSCFLAGS="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
case "$target" in
- *-*-solaris2.[[89]])
- # Solaris 8/9 need this so struct msghdr gets the msg_control
+ *-*-solaris2.9)
+ # Solaris 9 needs this so struct msghdr gets the msg_control
# etc. fields in <sys/socket.h> (_XPG4_2).
OSCFLAGS="$OSCFLAGS -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__"
;;
@@ -623,7 +623,7 @@ fi
dnl Check if makecontext expects the uc_stack member of ucontext to point
dnl to the top of the stack.
case "$target" in
- sparc*-*-solaris2.[[89]]*)
+ sparc*-*-solaris2.9*)
libgo_cv_lib_makecontext_stack_top=yes
;;
*)