Merge lp:~jderose/ubuntu/precise/couchdb/1.1.1-low-delta into lp:ubuntu/precise/couchdb

Proposed by Jason Gerard DeRose
Status: Work in progress
Proposed branch: lp:~jderose/ubuntu/precise/couchdb/1.1.1-low-delta
Merge into: lp:ubuntu/precise/couchdb
Diff against target: 77935 lines (+55225/-5914) (has conflicts)
296 files modified
.pc/.version (+1/-0)
.pc/applied-patches (+1/-0)
.pc/force-reload.patch/etc/init/couchdb.tpl.in (+168/-0)
AUTHORS (+8/-0)
CHANGES (+420/-0)
INSTALL (+237/-0)
INSTALL.Unix (+234/-0)
INSTALL.Windows (+156/-0)
LICENSE (+29/-0)
Makefile.am (+4/-0)
Makefile.in (+74/-7)
NEWS (+216/-3)
NOTICE (+20/-1)
THANKS (+83/-31)
acinclude.m4 (+6/-0)
aclocal.m4 (+86/-9)
bin/Makefile.am (+10/-20)
bin/Makefile.in (+54/-21)
bin/couchjs.tpl.in (+0/-92)
build-aux/config.guess (+23/-84)
build-aux/config.sub (+23/-93)
build-aux/depcomp (+21/-17)
build-aux/install-sh (+116/-124)
build-aux/ltmain.sh (+139/-663)
config.h.in (+17/-32)
configure (+6804/-338)
configure.ac (+163/-35)
debian/changelog (+282/-0)
debian/control (+68/-0)
debian/copyright (+90/-0)
debian/couchdb-bin.install (+3/-0)
debian/couchdb.install (+7/-0)
debian/couchdb.lintian-overrides (+3/-0)
debian/couchdb.postinst (+31/-0)
debian/couchdb.postrm (+37/-0)
debian/patches/force-reload.patch (+21/-0)
debian/patches/series (+1/-0)
debian/rules (+57/-0)
debian/source/format (+4/-0)
etc/Makefile.in (+29/-6)
etc/couchdb/Makefile.am (+12/-3)
etc/couchdb/Makefile.in (+22/-7)
etc/couchdb/default.ini.tpl.in (+92/-12)
etc/couchdb/local.ini (+69/-17)
etc/default/Makefile.in (+10/-4)
etc/init/Makefile.in (+10/-4)
etc/launchd/Makefile.in (+10/-4)
etc/logrotate.d/Makefile.in (+10/-4)
etc/windows/Makefile.in (+376/-0)
etc/windows/couchdb.iss.tpl (+91/-0)
license.skip (+21/-7)
m4/libtool.m4 (+7312/-0)
m4/ltoptions.m4 (+371/-0)
m4/ltsugar.m4 (+126/-0)
m4/ltversion.m4 (+26/-0)
share/Makefile.am (+29/-8)
share/Makefile.in (+81/-12)
share/server/json2.js (+485/-0)
share/server/loop.js (+202/-97)
share/server/mimeparse.js (+1/-1)
share/server/render.js (+301/-0)
share/server/state.js (+21/-0)
share/server/util.js (+126/-1)
share/server/views.js (+2/-13)
share/www/_sidebar.html (+28/-0)
share/www/couch_tests.html (+4/-1)
share/www/custom_test.html (+12/-0)
share/www/database.html (+20/-0)
share/www/dialog/_change_password.html (+31/-0)
share/www/index.html (+4/-0)
share/www/replicator.html (+101/-29)
share/www/script/couch.js (+98/-27)
share/www/script/couch_test_runner.js (+203/-4)
share/www/script/couch_tests.js (+10/-1)
share/www/script/futon.browse.js (+74/-6)
share/www/script/futon.format.js (+11/-0)
share/www/script/futon.js (+455/-137)
share/www/script/jquery-ui-1.8.11.custom.min.js (+81/-0)
share/www/script/jquery.couch.js (+239/-18)
share/www/script/json2.js (+95/-41)
share/www/script/jspec/jspec.js (+1759/-0)
share/www/script/test/all_docs.js (+65/-7)
share/www/script/test/attachment_conflicts.js (+56/-0)
share/www/script/test/attachment_names.js (+28/-17)
share/www/script/test/attachment_paths.js (+10/-4)
share/www/script/test/attachment_ranges.js (+134/-0)
share/www/script/test/attachment_views.js (+2/-2)
share/www/script/test/attachments.js (+49/-11)
share/www/script/test/attachments_multipart.js (+416/-0)
share/www/script/test/auth_cache.js (+530/-249)
share/www/script/test/basics.js (+50/-19)
share/www/script/test/bulk_docs.js (+5/-5)
share/www/script/test/changes.js (+363/-1)
share/www/script/test/compact.js (+3/-3)
share/www/script/test/config.js (+101/-5)
share/www/script/test/conflicts.js (+29/-0)
share/www/script/test/cookie_auth.js (+196/-7)
share/www/script/test/copy_doc.js (+3/-0)
share/www/script/test/design_docs.js (+453/-17)
share/www/script/test/erlang_views.js (+1/-1)
share/www/script/test/etags_views.js (+152/-32)
share/www/script/test/http.js (+3/-3)
share/www/script/test/jsonp.js (+49/-0)
share/www/script/test/list_views.js (+91/-1)
share/www/script/test/method_override.js (+43/-0)
share/www/script/test/oauth.js (+39/-11)
share/www/script/test/proxyauth.js (+132/-1)
share/www/script/test/purge.js (+44/-4)
share/www/script/test/recreate_doc.js (+158/-45)
share/www/script/test/reduce.js (+20/-4)
share/www/script/test/reduce_builtin.js (+40/-3)
share/www/script/test/replication.js (+613/-19)
share/www/script/test/replicator_db.js (+1447/-0)
share/www/script/test/rewrite.js (+804/-371)
share/www/script/test/security_validation.js (+18/-11)
share/www/script/test/show_documents.js (+167/-55)
share/www/script/test/stats.js (+321/-0)
share/www/script/test/update_documents.js (+71/-10)
share/www/script/test/users_db.js (+229/-103)
share/www/script/test/view_collation_raw.js (+133/-0)
share/www/script/test/view_errors.js (+30/-3)
share/www/script/test/view_include_docs.js (+54/-0)
share/www/script/test/view_multi_key_all_docs.js (+37/-0)
share/www/script/test/view_multi_key_design.js (+81/-3)
share/www/script/test/view_pagination.js (+74/-49)
share/www/script/test/view_sandboxing.js (+90/-2)
share/www/script/test/view_update_seq.js (+109/-0)
share/www/session.html (+99/-0)
share/www/style/jquery-ui-1.8.11.custom.css (+347/-0)
share/www/style/layout.css (+27/-4)
src/Makefile.in (+29/-6)
src/couchdb/Makefile.am (+13/-1)
src/couchdb/Makefile.in (+72/-7)
src/couchdb/couch_app.erl (+56/-0)
src/couchdb/couch_auth_cache.erl (+422/-0)
src/couchdb/couch_btree.erl (+141/-5)
src/couchdb/couch_changes.erl (+340/-0)
src/couchdb/couch_config.erl (+39/-0)
src/couchdb/couch_config_writer.erl (+57/-0)
src/couchdb/couch_db.erl (+147/-13)
src/couchdb/couch_db.hrl (+37/-1)
src/couchdb/couch_db_updater.erl (+132/-49)
src/couchdb/couch_doc.erl (+302/-19)
src/couchdb/couch_event_sup.erl (+6/-2)
src/couchdb/couch_file.erl (+158/-24)
src/couchdb/couch_httpd.erl (+431/-36)
src/couchdb/couch_httpd_auth.erl (+91/-8)
src/couchdb/couch_httpd_db.erl (+551/-94)
src/couchdb/couch_httpd_external.erl (+24/-7)
src/couchdb/couch_httpd_misc_handlers.erl (+86/-21)
src/couchdb/couch_httpd_proxy.erl (+431/-0)
src/couchdb/couch_httpd_rewrite.erl (+463/-0)
src/couchdb/couch_httpd_show.erl (+173/-4)
src/couchdb/couch_httpd_vhost.erl (+407/-0)
src/couchdb/couch_httpd_view.erl (+204/-27)
src/couchdb/couch_js_functions.hrl (+241/-0)
src/couchdb/couch_key_tree.erl (+160/-66)
src/couchdb/couch_log.erl (+84/-3)
src/couchdb/couch_os_daemons.erl (+364/-0)
src/couchdb/couch_os_process.erl (+5/-4)
src/couchdb/couch_query_servers.erl (+330/-22)
src/couchdb/couch_ref_counter.erl (+5/-1)
src/couchdb/couch_rep.erl (+511/-47)
src/couchdb/couch_rep_att.erl (+4/-0)
src/couchdb/couch_rep_changes_feed.erl (+298/-32)
src/couchdb/couch_rep_httpc.erl (+134/-3)
src/couchdb/couch_rep_missing_revs.erl (+6/-6)
src/couchdb/couch_rep_reader.erl (+40/-21)
src/couchdb/couch_rep_writer.erl (+130/-4)
src/couchdb/couch_replication_manager.erl (+629/-0)
src/couchdb/couch_server.erl (+88/-6)
src/couchdb/couch_server_sup.erl (+39/-1)
src/couchdb/couch_stream.erl (+182/-56)
src/couchdb/couch_util.erl (+208/-39)
src/couchdb/couch_view.erl (+93/-20)
src/couchdb/couch_view_compactor.erl (+39/-7)
src/couchdb/couch_view_group.erl (+203/-46)
src/couchdb/couch_view_updater.erl (+65/-7)
src/couchdb/couch_work_queue.erl (+158/-0)
src/couchdb/priv/Makefile.am (+87/-3)
src/couchdb/priv/Makefile.in (+442/-17)
src/couchdb/priv/couch_js/help.h (+80/-0)
src/couchdb/priv/couch_js/http.c (+584/-0)
src/couchdb/priv/couch_js/http.h (+27/-1)
src/couchdb/priv/couch_js/main.c (+24/-0)
src/couchdb/priv/couch_js/sm170.c (+378/-0)
src/couchdb/priv/couch_js/sm180.c (+387/-0)
src/couchdb/priv/couch_js/sm185.c (+401/-0)
src/couchdb/priv/couch_js/utf8.c (+294/-1)
src/couchdb/priv/couch_js/util.c (+252/-0)
src/couchdb/priv/couch_js/util.h (+33/-0)
src/couchdb/priv/stat_descriptions.cfg.in (+53/-0)
src/erlang-oauth/Makefile.in (+10/-4)
src/erlang-oauth/oauth.app.in (+23/-0)
src/erlang-oauth/oauth_hmac_sha1.erl (+4/-0)
src/erlang-oauth/oauth_http.erl (+1/-1)
src/erlang-oauth/oauth_plaintext.erl (+4/-0)
src/erlang-oauth/oauth_uri.erl (+38/-28)
src/etap/Makefile.in (+10/-4)
src/etap/etap_web.erl (+2/-2)
src/ibrowse/Makefile.am (+1/-1)
src/ibrowse/Makefile.in (+11/-5)
src/ibrowse/ibrowse.app.in (+16/-0)
src/ibrowse/ibrowse.erl (+354/-251)
src/ibrowse/ibrowse.hrl (+10/-1)
src/ibrowse/ibrowse_app.erl (+4/-5)
src/ibrowse/ibrowse_http_client.erl (+1180/-765)
src/ibrowse/ibrowse_lb.erl (+25/-6)
src/ibrowse/ibrowse_lib.erl (+173/-181)
src/ibrowse/ibrowse_sup.erl (+2/-4)
src/ibrowse/ibrowse_test.erl (+173/-37)
src/mochiweb/Makefile.am (+85/-0)
src/mochiweb/Makefile.in (+94/-4)
src/mochiweb/internal.hrl (+3/-0)
src/mochiweb/mochifmt.erl (+13/-14)
src/mochiweb/mochifmt_records.erl (+8/-0)
src/mochiweb/mochifmt_std.erl (+7/-0)
src/mochiweb/mochiglobal.erl (+107/-0)
src/mochiweb/mochihex.erl (+27/-11)
src/mochiweb/mochijson.erl (+26/-9)
src/mochiweb/mochijson2.erl (+223/-12)
src/mochiweb/mochilists.erl (+104/-0)
src/mochiweb/mochilogfile2.erl (+140/-0)
src/mochiweb/mochinum.erl (+62/-20)
src/mochiweb/mochitemp.erl (+310/-0)
src/mochiweb/mochiutf8.erl (+316/-0)
src/mochiweb/mochiweb.app.in (+35/-0)
src/mochiweb/mochiweb.app.src (+9/-0)
src/mochiweb/mochiweb.erl (+200/-21)
src/mochiweb/mochiweb_acceptor.erl (+48/-0)
src/mochiweb/mochiweb_app.erl (+7/-0)
src/mochiweb/mochiweb_charref.erl (+24/-11)
src/mochiweb/mochiweb_cookies.erl (+80/-28)
src/mochiweb/mochiweb_cover.erl (+75/-0)
src/mochiweb/mochiweb_echo.erl (+9/-2)
src/mochiweb/mochiweb_headers.erl (+148/-1)
src/mochiweb/mochiweb_html.erl (+421/-217)
src/mochiweb/mochiweb_http.erl (+178/-26)
src/mochiweb/mochiweb_io.erl (+46/-0)
src/mochiweb/mochiweb_mime.erl (+94/-0)
src/mochiweb/mochiweb_multipart.erl (+444/-18)
src/mochiweb/mochiweb_request.erl (+187/-92)
src/mochiweb/mochiweb_response.erl (+8/-0)
src/mochiweb/mochiweb_skel.erl (+27/-14)
src/mochiweb/mochiweb_socket.erl (+84/-0)
src/mochiweb/mochiweb_socket_server.erl (+109/-80)
src/mochiweb/mochiweb_sup.erl (+7/-0)
src/mochiweb/mochiweb_util.erl (+547/-103)
src/mochiweb/reloader.erl (+39/-1)
test/Makefile.in (+211/-4)
test/bench/Makefile.in (+388/-0)
test/etap/010-file-basics.t (+2/-1)
test/etap/020-btree-basics.t (+13/-0)
test/etap/021-btree-reductions.t (+22/-0)
test/etap/030-doc-from-json.t (+10/-0)
test/etap/031-doc-to-json.t (+10/-0)
test/etap/050-stream.t (+11/-1)
test/etap/060-kt-merging.t (+97/-61)
test/etap/070-couch-db.t (+4/-0)
test/etap/072-cleanup.t (+126/-0)
test/etap/083-config-no-files.t (+1/-1)
test/etap/110-replication-httpc.t (+9/-1)
test/etap/111-replication-changes-feed.t (+14/-1)
test/etap/112-replication-missing-revs.t (+26/-4)
test/etap/113-replication-attachment-comp.t (+306/-0)
test/etap/130-attachments-md5.t (+251/-0)
test/etap/140-attachment-comp.t (+728/-0)
test/etap/150-invalid-view-seq.t (+190/-0)
test/etap/160-vhosts.t (+306/-0)
test/etap/170-os-daemons.es (+26/-0)
test/etap/170-os-daemons.t (+114/-0)
test/etap/171-os-daemons-config.es (+83/-0)
test/etap/171-os-daemons-config.t (+74/-0)
test/etap/172-os-daemon-errors.1.sh (+17/-0)
test/etap/172-os-daemon-errors.2.sh (+15/-0)
test/etap/172-os-daemon-errors.3.sh (+15/-0)
test/etap/172-os-daemon-errors.4.sh (+15/-0)
test/etap/172-os-daemon-errors.t (+126/-0)
test/etap/173-os-daemon-cfg-register.t (+93/-0)
test/etap/180-http-proxy.ini (+20/-0)
test/etap/180-http-proxy.t (+378/-0)
test/etap/190-oauth.t (+31/-0)
test/etap/200-view-group-no-db-leaks.t (+243/-0)
test/etap/201-view-group-shutdown.t (+300/-0)
test/etap/210-os-proc-pool.t (+163/-0)
test/etap/Makefile.am (+96/-0)
test/etap/Makefile.in (+590/-0)
test/etap/random_port.ini (+19/-0)
test/etap/test_cfg_register.c (+30/-0)
test/etap/test_util.erl.in (+73/-0)
test/etap/test_web.erl (+99/-0)
test/javascript/Makefile.in (+392/-0)
test/javascript/run.tpl (+33/-0)
test/view_server/Makefile.in (+380/-0)
utils/Makefile.in (+10/-4)
var/Makefile.in (+10/-4)
Text conflict in AUTHORS
Text conflict in CHANGES
Text conflict in INSTALL
Text conflict in INSTALL.Unix
Text conflict in INSTALL.Windows
Text conflict in Makefile.am
Text conflict in Makefile.in
Text conflict in NEWS
Text conflict in NOTICE
Text conflict in THANKS
Text conflict in acinclude.m4
Text conflict in aclocal.m4
Text conflict in bin/Makefile.am
Text conflict in bin/Makefile.in
Text conflict in build-aux/depcomp
Text conflict in build-aux/install-sh
Text conflict in build-aux/ltmain.sh
Text conflict in configure
Text conflict in configure.ac
Text conflict in debian/changelog
Text conflict in debian/control
Text conflict in debian/copyright
Conflict adding file debian/couchdb-bin.install.  Moved existing file to debian/couchdb-bin.install.moved.
Conflict adding file debian/couchdb.install.  Moved existing file to debian/couchdb.install.moved.
Conflict adding file debian/couchdb.postinst.  Moved existing file to debian/couchdb.postinst.moved.
Conflict adding file debian/couchdb.postrm.  Moved existing file to debian/couchdb.postrm.moved.
Text conflict in debian/rules
Text conflict in debian/source/format
Text conflict in etc/Makefile.in
Text conflict in etc/couchdb/Makefile.am
Text conflict in etc/couchdb/Makefile.in
Text conflict in etc/couchdb/default.ini.tpl.in
Text conflict in etc/couchdb/local.ini
Text conflict in etc/default/Makefile.in
Text conflict in etc/init/Makefile.in
Text conflict in etc/launchd/Makefile.in
Text conflict in etc/logrotate.d/Makefile.in
Text conflict in etc/windows/Makefile.in
Text conflict in etc/windows/couchdb.iss.tpl
Text conflict in license.skip
Text conflict in m4/libtool.m4
Text conflict in m4/ltoptions.m4
Text conflict in m4/ltsugar.m4
Text conflict in m4/ltversion.m4
Text conflict in share/Makefile.am
Text conflict in share/Makefile.in
Text conflict in share/server/json2.js
Text conflict in share/server/loop.js
Text conflict in share/server/render.js
Text conflict in share/server/state.js
Text conflict in share/server/util.js
Text conflict in share/www/_sidebar.html
Text conflict in share/www/custom_test.html
Text conflict in share/www/database.html
Contents conflict in share/www/image/spinner.gif
Text conflict in share/www/index.html
Text conflict in share/www/replicator.html
Text conflict in share/www/script/couch.js
Text conflict in share/www/script/couch_test_runner.js
Text conflict in share/www/script/couch_tests.js
Text conflict in share/www/script/futon.browse.js
Text conflict in share/www/script/futon.format.js
Text conflict in share/www/script/futon.js
Text conflict in share/www/script/jquery.couch.js
Text conflict in share/www/script/json2.js
Text conflict in share/www/script/jspec/jspec.js
Text conflict in share/www/script/test/all_docs.js
Text conflict in share/www/script/test/attachments.js
Text conflict in share/www/script/test/attachments_multipart.js
Text conflict in share/www/script/test/auth_cache.js
Text conflict in share/www/script/test/basics.js
Text conflict in share/www/script/test/changes.js
Text conflict in share/www/script/test/conflicts.js
Text conflict in share/www/script/test/cookie_auth.js
Text conflict in share/www/script/test/design_docs.js
Text conflict in share/www/script/test/etags_views.js
Text conflict in share/www/script/test/jsonp.js
Text conflict in share/www/script/test/list_views.js
Text conflict in share/www/script/test/method_override.js
Text conflict in share/www/script/test/oauth.js
Text conflict in share/www/script/test/proxyauth.js
Text conflict in share/www/script/test/recreate_doc.js
Text conflict in share/www/script/test/reduce_builtin.js
Text conflict in share/www/script/test/replication.js
Text conflict in share/www/script/test/rewrite.js
Text conflict in share/www/script/test/show_documents.js
Text conflict in share/www/script/test/stats.js
Text conflict in share/www/script/test/update_documents.js
Text conflict in share/www/script/test/users_db.js
Text conflict in share/www/script/test/view_collation_raw.js
Text conflict in share/www/script/test/view_update_seq.js
Text conflict in share/www/session.html
Text conflict in share/www/style/layout.css
Text conflict in src/Makefile.in
Text conflict in src/couchdb/Makefile.am
Text conflict in src/couchdb/Makefile.in
Text conflict in src/couchdb/couch_app.erl
Text conflict in src/couchdb/couch_auth_cache.erl
Text conflict in src/couchdb/couch_btree.erl
Text conflict in src/couchdb/couch_changes.erl
Text conflict in src/couchdb/couch_config.erl
Text conflict in src/couchdb/couch_config_writer.erl
Text conflict in src/couchdb/couch_db.erl
Text conflict in src/couchdb/couch_db.hrl
Text conflict in src/couchdb/couch_db_updater.erl
Text conflict in src/couchdb/couch_doc.erl
Text conflict in src/couchdb/couch_file.erl
Text conflict in src/couchdb/couch_httpd.erl
Text conflict in src/couchdb/couch_httpd_auth.erl
Text conflict in src/couchdb/couch_httpd_db.erl
Text conflict in src/couchdb/couch_httpd_external.erl
Text conflict in src/couchdb/couch_httpd_rewrite.erl
Text conflict in src/couchdb/couch_httpd_show.erl
Text conflict in src/couchdb/couch_httpd_view.erl
Text conflict in src/couchdb/couch_js_functions.hrl
Text conflict in src/couchdb/couch_key_tree.erl
Text conflict in src/couchdb/couch_log.erl
Text conflict in src/couchdb/couch_os_process.erl
Text conflict in src/couchdb/couch_query_servers.erl
Text conflict in src/couchdb/couch_ref_counter.erl
Text conflict in src/couchdb/couch_rep.erl
Text conflict in src/couchdb/couch_rep_att.erl
Text conflict in src/couchdb/couch_rep_changes_feed.erl
Text conflict in src/couchdb/couch_rep_httpc.erl
Text conflict in src/couchdb/couch_rep_reader.erl
Text conflict in src/couchdb/couch_rep_writer.erl
Text conflict in src/couchdb/couch_server.erl
Text conflict in src/couchdb/couch_server_sup.erl
Text conflict in src/couchdb/couch_stream.erl
Text conflict in src/couchdb/couch_util.erl
Text conflict in src/couchdb/couch_view.erl
Text conflict in src/couchdb/couch_view_compactor.erl
Text conflict in src/couchdb/couch_view_group.erl
Text conflict in src/couchdb/couch_view_updater.erl
Text conflict in src/couchdb/couch_work_queue.erl
Text conflict in src/couchdb/priv/Makefile.am
Text conflict in src/couchdb/priv/Makefile.in
Text conflict in src/couchdb/priv/couch_js/http.c
Text conflict in src/couchdb/priv/couch_js/http.h
Text conflict in src/couchdb/priv/couch_js/main.c
Text conflict in src/couchdb/priv/couch_js/utf8.c
Text conflict in src/couchdb/priv/stat_descriptions.cfg.in
Text conflict in src/erlang-oauth/Makefile.in
Text conflict in src/erlang-oauth/oauth.app.in
Text conflict in src/erlang-oauth/oauth_hmac_sha1.erl
Text conflict in src/erlang-oauth/oauth_plaintext.erl
Text conflict in src/etap/Makefile.in
Text conflict in src/ibrowse/Makefile.in
Text conflict in src/ibrowse/ibrowse.app.in
Text conflict in src/ibrowse/ibrowse_http_client.erl
Text conflict in src/mochiweb/Makefile.am
Text conflict in src/mochiweb/Makefile.in
Text conflict in src/mochiweb/mochijson.erl
Text conflict in src/mochiweb/mochijson2.erl
Text conflict in src/mochiweb/mochiweb.app.in
Text conflict in src/mochiweb/mochiweb_headers.erl
Text conflict in src/mochiweb/mochiweb_html.erl
Text conflict in src/mochiweb/mochiweb_http.erl
Text conflict in src/mochiweb/mochiweb_multipart.erl
Text conflict in src/mochiweb/mochiweb_request.erl
Text conflict in src/mochiweb/mochiweb_socket_server.erl
Text conflict in src/mochiweb/mochiweb_util.erl
Text conflict in test/Makefile.in
Text conflict in test/bench/Makefile.in
Text conflict in test/etap/021-btree-reductions.t
Text conflict in test/etap/030-doc-from-json.t
Text conflict in test/etap/031-doc-to-json.t
Text conflict in test/etap/050-stream.t
Text conflict in test/etap/070-couch-db.t
Text conflict in test/etap/110-replication-httpc.t
Text conflict in test/etap/111-replication-changes-feed.t
Text conflict in test/etap/112-replication-missing-revs.t
Text conflict in test/etap/113-replication-attachment-comp.t
Text conflict in test/etap/130-attachments-md5.t
Text conflict in test/etap/140-attachment-comp.t
Text conflict in test/etap/150-invalid-view-seq.t
Text conflict in test/etap/160-vhosts.t
Text conflict in test/etap/Makefile.am
Text conflict in test/etap/Makefile.in
Text conflict in test/etap/test_util.erl.in
Text conflict in test/javascript/Makefile.in
Text conflict in test/javascript/run.tpl
Text conflict in test/view_server/Makefile.in
Text conflict in utils/Makefile.in
Text conflict in var/Makefile.in
To merge this branch: bzr merge lp:~jderose/ubuntu/precise/couchdb/1.1.1-low-delta
Reviewer Review Type Date Requested Status
Evan Broder (community) Needs Resubmitting
Ubuntu branches Pending
Review via email: mp+85301@code.launchpad.net

Description of the change

Although this is probably a giant delta from Ubuntu, it's a tiny delta from Debian:

