From b8a3b44d3daf88a9e02fd443e8b9c0aa56e800b2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 03 Sep 2018 13:58:38 -0400 Subject: configure.ac: Improve date %s support check --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d1f9182..b0c026b 100644 --- a/configure.ac +++ b/configure.ac @@ -192,7 +192,7 @@ AC_ARG_WITH( ] ) dnl Ugh, quadrigraphs. -case "$(date '+%s' 2>/dev/null)" in *@<:@!0-9@:>@*) +case "$(date '+%s' 2>/dev/null)" in *@<:@!0-9@:>@*|'') AC_MSG_ERROR([${DATE} doesn't support the `%s' format sequence]) esac -- cgit v0.9.1