Changeset 67
- Timestamp:
- 04/27/08 20:56:26 (6 months ago)
- Files:
-
- trunk/apps/pdfdiff/ac/perl.m4 (modified) (1 diff)
- trunk/apps/pdfdiff/ChangeLog (added)
- trunk/apps/pdfdiff/configure.in (modified) (1 diff)
- trunk/apps/pdfdiff/COPYING (added)
- trunk/apps/pdfdiff/INSTALL (added)
- trunk/apps/pdfdiff/Makefile.am (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/apps/pdfdiff/ac/perl.m4
r64 r67 1 1 # ************************************************************************** 2 # P ERLJVM_AC_PROG_PERL - TEST FOR PERL2 # PDFDIFF_AC_PROG_PERL - TEST FOR PERL 3 3 4 # P ERLJVM_AC_PROG_PERL is a function to test to see if we have a version4 # PDFDIFF_AC_PROG_PERL is a function to test to see if we have a version 5 5 # of Perl we want and to find its path. 6 6 7 7 # Usage: 8 # P ERLJVM_AC_PROG_PERL([MINIMUM-VERSION, [ACTION-IF-USER-REFUSED, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]])8 # PDFDIFF_AC_PROG_PERL([MINIMUM-VERSION, [ACTION-IF-USER-REFUSED, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]]) 9 9 # 10 10 # Example: 11 # P ERLJVM_AC_PROG_PERL(5.6.0, AC_MSG_ERROR([I cannot believe you do not want perl], , AC_MSG_ERROR([*** perl >= 5.6.0 is not installed - please install first ***]))11 # PDFDIFF_AC_PROG_PERL(5.6.0, AC_MSG_ERROR([I cannot believe you do not want perl], , AC_MSG_ERROR([*** perl >= 5.6.0 is not installed - please install first ***])) 12 12 # 13 13 # Defines PERL, and PERL_VERSION 14 14 15 AC_DEFUN(P ERLJVM_AC_PROG_PERL,15 AC_DEFUN(PDFDIFF_AC_PROG_PERL, 16 16 [# 17 17 # min_perl_version is the minimal version of perl. It defaults to 5.5.3 trunk/apps/pdfdiff/configure.in
r63 r67 35 35 AC_SUBST(PERL_VERSION_NEEDED) 36 36 37 P ERLJVM_AC_PROG_PERL($PERL_VERSION_NEEDED, AC_MSG_ERROR([*** Did you really expect to use perljvm without perl? ***]), ,AC_MSG_ERROR([*** perl >= $PERL_VERSION_NEEDED is not installed - perljvm will not function without it. ***]))37 PDFDIFF_AC_PROG_PERL($PERL_VERSION_NEEDED, AC_MSG_ERROR([*** Did you really expect to use perljvm without perl? ***]), ,AC_MSG_ERROR([*** perl >= $PERL_VERSION_NEEDED is not installed - perljvm will not function without it. ***])) 38 38 39 39 # Generate the Makefiles 40 40 AC_OUTPUT(Makefile ac/Makefile pdfdiff 41 Perl/lib/PDF/Diff/Version.pm Perl/Makefile41 Perl/lib/PDF/Diff/Version.pm 42 42 )