From 96bb5b886b225890b7f91ac19a046a5dce7d3d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 4 May 2015 12:11:13 +0000 Subject: [PATCH] on Mac, LEAST cannot be larger than 255 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 316114c..27ac7e3 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,8 @@ m4_define(x_least, m4_esyscmd_s( LEAST="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout" for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then - LEAST=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + # Mac does not support LEAST > 255 + LEAST=$(($(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')%256)) (cd $path && svn2cl) break; fi