This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch update-proper
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 4ac02865defae93737ee56feb3acc7b2ac6c8825
Author: Nick Vatamaniuc <vatam...@gmail.com>
AuthorDate: Tue Oct 24 00:23:57 2023 -0400

    When running configure in a dist skip proper is not present
    
    This avoids needing to specify --without-proper when building the 
distribution
    and also specifying the same option when configuring it later.
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index f90bfce77..df363df73 100755
--- a/configure
+++ b/configure
@@ -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

Reply via email to