Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 441 lines (371 sloc) 14.355 kB
544a38d @cmlenz Imported trunk.
cmlenz authored
1 dnl Licensed under the Apache License, Version 2.0 (the "License"); you may not
2 dnl use this file except in compliance with the License. dnl You may obtain a
3 dnl copy of the License at
4 dnl
5 dnl http://www.apache.org/licenses/LICENSE-2.0
6 dnl
7 dnl Unless required by applicable law or agreed to in writing, software
8 dnl distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9 dnl WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 dnl License for the specific language governing permissions and limitations
11 dnl under the License.
12
2f56905 @nslater corrected use of package tarname in instalation directories
nslater authored
13 AC_INIT([LOCAL_PACKAGE_NAME], [LOCAL_VERSION], [], [LOCAL_PACKAGE_TARNAME])
544a38d @cmlenz Imported trunk.
cmlenz authored
14
15 AC_PREREQ([2.59])
16
d32c0e8 @nslater updated configure to look for CHANGES
nslater authored
17 AC_CONFIG_SRCDIR([CHANGES])
544a38d @cmlenz Imported trunk.
cmlenz authored
18 AC_CONFIG_AUX_DIR([build-aux])
9807cda @janl If aclocal needs to be called during a build, its options are taken
janl authored
19 AC_CONFIG_MACRO_DIR([m4])
544a38d @cmlenz Imported trunk.
cmlenz authored
20
21 AM_CONFIG_HEADER([config.h])
22
034b9c6 @nslater removed check-news check completely
nslater authored
23 AM_INIT_AUTOMAKE([1.6.3 foreign])
544a38d @cmlenz Imported trunk.
cmlenz authored
24
25 AC_GNU_SOURCE
26 AC_ENABLE_SHARED
27 AC_DISABLE_STATIC
28
29 AC_PROG_CC
30 AC_PROG_LIBTOOL
31 AC_PROG_LN_S
32
33 AC_MSG_CHECKING([for pthread_create in -lpthread])
34
35 original_LIBS="$LIBS"
36 LIBS="-lpthread $original_LIBS"
37
38 AC_TRY_LINK([#include<pthread.h>],
39 [pthread_create((void *)0, (void *)0, (void *)0, (void *)0)],
40 [pthread=yes], [pthread=no])
41
42 if test x${pthread} = xyes; then
43 AC_MSG_RESULT([yes])
44 else
45 LIBS="$original_LIBS"
46 AC_MSG_RESULT([no])
47 fi
48
49 AC_ARG_WITH([erlang], [AC_HELP_STRING([--with-erlang=PATH],
50 [set PATH to the Erlang include directory])], [
51 ERLANG_FLAGS="-I$withval"
52 ], [
53 ERLANG_FLAGS="-I${libdir}/erlang/usr/include"
54 ERLANG_FLAGS="$ERLANG_FLAGS -I/usr/lib/erlang/usr/include"
55 ERLANG_FLAGS="$ERLANG_FLAGS -I/usr/local/lib/erlang/usr/include"
56 ERLANG_FLAGS="$ERLANG_FLAGS -I/opt/local/lib/erlang/usr/include"
57 ])
58
59 AC_ARG_WITH([js-include], [AC_HELP_STRING([--with-js-include=PATH],
60 [set PATH to the SpiderMonkey include directory])], [
aa4a652 @janl search for jsapi.h in in $includedir and $includedir/js as a fallback…
janl authored
61 JS_INCLUDE="$withval"
62 JS_FLAGS="-I$JS_INCLUDE"
544a38d @cmlenz Imported trunk.
cmlenz authored
63 ], [
864ea28 @nslater portability changes for freebsd
nslater authored
64 JS_FLAGS="-I/usr/include"
65 JS_FLAGS="$JS_FLAGS -I/usr/include/js"
66 JS_FLAGS="$JS_FLAGS -I/usr/include/mozjs"
67 JS_FLAGS="$JS_FLAGS -I/usr/local/include"
68 JS_FLAGS="$JS_FLAGS -I/opt/local/include"
69 JS_FLAGS="$JS_FLAGS -I/usr/local/include/js"
70 JS_FLAGS="$JS_FLAGS -I/opt/local/include/js"
544a38d @cmlenz Imported trunk.
cmlenz authored
71 ])
72
73 AC_ARG_WITH([js-lib], [AC_HELP_STRING([--with-js-lib=PATH],
74 [set PATH to the SpiderMonkey library directory])],
ad18ea6 have 'make dist' build a windows installer on windows
Mark Hammond authored
75 [
76 JS_LIB_DIR=$withval
77 JS_LIB_FLAGS="-L$withval"
78 ], [
79 JS_LIB_DIR=
80 ])
81 AC_SUBST(JS_LIB_DIR)
544a38d @cmlenz Imported trunk.
cmlenz authored
82
9e9230c @davisp Added code coverage report generation target.
davisp authored
83 AC_ARG_VAR([ERLC_FLAGS], [general flags to prepend to ERLC_FLAGS])
ffad329 @nslater added NIGHTLY and FLAGS env variables
nslater authored
84 AC_ARG_VAR([FLAGS], [general flags to prepend to LDFLAGS and CPPFLAGS])
85
4838c35 @janl Fix copy und paste error.
janl authored
86 LIB_FLAGS="$JS_LIB_FLAGS -L/usr/local/lib -L/opt/local/lib"
544a38d @cmlenz Imported trunk.
cmlenz authored
87 LIBS="$LIB_FLAGS $LIBS"
39a629b @davisp Applying markh's Windows build patch.
davisp authored
88
89 case "$(uname -s)" in
90 CYGWIN*)
91 FLAGS="$LIB_FLAGS $ERLANG_FLAGS $JS_FLAGS -DXP_WIN $FLAGS"
92 CPPFLAGS="$FLAGS $CPPFLAGS"
93 LDFLAGS="$FLAGS $LDFLAGS"
94 IS_WINDOWS="TRUE"
95 # The erlang cc.sh/ld.sh scripts will convert a -O option
96 # into the same optimization flags erlang itself uses.
97 CFLAGS="-O2"
98 LTCFLAGS="$CFLAGS"
99 ;;
100 *)
101 # XP_UNIX required for jsapi.h and has been tested to work on Linux and Darwin.
102 FLAGS="$LIB_FLAGS $ERLANG_FLAGS $JS_FLAGS -DXP_UNIX $FLAGS"
103 CPPFLAGS="$FLAGS $CPPFLAGS"
104 # manually linking libm is requred for FreeBSD 7.0
105 LDFLAGS="$FLAGS -lm $LDFLAGS"
106 ;;
107 esac
108
109 AM_CONDITIONAL([WINDOWS], [test x$IS_WINDOWS = xTRUE])
544a38d @cmlenz Imported trunk.
cmlenz authored
110
ad18ea6 have 'make dist' build a windows installer on windows
Mark Hammond authored
111 AC_CHECK_LIB([mozjs], [JS_NewContext], [JS_LIB_BASE=mozjs], [
112 AC_CHECK_LIB([js], [JS_NewContext], [JS_LIB_BASE=js], [
113 AC_CHECK_LIB([js3250], [JS_NewContext], [JS_LIB_BASE=js3250], [
114 AC_CHECK_LIB([js32], [JS_NewContext], [JS_LIB_BASE=js32], [
39a629b @davisp Applying markh's Windows build patch.
davisp authored
115 AC_MSG_ERROR([Could not find the js library.
544a38d @cmlenz Imported trunk.
cmlenz authored
116
39a629b @davisp Applying markh's Windows build patch.
davisp authored
117 Is the Mozilla SpiderMonkey library installed?])])])])])
544a38d @cmlenz Imported trunk.
cmlenz authored
118
ad18ea6 have 'make dist' build a windows installer on windows
Mark Hammond authored
119 AC_SUBST(JS_LIB_BASE)
120
121 if test x${IS_WINDOWS} = xTRUE; then
122 if test -f "$JS_LIB_DIR/$JS_LIB_BASE.dll"; then
123 # seamonkey 1.7- build layout on Windows
124 JS_LIB_BINARY="$JS_LIB_DIR/$JS_LIB_BASE.dll"
125 else
126 # seamonkey 1.8+ build layout on Windows
127 if test -f "$JS_LIB_DIR/../bin/$JS_LIB_BASE.dll"; then
128 JS_LIB_BINARY="$JS_LIB_DIR/../bin/$JS_LIB_BASE.dll"
129 else
130 AC_MSG_ERROR([Could not find $JS_LIB_BASE.dll.])
131 fi
132 fi
133 AC_SUBST(JS_LIB_BINARY)
134
135 # On windows we need to know the path to the openssl binaries.
136 AC_ARG_WITH([openssl-bin-dir], [AC_HELP_STRING([--with-openssl-bin-dir=PATH],
137 [path to the open ssl binaries for distribution on Windows])], [
138 openssl_bin_dir=`cygpath -m "$withval"`
139 AC_SUBST(openssl_bin_dir)
140 ], [])
141
142 # Windows uses Inno setup - look for its compiler.
143 AC_PATH_PROG([INNO_COMPILER_EXECUTABLE], [iscc])
144 if test x${INNO_COMPILER_EXECUTABLE} = x; then
145 AC_MSG_WARN([You will be unable to build the Windows installer.])
146 fi
147
148 # We need the msvc redistributables for this platform too
149 # (in theory we could just install the assembly locally - but
150 # there are at least 4 directories with binaries, meaning 4 copies;
151 # so using the redist .exe means it ends up installed globally...)
152 AC_ARG_WITH([msvc-redist-dir], [AC_HELP_STRING([--with-msvc-redist-dir=PATH],
153 [path to the msvc redistributables for the Windows platform])], [
154 msvc_redist_dir=`cygpath -m "$withval"`
155 msvc_redist_name="vcredist_x86.exe"
156 AC_SUBST(msvc_redist_dir)
157 AC_SUBST(msvc_redist_name)
158 ], [])
159 if test ! -f ${msvc_redist_dir}/${msvc_redist_name}; then
160 AC_MSG_WARN([The MSVC redistributable seems to be missing; expect the installer to fail.])
161 fi
162 fi
163
164 JSLIB=-l$JS_LIB_BASE
165
544a38d @cmlenz Imported trunk.
cmlenz authored
166 AC_CHECK_HEADER([jsapi.h], [], [
aa4a652 @janl search for jsapi.h in in $includedir and $includedir/js as a fallback…
janl authored
167 AC_CHECK_HEADER([js/jsapi.h],
168 [
169 CPPFLAGS="$CPPFLAGS -I$JS_INCLUDE/js"
170 ],
171 [
172 AC_MSG_ERROR([Could not find the jsapi header.
173
174 Are the Mozilla SpiderMonkey headers installed?])
175 ])])
544a38d @cmlenz Imported trunk.
cmlenz authored
176
e876976 @davisp Fix for building CouchDB on Snow Leapord.
davisp authored
177 AC_SUBST(JSLIB)
178
538cfb0 @davisp Proper fix because JS_VERSION cannot distinguish between 1.8.0 and 1.8.1
davisp authored
179 AC_LANG_PUSH(C)
fd72a9b @davisp Rookie mistake. Needed to force a compiler error to determine the dif…
davisp authored
180 OLD_CFLAGS="$CFLAGS"
181 CFLAGS="-Werror-implicit-function-declaration"
182 AC_COMPILE_IFELSE(
538cfb0 @davisp Proper fix because JS_VERSION cannot distinguish between 1.8.0 and 1.8.1
davisp authored
183 [AC_LANG_PROGRAM(
fd72a9b @davisp Rookie mistake. Needed to force a compiler error to determine the dif…
davisp authored
184 [[#include <jsapi.h>]],
538cfb0 @davisp Proper fix because JS_VERSION cannot distinguish between 1.8.0 and 1.8.1
davisp authored
185 [[JS_SetOperationCallback(0, 0);]]
186 )],
187 AC_DEFINE([USE_JS_SETOPCB], [], [Use new JS_SetOperationCallback])
188 )
fd72a9b @davisp Rookie mistake. Needed to force a compiler error to determine the dif…
davisp authored
189 CFLAGS="$OLD_CFLAGS"
538cfb0 @davisp Proper fix because JS_VERSION cannot distinguish between 1.8.0 and 1.8.1
davisp authored
190 AC_LANG_POP(C)
191
39a629b @davisp Applying markh's Windows build patch.
davisp authored
192 AC_ARG_WITH([win32-icu-binaries], [AC_HELP_STRING([--with-win32-icu-binaries=PATH],
193 [set PATH to the Win32 native ICU binaries directory])], [
194 ICU_CONFIG="" # supposed to be a command to query options...
195 ICU_LOCAL_CFLAGS="-I$withval/include"
196 ICU_LOCAL_LDFLAGS="-L$withval/lib"
197 ICU_LOCAL_BIN=$withval/bin
198 ], [
3c30452 @janl Require ICU 3.4.1. Closes COUCHDB-175.
janl authored
199 AC_CHECK_ICU([3.4.1])
39a629b @davisp Applying markh's Windows build patch.
davisp authored
200 ICU_LOCAL_CFLAGS=`$ICU_CONFIG --cppflags-searchpath`
201 ICU_LOCAL_LDFLAGS=`$ICU_CONFIG --ldflags-searchpath`
202 ICU_LOCAL_BIN=
203 ])
544a38d @cmlenz Imported trunk.
cmlenz authored
204
205 AC_SUBST(ICU_CONFIG)
206 AC_SUBST(ICU_LOCAL_CFLAGS)
207 AC_SUBST(ICU_LOCAL_LDFLAGS)
39a629b @davisp Applying markh's Windows build patch.
davisp authored
208 AC_SUBST(ICU_LOCAL_BIN)
209
210 AC_ARG_WITH([win32-curl], [AC_HELP_STRING([--with-win32-curl=PATH],
211 [set PATH to the Win32 native curl directory])], [
212 # default build on windows is a static lib, and that's what we want too
213 CURL_CFLAGS="-I$withval/include -DCURL_STATICLIB"
214 CURL_LIBS="$withval/lib/libcurl"
215 CURL_LDFLAGS="-l$CURL_LIBS -lWs2_32 -lkernel32 -luser32 -ladvapi32 -lWldap32"
216 ], [
32bf31c @davisp cURL refactoring requires a version bump.
davisp authored
217 AC_CHECK_CURL([7.18.0])
39a629b @davisp Applying markh's Windows build patch.
davisp authored
218 CURL_LDFLAGS=-lcurl
219 ])
544a38d @cmlenz Imported trunk.
cmlenz authored
220
51f186c @nslater added M4 quoting around value
nslater authored
221 AC_SUBST(CURL_CFLAGS)
222 AC_SUBST(CURL_LIBS)
39a629b @davisp Applying markh's Windows build patch.
davisp authored
223 AC_SUBST(CURL_LDFLAGS)
07bfbdd @janl Add checks for libcurl to ./configure. Picked version 7.16.0 as lowes…
janl authored
224
5d22213 @janl Only link against -lcrypt on Linux & BSD systems.
janl authored
225 case "$(uname -s)" in
f9f5d67 @janl Silence warning on Linux by properly exporting `crypt()`.
janl authored
226 Linux)
227 LIBS="$LIBS -lcrypt"
228 CPPFLAGS="-D_XOPEN_SOURCE $CPPFLAGS"
229 ;;
230 FreeBSD)
5d22213 @janl Only link against -lcrypt on Linux & BSD systems.
janl authored
231 LIBS="$LIBS -lcrypt"
cee8134 @janl Fix for building on OpenBSD. Link couchpass against -lcrypto instead …
janl authored
232 ;;
233 OpenBSD)
234 LIBS="$LIBS -lcrypto"
5d22213 @janl Only link against -lcrypt on Linux & BSD systems.
janl authored
235 ;;
236 esac
237
544a38d @cmlenz Imported trunk.
cmlenz authored
238 AC_PATH_PROG([ERL], [erl])
239
240 if test x${ERL} = x; then
241 AC_MSG_ERROR([Could not find the `erl' executable. Is Erlang installed?])
242 fi
243
3975b87 @davisp Update our Erlang VM requirement to 5.6.5 (R12B5). Also fixes the rem…
davisp authored
244 erlang_version_error="The installed Erlang version is less than 5.6.5 (R12B05)."
ec24327 @nslater correct Erlang version checking
nslater authored
245
edfc78c @nslater corrected dollar escapes
nslater authored
246 version="`${ERL} -version 2>&1 | ${SED} "s/[[^0-9]]/ /g"`"
ec24327 @nslater correct Erlang version checking
nslater authored
247
edfc78c @nslater corrected dollar escapes
nslater authored
248 if test `echo $version | ${AWK} "{print \\$1}"` -lt 5; then
ec24327 @nslater correct Erlang version checking
nslater authored
249 AC_MSG_ERROR([$erlang_version_error])
250 fi
251
55e61d3 @nslater tweeked version checking for erlang
nslater authored
252 if test `echo $version | ${AWK} "{print \\$2}"` -lt 6; then
ec24327 @nslater correct Erlang version checking
nslater authored
253 AC_MSG_ERROR([$erlang_version_error])
e30a423 @nslater configure now checks for installed Erlang version
nslater authored
254 fi
255
3975b87 @davisp Update our Erlang VM requirement to 5.6.5 (R12B5). Also fixes the rem…
davisp authored
256 if test `echo $version | ${AWK} "{print \\$2}"` -eq 6; then
257 if test `echo $version | ${AWK} "{print \\$3}"` -lt 5; then
258 AC_MSG_ERROR([$erlang_version_error])
259 fi
260 fi
261
cd214b2 @janl Check if Erlang has been compiled with crypto support at ./configure
janl authored
262 has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop`
263
264 if test -n "$has_crypto"; then
265 AC_MSG_ERROR([Could not find the Erlang crypto library. Has Erlang been compiled with OpenSSL support?])
266 fi
267
544a38d @cmlenz Imported trunk.
cmlenz authored
268 AC_PATH_PROG([ERLC], [erlc])
269
270 if test x${ERLC} = x; then
271 AC_MSG_ERROR([Could not find the `erlc' executable. Is Erlang installed?])
272 fi
273
274 AC_CHECK_HEADER([erl_driver.h], [], [
275 AC_MSG_ERROR([Could not find the `erl_driver.h' header.
276
277 Are the Erlang headers installed? Use the `--with-erlang' option to specify the
278 path to the Erlang include directory.])])
279
280 AC_PATH_PROG([HELP2MAN_EXECUTABLE], [help2man])
281 if test x${HELP2MAN_EXECUTABLE} = x; then
282 AC_MSG_WARN([You will be unable to regenerate any man pages.])
283 fi
284
285 use_init=yes
286 use_launchd=yes
287
288 AC_ARG_ENABLE([init], [AC_HELP_STRING([--disable-init],
289 [don't install init script where applicable])], [
290 use_init=$enableval
291 ], [])
292
293 AC_ARG_ENABLE([launchd], [AC_HELP_STRING([--disable-launchd],
294 [don't install launchd configuration where applicable])], [
295 use_launchd=$enableval
296 ], [])
297
298 init_enabled=false
299 launchd_enabled=false
300
301 if test "$use_init" = "yes"; then
302 AC_MSG_CHECKING(location of init directory)
303 if test -d /etc/rc.d; then
304 init_enabled=true
305 AC_SUBST([initdir], ['${sysconfdir}/rc.d'])
306 AC_MSG_RESULT(${initdir})
307 else
308 if test -d /etc/init.d; then
309 init_enabled=true
310 AC_SUBST([initdir], ['${sysconfdir}/init.d'])
311 AC_MSG_RESULT(${initdir})
312 else
313 AC_MSG_RESULT(not found)
314 fi
315 fi
316 fi
317
318 if test "$use_launchd" = "yes"; then
319 AC_MSG_CHECKING(location of launchd directory)
320 if test -d /Library/LaunchDaemons; then
321 init_enabled=false
322 launchd_enabled=true
323 AC_SUBST([launchddir], ['${prefix}/Library/LaunchDaemons'])
324 AC_MSG_RESULT(${launchddir})
325 else
326 AC_MSG_RESULT(not found)
327 fi
328 fi
329
8139da1 @janl fix ./configure --help output, ERL[C]_EXECUTABLE are now ERL[C]
janl authored
330 AC_ARG_VAR([ERL], [path to the `erl' executable])
331 AC_ARG_VAR([ERLC], [path to the `erlc' executable])
544a38d @cmlenz Imported trunk.
cmlenz authored
332 AC_ARG_VAR([HELP2MAN_EXECUTABLE], [path to the `help2man' program])
333
334 if test -n "$HELP2MAN_EXECUTABLE"; then
335 help2man_enabled=true
336 else
337 if test -f "$srcdir/bin/couchdb.1" -a -f "$srcdir/bin/couchjs.1"; then
338 help2man_enabled=true
339 else
340 help2man_enabled=false
341 fi
342 fi
343
344 AM_CONDITIONAL([INIT], [test x${init_enabled} = xtrue])
345 AM_CONDITIONAL([LAUNCHD], [test x${launchd_enabled} = xtrue])
346 AM_CONDITIONAL([HELP2MAN], [test x${help2man_enabled} = xtrue])
347
348 AC_SUBST([package_author_name], ["LOCAL_PACKAGE_AUTHOR_NAME"])
349 AC_SUBST([package_author_address], ["LOCAL_PACKAGE_AUTHOR_ADDRESS"])
350 AC_SUBST([package_identifier], ["LOCAL_PACKAGE_IDENTIFIER"])
2f56905 @nslater corrected use of package tarname in instalation directories
nslater authored
351 AC_SUBST([package_tarname], ["LOCAL_PACKAGE_TARNAME"])
544a38d @cmlenz Imported trunk.
cmlenz authored
352 AC_SUBST([package_name], ["LOCAL_PACKAGE_NAME"])
353
354 AC_SUBST([version], ["LOCAL_VERSION"])
355 AC_SUBST([version_major], ["LOCAL_VERSION_MAJOR"])
356 AC_SUBST([version_minor], ["LOCAL_VERSION_MINOR"])
357 AC_SUBST([version_revision], ["LOCAL_VERSION_REVISION"])
358 AC_SUBST([version_stage], ["LOCAL_VERSION_STAGE"])
359 AC_SUBST([version_release], ["LOCAL_VERSION_RELEASE"])
360
521213d @nslater updated source to use apache infrastructure addresses
nslater authored
361 AC_SUBST([bug_uri], ["LOCAL_BUG_URI"])
544a38d @cmlenz Imported trunk.
cmlenz authored
362
b74e668 @nslater renamed directory variables, stage one
nslater authored
363 AC_SUBST([localconfdir], [${sysconfdir}/${package_identifier}])
364 AC_SUBST([localdatadir], [${datadir}/${package_identifier}])
365 AC_SUBST([localdocdir], [${datadir}/doc/${package_identifier}])
366 AC_SUBST([locallibdir], [${libdir}/${package_identifier}])
367 AC_SUBST([localstatelibdir], [${localstatedir}/lib/${package_identifier}])
368 AC_SUBST([localstatelogdir], [${localstatedir}/log/${package_identifier}])
1370dea @nslater reworked the pid file
nslater authored
369 AC_SUBST([localstaterundir], [${localstatedir}/run/${package_identifier}])
39a629b @davisp Applying markh's Windows build patch.
davisp authored
370
371 # On Windows we install directly into our erlang distribution.
372 if test x${IS_WINDOWS} = xTRUE; then
373 AC_SUBST([locallibbindir], [${prefix}/bin])
374 AC_SUBST([localerlanglibdir], [${libdir}])
375 else
376 AC_SUBST([locallibbindir], [${locallibdir}/bin])
377 AC_SUBST([localerlanglibdir], [${locallibdir}/erlang/lib])
378 fi
544a38d @cmlenz Imported trunk.
cmlenz authored
379
50afadc @janl Fix build on OpenBSD: 'fix for older autotools that don't define "abs…
janl authored
380 # fix for older autotools that don't define "abs_top_YYY" by default
381 AC_SUBST(abs_top_srcdir)
382 AC_SUBST(abs_top_builddir)
383
544a38d @cmlenz Imported trunk.
cmlenz authored
384 AC_REVISION([LOCAL_VERSION])
385
386 AC_CONFIG_FILES([Makefile])
387 AC_CONFIG_FILES([bin/couchjs.tpl])
388 AC_CONFIG_FILES([bin/couchdb.tpl])
39a629b @davisp Applying markh's Windows build patch.
davisp authored
389 AC_CONFIG_FILES([bin/couchdb.bat.tpl])
544a38d @cmlenz Imported trunk.
cmlenz authored
390 AC_CONFIG_FILES([bin/Makefile])
d33da1d @nslater removed non-standard use of .dist configuration files
nslater authored
391 AC_CONFIG_FILES([etc/couchdb/Makefile])
2bc4be3 @janl Merge runtimeconfig branch back into trunk
janl authored
392 AC_CONFIG_FILES([etc/couchdb/default.ini.tpl])
544a38d @cmlenz Imported trunk.
cmlenz authored
393 AC_CONFIG_FILES([etc/default/Makefile])
394 AC_CONFIG_FILES([etc/init/couchdb.tpl])
395 AC_CONFIG_FILES([etc/init/Makefile])
396 AC_CONFIG_FILES([etc/launchd/org.apache.couchdb.plist.tpl])
397 AC_CONFIG_FILES([etc/launchd/Makefile])
398 AC_CONFIG_FILES([etc/logrotate.d/couchdb.tpl])
399 AC_CONFIG_FILES([etc/logrotate.d/Makefile])
79d3861 @nslater added etc/windows to the build, fixes COUCHDB-849
nslater authored
400 AC_CONFIG_FILES([etc/windows/Makefile])
544a38d @cmlenz Imported trunk.
cmlenz authored
401 AC_CONFIG_FILES([etc/Makefile])
402 AC_CONFIG_FILES([share/Makefile])
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
403 AC_CONFIG_FILES([src/Makefile])
544a38d @cmlenz Imported trunk.
cmlenz authored
404 AC_CONFIG_FILES([src/couchdb/couch.app.tpl])
405 AC_CONFIG_FILES([src/couchdb/Makefile])
9faded7 @nslater added missing file
nslater authored
406 AC_CONFIG_FILES([src/couchdb/priv/Makefile])
8e2215e Initial check-in of OAuth and cookie authentication.
Damien F. Katz authored
407 AC_CONFIG_FILES([src/erlang-oauth/Makefile])
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored
408 AC_CONFIG_FILES([src/etap/Makefile])
ace6dfe @jchris Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances rep…
jchris authored
409 AC_CONFIG_FILES([src/ibrowse/Makefile])
39de307 @cmlenz Merged mochiweb branch back into trunk.
cmlenz authored
410 AC_CONFIG_FILES([src/mochiweb/Makefile])
2bc4be3 @janl Merge runtimeconfig branch back into trunk
janl authored
411 AC_CONFIG_FILES([test/Makefile])
0adab20 @davisp Updated the benchmarks to use the new cURL adapter.
davisp authored
412 AC_CONFIG_FILES([test/bench/Makefile])
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
413 AC_CONFIG_FILES([test/etap/Makefile])
414 AC_CONFIG_FILES([test/etap/test_util.erl])
415 AC_CONFIG_FILES([test/javascript/Makefile])
416 AC_CONFIG_FILES([test/view_server/Makefile])
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
417 AC_CONFIG_FILES([utils/Makefile])
544a38d @cmlenz Imported trunk.
cmlenz authored
418 AC_CONFIG_FILES([var/Makefile])
419
420 AC_OUTPUT
421
39a629b @davisp Applying markh's Windows build patch.
davisp authored
422 # *sob* - on Windows libtool fails as 'libname_spec' isn't correct (it
423 # expects GNU style lib names). I can't work out how to configure this
424 # option sanely, so we pass the script through sed to modify it.
425 # Also, the erlang cc.sh script doesn't cope well with the '-link' command
426 # line option libtool provides.
427 # PLEASE, someone help put this out of its misery!!
428 # This hackery is being tracked via COUCHDB-440.
429 if test x${IS_WINDOWS} = xTRUE; then
430 sed -e 's,libname_spec="lib\\$name",libname_spec="\\\$name",' \
431 -e 's,-link,,' \
432 < libtool > libtool.tmp
433 mv libtool.tmp libtool
434 # probably would chmod +x if we weren't on windows...
435 fi
436
544a38d @cmlenz Imported trunk.
cmlenz authored
437 echo
2bc4be3 @janl Merge runtimeconfig branch back into trunk
janl authored
438 echo "You have configured Apache CouchDB, time to relax."
544a38d @cmlenz Imported trunk.
cmlenz authored
439 echo
4edf64e @nslater improved message
nslater authored
440 echo "Run \`make && sudo make install' to install."
Something went wrong with that request. Please try again.