From: Theodore Tso Date: Mon, 3 Oct 1994 21:28:44 +0000 (+0000) Subject: Don't try to compile comple_et. Use awk/sed shell script version instead. X-Git-Tag: krb5-1.0-beta4.3~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b087073d7c07eefd4e9f2fcc11cb7e6f2befd81;p=krb5.git Don't try to compile comple_et. Use awk/sed shell script version instead. It's more apt to be portable, since it doesn't use yacc or lex. :-( git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4426 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 1382bc85f..7d81cdf91 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 3 17:27:28 1994 Theodore Y. Ts'o (tytso@dcl) + + * Makefile.in: + configure.in: Don't try to compile compile_et. Use awk/sed + version instead. It's more apt to be portable, since it + doesn't use awk or sed. :-( + + Fri Sep 30 17:12:15 1994 Theodore Y. Ts'o (tytso@dcl) * compile_et.c: Add declaration of error_message() manually. diff --git a/src/util/et/Makefile.in b/src/util/et/Makefile.in index 3a0d02d6e..c6aee8920 100644 --- a/src/util/et/Makefile.in +++ b/src/util/et/Makefile.in @@ -1,5 +1,6 @@ CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) LDFLAGS = -g +SED = /bin/sed INSTALLFILE = cp @@ -38,14 +39,27 @@ error_table.o: et_lex.lex.c all:: compile_et includes -compile_et: compile_et.o error_table.o - $(CC) $(CFLAGS) -o $@ compile_et.o error_table.o $(LEXLIB) $(BSDLIB) - -install:: - $(INSTALLPROG) compile_et ${DESTDIR}$(PROGDIR)/compile_et +# The realm compile_et just isn't portable. (But then again, anything using +# lex and yacc isn't portable by definition. :-( ) +# +#compile_et: compile_et.o error_table.o +# $(CC) $(CFLAGS) -o $@ compile_et.o error_table.o $(LEXLIB) $(BSDLIB) +# +#install:: +# $(INSTALLPROG) compile_et ${DESTDIR}$(PROGDIR)/compile_et +compile_et: $(srcdir)/compile_et.sh $(srcdir)/config_script + $(srcdir)/config_script $(srcdir)/compile_et.sh $(AWK) $(SED) > compile_et + chmod 755 compile_et + +et_c.awk: $(srcdir)/et_c.awk + $(CP) $(srcdir)/et_c.awk et_c.awk + +et_h.awk: $(srcdir)/et_h.awk + $(CP) $(srcdir)/et_h.awk et_h.awk + clean:: - $(RM) compile_et compile_et.o error_table.o + $(RM) compile_et compile_et.o error_table.o et_c.awk et_h.awk depend:: diff --git a/src/util/et/configure.in b/src/util/et/configure.in index 31d62d277..829f029d7 100644 --- a/src/util/et/configure.in +++ b/src/util/et/configure.in @@ -5,6 +5,7 @@ AC_SET_BUILDTOP AC_CONST AC_PROG_LEX AC_PROG_YACC +AC_PROG_AWK AC_PROG_ARCHIVE AC_PROG_RANLIB HAVE_YYLINENO