summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: e4043f805125e3dd9307f463e98a5960e0832693 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

srcdir="${0%/*}"

{(
	cd "${srcdir}"
	[ -d build-aux ] || mkdir build-aux
	cat >ChangeLog <<-EOF
This file is generated upon release.  Run \`git log\` for a list of changes.
EOF
	aclocal
	autoconf
	automake --add-missing --copy
)}

"${srcdir}/configure" "${@}"