From e2ad63e36348a3e534f6f55b902e22d3ad98be30 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 11 Apr 2008 10:44:47 +0000 Subject: gcc 4.3.0: add all patches from debian and fedora into their respective subdirs and apply a few. --- packages/gcc/gcc-4.3.0.inc | 20 +- packages/gcc/gcc-4.3.0/debian/.mtn2git_empty | 0 packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch | 78 + packages/gcc/gcc-4.3.0/debian/ada-alpha.dpatch | 88 + .../debian/ada-default-project-path.dpatch | 147 + .../gcc/gcc-4.3.0/debian/ada-driver-check.dpatch | 50 + packages/gcc/gcc-4.3.0/debian/ada-driver.dpatch | 42 + packages/gcc/gcc-4.3.0/debian/ada-gcc-name.dpatch | 87 + packages/gcc/gcc-4.3.0/debian/ada-gnatvsn.dpatch | 46 + .../gcc/gcc-4.3.0/debian/ada-libgnatprj.dpatch | 4809 + .../gcc/gcc-4.3.0/debian/ada-libgnatvsn.dpatch | 1598 + packages/gcc/gcc-4.3.0/debian/ada-link-lib.dpatch | 1932 + packages/gcc/gcc-4.3.0/debian/ada-sjlj.dpatch | 1307 + .../debian/ada-symbolic-tracebacks.dpatch | 346 + .../gcc/gcc-4.3.0/debian/alpha-ieee-doc.dpatch | 44 + packages/gcc/gcc-4.3.0/debian/alpha-ieee.dpatch | 57 + .../gcc-4.3.0/debian/alpha-no-ev4-directive.dpatch | 49 + .../debian/arm-unbreak-eabi-armv4t.dpatch | 36 + .../gcc/gcc-4.3.0/debian/boehm-gc-getnprocs.dpatch | 39 + .../gcc/gcc-4.3.0/debian/boehm-gc-nocheck.dpatch | 37 + packages/gcc/gcc-4.3.0/debian/config-ml.dpatch | 94 + .../gcc/gcc-4.3.0/debian/cpu-default-i486.dpatch | 37 + packages/gcc/gcc-4.3.0/debian/cross-fixes.dpatch | 129 + packages/gcc/gcc-4.3.0/debian/cross-include.dpatch | 39 + packages/gcc/gcc-4.3.0/debian/deb-protoize.dpatch | 47 + packages/gcc/gcc-4.3.0/debian/gcc-d-lang.dpatch | 246 + .../gcc-4.3.0/debian/gcc-driver-extra-langs.dpatch | 40 + .../gcc-4.3.0/debian/gcc-hash-style-both.dpatch | 163 + .../gcc/gcc-4.3.0/debian/gcc-hash-style-gnu.dpatch | 163 + .../gcc/gcc-4.3.0/debian/gcc-i386-emit-cld.dpatch | 179 + .../gcc/gcc-4.3.0/debian/gcc-ice-apport.dpatch | 44 + packages/gcc/gcc-4.3.0/debian/gcc-ice-hack.dpatch | 331 + .../gcc/gcc-4.3.0/debian/gcc-multilib64dir.dpatch | 62 + .../gcc/gcc-4.3.0/debian/gcc-pascal-lang.dpatch | 726 + .../gcc/gcc-4.3.0/debian/gcc-ssp-default.dpatch | 209 + .../gcc/gcc-4.3.0/debian/gcc-textdomain.dpatch | 103 + .../gcc-4.3.0/debian/gdc-fix-build-kbsd-gnu.dpatch | 87 + packages/gcc/gcc-4.3.0/debian/gpc-4.1.dpatch | 28 + packages/gcc/gcc-4.3.0/debian/gpc-gcc-4.x.dpatch | 32 + packages/gcc/gcc-4.3.0/debian/gpc-names.dpatch | 117 + packages/gcc/gcc-4.3.0/debian/hurd-changes.dpatch | 72 + .../gcc/gcc-4.3.0/debian/ignore-comp-fail.dpatch | 38 + packages/gcc/gcc-4.3.0/debian/kbsd-gnu-ada.dpatch | 231 + packages/gcc/gcc-4.3.0/debian/kbsd-gnu.dpatch | 99 + .../gcc/gcc-4.3.0/debian/libffi-configure.dpatch | 45 + .../gcc-4.3.0/debian/libjava-armel-ldflags.dpatch | 38 + .../gcc/gcc-4.3.0/debian/libjava-debuginfo.dpatch | 43 + .../gcc-4.3.0/debian/libjava-disable-static.dpatch | 45 + packages/gcc/gcc-4.3.0/debian/libjava-jar.dpatch | 227 + .../gcc/gcc-4.3.0/debian/libjava-jnipath.dpatch | 94 + .../debian/libjava-loading-constraints.dpatch | 431 + .../gcc-4.3.0/debian/libjava-nobiarch-check.dpatch | 44 + .../gcc-4.3.0/debian/libjava-realloc-leak.dpatch | 79 + packages/gcc/gcc-4.3.0/debian/libjava-rpath.dpatch | 49 + packages/gcc/gcc-4.3.0/debian/libjava-sjlj.dpatch | 65 + .../gcc/gcc-4.3.0/debian/libjava-soname.dpatch | 34 + .../gcc/gcc-4.3.0/debian/libjava-stacktrace.dpatch | 70 + .../gcc/gcc-4.3.0/debian/libjava-subdir.dpatch | 246 + .../gcc-4.3.0/debian/libjava-xulrunner1.9.dpatch | 41 + .../gcc/gcc-4.3.0/debian/libobjc-gc-link.dpatch | 73 + packages/gcc/gcc-4.3.0/debian/libssp-gnu.dpatch | 52 + .../gcc/gcc-4.3.0/debian/libstdc++-doclink.dpatch | 51 + packages/gcc/gcc-4.3.0/debian/libstdc++-pic.dpatch | 71 + .../gcc-4.3.0/debian/libstdc++-symbols-hppa.dpatch | 369 + packages/gcc/gcc-4.3.0/debian/link-libs.dpatch | 157 + packages/gcc/gcc-4.3.0/debian/mips-triarch.dpatch | 61 + .../gcc/gcc-4.3.0/debian/mudflap-nocheck.dpatch | 36 + .../gcc/gcc-4.3.0/debian/multiarch-include.dpatch | 138 + packages/gcc/gcc-4.3.0/debian/multiarch-lib.dpatch | 52 + .../gcc/gcc-4.3.0/debian/note-gnu-stack.dpatch | 316 + .../gcc/gcc-4.3.0/debian/powerpc-biarch.dpatch | 47 + packages/gcc/gcc-4.3.0/debian/ppc64-ada.dpatch | 257 + packages/gcc/gcc-4.3.0/debian/pr24170.dpatch | 88 + packages/gcc/gcc-4.3.0/debian/pr27880.dpatch | 90 + packages/gcc/gcc-4.3.0/debian/pr28102.dpatch | 45 + packages/gcc/gcc-4.3.0/debian/pr28322.dpatch | 151 + packages/gcc/gcc-4.3.0/debian/pr30961.dpatch | 179 + packages/gcc/gcc-4.3.0/debian/pr33148.dpatch | 94 + packages/gcc/gcc-4.3.0/debian/pr34571.dpatch | 63 + .../gcc/gcc-4.3.0/debian/rename-info-files.dpatch | 710 + packages/gcc/gcc-4.3.0/debian/s390-biarch.dpatch | 36 + packages/gcc/gcc-4.3.0/debian/sparc-biarch.dpatch | 80 + .../gcc/gcc-4.3.0/debian/svn-class-updates.dpatch | 55 + .../gcc/gcc-4.3.0/debian/svn-doc-updates.dpatch | 79 + .../gcc/gcc-4.3.0/debian/svn-gdc-updates.dpatch | 137 + packages/gcc/gcc-4.3.0/debian/svn-updates.dpatch | 569584 ++++++++++++++++++ packages/gcc/gcc-4.3.0/debian/template.dpatch | 33 + packages/gcc/gcc-4.3.0/fedora/.mtn2git_empty | 0 .../fedora/gcc43-c++-builtin-redecl.patch | 102 + .../gcc/gcc-4.3.0/fedora/gcc43-cpp-pragma.patch | 284 + .../gcc/gcc-4.3.0/fedora/gcc43-i386-libgomp.patch | 61 + .../gcc-4.3.0/fedora/gcc43-ia64-libunwind.patch | 538 + .../fedora/gcc43-java-debug-iface-type.patch | 17 + .../gcc/gcc-4.3.0/fedora/gcc43-java-nomulti.patch | 44 + .../gcc-4.3.0/fedora/gcc43-libgomp-speedup.patch | 2797 + .../gcc/gcc-4.3.0/fedora/gcc43-ppc32-retaddr.patch | 86 + packages/gcc/gcc-4.3.0/fedora/gcc43-pr27898.patch | 16 + packages/gcc/gcc-4.3.0/fedora/gcc43-pr32139.patch | 19 + packages/gcc/gcc-4.3.0/fedora/gcc43-pr33763.patch | 153 + packages/gcc/gcc-4.3.0/fedora/gcc43-pr35440.patch | 56 + packages/gcc/gcc-4.3.0/fedora/gcc43-pr35751.patch | 114 + packages/gcc/gcc-4.3.0/fedora/gcc43-rh251682.patch | 89 + packages/gcc/gcc-4.3.0/fedora/gcc43-rh330771.patch | 34 + packages/gcc/gcc-4.3.0/fedora/gcc43-rh341221.patch | 28 + packages/gcc/gcc-4.3.0/gcc43-build-id.patch | 74 + .../gcc/gcc-4.3.0/gcc43-ppc64-ia64-GNU-stack.patch | 86 + packages/gcc/gcc-cross_4.3.0.bb | 2 +- packages/gcc/gcc_4.3.0.bb | 3 +- 108 files changed, 593382 insertions(+), 4 deletions(-) create mode 100644 packages/gcc/gcc-4.3.0/debian/.mtn2git_empty create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-alpha.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-default-project-path.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-driver-check.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-driver.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-gcc-name.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-gnatvsn.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-libgnatprj.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-libgnatvsn.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-link-lib.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-sjlj.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ada-symbolic-tracebacks.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/alpha-ieee-doc.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/alpha-ieee.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/alpha-no-ev4-directive.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/arm-unbreak-eabi-armv4t.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/boehm-gc-getnprocs.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/boehm-gc-nocheck.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/config-ml.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/cpu-default-i486.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/cross-fixes.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/cross-include.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/deb-protoize.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-d-lang.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-driver-extra-langs.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-hash-style-both.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-hash-style-gnu.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-i386-emit-cld.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-ice-apport.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-ice-hack.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-multilib64dir.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-pascal-lang.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-ssp-default.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gcc-textdomain.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gdc-fix-build-kbsd-gnu.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gpc-4.1.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gpc-gcc-4.x.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/gpc-names.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/hurd-changes.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ignore-comp-fail.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/kbsd-gnu-ada.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/kbsd-gnu.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libffi-configure.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-armel-ldflags.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-debuginfo.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-disable-static.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-jar.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-jnipath.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-loading-constraints.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-nobiarch-check.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-realloc-leak.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-rpath.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-sjlj.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-soname.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-stacktrace.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-subdir.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libjava-xulrunner1.9.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libobjc-gc-link.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libssp-gnu.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libstdc++-doclink.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libstdc++-pic.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/libstdc++-symbols-hppa.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/link-libs.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/mips-triarch.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/mudflap-nocheck.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/multiarch-include.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/multiarch-lib.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/note-gnu-stack.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/powerpc-biarch.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/ppc64-ada.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr24170.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr27880.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr28102.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr28322.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr30961.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr33148.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/pr34571.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/rename-info-files.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/s390-biarch.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/sparc-biarch.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/svn-class-updates.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/svn-doc-updates.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/svn-gdc-updates.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/svn-updates.dpatch create mode 100644 packages/gcc/gcc-4.3.0/debian/template.dpatch create mode 100644 packages/gcc/gcc-4.3.0/fedora/.mtn2git_empty create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-c++-builtin-redecl.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-cpp-pragma.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-i386-libgomp.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-ia64-libunwind.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-java-debug-iface-type.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-java-nomulti.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-libgomp-speedup.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-ppc32-retaddr.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-pr27898.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-pr32139.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-pr33763.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-pr35440.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-pr35751.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-rh251682.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-rh330771.patch create mode 100644 packages/gcc/gcc-4.3.0/fedora/gcc43-rh341221.patch create mode 100644 packages/gcc/gcc-4.3.0/gcc43-build-id.patch create mode 100644 packages/gcc/gcc-4.3.0/gcc43-ppc64-ia64-GNU-stack.patch diff --git a/packages/gcc/gcc-4.3.0.inc b/packages/gcc/gcc-4.3.0.inc index 1d7184ca7a..b04548a629 100644 --- a/packages/gcc/gcc-4.3.0.inc +++ b/packages/gcc/gcc-4.3.0.inc @@ -6,13 +6,30 @@ require gcc-common.inc DEPENDS = "mpfr gmp" SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ + file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \ + file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \ + file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \ + file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr27898.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr32139.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr33763.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh330771.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh341221.patch;patch=1;pnum=0 \ + file://fedora/gcc43-cpp-pragma.patch;patch=1;pnum=0 \ + file://fedora/gcc43-java-debug-iface-type.patch;patch=1;pnum=0 \ + file://fedora/gcc43-libgomp-speedup.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr35440.patch;patch=1;pnum=0 \ + file://fedora/gcc43-i386-libgomp.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr35751.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh251682.patch;patch=1;pnum=0 \ + file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \ + file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \ # file://100-uclibc-conf.patch;patch=1 \ # file://103-uclibc-conf-noupstream.patch;patch=1 \ # file://200-uclibc-locale.patch;patch=1 \ # file://203-uclibc-locale-no__x.patch;patch=1 \ # file://204-uclibc-locale-wchar_fix.patch;patch=1 \ # file://205-uclibc-locale-update.patch;patch=1 \ - file://300-libstdc++-pic.patch;patch=1 \ file://301-missing-execinfo_h.patch;patch=1 \ # file://302-c99-snprintf.patch;patch=1 \ # file://303-c99-complex-ugly-hack.patch;patch=1 \ @@ -33,7 +50,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ # file://arm-thumb-cache.patch;patch=1 \ file://ldflags.patch;patch=1 \ file://zecke-xgcc-cpp.patch;patch=1 \ -# file://unbreak-armv4t.patch;patch=1 \ file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ file://cache-amnesia.patch;patch=1 \ file://gfortran.patch;patch=1 \ diff --git a/packages/gcc/gcc-4.3.0/debian/.mtn2git_empty b/packages/gcc/gcc-4.3.0/debian/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch new file mode 100644 index 0000000000..fc25bf901f --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch @@ -0,0 +1,78 @@ +#! /bin/sh -e + +# DP: - When running the ACATS, look for the gnat tools in their new +# DP: directory (build/gnattools), and for the shared libraries in +# DP: build/gcc/ada/rts, build/libgnatvsn and build/libgnatprj. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- gcc/testsuite/ada/acats/run_acats~ ++++ gcc/testsuite/ada/acats/run_acats 2006-04-22 08:57:50.933824704 +0200 +@@ -11,23 +11,42 @@ + host_gnatmake=`type gnatmake | awk '{print $3}'` + ROOT=`${PWDCMD-pwd}` + BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}` +- +-PATH=$BASE:$ROOT:$PATH +-ADA_INCLUDE_PATH=$BASE/ada/rts ++GNATTOOLS=`cd $BASE/../gnattools; ${PWDCMD-pwd}` ++LIBGNATVSN=`cd $BASE/../libgnatvsn; ${PWDCMD-pwd}` ++LIBGNATPRJ=`cd $BASE/../libgnatprj; ${PWDCMD-pwd}` ++ ++PATH=$GNATTOOLS:$BASE:$ROOT:$PATH ++ADA_INCLUDE_DIR=$BASE/ada/rts ++ADA_INCLUDE_PATH=$ADA_INCLUDE_DIR:$LIBGNATVSN:$LIBGNATPRJ + LD_LIBRARY_PATH=$ADA_INCLUDE_PATH:$BASE:$LD_LIBRARY_PATH + ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH + +-if [ ! -d $ADA_INCLUDE_PATH ]; then ++if [ ! -d $ADA_INCLUDE_DIR ]; then + echo gnatlib missing, exiting. + exit 1 + fi + +-if [ ! -f $BASE/gnatchop ]; then ++if [ ! -d $GNATTOOLS ]; then ++ echo gnattools missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -d $LIBGNATVSN ]; then ++ echo libgnatvsn missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -d $LIBGNATPRJ ]; then ++ echo libgnatprj missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -f $GNATTOOLS/gnatchop ]; then + echo gnattools missing, exiting. + exit 1 + fi + +-if [ ! -f $BASE/gnatmake ]; then ++if [ ! -f $GNATTOOLS/gnatmake ]; then + echo gnattools missing, exiting. + exit 1 + fi diff --git a/packages/gcc/gcc-4.3.0/debian/ada-alpha.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-alpha.dpatch new file mode 100644 index 0000000000..1e2c47d670 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-alpha.dpatch @@ -0,0 +1,88 @@ +#! /bin/sh -e + +# DP: Fix GNAT on alpha. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +2008-04-01 Aurelien Jarno + + * s-osinte-linux-alpha.ads (SC_NPROCESSORS_ONLN): New constant + for sysconf call. + (bit_field): New packed boolean type used by cpu_set_t. + (cpu_set_t): New type corresponding to the C type with + the same name. Note that on the Ada side we use a bit + field array for the affinity mask. There is not need + for the C macro for setting individual bit. + (pthread_setaffinity_np): New imported routine. + +Index: gcc/ada/s-osinte-linux-alpha.ads +=================================================================== +--- gcc/ada/s-osinte-linux-alpha.ads (révision 133772) ++++ gcc/ada/s-osinte-linux-alpha.ads (copie de travail) +@@ -237,6 +237,7 @@ + pragma Import (C, sysconf); + + SC_CLK_TCK : constant := 2; ++ SC_NPROCESSORS_ONLN : constant := 84; + + ------------------------- + -- Priority Scheduling -- +@@ -268,6 +269,7 @@ + + type Thread_Body is access + function (arg : System.Address) return System.Address; ++ pragma Convention (C, Thread_Body); + + function Thread_Body_Access is new + Unchecked_Conversion (System.Address, Thread_Body); +@@ -448,12 +450,31 @@ + pragma Import (C, pthread_getspecific, "pthread_getspecific"); + + type destructor_pointer is access procedure (arg : System.Address); ++ pragma Convention (C, destructor_pointer); + + function pthread_key_create + (key : access pthread_key_t; + destructor : destructor_pointer) return int; + pragma Import (C, pthread_key_create, "pthread_key_create"); + ++ CPU_SETSIZE : constant := 1_024; ++ ++ type bit_field is array (1 .. CPU_SETSIZE) of Boolean; ++ for bit_field'Size use CPU_SETSIZE; ++ pragma Pack (bit_field); ++ pragma Convention (C, bit_field); ++ ++ type cpu_set_t is record ++ bits : bit_field; ++ end record; ++ pragma Convention (C, cpu_set_t); ++ ++ function pthread_setaffinity_np ++ (thread : pthread_t; ++ cpusetsize : size_t; ++ cpuset : access cpu_set_t) return int; ++ pragma Import (C, pthread_setaffinity_np, "__gnat_pthread_setaffinity_np"); ++ + private + + type sigset_t is record diff --git a/packages/gcc/gcc-4.3.0/debian/ada-default-project-path.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-default-project-path.dpatch new file mode 100644 index 0000000000..b3283d75f3 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-default-project-path.dpatch @@ -0,0 +1,147 @@ +#! /bin/sh -e + +# DP: - Change the default search path for project files to the one specified +# DP: by the Debian Policy for Ada: /usr/share/ada/adainclude. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +Index: gcc/ada/Make-lang.in +=================================================================== +--- gcc/ada/Make-lang.in.orig ++++ gcc/ada/Make-lang.in +@@ -974,7 +974,7 @@ + $(ECHO) " S1 : constant String := \"$(ADA_INCLUDE_DIR)/\";" >>tmp-sdefault.adb + $(ECHO) " S2 : constant String := \"$(ADA_RTL_OBJ_DIR)/\";" >>tmp-sdefault.adb + $(ECHO) " S3 : constant String := \"$(target)/\";" >>tmp-sdefault.adb +- $(ECHO) " S4 : constant String := \"$(libsubdir)/\";" >>tmp-sdefault.adb ++ $(ECHO) " S4 : constant String := \"/usr/share/ada/adainclude/\";" >>tmp-sdefault.adb + $(ECHO) " function Include_Dir_Default_Name return String_Ptr is" >>tmp-sdefault.adb + $(ECHO) " begin" >>tmp-sdefault.adb + $(ECHO) " return Relocate_Path (S0, S1);" >>tmp-sdefault.adb +Index: gcc/ada/prj-ext.adb +=================================================================== +--- gcc/ada/prj-ext.adb.orig ++++ gcc/ada/prj-ext.adb +@@ -24,7 +24,6 @@ + ------------------------------------------------------------------------------ + + with Hostparm; +-with Makeutl; use Makeutl; + with Output; use Output; + with Osint; use Osint; + with Sdefault; +@@ -254,38 +253,10 @@ + + -- Set the initial value of Current_Project_Path + +- if Add_Default_Dir then +- declare +- Prefix : String_Ptr := Sdefault.Search_Dir_Prefix; +- begin +- if Prefix = null then +- Prefix := new String'(Executable_Prefix_Path); +- +- if Prefix.all /= "" then +- if Get_Mode = Ada_Only then +- Current_Project_Path := +- new String'(Name_Buffer (1 .. Name_Len) & +- Path_Separator & +- Prefix.all & Directory_Separator & "gnat"); +- +- else +- Current_Project_Path := +- new String'(Name_Buffer (1 .. Name_Len) & +- Path_Separator & +- Prefix.all & Directory_Separator & +- "share" & Directory_Separator & "gpr"); +- end if; +- end if; +- +- else +- Current_Project_Path := +- new String'(Name_Buffer (1 .. Name_Len) & Path_Separator & +- Prefix.all & +- ".." & Directory_Separator & +- ".." & Directory_Separator & +- ".." & Directory_Separator & "gnat"); +- end if; +- end; ++ if Add_Default_Dir and Sdefault.Search_Dir_Prefix /= null then ++ Current_Project_Path := ++ new String'(Name_Buffer (1 .. Name_Len) & Path_Separator & ++ Sdefault.Search_Dir_Prefix.all); + end if; + + if Current_Project_Path = null then +Index: gcc/ada/gnatls.adb +=================================================================== +--- gcc/ada/gnatls.adb.orig ++++ gcc/ada/gnatls.adb +@@ -1622,9 +1622,6 @@ + declare + Project_Path : String_Access := Getenv (Gpr_Project_Path); + +- Lib : constant String := +- Directory_Separator & "lib" & Directory_Separator; +- + First : Natural; + Last : Natural; + +@@ -1684,36 +1681,8 @@ + if Add_Default_Dir then + Name_Len := 0; + Add_Str_To_Name_Buffer (Sdefault.Search_Dir_Prefix.all); +- +- -- On Windows, make sure that all directory separators are '\' +- +- if Directory_Separator /= '/' then +- for J in 1 .. Name_Len loop +- if Name_Buffer (J) = '/' then +- Name_Buffer (J) := Directory_Separator; +- end if; +- end loop; +- end if; +- +- -- Find the sequence "/lib/" +- +- while Name_Len >= Lib'Length +- and then Name_Buffer (Name_Len - 4 .. Name_Len) /= Lib +- loop +- Name_Len := Name_Len - 1; +- end loop; +- +- -- If the sequence "/lib"/ was found, display the default +- -- directory /lib/gnat/. +- +- if Name_Len >= 5 then +- Name_Buffer (Name_Len + 1 .. Name_Len + 4) := "gnat"; +- Name_Buffer (Name_Len + 5) := Directory_Separator; +- Name_Len := Name_Len + 5; +- Write_Str (" "); +- Write_Line +- (To_Host_Dir_Spec (Name_Buffer (1 .. Name_Len), True).all); +- end if; ++ Write_Str (" "); ++ Write_Line (Name_Buffer (1 .. Name_Len)); + end if; + end; + diff --git a/packages/gcc/gcc-4.3.0/debian/ada-driver-check.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-driver-check.dpatch new file mode 100644 index 0000000000..9ac1148329 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-driver-check.dpatch @@ -0,0 +1,50 @@ +#! /bin/sh -e + +# DP: Simplify Ada driver check (we always build using the required +# DP: Ada version. Needed for warnings on alpha. + +dir=./ +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + #cd ${dir} && autoconf + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + #rm -f ${dir}configure + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- config/acx.m4~ 2007-09-02 19:24:08.865326043 +0200 ++++ config/acx.m4 2007-09-02 19:28:53.719623005 +0200 +@@ -380,7 +380,7 @@ + # Other compilers, like HP Tru64 UNIX cc, exit successfully when + # given a .adb file, but produce no object file. So we must check + # if an object file was really produced to guard against this. +-errors=`(${CC} -c conftest.adb) 2>&1 || echo failure` ++errors=`(${CC} -c conftest.adb) 2>/dev/null || echo failure` + if test x"$errors" = x && test -f conftest.$ac_objext; then + acx_cv_cc_gcc_supports_ada=yes + fi +--- configure~ 2007-09-02 16:50:31.206279000 +0200 ++++ configure 2007-09-02 19:28:58.259691491 +0200 +@@ -4261,7 +4261,7 @@ + # Other compilers, like HP Tru64 UNIX cc, exit successfully when + # given a .adb file, but produce no object file. So we must check + # if an object file was really produced to guard against this. +-errors=`(${CC} -c conftest.adb) 2>&1 || echo failure` ++errors=`(${CC} -c conftest.adb) 2>/dev/null || echo failure` + if test x"$errors" = x && test -f conftest.$ac_objext; then + acx_cv_cc_gcc_supports_ada=yes + fi diff --git a/packages/gcc/gcc-4.3.0/debian/ada-driver.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-driver.dpatch new file mode 100644 index 0000000000..74ee94d1b6 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-driver.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh -e + +# DP: Look for gcc-3.4, gcc-4.0 and gcc-4.1 as gcc with Ada support. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + cd ${dir}gcc && autoconf + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + rm ${dir}gcc/configure + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + + +--- gcc/aclocal.m4~ Sat Mar 2 00:37:42 2002 ++++ gcc/aclocal.m4 Sat Apr 6 13:01:36 2002 +@@ -312,6 +312,11 @@ + ${ac_tool_prefix}$user_cc $user_cc \ + ${ac_tool_prefix}gcc gcc \ + ${ac_tool_prefix}cc cc \ ++ ${ac_tool_prefix}gcc-4.3 gcc-4.3 \ ++ ${ac_tool_prefix}gcc-4.2 gcc-4.2 \ ++ ${ac_tool_prefix}gcc-4.1 gcc-4.1 \ ++ ${ac_tool_prefix}gcc-4.0 gcc-4.0 \ ++ ${ac_tool_prefix}gcc-3.4 gcc-3.4 \ + ${ac_tool_prefix}gnatgcc gnatgcc \ + ${ac_tool_prefix}gnatcc gnatcc \ + ${ac_tool_prefix}adagcc adagcc \ diff --git a/packages/gcc/gcc-4.3.0/debian/ada-gcc-name.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-gcc-name.dpatch new file mode 100644 index 0000000000..681d634480 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-gcc-name.dpatch @@ -0,0 +1,87 @@ +#! /bin/sh -e + +# DP: use gcc-4.3 instead of gcc as the command name. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +Index: gcc/ada/comperr.adb +=================================================================== +--- gcc/ada/comperr.adb.orig 2007-09-10 18:53:41.000000000 +0200 ++++ gcc/ada/comperr.adb 2007-12-05 00:15:52.596687382 +0100 +@@ -330,7 +330,7 @@ + End_Line; + + Write_Str +- ("| Include the exact gcc or gnatmake command " & ++ ("| Include the exact gcc-4.3 or gnatmake command " & + "that you entered."); + End_Line; + +Index: gcc/ada/gnatlink.adb +=================================================================== +--- gcc/ada/gnatlink.adb.orig 2007-10-19 15:14:33.000000000 +0200 ++++ gcc/ada/gnatlink.adb 2007-12-05 00:15:52.596687382 +0100 +@@ -137,7 +137,7 @@ + -- This table collects the arguments to be passed to compile the binder + -- generated file. + +- Gcc : String_Access := Program_Name ("gcc"); ++ Gcc : String_Access := Program_Name ("gcc-4.3"); + + Read_Mode : constant String := "r" & ASCII.Nul; + +@@ -1368,7 +1368,8 @@ + end if; + + Write_Line (" --GCC=comp Use comp as the compiler"); +- Write_Line (" --LINK=nam Use 'nam' for the linking rather than 'gcc'"); ++ Write_Line (" --LINK=nam Use 'nam' for the linking rather " & ++ "than 'gcc-4.3'"); + Write_Eol; + Write_Line (" [non-Ada-objects] list of non Ada object files"); + Write_Line (" [linker-options] other options for the linker"); +Index: gcc/ada/make.adb +=================================================================== +--- gcc/ada/make.adb.orig 2007-10-19 15:14:33.000000000 +0200 ++++ gcc/ada/make.adb 2007-12-05 00:15:52.604687208 +0100 +@@ -662,7 +662,7 @@ + -- Compiler, Binder & Linker Data and Subprograms -- + ---------------------------------------------------- + +- Gcc : String_Access := Program_Name ("gcc"); ++ Gcc : String_Access := Program_Name ("gcc-4.3"); + Gnatbind : String_Access := Program_Name ("gnatbind"); + Gnatlink : String_Access := Program_Name ("gnatlink"); + -- Default compiler, binder, linker programs +Index: gcc/ada/gnatchop.adb +=================================================================== +--- gcc/ada/gnatchop.adb.orig 2007-10-19 15:14:33.000000000 +0200 ++++ gcc/ada/gnatchop.adb 2007-12-05 00:15:52.612687034 +0100 +@@ -44,7 +44,7 @@ + Config_File_Name : constant String_Access := new String'("gnat.adc"); + -- The name of the file holding the GNAT configuration pragmas + +- Gcc : String_Access := new String'("gcc"); ++ Gcc : String_Access := new String'("gcc-4.3"); + -- May be modified by switch --GCC= + + Gcc_Set : Boolean := False; diff --git a/packages/gcc/gcc-4.3.0/debian/ada-gnatvsn.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-gnatvsn.dpatch new file mode 100644 index 0000000000..365bd60bb4 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-gnatvsn.dpatch @@ -0,0 +1,46 @@ +#! /bin/sh -e + +# DP: proposed patch for PR ada/27194. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- orig/gnatvsn.adb 2005-07-01 03:29:17.000000000 +0200 ++++ gcc/ada/gnatvsn.adb 2006-04-18 10:00:05.100002000 +0200 +@@ -54,12 +54,13 @@ + ------------------------- + + function Gnat_Version_String return String is +- NUL_Pos : Positive := 1; ++ NUL_Pos : Positive := Version_String'Last; + begin +- loop +- exit when Version_String (NUL_Pos) = ASCII.NUL; +- +- NUL_Pos := NUL_Pos + 1; ++ for J in Version_String'Range loop ++ if Version_String (J) = ASCII.NUL then ++ NUL_Pos := J; ++ exit; ++ end if; + end loop; + + return Version_String (1 .. NUL_Pos - 1); diff --git a/packages/gcc/gcc-4.3.0/debian/ada-libgnatprj.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-libgnatprj.dpatch new file mode 100644 index 0000000000..dcbf30aef7 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-libgnatprj.dpatch @@ -0,0 +1,4809 @@ +#! /bin/sh -e + +# DP: - Introduce a new shared library named libgnatprj, containing +# DP: the GNAT project file manager licensed under the pure GPL, for +# DP: use in GNAT tools, GLADE and GPS. Link the GNAT tools against +# DP: this new library. + +# This patch seems large, but the hunks in Makefile.in are actually +# generated from Makefile.def using autogen. + +# !!! Must be applied after ada-libgnatvsn.dpatch + +dir=./ +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + cd ${dir} && autoconf + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +Index: gcc/ada/config-lang.in +=================================================================== +--- gcc/ada/config-lang.in.orig ++++ gcc/ada/config-lang.in +@@ -34,8 +34,8 @@ + + outputs=ada/Makefile + +-target_libs="target-libada target-libgnatvsn" +-lang_dirs="libada libgnatvsn gnattools" ++target_libs="target-libada target-libgnatvsn target-libgnatprj" ++lang_dirs="libada libgnatvsn libgnatprj gnattools" + + # Ada will not work until the front end starts emitting GIMPLE trees. + build_by_default=no +Index: gnattools/Makefile.in +=================================================================== +--- gnattools/Makefile.in.orig ++++ gnattools/Makefile.in +@@ -35,13 +35,13 @@ + target_noncanonical=@target_noncanonical@ + + CFLAGS=-O2 -Wall +-INCLUDES = -I@srcdir@/../gcc/ada -I@srcdir@/../gcc + ADA_CFLAGS=-O2 -gnatn +-ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I../libgnatvsn ++ADA_INCLUDES=-nostdinc -I- -I. -I../gcc/ada/rts -I../libgnatvsn -I../libgnatprj + LIB_VERSION=$(strip $(shell grep ' Library_Version :' \ + ../libgnatvsn/gnatvsn.ads | sed -e 's/.*"\(.*\)".*/\1/')) + ADA_LIBS := -L../gcc/ada/rts -lgnat-$(LIB_VERSION) + ADA_LIBS += -L../libgnatvsn -lgnatvsn ++ADA_LIBS += -L../libgnatprj -lgnatprj + + # We will use the just-built compiler to compile and link everything. + GCC=../gcc/xgcc -B../gcc/ +@@ -66,74 +66,18 @@ + + # Since we don't have gnatmake, we must specify the full list of + # object files necessary to build gnatmake and gnatlink. +-# TODO: remove from these lists the objects that are part of +-# libgnatprj. + GNATLINK_OBJS = \ +-ali.o \ +-butil.o \ +-fmap.o \ + gnatlink.o \ + indepsw.o \ +-osint.o \ +-prefix.o \ +-rident.o \ +-sdefault.o \ +-stylesw.o \ +-switch.o \ +-targparm.o \ + validsw.o + + GNATMAKE_OBJS = \ +-ali-util.o \ +-ali.o \ +-binderr.o \ +-butil.o \ +-err_vars.o \ +-erroutc.o \ +-errutil.o \ +-fmap.o \ + fname-sf.o \ +-fname-uf.o \ + gnatmake.o \ + make.o \ + makeusg.o \ +-makeutl.o \ +-mlib-fil.o \ + mlib-prj.o \ +-mlib-tgt.o \ +-mlib-tgt-specific.o \ +-mlib-utl.o \ +-mlib.o \ + osint-m.o \ +-osint.o \ +-prefix.o \ +-prj-attr-pm.o \ +-prj-attr.o \ +-prj-com.o \ +-prj-dect.o \ +-prj-env.o \ +-prj-err.o \ +-prj-ext.o \ +-prj-nmsc.o \ +-prj-pars.o \ +-prj-part.o \ +-prj-proc.o \ +-prj-strt.o \ +-prj-tree.o \ +-prj-util.o \ +-prj.o \ +-rident.o \ +-scng.o \ +-sdefault.o \ +-sfn_scan.o \ +-sinput-c.o \ +-sinput-p.o \ +-styleg.o \ +-stylesw.o \ +-switch-m.o \ +-switch.o \ +-targparm.o \ +-tempdir.o \ + usage.o \ + validsw.o \ + $(EXTRA_GNATMAKE_OBJS) +@@ -175,11 +119,6 @@ + for file in $(BODIES) $(SPECS); do \ + $(LN_S) -f $$file .; \ + done +- rm -f sdefault.adb; $(LN_S) ../gcc/ada/sdefault.adb . +- $(foreach PAIR,$(TOOLS_TARGET_PAIRS), \ +- rm -f $(word 1,$(subst <, ,$(PAIR)));\ +- $(LN_S) @srcdir@/../gcc/ada/$(word 2,$(subst <, ,$(PAIR))) \ +- $(word 1,$(subst <, ,$(PAIR)));) + touch $@ + + gnattools-native: ../gcc/ada/rts/libgnat-$(LIB_VERSION).so +@@ -192,19 +131,16 @@ + vpath %.c @srcdir@/../gcc/ada:@srcdir@/../gcc + vpath %.h @srcdir@/../gcc/ada + +-# Because the just-built gcc is a host tool like us, we can use some +-# of its object files, e.g. prefix.o. +-vpath prefix.o ../gcc +- + # gnatlink + +-gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o link.o ++gnatlink-static: $(GNATLINK_OBJS) b_gnatl.o + $(GCC) -o $@ $^ \ ++ ../libgnatprj/libgnatprj.a \ + ../libgnatvsn/libgnatvsn.a \ + ../gcc/ada/rts/libgnat.a \ + ../libiberty/libiberty.a + +-gnatlink: $(GNATLINK_OBJS) b_gnatl.o link.o ++gnatlink: $(GNATLINK_OBJS) b_gnatl.o + $(GCC) -o $@ $^ $(ADA_LIBS) ../libiberty/libiberty.a + + b_gnatl.o: b_gnatl.c adaint.h +@@ -215,13 +151,14 @@ + + # gnatmake + +-gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o link.o ++gnatmake-static: $(GNATMAKE_OBJS) b_gnatm.o + $(GCC) -o $@ $(ADA_CFLAGS) $^ \ ++ ../libgnatprj/libgnatprj.a \ + ../libgnatvsn/libgnatvsn.a \ + ../gcc/ada/rts/libgnat.a \ + ../libiberty/libiberty.a + +-gnatmake: $(GNATMAKE_OBJS) b_gnatm.o link.o ++gnatmake: $(GNATMAKE_OBJS) b_gnatm.o + $(GCC) -o $@ $(ADA_CFLAGS) $^ $(ADA_LIBS) ../libiberty/libiberty.a + + b_gnatm.o: b_gnatm.c adaint.h +@@ -231,19 +168,11 @@ + ../gcc/gnatbind -C -o $@ $(ADA_INCLUDES) gnatmake.ali + + # Other tools +-gnatkr: +- if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi +- ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \ +- --GCC="$(GCC)" \ +- --GNATBIND=../gcc/gnatbind +- ./gnatlink-static -o $@ $@.ali $^ $(ADA_INCLUDES) $(ADA_LIBS) \ +- --GCC="$(GCC) $(ADA_INCLUDES)" +- + gnat: gnatcmd + cp -lp $< $@ + +-gnatbind gnatchop gnatclean gnatcmd gnatfind gnatls gnatname gnatprep gnatxref gprmake: \ +-link.o prefix.o ++gnatbind gnatchop gnatclean gnatcmd gnatfind gnatkr gnatls gnatname gnatprep \ ++gnatxref gprmake: + if [ ! -f $@.adb ] ; then $(LN_S) ../../src/gcc/ada/$@.ad[bs] .; fi + ./gnatmake-static -c -b $@ $(ADA_CFLAGS) $(ADA_INCLUDES) \ + --GCC="$(GCC)" \ +@@ -252,29 +181,19 @@ + ../libiberty/libiberty.a \ + --GCC="$(GCC) $(ADA_INCLUDES)" + +-gnatbl: gnatbl.c link.o prefix.o ++gnatbl: gnatbl.c + $(GCC) -o $@ $< $(CFLAGS) \ + -I../gcc -I@srcdir@/../gcc/config -I@srcdir@/../gcc \ + -I@srcdir@/../include \ + $(filter-out %.c,$^) \ + $(ADA_LIBS) ../libiberty/libiberty.a + +-# Force compiling sdefault.adb, not .ads, to produce sdefault.o +-sdefault.o: sdefault.adb +- +-sdefault.adb: stamp-gnattools-sources +- + %.o: %.adb + $(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES) + + %.o: %.ads + $(GCC) -c -o $@ $< $(ADA_CFLAGS) $(ADA_INCLUDES) + +-%.o: %.c +- $(GCC) -c -o $@ $< $(CFLAGS) $(INCLUDES) +- +-prefix.o: +- + # Other + # ----- + +Index: libgnatprj/configure +=================================================================== +--- /dev/null ++++ libgnatprj/configure +@@ -0,0 +1,3138 @@ ++#! /bin/sh ++# Guess values for system-dependent variables and create Makefiles. ++# Generated by GNU Autoconf 2.61. ++# ++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ++# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. ++# This configure script is free software; the Free Software Foundation ++# gives unlimited permission to copy, distribute and modify it. ++## --------------------- ## ++## M4sh Initialization. ## ++## --------------------- ## ++ ++# Be more Bourne compatible ++DUALCASE=1; export DUALCASE # for MKS sh ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++ emulate sh ++ NULLCMD=: ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; ++esac ++ ++fi ++ ++ ++ ++ ++# PATH needs CR ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ ++# The user is always right. ++if test "${PATH_SEPARATOR+set}" != set; then ++ echo "#! /bin/sh" >conf$$.sh ++ echo "exit 0" >>conf$$.sh ++ chmod +x conf$$.sh ++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then ++ PATH_SEPARATOR=';' ++ else ++ PATH_SEPARATOR=: ++ fi ++ rm -f conf$$.sh ++fi ++ ++# Support unset when possible. ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ++ as_unset=unset ++else ++ as_unset=false ++fi ++ ++ ++# IFS ++# We need space, tab and new line, in precisely that order. Quoting is ++# there to prevent editors from complaining about space-tab. ++# (If _AS_PATH_WALK were called with IFS unset, it would disable word ++# splitting by setting IFS to empty value.) ++as_nl=' ++' ++IFS=" "" $as_nl" ++ ++# Find who we are. Look in the path if we contain no directory separator. ++case $0 in ++ *[\\/]* ) as_myself=$0 ;; ++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++done ++IFS=$as_save_IFS ++ ++ ;; ++esac ++# We did not find ourselves, most probably we were run as `sh COMMAND' ++# in which case we are not to be found in the path. ++if test "x$as_myself" = x; then ++ as_myself=$0 ++fi ++if test ! -f "$as_myself"; then ++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ++ { (exit 1); exit 1; } ++fi ++ ++# Work around bugs in pre-3.0 UWIN ksh. ++for as_var in ENV MAIL MAILPATH ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++done ++PS1='$ ' ++PS2='> ' ++PS4='+ ' ++ ++# NLS nuisances. ++for as_var in \ ++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ ++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ ++ LC_TELEPHONE LC_TIME ++do ++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then ++ eval $as_var=C; export $as_var ++ else ++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++ fi ++done ++ ++# Required to use basename. ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++ ++# Name of the executable. ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ ++# CDPATH. ++$as_unset CDPATH ++ ++ ++if test "x$CONFIG_SHELL" = x; then ++ if (eval ":") 2>/dev/null; then ++ as_have_required=yes ++else ++ as_have_required=no ++fi ++ ++ if test $as_have_required = yes && (eval ": ++(as_func_return () { ++ (exit \$1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} ++ ++exitcode=0 ++if as_func_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_success failed. ++fi ++ ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. ++fi ++ ++if as_func_ret_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_ret_success failed. ++fi ++ ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ++ : ++else ++ exitcode=1 ++ echo positional parameters were not saved. ++fi ++ ++test \$exitcode = 0) || { (exit 1); exit 1; } ++ ++( ++ as_lineno_1=\$LINENO ++ as_lineno_2=\$LINENO ++ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && ++ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ++") 2> /dev/null; then ++ : ++else ++ as_candidate_shells= ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ case $as_dir in ++ /*) ++ for as_base in sh bash ksh sh5; do ++ as_candidate_shells="$as_candidate_shells $as_dir/$as_base" ++ done;; ++ esac ++done ++IFS=$as_save_IFS ++ ++ ++ for as_shell in $as_candidate_shells $SHELL; do ++ # Try only shells that exist, to save several forks. ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { ("$as_shell") 2> /dev/null <<\_ASEOF ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++ emulate sh ++ NULLCMD=: ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; ++esac ++ ++fi ++ ++ ++: ++_ASEOF ++}; then ++ CONFIG_SHELL=$as_shell ++ as_have_required=yes ++ if { "$as_shell" 2> /dev/null <<\_ASEOF ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++ emulate sh ++ NULLCMD=: ++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; ++esac ++ ++fi ++ ++ ++: ++(as_func_return () { ++ (exit $1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} ++ ++exitcode=0 ++if as_func_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_success failed. ++fi ++ ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. ++fi ++ ++if as_func_ret_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_ret_success failed. ++fi ++ ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = "$1" ); then ++ : ++else ++ exitcode=1 ++ echo positional parameters were not saved. ++fi ++ ++test $exitcode = 0) || { (exit 1); exit 1; } ++ ++( ++ as_lineno_1=$LINENO ++ as_lineno_2=$LINENO ++ test "x$as_lineno_1" != "x$as_lineno_2" && ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } ++ ++_ASEOF ++}; then ++ break ++fi ++ ++fi ++ ++ done ++ ++ if test "x$CONFIG_SHELL" != x; then ++ for as_var in BASH_ENV ENV ++ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++ done ++ export CONFIG_SHELL ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} ++fi ++ ++ ++ if test $as_have_required = no; then ++ echo This script requires a shell more modern than all the ++ echo shells that I found on your system. Please install a ++ echo modern shell, or manually run the script under such a ++ echo shell if you do have one. ++ { (exit 1); exit 1; } ++fi ++ ++ ++fi ++ ++fi ++ ++ ++ ++(eval "as_func_return () { ++ (exit \$1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} ++ ++exitcode=0 ++if as_func_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_success failed. ++fi ++ ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. ++fi ++ ++if as_func_ret_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_ret_success failed. ++fi ++ ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ++ : ++else ++ exitcode=1 ++ echo positional parameters were not saved. ++fi ++ ++test \$exitcode = 0") || { ++ echo No shell found that supports shell functions. ++ echo Please tell autoconf@gnu.org about your system, ++ echo including any error possibly output before this ++ echo message ++} ++ ++ ++ ++ as_lineno_1=$LINENO ++ as_lineno_2=$LINENO ++ test "x$as_lineno_1" != "x$as_lineno_2" && ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { ++ ++ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ++ # uniformly replaced by the line number. The first 'sed' inserts a ++ # line-number line after each line using $LINENO; the second 'sed' ++ # does the real work. The second script uses 'N' to pair each ++ # line-number line with the line containing $LINENO, and appends ++ # trailing '-' during substitution so that $LINENO is not a special ++ # case at line end. ++ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ++ # scripts with optimization help from Paolo Bonzini. Blame Lee ++ # E. McMahon (1931-1989) for sed's syntax. :-) ++ sed -n ' ++ p ++ /[$]LINENO/= ++ ' <$as_myself | ++ sed ' ++ s/[$]LINENO.*/&-/ ++ t lineno ++ b ++ :lineno ++ N ++ :loop ++ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ++ t loop ++ s/-\n.*// ++ ' >$as_me.lineno && ++ chmod +x "$as_me.lineno" || ++ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 ++ { (exit 1); exit 1; }; } ++ ++ # Don't try to exec as it changes $[0], causing all sort of problems ++ # (the dirname of $[0] is not the place where we might find the ++ # original and so on. Autoconf is especially sensitive to this). ++ . "./$as_me.lineno" ++ # Exit status is that of the last command. ++ exit ++} ++ ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ ++ECHO_C= ECHO_N= ECHO_T= ++case `echo -n x` in ++-n*) ++ case `echo 'x\c'` in ++ *c*) ECHO_T=' ';; # ECHO_T is single tab character. ++ *) ECHO_C='\c';; ++ esac;; ++*) ++ ECHO_N='-n';; ++esac ++ ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++rm -f conf$$ conf$$.exe conf$$.file ++if test -d conf$$.dir; then ++ rm -f conf$$.dir/conf$$.file ++else ++ rm -f conf$$.dir ++ mkdir conf$$.dir ++fi ++echo >conf$$.file ++if ln -s conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s='ln -s' ++ # ... but there are two gotchas: ++ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ++ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ++ # In both cases, we have to default to `cp -p'. ++ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ++ as_ln_s='cp -p' ++elif ln conf$$.file conf$$ 2>/dev/null; then ++ as_ln_s=ln ++else ++ as_ln_s='cp -p' ++fi ++rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ++rmdir conf$$.dir 2>/dev/null ++ ++if mkdir -p . 2>/dev/null; then ++ as_mkdir_p=: ++else ++ test -d ./-p && rmdir ./-p ++ as_mkdir_p=false ++fi ++ ++if test -x / >/dev/null 2>&1; then ++ as_test_x='test -x' ++else ++ if ls -dL / >/dev/null 2>&1; then ++ as_ls_L_option=L ++ else ++ as_ls_L_option= ++ fi ++ as_test_x=' ++ eval sh -c '\'' ++ if test -d "$1"; then ++ test -d "$1/."; ++ else ++ case $1 in ++ -*)set "./$1";; ++ esac; ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ++ ???[sx]*):;;*)false;;esac;fi ++ '\'' sh ++ ' ++fi ++as_executable_p=$as_test_x ++ ++# Sed expression to map a string onto a valid CPP name. ++as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ++ ++# Sed expression to map a string onto a valid variable name. ++as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ++ ++ ++ ++exec 7<&0 &1 ++ ++# Name of the host. ++# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, ++# so uname gets run too. ++ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ++ ++# ++# Initializations. ++# ++ac_default_prefix=/usr/local ++ac_clean_files= ++ac_config_libobj_dir=. ++LIBOBJS= ++cross_compiling=no ++subdirs= ++MFLAGS= ++MAKEFLAGS= ++SHELL=${CONFIG_SHELL-/bin/sh} ++ ++# Identity of this package. ++PACKAGE_NAME= ++PACKAGE_TARNAME= ++PACKAGE_VERSION= ++PACKAGE_STRING= ++PACKAGE_BUGREPORT= ++ ++ac_unique_file="Makefile.in" ++ac_subst_vars='SHELL ++PATH_SEPARATOR ++PACKAGE_NAME ++PACKAGE_TARNAME ++PACKAGE_VERSION ++PACKAGE_STRING ++PACKAGE_BUGREPORT ++exec_prefix ++prefix ++program_transform_name ++bindir ++sbindir ++libexecdir ++datarootdir ++datadir ++sysconfdir ++sharedstatedir ++localstatedir ++includedir ++oldincludedir ++docdir ++infodir ++htmldir ++dvidir ++pdfdir ++psdir ++libdir ++localedir ++mandir ++DEFS ++ECHO_C ++ECHO_N ++ECHO_T ++LIBS ++build_alias ++host_alias ++target_alias ++INSTALL_PROGRAM ++INSTALL_SCRIPT ++INSTALL_DATA ++build ++build_cpu ++build_vendor ++build_os ++host ++host_cpu ++host_vendor ++host_os ++target ++target_cpu ++target_vendor ++target_os ++target_noncanonical ++LN_S ++x_ada_cflags ++default_gnattools_target ++TOOLS_TARGET_PAIRS ++LIBOBJS ++LTLIBOBJS' ++ac_subst_files='' ++ ac_precious_vars='build_alias ++host_alias ++target_alias' ++ ++ ++# Initialize some variables set by options. ++ac_init_help= ++ac_init_version=false ++# The variables have the same names as the options, with ++# dashes changed to underlines. ++cache_file=/dev/null ++exec_prefix=NONE ++no_create= ++no_recursion= ++prefix=NONE ++program_prefix=NONE ++program_suffix=NONE ++program_transform_name=s,x,x, ++silent= ++site= ++srcdir= ++verbose= ++x_includes=NONE ++x_libraries=NONE ++ ++# Installation directory options. ++# These are left unexpanded so users can "make install exec_prefix=/foo" ++# and all the variables that are supposed to be based on exec_prefix ++# by default will actually change. ++# Use braces instead of parens because sh, perl, etc. also accept them. ++# (The list follows the same order as the GNU Coding Standards.) ++bindir='${exec_prefix}/bin' ++sbindir='${exec_prefix}/sbin' ++libexecdir='${exec_prefix}/libexec' ++datarootdir='${prefix}/share' ++datadir='${datarootdir}' ++sysconfdir='${prefix}/etc' ++sharedstatedir='${prefix}/com' ++localstatedir='${prefix}/var' ++includedir='${prefix}/include' ++oldincludedir='/usr/include' ++docdir='${datarootdir}/doc/${PACKAGE}' ++infodir='${datarootdir}/info' ++htmldir='${docdir}' ++dvidir='${docdir}' ++pdfdir='${docdir}' ++psdir='${docdir}' ++libdir='${exec_prefix}/lib' ++localedir='${datarootdir}/locale' ++mandir='${datarootdir}/man' ++ ++ac_prev= ++ac_dashdash= ++for ac_option ++do ++ # If the previous option needs an argument, assign it. ++ if test -n "$ac_prev"; then ++ eval $ac_prev=\$ac_option ++ ac_prev= ++ continue ++ fi ++ ++ case $ac_option in ++ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ++ *) ac_optarg=yes ;; ++ esac ++ ++ # Accept the important Cygnus configure options, so we can diagnose typos. ++ ++ case $ac_dashdash$ac_option in ++ --) ++ ac_dashdash=yes ;; ++ ++ -bindir | --bindir | --bindi | --bind | --bin | --bi) ++ ac_prev=bindir ;; ++ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ++ bindir=$ac_optarg ;; ++ ++ -build | --build | --buil | --bui | --bu) ++ ac_prev=build_alias ;; ++ -build=* | --build=* | --buil=* | --bui=* | --bu=*) ++ build_alias=$ac_optarg ;; ++ ++ -cache-file | --cache-file | --cache-fil | --cache-fi \ ++ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ++ ac_prev=cache_file ;; ++ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ++ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ++ cache_file=$ac_optarg ;; ++ ++ --config-cache | -C) ++ cache_file=config.cache ;; ++ ++ -datadir | --datadir | --datadi | --datad) ++ ac_prev=datadir ;; ++ -datadir=* | --datadir=* | --datadi=* | --datad=*) ++ datadir=$ac_optarg ;; ++ ++ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ++ | --dataroo | --dataro | --datar) ++ ac_prev=datarootdir ;; ++ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ++ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ++ datarootdir=$ac_optarg ;; ++ ++ -disable-* | --disable-*) ++ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 ++ { (exit 1); exit 1; }; } ++ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` ++ eval enable_$ac_feature=no ;; ++ ++ -docdir | --docdir | --docdi | --doc | --do) ++ ac_prev=docdir ;; ++ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ++ docdir=$ac_optarg ;; ++ ++ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ++ ac_prev=dvidir ;; ++ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ++ dvidir=$ac_optarg ;; ++ ++ -enable-* | --enable-*) ++ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ++ # Reject names that are not valid shell variable names. ++ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && ++ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 ++ { (exit 1); exit 1; }; } ++ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` ++ eval enable_$ac_feature=\$ac_optarg ;; ++ ++ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ++ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ++ | --exec | --exe | --ex) ++ ac_prev=exec_prefix ;; ++ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ++ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ++ | --exec=* | --exe=* | --ex=*) ++ exec_prefix=$ac_optarg ;; ++ ++ -gas | --gas | --ga | --g) ++ # Obsolete; use --with-gas. ++ with_gas=yes ;; ++ ++ -help | --help | --hel | --he | -h) ++ ac_init_help=long ;; ++ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ++ ac_init_help=recursive ;; ++ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ++ ac_init_help=short ;; ++ ++ -host | --host | --hos | --ho) ++ ac_prev=host_alias ;; ++ -host=* | --host=* | --hos=* | --ho=*) ++ host_alias=$ac_optarg ;; ++ ++ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ++ ac_prev=htmldir ;; ++ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ++ | --ht=*) ++ htmldir=$ac_optarg ;; ++ ++ -includedir | --includedir | --includedi | --included | --include \ ++ | --includ | --inclu | --incl | --inc) ++ ac_prev=includedir ;; ++ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ++ | --includ=* | --inclu=* | --incl=* | --inc=*) ++ includedir=$ac_optarg ;; ++ ++ -infodir | --infodir | --infodi | --infod | --info | --inf) ++ ac_prev=infodir ;; ++ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ++ infodir=$ac_optarg ;; ++ ++ -libdir | --libdir | --libdi | --libd) ++ ac_prev=libdir ;; ++ -libdir=* | --libdir=* | --libdi=* | --libd=*) ++ libdir=$ac_optarg ;; ++ ++ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ++ | --libexe | --libex | --libe) ++ ac_prev=libexecdir ;; ++ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ++ | --libexe=* | --libex=* | --libe=*) ++ libexecdir=$ac_optarg ;; ++ ++ -localedir | --localedir | --localedi | --localed | --locale) ++ ac_prev=localedir ;; ++ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ++ localedir=$ac_optarg ;; ++ ++ -localstatedir | --localstatedir | --localstatedi | --localstated \ ++ | --localstate | --localstat | --localsta | --localst | --locals) ++ ac_prev=localstatedir ;; ++ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ++ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ++ localstatedir=$ac_optarg ;; ++ ++ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ++ ac_prev=mandir ;; ++ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ++ mandir=$ac_opt