nutcracker 0.2.4.4 → 0.2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/ext/nutcracker/ChangeLog +0 -0
- data/ext/nutcracker/LICENSE +0 -0
- data/ext/nutcracker/Makefile +643 -0
- data/ext/nutcracker/Makefile.am +0 -0
- data/ext/nutcracker/Makefile.in +82 -190
- data/ext/nutcracker/NOTICE +0 -0
- data/ext/nutcracker/README.md +0 -0
- data/ext/nutcracker/aclocal.m4 +122 -231
- data/ext/nutcracker/autom4te.cache/output.0 +18664 -0
- data/ext/nutcracker/autom4te.cache/output.1 +18664 -0
- data/ext/nutcracker/autom4te.cache/output.2 +18664 -0
- data/ext/nutcracker/autom4te.cache/requests +494 -0
- data/ext/nutcracker/autom4te.cache/traces.0 +2415 -0
- data/ext/nutcracker/autom4te.cache/traces.1 +945 -0
- data/ext/nutcracker/autom4te.cache/traces.2 +2415 -0
- data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
- data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
- data/ext/nutcracker/conf/nutcracker.yml +0 -0
- data/ext/nutcracker/config.h +332 -0
- data/ext/nutcracker/config.h.in +15 -0
- data/ext/nutcracker/config.log +2684 -0
- data/ext/nutcracker/config.status +2317 -0
- data/ext/nutcracker/config/config.guess +248 -278
- data/ext/nutcracker/config/config.sub +77 -234
- data/ext/nutcracker/config/depcomp +39 -143
- data/ext/nutcracker/config/install-sh +116 -136
- data/ext/nutcracker/config/ltmain.sh +788 -1704
- data/ext/nutcracker/config/missing +65 -29
- data/ext/nutcracker/configure +1068 -2014
- data/ext/nutcracker/configure.ac +34 -2
- data/ext/nutcracker/contrib/Makefile +494 -0
- data/ext/nutcracker/contrib/Makefile.am +0 -0
- data/ext/nutcracker/contrib/Makefile.in +47 -120
- data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +736 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +13102 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +13085 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +13085 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +476 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +2339 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +545 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +2339 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h +81 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config.log +688 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/config.status +2032 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +51 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +41 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +656 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +40 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +91 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +84 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +87 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +83 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +110 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +79 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +92 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +88 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +96 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +100 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +87 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +163 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +115 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +77 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +91 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +84 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +87 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +83 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +110 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +79 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +92 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +88 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +96 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +100 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +87 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +163 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +115 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +71 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +80 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +77 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +667 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +81 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +78 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +373 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +196 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +126 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +320 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +819 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +664 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +60 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +795 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +606 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +222 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +246 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +106 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +31 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +42 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +108 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +235 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +1300 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +496 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +108 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +91 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +420 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +1229 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +97 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +91 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +413 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +91 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +59 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +525 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +17 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +470 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/libtool +8890 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +484 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +41 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +12 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +1 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +675 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +10 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +10 -0
- data/ext/nutcracker/exconf.rb +0 -0
- data/ext/nutcracker/extconf.rb +2 -5
- data/ext/nutcracker/libtool +9403 -0
- data/ext/nutcracker/m4/libtool.m4 +396 -960
- data/ext/nutcracker/m4/ltoptions.m4 +2 -17
- data/ext/nutcracker/m4/ltversion.m4 +6 -6
- data/ext/nutcracker/notes/c-styleguide.txt +0 -0
- data/ext/nutcracker/notes/debug.txt +0 -0
- data/ext/nutcracker/notes/memcache.txt +0 -0
- data/ext/nutcracker/notes/recommendation.md +0 -0
- data/ext/nutcracker/notes/redis.md +0 -0
- data/ext/nutcracker/notes/socket.txt +0 -0
- data/ext/nutcracker/scripts/nutcracker.init +0 -0
- data/ext/nutcracker/scripts/nutcracker.spec +0 -0
- data/ext/nutcracker/scripts/redis-check.py +0 -0
- data/ext/nutcracker/src/Makefile +647 -0
- data/ext/nutcracker/src/Makefile.am +1 -1
- data/ext/nutcracker/src/Makefile.in +81 -167
- data/ext/nutcracker/src/hashkit/Makefile +476 -0
- data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
- data/ext/nutcracker/src/hashkit/Makefile.in +37 -72
- data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_hashkit.h +0 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
- data/ext/nutcracker/src/nc.c +0 -0
- data/ext/nutcracker/src/nc.o +0 -0
- data/ext/nutcracker/src/nc_array.c +0 -0
- data/ext/nutcracker/src/nc_array.h +0 -0
- data/ext/nutcracker/src/nc_array.o +0 -0
- data/ext/nutcracker/src/nc_client.c +0 -0
- data/ext/nutcracker/src/nc_client.h +0 -0
- data/ext/nutcracker/src/nc_client.o +0 -0
- data/ext/nutcracker/src/nc_conf.c +0 -0
- data/ext/nutcracker/src/nc_conf.h +0 -0
- data/ext/nutcracker/src/nc_conf.o +0 -0
- data/ext/nutcracker/src/nc_connection.c +0 -0
- data/ext/nutcracker/src/nc_connection.h +0 -0
- data/ext/nutcracker/src/nc_connection.o +0 -0
- data/ext/nutcracker/src/nc_core.c +29 -26
- data/ext/nutcracker/src/nc_core.h +13 -5
- data/ext/nutcracker/src/nc_core.o +0 -0
- data/ext/nutcracker/src/{nc_event.c → nc_epoll.c} +94 -30
- data/ext/nutcracker/src/nc_epoll.o +0 -0
- data/ext/nutcracker/src/nc_event.h +33 -13
- data/ext/nutcracker/src/nc_kqueue.c +296 -0
- data/ext/nutcracker/src/nc_kqueue.o +0 -0
- data/ext/nutcracker/src/nc_log.c +0 -0
- data/ext/nutcracker/src/nc_log.h +0 -0
- data/ext/nutcracker/src/nc_log.o +0 -0
- data/ext/nutcracker/src/nc_mbuf.c +0 -0
- data/ext/nutcracker/src/nc_mbuf.h +0 -0
- data/ext/nutcracker/src/nc_mbuf.o +0 -0
- data/ext/nutcracker/src/nc_message.c +0 -0
- data/ext/nutcracker/src/nc_message.h +0 -0
- data/ext/nutcracker/src/nc_message.o +0 -0
- data/ext/nutcracker/src/nc_proxy.c +8 -8
- data/ext/nutcracker/src/nc_proxy.h +0 -0
- data/ext/nutcracker/src/nc_proxy.o +0 -0
- data/ext/nutcracker/src/nc_queue.h +0 -0
- data/ext/nutcracker/src/nc_rbtree.c +0 -0
- data/ext/nutcracker/src/nc_rbtree.h +0 -0
- data/ext/nutcracker/src/nc_rbtree.o +0 -0
- data/ext/nutcracker/src/nc_request.c +3 -3
- data/ext/nutcracker/src/nc_request.o +0 -0
- data/ext/nutcracker/src/nc_response.c +4 -6
- data/ext/nutcracker/src/nc_response.o +0 -0
- data/ext/nutcracker/src/nc_server.c +5 -5
- data/ext/nutcracker/src/nc_server.h +0 -0
- data/ext/nutcracker/src/nc_server.o +0 -0
- data/ext/nutcracker/src/nc_signal.c +0 -0
- data/ext/nutcracker/src/nc_signal.h +0 -0
- data/ext/nutcracker/src/nc_signal.o +0 -0
- data/ext/nutcracker/src/nc_stats.c +16 -21
- data/ext/nutcracker/src/nc_stats.h +3 -4
- data/ext/nutcracker/src/nc_stats.o +0 -0
- data/ext/nutcracker/src/nc_string.c +0 -0
- data/ext/nutcracker/src/nc_string.h +0 -0
- data/ext/nutcracker/src/nc_string.o +0 -0
- data/ext/nutcracker/src/nc_util.c +16 -0
- data/ext/nutcracker/src/nc_util.h +1 -0
- data/ext/nutcracker/src/nc_util.o +0 -0
- data/ext/nutcracker/src/nutcracker +0 -0
- data/ext/nutcracker/src/proto/Makefile +454 -0
- data/ext/nutcracker/src/proto/Makefile.am +0 -0
- data/ext/nutcracker/src/proto/Makefile.in +37 -72
- data/ext/nutcracker/src/proto/libproto.a +0 -0
- data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
- data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
- data/ext/nutcracker/src/proto/nc_proto.h +0 -0
- data/ext/nutcracker/src/proto/nc_redis.c +0 -0
- data/ext/nutcracker/src/proto/nc_redis.o +0 -0
- data/ext/nutcracker/stamp-h1 +1 -0
- data/lib/nutcracker.rb +95 -4
- data/lib/nutcracker/version.rb +1 -1
- metadata +217 -4
@@ -0,0 +1,2317 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
# Generated by configure.
|
3
|
+
# Run this file to recreate the current configuration.
|
4
|
+
# Compiler output produced by configure, useful for debugging
|
5
|
+
# configure, is in config.log if it exists.
|
6
|
+
|
7
|
+
debug=false
|
8
|
+
ac_cs_recheck=false
|
9
|
+
ac_cs_silent=false
|
10
|
+
|
11
|
+
SHELL=${CONFIG_SHELL-/bin/sh}
|
12
|
+
export SHELL
|
13
|
+
## -------------------- ##
|
14
|
+
## M4sh Initialization. ##
|
15
|
+
## -------------------- ##
|
16
|
+
|
17
|
+
# Be more Bourne compatible
|
18
|
+
DUALCASE=1; export DUALCASE # for MKS sh
|
19
|
+
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
20
|
+
emulate sh
|
21
|
+
NULLCMD=:
|
22
|
+
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
23
|
+
# is contrary to our usage. Disable this feature.
|
24
|
+
alias -g '${1+"$@"}'='"$@"'
|
25
|
+
setopt NO_GLOB_SUBST
|
26
|
+
else
|
27
|
+
case `(set -o) 2>/dev/null` in #(
|
28
|
+
*posix*) :
|
29
|
+
set -o posix ;; #(
|
30
|
+
*) :
|
31
|
+
;;
|
32
|
+
esac
|
33
|
+
fi
|
34
|
+
|
35
|
+
|
36
|
+
as_nl='
|
37
|
+
'
|
38
|
+
export as_nl
|
39
|
+
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
40
|
+
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
41
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
42
|
+
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
43
|
+
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
44
|
+
# but without wasting forks for bash or zsh.
|
45
|
+
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
46
|
+
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
47
|
+
as_echo='print -r --'
|
48
|
+
as_echo_n='print -rn --'
|
49
|
+
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
50
|
+
as_echo='printf %s\n'
|
51
|
+
as_echo_n='printf %s'
|
52
|
+
else
|
53
|
+
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
54
|
+
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
55
|
+
as_echo_n='/usr/ucb/echo -n'
|
56
|
+
else
|
57
|
+
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
58
|
+
as_echo_n_body='eval
|
59
|
+
arg=$1;
|
60
|
+
case $arg in #(
|
61
|
+
*"$as_nl"*)
|
62
|
+
expr "X$arg" : "X\\(.*\\)$as_nl";
|
63
|
+
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
64
|
+
esac;
|
65
|
+
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
66
|
+
'
|
67
|
+
export as_echo_n_body
|
68
|
+
as_echo_n='sh -c $as_echo_n_body as_echo'
|
69
|
+
fi
|
70
|
+
export as_echo_body
|
71
|
+
as_echo='sh -c $as_echo_body as_echo'
|
72
|
+
fi
|
73
|
+
|
74
|
+
# The user is always right.
|
75
|
+
if test "${PATH_SEPARATOR+set}" != set; then
|
76
|
+
PATH_SEPARATOR=:
|
77
|
+
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
78
|
+
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
79
|
+
PATH_SEPARATOR=';'
|
80
|
+
}
|
81
|
+
fi
|
82
|
+
|
83
|
+
|
84
|
+
# IFS
|
85
|
+
# We need space, tab and new line, in precisely that order. Quoting is
|
86
|
+
# there to prevent editors from complaining about space-tab.
|
87
|
+
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
88
|
+
# splitting by setting IFS to empty value.)
|
89
|
+
IFS=" "" $as_nl"
|
90
|
+
|
91
|
+
# Find who we are. Look in the path if we contain no directory separator.
|
92
|
+
as_myself=
|
93
|
+
case $0 in #((
|
94
|
+
*[\\/]* ) as_myself=$0 ;;
|
95
|
+
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
96
|
+
for as_dir in $PATH
|
97
|
+
do
|
98
|
+
IFS=$as_save_IFS
|
99
|
+
test -z "$as_dir" && as_dir=.
|
100
|
+
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
101
|
+
done
|
102
|
+
IFS=$as_save_IFS
|
103
|
+
|
104
|
+
;;
|
105
|
+
esac
|
106
|
+
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
107
|
+
# in which case we are not to be found in the path.
|
108
|
+
if test "x$as_myself" = x; then
|
109
|
+
as_myself=$0
|
110
|
+
fi
|
111
|
+
if test ! -f "$as_myself"; then
|
112
|
+
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
113
|
+
exit 1
|
114
|
+
fi
|
115
|
+
|
116
|
+
# Unset variables that we do not need and which cause bugs (e.g. in
|
117
|
+
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
118
|
+
# suppresses any "Segmentation fault" message there. '((' could
|
119
|
+
# trigger a bug in pdksh 5.2.14.
|
120
|
+
for as_var in BASH_ENV ENV MAIL MAILPATH
|
121
|
+
do eval test x\${$as_var+set} = xset \
|
122
|
+
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
123
|
+
done
|
124
|
+
PS1='$ '
|
125
|
+
PS2='> '
|
126
|
+
PS4='+ '
|
127
|
+
|
128
|
+
# NLS nuisances.
|
129
|
+
LC_ALL=C
|
130
|
+
export LC_ALL
|
131
|
+
LANGUAGE=C
|
132
|
+
export LANGUAGE
|
133
|
+
|
134
|
+
# CDPATH.
|
135
|
+
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
136
|
+
|
137
|
+
|
138
|
+
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
139
|
+
# ----------------------------------------
|
140
|
+
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
141
|
+
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
142
|
+
# script with STATUS, using 1 if that was 0.
|
143
|
+
as_fn_error ()
|
144
|
+
{
|
145
|
+
as_status=$1; test $as_status -eq 0 && as_status=1
|
146
|
+
if test "$4"; then
|
147
|
+
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
148
|
+
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
149
|
+
fi
|
150
|
+
$as_echo "$as_me: error: $2" >&2
|
151
|
+
as_fn_exit $as_status
|
152
|
+
} # as_fn_error
|
153
|
+
|
154
|
+
|
155
|
+
# as_fn_set_status STATUS
|
156
|
+
# -----------------------
|
157
|
+
# Set $? to STATUS, without forking.
|
158
|
+
as_fn_set_status ()
|
159
|
+
{
|
160
|
+
return $1
|
161
|
+
} # as_fn_set_status
|
162
|
+
|
163
|
+
# as_fn_exit STATUS
|
164
|
+
# -----------------
|
165
|
+
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
166
|
+
as_fn_exit ()
|
167
|
+
{
|
168
|
+
set +e
|
169
|
+
as_fn_set_status $1
|
170
|
+
exit $1
|
171
|
+
} # as_fn_exit
|
172
|
+
|
173
|
+
# as_fn_unset VAR
|
174
|
+
# ---------------
|
175
|
+
# Portably unset VAR.
|
176
|
+
as_fn_unset ()
|
177
|
+
{
|
178
|
+
{ eval $1=; unset $1;}
|
179
|
+
}
|
180
|
+
as_unset=as_fn_unset
|
181
|
+
# as_fn_append VAR VALUE
|
182
|
+
# ----------------------
|
183
|
+
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
184
|
+
# advantage of any shell optimizations that allow amortized linear growth over
|
185
|
+
# repeated appends, instead of the typical quadratic growth present in naive
|
186
|
+
# implementations.
|
187
|
+
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
188
|
+
eval 'as_fn_append ()
|
189
|
+
{
|
190
|
+
eval $1+=\$2
|
191
|
+
}'
|
192
|
+
else
|
193
|
+
as_fn_append ()
|
194
|
+
{
|
195
|
+
eval $1=\$$1\$2
|
196
|
+
}
|
197
|
+
fi # as_fn_append
|
198
|
+
|
199
|
+
# as_fn_arith ARG...
|
200
|
+
# ------------------
|
201
|
+
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
202
|
+
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
203
|
+
# must be portable across $(()) and expr.
|
204
|
+
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
205
|
+
eval 'as_fn_arith ()
|
206
|
+
{
|
207
|
+
as_val=$(( $* ))
|
208
|
+
}'
|
209
|
+
else
|
210
|
+
as_fn_arith ()
|
211
|
+
{
|
212
|
+
as_val=`expr "$@" || test $? -eq 1`
|
213
|
+
}
|
214
|
+
fi # as_fn_arith
|
215
|
+
|
216
|
+
|
217
|
+
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
218
|
+
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
219
|
+
as_expr=expr
|
220
|
+
else
|
221
|
+
as_expr=false
|
222
|
+
fi
|
223
|
+
|
224
|
+
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
225
|
+
as_basename=basename
|
226
|
+
else
|
227
|
+
as_basename=false
|
228
|
+
fi
|
229
|
+
|
230
|
+
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
231
|
+
as_dirname=dirname
|
232
|
+
else
|
233
|
+
as_dirname=false
|
234
|
+
fi
|
235
|
+
|
236
|
+
as_me=`$as_basename -- "$0" ||
|
237
|
+
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
238
|
+
X"$0" : 'X\(//\)$' \| \
|
239
|
+
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
240
|
+
$as_echo X/"$0" |
|
241
|
+
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
242
|
+
s//\1/
|
243
|
+
q
|
244
|
+
}
|
245
|
+
/^X\/\(\/\/\)$/{
|
246
|
+
s//\1/
|
247
|
+
q
|
248
|
+
}
|
249
|
+
/^X\/\(\/\).*/{
|
250
|
+
s//\1/
|
251
|
+
q
|
252
|
+
}
|
253
|
+
s/.*/./; q'`
|
254
|
+
|
255
|
+
# Avoid depending upon Character Ranges.
|
256
|
+
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
257
|
+
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
258
|
+
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
259
|
+
as_cr_digits='0123456789'
|
260
|
+
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
261
|
+
|
262
|
+
ECHO_C= ECHO_N= ECHO_T=
|
263
|
+
case `echo -n x` in #(((((
|
264
|
+
-n*)
|
265
|
+
case `echo 'xy\c'` in
|
266
|
+
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
267
|
+
xy) ECHO_C='\c';;
|
268
|
+
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
269
|
+
ECHO_T=' ';;
|
270
|
+
esac;;
|
271
|
+
*)
|
272
|
+
ECHO_N='-n';;
|
273
|
+
esac
|
274
|
+
|
275
|
+
rm -f conf$$ conf$$.exe conf$$.file
|
276
|
+
if test -d conf$$.dir; then
|
277
|
+
rm -f conf$$.dir/conf$$.file
|
278
|
+
else
|
279
|
+
rm -f conf$$.dir
|
280
|
+
mkdir conf$$.dir 2>/dev/null
|
281
|
+
fi
|
282
|
+
if (echo >conf$$.file) 2>/dev/null; then
|
283
|
+
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
284
|
+
as_ln_s='ln -s'
|
285
|
+
# ... but there are two gotchas:
|
286
|
+
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
287
|
+
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
288
|
+
# In both cases, we have to default to `cp -pR'.
|
289
|
+
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
290
|
+
as_ln_s='cp -pR'
|
291
|
+
elif ln conf$$.file conf$$ 2>/dev/null; then
|
292
|
+
as_ln_s=ln
|
293
|
+
else
|
294
|
+
as_ln_s='cp -pR'
|
295
|
+
fi
|
296
|
+
else
|
297
|
+
as_ln_s='cp -pR'
|
298
|
+
fi
|
299
|
+
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
300
|
+
rmdir conf$$.dir 2>/dev/null
|
301
|
+
|
302
|
+
|
303
|
+
# as_fn_mkdir_p
|
304
|
+
# -------------
|
305
|
+
# Create "$as_dir" as a directory, including parents if necessary.
|
306
|
+
as_fn_mkdir_p ()
|
307
|
+
{
|
308
|
+
|
309
|
+
case $as_dir in #(
|
310
|
+
-*) as_dir=./$as_dir;;
|
311
|
+
esac
|
312
|
+
test -d "$as_dir" || eval $as_mkdir_p || {
|
313
|
+
as_dirs=
|
314
|
+
while :; do
|
315
|
+
case $as_dir in #(
|
316
|
+
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
317
|
+
*) as_qdir=$as_dir;;
|
318
|
+
esac
|
319
|
+
as_dirs="'$as_qdir' $as_dirs"
|
320
|
+
as_dir=`$as_dirname -- "$as_dir" ||
|
321
|
+
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
322
|
+
X"$as_dir" : 'X\(//\)[^/]' \| \
|
323
|
+
X"$as_dir" : 'X\(//\)$' \| \
|
324
|
+
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
325
|
+
$as_echo X"$as_dir" |
|
326
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
327
|
+
s//\1/
|
328
|
+
q
|
329
|
+
}
|
330
|
+
/^X\(\/\/\)[^/].*/{
|
331
|
+
s//\1/
|
332
|
+
q
|
333
|
+
}
|
334
|
+
/^X\(\/\/\)$/{
|
335
|
+
s//\1/
|
336
|
+
q
|
337
|
+
}
|
338
|
+
/^X\(\/\).*/{
|
339
|
+
s//\1/
|
340
|
+
q
|
341
|
+
}
|
342
|
+
s/.*/./; q'`
|
343
|
+
test -d "$as_dir" && break
|
344
|
+
done
|
345
|
+
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
346
|
+
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
347
|
+
|
348
|
+
|
349
|
+
} # as_fn_mkdir_p
|
350
|
+
if mkdir -p . 2>/dev/null; then
|
351
|
+
as_mkdir_p='mkdir -p "$as_dir"'
|
352
|
+
else
|
353
|
+
test -d ./-p && rmdir ./-p
|
354
|
+
as_mkdir_p=false
|
355
|
+
fi
|
356
|
+
|
357
|
+
|
358
|
+
# as_fn_executable_p FILE
|
359
|
+
# -----------------------
|
360
|
+
# Test if FILE is an executable regular file.
|
361
|
+
as_fn_executable_p ()
|
362
|
+
{
|
363
|
+
test -f "$1" && test -x "$1"
|
364
|
+
} # as_fn_executable_p
|
365
|
+
as_test_x='test -x'
|
366
|
+
as_executable_p=as_fn_executable_p
|
367
|
+
|
368
|
+
# Sed expression to map a string onto a valid CPP name.
|
369
|
+
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
370
|
+
|
371
|
+
# Sed expression to map a string onto a valid variable name.
|
372
|
+
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
373
|
+
|
374
|
+
|
375
|
+
exec 6>&1
|
376
|
+
## ----------------------------------- ##
|
377
|
+
## Main body of $CONFIG_STATUS script. ##
|
378
|
+
## ----------------------------------- ##
|
379
|
+
# Save the log message, to keep $0 and so on meaningful, and to
|
380
|
+
# report actual input values of CONFIG_FILES etc. instead of their
|
381
|
+
# values after options handling.
|
382
|
+
ac_log="
|
383
|
+
This file was extended by nutcracker $as_me 0.2.4, which was
|
384
|
+
generated by GNU Autoconf 2.69. Invocation command line was
|
385
|
+
|
386
|
+
CONFIG_FILES = $CONFIG_FILES
|
387
|
+
CONFIG_HEADERS = $CONFIG_HEADERS
|
388
|
+
CONFIG_LINKS = $CONFIG_LINKS
|
389
|
+
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
390
|
+
$ $0 $@
|
391
|
+
|
392
|
+
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
393
|
+
"
|
394
|
+
|
395
|
+
# Files that config.status was made for.
|
396
|
+
config_files=" Makefile contrib/Makefile src/Makefile src/hashkit/Makefile src/proto/Makefile"
|
397
|
+
config_headers=" config.h:config.h.in"
|
398
|
+
config_commands=" depfiles libtool"
|
399
|
+
|
400
|
+
ac_cs_usage="\
|
401
|
+
\`$as_me' instantiates files and other configuration actions
|
402
|
+
from templates according to the current configuration. Unless the files
|
403
|
+
and actions are specified as TAGs, all are instantiated by default.
|
404
|
+
|
405
|
+
Usage: $0 [OPTION]... [TAG]...
|
406
|
+
|
407
|
+
-h, --help print this help, then exit
|
408
|
+
-V, --version print version number and configuration settings, then exit
|
409
|
+
--config print configuration, then exit
|
410
|
+
-q, --quiet, --silent
|
411
|
+
do not print progress messages
|
412
|
+
-d, --debug don't remove temporary files
|
413
|
+
--recheck update $as_me by reconfiguring in the same conditions
|
414
|
+
--file=FILE[:TEMPLATE]
|
415
|
+
instantiate the configuration file FILE
|
416
|
+
--header=FILE[:TEMPLATE]
|
417
|
+
instantiate the configuration header FILE
|
418
|
+
|
419
|
+
Configuration files:
|
420
|
+
$config_files
|
421
|
+
|
422
|
+
Configuration headers:
|
423
|
+
$config_headers
|
424
|
+
|
425
|
+
Configuration commands:
|
426
|
+
$config_commands
|
427
|
+
|
428
|
+
Report bugs to <manj@twitter.com>."
|
429
|
+
|
430
|
+
ac_cs_config=""
|
431
|
+
ac_cs_version="\
|
432
|
+
nutcracker config.status 0.2.4
|
433
|
+
configured by ./configure, generated by GNU Autoconf 2.69,
|
434
|
+
with options \"$ac_cs_config\"
|
435
|
+
|
436
|
+
Copyright (C) 2012 Free Software Foundation, Inc.
|
437
|
+
This config.status script is free software; the Free Software Foundation
|
438
|
+
gives unlimited permission to copy, distribute and modify it."
|
439
|
+
|
440
|
+
ac_pwd='/Users/eran/github/nutcracker/twemproxy-twemproxy_bsd'
|
441
|
+
srcdir='.'
|
442
|
+
INSTALL='/usr/bin/install -c'
|
443
|
+
MKDIR_P='config/install-sh -c -d'
|
444
|
+
AWK='awk'
|
445
|
+
test -n "$AWK" || AWK=awk
|
446
|
+
# The default lists apply if the user does not specify any file.
|
447
|
+
ac_need_defaults=:
|
448
|
+
while test $# != 0
|
449
|
+
do
|
450
|
+
case $1 in
|
451
|
+
--*=?*)
|
452
|
+
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
453
|
+
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
454
|
+
ac_shift=:
|
455
|
+
;;
|
456
|
+
--*=)
|
457
|
+
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
458
|
+
ac_optarg=
|
459
|
+
ac_shift=:
|
460
|
+
;;
|
461
|
+
*)
|
462
|
+
ac_option=$1
|
463
|
+
ac_optarg=$2
|
464
|
+
ac_shift=shift
|
465
|
+
;;
|
466
|
+
esac
|
467
|
+
|
468
|
+
case $ac_option in
|
469
|
+
# Handling of the options.
|
470
|
+
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
471
|
+
ac_cs_recheck=: ;;
|
472
|
+
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
473
|
+
$as_echo "$ac_cs_version"; exit ;;
|
474
|
+
--config | --confi | --conf | --con | --co | --c )
|
475
|
+
$as_echo "$ac_cs_config"; exit ;;
|
476
|
+
--debug | --debu | --deb | --de | --d | -d )
|
477
|
+
debug=: ;;
|
478
|
+
--file | --fil | --fi | --f )
|
479
|
+
$ac_shift
|
480
|
+
case $ac_optarg in
|
481
|
+
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
482
|
+
'') as_fn_error $? "missing file argument" ;;
|
483
|
+
esac
|
484
|
+
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
485
|
+
ac_need_defaults=false;;
|
486
|
+
--header | --heade | --head | --hea )
|
487
|
+
$ac_shift
|
488
|
+
case $ac_optarg in
|
489
|
+
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
490
|
+
esac
|
491
|
+
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
492
|
+
ac_need_defaults=false;;
|
493
|
+
--he | --h)
|
494
|
+
# Conflict between --help and --header
|
495
|
+
as_fn_error $? "ambiguous option: \`$1'
|
496
|
+
Try \`$0 --help' for more information.";;
|
497
|
+
--help | --hel | -h )
|
498
|
+
$as_echo "$ac_cs_usage"; exit ;;
|
499
|
+
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
500
|
+
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
501
|
+
ac_cs_silent=: ;;
|
502
|
+
|
503
|
+
# This is an error.
|
504
|
+
-*) as_fn_error $? "unrecognized option: \`$1'
|
505
|
+
Try \`$0 --help' for more information." ;;
|
506
|
+
|
507
|
+
*) as_fn_append ac_config_targets " $1"
|
508
|
+
ac_need_defaults=false ;;
|
509
|
+
|
510
|
+
esac
|
511
|
+
shift
|
512
|
+
done
|
513
|
+
|
514
|
+
ac_configure_extra_args=
|
515
|
+
|
516
|
+
if $ac_cs_silent; then
|
517
|
+
exec 6>/dev/null
|
518
|
+
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
519
|
+
fi
|
520
|
+
|
521
|
+
if $ac_cs_recheck; then
|
522
|
+
set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
|
523
|
+
shift
|
524
|
+
$as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
|
525
|
+
CONFIG_SHELL='/bin/sh'
|
526
|
+
export CONFIG_SHELL
|
527
|
+
exec "$@"
|
528
|
+
fi
|
529
|
+
|
530
|
+
exec 5>>config.log
|
531
|
+
{
|
532
|
+
echo
|
533
|
+
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
534
|
+
## Running $as_me. ##
|
535
|
+
_ASBOX
|
536
|
+
$as_echo "$ac_log"
|
537
|
+
} >&5
|
538
|
+
|
539
|
+
#
|
540
|
+
# INIT-COMMANDS
|
541
|
+
#
|
542
|
+
AMDEP_TRUE="" ac_aux_dir="config"
|
543
|
+
|
544
|
+
|
545
|
+
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
546
|
+
# if CDPATH is set.
|
547
|
+
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
548
|
+
|
549
|
+
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
550
|
+
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
551
|
+
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
552
|
+
macro_version='2.2.10'
|
553
|
+
macro_revision='1.3175'
|
554
|
+
enable_shared='yes'
|
555
|
+
enable_static='yes'
|
556
|
+
pic_mode='default'
|
557
|
+
enable_fast_install='needless'
|
558
|
+
SHELL='/bin/sh'
|
559
|
+
ECHO='printf %s\n'
|
560
|
+
host_alias=''
|
561
|
+
host='i386-apple-darwin11.4.2'
|
562
|
+
host_os='darwin11.4.2'
|
563
|
+
build_alias=''
|
564
|
+
build='i386-apple-darwin11.4.2'
|
565
|
+
build_os='darwin11.4.2'
|
566
|
+
SED='/usr/bin/sed'
|
567
|
+
Xsed='/usr/bin/sed -e 1s/^X//'
|
568
|
+
GREP='/usr/bin/grep'
|
569
|
+
EGREP='/usr/bin/grep -E'
|
570
|
+
FGREP='/usr/bin/grep -F'
|
571
|
+
LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
|
572
|
+
NM='/usr/bin/nm'
|
573
|
+
LN_S='ln -s'
|
574
|
+
max_cmd_len='196608'
|
575
|
+
ac_objext='o'
|
576
|
+
exeext=''
|
577
|
+
lt_unset='unset'
|
578
|
+
lt_SP2NL='tr \040 \012'
|
579
|
+
lt_NL2SP='tr \015\012 \040\040'
|
580
|
+
reload_flag=' -r'
|
581
|
+
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
582
|
+
OBJDUMP='false'
|
583
|
+
deplibs_check_method='pass_all'
|
584
|
+
file_magic_cmd='$MAGIC_CMD'
|
585
|
+
AR='ar'
|
586
|
+
AR_FLAGS='cru'
|
587
|
+
STRIP='strip'
|
588
|
+
RANLIB='ranlib'
|
589
|
+
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
|
590
|
+
old_postuninstall_cmds=''
|
591
|
+
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
|
592
|
+
lock_old_archive_extraction='yes'
|
593
|
+
CC='gcc'
|
594
|
+
CFLAGS='-g -O2'
|
595
|
+
compiler='g++'
|
596
|
+
GCC='yes'
|
597
|
+
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'''
|
598
|
+
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
|
599
|
+
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
|
600
|
+
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
|
601
|
+
objdir='.libs'
|
602
|
+
MAGIC_CMD='file'
|
603
|
+
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
604
|
+
lt_prog_compiler_wl='-Wl,'
|
605
|
+
lt_prog_compiler_pic=' -fno-common -DPIC'
|
606
|
+
lt_prog_compiler_static=''
|
607
|
+
lt_cv_prog_compiler_c_o='yes'
|
608
|
+
need_locks='no'
|
609
|
+
DSYMUTIL='dsymutil'
|
610
|
+
NMEDIT='nmedit'
|
611
|
+
LIPO='lipo'
|
612
|
+
OTOOL='otool'
|
613
|
+
OTOOL64=':'
|
614
|
+
libext='a'
|
615
|
+
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
|
616
|
+
extract_expsyms_cmds=''
|
617
|
+
archive_cmds_need_lc='no'
|
618
|
+
enable_shared_with_static_runtimes='no'
|
619
|
+
export_dynamic_flag_spec=''
|
620
|
+
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
621
|
+
compiler_needs_object='no'
|
622
|
+
old_archive_from_new_cmds=''
|
623
|
+
old_archive_from_expsyms_cmds=''
|
624
|
+
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module'
|
625
|
+
archive_expsym_cmds='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
626
|
+
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags'
|
627
|
+
module_expsym_cmds='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
628
|
+
with_gnu_ld='no'
|
629
|
+
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
|
630
|
+
no_undefined_flag=''
|
631
|
+
hardcode_libdir_flag_spec=''
|
632
|
+
hardcode_libdir_flag_spec_ld=''
|
633
|
+
hardcode_libdir_separator=''
|
634
|
+
hardcode_direct='no'
|
635
|
+
hardcode_direct_absolute='no'
|
636
|
+
hardcode_minus_L='no'
|
637
|
+
hardcode_shlibpath_var='unsupported'
|
638
|
+
hardcode_automatic='yes'
|
639
|
+
inherit_rpath='no'
|
640
|
+
link_all_deplibs='yes'
|
641
|
+
fix_srcfile_path=''
|
642
|
+
always_export_symbols='no'
|
643
|
+
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
644
|
+
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
645
|
+
include_expsyms=''
|
646
|
+
prelink_cmds=''
|
647
|
+
file_list_spec=''
|
648
|
+
variables_saved_for_relink='PATH DYLD_LIBRARY_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
|
649
|
+
need_lib_prefix='no'
|
650
|
+
need_version='no'
|
651
|
+
version_type='darwin'
|
652
|
+
runpath_var=''
|
653
|
+
shlibpath_var='DYLD_LIBRARY_PATH'
|
654
|
+
shlibpath_overrides_runpath='yes'
|
655
|
+
libname_spec='lib$name'
|
656
|
+
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext ${libname}${release}${versuffix}$shared_ext'
|
657
|
+
soname_spec='${libname}${release}${major}$shared_ext'
|
658
|
+
install_override_mode=''
|
659
|
+
postinstall_cmds=''
|
660
|
+
postuninstall_cmds=''
|
661
|
+
finish_cmds=''
|
662
|
+
finish_eval=''
|
663
|
+
hardcode_into_libs='no'
|
664
|
+
sys_lib_search_path_spec='/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 /usr/lib/i686-apple-darwin11/4.2.1 /usr/lib /usr/llvm-gcc-4.2/lib/gcc /usr/llvm-gcc-4.2/lib /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib /usr/local/lib'
|
665
|
+
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
|
666
|
+
hardcode_action='immediate'
|
667
|
+
enable_dlopen='unknown'
|
668
|
+
enable_dlopen_self='unknown'
|
669
|
+
enable_dlopen_self_static='unknown'
|
670
|
+
old_striplib='strip -S'
|
671
|
+
striplib='strip -x'
|
672
|
+
compiler_lib_search_dirs=''
|
673
|
+
predep_objects=''
|
674
|
+
postdep_objects=''
|
675
|
+
predeps=''
|
676
|
+
postdeps=''
|
677
|
+
compiler_lib_search_path=''
|
678
|
+
LD_CXX='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
|
679
|
+
reload_flag_CXX=' -r'
|
680
|
+
reload_cmds_CXX='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
|
681
|
+
old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
|
682
|
+
compiler_CXX='g++'
|
683
|
+
GCC_CXX='yes'
|
684
|
+
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
|
685
|
+
lt_prog_compiler_wl_CXX='-Wl,'
|
686
|
+
lt_prog_compiler_pic_CXX=' -fno-common -DPIC'
|
687
|
+
lt_prog_compiler_static_CXX=''
|
688
|
+
lt_cv_prog_compiler_c_o_CXX='yes'
|
689
|
+
archive_cmds_need_lc_CXX='no'
|
690
|
+
enable_shared_with_static_runtimes_CXX='no'
|
691
|
+
export_dynamic_flag_spec_CXX=''
|
692
|
+
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
|
693
|
+
compiler_needs_object_CXX='no'
|
694
|
+
old_archive_from_new_cmds_CXX=''
|
695
|
+
old_archive_from_expsyms_cmds_CXX=''
|
696
|
+
archive_cmds_CXX='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module'
|
697
|
+
archive_expsym_cmds_CXX='sed '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring $single_module ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
698
|
+
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags'
|
699
|
+
module_expsym_cmds_CXX='sed -e '\''s,^,_,'\'' < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs $compiler_flags ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
|
700
|
+
with_gnu_ld_CXX='no'
|
701
|
+
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
|
702
|
+
no_undefined_flag_CXX=''
|
703
|
+
hardcode_libdir_flag_spec_CXX=''
|
704
|
+
hardcode_libdir_flag_spec_ld_CXX=''
|
705
|
+
hardcode_libdir_separator_CXX=''
|
706
|
+
hardcode_direct_CXX='no'
|
707
|
+
hardcode_direct_absolute_CXX='no'
|
708
|
+
hardcode_minus_L_CXX='no'
|
709
|
+
hardcode_shlibpath_var_CXX='unsupported'
|
710
|
+
hardcode_automatic_CXX='yes'
|
711
|
+
inherit_rpath_CXX='no'
|
712
|
+
link_all_deplibs_CXX='yes'
|
713
|
+
fix_srcfile_path_CXX=''
|
714
|
+
always_export_symbols_CXX='no'
|
715
|
+
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
716
|
+
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
717
|
+
include_expsyms_CXX=''
|
718
|
+
prelink_cmds_CXX=''
|
719
|
+
file_list_spec_CXX=''
|
720
|
+
hardcode_action_CXX='immediate'
|
721
|
+
compiler_lib_search_dirs_CXX=''
|
722
|
+
predep_objects_CXX=''
|
723
|
+
postdep_objects_CXX=''
|
724
|
+
predeps_CXX=''
|
725
|
+
postdeps_CXX=''
|
726
|
+
compiler_lib_search_path_CXX=''
|
727
|
+
|
728
|
+
LTCC='gcc'
|
729
|
+
LTCFLAGS='-g -O2'
|
730
|
+
compiler='gcc'
|
731
|
+
|
732
|
+
# A function that is used when there is no print builtin or printf.
|
733
|
+
func_fallback_echo ()
|
734
|
+
{
|
735
|
+
eval 'cat <<_LTECHO_EOF
|
736
|
+
$1
|
737
|
+
_LTECHO_EOF'
|
738
|
+
}
|
739
|
+
|
740
|
+
# Quote evaled strings.
|
741
|
+
for var in SHELL ECHO SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX fix_srcfile_path_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
|
742
|
+
case `eval \\$ECHO \\""\\$$var"\\"` in
|
743
|
+
*[\\\`\"\$]*)
|
744
|
+
eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
|
745
|
+
;;
|
746
|
+
*)
|
747
|
+
eval "lt_$var=\\\"\$$var\\\""
|
748
|
+
;;
|
749
|
+
esac
|
750
|
+
done
|
751
|
+
|
752
|
+
# Double-quote double-evaled strings.
|
753
|
+
for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX; do
|
754
|
+
case `eval \\$ECHO \\""\\$$var"\\"` in
|
755
|
+
*[\\\`\"\$]*)
|
756
|
+
eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
|
757
|
+
;;
|
758
|
+
*)
|
759
|
+
eval "lt_$var=\\\"\$$var\\\""
|
760
|
+
;;
|
761
|
+
esac
|
762
|
+
done
|
763
|
+
|
764
|
+
ac_aux_dir='config'
|
765
|
+
xsi_shell='yes'
|
766
|
+
lt_shell_append='yes'
|
767
|
+
|
768
|
+
# See if we are running on zsh, and set the options which allow our
|
769
|
+
# commands through without removal of \ escapes INIT.
|
770
|
+
if test -n "${ZSH_VERSION+set}" ; then
|
771
|
+
setopt NO_GLOB_SUBST
|
772
|
+
fi
|
773
|
+
|
774
|
+
|
775
|
+
PACKAGE='nutcracker'
|
776
|
+
VERSION='0.2.4'
|
777
|
+
TIMESTAMP=''
|
778
|
+
RM='rm -f'
|
779
|
+
ofile='libtool'
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
|
787
|
+
# Handling of arguments.
|
788
|
+
for ac_config_target in $ac_config_targets
|
789
|
+
do
|
790
|
+
case $ac_config_target in
|
791
|
+
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
|
792
|
+
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
793
|
+
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
794
|
+
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
795
|
+
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
|
796
|
+
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
797
|
+
"src/hashkit/Makefile") CONFIG_FILES="$CONFIG_FILES src/hashkit/Makefile" ;;
|
798
|
+
"src/proto/Makefile") CONFIG_FILES="$CONFIG_FILES src/proto/Makefile" ;;
|
799
|
+
|
800
|
+
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
801
|
+
esac
|
802
|
+
done
|
803
|
+
|
804
|
+
|
805
|
+
# If the user did not use the arguments to specify the items to instantiate,
|
806
|
+
# then the envvar interface is used. Set only those that are not.
|
807
|
+
# We use the long form for the default assignment because of an extremely
|
808
|
+
# bizarre bug on SunOS 4.1.3.
|
809
|
+
if $ac_need_defaults; then
|
810
|
+
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
811
|
+
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
812
|
+
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
813
|
+
fi
|
814
|
+
|
815
|
+
# Have a temporary directory for convenience. Make it in the build tree
|
816
|
+
# simply because there is no reason against having it here, and in addition,
|
817
|
+
# creating and moving files from /tmp can sometimes cause problems.
|
818
|
+
# Hook for its removal unless debugging.
|
819
|
+
# Note that there is a small window in which the directory will not be cleaned:
|
820
|
+
# after its creation but before its name has been assigned to `$tmp'.
|
821
|
+
$debug ||
|
822
|
+
{
|
823
|
+
tmp= ac_tmp=
|
824
|
+
trap 'exit_status=$?
|
825
|
+
: "${ac_tmp:=$tmp}"
|
826
|
+
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
827
|
+
' 0
|
828
|
+
trap 'as_fn_exit 1' 1 2 13 15
|
829
|
+
}
|
830
|
+
# Create a (secure) tmp directory for tmp files.
|
831
|
+
|
832
|
+
{
|
833
|
+
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
834
|
+
test -d "$tmp"
|
835
|
+
} ||
|
836
|
+
{
|
837
|
+
tmp=./conf$$-$RANDOM
|
838
|
+
(umask 077 && mkdir "$tmp")
|
839
|
+
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
840
|
+
ac_tmp=$tmp
|
841
|
+
|
842
|
+
# Set up the scripts for CONFIG_FILES section.
|
843
|
+
# No need to generate them if there are no CONFIG_FILES.
|
844
|
+
# This happens for instance with `./config.status config.h'.
|
845
|
+
if test -n "$CONFIG_FILES"; then
|
846
|
+
|
847
|
+
|
848
|
+
ac_cr=`echo X | tr X '\015'`
|
849
|
+
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
850
|
+
# But we know of no other shell where ac_cr would be empty at this
|
851
|
+
# point, so we can use a bashism as a fallback.
|
852
|
+
if test "x$ac_cr" = x; then
|
853
|
+
eval ac_cr=\$\'\\r\'
|
854
|
+
fi
|
855
|
+
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
856
|
+
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
857
|
+
ac_cs_awk_cr='\\r'
|
858
|
+
else
|
859
|
+
ac_cs_awk_cr=$ac_cr
|
860
|
+
fi
|
861
|
+
|
862
|
+
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
863
|
+
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
864
|
+
S["LTLIBOBJS"]=""
|
865
|
+
S["subdirs"]=" contrib/yaml-0.1.4"
|
866
|
+
S["LIBOBJS"]=""
|
867
|
+
S["CXXCPP"]="g++ -E"
|
868
|
+
S["OTOOL64"]=":"
|
869
|
+
S["OTOOL"]="otool"
|
870
|
+
S["LIPO"]="lipo"
|
871
|
+
S["NMEDIT"]="nmedit"
|
872
|
+
S["DSYMUTIL"]="dsymutil"
|
873
|
+
S["AR"]="ar"
|
874
|
+
S["OBJDUMP"]="false"
|
875
|
+
S["NM"]="/usr/bin/nm"
|
876
|
+
S["ac_ct_DUMPBIN"]=""
|
877
|
+
S["DUMPBIN"]=""
|
878
|
+
S["LD"]="/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld"
|
879
|
+
S["FGREP"]="/usr/bin/grep -F"
|
880
|
+
S["EGREP"]="/usr/bin/grep -E"
|
881
|
+
S["GREP"]="/usr/bin/grep"
|
882
|
+
S["SED"]="/usr/bin/sed"
|
883
|
+
S["host_os"]="darwin11.4.2"
|
884
|
+
S["host_vendor"]="apple"
|
885
|
+
S["host_cpu"]="i386"
|
886
|
+
S["host"]="i386-apple-darwin11.4.2"
|
887
|
+
S["build_os"]="darwin11.4.2"
|
888
|
+
S["build_vendor"]="apple"
|
889
|
+
S["build_cpu"]="i386"
|
890
|
+
S["build"]="i386-apple-darwin11.4.2"
|
891
|
+
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
|
892
|
+
S["RANLIB"]="ranlib"
|
893
|
+
S["LN_S"]="ln -s"
|
894
|
+
S["am__fastdepCXX_FALSE"]="#"
|
895
|
+
S["am__fastdepCXX_TRUE"]=""
|
896
|
+
S["CXXDEPMODE"]="depmode=gcc3"
|
897
|
+
S["ac_ct_CXX"]="g++"
|
898
|
+
S["CXXFLAGS"]="-g -O2"
|
899
|
+
S["CXX"]="g++"
|
900
|
+
S["CPP"]="gcc -E"
|
901
|
+
S["am__fastdepCC_FALSE"]="#"
|
902
|
+
S["am__fastdepCC_TRUE"]=""
|
903
|
+
S["CCDEPMODE"]="depmode=gcc3"
|
904
|
+
S["AMDEPBACKSLASH"]="\\"
|
905
|
+
S["AMDEP_FALSE"]="#"
|
906
|
+
S["AMDEP_TRUE"]=""
|
907
|
+
S["am__quote"]=""
|
908
|
+
S["am__include"]="include"
|
909
|
+
S["DEPDIR"]=".deps"
|
910
|
+
S["OBJEXT"]="o"
|
911
|
+
S["EXEEXT"]=""
|
912
|
+
S["ac_ct_CC"]="gcc"
|
913
|
+
S["CPPFLAGS"]=""
|
914
|
+
S["LDFLAGS"]=""
|
915
|
+
S["CFLAGS"]="-g -O2"
|
916
|
+
S["CC"]="gcc"
|
917
|
+
S["am__untar"]="${AMTAR} xf -"
|
918
|
+
S["am__tar"]="${AMTAR} chof - \"$$tardir\""
|
919
|
+
S["AMTAR"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run tar"
|
920
|
+
S["am__leading_dot"]="."
|
921
|
+
S["SET_MAKE"]=""
|
922
|
+
S["AWK"]="awk"
|
923
|
+
S["mkdir_p"]="$(top_builddir)/config/install-sh -c -d"
|
924
|
+
S["MKDIR_P"]="config/install-sh -c -d"
|
925
|
+
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
926
|
+
S["STRIP"]="strip"
|
927
|
+
S["install_sh"]="$(SHELL) /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/install-sh"
|
928
|
+
S["MAKEINFO"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run makeinfo"
|
929
|
+
S["AUTOHEADER"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run autoheader"
|
930
|
+
S["AUTOMAKE"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run automake-1.10"
|
931
|
+
S["AUTOCONF"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run autoconf"
|
932
|
+
S["ACLOCAL"]="${SHELL} /Users/eran/github/nutcracker/twemproxy-twemproxy_bsd/config/missing --run aclocal-1.10"
|
933
|
+
S["VERSION"]="0.2.4"
|
934
|
+
S["PACKAGE"]="nutcracker"
|
935
|
+
S["CYGPATH_W"]="echo"
|
936
|
+
S["am__isrc"]=""
|
937
|
+
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
938
|
+
S["INSTALL_SCRIPT"]="${INSTALL}"
|
939
|
+
S["INSTALL_PROGRAM"]="${INSTALL}"
|
940
|
+
S["target_alias"]=""
|
941
|
+
S["host_alias"]=""
|
942
|
+
S["build_alias"]=""
|
943
|
+
S["LIBS"]="-lpthread -lm "
|
944
|
+
S["ECHO_T"]=""
|
945
|
+
S["ECHO_N"]=""
|
946
|
+
S["ECHO_C"]="\\c"
|
947
|
+
S["DEFS"]="-DHAVE_CONFIG_H"
|
948
|
+
S["mandir"]="${datarootdir}/man"
|
949
|
+
S["localedir"]="${datarootdir}/locale"
|
950
|
+
S["libdir"]="${exec_prefix}/lib"
|
951
|
+
S["psdir"]="${docdir}"
|
952
|
+
S["pdfdir"]="${docdir}"
|
953
|
+
S["dvidir"]="${docdir}"
|
954
|
+
S["htmldir"]="${docdir}"
|
955
|
+
S["infodir"]="${datarootdir}/info"
|
956
|
+
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
957
|
+
S["oldincludedir"]="/usr/include"
|
958
|
+
S["includedir"]="${prefix}/include"
|
959
|
+
S["localstatedir"]="${prefix}/var"
|
960
|
+
S["sharedstatedir"]="${prefix}/com"
|
961
|
+
S["sysconfdir"]="${prefix}/etc"
|
962
|
+
S["datadir"]="${datarootdir}"
|
963
|
+
S["datarootdir"]="${prefix}/share"
|
964
|
+
S["libexecdir"]="${exec_prefix}/libexec"
|
965
|
+
S["sbindir"]="${exec_prefix}/sbin"
|
966
|
+
S["bindir"]="${exec_prefix}/bin"
|
967
|
+
S["program_transform_name"]="s,x,x,"
|
968
|
+
S["prefix"]="/usr/local"
|
969
|
+
S["exec_prefix"]="${prefix}"
|
970
|
+
S["PACKAGE_URL"]=""
|
971
|
+
S["PACKAGE_BUGREPORT"]="manj@twitter.com"
|
972
|
+
S["PACKAGE_STRING"]="nutcracker 0.2.4"
|
973
|
+
S["PACKAGE_VERSION"]="0.2.4"
|
974
|
+
S["PACKAGE_TARNAME"]="nutcracker"
|
975
|
+
S["PACKAGE_NAME"]="nutcracker"
|
976
|
+
S["PATH_SEPARATOR"]=":"
|
977
|
+
S["SHELL"]="/bin/sh"
|
978
|
+
_ACAWK
|
979
|
+
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
980
|
+
for (key in S) S_is_set[key] = 1
|
981
|
+
FS = ""
|
982
|
+
|
983
|
+
}
|
984
|
+
{
|
985
|
+
line = $ 0
|
986
|
+
nfields = split(line, field, "@")
|
987
|
+
substed = 0
|
988
|
+
len = length(field[1])
|
989
|
+
for (i = 2; i < nfields; i++) {
|
990
|
+
key = field[i]
|
991
|
+
keylen = length(key)
|
992
|
+
if (S_is_set[key]) {
|
993
|
+
value = S[key]
|
994
|
+
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
995
|
+
len += length(value) + length(field[++i])
|
996
|
+
substed = 1
|
997
|
+
} else
|
998
|
+
len += 1 + keylen
|
999
|
+
}
|
1000
|
+
|
1001
|
+
print line
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
_ACAWK
|
1005
|
+
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
1006
|
+
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
1007
|
+
else
|
1008
|
+
cat
|
1009
|
+
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
1010
|
+
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
1011
|
+
fi # test -n "$CONFIG_FILES"
|
1012
|
+
|
1013
|
+
# Set up the scripts for CONFIG_HEADERS section.
|
1014
|
+
# No need to generate them if there are no CONFIG_HEADERS.
|
1015
|
+
# This happens for instance with `./config.status Makefile'.
|
1016
|
+
if test -n "$CONFIG_HEADERS"; then
|
1017
|
+
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
1018
|
+
BEGIN {
|
1019
|
+
D["PACKAGE_NAME"]=" \"nutcracker\""
|
1020
|
+
D["PACKAGE_TARNAME"]=" \"nutcracker\""
|
1021
|
+
D["PACKAGE_VERSION"]=" \"0.2.4\""
|
1022
|
+
D["PACKAGE_STRING"]=" \"nutcracker 0.2.4\""
|
1023
|
+
D["PACKAGE_BUGREPORT"]=" \"manj@twitter.com\""
|
1024
|
+
D["PACKAGE_URL"]=" \"\""
|
1025
|
+
D["PACKAGE"]=" \"nutcracker\""
|
1026
|
+
D["VERSION"]=" \"0.2.4\""
|
1027
|
+
D["NC_VERSION_MAJOR"]=" 0"
|
1028
|
+
D["NC_VERSION_MINOR"]=" 2"
|
1029
|
+
D["NC_VERSION_PATCH"]=" 4"
|
1030
|
+
D["NC_VERSION_STRING"]=" \"0.2.4\""
|
1031
|
+
D["STDC_HEADERS"]=" 1"
|
1032
|
+
D["HAVE_SYS_TYPES_H"]=" 1"
|
1033
|
+
D["HAVE_SYS_STAT_H"]=" 1"
|
1034
|
+
D["HAVE_STDLIB_H"]=" 1"
|
1035
|
+
D["HAVE_STRING_H"]=" 1"
|
1036
|
+
D["HAVE_MEMORY_H"]=" 1"
|
1037
|
+
D["HAVE_STRINGS_H"]=" 1"
|
1038
|
+
D["HAVE_INTTYPES_H"]=" 1"
|
1039
|
+
D["HAVE_STDINT_H"]=" 1"
|
1040
|
+
D["HAVE_UNISTD_H"]=" 1"
|
1041
|
+
D["HAVE_DLFCN_H"]=" 1"
|
1042
|
+
D["LT_OBJDIR"]=" \".libs/\""
|
1043
|
+
D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
|
1044
|
+
D["HAVE_LONG_LONG_INT"]=" 1"
|
1045
|
+
D["HAVE_INTMAX_T"]=" 1"
|
1046
|
+
D["HAVE_INTPTR_T"]=" 1"
|
1047
|
+
D["HAVE_UINTMAX_T"]=" 1"
|
1048
|
+
D["HAVE_UINTPTR_T"]=" 1"
|
1049
|
+
D["HAVE_LITTLE_ENDIAN"]=" 1"
|
1050
|
+
D["HAVE__BOOL"]=" 1"
|
1051
|
+
D["HAVE_STDBOOL_H"]=" 1"
|
1052
|
+
D["HAVE_FCNTL_H"]=" 1"
|
1053
|
+
D["HAVE_FLOAT_H"]=" 1"
|
1054
|
+
D["HAVE_LIMITS_H"]=" 1"
|
1055
|
+
D["HAVE_STDDEF_H"]=" 1"
|
1056
|
+
D["HAVE_STDLIB_H"]=" 1"
|
1057
|
+
D["HAVE_STRING_H"]=" 1"
|
1058
|
+
D["HAVE_UNISTD_H"]=" 1"
|
1059
|
+
D["HAVE_INTTYPES_H"]=" 1"
|
1060
|
+
D["HAVE_STDINT_H"]=" 1"
|
1061
|
+
D["HAVE_SYS_IOCTL_H"]=" 1"
|
1062
|
+
D["HAVE_SYS_TIME_H"]=" 1"
|
1063
|
+
D["HAVE_SYS_UIO_H"]=" 1"
|
1064
|
+
D["HAVE_SYS_SOCKET_H"]=" 1"
|
1065
|
+
D["HAVE_SYS_UN_H"]=" 1"
|
1066
|
+
D["HAVE_NETINET_IN_H"]=" 1"
|
1067
|
+
D["HAVE_ARPA_INET_H"]=" 1"
|
1068
|
+
D["HAVE_NETDB_H"]=" 1"
|
1069
|
+
D["HAVE_EXECINFO_H"]=" 1"
|
1070
|
+
D["HAVE_BACKTRACE"]=" 1"
|
1071
|
+
D["HAVE_SYS_EVENT_H"]=" 1"
|
1072
|
+
D["HAVE_LIBM"]=" 1"
|
1073
|
+
D["HAVE_LIBPTHREAD"]=" 1"
|
1074
|
+
D["HAVE_FORK"]=" 1"
|
1075
|
+
D["HAVE_VFORK"]=" 1"
|
1076
|
+
D["HAVE_WORKING_VFORK"]=" 1"
|
1077
|
+
D["HAVE_WORKING_FORK"]=" 1"
|
1078
|
+
D["HAVE_STDLIB_H"]=" 1"
|
1079
|
+
D["HAVE_MALLOC"]=" 1"
|
1080
|
+
D["HAVE_STDLIB_H"]=" 1"
|
1081
|
+
D["HAVE_REALLOC"]=" 1"
|
1082
|
+
D["HAVE_DUP2"]=" 1"
|
1083
|
+
D["HAVE_GETHOSTNAME"]=" 1"
|
1084
|
+
D["HAVE_GETTIMEOFDAY"]=" 1"
|
1085
|
+
D["HAVE_STRERROR"]=" 1"
|
1086
|
+
D["HAVE_SOCKET"]=" 1"
|
1087
|
+
D["HAVE_MEMCHR"]=" 1"
|
1088
|
+
D["HAVE_MEMMOVE"]=" 1"
|
1089
|
+
D["HAVE_MEMSET"]=" 1"
|
1090
|
+
D["HAVE_STRCHR"]=" 1"
|
1091
|
+
D["HAVE_STRNDUP"]=" 1"
|
1092
|
+
D["HAVE_STRTOUL"]=" 1"
|
1093
|
+
D["HAVE_KQUEUE"]=" 1"
|
1094
|
+
D["HAVE_STATS"]=" 1"
|
1095
|
+
for (key in D) D_is_set[key] = 1
|
1096
|
+
FS = ""
|
1097
|
+
}
|
1098
|
+
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
|
1099
|
+
line = $ 0
|
1100
|
+
split(line, arg, " ")
|
1101
|
+
if (arg[1] == "#") {
|
1102
|
+
defundef = arg[2]
|
1103
|
+
mac1 = arg[3]
|
1104
|
+
} else {
|
1105
|
+
defundef = substr(arg[1], 2)
|
1106
|
+
mac1 = arg[2]
|
1107
|
+
}
|
1108
|
+
split(mac1, mac2, "(") #)
|
1109
|
+
macro = mac2[1]
|
1110
|
+
prefix = substr(line, 1, index(line, defundef) - 1)
|
1111
|
+
if (D_is_set[macro]) {
|
1112
|
+
# Preserve the white space surrounding the "#".
|
1113
|
+
print prefix "define", macro P[macro] D[macro]
|
1114
|
+
next
|
1115
|
+
} else {
|
1116
|
+
# Replace #undef with comments. This is necessary, for example,
|
1117
|
+
# in the case of _POSIX_SOURCE, which is predefined and required
|
1118
|
+
# on some systems where configure will not decide to define it.
|
1119
|
+
if (defundef == "undef") {
|
1120
|
+
print "/*", prefix defundef, macro, "*/"
|
1121
|
+
next
|
1122
|
+
}
|
1123
|
+
}
|
1124
|
+
}
|
1125
|
+
{ print }
|
1126
|
+
_ACAWK
|
1127
|
+
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
1128
|
+
fi # test -n "$CONFIG_HEADERS"
|
1129
|
+
|
1130
|
+
|
1131
|
+
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
1132
|
+
shift
|
1133
|
+
for ac_tag
|
1134
|
+
do
|
1135
|
+
case $ac_tag in
|
1136
|
+
:[FHLC]) ac_mode=$ac_tag; continue;;
|
1137
|
+
esac
|
1138
|
+
case $ac_mode$ac_tag in
|
1139
|
+
:[FHL]*:*);;
|
1140
|
+
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
1141
|
+
:[FH]-) ac_tag=-:-;;
|
1142
|
+
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
1143
|
+
esac
|
1144
|
+
ac_save_IFS=$IFS
|
1145
|
+
IFS=:
|
1146
|
+
set x $ac_tag
|
1147
|
+
IFS=$ac_save_IFS
|
1148
|
+
shift
|
1149
|
+
ac_file=$1
|
1150
|
+
shift
|
1151
|
+
|
1152
|
+
case $ac_mode in
|
1153
|
+
:L) ac_source=$1;;
|
1154
|
+
:[FH])
|
1155
|
+
ac_file_inputs=
|
1156
|
+
for ac_f
|
1157
|
+
do
|
1158
|
+
case $ac_f in
|
1159
|
+
-) ac_f="$ac_tmp/stdin";;
|
1160
|
+
*) # Look for the file first in the build tree, then in the source tree
|
1161
|
+
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
1162
|
+
# because $ac_f cannot contain `:'.
|
1163
|
+
test -f "$ac_f" ||
|
1164
|
+
case $ac_f in
|
1165
|
+
[\\/$]*) false;;
|
1166
|
+
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
1167
|
+
esac ||
|
1168
|
+
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
1169
|
+
esac
|
1170
|
+
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
1171
|
+
as_fn_append ac_file_inputs " '$ac_f'"
|
1172
|
+
done
|
1173
|
+
|
1174
|
+
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
1175
|
+
# use $as_me), people would be surprised to read:
|
1176
|
+
# /* config.h. Generated by config.status. */
|
1177
|
+
configure_input='Generated from '`
|
1178
|
+
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
1179
|
+
`' by configure.'
|
1180
|
+
if test x"$ac_file" != x-; then
|
1181
|
+
configure_input="$ac_file. $configure_input"
|
1182
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
1183
|
+
$as_echo "$as_me: creating $ac_file" >&6;}
|
1184
|
+
fi
|
1185
|
+
# Neutralize special characters interpreted by sed in replacement strings.
|
1186
|
+
case $configure_input in #(
|
1187
|
+
*\&* | *\|* | *\\* )
|
1188
|
+
ac_sed_conf_input=`$as_echo "$configure_input" |
|
1189
|
+
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
1190
|
+
*) ac_sed_conf_input=$configure_input;;
|
1191
|
+
esac
|
1192
|
+
|
1193
|
+
case $ac_tag in
|
1194
|
+
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
1195
|
+
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
1196
|
+
esac
|
1197
|
+
;;
|
1198
|
+
esac
|
1199
|
+
|
1200
|
+
ac_dir=`$as_dirname -- "$ac_file" ||
|
1201
|
+
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1202
|
+
X"$ac_file" : 'X\(//\)[^/]' \| \
|
1203
|
+
X"$ac_file" : 'X\(//\)$' \| \
|
1204
|
+
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
1205
|
+
$as_echo X"$ac_file" |
|
1206
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1207
|
+
s//\1/
|
1208
|
+
q
|
1209
|
+
}
|
1210
|
+
/^X\(\/\/\)[^/].*/{
|
1211
|
+
s//\1/
|
1212
|
+
q
|
1213
|
+
}
|
1214
|
+
/^X\(\/\/\)$/{
|
1215
|
+
s//\1/
|
1216
|
+
q
|
1217
|
+
}
|
1218
|
+
/^X\(\/\).*/{
|
1219
|
+
s//\1/
|
1220
|
+
q
|
1221
|
+
}
|
1222
|
+
s/.*/./; q'`
|
1223
|
+
as_dir="$ac_dir"; as_fn_mkdir_p
|
1224
|
+
ac_builddir=.
|
1225
|
+
|
1226
|
+
case "$ac_dir" in
|
1227
|
+
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1228
|
+
*)
|
1229
|
+
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1230
|
+
# A ".." for each directory in $ac_dir_suffix.
|
1231
|
+
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1232
|
+
case $ac_top_builddir_sub in
|
1233
|
+
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1234
|
+
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1235
|
+
esac ;;
|
1236
|
+
esac
|
1237
|
+
ac_abs_top_builddir=$ac_pwd
|
1238
|
+
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
1239
|
+
# for backward compatibility:
|
1240
|
+
ac_top_builddir=$ac_top_build_prefix
|
1241
|
+
|
1242
|
+
case $srcdir in
|
1243
|
+
.) # We are building in place.
|
1244
|
+
ac_srcdir=.
|
1245
|
+
ac_top_srcdir=$ac_top_builddir_sub
|
1246
|
+
ac_abs_top_srcdir=$ac_pwd ;;
|
1247
|
+
[\\/]* | ?:[\\/]* ) # Absolute name.
|
1248
|
+
ac_srcdir=$srcdir$ac_dir_suffix;
|
1249
|
+
ac_top_srcdir=$srcdir
|
1250
|
+
ac_abs_top_srcdir=$srcdir ;;
|
1251
|
+
*) # Relative name.
|
1252
|
+
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
1253
|
+
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
1254
|
+
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
1255
|
+
esac
|
1256
|
+
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1257
|
+
|
1258
|
+
|
1259
|
+
case $ac_mode in
|
1260
|
+
:F)
|
1261
|
+
#
|
1262
|
+
# CONFIG_FILE
|
1263
|
+
#
|
1264
|
+
|
1265
|
+
case $INSTALL in
|
1266
|
+
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
1267
|
+
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
1268
|
+
esac
|
1269
|
+
ac_MKDIR_P=$MKDIR_P
|
1270
|
+
case $MKDIR_P in
|
1271
|
+
[\\/$]* | ?:[\\/]* ) ;;
|
1272
|
+
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
1273
|
+
esac
|
1274
|
+
# If the template does not know about datarootdir, expand it.
|
1275
|
+
# FIXME: This hack should be removed a few years after 2.60.
|
1276
|
+
ac_datarootdir_hack=; ac_datarootdir_seen=
|
1277
|
+
ac_sed_dataroot='
|
1278
|
+
/datarootdir/ {
|
1279
|
+
p
|
1280
|
+
q
|
1281
|
+
}
|
1282
|
+
/@datadir@/p
|
1283
|
+
/@docdir@/p
|
1284
|
+
/@infodir@/p
|
1285
|
+
/@localedir@/p
|
1286
|
+
/@mandir@/p'
|
1287
|
+
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
1288
|
+
*datarootdir*) ac_datarootdir_seen=yes;;
|
1289
|
+
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
1290
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
1291
|
+
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
1292
|
+
ac_datarootdir_hack='
|
1293
|
+
s&@datadir@&${datarootdir}&g
|
1294
|
+
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
1295
|
+
s&@infodir@&${datarootdir}/info&g
|
1296
|
+
s&@localedir@&${datarootdir}/locale&g
|
1297
|
+
s&@mandir@&${datarootdir}/man&g
|
1298
|
+
s&\${datarootdir}&${prefix}/share&g' ;;
|
1299
|
+
esac
|
1300
|
+
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
|
1301
|
+
h
|
1302
|
+
s///
|
1303
|
+
s/^/:/
|
1304
|
+
s/[ ]*$/:/
|
1305
|
+
s/:\$(srcdir):/:/g
|
1306
|
+
s/:\${srcdir}:/:/g
|
1307
|
+
s/:@srcdir@:/:/g
|
1308
|
+
s/^:*//
|
1309
|
+
s/:*$//
|
1310
|
+
x
|
1311
|
+
s/\(=[ ]*\).*/\1/
|
1312
|
+
G
|
1313
|
+
s/\n//
|
1314
|
+
s/^[^=]*=[ ]*$//
|
1315
|
+
}
|
1316
|
+
|
1317
|
+
:t
|
1318
|
+
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
1319
|
+
s|@configure_input@|$ac_sed_conf_input|;t t
|
1320
|
+
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
1321
|
+
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
1322
|
+
s&@srcdir@&$ac_srcdir&;t t
|
1323
|
+
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
1324
|
+
s&@top_srcdir@&$ac_top_srcdir&;t t
|
1325
|
+
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
1326
|
+
s&@builddir@&$ac_builddir&;t t
|
1327
|
+
s&@abs_builddir@&$ac_abs_builddir&;t t
|
1328
|
+
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
1329
|
+
s&@INSTALL@&$ac_INSTALL&;t t
|
1330
|
+
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
1331
|
+
$ac_datarootdir_hack
|
1332
|
+
"
|
1333
|
+
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
1334
|
+
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1335
|
+
|
1336
|
+
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
1337
|
+
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
1338
|
+
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
1339
|
+
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
1340
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1341
|
+
which seems to be undefined. Please make sure it is defined" >&5
|
1342
|
+
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1343
|
+
which seems to be undefined. Please make sure it is defined" >&2;}
|
1344
|
+
|
1345
|
+
rm -f "$ac_tmp/stdin"
|
1346
|
+
case $ac_file in
|
1347
|
+
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
1348
|
+
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
1349
|
+
esac \
|
1350
|
+
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1351
|
+
;;
|
1352
|
+
:H)
|
1353
|
+
#
|
1354
|
+
# CONFIG_HEADER
|
1355
|
+
#
|
1356
|
+
if test x"$ac_file" != x-; then
|
1357
|
+
{
|
1358
|
+
$as_echo "/* $configure_input */" \
|
1359
|
+
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
1360
|
+
} >"$ac_tmp/config.h" \
|
1361
|
+
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1362
|
+
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
1363
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
1364
|
+
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
1365
|
+
else
|
1366
|
+
rm -f "$ac_file"
|
1367
|
+
mv "$ac_tmp/config.h" "$ac_file" \
|
1368
|
+
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1369
|
+
fi
|
1370
|
+
else
|
1371
|
+
$as_echo "/* $configure_input */" \
|
1372
|
+
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
1373
|
+
|| as_fn_error $? "could not create -" "$LINENO" 5
|
1374
|
+
fi
|
1375
|
+
# Compute "$ac_file"'s index in $config_headers.
|
1376
|
+
_am_stamp_count=1
|
1377
|
+
for _am_header in $config_headers :; do
|
1378
|
+
case $_am_header in
|
1379
|
+
"$ac_file" | "$ac_file":* )
|
1380
|
+
break ;;
|
1381
|
+
* )
|
1382
|
+
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
1383
|
+
esac
|
1384
|
+
done
|
1385
|
+
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
|
1386
|
+
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1387
|
+
X"$ac_file" : 'X\(//\)[^/]' \| \
|
1388
|
+
X"$ac_file" : 'X\(//\)$' \| \
|
1389
|
+
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
1390
|
+
$as_echo X"$ac_file" |
|
1391
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1392
|
+
s//\1/
|
1393
|
+
q
|
1394
|
+
}
|
1395
|
+
/^X\(\/\/\)[^/].*/{
|
1396
|
+
s//\1/
|
1397
|
+
q
|
1398
|
+
}
|
1399
|
+
/^X\(\/\/\)$/{
|
1400
|
+
s//\1/
|
1401
|
+
q
|
1402
|
+
}
|
1403
|
+
/^X\(\/\).*/{
|
1404
|
+
s//\1/
|
1405
|
+
q
|
1406
|
+
}
|
1407
|
+
s/.*/./; q'`/stamp-h$_am_stamp_count
|
1408
|
+
;;
|
1409
|
+
|
1410
|
+
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
1411
|
+
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
1412
|
+
;;
|
1413
|
+
esac
|
1414
|
+
|
1415
|
+
|
1416
|
+
case $ac_file$ac_mode in
|
1417
|
+
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
1418
|
+
# Strip MF so we end up with the name of the file.
|
1419
|
+
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
1420
|
+
# Check whether this is an Automake generated Makefile or not.
|
1421
|
+
# We used to match only the files named `Makefile.in', but
|
1422
|
+
# some people rename them; so instead we look at the file content.
|
1423
|
+
# Grep'ing the first line is not enough: some people post-process
|
1424
|
+
# each Makefile.in and add a new line on top of each file to say so.
|
1425
|
+
# Grep'ing the whole file is not good either: AIX grep has a line
|
1426
|
+
# limit of 2048, but all sed's we know have understand at least 4000.
|
1427
|
+
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
|
1428
|
+
dirpart=`$as_dirname -- "$mf" ||
|
1429
|
+
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1430
|
+
X"$mf" : 'X\(//\)[^/]' \| \
|
1431
|
+
X"$mf" : 'X\(//\)$' \| \
|
1432
|
+
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
1433
|
+
$as_echo X"$mf" |
|
1434
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1435
|
+
s//\1/
|
1436
|
+
q
|
1437
|
+
}
|
1438
|
+
/^X\(\/\/\)[^/].*/{
|
1439
|
+
s//\1/
|
1440
|
+
q
|
1441
|
+
}
|
1442
|
+
/^X\(\/\/\)$/{
|
1443
|
+
s//\1/
|
1444
|
+
q
|
1445
|
+
}
|
1446
|
+
/^X\(\/\).*/{
|
1447
|
+
s//\1/
|
1448
|
+
q
|
1449
|
+
}
|
1450
|
+
s/.*/./; q'`
|
1451
|
+
else
|
1452
|
+
continue
|
1453
|
+
fi
|
1454
|
+
# Extract the definition of DEPDIR, am__include, and am__quote
|
1455
|
+
# from the Makefile without running `make'.
|
1456
|
+
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
1457
|
+
test -z "$DEPDIR" && continue
|
1458
|
+
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
1459
|
+
test -z "am__include" && continue
|
1460
|
+
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
1461
|
+
# When using ansi2knr, U may be empty or an underscore; expand it
|
1462
|
+
U=`sed -n 's/^U = //p' < "$mf"`
|
1463
|
+
# Find all dependency output files, they are included files with
|
1464
|
+
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
1465
|
+
# simplest approach to changing $(DEPDIR) to its actual value in the
|
1466
|
+
# expansion.
|
1467
|
+
for file in `sed -n "
|
1468
|
+
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
1469
|
+
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
1470
|
+
# Make sure the directory exists.
|
1471
|
+
test -f "$dirpart/$file" && continue
|
1472
|
+
fdir=`$as_dirname -- "$file" ||
|
1473
|
+
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1474
|
+
X"$file" : 'X\(//\)[^/]' \| \
|
1475
|
+
X"$file" : 'X\(//\)$' \| \
|
1476
|
+
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
1477
|
+
$as_echo X"$file" |
|
1478
|
+
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1479
|
+
s//\1/
|
1480
|
+
q
|
1481
|
+
}
|
1482
|
+
/^X\(\/\/\)[^/].*/{
|
1483
|
+
s//\1/
|
1484
|
+
q
|
1485
|
+
}
|
1486
|
+
/^X\(\/\/\)$/{
|
1487
|
+
s//\1/
|
1488
|
+
q
|
1489
|
+
}
|
1490
|
+
/^X\(\/\).*/{
|
1491
|
+
s//\1/
|
1492
|
+
q
|
1493
|
+
}
|
1494
|
+
s/.*/./; q'`
|
1495
|
+
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
1496
|
+
# echo "creating $dirpart/$file"
|
1497
|
+
echo '# dummy' > "$dirpart/$file"
|
1498
|
+
done
|
1499
|
+
done
|
1500
|
+
;;
|
1501
|
+
"libtool":C)
|
1502
|
+
|
1503
|
+
# See if we are running on zsh, and set the options which allow our
|
1504
|
+
# commands through without removal of \ escapes.
|
1505
|
+
if test -n "${ZSH_VERSION+set}" ; then
|
1506
|
+
setopt NO_GLOB_SUBST
|
1507
|
+
fi
|
1508
|
+
|
1509
|
+
cfgfile="${ofile}T"
|
1510
|
+
trap "$RM -f \"$cfgfile\"; exit 1" 1 2 15
|
1511
|
+
$RM -f "$cfgfile"
|
1512
|
+
|
1513
|
+
cat <<_LT_EOF >> "$cfgfile"
|
1514
|
+
#! $SHELL
|
1515
|
+
|
1516
|
+
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
|
1517
|
+
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
|
1518
|
+
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
1519
|
+
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
1520
|
+
#
|
1521
|
+
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
1522
|
+
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
1523
|
+
# Inc.
|
1524
|
+
# Written by Gordon Matzigkeit, 1996
|
1525
|
+
#
|
1526
|
+
# This file is part of GNU Libtool.
|
1527
|
+
#
|
1528
|
+
# GNU Libtool is free software; you can redistribute it and/or
|
1529
|
+
# modify it under the terms of the GNU General Public License as
|
1530
|
+
# published by the Free Software Foundation; either version 2 of
|
1531
|
+
# the License, or (at your option) any later version.
|
1532
|
+
#
|
1533
|
+
# As a special exception to the GNU General Public License,
|
1534
|
+
# if you distribute this file as part of a program or library that
|
1535
|
+
# is built using GNU Libtool, you may include this file under the
|
1536
|
+
# same distribution terms that you use for the rest of that program.
|
1537
|
+
#
|
1538
|
+
# GNU Libtool is distributed in the hope that it will be useful,
|
1539
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
1540
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
1541
|
+
# GNU General Public License for more details.
|
1542
|
+
#
|
1543
|
+
# You should have received a copy of the GNU General Public License
|
1544
|
+
# along with GNU Libtool; see the file COPYING. If not, a copy
|
1545
|
+
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
|
1546
|
+
# obtained by writing to the Free Software Foundation, Inc.,
|
1547
|
+
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
1548
|
+
|
1549
|
+
|
1550
|
+
# The names of the tagged configurations supported by this script.
|
1551
|
+
available_tags="CXX "
|
1552
|
+
|
1553
|
+
# ### BEGIN LIBTOOL CONFIG
|
1554
|
+
|
1555
|
+
# Which release of libtool.m4 was used?
|
1556
|
+
macro_version=$macro_version
|
1557
|
+
macro_revision=$macro_revision
|
1558
|
+
|
1559
|
+
# Whether or not to build shared libraries.
|
1560
|
+
build_libtool_libs=$enable_shared
|
1561
|
+
|
1562
|
+
# Whether or not to build static libraries.
|
1563
|
+
build_old_libs=$enable_static
|
1564
|
+
|
1565
|
+
# What type of objects to build.
|
1566
|
+
pic_mode=$pic_mode
|
1567
|
+
|
1568
|
+
# Whether or not to optimize for fast installation.
|
1569
|
+
fast_install=$enable_fast_install
|
1570
|
+
|
1571
|
+
# Shell to use when invoking shell scripts.
|
1572
|
+
SHELL=$lt_SHELL
|
1573
|
+
|
1574
|
+
# An echo program that protects backslashes.
|
1575
|
+
ECHO=$lt_ECHO
|
1576
|
+
|
1577
|
+
# The host system.
|
1578
|
+
host_alias=$host_alias
|
1579
|
+
host=$host
|
1580
|
+
host_os=$host_os
|
1581
|
+
|
1582
|
+
# The build system.
|
1583
|
+
build_alias=$build_alias
|
1584
|
+
build=$build
|
1585
|
+
build_os=$build_os
|
1586
|
+
|
1587
|
+
# A sed program that does not truncate output.
|
1588
|
+
SED=$lt_SED
|
1589
|
+
|
1590
|
+
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
1591
|
+
Xsed="\$SED -e 1s/^X//"
|
1592
|
+
|
1593
|
+
# A grep program that handles long lines.
|
1594
|
+
GREP=$lt_GREP
|
1595
|
+
|
1596
|
+
# An ERE matcher.
|
1597
|
+
EGREP=$lt_EGREP
|
1598
|
+
|
1599
|
+
# A literal string matcher.
|
1600
|
+
FGREP=$lt_FGREP
|
1601
|
+
|
1602
|
+
# A BSD- or MS-compatible name lister.
|
1603
|
+
NM=$lt_NM
|
1604
|
+
|
1605
|
+
# Whether we need soft or hard links.
|
1606
|
+
LN_S=$lt_LN_S
|
1607
|
+
|
1608
|
+
# What is the maximum length of a command?
|
1609
|
+
max_cmd_len=$max_cmd_len
|
1610
|
+
|
1611
|
+
# Object file suffix (normally "o").
|
1612
|
+
objext=$ac_objext
|
1613
|
+
|
1614
|
+
# Executable file suffix (normally "").
|
1615
|
+
exeext=$exeext
|
1616
|
+
|
1617
|
+
# whether the shell understands "unset".
|
1618
|
+
lt_unset=$lt_unset
|
1619
|
+
|
1620
|
+
# turn spaces into newlines.
|
1621
|
+
SP2NL=$lt_lt_SP2NL
|
1622
|
+
|
1623
|
+
# turn newlines into spaces.
|
1624
|
+
NL2SP=$lt_lt_NL2SP
|
1625
|
+
|
1626
|
+
# An object symbol dumper.
|
1627
|
+
OBJDUMP=$lt_OBJDUMP
|
1628
|
+
|
1629
|
+
# Method to check whether dependent libraries are shared objects.
|
1630
|
+
deplibs_check_method=$lt_deplibs_check_method
|
1631
|
+
|
1632
|
+
# Command to use when deplibs_check_method == "file_magic".
|
1633
|
+
file_magic_cmd=$lt_file_magic_cmd
|
1634
|
+
|
1635
|
+
# The archiver.
|
1636
|
+
AR=$lt_AR
|
1637
|
+
AR_FLAGS=$lt_AR_FLAGS
|
1638
|
+
|
1639
|
+
# A symbol stripping program.
|
1640
|
+
STRIP=$lt_STRIP
|
1641
|
+
|
1642
|
+
# Commands used to install an old-style archive.
|
1643
|
+
RANLIB=$lt_RANLIB
|
1644
|
+
old_postinstall_cmds=$lt_old_postinstall_cmds
|
1645
|
+
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
1646
|
+
|
1647
|
+
# Whether to use a lock for old archive extraction.
|
1648
|
+
lock_old_archive_extraction=$lock_old_archive_extraction
|
1649
|
+
|
1650
|
+
# A C compiler.
|
1651
|
+
LTCC=$lt_CC
|
1652
|
+
|
1653
|
+
# LTCC compiler flags.
|
1654
|
+
LTCFLAGS=$lt_CFLAGS
|
1655
|
+
|
1656
|
+
# Take the output of nm and produce a listing of raw symbols and C names.
|
1657
|
+
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
1658
|
+
|
1659
|
+
# Transform the output of nm in a proper C declaration.
|
1660
|
+
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
1661
|
+
|
1662
|
+
# Transform the output of nm in a C name address pair.
|
1663
|
+
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
1664
|
+
|
1665
|
+
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
1666
|
+
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
1667
|
+
|
1668
|
+
# The name of the directory that contains temporary libtool files.
|
1669
|
+
objdir=$objdir
|
1670
|
+
|
1671
|
+
# Used to examine libraries when file_magic_cmd begins with "file".
|
1672
|
+
MAGIC_CMD=$MAGIC_CMD
|
1673
|
+
|
1674
|
+
# Must we lock files when doing compilation?
|
1675
|
+
need_locks=$lt_need_locks
|
1676
|
+
|
1677
|
+
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
1678
|
+
DSYMUTIL=$lt_DSYMUTIL
|
1679
|
+
|
1680
|
+
# Tool to change global to local symbols on Mac OS X.
|
1681
|
+
NMEDIT=$lt_NMEDIT
|
1682
|
+
|
1683
|
+
# Tool to manipulate fat objects and archives on Mac OS X.
|
1684
|
+
LIPO=$lt_LIPO
|
1685
|
+
|
1686
|
+
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
1687
|
+
OTOOL=$lt_OTOOL
|
1688
|
+
|
1689
|
+
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
1690
|
+
OTOOL64=$lt_OTOOL64
|
1691
|
+
|
1692
|
+
# Old archive suffix (normally "a").
|
1693
|
+
libext=$libext
|
1694
|
+
|
1695
|
+
# Shared library suffix (normally ".so").
|
1696
|
+
shrext_cmds=$lt_shrext_cmds
|
1697
|
+
|
1698
|
+
# The commands to extract the exported symbol list from a shared archive.
|
1699
|
+
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
1700
|
+
|
1701
|
+
# Variables whose values should be saved in libtool wrapper scripts and
|
1702
|
+
# restored at link time.
|
1703
|
+
variables_saved_for_relink=$lt_variables_saved_for_relink
|
1704
|
+
|
1705
|
+
# Do we need the "lib" prefix for modules?
|
1706
|
+
need_lib_prefix=$need_lib_prefix
|
1707
|
+
|
1708
|
+
# Do we need a version for libraries?
|
1709
|
+
need_version=$need_version
|
1710
|
+
|
1711
|
+
# Library versioning type.
|
1712
|
+
version_type=$version_type
|
1713
|
+
|
1714
|
+
# Shared library runtime path variable.
|
1715
|
+
runpath_var=$runpath_var
|
1716
|
+
|
1717
|
+
# Shared library path variable.
|
1718
|
+
shlibpath_var=$shlibpath_var
|
1719
|
+
|
1720
|
+
# Is shlibpath searched before the hard-coded library search path?
|
1721
|
+
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
1722
|
+
|
1723
|
+
# Format of library name prefix.
|
1724
|
+
libname_spec=$lt_libname_spec
|
1725
|
+
|
1726
|
+
# List of archive names. First name is the real one, the rest are links.
|
1727
|
+
# The last name is the one that the linker finds with -lNAME
|
1728
|
+
library_names_spec=$lt_library_names_spec
|
1729
|
+
|
1730
|
+
# The coded name of the library, if different from the real name.
|
1731
|
+
soname_spec=$lt_soname_spec
|
1732
|
+
|
1733
|
+
# Permission mode override for installation of shared libraries.
|
1734
|
+
install_override_mode=$lt_install_override_mode
|
1735
|
+
|
1736
|
+
# Command to use after installation of a shared archive.
|
1737
|
+
postinstall_cmds=$lt_postinstall_cmds
|
1738
|
+
|
1739
|
+
# Command to use after uninstallation of a shared archive.
|
1740
|
+
postuninstall_cmds=$lt_postuninstall_cmds
|
1741
|
+
|
1742
|
+
# Commands used to finish a libtool library installation in a directory.
|
1743
|
+
finish_cmds=$lt_finish_cmds
|
1744
|
+
|
1745
|
+
# As "finish_cmds", except a single script fragment to be evaled but
|
1746
|
+
# not shown.
|
1747
|
+
finish_eval=$lt_finish_eval
|
1748
|
+
|
1749
|
+
# Whether we should hardcode library paths into libraries.
|
1750
|
+
hardcode_into_libs=$hardcode_into_libs
|
1751
|
+
|
1752
|
+
# Compile-time system search path for libraries.
|
1753
|
+
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
1754
|
+
|
1755
|
+
# Run-time system search path for libraries.
|
1756
|
+
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
|
1757
|
+
|
1758
|
+
# Whether dlopen is supported.
|
1759
|
+
dlopen_support=$enable_dlopen
|
1760
|
+
|
1761
|
+
# Whether dlopen of programs is supported.
|
1762
|
+
dlopen_self=$enable_dlopen_self
|
1763
|
+
|
1764
|
+
# Whether dlopen of statically linked programs is supported.
|
1765
|
+
dlopen_self_static=$enable_dlopen_self_static
|
1766
|
+
|
1767
|
+
# Commands to strip libraries.
|
1768
|
+
old_striplib=$lt_old_striplib
|
1769
|
+
striplib=$lt_striplib
|
1770
|
+
|
1771
|
+
|
1772
|
+
# The linker used to build libraries.
|
1773
|
+
LD=$lt_LD
|
1774
|
+
|
1775
|
+
# How to create reloadable object files.
|
1776
|
+
reload_flag=$lt_reload_flag
|
1777
|
+
reload_cmds=$lt_reload_cmds
|
1778
|
+
|
1779
|
+
# Commands used to build an old-style archive.
|
1780
|
+
old_archive_cmds=$lt_old_archive_cmds
|
1781
|
+
|
1782
|
+
# A language specific compiler.
|
1783
|
+
CC=$lt_compiler
|
1784
|
+
|
1785
|
+
# Is the compiler the GNU compiler?
|
1786
|
+
with_gcc=$GCC
|
1787
|
+
|
1788
|
+
# Compiler flag to turn off builtin functions.
|
1789
|
+
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
1790
|
+
|
1791
|
+
# How to pass a linker flag through the compiler.
|
1792
|
+
wl=$lt_lt_prog_compiler_wl
|
1793
|
+
|
1794
|
+
# Additional compiler flags for building library objects.
|
1795
|
+
pic_flag=$lt_lt_prog_compiler_pic
|
1796
|
+
|
1797
|
+
# Compiler flag to prevent dynamic linking.
|
1798
|
+
link_static_flag=$lt_lt_prog_compiler_static
|
1799
|
+
|
1800
|
+
# Does compiler simultaneously support -c and -o options?
|
1801
|
+
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
1802
|
+
|
1803
|
+
# Whether or not to add -lc for building shared libraries.
|
1804
|
+
build_libtool_need_lc=$archive_cmds_need_lc
|
1805
|
+
|
1806
|
+
# Whether or not to disallow shared libs when runtime libs are static.
|
1807
|
+
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
1808
|
+
|
1809
|
+
# Compiler flag to allow reflexive dlopens.
|
1810
|
+
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
1811
|
+
|
1812
|
+
# Compiler flag to generate shared objects directly from archives.
|
1813
|
+
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
1814
|
+
|
1815
|
+
# Whether the compiler copes with passing no objects directly.
|
1816
|
+
compiler_needs_object=$lt_compiler_needs_object
|
1817
|
+
|
1818
|
+
# Create an old-style archive from a shared archive.
|
1819
|
+
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
1820
|
+
|
1821
|
+
# Create a temporary old-style archive to link instead of a shared archive.
|
1822
|
+
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
1823
|
+
|
1824
|
+
# Commands used to build a shared archive.
|
1825
|
+
archive_cmds=$lt_archive_cmds
|
1826
|
+
archive_expsym_cmds=$lt_archive_expsym_cmds
|
1827
|
+
|
1828
|
+
# Commands used to build a loadable module if different from building
|
1829
|
+
# a shared archive.
|
1830
|
+
module_cmds=$lt_module_cmds
|
1831
|
+
module_expsym_cmds=$lt_module_expsym_cmds
|
1832
|
+
|
1833
|
+
# Whether we are building with GNU ld or not.
|
1834
|
+
with_gnu_ld=$lt_with_gnu_ld
|
1835
|
+
|
1836
|
+
# Flag that allows shared libraries with undefined symbols to be built.
|
1837
|
+
allow_undefined_flag=$lt_allow_undefined_flag
|
1838
|
+
|
1839
|
+
# Flag that enforces no undefined symbols.
|
1840
|
+
no_undefined_flag=$lt_no_undefined_flag
|
1841
|
+
|
1842
|
+
# Flag to hardcode \$libdir into a binary during linking.
|
1843
|
+
# This must work even if \$libdir does not exist
|
1844
|
+
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
1845
|
+
|
1846
|
+
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
1847
|
+
# during linking. This must work even if \$libdir does not exist.
|
1848
|
+
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
|
1849
|
+
|
1850
|
+
# Whether we need a single "-rpath" flag with a separated argument.
|
1851
|
+
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
1852
|
+
|
1853
|
+
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
1854
|
+
# DIR into the resulting binary.
|
1855
|
+
hardcode_direct=$hardcode_direct
|
1856
|
+
|
1857
|
+
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
1858
|
+
# DIR into the resulting binary and the resulting library dependency is
|
1859
|
+
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
1860
|
+
# library is relocated.
|
1861
|
+
hardcode_direct_absolute=$hardcode_direct_absolute
|
1862
|
+
|
1863
|
+
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
1864
|
+
# into the resulting binary.
|
1865
|
+
hardcode_minus_L=$hardcode_minus_L
|
1866
|
+
|
1867
|
+
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
1868
|
+
# into the resulting binary.
|
1869
|
+
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
1870
|
+
|
1871
|
+
# Set to "yes" if building a shared library automatically hardcodes DIR
|
1872
|
+
# into the library and all subsequent libraries and executables linked
|
1873
|
+
# against it.
|
1874
|
+
hardcode_automatic=$hardcode_automatic
|
1875
|
+
|
1876
|
+
# Set to yes if linker adds runtime paths of dependent libraries
|
1877
|
+
# to runtime path list.
|
1878
|
+
inherit_rpath=$inherit_rpath
|
1879
|
+
|
1880
|
+
# Whether libtool must link a program against all its dependency libraries.
|
1881
|
+
link_all_deplibs=$link_all_deplibs
|
1882
|
+
|
1883
|
+
# Fix the shell variable \$srcfile for the compiler.
|
1884
|
+
fix_srcfile_path=$lt_fix_srcfile_path
|
1885
|
+
|
1886
|
+
# Set to "yes" if exported symbols are required.
|
1887
|
+
always_export_symbols=$always_export_symbols
|
1888
|
+
|
1889
|
+
# The commands to list exported symbols.
|
1890
|
+
export_symbols_cmds=$lt_export_symbols_cmds
|
1891
|
+
|
1892
|
+
# Symbols that should not be listed in the preloaded symbols.
|
1893
|
+
exclude_expsyms=$lt_exclude_expsyms
|
1894
|
+
|
1895
|
+
# Symbols that must always be exported.
|
1896
|
+
include_expsyms=$lt_include_expsyms
|
1897
|
+
|
1898
|
+
# Commands necessary for linking programs (against libraries) with templates.
|
1899
|
+
prelink_cmds=$lt_prelink_cmds
|
1900
|
+
|
1901
|
+
# Specify filename containing input files.
|
1902
|
+
file_list_spec=$lt_file_list_spec
|
1903
|
+
|
1904
|
+
# How to hardcode a shared library path into an executable.
|
1905
|
+
hardcode_action=$hardcode_action
|
1906
|
+
|
1907
|
+
# The directories searched by this compiler when creating a shared library.
|
1908
|
+
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
|
1909
|
+
|
1910
|
+
# Dependencies to place before and after the objects being linked to
|
1911
|
+
# create a shared library.
|
1912
|
+
predep_objects=$lt_predep_objects
|
1913
|
+
postdep_objects=$lt_postdep_objects
|
1914
|
+
predeps=$lt_predeps
|
1915
|
+
postdeps=$lt_postdeps
|
1916
|
+
|
1917
|
+
# The library search path used internally by the compiler when linking
|
1918
|
+
# a shared library.
|
1919
|
+
compiler_lib_search_path=$lt_compiler_lib_search_path
|
1920
|
+
|
1921
|
+
# ### END LIBTOOL CONFIG
|
1922
|
+
|
1923
|
+
_LT_EOF
|
1924
|
+
|
1925
|
+
case $host_os in
|
1926
|
+
aix3*)
|
1927
|
+
cat <<\_LT_EOF >> "$cfgfile"
|
1928
|
+
# AIX sometimes has problems with the GCC collect2 program. For some
|
1929
|
+
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
1930
|
+
# vanish in a puff of smoke.
|
1931
|
+
if test "X${COLLECT_NAMES+set}" != Xset; then
|
1932
|
+
COLLECT_NAMES=
|
1933
|
+
export COLLECT_NAMES
|
1934
|
+
fi
|
1935
|
+
_LT_EOF
|
1936
|
+
;;
|
1937
|
+
esac
|
1938
|
+
|
1939
|
+
|
1940
|
+
ltmain="$ac_aux_dir/ltmain.sh"
|
1941
|
+
|
1942
|
+
|
1943
|
+
# We use sed instead of cat because bash on DJGPP gets confused if
|
1944
|
+
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
1945
|
+
# text mode, it properly converts lines to CR/LF. This bash problem
|
1946
|
+
# is reportedly fixed, but why not run on old versions too?
|
1947
|
+
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
|
1948
|
+
|| (rm -f "$cfgfile"; exit 1)
|
1949
|
+
|
1950
|
+
case $xsi_shell in
|
1951
|
+
yes)
|
1952
|
+
cat << \_LT_EOF >> "$cfgfile"
|
1953
|
+
|
1954
|
+
# func_dirname file append nondir_replacement
|
1955
|
+
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
|
1956
|
+
# otherwise set result to NONDIR_REPLACEMENT.
|
1957
|
+
func_dirname ()
|
1958
|
+
{
|
1959
|
+
case ${1} in
|
1960
|
+
*/*) func_dirname_result="${1%/*}${2}" ;;
|
1961
|
+
* ) func_dirname_result="${3}" ;;
|
1962
|
+
esac
|
1963
|
+
}
|
1964
|
+
|
1965
|
+
# func_basename file
|
1966
|
+
func_basename ()
|
1967
|
+
{
|
1968
|
+
func_basename_result="${1##*/}"
|
1969
|
+
}
|
1970
|
+
|
1971
|
+
# func_dirname_and_basename file append nondir_replacement
|
1972
|
+
# perform func_basename and func_dirname in a single function
|
1973
|
+
# call:
|
1974
|
+
# dirname: Compute the dirname of FILE. If nonempty,
|
1975
|
+
# add APPEND to the result, otherwise set result
|
1976
|
+
# to NONDIR_REPLACEMENT.
|
1977
|
+
# value returned in "$func_dirname_result"
|
1978
|
+
# basename: Compute filename of FILE.
|
1979
|
+
# value retuned in "$func_basename_result"
|
1980
|
+
# Implementation must be kept synchronized with func_dirname
|
1981
|
+
# and func_basename. For efficiency, we do not delegate to
|
1982
|
+
# those functions but instead duplicate the functionality here.
|
1983
|
+
func_dirname_and_basename ()
|
1984
|
+
{
|
1985
|
+
case ${1} in
|
1986
|
+
*/*) func_dirname_result="${1%/*}${2}" ;;
|
1987
|
+
* ) func_dirname_result="${3}" ;;
|
1988
|
+
esac
|
1989
|
+
func_basename_result="${1##*/}"
|
1990
|
+
}
|
1991
|
+
|
1992
|
+
# func_stripname prefix suffix name
|
1993
|
+
# strip PREFIX and SUFFIX off of NAME.
|
1994
|
+
# PREFIX and SUFFIX must not contain globbing or regex special
|
1995
|
+
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
1996
|
+
# dot (in which case that matches only a dot).
|
1997
|
+
func_stripname ()
|
1998
|
+
{
|
1999
|
+
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
|
2000
|
+
# positional parameters, so assign one to ordinary parameter first.
|
2001
|
+
func_stripname_result=${3}
|
2002
|
+
func_stripname_result=${func_stripname_result#"${1}"}
|
2003
|
+
func_stripname_result=${func_stripname_result%"${2}"}
|
2004
|
+
}
|
2005
|
+
|
2006
|
+
# func_opt_split
|
2007
|
+
func_opt_split ()
|
2008
|
+
{
|
2009
|
+
func_opt_split_opt=${1%%=*}
|
2010
|
+
func_opt_split_arg=${1#*=}
|
2011
|
+
}
|
2012
|
+
|
2013
|
+
# func_lo2o object
|
2014
|
+
func_lo2o ()
|
2015
|
+
{
|
2016
|
+
case ${1} in
|
2017
|
+
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
|
2018
|
+
*) func_lo2o_result=${1} ;;
|
2019
|
+
esac
|
2020
|
+
}
|
2021
|
+
|
2022
|
+
# func_xform libobj-or-source
|
2023
|
+
func_xform ()
|
2024
|
+
{
|
2025
|
+
func_xform_result=${1%.*}.lo
|
2026
|
+
}
|
2027
|
+
|
2028
|
+
# func_arith arithmetic-term...
|
2029
|
+
func_arith ()
|
2030
|
+
{
|
2031
|
+
func_arith_result=$(( $* ))
|
2032
|
+
}
|
2033
|
+
|
2034
|
+
# func_len string
|
2035
|
+
# STRING may not start with a hyphen.
|
2036
|
+
func_len ()
|
2037
|
+
{
|
2038
|
+
func_len_result=${#1}
|
2039
|
+
}
|
2040
|
+
|
2041
|
+
_LT_EOF
|
2042
|
+
;;
|
2043
|
+
*) # Bourne compatible functions.
|
2044
|
+
cat << \_LT_EOF >> "$cfgfile"
|
2045
|
+
|
2046
|
+
# func_dirname file append nondir_replacement
|
2047
|
+
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
|
2048
|
+
# otherwise set result to NONDIR_REPLACEMENT.
|
2049
|
+
func_dirname ()
|
2050
|
+
{
|
2051
|
+
# Extract subdirectory from the argument.
|
2052
|
+
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
|
2053
|
+
if test "X$func_dirname_result" = "X${1}"; then
|
2054
|
+
func_dirname_result="${3}"
|
2055
|
+
else
|
2056
|
+
func_dirname_result="$func_dirname_result${2}"
|
2057
|
+
fi
|
2058
|
+
}
|
2059
|
+
|
2060
|
+
# func_basename file
|
2061
|
+
func_basename ()
|
2062
|
+
{
|
2063
|
+
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
|
2064
|
+
}
|
2065
|
+
|
2066
|
+
|
2067
|
+
# func_stripname prefix suffix name
|
2068
|
+
# strip PREFIX and SUFFIX off of NAME.
|
2069
|
+
# PREFIX and SUFFIX must not contain globbing or regex special
|
2070
|
+
# characters, hashes, percent signs, but SUFFIX may contain a leading
|
2071
|
+
# dot (in which case that matches only a dot).
|
2072
|
+
# func_strip_suffix prefix name
|
2073
|
+
func_stripname ()
|
2074
|
+
{
|
2075
|
+
case ${2} in
|
2076
|
+
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
|
2077
|
+
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
|
2078
|
+
esac
|
2079
|
+
}
|
2080
|
+
|
2081
|
+
# sed scripts:
|
2082
|
+
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
|
2083
|
+
my_sed_long_arg='1s/^-[^=]*=//'
|
2084
|
+
|
2085
|
+
# func_opt_split
|
2086
|
+
func_opt_split ()
|
2087
|
+
{
|
2088
|
+
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
|
2089
|
+
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
|
2090
|
+
}
|
2091
|
+
|
2092
|
+
# func_lo2o object
|
2093
|
+
func_lo2o ()
|
2094
|
+
{
|
2095
|
+
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
|
2096
|
+
}
|
2097
|
+
|
2098
|
+
# func_xform libobj-or-source
|
2099
|
+
func_xform ()
|
2100
|
+
{
|
2101
|
+
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
|
2102
|
+
}
|
2103
|
+
|
2104
|
+
# func_arith arithmetic-term...
|
2105
|
+
func_arith ()
|
2106
|
+
{
|
2107
|
+
func_arith_result=`expr "$@"`
|
2108
|
+
}
|
2109
|
+
|
2110
|
+
# func_len string
|
2111
|
+
# STRING may not start with a hyphen.
|
2112
|
+
func_len ()
|
2113
|
+
{
|
2114
|
+
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
|
2115
|
+
}
|
2116
|
+
|
2117
|
+
_LT_EOF
|
2118
|
+
esac
|
2119
|
+
|
2120
|
+
case $lt_shell_append in
|
2121
|
+
yes)
|
2122
|
+
cat << \_LT_EOF >> "$cfgfile"
|
2123
|
+
|
2124
|
+
# func_append var value
|
2125
|
+
# Append VALUE to the end of shell variable VAR.
|
2126
|
+
func_append ()
|
2127
|
+
{
|
2128
|
+
eval "$1+=\$2"
|
2129
|
+
}
|
2130
|
+
_LT_EOF
|
2131
|
+
;;
|
2132
|
+
*)
|
2133
|
+
cat << \_LT_EOF >> "$cfgfile"
|
2134
|
+
|
2135
|
+
# func_append var value
|
2136
|
+
# Append VALUE to the end of shell variable VAR.
|
2137
|
+
func_append ()
|
2138
|
+
{
|
2139
|
+
eval "$1=\$$1\$2"
|
2140
|
+
}
|
2141
|
+
|
2142
|
+
_LT_EOF
|
2143
|
+
;;
|
2144
|
+
esac
|
2145
|
+
|
2146
|
+
|
2147
|
+
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
|
2148
|
+
|| (rm -f "$cfgfile"; exit 1)
|
2149
|
+
|
2150
|
+
mv -f "$cfgfile" "$ofile" ||
|
2151
|
+
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
2152
|
+
chmod +x "$ofile"
|
2153
|
+
|
2154
|
+
|
2155
|
+
cat <<_LT_EOF >> "$ofile"
|
2156
|
+
|
2157
|
+
# ### BEGIN LIBTOOL TAG CONFIG: CXX
|
2158
|
+
|
2159
|
+
# The linker used to build libraries.
|
2160
|
+
LD=$lt_LD_CXX
|
2161
|
+
|
2162
|
+
# How to create reloadable object files.
|
2163
|
+
reload_flag=$lt_reload_flag_CXX
|
2164
|
+
reload_cmds=$lt_reload_cmds_CXX
|
2165
|
+
|
2166
|
+
# Commands used to build an old-style archive.
|
2167
|
+
old_archive_cmds=$lt_old_archive_cmds_CXX
|
2168
|
+
|
2169
|
+
# A language specific compiler.
|
2170
|
+
CC=$lt_compiler_CXX
|
2171
|
+
|
2172
|
+
# Is the compiler the GNU compiler?
|
2173
|
+
with_gcc=$GCC_CXX
|
2174
|
+
|
2175
|
+
# Compiler flag to turn off builtin functions.
|
2176
|
+
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
|
2177
|
+
|
2178
|
+
# How to pass a linker flag through the compiler.
|
2179
|
+
wl=$lt_lt_prog_compiler_wl_CXX
|
2180
|
+
|
2181
|
+
# Additional compiler flags for building library objects.
|
2182
|
+
pic_flag=$lt_lt_prog_compiler_pic_CXX
|
2183
|
+
|
2184
|
+
# Compiler flag to prevent dynamic linking.
|
2185
|
+
link_static_flag=$lt_lt_prog_compiler_static_CXX
|
2186
|
+
|
2187
|
+
# Does compiler simultaneously support -c and -o options?
|
2188
|
+
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
|
2189
|
+
|
2190
|
+
# Whether or not to add -lc for building shared libraries.
|
2191
|
+
build_libtool_need_lc=$archive_cmds_need_lc_CXX
|
2192
|
+
|
2193
|
+
# Whether or not to disallow shared libs when runtime libs are static.
|
2194
|
+
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
|
2195
|
+
|
2196
|
+
# Compiler flag to allow reflexive dlopens.
|
2197
|
+
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
|
2198
|
+
|
2199
|
+
# Compiler flag to generate shared objects directly from archives.
|
2200
|
+
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
|
2201
|
+
|
2202
|
+
# Whether the compiler copes with passing no objects directly.
|
2203
|
+
compiler_needs_object=$lt_compiler_needs_object_CXX
|
2204
|
+
|
2205
|
+
# Create an old-style archive from a shared archive.
|
2206
|
+
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
|
2207
|
+
|
2208
|
+
# Create a temporary old-style archive to link instead of a shared archive.
|
2209
|
+
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
|
2210
|
+
|
2211
|
+
# Commands used to build a shared archive.
|
2212
|
+
archive_cmds=$lt_archive_cmds_CXX
|
2213
|
+
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
|
2214
|
+
|
2215
|
+
# Commands used to build a loadable module if different from building
|
2216
|
+
# a shared archive.
|
2217
|
+
module_cmds=$lt_module_cmds_CXX
|
2218
|
+
module_expsym_cmds=$lt_module_expsym_cmds_CXX
|
2219
|
+
|
2220
|
+
# Whether we are building with GNU ld or not.
|
2221
|
+
with_gnu_ld=$lt_with_gnu_ld_CXX
|
2222
|
+
|
2223
|
+
# Flag that allows shared libraries with undefined symbols to be built.
|
2224
|
+
allow_undefined_flag=$lt_allow_undefined_flag_CXX
|
2225
|
+
|
2226
|
+
# Flag that enforces no undefined symbols.
|
2227
|
+
no_undefined_flag=$lt_no_undefined_flag_CXX
|
2228
|
+
|
2229
|
+
# Flag to hardcode \$libdir into a binary during linking.
|
2230
|
+
# This must work even if \$libdir does not exist
|
2231
|
+
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
|
2232
|
+
|
2233
|
+
# If ld is used when linking, flag to hardcode \$libdir into a binary
|
2234
|
+
# during linking. This must work even if \$libdir does not exist.
|
2235
|
+
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
|
2236
|
+
|
2237
|
+
# Whether we need a single "-rpath" flag with a separated argument.
|
2238
|
+
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
|
2239
|
+
|
2240
|
+
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
2241
|
+
# DIR into the resulting binary.
|
2242
|
+
hardcode_direct=$hardcode_direct_CXX
|
2243
|
+
|
2244
|
+
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
|
2245
|
+
# DIR into the resulting binary and the resulting library dependency is
|
2246
|
+
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
|
2247
|
+
# library is relocated.
|
2248
|
+
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
|
2249
|
+
|
2250
|
+
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
2251
|
+
# into the resulting binary.
|
2252
|
+
hardcode_minus_L=$hardcode_minus_L_CXX
|
2253
|
+
|
2254
|
+
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
2255
|
+
# into the resulting binary.
|
2256
|
+
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
|
2257
|
+
|
2258
|
+
# Set to "yes" if building a shared library automatically hardcodes DIR
|
2259
|
+
# into the library and all subsequent libraries and executables linked
|
2260
|
+
# against it.
|
2261
|
+
hardcode_automatic=$hardcode_automatic_CXX
|
2262
|
+
|
2263
|
+
# Set to yes if linker adds runtime paths of dependent libraries
|
2264
|
+
# to runtime path list.
|
2265
|
+
inherit_rpath=$inherit_rpath_CXX
|
2266
|
+
|
2267
|
+
# Whether libtool must link a program against all its dependency libraries.
|
2268
|
+
link_all_deplibs=$link_all_deplibs_CXX
|
2269
|
+
|
2270
|
+
# Fix the shell variable \$srcfile for the compiler.
|
2271
|
+
fix_srcfile_path=$lt_fix_srcfile_path_CXX
|
2272
|
+
|
2273
|
+
# Set to "yes" if exported symbols are required.
|
2274
|
+
always_export_symbols=$always_export_symbols_CXX
|
2275
|
+
|
2276
|
+
# The commands to list exported symbols.
|
2277
|
+
export_symbols_cmds=$lt_export_symbols_cmds_CXX
|
2278
|
+
|
2279
|
+
# Symbols that should not be listed in the preloaded symbols.
|
2280
|
+
exclude_expsyms=$lt_exclude_expsyms_CXX
|
2281
|
+
|
2282
|
+
# Symbols that must always be exported.
|
2283
|
+
include_expsyms=$lt_include_expsyms_CXX
|
2284
|
+
|
2285
|
+
# Commands necessary for linking programs (against libraries) with templates.
|
2286
|
+
prelink_cmds=$lt_prelink_cmds_CXX
|
2287
|
+
|
2288
|
+
# Specify filename containing input files.
|
2289
|
+
file_list_spec=$lt_file_list_spec_CXX
|
2290
|
+
|
2291
|
+
# How to hardcode a shared library path into an executable.
|
2292
|
+
hardcode_action=$hardcode_action_CXX
|
2293
|
+
|
2294
|
+
# The directories searched by this compiler when creating a shared library.
|
2295
|
+
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
|
2296
|
+
|
2297
|
+
# Dependencies to place before and after the objects being linked to
|
2298
|
+
# create a shared library.
|
2299
|
+
predep_objects=$lt_predep_objects_CXX
|
2300
|
+
postdep_objects=$lt_postdep_objects_CXX
|
2301
|
+
predeps=$lt_predeps_CXX
|
2302
|
+
postdeps=$lt_postdeps_CXX
|
2303
|
+
|
2304
|
+
# The library search path used internally by the compiler when linking
|
2305
|
+
# a shared library.
|
2306
|
+
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
|
2307
|
+
|
2308
|
+
# ### END LIBTOOL TAG CONFIG: CXX
|
2309
|
+
_LT_EOF
|
2310
|
+
|
2311
|
+
;;
|
2312
|
+
|
2313
|
+
esac
|
2314
|
+
done # for ac_tag
|
2315
|
+
|
2316
|
+
|
2317
|
+
as_fn_exit 0
|