mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
configure script displays warning msgs when cairo backend is selected on win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26188 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bec7259309
commit
5a575c4b39
3 changed files with 512 additions and 1435 deletions
|
@ -32,6 +32,9 @@
|
|||
/* Define if you have the glx library */
|
||||
#undef HAVE_GLX
|
||||
|
||||
/* Define if you have the glx library */
|
||||
#undef HAVE_WGL
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
|
|
15
configure.ac
15
configure.ac
|
@ -486,14 +486,11 @@ elif test x"$BUILD_GRAPHICS" = "xart"; then
|
|||
CPPFLAGS="$LIBART_CFLAGS $FREETYPE_CFLAGS $CPPFLAGS"
|
||||
fi
|
||||
elif test x"$BUILD_GRAPHICS" = "xcairo"; then
|
||||
if test "$have_freetype" = no; then
|
||||
AC_MSG_ERROR([can't find freetype, required for graphics=cairo])
|
||||
fi
|
||||
if test "$have_cairo" = no -o "$have_cairo-ft" = no ; then
|
||||
AC_MSG_ERROR([can't find cairo, required for graphics=cairo!])
|
||||
if test $BUILD_SERVER = win32; then
|
||||
BUILD_GRAPHICS=winlib
|
||||
else
|
||||
BUILD_GRAPHICS=xlib
|
||||
fi
|
||||
AC_MSG_NOTICE([Switching to $BUILD_GRAPHICS])
|
||||
else
|
||||
AC_MSG_CHECKING(Cairo backend)
|
||||
CAIRO_LIBS="$CAIRO_FT_LIBS"
|
||||
|
@ -518,10 +515,16 @@ elif test x"$BUILD_GRAPHICS" = "xcairo"; then
|
|||
CAIRO_LIBS="$CAIRO_LIBS $CAIRO_GLITZ_LIBS"
|
||||
CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_GLITZ_CFLAGS"
|
||||
AC_MSG_RESULT(glitz)
|
||||
AC_MSG_WARN([**** Cairo-over-Glitz backend is highly experimental])
|
||||
AC_MSG_WARN([**** You definitively shouldn't do that.])
|
||||
AC_MSG_WARN([**** It actually does not work !])
|
||||
AC_MSG_WARN([**** Are you a backend developer ?])
|
||||
elif test $BUILD_SERVER = win32 -a "x$have_cairo_win32" = "xyes"; then
|
||||
CAIRO_LIBS="$CAIRO_LIBS $CAIRO_WIN32_LIBS $WIN32_LIBS"
|
||||
CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_WIN32_CFLAGS"
|
||||
AC_MSG_RESULT(winlib)
|
||||
AC_MSG_WARN([**** Cairo backend on win32 is experimental and is not supported.])
|
||||
AC_MSG_WARN([**** Are you a backend developer ?])
|
||||
elif test $BUILD_SERVER = x11 -a "x$have_cairo_xlib" = "xyes"; then
|
||||
CAIRO_LIBS="$CAIRO_LIBS $CAIRO_XLIB_LIBS $XFT_LIBS"
|
||||
CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_XLIB_CFLAGS"
|
||||
|
|
Loading…
Reference in a new issue