a7ad98fabc
All but toplevel Makefile.am are replaced with their non-recursive counterparts. The generation of configure.in was removed (and thus configure-{pre,post}.in are also removed) in favor of configure.ac and m4 macros adding backend specific configure parts. Version number is generated like in old build system. There are still many things to improve, but for now there are no immediate regressions. AUTOTOOLS-TODO contains a list of possible improvements and fixes. AUTOTOOLS-TESTING contains what was tested with current build system (configure flags, make options).
24 lines
732 B
Bash
Executable file
24 lines
732 B
Bash
Executable file
#! /bin/sh
|
|
#
|
|
# This script prints all configure-sub.in in src/backends
|
|
# directory to standard output. This is meant to be used
|
|
# from m4_esyscmd inside configure.ac.
|
|
#
|
|
# The motivation for this non-standard approach was that
|
|
# it allows adding new backends without touching core
|
|
# files, which should have simplified the development of
|
|
# out-of-tree backends. Now git pretty much removes
|
|
# the need for such tricks, but it's still around.
|
|
|
|
tmpfile="configure.in.$$"
|
|
rm -f "$tmpfile"
|
|
|
|
for sub in src/backends/*/configure-sub.in
|
|
do
|
|
echo "# vvvvvvvvvvvvvv $sub vvvvvvvvvvvvvv" >>"$tmpfile"
|
|
cat "$sub" >>"$tmpfile"
|
|
echo "# ^^^^^^^^^^^^^^ $sub ^^^^^^^^^^^^^^" >>"$tmpfile"
|
|
echo >>"$tmpfile"
|
|
done
|
|
cat "$tmpfile"
|
|
rm -f "$tmpfile"
|