Make sure we don't get complaints about cairo engine.

SVN revision: 16455
This commit is contained in:
sebastid 2005-09-01 23:53:03 +00:00 committed by sebastid
parent 94a05490b6
commit 5f6720c25e
1 changed files with 17 additions and 17 deletions

View File

@ -476,24 +476,24 @@ fi
have_evas_cairo_x11="no";
ENGINE_CAIRO_X11_PRG="";
# Automatic check...
PKG_CHECK_MODULES(CAIRO, cairo >= 1.0.0,
[ have_evas_cairo_x11="yes" ],
[ have_evas_cairo_x11="no" ]
)
#PKG_CHECK_MODULES(CAIRO, cairo >= 1.0.0,
# [ have_evas_cairo_x11="yes" ],
# [ have_evas_cairo_x11="no" ]
#)
# Manual override
AC_MSG_CHECKING(whether cairo x11 backend is to be built)
AC_ARG_ENABLE(cairo-x11, [ --enable-cairo-x11 enable the Cairo X11 display engine], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
have_evas_cairo_x11="yes"
else
AC_MSG_RESULT(no)
have_evas_cairo_x11="no"
fi
], [
AC_MSG_RESULT($have_evas_cairo_x11)
]
)
#AC_MSG_CHECKING(whether cairo x11 backend is to be built)
#AC_ARG_ENABLE(cairo-x11, [ --enable-cairo-x11 enable the Cairo X11 display engine], [
# if [ test "$enableval" = "yes" ]; then
# AC_MSG_RESULT(yes)
# have_evas_cairo_x11="yes"
# else
# AC_MSG_RESULT(no)
# have_evas_cairo_x11="no"
# fi
# ], [
# AC_MSG_RESULT($have_evas_cairo_x11)
# ]
#)
if test "x$have_evas_cairo_x11" = "xyes"; then
AC_CHECK_HEADER(X11/X.h,
[