From patchwork Fri Apr 15 15:55:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 65936 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp8105qge; Fri, 15 Apr 2016 08:56:05 -0700 (PDT) X-Received: by 10.107.17.168 with SMTP id 40mr22745660ior.101.1460735765628; Fri, 15 Apr 2016 08:56:05 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p68si10697473ioe.90.2016.04.15.08.56.05; Fri, 15 Apr 2016 08:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1C1A162C3A; Fri, 15 Apr 2016 15:56:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id CF2F061B24; Fri, 15 Apr 2016 15:56:00 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1AC3461E4C; Fri, 15 Apr 2016 15:55:58 +0000 (UTC) Received: from mail-qg0-f50.google.com (mail-qg0-f50.google.com [209.85.192.50]) by lists.linaro.org (Postfix) with ESMTPS id E18E061B24 for ; Fri, 15 Apr 2016 15:55:55 +0000 (UTC) Received: by mail-qg0-f50.google.com with SMTP id j35so83446511qge.0 for ; Fri, 15 Apr 2016 08:55:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IrB9p5emENcf2Z2r7ksFt1VraIF1gD1izsf5HiyuBUQ=; b=cfr7RybTfEIIBKzNnGcpUpn+gDIgltg9S3VCooqagjOR9yFrJUcFAt6EJqFI8b+pWp oLjFX//7KiTvYJ0+wWwtEPsoS8o+46QxEkczaHTZHPnvNv1V+wUUcqwaC0FoBLUYqJuc Yan63GYpXu41zCMuue0DfXijLl77UK4/fLVqwCe+zbzf3mO8C0W7sUWTXZHYSyksxG9B ukWoi9jKe1JyyX13qVl6jL7tX1Pf0bRfnktUBD93np5jj1aSGh8p6MiFhu2NtGaYbrD0 4fS6lVedPR+wuhLTHoWeNR2E1au4IKQurysaHOfSSqzvEj2MlwjwZB5E7xKucHobdRpG MSqQ== X-Gm-Message-State: AOPr4FUdD/xwoivgAOfIl/Fpdu+mU+Nsx8C/544WDxM6NRvdFgJsXpJM1FnegcfEHZk72fJ03/M= X-Received: by 10.140.166.66 with SMTP id m63mr27281314qhm.21.1460735755599; Fri, 15 Apr 2016 08:55:55 -0700 (PDT) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id 131sm19109464qhk.15.2016.04.15.08.55.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 08:55:54 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 15 Apr 2016 11:55:32 -0400 Message-Id: <1460735732-3164-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.5.0 X-Topics: patch Subject: [lng-odp] [PATCH] configure: default ODP_DEBUG to false X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" As we approach a production stable release and we package for distribution inclusion, the default debug should be for the majority of users to build a performance image rather than a debug one. Suggested-by: Anders Roxell Signed-off-by: Mike Holmes Reviewed-by: Ricardo Salveti --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9665d1d..6c56daf 100644 --- a/configure.ac +++ b/configure.ac @@ -167,10 +167,12 @@ ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT" ########################################################################## # Enable/disable ODP_DEBUG ########################################################################## -ODP_DEBUG=1 +ODP_DEBUG=0 AC_ARG_ENABLE([debug], [ --enable-debug include additional code], - [if ! test "x$enableval" = "xyes"; then + [if test "x$enableval" = "xyes"; then + ODP_DEBUG=1 + else ODP_DEBUG=0 fi]) ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG"