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

« back to all changes in this revision

Viewing changes to libdb/dist/aclocal/options.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
 
# Process user-specified options.
4
 
AC_DEFUN(AM_OPTIONS_SET, [
5
 
 
6
 
# --enable-bigfile was the configuration option that Berkeley DB used before
7
 
# autoconf 2.50 was released (which had --enable-largefile integrated in).
8
 
AC_ARG_ENABLE(bigfile,
9
 
        [AC_HELP_STRING([--disable-bigfile],
10
 
                        [Obsolete; use --disable-largefile instead.])],
11
 
        [AC_MSG_ERROR(
12
 
            [--enable-bigfile no longer supported, use --enable-largefile])])
13
 
 
14
 
AC_MSG_CHECKING(if --enable-compat185 option specified)
15
 
AC_ARG_ENABLE(compat185,
16
 
        [AC_HELP_STRING([--enable-compat185],
17
 
                        [Build DB 1.85 compatibility API.])],
18
 
        [db_cv_compat185="$enable_compat185"], [db_cv_compat185="no"])
19
 
AC_MSG_RESULT($db_cv_compat185)
20
 
 
21
 
AC_MSG_CHECKING(if --enable-cxx option specified)
22
 
AC_ARG_ENABLE(cxx,
23
 
        [AC_HELP_STRING([--enable-cxx],
24
 
                        [Build C++ API.])],
25
 
        [db_cv_cxx="$enable_cxx"], [db_cv_cxx="no"])
26
 
AC_MSG_RESULT($db_cv_cxx)
27
 
 
28
 
AC_MSG_CHECKING(if --enable-debug option specified)
29
 
AC_ARG_ENABLE(debug,
30
 
        [AC_HELP_STRING([--enable-debug],
31
 
                        [Build a debugging version.])],
32
 
        [db_cv_debug="$enable_debug"], [db_cv_debug="no"])
33
 
AC_MSG_RESULT($db_cv_debug)
34
 
 
35
 
AC_MSG_CHECKING(if --enable-debug_rop option specified)
36
 
AC_ARG_ENABLE(debug_rop,
37
 
        [AC_HELP_STRING([--enable-debug_rop],
38
 
                        [Build a version that logs read operations.])],
39
 
        [db_cv_debug_rop="$enable_debug_rop"], [db_cv_debug_rop="no"])
40
 
AC_MSG_RESULT($db_cv_debug_rop)
41
 
 
42
 
AC_MSG_CHECKING(if --enable-debug_wop option specified)
43
 
AC_ARG_ENABLE(debug_wop,
44
 
        [AC_HELP_STRING([--enable-debug_wop],
45
 
                        [Build a version that logs write operations.])],
46
 
        [db_cv_debug_wop="$enable_debug_wop"], [db_cv_debug_wop="no"])
47
 
AC_MSG_RESULT($db_cv_debug_wop)
48
 
 
49
 
AC_MSG_CHECKING(if --enable-diagnostic option specified)
50
 
AC_ARG_ENABLE(diagnostic,
51
 
        [AC_HELP_STRING([--enable-diagnostic],
52
 
                        [Build a version with run-time diagnostics.])],
53
 
        [db_cv_diagnostic="$enable_diagnostic"], [db_cv_diagnostic="no"])
54
 
AC_MSG_RESULT($db_cv_diagnostic)
55
 
 
56
 
AC_MSG_CHECKING(if --enable-dump185 option specified)
57
 
AC_ARG_ENABLE(dump185,
58
 
        [AC_HELP_STRING([--enable-dump185],
59
 
                        [Build db_dump185(1) to dump 1.85 databases.])],
60
 
        [db_cv_dump185="$enable_dump185"], [db_cv_dump185="no"])
61
 
AC_MSG_RESULT($db_cv_dump185)
62
 
 
63
 
AC_MSG_CHECKING(if --enable-java option specified)
64
 
AC_ARG_ENABLE(java,
65
 
        [AC_HELP_STRING([--enable-java],
66
 
                        [Build Java API.])],
67
 
        [db_cv_java="$enable_java"], [db_cv_java="no"])
68
 
AC_MSG_RESULT($db_cv_java)
69
 
 
70
 
AC_MSG_CHECKING(if --enable-pthreadsmutexes option specified)
71
 
AC_ARG_ENABLE(pthreadsmutexes,
72
 
        AC_HELP_STRING([--enable-pthreadsmutexes],
73
 
            [Use POSIX pthreads mutexes.]),, enableval="no")
74
 
db_cv_pthreadsmutexes="$enableval"
75
 
case "$enableval" in
76
 
 no) AC_MSG_RESULT(yes);;
77
 
yes) AC_MSG_RESULT(no);;
78
 
