Return-Path: Delivered-To: apmail-xerces-commits-archive@www.apache.org Received: (qmail 821 invoked from network); 28 Jan 2010 11:24:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 11:24:46 -0000 Received: (qmail 77033 invoked by uid 500); 28 Jan 2010 11:24:46 -0000 Delivered-To: apmail-xerces-commits-archive@xerces.apache.org Received: (qmail 76970 invoked by uid 500); 28 Jan 2010 11:24:45 -0000 Mailing-List: contact commits-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@xerces.apache.org Received: (qmail 76961 invoked by uid 99); 28 Jan 2010 11:24:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 11:24:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 11:24:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B252C2388980; Thu, 28 Jan 2010 11:24:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r904040 - /xerces/c/trunk/configure.ac Date: Thu, 28 Jan 2010 11:24:15 -0000 To: commits@xerces.apache.org From: borisk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100128112415.B252C2388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: borisk Date: Thu Jan 28 11:24:15 2010 New Revision: 904040 URL: http://svn.apache.org/viewvc?rev=904040&view=rev Log: Execute libtool patching code for --disable-rpath in config.guess instead of configure since now libtool is created in in config.guess. Modified: xerces/c/trunk/configure.ac Modified: xerces/c/trunk/configure.ac URL: http://svn.apache.org/viewvc/xerces/c/trunk/configure.ac?rev=904040&r1=904039&r2=904040&view=diff ============================================================================== --- xerces/c/trunk/configure.ac (original) +++ xerces/c/trunk/configure.ac Thu Jan 28 11:24:15 2010 @@ -74,13 +74,15 @@ AC_MSG_ERROR([Cannot find a valid 'ar' tool])) # Patch libtool to not use rpath if requested. -if test "$xerces_cv_rpath" = "no"; then - AC_MSG_RESULT([Patching libtool to not use rpath.]) - sed < libtool > libtool-2 \ - 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_NO_RPATH__ "/' - mv libtool-2 libtool - chmod 755 libtool -fi +# +AC_CONFIG_COMMANDS([libtool-rpath-patch], +[if test "$libtool_patch_use_rpath" = "no"; then + echo config.status: patching libtool to not use rpath + sed < libtool > libtool-2 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_NO_RPATH__ "/' + mv libtool-2 libtool + chmod 755 libtool +fi], +[libtool_patch_use_rpath=$xerces_cv_rpath]) # Export information on whether we are building static/shared libraries. # enable_shared and enable_static are defined by AC_PROG_LIBTOOL. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org For additional commands, e-mail: commits-help@xerces.apache.org