summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2008-08-13 23:04:32 (GMT)
committerdas <das>2008-08-13 23:04:32 (GMT)
commitdb84dcb0d10d51d6d59cef55c4fb15f511f61884 (patch)
tree1b309d7b7891c690053bba07acf2e987655921f1 /unix
parentb8fdb64e6934a2125ed924320af650e4078bd366 (diff)
downloadtk-db84dcb0d10d51d6d59cef55c4fb15f511f61884.zip
tk-db84dcb0d10d51d6d59cef55c4fb15f511f61884.tar.gz
tk-db84dcb0d10d51d6d59cef55c4fb15f511f61884.tar.bz2
* unix/tcl.m4 (SC_PATH_X): check for libX11.dylib in addition to
libX11.so et al.
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
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"