From e4df7aeb7fd84773d9f8e80c25b06885047ed790 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sun, 5 Feb 2012 22:03:59 -0500 Subject: [PATCH] Modernize configure.ac MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Quote all macro arguments. • Switch deprecated uses of AM_INIT_AUTOMAKE and AC_OUTPUT to the preferred forms. Signed-off-by: Anders Kaseorg --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0c2f852..d9f9cbb 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,10 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) -AC_INIT(mosh, 0.9a, mosh-devel@mit.edu) -AM_INIT_AUTOMAKE(mosh, 0.9a) +AC_INIT([mosh], [0.9a], [mosh-devel@mit.edu]) +AM_INIT_AUTOMAKE([-Wall -Werror]) AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc]) AC_CONFIG_HEADERS([config.h]) -AC_OUTPUT(Makefile src/Makefile src/crypto/Makefile src/frontend/Makefile src/network/Makefile src/protobufs/Makefile src/statesync/Makefile src/terminal/Makefile src/util/Makefile scripts/Makefile src/examples/Makefile) # Checks for programs. AC_PROG_CXX @@ -40,4 +39,5 @@ AC_CHECK_FUNCS([clock_gettime gettimeofday inet_ntoa iswprint memchr memset nl_l # Checks for protobuf PKG_CHECK_MODULES([protobuf_lite], [protobuf-lite]) +AC_CONFIG_FILES([Makefile src/Makefile src/crypto/Makefile src/frontend/Makefile src/network/Makefile src/protobufs/Makefile src/statesync/Makefile src/terminal/Makefile src/util/Makefile scripts/Makefile src/examples/Makefile]) AC_OUTPUT