Remove config.if.
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 3 Dec 2004 10:30:13 +0000 (10:30 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 3 Dec 2004 10:30:13 +0000 (10:30 +0000)
ChangeLog
MAINTAINERS
binutils/ChangeLog
binutils/MAINTAINERS
config.if [deleted file]
configure
configure.in
gdb/ChangeLog
gdb/README
src-release

index 3f2b54a70a5168d3d189eb8b02513dcc850a7637..88b61eafaf39db0f48204dab80493f978008f1c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config.if: Delete.
+       * configure.in: Set libstdcxx_incdir directly.
+       * configure: Regenerate.
+       * MAINTAINERS: Remove mention of config.if.
+       * src-release (DEVO_SUPPORT): Remove config.if.
+
 2004-12-02  Eric Christopher  <echristo@redhat.com>
 
        * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list
index 8c9696b9fcbbf4f71189037d18289c82b64c7664..ef4a825edb09fc2ab566a1b510e222110a5e3f72 100644 (file)
@@ -96,7 +96,7 @@ winsup/
        See also winsup/MAINTAINERS.
 
 config-ml.in; setup.com; missing; makefile.vms; utils/; config/;
-config.if; makefile.vms; missing; ylwrap; mkdep; etc/; install-sh; intl/
+makefile.vms; missing; ylwrap; mkdep; etc/; install-sh; intl/
        Ask DJ Delorie <dj@redhat.com> after reading the libiberty entry.
 
 modules file
index d19314061f7ab08bccc15359ba5ffb11d6e426f5..d7f22f8881badcefff7431e569c62389a47e4054 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * MAINTAINERS: Remove mention of config.if.
+
 2004-11-30  Tero Niemela  <tero_niemela@yahoo.com>
 
        * Makefile.am: Change LOCALEDIR to $(datadir)/share.
index 85ed70469bccc872863193e5273c7633e6658374..2f023b60688dba040e81e6d1dd8e6c5dc7856f8c 100644 (file)
@@ -22,8 +22,8 @@ top level config.guess and config.sub scripts should be sent to:
   config-patches@gnu.org
 
 and not to the binutils lists.  Patches to the other top level
-configure files (configure, configure.in, config-if, config-ml.in)
-should be sent to the binutils lists, and copied to the gcc and gdb
+configure files (configure, configure.in, config-ml.in) should
+be sent to the binutils lists, and copied to the gcc and gdb
 lists as well (gcc-patches@gcc.gnu.org and
 gdb-patches@sources.redhat.com).
 
diff --git a/config.if b/config.if
deleted file mode 100644 (file)
index 2655bc3..0000000
--- a/config.if
+++ /dev/null
@@ -1,37 +0,0 @@
-#! /dev/null
-# Don't call it directly. This shell script fragment is called to
-# determine:
-#
-#      1. libstcxx_incdir: the interface name for libstdc++.
-#
-
-# Get the top level src dir.
-if [ -z "${topsrcdir}" -a -z "${top_srcdir}" ]
-then
-  echo "Undefined top level src dir: topsrcdir and top_srcdir are empty" >&2
-  exit 1
-fi
-
-if [ -n "${topsrcdir}" ]
-then
-  if_topsrcdir=${topsrcdir}
-else
-  if_topsrcdir=${top_srcdir}
-fi
-
-# Set libstdcxx_incdir.
-# This is the same as gcc/configure.in and libstdc++-v3/acinclude.m4. 
-if test -z "$gcc_version"; then
-  if test -z "${gcc_version_trigger}" \
-     && test -f ${if_topsrcdir}/gcc/version.c; then
-    gcc_version_trigger=${if_topsrcdir}/gcc/version.c
-  fi    
-  if test -f "${gcc_version_trigger}"; then
-    gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'`
-  else
-    gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'`
-  fi
-  gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
-fi
-libstdcxx_incdir=c++/${gcc_version}
-
index 48210598bf1760a3717d4593ff98f45068448057..65b13b8ca11f9af8ab4f4cdde4f9dbe93fd1d2a6 100755 (executable)
--- a/configure
+++ b/configure
@@ -3387,7 +3387,7 @@ case "${with_gxx_include_dir}" in
     case "${enable_version_specific_runtime_libs}" in
       yes) gxx_include_dir='${libsubdir}/include/c++' ;;
       *)
-        . ${srcdir}/config.if
+       libstdcxx_incdir=c++/${gcc_version}
         gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
     esac ;;
   *) gxx_include_dir=${with_gxx_include_dir} ;;
index 993a7b88ea419bea68760de33d845b965c7107ae..587bf926a06b230c7c2638af2ea349afccfe705e 100644 (file)
@@ -1974,7 +1974,7 @@ case "${with_gxx_include_dir}" in
     case "${enable_version_specific_runtime_libs}" in
       yes) gxx_include_dir='${libsubdir}/include/c++' ;;
       *)
-        . ${srcdir}/config.if
+       libstdcxx_incdir=c++/${gcc_version}
         gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
     esac ;;
   *) gxx_include_dir=${with_gxx_include_dir} ;;
index ad5143792474fbe86c7c2530c9befd93949f0672..63dcbd5f288df22b057d524448beaeea5f87c8d3 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * README: Remove config.if from directory listing.
+
 2004-12-01  Joel Brobecker  <brobecker@gnat.com>
 
        * alpha-tdep.c (alpha_register_name): Add comment.
index c30975da60cf0fff523b75a4ddba830925046928..801d0279be373325691391bd32977b2f0f925ca0 100644 (file)
@@ -32,14 +32,14 @@ order.
    When you unpack the gdb-6.3.tar.gz file, you'll find a directory
 called `gdb-6.3', which contains:
 
-  COPYING       config-ml.in  gdb          ltcf-gcj.sh     readline
-  COPYING.LIB   config.guess  gettext.m4   ltconfig        sim
-  Makefile.def  config.if     include      ltmain.sh       src-release
-  Makefile.in   config.sub    install-sh   md5.sum         symlink-tree
-  Makefile.tpl  configure     libiberty    missing         texinfo
-  README        configure.in  libtool.m4   mkinstalldirs   ylwrap
-  bfd           djunpack.bat  ltcf-c.sh    move-if-change
-  config        etc           ltcf-cxx.sh  opcodes
+  COPYING       config-ml.in  gettext.m4   ltconfig        sim
+  COPYING.LIB   config.guess  include      ltmain.sh       src-release
+  Makefile.def  config.sub    install-sh   md5.sum         symlink-tree
+  Makefile.in   configure     libiberty    missing         texinfo
+  Makefile.tpl  configure.in  libtool.m4   mkinstalldirs   ylwrap
+  README        djunpack.bat  ltcf-c.sh    move-if-change
+  bfd           etc           ltcf-cxx.sh  opcodes
+  config        gdb           ltcf-gcj.sh  readline
 
 You can build GDB right in the source directory:
 
index c6e43af13d045de5d3781694cec3f7a383d96cce..9837ba3dcd0e7647d183d8dd8a4f5cfab2d6e0b0 100644 (file)
@@ -44,7 +44,7 @@ PWD = $${PWDCMD-pwd}
 # ChangeLog omitted because it may refer to files which are not in this
 # distribution (perhaps it would be better to include it anyway).
 DEVO_SUPPORT= README Makefile.in configure configure.in \
-       config.guess config.if config.sub config move-if-change \
+       config.guess config.sub config move-if-change \
        COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
        mkinstalldirs ltconfig ltmain.sh missing ylwrap \
        libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh \