Autoconfig, detect if X11 exist on Mac OS X (#333)

original commit: b4793db8362152b242d5694417f555efec0db81a
This commit is contained in:
陈梓立 2018-07-17 22:40:33 +08:00 committed by Bob Burger
parent 5de438ba7d
commit 90362e220c
2 changed files with 10 additions and 0 deletions

2
LOG
View File

@ -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
configure vendored
View File

@ -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"