From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 75A593858C53 for ; Fri, 1 Mar 2024 14:42:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 75A593858C53 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 75A593858C53 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709304166; cv=none; b=GbybRGlYxlCHZs7lj+HaVF6ke0syzDn/YwDCxQ94LKnt6uEaEleobk7JGc7hKEzdOrMIuF0TXgTTfTj5e2OkrcthiUmG8Ob8gHf5H3rp095bWRWHte7+VKpgF8shO0s/jHRxjl7gKG5P+FCxsI71bcKn8pdxJTslV4OCtN2Pjes= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709304166; c=relaxed/simple; bh=SwcNqhMuug5bIrB6CfH7/qMAJUx7WlyXloUBQvnH0XY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eAOB6wJ13qt4AmaT0Y6hlrYdR56Sq8uocwGipmg7ZGBbN8DwAq5r4GC1LHsnYqgKKrdA3R0J3nBCoqLQHNx2ZST4RZ/Wm4IXHpmhyNDs0FXDbirupYIyIaXSz5iNkOg+lxoG3hEKiEnpRuhLCeSTk7uvjuHXyDt6PCITTT7v0zA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709304165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QVw+9p1pDqvgr1qZrxiKrg/VKWapCqWm13TYjn1yj5A=; b=NzD4ygR1Pmdxzlp7hGETmQ/mzur0cK+qX+UzDBMhN5q+sv8Ce7Hof3q17LzV7F/RExKrMw A+obAZCKiFMg041ajwi0YtzbdMuWDptjIwf6Q9qr/cvNlxEP9tvloWHzTTpzlzSsEYoukT 4HFxQgbOlHRNy/piKq4Sm/PyFjl90SI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-571-yt9MfFR2PW6SCfER8flvKw-1; Fri, 01 Mar 2024 09:42:42 -0500 X-MC-Unique: yt9MfFR2PW6SCfER8flvKw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A1D5F85A58F; Fri, 1 Mar 2024 14:42:39 +0000 (UTC) Received: from localhost (unknown [10.42.28.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6D86CAC11; Fri, 1 Mar 2024 14:42:39 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] libstdc++: Use [] for empty argument to automake macro Date: Fri, 1 Mar 2024 14:39:21 +0000 Message-ID: <20240301144238.94065-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Does this look reasonable to push? There are lots of other uses of AM_ENABLE_MULTILIB(, ..) in the tree, but I'll leave others to "fix" those if needed. -- >8 -- This seems to be needed to build with --enable-maintainer-mode but I don't understand why it doesn't fail in the normal build. libstdc++-v3/ChangeLog: * configure.ac: Use [] for empty argument to AM_ENABLE_MULTILIB macro. --- libstdc++-v3/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index 37396bd6ebb..1d6a94a16f2 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -11,7 +11,7 @@ AC_CONFIG_HEADER(config.h) ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD # Find the rest of the source tree framework. -AM_ENABLE_MULTILIB(, ..) +AM_ENABLE_MULTILIB([], ..) # Gets build, host, target, *_vendor, *_cpu, *_os, etc. # -- 2.43.2