2011-11-16 09:04:03 -05:00
|
|
|
dnl Process this file with Autoconf to produce configure dnl
|
|
|
|
|
|
|
|
AC_INIT([stow], [2.0.2], [bug-stow@gnu.org])
|
|
|
|
AC_PREREQ([2.61])
|
2011-11-21 08:59:36 -05:00
|
|
|
AC_CONFIG_AUX_DIR([automake])
|
2011-11-16 09:04:03 -05:00
|
|
|
AM_INIT_AUTOMAKE([-Wall -Werror])
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
2011-11-16 09:34:02 -05:00
|
|
|
AM_MAINTAINER_MODE([enable])
|
|
|
|
|
2011-11-16 09:04:03 -05:00
|
|
|
dnl Check for perl on our system
|
|
|
|
dnl call to AC_SUBST(PERL) is implicit
|
|
|
|
AC_PATH_PROGS([PERL], [perl] [perl5], [false])
|
|
|
|
if test "x$PERL" = xfalse
|
|
|
|
then
|
|
|
|
AC_MSG_WARN([WARNING: Perl not found; you must edit line 1 of 'stow'])
|
|
|
|
fi
|
|
|
|
|
2011-11-24 11:28:09 -05:00
|
|
|
AC_ARG_WITH(
|
|
|
|
pmdir,
|
|
|
|
[ --with-pmdir=DIR perl modules are in DIR [[LIBDIR/perl5]]],
|
|
|
|
[PMDIR=${withval}], [PMDIR=${libdir}/perl5]
|
|
|
|
)
|
|
|
|
|
2011-11-16 09:04:03 -05:00
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|