aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-07-12 12:03:42 +0000
committerPaolo Bonzini <bonzini@gnu.org>2004-07-12 12:03:42 +0000
commit3e707e94a6ee534e78f76adfe8f30f7ec2fefbac (patch)
treec36755a9d8de256c99e70591336f1326febdde9f /configure.in
parent9f37c1d2aa6a5ddc0cb713d3f5011c17d328858f (diff)
downloadgdb-3e707e94a6ee534e78f76adfe8f30f7ec2fefbac.zip
gdb-3e707e94a6ee534e78f76adfe8f30f7ec2fefbac.tar.gz
gdb-3e707e94a6ee534e78f76adfe8f30f7ec2fefbac.tar.bz2
2004-07-12 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Add noconfigdirs for crx-*-*. * configure: Regenerate. 2004-07-09 Loren J. Rittle <ljrittle@acm.org> * configure.in: Build libmudflap by default on FreeBSD. * configure: Regenerated. 2004-07-09 Mark Mitchell <mark@codesourcery.com> * configure.in: Do not build libmudflap by default on non-GNU/Linux systems. * configure: Regenerated. 2004-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/16344 * Makefile.tpl (profiledbootstrap): Build runtime libraries with feedback based compiler. * Makefile.in: Rebuilt. 2004-07-05 Phil Edwards <phil@codesourcery.com> * configure.in: Do not prepend $srcdir to /dev/null in makefile fragments. * configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in30
1 files changed, 24 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index a66e946..3c17693 100644
--- a/configure.in
+++ b/configure.in
@@ -351,12 +351,24 @@ esac
# Allow --disable-libmudflap to exclude target-libmudflap
case $enable_libmudflap in
-yes | "")
- # By default it's enabled
+yes)
;;
no)
noconfigdirs="$noconfigdirs target-libmudflap"
;;
+"")
+ case "${target}" in
+ *-*-linux*)
+ # Enable libmudflap by default in GNU/Linux.
+ ;;
+ *-*-freebsd*)
+ # Enable libmudflap by default in FreeBSD.
+ ;;
+ *)
+ # Disable it by default everywhere else.
+ noconfigdirs="$noconfigdirs target-libmudflap"
+ ;;
+ esac
esac
@@ -503,6 +515,9 @@ case "${target}" in
cris-*-*)
noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
;;
+ crx-*-*)
+ noconfigdirs="$noconfigdirs target-libgloss target-libstdc++-v3 target-mudflap ${libgcj}"
+ ;;
d10v-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
;;
@@ -2039,10 +2054,13 @@ CXX_FOR_TARGET_FOR_RECURSIVE_MAKE="\$(STAGE_CC_WRAPPER) ${qqCXX_FOR_TARGET}"
RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE="\$(STAGE_CC_WRAPPER) ${qqRAW_CXX_FOR_TARGET}"
# Makefile fragments.
-host_makefile_frag=${srcdir}/${host_makefile_frag}
-target_makefile_frag=${srcdir}/${target_makefile_frag}
-alphaieee_frag=${srcdir}/${alphaieee_frag}
-ospace_frag=${srcdir}/${ospace_frag}
+for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
+do
+ eval fragval=\$$frag
+ if test $fragval != /dev/null; then
+ eval $frag=${srcdir}/$fragval
+ fi
+done
AC_SUBST_FILE(host_makefile_frag)
AC_SUBST_FILE(target_makefile_frag)
AC_SUBST_FILE(alphaieee_frag)