+2002-01-12 Bruno Haible <bruno@clisp.org>
+
+ * lang-librep: Skip the test if the 'rep' program is too old.
+
2002-01-09 Bruno Haible <bruno@clisp.org>
* lang-c: Use xsetenv before setlocale.
EUR remplace FF.
EOF
-# Test for presence of rep.
+# Test for presence of rep version 0.15.3 or newer.
(rep --version) >/dev/null 2>/dev/null \
|| { echo "SKIP: lang-librep"; rm -fr $tmpfiles; exit 77; }
+case `rep --version | sed -e 's/^[^0-9]*//'` in
+ 0.[0-9] | 0.1[0-5] | 0.[0-9].* | 0.1[0-4].* | 0.15.[0-2] )
+ echo "SKIP: lang-librep"; rm -fr $tmpfiles; exit 77;;
+esac
LANGUAGE= LC_ALL=fr_FR rep --no-rc --batch prog.jl > prog.out || exit 1
${DIFF} prog.ok prog.out || exit 1