From Sjoerd Simons: Fix bug #2077: configuring with --with-plugins not behaving like documented

svn path=/trunk/; revision=23792
This commit is contained in:
Bill Meier 2007-12-07 17:30:08 +00:00
parent a73c7817f6
commit 6a208e8ffe
1 changed files with 2 additions and 3 deletions

View File

@ -1486,9 +1486,8 @@ AC_ARG_WITH(plugins,
have_plugins=no
elif test "x$have_plugins" = "xno"; then
AC_MSG_ERROR([GLib on this platform doesn't support loadable modules, so you can't enable plugins.])
if test "x$withval" != "xyes"; then
plugindir="$withval"
fi
elif test "x$withval" != "xyes"; then
plugindir="$withval"
fi
])
AM_CONDITIONAL(HAVE_PLUGINS, test "x$have_plugins" = "xyes")