[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1574842 - /subversion/trunk/configure.ac

From: Branko Čibej <brane_at_wandisco.com>
Date: Thu, 06 Mar 2014 13:09:34 +0100

On 06.03.2014 12:15, philip_at_apache.org wrote:
> Author: philip
> Date: Thu Mar 6 11:15:31 2014
> New Revision: 1574842
>
> URL: http://svn.apache.org/r1574842
> Log:
> * configure.ac: Tweak .pc generation to handle builddir != srcdir.
>
> Modified:
> subversion/trunk/configure.ac
>
> Modified: subversion/trunk/configure.ac
> URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1574842&r1=1574841&r2=1574842&view=diff
> ==============================================================================
> --- subversion/trunk/configure.ac (original)
> +++ subversion/trunk/configure.ac Thu Mar 6 11:15:31 2014
> @@ -1543,8 +1543,9 @@ AC_CONFIG_COMMANDS([svn_private_config.h
> AC_CONFIG_FILES([Makefile])
>
> # Create pkg-config .pc files from .pc.in files
> -for pc_in_file in subversion/libsvn_*/*.pc.in; do
> - pc_file="`echo ${pc_in_file} | $SED -e 's/.in$//'`"
> +for pc_in_file in ${abs_srcdir}/subversion/libsvn_*/*.pc.in; do
> + pc_file=${pc_in_file#${abs_srcdir}/}
> + pc_file=${pc_file%.in}

Aren't these last two lines bash-isms?

> AC_CONFIG_FILES([${pc_file}])
> done

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-03-06 13:10:10 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.