diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-18 18:08:07 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-18 18:08:07 +0000 |
commit | ac20ef2ce143025bba5faa4b1387ed8073d42ed2 (patch) | |
tree | e3b652ac659fe3c47197131e380a8fdd336bef47 /config.if | |
parent | 7bb22cfbbe450c5d393b647abd6554df3d7b9acd (diff) | |
download | gcc-ac20ef2ce143025bba5faa4b1387ed8073d42ed2.tar.gz |
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
(libstdcxx_incdir): Pass down.
* config.if: Remove expired bits for cxx_interface, add stub.
(libstdcxx_incdir): Add variable for g++ include directory.
* configure.in (gxx_include_dir): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38355 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config.if')
-rw-r--r-- | config.if | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/config.if b/config.if index 31c8551d00f..4cac75dc4a4 100644 --- a/config.if +++ b/config.if @@ -30,13 +30,9 @@ else # We check libstdc++/Makefile.in for libstdcxx_interface. libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` fi - -if [ -f ${if_topsrcdir}/gcc/cp/Makefile.in ]; then -# We check gcc/cp for cxx_interface. -cxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/gcc/cp/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` -else -cxx_interface= -fi +libstdcxx_incdir=g++-${libstdcxx_interface} +# Used to version libstdc++ shared libraries +cxx_interface=2 # The trickiest part is libc_interface. if [ -z "${libc_interface}" ] |