]> arthur.barton.de Git - netatalk.git/blob - macros/perl-check.m4
Fix the Perl-check macro so that it acutally checks for Perl.
[netatalk.git] / macros / perl-check.m4
1 dnl Autoconf macro to check for the existence of Perl
2 dnl $Id: perl-check.m4,v 1.3 2002-02-07 05:06:48 jmarcus Exp $
3
4 AC_DEFUN([AC_PROG_PERL], [
5 AC_REQUIRE([AC_EXEEXT])dnl
6 test x$PERL = x && AC_PATH_PROG(PERL, perl$EXEEXT, perl$EXEEXT)
7 test x$PERL = x && AC_MSG_ERROR([no acceptable Perl found in \$PATH])
8 ])
9
10 AC_SUBST(PERL)