Remove --disable-gcc-pipe option.

Bug #81031
This commit is contained in:
seawood%netscape.com 2001-12-02 21:56:15 +00:00
parent d6812466c3
commit 8e430ec9b5

View File

@ -3399,14 +3399,8 @@ MOZ_ARG_HEADER(Compiler Options)
dnl ========================================================
dnl Check for gcc -pipe support
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(gcc-pipe,
[ --disable-gcc-pipe Disable -pipe check for gcc],
NO_GCC_PIPE=1)
AC_MSG_CHECKING([for gcc -pipe support])
if test -n "$NO_GCC_PIPE"; then
AC_MSG_RESULT([disabled])
elif test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
echo '#include <stdio.h>' > dummy-hello.c
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5