On Sun, Jun 12, 2005 at 08:49:01PM -0700, Tim Freeman wrote:
I was using my PC running Linux to compile iftop for my Linksys WRT54GS router running Openwrt (which is an instance of Linux), and I discovered that the "configure" script for iftop doesn't support cross-compilation. It insists on running experiments on the local host. I rearranged configure.in so the generated "configure" script supports cross-compilation.
Some of the macros used in the old configure.in were deprecated according to current autoconf documentation, so I substituted current ones.
Excellent - someone who understands autoconf!
Here's a patch to configure.in. The patch also adds a NO_SYSTEM compiler flag that, when set, disables the "!" key that starts a subshell. This makes me more willing to run iftop as the login shell of a passwordless account so the other users of my router can triage some network performance problems without bugging me.
Good plan - both of these are now committed to CVS, and will appear in the next release.
thanks,
Paul