+2001-10-24 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Use of AC_DEFINE modified to include third
+ argument - the comment for the generated header file so that
+ acconfig.h can be cleaned up.
+
2001-10-23 Sam Hartman <hartmans@mit.edu>
* krb5.hin: Add rc4-hmac, rc4-hmac-exp enctypes, hmac-md5-rc4
HAVE_YYLINENO
CHECK_DIRENT
AC_TYPE_UID_T
-AC_CHECK_HEADER(termios.h,[AC_CHECK_FUNC([tcsetattr],AC_DEFINE(POSIX_TERMIOS))])
+dnl
+AC_CHECK_HEADER(termios.h,dnl
+[AC_CHECK_FUNC([tcsetattr],dnl
+ AC_DEFINE(POSIX_TERMIOS,1,[Define if termios.h exists and tcsetattr exists]))])
+dnl
KRB5_SIGTYPE
AC_CHECK_HEADERS(stdlib.h string.h stddef.h unistd.h sys/types.h sys/file.h sys/param.h sys/stat.h sys/time.h netinet/in.h macsock.h xom.h)
AC_HEADER_STDARG
krb5_cv_has_ansi_stdio=yes)])dnl assume ANSI in cross environment
AC_MSG_RESULT($krb5_cv_has_ansi_stdio)
if test $krb5_cv_has_ansi_stdio = yes; then
-AC_DEFINE(ANSI_STDIO)
+AC_DEFINE(ANSI_STDIO,1,[Define if ANSI stdio is present (in particular "b" option to fopen)])
fi
dnl
dnl Word sizes...
krb5_cv_has_type_socklen_t=yes,krb5_cv_has_type_socklen_t=no)])
AC_MSG_RESULT($krb5_cv_has_type_socklen_t)
if test $krb5_cv_has_type_socklen_t = yes; then
- AC_DEFINE(HAVE_SOCKLEN_T)
+ AC_DEFINE(HAVE_SOCKLEN_T,1,[Define if there is a socklen_t type. If not, probably use size_t])
fi
dnl
dnl
AC_ARG_ENABLE([athena],
[ --enable-athena build with MIT Project Athena configuration],
-AC_DEFINE(KRB5_ATHENA_COMPAT),)
+AC_DEFINE(KRB5_ATHENA_COMPAT,1,[Define if MIT Project Athena default configuration should be used]),)
if test "$KRB4_LIB" = ''; then
AC_MSG_RESULT(No Kerberos 4 compatibility)
else
AC_MSG_RESULT(Kerberos 4 compatibility enabled)
- AC_DEFINE(KRB5_KRB4_COMPAT)
+ AC_DEFINE(KRB5_KRB4_COMPAT,1,[Define if Kerberos V4 backwards compatibility should be supported])
fi
dnl
K5_GEN_MAKEFILE(.)