Changeset 5366 in vbox for trunk/configure
- Timestamp:
- Oct 18, 2007 9:18:20 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 25434
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r5359 r5366 322 322 fi 323 323 if [ "$BUILD_MACHINE" = "x86" -a "$TARGET_MACHINE" = "amd64" ]; then 324 325 324 [ -z "$CC64" ] && CC64="$CC -m64" 325 [ -z "$CXX64" ] && CXX64="$CXX -m64" 326 326 fi 327 327 if [ "$CC" != "gcc" ]; then … … 1016 1016 log_success "found version $moc_ver" 1017 1017 fi 1018 fi 1019 } 1020 1021 # 1022 # Check whether static libstdc++ is installed 1023 # 1024 check_staticlibstdcxx() 1025 { 1026 test_header "static stc++ library" 1027 libstdcxx=`$CXX -print-file-name=libstdc++.a` 1028 cat > .tmp_src.cc << EOF 1029 #include <string> 1030 1031 extern "C" int main(void) 1032 { 1033 std::string s = "test"; 1034 return 0; 1035 } 1036 EOF 1037 if test_compile "$libstdcxx" libstdc++ libstdc++; then 1038 log_success "found" 1018 1039 fi 1019 1040 } … … 1451 1472 # Linux-specific 1452 1473 if [ "$OS" = "linux" ]; then 1474 check_staticlibstdcxx 1453 1475 check_linux 1454 1476 check_alsa
Note:
See TracChangeset
for help on using the changeset viewer.