|
Lines 444-449
Link Here
|
| 444 |
]) |
439 |
]) |
| 445 |
|
440 |
|
| 446 |
AC_DEFUN([OGRE_CHECK_CEGUI], [ |
441 |
AC_DEFUN([OGRE_CHECK_CEGUI], [ |
|
|
442 |
AC_ARG_ENABLE(cegui, |
| 443 |
AC_HELP_STRING([--disable-cegui], |
| 444 |
[Don't build CEGUIRenderer, even if CEGUI is installed.]), |
| 445 |
[if test x$enableval = xyes; then |
| 446 |
build_cegui_sample=true |
| 447 |
fi], |
| 448 |
[build_cegui_sample=true]) |
| 449 |
if test x$build_cegui_sample = xtrue; then |
| 447 |
PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.5.0, |
450 |
PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.5.0, |
| 448 |
[build_cegui_sample=true], [build_cegui_sample=false]) |
451 |
[build_cegui_sample=true], [build_cegui_sample=false]) |
| 449 |
if test x$build_cegui_sample = xtrue; then |
452 |
if test x$build_cegui_sample = xtrue; then |
|
Lines 459-464
Link Here
|
| 459 |
else |
462 |
else |
| 460 |
AC_MSG_RESULT([CEGUI not available, Gui and FacialAnimation samples will not be built]) |
463 |
AC_MSG_RESULT([CEGUI not available, Gui and FacialAnimation samples will not be built]) |
| 461 |
fi |
464 |
fi |
|
|
465 |
fi |
| 462 |
AM_CONDITIONAL([HAVE_CEGUI], [test x$build_cegui_sample = xtrue]) |
466 |
AM_CONDITIONAL([HAVE_CEGUI], [test x$build_cegui_sample = xtrue]) |
| 463 |
]) |
467 |
]) |
| 464 |
|
468 |
|