Skip to content

Commit

Permalink
Reflect connection between configure and rebar.config in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pgj committed Jan 17, 2023
1 parent 84d4b5b commit b041cc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ]
Expand Down
3 changes: 3 additions & 0 deletions src/couch/rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -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" ->
{
Expand Down

0 comments on commit b041cc7

Please sign in to comment.