| tPlugin install directory is now passed to the program code. - vaccinewars - be… | |
| git clone git://src.adamsgaard.dk/vaccinewars | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit 96a7acf01fb82f8d759d75da012005cdc966227b | |
| parent 04dca1582d4100601a1d9f57ea1e2ba11157c28a | |
| Author: Ben Webb <[email protected]> | |
| Date: Mon, 13 May 2002 15:26:08 +0000 | |
| Plugin install directory is now passed to the program code. | |
| Diffstat: | |
| M configure.in | 6 +++++- | |
| 1 file changed, 5 insertions(+), 1 deletion(-) | |
| --- | |
| diff --git a/configure.in b/configure.in | |
| t@@ -271,13 +271,17 @@ fi | |
| if test "$plugins" = "yes" ; then | |
| AC_DEFINE(PLUGINS, 1, [Define if using dynamically-loaded sound modules]) | |
| + plugindir="${libdir}/dopewars" | |
| + AC_SUBST(plugindir) | |
| + PLUGINDEF="-DPLUGINDIR=\\\"${plugindir}\\\"" | |
| + AC_SUBST(PLUGINDEF) | |
| else | |
| PLUGOBJS="plugins/sound_sdl.o plugins/sound_esd.o plugins/sound_winmm.o" | |
| AC_SUBST(PLUGOBJS) | |
| PLUGLIBS="$SOUND_LIBS" | |
| AC_SUBST(PLUGLIBS) | |
| fi | |
| -AM_CONDITIONAL(NOPLUGINS, test "$plugins" != "yes") | |
| +AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes") | |
| dnl Enable networking by default under Win32, but on Unix systems | |
| dnl make it dependent on the availability of select and socket |