Skip to content

Commit

Permalink
Autoconfig, detect if X11 exist on Mac OS X (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored and Bob Burger committed Jul 17, 2018
1 parent 40faa8c commit b4793db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LOG
Original file line number Diff line number Diff line change
Expand Up @@ -977,3 +977,5 @@
based on open files instead of paths
7.ss, primdata.ss, mkheader.ss, scheme.c
7.ms, foreign.stex, system.stex
- auto-config improvement, detect if X11 exist on Mac OS X
configure
8 changes: 8 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@ if [ "$installman" = "" ] ; then
installman=$installprefix/$installmansuffix
fi

if [ "$disablex11" = "no" ] ; then
if [ $m = a6osx ] || [ $m = ta6osx ] ; then
if [ ! -d /opt/X11/include/ ] ; then
disablex11=yes
fi
fi
fi

if [ "$help" = "yes" ]; then
echo "Purpose:"
echo " $0 determines the machine type and constructs a custom Makefile"
Expand Down

0 comments on commit b4793db

Please sign in to comment.