jderose@jgd-ws:~/bzr/couchdb/novacut$ bzr diff --old=../wheezy
=== modified file 'debian/changelog'
--- debian/changelog 2011-11-27 09:06:57 +0000
+++ debian/changelog 2011-12-12 07:59:18 +0000
@@ -1,3 +1,20 @@
+couchdb (1.1.1-1ubuntu1) precise; urgency=low
+
+ * Started with branch of 1.1.1-1 from Debian testing
+ * Split into `couchdb-bin` and `couchdb` packages as found in Ubuntu, with
+ goal of keeping delta between Debian and Ubuntu as low as possible
+ * Changes from how split is done in Ubuntu:
+ - /etc/couchdb/default.ini and /etc/couchdb/default.d are delivered in
+ `couchdb-bin` and are owned by root
+ - Only `couchdb` has postinst, postrm scripts, meaning `couchdb-bin` does
+ not create (or remove) the "couchdb" user/group
+ * Changes from Debian:
+ - After couchdb.postinst runs, only /etc/couchdb/local.ini and
+ /etc/couchdb/local.d are owned by the "couchdb" user, while /etc/couchdb
+ remains owned by root
+
+ -- Jason Gerard DeRose <email address hidden> Mon, 12 Dec 2011 07:49:41 +0000
+
 couchdb (1.1.1-1) unstable; urgency=low

   * New upstream release.

=== modified file 'debian/control'
--- debian/control 2011-11-27 09:06:57 +0000
+++ debian/control 2011-12-10 08:23:10 +0000
@@ -17,7 +17,7 @@
                libreadline-dev
 Homepage: http://couchdb.apache.org/

-Package: couchdb
+Package: couchdb-bin
 Architecture: any
 Depends: adduser,
          erlang-base-hipe | erlang-base | ${erlang-abi:Depends},
@@ -43,3 +43,22 @@
  that provides means to make HTTP requests. There are a multitude of third-party
  client libraries that make this even easier for a variety of programming
  languages and environments.
+
+Package: couchdb
+Architecture: all
+Depends: couchdb-bin (>= ${binary:Version}), ${misc:Depends}
+Description: RESTful document oriented database, system DB
+ Apache CouchDB is a distributed, fault-tolerant and schema-free
+ document-oriented database accessible via a RESTful HTTP/JSON API. Among other
+ features, it provides robust, incremental replication with bi-directional
+ conflict detection and resolution, and is queryable and indexable using a
+ table-oriented view engine with JavaScript acting as the default view
+ definition language.
+ .
+ CouchDB is written in Erlang, but can be easily accessed from any environment
+ that provides means to make HTTP requests. There are a multitude of third-party
+ client libraries that make this even easier for a variety of programming
+ languages and environments.
+ .
+ This package adds init.d script and other items needed for a system-wide
+ CouchDB instance that is started at boot.

=== added file 'debian/couchdb-bin.install'
--- debian/couchdb-bin.install 1970-01-01 00:00:00 +0000
+++ debian/couchdb-bin.install 2011-12-12 06:54:48 +0000
@@ -0,0 +1,3 @@
+debian/tmp/usr
+debian/tmp/etc/couchdb/default.ini
+debian/tmp/etc/couchdb/default.d

=== added file 'debian/couchdb.install'
--- debian/couchdb.install 1970-01-01 00:00:00 +0000
+++ debian/couchdb.install 2011-12-12 08:02:22 +0000
@@ -0,0 +1,7 @@
+debian/tmp/var
+debian/tmp/etc/couchdb/local.ini
+debian/tmp/etc/couchdb/local.d
+debian/tmp/etc/default
+debian/tmp/etc/init.d
+debian/tmp/etc/logrotate.d
+

=== renamed file 'debian/postinst' => 'debian/couchdb.postinst'
--- debian/postinst 2011-08-06 09:33:58 +0000
+++ debian/couchdb.postinst 2011-12-12 06:50:06 +0000
@@ -21,7 +21,8 @@
             echo "The couchdb administrative group must not be root." >&2
             false
         fi
- chown -R couchdb:couchdb /etc/couchdb
+ chown couchdb:couchdb /etc/couchdb/local.ini
+ chown -R couchdb:couchdb /etc/couchdb/local.d
         chown -R couchdb:couchdb /var/lib/couchdb
         chown -R couchdb:couchdb /var/log/couchdb
         ;;

=== renamed file 'debian/postrm' => 'debian/couchdb.postrm'
--- debian/postrm 2011-08-06 09:33:58 +0000
+++ debian/couchdb.postrm 2011-12-12 07:13:12 +0000
@@ -10,8 +10,11 @@

 case $1 in
     purge)
- if test -d "/etc/couchdb"; then
- rm -r -f "/etc/couchdb"
+ if test -f "/etc/couchdb/local.ini"; then
+ rm "/etc/couchdb/local.ini"
+ fi
+ if test -d "/etc/couchdb/local.d"; then
+ rm -r -f "/etc/couchdb/local.d"
         fi
         if test -d "/var/lib/couchdb"; then
             rm -r -f "/var/lib/couchdb"

=== modified file 'debian/rules'
--- debian/rules 2011-11-27 09:06:57 +0000
+++ debian/rules 2011-12-12 06:58:18 +0000
@@ -12,7 +12,7 @@

 DEB_CONFIGURE_EXTRA_FLAGS = --enable-js-trunk
 DEB_INSTALL_DOCS_ALL =
-DEB_DH_INSTALLINIT_ARGS = --onlyscripts
+DEB_DH_INSTALLINIT_ARGS = -Ncouchdb-bin --onlyscripts

 LIB = ${localstatedir}/lib/\$${package_identifier}

@@ -21,30 +21,30 @@

 post-patches::
  sed -i s,$(LIB)$$,$(LIB)/$(DEB_UPSTREAM_VERSION), configure
- sed -i s,VERSION=%VERSION%$$,VERSION=$(DEB_UPSTREAM_VERSION), debian/postrm
+ sed -i s,VERSION=%VERSION%$$,VERSION=$(DEB_UPSTREAM_VERSION), debian/couchdb.postrm

 cleanbuilddir::
  sed -i s,$(LIB)/$(DEB_UPSTREAM_VERSION)$$,$(LIB), configure
- sed -i s,VERSION=$(DEB_UPSTREAM_VERSION)$$,VERSION=%VERSION%, debian/postrm
+ sed -i s,VERSION=$(DEB_UPSTREAM_VERSION)$$,VERSION=%VERSION%, debian/couchdb.postrm

 common-binary-post-install-arch::
- rm -r debian/couchdb/var/run
- rm -f debian/couchdb/usr/share/doc/couchdb/LICENSE.gz
- rm -f debian/couchdb/usr/share/doc/couchdb/INSTALL.*
- rm -f debian/couchdb/usr/lib/couchdb/erlang/lib/couch-*/priv/lib/couch_erl_driver.la
- rm -f debian/couchdb/usr/share/couchdb/www/script/jquery.js
- rm -f debian/couchdb/usr/share/couchdb/www/script/jquery.form.js
- chmod a-x debian/couchdb/usr/share/couchdb/server/main.js
- sed -i "/dependency_libs/ s/'.*'/''/" `find debian/couchdb -name '*.la'`
+ rm -r debian/tmp/var/run
+ rm -f debian/couchdb-bin/usr/share/doc/couchdb/LICENSE.gz
+ rm -f debian/couchdb-bin/usr/share/doc/couchdb/INSTALL.*
+ rm -f debian/couchdb-bin/usr/lib/couchdb/erlang/lib/couch-*/priv/lib/couch_erl_driver.la
+ rm -f debian/couchdb-bin/usr/share/couchdb/www/script/jquery.js
+ rm -f debian/couchdb-bin/usr/share/couchdb/www/script/jquery.form.js
+ chmod a-x debian/couchdb-bin/usr/share/couchdb/server/main.js
+ sed -i "/dependency_libs/ s/'.*'/''/" `find debian/couchdb-bin -name '*.la'`
  dh_link /usr/share/javascript/jquery/jquery.js /usr/share/couchdb/www/script/jquery.js
  dh_link /usr/share/javascript/jquery-form/jquery.form.js /usr/share/couchdb/www/script/jquery.form.js

 common-binary-predeb-arch::
- dh_fixperms debian/couchdb/
+ dh_fixperms debian/couchdb-bin/
  chmod 660 debian/couchdb/etc/couchdb/local.ini
  chmod 750 debian/couchdb/var/lib/couchdb
  chmod 750 debian/couchdb/var/log/couchdb
- erlang-depends
+ erlang-depends -pcouchdb-bin

 # @@ only works from source directory, see #494141
 .PHONY: get-orig-source

To post a comment you must log in.
26. By Jason Gerard DeRose

Seemingly fixed amd64 PPA build problem by using common-binary-predeb-indep

27. By Jason Gerard DeRose

Made couchdb.install a bit clearer

Revision history for this message
Evan Broder (broder) wrote :

