Software Freedom Law Center

root/trunk/apps/pdfdiff/configure.in

Revision 89, 1.5 kB (checked in by bkuhn, 8 months ago)

r74@hughes: bkuhn | 2008-04-27 20:13:19 -0400

  • Added Perl directory to SUBDIRS in Makefile.am
  • Moved Perl/lib/PDF/Diff to Perl/lib/PDF/Extract/Text
  • Added Perl/Makefile.in
Line 
1 # Process this with autoconf to create configure
2
3 # There is a bit of documentation of the obvious.  I did this for friends
4 # who said autoconf/automake was confusing.  Hopefully, this will serve
5 # as a good example.   -- bkuhn
6
7 # I now always use this as my template when I start a new project, so the
8 # over-verbose comments live on.  -- bkuhn
9
10 # If you modify the way configure options work or add new options, be sure
11 # to update the README file appropriately.
12
13 # AC_INIT is required by autoconf.  The arg is a unique source file
14 # (which is needed so it knows the source is really there).
15
16 AC_INIT(pdfdiff.in)
17
18 # This lets autoconf know we are using automake.  It's the name of the
19 # program and the current version.  It's important to *only* set the version
20 # number here.
21
22 # If you update the version number, make sure you start a NEWS section.
23
24 AM_INIT_AUTOMAKE(pdfdiff, 0.1)
25
26 # make sure we have the right version of perl
27
28 # update README and INSTALL if you change the version number of Perl we need
29
30 PERL_VERSION_NEEDED=5.8.0
31 AC_SUBST(PERL_VERSION_NEEDED)
32
33
34 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. ***]))
35
36 AC_PATH_PROG(PDIFF,pdiff)
37 AC_PATH_PROG(DIFF,diff)
38 AC_PATH_PROG(MELD,meld)
39
40
41 # Generate the Makefiles
42 AC_OUTPUT(Makefile ac/Makefile pdfdiff
43           Perl/lib/PDF/Extract/Text/Version.pm  Perl/Makefile
44 )
Note: See TracBrowser for help on using the browser.

SFLC Main Page

[frdm] Support SFLC