summaryrefslogtreecommitdiffstats
path: root/patches/autogen.sh
blob: 26ef3c670399f7b42c6046931e474b159b20840a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

set -e

if [ -n "${pkg_stamp}" ] && ! [[ " ${pkg_build_deps} " =~ " host-gettext " ]]; then
	echo "No host-gettext dependency. Faking autopoint: AUTOPOINT=true."
	export AUTOPOINT=true
fi

aclocal $ACLOCAL_FLAGS

libtoolize \
	--force \
	--copy

autoreconf \
	--force \
	--install \
	--warnings=cross \
	--warnings=syntax \
	--warnings=obsolete \
	--warnings=unsupported