This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed false positive when checking for X11 on Mac OS X when the X11 d…
…evelopment environment isn't installed.
- Loading branch information
case "$host" in | ||
*-*-darwin*) | ||
# This isn't necessary for X11, but fixes GLX detection | ||
if test "x$x_includes" = xNONE && test "x$x_libraries" = xNONE; then | ||
if test "x$x_includes" = xNONE && \ | ||
test "x$x_libraries" = xNONE && \ | ||
test -d /usr/X11R6/include && \ | ||
test -d /usr/X11R6/lib; then | ||
x_includes="/usr/X11R6/include" | ||
x_libraries="/usr/X11R6/lib" | ||
fi |