[Pkg-wmaker-commits] [wmfsm] 15/83: wmfsm: Autotools updates.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 14:05:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmfsm.

commit 579f13efc45a342f11fa71d664338d192f42ba23
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Jan 22 00:22:01 2015 -0600

    wmfsm: Autotools updates.
    
    In particular,
    - Update AM_INIT_AUTOMAKE to silence "two- and three-arguments forms are
      deprecated" warnings.
    - Update AC_DEFINEs to silence "missing template" warnings.
---
 configure.ac | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index ee5426c..7ed0c7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,10 +1,11 @@
 dnl Hey emacs -*- mode: m4 -*- thanks
 dnl Process this file with autoconf to create a configure script
-AC_INIT(wmfsm/wmfsm.c)
+AC_INIT([wmfsm], [0.34])
+AC_CONFIG_SRCDIR([wmfsm/wmfsm.c])
+AM_INIT_AUTOMAKE
 AC_CANONICAL_HOST
 AM_CONFIG_HEADER(config.h)
 
-AM_INIT_AUTOMAKE(wmfsm, 0.34)
 AM_SANITY_CHECK
 AC_PROG_CC
 AC_PROG_INSTALL
@@ -26,7 +27,9 @@ AC_TRY_COMPILE([#include <sys/vfs.h>
 ],
 [struct statfs a; statfs("/", &a);], 
 [AC_MSG_RESULT([2 arguments]) 
-AC_DEFINE(STATFS_2_ARGUMENTS)
+AC_DEFINE(
+	STATFS_2_ARGUMENTS, 1,
+	[Define if statfs takes two arguments (like linux)])
 ac_statfs_args=2], 
 
 AC_TRY_COMPILE([
@@ -35,7 +38,9 @@ AC_TRY_COMPILE([
 ],
 [struct statfs a; statfs("/", &a, sizeof(struct statfs), 0);],
 [AC_MSG_RESULT([4 arguments]) 
-AC_DEFINE(STATFS_4_ARGUMENTS)
+AC_DEFINE(
+	STATFS_4_ARGUMENTS, 1,
+	[Define if statfs takes four arguments (like SunOS)])
 ],
 AC_MSG_RESULT([Can not determine])))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfsm.git



More information about the Pkg-wmaker-commits mailing list