~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/dist/aclocal_java/ac_prog_jar.ac

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl @synopsis AC_PROG_JAR
2
 
dnl
3
 
dnl AC_PROG_JAR tests for an existing jar program. It uses the environment
4
 
dnl variable JAR then tests in sequence various common jar programs.
5
 
dnl
6
 
dnl If you want to force a specific compiler:
7
 
dnl
8
 
dnl - at the configure.in level, set JAR=yourcompiler before calling
9
 
dnl AC_PROG_JAR
10
 
dnl
11
 
dnl - at the configure level, setenv JAR
12
 
dnl
13
 
dnl You can use the JAR variable in your Makefile.in, with @JAR@.
14
 
dnl
15
 
dnl Note: This macro depends on the autoconf M4 macros for Java programs.
16
 
dnl It is VERY IMPORTANT that you download that whole set, some
17
 
dnl macros depend on other. Unfortunately, the autoconf archive does not
18
 
dnl support the concept of set of macros, so I had to break it for
19
 
dnl submission.
20
 
dnl
21
 
dnl The general documentation of those macros, as well as the sample
22
 
dnl configure.in, is included in the AC_PROG_JAVA macro.
23
 
dnl
24
 
dnl @author Egon Willighagen <egonw@sci.kun.nl>
25
 
dnl @version $Id$
26
 
dnl
27
 
AC_DEFUN([AC_PROG_JAR],[
28
 
AC_REQUIRE([AC_EXEEXT])dnl
29
 
if test "x$JAVAPREFIX" = x; then
30
 
        test "x$JAR" = x && AC_CHECK_PROGS(JAR, jar$EXEEXT)
31
 
else
32
 
        test "x$JAR" = x && AC_CHECK_PROGS(JAR, jar, $JAVAPREFIX)
33
 
fi
34
 
test "x$JAR" = x && AC_MSG_ERROR([no acceptable jar program found in \$PATH])
35
 
AC_PROVIDE([$0])dnl
36
 
])