summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-09 23:02:39 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-09 23:02:39 (EDT)
commit0fd1303c60ac5d906b54ee29b244f431a8249d18 (patch)
tree046a1298b5ac5df1093e86f7ae7402859d503114
parent35e6cf8b9a26e767615b773cceafb543484b75ef (diff)
configure.ac, config.sh.in: Drop check for date with %s
-rw-r--r--config.sh.in1
-rw-r--r--configure.ac31
2 files changed, 0 insertions, 32 deletions
diff --git a/config.sh.in b/config.sh.in
index 8d997a2..e4ee029 100644
--- a/config.sh.in
+++ b/config.sh.in
@@ -4,4 +4,3 @@ TAR='@TAR@'
MD5SUM='@MD5SUM@'
SHA256SUM='@SHA256SUM@'
GZIP='@GZIP@'
-DATE='@DATE@'
diff --git a/configure.ac b/configure.ac
index b0c026b..f486c94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,37 +164,6 @@ AC_ARG_WITH(
fi
]
)
-AC_ARG_WITH(
- [date],
- [AS_HELP_STRING([--with-date=PATH],
- [path to date utility with `%s' format specifier])],
- dnl This `dnl' is needed to workaround Vim syntax highlighting.
- [
- case "${withval}" in
- 'yes'|'')
- AC_MSG_ERROR(
- [--with-date requires an argument])
- ;;
- 'no')
- AC_MSG_ERROR([date is required])
- ;;
- *)
- DATE="${withval}"
- AC_SUBST([DATE])
- ;;
- esac
- ],
- [
- AC_PATH_PROG([DATE], [date])
- if test -z "${DATE}"; then
- AC_MSG_ERROR([date not found])
- fi
- ]
-)
-dnl Ugh, quadrigraphs.
-case "$(date '+%s' 2>/dev/null)" in *@<:@!0-9@:>@*|'')
- AC_MSG_ERROR([${DATE} doesn't support the `%s' format sequence])
-esac
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([config.sh])