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
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Attempt to guess a canonical system name.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
#
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
5
|
+
# Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2006-07-02'
|
8
8
|
|
9
9
|
# This file is free software; you can redistribute it and/or modify it
|
10
10
|
# under the terms of the GNU General Public License as published by
|
@@ -17,7 +17,9 @@ timestamp='2012-02-10'
|
|
17
17
|
# General Public License for more details.
|
18
18
|
#
|
19
19
|
# You should have received a copy of the GNU General Public License
|
20
|
-
# along with this program; if not,
|
20
|
+
# along with this program; if not, write to the Free Software
|
21
|
+
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
22
|
+
# 02110-1301, USA.
|
21
23
|
#
|
22
24
|
# As a special exception to the GNU General Public License, if you
|
23
25
|
# distribute this file as part of a program that contains a
|
@@ -25,16 +27,16 @@ timestamp='2012-02-10'
|
|
25
27
|
# the same distribution terms that you use for the rest of that program.
|
26
28
|
|
27
29
|
|
28
|
-
# Originally written by Per Bothner.
|
29
|
-
#
|
30
|
-
# entry.
|
30
|
+
# Originally written by Per Bothner <per@bothner.com>.
|
31
|
+
# Please send patches to <config-patches@gnu.org>. Submit a context
|
32
|
+
# diff and a properly formatted ChangeLog entry.
|
31
33
|
#
|
32
34
|
# This script attempts to guess a canonical system name similar to
|
33
35
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
34
36
|
# exits with 0. Otherwise, it exits with 1.
|
35
37
|
#
|
36
|
-
#
|
37
|
-
#
|
38
|
+
# The plan is that this can be called by configure scripts if you
|
39
|
+
# don't specify an explicit build system type.
|
38
40
|
|
39
41
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
40
42
|
|
@@ -54,8 +56,7 @@ version="\
|
|
54
56
|
GNU config.guess ($timestamp)
|
55
57
|
|
56
58
|
Originally written by Per Bothner.
|
57
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
58
|
-
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
59
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
59
60
|
Free Software Foundation, Inc.
|
60
61
|
|
61
62
|
This is free software; see the source for copying conditions. There is NO
|
@@ -143,7 +144,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
143
144
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
144
145
|
*:NetBSD:*:*)
|
145
146
|
# NetBSD (nbsd) targets should (where applicable) match one or
|
146
|
-
# more of the
|
147
|
+
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
147
148
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
148
149
|
# switched to ELF, *-*-netbsd* would select the old
|
149
150
|
# object file format. This provides both forward
|
@@ -160,7 +161,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
160
161
|
arm*) machine=arm-unknown ;;
|
161
162
|
sh3el) machine=shl-unknown ;;
|
162
163
|
sh3eb) machine=sh-unknown ;;
|
163
|
-
sh5el) machine=sh5le-unknown ;;
|
164
164
|
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
165
165
|
esac
|
166
166
|
# The Operating System including object format, if it has switched
|
@@ -169,7 +169,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
169
169
|
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
170
170
|
eval $set_cc_for_build
|
171
171
|
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
172
|
-
| grep
|
172
|
+
| grep __ELF__ >/dev/null
|
173
173
|
then
|
174
174
|
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
175
175
|
# Return netbsd for either. FIX?
|
@@ -179,7 +179,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
179
179
|
fi
|
180
180
|
;;
|
181
181
|
*)
|
182
|
-
|
182
|
+
os=netbsd
|
183
183
|
;;
|
184
184
|
esac
|
185
185
|
# The OS release
|
@@ -222,7 +222,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
222
222
|
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
223
223
|
;;
|
224
224
|
*5.*)
|
225
|
-
|
225
|
+
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
226
226
|
;;
|
227
227
|
esac
|
228
228
|
# According to Compaq, /usr/sbin/psrinfo has been available on
|
@@ -268,10 +268,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
268
268
|
# A Xn.n version is an unreleased experimental baselevel.
|
269
269
|
# 1.2 uses "1.2" for uname -r.
|
270
270
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
271
|
-
|
272
|
-
exitcode=$?
|
273
|
-
trap '' 0
|
274
|
-
exit $exitcode ;;
|
271
|
+
exit ;;
|
275
272
|
Alpha\ *:Windows_NT*:*)
|
276
273
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
277
274
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
@@ -297,7 +294,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
297
294
|
echo s390-ibm-zvmoe
|
298
295
|
exit ;;
|
299
296
|
*:OS400:*:*)
|
300
|
-
|
297
|
+
echo powerpc-ibm-os400
|
301
298
|
exit ;;
|
302
299
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
303
300
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
@@ -326,33 +323,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
326
323
|
case `/usr/bin/uname -p` in
|
327
324
|
sparc) echo sparc-icl-nx7; exit ;;
|
328
325
|
esac ;;
|
329
|
-
s390x:SunOS:*:*)
|
330
|
-
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
331
|
-
exit ;;
|
332
326
|
sun4H:SunOS:5.*:*)
|
333
327
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
334
328
|
exit ;;
|
335
329
|
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
336
330
|
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
337
331
|
exit ;;
|
338
|
-
i86pc:
|
339
|
-
echo i386-pc-
|
340
|
-
exit ;;
|
341
|
-
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
342
|
-
eval $set_cc_for_build
|
343
|
-
SUN_ARCH="i386"
|
344
|
-
# If there is a compiler, see if it is configured for 64-bit objects.
|
345
|
-
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
346
|
-
# This test works for both compilers.
|
347
|
-
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
348
|
-
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
349
|
-
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
350
|
-
grep IS_64BIT_ARCH >/dev/null
|
351
|
-
then
|
352
|
-
SUN_ARCH="x86_64"
|
353
|
-
fi
|
354
|
-
fi
|
355
|
-
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
332
|
+
i86pc:SunOS:5.*:*)
|
333
|
+
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
356
334
|
exit ;;
|
357
335
|
sun4*:SunOS:6*:*)
|
358
336
|
# According to config.sub, this is the proper way to canonicalize
|
@@ -396,23 +374,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
396
374
|
# MiNT. But MiNT is downward compatible to TOS, so this should
|
397
375
|
# be no problem.
|
398
376
|
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
399
|
-
|
377
|
+
echo m68k-atari-mint${UNAME_RELEASE}
|
400
378
|
exit ;;
|
401
379
|
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
402
380
|
echo m68k-atari-mint${UNAME_RELEASE}
|
403
|
-
|
381
|
+
exit ;;
|
404
382
|
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
405
|
-
|
383
|
+
echo m68k-atari-mint${UNAME_RELEASE}
|
406
384
|
exit ;;
|
407
385
|
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
408
|
-
|
409
|
-
|
386
|
+
echo m68k-milan-mint${UNAME_RELEASE}
|
387
|
+
exit ;;
|
410
388
|
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
411
|
-
|
412
|
-
|
389
|
+
echo m68k-hades-mint${UNAME_RELEASE}
|
390
|
+
exit ;;
|
413
391
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
414
|
-
|
415
|
-
|
392
|
+
echo m68k-unknown-mint${UNAME_RELEASE}
|
393
|
+
exit ;;
|
416
394
|
m68k:machten:*:*)
|
417
395
|
echo m68k-apple-machten${UNAME_RELEASE}
|
418
396
|
exit ;;
|
@@ -482,8 +460,8 @@ EOF
|
|
482
460
|
echo m88k-motorola-sysv3
|
483
461
|
exit ;;
|
484
462
|
AViiON:dgux:*:*)
|
485
|
-
|
486
|
-
|
463
|
+
# DG/UX returns AViiON for all architectures
|
464
|
+
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
487
465
|
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
|
488
466
|
then
|
489
467
|
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
|
@@ -496,7 +474,7 @@ EOF
|
|
496
474
|
else
|
497
475
|
echo i586-dg-dgux${UNAME_RELEASE}
|
498
476
|
fi
|
499
|
-
|
477
|
+
exit ;;
|
500
478
|
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
501
479
|
echo m88k-dolphin-sysv3
|
502
480
|
exit ;;
|
@@ -553,7 +531,7 @@ EOF
|
|
553
531
|
echo rs6000-ibm-aix3.2
|
554
532
|
fi
|
555
533
|
exit ;;
|
556
|
-
*:AIX:*:[
|
534
|
+
*:AIX:*:[45])
|
557
535
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
558
536
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
559
537
|
IBM_ARCH=rs6000
|
@@ -596,52 +574,52 @@ EOF
|
|
596
574
|
9000/[678][0-9][0-9])
|
597
575
|
if [ -x /usr/bin/getconf ]; then
|
598
576
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
577
|
+
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
578
|
+
case "${sc_cpu_version}" in
|
579
|
+
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
580
|
+
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
581
|
+
532) # CPU_PA_RISC2_0
|
582
|
+
case "${sc_kernel_bits}" in
|
583
|
+
32) HP_ARCH="hppa2.0n" ;;
|
584
|
+
64) HP_ARCH="hppa2.0w" ;;
|
607
585
|
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
608
|
-
|
609
|
-
|
586
|
+
esac ;;
|
587
|
+
esac
|
610
588
|
fi
|
611
589
|
if [ "${HP_ARCH}" = "" ]; then
|
612
590
|
eval $set_cc_for_build
|
613
|
-
sed 's/^
|
591
|
+
sed 's/^ //' << EOF >$dummy.c
|
614
592
|
|
615
|
-
|
616
|
-
|
617
|
-
|
593
|
+
#define _HPUX_SOURCE
|
594
|
+
#include <stdlib.h>
|
595
|
+
#include <unistd.h>
|
618
596
|
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
597
|
+
int main ()
|
598
|
+
{
|
599
|
+
#if defined(_SC_KERNEL_BITS)
|
600
|
+
long bits = sysconf(_SC_KERNEL_BITS);
|
601
|
+
#endif
|
602
|
+
long cpu = sysconf (_SC_CPU_VERSION);
|
625
603
|
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
604
|
+
switch (cpu)
|
605
|
+
{
|
606
|
+
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
607
|
+
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
608
|
+
case CPU_PA_RISC2_0:
|
609
|
+
#if defined(_SC_KERNEL_BITS)
|
610
|
+
switch (bits)
|
611
|
+
{
|
612
|
+
case 64: puts ("hppa2.0w"); break;
|
613
|
+
case 32: puts ("hppa2.0n"); break;
|
614
|
+
default: puts ("hppa2.0"); break;
|
615
|
+
} break;
|
616
|
+
#else /* !defined(_SC_KERNEL_BITS) */
|
617
|
+
puts ("hppa2.0"); break;
|
618
|
+
#endif
|
619
|
+
default: puts ("hppa1.0"); break;
|
620
|
+
}
|
621
|
+
exit (0);
|
622
|
+
}
|
645
623
|
EOF
|
646
624
|
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
647
625
|
test -z "$HP_ARCH" && HP_ARCH=hppa
|
@@ -661,7 +639,7 @@ EOF
|
|
661
639
|
# => hppa64-hp-hpux11.23
|
662
640
|
|
663
641
|
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
664
|
-
grep
|
642
|
+
grep __LP64__ >/dev/null
|
665
643
|
then
|
666
644
|
HP_ARCH="hppa2.0w"
|
667
645
|
else
|
@@ -732,22 +710,22 @@ EOF
|
|
732
710
|
exit ;;
|
733
711
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
734
712
|
echo c1-convex-bsd
|
735
|
-
|
713
|
+
exit ;;
|
736
714
|
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
737
715
|
if getsysinfo -f scalar_acc
|
738
716
|
then echo c32-convex-bsd
|
739
717
|
else echo c2-convex-bsd
|
740
718
|
fi
|
741
|
-
|
719
|
+
exit ;;
|
742
720
|
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
743
721
|
echo c34-convex-bsd
|
744
|
-
|
722
|
+
exit ;;
|
745
723
|
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
746
724
|
echo c38-convex-bsd
|
747
|
-
|
725
|
+
exit ;;
|
748
726
|
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
749
727
|
echo c4-convex-bsd
|
750
|
-
|
728
|
+
exit ;;
|
751
729
|
CRAY*Y-MP:*:*:*)
|
752
730
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
753
731
|
exit ;;
|
@@ -771,14 +749,14 @@ EOF
|
|
771
749
|
exit ;;
|
772
750
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
773
751
|
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
752
|
+
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
753
|
+
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
754
|
+
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
755
|
+
exit ;;
|
778
756
|
5000:UNIX_System_V:4.*:*)
|
779
|
-
|
780
|
-
|
781
|
-
|
757
|
+
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
758
|
+
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
759
|
+
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
782
760
|
exit ;;
|
783
761
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
784
762
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
@@ -790,48 +768,37 @@ EOF
|
|
790
768
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
791
769
|
exit ;;
|
792
770
|
*:FreeBSD:*:*)
|
793
|
-
|
794
|
-
|
771
|
+
case ${UNAME_MACHINE} in
|
772
|
+
pc98)
|
773
|
+
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
795
774
|
amd64)
|
796
775
|
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
797
776
|
*)
|
798
|
-
echo ${
|
777
|
+
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
799
778
|
esac
|
800
779
|
exit ;;
|
801
780
|
i*:CYGWIN*:*)
|
802
781
|
echo ${UNAME_MACHINE}-pc-cygwin
|
803
782
|
exit ;;
|
804
|
-
*:MINGW*:*)
|
783
|
+
i*:MINGW*:*)
|
805
784
|
echo ${UNAME_MACHINE}-pc-mingw32
|
806
785
|
exit ;;
|
807
|
-
i*:MSYS*:*)
|
808
|
-
echo ${UNAME_MACHINE}-pc-msys
|
809
|
-
exit ;;
|
810
786
|
i*:windows32*:*)
|
811
|
-
|
812
|
-
|
787
|
+
# uname -m includes "-pc" on this system.
|
788
|
+
echo ${UNAME_MACHINE}-mingw32
|
813
789
|
exit ;;
|
814
790
|
i*:PW*:*)
|
815
791
|
echo ${UNAME_MACHINE}-pc-pw32
|
816
792
|
exit ;;
|
817
|
-
*:
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
echo x86_64-unknown-interix${UNAME_RELEASE}
|
824
|
-
exit ;;
|
825
|
-
IA64)
|
826
|
-
echo ia64-unknown-interix${UNAME_RELEASE}
|
827
|
-
exit ;;
|
828
|
-
esac ;;
|
793
|
+
x86:Interix*:[3456]*)
|
794
|
+
echo i586-pc-interix${UNAME_RELEASE}
|
795
|
+
exit ;;
|
796
|
+
EM64T:Interix*:[3456]*)
|
797
|
+
echo x86_64-unknown-interix${UNAME_RELEASE}
|
798
|
+
exit ;;
|
829
799
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
830
800
|
echo i${UNAME_MACHINE}-pc-mks
|
831
801
|
exit ;;
|
832
|
-
8664:Windows_NT:*)
|
833
|
-
echo x86_64-pc-mks
|
834
|
-
exit ;;
|
835
802
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
836
803
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
837
804
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
@@ -861,68 +828,20 @@ EOF
|
|
861
828
|
i*86:Minix:*:*)
|
862
829
|
echo ${UNAME_MACHINE}-pc-minix
|
863
830
|
exit ;;
|
864
|
-
aarch64:Linux:*:*)
|
865
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
866
|
-
exit ;;
|
867
|
-
aarch64_be:Linux:*:*)
|
868
|
-
UNAME_MACHINE=aarch64_be
|
869
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
870
|
-
exit ;;
|
871
|
-
alpha:Linux:*:*)
|
872
|
-
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
873
|
-
EV5) UNAME_MACHINE=alphaev5 ;;
|
874
|
-
EV56) UNAME_MACHINE=alphaev56 ;;
|
875
|
-
PCA56) UNAME_MACHINE=alphapca56 ;;
|
876
|
-
PCA57) UNAME_MACHINE=alphapca56 ;;
|
877
|
-
EV6) UNAME_MACHINE=alphaev6 ;;
|
878
|
-
EV67) UNAME_MACHINE=alphaev67 ;;
|
879
|
-
EV68*) UNAME_MACHINE=alphaev68 ;;
|
880
|
-
esac
|
881
|
-
objdump --private-headers /bin/sh | grep -q ld.so.1
|
882
|
-
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
883
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
884
|
-
exit ;;
|
885
831
|
arm*:Linux:*:*)
|
886
|
-
|
887
|
-
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
888
|
-
| grep -q __ARM_EABI__
|
889
|
-
then
|
890
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
891
|
-
else
|
892
|
-
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
893
|
-
| grep -q __ARM_PCS_VFP
|
894
|
-
then
|
895
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
896
|
-
else
|
897
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
898
|
-
fi
|
899
|
-
fi
|
832
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
900
833
|
exit ;;
|
901
834
|
avr32*:Linux:*:*)
|
902
835
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
903
836
|
exit ;;
|
904
837
|
cris:Linux:*:*)
|
905
|
-
echo
|
838
|
+
echo cris-axis-linux-gnu
|
906
839
|
exit ;;
|
907
840
|
crisv32:Linux:*:*)
|
908
|
-
echo
|
841
|
+
echo crisv32-axis-linux-gnu
|
909
842
|
exit ;;
|
910
843
|
frv:Linux:*:*)
|
911
|
-
|
912
|
-
exit ;;
|
913
|
-
hexagon:Linux:*:*)
|
914
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
915
|
-
exit ;;
|
916
|
-
i*86:Linux:*:*)
|
917
|
-
LIBC=gnu
|
918
|
-
eval $set_cc_for_build
|
919
|
-
sed 's/^ //' << EOF >$dummy.c
|
920
|
-
#ifdef __dietlibc__
|
921
|
-
LIBC=dietlibc
|
922
|
-
#endif
|
923
|
-
EOF
|
924
|
-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
925
|
-
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
844
|
+
echo frv-unknown-linux-gnu
|
926
845
|
exit ;;
|
927
846
|
ia64:Linux:*:*)
|
928
847
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -933,33 +852,74 @@ EOF
|
|
933
852
|
m68*:Linux:*:*)
|
934
853
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
935
854
|
exit ;;
|
936
|
-
mips:Linux:*:*
|
855
|
+
mips:Linux:*:*)
|
856
|
+
eval $set_cc_for_build
|
857
|
+
sed 's/^ //' << EOF >$dummy.c
|
858
|
+
#undef CPU
|
859
|
+
#undef mips
|
860
|
+
#undef mipsel
|
861
|
+
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
862
|
+
CPU=mipsel
|
863
|
+
#else
|
864
|
+
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
865
|
+
CPU=mips
|
866
|
+
#else
|
867
|
+
CPU=
|
868
|
+
#endif
|
869
|
+
#endif
|
870
|
+
EOF
|
871
|
+
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
872
|
+
/^CPU/{
|
873
|
+
s: ::g
|
874
|
+
p
|
875
|
+
}'`"
|
876
|
+
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
877
|
+
;;
|
878
|
+
mips64:Linux:*:*)
|
937
879
|
eval $set_cc_for_build
|
938
880
|
sed 's/^ //' << EOF >$dummy.c
|
939
881
|
#undef CPU
|
940
|
-
#undef
|
941
|
-
#undef
|
882
|
+
#undef mips64
|
883
|
+
#undef mips64el
|
942
884
|
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
943
|
-
CPU
|
885
|
+
CPU=mips64el
|
944
886
|
#else
|
945
887
|
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
946
|
-
CPU
|
888
|
+
CPU=mips64
|
947
889
|
#else
|
948
890
|
CPU=
|
949
891
|
#endif
|
950
892
|
#endif
|
951
893
|
EOF
|
952
|
-
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null |
|
894
|
+
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
895
|
+
/^CPU/{
|
896
|
+
s: ::g
|
897
|
+
p
|
898
|
+
}'`"
|
953
899
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
954
900
|
;;
|
955
901
|
or32:Linux:*:*)
|
956
|
-
echo
|
902
|
+
echo or32-unknown-linux-gnu
|
957
903
|
exit ;;
|
958
|
-
|
959
|
-
echo
|
904
|
+
ppc:Linux:*:*)
|
905
|
+
echo powerpc-unknown-linux-gnu
|
960
906
|
exit ;;
|
961
|
-
|
962
|
-
echo
|
907
|
+
ppc64:Linux:*:*)
|
908
|
+
echo powerpc64-unknown-linux-gnu
|
909
|
+
exit ;;
|
910
|
+
alpha:Linux:*:*)
|
911
|
+
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
912
|
+
EV5) UNAME_MACHINE=alphaev5 ;;
|
913
|
+
EV56) UNAME_MACHINE=alphaev56 ;;
|
914
|
+
PCA56) UNAME_MACHINE=alphapca56 ;;
|
915
|
+
PCA57) UNAME_MACHINE=alphapca56 ;;
|
916
|
+
EV6) UNAME_MACHINE=alphaev6 ;;
|
917
|
+
EV67) UNAME_MACHINE=alphaev67 ;;
|
918
|
+
EV68*) UNAME_MACHINE=alphaev68 ;;
|
919
|
+
esac
|
920
|
+
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
921
|
+
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
922
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
963
923
|
exit ;;
|
964
924
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
965
925
|
# Look for CPU level
|
@@ -969,17 +929,14 @@ EOF
|
|
969
929
|
*) echo hppa-unknown-linux-gnu ;;
|
970
930
|
esac
|
971
931
|
exit ;;
|
972
|
-
|
973
|
-
echo
|
974
|
-
exit ;;
|
975
|
-
ppc:Linux:*:*)
|
976
|
-
echo powerpc-unknown-linux-gnu
|
932
|
+
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
933
|
+
echo hppa64-unknown-linux-gnu
|
977
934
|
exit ;;
|
978
935
|
s390:Linux:*:* | s390x:Linux:*:*)
|
979
936
|
echo ${UNAME_MACHINE}-ibm-linux
|
980
937
|
exit ;;
|
981
938
|
sh64*:Linux:*:*)
|
982
|
-
|
939
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
983
940
|
exit ;;
|
984
941
|
sh*:Linux:*:*)
|
985
942
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -987,18 +944,75 @@ EOF
|
|
987
944
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
988
945
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
989
946
|
exit ;;
|
990
|
-
tile*:Linux:*:*)
|
991
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
992
|
-
exit ;;
|
993
947
|
vax:Linux:*:*)
|
994
948
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
995
949
|
exit ;;
|
996
950
|
x86_64:Linux:*:*)
|
997
|
-
echo
|
998
|
-
exit ;;
|
999
|
-
xtensa*:Linux:*:*)
|
1000
|
-
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
951
|
+
echo x86_64-unknown-linux-gnu
|
1001
952
|
exit ;;
|
953
|
+
i*86:Linux:*:*)
|
954
|
+
# The BFD linker knows what the default object file format is, so
|
955
|
+
# first see if it will tell us. cd to the root directory to prevent
|
956
|
+
# problems with other programs or directories called `ld' in the path.
|
957
|
+
# Set LC_ALL=C to ensure ld outputs messages in English.
|
958
|
+
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
959
|
+
| sed -ne '/supported targets:/!d
|
960
|
+
s/[ ][ ]*/ /g
|
961
|
+
s/.*supported targets: *//
|
962
|
+
s/ .*//
|
963
|
+
p'`
|
964
|
+
case "$ld_supported_targets" in
|
965
|
+
elf32-i386)
|
966
|
+
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
967
|
+
;;
|
968
|
+
a.out-i386-linux)
|
969
|
+
echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
970
|
+
exit ;;
|
971
|
+
coff-i386)
|
972
|
+
echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
973
|
+
exit ;;
|
974
|
+
"")
|
975
|
+
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
976
|
+
# one that does not give us useful --help.
|
977
|
+
echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
978
|
+
exit ;;
|
979
|
+
esac
|
980
|
+
# Determine whether the default compiler is a.out or elf
|
981
|
+
eval $set_cc_for_build
|
982
|
+
sed 's/^ //' << EOF >$dummy.c
|
983
|
+
#include <features.h>
|
984
|
+
#ifdef __ELF__
|
985
|
+
# ifdef __GLIBC__
|
986
|
+
# if __GLIBC__ >= 2
|
987
|
+
LIBC=gnu
|
988
|
+
# else
|
989
|
+
LIBC=gnulibc1
|
990
|
+
# endif
|
991
|
+
# else
|
992
|
+
LIBC=gnulibc1
|
993
|
+
# endif
|
994
|
+
#else
|
995
|
+
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
996
|
+
LIBC=gnu
|
997
|
+
#else
|
998
|
+
LIBC=gnuaout
|
999
|
+
#endif
|
1000
|
+
#endif
|
1001
|
+
#ifdef __dietlibc__
|
1002
|
+
LIBC=dietlibc
|
1003
|
+
#endif
|
1004
|
+
EOF
|
1005
|
+
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
1006
|
+
/^LIBC/{
|
1007
|
+
s: ::g
|
1008
|
+
p
|
1009
|
+
}'`"
|
1010
|
+
test x"${LIBC}" != x && {
|
1011
|
+
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
1012
|
+
exit
|
1013
|
+
}
|
1014
|
+
test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
|
1015
|
+
;;
|
1002
1016
|
i*86:DYNIX/ptx:4*:*)
|
1003
1017
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
1004
1018
|
# earlier versions are messed up and put the nodename in both
|
@@ -1006,11 +1020,11 @@ EOF
|
|
1006
1020
|
echo i386-sequent-sysv4
|
1007
1021
|
exit ;;
|
1008
1022
|
i*86:UNIX_SV:4.2MP:2.*)
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1023
|
+
# Unixware is an offshoot of SVR4, but it has its own version
|
1024
|
+
# number series starting with 2...
|
1025
|
+
# I am not positive that other SVR4 systems won't match this,
|
1012
1026
|
# I just have to hope. -- rms.
|
1013
|
-
|
1027
|
+
# Use sysv4.2uw... so that sysv4* matches it.
|
1014
1028
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
1015
1029
|
exit ;;
|
1016
1030
|
i*86:OS/2:*:*)
|
@@ -1027,7 +1041,7 @@ EOF
|
|
1027
1041
|
i*86:syllable:*:*)
|
1028
1042
|
echo ${UNAME_MACHINE}-pc-syllable
|
1029
1043
|
exit ;;
|
1030
|
-
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.
|
1044
|
+
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
1031
1045
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
1032
1046
|
exit ;;
|
1033
1047
|
i*86:*DOS:*:*)
|
@@ -1042,7 +1056,7 @@ EOF
|
|
1042
1056
|
fi
|
1043
1057
|
exit ;;
|
1044
1058
|
i*86:*:5:[678]*)
|
1045
|
-
|
1059
|
+
# UnixWare 7.x, OpenUNIX and OpenServer 6.
|
1046
1060
|
case `/bin/uname -X | grep "^Machine"` in
|
1047
1061
|
*486*) UNAME_MACHINE=i486 ;;
|
1048
1062
|
*Pentium) UNAME_MACHINE=i586 ;;
|
@@ -1070,13 +1084,10 @@ EOF
|
|
1070
1084
|
exit ;;
|
1071
1085
|
pc:*:*:*)
|
1072
1086
|
# Left here for compatibility:
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
# this is a cross-build.
|
1078
|
-
echo i586-pc-msdosdjgpp
|
1079
|
-
exit ;;
|
1087
|
+
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
1088
|
+
# the processor, so we play safe by assuming i386.
|
1089
|
+
echo i386-pc-msdosdjgpp
|
1090
|
+
exit ;;
|
1080
1091
|
Intel:Mach:3*:*)
|
1081
1092
|
echo i386-pc-mach3
|
1082
1093
|
exit ;;
|
@@ -1111,18 +1122,8 @@ EOF
|
|
1111
1122
|
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
1112
1123
|
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
1113
1124
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
1114
|
-
|
1115
|
-
|
1116
|
-
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
1117
|
-
OS_REL='.3'
|
1118
|
-
test -r /etc/.relid \
|
1119
|
-
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
1120
|
-
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
1121
|
-
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
1122
|
-
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
1123
|
-
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
1124
|
-
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
1125
|
-
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
1125
|
+
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
1126
|
+
&& { echo i486-ncr-sysv4; exit; } ;;
|
1126
1127
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
1127
1128
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
1128
1129
|
exit ;;
|
@@ -1135,7 +1136,7 @@ EOF
|
|
1135
1136
|
rs6000:LynxOS:2.*:*)
|
1136
1137
|
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
1137
1138
|
exit ;;
|
1138
|
-
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.
|
1139
|
+
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
1139
1140
|
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
1140
1141
|
exit ;;
|
1141
1142
|
SM[BE]S:UNIX_SV:*:*)
|
@@ -1155,10 +1156,10 @@ EOF
|
|
1155
1156
|
echo ns32k-sni-sysv
|
1156
1157
|
fi
|
1157
1158
|
exit ;;
|
1158
|
-
PENTIUM:*:4.0*:*)
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1159
|
+
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
1160
|
+
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
1161
|
+
echo i586-unisys-sysv4
|
1162
|
+
exit ;;
|
1162
1163
|
*:UNIX_System_V:4*:FTX*)
|
1163
1164
|
# From Gerald Hewes <hewes@openmarket.com>.
|
1164
1165
|
# How about differentiating between stratus architectures? -djm
|
@@ -1184,11 +1185,11 @@ EOF
|
|
1184
1185
|
exit ;;
|
1185
1186
|
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
1186
1187
|
if [ -d /usr/nec ]; then
|
1187
|
-
|
1188
|
+
echo mips-nec-sysv${UNAME_RELEASE}
|
1188
1189
|
else
|
1189
|
-
|
1190
|
+
echo mips-unknown-sysv${UNAME_RELEASE}
|
1190
1191
|
fi
|
1191
|
-
|
1192
|
+
exit ;;
|
1192
1193
|
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
1193
1194
|
echo powerpc-be-beos
|
1194
1195
|
exit ;;
|
@@ -1198,9 +1199,6 @@ EOF
|
|
1198
1199
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
1199
1200
|
echo i586-pc-beos
|
1200
1201
|
exit ;;
|
1201
|
-
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
1202
|
-
echo i586-pc-haiku
|
1203
|
-
exit ;;
|
1204
1202
|
SX-4:SUPER-UX:*:*)
|
1205
1203
|
echo sx4-nec-superux${UNAME_RELEASE}
|
1206
1204
|
exit ;;
|
@@ -1210,15 +1208,6 @@ EOF
|
|
1210
1208
|
SX-6:SUPER-UX:*:*)
|
1211
1209
|
echo sx6-nec-superux${UNAME_RELEASE}
|
1212
1210
|
exit ;;
|
1213
|
-
SX-7:SUPER-UX:*:*)
|
1214
|
-
echo sx7-nec-superux${UNAME_RELEASE}
|
1215
|
-
exit ;;
|
1216
|
-
SX-8:SUPER-UX:*:*)
|
1217
|
-
echo sx8-nec-superux${UNAME_RELEASE}
|
1218
|
-
exit ;;
|
1219
|
-
SX-8R:SUPER-UX:*:*)
|
1220
|
-
echo sx8r-nec-superux${UNAME_RELEASE}
|
1221
|
-
exit ;;
|
1222
1211
|
Power*:Rhapsody:*:*)
|
1223
1212
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
1224
1213
|
exit ;;
|
@@ -1228,16 +1217,6 @@ EOF
|
|
1228
1217
|
*:Darwin:*:*)
|
1229
1218
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
1230
1219
|
case $UNAME_PROCESSOR in
|
1231
|
-
i386)
|
1232
|
-
eval $set_cc_for_build
|
1233
|
-
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
1234
|
-
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
1235
|
-
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
1236
|
-
grep IS_64BIT_ARCH >/dev/null
|
1237
|
-
then
|
1238
|
-
UNAME_PROCESSOR="x86_64"
|
1239
|
-
fi
|
1240
|
-
fi ;;
|
1241
1220
|
unknown) UNAME_PROCESSOR=powerpc ;;
|
1242
1221
|
esac
|
1243
1222
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
@@ -1253,9 +1232,6 @@ EOF
|
|
1253
1232
|
*:QNX:*:4*)
|
1254
1233
|
echo i386-pc-qnx
|
1255
1234
|
exit ;;
|
1256
|
-
NEO-?:NONSTOP_KERNEL:*:*)
|
1257
|
-
echo neo-tandem-nsk${UNAME_RELEASE}
|
1258
|
-
exit ;;
|
1259
1235
|
NSE-?:NONSTOP_KERNEL:*:*)
|
1260
1236
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
1261
1237
|
exit ;;
|
@@ -1301,13 +1277,13 @@ EOF
|
|
1301
1277
|
echo pdp10-unknown-its
|
1302
1278
|
exit ;;
|
1303
1279
|
SEI:*:*:SEIUX)
|
1304
|
-
|
1280
|
+
echo mips-sei-seiux${UNAME_RELEASE}
|
1305
1281
|
exit ;;
|
1306
1282
|
*:DragonFly:*:*)
|
1307
1283
|
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
1308
1284
|
exit ;;
|
1309
1285
|
*:*VMS:*:*)
|
1310
|
-
|
1286
|
+
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
1311
1287
|
case "${UNAME_MACHINE}" in
|
1312
1288
|
A*) echo alpha-dec-vms ; exit ;;
|
1313
1289
|
I*) echo ia64-dec-vms ; exit ;;
|
@@ -1322,12 +1298,6 @@ EOF
|
|
1322
1298
|
i*86:rdos:*:*)
|
1323
1299
|
echo ${UNAME_MACHINE}-pc-rdos
|
1324
1300
|
exit ;;
|
1325
|
-
i*86:AROS:*:*)
|
1326
|
-
echo ${UNAME_MACHINE}-pc-aros
|
1327
|
-
exit ;;
|
1328
|
-
x86_64:VMkernel:*:*)
|
1329
|
-
echo ${UNAME_MACHINE}-unknown-esx
|
1330
|
-
exit ;;
|
1331
1301
|
esac
|
1332
1302
|
|
1333
1303
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
@@ -1350,11 +1320,11 @@ main ()
|
|
1350
1320
|
#include <sys/param.h>
|
1351
1321
|
printf ("m68k-sony-newsos%s\n",
|
1352
1322
|
#ifdef NEWSOS4
|
1353
|
-
|
1323
|
+
"4"
|
1354
1324
|
#else
|
1355
|
-
|
1325
|
+
""
|
1356
1326
|
#endif
|
1357
|
-
|
1327
|
+
); exit (0);
|
1358
1328
|
#endif
|
1359
1329
|
#endif
|
1360
1330
|
|
@@ -1488,9 +1458,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
1488
1458
|
the operating system you are using. It is advised that you
|
1489
1459
|
download the most up to date version of the config scripts from
|
1490
1460
|
|
1491
|
-
http://
|
1461
|
+
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
1492
1462
|
and
|
1493
|
-
http://
|
1463
|
+
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
1494
1464
|
|
1495
1465
|
If the version you run ($0) is already up to date, please
|
1496
1466
|
send the following data and any information you think might be
|