public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PATCH: Disable libmudflap when not on GNU/Linux
@ 2004-07-09 23:13 Mark Mitchell
  0 siblings, 0 replies; only message in thread
From: Mark Mitchell @ 2004-07-09 23:13 UTC (permalink / raw)
  To: gcc-patches


As previously discussed on the mailing list.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2004-07-09  Mark Mitchell  <mark@codesourcery.com>

	* configure.in: Do not build libmudflap by default on non-GNU/Linux
	systems.
	* configure: Regenerated.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.299
diff -c -5 -p -r1.299 configure.in
*** configure.in	5 Jul 2004 21:07:13 -0000	1.299
--- configure.in	9 Jul 2004 21:57:59 -0000
*************** no)
*** 349,364 ****
  esac
  
  
  # Allow --disable-libmudflap to exclude target-libmudflap
  case $enable_libmudflap in
! yes | "")
!     # By default it's enabled
      ;;
  no)
      noconfigdirs="$noconfigdirs target-libmudflap"
      ;;
  esac
  
  
  case "${target}" in
    *-*-chorusos)
--- 349,373 ----
  esac
  
  
  # Allow --disable-libmudflap to exclude target-libmudflap
  case $enable_libmudflap in
! yes)
      ;;
  no)
      noconfigdirs="$noconfigdirs target-libmudflap"
      ;;
+ "")
+     case "${target}" in
+     *-*-linux*)
+         # Enable libmudflap by default in GNU/Linux.
+ 	;;
+     *)
+         # Disable it by default everywhere else.
+ 	noconfigdirs="$noconfigdirs target-libmudflap"
+ 	;;
+     esac
  esac
  
  
  case "${target}" in
    *-*-chorusos)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-09 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-09 23:13 PATCH: Disable libmudflap when not on GNU/Linux Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).