Replaced this test with explicit test for gawk' and awk' since `mawk'

1998-07-14  Martin Baulig  <baulig@Stud.Informatik.uni-trier.de>

	* configure.in (AC_PROG_AWK): Replaced this test with explicit test
	for `gawk' and `awk' since `mawk' doesn't work.
This commit is contained in:
Martin Baulig
1998-07-14 10:31:17 +00:00
committed by Martin Baulig
parent ef693a93bc
commit 9fd8936e93
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
1998-07-14 Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
* configure.in (AC_PROG_AWK): Replaced this test with explicit test
for `gawk' and `awk' since `mawk' doesn't work.
1998-07-14 Martin Baulig <martin@home-of-linux.org> 1998-07-14 Martin Baulig <martin@home-of-linux.org>
* src/daemon/gnuserv.c: Doing correct server initialization * src/daemon/gnuserv.c: Doing correct server initialization

View File

@@ -15,7 +15,10 @@ AC_PROG_CC
AC_STDC_HEADERS AC_STDC_HEADERS
AC_ARG_PROGRAM AC_ARG_PROGRAM
AC_PROG_AWK dnl We don't use `AC_PROG_AWK' since it checks for mawk first which
dnl does not work for libgtop.
AC_CHECK_PROGS(AWK, gawk awk, )
test -z "$AWK" && AC_MSG_ERROR([Sorry, you need a working awk interpreter.])
AC_CHECK_TOOL(CC,gcc) AC_CHECK_TOOL(CC,gcc)
AC_CHECK_TOOL(RANLIB,ranlib) AC_CHECK_TOOL(RANLIB,ranlib)