vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 092626cd1fffc7e07f0a7ee3c15c061d34929042
parent 1c9891a0a508de5c4d24a88e0ee0aa2da030ce23
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 23 Mar 2016 11:55:32 +0100

configure: default to cc instead of c99

Using -std=c99 in combination with c99 does not make sense.

Some versions of Mac OS seem to have a broken wrapper implementing
the c99 utility which always generates 32-bit code instead of
targeting the native architecture.

 http://stackoverflow.com/questions/4182413

Also add clang to the list of compilers to try.

Diffstat:
Mconfigure | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure @@ -176,9 +176,9 @@ trap 'rm -f "$tmpc" "$tmpo"' EXIT INT QUIT TERM HUP # Find a C compiler to use # printf "checking for C compiler... " -trycc c99 trycc cc trycc gcc +trycc clang printf "%s\n" "$CC" test -n "$CC" || { echo "$0: cannot find a C compiler" ; exit 1 ; }