From patchwork Tue Dec 9 14:44:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 42051 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 768E6244AC for ; Tue, 9 Dec 2014 14:44:50 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id l18sf571364wgh.6 for ; Tue, 09 Dec 2014 06:44:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=2vcdXrsANlX1anI3jQZ0TSWxPX12LL1OCqpgAO+kwe8=; b=h0Naws1spEmK0rX7uhxdx+rxiErhWh1rsM0S2EvOlcXYiIgKAY2E1NulUdLkHzoXvi O1x/oty/J1XbfiAuV14DyWHoWQzmBQIaDGek8Gc6p5XBxV/BZE7UTG7pc/tzVIVjERDT /2iPyCAvaAxGAbZod9gWrHQHKsdzdYOTebp7CL3tA3C5UKArBvIoz94c8ohOd+77p2vD IMXtlBSr+8GgFMjvlGR9YIsoSKYx5mw6QOBVpoOhTfBocSOoWjnBhrFMHHkJSJo5QsE3 +lUs4IWr8uEtVy8FFBe0gvqd7PWIV203GVFx/bry9v5W3R6aUj//ImzxOo7HdH9JyK8n o0FQ== X-Gm-Message-State: ALoCoQm3FrvzJAaPSWvb7RGNd6lFO8pztQjj1y9tD8Yt9LCrEAfbdKJHjovRcW/IL7+soCPP7T2X X-Received: by 10.152.29.226 with SMTP id n2mr120574lah.9.1418136289708; Tue, 09 Dec 2014 06:44:49 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.42 with SMTP id p10ls32961lah.98.gmail; Tue, 09 Dec 2014 06:44:49 -0800 (PST) X-Received: by 10.152.36.165 with SMTP id r5mr22010958laj.93.1418136289567; Tue, 09 Dec 2014 06:44:49 -0800 (PST) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id ej5si1569345lad.34.2014.12.09.06.44.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 06:44:49 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id u10so625423lbd.3 for ; Tue, 09 Dec 2014 06:44:49 -0800 (PST) X-Received: by 10.152.21.66 with SMTP id t2mr21822244lae.27.1418136289447; Tue, 09 Dec 2014 06:44:49 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp761320lbc; Tue, 9 Dec 2014 06:44:48 -0800 (PST) X-Received: by 10.229.126.5 with SMTP id a5mr6231777qcs.14.1418136287909; Tue, 09 Dec 2014 06:44:47 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id y11si1373336qaf.75.2014.12.09.06.44.46 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 09 Dec 2014 06:44:47 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XyM1s-0002oY-Ut; Tue, 09 Dec 2014 14:44:44 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XyM1m-0002mV-S1 for lng-odp@lists.linaro.org; Tue, 09 Dec 2014 14:44:38 +0000 Received: by mail-la0-f46.google.com with SMTP id q1so632756lam.19 for ; Tue, 09 Dec 2014 06:44:33 -0800 (PST) X-Received: by 10.112.119.201 with SMTP id kw9mr14881952lbb.99.1418136272810; Tue, 09 Dec 2014 06:44:32 -0800 (PST) Received: from localhost.localdomain (ppp91-76-163-205.pppoe.mtu-net.ru. [91.76.163.205]) by mx.google.com with ESMTPSA id c6sm412457lag.24.2014.12.09.06.44.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 06:44:32 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 9 Dec 2014 17:44:25 +0300 Message-Id: <1418136265-13433-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 X-Topics: patch Subject: [lng-odp] [PATCH] normalize configure flags X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Remove duplicate and trailing white spaces in generated cflags, ldflags and etc. Signed-off-by: Maxim Uvarov --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index 2f27261..5f8b47b 100644 --- a/configure.ac +++ b/configure.ac @@ -211,6 +211,16 @@ AC_SEARCH_LIBS([timer_create],[rt posix4]) AM_LDFLAGS="$AM_LDFLAGS -pthread -lrt" +########################################################################## +# Remove duplicate and trailing white spaces in C/LD FLAGS. +########################################################################## +read CFLAGS <<< $CFLAGS +read AM_CFLAGS <<< $AM_CFLAGS +read LDLAGS <<< $LDLAGS +read AM_LDFLAGS <<< $AM_LDFLAGS +read LIBS <<< $LIBS + + AC_SUBST([LIBS]) AC_SUBST([AM_CFLAGS]) AC_SUBST([CFLAGS])