[cairo-commit] configure.in

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Sep 3 14:15:25 PDT 2008


 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

    [configure.in] I'm reminded that it's more portable to do -i first...

diff --git a/configure.in b/configure.in
index 52aa857..e366cde 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 "\
+		      [$SED -i "\
 			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()[" ||
+			" "]cairo_backend_pc()[" ||
 			AC_MSG_ERROR(failed to update ]cairo_backend_pc()[)
 		      ],
 		      [


More information about the cairo-commit mailing list