From patchwork Mon Nov 14 21:34:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 9428467 X-Patchwork-Delegate: ira.weiny@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 79FDA602F0 for ; Mon, 14 Nov 2016 21:34:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78C6128AE7 for ; Mon, 14 Nov 2016 21:34:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D92528AF2; Mon, 14 Nov 2016 21:34:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F89728AE7 for ; Mon, 14 Nov 2016 21:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938933AbcKNVeo (ORCPT ); Mon, 14 Nov 2016 16:34:44 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34194 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938503AbcKNVek (ORCPT ); Mon, 14 Nov 2016 16:34:40 -0500 Received: by mail-wm0-f68.google.com with SMTP id g23so19340154wme.1 for ; Mon, 14 Nov 2016 13:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=WE8w5hpKLk6rIOMNyBPSI14Ja3QFrGIYsnbMXQli4sU=; b=azWbAv1+3vmRyXLhdfeSGQlXHCKjgS13BhnVLNMbRArLQtwlScvYmiqo5kkiRtfMVP 0jyCTIzjjDVETwT3pk/Ryu5liMS1h3KOsR//4k+ydlc4L3RbjzbKCXtG1GFPIcWfqNa9 p4pPF3eIRitgFtMbNc/sAiRW6BAtI2tGfTQJu/QtY6+V4O5jbvKF7izTGUgQevKzTEOK aCBsyTpAp9gBEuOyZjD6EqkqpWgbx61Ns9LyxtA07hT3h+trwdKEGbqdxGkKCS+dMBb9 vF1l9BEdfdUUp4zryTgoCNdWx25GUz5uCnnVk16HOnPae81ao3Pp/Fk+4etISHwoT3Rq 77Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=WE8w5hpKLk6rIOMNyBPSI14Ja3QFrGIYsnbMXQli4sU=; b=bT/Jc01MgJdqZdM5A7J/OIZEK1dhl2+D0cBeWp6f6M6YEDor6ts8MM5h9lM6cr9TGS 60MkC5EaIJhoSMB3wwf3MA6xKAyiCG5YYFIZr2H4EO5SRajOJcKIu/9VVf8Jj54Wg7O+ tWWvq9IUaMwGnM27yhXJ0GXauI/vk20PQZjuPNoBbEvbHeS1+U1N5qR0u123Q1sI5p4J azVEvPev2z1nzk0K9H9CMCH/8B0gOT24/plQXyVJzSQ593/HmnMS+267w/eiGufwL/FI tstA1c5JuRPg9QvJ8jU0xJazrI0OPsdGK3q5C4nHqpVjgDPMAPfjnsgiIKfx/INvpexu G3Tg== X-Gm-Message-State: ABUngvdDmWBQVI/6lkfS8GwAJH2a700s86ZxWVV86pVaalty0YCRrXfHcqVDtlhWdBvXtA== X-Received: by 10.28.189.69 with SMTP id n66mr377348wmf.35.1479159278914; Mon, 14 Nov 2016 13:34:38 -0800 (PST) Received: from [192.168.1.183] (c-50-177-105-67.hsd1.ma.comcast.net. [50.177.105.67]) by smtp.googlemail.com with ESMTPSA id g6sm30853750wjp.45.2016.11.14.13.34.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Nov 2016 13:34:38 -0800 (PST) To: "Weiny, Ira" Cc: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH libibmad] configure.ac: Update AM_INIT_AUTOMAKE to use subdir-objects Message-ID: Date: Mon, 14 Nov 2016 16:34:36 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With this option, the objects are placed into the subdirectory of the build directory corresponding to the subdirectory of the source file. Fixes the following warning: Makefile.am:16: warning: source file 'src/dump.c' is in a subdirectory, Makefile.am:16: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/configure.ac b/configure.ac index 843dbfd..6453e11 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_CONFIG_SRCDIR([src/sa.c]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([subdir-objects]) AC_SUBST(RELEASE, ${RELEASE:-unknown}) AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz})