Allow building cd-paranoia even if Perl isn't installed. (Sad in this

day and age one still can't assume Perl.)
This commit is contained in:
rocky
2005-09-17 01:33:29 +00:00
parent f6a5b4ad0b
commit a1f3f30d06
3 changed files with 153 additions and 5 deletions

View File

@@ -16,10 +16,10 @@ dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
dnl 02111-1307, USA.
define(RELEASE_NUM, 76)
define(CDIO_VERSION_STR, 0.$1cvs)
define(CDIO_VERSION_STR, 0.$1)
AC_PREREQ(2.52)
AC_REVISION([$Id: configure.ac,v 1.164 2005/09/16 09:31:38 rocky Exp $])dnl
AC_REVISION([$Id: configure.ac,v 1.165 2005/09/17 01:33:29 rocky Exp $])dnl
AC_INIT(libcdio, CDIO_VERSION_STR(RELEASE_NUM))
AC_CONFIG_SRCDIR(src/cd-info.c)
@@ -122,8 +122,9 @@ else
fi
# We use Perl for documentation and regression tests
AC_PATH_PROG(PERL, perl, no)
AC_PATH_PROG(PERL, perl, false)
AC_SUBST(PERL)
AM_CONDITIONAL(HAVE_PERL, test "$PERL" != "false")
# We use a diff in regression testing
AC_PATH_PROG(DIFF, diff, no)