diff options
author | Benjamin Kosnik <bkoz@cygnus.com> | 2000-04-06 06:48:16 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-04-06 06:48:16 +0000 |
commit | 1709031301dcf9a98a07cae9ccd50bf5600823f2 (patch) | |
tree | 0583b6ece3366cf1121c1d59629218e38f50a7c2 /config.if | |
parent | 7822500a66b4885ed39708bf3aeb71e1f7eb4315 (diff) | |
download | gcc-1709031301dcf9a98a07cae9ccd50bf5600823f2.zip gcc-1709031301dcf9a98a07cae9ccd50bf5600823f2.tar.gz gcc-1709031301dcf9a98a07cae9ccd50bf5600823f2.tar.bz2 |
configure.in (enable_libstdcxx_v3): Add.
2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
* configure.in (enable_libstdcxx_v3): Add.
(target_libs): Add bits here to switch between libstdc++-v2 and
libstdc++-v3.
* config.if: And this file too.
* Makefile.in: Add libstdc++-v3 targets.
Co-Authored-By: Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>
From-SVN: r32963
Diffstat (limited to 'config.if')
-rw-r--r-- | config.if | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -21,9 +21,16 @@ else if_topsrcdir=${top_srcdir} fi -if [ -f ${if_topsrcdir}/libstdc++/Makefile.in ]; then +if [ "${enable_libstdcxx_v3}" = "yes" ] ; then + libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3 +else + libstdcxx_srcdir=${if_topsrcdir}/libstdc++ +fi + +echo "${libstdcxx_srcdir} is where" +if [ -f ${libstdcxx_srcdir}/Makefile.in ]; then # We check libstdc++ for libstdcxx_interface. -libstdcxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/libstdc++/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` +libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` else libstdcxx_interface= fi |