Maelstrom: Moved more junk out of the top level directory

https://github.com/libsdl-org/Maelstrom/commit/656bbe4f45f5e1694e0f43a020ec8c90c806d1dd

From 656bbe4f45f5e1694e0f43a020ec8c90c806d1dd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 16 Nov 2011 22:17:01 -0500
Subject: [PATCH] Moved more junk out of the top level directory

---
 Makefile.in                                  | 2 +-
 config.guess => build-scripts/config.guess   | 0
 config.sub => build-scripts/config.sub       | 0
 install-sh => build-scripts/install-sh       | 0
 mkinstalldirs => build-scripts/mkinstalldirs | 0
 configure                                    | 8 ++++----
 configure.in                                 | 1 +
 7 files changed, 6 insertions(+), 5 deletions(-)
 rename config.guess => build-scripts/config.guess (100%)
 rename config.sub => build-scripts/config.sub (100%)
 rename install-sh => build-scripts/install-sh (100%)
 rename mkinstalldirs => build-scripts/mkinstalldirs (100%)

diff --git a/Makefile.in b/Makefile.in
index a3df31d1..c50629dc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,7 +38,7 @@ noinst_PROGRAMS = MaelstromLobby$(EXEEXT)
 subdir = .
 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Maelstrom.spec.in \
 	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-	$(top_srcdir)/configure COPYING INSTALL TODO config.guess \
+	$(top_srcdir)/configure COPYING INSTALL config.guess \
 	config.sub depcomp install-sh missing mkinstalldirs
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
diff --git a/config.guess b/build-scripts/config.guess
similarity index 100%
rename from config.guess
rename to build-scripts/config.guess
diff --git a/config.sub b/build-scripts/config.sub
similarity index 100%
rename from config.sub
rename to build-scripts/config.sub
diff --git a/install-sh b/build-scripts/install-sh
similarity index 100%
rename from install-sh
rename to build-scripts/install-sh
diff --git a/mkinstalldirs b/build-scripts/mkinstalldirs
similarity index 100%
rename from mkinstalldirs
rename to build-scripts/mkinstalldirs
diff --git a/configure b/configure
index b87efd00..2b06c332 100755
--- a/configure
+++ b/configure
@@ -1713,9 +1713,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-
 ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+for ac_dir in $srcdir/build-scripts; do
   if test -f "$ac_dir/install-sh"; then
     ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -1731,8 +1730,8 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   fi
 done
 if test -z "$ac_aux_dir"; then
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
+  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5
+echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;}
    { (exit 1); exit 1; }; }
 fi
 
@@ -1745,6 +1744,7 @@ ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
+
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
diff --git a/configure.in b/configure.in
index 87a281a7..be597371 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(README)
+AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
 
 dnl Detect the canonical target build environment
 AC_CANONICAL_HOST