Changeset 22752 in vbox for trunk/configure
- Timestamp:
- Sep 3, 2009 2:05:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r22743 r22752 1238 1238 } 1239 1239 1240 # 1241 # Check for OpenGL 1242 # 1243 check_opengl() 1244 { 1245 # On darwin this is a on/off decision only 1246 if [ "$OS" = "darwin" ]; then 1247 test_header "OpenGL support" 1248 echo "enabled" 1249 cnf_append "VBOX_WITH_CROGL" "1" 1250 else 1251 check_xmu 1252 check_mesa 1253 fi 1254 } 1255 1240 1256 1241 1257 # … … 1275 1291 fi 1276 1292 } 1277 1278 1293 1279 1294 # … … 1716 1731 { 1717 1732 test_header "python support" 1733 1734 # On darwin this is a on/off decision only 1735 if [ "$OS" = "darwin" ]; then 1736 echo "enabled" 1737 cnf_append "VBOX_WITH_PYTHON" "1" 1738 return 1739 fi 1740 1718 1741 cat > $ODIR.tmp_src.cc << EOF 1719 1742 #include <cstdio> … … 1878 1901 10\.*) 1879 1902 darwin_ver="10.6" 1903 [ "$TARGET_MACHINE" = "amd64" ] && cnf_append "VBOX_WITH_COCOA_QT" "1" 1880 1904 ;; 1881 1905 9\.*) … … 1942 1966 --build-libxslt build libxslt from sources 1943 1967 --build-libcurl build libcurl from sources (PUEL only) 1944 --setup-wine setup a Wine directory and register the hhc hack 1968 EOF 1969 [ "$OS" != "darwin" ] && echo " --setup-wine setup a Wine directory and register the hhc hack" 1970 cat << EOF 1945 1971 1946 1972 Paths: … … 1989 2015 WITH_DBUS=0 1990 2016 WITH_KMODS=0 1991 WITH_OPENGL=01992 2017 BUILD_LIBXSLT=1 1993 2018 BUILD_LIBXML2=1 … … 2131 2156 ;; 2132 2157 --setup-wine) 2133 SETUP_WINE=12158 [ "$OS" != "darwin" ] && SETUP_WINE=1 2134 2159 ;; 2135 2160 *) … … 2220 2245 fi 2221 2246 2222 if [ $WITH_OPENGL -eq 0 ]; then2223 cnf_append "VBOX_WITH_CROGL" ""2224 fi2225 2226 2247 # emit disable directives corresponding to any --disable-xxx options. 2248 [ $WITH_OPENGL -eq 0 ] && cnf_append "VBOX_WITH_CROGL" "" 2227 2249 [ $WITH_XPCOM -eq 0 ] && cnf_append "VBOX_WITH_MAIN" "" 2228 2250 [ $WITH_QT4 -eq 0 ] && cnf_append "VBOX_WITH_QTGUI" "" … … 2258 2280 # TODO check for libxdamange-dev (X11/extensions/Xdamage.h, additions only) 2259 2281 [ $WITH_X11 -eq 1 ] && check_xcursor 2260 [ $WITH_OPENGL -eq 1 ] && check_xmu 2261 [ $WITH_OPENGL -eq 1 ] && check_mesa 2282 [ $WITH_OPENGL -eq 1 ] && check_opengl 2262 2283 [ $WITH_QT4 -eq 1 ] && check_qt4 2263 2284 [ $WITH_PYTHON -eq 1 ] && check_python … … 2306 2327 if [ "$OS" = "darwin" ]; then 2307 2328 check_darwinversion 2308 # check_i386elfgcc2309 2329 fi 2310 2330
Note:
See TracChangeset
for help on using the changeset viewer.