diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-02-27 13:13:39 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-02-27 13:13:42 +0100 |
commit | 6915d216a8920d3cc21a88a13289eb2a8994c396 (patch) | |
tree | 3d7ff3d598e35575242781416d350f870546618e | |
parent | c8605b0cc42f616a7f7797dae36fe673cd39ea4c (diff) | |
download | ptxdist-6915d216a8920d3cc21a88a13289eb2a8994c396.tar.gz ptxdist-6915d216a8920d3cc21a88a13289eb2a8994c396.tar.xz |
patches/autogen.sh: fake autopoint if necessary
Autopoint just copies ome files. If the archive was created with
'make dist' then those file already exist. So autopoint is not actually
needed. So if host-gettext (which provides autopoint) is not in the
dependency list then fake it by setting AUTOPOINT=true.
This avoids a dependency on host-gettext just for autoreconf.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | patches/autogen.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/autogen.sh b/patches/autogen.sh index df78c388b..26ef3c670 100755 --- a/patches/autogen.sh +++ b/patches/autogen.sh @@ -2,6 +2,11 @@ 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 \ |