From: Ezra Peisach Date: Wed, 24 Oct 2001 15:22:55 +0000 (+0000) Subject: * configure.in: Use of AC_DEFINE modified to include third X-Git-Tag: krb5-1.3-alpha1~1012 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d63c1a73d6932e522b14da7739e07ceae3ea777;p=krb5.git * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13841 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index f50cb595c..8d18c2c41 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,9 @@ +2001-10-24 Ezra Peisach + + * 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 * krb5.hin: Add rc4-hmac, rc4-hmac-exp enctypes, hmac-md5-rc4 diff --git a/src/include/configure.in b/src/include/configure.in index c4f993e6f..09f57589b 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -9,7 +9,11 @@ AC_CHECK_FUNCS(strdup labs setvbuf memmove bcopy inet_ntoa inet_aton) 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 @@ -35,7 +39,7 @@ krb5_cv_has_ansi_stdio=yes, krb5_cv_has_ansi_stdio=no, 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... @@ -72,19 +76,19 @@ AC_CACHE_VAL(krb5_cv_has_type_socklen_t, 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(.)