Rejecting. The file conflicts make the MP meaningless, and the interesting discussion is on the linked bug anyway (bug #903098).

review: Needs Resubmitting
28. By Jason Gerard DeRose

couchdb now Replaces couchdb-bin (<= 1.0.1-0ubuntu18)

29. By Jason Gerard DeRose

Merged 1.1.1-2 from debian

30. By Jason Gerard DeRose

Appended my changelog entry, now 1.1.1-2ubuntu1

Unmerged revisions

30. By Jason Gerard DeRose

Appended my changelog entry, now 1.1.1-2ubuntu1

29. By Jason Gerard DeRose

Merged 1.1.1-2 from debian

28. By Jason Gerard DeRose

couchdb now Replaces couchdb-bin (<= 1.0.1-0ubuntu18)

27. By Jason Gerard DeRose

Made couchdb.install a bit clearer

26. By Jason Gerard DeRose

Seemingly fixed amd64 PPA build problem by using common-binary-predeb-indep

25. By Jason Gerard DeRose

Made couchdb.install a bit clearer

24. By Jason Gerard DeRose

Updated debian/changelog

23. By Jason Gerard DeRose

Fixed couchdb.postrm so it doesn't remove everything in /etc/couchdb

22. By Jason Gerard DeRose

couchdb-bin now carries /etc/couchdb/default.ini

21. By Jason Gerard DeRose

Renamed postinst, postrm scripts

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory '.pc'
2=== added file '.pc/.version'
3--- .pc/.version 1970-01-01 00:00:00 +0000
4+++ .pc/.version 2012-07-09 01:33:23 +0000
5@@ -0,0 +1,1 @@
6+2
7
8=== added file '.pc/applied-patches'
9--- .pc/applied-patches 1970-01-01 00:00:00 +0000
10+++ .pc/applied-patches 2012-07-09 01:33:23 +0000
11@@ -0,0 +1,1 @@
12+force-reload.patch
13
14=== added directory '.pc/force-reload.patch'
15=== added directory '.pc/force-reload.patch/etc'
16=== added directory '.pc/force-reload.patch/etc/init'
17=== added file '.pc/force-reload.patch/etc/init/couchdb.tpl.in'
18--- .pc/force-reload.patch/etc/init/couchdb.tpl.in 1970-01-01 00:00:00 +0000
19+++ .pc/force-reload.patch/etc/init/couchdb.tpl.in 2012-07-09 01:33:23 +0000
20@@ -0,0 +1,168 @@
21+#!/bin/sh -e
22+
23+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
24+# use this file except in compliance with the License. You may obtain a copy of
25+# the License at
26+#
27+# http://www.apache.org/licenses/LICENSE-2.0
28+#
29+# Unless required by applicable law or agreed to in writing, software
30+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
31+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
32+# License for the specific language governing permissions and limitations under
33+# the License.
34+
35+### BEGIN INIT INFO
36+# Provides: couchdb
37+# Required-Start: $local_fs $remote_fs
38+# Required-Stop: $local_fs $remote_fs
39+# Default-Start: 2 3 4 5
40+# Default-Stop: 0 1 6
41+# Short-Description: Apache CouchDB init script
42+# Description: Apache CouchDB init script for the database server.
43+### END INIT INFO
44+
45+SCRIPT_OK=0
46+SCRIPT_ERROR=1
47+
48+DESCRIPTION="database server"
49+NAME=couchdb
50+SCRIPT_NAME=`basename $0`
51+COUCHDB=%bindir%/%couchdb_command_name%
52+CONFIGURATION_FILE=%sysconfdir%/default/couchdb
53+RUN_DIR=%localstaterundir%
54+LSB_LIBRARY=/lib/lsb/init-functions
55+
56+if test ! -x $COUCHDB; then
57+ exit $SCRIPT_ERROR
58+fi
59+
60+if test -r $CONFIGURATION_FILE; then
61+ . $CONFIGURATION_FILE
62+fi
63+
64+log_daemon_msg () {
65+ # Dummy function to be replaced by LSB library.
66+
67+ echo $@
68+}
69+
70+log_end_msg () {
71+ # Dummy function to be replaced by LSB library.
72+
73+ if test "$1" != "0"; then
74+ echo "Error with $DESCRIPTION: $NAME"
75+ fi
76+ return $1
77+}
78+
79+if test -r $LSB_LIBRARY; then
80+ . $LSB_LIBRARY
81+fi
82+
83+start_couchdb () {
84+ # Start Apache CouchDB as a background process.
85+
86+ command="$COUCHDB -b"
87+ if test -n "$COUCHDB_STDOUT_FILE"; then
88+ command="$command -o $COUCHDB_STDOUT_FILE"
89+ fi
90+ if test -n "$COUCHDB_STDERR_FILE"; then
91+ command="$command -e $COUCHDB_STDERR_FILE"
92+ fi
93+ if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then
94+ command="$command -r $COUCHDB_RESPAWN_TIMEOUT"
95+ fi
96+ if test -n "$COUCHDB_OPTIONS"; then
97+ command="$command $COUCHDB_OPTIONS"
98+ fi
99+ mkdir -p "$RUN_DIR"
100+ if test -n "$COUCHDB_USER"; then
101+ chown $COUCHDB_USER "$RUN_DIR"
102+ if su $COUCHDB_USER -c "$command" > /dev/null; then
103+ return $SCRIPT_OK
104+ else
105+ return $SCRIPT_ERROR
106+ fi
107+ else
108+ if $command > /dev/null; then
109+ return $SCRIPT_OK
110+ else
111+ return $SCRIPT_ERROR
112+ fi
113+ fi
114+}
115+
116+stop_couchdb () {
117+ # Stop the running Apache CouchDB process.
118+
119+ command="$COUCHDB -d"
120+ if test -n "$COUCHDB_OPTIONS"; then
121+ command="$command $COUCHDB_OPTIONS"
122+ fi
123+ if test -n "$COUCHDB_USER"; then
124+ if su $COUCHDB_USER -c "$command" > /dev/null; then
125+ return $SCRIPT_OK
126+ else
127+ return $SCRIPT_ERROR
128+ fi
129+ else
130+ if $command > /dev/null; then
131+ return $SCRIPT_OK
132+ else
133+ return $SCRIPT_ERROR
134+ fi
135+ fi
136+}
137+
138+display_status () {
139+ # Display the status of the running Apache CouchDB process.
140+
141+ $COUCHDB -s
142+}
143+
144+parse_script_option_list () {
145+ # Parse arguments passed to the script and take appropriate action.
146+
147+ case "$1" in
148+ start)
149+ log_daemon_msg "Starting $DESCRIPTION" $NAME
150+ if start_couchdb; then
151+ log_end_msg $SCRIPT_OK
152+ else
153+ log_end_msg $SCRIPT_ERROR
154+ fi
155+ ;;
156+ stop)
157+ log_daemon_msg "Stopping $DESCRIPTION" $NAME
158+ if stop_couchdb; then
159+ log_end_msg $SCRIPT_OK
160+ else
161+ log_end_msg $SCRIPT_ERROR
162+ fi
163+ ;;
164+ restart)
165+ log_daemon_msg "Restarting $DESCRIPTION" $NAME
166+ if stop_couchdb; then
167+ if start_couchdb; then
168+ log_end_msg $SCRIPT_OK
169+ else
170+ log_end_msg $SCRIPT_ERROR
171+ fi
172+ else
173+ log_end_msg $SCRIPT_ERROR
174+ fi
175+ ;;
176+ status)
177+ display_status
178+ ;;
179+ *)
180+ cat << EOF >&2
181+Usage: $SCRIPT_NAME {start|stop|restart|status}
182+EOF
183+ exit $SCRIPT_ERROR
184+ ;;
185+ esac
186+}
187+
188+parse_script_option_list $@
189
190=== modified file 'AUTHORS'
191--- AUTHORS 2010-07-26 10:24:11 +0000
192+++ AUTHORS 2012-07-09 01:33:23 +0000
193@@ -11,10 +11,18 @@
194 * J. Chris Anderson <jchris@apache.org>
195 * Paul Joseph Davis <davisp@apache.org>
196 * Adam Kocoloski <kocolosk@apache.org>
197+<<<<<<< TREE
198 * Jason Davies <jasondavies@apache.org>
199 * Mark Hammond <mhammond@skippinet.com.au>
200 * Benoît Chesneau <benoitc@apache.org>
201 * Filipe Manana <fdmanana@apache.org>
202 * Robert Newson <robert.newson@gmail.com>
203+=======
204+ * Jason Davies <jasondavies@apache.org>
205+ * Mark Hammond <mhammond@skippinet.com.au>
206+ * Benoît Chesneau <benoitc@apache.org>
207+ * Filipe Manana <fdmanana@apache.org>
208+ * Robert Newson <rnewson@apache.org>
209+>>>>>>> MERGE-SOURCE
210
211 For a list of other credits see the `THANKS` file.
212
213=== modified file 'CHANGES'
214--- CHANGES 2010-08-16 19:45:48 +0000
215+++ CHANGES 2012-07-09 01:33:23 +0000
216@@ -1,6 +1,7 @@
217 Apache CouchDB CHANGES
218 ======================
219
220+<<<<<<< TREE
221 Version 1.0.1
222 -------------
223
224@@ -275,6 +276,425 @@
225
226 * Test suite now works with the distcheck target.
227
228+=======
229+Version 1.1.1
230+-------------
231+
232+* Support SpiderMonkey 1.8.5
233+* Add configurable maximum to the number of bytes returned by _log.
234+* Allow CommonJS modules to be an empty string.
235+* Bump minimum Erlang version to R13B02.
236+* Do not run deleted validate_doc_update functions.
237+* ETags for views include current sequence if include_docs=true.
238+* Fix bug where duplicates can appear in _changes feed.
239+* Fix bug where update handlers break after conflict resolution.
240+* Fix bug with _replicator where include "filter" could crash couch.
241+* Fix crashes when compacting large views.
242+* Fix file descriptor leak in _log
243+* Fix missing revisions in _changes?style=all_docs.
244+* Improve handling of compaction at max_dbs_open limit.
245+* JSONP responses now send "text/javascript" for Content-Type.
246+* Link to ICU 4.2 on Windows.
247+* Permit forward slashes in path to update functions.
248+* Reap couchjs processes that hit reduce_overflow error.
249+* Status code can be specified in update handlers.
250+* Support provides() in show functions.
251+* _view_cleanup when ddoc has no views now removes all index files.
252+* max_replication_retry_count now supports "infinity".
253+* Fix replication crash when source database has a document with empty ID.
254+* Fix deadlock when assigning couchjs processes to serve requests.
255+* Fixes to the document multipart PUT API.
256+* Fixes regarding file descriptor leaks for databases with views.
257+
258+Version 1.1.0
259+-------------
260+
261+All CHANGES for 1.0.2 and 1.0.3 also apply to 1.1.0.
262+
263+HTTP Interface:
264+
265+ * Native SSL support.
266+ * Added support for HTTP range requests for attachments.
267+ * Added built-in filters for `_changes`: `_doc_ids` and `_design`.
268+ * Added configuration option for TCP_NODELAY aka "Nagle".
269+ * Allow POSTing arguments to `_changes`.
270+ * Allow `keys` parameter for GET requests to views.
271+ * Allow wildcards in vhosts definitions.
272+ * More granular ETag support for views.
273+ * More flexible URL rewriter.
274+ * Added support for recognizing "Q values" and media parameters in
275+ HTTP Accept headers.
276+ * Validate doc ids that come from a PUT to a URL.
277+
278+Externals:
279+
280+ * Added OS Process module to manage daemons outside of CouchDB.
281+ * Added HTTP Proxy handler for more scalable externals.
282+
283+Replicator:
284+
285+ * Added `_replicator` database to manage replications.
286+ * Fixed issues when an endpoint is a remote database accessible via SSL.
287+ * Added support for continuous by-doc-IDs replication.
288+ * Fix issue where revision info was omitted when replicating attachments.
289+ * Integrity of attachment replication is now verified by MD5.
290+
291+Storage System:
292+
293+ * Multiple micro-optimizations when reading data.
294+
295+View Server:
296+
297+ * Added CommonJS support to map functions.
298+ * Added `stale=update_after` query option that triggers a view update after
299+ returning a `stale=ok` response.
300+ * Warn about empty result caused by `startkey` and `endkey` limiting.
301+ * Built-in reduce function `_sum` now accepts lists of integers as input.
302+ * Added view query aliases start_key, end_key, start_key_doc_id and
303+ end_key_doc_id.
304+
305+Futon:
306+
307+ * Added a "change password"-feature to Futon.
308+
309+URL Rewriter & Vhosts:
310+
311+ * Fix for variable substituion
312+
313+Version 1.0.2
314+-------------
315+
316+Futon:
317+
318+ * Make test suite work with Safari and Chrome.
319+ * Fixed animated progress spinner.
320+ * Fix raw view document link due to overzealous URI encoding.
321+ * Spell javascript correctly in loadScript(uri).
322+
323+Storage System:
324+
325+ * Fix leaking file handles after compacting databases and views.
326+ * Fix databases forgetting their validation function after compaction.
327+ * Fix occasional timeout errors after successfully compacting large databases.
328+ * Fix ocassional error when writing to a database that has just been compacted.
329+ * Fix occasional timeout errors on systems with slow or heavily loaded IO.
330+ * Fix for OOME when compactions include documents with many conflicts.
331+ * Fix for missing attachment compression when MIME types included parameters.
332+ * Preserve purge metadata during compaction to avoid spurious view rebuilds.
333+ * Fix spurious conflicts introduced when uploading an attachment after
334+ a doc has been in a conflict. See COUCHDB-902 for details.
335+ * Fix for frequently edited documents in multi-master deployments being
336+ duplicated in _changes and _all_docs. See COUCHDDB-968 for details on how
337+ to repair.
338+ * Significantly higher read and write throughput against database and
339+ view index files.
340+
341+Log System:
342+
343+ * Reduce lengthy stack traces.
344+ * Allow logging of native <xml> types.
345+
346+HTTP Interface:
347+
348+ * Allow reduce=false parameter in map-only views.
349+ * Fix parsing of Accept headers.
350+ * Fix for multipart GET APIs when an attachment was created during a
351+ local-local replication. See COUCHDB-1022 for details.
352+
353+Replicator:
354+
355+ * Updated ibrowse library to 2.1.2 fixing numerous replication issues.
356+ * Make sure that the replicator respects HTTP settings defined in the config.
357+ * Fix error when the ibrowse connection closes unexpectedly.
358+ * Fix authenticated replication (with HTTP basic auth) of design documents
359+ with attachments.
360+ * Various fixes to make replication more resilient for edge-cases.
361+
362+View Server:
363+
364+ * Don't trigger view updates when requesting `_design/doc/_info`.
365+ * Fix for circular references in CommonJS requires.
366+ * Made isArray() function available to functions executed in the query server.
367+ * Documents are now sealed before being passed to map functions.
368+ * Force view compaction failure when duplicated document data exists. When
369+ this error is seen in the logs users should rebuild their views from
370+ scratch to fix the issue. See COUCHDB-999 for details.
371+
372+Version 1.0.1
373+-------------
374+
375+Storage System:
376+
377+ * Fix data corruption bug COUCHDB-844. Please see
378+ http://couchdb.apache.org/notice/1.0.1.html for details.
379+
380+Replicator:
381+
382+ * Added support for replication via an HTTP/HTTPS proxy.
383+ * Fix pull replication of attachments from 0.11 to 1.0.x.
384+ * Make the _changes feed work with non-integer seqnums.
385+
386+HTTP Interface:
387+
388+ * Expose `committed_update_seq` for monitoring purposes.
389+ * Show fields saved along with _deleted=true. Allows for auditing of deletes.
390+ * More robust Accept-header detection.
391+
392+Authentication:
393+
394+ * Enable basic-auth popup when required to access the server, to prevent
395+ people from getting locked out.
396+
397+Futon:
398+
399+ * User interface element for querying stale (cached) views.
400+
401+Build and System Integration:
402+
403+ * Included additional source files for distribution.
404+
405+Version 1.0.0
406+-------------
407+
408+Security:
409+
410+ * Added authentication caching, to avoid repeated opening and closing of the
411+ users database for each request requiring authentication.
412+
413+Storage System:
414+
415+ * Small optimization for reordering result lists.
416+ * More efficient header commits.
417+ * Use O_APPEND to save lseeks.
418+ * Faster implementation of pread_iolist(). Further improves performance on
419+ concurrent reads.
420+
421+View Server:
422+
423+ * Faster default view collation.
424+ * Added option to include update_seq in view responses.
425+
426+Version 0.11.2
427+--------------
428+
429+Replicator:
430+
431+ * Fix bug when pushing design docs by non-admins, which was hanging the
432+ replicator for no good reason.
433+ * Fix bug when pulling design documents from a source that requires
434+ basic-auth.
435+
436+HTTP Interface:
437+
438+ * Better error messages on invalid URL requests.
439+
440+Authentication:
441+
442+ * User documents can now be deleted by admins or the user.
443+
444+Security:
445+
446+ * Avoid potential DOS attack by guarding all creation of atoms.
447+
448+Futon:
449+
450+ * Add some Futon files that were missing from the Makefile.
451+
452+Version 0.11.1
453+--------------
454+
455+HTTP Interface:
456+
457+ * Mask passwords in active tasks and logging.
458+ * Update mochijson2 to allow output of BigNums not in float form.
459+ * Added support for X-HTTP-METHOD-OVERRIDE.
460+ * Better error message for database names.
461+ * Disable jsonp by default.
462+ * Accept gzip encoded standalone attachments.
463+ * Made max_concurrent_connections configurable.
464+ * Made changes API more robust.
465+ * Send newly generated document rev to callers of an update function.
466+
467+Futon:
468+
469+ * Use "expando links" for over-long document values in Futon.
470+ * Added continuous replication option.
471+ * Added option to replicating test results anonymously to a community
472+ CouchDB instance.
473+ * Allow creation and deletion of config entries.
474+ * Fixed display issues with doc ids that have escaped characters.
475+ * Fixed various UI issues.
476+
477+Build and System Integration:
478+
479+ * Output of `couchdb --help` has been improved.
480+ * Fixed compatibility with the Erlang R14 series.
481+ * Fixed warnings on Linux builds.
482+ * Fixed build error when aclocal needs to be called during the build.
483+ * Require ICU 4.3.1.
484+ * Fixed compatibility with Solaris.
485+
486+Security:
487+
488+ * Added authentication redirect URL to log in clients.
489+ * Fixed query parameter encoding issue in oauth.js.
490+ * Made authentication timeout configurable.
491+ * Temporary views are now admin-only resources.
492+
493+Storage System:
494+
495+ * Don't require a revpos for attachment stubs.
496+ * Added checking to ensure when a revpos is sent with an attachment stub,
497+ it's correct.
498+ * Make file deletions async to avoid pauses during compaction and db
499+ deletion.
500+ * Fixed for wrong offset when writing headers and converting them to blocks,
501+ only triggered when header is larger than 4k.
502+ * Preserve _revs_limit and instance_start_time after compaction.
503+
504+Configuration System:
505+
506+ * Fixed timeout with large .ini files.
507+
508+JavaScript Clients:
509+
510+ * Added tests for couch.js and jquery.couch.js
511+ * Added changes handler to jquery.couch.js.
512+ * Added cache busting to jquery.couch.js if the user agent is msie.
513+ * Added support for multi-document-fetch (via _all_docs) to jquery.couch.js.
514+ * Added attachment versioning to jquery.couch.js.
515+ * Added option to control ensure_full_commit to jquery.couch.js.
516+ * Added list functionality to jquery.couch.js.
517+ * Fixed issues where bulkSave() wasn't sending a POST body.
518+
519+View Server:
520+
521+ * Provide a UUID to update functions (and all other functions) that they can
522+ use to create new docs.
523+ * Upgrade CommonJS modules support to 1.1.1.
524+ * Fixed erlang filter funs and normalize filter fun API.
525+ * Fixed hang in view shutdown.
526+
527+Log System:
528+
529+ * Log HEAD requests as HEAD, not GET.
530+ * Keep massive JSON blobs out of the error log.
531+ * Fixed a timeout issue.
532+
533+Replication System:
534+
535+ * Refactored various internal APIs related to attachment streaming.
536+ * Fixed hanging replication.
537+ * Fixed keepalive issue.
538+
539+URL Rewriter & Vhosts:
540+
541+ * Allow more complex keys in rewriter.
542+ * Allow global rewrites so system defaults are available in vhosts.
543+ * Allow isolation of databases with vhosts.
544+ * Fix issue with passing variables to query parameters.
545+
546+Test Suite:
547+
548+ * Made the test suite overall more reliable.
549+
550+Version 0.11.0
551+--------------
552+
553+Security:
554+
555+ * Fixed CVE-2010-0009: Apache CouchDB Timing Attack Vulnerability.
556+ * Added default cookie-authentication and users database.
557+ * Added Futon user interface for user signup and login.
558+ * Added per-database reader access control lists.
559+ * Added per-database security object for configuration data in validation
560+ functions.
561+ * Added proxy authentication handler
562+
563+HTTP Interface:
564+
565+ * Provide Content-MD5 header support for attachments.
566+ * Added URL Rewriter handler.
567+ * Added virtual host handling.
568+
569+View Server:
570+
571+ * Added optional 'raw' binary collation for faster view builds where Unicode
572+ collation is not important.
573+ * Improved view index build time by reducing ICU collation callouts.
574+ * Improved view information objects.
575+ * Bug fix for partial updates during view builds.
576+ * Move query server to a design-doc based protocol.
577+ * Use json2.js for JSON serialization for compatiblity with native JSON.
578+ * Major refactoring of couchjs to lay the groundwork for disabling cURL
579+ support. The new HTTP interaction acts like a synchronous XHR. Example usage
580+ of the new system is in the JavaScript CLI test runner.
581+
582+Replication:
583+
584+ * Added option to implicitly create replication target databases.
585+ * Avoid leaking file descriptors on automatic replication restarts.
586+ * Added option to replicate a list of documents by id.
587+ * Allow continuous replication to be cancelled.
588+
589+Storage System:
590+
591+ * Adds batching of multiple updating requests, to improve throughput with many
592+ writers. Removed the now redundant couch_batch_save module.
593+ * Adds configurable compression of attachments.
594+
595+Runtime Statistics:
596+
597+ * Statistics are now calculated for a moving window instead of non-overlapping
598+ timeframes.
599+ * Fixed a problem with statistics timers and system sleep.
600+ * Moved statistic names to a term file in the priv directory.
601+
602+Futon:
603+
604+ * Added a button for view compaction.
605+ * JSON strings are now displayed as-is in the document view, without the escaping of
606+ new-lines and quotes. That dramatically improves readability of multi-line
607+ strings.
608+ * Same goes for editing of JSON string values. When a change to a field value is
609+ submitted, and the value is not valid JSON it is assumed to be a string. This
610+ improves editing of multi-line strings a lot.
611+ * Hitting tab in textareas no longer moves focus to the next form field, but simply
612+ inserts a tab character at the current caret position.
613+ * Fixed some font declarations.
614+
615+Build and System Integration:
616+
617+ * Updated and improved source documentation.
618+ * Fixed distribution preparation for building on Mac OS X.
619+ * Added support for building a Windows installer as part of 'make dist'.
620+ * Bug fix for building couch.app's module list.
621+ * ETap tests are now run during make distcheck. This included a number of
622+ updates to the build system to properly support VPATH builds.
623+ * Gavin McDonald setup a build-bot instance. More info can be found at
624+ http://ci.apache.org/buildbot.html
625+
626+Version 0.10.1
627+--------------
628+
629+Replicator:
630+
631+ * Stability enhancements regarding redirects, timeouts, OAuth.
632+
633+Query Server:
634+
635+ * Avoid process leaks
636+ * Allow list and view to span languages
637+
638+Stats:
639+
640+ * Eliminate new process flood on system wake
641+
642+Build and System Integration:
643+
644+ * Test suite now works with the distcheck target.
645+
646+>>>>>>> MERGE-SOURCE
647 Version 0.10.0
648 --------------
649
650
651=== modified file 'INSTALL'
652--- INSTALL 2010-07-26 10:24:11 +0000
653+++ INSTALL 2012-07-09 01:33:23 +0000
654@@ -1,3 +1,4 @@
655+<<<<<<< TREE
656 Installation Instructions
657 *************************
658
659@@ -300,3 +301,239 @@
660 `configure' also accepts some other, not widely useful, options. Run
661 `configure --help' for more details.
662
663+=======
664+Installation Instructions
665+*************************
666+
667+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
668+2006 Free Software Foundation, Inc.
669+
670+This file is free documentation; the Free Software Foundation gives
671+unlimited permission to copy, distribute and modify it.
672+
673+Basic Installation
674+==================
675+
676+Briefly, the shell commands `./configure; make; make install' should
677+configure, build, and install this package. The following
678+more-detailed instructions are generic; see the `README' file for
679+instructions specific to this package.
680+
681+ The `configure' shell script attempts to guess correct values for
682+various system-dependent variables used during compilation. It uses
683+those values to create a `Makefile' in each directory of the package.
684+It may also create one or more `.h' files containing system-dependent
685+definitions. Finally, it creates a shell script `config.status' that
686+you can run in the future to recreate the current configuration, and a
687+file `config.log' containing compiler output (useful mainly for
688+debugging `configure').
689+
690+ It can also use an optional file (typically called `config.cache'
691+and enabled with `--cache-file=config.cache' or simply `-C') that saves
692+the results of its tests to speed up reconfiguring. Caching is
693+disabled by default to prevent problems with accidental use of stale
694+cache files.
695+
696+ If you need to do unusual things to compile the package, please try
697+to figure out how `configure' could check whether to do them, and mail
698+diffs or instructions to the address given in the `README' so they can
699+be considered for the next release. If you are using the cache, and at
700+some point `config.cache' contains results you don't want to keep, you
701+may remove or edit it.
702+
703+ The file `configure.ac' (or `configure.in') is used to create
704+`configure' by a program called `autoconf'. You need `configure.ac' if
705+you want to change it or regenerate `configure' using a newer version
706+of `autoconf'.
707+
708+The simplest way to compile this package is:
709+
710+ 1. `cd' to the directory containing the package's source code and type
711+ `./configure' to configure the package for your system.
712+
713+ Running `configure' might take a while. While running, it prints
714+ some messages telling which features it is checking for.
715+
716+ 2. Type `make' to compile the package.
717+
718+ 3. Optionally, type `make check' to run any self-tests that come with
719+ the package.
720+
721+ 4. Type `make install' to install the programs and any data files and
722+ documentation.
723+
724+ 5. You can remove the program binaries and object files from the
725+ source code directory by typing `make clean'. To also remove the
726+ files that `configure' created (so you can compile the package for
727+ a different kind of computer), type `make distclean'. There is
728+ also a `make maintainer-clean' target, but that is intended mainly
729+ for the package's developers. If you use it, you may have to get
730+ all sorts of other programs in order to regenerate files that came
731+ with the distribution.
732+
733+Compilers and Options
734+=====================
735+
736+Some systems require unusual options for compilation or linking that the
737+`configure' script does not know about. Run `./configure --help' for
738+details on some of the pertinent environment variables.
739+
740+ You can give `configure' initial values for configuration parameters
741+by setting variables in the command line or in the environment. Here
742+is an example:
743+
744+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
745+
746+ *Note Defining Variables::, for more details.
747+
748+Compiling For Multiple Architectures
749+====================================
750+
751+You can compile the package for more than one kind of computer at the
752+same time, by placing the object files for each architecture in their
753+own directory. To do this, you can use GNU `make'. `cd' to the
754+directory where you want the object files and executables to go and run
755+the `configure' script. `configure' automatically checks for the
756+source code in the directory that `configure' is in and in `..'.
757+
758+ With a non-GNU `make', it is safer to compile the package for one
759+architecture at a time in the source code directory. After you have
760+installed the package for one architecture, use `make distclean' before
761+reconfiguring for another architecture.
762+
763+Installation Names
764+==================
765+
766+By default, `make install' installs the package's commands under
767+`/usr/local/bin', include files under `/usr/local/include', etc. You
768+can specify an installation prefix other than `/usr/local' by giving
769+`configure' the option `--prefix=PREFIX'.
770+
771+ You can specify separate installation prefixes for
772+architecture-specific files and architecture-independent files. If you
773+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
774+PREFIX as the prefix for installing programs and libraries.
775+Documentation and other data files still use the regular prefix.
776+
777+ In addition, if you use an unusual directory layout you can give
778+options like `--bindir=DIR' to specify different values for particular
779+kinds of files. Run `configure --help' for a list of the directories
780+you can set and what kinds of files go in them.
781+
782+ If the package supports it, you can cause programs to be installed
783+with an extra prefix or suffix on their names by giving `configure' the
784+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
785+
786+Optional Features
787+=================
788+
789+Some packages pay attention to `--enable-FEATURE' options to
790+`configure', where FEATURE indicates an optional part of the package.
791+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
792+is something like `gnu-as' or `x' (for the X Window System). The
793+`README' should mention any `--enable-' and `--with-' options that the
794+package recognizes.
795+
796+ For packages that use the X Window System, `configure' can usually
797+find the X include and library files automatically, but if it doesn't,
798+you can use the `configure' options `--x-includes=DIR' and
799+`--x-libraries=DIR' to specify their locations.
800+
801+Specifying the System Type
802+==========================
803+
804+There may be some features `configure' cannot figure out automatically,
805+but needs to determine by the type of machine the package will run on.
806+Usually, assuming the package is built to be run on the _same_
807+architectures, `configure' can figure that out, but if it prints a
808+message saying it cannot guess the machine type, give it the
809+`--build=TYPE' option. TYPE can either be a short name for the system
810+type, such as `sun4', or a canonical name which has the form:
811+
812+ CPU-COMPANY-SYSTEM
813+
814+where SYSTEM can have one of these forms:
815+
816+ OS KERNEL-OS
817+
818+ See the file `config.sub' for the possible values of each field. If
819+`config.sub' isn't included in this package, then this package doesn't
820+need to know the machine type.
821+
822+ If you are _building_ compiler tools for cross-compiling, you should
823+use the option `--target=TYPE' to select the type of system they will
824+produce code for.
825+
826+ If you want to _use_ a cross compiler, that generates code for a
827+platform different from the build platform, you should specify the
828+"host" platform (i.e., that on which the generated programs will
829+eventually be run) with `--host=TYPE'.
830+
831+Sharing Defaults
832+================
833+
834+If you want to set default values for `configure' scripts to share, you
835+can create a site shell script called `config.site' that gives default
836+values for variables like `CC', `cache_file', and `prefix'.
837+`configure' looks for `PREFIX/share/config.site' if it exists, then
838+`PREFIX/etc/config.site' if it exists. Or, you can set the
839+`CONFIG_SITE' environment variable to the location of the site script.
840+A warning: not all `configure' scripts look for a site script.
841+
842+Defining Variables
843+==================
844+
845+Variables not defined in a site shell script can be set in the
846+environment passed to `configure'. However, some packages may run
847+configure again during the build, and the customized values of these
848+variables may be lost. In order to avoid this problem, you should set
849+them in the `configure' command line, using `VAR=value'. For example:
850+
851+ ./configure CC=/usr/local2/bin/gcc
852+
853+causes the specified `gcc' to be used as the C compiler (unless it is
854+overridden in the site shell script).
855+
856+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
857+an Autoconf bug. Until the bug is fixed you can use this workaround:
858+
859+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
860+
861+`configure' Invocation
862+======================
863+
864+`configure' recognizes the following options to control how it operates.
865+
866+`--help'
867+`-h'
868+ Print a summary of the options to `configure', and exit.
869+
870+`--version'
871+`-V'
872+ Print the version of Autoconf used to generate the `configure'
873+ script, and exit.
874+
875+`--cache-file=FILE'
876+ Enable the cache: use and save the results of the tests in FILE,
877+ traditionally `config.cache'. FILE defaults to `/dev/null' to
878+ disable caching.
879+
880+`--config-cache'
881+`-C'
882+ Alias for `--cache-file=config.cache'.
883+
884+`--quiet'
885+`--silent'
886+`-q'
887+ Do not print messages saying which checks are being made. To
888+ suppress all normal output, redirect it to `/dev/null' (any error
889+ messages will still be shown).
890+
891+`--srcdir=DIR'
892+ Look for the package's source code in directory DIR. Usually
893+ `configure' can determine that directory automatically.
894+
895+`configure' also accepts some other, not widely useful, options. Run
896+`configure --help' for more details.
897+
898+>>>>>>> MERGE-SOURCE
899
900=== modified file 'INSTALL.Unix'
901--- INSTALL.Unix 2010-08-16 19:45:48 +0000
902+++ INSTALL.Unix 2012-07-09 01:33:23 +0000
903@@ -1,3 +1,4 @@
904+<<<<<<< TREE
905 Apache CouchDB README.Unix
906 ==========================
907
908@@ -229,3 +230,236 @@
909 /Library/LaunchDaemons
910
911 Consult your system documentation for more information.
912+=======
913+Apache CouchDB README.Unix
914+==========================
915+
916+A high-level guide to Unix-like systems, inc. Mac OS X and Ubuntu.
917+
918+Dependencies
919+------------
920+
921+You will need the following installed:
922+
923+ * Erlang OTP (>=R13B2) (http://erlang.org/)
924+ * ICU (http://icu.sourceforge.net/)
925+ * OpenSSL (http://www.openssl.org/)
926+ * Mozilla SpiderMonkey (1.8) (http://www.mozilla.org/js/spidermonkey/)
927+ * libcurl (http://curl.haxx.se/libcurl/)
928+ * GNU Make (http://www.gnu.org/software/make/)
929+ * GNU Compiler Collection (http://gcc.gnu.org/)
930+
931+It is recommended that you install Erlang OTP R12B-5 or above where possible.
932+
933+Ubuntu
934+~~~~~~
935+
936+See
937+
938+ http://wiki.apache.org/couchdb/Installing_on_Ubuntu
939+
940+for updated instructions on how to install on Ubuntu.
941+
942+Debian-based Systems
943+~~~~~~~~~~~~~~~~~~~~
944+
945+You can install the build tools by running:
946+
947+ sudo apt-get install build-essential
948+
949+You can install the other dependencies by running:
950+
951+ sudo apt-get install erlang libicu-dev libmozjs-dev libcurl4-openssl-dev
952+
953+Be sure to update the version numbers to match your system's available packages.
954+
955+Mac OS X
956+~~~~~~~~
957+
958+You can install the build tools by running:
959+
960+ open /Applications/Installers/Xcode\ Tools/XcodeTools.mpkg
961+
962+You can install the other dependencies by running:
963+
964+ sudo port install icu erlang spidermonkey curl
965+
966+You will need MacPorts installed to use the `port` command.
967+
968+Installing
969+----------
970+
971+Once you have satisfied the dependencies you should run:
972+
973+ ./configure
974+
975+This script will configure CouchDB to be installed into `/usr/local` by default.
976+
977+If you wish to customise the installation, pass `--help` to this script.
978+
979+If everything was successful you should see the following message:
980+
981+ You have configured Apache CouchDB, time to relax.
982+
983+Relax.
984+
985+To install CouchDB you should run:
986+
987+ make && sudo make install
988+
989+You only need to use `sudo` if you're installing into a system directory.
990+
991+Try `gmake` if `make` is giving you any problems.
992+
993+If everything was successful you should see the following message:
994+
995+ You have installed Apache CouchDB, time to relax.
996+
997+Relax.
998+
999+First Run
1000+---------
1001+
1002+You can start the CouchDB server by running:
1003+
1004+ sudo -i -u couchdb couchdb
1005+
1006+This uses the `sudo` command to run the `couchdb` command as the `couchdb` user.
1007+
1008+When CouchDB starts it should eventually display the following message:
1009+
1010+ Apache CouchDB has started, time to relax.
1011+
1012+Relax.
1013+
1014+To check that everything has worked, point your web browser to:
1015+
1016+ http://127.0.0.1:5984/_utils/index.html
1017+
1018+From here you should run the test suite.
1019+
1020+Security Considerations
1021+-----------------------
1022+
1023+You should create a special `couchdb` user for CouchDB.
1024+
1025+On many Unix-like systems you can run:
1026+
1027+ adduser --system \
1028+ --home /usr/local/var/lib/couchdb \
1029+ --no-create-home \
1030+ --shell /bin/bash \
1031+ --group --gecos \
1032+ "CouchDB Administrator" couchdb
1033+
1034+On Mac OS X you can use the Workgroup Manager to create users:
1035+
1036+ http://www.apple.com/support/downloads/serveradmintools1047.html
1037+
1038+You must make sure that:
1039+
1040+ * The user has a working POSIX shell
1041+
1042+ * The user's home directory is `/usr/local/var/lib/couchdb`
1043+
1044+You can test this by:
1045+
1046+ * Trying to log in as the `couchdb` user
1047+
1048+ * Running `pwd` and checking the present working directory
1049+
1050+Change the ownership of the CouchDB directories by running:
1051+
1052+ chown -R couchdb:couchdb /usr/local/etc/couchdb
1053+ chown -R couchdb:couchdb /usr/local/var/lib/couchdb
1054+ chown -R couchdb:couchdb /usr/local/var/log/couchdb
1055+ chown -R couchdb:couchdb /usr/local/var/run/couchdb
1056+
1057+Change the permission of the CouchDB directories by running:
1058+
1059+ chmod 0770 /usr/local/etc/couchdb
1060+ chmod 0770 /usr/local/var/lib/couchdb
1061+ chmod 0770 /usr/local/var/log/couchdb
1062+ chmod 0770 /usr/local/var/run/couchdb
1063+
1064+Running as a Daemon
1065+-------------------
1066+
1067+SysV/BSD-style Systems
1068+~~~~~~~~~~~~~~~~~~~~~~
1069+
1070+You can use the `couchdb` init script to control the CouchDB daemon.
1071+
1072+On SysV-style systems, the init script will be installed into:
1073+
1074+ /usr/local/etc/init.d
1075+
1076+On BSD-style systems, the init script will be installed into:
1077+
1078+ /usr/local/etc/rc.d
1079+
1080+We use the `[init.d|rc.d]` notation to refer to both of these directories.
1081+
1082+You can control the CouchDB daemon by running:
1083+
1084+ /usr/local/etc/[init.d|rc.d]/couchdb [start|stop|restart|status]
1085+
1086+If you wish to configure how the init script works, you can edit:
1087+
1088+ /usr/local/etc/default/couchdb
1089+
1090+Comment out the `COUCHDB_USER` setting if you're running as a non-superuser.
1091+
1092+To start the daemon on boot, copy the init script to:
1093+
1094+ /etc/[init.d|rc.d]
1095+
1096+You should then configure your system to run the init script automatically.
1097+
1098+You may be able to run:
1099+
1100+ sudo update-rc.d couchdb defaults
1101+
1102+If this fails, consult your system documentation for more information.
1103+
1104+A `logrotate` configuration is installed into:
1105+
1106+ /usr/local/etc/logrotate.d/couchdb
1107+
1108+Consult your `logrotate` documentation for more information.
1109+
1110+It is critical that the CouchDB logs are rotated so as not to fill your disk.
1111+
1112+Mac OS X
1113+~~~~~~~~
1114+
1115+You can use the `launchctl` command to control the CouchDB daemon.
1116+
1117+You can load the configuration by running:
1118+
1119+ sudo launchctl load \
1120+ /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist
1121+
1122+You can stop the CouchDB daemon by running:
1123+
1124+ sudo launchctl unload \
1125+ /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist
1126+
1127+You can start CouchDB by running:
1128+
1129+ sudo launchctl start org.apache.couchdb
1130+
1131+You can restart CouchDB by running:
1132+
1133+ sudo launchctl stop org.apache.couchdb
1134+
1135+You can edit the launchd configuration by running:
1136+
1137+ open /usr/local/Library/LaunchDaemons/org.apache.couchdb.plist
1138+
1139+To start the daemon on boot, copy the configuration file to:
1140+
1141+ /Library/LaunchDaemons
1142+
1143+Consult your system documentation for more information.
1144+>>>>>>> MERGE-SOURCE
1145
1146=== modified file 'INSTALL.Windows'
1147--- INSTALL.Windows 2010-07-26 10:24:11 +0000
1148+++ INSTALL.Windows 2012-07-09 01:33:23 +0000
1149@@ -1,3 +1,4 @@
1150+<<<<<<< TREE
1151 Apache CouchDB README.Windows
1152 ==============================
1153
1154@@ -146,3 +147,158 @@
1155 http://127.0.0.1:5984/_utils/index.html
1156
1157 From here you should run the test suite.
1158+=======
1159+Apache CouchDB README.Windows
1160+==============================
1161+
1162+For a high-level guide to Microsoft Windows.
1163+
1164+Dependencies
1165+------------
1166+
1167+You will need the following installed:
1168+
1169+ * Erlang OTP (>=14B03) (http://erlang.org/)
1170+ * ICU (=4.4.*) (http://icu.sourceforge.net/)
1171+ * OpenSSL (http://www.openssl.org/)
1172+ * Mozilla SpiderMonkey (1.8) (http://www.mozilla.org/js/spidermonkey/)
1173+ * libcurl (http://curl.haxx.se/libcurl/)
1174+ * Cygwin (http://www.cygwin.com/)
1175+ * Visual Studio 2008 (http://msdn.microsoft.com/en-gb/vstudio/default.aspx)
1176+
1177+General Notes
1178+-------------
1179+
1180+ * When installing Erlang, you must build it from source.
1181+
1182+The CouchDB build requires a number of the Erlang build scripts.
1183+
1184+ * When installing ICU, select the binaries built with Visual Studio 2008.
1185+
1186+ * When installing Cygwin, be sure to select all the `development` tools.
1187+
1188+ * When installing libcurl, be sure to install by hand.
1189+
1190+ The Cygwin binaries are incompatible and will not work with Erlang.
1191+
1192+Setting Up Cygwin
1193+-----------------
1194+
1195+Before starting any Cygwin terminals, run:
1196+
1197+ set CYGWIN=nontsec
1198+
1199+To set up your environment, run:
1200+
1201+ [VS_BIN]/vcvars32.bat
1202+
1203+Replace [VS_BIN] with the path to your Visual Studio `bin` directory.
1204+
1205+You must check that:
1206+
1207+ * The `which link` command points to the Microsoft linker.
1208+
1209+ * The `which cl` command points to the Microsoft compiler.
1210+
1211+ * The `which mc` command points to the Microsoft message compiler.
1212+
1213+ * The `which mt` command points to the Microsoft manifest tool.
1214+
1215+If you do not do this, the build may fail due to Cygwin ones found in `/usr/bin`
1216+being used instead.
1217+
1218+Building Erlang
1219+---------------
1220+
1221+You must include Win32 OpenSSL.
1222+
1223+However, you can skip the GUI tools by running:
1224+
1225+ echo "skipping gs" > lib/gs/SKIP
1226+
1227+ echo "skipping ic" > lib/ic/SKIP
1228+
1229+Follow the rest of the Erlang instructions as described.
1230+
1231+After running:
1232+
1233+ ./otp_build release -a
1234+
1235+You should run:
1236+
1237+ ./release/win32/Install.exe
1238+
1239+This will set up the release/win32/bin directory correctly.
1240+
1241+To set up your environment for building CouchDB, run:
1242+
1243+ eval `./otp_build env_win32`
1244+
1245+To set up the `ERL_TOP` environment variable, run:
1246+
1247+ export ERL_TOP=[ERL_TOP]
1248+
1249+Replace `[ERL_TOP]` with the Erlang source directory name.
1250+
1251+Remember to use `/cygdrive/c/` instead of `c:/` as the directory prefix.
1252+
1253+To set up your path, run:
1254+
1255+ export PATH=$ERL_TOP/release/win32/erts-5.8.2/bin:$PATH
1256+
1257+If everything was successful, you should be ready to build CouchDB.
1258+
1259+Relax.
1260+
1261+Building CouchDB
1262+----------------
1263+
1264+Once you have satisfied the dependencies you should run:
1265+
1266+ ./configure \
1267+ --with-js-include=/cygdrive/c/path_to_spidermonkey_include \
1268+ --with-js-lib=/cygdrive/c/path_to_spidermonkey_lib \
1269+ --with-win32-icu-binaries=/cygdrive/c/path_to_icu_binaries_root \
1270+ --with-erlang=$ERL_TOP/release/win32/usr/include \
1271+ --with-win32-curl=/cygdrive/c/path/to/curl/root/directory \
1272+ --with-openssl-bin-dir=/cygdrive/c/openssl/bin \
1273+ --with-msvc-redist-dir=/cygdrive/c/dir/with/vcredist_platform_executable \
1274+ --prefix=$ERL_TOP/release/win32
1275+
1276+This command could take a while to complete.
1277+
1278+If everything was successful you should see the following message:
1279+
1280+ You have configured Apache CouchDB, time to relax.
1281+
1282+Relax.
1283+
1284+To install CouchDB you should run:
1285+
1286+ make install
1287+
1288+If everything was successful you should see the following message:
1289+
1290+ You have installed Apache CouchDB, time to relax.
1291+
1292+Relax.
1293+
1294+First Run
1295+---------
1296+
1297+You can start the CouchDB server by running:
1298+
1299+ $ERL_TOP/release/win32/bin/couchdb.bat
1300+
1301+When CouchDB starts it should eventually display the following message:
1302+
1303+ Apache CouchDB has started, time to relax.
1304+
1305+Relax.
1306+
1307+To check that everything has worked, point your web browser to:
1308+
1309+ http://127.0.0.1:5984/_utils/index.html
1310+
1311+From here you should run the test suite in either Firefox 3.6+ or Safari 4+.
1312+>>>>>>> MERGE-SOURCE
1313
1314=== modified file 'LICENSE'
1315--- LICENSE 2009-10-13 16:50:35 +0000
1316+++ LICENSE 2012-07-09 01:33:23 +0000
1317@@ -239,6 +239,35 @@
1318 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1319 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1320
1321+For the share/www/script/jquery-ui-1.8.11.custom.min.js and
1322+ share/www/style/jquery-ui-1.8.11.custom.css components:
1323+
1324+ Copyright (c) 2011 Paul Bakaus, http://jqueryui.com/
1325+
1326+ This software consists of voluntary contributions made by many
1327+ individuals (AUTHORS.txt, http://jqueryui.com/about) For exact
1328+ contribution history, see the revision history and logs, available
1329+ at http://jquery-ui.googlecode.com/svn/
1330+
1331+ Permission is hereby granted, free of charge, to any person obtaining
1332+ a copy of this software and associated documentation files (the
1333+ "Software"), to deal in the Software without restriction, including
1334+ without limitation the rights to use, copy, modify, merge, publish,
1335+ distribute, sublicense, and/or sell copies of the Software, and to
1336+ permit persons to whom the Software is furnished to do so, subject to
1337+ the following conditions:
1338+
1339+ The above copyright notice and this permission notice shall be
1340+ included in all copies or substantial portions of the Software.
1341+
1342+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1343+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1344+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1345+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
1346+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
1347+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
1348+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1349+
1350 For the share/www/script/jquery.form.js component:
1351
1352 http://malsup.com/jquery/form/
1353
1354=== modified file 'Makefile.am'
1355--- Makefile.am 2010-08-16 19:45:48 +0000
1356+++ Makefile.am 2012-07-09 01:33:23 +0000
1357@@ -140,7 +140,11 @@
1358 distsign: distcheck check
1359 @# @@ unpack archive and run diff -r to double check missing files
1360 @# @@ does automake have anything that does this?
1361+<<<<<<< TREE
1362 gpg --armor --detach-sig --default-key 8FBFCFBF \
1363+=======
1364+ gpg --armor --detach-sig --default-key DF3CEBA3 \
1365+>>>>>>> MERGE-SOURCE
1366 < $(top_srcdir)/$(distdir).tar.gz \
1367 > $(top_srcdir)/$(distdir).tar.gz.asc
1368 md5sum $(top_srcdir)/$(distdir).tar.gz \
1369
1370=== modified file 'Makefile.in'
1371--- Makefile.in 2010-08-16 19:45:48 +0000
1372+++ Makefile.in 2012-07-09 01:33:23 +0000
1373@@ -1,9 +1,17 @@
1374+<<<<<<< TREE
1375 # Makefile.in generated by automake 1.11 from Makefile.am.
1376+=======
1377+# Makefile.in generated by automake 1.10 from Makefile.am.
1378+>>>>>>> MERGE-SOURCE
1379 # @configure_input@
1380
1381 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
1382+<<<<<<< TREE
1383 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
1384 # Inc.
1385+=======
1386+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1387+>>>>>>> MERGE-SOURCE
1388 # This Makefile.in is free software; the Free Software Foundation
1389 # gives unlimited permission to copy and/or distribute it,
1390 # with or without modifications, as long as this notice is preserved.
1391@@ -192,7 +200,6 @@
1392 MKDIR_P = @MKDIR_P@
1393 NM = @NM@
1394 NMEDIT = @NMEDIT@
1395-OBJDUMP = @OBJDUMP@
1396 OBJEXT = @OBJEXT@
1397 OTOOL = @OTOOL@
1398 OTOOL64 = @OTOOL64@
1399@@ -279,7 +286,6 @@
1400 srcdir = @srcdir@
1401 sysconfdir = @sysconfdir@
1402 target_alias = @target_alias@
1403-top_build_prefix = @top_build_prefix@
1404 top_builddir = @top_builddir@
1405 top_srcdir = @top_srcdir@
1406 version = @version@
1407@@ -383,7 +389,7 @@
1408 -rm -rf .libs _libs
1409
1410 distclean-libtool:
1411- -rm -f libtool config.lt
1412+ -rm -f libtool
1413 install-localdocDATA: $(localdoc_DATA)
1414 @$(NORMAL_INSTALL)
1415 test -z "$(localdocdir)" || $(MKDIR_P) "$(DESTDIR)$(localdocdir)"
1416@@ -480,8 +486,8 @@
1417 unique=`for i in $$list; do \
1418 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1419 done | \
1420- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1421- END { if (nonempty) { for (i in files) print i; }; }'`; \
1422+ $(AWK) ' { files[$$0] = 1; } \
1423+ END { for (i in files) print i; }'`; \
1424 mkid -fID $$unique
1425 tags: TAGS
1426
1427@@ -506,10 +512,16 @@
1428 unique=`for i in $$list; do \
1429 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1430 done | \
1431+<<<<<<< TREE
1432 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1433 END { if (nonempty) { for (i in files) print i; }; }'`; \
1434 shift; \
1435 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1436+=======
1437+ $(AWK) ' { files[$$0] = 1; } \
1438+ END { for (i in files) print i; }'`; \
1439+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1440+>>>>>>> MERGE-SOURCE
1441 test -n "$$unique" || unique=$$empty_fix; \
1442 if test $$# -gt 0; then \
1443 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1444@@ -522,13 +534,24 @@
1445 ctags: CTAGS
1446 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
1447 $(TAGS_FILES) $(LISP)
1448+<<<<<<< TREE
1449+=======
1450+ tags=; \
1451+ here=`pwd`; \
1452+>>>>>>> MERGE-SOURCE
1453 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1454 unique=`for i in $$list; do \
1455 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1456 done | \
1457+<<<<<<< TREE
1458 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1459 END { if (nonempty) { for (i in files) print i; }; }'`; \
1460 test -z "$(CTAGS_ARGS)$$unique" \
1461+=======
1462+ $(AWK) ' { files[$$0] = 1; } \
1463+ END { for (i in files) print i; }'`; \
1464+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
1465+>>>>>>> MERGE-SOURCE
1466 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1467 $$unique
1468
1469@@ -600,11 +623,18 @@
1470 || exit 1; \
1471 fi; \
1472 done
1473+<<<<<<< TREE
1474 $(MAKE) $(AM_MAKEFLAGS) \
1475 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1476 dist-hook
1477 -test -n "$(am__skip_mode_fix)" \
1478 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1479+=======
1480+ $(MAKE) $(AM_MAKEFLAGS) \
1481+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
1482+ dist-hook
1483+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1484+>>>>>>> MERGE-SOURCE
1485 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1486 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1487 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1488@@ -617,6 +647,7 @@
1489 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1490 $(am__remove_distdir)
1491
1492+<<<<<<< TREE
1493 dist-lzma: distdir
1494 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1495 $(am__remove_distdir)
1496@@ -625,6 +656,8 @@
1497 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
1498 $(am__remove_distdir)
1499
1500+=======
1501+>>>>>>> MERGE-SOURCE
1502 dist-tarZ: distdir
1503 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1504 $(am__remove_distdir)
1505@@ -651,10 +684,13 @@
1506 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
1507 *.tar.bz2*) \
1508 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
1509+<<<<<<< TREE
1510 *.tar.lzma*) \
1511 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
1512 *.tar.xz*) \
1513 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1514+=======
1515+>>>>>>> MERGE-SOURCE
1516 *.tar.Z*) \
1517 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1518 *.shar.gz*) \
1519@@ -775,8 +811,14 @@
1520 info-am:
1521
1522 install-data-am: install-localdocDATA
1523- @$(NORMAL_INSTALL)
1524- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1525+<<<<<<< TREE
1526+ @$(NORMAL_INSTALL)
1527+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1528+=======
1529+ @$(NORMAL_INSTALL)
1530+ $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1531+
1532+>>>>>>> MERGE-SOURCE
1533 install-dvi: install-dvi-recursive
1534
1535 install-dvi-am:
1536@@ -823,13 +865,19 @@
1537
1538 uninstall-am: uninstall-localdocDATA
1539
1540+<<<<<<< TREE
1541 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
1542 ctags-recursive install-am install-data-am install-strip \
1543 tags-recursive
1544+=======
1545+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
1546+ install-data-am install-strip
1547+>>>>>>> MERGE-SOURCE
1548
1549 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1550 all all-am am--refresh check check-am clean clean-generic \
1551 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
1552+<<<<<<< TREE
1553 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
1554 dist-zip distcheck distclean distclean-generic distclean-hdr \
1555 distclean-libtool distclean-local distclean-tags \
1556@@ -843,6 +891,21 @@
1557 installdirs-am maintainer-clean maintainer-clean-generic \
1558 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
1559 ps ps-am tags tags-recursive uninstall uninstall-am \
1560+=======
1561+ dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
1562+ distclean distclean-generic distclean-hdr distclean-libtool \
1563+ distclean-local distclean-tags distcleancheck distdir \
1564+ distuninstallcheck dvi dvi-am html html-am info info-am \
1565+ install install-am install-data install-data-am \
1566+ install-data-hook install-dvi install-dvi-am install-exec \
1567+ install-exec-am install-html install-html-am install-info \
1568+ install-info-am install-localdocDATA install-man install-pdf \
1569+ install-pdf-am install-ps install-ps-am install-strip \
1570+ installcheck installcheck-am installdirs installdirs-am \
1571+ maintainer-clean maintainer-clean-generic mostlyclean \
1572+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1573+ tags tags-recursive uninstall uninstall-am \
1574+>>>>>>> MERGE-SOURCE
1575 uninstall-localdocDATA
1576
1577
1578@@ -941,7 +1004,11 @@
1579 distsign: distcheck check
1580 @# @@ unpack archive and run diff -r to double check missing files
1581 @# @@ does automake have anything that does this?
1582+<<<<<<< TREE
1583 gpg --armor --detach-sig --default-key 8FBFCFBF \
1584+=======
1585+ gpg --armor --detach-sig --default-key DF3CEBA3 \
1586+>>>>>>> MERGE-SOURCE
1587 < $(top_srcdir)/$(distdir).tar.gz \
1588 > $(top_srcdir)/$(distdir).tar.gz.asc
1589 md5sum $(top_srcdir)/$(distdir).tar.gz \
1590
1591=== modified file 'NEWS'
1592--- NEWS 2010-08-16 19:45:48 +0000
1593+++ NEWS 2012-07-09 01:33:23 +0000
1594@@ -7,6 +7,7 @@
1595
1596 Each release section notes when backwards incompatible changes have been made.
1597
1598+<<<<<<< TREE
1599 Version 1.0.1
1600 -------------
1601
1602@@ -140,10 +141,222 @@
1603 * Fixed a bug preventing mixing languages with lists and views.
1604 * Avoid OS process leaks in lists.
1605
1606+=======
1607+Version 1.1.1
1608+-------------
1609+
1610+* Support SpiderMonkey 1.8.5
1611+* Add configurable maximum to the number of bytes returned by _log.
1612+* Allow CommonJS modules to be an empty string.
1613+* Bump minimum Erlang version to R13B02.
1614+* Do not run deleted validate_doc_update functions.
1615+* ETags for views include current sequence if include_docs=true.
1616+* Fix bug where duplicates can appear in _changes feed.
1617+* Fix bug where update handlers break after conflict resolution.
1618+* Fix bug with _replicator where include "filter" could crash couch.
1619+* Fix crashes when compacting large views.
1620+* Fix file descriptor leak in _log
1621+* Fix missing revisions in _changes?style=all_docs.
1622+* Improve handling of compaction at max_dbs_open limit.
1623+* JSONP responses now send "text/javascript" for Content-Type.
1624+* Link to ICU 4.2 on Windows.
1625+* Permit forward slashes in path to update functions.
1626+* Reap couchjs processes that hit reduce_overflow error.
1627+* Status code can be specified in update handlers.
1628+* Support provides() in show functions.
1629+* _view_cleanup when ddoc has no views now removes all index files.
1630+* max_replication_retry_count now supports "infinity".
1631+* Fix replication crash when source database has a document with empty ID.
1632+* Fix deadlock when assigning couchjs processes to serve requests.
1633+* Fixes to the document multipart PUT API.
1634+* Fixes regarding file descriptor leaks for databases with views.
1635+
1636+Version 1.1.0
1637+-------------
1638+
1639+All NEWS for 1.0.2 also apply to 1.1.0.
1640+
1641+This release contains backwards incompatible changes.
1642+
1643+ * Native SSL support.
1644+ * Added support for HTTP range requests for attachments.
1645+ * Added built-in filters for `_changes`: `_doc_ids` and `_design`.
1646+ * Added configuration option for TCP_NODELAY aka "Nagle".
1647+ * Allow wildcards in vhosts definitions.
1648+ * More granular ETag support for views.
1649+ * More flexible URL rewriter.
1650+ * Added OS Process module to manage daemons outside of CouchDB.
1651+ * Added HTTP Proxy handler for more scalable externals.
1652+ * Added `_replicator` database to manage replications.
1653+ * Multiple micro-optimizations when reading data.
1654+ * Added CommonJS support to map functions.
1655+ * Added `stale=update_after` query option that triggers a view update after
1656+ returning a `stale=ok` response.
1657+ * More explicit error messages when it's not possible to access a file due
1658+ to lack of permissions.
1659+ * Added a "change password"-feature to Futon.
1660+
1661+Version 1.0.2
1662+-------------
1663+
1664+ * Make test suite work with Safari and Chrome.
1665+ * Fix leaking file handles after compacting databases and views.
1666+ * Fix databases forgetting their validation function after compaction.
1667+ * Fix occasional timeout errors.
1668+ * Reduce lengthy stack traces.
1669+ * Allow logging of native <xml> types.
1670+ * Updated ibrowse library to 2.1.2 fixing numerous replication issues.
1671+ * Fix authenticated replication of design documents with attachments.
1672+ * Fix multipart GET APIs by always sending attachments in compressed
1673+ form when the source attachment is compressed on disk. Fixes a possible
1674+ edge case when an attachment underwent local-local replication.
1675+ * Various fixes to make replicated more resilient for edge-cases.
1676+ * Don't trigger a view update when requesting `_design/doc/_info`.
1677+ * Fix for circular references in CommonJS requires.
1678+ * Fix for frequently edited documents in multi-master deployments being
1679+ duplicated in _changes and _all_docs.
1680+ * Fix spurious conflict generation during attachment uploads.
1681+ * Fix for various bugs in Futon.
1682+
1683+Version 1.0.1
1684+-------------
1685+
1686+ * Fix data corruption bug COUCHDB-844. Please see
1687+ http://couchdb.apache.org/notice/1.0.1.html for details.
1688+ * Added support for replication via an HTTP/HTTPS proxy.
1689+ * Fixed various replicator bugs for interop with older CouchDB versions.
1690+ * Show fields saved along with _deleted=true. Allows for auditing of deletes.
1691+ * Enable basic-auth popup when required to access the server, to prevent
1692+ people from getting locked out.
1693+ * User interface element for querying stale (cached) views.
1694+
1695+Version 1.0.0
1696+-------------
1697+
1698+ * More efficient header commits.
1699+ * Use O_APPEND to save lseeks.
1700+ * Faster implementation of pread_iolist(). Further improves performance on
1701+ concurrent reads.
1702+ * Added authentication caching
1703+ * Faster default view collation.
1704+ * Added option to include update_seq in view responses.
1705+
1706+Version 0.11.2
1707+--------------
1708+
1709+ * Replicator buxfixes for replicating design documents from secured databases.
1710+ * Better error messages on invalid URL requests.
1711+ * User documents can now be deleted by admins or the user.
1712+ * Avoid potential DOS attack by guarding all creation of atoms.
1713+ * Some Futon and JavaScript library bugfixes.
1714+ * Fixed CVE-2010-2234: Apache CouchDB Cross Site Request Forgery Attack
1715+
1716+Version 0.11.1
1717+--------------
1718+
1719+ * Mask passwords in active tasks and logging.
1720+ * Update mochijson2 to allow output of BigNums not in float form.
1721+ * Added support for X-HTTP-METHOD-OVERRIDE.
1722+ * Disable jsonp by default.
1723+ * Accept gzip encoded standalone attachments.
1724+ * Made max_concurrent_connections configurable.
1725+ * Added continuous replication option to Futon.
1726+ * Added option to replicating test results anonymously to a community
1727+ CouchDB instance.
1728+ * Allow creation and deletion of config entries in Futon.
1729+ * Fixed various UI issues in Futon.
1730+ * Fixed compatibility with the Erlang R14 series.
1731+ * Fixed warnings on Linux builds.
1732+ * Fixed build error when aclocal needs to be called during the build.
1733+ * Require ICU 4.3.1.
1734+ * Fixed compatibility with Solaris.
1735+ * Added authentication redirect URL to log in clients.
1736+ * Added authentication caching, to avoid repeated opening and closing of the
1737+ users database for each request requiring authentication.
1738+ * Made authentication timeout configurable.
1739+ * Temporary views are now admin-only resources.
1740+ * Don't require a revpos for attachment stubs.
1741+ * Make file deletions async to avoid pauses during compaction and db
1742+ deletion.
1743+ * Fixed for wrong offset when writing headers and converting them to blocks,
1744+ only triggered when header is larger than 4k.
1745+ * Preserve _revs_limit and instance_start_time after compaction.
1746+ * Fixed timeout with large .ini files.
1747+ * Added tests for couch.js and jquery.couch.js
1748+ * Added various API features to jquery.couch.js
1749+ * Faster default view collation.
1750+ * Upgrade CommonJS modules support to 1.1.1.
1751+ * Added option to include update_seq in view responses.
1752+ * Fixed erlang filter funs and normalize filter fun API.
1753+ * Fixed hang in view shutdown.
1754+ * Refactored various internal APIs related to attachment streaming.
1755+ * Fixed hanging replication.
1756+ * Fixed keepalive issue.
1757+ * Allow global rewrites so system defaults are available in vhosts.
1758+ * Allow isolation of databases with vhosts.
1759+ * Made the test suite overall more reliable.
1760+
1761+Version 0.11.0
1762+--------------
1763+
1764+This version is a feature-freeze release candidate for Apache CouchDB 1.0.
1765+
1766+ * Fixed CVE-2010-0009: Apache CouchDB Timing Attack Vulnerability.
1767+ * Added support for building a Windows installer as part of 'make dist'.
1768+ * Added optional 'raw' binary collation for faster view builds where Unicode
1769+ collation is not important.
1770+ * Improved view index build time by reducing ICU collation callouts.
1771+ * Added option to implicitly create replication target databases.
1772+ * Improved view information objects.
1773+ * Bug fix for partial updates during view builds.
1774+ * Bug fix for building couch.app's module list.
1775+ * Fixed a problem with statistics timers and system sleep.
1776+ * Improved the statistics calculations to use an online moving window
1777+ algorithm.
1778+ * Adds batching of multiple updating requests, to improve throughput with many
1779+ writers.
1780+ * Removed the now redundant couch_batch_save module.
1781+ * Bug fix for premature termination of chunked responses.
1782+ * Improved speed and concurrency of config lookups.
1783+ * Fixed an edge case for HTTP redirects during replication.
1784+ * Fixed HTTP timeout handling for replication.
1785+ * Fixed query parameter handling in OAuth'd replication.
1786+ * Fixed a bug preventing mixing languages with lists and views.
1787+ * Avoid OS process leaks in lists.
1788+ * Avoid leaking file descriptors on automatic replication restarts.
1789+ * Various improvements to the Futon UI.
1790+ * Provide Content-MD5 header support for attachments.
1791+ * Added default cookie-authentication and users db.
1792+ * Added per-db reader access control lists.
1793+ * Added per-db security object for configuration data in validation functions.
1794+ * Added URL Rewriter handler.
1795+ * Added proxy authentication handler.
1796+ * Added ability to replicate documents by id.
1797+ * Added virtual host handling.
1798+ * Uses json2.js for JSON serialization compatiblity with native JSON.
1799+ * Fixed CVE-2010-0009: Apache CouchDB Timing Attack Vulnerability.
1800+
1801+Version 0.10.2
1802+--------------
1803+
1804+ * Fixed CVE-2010-0009: Apache CouchDB Timing Attack Vulnerability.
1805+
1806+Version 0.10.1
1807+--------------
1808+
1809+ * Fixed test suite to work with build system.
1810+ * Fixed a problem with statistics timers and system sleep.
1811+ * Fixed an edge case for HTTP redirects during replication.
1812+ * Fixed HTTP timeout handling for replication.
1813+ * Fixed query parameter handling in OAuth'd replication.
1814+ * Fixed a bug preventing mixing languages with lists and views.
1815+ * Avoid OS process leaks in lists.
1816+
1817+>>>>>>> MERGE-SOURCE
1818 Version 0.10.0
1819 --------------
1820
1821-This release contains backwards incompatible changes, please see above for help.
1822+This release contains backwards incompatible changes.
1823
1824 * General performance improvements.
1825 * View index generation speedups.
1826@@ -175,7 +388,7 @@
1827 Version 0.9.0
1828 -------------
1829
1830-This release contains backwards incompatible changes, please see above for help.
1831+This release contains backwards incompatible changes.
1832
1833 * Modular configuration.
1834 * Performance enhancements for document and view access.
1835@@ -199,7 +412,7 @@
1836 Version 0.8.0-incubating
1837 ------------------------
1838
1839-This release contains backwards incompatible changes, please see above for help.
1840+This release contains backwards incompatible changes.
1841
1842 * Changed core licensing to the Apache Software License 2.0.
1843 * Refactoring of the core view and storage engines.
1844
1845=== modified file 'NOTICE'
1846--- NOTICE 2010-07-26 10:24:11 +0000
1847+++ NOTICE 2012-07-09 01:33:23 +0000
1848@@ -16,7 +16,15 @@
1849
1850 * jQuery (http://jquery.com/)
1851
1852- Copyright 2010, John Resig
1853+<<<<<<< TREE
1854+ Copyright 2010, John Resig
1855+=======
1856+ Copyright 2010, John Resig
1857+
1858+ * jQuery UI (http://jqueryui.com)
1859+
1860+ Copyright 2011, Paul Bakaus
1861+>>>>>>> MERGE-SOURCE
1862
1863 * json2.js (http://www.json.org/)
1864
1865@@ -41,6 +49,7 @@
1866 * mimeparse.js (http://code.google.com/p/mimeparse/)
1867
1868 Copyright 2009, Chris Anderson <jchris@apache.org>
1869+<<<<<<< TREE
1870
1871 * base64.js
1872
1873@@ -49,3 +58,13 @@
1874 * jspec.js (http://visionmedia.github.com/jspec/)
1875
1876 Copyright 2010 TJ Holowaychuk <tj@vision-media.ca>
1877+=======
1878+
1879+ * base64.js
1880+
1881+ Copyright 1999, Masanao Izumo <iz@onicos.co.jp>
1882+
1883+ * jspec.js (http://visionmedia.github.com/jspec/)
1884+
1885+ Copyright 2010 TJ Holowaychuk <tj@vision-media.ca>
1886+>>>>>>> MERGE-SOURCE
1887
1888=== modified file 'THANKS'
1889--- THANKS 2010-08-16 19:45:48 +0000
1890+++ THANKS 2012-07-09 01:33:23 +0000
1891@@ -34,36 +34,88 @@
1892 * Sven Helmberger <sven.helmberger@gmx.de>
1893 * Dan Walters <dan@danwalters.net>
1894 * Curt Arnold <carnold@apache.org>
1895- * Gustavo Niemeyer
1896- * Joshua Bronson <jabronson@gmail.com>
1897- * Kostis Sagonas <kostis@cs.ntua.gr>
1898- * Matthew Hooker <mwhooker@gmail.com>
1899- * Ilia Cheishvili <ilia.cheishvili@gmail.com>
1900- * Lena Herrmann <lena@zeromail.org>
1901- * Jack Moffit <metajack@gmail.com>
1902- * Damjan Georgievski <gdamjan@gmail.com>
1903- * Jan Kassens <jan@kassens.net>
1904- * James Marca <jmarca@translab.its.uci.edu>
1905- * Matt Goodall <matt.goodall@gmail.com>
1906- * Joel Clark <unsigned_char@yahoo.com>
1907- * Matt Lyon <matt@flowerpowered.com>
1908- * mikeal <mikeal.rogers@gmail.com>
1909- * Randall Leeds <randall.leeds@gmail.com>
1910- * Joscha Feth <joscha@feth.com>
1911- * Jarrod Roberson <jarrod@vertigrated.com>
1912- * Jae Kwon <jkwon.work@gmail.com>
1913- * Gavin Sherry <swm@alcove.com.au>
1914- * Timothy Smith <tim@couch.io>
1915- * Martin Haaß <MartinHaass@gmx.net>
1916- * Hans Ulrich Niedermann <hun@n-dimensional.de>
1917- * Jason Smith <jhs@proven-corporation.com>
1918- * Dmitry Unkovsky <oil.crayons@gmail.com>
1919- * Zachary Zolton <zachary.zolton@gmail.com>
1920- * Brian Jenkins <bonkydog@bonkydog.com>
1921- * Paul Bonser <pib@paulbonser.com>
1922- * Caleb Land <caleb.land@gmail.com>
1923- * Juhani Ränkimies <juhani@juranki.com>
1924- * Lim Yue Chuan <shasderias@gmail.com>
1925- * David Davis <xantus@xantus.org>
1926+<<<<<<< TREE
1927+ * Gustavo Niemeyer
1928+ * Joshua Bronson <jabronson@gmail.com>
1929+ * Kostis Sagonas <kostis@cs.ntua.gr>
1930+ * Matthew Hooker <mwhooker@gmail.com>
1931+ * Ilia Cheishvili <ilia.cheishvili@gmail.com>
1932+ * Lena Herrmann <lena@zeromail.org>
1933+ * Jack Moffit <metajack@gmail.com>
1934+ * Damjan Georgievski <gdamjan@gmail.com>
1935+ * Jan Kassens <jan@kassens.net>
1936+ * James Marca <jmarca@translab.its.uci.edu>
1937+ * Matt Goodall <matt.goodall@gmail.com>
1938+ * Joel Clark <unsigned_char@yahoo.com>
1939+ * Matt Lyon <matt@flowerpowered.com>
1940+ * mikeal <mikeal.rogers@gmail.com>
1941+ * Randall Leeds <randall.leeds@gmail.com>
1942+ * Joscha Feth <joscha@feth.com>
1943+ * Jarrod Roberson <jarrod@vertigrated.com>
1944+ * Jae Kwon <jkwon.work@gmail.com>
1945+ * Gavin Sherry <swm@alcove.com.au>
1946+ * Timothy Smith <tim@couch.io>
1947+ * Martin Haaß <MartinHaass@gmx.net>
1948+ * Hans Ulrich Niedermann <hun@n-dimensional.de>
1949+ * Jason Smith <jhs@proven-corporation.com>
1950+ * Dmitry Unkovsky <oil.crayons@gmail.com>
1951+ * Zachary Zolton <zachary.zolton@gmail.com>
1952+ * Brian Jenkins <bonkydog@bonkydog.com>
1953+ * Paul Bonser <pib@paulbonser.com>
1954+ * Caleb Land <caleb.land@gmail.com>
1955+ * Juhani Ränkimies <juhani@juranki.com>
1956+ * Lim Yue Chuan <shasderias@gmail.com>
1957+ * David Davis <xantus@xantus.org>
1958+=======
1959+ * Gustavo Niemeyer
1960+ * Joshua Bronson <jabronson@gmail.com>
1961+ * Kostis Sagonas <kostis@cs.ntua.gr>
1962+ * Matthew Hooker <mwhooker@gmail.com>
1963+ * Ilia Cheishvili <ilia.cheishvili@gmail.com>
1964+ * Lena Herrmann <lena@zeromail.org>
1965+ * Jack Moffit <metajack@gmail.com>
1966+ * Damjan Georgievski <gdamjan@gmail.com>
1967+ * Jan Kassens <jan@kassens.net>
1968+ * James Marca <jmarca@translab.its.uci.edu>
1969+ * Matt Goodall <matt.goodall@gmail.com>
1970+ * Joel Clark <unsigned_char@yahoo.com>
1971+ * Matt Lyon <matt@flowerpowered.com>
1972+ * mikeal <mikeal.rogers@gmail.com>
1973+ * Randall Leeds <randall.leeds@gmail.com>
1974+ * Joscha Feth <joscha@feth.com>
1975+ * Jarrod Roberson <jarrod@vertigrated.com>
1976+ * Jae Kwon <jkwon.work@gmail.com>
1977+ * Gavin Sherry <swm@alcove.com.au>
1978+ * Timothy Smith <tim@couch.io>
1979+ * Martin Haaß <MartinHaass@gmx.net>
1980+ * Hans Ulrich Niedermann <hun@n-dimensional.de>
1981+ * Jason Smith <jhs@proven-corporation.com>
1982+ * Dmitry Unkovsky <oil.crayons@gmail.com>
1983+ * Zachary Zolton <zachary.zolton@gmail.com>
1984+ * Brian Jenkins <bonkydog@bonkydog.com>
1985+ * Paul Bonser <pib@paulbonser.com>
1986+ * Caleb Land <caleb.land@gmail.com>
1987+ * Juhani Ränkimies <juhani@juranki.com>
1988+ * Kev Jackson <foamdino@gmail.com>
1989+ * Jonathan D. Knezek <jdknezek@gmail.com>
1990+ * David Rose <doppler@gmail.com>
1991+ * Lim Yue Chuan <shasderias@gmail.com>
1992+ * David Davis <xantus@xantus.org>
1993+ * Klaus Trainer <klaus.trainer@web.de>
1994+ * Dale Harvey <dale@arandomurl.com>
1995+ * Juuso Väänänen <juuso@vaananen.org>
1996+ * Jeff Zellner <jeff.zellner@gmail.com>
1997+ * Benjamin Young <byoung@bigbluehat.com>
1998+ * Gabriel Farrell <gsf747@gmail.com>
1999+ * Mike Leddy <mike@loop.com.br>
2000+ * Felix Hummel <apache@felixhummel.de>
2001+ * Tim Smith <tim@couchbase.com>
2002+ * Sam Bisbee <sam@sbisbee.com>
2003+ * Nathan Vander Wilt <natevw@yahoo.com>
2004+ * Caolan McMahon <caolan.mcmahon@googlemail.com>
2005+ * Alexander Shorin <kxepal@gmail.com>
2006+ * Christopher Bonhage <queezey@me.com>
2007+ * Christian Carter <cdcarter@gmail.com>
2008+>>>>>>> MERGE-SOURCE
2009
2010 For a list of authors see the `AUTHORS` file.
2011
2012=== modified file 'acinclude.m4'
2013--- acinclude.m4 2010-08-16 19:45:48 +0000
2014+++ acinclude.m4 2012-07-09 01:33:23 +0000
2015@@ -16,9 +16,15 @@
2016 m4_define([LOCAL_PACKAGE_TARNAME], [apache-couchdb])
2017 m4_define([LOCAL_PACKAGE_NAME], [Apache CouchDB])
2018 m4_define([LOCAL_BUG_URI], [https://issues.apache.org/jira/browse/COUCHDB])
2019+<<<<<<< TREE
2020 m4_define([LOCAL_VERSION_MAJOR], [1])
2021 m4_define([LOCAL_VERSION_MINOR], [0])
2022 m4_define([LOCAL_VERSION_REVISION], [1])
2023+=======
2024+m4_define([LOCAL_VERSION_MAJOR], [1])
2025+m4_define([LOCAL_VERSION_MINOR], [1])
2026+m4_define([LOCAL_VERSION_REVISION], [1])
2027+>>>>>>> MERGE-SOURCE
2028 m4_define([LOCAL_VERSION_STAGE], [])
2029 m4_define([LOCAL_VERSION_RELEASE], [])
2030 m4_define([LOCAL_VERSION_PRIMARY],
2031
2032=== modified file 'aclocal.m4'
2033--- aclocal.m4 2010-07-26 10:24:11 +0000
2034+++ aclocal.m4 2012-07-09 01:33:23 +0000
2035@@ -1,7 +1,15 @@
2036+<<<<<<< TREE
2037 # generated automatically by aclocal 1.11 -*- Autoconf -*-
2038+=======
2039+# generated automatically by aclocal 1.10 -*- Autoconf -*-
2040+>>>>>>> MERGE-SOURCE
2041
2042 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2043+<<<<<<< TREE
2044 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
2045+=======
2046+# 2005, 2006 Free Software Foundation, Inc.
2047+>>>>>>> MERGE-SOURCE
2048 # This file is free software; the Free Software Foundation
2049 # gives unlimited permission to copy and/or distribute it,
2050 # with or without modifications, as long as this notice is preserved.
2051@@ -11,6 +19,7 @@
2052 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2053 # PARTICULAR PURPOSE.
2054
2055+<<<<<<< TREE
2056 m4_ifndef([AC_AUTOCONF_VERSION],
2057 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2058 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
2059@@ -20,6 +29,14 @@
2060 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2061
2062 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2063+=======
2064+m4_if(m4_PACKAGE_VERSION, [2.61],,
2065+[m4_fatal([this file was generated for autoconf 2.61.
2066+You have another version of autoconf. If you want to use that,
2067+you should regenerate the build system entirely.], [63])])
2068+
2069+# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
2070+>>>>>>> MERGE-SOURCE
2071 #
2072 # This file is free software; the Free Software Foundation
2073 # gives unlimited permission to copy and/or distribute it,
2074@@ -34,7 +51,11 @@
2075 [am__api_version='1.11'
2076 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2077 dnl require some minimum version. Point them to the right macro.
2078+<<<<<<< TREE
2079 m4_if([$1], [1.11], [],
2080+=======
2081+m4_if([$1], [1.10], [],
2082+>>>>>>> MERGE-SOURCE
2083 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
2084 ])
2085
2086@@ -48,12 +69,17 @@
2087 # AM_SET_CURRENT_AUTOMAKE_VERSION
2088 # -------------------------------
2089 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
2090-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
2091+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
2092 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2093+<<<<<<< TREE
2094 [AM_AUTOMAKE_VERSION([1.11])dnl
2095 m4_ifndef([AC_AUTOCONF_VERSION],
2096 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
2097 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
2098+=======
2099+[AM_AUTOMAKE_VERSION([1.10])dnl
2100+_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
2101+>>>>>>> MERGE-SOURCE
2102
2103 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
2104
2105@@ -328,18 +354,23 @@
2106
2107 # Generate code to set up dependency tracking. -*- Autoconf -*-
2108
2109-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
2110+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
2111 # Free Software Foundation, Inc.
2112 #
2113 # This file is free software; the Free Software Foundation
2114 # gives unlimited permission to copy and/or distribute it,
2115 # with or without modifications, as long as this notice is preserved.
2116
2117+<<<<<<< TREE
2118 #serial 5
2119+=======
2120+#serial 3
2121+>>>>>>> MERGE-SOURCE
2122
2123 # _AM_OUTPUT_DEPENDENCY_COMMANDS
2124 # ------------------------------
2125 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
2126+<<<<<<< TREE
2127 [{
2128 # Autoconf 2.62 quotes --file arguments for eval, but not when files
2129 # are listed without --file. Let's play safe and only enable the eval
2130@@ -388,6 +419,45 @@
2131 # echo "creating $dirpart/$file"
2132 echo '# dummy' > "$dirpart/$file"
2133 done
2134+=======
2135+[for mf in $CONFIG_FILES; do
2136+ # Strip MF so we end up with the name of the file.
2137+ mf=`echo "$mf" | sed -e 's/:.*$//'`
2138+ # Check whether this is an Automake generated Makefile or not.
2139+ # We used to match only the files named `Makefile.in', but
2140+ # some people rename them; so instead we look at the file content.
2141+ # Grep'ing the first line is not enough: some people post-process
2142+ # each Makefile.in and add a new line on top of each file to say so.
2143+ # Grep'ing the whole file is not good either: AIX grep has a line
2144+ # limit of 2048, but all sed's we know have understand at least 4000.
2145+ if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
2146+ dirpart=`AS_DIRNAME("$mf")`
2147+ else
2148+ continue
2149+ fi
2150+ # Extract the definition of DEPDIR, am__include, and am__quote
2151+ # from the Makefile without running `make'.
2152+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
2153+ test -z "$DEPDIR" && continue
2154+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
2155+ test -z "am__include" && continue
2156+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
2157+ # When using ansi2knr, U may be empty or an underscore; expand it
2158+ U=`sed -n 's/^U = //p' < "$mf"`
2159+ # Find all dependency output files, they are included files with
2160+ # $(DEPDIR) in their names. We invoke sed twice because it is the
2161+ # simplest approach to changing $(DEPDIR) to its actual value in the
2162+ # expansion.
2163+ for file in `sed -n "
2164+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
2165+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
2166+ # Make sure the directory exists.
2167+ test -f "$dirpart/$file" && continue
2168+ fdir=`AS_DIRNAME(["$file"])`
2169+ AS_MKDIR_P([$dirpart/$fdir])
2170+ # echo "creating $dirpart/$file"
2171+ echo '# dummy' > "$dirpart/$file"
2172+>>>>>>> MERGE-SOURCE
2173 done
2174 }
2175 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
2176@@ -421,13 +491,21 @@
2177 # Do all the work for Automake. -*- Autoconf -*-
2178
2179 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2180+<<<<<<< TREE
2181 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
2182+=======
2183+# 2005, 2006 Free Software Foundation, Inc.
2184+>>>>>>> MERGE-SOURCE
2185 #
2186 # This file is free software; the Free Software Foundation
2187 # gives unlimited permission to copy and/or distribute it,
2188 # with or without modifications, as long as this notice is preserved.
2189
2190+<<<<<<< TREE
2191 # serial 16
2192+=======
2193+# serial 12
2194+>>>>>>> MERGE-SOURCE
2195
2196 # This macro actually does too much. Some checks are only needed if
2197 # your package does certain things. But this isn't really a big deal.
2198@@ -545,17 +623,16 @@
2199 # our stamp files there.
2200 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
2201 [# Compute $1's index in $config_headers.
2202-_am_arg=$1
2203 _am_stamp_count=1
2204 for _am_header in $config_headers :; do
2205 case $_am_header in
2206- $_am_arg | $_am_arg:* )
2207+ $1 | $1:* )
2208 break ;;
2209 * )
2210 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2211 esac
2212 done
2213-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
2214+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
2215
2216 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
2217 #
2218@@ -722,13 +799,13 @@
2219
2220 # Helper functions for option handling. -*- Autoconf -*-
2221
2222-# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
2223+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
2224 #
2225 # This file is free software; the Free Software Foundation
2226 # gives unlimited permission to copy and/or distribute it,
2227 # with or without modifications, as long as this notice is preserved.
2228
2229-# serial 4
2230+# serial 3
2231
2232 # _AM_MANGLE_OPTION(NAME)
2233 # -----------------------
2234@@ -745,7 +822,7 @@
2235 # ----------------------------------
2236 # OPTIONS is a space-separated list of Automake options.
2237 AC_DEFUN([_AM_SET_OPTIONS],
2238-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2239+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2240
2241 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
2242 # -------------------------------------------
2243@@ -856,7 +933,7 @@
2244
2245 # _AM_SUBST_NOTMAKE(VARIABLE)
2246 # ---------------------------
2247-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
2248+# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
2249 # This macro is traced by Automake.
2250 AC_DEFUN([_AM_SUBST_NOTMAKE])
2251
2252
2253=== modified file 'bin/Makefile.am'
2254--- bin/Makefile.am 2010-07-26 10:24:11 +0000
2255+++ bin/Makefile.am 2012-07-09 01:33:23 +0000
2256@@ -13,13 +13,13 @@
2257 if WINDOWS
2258 bin_SCRIPTS = couchdb.bat
2259 else
2260-bin_SCRIPTS = couchdb couchjs
2261+bin_SCRIPTS = couchdb
2262 endif
2263
2264 noinst_SCRIPTS = couchjs_dev
2265
2266 if HELP2MAN
2267-dist_man1_MANS = couchdb.1 couchjs.1
2268+dist_man1_MANS = couchdb.1
2269 endif
2270
2271 CLEANFILES = $(bin_SCRIPTS) $(dist_man1_MANS) $(noinst_SCRIPTS)
2272@@ -48,17 +48,11 @@
2273 $@ < $<
2274 chmod +x $@
2275
2276-couchjs: couchjs.tpl
2277- sed -e "s|%locallibbindir%|@locallibbindir@|g" \
2278- -e "s|%bug_uri%|@bug_uri@|g" \
2279- -e "s|%package_author_address%|@package_author_address@|g" \
2280- -e "s|%package_author_name%|@package_author_name@|g" \
2281- -e "s|%package_name%|@package_name@|g" \
2282- -e "s|%version%|@version@|g" \
2283- -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" > \
2284- $@ < $<
2285- chmod +x $@
2286+install-exec-hook:
2287+ $(LN_S) -f "$(locallibbindir)/$(couchjs_command_name)" \
2288+ "$(DESTDIR)$(bindir)/$(couchjs_command_name)"
2289
2290+<<<<<<< TREE
2291 couchjs_dev: couchjs.tpl
2292 sed -e "s|%locallibbindir%|$(abs_top_builddir)/src/couchdb/priv|g" \
2293 -e "s|%bug_uri%|@bug_uri@|g" \
2294@@ -69,6 +63,10 @@
2295 -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" > \
2296 $@ < $<
2297 chmod +x $@
2298+=======
2299+couchjs_dev:
2300+ $(LN_S) -f "$(abs_top_builddir)/src/couchdb/priv/couchjs" "$@"
2301+>>>>>>> MERGE-SOURCE
2302
2303 couchdb.bat: couchdb.bat.tpl
2304 sed -e "s|%ICU_CONFIG%|$(ICU_CONFIG)|g" \
2305@@ -88,11 +86,3 @@
2306 $(HELP2MAN_EXECUTABLE) $(HELP2MAN_OPTION) \
2307 --name="Apache CouchDB database server" ./couchdb --output $@; \
2308 fi
2309-
2310-couchjs.1: couchjs.tpl.in
2311- touch $@
2312- if test -x "$(HELP2MAN_EXECUTABLE)"; then \
2313- $(MAKE) -f Makefile couchjs; \
2314- $(HELP2MAN_EXECUTABLE) $(HELP2MAN_OPTION) \
2315- --name="Apache CouchDB JavaScript interpreter" ./couchjs --output $@; \
2316- fi
2317
2318=== modified file 'bin/Makefile.in'
2319--- bin/Makefile.in 2010-07-26 10:24:11 +0000
2320+++ bin/Makefile.in 2012-07-09 01:33:23 +0000
2321@@ -1,9 +1,17 @@
2322+<<<<<<< TREE
2323 # Makefile.in generated by automake 1.11 from Makefile.am.
2324+=======
2325+# Makefile.in generated by automake 1.10 from Makefile.am.
2326+>>>>>>> MERGE-SOURCE
2327 # @configure_input@
2328
2329 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2330+<<<<<<< TREE
2331 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
2332 # Inc.
2333+=======
2334+# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2335+>>>>>>> MERGE-SOURCE
2336 # This Makefile.in is free software; the Free Software Foundation
2337 # gives unlimited permission to copy and/or distribute it,
2338 # with or without modifications, as long as this notice is preserved.
2339@@ -36,7 +44,7 @@
2340 subdir = bin
2341 DIST_COMMON = $(dist_man1_MANS) $(srcdir)/Makefile.am \
2342 $(srcdir)/Makefile.in $(srcdir)/couchdb.bat.tpl.in \
2343- $(srcdir)/couchdb.tpl.in $(srcdir)/couchjs.tpl.in
2344+ $(srcdir)/couchdb.tpl.in
2345 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2346 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_check_curl.m4 \
2347 $(top_srcdir)/m4/ac_check_icu.m4 $(top_srcdir)/m4/libtool.m4 \
2348@@ -47,6 +55,7 @@
2349 $(ACLOCAL_M4)
2350 mkinstalldirs = $(install_sh) -d
2351 CONFIG_HEADER = $(top_builddir)/config.h
2352+<<<<<<< TREE
2353 CONFIG_CLEAN_FILES = couchjs.tpl couchdb.tpl couchdb.bat.tpl
2354 CONFIG_CLEAN_VPATH_FILES =
2355 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
2356@@ -70,6 +79,9 @@
2357 am__base_list = \
2358 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
2359 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
2360+=======
2361+CONFIG_CLEAN_FILES = couchdb.tpl couchdb.bat.tpl
2362+>>>>>>> MERGE-SOURCE
2363 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
2364 SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS)
2365 SOURCES =
2366@@ -141,7 +153,6 @@
2367 MKDIR_P = @MKDIR_P@
2368 NM = @NM@
2369 NMEDIT = @NMEDIT@
2370-OBJDUMP = @OBJDUMP@
2371 OBJEXT = @OBJEXT@
2372 OTOOL = @OTOOL@
2373 OTOOL64 = @OTOOL64@
2374@@ -228,7 +239,6 @@
2375 srcdir = @srcdir@
2376 sysconfdir = @sysconfdir@
2377 target_alias = @target_alias@
2378-top_build_prefix = @top_build_prefix@
2379 top_builddir = @top_builddir@
2380 top_srcdir = @top_srcdir@
2381 version = @version@
2382@@ -237,10 +247,10 @@
2383 version_release = @version_release@
2384 version_revision = @version_revision@
2385 version_stage = @version_stage@
2386-@WINDOWS_FALSE@bin_SCRIPTS = couchdb couchjs
2387+@WINDOWS_FALSE@bin_SCRIPTS = couchdb
2388 @WINDOWS_TRUE@bin_SCRIPTS = couchdb.bat
2389 noinst_SCRIPTS = couchjs_dev
2390-@HELP2MAN_TRUE@dist_man1_MANS = couchdb.1 couchjs.1
2391+@HELP2MAN_TRUE@dist_man1_MANS = couchdb.1
2392 CLEANFILES = $(bin_SCRIPTS) $(dist_man1_MANS) $(noinst_SCRIPTS)
2393 couchdb_command_name = `echo couchdb | sed '$(transform)'`
2394 couchjs_command_name = `echo couchjs | sed '$(transform)'`
2395@@ -252,8 +262,8 @@
2396 @for dep in $?; do \
2397 case '$(am__configure_deps)' in \
2398 *$$dep*) \
2399- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
2400- && { if test -f $@; then exit 0; else break; fi; }; \
2401+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
2402+ && exit 0; \
2403 exit 1;; \
2404 esac; \
2405 done; \
2406@@ -277,9 +287,12 @@
2407 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
2408 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
2409 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
2410+<<<<<<< TREE
2411 $(am__aclocal_m4_deps):
2412 couchjs.tpl: $(top_builddir)/config.status $(srcdir)/couchjs.tpl.in
2413 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
2414+=======
2415+>>>>>>> MERGE-SOURCE
2416 couchdb.tpl: $(top_builddir)/config.status $(srcdir)/couchdb.tpl.in
2417 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
2418 couchdb.bat.tpl: $(top_builddir)/config.status $(srcdir)/couchdb.bat.tpl.in
2419@@ -342,6 +355,7 @@
2420 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
2421 fi; \
2422 done; \
2423+<<<<<<< TREE
2424 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
2425 while read files; do \
2426 test -z "$$files" || { \
2427@@ -349,6 +363,22 @@
2428 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
2429 done; }
2430
2431+=======
2432+ for i in $$list; do \
2433+ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
2434+ else file=$$i; fi; \
2435+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
2436+ case "$$ext" in \
2437+ 1*) ;; \
2438+ *) ext='1' ;; \
2439+ esac; \
2440+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
2441+ inst=`echo $$inst | sed -e 's/^.*\///'`; \
2442+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
2443+ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
2444+ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
2445+ done
2446+>>>>>>> MERGE-SOURCE
2447 uninstall-man1:
2448 @$(NORMAL_UNINSTALL)
2449 @list='$(dist_man1_MANS)'; test -n "$(man1dir)" || exit 0; \
2450@@ -468,6 +498,8 @@
2451 install-dvi-am:
2452
2453 install-exec-am: install-binSCRIPTS
2454+ @$(NORMAL_INSTALL)
2455+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
2456
2457 install-html: install-html-am
2458
2459@@ -509,15 +541,15 @@
2460
2461 uninstall-man: uninstall-man1
2462
2463-.MAKE: install-am install-strip
2464+.MAKE: install-am install-exec-am install-strip
2465
2466 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
2467 distclean distclean-generic distclean-libtool distdir dvi \
2468 dvi-am html html-am info info-am install install-am \
2469 install-binSCRIPTS install-data install-data-am install-dvi \
2470- install-dvi-am install-exec install-exec-am install-html \
2471- install-html-am install-info install-info-am install-man \
2472- install-man1 install-pdf install-pdf-am install-ps \
2473+ install-dvi-am install-exec install-exec-am install-exec-hook \
2474+ install-html install-html-am install-info install-info-am \
2475+ install-man install-man1 install-pdf install-pdf-am install-ps \
2476 install-ps-am install-strip installcheck installcheck-am \
2477 installdirs maintainer-clean maintainer-clean-generic \
2478 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
2479@@ -545,17 +577,11 @@
2480 $@ < $<
2481 chmod +x $@
2482
2483-couchjs: couchjs.tpl
2484- sed -e "s|%locallibbindir%|@locallibbindir@|g" \
2485- -e "s|%bug_uri%|@bug_uri@|g" \
2486- -e "s|%package_author_address%|@package_author_address@|g" \
2487- -e "s|%package_author_name%|@package_author_name@|g" \
2488- -e "s|%package_name%|@package_name@|g" \
2489- -e "s|%version%|@version@|g" \
2490- -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" > \
2491- $@ < $<
2492- chmod +x $@
2493+install-exec-hook:
2494+ $(LN_S) -f "$(locallibbindir)/$(couchjs_command_name)" \
2495+ "$(DESTDIR)$(bindir)/$(couchjs_command_name)"
2496
2497+<<<<<<< TREE
2498 couchjs_dev: couchjs.tpl
2499 sed -e "s|%locallibbindir%|$(abs_top_builddir)/src/couchdb/priv|g" \
2500 -e "s|%bug_uri%|@bug_uri@|g" \
2501@@ -566,6 +592,10 @@
2502 -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" > \
2503 $@ < $<
2504 chmod +x $@
2505+=======
2506+couchjs_dev:
2507+ $(LN_S) -f "$(abs_top_builddir)/src/couchdb/priv/couchjs" "$@"
2508+>>>>>>> MERGE-SOURCE
2509
2510 couchdb.bat: couchdb.bat.tpl
2511 sed -e "s|%ICU_CONFIG%|$(ICU_CONFIG)|g" \
2512@@ -583,6 +613,7 @@
2513 $(HELP2MAN_EXECUTABLE) $(HELP2MAN_OPTION) \
2514 --name="Apache CouchDB database server" ./couchdb --output $@; \
2515 fi
2516+<<<<<<< TREE
2517
2518 couchjs.1: couchjs.tpl.in
2519 touch $@
2520@@ -592,6 +623,8 @@
2521 --name="Apache CouchDB JavaScript interpreter" ./couchjs --output $@; \
2522 fi
2523
2524+=======
2525+>>>>>>> MERGE-SOURCE
2526 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2527 # Otherwise a system limit (for SysV at least) may be exceeded.
2528 .NOEXPORT:
2529
2530=== removed file 'bin/couchjs.tpl.in'
2531--- bin/couchjs.tpl.in 2009-08-24 15:44:14 +0000
2532+++ bin/couchjs.tpl.in 1970-01-01 00:00:00 +0000
2533@@ -1,92 +0,0 @@
2534-#! /bin/sh -e
2535-
2536-# Licensed under the Apache License, Version 2.0 (the "License"); you may not
2537-# use this file except in compliance with the License. You may obtain a copy of
2538-# the License at
2539-#
2540-# http://www.apache.org/licenses/LICENSE-2.0
2541-#
2542-# Unless required by applicable law or agreed to in writing, software
2543-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
2544-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
2545-# License for the specific language governing permissions and limitations under
2546-# the License.
2547-
2548-SCRIPT_OK=0
2549-SCRIPT_ERROR=1
2550-
2551-DEFAULT_VERSION=170
2552-
2553-basename=`basename $0`
2554-
2555-display_version () {
2556- cat << EOF
2557-$basename - %package_name% %version%
2558-
2559-Licensed under the Apache License, Version 2.0 (the "License"); you may not use
2560-this file except in compliance with the License. You may obtain a copy of the
2561-License at
2562-
2563- http://www.apache.org/licenses/LICENSE-2.0
2564-
2565-Unless required by applicable law or agreed to in writing, software distributed
2566-under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
2567-CONDITIONS OF ANY KIND, either express or implied. See the License for the
2568-specific language governing permissions and limitations under the License.
2569-EOF
2570-}
2571-
2572-display_help () {
2573- cat << EOF
2574-Usage: $basename [FILE]
2575-
2576-The $basename command runs the %package_name% JavaScript interpreter.
2577-
2578-The exit status is 0 for success or 1 for failure.
2579-
2580-Options:
2581-
2582- -h display a short help message and exit
2583- -V display version information and exit
2584-
2585-Report bugs at <%bug_uri%>.
2586-EOF
2587-}
2588-
2589-display_error () {
2590- if test -n "$1"; then
2591- echo $1 >&2
2592- fi
2593- echo >&2
2594- echo "Try \`"$basename" -h' for more information." >&2
2595- exit $SCRIPT_ERROR
2596-}
2597-
2598-run_couchjs () {
2599- exec %locallibbindir%/%couchjs_command_name% $@
2600-}
2601-
2602-parse_script_option_list () {
2603- set +e
2604- options=`getopt hV $@`
2605- if test ! $? -eq 0; then
2606- display_error
2607- fi
2608- set -e
2609- eval set -- $options
2610- while [ $# -gt 0 ]; do
2611- case "$1" in
2612- -h) shift; display_help; exit $SCRIPT_OK;;
2613- -V) shift; display_version; exit $SCRIPT_OK;;
2614- --) shift; break;;
2615- *) break;;
2616- esac
2617- done
2618- option_list=`echo $@ | sed 's/--//'`
2619- if test -z "$option_list"; then
2620- display_error "You must specify a FILE."
2621- fi
2622- run_couchjs $option_list
2623-}
2624-
2625-parse_script_option_list $@
2626
2627=== modified file 'build-aux/config.guess'
2628--- build-aux/config.guess 2009-08-31 09:06:26 +0000
2629+++ build-aux/config.guess 2012-07-09 01:33:23 +0000
2630@@ -1,10 +1,10 @@
2631 #! /bin/sh
2632 # Attempt to guess a canonical system name.
2633 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2634-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2635-# Free Software Foundation, Inc.
2636+# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
2637+# Inc.
2638
2639-timestamp='2009-04-27'
2640+timestamp='2006-07-02'
2641
2642 # This file is free software; you can redistribute it and/or modify it
2643 # under the terms of the GNU General Public License as published by
2644@@ -56,8 +56,8 @@
2645 GNU config.guess ($timestamp)
2646
2647 Originally written by Per Bothner.
2648-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2649-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2650+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
2651+Free Software Foundation, Inc.
2652
2653 This is free software; see the source for copying conditions. There is NO
2654 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
2655@@ -161,7 +161,6 @@
2656 arm*) machine=arm-unknown ;;
2657 sh3el) machine=shl-unknown ;;
2658 sh3eb) machine=sh-unknown ;;
2659- sh5el) machine=sh5le-unknown ;;
2660 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
2661 esac
2662 # The Operating System including object format, if it has switched
2663@@ -324,30 +323,14 @@
2664 case `/usr/bin/uname -p` in
2665 sparc) echo sparc-icl-nx7; exit ;;
2666 esac ;;
2667- s390x:SunOS:*:*)
2668- echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2669- exit ;;
2670 sun4H:SunOS:5.*:*)
2671 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2672 exit ;;
2673 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
2674 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2675 exit ;;
2676- i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
2677- eval $set_cc_for_build
2678- SUN_ARCH="i386"
2679- # If there is a compiler, see if it is configured for 64-bit objects.
2680- # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
2681- # This test works for both compilers.
2682- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
2683- if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
2684- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
2685- grep IS_64BIT_ARCH >/dev/null
2686- then
2687- SUN_ARCH="x86_64"
2688- fi
2689- fi
2690- echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2691+ i86pc:SunOS:5.*:*)
2692+ echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
2693 exit ;;
2694 sun4*:SunOS:6*:*)
2695 # According to config.sub, this is the proper way to canonicalize
2696@@ -548,7 +531,7 @@
2697 echo rs6000-ibm-aix3.2
2698 fi
2699 exit ;;
2700- *:AIX:*:[456])
2701+ *:AIX:*:[45])
2702 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
2703 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
2704 IBM_ARCH=rs6000
2705@@ -797,7 +780,7 @@
2706 i*:CYGWIN*:*)
2707 echo ${UNAME_MACHINE}-pc-cygwin
2708 exit ;;
2709- *:MINGW*:*)
2710+ i*:MINGW*:*)
2711 echo ${UNAME_MACHINE}-pc-mingw32
2712 exit ;;
2713 i*:windows32*:*)
2714@@ -807,18 +790,12 @@
2715 i*:PW*:*)
2716 echo ${UNAME_MACHINE}-pc-pw32
2717 exit ;;
2718- *:Interix*:[3456]*)
2719- case ${UNAME_MACHINE} in
2720- x86)
2721- echo i586-pc-interix${UNAME_RELEASE}
2722- exit ;;
2723- EM64T | authenticamd | genuineintel)
2724- echo x86_64-unknown-interix${UNAME_RELEASE}
2725- exit ;;
2726- IA64)
2727- echo ia64-unknown-interix${UNAME_RELEASE}
2728- exit ;;
2729- esac ;;
2730+ x86:Interix*:[3456]*)
2731+ echo i586-pc-interix${UNAME_RELEASE}
2732+ exit ;;
2733+ EM64T:Interix*:[3456]*)
2734+ echo x86_64-unknown-interix${UNAME_RELEASE}
2735+ exit ;;
2736 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2737 echo i${UNAME_MACHINE}-pc-mks
2738 exit ;;
2739@@ -852,14 +829,7 @@
2740 echo ${UNAME_MACHINE}-pc-minix
2741 exit ;;
2742 arm*:Linux:*:*)
2743- eval $set_cc_for_build
2744- if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
2745- | grep -q __ARM_EABI__
2746- then
2747- echo ${UNAME_MACHINE}-unknown-linux-gnu
2748- else
2749- echo ${UNAME_MACHINE}-unknown-linux-gnueabi
2750- fi
2751+ echo ${UNAME_MACHINE}-unknown-linux-gnu
2752 exit ;;
2753 avr32*:Linux:*:*)
2754 echo ${UNAME_MACHINE}-unknown-linux-gnu
2755@@ -951,9 +921,6 @@
2756 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
2757 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
2758 exit ;;
2759- padre:Linux:*:*)
2760- echo sparc-unknown-linux-gnu
2761- exit ;;
2762 parisc:Linux:*:* | hppa:Linux:*:*)
2763 # Look for CPU level
2764 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
2765@@ -983,9 +950,6 @@
2766 x86_64:Linux:*:*)
2767 echo x86_64-unknown-linux-gnu
2768 exit ;;
2769- xtensa*:Linux:*:*)
2770- echo ${UNAME_MACHINE}-unknown-linux-gnu
2771- exit ;;
2772 i*86:Linux:*:*)
2773 # The BFD linker knows what the default object file format is, so
2774 # first see if it will tell us. cd to the root directory to prevent
2775@@ -1004,6 +968,9 @@
2776 a.out-i386-linux)
2777 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
2778 exit ;;
2779+ coff-i386)
2780+ echo "${UNAME_MACHINE}-pc-linux-gnucoff"
2781+ exit ;;
2782 "")
2783 # Either a pre-BFD a.out linker (linux-gnuoldld) or
2784 # one that does not give us useful --help.
2785@@ -1118,11 +1085,8 @@
2786 pc:*:*:*)
2787 # Left here for compatibility:
2788 # uname -m prints for DJGPP always 'pc', but it prints nothing about
2789- # the processor, so we play safe by assuming i586.
2790- # Note: whatever this is, it MUST be the same as what config.sub
2791- # prints for the "djgpp" host, or else GDB configury will decide that
2792- # this is a cross-build.
2793- echo i586-pc-msdosdjgpp
2794+ # the processor, so we play safe by assuming i386.
2795+ echo i386-pc-msdosdjgpp
2796 exit ;;
2797 Intel:Mach:3*:*)
2798 echo i386-pc-mach3
2799@@ -1160,16 +1124,6 @@
2800 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
2801 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2802 && { echo i486-ncr-sysv4; exit; } ;;
2803- NCR*:*:4.2:* | MPRAS*:*:4.2:*)
2804- OS_REL='.3'
2805- test -r /etc/.relid \
2806- && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2807- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
2808- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
2809- /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
2810- && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
2811- /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
2812- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
2813 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
2814 echo m68k-unknown-lynxos${UNAME_RELEASE}
2815 exit ;;
2816@@ -1245,9 +1199,6 @@
2817 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
2818 echo i586-pc-beos
2819 exit ;;
2820- BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
2821- echo i586-pc-haiku
2822- exit ;;
2823 SX-4:SUPER-UX:*:*)
2824 echo sx4-nec-superux${UNAME_RELEASE}
2825 exit ;;
2826@@ -1257,15 +1208,6 @@
2827 SX-6:SUPER-UX:*:*)
2828 echo sx6-nec-superux${UNAME_RELEASE}
2829 exit ;;
2830- SX-7:SUPER-UX:*:*)
2831- echo sx7-nec-superux${UNAME_RELEASE}
2832- exit ;;
2833- SX-8:SUPER-UX:*:*)
2834- echo sx8-nec-superux${UNAME_RELEASE}
2835- exit ;;
2836- SX-8R:SUPER-UX:*:*)
2837- echo sx8r-nec-superux${UNAME_RELEASE}
2838- exit ;;
2839 Power*:Rhapsody:*:*)
2840 echo powerpc-apple-rhapsody${UNAME_RELEASE}
2841 exit ;;
2842@@ -1356,9 +1298,6 @@
2843 i*86:rdos:*:*)
2844 echo ${UNAME_MACHINE}-pc-rdos
2845 exit ;;
2846- i*86:AROS:*:*)
2847- echo ${UNAME_MACHINE}-pc-aros
2848- exit ;;
2849 esac
2850
2851 #echo '(No uname command or uname output not recognized.)' 1>&2
2852@@ -1519,9 +1458,9 @@
2853 the operating system you are using. It is advised that you
2854 download the most up to date version of the config scripts from
2855
2856- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
2857+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
2858 and
2859- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
2860+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
2861
2862 If the version you run ($0) is already up to date, please
2863 send the following data and any information you think might be
2864
2865=== modified file 'build-aux/config.sub'
2866--- build-aux/config.sub 2009-08-31 09:06:26 +0000
2867+++ build-aux/config.sub 2012-07-09 01:33:23 +0000
2868@@ -1,10 +1,10 @@
2869 #! /bin/sh
2870 # Configuration validation subroutine script.
2871 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2872-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
2873-# Free Software Foundation, Inc.
2874+# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
2875+# Inc.
2876
2877-timestamp='2009-04-17'
2878+timestamp='2006-09-20'
2879
2880 # This file is (in principle) common to ALL GNU software.
2881 # The presence of a machine in this file suggests that SOME GNU software
2882@@ -72,8 +72,8 @@
2883 version="\
2884 GNU config.sub ($timestamp)
2885
2886-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2887-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2888+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
2889+Free Software Foundation, Inc.
2890
2891 This is free software; see the source for copying conditions. There is NO
2892 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
2893@@ -122,7 +122,6 @@
2894 case $maybe_os in
2895 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
2896 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
2897- kopensolaris*-gnu* | \
2898 storm-chaos* | os2-emx* | rtmk-nova*)
2899 os=-$maybe_os
2900 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
2901@@ -246,20 +245,17 @@
2902 | bfin \
2903 | c4x | clipper \
2904 | d10v | d30v | dlx | dsp16xx \
2905- | fido | fr30 | frv \
2906+ | fr30 | frv \
2907 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
2908 | i370 | i860 | i960 | ia64 \
2909 | ip2k | iq2000 \
2910- | lm32 \
2911 | m32c | m32r | m32rle | m68000 | m68k | m88k \
2912- | maxq | mb | microblaze | mcore | mep | metag \
2913+ | maxq | mb | microblaze | mcore \
2914 | mips | mipsbe | mipseb | mipsel | mipsle \
2915 | mips16 \
2916 | mips64 | mips64el \
2917- | mips64octeon | mips64octeonel \
2918+ | mips64vr | mips64vrel \
2919 | mips64orion | mips64orionel \
2920- | mips64r5900 | mips64r5900el \
2921- | mips64vr | mips64vrel \
2922 | mips64vr4100 | mips64vr4100el \
2923 | mips64vr4300 | mips64vr4300el \
2924 | mips64vr5000 | mips64vr5000el \
2925@@ -272,7 +268,6 @@
2926 | mipsisa64sr71k | mipsisa64sr71kel \
2927 | mipstx39 | mipstx39el \
2928 | mn10200 | mn10300 \
2929- | moxie \
2930 | mt \
2931 | msp430 \
2932 | nios | nios2 \
2933@@ -282,7 +277,7 @@
2934 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
2935 | pyramid \
2936 | score \
2937- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
2938+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
2939 | sh64 | sh64le \
2940 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
2941 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
2942@@ -291,7 +286,7 @@
2943 | v850 | v850e \
2944 | we32k \
2945 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
2946- | z8k | z80)
2947+ | z8k)
2948 basic_machine=$basic_machine-unknown
2949 ;;
2950 m6811 | m68hc11 | m6812 | m68hc12)
2951@@ -329,22 +324,19 @@
2952 | clipper-* | craynv-* | cydra-* \
2953 | d10v-* | d30v-* | dlx-* \
2954 | elxsi-* \
2955- | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
2956+ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
2957 | h8300-* | h8500-* \
2958 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
2959 | i*86-* | i860-* | i960-* | ia64-* \
2960 | ip2k-* | iq2000-* \
2961- | lm32-* \
2962 | m32c-* | m32r-* | m32rle-* \
2963 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
2964- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
2965+ | m88110-* | m88k-* | maxq-* | mcore-* \
2966 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
2967 | mips16-* \
2968 | mips64-* | mips64el-* \
2969- | mips64octeon-* | mips64octeonel-* \
2970+ | mips64vr-* | mips64vrel-* \
2971 | mips64orion-* | mips64orionel-* \
2972- | mips64r5900-* | mips64r5900el-* \
2973- | mips64vr-* | mips64vrel-* \
2974 | mips64vr4100-* | mips64vr4100el-* \
2975 | mips64vr4300-* | mips64vr4300el-* \
2976 | mips64vr5000-* | mips64vr5000el-* \
2977@@ -366,24 +358,20 @@
2978 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
2979 | pyramid-* \
2980 | romp-* | rs6000-* \
2981- | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
2982+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
2983 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
2984 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
2985 | sparclite-* \
2986 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
2987 | tahoe-* | thumb-* \
2988- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
2989+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
2990 | tron-* \
2991 | v850-* | v850e-* | vax-* \
2992 | we32k-* \
2993 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
2994- | xstormy16-* | xtensa*-* \
2995+ | xstormy16-* | xtensa-* \
2996 | ymp-* \
2997- | z8k-* | z80-*)
2998- ;;
2999- # Recognize the basic CPU types without company name, with glob match.
3000- xtensa*)
3001- basic_machine=$basic_machine-unknown
3002+ | z8k-*)
3003 ;;
3004 # Recognize the various machine names and aliases which stand
3005 # for a CPU type and a company and sometimes even an OS.
3006@@ -447,10 +435,6 @@
3007 basic_machine=m68k-apollo
3008 os=-bsd
3009 ;;
3010- aros)
3011- basic_machine=i386-pc
3012- os=-aros
3013- ;;
3014 aux)
3015 basic_machine=m68k-apple
3016 os=-aux
3017@@ -459,22 +443,10 @@
3018 basic_machine=ns32k-sequent
3019 os=-dynix
3020 ;;
3021- blackfin)
3022- basic_machine=bfin-unknown
3023- os=-linux
3024- ;;
3025- blackfin-*)
3026- basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
3027- os=-linux
3028- ;;
3029 c90)
3030 basic_machine=c90-cray
3031 os=-unicos
3032 ;;
3033- cegcc)
3034- basic_machine=arm-unknown
3035- os=-cegcc
3036- ;;
3037 convex-c1)
3038 basic_machine=c1-convex
3039 os=-bsd
3040@@ -503,8 +475,8 @@
3041 basic_machine=craynv-cray
3042 os=-unicosmp
3043 ;;
3044- cr16)
3045- basic_machine=cr16-unknown
3046+ cr16c)
3047+ basic_machine=cr16c-unknown
3048 os=-elf
3049 ;;
3050 crds | unos)
3051@@ -542,10 +514,6 @@
3052 basic_machine=m88k-motorola
3053 os=-sysv3
3054 ;;
3055- dicos)
3056- basic_machine=i686-pc
3057- os=-dicos
3058- ;;
3059 djgpp)
3060 basic_machine=i586-pc
3061 os=-msdosdjgpp
3062@@ -700,14 +668,6 @@
3063 basic_machine=m68k-isi
3064 os=-sysv
3065 ;;
3066- m68knommu)
3067- basic_machine=m68k-unknown
3068- os=-linux
3069- ;;
3070- m68knommu-*)
3071- basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
3072- os=-linux
3073- ;;
3074 m88k-omron*)
3075 basic_machine=m88k-omron
3076 ;;
3077@@ -723,10 +683,6 @@
3078 basic_machine=i386-pc
3079 os=-mingw32
3080 ;;
3081- mingw32ce)
3082- basic_machine=arm-unknown
3083- os=-mingw32ce
3084- ;;
3085 miniframe)
3086 basic_machine=m68000-convergent
3087 ;;
3088@@ -853,14 +809,6 @@
3089 basic_machine=i860-intel
3090 os=-osf
3091 ;;
3092- parisc)
3093- basic_machine=hppa-unknown
3094- os=-linux
3095- ;;
3096- parisc-*)
3097- basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
3098- os=-linux
3099- ;;
3100 pbd)
3101 basic_machine=sparc-tti
3102 ;;
3103@@ -977,9 +925,6 @@
3104 basic_machine=sh-hitachi
3105 os=-hms
3106 ;;
3107- sh5el)
3108- basic_machine=sh5le-unknown
3109- ;;
3110 sh64)
3111 basic_machine=sh64-unknown
3112 ;;
3113@@ -1069,10 +1014,6 @@
3114 basic_machine=tic6x-unknown
3115 os=-coff
3116 ;;
3117- tile*)
3118- basic_machine=tile-unknown
3119- os=-linux-gnu
3120- ;;
3121 tx39)
3122 basic_machine=mipstx39-unknown
3123 ;;
3124@@ -1148,10 +1089,6 @@
3125 basic_machine=z8k-unknown
3126 os=-sim
3127 ;;
3128- z80-*-coff)
3129- basic_machine=z80-unknown
3130- os=-sim
3131- ;;
3132 none)
3133 basic_machine=none-none
3134 os=-none
3135@@ -1190,7 +1127,7 @@
3136 we32k)
3137 basic_machine=we32k-att
3138 ;;
3139- sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
3140+ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
3141 basic_machine=sh-unknown
3142 ;;
3143 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
3144@@ -1262,9 +1199,8 @@
3145 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
3146 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
3147 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
3148- | -kopensolaris* \
3149 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
3150- | -aos* | -aros* \
3151+ | -aos* \
3152 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
3153 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
3154 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
3155@@ -1273,7 +1209,7 @@
3156 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
3157 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
3158 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
3159- | -chorusos* | -chorusrdb* | -cegcc* \
3160+ | -chorusos* | -chorusrdb* \
3161 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
3162 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
3163 | -uxpv* | -beos* | -mpeix* | -udk* \
3164@@ -1283,7 +1219,7 @@
3165 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
3166 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
3167 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
3168- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
3169+ | -skyos* | -haiku* | -rdos* | -toppers*)
3170 # Remember, each alternative MUST END IN *, to match a version number.
3171 ;;
3172 -qnx*)
3173@@ -1413,9 +1349,6 @@
3174 -zvmoe)
3175 os=-zvmoe
3176 ;;
3177- -dicos*)
3178- os=-dicos
3179- ;;
3180 -none)
3181 ;;
3182 *)
3183@@ -1481,9 +1414,6 @@
3184 m68*-cisco)
3185 os=-aout
3186 ;;
3187- mep-*)
3188- os=-elf
3189- ;;
3190 mips*-cisco)
3191 os=-elf
3192 ;;
3193
3194=== modified file 'build-aux/depcomp'
3195--- build-aux/depcomp 2010-07-26 10:24:11 +0000
3196+++ build-aux/depcomp 2012-07-09 01:33:23 +0000
3197@@ -1,10 +1,19 @@
3198 #! /bin/sh
3199 # depcomp - compile a program generating dependencies as side-effects
3200
3201+<<<<<<< TREE
3202 scriptversion=2009-04-28.21; # UTC
3203+=======
3204+scriptversion=2006-10-15.18
3205+>>>>>>> MERGE-SOURCE
3206
3207+<<<<<<< TREE
3208 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
3209 # Software Foundation, Inc.
3210+=======
3211+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
3212+# Foundation, Inc.
3213+>>>>>>> MERGE-SOURCE
3214
3215 # This program is free software; you can redistribute it and/or modify
3216 # it under the terms of the GNU General Public License as published by
3217@@ -222,39 +231,34 @@
3218 # current directory. Also, the AIX compiler puts `$object:' at the
3219 # start of each line; $object doesn't have directory information.
3220 # Version 6 uses the directory in both cases.
3221- dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
3222- test "x$dir" = "x$object" && dir=
3223- base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
3224+ stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
3225+ tmpdepfile="$stripped.u"
3226 if test "$libtool" = yes; then
3227- tmpdepfile1=$dir$base.u
3228- tmpdepfile2=$base.u
3229- tmpdepfile3=$dir.libs/$base.u
3230 "$@" -Wc,-M
3231 else
3232- tmpdepfile1=$dir$base.u
3233- tmpdepfile2=$dir$base.u
3234- tmpdepfile3=$dir$base.u
3235 "$@" -M
3236 fi
3237 stat=$?
3238
3239+ if test -f "$tmpdepfile"; then :
3240+ else
3241+ stripped=`echo "$stripped" | sed 's,^.*/,,'`
3242+ tmpdepfile="$stripped.u"
3243+ fi
3244+
3245 if test $stat -eq 0; then :
3246 else
3247- rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
3248+ rm -f "$tmpdepfile"
3249 exit $stat
3250 fi
3251
3252- for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
3253- do
3254- test -f "$tmpdepfile" && break
3255- done
3256 if test -f "$tmpdepfile"; then
3257+ outname="$stripped.o"
3258 # Each line is of the form `foo.o: dependent.h'.
3259 # Do two passes, one to just change these to
3260 # `$object: dependent.h' and one to simply `dependent.h:'.
3261- sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
3262- # That's a tab and a space in the [].
3263- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
3264+ sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
3265+ sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
3266 else
3267 # The sourcefile does not contain any dependencies, so just
3268 # store a dummy comment line, to avoid errors with the Makefile
3269
3270=== modified file 'build-aux/install-sh'
3271--- build-aux/install-sh 2010-07-26 10:24:11 +0000
3272+++ build-aux/install-sh 2012-07-09 01:33:23 +0000
3273@@ -1,7 +1,11 @@
3274 #!/bin/sh
3275 # install - install a program, script, or datafile
3276
3277+<<<<<<< TREE
3278 scriptversion=2009-04-28.21; # UTC
3279+=======
3280+scriptversion=2006-10-14.15
3281+>>>>>>> MERGE-SOURCE
3282
3283 # This originates from X11R5 (mit/util/scripts/install.sh), which was
3284 # later released in X11R6 (xc/config/util/install.sh) with the
3285@@ -48,7 +52,7 @@
3286 # set DOITPROG to echo to test this script
3287
3288 # Don't use :- since 4.3BSD and earlier shells don't like it.
3289-doit=${DOITPROG-}
3290+doit="${DOITPROG-}"
3291 if test -z "$doit"; then
3292 doit_exec=exec
3293 else
3294@@ -58,49 +62,34 @@
3295 # Put in absolute file names if you don't have them in your path;
3296 # or use environment vars.
3297
3298-chgrpprog=${CHGRPPROG-chgrp}
3299-chmodprog=${CHMODPROG-chmod}
3300-chownprog=${CHOWNPROG-chown}
3301-cmpprog=${CMPPROG-cmp}
3302-cpprog=${CPPROG-cp}
3303-mkdirprog=${MKDIRPROG-mkdir}
3304-mvprog=${MVPROG-mv}
3305-rmprog=${RMPROG-rm}
3306-stripprog=${STRIPPROG-strip}
3307-
3308-posix_glob='?'
3309-initialize_posix_glob='
3310- test "$posix_glob" != "?" || {
3311- if (set -f) 2>/dev/null; then
3312- posix_glob=
3313- else
3314- posix_glob=:
3315- fi
3316- }
3317-'
3318-
3319+mvprog="${MVPROG-mv}"
3320+cpprog="${CPPROG-cp}"
3321+chmodprog="${CHMODPROG-chmod}"
3322+chownprog="${CHOWNPROG-chown}"
3323+chgrpprog="${CHGRPPROG-chgrp}"
3324+stripprog="${STRIPPROG-strip}"
3325+rmprog="${RMPROG-rm}"
3326+mkdirprog="${MKDIRPROG-mkdir}"
3327+
3328+posix_glob=
3329 posix_mkdir=
3330
3331 # Desired mode of installed file.
3332 mode=0755
3333
3334-chgrpcmd=
3335 chmodcmd=$chmodprog
3336 chowncmd=
3337-mvcmd=$mvprog
3338+chgrpcmd=
3339+stripcmd=
3340 rmcmd="$rmprog -f"
3341-stripcmd=
3342-
3343+mvcmd="$mvprog"
3344 src=
3345 dst=
3346 dir_arg=
3347-dst_arg=
3348-
3349-copy_on_change=false
3350+dstarg=
3351 no_target_directory=
3352
3353-usage="\
3354-Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
3355+usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
3356 or: $0 [OPTION]... SRCFILES... DIRECTORY
3357 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
3358 or: $0 [OPTION]... -d DIRECTORIES...
3359@@ -110,55 +99,65 @@
3360 In the 4th, create DIRECTORIES.
3361
3362 Options:
3363- --help display this help and exit.
3364- --version display version info and exit.
3365-
3366- -c (ignored)
3367- -C install only if different (preserve the last data modification time)
3368- -d create directories instead of installing files.
3369- -g GROUP $chgrpprog installed files to GROUP.
3370- -m MODE $chmodprog installed files to MODE.
3371- -o USER $chownprog installed files to USER.
3372- -s $stripprog installed files.
3373- -t DIRECTORY install into DIRECTORY.
3374- -T report an error if DSTFILE is a directory.
3375+-c (ignored)
3376+-d create directories instead of installing files.
3377+-g GROUP $chgrpprog installed files to GROUP.
3378+-m MODE $chmodprog installed files to MODE.
3379+-o USER $chownprog installed files to USER.
3380+-s $stripprog installed files.
3381+-t DIRECTORY install into DIRECTORY.
3382+-T report an error if DSTFILE is a directory.
3383+--help display this help and exit.
3384+--version display version info and exit.
3385
3386 Environment variables override the default commands:
3387- CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
3388- RMPROG STRIPPROG
3389+ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
3390 "
3391
3392 while test $# -ne 0; do
3393 case $1 in
3394- -c) ;;
3395-
3396- -C) copy_on_change=true;;
3397-
3398- -d) dir_arg=true;;
3399+ -c) shift
3400+ continue;;
3401+
3402+ -d) dir_arg=true
3403+ shift
3404+ continue;;
3405
3406 -g) chgrpcmd="$chgrpprog $2"
3407- shift;;
3408+ shift
3409+ shift
3410+ continue;;
3411
3412 --help) echo "$usage"; exit $?;;
3413
3414 -m) mode=$2
3415+ shift
3416+ shift
3417 case $mode in
3418 *' '* | *' '* | *'
3419 '* | *'*'* | *'?'* | *'['*)
3420 echo "$0: invalid mode: $mode" >&2
3421 exit 1;;
3422 esac
3423- shift;;
3424+ continue;;
3425
3426 -o) chowncmd="$chownprog $2"
3427- shift;;
3428-
3429- -s) stripcmd=$stripprog;;
3430-
3431- -t) dst_arg=$2
3432- shift;;
3433-
3434- -T) no_target_directory=true;;
3435+ shift
3436+ shift
3437+ continue;;
3438+
3439+ -s) stripcmd=$stripprog
3440+ shift
3441+ continue;;
3442+
3443+ -t) dstarg=$2
3444+ shift
3445+ shift
3446+ continue;;
3447+
3448+ -T) no_target_directory=true
3449+ shift
3450+ continue;;
3451
3452 --version) echo "$0 $scriptversion"; exit $?;;
3453
3454@@ -170,22 +169,21 @@
3455
3456 *) break;;
3457 esac
3458- shift
3459 done
3460
3461-if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
3462+if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
3463 # When -d is used, all remaining arguments are directories to create.
3464 # When -t is used, the destination is already specified.
3465 # Otherwise, the last argument is the destination. Remove it from $@.
3466 for arg
3467 do
3468- if test -n "$dst_arg"; then
3469+ if test -n "$dstarg"; then
3470 # $@ is not empty: it contains at least $arg.
3471- set fnord "$@" "$dst_arg"
3472+ set fnord "$@" "$dstarg"
3473 shift # fnord
3474 fi
3475 shift # arg
3476- dst_arg=$arg
3477+ dstarg=$arg
3478 done
3479 fi
3480
3481@@ -230,7 +228,7 @@
3482 do
3483 # Protect names starting with `-'.
3484 case $src in
3485- -*) src=./$src;;
3486+ -*) src=./$src ;;
3487 esac
3488
3489 if test -n "$dir_arg"; then
3490@@ -248,22 +246,22 @@
3491 exit 1
3492 fi
3493
3494- if test -z "$dst_arg"; then
3495+ if test -z "$dstarg"; then
3496 echo "$0: no destination specified." >&2
3497 exit 1
3498 fi
3499
3500- dst=$dst_arg
3501+ dst=$dstarg
3502 # Protect names starting with `-'.
3503 case $dst in
3504- -*) dst=./$dst;;
3505+ -*) dst=./$dst ;;
3506 esac
3507
3508 # If destination is a directory, append the input filename; won't work
3509 # if double slashes aren't ignored.
3510 if test -d "$dst"; then
3511 if test -n "$no_target_directory"; then
3512- echo "$0: $dst_arg: Is a directory" >&2
3513+ echo "$0: $dstarg: Is a directory" >&2
3514 exit 1
3515 fi
3516 dstdir=$dst
3517@@ -384,19 +382,26 @@
3518 # directory the slow way, step by step, checking for races as we go.
3519
3520 case $dstdir in
3521- /*) prefix='/';;
3522- -*) prefix='./';;
3523- *) prefix='';;
3524+ /*) prefix=/ ;;
3525+ -*) prefix=./ ;;
3526+ *) prefix= ;;
3527 esac
3528
3529- eval "$initialize_posix_glob"
3530+ case $posix_glob in
3531+ '')
3532+ if (set -f) 2>/dev/null; then
3533+ posix_glob=true
3534+ else
3535+ posix_glob=false
3536+ fi ;;
3537+ esac
3538
3539 oIFS=$IFS
3540 IFS=/
3541- $posix_glob set -f
3542+ $posix_glob && set -f
3543 set fnord $dstdir
3544 shift
3545- $posix_glob set +f
3546+ $posix_glob && set +f
3547 IFS=$oIFS
3548
3549 prefixes=
3550@@ -458,54 +463,41 @@
3551 # ignore errors from any of these, just make sure not to ignore
3552 # errors from the above "$doit $cpprog $src $dsttmp" command.
3553 #
3554- { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
3555- { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
3556- { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
3557- { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
3558-
3559- # If -C, don't bother to copy if it wouldn't change the file.
3560- if $copy_on_change &&
3561- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
3562- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
3563-
3564- eval "$initialize_posix_glob" &&
3565- $posix_glob set -f &&
3566- set X $old && old=:$2:$4:$5:$6 &&
3567- set X $new && new=:$2:$4:$5:$6 &&
3568- $posix_glob set +f &&
3569-
3570- test "$old" = "$new" &&
3571- $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
3572- then
3573- rm -f "$dsttmp"
3574- else
3575- # Rename the file to the real destination.
3576- $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
3577-
3578- # The rename failed, perhaps because mv can't rename something else
3579- # to itself, or perhaps because mv is so ancient that it does not
3580- # support -f.
3581- {
3582- # Now remove or move aside any old file at destination location.
3583- # We try this two ways since rm can't unlink itself on some
3584- # systems and the destination file might be busy for other
3585- # reasons. In this case, the final cleanup might fail but the new
3586- # file should still install successfully.
3587- {
3588- test ! -f "$dst" ||
3589- $doit $rmcmd -f "$dst" 2>/dev/null ||
3590- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
3591- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
3592- } ||
3593- { echo "$0: cannot unlink or rename $dst" >&2
3594- (exit 1); exit 1
3595- }
3596- } &&
3597-
3598- # Now rename the file to the real destination.
3599- $doit $mvcmd "$dsttmp" "$dst"
3600- }
3601- fi || exit 1
3602+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
3603+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
3604+ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
3605+ && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
3606+
3607+ # Now rename the file to the real destination.
3608+ { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
3609+ || {
3610+ # The rename failed, perhaps because mv can't rename something else
3611+ # to itself, or perhaps because mv is so ancient that it does not
3612+ # support -f.
3613+
3614+ # Now remove or move aside any old file at destination location.
3615+ # We try this two ways since rm can't unlink itself on some
3616+ # systems and the destination file might be busy for other
3617+ # reasons. In this case, the final cleanup might fail but the new
3618+ # file should still install successfully.
3619+ {
3620+ if test -f "$dst"; then
3621+ $doit $rmcmd -f "$dst" 2>/dev/null \
3622+ || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
3623+ && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
3624+ || {
3625+ echo "$0: cannot unlink or rename $dst" >&2
3626+ (exit 1); exit 1
3627+ }
3628+ else
3629+ :
3630+ fi
3631+ } &&
3632+
3633+ # Now rename the file to the real destination.
3634+ $doit $mvcmd "$dsttmp" "$dst"
3635+ }
3636+ } || exit 1
3637
3638 trap '' 0
3639 fi
3640
3641=== modified file 'build-aux/ltmain.sh'
3642--- build-aux/ltmain.sh 2010-07-26 10:24:11 +0000
3643+++ build-aux/ltmain.sh 2012-07-09 01:33:23 +0000
3644@@ -1,6 +1,6 @@
3645 # Generated from ltmain.m4sh.
3646
3647-# ltmain.sh (GNU libtool) 2.2.6
3648+# ltmain.sh (GNU libtool) 2.2.4
3649 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
3650
3651 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
3652@@ -65,7 +65,11 @@
3653 # compiler: $LTCC
3654 # compiler flags: $LTCFLAGS
3655 # linker: $LD (gnu? $with_gnu_ld)
3656+<<<<<<< TREE
3657 # $progname: (GNU libtool) 2.2.6
3658+=======
3659+# $progname: (GNU libtool) 2.2.4
3660+>>>>>>> MERGE-SOURCE
3661 # automake: $automake_version
3662 # autoconf: $autoconf_version
3663 #
3664@@ -73,9 +77,13 @@
3665
3666 PROGRAM=ltmain.sh
3667 PACKAGE=libtool
3668+<<<<<<< TREE
3669 VERSION=2.2.6
3670+=======
3671+VERSION=2.2.4
3672+>>>>>>> MERGE-SOURCE
3673 TIMESTAMP=""
3674-package_revision=1.3012
3675+package_revision=1.2976
3676
3677 # Be Bourne compatible
3678 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3679@@ -805,7 +813,7 @@
3680
3681
3682 case $host in
3683- *cygwin* | *mingw* | *pw32* | *cegcc*)
3684+ *cygwin* | *mingw* | *pw32*)
3685 # don't eliminate duplications in $postdeps and $predeps
3686 opt_duplicate_compiler_generated_deps=:
3687 ;;
3688@@ -893,9 +901,8 @@
3689 # determined imposters.
3690 func_lalib_p ()
3691 {
3692- test -f "$1" &&
3693- $SED -e 4q "$1" 2>/dev/null \
3694- | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
3695+ $SED -e 4q "$1" 2>/dev/null \
3696+ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
3697 }
3698
3699 # func_lalib_unsafe_p file
3700@@ -908,7 +915,7 @@
3701 func_lalib_unsafe_p ()
3702 {
3703 lalib_p=no
3704- if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then
3705+ if test -r "$1" && exec 5<&0 <"$1"; then
3706 for lalib_p_l in 1 2 3 4
3707 do
3708 read lalib_p_line
3709@@ -1276,7 +1283,7 @@
3710
3711 # On Cygwin there's no "real" PIC flag so we must build both object types
3712 case $host_os in
3713- cygwin* | mingw* | pw32* | os2* | cegcc*)
3714+ cygwin* | mingw* | pw32* | os2*)
3715 pic_mode=default
3716 ;;
3717 esac
3718@@ -2047,7 +2054,7 @@
3719 'exit $?'
3720 tstripme="$stripme"
3721 case $host_os in
3722- cygwin* | mingw* | pw32* | cegcc*)
3723+ cygwin* | mingw* | pw32*)
3724 case $realname in
3725 *.dll.a)
3726 tstripme=""
3727@@ -2153,7 +2160,7 @@
3728
3729 # Do a test to see if this is really a libtool program.
3730 case $host in
3731- *cygwin* | *mingw*)
3732+ *cygwin*|*mingw*)
3733 if func_ltwrapper_executable_p "$file"; then
3734 func_ltwrapper_scriptname "$file"
3735 wrapper=$func_ltwrapper_scriptname_result
3736@@ -2359,7 +2366,7 @@
3737 $RM $export_symbols
3738 eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
3739 case $host in
3740- *cygwin* | *mingw* | *cegcc* )
3741+ *cygwin* | *mingw* )
3742 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
3743 eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
3744 ;;
3745@@ -2371,7 +2378,7 @@
3746 eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
3747 eval '$MV "$nlist"T "$nlist"'
3748 case $host in
3749- *cygwin | *mingw* | *cegcc* )
3750+ *cygwin | *mingw* )
3751 eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
3752 eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
3753 ;;
3754@@ -2427,7 +2434,7 @@
3755 } lt_dlsymlist;
3756 "
3757 case $host in
3758- *cygwin* | *mingw* | *cegcc* )
3759+ *cygwin* | *mingw* )
3760 $ECHO >> "$output_objdir/$my_dlsyms" "\
3761 /* DATA imports from DLLs on WIN32 con't be const, because
3762 runtime relocations are performed -- see ld's documentation
3763@@ -2513,7 +2520,7 @@
3764 # Transform the symbol file into the correct name.
3765 symfileobj="$output_objdir/${my_outputname}S.$objext"
3766 case $host in
3767- *cygwin* | *mingw* | *cegcc* )
3768+ *cygwin* | *mingw* )
3769 if test -f "$output_objdir/$my_outputname.def"; then
3770 compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
3771 finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
3772@@ -2692,16 +2699,25 @@
3773
3774
3775
3776-# func_emit_wrapper_part1 [arg=no]
3777-#
3778-# Emit the first part of a libtool wrapper script on stdout.
3779-# For more information, see the description associated with
3780-# func_emit_wrapper(), below.
3781-func_emit_wrapper_part1 ()
3782+# func_emit_wrapper arg
3783+#
3784+# emit a libtool wrapper script on stdout
3785+# don't directly open a file because we may want to
3786+# incorporate the script contents within a cygwin/mingw
3787+# wrapper executable. Must ONLY be called from within
3788+# func_mode_link because it depends on a number of variable
3789+# set therein.
3790+#
3791+# arg is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
3792+# variable will take. If 'yes', then the emitted script
3793+# will assume that the directory in which it is stored is
3794+# the '.lib' directory. This is a cygwin/mingw-specific
3795+# behavior.
3796+func_emit_wrapper ()
3797 {
3798- func_emit_wrapper_part1_arg1=no
3799+ func_emit_wrapper_arg1=no
3800 if test -n "$1" ; then
3801- func_emit_wrapper_part1_arg1=$1
3802+ func_emit_wrapper_arg1=$1
3803 fi
3804
3805 $ECHO "\
3806@@ -2786,27 +2802,10 @@
3807 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
3808 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
3809 done
3810-"
3811-}
3812-# end: func_emit_wrapper_part1
3813-
3814-# func_emit_wrapper_part2 [arg=no]
3815-#
3816-# Emit the second part of a libtool wrapper script on stdout.
3817-# For more information, see the description associated with
3818-# func_emit_wrapper(), below.
3819-func_emit_wrapper_part2 ()
3820-{
3821- func_emit_wrapper_part2_arg1=no
3822- if test -n "$1" ; then
3823- func_emit_wrapper_part2_arg1=$1
3824- fi
3825-
3826- $ECHO "\
3827
3828 # Usually 'no', except on cygwin/mingw when embedded into
3829 # the cwrapper.
3830- WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1
3831+ WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
3832 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
3833 # special case for '.'
3834 if test \"\$thisdir\" = \".\"; then
3835@@ -2897,7 +2896,7 @@
3836 "
3837 case $host in
3838 # Backslashes separate directories on plain windows
3839- *-*-mingw | *-*-os2* | *-cegcc*)
3840+ *-*-mingw | *-*-os2*)
3841 $ECHO "\
3842 exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
3843 "
3844@@ -2923,207 +2922,7 @@
3845 fi\
3846 "
3847 }
3848-# end: func_emit_wrapper_part2
3849-
3850-
3851-# func_emit_wrapper [arg=no]
3852-#
3853-# Emit a libtool wrapper script on stdout.
3854-# Don't directly open a file because we may want to
3855-# incorporate the script contents within a cygwin/mingw
3856-# wrapper executable. Must ONLY be called from within
3857-# func_mode_link because it depends on a number of variables
3858-# set therein.
3859-#
3860-# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
3861-# variable will take. If 'yes', then the emitted script
3862-# will assume that the directory in which it is stored is
3863-# the $objdir directory. This is a cygwin/mingw-specific
3864-# behavior.
3865-func_emit_wrapper ()
3866-{
3867- func_emit_wrapper_arg1=no
3868- if test -n "$1" ; then
3869- func_emit_wrapper_arg1=$1
3870- fi
3871-
3872- # split this up so that func_emit_cwrapperexe_src
3873- # can call each part independently.
3874- func_emit_wrapper_part1 "${func_emit_wrapper_arg1}"
3875- func_emit_wrapper_part2 "${func_emit_wrapper_arg1}"
3876-}
3877-
3878-
3879-# func_to_host_path arg
3880-#
3881-# Convert paths to host format when used with build tools.
3882-# Intended for use with "native" mingw (where libtool itself
3883-# is running under the msys shell), or in the following cross-
3884-# build environments:
3885-# $build $host
3886-# mingw (msys) mingw [e.g. native]
3887-# cygwin mingw
3888-# *nix + wine mingw
3889-# where wine is equipped with the `winepath' executable.
3890-# In the native mingw case, the (msys) shell automatically
3891-# converts paths for any non-msys applications it launches,
3892-# but that facility isn't available from inside the cwrapper.
3893-# Similar accommodations are necessary for $host mingw and
3894-# $build cygwin. Calling this function does no harm for other
3895-# $host/$build combinations not listed above.
3896-#
3897-# ARG is the path (on $build) that should be converted to
3898-# the proper representation for $host. The result is stored
3899-# in $func_to_host_path_result.
3900-func_to_host_path ()
3901-{
3902- func_to_host_path_result="$1"
3903- if test -n "$1" ; then
3904- case $host in
3905- *mingw* )
3906- lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
3907- case $build in
3908- *mingw* ) # actually, msys
3909- # awkward: cmd appends spaces to result
3910- lt_sed_strip_trailing_spaces="s/[ ]*\$//"
3911- func_to_host_path_tmp1=`( cmd //c echo "$1" |\
3912- $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
3913- func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3914- $SED -e "$lt_sed_naive_backslashify"`
3915- ;;
3916- *cygwin* )
3917- func_to_host_path_tmp1=`cygpath -w "$1"`
3918- func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3919- $SED -e "$lt_sed_naive_backslashify"`
3920- ;;
3921- * )
3922- # Unfortunately, winepath does not exit with a non-zero
3923- # error code, so we are forced to check the contents of
3924- # stdout. On the other hand, if the command is not
3925- # found, the shell will set an exit code of 127 and print
3926- # *an error message* to stdout. So we must check for both
3927- # error code of zero AND non-empty stdout, which explains
3928- # the odd construction:
3929- func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
3930- if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
3931- func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\
3932- $SED -e "$lt_sed_naive_backslashify"`
3933- else
3934- # Allow warning below.
3935- func_to_host_path_result=""
3936- fi
3937- ;;
3938- esac
3939- if test -z "$func_to_host_path_result" ; then
3940- func_error "Could not determine host path corresponding to"
3941- func_error " '$1'"
3942- func_error "Continuing, but uninstalled executables may not work."
3943- # Fallback:
3944- func_to_host_path_result="$1"
3945- fi
3946- ;;
3947- esac
3948- fi
3949-}
3950-# end: func_to_host_path
3951-
3952-# func_to_host_pathlist arg
3953-#
3954-# Convert pathlists to host format when used with build tools.
3955-# See func_to_host_path(), above. This function supports the
3956-# following $build/$host combinations (but does no harm for
3957-# combinations not listed here):
3958-# $build $host
3959-# mingw (msys) mingw [e.g. native]
3960-# cygwin mingw
3961-# *nix + wine mingw
3962-#
3963-# Path separators are also converted from $build format to
3964-# $host format. If ARG begins or ends with a path separator
3965-# character, it is preserved (but converted to $host format)
3966-# on output.
3967-#
3968-# ARG is a pathlist (on $build) that should be converted to
3969-# the proper representation on $host. The result is stored
3970-# in $func_to_host_pathlist_result.
3971-func_to_host_pathlist ()
3972-{
3973- func_to_host_pathlist_result="$1"
3974- if test -n "$1" ; then
3975- case $host in
3976- *mingw* )
3977- lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
3978- # Remove leading and trailing path separator characters from
3979- # ARG. msys behavior is inconsistent here, cygpath turns them
3980- # into '.;' and ';.', and winepath ignores them completely.
3981- func_to_host_pathlist_tmp2="$1"
3982- # Once set for this call, this variable should not be
3983- # reassigned. It is used in tha fallback case.
3984- func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\
3985- $SED -e 's|^:*||' -e 's|:*$||'`
3986- case $build in
3987- *mingw* ) # Actually, msys.
3988- # Awkward: cmd appends spaces to result.
3989- lt_sed_strip_trailing_spaces="s/[ ]*\$//"
3990- func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\
3991- $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""`
3992- func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3993- $SED -e "$lt_sed_naive_backslashify"`
3994- ;;
3995- *cygwin* )
3996- func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"`
3997- func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\
3998- $SED -e "$lt_sed_naive_backslashify"`
3999- ;;
4000- * )
4001- # unfortunately, winepath doesn't convert pathlists
4002- func_to_host_pathlist_result=""
4003- func_to_host_pathlist_oldIFS=$IFS
4004- IFS=:
4005- for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
4006- IFS=$func_to_host_pathlist_oldIFS
4007- if test -n "$func_to_host_pathlist_f" ; then
4008- func_to_host_path "$func_to_host_pathlist_f"
4009- if test -n "$func_to_host_path_result" ; then
4010- if test -z "$func_to_host_pathlist_result" ; then
4011- func_to_host_pathlist_result="$func_to_host_path_result"
4012- else
4013- func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result"
4014- fi
4015- fi
4016- fi
4017- IFS=:
4018- done
4019- IFS=$func_to_host_pathlist_oldIFS
4020- ;;
4021- esac
4022- if test -z "$func_to_host_pathlist_result" ; then
4023- func_error "Could not determine the host path(s) corresponding to"
4024- func_error " '$1'"
4025- func_error "Continuing, but uninstalled executables may not work."
4026- # Fallback. This may break if $1 contains DOS-style drive
4027- # specifications. The fix is not to complicate the expression
4028- # below, but for the user to provide a working wine installation
4029- # with winepath so that path translation in the cross-to-mingw
4030- # case works properly.
4031- lt_replace_pathsep_nix_to_dos="s|:|;|g"
4032- func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
4033- $SED -e "$lt_replace_pathsep_nix_to_dos"`
4034- fi
4035- # Now, add the leading and trailing path separators back
4036- case "$1" in
4037- :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
4038- ;;
4039- esac
4040- case "$1" in
4041- *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;"
4042- ;;
4043- esac
4044- ;;
4045- esac
4046- fi
4047-}
4048-# end: func_to_host_pathlist
4049+# end: func_emit_wrapper
4050
4051 # func_emit_cwrapperexe_src
4052 # emit the source code for a wrapper executable on stdout
4053@@ -3160,12 +2959,6 @@
4054 # include <stdint.h>
4055 # ifdef __CYGWIN__
4056 # include <io.h>
4057-# define HAVE_SETENV
4058-# ifdef __STRICT_ANSI__
4059-char *realpath (const char *, char *);
4060-int putenv (char *);
4061-int setenv (const char *, const char *, int);
4062-# endif
4063 # endif
4064 #endif
4065 #include <malloc.h>
4066@@ -3272,105 +3065,29 @@
4067 int check_executable (const char *path);
4068 char *strendzap (char *str, const char *pat);
4069 void lt_fatal (const char *message, ...);
4070-void lt_setenv (const char *name, const char *value);
4071-char *lt_extend_str (const char *orig_value, const char *add, int to_end);
4072-void lt_opt_process_env_set (const char *arg);
4073-void lt_opt_process_env_prepend (const char *arg);
4074-void lt_opt_process_env_append (const char *arg);
4075-int lt_split_name_value (const char *arg, char** name, char** value);
4076-void lt_update_exe_path (const char *name, const char *value);
4077-void lt_update_lib_path (const char *name, const char *value);
4078-
4079-static const char *script_text_part1 =
4080-EOF
4081-
4082- func_emit_wrapper_part1 yes |
4083- $SED -e 's/\([\\"]\)/\\\1/g' \
4084- -e 's/^/ "/' -e 's/$/\\n"/'
4085- echo ";"
4086- cat <<EOF
4087-
4088-static const char *script_text_part2 =
4089-EOF
4090- func_emit_wrapper_part2 yes |
4091+
4092+static const char *script_text =
4093+EOF
4094+
4095+ func_emit_wrapper yes |
4096 $SED -e 's/\([\\"]\)/\\\1/g' \
4097 -e 's/^/ "/' -e 's/$/\\n"/'
4098 echo ";"
4099
4100 cat <<EOF
4101 const char * MAGIC_EXE = "$magic_exe";
4102-const char * LIB_PATH_VARNAME = "$shlibpath_var";
4103-EOF
4104-
4105- if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4106- func_to_host_pathlist "$temp_rpath"
4107- cat <<EOF
4108-const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
4109-EOF
4110- else
4111- cat <<"EOF"
4112-const char * LIB_PATH_VALUE = "";
4113-EOF
4114- fi
4115-
4116- if test -n "$dllsearchpath"; then
4117- func_to_host_pathlist "$dllsearchpath:"
4118- cat <<EOF
4119-const char * EXE_PATH_VARNAME = "PATH";
4120-const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
4121-EOF
4122- else
4123- cat <<"EOF"
4124-const char * EXE_PATH_VARNAME = "";
4125-const char * EXE_PATH_VALUE = "";
4126-EOF
4127- fi
4128-
4129- if test "$fast_install" = yes; then
4130- cat <<EOF
4131-const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
4132-EOF
4133- else
4134- cat <<EOF
4135-const char * TARGET_PROGRAM_NAME = "$outputname"; /* hopefully, no .exe */
4136-EOF
4137- fi
4138-
4139-
4140- cat <<"EOF"
4141-
4142-#define LTWRAPPER_OPTION_PREFIX "--lt-"
4143-#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
4144-
4145-static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
4146-static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
4147-
4148-static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
4149-
4150-static const size_t env_set_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 7;
4151-static const char *env_set_opt = LTWRAPPER_OPTION_PREFIX "env-set";
4152- /* argument is putenv-style "foo=bar", value of foo is set to bar */
4153-
4154-static const size_t env_prepend_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 11;
4155-static const char *env_prepend_opt = LTWRAPPER_OPTION_PREFIX "env-prepend";
4156- /* argument is putenv-style "foo=bar", new value of foo is bar${foo} */
4157-
4158-static const size_t env_append_opt_len = LTWRAPPER_OPTION_PREFIX_LENGTH + 10;
4159-static const char *env_append_opt = LTWRAPPER_OPTION_PREFIX "env-append";
4160- /* argument is putenv-style "foo=bar", new value of foo is ${foo}bar */
4161
4162 int
4163 main (int argc, char *argv[])
4164 {
4165 char **newargz;
4166- int newargc;
4167 char *tmp_pathspec;
4168 char *actual_cwrapper_path;
4169- char *actual_cwrapper_name;
4170- char *target_name;
4171- char *lt_argv_zero;
4172+ char *shwrapper_name;
4173 intptr_t rval = 127;
4174+ FILE *shwrapper;
4175
4176+ const char *dumpscript_opt = "--lt-dump-script";
4177 int i;
4178
4179 program_name = (char *) xstrdup (base_name (argv[0]));
4180@@ -3390,14 +3107,38 @@
4181 ;;
4182 esac
4183
4184- cat <<"EOF"
4185- printf ("%s", script_text_part1);
4186- printf ("%s", script_text_part2);
4187+ cat <<EOF
4188+ printf ("%s", script_text);
4189 return 0;
4190 }
4191 }
4192
4193- newargz = XMALLOC (char *, argc + 1);
4194+ newargz = XMALLOC (char *, argc + 2);
4195+EOF
4196+
4197+ if test -n "$TARGETSHELL" ; then
4198+ # no path translation at all
4199+ lt_newargv0=$TARGETSHELL
4200+ else
4201+ case "$host" in
4202+ *mingw* )
4203+ # awkward: cmd appends spaces to result
4204+ lt_sed_strip_trailing_spaces="s/[ ]*\$//"
4205+ lt_newargv0=`( cmd //c echo $SHELL | $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo $SHELL`
4206+ case $lt_newargv0 in
4207+ *.exe | *.EXE) ;;
4208+ *) lt_newargv0=$lt_newargv0.exe ;;
4209+ esac
4210+ ;;
4211+ * ) lt_newargv0=$SHELL ;;
4212+ esac
4213+ fi
4214+
4215+ cat <<EOF
4216+ newargz[0] = (char *) xstrdup ("$lt_newargv0");
4217+EOF
4218+
4219+ cat <<"EOF"
4220 tmp_pathspec = find_executable (argv[0]);
4221 if (tmp_pathspec == NULL)
4222 lt_fatal ("Couldn't find %s", argv[0]);
4223@@ -3409,60 +3150,39 @@
4224 actual_cwrapper_path));
4225 XFREE (tmp_pathspec);
4226
4227- actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
4228- strendzap (actual_cwrapper_path, actual_cwrapper_name);
4229-
4230- /* wrapper name transforms */
4231- strendzap (actual_cwrapper_name, ".exe");
4232- tmp_pathspec = lt_extend_str (actual_cwrapper_name, ".exe", 1);
4233- XFREE (actual_cwrapper_name);
4234- actual_cwrapper_name = tmp_pathspec;
4235- tmp_pathspec = 0;
4236-
4237- /* target_name transforms -- use actual target program name; might have lt- prefix */
4238- target_name = xstrdup (base_name (TARGET_PROGRAM_NAME));
4239- strendzap (target_name, ".exe");
4240- tmp_pathspec = lt_extend_str (target_name, ".exe", 1);
4241- XFREE (target_name);
4242- target_name = tmp_pathspec;
4243- tmp_pathspec = 0;
4244-
4245- LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
4246- target_name));
4247+ shwrapper_name = (char *) xstrdup (base_name (actual_cwrapper_path));
4248+ strendzap (actual_cwrapper_path, shwrapper_name);
4249+
4250+ /* shwrapper_name transforms */
4251+ strendzap (shwrapper_name, ".exe");
4252+ tmp_pathspec = XMALLOC (char, (strlen (shwrapper_name) +
4253+ strlen ("_ltshwrapperTMP") + 1));
4254+ strcpy (tmp_pathspec, shwrapper_name);
4255+ strcat (tmp_pathspec, "_ltshwrapperTMP");
4256+ XFREE (shwrapper_name);
4257+ shwrapper_name = tmp_pathspec;
4258+ tmp_pathspec = 0;
4259+ LTWRAPPER_DEBUGPRINTF (("(main) libtool shell wrapper name: %s\n",
4260+ shwrapper_name));
4261 EOF
4262
4263 cat <<EOF
4264- newargz[0] =
4265+ newargz[1] =
4266 XMALLOC (char, (strlen (actual_cwrapper_path) +
4267- strlen ("$objdir") + 1 + strlen (actual_cwrapper_name) + 1));
4268- strcpy (newargz[0], actual_cwrapper_path);
4269- strcat (newargz[0], "$objdir");
4270- strcat (newargz[0], "/");
4271-EOF
4272-
4273- cat <<"EOF"
4274- /* stop here, and copy so we don't have to do this twice */
4275- tmp_pathspec = xstrdup (newargz[0]);
4276-
4277- /* do NOT want the lt- prefix here, so use actual_cwrapper_name */
4278- strcat (newargz[0], actual_cwrapper_name);
4279-
4280- /* DO want the lt- prefix here if it exists, so use target_name */
4281- lt_argv_zero = lt_extend_str (tmp_pathspec, target_name, 1);
4282- XFREE (tmp_pathspec);
4283- tmp_pathspec = NULL;
4284-EOF
4285+ strlen ("$objdir") + 1 + strlen (shwrapper_name) + 1));
4286+ strcpy (newargz[1], actual_cwrapper_path);
4287+ strcat (newargz[1], "$objdir");
4288+ strcat (newargz[1], "/");
4289+ strcat (newargz[1], shwrapper_name);
4290+EOF
4291+
4292
4293 case $host_os in
4294 mingw*)
4295 cat <<"EOF"
4296 {
4297 char* p;
4298- while ((p = strchr (newargz[0], '\\')) != NULL)
4299- {
4300- *p = '/';
4301- }
4302- while ((p = strchr (lt_argv_zero, '\\')) != NULL)
4303+ while ((p = strchr (newargz[1], '\\')) != NULL)
4304 {
4305 *p = '/';
4306 }
4307@@ -3472,114 +3192,55 @@
4308 esac
4309
4310 cat <<"EOF"
4311- XFREE (target_name);
4312+ XFREE (shwrapper_name);
4313 XFREE (actual_cwrapper_path);
4314- XFREE (actual_cwrapper_name);
4315-
4316- lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
4317- lt_setenv ("DUALCASE", "1"); /* for MSK sh */
4318- lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
4319- lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
4320-
4321- newargc=0;
4322+
4323+ /* always write in binary mode */
4324+ if ((shwrapper = fopen (newargz[1], FOPEN_WB)) == 0)
4325+ {
4326+ lt_fatal ("Could not open %s for writing", newargz[1]);
4327+ }
4328+ fprintf (shwrapper, "%s", script_text);
4329+ fclose (shwrapper);
4330+
4331+ make_executable (newargz[1]);
4332+
4333 for (i = 1; i < argc; i++)
4334- {
4335- if (strncmp (argv[i], env_set_opt, env_set_opt_len) == 0)
4336- {
4337- if (argv[i][env_set_opt_len] == '=')
4338- {
4339- const char *p = argv[i] + env_set_opt_len + 1;
4340- lt_opt_process_env_set (p);
4341- }
4342- else if (argv[i][env_set_opt_len] == '\0' && i + 1 < argc)
4343- {
4344- lt_opt_process_env_set (argv[++i]); /* don't copy */
4345- }
4346- else
4347- lt_fatal ("%s missing required argument", env_set_opt);
4348- continue;
4349- }
4350- if (strncmp (argv[i], env_prepend_opt, env_prepend_opt_len) == 0)
4351- {
4352- if (argv[i][env_prepend_opt_len] == '=')
4353- {
4354- const char *p = argv[i] + env_prepend_opt_len + 1;
4355- lt_opt_process_env_prepend (p);
4356- }
4357- else if (argv[i][env_prepend_opt_len] == '\0' && i + 1 < argc)
4358- {
4359- lt_opt_process_env_prepend (argv[++i]); /* don't copy */
4360- }
4361- else
4362- lt_fatal ("%s missing required argument", env_prepend_opt);
4363- continue;
4364- }
4365- if (strncmp (argv[i], env_append_opt, env_append_opt_len) == 0)
4366- {
4367- if (argv[i][env_append_opt_len] == '=')
4368- {
4369- const char *p = argv[i] + env_append_opt_len + 1;
4370- lt_opt_process_env_append (p);
4371- }
4372- else if (argv[i][env_append_opt_len] == '\0' && i + 1 < argc)
4373- {
4374- lt_opt_process_env_append (argv[++i]); /* don't copy */
4375- }
4376- else
4377- lt_fatal ("%s missing required argument", env_append_opt);
4378- continue;
4379- }
4380- if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
4381- {
4382- /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
4383- namespace, but it is not one of the ones we know about and
4384- have already dealt with, above (inluding dump-script), then
4385- report an error. Otherwise, targets might begin to believe
4386- they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
4387- namespace. The first time any user complains about this, we'll
4388- need to make LTWRAPPER_OPTION_PREFIX a configure-time option
4389- or a configure.ac-settable value.
4390- */
4391- lt_fatal ("Unrecognized option in %s namespace: '%s'",
4392- ltwrapper_option_prefix, argv[i]);
4393- }
4394- /* otherwise ... */
4395- newargz[++newargc] = xstrdup (argv[i]);
4396- }
4397- newargz[++newargc] = NULL;
4398+ newargz[i + 1] = xstrdup (argv[i]);
4399+ newargz[argc + 1] = NULL;
4400
4401- LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
4402- for (i = 0; i < newargc; i++)
4403+ for (i = 0; i < argc + 1; i++)
4404 {
4405- LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
4406+ LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, newargz[i]));
4407 }
4408
4409 EOF
4410
4411 case $host_os in
4412 mingw*)
4413- cat <<"EOF"
4414+ cat <<EOF
4415 /* execv doesn't actually work on mingw as expected on unix */
4416- rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
4417+ rval = _spawnv (_P_WAIT, "$lt_newargv0", (const char * const *) newargz);
4418 if (rval == -1)
4419 {
4420 /* failed to start process */
4421- LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
4422+ LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"$lt_newargv0\": errno = %d\n", errno));
4423 return 127;
4424 }
4425 return rval;
4426+}
4427 EOF
4428 ;;
4429 *)
4430- cat <<"EOF"
4431- execv (lt_argv_zero, newargz);
4432+ cat <<EOF
4433+ execv ("$lt_newargv0", newargz);
4434 return rval; /* =127, but avoids unused variable warning */
4435+}
4436 EOF
4437 ;;
4438 esac
4439
4440 cat <<"EOF"
4441-}
4442
4443 void *
4444 xmalloc (size_t num)
4445@@ -3853,177 +3514,6 @@
4446 lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
4447 va_end (ap);
4448 }
4449-
4450-void
4451-lt_setenv (const char *name, const char *value)
4452-{
4453- LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
4454- (name ? name : "<NULL>"),
4455- (value ? value : "<NULL>")));
4456- {
4457-#ifdef HAVE_SETENV
4458- /* always make a copy, for consistency with !HAVE_SETENV */
4459- char *str = xstrdup (value);
4460- setenv (name, str, 1);
4461-#else
4462- int len = strlen (name) + 1 + strlen (value) + 1;
4463- char *str = XMALLOC (char, len);
4464- sprintf (str, "%s=%s", name, value);
4465- if (putenv (str) != EXIT_SUCCESS)
4466- {
4467- XFREE (str);
4468- }
4469-#endif
4470- }
4471-}
4472-
4473-char *
4474-lt_extend_str (const char *orig_value, const char *add, int to_end)
4475-{
4476- char *new_value;
4477- if (orig_value && *orig_value)
4478- {
4479- int orig_value_len = strlen (orig_value);
4480- int add_len = strlen (add);
4481- new_value = XMALLOC (char, add_len + orig_value_len + 1);
4482- if (to_end)
4483- {
4484- strcpy (new_value, orig_value);
4485- strcpy (new_value + orig_value_len, add);
4486- }
4487- else
4488- {
4489- strcpy (new_value, add);
4490- strcpy (new_value + add_len, orig_value);
4491- }
4492- }
4493- else
4494- {
4495- new_value = xstrdup (add);
4496- }
4497- return new_value;
4498-}
4499-
4500-int
4501-lt_split_name_value (const char *arg, char** name, char** value)
4502-{
4503- const char *p;
4504- int len;
4505- if (!arg || !*arg)
4506- return 1;
4507-
4508- p = strchr (arg, (int)'=');
4509-
4510- if (!p)
4511- return 1;
4512-
4513- *value = xstrdup (++p);
4514-
4515- len = strlen (arg) - strlen (*value);
4516- *name = XMALLOC (char, len);
4517- strncpy (*name, arg, len-1);
4518- (*name)[len - 1] = '\0';
4519-
4520- return 0;
4521-}
4522-
4523-void
4524-lt_opt_process_env_set (const char *arg)
4525-{
4526- char *name = NULL;
4527- char *value = NULL;
4528-
4529- if (lt_split_name_value (arg, &name, &value) != 0)
4530- {
4531- XFREE (name);
4532- XFREE (value);
4533- lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg);
4534- }
4535-
4536- lt_setenv (name, value);
4537- XFREE (name);
4538- XFREE (value);
4539-}
4540-
4541-void
4542-lt_opt_process_env_prepend (const char *arg)
4543-{
4544- char *name = NULL;
4545- char *value = NULL;
4546- char *new_value = NULL;
4547-
4548- if (lt_split_name_value (arg, &name, &value) != 0)
4549- {
4550- XFREE (name);
4551- XFREE (value);
4552- lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg);
4553- }
4554-
4555- new_value = lt_extend_str (getenv (name), value, 0);
4556- lt_setenv (name, new_value);
4557- XFREE (new_value);
4558- XFREE (name);
4559- XFREE (value);
4560-}
4561-
4562-void
4563-lt_opt_process_env_append (const char *arg)
4564-{
4565- char *name = NULL;
4566- char *value = NULL;
4567- char *new_value = NULL;
4568-
4569- if (lt_split_name_value (arg, &name, &value) != 0)
4570- {
4571- XFREE (name);
4572- XFREE (value);
4573- lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg);
4574- }
4575-
4576- new_value = lt_extend_str (getenv (name), value, 1);
4577- lt_setenv (name, new_value);
4578- XFREE (new_value);
4579- XFREE (name);
4580- XFREE (value);
4581-}
4582-
4583-void
4584-lt_update_exe_path (const char *name, const char *value)
4585-{
4586- LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4587- (name ? name : "<NULL>"),
4588- (value ? value : "<NULL>")));
4589-
4590- if (name && *name && value && *value)
4591- {
4592- char *new_value = lt_extend_str (getenv (name), value, 0);
4593- /* some systems can't cope with a ':'-terminated path #' */
4594- int len = strlen (new_value);
4595- while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
4596- {
4597- new_value[len-1] = '\0';
4598- }
4599- lt_setenv (name, new_value);
4600- XFREE (new_value);
4601- }
4602-}
4603-
4604-void
4605-lt_update_lib_path (const char *name, const char *value)
4606-{
4607- LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4608- (name ? name : "<NULL>"),
4609- (value ? value : "<NULL>")));
4610-
4611- if (name && *name && value && *value)
4612- {
4613- char *new_value = lt_extend_str (getenv (name), value, 0);
4614- lt_setenv (name, new_value);
4615- XFREE (new_value);
4616- }
4617-}
4618-
4619-
4620 EOF
4621 }
4622 # end: func_emit_cwrapperexe_src
4623@@ -4033,7 +3523,7 @@
4624 {
4625 $opt_debug
4626 case $host in
4627- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4628+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4629 # It is impossible to link a dll without this setting, and
4630 # we shouldn't force the makefile maintainer to figure out
4631 # which system we are compiling for in order to pass an extra
4632@@ -4477,13 +3967,6 @@
4633 -L*)
4634 func_stripname '-L' '' "$arg"
4635 dir=$func_stripname_result
4636- if test -z "$dir"; then
4637- if test "$#" -gt 0; then
4638- func_fatal_error "require no space between \`-L' and \`$1'"
4639- else
4640- func_fatal_error "need path for \`-L' option"
4641- fi
4642- fi
4643 # We need an absolute path.
4644 case $dir in
4645 [\\/]* | [A-Za-z]:[\\/]*) ;;
4646@@ -4502,16 +3985,14 @@
4647 ;;
4648 esac
4649 case $host in
4650- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4651+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4652 testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
4653 case :$dllsearchpath: in
4654 *":$dir:"*) ;;
4655- ::) dllsearchpath=$dir;;
4656 *) dllsearchpath="$dllsearchpath:$dir";;
4657 esac
4658 case :$dllsearchpath: in
4659 *":$testbindir:"*) ;;
4660- ::) dllsearchpath=$testbindir;;
4661 *) dllsearchpath="$dllsearchpath:$testbindir";;
4662 esac
4663 ;;
4664@@ -4522,7 +4003,7 @@
4665 -l*)
4666 if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
4667 case $host in
4668- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*)
4669+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
4670 # These systems don't actually have a C or math library (as such)
4671 continue
4672 ;;
4673@@ -4599,7 +4080,7 @@
4674
4675 -no-install)
4676 case $host in
4677- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
4678+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
4679 # The PATH hackery in wrapper scripts is required on Windows
4680 # and Darwin in order for the loader to find any dlls it needs.
4681 func_warning "\`-no-install' is ignored for $host"
4682@@ -5556,7 +5037,7 @@
4683 if test -n "$library_names" &&
4684 { test "$use_static_libs" = no || test -z "$old_library"; }; then
4685 case $host in
4686- *cygwin* | *mingw* | *cegcc*)
4687+ *cygwin* | *mingw*)
4688 # No point in relinking DLLs because paths are not encoded
4689 notinst_deplibs="$notinst_deplibs $lib"
4690 need_relink=no
4691@@ -5626,7 +5107,7 @@
4692 elif test -n "$soname_spec"; then
4693 # bleh windows
4694 case $host in
4695- *cygwin* | mingw* | *cegcc*)
4696+ *cygwin* | mingw*)
4697 func_arith $current - $age
4698 major=$func_arith_result
4699 versuffix="-$major"
4700@@ -6405,7 +5886,7 @@
4701 tempremovelist=`$ECHO "$output_objdir/*"`
4702 for p in $tempremovelist; do
4703 case $p in
4704- *.$objext | *.gcno)
4705+ *.$objext)
4706 ;;
4707 $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
4708 if test "X$precious_files_regex" != "X"; then
4709@@ -6476,7 +5957,7 @@
4710 if test "$build_libtool_libs" = yes; then
4711 if test -n "$rpath"; then
4712 case $host in
4713- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*)
4714+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
4715 # these systems don't actually have a c library (as such)!
4716 ;;
4717 *-*-rhapsody* | *-*-darwin1.[012])
4718@@ -6975,7 +6456,7 @@
4719
4720 orig_export_symbols=
4721 case $host_os in
4722- cygwin* | mingw* | cegcc*)
4723+ cygwin* | mingw*)
4724 if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
4725 # exporting using user supplied symfile
4726 if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
4727@@ -7600,16 +7081,14 @@
4728 esac
4729 fi
4730 case $host in
4731- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
4732+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
4733 testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
4734 case :$dllsearchpath: in
4735 *":$libdir:"*) ;;
4736- ::) dllsearchpath=$libdir;;
4737 *) dllsearchpath="$dllsearchpath:$libdir";;
4738 esac
4739 case :$dllsearchpath: in
4740 *":$testbindir:"*) ;;
4741- ::) dllsearchpath=$testbindir;;
4742 *) dllsearchpath="$dllsearchpath:$testbindir";;
4743 esac
4744 ;;
4745@@ -7679,10 +7158,6 @@
4746 wrappers_required=no
4747 fi
4748 ;;
4749- *cegcc)
4750- # Disable wrappers for cegcc, we are cross compiling anyway.
4751- wrappers_required=no
4752- ;;
4753 *)
4754 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
4755 wrappers_required=no
4756@@ -7835,10 +7310,11 @@
4757
4758 func_emit_cwrapperexe_src > $cwrappersource
4759
4760- # The wrapper executable is built using the $host compiler,
4761- # because it contains $host paths and files. If cross-
4762- # compiling, it, like the target executable, must be
4763- # executed on the $host or under an emulation environment.
4764+ # we should really use a build-platform specific compiler
4765+ # here, but OTOH, the wrappers (shell script and this C one)
4766+ # are only useful if you want to execute the "real" binary.
4767+ # Since the "real" binary is built for $host, then this
4768+ # wrapper might as well be built for $host, too.
4769 $opt_dry_run || {
4770 $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
4771 $STRIP $cwrapper
4772@@ -8123,7 +7599,7 @@
4773 # place dlname in correct position for cygwin
4774 tdlname=$dlname
4775 case $host,$output,$installed,$module,$dlname in
4776- *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
4777+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
4778 esac
4779 $ECHO > $output "\
4780 # $outputname - a libtool library file
4781
4782=== modified file 'config.h.in'
4783--- config.h.in 2010-07-26 10:24:11 +0000
4784+++ config.h.in 2012-07-09 01:33:23 +0000
4785@@ -1,11 +1,17 @@
4786 /* config.h.in. Generated from configure.ac by autoheader. */
4787
4788+/* "CouchJS executable name." */
4789+#undef COUCHJS_NAME
4790+
4791 /* Define to 1 if you have the <dlfcn.h> header file. */
4792 #undef HAVE_DLFCN_H
4793
4794 /* Define to 1 if you have the <inttypes.h> header file. */
4795 #undef HAVE_INTTYPES_H
4796
4797+/* Use newer JS_GetCharsAndLength function. */
4798+#undef HAVE_JS_GET_STRING_CHARS_AND_LENGTH
4799+
4800 /* Define to 1 if you have the <memory.h> header file. */
4801 #undef HAVE_MEMORY_H
4802
4803@@ -30,6 +36,9 @@
4804 /* Define to 1 if you have the <unistd.h> header file. */
4805 #undef HAVE_UNISTD_H
4806
4807+/* Use JSScript* for scripts */
4808+#undef JSSCRIPT_TYPE
4809+
4810 /* Define to the sub-directory in which libtool stores uninstalled libraries.
4811 */
4812 #undef LT_OBJDIR
4813@@ -55,43 +64,19 @@
4814 /* Define to the version of this package. */
4815 #undef PACKAGE_VERSION
4816
4817+/* Use SpiderMonkey 1.8.0 */
4818+#undef SM180
4819+
4820+/* Use SpiderMonkey 1.8.5 */
4821+#undef SM185
4822+
4823 /* Define to 1 if you have the ANSI C header files. */
4824 #undef STDC_HEADERS
4825
4826-/* Use new JS_SetOperationCallback */
4827-#undef USE_JS_SETOPCB
4828+/* Version number of package */
4829+#undef VERSION
4830
4831-/* Enable extensions on AIX 3, Interix. */
4832-#ifndef _ALL_SOURCE
4833-# undef _ALL_SOURCE
4834-#endif
4835 /* Enable GNU extensions on systems that have them. */
4836 #ifndef _GNU_SOURCE
4837 # undef _GNU_SOURCE
4838 #endif
4839-/* Enable threading extensions on Solaris. */
4840-#ifndef _POSIX_PTHREAD_SEMANTICS
4841-# undef _POSIX_PTHREAD_SEMANTICS
4842-#endif
4843-/* Enable extensions on HP NonStop. */
4844-#ifndef _TANDEM_SOURCE
4845-# undef _TANDEM_SOURCE
4846-#endif
4847-/* Enable general extensions on Solaris. */
4848-#ifndef __EXTENSIONS__
4849-# undef __EXTENSIONS__
4850-#endif
4851-
4852-
4853-/* Version number of package */
4854-#undef VERSION
4855-
4856-/* Define to 1 if on MINIX. */
4857-#undef _MINIX
4858-
4859-/* Define to 2 if the system does not provide POSIX.1 features except with
4860- this defined. */
4861-#undef _POSIX_1_SOURCE
4862-
4863-/* Define to 1 if you need to in order for `stat' and other things to work. */
4864-#undef _POSIX_SOURCE
4865
4866=== modified file 'configure'
4867--- configure 2010-08-16 19:45:48 +0000
4868+++ configure 2012-07-09 01:33:23 +0000
4869@@ -1,12 +1,26 @@
4870 #! /bin/sh
4871+<<<<<<< TREE
4872 # From configure.ac 1.0.1.
4873+=======
4874+# From configure.ac 1.1.1.
4875+>>>>>>> MERGE-SOURCE
4876 # Guess values for system-dependent variables and create Makefiles.
4877+<<<<<<< TREE
4878 # Generated by GNU Autoconf 2.64 for Apache CouchDB 1.0.1.
4879+=======
4880+# Generated by GNU Autoconf 2.61 for Apache CouchDB 1.1.1.
4881+#
4882+# Report bugs to <https://issues.apache.org/jira/browse/COUCHDB>.
4883+>>>>>>> MERGE-SOURCE
4884 #
4885 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
4886+<<<<<<< TREE
4887 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
4888 # Foundation, Inc.
4889 #
4890+=======
4891+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4892+>>>>>>> MERGE-SOURCE
4893 # This configure script is free software; the Free Software Foundation
4894 # gives unlimited permission to copy, distribute and modify it.
4895 ## -------------------- ##
4896@@ -18,7 +32,7 @@
4897 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4898 emulate sh
4899 NULLCMD=:
4900- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4901+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4902 # is contrary to our usage. Disable this feature.
4903 alias -g '${1+"$@"}'='"$@"'
4904 setopt NO_GLOB_SUBST
4905@@ -32,6 +46,7 @@
4906 fi
4907
4908
4909+<<<<<<< TREE
4910 as_nl='
4911 '
4912 export as_nl
4913@@ -70,13 +85,29 @@
4914 as_echo='sh -c $as_echo_body as_echo'
4915 fi
4916
4917+=======
4918+
4919+
4920+# PATH needs CR
4921+# Avoid depending upon Character Ranges.
4922+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4923+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4924+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4925+as_cr_digits='0123456789'
4926+as_cr_alnum=$as_cr_Letters$as_cr_digits
4927+
4928+>>>>>>> MERGE-SOURCE
4929 # The user is always right.
4930 if test "${PATH_SEPARATOR+set}" != set; then
4931- PATH_SEPARATOR=:
4932- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4933- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4934- PATH_SEPARATOR=';'
4935- }
4936+ echo "#! /bin/sh" >conf$$.sh
4937+ echo "exit 0" >>conf$$.sh
4938+ chmod +x conf$$.sh
4939+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4940+ PATH_SEPARATOR=';'
4941+ else
4942+ PATH_SEPARATOR=:
4943+ fi
4944+ rm -f conf$$.sh
4945 fi
4946
4947
4948@@ -85,6 +116,8 @@
4949 # there to prevent editors from complaining about space-tab.
4950 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4951 # splitting by setting IFS to empty value.)
4952+as_nl='
4953+'
4954 IFS=" "" $as_nl"
4955
4956 # Find who we are. Look in the path if we contain no directory separator.
4957@@ -107,8 +140,13 @@
4958 as_myself=$0
4959 fi
4960 if test ! -f "$as_myself"; then
4961+<<<<<<< TREE
4962 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4963 exit 1
4964+=======
4965+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4966+ { (exit 1); exit 1; }
4967+>>>>>>> MERGE-SOURCE
4968 fi
4969
4970 # Unset variables that we do not need and which cause bugs (e.g. in
4971@@ -124,11 +162,56 @@
4972 PS4='+ '
4973
4974 # NLS nuisances.
4975-LC_ALL=C
4976-export LC_ALL
4977-LANGUAGE=C
4978-export LANGUAGE
4979-
4980+for as_var in \
4981+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4982+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4983+ LC_TELEPHONE LC_TIME
4984+do
4985+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4986+ eval $as_var=C; export $as_var
4987+ else
4988+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4989+ fi
4990+done
4991+
4992+<<<<<<< TREE
4993+=======
4994+# Required to use basename.
4995+if expr a : '\(a\)' >/dev/null 2>&1 &&
4996+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
4997+ as_expr=expr
4998+else
4999+ as_expr=false
5000+fi
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches