[cairo-commit] 2 commits - configure.in

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Sep 3 13:41:16 PDT 2008


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

New commits:
commit f2f1653fcf7bbd56befe8d297dca5149b5536275
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 3 16:40:35 2008 -0400

    [configure.in] m4 voodoo

diff --git a/configure.in b/configure.in
index 3de79bc..8ab00ac 100644
--- a/configure.in
+++ b/configure.in
@@ -340,7 +340,7 @@ AC_DEFUN([CAIRO_BACKEND_ENABLE],
 			-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()[ ||
+			-i "cairo_backend_pc()" ||
 			AC_MSG_ERROR(failed to update cairo_backend_pc())
 		      ],
 		      [
commit 3760a0192600f5c179d09273e89e018fdca894ec
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Sep 3 16:40:24 2008 -0400

    [configure.in] Use $SED instead of sed

diff --git a/configure.in b/configure.in
index f261267..3de79bc 100644
--- a/configure.in
+++ b/configure.in
@@ -333,7 +333,7 @@ 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 \
 			-e "s, at backend_name@,$1,g" \
 			-e "s, at Backend_Name@,$2,g" \
 			-e "s, at BACKEND_BASE@,$$1_BASE,g" \
@@ -344,6 +344,7 @@ AC_DEFUN([CAIRO_BACKEND_ENABLE],
 			AC_MSG_ERROR(failed to update cairo_backend_pc())
 		      ],
 		      [
+		       SED='$SED'
 		       $1_BASE='$$1_BASE'
 		       $1_REQUIRES='$$1_REQUIRES'
 		       $1_NONPKGCONFIG_LIBS='$$1_NONPKGCONFIG_LIBS'


More information about the cairo-commit mailing list