diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:20 +0200 |
commit | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /autogen.sh | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff) |
Update upstream source from tag 'upstream/1.0.28'
Update to upstream version '1.0.28'
with Debian dir ec5bb298266630fc3801ff6dc0c258f6df7ba979
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..86bc40a --- /dev/null +++ b/autogen.sh @@ -0,0 +1,39 @@ +#!/bin/bash +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. + +autoreconf --force --install --verbose --warnings=all "$srcdir" +patch "$srcdir/ltmain.sh" "$srcdir/ltmain.sh.patch" +patch "$srcdir/po/Rules-quot" "$srcdir/Rules-quot.patch" +autoreconf "$srcdir" + +# Taken from https://gitlab.com/utsushi/utsushi/blob/master/bootstrap +# +# Sanity check the result to catch the most common errors that are +# not diagnosed by autoreconf itself (or could use some extra help +# explaining what to do in those cases). + +if grep AX_CXX_COMPILE_STDCXX "$srcdir/configure" >/dev/null 2>&1; then + cat <<EOF +It seems 'aclocal' could not find the autoconf macros used to check +for C++ standard's compliance. + +These macros are available in the 'autoconf-archive'. If you have +this archive installed, it is probably installed in a location that +is not searched by default. In that case, please note this via: + + `autoconf -t AC_INIT:'$3'` + +If you haven't installed the 'autoconf-archive', please do so and +rerun: + + $0 $* + +If the 'autoconf-archive' is not packaged for your operating system, +you can find the sources at: + + http://www.gnu.org/software/autoconf-archive/ + +EOF + exit 1 +fi |