various sunos tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11280 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
25
cf/sunos.m4
Normal file
25
cf/sunos.m4
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
dnl
|
||||||
|
dnl $Id$
|
||||||
|
dnl
|
||||||
|
|
||||||
|
AC_DEFUN([rk_SUNOS],[
|
||||||
|
sunos=no
|
||||||
|
case "$host" in
|
||||||
|
*-*-sunos4*)
|
||||||
|
sunos=40
|
||||||
|
;;
|
||||||
|
*-*-solaris2.7)
|
||||||
|
sunos=57
|
||||||
|
;;
|
||||||
|
*-*-solaris2.[89])
|
||||||
|
sunos=58
|
||||||
|
;;
|
||||||
|
*-*-solaris2*)
|
||||||
|
sunos=50
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
if test "$sunos" != no; then
|
||||||
|
AC_DEFINE_UNQUOTED(SunOS, $sunos,
|
||||||
|
[Define to what version of SunOS you are running.])
|
||||||
|
fi
|
||||||
|
])
|
Reference in New Issue
Block a user