mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
require libuuid
- require libuuid at build time and remove insufficiently seeded replacement for uuid()
This commit is contained in:
parent
779e32540a
commit
fcfd50bd25
8 changed files with 12 additions and 52 deletions
|
@ -161,12 +161,6 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
<< " -random"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UUID
|
||||
<< " +uuid"
|
||||
#else
|
||||
<< " -uuid"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
<< " +tls"
|
||||
#else
|
||||
|
@ -175,12 +169,10 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
<< "\n";
|
||||
|
||||
out << " libuuid: "
|
||||
#if defined (HAVE_UUID) and defined (HAVE_UUID_UNPARSE_LOWER)
|
||||
#ifdef HAVE_UUID_UNPARSE_LOWER
|
||||
<< "libuuid + uuid_unparse_lower"
|
||||
#elif defined (HAVE_UUID) and !defined (HAVE_UUID_UNPARSE_LOWER)
|
||||
<< "libuuid, no uuid_unparse_lower"
|
||||
#else
|
||||
<< "n/a"
|
||||
<< "libuuid, no uuid_unparse_lower"
|
||||
#endif
|
||||
<< "\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue