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

Closed
vicuna opened this issue Nov 11, 2007 · 0 comments
Closed

configure script detection for X11 on MacOS X 10.5 #4446

vicuna opened this issue Nov 11, 2007 · 0 comments

Comments

@vicuna
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 https://github.com/camllight/camllight/issues

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/libX11.so ||
test -f $dir/libX11.dll.a || \

  • test -f $dir/libX11.dylib || \
    test -f $dir/libX11.sa; then
    
    if test $dir = /usr/lib; then
    x11_link="-lX11"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant