diff -Naur texlive-20180414-source.org/texlive-20180414-source/build-aux/config.guess texlive-20180414-source.sw/texlive-20180414-source/build-aux/config.guess --- texlive-20180414-source.org/texlive-20180414-source/build-aux/config.guess 2022-12-19 10:59:52.450000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/build-aux/config.guess 2022-12-19 11:02:52.760000000 +0800 @@ -904,6 +904,14 @@ UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + sw_64:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + sw) UNAME_MACHINE=sw_64 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-sunway-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff -Naur texlive-20180414-source.org/texlive-20180414-source/build-aux/config.sub texlive-20180414-source.sw/texlive-20180414-source/build-aux/config.sub --- texlive-20180414-source.org/texlive-20180414-source/build-aux/config.sub 2022-12-19 10:59:52.450000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/build-aux/config.sub 2022-12-19 11:01:01.170000000 +0800 @@ -244,6 +244,7 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | sw_64 \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ @@ -368,6 +369,7 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | sw_64-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ diff -Naur texlive-20180414-source.org/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.guess texlive-20180414-source.sw/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.guess --- texlive-20180414-source.org/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.guess 2022-12-19 10:59:53.840000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.guess 2022-12-19 11:02:35.830000000 +0800 @@ -904,6 +904,14 @@ UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + sw_64:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + sw) UNAME_MACHINE=sw_64 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-sunway-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff -Naur texlive-20180414-source.org/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.sub texlive-20180414-source.sw/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.sub --- texlive-20180414-source.org/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.sub 2022-12-19 10:59:53.840000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/libs/freetype2/freetype-src/builds/unix/config.sub 2022-12-19 11:01:33.460000000 +0800 @@ -244,6 +244,7 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | sw_64 \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ @@ -368,6 +369,7 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | sw_64-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ diff -Naur texlive-20180414-source.org/texlive-20180414-source/libs/icu/icu-src/source/config.guess texlive-20180414-source.sw/texlive-20180414-source/libs/icu/icu-src/source/config.guess --- texlive-20180414-source.org/texlive-20180414-source/libs/icu/icu-src/source/config.guess 2022-12-19 10:59:52.690000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/libs/icu/icu-src/source/config.guess 2022-12-19 11:02:26.300000000 +0800 @@ -904,6 +904,14 @@ UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + sw_64:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + sw) UNAME_MACHINE=sw_64 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-sunway-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff -Naur texlive-20180414-source.org/texlive-20180414-source/libs/icu/icu-src/source/config.sub texlive-20180414-source.sw/texlive-20180414-source/libs/icu/icu-src/source/config.sub --- texlive-20180414-source.org/texlive-20180414-source/libs/icu/icu-src/source/config.sub 2022-12-19 10:59:52.690000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/libs/icu/icu-src/source/config.sub 2022-12-19 11:01:50.300000000 +0800 @@ -244,6 +244,7 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | sw_64 \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ @@ -368,6 +369,7 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | sw_64-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ diff -Naur texlive-20180414-source.org/texlive-20180414-source/utils/asymptote/config.guess texlive-20180414-source.sw/texlive-20180414-source/utils/asymptote/config.guess --- texlive-20180414-source.org/texlive-20180414-source/utils/asymptote/config.guess 2022-12-19 10:59:55.650000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/utils/asymptote/config.guess 2022-12-19 11:02:42.620000000 +0800 @@ -904,6 +904,14 @@ UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + sw_64:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + sw) UNAME_MACHINE=sw_64 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-sunway-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff -Naur texlive-20180414-source.org/texlive-20180414-source/utils/asymptote/config.sub texlive-20180414-source.sw/texlive-20180414-source/utils/asymptote/config.sub --- texlive-20180414-source.org/texlive-20180414-source/utils/asymptote/config.sub 2022-12-19 10:59:55.670000000 +0800 +++ texlive-20180414-source.sw/texlive-20180414-source/utils/asymptote/config.sub 2022-12-19 11:01:19.180000000 +0800 @@ -244,6 +244,7 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | sw_64 \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ @@ -368,6 +369,7 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | sw_64-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \