Changeset 27449 in vbox for trunk/configure
- Timestamp:
- Mar 17, 2010 2:53:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r26973 r27449 119 119 LIBXCURSOR="-lXcursor" 120 120 LIBXMU="-lXmu" 121 LIBXINERAMA="-lXinerama" 121 122 MESA="-lGL" 122 123 INCZ="" … … 1224 1225 0, 16, InputOutput, CopyFromParent, 0, NULL); 1225 1226 XDestroyWindow(dpy, win); 1227 XCloseDisplay(dpy); 1226 1228 } 1227 1229 EOF … … 1256 1258 fi 1257 1259 } 1260 1261 1262 # 1263 # Check for the Xinerama library, needed by the Qt GUI 1264 # 1265 check_xinerama() 1266 { 1267 test_header Xinerama 1268 cat > $ODIR.tmp_src.cc << EOF 1269 #include <X11/Xlib.h> 1270 #include <X11/extensions/Xinerama.h> 1271 extern "C" int main(void) 1272 { 1273 Display *dpy; 1274 Bool flag; 1275 dpy = XOpenDisplay(NULL); 1276 if (dpy) 1277 { 1278 flag = XineramaIsActive(dpy); 1279 XCloseDisplay(dpy); 1280 } 1281 } 1282 EOF 1283 [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"` 1284 if test_compile "$LIBX11 $LIBXINERAMA $I_INCX11" Xinerama Xinerama; then 1285 log_success "found" 1286 fi 1287 } 1288 1258 1289 1259 1290 # … … 1300 1331 24, XA_RGB_DEFAULT_MAP, False, True); 1301 1332 printf("Status = %x\n", status); 1333 XCloseDisplay(dpy); 1302 1334 } 1303 1335 return 0; … … 1335 1367 return 0; 1336 1368 } 1369 XCloseDisplay(dpy); 1337 1370 } 1338 1371 printf("found (inactive), OK.\n"); … … 2356 2389 # TODO check for libxdamange-dev (X11/extensions/Xdamage.h, additions only) 2357 2390 [ $WITH_X11 -eq 1 ] && check_xcursor 2391 [ $WITH_X11 -eq 1 ] && check_xinerama 2358 2392 [ $WITH_OPENGL -eq 1 ] && check_opengl 2359 2393 [ $WITH_QT4 -eq 1 ] && check_qt4
Note:
See TracChangeset
for help on using the changeset viewer.