weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #37671] Presence of libgcrypt is not checked during c


From: Sebastien Helleu
Subject: [Weechat-dev] [bug #37671] Presence of libgcrypt is not checked during configure
Date: Tue, 06 Nov 2012 11:15:54 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

Update of bug #37671 (project weechat):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #3:

The check for gcrypt lib is made in src/CMakeLists.txt:


# Check for libgcrypt
FIND_PACKAGE(Gcrypt REQUIRED)
ADD_DEFINITIONS(-DHAVE_GCRYPT)
LIST(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})


As you can see, it is supposed to be "REQUIRED", so cmake should stop
immediately if gcrypt is not found.
But when I tried, cmake did not display any error, and you can compile sources
(with the errors you have).
I'll look at this problem.

By the way, you can remove the cmake flag "-DENABLE_GCRYPT=ON", it's now
obsolete because gcrypt is required (this option has been removed from main
CMakeLists.txt in version 0.3.9).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37671>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]