aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/goflags.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/goflags.sh b/contrib/goflags.sh
index 8cc7ae8c..cadf9e18 100755
--- a/contrib/goflags.sh
+++ b/contrib/goflags.sh
@@ -9,6 +9,10 @@ if ${CC:-cc} -x c - -o/dev/null -lnotmuch 2>/dev/null; then
fi <<EOF
#include <notmuch.h>
+#if !LIBNOTMUCH_CHECK_VERSION(5, 6, 0)
+#error "aerc requires libnotmuch.so.5.6 or later"
+#endif
+
void main(void) {
notmuch_status_to_string(NOTMUCH_STATUS_SUCCESS);
}