Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ogreode/configure.ac @ 22

Last change on this file since 22 was 21, checked in by nicolasc, 17 years ago

added ogreode and Colladaplugin

File size: 1.5 KB
Line 
1# Modified the 06/23/2006 by
2# Martin Pieuchot (Aer) <t1tamar (at) gmail.com>
3
4AC_PREREQ(2.59)
5AC_INIT([OgreOde_Core], [0.7.10])
6AM_INIT_AUTOMAKE([OgreOde_Core], [0.7.10])
7AM_CONFIG_HEADER([config.h])
8
9AM_INIT_AUTOMAKE([foreign dist-bzip2])
10
11dnl Checks for programs
12AC_PROG_CXX
13AC_PROG_LIBTOOL
14
15PKG_CHECK_MODULES(OGRE, [OGRE >= 1.2.0],,
16                          AC_MSG_ERROR([OGRE is required to compile Ogre-Ode]))
17AC_SUBST(OGRE_CFLAGS)
18AC_SUBST(OGRE_LIBS)
19
20PKG_CHECK_MODULES(ois, [OIS >= 0.5.0],,
21                          AC_MSG_ERROR([OIS is required to compile Ogre-Ode samples]))
22AC_SUBST(ois_CFLAGS)
23AC_SUBST(ois_LIBS)
24
25AC_CHECK_HEADERS([ode/ode.h],,
26                          AC_MSG_ERROR([ODE is required to compile Ogre-Ode]))
27
28
29AC_ARG_WITH([samples],AC_HELP_STRING([--with-samples=[PATH]],
30            [look for the ogre samples in PATH, default is
31             ../../../../../ogrenew/Samples/]),
32             [samples=$withval],[samples=no])
33
34SAMPLES="../../../../../ogrenew/Samples"
35if test "x$samples" != "xno"
36then
37        SAMPLES="${samples}"
38fi
39SAMPLES_CFLAGS="${SAMPLES}/Common/include"
40AC_SUBST(SAMPLES)
41AC_SUBST(SAMPLES_CFLAGS)
42AC_CONFIG_FILES([Makefile
43        src/Makefile
44        include/Makefile
45        OgreOde_Core.pc
46        prefab/Makefile
47        prefab/include/Makefile
48        prefab/src/Makefile
49        OgreOde_Prefab.pc
50        OgreOde_Loader.pc
51        loader/Makefile
52        loader/src/Makefile
53        loader/include/Makefile
54        demos/Makefile
55        demos/SimpleScenes/Makefile
56        demos/SimpleScenes/src/Makefile
57        demos/GranTurismOgre/Makefile
58        demos/GranTurismOgre/src/Makefile
59        demos/Landscape/Makefile
60        demos/Landscape/src/Makefile
61        ])
62
63AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.