On Thu, Mar 06, 2014 at 01:09:34PM +0100, Branko Čibej wrote:
> > @@ -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?
Works here with OpenBSD's korn shell.
$ echo $abs_srcdir
/home/stsp/svn/svn-trunk
$ for pc_in_file in "${abs_srcdir}"/subversion/libsvn_*/*.pc.in; do
> pc_file=${pc_in_file#${abs_srcdir}/}
> pc_file=${pc_file%.in}
> echo $pc_file
> done
subversion/libsvn_auth_gnome_keyring/libsvn_auth_gnome_keyring.pc
subversion/libsvn_auth_kwallet/libsvn_auth_kwallet.pc
subversion/libsvn_client/libsvn_client.pc
subversion/libsvn_delta/libsvn_delta.pc
subversion/libsvn_diff/libsvn_diff.pc
subversion/libsvn_fs/libsvn_fs.pc
subversion/libsvn_fs_base/libsvn_fs_base.pc
subversion/libsvn_fs_fs/libsvn_fs_fs.pc
subversion/libsvn_fs_util/libsvn_fs_util.pc
subversion/libsvn_fs_x/libsvn_fs_x.pc
subversion/libsvn_ra/libsvn_ra.pc
subversion/libsvn_ra_local/libsvn_ra_local.pc
subversion/libsvn_ra_serf/libsvn_ra_serf.pc
subversion/libsvn_ra_svn/libsvn_ra_svn.pc
subversion/libsvn_repos/libsvn_repos.pc
subversion/libsvn_subr/libsvn_subr.pc
subversion/libsvn_wc/libsvn_wc.pc
Received on 2014-03-06 13:17:54 CET