From 1c8960aaab4200f9e4815c311f3c56d9e7d0d692 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sun, 3 Jan 2021 12:16:33 -0700 Subject: [PATCH 1/2] configure.ac: modernize to eliminate warnings The changes are backwards compatible to autoconf 2.50 and therefore do not require increasing the AC_PREREQ version. In addition to the modernization, add AC_CANONICAL_HOST (also backwards compatible to autoconf 2.50) so that the "$host" variable being tested later will always be set and will always be the "canonical" value. The addition of AC_CANONICAL_HOST will cause autogen.sh to install both config.guess and config.sub, but this is expected behavior in this case. Signed-off-by: Kyle J. McKay --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 647b937..6c0c72c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,10 +2,12 @@ # Process this file with autoconf to produce a configure script. cflags_save="$CFLAGS" -AC_PREREQ(2.57) -AC_INIT(main.c) -AM_INIT_AUTOMAKE(squishyball, 20140211, [vorbis-dev@xiph.org]) +AC_PREREQ([2.57]) +AC_INIT([squishyball], [20140211], [vorbis-dev@xiph.org]) +AC_CONFIG_SRCDIR([main.c]) +AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_FILES([Makefile]) +AC_CANONICAL_HOST m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) # Checks for programs. -- GitLab From d3525c015abf123d55a7a209a40976538be9d402 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 5 Jan 2021 15:08:55 -0700 Subject: [PATCH 2/2] Add .gitattributes and .gitignore files Signed-off-by: Kyle J. McKay --- .gitattributes | 3 +++ .gitignore | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8b9b8ae --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +.gitattributes export-ignore +.gitignore export-ignore +.gitlab-ci.yml export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a20e44 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +/*.d* +/*.o* +/.deps/ +/Makefile +/Makefile.in +/aclocal.m4 +/autom4te.cache/ +/compile +/config.guess +/config.log +/config.status +/config.sub +/configure +/depcomp +/install-sh +/ltmain.sh +/missing +/squishyball -- GitLab