From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 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 53BC61F44D for ; Wed, 24 Apr 2024 20:36:42 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=sc3d.org header.i=@sc3d.org header.a=rsa-sha256 header.s=google header.b=tmKqTFgl; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzjLy-000114-Tl; Wed, 24 Apr 2024 16:36:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzjLx-00010o-2a for bug-gnulib@gnu.org; Wed, 24 Apr 2024 16:36:29 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzjLs-0001oz-Mr for bug-gnulib@gnu.org; Wed, 24 Apr 2024 16:36:28 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-dcc6fc978ddso342799276.0 for ; Wed, 24 Apr 2024 13:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1713990983; x=1714595783; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=T44jFkNB4xRnZV9aZY8M+xseI2ETSYwYRQF5mrV28LQ=; b=tmKqTFglpsQNuUVoZzeFrOOzFivAZd6xZaNjLBlECoyW4e41ZSaYf/Xz6Tp03Aetq9 6uXqW8L8fLTbcA3BxGVXQoa4Y1uiFnJh4UZFyBfnJRiRngaX7GlY0YlxA+6/hHzvxtf1 Ix3JxjcspT0Kxy4hgaPodEmnkTQw0e7oux6No= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713990983; x=1714595783; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T44jFkNB4xRnZV9aZY8M+xseI2ETSYwYRQF5mrV28LQ=; b=VdI99810vkZQV6qtjojDHhossygrJoBtDA0dfiAJXQ6Zu/9cUq+bwn6ZIltRyn67yA 40ZlIpzRG1frqe+Tp+8chSmp/m0wcDyoZ0vSpSHipL6fuNviHgOTazV+I8bEoamj5h93 X+Y6/bBgYgMe6ppZVmTVuxdjZ2gTwPMYbwYWTk3zfxC2ZYrR4KDGHKq7W+Smozuyy1NV csVriY7fSD7p5jZnRe7MmKITEAsNu+Yvc90nSUXGcWeQkf44aHG9gcuSe4Cc9QHBUZyy cGXf9PGo0Yq7y2O0AQ5LlSGyjH8bTHpG0tOHqYeTPikiSjcfp/lagvTQpAksvDD6Mzug DPBQ== X-Gm-Message-State: AOJu0YwiVIAIbFpg63yPWoLwT7/2fJD9GnW6VdB3Ct7zlOjZGe/jBed3 UOug0dq9o+sISBCAGbDLQdcjjBa7h8ncpDXiiXuZbS1HT8JML8ZlJ4JCPRaAsIfAkf3HQbKpGjD Fbyr6BCFlTQDiH1TTs1s3RXfsNw82vHuBU9+VzWwPnbjqOeGis48= X-Google-Smtp-Source: AGHT+IFnkVciWB+ke+q4JEaTNohigKhYKwENofzHTWqJ7BSnOK2shH94ltVXsPnQIHvSIeeRBeCFMTjZW9X5aqmBhSI= X-Received: by 2002:a25:ea04:0:b0:dcb:df38:1c20 with SMTP id p4-20020a25ea04000000b00dcbdf381c20mr746377ybd.24.1713990983145; Wed, 24 Apr 2024 13:36:23 -0700 (PDT) MIME-Version: 1.0 References: <346536552.tGq8MHzOUc@nimes> <6069206.YavUGHks2N@nimes> In-Reply-To: <6069206.YavUGHks2N@nimes> From: Reuben Thomas Date: Wed, 24 Apr 2024 22:36:12 +0200 Message-ID: Subject: Re: 'relocatable' project built without --enable-relocatable To: Bruno Haible Cc: bug-gnulib Content-Type: multipart/alternative; boundary="000000000000b2f8ec0616dd9fea" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=rrt@sc3d.org; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org --000000000000b2f8ec0616dd9fea Content-Type: text/plain; charset="UTF-8" On Wed, 24 Apr 2024 at 01:24, Bruno Haible wrote: > > Can you please try the attached patch? > Works beautifully, thanks. (Sorry to cause confusion: I was actually quoting code from a C-based project, not a Vala-based project, where I don't need the fix. But if you install this patch then I will certainly use it in my C-based projects to reduce the use of #ifdef.) Is there a reason not to make a similar macro for compute_curr_prefix? -- https://rrt.sc3d.org --000000000000b2f8ec0616dd9fea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 24 Apr 2024 at 01:24, Bruno Haible <bruno@clisp.org> wrote:

Can you please try the attached patch?

=
Works beautifully, thanks. (Sorry to cause confusion: I = was actually quoting code from a C-based project, not a Vala-based project,= where I don't need the fix. But if you install this patch then I will = certainly use it in my C-based projects to reduce the use of #ifdef.)
=

Is there a reason not to ma= ke a similar macro for compute_curr_prefix?

--
--000000000000b2f8ec0616dd9fea--