Commit Graph

  • ff53d915ca doc: regenerate config.guess.1 Dmitry V. Levin 2020-12-20 08:00:00 +00:00
  • 9bb4e6d7b2 doc: fix typo in config.guess.x Dmitry V. Levin 2020-12-20 08:00:00 +00:00
  • 90b8cb42ba config.sub: recognize thumbv7* Dmitry V. Levin 2020-12-02 00:10:00 +00:00
  • 888c8e3d5f Update URLs of the latest version of config.guess and config.sub scripts Dmitry V. Levin 2020-11-19 08:00:00 +00:00
  • 965e90c772 doc: generalize make rules used to generate man pages Dmitry V. Levin 2020-11-19 08:00:00 +00:00
  • f1c1f29968 testsuite: cleanup whitespace issues Dmitry V. Levin 2020-11-19 08:00:00 +00:00
  • 9aa377c2ed .gitattributes: specify a custom git merge driver for the ChangeLog file Dmitry V. Levin 2020-11-19 08:00:00 +00:00
  • edcc7bbb5d config.guess: combine two heuristics to detect musl libc Dmitry V. Levin 2020-11-05 08:00:00 +00:00
  • 77632d92f2 Update timestamps. Ben Elliston 2020-11-07 15:46:23 +11:00
  • 95c8d9a294 * config.sub, config.guess: Replace backtick .. substitutions with POSIX $(..) command substitutions throughout. * Makefile (shellcheck): Don't exclude message SC2006. Ben Elliston 2020-11-07 15:37:44 +11:00
  • 1c43980155 * config.guess (*:NetBSD:*:*): Handle aarch64eb. * testsuite/config-guess.data: Add test cases. Rin Okuyama 2020-10-22 00:05:38 +11:00
  • 664b772118 Fix whitespace problem in config.sub. Ben Elliston 2020-10-15 07:24:35 +11:00
  • 74a858549d * config.sub (i*86-pc-os2-emx): Recognise correctly. * testsuite/config-sub.data: Add OS/2 tests to avoid regressions. Ben Elliston 2020-10-13 22:20:55 +11:00
  • d7a4dee7cc * config.sub (uclinux-uclibc*): Fix detection. * testsuite/config-sub.data: Add a test case to avoid regression. Fabrice Fontaine 2020-09-27 10:41:38 +10:00
  • 4aa554d72b * config.guess: Don't use 'ldd --version' to determine the presence of musl libc, as this fails on Alpine Linux 3.10. Bruno Haible 2020-09-20 14:21:00 +10:00
  • e072cc210e * config.sub: Fix regression in QNX recognition. * testsuite/config-sub.data: Add some test cases. Elad Lahav 2020-09-08 09:26:26 +10:00
  • 0b5188819b * config.guess: Replace "if [ EXPR ]" with "if test EXPR". * config.sub: Likewise. * testsuite/config-guess.sh: Likewise. * testsuite/config-sub.sh: Likewise. Issam E. Maghni 2020-08-17 13:36:41 +10:00
  • 2593751ef2 * config.guess (arm64:Darwin:*:*): Recognise. * testsuite/config-guess.data: Add a test case. Ben Elliston 2020-07-12 18:21:33 +10:00
  • b2969c6e71 * config.sub (case $cpu): Whitespace fix. Ben Elliston 2020-07-10 16:01:38 +10:00
  • 3c20dd431e * config.sub (arm64-*): Canonicalise to aarch64-*. Keno Fischer 2020-07-10 15:45:29 +10:00
  • 5e531d3918 * config.sub: Properly parse the KERNEL-OS case. John Ericson 2020-06-28 15:32:14 +10:00
  • 62db2b6bd6 * config.sub (s390, s390x): Use 'ibm' vendor default, but allow overrides. John Ericson 2020-06-28 11:26:24 +10:00
  • 2b81440a51 * config.sub: Allow CPU to influence vendor defaulting too. John Ericson 2020-06-28 11:21:28 +10:00
  • 60a43fe6f0 * config.sub: Move OS whitelist to the bottom of the case as preparation for future work. John Ericson 2020-06-26 22:26:12 +10:00
  • 696cd4a4ea * config.sub (s390, s390x): Don't set manufacturer. * testsuite/config-sub.data: Add test cases. Alexander Egorenkov 2020-06-21 10:49:49 +10:00
  • 5c38fa7c66 * config.sub (psp): Recognize. * testsuite/config-sub.data: Add test case. Carsten Teibes 2020-06-18 16:50:55 +10:00
  • bd1cbeed14 * config.guess (x86_64:Linux:*:*): Detect x32 ABI. This is currently only supported when CC_FOR_BUILD is available, as that ultimately governs what the native ABI is. Jessica Clarke 2020-06-15 11:47:54 +10:00
  • e78c96e528 * config.sub (-genode*): New. * testsuite/config-sub.data: Add test cases. Emery Hemingway 2020-05-04 23:40:51 +10:00
  • fb5be05bb0 * config.guess: Instruct the user to send information about their system only if the script they are running has a timestamped year of less than three years ago. Ben Elliston 2020-04-26 13:27:26 +10:00
  • b97839f3cc Reported by Peter Eisentraut: * config.sub (case $os): Append asterisk to 'powerunix'. Ben Elliston 2020-04-24 21:17:47 +10:00
  • 5256817ace * config.guess: Update copyright years. * config.sub: Likewise. * doc/config.guess.1: Regenerate. * doc/config.sub.1: Likewise. Ben Elliston 2020-01-01 19:36:58 +11:00
  • d8d8093d18 Typo fix. Ben Elliston 2019-12-21 13:51:39 +11:00
  • c542caa003 * config.guess (set_cc_for_build): Prevent multiple calls by chechking if $tmp is already set. We can't check CC_FOR_BUILD as the user may set it externally. Thanks to Torbjörn Granlund for the bug report. Ben Elliston 2019-12-21 13:01:01 +11:00
  • 6f5b719255 * config.guess (alpha:Linux:*:*): Guard against missing /proc/cpuinfo by redirecting standard error to /dev/null. Torbjörn Granlund 2019-12-21 12:01:43 +11:00
  • 1912ca5041 * testsuite/config-guess.data: Sort. * testsuite/config-sub.data: Likewise. Ben Elliston 2019-09-12 20:45:58 +10:00
  • fadac5a0ed * config.guess (*:Twizzler:*:*): New. * config.sub (-twizzler*): New. * testsuite/config-guess.data: Add test cases. * testsuite/config-sub.data: Ditto. Daniel Bittman 2019-09-12 09:56:40 +10:00
  • 04b07fc6d9 * testsuite/config-sub.data: Add some old Pentium test cases. Ben Elliston 2019-08-04 09:38:47 +10:00
  • afb0b3e1d7 * config.guess (mips:OSF1:*.*): Whitespace cleanup. Ben Elliston 2019-07-24 10:16:30 +10:00
  • d3bfe62ac8 This change introduces a new test to config-sub.sh which runs every config.guess expected triplet through config.sub so that we can check that it is properly recognised. Sometimes, new triplets have been added to config.guess without updating config.sub accordingly (eg, Harris NightHawk machines running PowerUnix from the mid-1990s!) Ben Elliston 2019-06-30 16:32:41 +10:00
  • 854aa79378 * config.sub: Recognise os108*. * testsuite/config-sub.data: Add a test case. Ben Elliston 2019-06-30 10:02:45 +10:00
  • 717418e698 * testsuite/config-sub.data: Many more missing test cases. * config.sub (hp300): Set $os to hpux. Ben Elliston 2019-06-26 13:29:37 +10:00
  • 1854fb9ed1 * testsuite/config-sub.data: Add some missing test cases. Ben Elliston 2019-06-26 11:03:58 +10:00
  • ec599a537a * config.sub (vsta): Move into alphabetical order. Ben Elliston 2019-06-26 10:36:39 +10:00
  • f83dbaa146 * config.guess (*:OS108:*:*): Recognise new OS. * testsuite/config-guess.data: Add a test case. Ben Elliston 2019-06-10 23:36:57 +10:00
  • 6fd2f9bf82 * Makefile (sort): New target. * testsuite/config-guess.data: Sort. * testsuite/config-sub.data: Likewise. Ben Elliston 2019-06-04 09:48:27 +10:00
  • 3f4274dfc2 * config.guess (*:Darwin:*:*): Run xcode-select to determine if a system compiler is installed. If not, do not run set_cc_for_build, as the default cc will open a dialog box asking to install Xcode. If no C compiler is available, guess based on uname -p and uname -m. Ben Elliston 2019-05-28 23:39:01 +10:00
  • 104ee6463c * testsuite/config-guess.data: Add Darwin tests. Ben Elliston 2019-05-28 13:49:39 +10:00
  • bad92f031d Revert. Fix extraneous 'fi'. Ben Elliston 2019-05-28 15:29:39 +10:00
  • 0e33211d96 * testsuite/config-guess.data: Add Darwin tests. Ben Elliston 2019-05-28 13:49:39 +10:00
  • 9bbefc160a * config.guess (*:Darwin:*:*): Simplify UNAME_PROCESSOR. Ben Elliston 2019-05-28 12:59:21 +10:00
  • 55eaf3e779 * config.sub (bpf): Recognise. * testsuite/config-sub.data: Add test cases. Jose E. Marchesi 2019-05-23 11:27:51 +10:00
  • b98424c249 * config.guess: Remove space after "#endif", as Gnulib and some other downstream projects frown on trailing white space. Paul Eggert 2019-05-01 06:29:40 +10:00
  • 798218fde9 * config.guess: Use utsname version instead of preprocessor macros on vax-dec-ultrix and mips-dec-ultrix versions >= 3.0. Urs Janßen 2019-04-28 12:22:19 +10:00
  • a8d79c3130 * config.sub (wasm64, wasi): Recognise. * testsuite/config-sub.data: Add test cases for wasm (Web Assembly) and wasi (Web Assembly System Interface). John Ericson 2019-04-15 08:57:26 +10:00
  • a7dc12fa30 * testsuite/config-sub.data: Sort. Ben Elliston 2019-03-29 08:32:47 +11:00
  • d495b0fc6b * config.sub: Recognize m68k-next-openstep* as openstep*, not nextstep3. * testsuite/config-sub.data: Add test cases. Urs Janßen 2019-03-29 08:31:13 +11:00
  • f6872aecd5 Revert " * Makefile (check-guess): Don't remove uname here." Ben Elliston 2019-03-23 22:09:04 +11:00
  • f34dacb346 * Makefile (check-guess): Don't remove uname here. * testsuite/config-guess.sh (run_config_guess): Remove dummy uname script if the test passes (if not, the script is left behind for inspection). Ben Elliston 2019-03-23 22:07:56 +11:00
  • 8999a781ce * testsuite/config-sub.sh (run_one_config_sub): New. (run_one_config_sub_idempotent): Likewise. (run_config_sub): Parallelise test cases. (run_config_sub_idempotent): Likewise. Ben Elliston 2019-03-23 16:59:09 +11:00
  • fe616913d7 * config.guess (mips:Linux:*:*): Detect ISA R6. YunQiang Su 2019-03-08 13:12:21 +11:00
  • 57c365fdb4 * config.guess (m68k-sony-newsos, mips-dec-ultrix3): Restore C program that detects these systems. Urs Janßen 2019-03-04 09:55:18 +11:00
  • 6bf486266c * config.guess (i*86:*:5:[678]*): Fix Unixware output. Urs Janßen 2019-02-19 16:07:32 +11:00
  • 286a38db91 This change silences a false positive from Shellcheck: Ben Elliston 2019-01-20 21:03:48 +11:00
  • 2221f7d58e Revert: 2019-01-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> Ben Elliston 2019-01-15 10:26:10 +11:00
  • b0cc4c6f78 * config.sub (shl): Recognise. * testsuite/config-sub.data: Add a test case. Ben Elliston 2019-01-05 00:19:05 +11:00
  • da03f82a82 * config.sub: Move v70, w65 and others into sort order. Ben Elliston 2019-01-05 00:18:03 +11:00
  • 210e50d643 * config.sub (mips64eb): Recognise. * testsuite/config-sub.data: Add a test case for mips64eb. Ben Elliston 2019-01-04 17:21:13 +11:00
  • c9fa258d05 Fix space before tab. Ben Elliston 2019-01-04 06:38:07 +11:00
  • 42ddb154fe * testsuite/config-guess.data: Add more test cases. Ben Elliston 2019-01-03 15:11:46 +11:00
  • a2e10dfcf0 Disable Shellcheck warning SC2162 ("read without -r with mangle backslashes") in two places. We can't easily resolve these. Ben Elliston 2019-01-03 12:02:57 +11:00
  • 5fe51ffd1b * config.guess (sun4*:SunOS:5.*:*): Return sparcv9-sun-solaris2.* with 64-bit compiler. (tadpole*:SunOS:5.*:*): Likewise. Ben Elliston 2019-01-03 11:59:32 +11:00
  • d49c7de1e8 * testsuite/config-guess.data: Add a test for ARM Linux. Ben Elliston 2019-01-03 11:21:21 +11:00
  • a58cd1856a * testsuite/config-guess.data: Add new tests for Solaris on i386 and SPARC machines. Ben Elliston 2019-01-03 11:13:53 +11:00
  • d0452dbb43 * testsuite/config-guess.sh (run_config_guess): Set CC_FOR_BUILD to no_compiler_found so that we don't erroneously use the compiler of the host running the testsuite. * testsuite/config-guess.data: Adjust ARM FreeBSD expected output. Ben Elliston 2019-01-03 11:09:27 +11:00
  • c701dfb820 * config.guess: Update copyright years. * config.sub: Likewise. * doc/config.guess.1: Regenerate. * doc/config.sub.1: Likewise. Ben Elliston 2019-01-01 08:15:34 +11:00
  • b3914f8d55 * config.sub (*-emscripten): Recognise. * testsute/config-sub.data: Add test cases. Keno Fischer 2018-12-31 14:18:43 +11:00
  • 9e514cc932 Revert 2018-07-18 change: Ben Elliston 2018-12-21 12:22:29 +11:00
  • 9764df548d Revert 2018-05-05 change. * config.sub: Don't pass the -r option to 'read'. Solaris 10 sh does not support -r. Ben Elliston 2018-12-16 22:42:25 +11:00
  • c262b492d5 * config.guess: No need to explicitly save $? in the EXIT trap handler. This allows the same trap handler to be used as for other common signals. Ben Elliston 2018-12-07 08:08:51 +11:00
  • 058639be22 Bump timestamps. Ben Elliston 2018-11-28 20:38:51 +11:00
  • dbd9d383bd * config.guess (*:Unleashed:*:*): New. * config.sub (unleashed*): New. * testsuite/config-sub.data: Add a test case. * testsuite/config-guess.data: Likewise. Lauri Tirkkonen 2018-11-26 22:04:32 +11:00
  • 7e97ab3987 * config.sub (amdgnu-amdhsa): Recognise. * testsuite/config-sub.data: Test amdgcn-amdhsa. Andrew Stubbs 2018-11-20 09:18:57 +11:00
  • 2fa97a8a0e * config.guess (amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set manufacturer to 'pc'. * testsuite/config-guess.data: Update test cases. Ben Elliston 2018-10-26 11:20:06 +11:00
  • 653fbad91c * config.sub: Direct diagnostic output to standard error. Peter Kokot 2018-10-20 20:34:28 +11:00
  • 96a919bb3a Replace final http URL with https. From Daniel Kahn Gillmor. Ben Elliston 2018-10-19 10:34:35 +11:00
  • 1c9a125dd0 * config.sub: Fix comment typos. Urs Janßen 2018-10-17 10:38:21 +11:00
  • 59e2ce0e6b * config.guess (arm:FreeBSD:*:*): Match on 'arm' not 'arm*'. Mikaël Urankar 2018-08-29 20:40:37 +10:00
  • ceeb0d9e0f Bump timestamp. Ben Elliston 2018-08-29 14:41:46 +10:00
  • d300aa0a31 * config.sub: Parse basic_machine into cpu and vendor. This adds more lines, but makes a bunch of code simpler and easier to read. sed(1) is used a lot less, for example. John Ericson 2018-08-28 10:06:03 +10:00
  • a6387dca6b * config.sub: More deduplication and organize more basic machines. John Ericson 2018-08-28 10:04:02 +10:00
  • fc14426403 * config.sub: Deduplicate and organize more basic machines. John Ericson 2018-08-28 09:59:08 +10:00
  • 5948bb17e1 * config.sub: Remove redundant patterns from second case $basic_machine in. The second case only needs to handle patterns of the form *-*. We can drop some patterns without a change in functionality. John Ericson 2018-08-28 09:46:35 +10:00
  • fc12b1e453 * config.sub: Remove duplicates in the huge case basic_machine in arms. These patterns whitelist canonical CPU types that are allowed with any vendor. The former arm accepts a provided vendor, and the latter arm defaults a vendor when none is provided. Split case $basic_machine in in to two, and then pre-default the missing vendor so that only the explicit-vendor rules are needed. John Ericson 2018-08-28 09:42:04 +10:00
  • b8ee5f7994 From Justin Hibbits: * config.sub (powerpcspe, powerpcspe-*): New. * testsuite/config-sub.data: Add test cases. Ben Elliston 2018-08-24 20:54:40 +10:00
  • 8ecdc3a878 * config.sub: Consolidate *-pc handling. John Ericson 2018-08-24 20:41:12 +10:00
  • 478579434f * config.sub (cr16-*): Do not clobber vendor. * testsuite/config-sub.data (cr16-random-elf): Adjust test case. John Ericson 2018-08-24 20:36:55 +10:00
  • ddf4d5ca18 * config.sub: Consolidate some *-* patterns above big patterns. John Ericson 2018-08-24 20:32:50 +10:00
  • f5aba1772c * testsuite/config-sub.data: Add more tests. Ben Elliston 2018-08-24 20:31:06 +10:00
  • ebd65bf58a * config.sub: Finish moving big patterns to the bottom. John Ericson 2018-08-23 18:35:40 +10:00
  • 890df4376b * config.sub: Move the big patterns to the bottom in preparation for de-duplication. It causes Shellcheck to see more overlapping patterns. Fix miscellaneous problems identified by Shellcheck. * testsuite/config-sub.data: Adjust tests. John Ericson 2018-08-20 17:36:53 +10:00