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:
Bill Currie 2001-05-28 21:22:15 +00:00
parent 5514f4870e
commit d523cb92c7

View file

@ -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