# Configure template for gzip.
-# Copyright (C) 1999-2002, 2006-2007, 2009-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2002, 2006-2007, 2009-2017 Free Software Foundation, Inc.
# Copyright (C) 1992-1993 Jean-loup Gailly
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
[bug-gzip@gnu.org])
-AC_CONFIG_SRCDIR(gzip.c)
-AC_CONFIG_AUX_DIR(build-aux)
+AC_CONFIG_SRCDIR([gzip.c])
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
-AM_INIT_AUTOMAKE([1.11 dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 subdir-objects dist-xz dist-zip
+ color-tests parallel-tests])
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
dnl POSIXCHECK is worthwhile for maintainers, but adds several seconds
AC_CACHE_CHECK([for an assembler syntax supported by this package],
[gzip_cv_assembler],
[gzip_cv_assembler=no
- case " $DEFS " in
- *' NO_ASM '*) ;;
+ case $DEFS in
+ *NO_ASM*) ;;
*)
if cp $srcdir/lib/match.c _match.S &&
eval "$CPP $CPPFLAGS $ASCPPFLAGS _match.S > _match.i" &&
rm -f conftest* _match.i _match.S match_.s match_.$OBJEXT;;
esac])
if test "$gzip_cv_assembler" != no; then
- AC_DEFINE(ASMV, ,
+ AC_DEFINE([ASMV], ,
[Define if an assembler version of longest_match is available.])
AC_LIBOBJ(match)
fi