debian: Check for gawk.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Jul 2011 07:32:54 +0000 (08:32 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Jul 2011 07:32:54 +0000 (08:32 +0100)
configure.ac

index 1e748ab..5d3ddd3 100644 (file)
@@ -92,6 +92,11 @@ AC_CHECK_HEADER([ext2fs/ext2fs.h],[],[
   AC_MSG_FAILURE([Header <ext2fs/ext2fs.h> not found (part of e2fsprogs)])
 ])
 
+AC_CHECK_PROG(GAWK,[gawk],[gawk],[no])
+if test "x$GAWK" = "xno" ; then
+  AC_MSG_FAILURE([gawk (GNU awk) not found])
+fi
+
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([config.ml
         debian/changelog