[cairo-commit] configure.in
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Sep 3 14:06:07 PDT 2008
configure.in | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 55690639c7cdb3dd9c426d0a8e14d66f004a200d
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Sep 3 17:05:53 2008 -0400
[configure.in] Don't use sed -e. Fixes build on Macs
diff --git a/configure.in b/configure.in
index 3d48e9f..52aa857 100644
--- a/configure.in
+++ b/configure.in
@@ -333,14 +333,14 @@ AC_DEFUN([CAIRO_BACKEND_ENABLE],
CAIRO_NONPKGCONFIG_LIBS="$$1_NONPKGCONFIG_LIBS$CAIRO_NONPKGCONFIG_LIBS"
m4_define([cairo_backend_pc], m4_bpatsubst(src/cairo-$1.pc,_,-))
AC_CONFIG_FILES(cairo_backend_pc():src/cairo-backend.pc.in,
- [$SED \
- -e "s, at backend_name@,$1,g" \
- -e "s, at Backend_Name@,$2,g" \
- -e "s, at BACKEND_BASE@,$$1_BASE,g" \
- -e "s, at BACKEND_REQUIRES@,$$1_REQUIRES,g" \
- -e "s%@BACKEND_NONPKGCONFIG_LIBS@%$$1_NONPKGCONFIG_LIBS%g" \
- -e "s, at BACKEND_NONPKGCONFIG_CFLAGS@,$$1_NONPKGCONFIG_CFLAGS,g" \
- -i "]cairo_backend_pc()[" ||
+ [$SED "\
+ s, at backend_name@,$1,g
+ s, at Backend_Name@,$2,g
+ s, at BACKEND_BASE@,$$1_BASE,g
+ s, at BACKEND_REQUIRES@,$$1_REQUIRES,g
+ s%@BACKEND_NONPKGCONFIG_LIBS@%$$1_NONPKGCONFIG_LIBS%g
+ s, at BACKEND_NONPKGCONFIG_CFLAGS@,$$1_NONPKGCONFIG_CFLAGS,g
+ " -i "]cairo_backend_pc()[" ||
AC_MSG_ERROR(failed to update ]cairo_backend_pc()[)
],
[
More information about the cairo-commit
mailing list