Changeset 605 for branches/GNU/src/binutils/config.if
- Timestamp:
- Aug 16, 2003, 6:41:03 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/config.if
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r604 r605 3 3 # determine: 4 4 # 5 # 1. libstcxx_interface: the interface name for libstdc++. 6 # 2. cxx_interface: the interface name for c++. 7 # 3. libc_interface: the interface name for libc. 5 # 1. libstcxx_incdir: the interface name for libstdc++. 6 # 2. libc_interface: the interface name for libc. 8 7 # 9 8 … … 22 21 fi 23 22 24 if [ "${enable_libstdcxx_v3}" = "yes" ] ; then 25 libstdcxx_srcdir=${if_topsrcdir}/libstdc++-v3 26 else 27 libstdcxx_srcdir=${if_topsrcdir}/libstdc++ 23 # Set libstdcxx_incdir. 24 # This is the same as gcc/configure.in and libstdc++-v3/acinclude.m4. 25 if test -z "$gcc_version"; then 26 if test -z "${gcc_version_trigger}" \ 27 && test -f ${if_topsrcdir}/gcc/version.c; then 28 gcc_version_trigger=${if_topsrcdir}/gcc/version.c 29 fi 30 if test -f "${gcc_version_trigger}"; then 31 gcc_version_full=`grep version_string "${gcc_version_trigger}" | sed -e 's/.*"\([^"]*\)".*/\1/'` 32 else 33 gcc_version_full=`$CC -v 2>&1 | sed -n 's/^gcc version //p'` 34 fi 35 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'` 28 36 fi 29 30 if [ -f ${libstdcxx_srcdir}/Makefile.in ]; then 31 # We check libstdc++ for libstdcxx_interface. 32 libstdcxx_interface=`grep "^INTERFACE" ${libstdcxx_srcdir}/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` 33 else 34 libstdcxx_interface= 35 fi 36 37 if [ -f ${if_topsrcdir}/gcc/cp/Makefile.in ]; then 38 # We check gcc/cp for cxx_interface. 39 cxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/gcc/cp/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'` 40 else 41 cxx_interface= 42 fi 37 libstdcxx_incdir=c++/${gcc_version} 43 38 44 39 # The trickiest part is libc_interface. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.