Remove config.if.

This commit is contained in:
Richard Sandiford 2004-12-03 10:30:13 +00:00
parent c820d41869
commit 73fb706800
10 changed files with 30 additions and 51 deletions

View file

@ -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> 2004-12-02 Eric Christopher <echristo@redhat.com>
* Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list * Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list

View file

@ -96,7 +96,7 @@ winsup/
See also winsup/MAINTAINERS. See also winsup/MAINTAINERS.
config-ml.in; setup.com; missing; makefile.vms; utils/; config/; 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. Ask DJ Delorie <dj@redhat.com> after reading the libiberty entry.
modules file modules file

View 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> 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
* Makefile.am: Change LOCALEDIR to $(datadir)/share. * Makefile.am: Change LOCALEDIR to $(datadir)/share.

View file

@ -22,8 +22,8 @@ top level config.guess and config.sub scripts should be sent to:
config-patches@gnu.org config-patches@gnu.org
and not to the binutils lists. Patches to the other top level and not to the binutils lists. Patches to the other top level
configure files (configure, configure.in, config-if, config-ml.in) configure files (configure, configure.in, config-ml.in) should
should be sent to the binutils lists, and copied to the gcc and gdb be sent to the binutils lists, and copied to the gcc and gdb
lists as well (gcc-patches@gcc.gnu.org and lists as well (gcc-patches@gcc.gnu.org and
gdb-patches@sources.redhat.com). gdb-patches@sources.redhat.com).

View file

@ -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}

2
configure vendored
View file

@ -3387,7 +3387,7 @@ case "${with_gxx_include_dir}" in
case "${enable_version_specific_runtime_libs}" in case "${enable_version_specific_runtime_libs}" in
yes) gxx_include_dir='${libsubdir}/include/c++' ;; yes) gxx_include_dir='${libsubdir}/include/c++' ;;
*) *)
. ${srcdir}/config.if libstdcxx_incdir=c++/${gcc_version}
gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;; gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
esac ;; esac ;;
*) gxx_include_dir=${with_gxx_include_dir} ;; *) gxx_include_dir=${with_gxx_include_dir} ;;

View file

@ -1974,7 +1974,7 @@ case "${with_gxx_include_dir}" in
case "${enable_version_specific_runtime_libs}" in case "${enable_version_specific_runtime_libs}" in
yes) gxx_include_dir='${libsubdir}/include/c++' ;; yes) gxx_include_dir='${libsubdir}/include/c++' ;;
*) *)
. ${srcdir}/config.if libstdcxx_incdir=c++/${gcc_version}
gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;; gxx_include_dir='${prefix}/include/'${libstdcxx_incdir} ;;
esac ;; esac ;;
*) gxx_include_dir=${with_gxx_include_dir} ;; *) gxx_include_dir=${with_gxx_include_dir} ;;

View 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> 2004-12-01 Joel Brobecker <brobecker@gnat.com>
* alpha-tdep.c (alpha_register_name): Add comment. * alpha-tdep.c (alpha_register_name): Add comment.

View file

@ -32,14 +32,14 @@ order.
When you unpack the gdb-6.3.tar.gz file, you'll find a directory When you unpack the gdb-6.3.tar.gz file, you'll find a directory
called `gdb-6.3', which contains: called `gdb-6.3', which contains:
COPYING config-ml.in gdb ltcf-gcj.sh readline COPYING config-ml.in gettext.m4 ltconfig sim
COPYING.LIB config.guess gettext.m4 ltconfig sim COPYING.LIB config.guess include ltmain.sh src-release
Makefile.def config.if include ltmain.sh src-release Makefile.def config.sub install-sh md5.sum symlink-tree
Makefile.in config.sub install-sh md5.sum symlink-tree Makefile.in configure libiberty missing texinfo
Makefile.tpl configure libiberty missing texinfo Makefile.tpl configure.in libtool.m4 mkinstalldirs ylwrap
README configure.in libtool.m4 mkinstalldirs ylwrap README djunpack.bat ltcf-c.sh move-if-change
bfd djunpack.bat ltcf-c.sh move-if-change bfd etc ltcf-cxx.sh opcodes
config etc ltcf-cxx.sh opcodes config gdb ltcf-gcj.sh readline
You can build GDB right in the source directory: You can build GDB right in the source directory:

View file

@ -44,7 +44,7 @@ PWD = $${PWDCMD-pwd}
# ChangeLog omitted because it may refer to files which are not in this # ChangeLog omitted because it may refer to files which are not in this
# distribution (perhaps it would be better to include it anyway). # distribution (perhaps it would be better to include it anyway).
DEVO_SUPPORT= README Makefile.in configure configure.in \ 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 \ COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
mkinstalldirs ltconfig ltmain.sh missing ylwrap \ mkinstalldirs ltconfig ltmain.sh missing ylwrap \
libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh \ libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh \