Hi,

autoconf does things like this:

        if test -z "$ac_dots"; then top_srcdir=.
        else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi

This will break if you:

*) configure in .
*) run certain versions of Digital/Tru64 UNIX
*) configure in AFS (or other networked filesystem)
*) the subdir path is as long as the relative path to /afs

The problem is that ac_dots is set to something like ../../../../, now
if you configure in, say, /afs/pdc.kth.se/foo/bar/baz, ac_dots will
point to (in some sense) /afs, and because of broken code in sh's
expand this will trigger a massive stat of everything in /afs, which
is wrong in general, and really brokwn on a networked filesystem.

The obvious workaround is to do `echo "$ac_dots" | sed ...` instead.

Don't know if there are more places this can happen, or if it affects
other shells (I suspect that csh works similarly). Now, how do you
file a bug-report to Compaq?

/Johan

Reply via email to