From: Nathanael Nerode <neroden@doctormoo.dyndns.org>
To: gcc-patches@gcc.gnu.org
Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com,
dj@redhat.com
Subject: [patch] toplevel configure.in: topsrcdir->srcdir
Date: Thu, 30 May 2002 11:11:00 -0000 [thread overview]
Message-ID: <20020530180657.GA3212@doctormoo.dyndns.org> (raw)
This replaces references to ${topsrcdir} with ${srcdir}. This is correct,
since topsrcdir == srcdir when this is run; it is useful for autoconfiscation,
because topsrcdir doesn't automatically exist in autoconf scripts, while
srcdir does.
Tested on i686-pc-linux-gnu.
2002-05-23 Nathanael Nerode <neroden@twcny.rr.com>
* configure.in: replace ${topsrcdir} with ${srcdir}
*** configure.in.old Thu May 23 13:50:25 2002
--- configure.in Thu May 23 13:51:07 2002
***************
*** 1451,1457 ****
if test x${enable_version_specific_runtime_libs} = xyes; then
gxx_include_dir='${libsubdir}/include/g++'
else
! . ${topsrcdir}/config.if
gxx_include_dir='${prefix}/include/${libstdcxx_incdir}'
fi
else
--- 1451,1457 ----
if test x${enable_version_specific_runtime_libs} = xyes; then
gxx_include_dir='${libsubdir}/include/g++'
else
! . ${srcdir}/config.if
gxx_include_dir='${prefix}/include/${libstdcxx_incdir}'
fi
else
***************
*** 1472,1478 ****
esac
# If we're not building GCC, don't discard standard headers.
! if test -d ${topsrcdir}/gcc; then
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
if test "${build}" != "${host}"; then
--- 1472,1478 ----
esac
# If we're not building GCC, don't discard standard headers.
! if test -d ${srcdir}/gcc; then
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
if test "${build}" != "${host}"; then
***************
*** 1518,1524 ****
# the previously-installed cross compiler, so don't bother to add
# flags for directories within the install tree of the compiler
# being built; programs in there won't even run.
! if test "${build}" = "${host}" && test -d ${topsrcdir}/gcc; then
# Search for pre-installed headers if nothing else fits.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include'
fi
--- 1518,1524 ----
# the previously-installed cross compiler, so don't bother to add
# flags for directories within the install tree of the compiler
# being built; programs in there won't even run.
! if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
# Search for pre-installed headers if nothing else fits.
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include'
fi
***************
*** 1532,1538 ****
if test "x${CC_FOR_TARGET+set}" = xset; then
:
! elif test -d ${topsrcdir}/gcc; then
CC_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/'
elif test "$host" = "$target"; then
CC_FOR_TARGET='$(CC)'
--- 1532,1538 ----
if test "x${CC_FOR_TARGET+set}" = xset; then
:
! elif test -d ${srcdir}/gcc; then
CC_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/'
elif test "$host" = "$target"; then
CC_FOR_TARGET='$(CC)'
***************
*** 1548,1554 ****
if test "x${GCJ_FOR_TARGET+set}" = xset; then
:
! elif test -d ${topsrcdir}/gcc; then
GCJ_FOR_TARGET='$$r/gcc/gcj -B$$r/gcc/'
elif test "$host" = "$target"; then
GCJ_FOR_TARGET='gcj'
--- 1548,1554 ----
if test "x${GCJ_FOR_TARGET+set}" = xset; then
:
! elif test -d ${srcdir}/gcc; then
GCJ_FOR_TARGET='$$r/gcc/gcj -B$$r/gcc/'
elif test "$host" = "$target"; then
GCJ_FOR_TARGET='gcj'
***************
*** 1562,1568 ****
if test "x${CXX_FOR_TARGET+set}" = xset; then
:
! elif test -d ${topsrcdir}/gcc; then
# We add -shared-libgcc to CXX_FOR_TARGET whenever we use xgcc instead
# of g++ for linking C++ or Java, because g++ has -shared-libgcc by
# default whereas gcc does not.
--- 1562,1568 ----
if test "x${CXX_FOR_TARGET+set}" = xset; then
:
! elif test -d ${srcdir}/gcc; then
# We add -shared-libgcc to CXX_FOR_TARGET whenever we use xgcc instead
# of g++ for linking C++ or Java, because g++ has -shared-libgcc by
# default whereas gcc does not.
next reply other threads:[~2002-05-30 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-30 11:11 Nathanael Nerode [this message]
2002-05-30 12:08 ` DJ Delorie
2002-05-30 17:31 ` Nathanael Nerode
2002-05-30 17:49 ` DJ Delorie
2002-06-19 16:57 ` DJ Delorie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020530180657.GA3212@doctormoo.dyndns.org \
--to=neroden@doctormoo.dyndns.org \
--cc=binutils@sources.redhat.com \
--cc=dj@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox