1 dnl Process this file with Autoconf to produce configure dnl
3 AC_INIT([stow], [2.1.0], [bug-stow@gnu.org])
5 AC_CONFIG_AUX_DIR([automake])
6 # Unfortunately we have to disable warnings for overrides, because we
7 # need to override the built-in `check' rule and also the TEXI2DVI
9 AM_INIT_AUTOMAKE([-Wall -Werror -Wno-override dist-bzip2])
12 AM_MAINTAINER_MODE([enable])
14 dnl Check for perl on our system
15 dnl call to AC_SUBST(PERL) is implicit
16 AC_PATH_PROGS([PERL], [perl] [perl5], [false])
17 if test "x$PERL" = xfalse
19 AC_MSG_WARN([WARNING: Perl not found; you must edit line 1 of 'stow'])
24 [ --with-pmdir=DIR perl modules are in DIR [[LIBDIR/perl5]]],
25 [PMDIR=${withval}], [PMDIR=${libdir}/perl5]
28 AC_CONFIG_FILES([Makefile])