From 18b60160a108f4826a7b0190b66a6129a9e891e8 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Fri, 1 Jul 1994 17:03:41 +0000 Subject: [PATCH] WITH_CC, EXTRA_RULES_IN git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3938 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 7 +++++++ src/aclocal.m4 | 25 +++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index bc9543053..60640424a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Fri Jul 1 13:01:19 1994 Mark Eichin (eichin@cygnus.com) + + * aclocal.m4: added WITH_CC for use when CONFIG_RULES isn't safe. + added EXTRA_RULES_IN for chosing the file that the extra rules get + appended to (particularly for lib/krb5/asn.1). + made CONFIG_RULES use WITH_CC directly. + Fri Jul 1 02:21:51 1994 Tom Yu (tlyu at dragons-lair) * aclocal.m4: fixes for dealing with new version of autoconf, in diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 6ac334207..c4b3e86c4 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -153,15 +153,18 @@ undivert(9) SUBDIREOF ])dnl dnl +dnl take saved makefile stuff and put it in the Makeile +dnl +define(EXTRA_RULES_IN,[ +cat >> $1 <<"SUBDIREOF" +undivert(9) +SUBDIREOF +])dnl +dnl dnl drop in standard configure rebuild rules -- CONFIG_RULES dnl define(CONFIG_RULES,[ -AC_WITH([cc], -echo CC=$withval -CC=$withval, -if test -z "$CC" ; then CC=cc; fi -echo CC defaults to $CC)dnl -AC_SUBST([CC])dnl +WITH_CC dnl divert(9)dnl [ Makefile: $(srcdir)/Makefile.in config.status @@ -290,6 +293,16 @@ echo "no krb4 support; use --with-krb4=krb4dir" KRB4=)dnl AC_SUBST(KRB4)])dnl dnl +dnl set $(CC) from --with-cc=value +dnl +define(WITH_CC,[ +AC_WITH([cc], +echo CC=$withval +CC=$withval, +if test -z "$CC" ; then CC=cc; fi +echo CC defaults to $CC)dnl +AC_SUBST([CC])])dnl +dnl dnl set $(CCOPTS) from --with-ccopts=value dnl define(WITH_CCOPTS,[ -- 2.26.2