[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in autoconf 2.62 with old GNU awk
From: |
Daniel Richard G. |
Subject: |
Bug in autoconf 2.62 with old GNU awk |
Date: |
Sat, 13 Dec 2008 01:46:14 -0500 |
I've encountered an Autoconf-related bug in attempting to build GNU coreutils
6.12 (packaged with autoconf 2.62) on an older Tru64 system.
% ./configure --disable-nls
[normal configure process output follows]
% gmake
Makefile:541: *** missing separator. Stop.
What's going on inside that makefile?
----begin Makefile snippet----
LTLIBOBJS = ${LIBOBJDIR}euidaccess-stat$U.lo ${LIBOBJDIR}fd-reopen$U.lo
${LIBOBJDIR}xfts$U.lo ${LIBOBJDIR}memxfrm$U.lo ${LIBOBJDIR}strintcmp$U.lo
${LIBOBJDIR}strnumcmp$U.lo
MAKEINFO = ${SHELL} /tmp/coreutils-6.12/build-aux/missing --run makeinfo
MAN = uname.1
chroot.1 <---- line 541
hostid.1
nice.1
who.1
users.1
pinky.1
uptime.1
stty.1
df.1
<---- yes, there's a blank line there
chcon.1
chgrp.1
chown.1
chmod.1
cp.1
dd.1
dircolors.1
du.1
\.1 <---- huh
install.1
link.1
ln.1
dir.1
[several more man-page filenames and "\.1" oddities follow]
whoami.1
yes.1
\.1
base64.1
MKDIR_P = build-aux/install-sh -c -d
MSGFMT = :
MSGFMT_015 = :
----end Makefile snippet----
Something is apparently the matter with the @MAN@ substitution:
----begin config.status snippet----
S["LIBTESTS_LIBDEPS"]=""
S["HELP2MAN"]="${SHELL} /tmp/coreutils-6.12/build-aux/missing --run help2man"
S["MAN"]="uname.1\n"\
"chroot.1\n"\
"hostid.1\n"\
"nice.1\n"\
"who.1\n"\
"users.1\n"\
"pinky.1\n"\
"uptime.1\n"\
"stty.1\n"\
"df.1\n"\
"\n"\
"chcon.1\n"\
"chgrp.1\n"\
"chown.1\n"\
"chmod.1\n"\
"cp.1\n"\
"dd.1\n"\
"dircolors.1\n"\
"du.1\n"\
"\\.1\n"\
"install.1\n"\
"link.1\n"\
"ln.1\n"\
----end config.status snippet----
Now, autoconf *is* using GNU awk...
configure:2620: checking for gawk
configure:2636: found /usr/bin/gawk
configure:2647: result: gawk
...but I think it might not be counting on this:
% /usr/bin/gawk -W version
Gnu Awk (gawk) 2.14, patchlevel 1
usage: gawk [-F fs] [-v var=val] [-W gawk-opts] -f progfile [--] file ...
gawk [-F fs] [-v var=val] [-W gawk-opts] [--] 'program' file ...
--Daniel
--
Daniel Richard G. || address@hidden
Software Developer, Teragram (a division of SAS)
http://www.teragram.com/
- Bug in autoconf 2.62 with old GNU awk,
Daniel Richard G. <=