On Mon, 3 Jul 2000 [EMAIL PROTECTED] wrote:
> On Mon, 3 Jul 2000, Mo DeJong wrote:
>
> > if test -n "$GCC"; then
> > AC_MSG_CHECKING([if the compiler understands -pipe])
> > OLDCC="$CC"
> > CC="$CC -pipe"
> > AC_TRY_COMPILE(,,
> > AC_MSG_RESULT(yes),
> > CC="$OLDCC"
> > AC_MSG_RESULT(no))
> > fi
>
> My concern is, on some platforms gcc -pipe just silently fails to create
> an output file but does not return an error code.
That sounds like the sort of "feature test" that autoconf
should be doing to make sure -pipe can be used. Could
you write up a macro to detect this case? You should
also submit a gcc bug report on this problem.
Mo DeJong
Red Hat Inc