From patchwork Mon May 31 09:47:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hangbin Liu X-Patchwork-Id: 451876 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FA49C47082 for ; Mon, 31 May 2021 09:48:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A9A8611AC for ; Mon, 31 May 2021 09:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbhEaJuA (ORCPT ); Mon, 31 May 2021 05:50:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:59774 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231124AbhEaJtj (ORCPT ); Mon, 31 May 2021 05:49:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622454475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y76x+T/DqY7snXN4EJ21xEIauzznPe1EtLBqOk+ixi8=; b=FqRA1OXO9ieSAAq8W7xJYgqoj7U+7t4EVLh2hHbcl2S1m8rksm7Icbw9ToEpMJ1zEH5tuy P6r2aHjETSBpSklGqzmvxm68gJrOKJPTeHZDhWzO50Mlop7lq7E/A5dBG90sPsIJDi+DVs yD7QGpmy+OS9NWqPpi//f9+iDHYaFoU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-520-lDOLQirXMcmJnOeqVkmafw-1; Mon, 31 May 2021 05:47:54 -0400 X-MC-Unique: lDOLQirXMcmJnOeqVkmafw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 22A111008560; Mon, 31 May 2021 09:47:53 +0000 (UTC) Received: from Leo-laptop-t470s.redhat.com (ovpn-12-207.pek2.redhat.com [10.72.12.207]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 823B95D9C0; Mon, 31 May 2021 09:47:51 +0000 (UTC) From: Hangbin Liu To: David Ahern Cc: Stephen Hemminger , netdev@vger.kernel.org, Hangbin Liu Subject: [PATCH iproute2-next 2/2] configure: convert LIBBPF environment variables to command-line options Date: Mon, 31 May 2021 17:47:40 +0800 Message-Id: <20210531094740.2483122-3-haliu@redhat.com> In-Reply-To: <20210531094740.2483122-1-haliu@redhat.com> References: <20210531094740.2483122-1-haliu@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Hangbin Liu --- configure | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/configure b/configure index c58419c2..0a4a0fc9 100755 --- a/configure +++ b/configure @@ -1,11 +1,6 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 # This is not an autoconf generated configure -# -# Influential LIBBPF environment variables: -# LIBBPF_FORCE={on,off} on: require link against libbpf; -# off: disable libbpf probing -# LIBBPF_DIR Path to libbpf DESTDIR to use INCLUDE="$PWD/include" @@ -491,6 +486,10 @@ usage() cat <