From 79b753a4974b2b44b0711e8ef191669e336fa023 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 10 Dec 2009 05:32:05 +0000 Subject: [PATCH] Check libX11.dylib if libX11.a is not found in each directory of X11 library path. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 1ff5fbe..a2cd2fb 100644 --- a/configure.in +++ b/configure.in @@ -2747,7 +2747,7 @@ if test "$with_x11" != "no"; then if test "$x_libraries" = "NONE"; then for dir in "/usr/X11/lib" "/usr/X11R6/lib" "/usr/lib/X11R6"; do - if test -r "$dir/libX11.a"; then x_libraries="$dir"; break; fi + if test -r "$dir/libX11.a" -o -r "$dir/libX11.dylib"; then x_libraries="$dir"; break; fi done fi -- 1.7.10.4