move some stuff here and rename to irix.m4

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11267 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-28 19:11:44 +00:00
parent f0d079413a
commit c5d305153d

26
cf/irix.m4 Normal file
View File

@@ -0,0 +1,26 @@
dnl
dnl $Id$
dnl
AC_DEFUN([rk_IRIX],
[
irix=no
case "$host" in
*-*-irix4*)
AC_DEFINE([IRIX4], 1,
[Define if you are running IRIX 4.])
irix=yes
;;
*-*-irix*)
irix=yes
;;
esac
AM_CONDITIONAL(IRIX, test "$irix" != no)dnl
AH_BOTTOM([
/* IRIX 4 braindamage */
#if IRIX == 4 && !defined(__STDC__)
#define __STDC__ 0
#endif
])
])