Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331573
Collapse All | Expand All

(-)VirtualBox-3.2.8_OSE/configure (-19 / +2 lines)
Lines 1225-1234 Link Here
1225
  XCloseDisplay(dpy);
1225
  XCloseDisplay(dpy);
1226
}
1226
}
1227
EOF
1227
EOF
1228
  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
1228
  test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs
1229
  if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then
1230
    log_success "found"
1231
  fi
1232
}
1229
}
1233
1230
1234
1231
Lines 1345-1364 Link Here
1345
#include <X11/Xmu/StdCmap.h>
1342
#include <X11/Xmu/StdCmap.h>
1346
extern "C" int main(void)
1343
extern "C" int main(void)
1347
{
1344
{
1348
  Display *dpy;
1349
  int scrn_num;
1350
  Screen *scrn;
1351
1352
  dpy = XOpenDisplay(NULL);
1353
  if (dpy)
1354
  {
1355
    scrn_num = DefaultScreen(dpy);
1356
    scrn     = ScreenOfDisplay(dpy, scrn_num);
1357
    Status status = XmuLookupStandardColormap(dpy, RootWindowOfScreen(scrn), 0,
1358
                    24, XA_RGB_DEFAULT_MAP, False, True);
1359
    printf("Status = %x\n", status);
1360
    XCloseDisplay(dpy);
1361
  }
1362
  return 0;
1345
  return 0;
1363
}
1346
}
1364
EOF
1347
EOF
Lines 1403-1409 Link Here
1403
  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
1386
  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
1404
  if test_compile "$LIBX11 $MESA $I_INCX11" Mesa Mesa; then
1387
  if test_compile "$LIBX11 $MESA $I_INCX11" Mesa Mesa; then
1405
    [ $PASSIVE_MESA -eq 1 ] && unset DISPLAY
1388
    [ $PASSIVE_MESA -eq 1 ] && unset DISPLAY
1406
    test_execute
1389
    echo
1407
  fi
1390
  fi
1408
}
1391
}
1409
1392

Return to bug 331573