[PATCH 0/3] Use automake

Jon Turney jon.turney@dronecode.org.uk
Mon Nov 16 13:53:47 GMT 2020


Remove recursive configure for Cygwin and convert to automake.

I need to do some more checking that the build products are correct before
this is suitable for being applied.

The only thing I know about that is missing is the magic which copies -O,-g
flags from CFLAGS to CXXFLAGS (because I couldn't work out how to add it).

This makes building documentation unconditional, rather than silently
ignoring errors (which reveals that xmlto hasn't been working on 32-bit
Cygwin for some time).

For ease of reviewing, this patch series doesn't contain changes to
generated files which would be made by running ./autogen.sh.

Jon Turney (3):
  Remove recursive configure for cygwin
  Remove surplus autoconf auxiliary files
  Use automake

 winsup/Makefile.am                     |   19 +
 winsup/Makefile.am.common              |   15 +
 winsup/Makefile.common                 |   51 -
 winsup/Makefile.in                     |    6 +-
 winsup/acinclude.m4                    |   14 +-
 winsup/autogen.sh                      |   15 +-
 winsup/config.guess                    | 1537 -------
 winsup/config.sub                      | 1789 --------
 winsup/configure.ac                    |  101 +-
 winsup/configure.cygwin                |   38 -
 winsup/cygserver/Makefile.am           |   58 +
 winsup/cygserver/Makefile.in           |    4 -
 winsup/cygserver/aclocal.m4            |   55 -
 winsup/cygserver/autogen.sh            |    4 -
 winsup/cygserver/configure             | 5219 ----------------------
 winsup/cygserver/configure.ac          |   48 -
 winsup/cygwin/Makefile.am              |  764 ++++
 winsup/cygwin/Makefile.in              |    8 -
 winsup/cygwin/aclocal.m4               |   54 -
 winsup/cygwin/autogen.sh               |    4 -
 winsup/cygwin/config.h.in              |    2 +-
 winsup/cygwin/configure                | 5643 ------------------------
 winsup/cygwin/configure.ac             |   73 -
 winsup/doc/Makefile.am                 |  155 +
 winsup/doc/Makefile.in                 |    3 -
 winsup/doc/configure                   | 4064 -----------------
 winsup/doc/configure.ac                |   24 -
 winsup/install-sh                      |  520 ---
 winsup/testsuite/Makefile.am           |   64 +
 winsup/testsuite/Makefile.in           |    7 +-
 winsup/testsuite/autogen.sh            |    4 -
 winsup/testsuite/config/default.exp    |    4 +-
 winsup/testsuite/configure             | 4199 ------------------
 winsup/testsuite/configure.ac          |   28 -
 winsup/testsuite/cygrun/Makefile.am    |   21 +
 winsup/testsuite/winsup.api/winsup.exp |    6 +-
 winsup/utils/Makefile.am               |   79 +
 winsup/utils/Makefile.in               |    9 +-
 winsup/utils/aclocal.m4                |   54 -
 winsup/utils/autogen.sh                |    4 -
 winsup/utils/configure                 | 4409 ------------------
 winsup/utils/configure.ac              |   36 -
 winsup/utils/mingw/Makefile.am         |   50 +
 43 files changed, 1334 insertions(+), 27927 deletions(-)
 create mode 100644 winsup/Makefile.am
 create mode 100644 winsup/Makefile.am.common
 delete mode 100644 winsup/Makefile.common
 delete mode 100755 winsup/config.guess
 delete mode 100755 winsup/config.sub
 delete mode 100755 winsup/configure.cygwin
 create mode 100644 winsup/cygserver/Makefile.am
 delete mode 100644 winsup/cygserver/aclocal.m4
 delete mode 100755 winsup/cygserver/autogen.sh
 delete mode 100755 winsup/cygserver/configure
 delete mode 100644 winsup/cygserver/configure.ac
 create mode 100644 winsup/cygwin/Makefile.am
 delete mode 100644 winsup/cygwin/aclocal.m4
 delete mode 100755 winsup/cygwin/autogen.sh
 delete mode 100755 winsup/cygwin/configure
 delete mode 100644 winsup/cygwin/configure.ac
 create mode 100644 winsup/doc/Makefile.am
 delete mode 100755 winsup/doc/configure
 delete mode 100644 winsup/doc/configure.ac
 delete mode 100755 winsup/install-sh
 create mode 100644 winsup/testsuite/Makefile.am
 delete mode 100755 winsup/testsuite/autogen.sh
 delete mode 100755 winsup/testsuite/configure
 delete mode 100755 winsup/testsuite/configure.ac
 create mode 100644 winsup/testsuite/cygrun/Makefile.am
 create mode 100644 winsup/utils/Makefile.am
 delete mode 100644 winsup/utils/aclocal.m4
 delete mode 100755 winsup/utils/autogen.sh
 delete mode 100755 winsup/utils/configure
 delete mode 100644 winsup/utils/configure.ac
 create mode 100644 winsup/utils/mingw/Makefile.am

-- 
2.29.2



More information about the Cygwin-patches mailing list