From 07ea9727d2053146a9d3ebf690c53d631014ce86 Mon Sep 17 00:00:00 2001 From: das Date: Wed, 13 Aug 2008 23:04:22 +0000 Subject: * unix/tcl.m4 (SC_PATH_X): check for libX11.dylib in addition to libX11.so et al. --- unix/tcl.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 1659a12..c7a13c6 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2407,7 +2407,7 @@ AC_DEFUN([SC_PATH_X], [ XLIBSW=nope dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib" for i in $dirs ; do - if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then + if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl -o -r $i/libX11.dylib; then AC_MSG_RESULT([$i]) XLIBSW="-L$i -lX11" x_libraries="$i" -- cgit v0.12