Fixed bug where --with-pmdir was ineffectual.

This commit is contained in:
Adam Spiers 2011-12-06 10:33:34 +00:00
parent 419e31b4c6
commit d879bde678
3 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,7 @@ dist_doc_DATA = \
doc/manual.pdf doc/manual-single.html doc/version.texi \ doc/manual.pdf doc/manual-single.html doc/version.texi \
ChangeLog doc/ChangeLog.OLD ChangeLog doc/ChangeLog.OLD
pmdir = $(libdir)/perl5 pmdir = $(PMDIR)
dist_pm_DATA = lib/Stow.pm dist_pm_DATA = lib/Stow.pm
pmstowdir = $(pmdir)/Stow pmstowdir = $(pmdir)/Stow
dist_pmstow_DATA = lib/Stow/Util.pm dist_pmstow_DATA = lib/Stow/Util.pm

2
NEWS
View file

@ -1,5 +1,7 @@
News file for Stow. News file for Stow.
* Changes in version 2.1.1
** Fixed bug where ./configure --with-pmdir=X was ineffectual.
* Changes in version 2.1.0 * Changes in version 2.1.0
** Major refactoring of code into separate Stow and Stow::Util Perl modules. ** Major refactoring of code into separate Stow and Stow::Util Perl modules.
** Added support for ignore list files. ** Added support for ignore list files.

View file

@ -24,6 +24,7 @@ AC_ARG_WITH(
[ --with-pmdir=DIR perl modules are in DIR [[LIBDIR/perl5]]], [ --with-pmdir=DIR perl modules are in DIR [[LIBDIR/perl5]]],
[PMDIR=${withval}], [PMDIR=${libdir}/perl5] [PMDIR=${withval}], [PMDIR=${libdir}/perl5]
) )
AC_SUBST([PMDIR])
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT