From 0921f36828f00264d05fd8c7719b22495d622e10 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Tue, 13 Feb 2018 10:09:06 +0100 Subject: [PATCH] Merge pull request #845 from ailin-nemui/funny-bug warn if there is non-portable code in the test-driver (cherry picked from commit c2c879e8c55afcb8a737e4535c8d878407807040) --- autogen.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autogen.sh b/autogen.sh index 9feb0872..17f60f89 100755 --- a/autogen.sh +++ b/autogen.sh @@ -57,3 +57,11 @@ if test x$NOCONFIGURE = x; then else echo Skipping configure process. fi + +if grep -q '==\|\[\[' "$srcdir"/build-aux/test-driver; then + echo + echo "************************************************************************" + echo "**Warning**: your build is not portable, please do not make dist" + echo " see https://bugzilla.opensuse.org/show_bug.cgi?id=1076146" + echo "************************************************************************" +fi