-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILD: Add dependency on OGRE (>= 1.9)
- Loading branch information
Showing
5 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
dnl @synopsis AX_CHECK_OGRE(version, action-if, action-if-not) | ||
dnl | ||
dnl @summary check for OGRE of sufficient version | ||
dnl | ||
dnl Defines OGRE_LIBS, OGRE_CFLAGS and OGRE_PLUGINDIR. | ||
dnl | ||
dnl @category InstalledPackages | ||
dnl @author Sven Hesse <drmccoy@drmccoy.de> | ||
dnl @version 2013-12-14 | ||
dnl @license AllPermissive | ||
|
||
AC_DEFUN([AX_CHECK_OGRE], [ | ||
PKG_CHECK_MODULES(OGRE, [OGRE >= $1], $2, $3) | ||
OGRE_PLUGINDIR=`$PKG_CONFIG --variable=plugindir OGRE` | ||
AC_SUBST(OGRE_CFLAGS) | ||
AC_SUBST(OGRE_LIBS) | ||
AC_SUBST(OGRE_PLUGINDIR) | ||
]) | ||
|
||
dnl @synopsis AX_CHECK_OGREOVERLAY(version, action-if, action-if-not) | ||
dnl | ||
dnl @summary check for OGRE-Overlay of sufficient version | ||
dnl | ||
dnl Defines OGREOVERLAY_LIBS and OGREOVERLAY_CFLAGS. | ||
dnl | ||
dnl @category InstalledPackages | ||
dnl @author Sven Hesse <drmccoy@drmccoy.de> | ||
dnl @version 2013-12-14 | ||
dnl @license AllPermissive | ||
|
||
AC_DEFUN([AX_CHECK_OGREOVERLAY], [ | ||
PKG_CHECK_MODULES(OGREOVERLAY, [OGRE-Overlay >= $1], $2, $3) | ||
AC_SUBST(OGREOVERLAY_CFLAGS) | ||
AC_SUBST(OGREOVERLAY_LIBS) | ||
]) |