mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-01 20:20:23 +02:00
Feature - version command
- Added FreeBSD as a recognized operating system.
This commit is contained in:
parent
2a8acaf351
commit
b8377b7e5c
2 changed files with 7 additions and 1 deletions
|
@ -40,6 +40,9 @@ elif test "$OS" = "openb"; then
|
||||||
elif test "$OS" = "haiku"; then
|
elif test "$OS" = "haiku"; then
|
||||||
AC_MSG_NOTICE([OS Haiku detected])
|
AC_MSG_NOTICE([OS Haiku detected])
|
||||||
AC_DEFINE([HAIKU], [], [Compiling on Haiku])
|
AC_DEFINE([HAIKU], [], [Compiling on Haiku])
|
||||||
|
elif test "$OS" = "freeb"; then
|
||||||
|
AC_MSG_NOTICE([OS FreeBSD detected])
|
||||||
|
AC_DEFINE([FREEBSD], [], [Compiling on FreeBSD])
|
||||||
else
|
else
|
||||||
AC_MSG_NOTICE([OS Linux detected])
|
AC_MSG_NOTICE([OS Linux detected])
|
||||||
AC_DEFINE([LINUX], [], [Compiling on Linux])
|
AC_DEFINE([LINUX], [], [Compiling on Linux])
|
||||||
|
|
|
@ -506,10 +506,11 @@ int handleVersion (std::string &outs)
|
||||||
<< "openbsd"
|
<< "openbsd"
|
||||||
#elif defined (HAIKU)
|
#elif defined (HAIKU)
|
||||||
<< "haiku"
|
<< "haiku"
|
||||||
|
#elif defined (FREEBSD)
|
||||||
|
<< "freebsd"
|
||||||
#else
|
#else
|
||||||
<< "linux"
|
<< "linux"
|
||||||
#endif
|
#endif
|
||||||
// TODO Include: FreeBSD?
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBNCURSES
|
#ifdef HAVE_LIBNCURSES
|
||||||
<< "-ncurses"
|
<< "-ncurses"
|
||||||
|
@ -590,6 +591,8 @@ int handleVersion (std::string &outs)
|
||||||
|
|
||||||
out << context.config.checkForDeprecatedColor ();
|
out << context.config.checkForDeprecatedColor ();
|
||||||
out << context.config.checkForDuplicates ();
|
out << context.config.checkForDuplicates ();
|
||||||
|
// TODO Check for referenced but missing theme files.
|
||||||
|
// TODO Check for referenced but missing string files.
|
||||||
|
|
||||||
// Verify installation. This is mentioned in the documentation as the way to
|
// Verify installation. This is mentioned in the documentation as the way to
|
||||||
// ensure everything is properly installed.
|
// ensure everything is properly installed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue