Glibc-2.7: awk should be gawk, not mawk
Petr Ovtchenkov
ptr at island.corbina.net
Wed Jan 16 00:30:27 MST 2008
On Tuesday 15 January 2008 21:57, Dan Nicholson wrote:
>
> The glibc configure script uses the macro AC_PROG_AWK. This looks for
> gawk first in the path before falling back to mawk, nawk or awk. So,
> while it's not enforced, if you follow the LFS host requirements, it
> will work.
Really?
grep -r awk glibc-2.7 | grep -v gawk
...
glibc-2.7/elf/Makefile: | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
...
glibc-2.7/nss/db-Makefile:AWK = awk
...
glibc-2.7/manual/tsort.awk:#! /usr/bin/awk -f
...
glibc-2.7/sysdeps/ia64/fpu/import_intel_libm: awk -f import_file.awk FUNC=$1 $2 > $3
glibc-2.7/sysdeps/ia64/fpu/import_intel_libm: awk -f import_file.awk LICENSE_ONLY=y $2 > $3
(for reference only: my problem begin when awk -> mawk fail on regexp on first line of
listing above [in glibc-2.7/elf/Makefile]).
- ptr
More information about the lfs-dev
mailing list