From: Mark Eichin Date: Wed, 26 Apr 1995 18:30:17 +0000 (+0000) Subject: * aclocal.m4 (HAS_ANSI_VOLATILE): define it here for kdc and X-Git-Tag: krb5-1.0-beta5~252 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=232a08214ef0010281707e49a8dcbc9ce3fdcedf;p=krb5.git * aclocal.m4 (HAS_ANSI_VOLATILE): define it here for kdc and kadmin.old to use. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5497 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 17869c441..26db01307 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Wed Apr 26 14:29:03 1995 Mark Eichin + + * 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. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index c2c25dc2e..3a423afb5 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -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