VirtualBox

Changeset 4913 in vbox


Ignore:
Timestamp:
Sep 20, 2007 8:30:48 AM (17 years ago)
Author:
vboxsync
Message:

configure: for X11 search in /usr/local as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r4910 r4913  
    5454LIBCRYPTO="-lcrypto"
    5555LIBPTHREAD="-lpthread"
    56 LIBX11="-L/usr/X11R6/lib -L/usr/X11R6/lib64 -lXext -lX11"
     56LIBX11="-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11"
     57INCX11="/usr/local/include"
    5758LIBXCURSOR="-lXcursor"
    5859INCZ=""
     
    910911}
    911912EOF
    912   if test_compile "$LIBX11 $LIBXCURSOR" Xcursor Xcursor; then
     913  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
     914  if test_compile "$LIBX11 $LIBXCURSOR $I_INCX11" Xcursor Xcursor; then
    913915    log_success "found"
    914916    cnf_append "LIB_XCURSOR" "`strip_l "$LIBXCURSOR"`"
     
    940942}
    941943EOF
    942   if test_compile "$LIBX11" Xlibs Xlibs; then
     944  [ -n "$INCX11" ] && I_INCX11=`prefix_I "$INCX11"`
     945  if test_compile "$LIBX11 $I_INCX11" Xlibs Xlibs; then
    943946    log_success "found"
    944947  fi
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette