* config.if: Assume enable_libstdcxx_v3 is defined.

From-SVN: r39454
This commit is contained in:
Mark Mitchell 2001-02-05 11:02:20 +00:00 committed by Mark Mitchell
parent 3df1453df5
commit 36ca672c97
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,7 @@
2001-02-05 Mark Mitchell <mark@codesourcery.com>
* config.if: Assume enable_libstdcxx_v3 is defined.
2001-02-04 Mark Mitchell <mark@codesourcery.com>
Remove V2 C++ library.

View File

@ -21,15 +21,9 @@ else
if_topsrcdir=${top_srcdir}
fi
if [ "${enable_libstdcxx_v3}" = "yes" ] ; then
libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3
# We check libstdc++-v3/configure.in for libstdcxx_interface.
libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/configure.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
else
libstdcxx_srcdir=${if_topsrcdir}/libstdc++
# We check libstdc++/Makefile.in for libstdcxx_interface.
libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
fi
libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3
# We check libstdc++-v3/configure.in for libstdcxx_interface.
libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/configure.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
libstdcxx_incdir=g++-${libstdcxx_interface}
# Used to version libstdc++ shared libraries
cxx_interface=2