From 2607cc565ee3d5facb8949e9acfed35c8ae300c9 Mon Sep 17 00:00:00 2001 From: Xiao-Yong Date: Fri, 16 Nov 2018 09:14:49 -0600 Subject: INSTALL: use cc to check for fontsrv on non-Darwin (#203) FreeBSD 11.2 by default does not have gcc. --- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index bfb0d5d7..cb0df570 100755 --- a/INSTALL +++ b/INSTALL @@ -134,7 +134,7 @@ fi if [ `uname` != Darwin ]; then # Determine whether fontsrv X11 files are available. 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 if [ -f a.out ]; then echo " fontsrv dependencies found." -- cgit v1.2.3