This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] final libbanshee fix (hopefully)


We were not picking up the settings for libbanshee inside gcc.  This
patch sets it by default to yes.  Tested by building two different cc1s
(instead of just watching whether libbanshee builds or not).

Nathanael, could you please check it out?  I don't know if this is the
conventional way of handling --with-...  This is now somewhat different
from your original patch.


Thanks.  Diego.


        * configure.in: Set with_libbanshee to yes by default.
        * configure: Regenerate

gcc/ChangeLog.tree-ssa

        * configure.ac: Emit confirmation messages for libbanshee.
        * configure: Regenerate.


Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.161.2.43
diff -d -c -p -d -u -p -r1.161.2.43 configure.in
--- configure.in	29 Mar 2004 00:33:35 -0000	1.161.2.43
+++ configure.in	29 Mar 2004 14:59:03 -0000
@@ -315,6 +315,7 @@ case ${with_libbanshee} in
   no)
     noconfigdirs="$noconfigdirs libbanshee" ;;
   yes|"")
+    with_libbanshee=yes
     ;;
   *)
     AC_MSG_ERROR([--with-libbanshee can only be empty, "yes" or "no" (empty defaults to "yes".])
Index: gcc/configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.10.2.7
diff -d -c -p -d -u -p -r2.10.2.7 configure.ac
--- gcc/configure.ac	26 Mar 2004 16:21:55 -0000	2.10.2.7
+++ gcc/configure.ac	29 Mar 2004 14:59:06 -0000
@@ -2796,6 +2796,8 @@ else
   MAINT='#'
 fi
 AC_SUBST(MAINT)dnl
+
+AC_MSG_CHECKING([whether to use libbanshee for points-to alias analysis])
 AC_ARG_WITH(libbanshee,
 [  --with-libbanshee	  enable libbanshee],
 libbanshee="$with_libbanshee",
@@ -2817,6 +2819,7 @@ else
 	BANSHEEREBUILD=""
 	ANDER=""
 fi
+AC_MSG_RESULT($with_libbanshee)
 
 AC_SUBST(ANDER)
 AC_SUBST(BANSHEEINC)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]