2014-03-06 13:09 Branko Čibej napisał(a):
> 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?
This feature is in POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
--
Arfrever Frehtes Taifersar Arahesis
Received on 2014-03-06 16:41:25 CET