Projects STRLCPY neomutt Commits 30e89523
🤬
  • ■ ■ ■ ■ ■ ■
    auto.def
    skipped 87 lines
    88 88   kyotocabinet=0 => "Use KyotoCabinet for the header cache"
    89 89   with-kyotocabinet:path => "Location of KyotoCabinet"
    90 90   lmdb=0 => "Use LMDB for the header cache"
    91  - with-lmdb:path => "Location of LMDB"
    92 91   qdbm=0 => "Use QDBM for the header cache"
    93 92   with-qdbm:path => "Location of QDBM"
    94 93   rocksdb=0 => "Use RocksDB for the header cache"
    skipped 7 lines
    102 101   with-sqlite:path => "Location of SQLite"
    103 102  # compression
    104 103   lz4=0 => "Enable LZ4 header cache compression support"
    105  - with-lz4:path => "Location of LZ4"
    106 104   zlib=0 => "Enable zlib support"
    107 105   with-zlib:path => "Location of zlib"
    108 106   zstd=0 => "Enable Zstandard header cache compression support"
    109  - with-zstd:path => "Location of Zstandard"
    110 107  # System
    111 108   with-sysroot:path => "Target system root"
    112 109   with-tmpdir:=/tmp => "location of the tmp directory"
    skipped 24 lines
    137 134   with-slang:
    138 135   with-ui:=
    139 136   with-gpgme:
     137 + with-lmdb:
     138 + with-lz4:
     139 + with-zstd:
    140 140  }
    141 141   
    142 142  foreach dep $deprecated_options {
    skipped 652 lines
    795 795  if {[get-define want-pcre2]} {
    796 796   pkgconf true libpcre2-8
    797 797   define-feature pcre2
    798  -} elseif {[check-inc-and-lib pcre2_unwarranted {} {} pcre2_regcomp {}]} {
     798 +} elseif {[cc-check-functions pcre2_regcomp]} {
    799 799   # See https://bugs.exim.org/show_bug.cgi?id=2707 and
    800 800   # https://github.com/neomutt/neomutt/issues/2865
    801 801   user-error "Found libpcre2-posix: please reconfigure with --pcre2"
    skipped 86 lines
    888 888  ###############################################################################
    889 889  # Header cache - LMDB
    890 890  if {[get-define want-lmdb]} {
    891  - if {![check-inc-and-lib lmdb [opt-val with-lmdb $prefix] \
    892  - lmdb.h mdb_env_create lmdb]} {
    893  - user-error "Unable to find LMDB"
    894  - }
     891 + pkgconf true lmdb
     892 + define-feature lmdb
    895 893   define-append HCACHE_BACKENDS "lmdb"
    896 894   define USE_HCACHE
    897 895  }
    skipped 39 lines
    937 935  ###############################################################################
    938 936  # Header Cache Compression with LZ4
    939 937  if {[get-define want-lz4]} {
    940  - if {![check-inc-and-lib lz4 [opt-val with-lz4 $prefix] \
    941  - lz4.h LZ4_compress_default lz4]} {
    942  - user-error "Unable to find LZ4"
    943  - }
    944  - define-append LIBS -llz4
     938 + pkgconf true liblz4
    945 939   define USE_LZ4
     940 + define-feature lz4
    946 941   define USE_HCACHE_COMPRESSION
    947 942   define-append COMPRESS_BACKENDS "lz4"
    948 943  }
    skipped 14 lines
    963 958  ###############################################################################
    964 959  # Header Cache Compression with Zstandard
    965 960  if {[get-define want-zstd]} {
    966  - if {![check-inc-and-lib zstd [opt-val with-zstd $prefix] \
    967  - zstd.h ZSTD_compress zstd]} {
    968  - user-error "Unable to find Zstandard"
    969  - }
    970  - define-append LIBS -lzstd
     961 + pkgconf true libzstd
    971 962   define USE_ZSTD
     963 + define-feature zstd
    972 964   define USE_HCACHE_COMPRESSION
    973 965   define-append COMPRESS_BACKENDS "zstd"
    974 966  }
    skipped 260 lines
Please wait...
Page is in error, reload to recover