diff options
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 72043d467..836fecd4c 100644 --- a/configure.ac +++ b/configure.ac @@ -240,6 +240,15 @@ AC_MSG_RESULT([$DEFAULT_PORT]) AC_DEFINE_UNQUOTED([DEFAULT_PORT], [$DEFAULT_PORT], [Default MPD port]) AC_DEFINE_UNQUOTED([DEFAULT_PORT_STR], ["$DEFAULT_PORT"], [Default MPD port]) +dnl Default host +AC_MSG_CHECKING([for default timedisplay type]) +AC_ARG_WITH([default-timedisplay_type], + AC_HELP_STRING([--with-default-timedisplay_type=ARG], + [default_timedisplay]), + [DEFAULT_TIMEDISPLAY_TYPE="$withval"], + [DEFAULT_TIMEDISPLAY_TYPE="elapsed"]) +AC_MSG_RESULT([$DEFAULT_TIMEDISPLAY_TYPE]) +AC_DEFINE_UNQUOTED([DEFAULT_TIMEDISPLAY_TYPE], ["$DEFAULT_TIMEDISPLAY_TYPE"], [Default way to display time, either 'elapsed' or 'remaining']) AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile po/Makefile.in]) AC_OUTPUT |