From: Theodore Tso Date: Thu, 20 Apr 1995 15:38:43 +0000 (+0000) Subject: Remove support for HAS_ANSI_CONST (that was needed only for X-Git-Tag: krb5-1.0-beta5~352 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb61d445ccae9162c0691b9c4bc4455de0c49dfd;p=krb5.git Remove support for HAS_ANSI_CONST (that was needed only for compatibility with the old imake build; autoconf uses -Dconst=), and HAS_ANSI_VOLATILE, which isn't used at all. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5386 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 8ab6bfd03..ae16f8905 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,10 @@ +Thu Apr 20 11:35:07 1995 + + * k5-config.h, configure.in: Remove support for HAS_ANSI_CONST + (that was needed only for compatibility with the old imake + build; autoconf uses -Dconst=), and HAS_ANSI_VOLATILE, + which isn't used at all. + Wed Apr 19 13:25:56 1995 Ezra Peisach * func-proto.h: Remove global_context hack. Added prototype for diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in index e14b87fed..1152628b0 100644 --- a/src/include/krb5/configure.in +++ b/src/include/krb5/configure.in @@ -111,22 +111,7 @@ AC_DEFINE(HAS_VOID_TYPE) fi dnl - -dnl base-defs.h tries to do the same thing anyhow. -dnl HAS_ANSI_CONST is here, but -Dconst= is better... AC_CONST -AC_DEFINE(HAS_ANSI_CONST) - -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 dnl Word sizes... AC_CHECK_SIZEOF(short) diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index b65a466e7..c8abd634e 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -59,7 +59,6 @@ #define NO_PASSWORD #define WM_KERBEROS5_CHANGED "Kerberos5 Changed" -#define HAS_ANSI_CONST /* For compiling w/o -Za */ #define HAS_ANSI_VOLATILE #define HAS_VOID_TYPE #define KRB5_PROVIDE_PROTOTYPES