mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
build: Use portable sed constructs.
Partly fixes <http://bugs.gnu.org/14042>. Reported by Marc Girod <marc.girod@gmail.com>. * meta/Makefile.am (guile-config): Use separate "s" expressions to accommodate Solaris sed.
This commit is contained in:
parent
11ed42771d
commit
570fdeceac
1 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
## Jim Blandy <jimb@red-bean.com> --- September 1997
|
## Jim Blandy <jimb@red-bean.com> --- September 1997
|
||||||
##
|
##
|
||||||
## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011,
|
## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011,
|
||||||
## 2012 Free Software Foundation, Inc.
|
## 2012, 2013 Free Software Foundation, Inc.
|
||||||
##
|
##
|
||||||
## This file is part of GUILE.
|
## This file is part of GUILE.
|
||||||
##
|
##
|
||||||
|
@ -47,9 +47,9 @@ aclocal_DATA = guile.m4
|
||||||
guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status
|
guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status
|
||||||
guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \
|
guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \
|
||||||
cat $(srcdir)/guile-config.in \
|
cat $(srcdir)/guile-config.in \
|
||||||
| $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g ; \
|
| $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g" \
|
||||||
s,@""PKG_CONFIG@,$(PKG_CONFIG),g ; \
|
-e "s,@""PKG_CONFIG@,$(PKG_CONFIG),g" \
|
||||||
s,@installed_guile@,$$guile,g" \
|
-e "s,@installed_guile@,$$guile,g" \
|
||||||
> guile-config.out
|
> guile-config.out
|
||||||
mv guile-config.out guile-config
|
mv guile-config.out guile-config
|
||||||
chmod +x guile-config
|
chmod +x guile-config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue