Skip to content

Commit

Permalink
Fix configure --with-bcf-plugin-path
Browse files Browse the repository at this point in the history
Remember to set make's $(pluginpath) from the AC_SUBST variable
(and rename the variable to follow `@bcf_plugindir@`'s lead).
  • Loading branch information
jmarshall committed Nov 6, 2019
1 parent dbbab34 commit 5849e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ PERL_LIBS = @PERL_LIBS@

PLATFORM = @PLATFORM@
PLUGINS_ENABLED = @enable_bcftools_plugins@
plugindir = @bcf_plugindir@
plugindir = @bcf_plugindir@
pluginpath = @bcf_pluginpath@
PLUGIN_EXT = @PLUGIN_EXT@

@Hsource@HTSDIR = @HTSDIR@
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ AC_ARG_WITH([bcf-plugin-path],
no) with_bcf_plugin_path= ;;
esac],
[with_bcf_plugin_path=$with_bcf_plugin_dir])
AC_SUBST([PLUGINPATH], $with_bcf_plugin_path)
AC_SUBST([bcf_pluginpath], $with_bcf_plugin_path)

AC_ARG_ENABLE([perl-filters],
[AS_HELP_STRING([--enable-perl-filters],
Expand Down

0 comments on commit 5849e0a

Please sign in to comment.