mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
--with-plugin-path now controls where plugins are installed, not just where
to look for them.
This commit is contained in:
parent
2ab7077e0e
commit
5514f4870e
2 changed files with 10 additions and 2 deletions
|
@ -1141,12 +1141,18 @@ pluginpath=$withval, pluginpath="auto")
|
|||
eval foo="$libdir"
|
||||
default_pluginpath="$foo/$PACKAGE"
|
||||
if test "x$pluginpath" = "xauto" -o "x$pluginpath" = "xyes" -o "x$pluginpath" = "x"; then
|
||||
pluginpath="$default_pluginpath"
|
||||
PLUGINDIR='${exec_prefix}/lib'/$PACKAGE
|
||||
eval pluginpath="$PLUGINDIR"
|
||||
elif test "x$pluginpath" = xno; then
|
||||
PLUGINDIR='${exec_prefix}/lib'/$PACKAGE
|
||||
pluginpath="."
|
||||
else
|
||||
PLUGINDIR=$pluginpath
|
||||
eval pluginpath="$PLUGINDIR"
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(FS_PLUGINPATH, "$pluginpath")
|
||||
AC_SUBST(pluginpath)
|
||||
AC_SUBST(PLUGINDIR)
|
||||
|
||||
dnl CFLAGS for release and devel versions
|
||||
CFLAGS=""
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
INCLUDES= -I$(top_srcdir)/include $(ALSA_CFLAGS) $(MME_CFLAGS) $(OSS_CFLAGS) $(SGISND_CFLAGS) $(SUNSND_CFLAGS) $(WIN32SND_CFLAGS) $(SDL_CFLAGS)
|
||||
|
||||
pkglib_LTLIBRARIES = @SND_PLUGIN_TARGETS@ libsound_null.la libsound_disk.la
|
||||
libdir = @PLUGINDIR@
|
||||
|
||||
lib_LTLIBRARIES = @SND_PLUGIN_TARGETS@ libsound_null.la libsound_disk.la
|
||||
EXTRA_LTLIBRARIES = libsound_sdl.la libsound_alsa0_5.la libsound_alsa0_9.la libsound_oss.la libsound_sgi.la libsound_sun.la libsound_win.la
|
||||
|
||||
common_sound_files= snd_dma.c snd_mem.c snd_mix.c snd_mixa.S
|
||||
|
|
Loading…
Reference in a new issue