Merge pull request #203 from sdigit/patch-1
[heimdal.git] / cf / sunos.m4
blob57a244e90e8b93395d0c40ccf4c1ba5e7467c79e
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         sunos=511
15         ;;
16 *-*-solaris2.[[89]] | *-*-solaris2.10)
17         sunos=58
18         ;;
19 *-*-solaris2*)
20         sunos=50
21         ;;
22 esac
23 if test "$sunos" != no; then
24         AC_DEFINE_UNQUOTED(SunOS, $sunos, 
25                 [Define to what version of SunOS you are running.])