diff options
author | Kalle Wallin <kaw@linux.se> | 2006-01-16 10:01:35 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2006-01-16 10:01:35 +0000 |
commit | 1603384f1bf298466183a2bfec343293b5b9ead9 (patch) | |
tree | 09eb4628fee2e065e8a75720d14a9cb62a0ac89e /configure.ac | |
parent | 0e1ba218ea357c2ecf9119b8a19017531536229c (diff) | |
download | mpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.gz mpd-1603384f1bf298466183a2bfec343293b5b9ead9.tar.xz mpd-1603384f1bf298466183a2bfec343293b5b9ead9.zip |
included patch from Jonathan Fors
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@3832 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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 |