mirror of git://gcc.gnu.org/git/gcc.git
config.if (cxx_interface, [...]): Do not try to set these if the appropriate directories and files to not exist.
P * config.if (cxx_interface, libstdcxx_interface): Do not try to set these if the appropriate directories and files to not exist. From-SVN: r23166
This commit is contained in:
parent
35cd256514
commit
1b8a4ef39f
|
@ -21,11 +21,19 @@ else
|
||||||
if_topsrcdir=${top_srcdir}
|
if_topsrcdir=${top_srcdir}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f ${if_topsrcdir}/libstdc++/Makefile.in ]; then
|
||||||
# We check libstdc++ for libstdcxx_interface.
|
# We check libstdc++ for libstdcxx_interface.
|
||||||
libstdcxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/libstdc++/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
|
libstdcxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/libstdc++/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
|
||||||
|
else
|
||||||
|
libstdcxx_interface=
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f ${if_topsrcdir}/gcc/cp/Makefile.in ]; then
|
||||||
# We check gcc/cp for cxx_interface.
|
# We check gcc/cp for cxx_interface.
|
||||||
cxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/gcc/cp/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
|
cxx_interface=`grep "^INTERFACE" ${if_topsrcdir}/gcc/cp/Makefile.in | sed 's/INTERFACE[ ]*=[ ]*\(.*\)/\1/'`
|
||||||
|
else
|
||||||
|
cxx_interface=
|
||||||
|
fi
|
||||||
|
|
||||||
# The trickiest part is libc_interface.
|
# The trickiest part is libc_interface.
|
||||||
if [ -z "${libc_interface}" ]
|
if [ -z "${libc_interface}" ]
|
||||||
|
|
Loading…
Reference in New Issue