From patchwork Mon Mar 26 18:53:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Bowen X-Patchwork-Id: 10308499 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 1DBA060212 for ; Mon, 26 Mar 2018 18:54:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06C4529748 for ; Mon, 26 Mar 2018 18:54:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC85A2974A; Mon, 26 Mar 2018 18:54:26 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_TVD_MIME_EPI 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 BFACB29748 for ; Mon, 26 Mar 2018 18:54:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752015AbeCZSyV (ORCPT ); Mon, 26 Mar 2018 14:54:21 -0400 Received: from mail-ua0-f176.google.com ([209.85.217.176]:33556 "EHLO mail-ua0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbeCZSyV (ORCPT ); Mon, 26 Mar 2018 14:54:21 -0400 Received: by mail-ua0-f176.google.com with SMTP id f6so12762248ual.0 for ; Mon, 26 Mar 2018 11:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ncVhK8BlW5x7CzA15pzCHYOD4Hl1VvxaPpgNZi32TH8=; b=keeL79XVXd+y49XCE3CCyZkxawfNeLbBjQUfOvzuFao1M8NugKBRtwXutWA0dPDck3 7f4BXTTvevdSHXhDNYbzl6kwu8bf+RRNMaaFRxzk7Z9EQklUqsxe7ssS+rzKc2t08LrM SrHOwjsoJCrnR9li1G0ozCv1C344AxWgrbYHsgwmQkdsrF3flVy0+6Cf4PKcdff08Ck3 fOf01+NJTBD8jOVYp5Ld1F3hl5HKbR1u6sPOzsGw/Hc+EpNTuXOEop6Tt3viCtQR4Gn7 hyCrfvyxgnwH27uhBVuRH2TICiC0EVthsb2qcFgdUY+rLZKExUhF2IExCw0fTiwjD950 WSrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ncVhK8BlW5x7CzA15pzCHYOD4Hl1VvxaPpgNZi32TH8=; b=uWuBDrzuNDNk2QJ614AZXvw543cLyd2ffv6RzPVhs86RrGXGSj6oktWP6YSKZ7wq7G JfqqB4ap1ZE7nndzhvjm7lA6SKKHwOMBKjABjIeuY5MxQs8ohlCEVf7l6Xz/yse2c9d1 2ntKj0GuNqNsPit1bR39xTJqLSxFDKvBCeRwBkzFcx2szKh3awKGaqLwD5x1i28TRnGE xsfL8XwkY74OUt7KXSTmIz403u3iG5LATa8dNl7ixgNqJdn2Yb+EmK1VlScX2oN+4wO7 aUpAEkCRQk+BIF4v4+Q+bl38+EE6DjfAAPgZ7+GvvDhBtc8S132dd1RCCJxPnUsE5jAH JDXQ== X-Gm-Message-State: AElRT7EMnY/E7I8r6mYsJ7zYUNi0DF28q+O3aBS+b+ce8dl7EJeLEHJl XLvGfDVxnU/XWFkab19GcmHQIbG0pesbjOwoQjFpz2nD X-Google-Smtp-Source: AIpwx4+gQhgSi7NwbITLatlcor/2IDT+rL0LDrlj+yz6AQzzz+AQa7U/A4DhFgt6A44K+sgjl8dKaFKYRuSJ4JsdHhw= X-Received: by 10.176.96.45 with SMTP id n13mr5943710ual.102.1522090460391; Mon, 26 Mar 2018 11:54:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.51.66 with HTTP; Mon, 26 Mar 2018 11:53:39 -0700 (PDT) From: Jason Bowen Date: Mon, 26 Mar 2018 13:53:39 -0500 Message-ID: Subject: Add subdir-objects to AM_INIT_AUTOMAKE To: dash@vger.kernel.org Sender: dash-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP I've attached a patch which adds the subdir-objects option to AM_INIT_AUTOMAKE. For a while now when I've compiled dash I received a warning from automake that there are source files in a subdirectory but that the subdir-objects automake option was not supplied. I've just been adding it myself, but I finally got around to submitting a patch. The code still compiles for now (i'm using automake 1.15.1), but warning text is rarely nice to see and, if the warning text is to be believed, then the warning will eventually become an error. From 1dc859e3891c1b891c7a31a8e247850226442cfb Mon Sep 17 00:00:00 2001 From: Jason Bowen Date: Sun, 25 Mar 2018 22:39:32 -0500 Subject: [PATCH] Add `subdir-objects` to AM_INIT_AUTOMAKE to silence warnings. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0417fa2..5d88894 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_INIT(dash, 0.5.9.1) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([foreign subdir-objects]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS(config.h) -- 2.14.3