Changeset 23545 in vbox for trunk/configure
- Timestamp:
- Oct 5, 2009 9:01:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r23473 r23545 121 121 INCPNG="" 122 122 LIBPNG="-lpng" 123 CXX_FLAGS="" 123 124 if [ "$OS" = "freebsd" ]; then 124 125 INCCURL="-I/usr/local/include" … … 257 258 cat $ODIR.tmp_src.cc >> $LOG 258 259 echo "using the following command line:" >> $LOG 259 echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc \"$1\"" >> $LOG260 $CXX -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc $1 >> $LOG 2>&1260 echo "$CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc \"$1\"" >> $LOG 261 $CXX $CXX_FLAGS -g -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc $1 >> $LOG 2>&1 261 262 if [ $? -ne 0 ]; then 262 263 if [ -z "$4" ]; then … … 1904 1905 10\.*) 1905 1906 darwin_ver="10.6" 1907 sdk=/Developer/SDKs/MacOSX10.5.sdk 1908 CXX_FLAGS="-mmacosx-version-min=10.5 -isysroot $sdk -Wl,-syslibroot,$sdk" 1909 test "$CC" = "gcc" && CC="gcc-4.0" 1910 test "$CXX" = "g++" && CXX="g++-4.0" 1906 1911 ;; 1907 1912 9\.*) 1908 1913 darwin_ver="10.5" 1914 sdk=/Developer/SDKs/MacOSX10.5.sdk 1915 CXX_FLAGS="-mmacosx-version-min=10.5 -isysroot $sdk -Wl,-syslibroot,$sdk" 1916 test "$CC" = "gcc" && CC="gcc-4.0" 1917 test "$CXX" = "g++" && CXX="g++-4.0" 1909 1918 cnf_append "VBOX_WITHOUT_VBOXPYTHON_FOR_OSX_10_6" "1" 1910 1919 ;; 1911 1920 8\.*) 1912 1921 darwin_ver="10.4" 1922 sdk=/Developer/SDKs/MacOSX10.4u.sdk 1923 CXX_FLAGS="-mmacosx-version-min=10.4 -isysroot $sdk -Wl,-syslibroot,$sdk" 1924 test "$CC" = "gcc" && CC="gcc-4.0" 1925 test "$CXX" = "g++" && CXX="g++-4.0" 1913 1926 cnf_append "VBOX_WITH_COCOA_QT" "" 1914 1927 cnf_append "VBOX_WITHOUT_VBOXPYTHON_FOR_OSX_10_6" "1" … … 1920 1933 ;; 1921 1934 esac 1922 log_success "found version $darwin_ver "1935 log_success "found version $darwin_ver (SDK: $sdk)" 1923 1936 } 1924 1937 … … 2258 2271 [ $WITH_HARDENING -eq 2 ] && cnf_append "VBOX_WITH_HARDENING" "2" 2259 2272 2273 # Darwin-specific 2274 if [ "$OS" = "darwin" ]; then 2275 check_darwinversion 2276 fi 2260 2277 # the tools 2261 2278 check_gcc … … 2326 2343 cnf_append "VBOX_WITH_WEBSERVICES" "" 2327 2344 fi 2328 fi2329 2330 # Darwin-specific2331 if [ "$OS" = "darwin" ]; then2332 check_darwinversion2333 2345 fi 2334 2346
Note:
See TracChangeset
for help on using the changeset viewer.