Author: brane
Date: Tue Jun 10 12:32:29 2025
New Revision: 1926334

URL: http://svn.apache.org/viewvc?rev=1926334&view=rev
Log:
* configure.ac: Without --enable-dot-clangd, do *not* modify the source tree.
   The point of an out-of-source build is that the source can be read-only.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: 
http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1926334&r1=1926333&r2=1926334&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Tue Jun 10 12:32:29 2025
@@ -1868,12 +1868,7 @@ AC_DEFINE_UNQUOTED([SVN_BUILD_TARGET], "
 AC_OUTPUT
 
 # ==== Generate the .clangd file =============================================
-if test "x$svn_dot_clangdcc_contents$svn_dot_clangdxx_contents" = "x" ; then
-   if test -f "$svn_dot_clangd_file"; then
-      AC_MSG_NOTICE([Removing $svn_dot_clangd_file])
-      rm -f "$svn_dot_clangd_file"
-   fi
-else
+if test "x$svn_dot_clangdcc_contents$svn_dot_clangdxx_contents" != "x" ; then
   AC_MSG_NOTICE([Writing $svn_dot_clangd_file])
   echo "$svn_dot_clangdcc_contents" > "$svn_dot_clangd_file"
   echo "$svn_dot_clangdxx_contents" >> "$svn_dot_clangd_file"


Reply via email to