From: Orgad Shaneh Date: Wed, 22 Mar 2023 13:22:37 +0000 (+0200) Subject: Fix compiler detection when CC has a wrapper. X-Git-Tag: 0.7.12~6 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=247daa049057db583a2ab50a300bb4ee13e3e746;p=njs.git Fix compiler detection when CC has a wrapper. For example CC='ccache gcc'. --- diff --git a/auto/cc b/auto/cc index 5323f7da..c8b1b076 100644 --- a/auto/cc +++ b/auto/cc @@ -13,7 +13,7 @@ END # Allow error exit status. set +e -if [ -z `which $CC` ]; then +if [ -z "$(which $CC)" ]; then echo echo $0: error: $CC not found. echo