in sh, equal compare is really = for strings, not ==
[heimdal.git] / cf / sunos.m4
blobd81be70d435e7165536392ba91a3b1b765626247
1 dnl
2 dnl $Id$
3 dnl
5 AC_DEFUN([rk_SUNOS],[
6 sunos=no
7 case "$host" in 
8 *-*-solaris2.7)
9         sunos=57
10         ;;
11 *-*-solaris2.[[89]] | *-*-solaris2.1[[0-9]])
12         sunos=58
13         ;;
14 *-*-solaris2*)
15         sunos=50
16         ;;
17 esac
18 if test "$sunos" != no; then
19         AC_DEFINE_UNQUOTED(SunOS, $sunos, 
20                 [Define to what version of SunOS you are running.])