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-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 925D71F466 for ; Sat, 18 Jan 2020 21:39:24 +0000 (UTC) Received: from localhost ([::1]:45108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isvoR-0001vd-7O for normalperson@yhbt.net; Sat, 18 Jan 2020 16:39:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33785) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isvoM-0001rs-Ms for bug-gnulib@gnu.org; Sat, 18 Jan 2020 16:39:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isvoL-0008AC-EN for bug-gnulib@gnu.org; Sat, 18 Jan 2020 16:39:18 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33820) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1isvoL-00086b-9B for bug-gnulib@gnu.org; Sat, 18 Jan 2020 16:39:17 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3DEB216007A; Sat, 18 Jan 2020 13:39:12 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9ailhLKg_Wmm; Sat, 18 Jan 2020 13:39:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 72BDF16007E; Sat, 18 Jan 2020 13:39:11 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oTrHSIi0onEy; Sat, 18 Jan 2020 13:39:11 -0800 (PST) Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 4B5B716007A; Sat, 18 Jan 2020 13:39:11 -0800 (PST) Subject: Re: Messed up gl_COMPILER_PREPARE_CHECK_DECL To: Bruno Haible References: <20200110151102.GA6823@aun.utmark.mea> <1741057.sbhhibc9n3@omega> <7fb89678-cebb-cc01-4cb2-03ac6f17f719@cs.ucla.edu> <1836243.Q2fHsFcniS@omega> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <7d2bb233-b9f2-e3e0-24fd-b51ac52c63d8@cs.ucla.edu> Date: Sat, 18 Jan 2020 13:39:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1836243.Q2fHsFcniS@omega> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On 1/18/20 5:14 AM, Bruno Haible wrote: > 1) I moved the AC_PROG_CC override from 00gnulib.m4 to ~~gnulib.m4 Although I haven't tried the patch, surely the name '~~gnulib.m4' causes problems. I imagine some programs use '~' for other naming conventions (e.g., for deleted files). On systems that use alphabetic characters first for collating, 'ls' and 'echo *' don't put the '~~' file last anyway; this happened on my Ubuntu 18.04.3 machine in the en_US.utf8 locale. On systems with GNU ls, the leading '~' causes ls to quote the file name and to put spaces in front of other file names in the same directory, which is an annoyance (albeit a necessary one to warn users of the problem with cutting and pasting that file name). And if there is a user whose name happens to be '~gnulib.m4' (admittedly unlikely, but POSIX allows this as an extension), the string ~~gnulib.m4 will expand to that user's home directory in the shell. For all these reasons I suggest renaming the file to zzgnulib.m4.