summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-04-20 15:38:43 +0000
committerTheodore Tso <tytso@mit.edu>1995-04-20 15:38:43 +0000
commitcb61d445ccae9162c0691b9c4bc4455de0c49dfd (patch)
treec46d12f22d7fa64519f70cbd75c0f2ab48acde90 /src
parent85e926aa90f4586ec2b214f450fc90fa4efd9ced (diff)
downloadkrb5-cb61d445ccae9162c0691b9c4bc4455de0c49dfd.tar.gz
krb5-cb61d445ccae9162c0691b9c4bc4455de0c49dfd.tar.xz
krb5-cb61d445ccae9162c0691b9c4bc4455de0c49dfd.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/krb5/ChangeLog7
-rw-r--r--src/include/krb5/configure.in15
-rw-r--r--src/include/krb5/k5-config.h1
3 files changed, 7 insertions, 16 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 8ab6bfd03d..ae16f8905d 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -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
diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in
index e14b87fed2..1152628b07 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 b65a466e7c..c8abd634e8 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