Require GNU awk
diff --git a/main/configure.ac b/main/configure.ac
index c9f8678..7963329 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -1055,8 +1055,7 @@
 if test -z "$GREP"; then
 GREP=$EGREP
 fi
-AC_PROG_AWK
-AC_PATH_PROG( AWK, $AWK)
+AC_PATH_PROG(AWK, gawk)
 
 dnl ===================================================================
 dnl  A space in $AWK is fatal, so take the 8.3 form when there is one
@@ -1092,7 +1091,7 @@
    ;;
 esac
 if test -z "$AWK"; then
-   AC_MSG_ERROR([install awk to run this script])
+   AC_MSG_ERROR([install GNU awk to build Apache OpenOffice])
 fi
 
 AC_PATH_PROGS(SED, sed )