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

« back to all changes in this revision

Viewing changes to libdb/dist/aclocal/programs.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
 
# $Id$
2
 
 
3
 
# Check for programs used in building/installation.
4
 
AC_DEFUN(AM_PROGRAMS_SET, [
5
 
 
6
 
AC_CHECK_TOOL(db_cv_path_ar, ar, missing_ar)
7
 
if test "$db_cv_path_ar" = missing_ar; then
8
 
        AC_MSG_ERROR([No ar utility found.])
9
 
fi
10
 
 
11
 
AC_CHECK_TOOL(db_cv_path_chmod, chmod, missing_chmod)
12
 
if test "$db_cv_path_chmod" = missing_chmod; then
13
 
        AC_MSG_ERROR([No chmod utility found.])
14
 
fi
15
 
 
16
 
AC_CHECK_TOOL(db_cv_path_cp, cp, missing_cp)
17
 
if test "$db_cv_path_cp" = missing_cp; then
18
 
        AC_MSG_ERROR([No cp utility found.])
19
 
fi
20
 
 
21
 
if test "$db_cv_rpm" = "yes"; then
22
 
        AC_CHECK_TOOL(path_ldconfig, ldconfig, missing_ldconfig)
23
 
        AC_PATH_PROG(db_cv_path_ldconfig, $path_ldconfig, missing_ldconfig)
24
 
        if test "$db_cv_path_ldconfig" != missing_ldconfig; then
25
 
                RPM_POST_INSTALL="%post -p $db_cv_path_ldconfig"
26
 
                RPM_POST_UNINSTALL="%postun -p $db_cv_path_ldconfig"
27
 
        fi
28
 
fi
29
 
 
30
 
AC_CHECK_TOOL(db_cv_path_ln, ln, missing_ln)
31
 
if test "$db_cv_path_ln" = missing_ln; then
32
 
        AC_MSG_ERROR([No ln utility found.])
33
 
fi
34
 
 
35
 
AC_CHECK_TOOL(db_cv_path_mkdir, mkdir, missing_mkdir)
36
 
if test "$db_cv_path_mkdir" = missing_mkdir; then
37
 
        AC_MSG_ERROR([No mkdir utility found.])
38
 
fi
39
 
 
40
 
# We need a complete path for ranlib, because it doesn't exist on some
41
 
# architectures because the ar utility packages the library itself.
42
 
AC_CHECK_TOOL(path_ranlib, ranlib, missing_ranlib)
43
 
AC_PATH_PROG(db_cv_path_ranlib, $path_ranlib, missing_ranlib)
44
 
 
45
 
AC_CHECK_TOOL(db_cv_path_rm, rm, missing_rm)
46
 
if test "$db_cv_path_rm" = missing_rm; then
47
 
        AC_MSG_ERROR([No rm utility found.])
48
 
fi
49
 
 
50
 
if test "$db_cv_rpm" = "yes"; then
51
 
        AC_CHECK_TOOL(db_cv_path_rpm, rpm, missing_rpm)
52
 
        if test "$db_cv_path_rpm" = missing_rpm; then
53
 
                AC_MSG_ERROR([No rpm utility found.])
54
 
        fi
55
 
fi
56
 
 
57
 
# We need a complete path for sh, because some implementations of make
58
 
# get upset if SHELL is set to just the command name.
59
 
AC_CHECK_TOOL(path_sh, sh, missing_sh)
60
 
AC_PATH_PROG(db_cv_path_sh, $path_sh, missing_sh)
61
 
if test "$db_cv_path_sh" = missing_sh; then
62
 
        AC_MSG_ERROR([No sh utility found.])
63
 
fi
64
 
 
65
 
# Don't strip the binaries if --enable-debug was specified.
66
 
if test "$db_cv_debug" = yes; then
67
 
        db_cv_path_strip=debug_build_no_strip
68
 
else
69
 
        AC_CHECK_TOOL(path_strip, strip, missing_strip)
70
 
        AC_PATH_PROG(db_cv_path_strip, $path_strip, missing_strip)
71
 
fi
72
 
 
73
 
if test "$db_cv_test" = "yes"; then
74
 
        AC_CHECK_TOOL(db_cv_path_kill, kill, missing_kill)
75
 
        if test "$db_cv_path_kill" = missing_kill; then
76
 
                AC_MSG_ERROR([No kill utility found.])
77
 
        fi
78
 
fi
79
 
 
80
 
])