From: tomo Date: Thu, 10 Dec 2009 05:32:05 +0000 (+0000) Subject: Check libX11.dylib if libX11.a is not found in each directory of X11 X-Git-Tag: r21-4-22-chise-0_24-jis-x0213-rep-diffs^20~172 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=79b753a4974b2b44b0711e8ef191669e336fa023;p=chise%2Fxemacs-chise.git Check libX11.dylib if libX11.a is not found in each directory of X11 library path. --- 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