In testsuite: cat >test/test-1.as <<'_ATEOF' AS_INIT if false; then AS_UNSET([LINENO]) fi _AS_PREPARE echo "Line: $LINENO" grep 'Line: .*LINENO' $[0] >/dev/null || AS_ERROR([cannot find original script]) exit 0 _ATEOF
But once run with testsuite -v -x 15 % cat testsuite.dir/015/test/test-1.as AS_INIT if false; then AS_UNSET([LINENO]) fi _AS_PREPARE echo "Line: 2893" grep 'Line: .*LINENO' $[0] >/dev/null || AS_ERROR([cannot find original script]) exit 0 So, $LINENO was changed, but I don't see where that happens.. Any clues? (I suspect the autom4te -l m4sh test-1.as, but I tried that by hand and it left test-1.as alone (popping Line: 2893 into test-1) - stranger still, that test passes on a NetBSD-1.5ZB/i386 box, but not on two NetBSD-1.5ZC/i386 boxes, yet sed,gm4,perl,sh(bar one diff to do with ttys) are the same) Cheers, Patrick