1784 |
|
|
1785 |
|
|
1786 |
|
|
1787 |
echo $ac_n "checking for for STL versions""... $ac_c" 1>&6 |
echo $ac_n "checking for STL versions""... $ac_c" 1>&6 |
1788 |
echo "configure:1789: checking for for STL versions" >&5 |
echo "configure:1789: checking for STL versions" >&5 |
1789 |
if eval "test \"`echo '$''{'ac_cv_stl'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_stl'+set}'`\" = set"; then |
1790 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1791 |
else |
else |
1792 |
|
|
1793 |
|
ac_ext=C |
1794 |
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1795 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
1796 |
|
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1797 |
|
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1798 |
|
cross_compiling=$ac_cv_prog_cxx_cross |
1799 |
|
|
1800 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
1801 |
#line 1795 "configure" |
#line 1802 "configure" |
1802 |
#include "confdefs.h" |
#include "confdefs.h" |
1803 |
#include <iostream> |
#include <iostream> |
1804 |
int main() { |
int main() { |
1808 |
cout.rdbuf()->pubsetbuf(bbuuff, 5120); |
cout.rdbuf()->pubsetbuf(bbuuff, 5120); |
1809 |
; return 0; } |
; return 0; } |
1810 |
EOF |
EOF |
1811 |
if { (eval echo configure:1805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1812 |
rm -rf conftest* |
rm -rf conftest* |
1813 |
ac_cv_stl=v3 |
ac_cv_stl=v3 |
1814 |
|
|
1824 |
fi |
fi |
1825 |
|
|
1826 |
|
|
1827 |
|
ac_ext=c |
1828 |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1829 |
|
ac_cpp='$CPP $CPPFLAGS' |
1830 |
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1831 |
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1832 |
|
cross_compiling=$ac_cv_prog_cc_cross |
1833 |
|
|
1834 |
if test x"${ac_cv_stl}" != x"v2" ; then |
if test x"${ac_cv_stl}" != x"v2" ; then |
1835 |
echo "$ac_t""v3" 1>&6 |
echo "$ac_t""v3" 1>&6 |
1836 |
cat >> confdefs.h <<\EOF |
cat >> confdefs.h <<\EOF |
1964 |
ac_given_INSTALL="$INSTALL" |
ac_given_INSTALL="$INSTALL" |
1965 |
|
|
1966 |
trap 'rm -fr `echo "Makefile doc/Makefile testsuite/Makefile example/Makefile |
trap 'rm -fr `echo "Makefile doc/Makefile testsuite/Makefile example/Makefile |
1967 |
testsuite/libdejagnu/Makefile unitparse/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
testsuite/libdejagnu/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
1968 |
EOF |
EOF |
1969 |
cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
1970 |
|
|
2066 |
cat >> $CONFIG_STATUS <<EOF |
cat >> $CONFIG_STATUS <<EOF |
2067 |
|
|
2068 |
CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile testsuite/Makefile example/Makefile |
CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile testsuite/Makefile example/Makefile |
2069 |
testsuite/libdejagnu/Makefile unitparse/Makefile"} |
testsuite/libdejagnu/Makefile"} |
2070 |
EOF |
EOF |
2071 |
cat >> $CONFIG_STATUS <<\EOF |
cat >> $CONFIG_STATUS <<\EOF |
2072 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |