[AD] Remove -pipe

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The attached patch removes the -pipe build option (from mainline).  I don't 
think it really makes a difference.

Applied to mainline.

-- 
Eric Botcazou
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/alleg/allegro/aclocal.m4,v
retrieving revision 1.61
diff -u -r1.61 aclocal.m4
--- aclocal.m4	9 Apr 2004 10:37:42 -0000	1.61
+++ aclocal.m4	11 May 2004 16:45:26 -0000
@@ -679,22 +679,6 @@
 AC_MSG_RESULT($allegro_cv_support_include_prefix)])
 
 dnl
-dnl Test whether the assembler can read from a pipe.
-dnl
-dnl Variables:
-dnl  allegro_cv_can_use_pipe=(yes|no)
-dnl
-AC_DEFUN(ALLEGRO_ACTEST_GCC_PIPE,
-[AC_MSG_CHECKING(whether the assembler can read from a pipe)
-allegro_save_CFLAGS=$CFLAGS
-CFLAGS="-pipe $CFLAGS"
-AC_CACHE_VAL(allegro_cv_can_use_pipe, [
-AC_TRY_COMPILE(,int main(){return 0;},allegro_cv_can_use_pipe=yes, allegro_cv_can_use_pipe=no)
-])
-CFLAGS=$allegro_save_CFLAGS
-AC_MSG_RESULT($allegro_cv_can_use_pipe)])
-
-dnl
 dnl Test for the presence of a C++ compiler.
 dnl
 dnl Variables:
Index: configure.in
===================================================================
RCS file: /cvsroot/alleg/allegro/configure.in,v
retrieving revision 1.77
diff -u -r1.77 configure.in
--- configure.in	9 Apr 2004 10:37:43 -0000	1.77
+++ configure.in	11 May 2004 16:45:26 -0000
@@ -125,7 +125,6 @@
 AC_PROG_CC
 ALLEGRO_ACTEST_GCC_VERSION
 ALLEGRO_ACTEST_GCC_INCLUDE_PREFIX
-ALLEGRO_ACTEST_GCC_PIPE
 AC_PROG_CPP
 ALLEGRO_ACTEST_GCC_CXX
 ALLEGRO_ACTEST_PROG_LD_S
@@ -678,9 +677,6 @@
   else
     TARGET_ARCH=
   fi
-  if test "X$allegro_cv_can_use_pipe" = "Xyes"; then
-    CFLAGS="$CFLAGS -pipe"
-  fi
   dnl Allow to specify additional flags.
   CFLAGS="$CFLAGS $XCFLAGS"
   WFLAGS="$WFLAGS $WCFLAGS"


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/