diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-24 18:44:38 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-24 18:44:38 +0400 |
commit | 2b868bc3016a2d6b7119057f012a3b6ade19b865 (patch) | |
tree | df7fa188a2ec9069a36a0aecc96ad73fa5ee3405 /configure.ac | |
parent | 74f0726a5ba3830dc8f7c8861acfef12f41fd7d8 (diff) | |
download | faketime-ng-2b868bc3016a2d6b7119057f012a3b6ade19b865.tar.gz |
Search for GNU date
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cd9979b..eaa6605 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,13 @@ AM_INIT_AUTOMAKE([foreign subdir-objects]) AC_CONFIG_SRCDIR([src/faketime.c]) AC_CONFIG_HEADERS([config.h]) +AC_ARG_WITH([gnu-date], + AS_HELP_STRING([--with-gnu-date=PATH], [Path to GNU date utility]), + [GNUDATE="$with_gnu_date"], + [AC_PATH_PROGS([GNUDATE], [gnu-date gnudate gdate date], [date])] +) +AC_DEFINE_UNQUOTED([GNUDATE], ["$GNUDATE"], [Path to GNU date utility]) + # Checks for programs. AC_PROG_CC_C99 AC_USE_SYSTEM_EXTENSIONS |