1dnl
2dnl Id
3dnl
4
5AC_DEFUN([rk_SUNOS],[
6sunos=no
7case "$host" in
8*-*-solaris2.7)
9          sunos=57
10          ;;
11*-*-solaris2.1[[1-9]])
12          AC_DEFINE([__EXTENSIONS__], [1],
13                      [Enable general extensions on Solaris.])
14          AC_DEFINE([_STDC_C11_BCI], [1],
15                    [Enable C11 prototypes for memset_s and friends])
16          sunos=511
17          ;;
18*-*-solaris2.[[89]] | *-*-solaris2.10)
19          sunos=58
20          ;;
21*-*-solaris2*)
22          sunos=50
23          ;;
24esac
25if test "$sunos" != no; then
26          AC_DEFINE_UNQUOTED(SunOS, $sunos,
27                    [Define to what version of SunOS you are running.])
28fi
29])
30