summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-09-03 13:58:38 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-09-03 13:58:38 (EDT)
commitb8a3b44d3daf88a9e02fd443e8b9c0aa56e800b2 (patch)
treeb26add3daf2866a7917ee1f7f43801de4bee3e6b
parentb912ef51f22673e06a6ebfa5735439c44b0ca7e1 (diff)
configure.ac: Improve date %s support check
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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