summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-10-03 21:28:44 +0000
committerTheodore Tso <tytso@mit.edu>1994-10-03 21:28:44 +0000
commit6b087073d7c07eefd4e9f2fcc11cb7e6f2befd81 (patch)
tree13c21c2bef3317bc17f03837d0fe3c29208fed88 /src
parent4d1eecf53c98a00d4572b6cb42635cfc8ef5699e (diff)
downloadkrb5-6b087073d7c07eefd4e9f2fcc11cb7e6f2befd81.tar.gz
krb5-6b087073d7c07eefd4e9f2fcc11cb7e6f2befd81.tar.xz
krb5-6b087073d7c07eefd4e9f2fcc11cb7e6f2befd81.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/util/et/ChangeLog8
-rw-r--r--src/util/et/Makefile.in26
-rw-r--r--src/util/et/configure.in1
3 files changed, 29 insertions, 6 deletions
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