Remove support for HAS_ANSI_CONST (that was needed only for
authorTheodore Tso <tytso@mit.edu>
Thu, 20 Apr 1995 15:38:43 +0000 (15:38 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 20 Apr 1995 15:38:43 +0000 (15:38 +0000)
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

src/include/krb5/ChangeLog
src/include/krb5/configure.in
src/include/krb5/k5-config.h

index 8ab6bfd03d67979c1f10bbb34b77b49db954318a..ae16f8905d96f255f6d7dee95f6323d65456d066 100644 (file)
@@ -1,3 +1,10 @@
+Thu Apr 20 11:35:07 1995    <tytso@rsx-11.mit.edu>
+
+       * 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  <epeisach@kangaroo.mit.edu>
 
        * func-proto.h: Remove global_context hack. Added prototype for
index e14b87fed2fa559350e0100a0c7c9951fed58827..1152628b0783a634cc45a1414dc62edb00a533a2 100644 (file)
@@ -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)
index b65a466e7cad559c6ad1aed6e25fbfab448c3905..c8abd634e88c4607da8d4f7dd3abf862cae4f955 100644 (file)
@@ -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