esac
79
 
 
80
 
AC_MSG_CHECKING(if --enable-posixmutexes option specified)
81
 
AC_ARG_ENABLE(posixmutexes,
82
 
        [AC_HELP_STRING([--enable-posixmutexes],
83
 
                        [Force use of POSIX standard mutexes.])],
84
 
        [db_cv_posixmutexes="$enable_posixmutexes"], [db_cv_posixmutexes="no"])
85
 
AC_MSG_RESULT($db_cv_posixmutexes)
86
 
 
87
 
AC_MSG_CHECKING(if --enable-rpc option specified)
88
 
AC_ARG_ENABLE(rpc,
89
 
        [AC_HELP_STRING([--enable-rpc],
90
 
                        [Build RPC client/server.])],
91
 
        [db_cv_rpc="$enable_rpc"], [db_cv_rpc="no"])
92
 
AC_MSG_RESULT($db_cv_rpc)
93
 
 
94
 
AC_MSG_CHECKING(if --enable-tcl option specified)
95
 
AC_ARG_ENABLE(tcl,
96
 
        [AC_HELP_STRING([--enable-tcl],
97
 
                        [Build Tcl API.])],
98
 
        [db_cv_tcl="$enable_tcl"], [db_cv_tcl="no"])
99
 
AC_MSG_RESULT($db_cv_tcl)
100
 
 
101
 
AC_MSG_CHECKING(if --enable-test option specified)
102
 
AC_ARG_ENABLE(test,
103
 
        [AC_HELP_STRING([--enable-test],
104
 
                        [Configure to run the test suite.])],
105
 
        [db_cv_test="$enable_test"], [db_cv_test="no"])
106
 
AC_MSG_RESULT($db_cv_test)
107
 
 
108
 
AC_MSG_CHECKING(if --enable-uimutexes option specified)
109
 
AC_ARG_ENABLE(uimutexes,
110
 
        [AC_HELP_STRING([--enable-uimutexes],
111
 
                        [Force use of Unix International mutexes.])],
112
 
        [db_cv_uimutexes="$enable_uimutexes"], [db_cv_uimutexes="no"])
113
 
AC_MSG_RESULT($db_cv_uimutexes)
114
 
 
115
 
AC_MSG_CHECKING(if --enable-umrw option specified)
116
 
AC_ARG_ENABLE(umrw,
117
 
        [AC_HELP_STRING([--enable-umrw],
118
 
                        [Mask harmless unitialized memory read/writes.])],
119
 
        [db_cv_umrw="$enable_umrw"], [db_cv_umrw="no"])
120
 
AC_MSG_RESULT($db_cv_umrw)
121
 
 
122
 
AC_MSG_CHECKING([if --with-embedix=DIR option specified])
123
 
AC_ARG_WITH(embedix,
124
 
        [AC_HELP_STRING([--with-embedix=DIR],
125
 
                        [Embedix install directory location.])],
126
 
        [with_embedix="$withval"], [with_embedix="no"])
127
 
if test "$with_embedix" = "no"; then
128
 
        db_cv_embedix="no"
129
 
        AC_MSG_RESULT($with_embedix)
130
 
else
131
 
        db_cv_embedix="yes"
132
 
        if test "$with_embedix" = "yes"; then
133
 
                db_cv_path_embedix_install="/opt/Embedix"
134
 
        else
135
 
                db_cv_path_embedix_install="$with_embedix"
136
 
        fi
137
 
        AC_MSG_RESULT($db_cv_path_embedix_install)
138
 
fi
139
 
 
140
 
AC_MSG_CHECKING(if --with-mutex=MUTEX option specified)
141
 
AC_ARG_WITH(mutex,
142
 
        [AC_HELP_STRING([--with-mutex=MUTEX],
143
 
                        [Selection of non-standard mutexes.])],
144
 
        [with_mutex="$withval"], [with_mutex="no"])
145
 
if test "$with_mutex" = "yes"; then
146
 
        AC_MSG_ERROR([--with-mutex requires a mutex name argument])
147
 
fi
148
 
if test "$with_mutex" != "no"; then
149
 
        db_cv_mutex="$with_mutex"
150
 
fi
151
 
AC_MSG_RESULT($with_mutex)
152
 
 
153
 
AC_MSG_CHECKING(if --with-rpm=DIR option specified)
154
 
AC_ARG_WITH(rpm,
155
 
        [AC_HELP_STRING([--with-rpm=DIR],
156
 
                        [Directory location of RPM archive.])],
157
 
        [with_rpm="$withval"], [with_rpm="no"])
158
 
if test "$with_rpm" = "no"; then
159
 
        db_cv_rpm="no"
160
 
else
161
 
        if test "$with_rpm" = "yes"; then
162
 
                AC_MSG_ERROR([--with-rpm requires a directory argument])
163
 
        fi
164
 
        db_cv_rpm="yes"
165
 
        db_cv_path_rpm_archive="$with_rpm"
166
 
fi
167
 
AC_MSG_RESULT($with_rpm)
168
 
 
169
 
AC_MSG_CHECKING([if --with-tcl=DIR option specified])
170
 
AC_ARG_WITH(tcl,
171
 
        [AC_HELP_STRING([--with-tcl=DIR],
172
 
                        [Directory location of tclConfig.sh.])],
173
 
        [with_tclconfig="$withval"], [with_tclconfig="no"])
174
 
AC_MSG_RESULT($with_tclconfig)
175
 
if test "$with_tclconfig" != "no"; then
176
 
        db_cv_tcl="yes"
177
 
fi
178
 
 
179
 
AC_MSG_CHECKING([if --with-uniquename=NAME option specified])
180
 
AC_ARG_WITH(uniquename,
181
 
        [AC_HELP_STRING([--with-uniquename=NAME],
182
 
                        [Build a uniquely named library.])],
183
 
        [with_uniquename="$withval"], [with_uniquename="_eds"])
184
 
if test "$with_uniquename" = "no"; then
185
 
        db_cv_uniquename="no"
186
 
        AC_MSG_RESULT($with_uniquename)
187
 
else
188
 
        db_cv_uniquename="yes"
189
 
        if test "$with_uniquename" != "yes"; then
190
 
                DB_VERSION_UNIQUE_NAME="$with_uniquename"
191
 
        fi
192
 
        AC_MSG_RESULT($DB_VERSION_UNIQUE_NAME)
193
 
fi
194
 
 
195
 
# Embedix requires RPM.
196
 
if test "$db_cv_embedix" = "yes"; then
197
 
        if test "$db_cv_rpm" = "no"; then
198
 
                AC_MSG_ERROR([--with-embedix requires --with-rpm])
199
 
        fi
200
 
fi
201
 
 
202
 
# Test requires Tcl
203
 
if test "$db_cv_test" = "yes"; then
204
 
        if test "$db_cv_tcl" = "no"; then
205
 
                AC_MSG_ERROR([--enable-test requires --enable-tcl])
206
 
        fi
207
 
fi])