diff options
author | Jason Merrill <jason@redhat.com> | 2000-07-22 08:20:10 +0000 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2000-07-22 08:20:10 +0000 |
commit | 2ff6d12fa29f788a2e27d59ab4ecb5a098ec5ca2 (patch) | |
tree | 358d16a347b442f0ba0c57a0565357ead69bf10e /config.if | |
parent | ede1fee4caabd8cceaceb9447dcf3376a837e29d (diff) | |
download | newlib-2ff6d12fa29f788a2e27d59ab4ecb5a098ec5ca2.zip newlib-2ff6d12fa29f788a2e27d59ab4ecb5a098ec5ca2.tar.gz newlib-2ff6d12fa29f788a2e27d59ab4ecb5a098ec5ca2.tar.bz2 |
merge with gcc
Diffstat (limited to 'config.if')
-rw-r--r-- | config.if | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -21,9 +21,15 @@ 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 + +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 |