Skip to content
  • mrobinson@webkit.org's avatar
    [GTK] Make libsecret optional · bbdc4083
    mrobinson@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=113821
    
    Reviewed by Gustavo Noronha Silva.
    
    .:
    
    Add a configuration option to disable credential storage and thus remove
    the libsecret dependency. This should make it possible to build WebKit 2.x
    on Windows again.
    
    * Source/autotools/FindDependencies.m4: Only look for libsecret if credential storage is active.
    * Source/autotools/PrintBuildConfiguration.m4: Print whether or not credential storage is active.
    * Source/autotools/ReadCommandLineArguments.m4: Added an option to control credential storage.
    * Source/autotools/SetupAutoconfHeader.m4: Expose credential storage setting to code.
    
    Source/WebCore:
    
    Don't try to use libsecret if credential storage is disabled.
    
    * platform/gtk/GRefPtrGtk.cpp: Protect libsecret sections.
    * platform/gtk/GRefPtrGtk.h: Ditto.
    * platform/network/gtk/CredentialBackingStore.cpp: Ditto.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bbdc4083