nutcracker 0.2.4.5 → 0.2.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/nutcracker/ChangeLog +0 -0
- data/ext/nutcracker/LICENSE +0 -0
- data/ext/nutcracker/Makefile.am +0 -0
- data/ext/nutcracker/Makefile.in +190 -82
- data/ext/nutcracker/NOTICE +0 -0
- data/ext/nutcracker/README.md +0 -0
- data/ext/nutcracker/aclocal.m4 +231 -122
- 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.in +0 -15
- data/ext/nutcracker/config/config.guess +278 -248
- data/ext/nutcracker/config/config.sub +234 -77
- data/ext/nutcracker/config/depcomp +143 -39
- data/ext/nutcracker/config/install-sh +136 -116
- data/ext/nutcracker/config/ltmain.sh +1704 -788
- data/ext/nutcracker/config/missing +29 -65
- data/ext/nutcracker/configure +1998 -1052
- data/ext/nutcracker/configure.ac +2 -34
- data/ext/nutcracker/contrib/Makefile.am +0 -0
- data/ext/nutcracker/contrib/Makefile.in +120 -47
- data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
- data/ext/nutcracker/extconf.rb +5 -2
- data/ext/nutcracker/m4/libtool.m4 +960 -396
- data/ext/nutcracker/m4/ltoptions.m4 +17 -2
- 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.am +1 -1
- data/ext/nutcracker/src/Makefile.in +167 -81
- data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
- data/ext/nutcracker/src/hashkit/Makefile.in +72 -37
- data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.c +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_jenkins.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
- data/ext/nutcracker/src/nc.c +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_client.c +0 -0
- data/ext/nutcracker/src/nc_client.h +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_connection.c +0 -0
- data/ext/nutcracker/src/nc_connection.h +0 -0
- data/ext/nutcracker/src/nc_core.c +26 -29
- data/ext/nutcracker/src/nc_core.h +5 -13
- data/ext/nutcracker/src/{nc_epoll.c → nc_event.c} +30 -94
- data/ext/nutcracker/src/nc_event.h +13 -33
- data/ext/nutcracker/src/nc_log.c +0 -0
- data/ext/nutcracker/src/nc_log.h +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_message.c +0 -0
- data/ext/nutcracker/src/nc_message.h +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_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_request.c +3 -3
- data/ext/nutcracker/src/nc_response.c +6 -4
- data/ext/nutcracker/src/nc_server.c +5 -5
- data/ext/nutcracker/src/nc_server.h +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_stats.c +21 -16
- data/ext/nutcracker/src/nc_stats.h +4 -3
- data/ext/nutcracker/src/nc_string.c +0 -0
- data/ext/nutcracker/src/nc_string.h +0 -0
- data/ext/nutcracker/src/nc_util.c +0 -16
- data/ext/nutcracker/src/nc_util.h +0 -1
- data/ext/nutcracker/src/proto/Makefile.am +0 -0
- data/ext/nutcracker/src/proto/Makefile.in +72 -37
- data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
- data/ext/nutcracker/src/proto/nc_proto.h +0 -0
- data/ext/nutcracker/src/proto/nc_redis.c +0 -0
- data/lib/nutcracker/version.rb +1 -1
- metadata +3 -200
- data/ext/nutcracker/Makefile +0 -643
- data/ext/nutcracker/autom4te.cache/output.0 +0 -18664
- data/ext/nutcracker/autom4te.cache/output.1 +0 -18664
- data/ext/nutcracker/autom4te.cache/output.2 +0 -18664
- data/ext/nutcracker/autom4te.cache/requests +0 -494
- data/ext/nutcracker/autom4te.cache/traces.0 +0 -2415
- data/ext/nutcracker/autom4te.cache/traces.1 +0 -945
- data/ext/nutcracker/autom4te.cache/traces.2 +0 -2415
- data/ext/nutcracker/config.h +0 -332
- data/ext/nutcracker/config.log +0 -2684
- data/ext/nutcracker/config.status +0 -2317
- data/ext/nutcracker/contrib/Makefile +0 -494
- data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +0 -736
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +0 -13102
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +0 -13085
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +0 -13085
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +0 -476
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +0 -2339
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +0 -545
- data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +0 -2339
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h +0 -81
- data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/config.log +0 -688
- data/ext/nutcracker/contrib/yaml-0.1.4/config.status +0 -2032
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +0 -51
- 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 +0 -41
- 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 +0 -656
- 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 +0 -40
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +0 -84
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +0 -83
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +0 -110
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +0 -79
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +0 -92
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +0 -88
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +0 -96
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +0 -100
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +0 -163
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +0 -115
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +0 -77
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +0 -84
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +0 -83
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +0 -110
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +0 -79
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +0 -92
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +0 -88
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +0 -96
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +0 -100
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +0 -87
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +0 -163
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +0 -115
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +0 -71
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +0 -80
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +0 -77
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +0 -667
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +0 -81
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +0 -78
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +0 -373
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +0 -196
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +0 -126
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +0 -320
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +0 -819
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +0 -664
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +0 -60
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +0 -795
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +0 -606
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +0 -222
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +0 -246
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +0 -106
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +0 -31
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +0 -42
- 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 +0 -108
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +0 -235
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +0 -1300
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +0 -496
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +0 -108
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +0 -420
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +0 -1229
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +0 -97
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +0 -91
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +0 -413
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +0 -91
- 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 +0 -59
- data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +0 -525
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +0 -17
- data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +0 -470
- data/ext/nutcracker/contrib/yaml-0.1.4/libtool +0 -8890
- data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +0 -484
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +0 -41
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +0 -12
- data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
- data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +0 -1
- data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +0 -675
- 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 +0 -10
- data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +0 -10
- data/ext/nutcracker/exconf.rb +0 -0
- data/ext/nutcracker/libtool +0 -9403
- data/ext/nutcracker/src/Makefile +0 -647
- data/ext/nutcracker/src/hashkit/Makefile +0 -476
- data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
- data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
- data/ext/nutcracker/src/nc.o +0 -0
- data/ext/nutcracker/src/nc_array.o +0 -0
- data/ext/nutcracker/src/nc_client.o +0 -0
- data/ext/nutcracker/src/nc_conf.o +0 -0
- data/ext/nutcracker/src/nc_connection.o +0 -0
- data/ext/nutcracker/src/nc_core.o +0 -0
- data/ext/nutcracker/src/nc_epoll.o +0 -0
- data/ext/nutcracker/src/nc_kqueue.c +0 -296
- data/ext/nutcracker/src/nc_kqueue.o +0 -0
- data/ext/nutcracker/src/nc_log.o +0 -0
- data/ext/nutcracker/src/nc_mbuf.o +0 -0
- data/ext/nutcracker/src/nc_message.o +0 -0
- data/ext/nutcracker/src/nc_proxy.o +0 -0
- data/ext/nutcracker/src/nc_rbtree.o +0 -0
- data/ext/nutcracker/src/nc_request.o +0 -0
- data/ext/nutcracker/src/nc_response.o +0 -0
- data/ext/nutcracker/src/nc_server.o +0 -0
- data/ext/nutcracker/src/nc_signal.o +0 -0
- data/ext/nutcracker/src/nc_stats.o +0 -0
- data/ext/nutcracker/src/nc_string.o +0 -0
- data/ext/nutcracker/src/nc_util.o +0 -0
- data/ext/nutcracker/src/nutcracker +0 -0
- data/ext/nutcracker/src/proto/Makefile +0 -454
- data/ext/nutcracker/src/proto/libproto.a +0 -0
- data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
- data/ext/nutcracker/src/proto/nc_redis.o +0 -0
- data/ext/nutcracker/stamp-h1 +0 -1
File without changes
|
File without changes
|
File without changes
|
data/ext/nutcracker/config.h.in
CHANGED
@@ -9,9 +9,6 @@
|
|
9
9
|
/* Define to 1 if panic on an assert is enabled */
|
10
10
|
#undef HAVE_ASSERT_PANIC
|
11
11
|
|
12
|
-
/* Define to 1 if backtrace is supported */
|
13
|
-
#undef HAVE_BACKTRACE
|
14
|
-
|
15
12
|
/* Define to 1 if debug log is enabled */
|
16
13
|
#undef HAVE_DEBUG_LOG
|
17
14
|
|
@@ -21,12 +18,6 @@
|
|
21
18
|
/* Define to 1 if you have the `dup2' function. */
|
22
19
|
#undef HAVE_DUP2
|
23
20
|
|
24
|
-
/* Define to 1 if epoll is supported */
|
25
|
-
#undef HAVE_EPOLL
|
26
|
-
|
27
|
-
/* Define to 1 if you have the <execinfo.h> header file. */
|
28
|
-
#undef HAVE_EXECINFO_H
|
29
|
-
|
30
21
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
31
22
|
#undef HAVE_FCNTL_H
|
32
23
|
|
@@ -51,9 +42,6 @@
|
|
51
42
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
52
43
|
#undef HAVE_INTTYPES_H
|
53
44
|
|
54
|
-
/* Define to 1 if kqueue is supported */
|
55
|
-
#undef HAVE_KQUEUE
|
56
|
-
|
57
45
|
/* Define to 1 if you have the `m' library (-lm). */
|
58
46
|
#undef HAVE_LIBM
|
59
47
|
|
@@ -134,9 +122,6 @@
|
|
134
122
|
/* Define to 1 if you have the <sys/epoll.h> header file. */
|
135
123
|
#undef HAVE_SYS_EPOLL_H
|
136
124
|
|
137
|
-
/* Define to 1 if you have the <sys/event.h> header file. */
|
138
|
-
#undef HAVE_SYS_EVENT_H
|
139
|
-
|
140
125
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
141
126
|
#undef HAVE_SYS_IOCTL_H
|
142
127
|
|
@@ -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
|
-
# Inc.
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
5
|
+
# 2011, 2012 Free Software Foundation, Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2012-02-10'
|
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,9 +17,7 @@ timestamp='2006-07-02'
|
|
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,
|
21
|
-
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
22
|
-
# 02110-1301, USA.
|
20
|
+
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
23
21
|
#
|
24
22
|
# As a special exception to the GNU General Public License, if you
|
25
23
|
# distribute this file as part of a program that contains a
|
@@ -27,16 +25,16 @@ timestamp='2006-07-02'
|
|
27
25
|
# the same distribution terms that you use for the rest of that program.
|
28
26
|
|
29
27
|
|
30
|
-
# Originally written by Per Bothner
|
31
|
-
#
|
32
|
-
#
|
28
|
+
# Originally written by Per Bothner. Please send patches (context
|
29
|
+
# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
30
|
+
# entry.
|
33
31
|
#
|
34
32
|
# This script attempts to guess a canonical system name similar to
|
35
33
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
36
34
|
# exits with 0. Otherwise, it exits with 1.
|
37
35
|
#
|
38
|
-
#
|
39
|
-
#
|
36
|
+
# You can get the latest version of this script from:
|
37
|
+
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
40
38
|
|
41
39
|
me=`echo "$0" | sed -e 's,.*/,,'`
|
42
40
|
|
@@ -56,7 +54,8 @@ version="\
|
|
56
54
|
GNU config.guess ($timestamp)
|
57
55
|
|
58
56
|
Originally written by Per Bothner.
|
59
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
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
|
60
59
|
Free Software Foundation, Inc.
|
61
60
|
|
62
61
|
This is free software; see the source for copying conditions. There is NO
|
@@ -144,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
|
144
143
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
145
144
|
*:NetBSD:*:*)
|
146
145
|
# NetBSD (nbsd) targets should (where applicable) match one or
|
147
|
-
# more of the
|
146
|
+
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
148
147
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
149
148
|
# switched to ELF, *-*-netbsd* would select the old
|
150
149
|
# object file format. This provides both forward
|
@@ -161,6 +160,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
161
160
|
arm*) machine=arm-unknown ;;
|
162
161
|
sh3el) machine=shl-unknown ;;
|
163
162
|
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 __ELF__
|
172
|
+
| grep -q __ELF__
|
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,7 +268,10 @@ 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
|
-
exit
|
271
|
+
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
272
|
+
exitcode=$?
|
273
|
+
trap '' 0
|
274
|
+
exit $exitcode ;;
|
272
275
|
Alpha\ *:Windows_NT*:*)
|
273
276
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
274
277
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
@@ -294,7 +297,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
294
297
|
echo s390-ibm-zvmoe
|
295
298
|
exit ;;
|
296
299
|
*:OS400:*:*)
|
297
|
-
|
300
|
+
echo powerpc-ibm-os400
|
298
301
|
exit ;;
|
299
302
|
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
300
303
|
echo arm-acorn-riscix${UNAME_RELEASE}
|
@@ -323,14 +326,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
323
326
|
case `/usr/bin/uname -p` in
|
324
327
|
sparc) echo sparc-icl-nx7; exit ;;
|
325
328
|
esac ;;
|
329
|
+
s390x:SunOS:*:*)
|
330
|
+
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
331
|
+
exit ;;
|
326
332
|
sun4H:SunOS:5.*:*)
|
327
333
|
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
328
334
|
exit ;;
|
329
335
|
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
330
336
|
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
331
337
|
exit ;;
|
332
|
-
i86pc:
|
333
|
-
echo i386-pc-
|
338
|
+
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
|
339
|
+
echo i386-pc-auroraux${UNAME_RELEASE}
|
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/[^.]*//'`
|
334
356
|
exit ;;
|
335
357
|
sun4*:SunOS:6*:*)
|
336
358
|
# According to config.sub, this is the proper way to canonicalize
|
@@ -374,23 +396,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|
374
396
|
# MiNT. But MiNT is downward compatible to TOS, so this should
|
375
397
|
# be no problem.
|
376
398
|
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
377
|
-
|
399
|
+
echo m68k-atari-mint${UNAME_RELEASE}
|
378
400
|
exit ;;
|
379
401
|
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
380
402
|
echo m68k-atari-mint${UNAME_RELEASE}
|
381
|
-
|
403
|
+
exit ;;
|
382
404
|
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
383
|
-
|
405
|
+
echo m68k-atari-mint${UNAME_RELEASE}
|
384
406
|
exit ;;
|
385
407
|
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
386
|
-
|
387
|
-
|
408
|
+
echo m68k-milan-mint${UNAME_RELEASE}
|
409
|
+
exit ;;
|
388
410
|
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
389
|
-
|
390
|
-
|
411
|
+
echo m68k-hades-mint${UNAME_RELEASE}
|
412
|
+
exit ;;
|
391
413
|
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
392
|
-
|
393
|
-
|
414
|
+
echo m68k-unknown-mint${UNAME_RELEASE}
|
415
|
+
exit ;;
|
394
416
|
m68k:machten:*:*)
|
395
417
|
echo m68k-apple-machten${UNAME_RELEASE}
|
396
418
|
exit ;;
|
@@ -460,8 +482,8 @@ EOF
|
|
460
482
|
echo m88k-motorola-sysv3
|
461
483
|
exit ;;
|
462
484
|
AViiON:dgux:*:*)
|
463
|
-
|
464
|
-
|
485
|
+
# DG/UX returns AViiON for all architectures
|
486
|
+
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
465
487
|
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
|
466
488
|
then
|
467
489
|
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
|
@@ -474,7 +496,7 @@ EOF
|
|
474
496
|
else
|
475
497
|
echo i586-dg-dgux${UNAME_RELEASE}
|
476
498
|
fi
|
477
|
-
|
499
|
+
exit ;;
|
478
500
|
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
479
501
|
echo m88k-dolphin-sysv3
|
480
502
|
exit ;;
|
@@ -531,7 +553,7 @@ EOF
|
|
531
553
|
echo rs6000-ibm-aix3.2
|
532
554
|
fi
|
533
555
|
exit ;;
|
534
|
-
*:AIX:*:[
|
556
|
+
*:AIX:*:[4567])
|
535
557
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
536
558
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
537
559
|
IBM_ARCH=rs6000
|
@@ -574,52 +596,52 @@ EOF
|
|
574
596
|
9000/[678][0-9][0-9])
|
575
597
|
if [ -x /usr/bin/getconf ]; then
|
576
598
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
599
|
+
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
600
|
+
case "${sc_cpu_version}" in
|
601
|
+
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
602
|
+
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
603
|
+
532) # CPU_PA_RISC2_0
|
604
|
+
case "${sc_kernel_bits}" in
|
605
|
+
32) HP_ARCH="hppa2.0n" ;;
|
606
|
+
64) HP_ARCH="hppa2.0w" ;;
|
585
607
|
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
586
|
-
|
587
|
-
|
608
|
+
esac ;;
|
609
|
+
esac
|
588
610
|
fi
|
589
611
|
if [ "${HP_ARCH}" = "" ]; then
|
590
612
|
eval $set_cc_for_build
|
591
|
-
sed 's/^
|
613
|
+
sed 's/^ //' << EOF >$dummy.c
|
592
614
|
|
593
|
-
|
594
|
-
|
595
|
-
|
615
|
+
#define _HPUX_SOURCE
|
616
|
+
#include <stdlib.h>
|
617
|
+
#include <unistd.h>
|
596
618
|
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
619
|
+
int main ()
|
620
|
+
{
|
621
|
+
#if defined(_SC_KERNEL_BITS)
|
622
|
+
long bits = sysconf(_SC_KERNEL_BITS);
|
623
|
+
#endif
|
624
|
+
long cpu = sysconf (_SC_CPU_VERSION);
|
603
625
|
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
626
|
+
switch (cpu)
|
627
|
+
{
|
628
|
+
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
629
|
+
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
630
|
+
case CPU_PA_RISC2_0:
|
631
|
+
#if defined(_SC_KERNEL_BITS)
|
632
|
+
switch (bits)
|
633
|
+
{
|
634
|
+
case 64: puts ("hppa2.0w"); break;
|
635
|
+
case 32: puts ("hppa2.0n"); break;
|
636
|
+
default: puts ("hppa2.0"); break;
|
637
|
+
} break;
|
638
|
+
#else /* !defined(_SC_KERNEL_BITS) */
|
639
|
+
puts ("hppa2.0"); break;
|
640
|
+
#endif
|
641
|
+
default: puts ("hppa1.0"); break;
|
642
|
+
}
|
643
|
+
exit (0);
|
644
|
+
}
|
623
645
|
EOF
|
624
646
|
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
625
647
|
test -z "$HP_ARCH" && HP_ARCH=hppa
|
@@ -639,7 +661,7 @@ EOF
|
|
639
661
|
# => hppa64-hp-hpux11.23
|
640
662
|
|
641
663
|
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
642
|
-
grep __LP64__
|
664
|
+
grep -q __LP64__
|
643
665
|
then
|
644
666
|
HP_ARCH="hppa2.0w"
|
645
667
|
else
|
@@ -710,22 +732,22 @@ EOF
|
|
710
732
|
exit ;;
|
711
733
|
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
712
734
|
echo c1-convex-bsd
|
713
|
-
|
735
|
+
exit ;;
|
714
736
|
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
715
737
|
if getsysinfo -f scalar_acc
|
716
738
|
then echo c32-convex-bsd
|
717
739
|
else echo c2-convex-bsd
|
718
740
|
fi
|
719
|
-
|
741
|
+
exit ;;
|
720
742
|
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
721
743
|
echo c34-convex-bsd
|
722
|
-
|
744
|
+
exit ;;
|
723
745
|
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
724
746
|
echo c38-convex-bsd
|
725
|
-
|
747
|
+
exit ;;
|
726
748
|
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
727
749
|
echo c4-convex-bsd
|
728
|
-
|
750
|
+
exit ;;
|
729
751
|
CRAY*Y-MP:*:*:*)
|
730
752
|
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
731
753
|
exit ;;
|
@@ -749,14 +771,14 @@ EOF
|
|
749
771
|
exit ;;
|
750
772
|
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
751
773
|
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
774
|
+
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
775
|
+
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
776
|
+
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
777
|
+
exit ;;
|
756
778
|
5000:UNIX_System_V:4.*:*)
|
757
|
-
|
758
|
-
|
759
|
-
|
779
|
+
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
780
|
+
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
781
|
+
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
760
782
|
exit ;;
|
761
783
|
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
762
784
|
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
@@ -768,37 +790,48 @@ EOF
|
|
768
790
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
769
791
|
exit ;;
|
770
792
|
*:FreeBSD:*:*)
|
771
|
-
|
772
|
-
|
773
|
-
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
793
|
+
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
794
|
+
case ${UNAME_PROCESSOR} in
|
774
795
|
amd64)
|
775
796
|
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
776
797
|
*)
|
777
|
-
echo ${
|
798
|
+
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
778
799
|
esac
|
779
800
|
exit ;;
|
780
801
|
i*:CYGWIN*:*)
|
781
802
|
echo ${UNAME_MACHINE}-pc-cygwin
|
782
803
|
exit ;;
|
783
|
-
|
804
|
+
*:MINGW*:*)
|
784
805
|
echo ${UNAME_MACHINE}-pc-mingw32
|
785
806
|
exit ;;
|
807
|
+
i*:MSYS*:*)
|
808
|
+
echo ${UNAME_MACHINE}-pc-msys
|
809
|
+
exit ;;
|
786
810
|
i*:windows32*:*)
|
787
|
-
|
788
|
-
|
811
|
+
# uname -m includes "-pc" on this system.
|
812
|
+
echo ${UNAME_MACHINE}-mingw32
|
789
813
|
exit ;;
|
790
814
|
i*:PW*:*)
|
791
815
|
echo ${UNAME_MACHINE}-pc-pw32
|
792
816
|
exit ;;
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
817
|
+
*:Interix*:*)
|
818
|
+
case ${UNAME_MACHINE} in
|
819
|
+
x86)
|
820
|
+
echo i586-pc-interix${UNAME_RELEASE}
|
821
|
+
exit ;;
|
822
|
+
authenticamd | genuineintel | EM64T)
|
823
|
+
echo x86_64-unknown-interix${UNAME_RELEASE}
|
824
|
+
exit ;;
|
825
|
+
IA64)
|
826
|
+
echo ia64-unknown-interix${UNAME_RELEASE}
|
827
|
+
exit ;;
|
828
|
+
esac ;;
|
799
829
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
800
830
|
echo i${UNAME_MACHINE}-pc-mks
|
801
831
|
exit ;;
|
832
|
+
8664:Windows_NT:*)
|
833
|
+
echo x86_64-pc-mks
|
834
|
+
exit ;;
|
802
835
|
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
803
836
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
804
837
|
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
@@ -828,20 +861,68 @@ EOF
|
|
828
861
|
i*86:Minix:*:*)
|
829
862
|
echo ${UNAME_MACHINE}-pc-minix
|
830
863
|
exit ;;
|
831
|
-
|
864
|
+
aarch64:Linux:*:*)
|
865
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
866
|
+
exit ;;
|
867
|
+
aarch64_be:Linux:*:*)
|
868
|
+
UNAME_MACHINE=aarch64_be
|
832
869
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
833
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
|
+
arm*:Linux:*:*)
|
886
|
+
eval $set_cc_for_build
|
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
|
900
|
+
exit ;;
|
834
901
|
avr32*:Linux:*:*)
|
835
902
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
836
903
|
exit ;;
|
837
904
|
cris:Linux:*:*)
|
838
|
-
echo
|
905
|
+
echo ${UNAME_MACHINE}-axis-linux-gnu
|
839
906
|
exit ;;
|
840
907
|
crisv32:Linux:*:*)
|
841
|
-
echo
|
908
|
+
echo ${UNAME_MACHINE}-axis-linux-gnu
|
842
909
|
exit ;;
|
843
910
|
frv:Linux:*:*)
|
844
|
-
|
911
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
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}"
|
845
926
|
exit ;;
|
846
927
|
ia64:Linux:*:*)
|
847
928
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -852,74 +933,33 @@ EOF
|
|
852
933
|
m68*:Linux:*:*)
|
853
934
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
854
935
|
exit ;;
|
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:*:*)
|
936
|
+
mips:Linux:*:* | mips64:Linux:*:*)
|
879
937
|
eval $set_cc_for_build
|
880
938
|
sed 's/^ //' << EOF >$dummy.c
|
881
939
|
#undef CPU
|
882
|
-
#undef
|
883
|
-
#undef
|
940
|
+
#undef ${UNAME_MACHINE}
|
941
|
+
#undef ${UNAME_MACHINE}el
|
884
942
|
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
885
|
-
CPU
|
943
|
+
CPU=${UNAME_MACHINE}el
|
886
944
|
#else
|
887
945
|
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
888
|
-
CPU
|
946
|
+
CPU=${UNAME_MACHINE}
|
889
947
|
#else
|
890
948
|
CPU=
|
891
949
|
#endif
|
892
950
|
#endif
|
893
951
|
EOF
|
894
|
-
eval
|
895
|
-
/^CPU/{
|
896
|
-
s: ::g
|
897
|
-
p
|
898
|
-
}'`"
|
952
|
+
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
899
953
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
900
954
|
;;
|
901
955
|
or32:Linux:*:*)
|
902
|
-
echo
|
903
|
-
exit ;;
|
904
|
-
ppc:Linux:*:*)
|
905
|
-
echo powerpc-unknown-linux-gnu
|
956
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
906
957
|
exit ;;
|
907
|
-
|
908
|
-
echo
|
958
|
+
padre:Linux:*:*)
|
959
|
+
echo sparc-unknown-linux-gnu
|
909
960
|
exit ;;
|
910
|
-
|
911
|
-
|
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}
|
961
|
+
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
962
|
+
echo hppa64-unknown-linux-gnu
|
923
963
|
exit ;;
|
924
964
|
parisc:Linux:*:* | hppa:Linux:*:*)
|
925
965
|
# Look for CPU level
|
@@ -929,14 +969,17 @@ EOF
|
|
929
969
|
*) echo hppa-unknown-linux-gnu ;;
|
930
970
|
esac
|
931
971
|
exit ;;
|
932
|
-
|
933
|
-
echo
|
972
|
+
ppc64:Linux:*:*)
|
973
|
+
echo powerpc64-unknown-linux-gnu
|
974
|
+
exit ;;
|
975
|
+
ppc:Linux:*:*)
|
976
|
+
echo powerpc-unknown-linux-gnu
|
934
977
|
exit ;;
|
935
978
|
s390:Linux:*:* | s390x:Linux:*:*)
|
936
979
|
echo ${UNAME_MACHINE}-ibm-linux
|
937
980
|
exit ;;
|
938
981
|
sh64*:Linux:*:*)
|
939
|
-
|
982
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
940
983
|
exit ;;
|
941
984
|
sh*:Linux:*:*)
|
942
985
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -944,75 +987,18 @@ EOF
|
|
944
987
|
sparc:Linux:*:* | sparc64:Linux:*:*)
|
945
988
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
946
989
|
exit ;;
|
990
|
+
tile*:Linux:*:*)
|
991
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
992
|
+
exit ;;
|
947
993
|
vax:Linux:*:*)
|
948
994
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
949
995
|
exit ;;
|
950
996
|
x86_64:Linux:*:*)
|
951
|
-
echo
|
997
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
998
|
+
exit ;;
|
999
|
+
xtensa*:Linux:*:*)
|
1000
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
952
1001
|
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
|
-
;;
|
1016
1002
|
i*86:DYNIX/ptx:4*:*)
|
1017
1003
|
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
1018
1004
|
# earlier versions are messed up and put the nodename in both
|
@@ -1020,11 +1006,11 @@ EOF
|
|
1020
1006
|
echo i386-sequent-sysv4
|
1021
1007
|
exit ;;
|
1022
1008
|
i*86:UNIX_SV:4.2MP:2.*)
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1009
|
+
# Unixware is an offshoot of SVR4, but it has its own version
|
1010
|
+
# number series starting with 2...
|
1011
|
+
# I am not positive that other SVR4 systems won't match this,
|
1026
1012
|
# I just have to hope. -- rms.
|
1027
|
-
|
1013
|
+
# Use sysv4.2uw... so that sysv4* matches it.
|
1028
1014
|
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
1029
1015
|
exit ;;
|
1030
1016
|
i*86:OS/2:*:*)
|
@@ -1041,7 +1027,7 @@ EOF
|
|
1041
1027
|
i*86:syllable:*:*)
|
1042
1028
|
echo ${UNAME_MACHINE}-pc-syllable
|
1043
1029
|
exit ;;
|
1044
|
-
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.
|
1030
|
+
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
|
1045
1031
|
echo i386-unknown-lynxos${UNAME_RELEASE}
|
1046
1032
|
exit ;;
|
1047
1033
|
i*86:*DOS:*:*)
|
@@ -1056,7 +1042,7 @@ EOF
|
|
1056
1042
|
fi
|
1057
1043
|
exit ;;
|
1058
1044
|
i*86:*:5:[678]*)
|
1059
|
-
|
1045
|
+
# UnixWare 7.x, OpenUNIX and OpenServer 6.
|
1060
1046
|
case `/bin/uname -X | grep "^Machine"` in
|
1061
1047
|
*486*) UNAME_MACHINE=i486 ;;
|
1062
1048
|
*Pentium) UNAME_MACHINE=i586 ;;
|
@@ -1084,10 +1070,13 @@ EOF
|
|
1084
1070
|
exit ;;
|
1085
1071
|
pc:*:*:*)
|
1086
1072
|
# Left here for compatibility:
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1073
|
+
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
1074
|
+
# the processor, so we play safe by assuming i586.
|
1075
|
+
# Note: whatever this is, it MUST be the same as what config.sub
|
1076
|
+
# prints for the "djgpp" host, or else GDB configury will decide that
|
1077
|
+
# this is a cross-build.
|
1078
|
+
echo i586-pc-msdosdjgpp
|
1079
|
+
exit ;;
|
1091
1080
|
Intel:Mach:3*:*)
|
1092
1081
|
echo i386-pc-mach3
|
1093
1082
|
exit ;;
|
@@ -1122,8 +1111,18 @@ EOF
|
|
1122
1111
|
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
1123
1112
|
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
1124
1113
|
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
1125
|
-
|
1126
|
-
|
1114
|
+
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
1115
|
+
&& { echo i486-ncr-sysv4; exit; } ;;
|
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; } ;;
|
1127
1126
|
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
1128
1127
|
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
1129
1128
|
exit ;;
|
@@ -1136,7 +1135,7 @@ EOF
|
|
1136
1135
|
rs6000:LynxOS:2.*:*)
|
1137
1136
|
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
1138
1137
|
exit ;;
|
1139
|
-
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.
|
1138
|
+
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
|
1140
1139
|
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
1141
1140
|
exit ;;
|
1142
1141
|
SM[BE]S:UNIX_SV:*:*)
|
@@ -1156,10 +1155,10 @@ EOF
|
|
1156
1155
|
echo ns32k-sni-sysv
|
1157
1156
|
fi
|
1158
1157
|
exit ;;
|
1159
|
-
PENTIUM:*:4.0*:*)
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1158
|
+
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
1159
|
+
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
1160
|
+
echo i586-unisys-sysv4
|
1161
|
+
exit ;;
|
1163
1162
|
*:UNIX_System_V:4*:FTX*)
|
1164
1163
|
# From Gerald Hewes <hewes@openmarket.com>.
|
1165
1164
|
# How about differentiating between stratus architectures? -djm
|
@@ -1185,11 +1184,11 @@ EOF
|
|
1185
1184
|
exit ;;
|
1186
1185
|
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
1187
1186
|
if [ -d /usr/nec ]; then
|
1188
|
-
|
1187
|
+
echo mips-nec-sysv${UNAME_RELEASE}
|
1189
1188
|
else
|
1190
|
-
|
1189
|
+
echo mips-unknown-sysv${UNAME_RELEASE}
|
1191
1190
|
fi
|
1192
|
-
|
1191
|
+
exit ;;
|
1193
1192
|
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
1194
1193
|
echo powerpc-be-beos
|
1195
1194
|
exit ;;
|
@@ -1199,6 +1198,9 @@ EOF
|
|
1199
1198
|
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
1200
1199
|
echo i586-pc-beos
|
1201
1200
|
exit ;;
|
1201
|
+
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
1202
|
+
echo i586-pc-haiku
|
1203
|
+
exit ;;
|
1202
1204
|
SX-4:SUPER-UX:*:*)
|
1203
1205
|
echo sx4-nec-superux${UNAME_RELEASE}
|
1204
1206
|
exit ;;
|
@@ -1208,6 +1210,15 @@ EOF
|
|
1208
1210
|
SX-6:SUPER-UX:*:*)
|
1209
1211
|
echo sx6-nec-superux${UNAME_RELEASE}
|
1210
1212
|
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 ;;
|
1211
1222
|
Power*:Rhapsody:*:*)
|
1212
1223
|
echo powerpc-apple-rhapsody${UNAME_RELEASE}
|
1213
1224
|
exit ;;
|
@@ -1217,6 +1228,16 @@ EOF
|
|
1217
1228
|
*:Darwin:*:*)
|
1218
1229
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
1219
1230
|
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 ;;
|
1220
1241
|
unknown) UNAME_PROCESSOR=powerpc ;;
|
1221
1242
|
esac
|
1222
1243
|
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
@@ -1232,6 +1253,9 @@ EOF
|
|
1232
1253
|
*:QNX:*:4*)
|
1233
1254
|
echo i386-pc-qnx
|
1234
1255
|
exit ;;
|
1256
|
+
NEO-?:NONSTOP_KERNEL:*:*)
|
1257
|
+
echo neo-tandem-nsk${UNAME_RELEASE}
|
1258
|
+
exit ;;
|
1235
1259
|
NSE-?:NONSTOP_KERNEL:*:*)
|
1236
1260
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
1237
1261
|
exit ;;
|
@@ -1277,13 +1301,13 @@ EOF
|
|
1277
1301
|
echo pdp10-unknown-its
|
1278
1302
|
exit ;;
|
1279
1303
|
SEI:*:*:SEIUX)
|
1280
|
-
|
1304
|
+
echo mips-sei-seiux${UNAME_RELEASE}
|
1281
1305
|
exit ;;
|
1282
1306
|
*:DragonFly:*:*)
|
1283
1307
|
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
1284
1308
|
exit ;;
|
1285
1309
|
*:*VMS:*:*)
|
1286
|
-
|
1310
|
+
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
1287
1311
|
case "${UNAME_MACHINE}" in
|
1288
1312
|
A*) echo alpha-dec-vms ; exit ;;
|
1289
1313
|
I*) echo ia64-dec-vms ; exit ;;
|
@@ -1298,6 +1322,12 @@ EOF
|
|
1298
1322
|
i*86:rdos:*:*)
|
1299
1323
|
echo ${UNAME_MACHINE}-pc-rdos
|
1300
1324
|
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 ;;
|
1301
1331
|
esac
|
1302
1332
|
|
1303
1333
|
#echo '(No uname command or uname output not recognized.)' 1>&2
|
@@ -1320,11 +1350,11 @@ main ()
|
|
1320
1350
|
#include <sys/param.h>
|
1321
1351
|
printf ("m68k-sony-newsos%s\n",
|
1322
1352
|
#ifdef NEWSOS4
|
1323
|
-
|
1353
|
+
"4"
|
1324
1354
|
#else
|
1325
|
-
|
1355
|
+
""
|
1326
1356
|
#endif
|
1327
|
-
|
1357
|
+
); exit (0);
|
1328
1358
|
#endif
|
1329
1359
|
#endif
|
1330
1360
|
|
@@ -1458,9 +1488,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
1458
1488
|
the operating system you are using. It is advised that you
|
1459
1489
|
download the most up to date version of the config scripts from
|
1460
1490
|
|
1461
|
-
http://savannah.gnu.org/
|
1491
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
1462
1492
|
and
|
1463
|
-
http://savannah.gnu.org/
|
1493
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
1464
1494
|
|
1465
1495
|
If the version you run ($0) is already up to date, please
|
1466
1496
|
send the following data and any information you think might be
|