[cairo-commit] configure.in

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Sep 3 14:53:36 PDT 2008


 configure.in |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit e3fb4921a37ede88d3ecc6578ea96fcbb7776c0f
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 3 17:53:15 2008 -0400

    [configure.in] No, OS X sed is broken in much more than one way, really

diff --git a/configure.in b/configure.in
index 5924ddc..0c61d8a 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 -i \
-			-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" \
-			"]cairo_backend_pc()[" ||
+		      [$SED -i -e "
+			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;
+			" "]cairo_backend_pc()[" ||
 			AC_MSG_ERROR(failed to update ]cairo_backend_pc()[)
 		      ],
 		      [


More information about the cairo-commit mailing list