mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 17:10:28 +01:00
[configure.in] I'm reminded that it's more portable to do -i first...
This commit is contained in:
parent
55690639c7
commit
190a328204
1 changed files with 2 additions and 2 deletions
|
|
@ -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,@backend_name@,$1,g
|
||||
s,@Backend_Name@,$2,g
|
||||
s,@BACKEND_BASE@,$$1_BASE,g
|
||||
s,@BACKEND_REQUIRES@,$$1_REQUIRES,g
|
||||
s%@BACKEND_NONPKGCONFIG_LIBS@%$$1_NONPKGCONFIG_LIBS%g
|
||||
s,@BACKEND_NONPKGCONFIG_CFLAGS@,$$1_NONPKGCONFIG_CFLAGS,g
|
||||
" -i "]cairo_backend_pc()[" ||
|
||||
" "]cairo_backend_pc()[" ||
|
||||
AC_MSG_ERROR(failed to update ]cairo_backend_pc()[)
|
||||
],
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue