mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
INSTALL: use cc to check for fontsrv on non-Darwin (#203)
FreeBSD 11.2 by default does not have gcc.
This commit is contained in:
parent
74223e0b4f
commit
2607cc565e
1 changed files with 1 additions and 1 deletions
2
INSTALL
2
INSTALL
|
@ -134,7 +134,7 @@ fi
|
||||||
if [ `uname` != Darwin ]; then
|
if [ `uname` != Darwin ]; then
|
||||||
# Determine whether fontsrv X11 files are available.
|
# Determine whether fontsrv X11 files are available.
|
||||||
rm -f a.out
|
rm -f a.out
|
||||||
gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
|
cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
|
||||||
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
|
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
|
||||||
if [ -f a.out ]; then
|
if [ -f a.out ]; then
|
||||||
echo " fontsrv dependencies found."
|
echo " fontsrv dependencies found."
|
||||||
|
|
Loading…
Reference in a new issue