tAdded --enable-plugins configure option to control whether to build plugins or to statically link them in; separated LDFLAGS for each plugin so that (e.g.) the ESD plugin does not get linked against SDL. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9cb0fa217782e8efa8858ac3b00742c3357c0270
 (DIR) parent b5cd13c78ad6c2453786dcde5e4e1c611462092b
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 13 May 2002 15:58:10 +0000
       
       Added --enable-plugins configure option to control whether to build plugins
       or to statically link them in; separated LDFLAGS for each plugin so that
       (e.g.) the ESD plugin does not get linked against SDL.
       
       
       Diffstat:
         M src/plugins/sound_esd.c             |       2 +-
         M src/plugins/sound_esd.h             |       2 +-
         M src/plugins/sound_sdl.c             |       2 +-
         M src/plugins/sound_sdl.h             |       2 +-
         M src/plugins/sound_winmm.c           |       2 +-
         M src/plugins/sound_winmm.h           |       2 +-
       
       6 files changed, 6 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/src/plugins/sound_esd.c b/src/plugins/sound_esd.c
       t@@ -88,7 +88,7 @@ static void SoundPlay_ESD(const gchar *snd)
          nextcache = (nextcache + 1) % MAXCACHE;
        }
        
       -SoundDriver *init(void)
       +SoundDriver *sound_esd_init(void)
        {
          static SoundDriver driver;
        
 (DIR) diff --git a/src/plugins/sound_esd.h b/src/plugins/sound_esd.h
       t@@ -30,7 +30,7 @@
        #include "sound.h"
        
        #ifdef HAVE_ESD
       -SoundDriver *SoundInit_ESD(void);
       +SoundDriver *sound_esd_init(void);
        #endif /* HAVE_ESD */
        
        #endif /* __DP_SOUND_ESD_H__ */
 (DIR) diff --git a/src/plugins/sound_sdl.c b/src/plugins/sound_sdl.c
       t@@ -107,7 +107,7 @@ static void SoundPlay_SDL(const gchar *snd)
          channel[chan_num].name = g_strdup(snd);
        }
        
       -SoundDriver *init(void)
       +SoundDriver *sound_sdl_init(void)
        {
          static SoundDriver driver;
        
 (DIR) diff --git a/src/plugins/sound_sdl.h b/src/plugins/sound_sdl.h
       t@@ -30,7 +30,7 @@
        #include "sound.h"
        
        #ifdef HAVE_SDL_MIXER
       -SoundDriver *SoundInit_SDL(void);
       +SoundDriver *sound_sdl_init(void);
        #endif /* HAVE_SDL_MIXER */
        
        #endif /* __DP_SOUND_SDL_H__ */
 (DIR) diff --git a/src/plugins/sound_winmm.c b/src/plugins/sound_winmm.c
       t@@ -45,7 +45,7 @@ static void SoundPlay_WinMM(const gchar *snd)
          sndPlaySound(snd, SND_ASYNC);
        }
        
       -SoundDriver *SoundInit_WinMM(void)
       +SoundDriver *sound_winmm_init(void)
        {
          static SoundDriver driver;
        
 (DIR) diff --git a/src/plugins/sound_winmm.h b/src/plugins/sound_winmm.h
       t@@ -30,7 +30,7 @@
        #include "sound.h"
        
        #ifdef HAVE_WINMM
       -SoundDriver *SoundInit_WinMM(void);
       +SoundDriver *sound_winmm_init(void);
        #endif /* HAVE_WINMM */
        
        #endif /* __DP_SOUND_WINMM_H__ */