Skip to content

Commit

Permalink
Assume that /usr/local when --prefix option is not specified
Browse files Browse the repository at this point in the history
GitHub: #3

Reported by tliron. Thanks!!!
  • Loading branch information
kenhys committed Feb 7, 2016
1 parent fb40d6e commit 0f9b2ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion macros/sylplugin_factory.m4
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ AC_ARG_WITH(sylpheed-plugin-dir,
[sylplugin_dir="$withval"])
if test "x$sylplugin_dir" = "x"; then
sylplugindir_available="yes"
sylplugin_dir=$prefix/lib/sylpheed/plugins
if test -d "$prefix"; then
sylplugin_dir=$prefix/lib/sylpheed/plugins
else
sylplugin_dir=/usr/local/lib/sylpheed/plugins
fi
else
if test -d "$sylplugin_dir"; then
sylplugindir_available="yes"
Expand Down

0 comments on commit 0f9b2ca

Please sign in to comment.