mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
* configure.ac: use AC_CHECK_LIB to check for cairo if pkg-config
is not available * configure: regenerate git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35220 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
51645accac
commit
86a9b9ca74
3 changed files with 2113 additions and 5122 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-06-21 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* configure.ac: use AC_CHECK_LIB to check for cairo if pkg-config
|
||||
is not available
|
||||
* configure: regenerate
|
||||
|
||||
2012-05-14 Quentin Mathe <quentin.mathe@gmail.com>
|
||||
|
||||
* Source/gsc/GSContext.m (+initialize): Protected +initialize from being
|
||||
|
|
16
configure.ac
16
configure.ac
|
@ -424,6 +424,22 @@ PKG_CHECK_MODULES(CAIRO_WIN32, cairo-win32, have_cairo_win32=yes, have_cairo_win
|
|||
PKG_CAIRO_GLITZ=no
|
||||
PKG_CHECK_MODULES(CAIRO_GLITZ, cairo-glitz, have_cairo_glitz=yes, have_cairo_glitz=no)
|
||||
|
||||
if test "$have_cairo" = no; then
|
||||
AC_CHECK_LIB(cairo, cairo_create, have_cairo=yes)
|
||||
fi
|
||||
|
||||
if test "$have_cairo_ft" = no; then
|
||||
AC_CHECK_LIB(cairo, cairo_ft_font_face_create_for_ft_face, have_cairo_ft=yes)
|
||||
fi
|
||||
|
||||
if test "$have_cairo_xlib" = no; then
|
||||
AC_CHECK_LIB(cairo, cairo_xlib_surface_create, have_cairo_xlib=yes)
|
||||
fi
|
||||
|
||||
if test "$have_cairo_win32" = no; then
|
||||
AC_CHECK_LIB(cairo, cairo_win32_surface_create, have_cairo_win32=yes)
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# XRender support
|
||||
#--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue