neomutt-dont-detect-notmuch.patch (1515B)
1 --- a/auto.def 2022-09-14 23:37:44.502062866 +0200 2 +++ b/auto.def 2022-09-14 23:38:12.878063695 +0200 3 @@ -661,21 +661,21 @@ 4 ############################################################################### 5 # Notmuch 6 if {[get-define want-notmuch]} { 7 - if {![check-inc-and-lib notmuch [opt-val with-notmuch $prefix] \ 8 - notmuch.h notmuch_database_open notmuch]} { 9 - user-error "Unable to find Notmuch" 10 - } 11 + #if {![check-inc-and-lib notmuch [opt-val with-notmuch $prefix] \ 12 + # notmuch.h notmuch_database_open notmuch]} { 13 + # user-error "Unable to find Notmuch" 14 + #} 15 define USE_NOTMUCH 16 - msg-checking "Checking for Notmuch API version 3..." 17 - if {[cctest -includes {notmuch.h} -libs {-lnotmuch} -link 1 \ 18 - -code { notmuch_database_open(NULL, 0, NULL); }]} { 19 + #msg-checking "Checking for Notmuch API version 3..." 20 + #if {[cctest -includes {notmuch.h} -libs {-lnotmuch} -link 1 \ 21 + # -code { notmuch_database_open(NULL, 0, NULL); }]} { 22 define NOTMUCH_API_3 23 - msg-result "yes" 24 - } else { 25 - msg-result "no" 26 - } 27 - cc-check-function-in-lib notmuch_database_index_file notmuch 28 - cc-check-function-in-lib notmuch_database_open_with_config notmuch 29 + # msg-result "yes" 30 + #} else { 31 + # msg-result "no" 32 + #} 33 + #cc-check-function-in-lib notmuch_database_index_file notmuch 34 + #cc-check-function-in-lib notmuch_database_open_with_config notmuch 35 } 36 37 ###############################################################################