autogen.sh: Fix out-of-tree invocation

The check for unsubstituted macros on configure would silently pass
if configure was not created in the current working directory.
merge-requests/83/head
Olaf Meeuwissen 2019-06-20 19:47:32 +09:00
rodzic ec1a614d6b
commit f3577168d2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ patch "$srcdir/ltmain.sh" "$srcdir/ltmain.sh.patch"
# 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
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.