diff options
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/et/ChangeLog | 4 | ||||
| -rw-r--r-- | src/util/et/configure.in | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 19e0b931b..2e7f1eb04 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 18 00:34:29 1994 Mark Eichin <eichin@cygnus.com> + + * configure.in: add caching to perror check (from epeisach). + Fri Oct 21 21:06:48 1994 (tytso@rsx-11) * Makefile.in (SED): Don't specify an explicit pathname for sed. diff --git a/src/util/et/configure.in b/src/util/et/configure.in index 8b0b695b5..c74139a03 100644 --- a/src/util/et/configure.in +++ b/src/util/et/configure.in @@ -10,8 +10,17 @@ AC_PROG_ARCHIVE AC_PROG_RANLIB HAVE_YYLINENO DECLARE_SYS_ERRLIST -AC_CHECKING(for perror declaration) -AC_HEADER_EGREP(perror, errno.h, AC_DEFINE(HDR_HAS_PERROR)) +dnl +dnl Fancy caching of perror result... +AC_MSG_CHECKING(for perror declaration) +AC_CACHE_VAL(krb5_cv_decl_perror, +[AC_HEADER_EGREP(perror, errno.h, + krb5_cv_decl_perror=yes, krb5_cv_decl_perror=no)])dnl +AC_MSG_RESULT($krb5_cv_decl_perror) +if test $krb5_cv_decl_perror = yes; then + AC_DEFINE(HDR_HAS_PERROR) +fi +dnl CHECK_STDARG AC_HAVE_HEADERS(stdlib.h) CopySrcHeader(com_err.h,$(BUILDTOP)/include) |
