mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-28 06:26:12 -04:00
148 lines
5.4 KiB
Plaintext
148 lines
5.4 KiB
Plaintext
$NetBSD$
|
|
|
|
--- configure.ac.orig Tue Jan 25 15:49:54 2011
|
|
+++ configure.ac
|
|
@@ -185,9 +185,8 @@ libgcj="target-libffi \
|
|
|
|
# these libraries are built for the target environment, and are built after
|
|
# the host libraries and the host tools (which may be a cross compiler)
|
|
-#
|
|
+# Note that libiberty is not a target library.
|
|
target_libraries="target-libgcc \
|
|
- target-libiberty \
|
|
target-libgloss \
|
|
target-newlib \
|
|
target-libgomp \
|
|
@@ -506,14 +505,14 @@ case "${target}" in
|
|
;;
|
|
*-*-kaos*)
|
|
# Remove unsupported stuff on all kaOS configurations.
|
|
- skipdirs="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
|
|
+ skipdirs="${libgcj} target-libstdc++-v3 target-librx"
|
|
skipdirs="$skipdirs target-libobjc target-examples target-groff target-gperf"
|
|
skipdirs="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
|
|
noconfigdirs="$noconfigdirs target-libgloss"
|
|
;;
|
|
*-*-netbsd*)
|
|
# Skip some stuff on all NetBSD configurations.
|
|
- noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss"
|
|
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
|
|
|
# Skip some stuff that's unsupported on some NetBSD configurations.
|
|
case "${target}" in
|
|
@@ -525,20 +524,20 @@ case "${target}" in
|
|
esac
|
|
;;
|
|
*-*-netware*)
|
|
- noconfigdirs="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
|
|
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj} target-libmudflap"
|
|
;;
|
|
*-*-rtems*)
|
|
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
|
|
;;
|
|
# The tpf target doesn't support gdb yet.
|
|
*-*-tpf*)
|
|
- noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
|
|
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
|
|
;;
|
|
*-*-uclinux*)
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
|
|
;;
|
|
*-*-vxworks*)
|
|
- noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
|
|
+ noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libstdc++-v3 ${libgcj}"
|
|
;;
|
|
alpha*-dec-osf*)
|
|
# ld works, but does not support shared libraries.
|
|
@@ -566,7 +565,7 @@ case "${target}" in
|
|
sh*-*-pe|mips*-*-pe|*arm-wince-pe)
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
|
noconfigdirs="$noconfigdirs target-examples"
|
|
- noconfigdirs="$noconfigdirs target-libiberty texinfo send-pr"
|
|
+ noconfigdirs="$noconfigdirs texinfo send-pr"
|
|
noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
|
|
noconfigdirs="$noconfigdirs expect dejagnu"
|
|
# the C++ libraries don't build on top of CE's C libraries
|
|
@@ -600,7 +599,7 @@ case "${target}" in
|
|
libgloss_dir=arm
|
|
;;
|
|
arm*-*-symbianelf*)
|
|
- noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"
|
|
+ noconfigdirs="$noconfigdirs ${libgcj}"
|
|
libgloss_dir=arm
|
|
;;
|
|
arm-*-pe*)
|
|
@@ -619,7 +618,7 @@ case "${target}" in
|
|
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
|
|
;;
|
|
avr-*-*)
|
|
- noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
|
|
+ noconfigdirs="$noconfigdirs target-libstdc++-v3 ${libgcj} target-libssp"
|
|
;;
|
|
bfin-*-*)
|
|
unsupported_languages="$unsupported_languages java"
|
|
@@ -798,7 +797,7 @@ case "${target}" in
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
|
;;
|
|
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
|
|
- noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
|
+ noconfigdirs="$noconfigdirs target-libstdc++-v3 ${libgcj}"
|
|
libgloss_dir=m68hc11
|
|
;;
|
|
m68k-*-elf*)
|
|
@@ -869,7 +868,6 @@ case "${target}" in
|
|
noconfigdirs="$noconfigdirs gprof ${libgcj}"
|
|
;;
|
|
mips*-sde-elf*)
|
|
- skipdirs="$skipdirs target-libiberty"
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
|
if test x$with_newlib = xyes; then
|
|
noconfigdirs="$noconfigdirs gprof"
|
|
@@ -965,7 +963,7 @@ case "${target}" in
|
|
noconfigdirs="$noconfigdirs ${libgcj}"
|
|
;;
|
|
ip2k-*-*)
|
|
- noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
|
|
+ noconfigdirs="$noconfigdirs target-libstdc++-v3 ${libgcj}"
|
|
;;
|
|
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
|
|
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
|
@@ -1135,6 +1133,9 @@ case "${host}" in
|
|
tentative_cc="/usr/cygnus/progressive/bin/gcc"
|
|
host_makefile_frag="config/mh-lynxrs6k"
|
|
;;
|
|
+ i[[3456789]]86-*-darwin* | x86_64-*-darwin*)
|
|
+ host_makefile_frag="config/mh-x86-darwin"
|
|
+ ;;
|
|
powerpc-*-darwin*)
|
|
host_makefile_frag="config/mh-ppc-darwin"
|
|
;;
|
|
@@ -2104,27 +2105,6 @@ for dir in . $skipdirs $noconfigdirs ; do
|
|
fi
|
|
fi
|
|
done
|
|
-
|
|
-# Sometimes the tools are distributed with libiberty but with no other
|
|
-# libraries. In that case, we don't want to build target-libiberty.
|
|
-# Don't let libgcc imply libiberty either.
|
|
-if test -n "${target_configdirs}" ; then
|
|
- libgcc=
|
|
- others=
|
|
- for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
|
|
- if test "$i" = "libgcc"; then
|
|
- libgcc=target-libgcc
|
|
- elif test "$i" != "libiberty" ; then
|
|
- if test -r $srcdir/$i/configure ; then
|
|
- others=yes;
|
|
- break;
|
|
- fi
|
|
- fi
|
|
- done
|
|
- if test -z "${others}" ; then
|
|
- target_configdirs=$libgcc
|
|
- fi
|
|
-fi
|
|
|
|
# Quietly strip out all directories which aren't configurable in this tree.
|
|
# This relies on all configurable subdirectories being autoconfiscated, which
|