From b041cc785a307f90295cd91f11ee88acd8f7513c Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Tue, 17 Jan 2023 15:59:38 +0100 Subject: [PATCH] Reflect connection between configure and rebar.config in comments --- configure | 1 + src/couch/rebar.config.script | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 1db8d9c23d0..4315fe8e86a 100755 --- a/configure +++ b/configure @@ -245,6 +245,7 @@ then ;; esac + # This list is taken from src/couch/rebar.config.script, please keep them in sync. if [ ! -d "/usr/include/${SM_HEADERS}" ] && \ [ ! -d "/usr/local/include/${SM_HEADERS}" ] && \ [ ! -d "/opt/homebrew/include/${SM_HEADERS}" ] diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script index 2769de841d1..f1682f6b754 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -114,6 +114,9 @@ ProperConfig = case code:lib_dir(proper) of _ -> [{d, 'WITH_PROPER'}] end. +% The include directories (parameters for the `-I` C compiler flag) are +% considered in the `configure` script as a pre-check for their existence. +% Please keep them in sync. {JS_CFLAGS, JS_LDFLAGS} = case os:type() of {win32, _} when SMVsn == "1.8.5" -> {