kopia lustrzana https://gitlab.com/sane-project/backends
Check AX_CXX_COMPILE_STDCXX macro expansion in configure
If not expanded, the user is informed how to deal with this.merge-requests/83/head
rodzic
c0b07792d9
commit
9c42d6ac11
31
autogen.sh
31
autogen.sh
|
@ -4,3 +4,34 @@ test -n "$srcdir" || srcdir=.
|
|||
|
||||
autoreconf --force --install --verbose --warnings=all "$srcdir"
|
||||
patch "$srcdir/ltmain.sh" "$srcdir/ltmain.sh.patch"
|
||||
|
||||
# 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 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
|
||||
|
|
Ładowanie…
Reference in New Issue