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=-3.7 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, UNPARSEABLE_RELAY 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 D79341F66E for ; Sat, 22 Aug 2020 20:42:23 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k9aLA-0007e2-Gg; Sat, 22 Aug 2020 20:42:16 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9aL9-0007dm-4N for sox-devel@lists.sourceforge.net; Sat, 22 Aug 2020 20:42:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:To: From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oANElDvTBo4roaSC6s/P34DxIH/B5vdIAzLKvw+kA7k=; b=NgGST/ZfJmMu0N2bhSfNx79c8B YRjnkXeC0odmXljHOJCnfrXA3aRwoyhEx6H3M/LlO0DlWGxQtfwvEdSivAGPTa981FIEUzujuilUj wfyX0Eb+DAg5s4WHlpZ5yucuTvPXhE2Gnc81gnOAtdYiddlcHeShlB7CyAcce2s/R8oU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=oANElDvTBo4roaSC6s/P34DxIH/B5vdIAzLKvw+kA7k=; b=C U+cOTImIaeeyBhahh7ldddE2lcC+vtFGO0SwEs6EAvzBRHok+U8MJdgQ05hV165JBj6mxMaz1GMf5 YgX5LJqfrUFhktnHbUxWziBD1lEn4/PqWY2lo0rZXPDiyJw5dNP/Wvso4/Us71ZEnvxUZJbaO9OvX nyyxySHfJBvlhjIc=; Received: from uvt.stare.cz ([185.63.96.79] helo=mx.stare.cz) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1k9aL6-0046GR-EN for sox-devel@lists.sourceforge.net; Sat, 22 Aug 2020 20:42:15 +0000 Received: from localhost (stare.cz [local]) by stare.cz (OpenSMTPD) with ESMTPA id a18de139 for ; Sat, 22 Aug 2020 22:42:04 +0200 (CEST) Date: Sat, 22 Aug 2020 22:42:03 +0200 From: Jan Stary To: sox-devel@lists.sourceforge.net Message-ID: <20200822204203.GA59614@www.stare.cz> MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1k9aL6-0046GR-EN Subject: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-devel-bounces@lists.sourceforge.net 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=cc env CC=cc ./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. Jan _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel