RE: [PATCH] configure: use cc/c++ when GCC not installed

Subject: RE: [PATCH] configure: use cc/c++ when GCC not installed

Date: Wed, 21 May 2014 22:49:03 -0500

To: Fraser Tweedale, notmuch@notmuchmail.org

Cc: Fraser Tweedale

From: Felipe Contreras


Fraser Tweedale wrote:
> Some systems (e.g. FreeBSD 10) do not ship with the GNU Compiler
> Collection.  Use generic cc/c++ as a fallback when gcc/g++ are not
> available.
> ---
>  configure | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index 9bde2eb..3f4942b 100755
> --- a/configure
> +++ b/configure
> @@ -43,8 +43,16 @@ fi
>  
>  # Set several defaults (optionally specified by the user in
>  # environment variables)
> -CC=${CC:-gcc}
> -CXX=${CXX:-g++}

Why not just use cc and c++?

-- 
Felipe Contreras

Thread: