From 449eccd7dff8191cd007cdbb36337670cba1af78 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Wed, 28 Aug 2002 19:53:51 +0000 Subject: [PATCH] various sunos tests git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11280 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/sunos.m4 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 cf/sunos.m4 diff --git a/cf/sunos.m4 b/cf/sunos.m4 new file mode 100644 index 000000000..641381ee2 --- /dev/null +++ b/cf/sunos.m4 @@ -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 +]) \ No newline at end of file