Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BB24454D for ; Fri, 10 Jun 2011 21:10:11 +0000 (UTC) Received: (qmail 83028 invoked by uid 500); 10 Jun 2011 21:10:11 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 82983 invoked by uid 500); 10 Jun 2011 21:10:11 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 82964 invoked by uid 99); 10 Jun 2011 21:10:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 21:10:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.28] (HELO out4.smtp.messagingengine.com) (66.111.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 21:10:03 +0000 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 7730820B0F; Fri, 10 Jun 2011 17:09:43 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 10 Jun 2011 17:09:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:in-reply-to; s=smtpout; bh=DbMFu65KMGk3MCeh3WlNihBNBRo=; b=pdG0VoNQVjIP5o8Mf/+83u9Bj6e8HApPzLp8NG5try1HhZjaNvY0J7kgEJtJU5IzTmo8WpVKaZHikRepu9AUcLXm8j5AE0ndNhA0nAKomnSyUNriflcLhiDCvM/6lPQ/XBd9ISMTF91wrysAUOtZjYOcXPzq7lKuVH98DjbPtPM= X-Sasl-enc: hWhJeyHa3wF3emXHmzlT8l31/0CuKXOS/Y8esiw4wJa3GSH0/B1iYnQ/+ZHqKw 1307740182 Received: from daniel3.local (bzq-109-65-248-107.red.bezeqint.net [109.65.248.107]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2ADC2441369; Fri, 10 Jun 2011 17:09:40 -0400 (EDT) Date: Sat, 11 Jun 2011 00:09:31 +0300 From: Daniel Shahaf To: dev@subversion.apache.org Cc: commits@subversion.apache.org, philip@apache.org Subject: Re: svn commit: r1134219 - /subversion/trunk/configure.ac Message-ID: <20110610210931.GC1370@daniel3.local> References: <20110610075017.8251023889E0@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110610075017.8251023889E0@eris.apache.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Checked: Checked by ClamAV on apache.org philip@apache.org wrote on Fri, Jun 10, 2011 at 07:50:17 -0000: > Author: philip > Date: Fri Jun 10 07:50:17 2011 > New Revision: 1134219 > > URL: http://svn.apache.org/viewvc?rev=1134219&view=rev > Log: > * configure.ac: Don't replace svn_private_config.h if the content > is unchanged. > > Modified: > subversion/trunk/configure.ac > > Modified: subversion/trunk/configure.ac > URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1134219&r1=1134218&r2=1134219&view=diff > ============================================================================== > --- subversion/trunk/configure.ac (original) > +++ subversion/trunk/configure.ac Fri Jun 10 07:50:17 2011 > @@ -1297,10 +1297,15 @@ AC_SUBST(INCLUDE_OUTPUTS) > > # ==== Detection complete - output and run config.status ===================== > > -AC_CONFIG_HEADERS(subversion/svn_private_config.h) > -AC_CONFIG_COMMANDS([svn_private_config.h], > - [$SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" subversion/svn_private_config.h > subversion/svn_private_config.h.new > - mv -f subversion/svn_private_config.h.new subversion/svn_private_config.h], > +AC_CONFIG_HEADERS(subversion/svn_private_config.h.tmp) > +AC_CONFIG_COMMANDS([svn_private_config.h.tmp], > + [$SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" subversion/svn_private_config.h.tmp > subversion/svn_private_config.h.tmp.new > + if test -e subversion/svn_private_config.h && diff subversion/svn_private_config.h subversion/svn_private_config.h.tmp.new >/dev/null ; then s/diff >/dev/null/cmp/ ? > + rm -f subversion/svn_private_config.h.tmp.new > + else > + mv -f subversion/svn_private_config.h.tmp.new subversion/svn_private_config.h > + fi > + rm -f subversion/svn_private_config.h.tmp], > [SED="$SED" > SVN_DB_HEADER="$SVN_DB_HEADER"]) > AC_CONFIG_FILES([Makefile]) > >