On Windows, build error tables if we believe awk is present
authorDanilo Almeida <dalmeida@mit.edu>
Sat, 4 Dec 1999 04:06:37 +0000 (04:06 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Sat, 4 Dec 1999 04:06:37 +0000 (04:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11944 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/Makefile.in

index c2e6515a6ca74e9086261ded80bda7979a936adb..78f1a534604f038993f5618858b8b1f5fe443cdc 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-03  Danilo Almeida  <dalmeida@mit.edu>
+
+       * Makefile.in: On Windows, build error tables if we believe awk
+       is present.
+
 1999-12-03  Danilo Almeida  <dalmeida@mit.edu>
 
        * Makefile.in: Make Windows Makefile target creation atomic.
index c4a458fc192a6bbfc103c566c5b3210380455849..a69fe46439df3903fb04cde35f3d5ffc1ede18e1 100644 (file)
@@ -15,7 +15,7 @@ all-unix::
 
 all-mac::
 
-all-windows:: Makefile-windows
+all-windows:: maybe-awk Makefile-windows
        @echo Making in util
        cd util
        $(MAKE) -$(MFLAGS)
@@ -491,6 +491,17 @@ $(GG)gssapi.h: $(GG)gssapi.hin
 
 awk-windows-mac: $(ETOUT) $(HOUT)
 
+#
+# The maybe-awk target needs to happen after AWK is defined.
+#
+
+##DOS##maybe-awk::
+##DOS##!ifdef WHICH_CMD
+##DOS##!if ![ $(WHICH_CMD) $(AWK) ]
+##DOS##maybe-awk:: awk-windows-mac
+##DOS##!endif
+##DOS##!endif
+
 clean-windows-mac:
        rm -f $(CLEANUP)