Skip to content

Commit

Permalink
When running configure in a dist skip proper is not present
Browse files Browse the repository at this point in the history
This avoids needing to specify --without-proper when building the distribution
and also specifying the same option when configuring it later.
  • Loading branch information
nickva committed Oct 24, 2023
1 parent b442398 commit 842ae03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,11 @@ if [ "${ERLANG_OS}" = "unix" ]; then
fi
fi

# If we're in a release tarball and we don't have proper, then mark it as skipped
if [ ! -d .git ] && [ "$WITH_PROPER" = "true" ] && [ ! -d src/proper ]; then
WITH_PROPER="false"
fi

echo "==> configuring couchdb in rel/couchdb.config"
cat > rel/couchdb.config << EOF
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
Expand Down

0 comments on commit 842ae03

Please sign in to comment.