if test "$GCC" != yes ; then
  CC="$CC -Xa"			# relaxed ISO C mode
  CFLAGS="-v -DSUNOS4_CC"	# -v is like gcc -Wall
  if test "$enable_debug" != yes; then
    CFLAGS="$CFLAGS -O"		# any optimization breaks debug
  fi

  # Pick the right test-and-set (TAS) code for the Sun compiler.
  # We would like to use in-line assembler, but the compiler
  # requires *.il files to be on every compile line, making 
  # the build system too fragile.
  case $host in
    sparc-*-solaris*)
	need_tas=yes
	tas_file=solaris_sparc.s
    ;;
    i?86-*-solaris*)
	need_tas=yes
	tas_file=solaris_x86.s
    ;;
  esac
fi

# -D_POSIX_PTHREAD_SEMANTICS enables 5-arg getpwuid_r, among other things
