1 AC_INIT(atool, 0.37.0, oskar@osk.mine.nu)
2 AC_CONFIG_MACRO_DIR([m4])
3 AC_CONFIG_SRCDIR([atool])
4 AC_CONFIG_AUX_DIR([build-aux])
7 AC_DEFINE_DIR(SBINDIR, sbindir)
8 AC_DEFINE_DIR(SYSCONFDIR, sysconfdir)
9 AC_DEFINE_DIR(LOCALSTATEDIR, localstatedir)
12 AC_PATH_PROG([PERL], [perl])
13 eval `$PERL -V:startperl`
14 if test "${startperl:0:1}" = "#" ; then
15 startperl="\\$startperl"
17 AC_SUBST(PERL_SHEBANG, $startperl)
18 eval `$PERL -V:sitelib`
19 AC_SUBST(PERL_SITELIB, $sitelib)
26 AC_CONFIG_COMMANDS([acat-link], [ln -f -s atool acat])
27 AC_CONFIG_COMMANDS([adiff-link], [ln -f -s atool adiff])
28 AC_CONFIG_COMMANDS([als-link], [ln -f -s atool als])
29 AC_CONFIG_COMMANDS([apack-link], [ln -f -s atool apack])
30 AC_CONFIG_COMMANDS([aunpack-link], [ln -f -s atool aunpack])
31 AC_CONFIG_COMMANDS([arepack-link], [ln -f -s atool arepack])