Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure script detection for X11 on MacOS X 10.5 #4446

vicuna opened this Issue Nov 11, 2007 · 0 comments


None yet
1 participant
Copy link

vicuna commented Nov 11, 2007

Original bug ID: 4446
Reporter: @avsm
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:26:13Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Fixed in version: 3.10+dev
Category: -for Caml light use

Bug description

The shared libraries on MacOS X end in .dylib, which is not detected correctly by the configure script and so X11 support isnt compiled in. Minor patch below sorts it out:

--- configure.orig 2007-11-11 18:43:26.000000000 +0000
+++ configure 2007-11-11 18:43:58.000000000 +0000
@@ -1221,6 +1221,7 @@
if test -f $dir/libX11.a ||
test -f $dir/ ||
test -f $dir/libX11.dll.a || \

  • test -f $dir/libX11.dylib || \
    test -f $dir/; then
    if test $dir = /usr/lib; then
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.