mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
clean up --with-plugin-path a little and make it depend on libdir instead
of exec_prefix (removes the hard-coding of lib)
This commit is contained in:
parent
5514f4870e
commit
d523cb92c7
1 changed files with 1 additions and 4 deletions
|
@ -1138,13 +1138,10 @@ AC_ARG_WITH(plugin-path,
|
|||
\${libdir}/quakeforge],
|
||||
pluginpath=$withval, pluginpath="auto")
|
||||
|
||||
eval foo="$libdir"
|
||||
default_pluginpath="$foo/$PACKAGE"
|
||||
PLUGINDIR="$libdir/$PACKAGE"
|
||||
if test "x$pluginpath" = "xauto" -o "x$pluginpath" = "xyes" -o "x$pluginpath" = "x"; then
|
||||
PLUGINDIR='${exec_prefix}/lib'/$PACKAGE
|
||||
eval pluginpath="$PLUGINDIR"
|
||||
elif test "x$pluginpath" = xno; then
|
||||
PLUGINDIR='${exec_prefix}/lib'/$PACKAGE
|
||||
pluginpath="."
|
||||
else
|
||||
PLUGINDIR=$pluginpath
|
||||
|
|
Loading…
Reference in a new issue