* aclocal.m4 (HAS_ANSI_VOLATILE): define it here for kdc and
authorMark Eichin <eichin@mit.edu>
Wed, 26 Apr 1995 18:30:17 +0000 (18:30 +0000)
committerMark Eichin <eichin@mit.edu>
Wed, 26 Apr 1995 18:30:17 +0000 (18:30 +0000)
kadmin.old to use.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5497 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 17869c441d54ec25c912202f6408a6d3d89b1696..26db01307311a87c669e6e106f760fb971884b92 100644 (file)
@@ -1,3 +1,8 @@
+Wed Apr 26 14:29:03 1995  Mark Eichin  <eichin@cygnus.com>
+
+       * aclocal.m4 (HAS_ANSI_VOLATILE): define it here for kdc and
+       kadmin.old to use.
+
 Mon Apr 24 13:30:00 1995 Keith Vetter (keithv@fusion.com)
 
        * Makefile.in: Fixed a PC work-around for doing a touch command.
index c2c25dc2ebd472f3d77fe53be99d1643e416f416..3a423afb5f757b4a9635b3ec2c3c96b138f6568e 100644 (file)
@@ -612,3 +612,17 @@ AC_ARG_WITH([netlib],
 [AC_CHECK_LIB(socket,main)
 AC_CHECK_LIB(nsl,main)]
 )])dnl
+dnl
+dnl HAS_ANSI_VOLATILE
+dnl
+define(HAS_ANSI_VOLATILE,[
+AC_MSG_CHECKING([volatile])
+AC_CACHE_VAL(krb5_cv_has_ansi_volatile,
+[AC_TRY_COMPILE(
+[volatile int x();], [],
+krb5_cv_has_ansi_volatile=yes, krb5_cv_has_ansi_volatile=no)])
+AC_MSG_RESULT($krb5_cv_has_ansi_volatile)
+if test $krb5_cv_has_ansi_volatile = yes; then
+AC_DEFINE(HAS_ANSI_VOLATILE)
+fi
+])dnl