From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by sourceware.org (Postfix) with ESMTPS id CCAC13952012 for ; Thu, 17 Mar 2022 10:59:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CCAC13952012 Received: by mail-io1-xd33.google.com with SMTP id h63so5386491iof.12 for ; Thu, 17 Mar 2022 03:59:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=tUlCCh61tXh007DOEzgjWm3WUQj7rx3LOTFKZl0i6vA=; b=opLwk9gD7XePz1JR98kDfGyhWLgikwhO0rhJU5nPEmT1gXx2n+XHz3QJCHJJS9YNwi uClvXRhCpWyl+fqk/ADjj8rzNyU6oljpb7mZtcwZtSy78Sj9lrVBrJdkt3Aib6wue5MF PtDRacYH+SQ0Xqt8uTA9A/kHVY1VIqTUqDECY02hiCQIrkvfsfahehxx8YPdOc3ikZic MTQwxGcK/QBZUsKeiuxvPRTU47IqU5a+IBTGR8kbhuAxF5PJ0inNc3cFeGfWa3l1qxhg AMxc4/irF4t9uxNuRJF2lCFZvUCSHSRpG67PlEQqePMelflcbSWhwe5pMm+MWkZdN7tC iSPw== X-Gm-Message-State: AOAM5338Yq+iC5KvrB3qT8Q1Od5DSZeVMh50efiw0AZCtFDBbT5FbDvH DMLa89rUl8B1XJr5WgMFoPJrVsu8vLY= X-Google-Smtp-Source: ABdhPJyR9QgSf4ouWUPotZcXR/oSR2fpqNjd7P2vOy1DFRiwVv+RqNwmgnKMNLqzJQcsSdayIrFkuw== X-Received: by 2002:a05:6638:156:b0:314:f997:baad with SMTP id y22-20020a056638015600b00314f997baadmr1805998jao.156.1647514796818; Thu, 17 Mar 2022 03:59:56 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:2bc3:de1a:326f:fd59]) by smtp.gmail.com with ESMTPSA id t8-20020a92c0c8000000b002c7e61f5c42sm669772ilf.43.2022.03.17.03.59.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 03:59:56 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 9C5C71142F41; Thu, 17 Mar 2022 21:29:53 +1030 (ACDT) Date: Thu, 17 Mar 2022 21:29:53 +1030 From: Alan Modra To: binutils@sourceware.org Subject: gprofng configure target tests Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3036.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2022 11:00:03 -0000 ${target} in configure.ac should be the canonical target, so that for example, someone configuring with --target=x86_64-linux will match x86_64-*-linux*. * configure.ac: Invoke AC_CANONICAL_TARGET. * libcollector/configure.ac: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * gp-display-html/Makefile.in: Regenerate. * libcollector/Makefile.in: Regenerate. * libcollector/configure: Regenerate. * src/Makefile.in: Regenerate. diff --git a/gprofng/configure.ac b/gprofng/configure.ac index 23fee8705ac..c05e98192f3 100644 --- a/gprofng/configure.ac +++ b/gprofng/configure.ac @@ -18,6 +18,7 @@ dnl . m4_include([../bfd/version.m4]) AC_INIT([gprofng], BFD_VERSION) +AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([subdir-objects]) AM_MAINTAINER_MODE diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/configure.ac index d82733fbc39..1da916ef83c 100644 --- a/gprofng/libcollector/configure.ac +++ b/gprofng/libcollector/configure.ac @@ -20,6 +20,7 @@ m4_include([../../bfd/version.m4]) AC_INIT([gprofng], BFD_VERSION) AC_CONFIG_MACRO_DIRS([../../config ../..]) AC_CONFIG_AUX_DIR(../..) +AC_CANONICAL_TARGET AM_INIT_AUTOMAKE AM_MAINTAINER_MODE -- Alan Modra Australia Development Lab, IBM