httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@imdb.com (Rob Hartill)
Subject Re: WWW Form Bug Report: "GCC reports error: util_script.c:83: `ARG_MAX' undeclared (first use this function)" on HPUX (fwd)
Date Thu, 26 Dec 1996 19:57:35 GMT
Chuck Murcko wrote:
>
>I had sent Ben a snippet that would use either cut or awk. That may be what
>needs to be done here, define a $CUT macro that's either an awk command
>or a cut command, depending on what's available.

Mmmm. Here's the problem:

awk -v make=$makefile_tmpl >Makefile <$tmpfile '\
   BEGIN { printf "# Makefile automatically generated from %s\n", make; \

Solaris' awk doesn't like the new "-v" flag to pass the name of the
Makefile.tmpl file being used.

At worst we can nuke this bit unless someone knows enough awk to show
us the right way to do this so that it work on all awks.


rob

Mime
View raw message