tests: Use here-doc kadmin in Java test
[heimdal.git] / cf / sunos.m4
blobd9aa52cb642f7cf37c12401adef963a77accffc8
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.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         ;;
24 esac
25 if test "$sunos" != no; then
26         AC_DEFINE_UNQUOTED(SunOS, $sunos, 
27                 [Define to what version of SunOS you are running.])
29 AM_CONDITIONAL(SUNOS, test "$sunos" != no)