From 026fb8e4a3e4b697e6bd0dc5a033ea7193f4fffe Mon Sep 17 00:00:00 2001 From: Harlan Stenn Date: Fri, 28 Feb 2014 06:24:16 -0500 Subject: [PATCH] test -nt is not portable bk: 531071e0WJY5CNA5Z6gCzB-Uoo-1vw --- bootstrap | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 40efa2230..ebb262db4 100755 --- a/bootstrap +++ b/bootstrap @@ -141,8 +141,13 @@ cp depsver.mf sntp/ ${AUTORECONF} -i -v "$@" -test aclocal.m4 -nt config.h.in && touch config.h.in -test sntp/aclocal.m4 -nt sntp/config.h.in && touch sntp/config.h.in +# Because some systems do not support 'test a -nt b' +case `ls -1tr config.h.in aclocal.m4 | tail -1` in + aclocal.m4) touch config.h.in ;; +esac +case `ls -1tr sntp/config.h.in sntp/aclocal.m4 | tail -1` in + sntp/aclocal.m4) touch sntp/config.h.in ;; +esac # DH: 20110118: Due to our workaround for the AM_COND_IF bug that was # triggering the buggy recursive autoreconf, we can once again use a -- 2.47.3