[954] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Adding cacheing to util/et

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Fri Nov 11 09:38:19 1994

From: epeisach@MIT.EDU
Date: Fri, 11 Nov 1994 09:38:07 -0500
To: krb5-bugs@MIT.EDU


I am starting to add caching support to some of the configure.in files
(when relevant) as well as the aclocal.m4 file...

As this is a case by case basis, I will send individual changes at a
time, saving the aclocal.m4 for when I am done... 

Why am I doing this - I am having fun with autoconf...

There are some definitions whih occur in multiple places in the tree
and are currently seperate. I will probably put them in aclocal.m4...

===================================================================
RCS file: /mit/krb5/.cvsroot/src/util/et/configure.in,v
retrieving revision 1.11
diff -c -r1.11 configure.in
*** 1.11	1994/10/26 05:45:51
--- configure.in	1994/11/11 14:21:31
***************
*** 10,17 ****
  AC_PROG_RANLIB
  HAVE_YYLINENO
  DECLARE_SYS_ERRLIST
! AC_CHECKING(for perror declaration)
! AC_HEADER_EGREP(perror, errno.h, AC_DEFINE(HDR_HAS_PERROR))
  CHECK_STDARG
  AC_HAVE_HEADERS(stdlib.h)
  CopySrcHeader(com_err.h,$(BUILDTOP)/include)
--- 10,26 ----
  AC_PROG_RANLIB
  HAVE_YYLINENO
  DECLARE_SYS_ERRLIST
! 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)

home help back first fref pref prev next nref lref last post