Harlan Stenn <[EMAIL PROTECTED]> writes: > Apparently there is a bug in gcc-3.1 regarding -pipe; it causes "configure" > to just hang. > > Is there a better way to detect the version of gcc in autoconf other than > parse the output of "gcc --version" so I can avoid testing for -pipe when > I see that version of gcc?
I'd check for the bug directly. Invoke 'gcc -pipe' in one subprocess, and have another one sleep for 5 seconds and then kill the first subprocess. Check the exit status of the first subprocess.
