From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id B42A11F66E for ; Sat, 22 Aug 2020 21:11:43 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k9anb-00009o-6B; Sat, 22 Aug 2020 21:11:39 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9anZ-00009b-0z for sox-devel@lists.sourceforge.net; Sat, 22 Aug 2020 21:11:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fUYnDKFIEYmPJwltudZuge/N+3SSv1Z4v7sdodq5dIk=; b=NVEKfmL6Isr6HziagpvISzHbXx CV/PVr80CpvYsA/F983zmRGbKEsquBzcoQikYmioEKXKQY21RuLd2q9Jq4P5AgRAOZrcOcjciiaBo K9v3fWc6sV2e6emzeBtCz4wYIqQmqS1NcU8EM6YmIGdW1IwFySS2jVu2Yw/NKBsJvYlM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fUYnDKFIEYmPJwltudZuge/N+3SSv1Z4v7sdodq5dIk=; b=ShrpqtCizgy3eYSb8oLqe2BsTm 56lmoWln3Eqn5MOv8Hlk0fKmqiHqxD/X9xaRthDkkzkwOignaPAiGpPsofzwlv1FkPm7zfqjvkB7I uFRWOi5Q0AJ0nebDh4FiAgmS4qo7DOSsJW6HbXDk6f+T3XvR4SDZLjISpylcmweQZWG8=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1k9anX-00Fdiu-LV for sox-devel@lists.sourceforge.net; Sat, 22 Aug 2020 21:11:36 +0000 Received: from raven.mansr.com (raven.mansr.com [81.2.72.235]) by unicorn.mansr.com (Postfix) with ESMTPS id 5392A15360; Sat, 22 Aug 2020 22:11:22 +0100 (BST) Received: by raven.mansr.com (Postfix, from userid 51770) id 48E9E21A6F2; Sat, 22 Aug 2020 22:11:22 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Jan Stary References: <20200822204203.GA59614@www.stare.cz> Date: Sat, 22 Aug 2020 22:11:22 +0100 In-Reply-To: <20200822204203.GA59614@www.stare.cz> (Jan Stary's message of "Sat, 22 Aug 2020 22:42:03 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1k9anX-00Fdiu-LV Subject: Re: compiler detection X-BeenThere: sox-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-devel@lists.sourceforge.net Cc: sox-devel@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-devel-bounces@lists.sourceforge.net Jan Stary writes: > It seems ./configure is confused about which compiler it found. > > When run without arguments, ./configure will look for (and find) gcc, > without ever bothering to look for cc. > > With CC specified, using either of > > ./configure CC=3Dcc > env CC=3Dcc ./configure > > this is what happens: > > checking for gcc... cc > > $ cc --version > OpenBSD clang version 10.0.1 = > Target: amd64-unknown-openbsd6.7 > Thread model: posix > InstalledDir: /usr/bin > > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... = > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > > no > > I don't know what effect it has on the subsequent compilation, > or what assumptions thinking "we are using the GNU compiler" leads to. That checks whether __GNUC__ is defined. Since clang supports (most) gcc extensions, it defines this symbol. -- = M=E5ns Rullg=E5rd _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel