summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure.ac6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 58fe07ff..0b10293b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-16 Paul Jakma <paul.jakma@sun.com>
+
+ * configure.ac: check for gawk, needed to build memtypes.h
+
2005-04-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* configure.ac: Move AC_CANONICAL_* stuff before AM_INIT_AUTOMAKE to
diff --git a/configure.ac b/configure.ac
index 645f7ea5..08b5214f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,7 @@
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
##
-## $Id: configure.ac,v 1.102 2005/04/11 14:55:55 ajs Exp $
+## $Id: configure.ac,v 1.103 2005/04/16 15:38:23 paul Exp $
AC_PREREQ(2.53)
AC_INIT(Quagga, 0.99.0, [http://bugzilla.quagga.net])
@@ -21,6 +21,10 @@ AC_CANONICAL_TARGET()
AM_INIT_AUTOMAKE(1.6)
AM_CONFIG_HEADER(config.h)
+dnl we need gawk for memtypes.awk
+AC_CHECK_PROG([GAWK],[gawk],[gawk],[/bin/false])
+AC_ARG_VAR([GAWK],[GNU AWK])
+
dnl default is to match previous behavior
exampledir=${sysconfdir}
AC_ARG_ENABLE([exampledir],