nutcracker 0.4.1.22 → 0.4.1.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/ext/nutcracker/Makefile.in +9 -6
  3. data/ext/nutcracker/aclocal.m4 +86 -103
  4. data/ext/nutcracker/autom4te.cache/output.0 +96 -95
  5. data/ext/nutcracker/autom4te.cache/output.1 +96 -95
  6. data/ext/nutcracker/autom4te.cache/requests +221 -221
  7. data/ext/nutcracker/autom4te.cache/traces.0 +92 -106
  8. data/ext/nutcracker/autom4te.cache/traces.1 +9 -9
  9. data/ext/nutcracker/config/compile +4 -4
  10. data/ext/nutcracker/config/config.guess +281 -278
  11. data/ext/nutcracker/config/config.sub +107 -142
  12. data/ext/nutcracker/config/depcomp +4 -4
  13. data/ext/nutcracker/config/install-sh +31 -14
  14. data/ext/nutcracker/config/missing +7 -7
  15. data/ext/nutcracker/configure +96 -95
  16. data/ext/nutcracker/contrib/Makefile.in +9 -6
  17. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile.in +9 -6
  18. data/ext/nutcracker/contrib/yaml-0.1.4/aclocal.m4 +86 -103
  19. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +96 -95
  20. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +96 -95
  21. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +96 -95
  22. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +390 -390
  23. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +92 -106
  24. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +9 -9
  25. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +92 -106
  26. data/ext/nutcracker/contrib/yaml-0.1.4/config/compile +4 -4
  27. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.guess +281 -278
  28. data/ext/nutcracker/contrib/yaml-0.1.4/config/config.sub +107 -142
  29. data/ext/nutcracker/contrib/yaml-0.1.4/config/depcomp +4 -4
  30. data/ext/nutcracker/contrib/yaml-0.1.4/config/install-sh +31 -14
  31. data/ext/nutcracker/contrib/yaml-0.1.4/config/missing +7 -7
  32. data/ext/nutcracker/contrib/yaml-0.1.4/config/test-driver +4 -4
  33. data/ext/nutcracker/contrib/yaml-0.1.4/configure +96 -95
  34. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile.in +53 -26
  35. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile.in +58 -22
  36. data/ext/nutcracker/src/Makefile.in +93 -41
  37. data/ext/nutcracker/src/event/Makefile.in +36 -21
  38. data/ext/nutcracker/src/hashkit/Makefile.in +64 -29
  39. data/ext/nutcracker/src/proto/Makefile.in +33 -20
  40. data/lib/nutcracker.rb +6 -4
  41. data/lib/nutcracker/version.rb +1 -1
  42. metadata +5 -4
@@ -696,21 +696,21 @@ m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE
696
696
  m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
697
697
  You should run autoupdate.])dnl
698
698
  m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
699
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
699
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16'
700
700
  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
701
701
  dnl require some minimum version. Point them to the right macro.
702
- m4_if([$1], [1.15.1], [],
702
+ m4_if([$1], [1.16.1], [],
703
703
  [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
704
704
  ])
705
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl
705
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl
706
706
  m4_ifndef([AC_AUTOCONF_VERSION],
707
707
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
708
708
  _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
709
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/auxdir.m4:51: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
709
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/auxdir.m4:51: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
710
710
  # Expand $ac_aux_dir to an absolute path.
711
711
  am_aux_dir=`cd "$ac_aux_dir" && pwd`
712
712
  ])
713
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
713
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
714
714
  m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
715
715
  [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
716
716
  AC_SUBST([$1_TRUE])dnl
@@ -730,7 +730,7 @@ AC_CONFIG_COMMANDS_PRE(
730
730
  AC_MSG_ERROR([[conditional "$1" was never defined.
731
731
  Usually this means the macro was only invoked conditionally.]])
732
732
  fi])])
733
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/depend.m4:156: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
733
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/depend.m4:156: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
734
734
  AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
735
735
  AC_REQUIRE([AM_MAKE_INCLUDE])dnl
736
736
  AC_REQUIRE([AM_DEP_TRACK])dnl
@@ -860,10 +860,10 @@ AM_CONDITIONAL([am__fastdep$1], [
860
860
  test "x$enable_dependency_tracking" != xno \
861
861
  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
862
862
  ])
863
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/depend.m4:166: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
863
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/depend.m4:166: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
864
864
  AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
865
865
  ])
866
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/depend.m4:189: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
866
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/depend.m4:189: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
867
867
  AS_HELP_STRING(
868
868
  [--enable-dependency-tracking],
869
869
  [do not reject slow dependency extractors])
@@ -881,60 +881,51 @@ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
881
881
  AC_SUBST([am__nodep])dnl
882
882
  _AM_SUBST_NOTMAKE([am__nodep])dnl
883
883
  ])
884
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/depout.m4:61: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
884
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/depout.m4:52: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
885
885
  # Older Autoconf quotes --file arguments for eval, but not when files
886
886
  # are listed without --file. Let's play safe and only enable the eval
887
887
  # if we detect the quoting.
888
- case $CONFIG_FILES in
889
- *\'*) eval set x "$CONFIG_FILES" ;;
890
- *) set x $CONFIG_FILES ;;
891
- esac
888
+ # TODO: see whether this extra hack can be removed once we start
889
+ # requiring Autoconf 2.70 or later.
890
+ AS_CASE([$CONFIG_FILES],
891
+ [*\'*], [eval set x "$CONFIG_FILES"],
892
+ [*], [set x $CONFIG_FILES])
892
893
  shift
893
- for mf
894
+ # Used to flag and report bootstrapping failures.
895
+ am_rc=0
896
+ for am_mf
894
897
  do
895
898
  # Strip MF so we end up with the name of the file.
896
- mf=`echo "$mf" | sed -e 's/:.*$//'`
897
- # Check whether this is an Automake generated Makefile or not.
898
- # We used to match only the files named 'Makefile.in', but
899
- # some people rename them; so instead we look at the file content.
900
- # Grep'ing the first line is not enough: some people post-process
901
- # each Makefile.in and add a new line on top of each file to say so.
902
- # Grep'ing the whole file is not good either: AIX grep has a line
899
+ am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
900
+ # Check whether this is an Automake generated Makefile which includes
901
+ # dependency-tracking related rules and includes.
902
+ # Grep'ing the whole file directly is not great: AIX grep has a line
903
903
  # limit of 2048, but all sed's we know have understand at least 4000.
904
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
905
- dirpart=`AS_DIRNAME("$mf")`
906
- else
907
- continue
908
- fi
909
- # Extract the definition of DEPDIR, am__include, and am__quote
910
- # from the Makefile without running 'make'.
911
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
912
- test -z "$DEPDIR" && continue
913
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
914
- test -z "$am__include" && continue
915
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
916
- # Find all dependency output files, they are included files with
917
- # $(DEPDIR) in their names. We invoke sed twice because it is the
918
- # simplest approach to changing $(DEPDIR) to its actual value in the
919
- # expansion.
920
- for file in `sed -n "
921
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
922
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
923
- # Make sure the directory exists.
924
- test -f "$dirpart/$file" && continue
925
- fdir=`AS_DIRNAME(["$file"])`
926
- AS_MKDIR_P([$dirpart/$fdir])
927
- # echo "creating $dirpart/$file"
928
- echo '# dummy' > "$dirpart/$file"
929
- done
904
+ sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
905
+ || continue
906
+ am_dirpart=`AS_DIRNAME(["$am_mf"])`
907
+ am_filepart=`AS_BASENAME(["$am_mf"])`
908
+ AM_RUN_LOG([cd "$am_dirpart" \
909
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
910
+ | $MAKE -f - am--depfiles]) || am_rc=$?
930
911
  done
912
+ if test $am_rc -ne 0; then
913
+ AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
914
+ for automatic dependency tracking. Try re-running configure with the
915
+ '--disable-dependency-tracking' option to at least be able to build
916
+ the package (albeit without support for automatic dependency tracking).])
917
+ fi
918
+ AS_UNSET([am_dirpart])
919
+ AS_UNSET([am_filepart])
920
+ AS_UNSET([am_mf])
921
+ AS_UNSET([am_rc])
922
+ rm -f conftest-deps.mk
931
923
  }
932
924
  ])
933
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
925
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/depout.m4:65: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
934
926
  [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
935
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
936
- ])
937
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/init.m4:171: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
927
+ [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
928
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/init.m4:171: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
938
929
  dnl Autoconf wants to disallow AM_ names. We explicitly allow
939
930
  dnl the ones we care about.
940
931
  m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -994,8 +985,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
994
985
  AC_REQUIRE([AC_PROG_MKDIR_P])dnl
995
986
  # For better backward compatibility. To be removed once Automake 1.9.x
996
987
  # dies out for good. For more background, see:
997
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
998
- # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
988
+ # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
989
+ # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
999
990
  AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1000
991
  # We need awk for the "check" target (and possibly the TAP driver). The
1001
992
  # system "awk" is bad on some platforms.
@@ -1062,7 +1053,7 @@ END
1062
1053
  Aborting the configuration process, to ensure you take notice of the issue.
1063
1054
 
1064
1055
  You can download and install GNU coreutils to get an 'rm' implementation
1065
- that behaves properly: <http://www.gnu.org/software/coreutils/>.
1056
+ that behaves properly: <https://www.gnu.org/software/coreutils/>.
1066
1057
 
1067
1058
  If you want to complete the configuration process using your problematic
1068
1059
  'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -1076,7 +1067,7 @@ dnl The trailing newline in this macro's definition is deliberate, for
1076
1067
  dnl backward compatibility and to allow trailing 'dnl'-style comments
1077
1068
  dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1078
1069
  ])
1079
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/init.m4:198: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1070
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/init.m4:198: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1080
1071
  _am_arg=$1
1081
1072
  _am_stamp_count=1
1082
1073
  for _am_header in $config_headers :; do
@@ -1088,7 +1079,7 @@ for _am_header in $config_headers :; do
1088
1079
  esac
1089
1080
  done
1090
1081
  echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1091
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/install-sh.m4:21: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1082
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/install-sh.m4:21: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1092
1083
  if test x"${install_sh+set}" != xset; then
1093
1084
  case $am_aux_dir in
1094
1085
  *\ * | *\ *)
@@ -1098,7 +1089,7 @@ if test x"${install_sh+set}" != xset; then
1098
1089
  esac
1099
1090
  fi
1100
1091
  AC_SUBST([install_sh])])
1101
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/lead-dot.m4:19: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1092
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/lead-dot.m4:19: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1102
1093
  mkdir .tst 2>/dev/null
1103
1094
  if test -d .tst; then
1104
1095
  am__leading_dot=.
@@ -1107,47 +1098,39 @@ else
1107
1098
  fi
1108
1099
  rmdir .tst 2>/dev/null
1109
1100
  AC_SUBST([am__leading_dot])])
1110
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/make.m4:49: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1111
- cat > confinc << 'END'
1101
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/make.m4:41: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
1102
+ cat > confinc.mk << 'END'
1112
1103
  am__doit:
1113
- @echo this is the am__doit target
1104
+ @echo this is the am__doit target >confinc.out
1114
1105
  .PHONY: am__doit
1115
1106
  END
1116
- # If we don't find an include directive, just comment out the code.
1117
- AC_MSG_CHECKING([for style of include used by $am_make])
1118
1107
  am__include="#"
1119
1108
  am__quote=
1120
- _am_result=none
1121
- # First try GNU make style include.
1122
- echo "include confinc" > confmf
1123
- # Ignore all kinds of additional output from 'make'.
1124
- case `$am_make -s -f confmf 2> /dev/null` in #(
1125
- *the\ am__doit\ target*)
1126
- am__include=include
1127
- am__quote=
1128
- _am_result=GNU
1129
- ;;
1130
- esac
1131
- # Now try BSD make style include.
1132
- if test "$am__include" = "#"; then
1133
- echo '.include "confinc"' > confmf
1134
- case `$am_make -s -f confmf 2> /dev/null` in #(
1135
- *the\ am__doit\ target*)
1136
- am__include=.include
1137
- am__quote="\""
1138
- _am_result=BSD
1139
- ;;
1140
- esac
1141
- fi
1142
- AC_SUBST([am__include])
1143
- AC_SUBST([am__quote])
1144
- AC_MSG_RESULT([$_am_result])
1145
- rm -f confinc confmf
1146
- ])
1147
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1109
+ # BSD make does it like this.
1110
+ echo '.include "confinc.mk" # ignored' > confmf.BSD
1111
+ # Other make implementations (GNU, Solaris 10, AIX) do it like this.
1112
+ echo 'include confinc.mk # ignored' > confmf.GNU
1113
+ _am_result=no
1114
+ for s in GNU BSD; do
1115
+ AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
1116
+ AS_CASE([$?:`cat confinc.out 2>/dev/null`],
1117
+ ['0:this is the am__doit target'],
1118
+ [AS_CASE([$s],
1119
+ [BSD], [am__include='.include' am__quote='"'],
1120
+ [am__include='include' am__quote=''])])
1121
+ if test "$am__include" != "#"; then
1122
+ _am_result="yes ($s style)"
1123
+ break
1124
+ fi
1125
+ done
1126
+ rm -f confinc.* confmf.*
1127
+ AC_MSG_RESULT([${_am_result}])
1128
+ AC_SUBST([am__include])])
1129
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$])
1130
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1148
1131
  $1=${$1-"${am_missing_run}$2"}
1149
1132
  AC_SUBST($1)])
1150
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/missing.m4:38: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1133
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/missing.m4:38: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1151
1134
  AC_REQUIRE_AUX_FILE([missing])dnl
1152
1135
  if test x"${MISSING+set}" != xset; then
1153
1136
  case $am_aux_dir in
@@ -1165,11 +1148,11 @@ else
1165
1148
  AC_MSG_WARN(['missing' script is too old or missing])
1166
1149
  fi
1167
1150
  ])
1168
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/options.m4:12: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1169
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/options.m4:18: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1170
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/options.m4:24: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1171
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/options.m4:30: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1172
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/prog-cc-c-o.m4:44: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1151
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/options.m4:12: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1152
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/options.m4:18: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1153
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/options.m4:24: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1154
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/options.m4:30: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1155
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/prog-cc-c-o.m4:44: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1173
1156
  AC_REQUIRE_AUX_FILE([compile])dnl
1174
1157
  AC_LANG_PUSH([C])dnl
1175
1158
  AC_CACHE_CHECK(
@@ -1201,13 +1184,13 @@ if test "$am_cv_prog_cc_c_o" != yes; then
1201
1184
  CC="$am_aux_dir/compile $CC"
1202
1185
  fi
1203
1186
  AC_LANG_POP([C])])
1204
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1205
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1187
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1188
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1206
1189
  ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1207
1190
  ac_status=$?
1208
1191
  echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1209
1192
  (exit $ac_status); }])
1210
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/sanity.m4:82: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1193
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/sanity.m4:82: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1211
1194
  # Reject unsafe characters in $srcdir or the absolute working directory
1212
1195
  # name. Accept space and tab only in the latter.
1213
1196
  am_lf='
@@ -1278,7 +1261,7 @@ AC_CONFIG_COMMANDS_PRE(
1278
1261
  AC_MSG_RESULT([done])])
1279
1262
  rm -f conftest.file
1280
1263
  ])
1281
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/silent.m4:60: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
1264
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/silent.m4:60: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
1282
1265
  AS_HELP_STRING(
1283
1266
  [--enable-silent-rules],
1284
1267
  [less verbose build output (undo: "make V=1")])
@@ -1326,7 +1309,7 @@ AM_BACKSLASH='\'
1326
1309
  AC_SUBST([AM_BACKSLASH])dnl
1327
1310
  _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1328
1311
  ])
1329
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1312
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1330
1313
  # Installed binaries are usually stripped using 'strip' when the user
1331
1314
  # run "make install-strip". However 'strip' might not be the right
1332
1315
  # tool to use in cross-compilation environments, therefore Automake
@@ -1337,9 +1320,9 @@ if test "$cross_compiling" != no; then
1337
1320
  fi
1338
1321
  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1339
1322
  AC_SUBST([INSTALL_STRIP_PROGRAM])])
1340
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1341
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1342
- m4trace:/usr/local/Cellar/automake/1.15.1/share/aclocal-1.15/tar.m4:132: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
1323
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1324
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1325
+ m4trace:/usr/local/Cellar/automake/1.16.1/share/aclocal-1.16/tar.m4:132: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
1343
1326
  # in the wild :-( We should find a proper way to deprecate it ...
1344
1327
  AC_SUBST([AMTAR], ['$${TAR-tar}'])
1345
1328
 
@@ -2491,7 +2474,7 @@ m4trace:configure.ac:13: -1- AC_CONFIG_MACRO_DIR([m4])
2491
2474
  m4trace:configure.ac:16: -1- AM_INIT_AUTOMAKE([1.9 foreign])
2492
2475
  m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
2493
2476
  m4trace:configure.ac:16: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
2494
- m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.15.1])
2477
+ m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.16.1])
2495
2478
  m4trace:configure.ac:16: -1- _AM_AUTOCONF_VERSION([2.69])
2496
2479
  m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
2497
2480
  m4trace:configure.ac:16: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
@@ -2596,8 +2579,8 @@ m4trace:configure.ac:29: -1- AM_SET_DEPDIR
2596
2579
  m4trace:configure.ac:29: -1- m4_pattern_allow([^DEPDIR$])
2597
2580
  m4trace:configure.ac:29: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
2598
2581
  m4trace:configure.ac:29: -1- AM_MAKE_INCLUDE
2582
+ m4trace:configure.ac:29: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
2599
2583
  m4trace:configure.ac:29: -1- m4_pattern_allow([^am__include$])
2600
- m4trace:configure.ac:29: -1- m4_pattern_allow([^am__quote$])
2601
2584
  m4trace:configure.ac:29: -1- AM_DEP_TRACK
2602
2585
  m4trace:configure.ac:29: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
2603
2586
  m4trace:configure.ac:29: -1- m4_pattern_allow([^AMDEP_TRUE$])
@@ -2839,4 +2822,7 @@ m4trace:configure.ac:214: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
2839
2822
  m4trace:configure.ac:214: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
2840
2823
  m4trace:configure.ac:214: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
2841
2824
  m4trace:configure.ac:214: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
2825
+ m4trace:configure.ac:214: -1- AM_RUN_LOG([cd "$am_dirpart" \
2826
+ && sed -e '/# am--include-marker/d' "$am_filepart" \
2827
+ | $MAKE -f - am--depfiles])
2842
2828
  m4trace:configure.ac:214: -1- _LT_PROG_LTMAIN
@@ -1,8 +1,11 @@
1
- m4trace:aclocal.m4:1153: -1- m4_include([m4/libtool.m4])
2
- m4trace:aclocal.m4:1154: -1- m4_include([m4/ltoptions.m4])
3
- m4trace:aclocal.m4:1155: -1- m4_include([m4/ltsugar.m4])
4
- m4trace:aclocal.m4:1156: -1- m4_include([m4/ltversion.m4])
5
- m4trace:aclocal.m4:1157: -1- m4_include([m4/lt~obsolete.m4])
1
+ m4trace:aclocal.m4:679: -1- AC_SUBST([am__quote])
2
+ m4trace:aclocal.m4:679: -1- AC_SUBST_TRACE([am__quote])
3
+ m4trace:aclocal.m4:679: -1- m4_pattern_allow([^am__quote$])
4
+ m4trace:aclocal.m4:1136: -1- m4_include([m4/libtool.m4])
5
+ m4trace:aclocal.m4:1137: -1- m4_include([m4/ltoptions.m4])
6
+ m4trace:aclocal.m4:1138: -1- m4_include([m4/ltsugar.m4])
7
+ m4trace:aclocal.m4:1139: -1- m4_include([m4/ltversion.m4])
8
+ m4trace:aclocal.m4:1140: -1- m4_include([m4/lt~obsolete.m4])
6
9
  m4trace:configure.ac:9: -1- AC_INIT([nutcracker], [NC_MAJOR.NC_MINOR.NC_PATCH], [NC_BUGS])
7
10
  m4trace:configure.ac:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
8
11
  m4trace:configure.ac:9: -1- m4_pattern_forbid([_AC_])
@@ -155,7 +158,7 @@ m4trace:configure.ac:11: -1- AC_CONFIG_AUX_DIR([config])
155
158
  m4trace:configure.ac:12: -1- AC_CONFIG_HEADERS([config.h:config.h.in])
156
159
  m4trace:configure.ac:16: -1- AM_INIT_AUTOMAKE([1.9 foreign])
157
160
  m4trace:configure.ac:16: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
158
- m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.15.1])
161
+ m4trace:configure.ac:16: -1- AM_AUTOMAKE_VERSION([1.16.1])
159
162
  m4trace:configure.ac:16: -1- AC_REQUIRE_AUX_FILE([install-sh])
160
163
  m4trace:configure.ac:16: -1- AC_SUBST([INSTALL_PROGRAM])
161
164
  m4trace:configure.ac:16: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
@@ -315,9 +318,6 @@ m4trace:configure.ac:29: -1- m4_pattern_allow([^DEPDIR$])
315
318
  m4trace:configure.ac:29: -1- AC_SUBST([am__include])
316
319
  m4trace:configure.ac:29: -1- AC_SUBST_TRACE([am__include])
317
320
  m4trace:configure.ac:29: -1- m4_pattern_allow([^am__include$])
318
- m4trace:configure.ac:29: -1- AC_SUBST([am__quote])
319
- m4trace:configure.ac:29: -1- AC_SUBST_TRACE([am__quote])
320
- m4trace:configure.ac:29: -1- m4_pattern_allow([^am__quote$])
321
321
  m4trace:configure.ac:29: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
322
322
  m4trace:configure.ac:29: -1- AC_SUBST([AMDEP_TRUE])
323
323
  m4trace:configure.ac:29: -1- AC_SUBST_TRACE([AMDEP_TRUE])
@@ -1,9 +1,9 @@
1
1
  #! /bin/sh
2
2
  # Wrapper for compilers which do not understand '-c -o'.
3
3
 
4
- scriptversion=2016-01-11.22; # UTC
4
+ scriptversion=2018-03-07.03; # UTC
5
5
 
6
- # Copyright (C) 1999-2017 Free Software Foundation, Inc.
6
+ # Copyright (C) 1999-2018 Free Software Foundation, Inc.
7
7
  # Written by Tom Tromey <tromey@cygnus.com>.
8
8
  #
9
9
  # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@ scriptversion=2016-01-11.22; # UTC
17
17
  # GNU 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, see <http://www.gnu.org/licenses/>.
20
+ # along with this program. If not, see <https://www.gnu.org/licenses/>.
21
21
 
22
22
  # As a special exception to the GNU General Public License, if you
23
23
  # distribute this file as part of a program that contains a
@@ -340,7 +340,7 @@ exit $ret
340
340
  # Local Variables:
341
341
  # mode: shell-script
342
342
  # sh-indentation: 2
343
- # eval: (add-hook 'write-file-hooks 'time-stamp)
343
+ # eval: (add-hook 'before-save-hook 'time-stamp)
344
344
  # time-stamp-start: "scriptversion="
345
345
  # time-stamp-format: "%:y-%02m-%02d.%02H"
346
346
  # time-stamp-time-zone: "UTC0"
@@ -1,8 +1,8 @@
1
1
  #! /bin/sh
2
2
  # Attempt to guess a canonical system name.
3
- # Copyright 1992-2017 Free Software Foundation, Inc.
3
+ # Copyright 1992-2018 Free Software Foundation, Inc.
4
4
 
5
- timestamp='2017-05-27'
5
+ timestamp='2018-03-08'
6
6
 
7
7
  # This file is free software; you can redistribute it and/or modify it
8
8
  # under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2017-05-27'
15
15
  # General Public License for more details.
16
16
  #
17
17
  # You should have received a copy of the GNU General Public License
18
- # along with this program; if not, see <http://www.gnu.org/licenses/>.
18
+ # along with this program; if not, see <https://www.gnu.org/licenses/>.
19
19
  #
20
20
  # As a special exception to the GNU General Public License, if you
21
21
  # distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@ timestamp='2017-05-27'
27
27
  # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
28
28
  #
29
29
  # You can get the latest version of this script from:
30
- # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
30
+ # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31
31
  #
32
32
  # Please send patches to <config-patches@gnu.org>.
33
33
 
@@ -39,7 +39,7 @@ Usage: $0 [OPTION]
39
39
 
40
40
  Output the configuration name of the system \`$me' is run on.
41
41
 
42
- Operation modes:
42
+ Options:
43
43
  -h, --help print this help, then exit
44
44
  -t, --time-stamp print date of last modification, then exit
45
45
  -v, --version print version number, then exit
@@ -50,7 +50,7 @@ version="\
50
50
  GNU config.guess ($timestamp)
51
51
 
52
52
  Originally written by Per Bothner.
53
- Copyright 1992-2017 Free Software Foundation, Inc.
53
+ Copyright 1992-2018 Free Software Foundation, Inc.
54
54
 
55
55
  This is free software; see the source for copying conditions. There is NO
56
56
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -107,9 +107,9 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
107
107
  dummy=$tmp/dummy ;
108
108
  tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109
109
  case $CC_FOR_BUILD,$HOST_CC,$CC in
110
- ,,) echo "int x;" > $dummy.c ;
110
+ ,,) echo "int x;" > "$dummy.c" ;
111
111
  for c in cc gcc c89 c99 ; do
112
- if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
112
+ if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
113
113
  CC_FOR_BUILD="$c"; break ;
114
114
  fi ;
115
115
  done ;
@@ -132,14 +132,14 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132
132
  UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133
133
  UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134
134
 
135
- case "${UNAME_SYSTEM}" in
135
+ case "$UNAME_SYSTEM" in
136
136
  Linux|GNU|GNU/*)
137
137
  # If the system lacks a compiler, then just pick glibc.
138
138
  # We could probably try harder.
139
139
  LIBC=gnu
140
140
 
141
- eval $set_cc_for_build
142
- cat <<-EOF > $dummy.c
141
+ eval "$set_cc_for_build"
142
+ cat <<-EOF > "$dummy.c"
143
143
  #include <features.h>
144
144
  #if defined(__UCLIBC__)
145
145
  LIBC=uclibc
@@ -149,13 +149,20 @@ Linux|GNU|GNU/*)
149
149
  LIBC=gnu
150
150
  #endif
151
151
  EOF
152
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
152
+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
153
+
154
+ # If ldd exists, use it to detect musl libc.
155
+ if command -v ldd >/dev/null && \
156
+ ldd --version 2>&1 | grep -q ^musl
157
+ then
158
+ LIBC=musl
159
+ fi
153
160
  ;;
154
161
  esac
155
162
 
156
163
  # Note: order is significant - the case branches are not exclusive.
157
164
 
158
- case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
165
+ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
159
166
  *:NetBSD:*:*)
160
167
  # NetBSD (nbsd) targets should (where applicable) match one or
161
168
  # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
@@ -169,30 +176,30 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
169
176
  # portion of the name. We always set it to "unknown".
170
177
  sysctl="sysctl -n hw.machine_arch"
171
178
  UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
172
- /sbin/$sysctl 2>/dev/null || \
173
- /usr/sbin/$sysctl 2>/dev/null || \
179
+ "/sbin/$sysctl" 2>/dev/null || \
180
+ "/usr/sbin/$sysctl" 2>/dev/null || \
174
181
  echo unknown)`
175
- case "${UNAME_MACHINE_ARCH}" in
182
+ case "$UNAME_MACHINE_ARCH" in
176
183
  armeb) machine=armeb-unknown ;;
177
184
  arm*) machine=arm-unknown ;;
178
185
  sh3el) machine=shl-unknown ;;
179
186
  sh3eb) machine=sh-unknown ;;
180
187
  sh5el) machine=sh5le-unknown ;;
181
188
  earmv*)
182
- arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
183
- endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
184
- machine=${arch}${endian}-unknown
189
+ arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
190
+ endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
191
+ machine="${arch}${endian}"-unknown
185
192
  ;;
186
- *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
193
+ *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
187
194
  esac
188
195
  # The Operating System including object format, if it has switched
189
196
  # to ELF recently (or will in the future) and ABI.
190
- case "${UNAME_MACHINE_ARCH}" in
197
+ case "$UNAME_MACHINE_ARCH" in
191
198
  earm*)
192
199
  os=netbsdelf
193
200
  ;;
194
201
  arm*|i386|m68k|ns32k|sh3*|sparc|vax)
195
- eval $set_cc_for_build
202
+ eval "$set_cc_for_build"
196
203
  if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
197
204
  | grep -q __ELF__
198
205
  then
@@ -208,10 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
208
215
  ;;
209
216
  esac
210
217
  # Determine ABI tags.
211
- case "${UNAME_MACHINE_ARCH}" in
218
+ case "$UNAME_MACHINE_ARCH" in
212
219
  earm*)
213
220
  expr='s/^earmv[0-9]/-eabi/;s/eb$//'
214
- abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
221
+ abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
215
222
  ;;
216
223
  esac
217
224
  # The OS release
@@ -219,46 +226,55 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
219
226
  # thus, need a distinct triplet. However, they do not need
220
227
  # kernel version information, so it can be replaced with a
221
228
  # suitable tag, in the style of linux-gnu.
222
- case "${UNAME_VERSION}" in
229
+ case "$UNAME_VERSION" in
223
230
  Debian*)
224
231
  release='-gnu'
225
232
  ;;
226
233
  *)
227
- release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
234
+ release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
228
235
  ;;
229
236
  esac
230
237
  # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
231
238
  # contains redundant information, the shorter form:
232
239
  # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
233
- echo "${machine}-${os}${release}${abi}"
240
+ echo "$machine-${os}${release}${abi}"
234
241
  exit ;;
235
242
  *:Bitrig:*:*)
236
243
  UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
237
- echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
244
+ echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
238
245
  exit ;;
239
246
  *:OpenBSD:*:*)
240
247
  UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
241
- echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
248
+ echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
242
249
  exit ;;
243
250
  *:LibertyBSD:*:*)
244
251
  UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
245
- echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
252
+ echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
253
+ exit ;;
254
+ *:MidnightBSD:*:*)
255
+ echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
246
256
  exit ;;
247
257
  *:ekkoBSD:*:*)
248
- echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
258
+ echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
249
259
  exit ;;
250
260
  *:SolidBSD:*:*)
251
- echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
261
+ echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
252
262
  exit ;;
253
263
  macppc:MirBSD:*:*)
254
- echo powerpc-unknown-mirbsd${UNAME_RELEASE}
264
+ echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
255
265
  exit ;;
256
266
  *:MirBSD:*:*)
257
- echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
267
+ echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
258
268
  exit ;;
259
269
  *:Sortix:*:*)
260
- echo ${UNAME_MACHINE}-unknown-sortix
270
+ echo "$UNAME_MACHINE"-unknown-sortix
271
+ exit ;;
272
+ *:Redox:*:*)
273
+ echo "$UNAME_MACHINE"-unknown-redox
261
274
  exit ;;
275
+ mips:OSF1:*.*)
276
+ echo mips-dec-osf1
277
+ exit ;;
262
278
  alpha:OSF1:*:*)
263
279
  case $UNAME_RELEASE in
264
280
  *4.0)
@@ -310,28 +326,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
310
326
  # A Tn.n version is a released field test version.
311
327
  # A Xn.n version is an unreleased experimental baselevel.
312
328
  # 1.2 uses "1.2" for uname -r.
313
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
329
+ echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
314
330
  # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
315
331
  exitcode=$?
316
332
  trap '' 0
317
333
  exit $exitcode ;;
318
- Alpha\ *:Windows_NT*:*)
319
- # How do we know it's Interix rather than the generic POSIX subsystem?
320
- # Should we change UNAME_MACHINE based on the output of uname instead
321
- # of the specific Alpha model?
322
- echo alpha-pc-interix
323
- exit ;;
324
- 21064:Windows_NT:50:3)
325
- echo alpha-dec-winnt3.5
326
- exit ;;
327
334
  Amiga*:UNIX_System_V:4.0:*)
328
335
  echo m68k-unknown-sysv4
329
336
  exit ;;
330
337
  *:[Aa]miga[Oo][Ss]:*:*)
331
- echo ${UNAME_MACHINE}-unknown-amigaos
338
+ echo "$UNAME_MACHINE"-unknown-amigaos
332
339
  exit ;;
333
340
  *:[Mm]orph[Oo][Ss]:*:*)
334
- echo ${UNAME_MACHINE}-unknown-morphos
341
+ echo "$UNAME_MACHINE"-unknown-morphos
335
342
  exit ;;
336
343
  *:OS/390:*:*)
337
344
  echo i370-ibm-openedition
@@ -343,7 +350,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
343
350
  echo powerpc-ibm-os400
344
351
  exit ;;
345
352
  arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
346
- echo arm-acorn-riscix${UNAME_RELEASE}
353
+ echo arm-acorn-riscix"$UNAME_RELEASE"
347
354
  exit ;;
348
355
  arm*:riscos:*:*|arm*:RISCOS:*:*)
349
356
  echo arm-unknown-riscos
@@ -370,19 +377,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
370
377
  sparc) echo sparc-icl-nx7; exit ;;
371
378
  esac ;;
372
379
  s390x:SunOS:*:*)
373
- echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
380
+ echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
374
381
  exit ;;
375
382
  sun4H:SunOS:5.*:*)
376
- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
383
+ echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
377
384
  exit ;;
378
385
  sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
379
- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
386
+ echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
380
387
  exit ;;
381
388
  i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
382
- echo i386-pc-auroraux${UNAME_RELEASE}
389
+ echo i386-pc-auroraux"$UNAME_RELEASE"
383
390
  exit ;;
384
391
  i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
385
- eval $set_cc_for_build
392
+ eval "$set_cc_for_build"
386
393
  SUN_ARCH=i386
387
394
  # If there is a compiler, see if it is configured for 64-bit objects.
388
395
  # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
@@ -395,13 +402,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
395
402
  SUN_ARCH=x86_64
396
403
  fi
397
404
  fi
398
- echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
405
+ echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
399
406
  exit ;;
400
407
  sun4*:SunOS:6*:*)
401
408
  # According to config.sub, this is the proper way to canonicalize
402
409
  # SunOS6. Hard to guess exactly what SunOS6 will be like, but
403
410
  # it's likely to be more like Solaris than SunOS4.
404
- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
411
+ echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
405
412
  exit ;;
406
413
  sun4*:SunOS:*:*)
407
414
  case "`/usr/bin/arch -k`" in
@@ -410,25 +417,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
410
417
  ;;
411
418
  esac
412
419
  # Japanese Language versions have a version number like `4.1.3-JL'.
413
- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
420
+ echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
414
421
  exit ;;
415
422
  sun3*:SunOS:*:*)
416
- echo m68k-sun-sunos${UNAME_RELEASE}
423
+ echo m68k-sun-sunos"$UNAME_RELEASE"
417
424
  exit ;;
418
425
  sun*:*:4.2BSD:*)
419
426
  UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
420
- test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
427
+ test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
421
428
  case "`/bin/arch`" in
422
429
  sun3)
423
- echo m68k-sun-sunos${UNAME_RELEASE}
430
+ echo m68k-sun-sunos"$UNAME_RELEASE"
424
431
  ;;
425
432
  sun4)
426
- echo sparc-sun-sunos${UNAME_RELEASE}
433
+ echo sparc-sun-sunos"$UNAME_RELEASE"
427
434
  ;;
428
435
  esac
429
436
  exit ;;
430
437
  aushp:SunOS:*:*)
431
- echo sparc-auspex-sunos${UNAME_RELEASE}
438
+ echo sparc-auspex-sunos"$UNAME_RELEASE"
432
439
  exit ;;
433
440
  # The situation for MiNT is a little confusing. The machine name
434
441
  # can be virtually everything (everything which is not
@@ -439,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
439
446
  # MiNT. But MiNT is downward compatible to TOS, so this should
440
447
  # be no problem.
441
448
  atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
442
- echo m68k-atari-mint${UNAME_RELEASE}
449
+ echo m68k-atari-mint"$UNAME_RELEASE"
443
450
  exit ;;
444
451
  atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
445
- echo m68k-atari-mint${UNAME_RELEASE}
452
+ echo m68k-atari-mint"$UNAME_RELEASE"
446
453
  exit ;;
447
454
  *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
448
- echo m68k-atari-mint${UNAME_RELEASE}
455
+ echo m68k-atari-mint"$UNAME_RELEASE"
449
456
  exit ;;
450
457
  milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
451
- echo m68k-milan-mint${UNAME_RELEASE}
458
+ echo m68k-milan-mint"$UNAME_RELEASE"
452
459
  exit ;;
453
460
  hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
454
- echo m68k-hades-mint${UNAME_RELEASE}
461
+ echo m68k-hades-mint"$UNAME_RELEASE"
455
462
  exit ;;
456
463
  *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
457
- echo m68k-unknown-mint${UNAME_RELEASE}
464
+ echo m68k-unknown-mint"$UNAME_RELEASE"
458
465
  exit ;;
459
466
  m68k:machten:*:*)
460
- echo m68k-apple-machten${UNAME_RELEASE}
467
+ echo m68k-apple-machten"$UNAME_RELEASE"
461
468
  exit ;;
462
469
  powerpc:machten:*:*)
463
- echo powerpc-apple-machten${UNAME_RELEASE}
470
+ echo powerpc-apple-machten"$UNAME_RELEASE"
464
471
  exit ;;
465
472
  RISC*:Mach:*:*)
466
473
  echo mips-dec-mach_bsd4.3
467
474
  exit ;;
468
475
  RISC*:ULTRIX:*:*)
469
- echo mips-dec-ultrix${UNAME_RELEASE}
476
+ echo mips-dec-ultrix"$UNAME_RELEASE"
470
477
  exit ;;
471
478
  VAX*:ULTRIX*:*:*)
472
- echo vax-dec-ultrix${UNAME_RELEASE}
479
+ echo vax-dec-ultrix"$UNAME_RELEASE"
473
480
  exit ;;
474
481
  2020:CLIX:*:* | 2430:CLIX:*:*)
475
- echo clipper-intergraph-clix${UNAME_RELEASE}
482
+ echo clipper-intergraph-clix"$UNAME_RELEASE"
476
483
  exit ;;
477
484
  mips:*:*:UMIPS | mips:*:*:RISCos)
478
- eval $set_cc_for_build
479
- sed 's/^ //' << EOF >$dummy.c
485
+ eval "$set_cc_for_build"
486
+ sed 's/^ //' << EOF > "$dummy.c"
480
487
  #ifdef __cplusplus
481
488
  #include <stdio.h> /* for printf() prototype */
482
489
  int main (int argc, char *argv[]) {
@@ -485,23 +492,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
485
492
  #endif
486
493
  #if defined (host_mips) && defined (MIPSEB)
487
494
  #if defined (SYSTYPE_SYSV)
488
- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
495
+ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
489
496
  #endif
490
497
  #if defined (SYSTYPE_SVR4)
491
- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
498
+ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
492
499
  #endif
493
500
  #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
494
- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
501
+ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
495
502
  #endif
496
503
  #endif
497
504
  exit (-1);
498
505
  }
499
506
  EOF
500
- $CC_FOR_BUILD -o $dummy $dummy.c &&
501
- dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
502
- SYSTEM_NAME=`$dummy $dummyarg` &&
507
+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
508
+ dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
509
+ SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
503
510
  { echo "$SYSTEM_NAME"; exit; }
504
- echo mips-mips-riscos${UNAME_RELEASE}
511
+ echo mips-mips-riscos"$UNAME_RELEASE"
505
512
  exit ;;
506
513
  Motorola:PowerMAX_OS:*:*)
507
514
  echo powerpc-motorola-powermax
@@ -527,17 +534,17 @@ EOF
527
534
  AViiON:dgux:*:*)
528
535
  # DG/UX returns AViiON for all architectures
529
536
  UNAME_PROCESSOR=`/usr/bin/uname -p`
530
- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
537
+ if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
531
538
  then
532
- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
533
- [ ${TARGET_BINARY_INTERFACE}x = x ]
539
+ if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
540
+ [ "$TARGET_BINARY_INTERFACE"x = x ]
534
541
  then
535
- echo m88k-dg-dgux${UNAME_RELEASE}
542
+ echo m88k-dg-dgux"$UNAME_RELEASE"
536
543
  else
537
- echo m88k-dg-dguxbcs${UNAME_RELEASE}
544
+ echo m88k-dg-dguxbcs"$UNAME_RELEASE"
538
545
  fi
539
546
  else
540
- echo i586-dg-dgux${UNAME_RELEASE}
547
+ echo i586-dg-dgux"$UNAME_RELEASE"
541
548
  fi
542
549
  exit ;;
543
550
  M88*:DolphinOS:*:*) # DolphinOS (SVR3)
@@ -554,7 +561,7 @@ EOF
554
561
  echo m68k-tektronix-bsd
555
562
  exit ;;
556
563
  *:IRIX*:*:*)
557
- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
564
+ echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
558
565
  exit ;;
559
566
  ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
560
567
  echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
@@ -566,14 +573,14 @@ EOF
566
573
  if [ -x /usr/bin/oslevel ] ; then
567
574
  IBM_REV=`/usr/bin/oslevel`
568
575
  else
569
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
576
+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
570
577
  fi
571
- echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
578
+ echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
572
579
  exit ;;
573
580
  *:AIX:2:3)
574
581
  if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
575
- eval $set_cc_for_build
576
- sed 's/^ //' << EOF >$dummy.c
582
+ eval "$set_cc_for_build"
583
+ sed 's/^ //' << EOF > "$dummy.c"
577
584
  #include <sys/systemcfg.h>
578
585
 
579
586
  main()
@@ -584,7 +591,7 @@ EOF
584
591
  exit(0);
585
592
  }
586
593
  EOF
587
- if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
594
+ if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
588
595
  then
589
596
  echo "$SYSTEM_NAME"
590
597
  else
@@ -598,7 +605,7 @@ EOF
598
605
  exit ;;
599
606
  *:AIX:*:[4567])
600
607
  IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
601
- if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
608
+ if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
602
609
  IBM_ARCH=rs6000
603
610
  else
604
611
  IBM_ARCH=powerpc
@@ -607,18 +614,18 @@ EOF
607
614
  IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
608
615
  awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
609
616
  else
610
- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
617
+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
611
618
  fi
612
- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
619
+ echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
613
620
  exit ;;
614
621
  *:AIX:*:*)
615
622
  echo rs6000-ibm-aix
616
623
  exit ;;
617
- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
624
+ ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
618
625
  echo romp-ibm-bsd4.4
619
626
  exit ;;
620
627
  ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
621
- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
628
+ echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
622
629
  exit ;; # report: romp-ibm BSD 4.3
623
630
  *:BOSX:*:*)
624
631
  echo rs6000-bull-bosx
@@ -633,28 +640,28 @@ EOF
633
640
  echo m68k-hp-bsd4.4
634
641
  exit ;;
635
642
  9000/[34678]??:HP-UX:*:*)
636
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
637
- case "${UNAME_MACHINE}" in
638
- 9000/31? ) HP_ARCH=m68000 ;;
639
- 9000/[34]?? ) HP_ARCH=m68k ;;
643
+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
644
+ case "$UNAME_MACHINE" in
645
+ 9000/31?) HP_ARCH=m68000 ;;
646
+ 9000/[34]??) HP_ARCH=m68k ;;
640
647
  9000/[678][0-9][0-9])
641
648
  if [ -x /usr/bin/getconf ]; then
642
649
  sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
643
650
  sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
644
- case "${sc_cpu_version}" in
651
+ case "$sc_cpu_version" in
645
652
  523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
646
653
  528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
647
654
  532) # CPU_PA_RISC2_0
648
- case "${sc_kernel_bits}" in
655
+ case "$sc_kernel_bits" in
649
656
  32) HP_ARCH=hppa2.0n ;;
650
657
  64) HP_ARCH=hppa2.0w ;;
651
658
  '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
652
659
  esac ;;
653
660
  esac
654
661
  fi
655
- if [ "${HP_ARCH}" = "" ]; then
656
- eval $set_cc_for_build
657
- sed 's/^ //' << EOF >$dummy.c
662
+ if [ "$HP_ARCH" = "" ]; then
663
+ eval "$set_cc_for_build"
664
+ sed 's/^ //' << EOF > "$dummy.c"
658
665
 
659
666
  #define _HPUX_SOURCE
660
667
  #include <stdlib.h>
@@ -687,13 +694,13 @@ EOF
687
694
  exit (0);
688
695
  }
689
696
  EOF
690
- (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
697
+ (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
691
698
  test -z "$HP_ARCH" && HP_ARCH=hppa
692
699
  fi ;;
693
700
  esac
694
- if [ ${HP_ARCH} = hppa2.0w ]
701
+ if [ "$HP_ARCH" = hppa2.0w ]
695
702
  then
696
- eval $set_cc_for_build
703
+ eval "$set_cc_for_build"
697
704
 
698
705
  # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
699
706
  # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
@@ -712,15 +719,15 @@ EOF
712
719
  HP_ARCH=hppa64
713
720
  fi
714
721
  fi
715
- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
722
+ echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
716
723
  exit ;;
717
724
  ia64:HP-UX:*:*)
718
- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
719
- echo ia64-hp-hpux${HPUX_REV}
725
+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
726
+ echo ia64-hp-hpux"$HPUX_REV"
720
727
  exit ;;
721
728
  3050*:HI-UX:*:*)
722
- eval $set_cc_for_build
723
- sed 's/^ //' << EOF >$dummy.c
729
+ eval "$set_cc_for_build"
730
+ sed 's/^ //' << EOF > "$dummy.c"
724
731
  #include <unistd.h>
725
732
  int
726
733
  main ()
@@ -745,11 +752,11 @@ EOF
745
752
  exit (0);
746
753
  }
747
754
  EOF
748
- $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
755
+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
749
756
  { echo "$SYSTEM_NAME"; exit; }
750
757
  echo unknown-hitachi-hiuxwe2
751
758
  exit ;;
752
- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
759
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
753
760
  echo hppa1.1-hp-bsd
754
761
  exit ;;
755
762
  9000/8??:4.3bsd:*:*)
@@ -758,7 +765,7 @@ EOF
758
765
  *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
759
766
  echo hppa1.0-hp-mpeix
760
767
  exit ;;
761
- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
768
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
762
769
  echo hppa1.1-hp-osf
763
770
  exit ;;
764
771
  hp8??:OSF1:*:*)
@@ -766,9 +773,9 @@ EOF
766
773
  exit ;;
767
774
  i*86:OSF1:*:*)
768
775
  if [ -x /usr/sbin/sysversion ] ; then
769
- echo ${UNAME_MACHINE}-unknown-osf1mk
776
+ echo "$UNAME_MACHINE"-unknown-osf1mk
770
777
  else
771
- echo ${UNAME_MACHINE}-unknown-osf1
778
+ echo "$UNAME_MACHINE"-unknown-osf1
772
779
  fi
773
780
  exit ;;
774
781
  parisc*:Lites*:*:*)
@@ -793,128 +800,109 @@ EOF
793
800
  echo c4-convex-bsd
794
801
  exit ;;
795
802
  CRAY*Y-MP:*:*:*)
796
- echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
803
+ echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
797
804
  exit ;;
798
805
  CRAY*[A-Z]90:*:*:*)
799
- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
806
+ echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
800
807
  | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
801
808
  -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
802
809
  -e 's/\.[^.]*$/.X/'
803
810
  exit ;;
804
811
  CRAY*TS:*:*:*)
805
- echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
812
+ echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
806
813
  exit ;;
807
814
  CRAY*T3E:*:*:*)
808
- echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
815
+ echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
809
816
  exit ;;
810
817
  CRAY*SV1:*:*:*)
811
- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
818
+ echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
812
819
  exit ;;
813
820
  *:UNICOS/mp:*:*)
814
- echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
821
+ echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
815
822
  exit ;;
816
823
  F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
817
824
  FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
818
825
  FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
819
- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
826
+ FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
820
827
  echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
821
828
  exit ;;
822
829
  5000:UNIX_System_V:4.*:*)
823
830
  FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
824
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
831
+ FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
825
832
  echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
826
833
  exit ;;
827
834
  i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
828
- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
835
+ echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
829
836
  exit ;;
830
837
  sparc*:BSD/OS:*:*)
831
- echo sparc-unknown-bsdi${UNAME_RELEASE}
838
+ echo sparc-unknown-bsdi"$UNAME_RELEASE"
832
839
  exit ;;
833
840
  *:BSD/OS:*:*)
834
- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
841
+ echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
835
842
  exit ;;
836
843
  *:FreeBSD:*:*)
837
844
  UNAME_PROCESSOR=`/usr/bin/uname -p`
838
- case ${UNAME_PROCESSOR} in
845
+ case "$UNAME_PROCESSOR" in
839
846
  amd64)
840
847
  UNAME_PROCESSOR=x86_64 ;;
841
848
  i386)
842
849
  UNAME_PROCESSOR=i586 ;;
843
850
  esac
844
- echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
851
+ echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
845
852
  exit ;;
846
853
  i*:CYGWIN*:*)
847
- echo ${UNAME_MACHINE}-pc-cygwin
854
+ echo "$UNAME_MACHINE"-pc-cygwin
848
855
  exit ;;
849
856
  *:MINGW64*:*)
850
- echo ${UNAME_MACHINE}-pc-mingw64
857
+ echo "$UNAME_MACHINE"-pc-mingw64
851
858
  exit ;;
852
859
  *:MINGW*:*)
853
- echo ${UNAME_MACHINE}-pc-mingw32
860
+ echo "$UNAME_MACHINE"-pc-mingw32
854
861
  exit ;;
855
862
  *:MSYS*:*)
856
- echo ${UNAME_MACHINE}-pc-msys
857
- exit ;;
858
- i*:windows32*:*)
859
- # uname -m includes "-pc" on this system.
860
- echo ${UNAME_MACHINE}-mingw32
863
+ echo "$UNAME_MACHINE"-pc-msys
861
864
  exit ;;
862
865
  i*:PW*:*)
863
- echo ${UNAME_MACHINE}-pc-pw32
866
+ echo "$UNAME_MACHINE"-pc-pw32
864
867
  exit ;;
865
868
  *:Interix*:*)
866
- case ${UNAME_MACHINE} in
869
+ case "$UNAME_MACHINE" in
867
870
  x86)
868
- echo i586-pc-interix${UNAME_RELEASE}
871
+ echo i586-pc-interix"$UNAME_RELEASE"
869
872
  exit ;;
870
873
  authenticamd | genuineintel | EM64T)
871
- echo x86_64-unknown-interix${UNAME_RELEASE}
874
+ echo x86_64-unknown-interix"$UNAME_RELEASE"
872
875
  exit ;;
873
876
  IA64)
874
- echo ia64-unknown-interix${UNAME_RELEASE}
877
+ echo ia64-unknown-interix"$UNAME_RELEASE"
875
878
  exit ;;
876
879
  esac ;;
877
- [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
878
- echo i${UNAME_MACHINE}-pc-mks
879
- exit ;;
880
- 8664:Windows_NT:*)
881
- echo x86_64-pc-mks
882
- exit ;;
883
- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
884
- # How do we know it's Interix rather than the generic POSIX subsystem?
885
- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
886
- # UNAME_MACHINE based on the output of uname instead of i386?
887
- echo i586-pc-interix
888
- exit ;;
889
880
  i*:UWIN*:*)
890
- echo ${UNAME_MACHINE}-pc-uwin
881
+ echo "$UNAME_MACHINE"-pc-uwin
891
882
  exit ;;
892
883
  amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
893
884
  echo x86_64-unknown-cygwin
894
885
  exit ;;
895
- p*:CYGWIN*:*)
896
- echo powerpcle-unknown-cygwin
897
- exit ;;
898
886
  prep*:SunOS:5.*:*)
899
- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
887
+ echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
900
888
  exit ;;
901
889
  *:GNU:*:*)
902
890
  # the GNU system
903
- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
891
+ echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
904
892
  exit ;;
905
893
  *:GNU/*:*:*)
906
894
  # other systems with GNU libc and userland
907
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
895
+ echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
908
896
  exit ;;
909
897
  i*86:Minix:*:*)
910
- echo ${UNAME_MACHINE}-pc-minix
898
+ echo "$UNAME_MACHINE"-pc-minix
911
899
  exit ;;
912
900
  aarch64:Linux:*:*)
913
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
901
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
914
902
  exit ;;
915
903
  aarch64_be:Linux:*:*)
916
904
  UNAME_MACHINE=aarch64_be
917
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
905
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
918
906
  exit ;;
919
907
  alpha:Linux:*:*)
920
908
  case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -928,63 +916,63 @@ EOF
928
916
  esac
929
917
  objdump --private-headers /bin/sh | grep -q ld.so.1
930
918
  if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
931
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
919
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
932
920
  exit ;;
933
921
  arc:Linux:*:* | arceb:Linux:*:*)
934
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
922
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
935
923
  exit ;;
936
924
  arm*:Linux:*:*)
937
- eval $set_cc_for_build
925
+ eval "$set_cc_for_build"
938
926
  if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
939
927
  | grep -q __ARM_EABI__
940
928
  then
941
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
929
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
942
930
  else
943
931
  if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
944
932
  | grep -q __ARM_PCS_VFP
945
933
  then
946
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
934
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
947
935
  else
948
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
936
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
949
937
  fi
950
938
  fi
951
939
  exit ;;
952
940
  avr32*:Linux:*:*)
953
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
941
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
954
942
  exit ;;
955
943
  cris:Linux:*:*)
956
- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
944
+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
957
945
  exit ;;
958
946
  crisv32:Linux:*:*)
959
- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
947
+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
960
948
  exit ;;
961
949
  e2k:Linux:*:*)
962
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
950
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
963
951
  exit ;;
964
952
  frv:Linux:*:*)
965
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
953
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
966
954
  exit ;;
967
955
  hexagon:Linux:*:*)
968
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
969
957
  exit ;;
970
958
  i*86:Linux:*:*)
971
- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
959
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
972
960
  exit ;;
973
961
  ia64:Linux:*:*)
974
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
962
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
975
963
  exit ;;
976
964
  k1om:Linux:*:*)
977
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
965
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
978
966
  exit ;;
979
967
  m32r*:Linux:*:*)
980
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
968
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
981
969
  exit ;;
982
970
  m68*:Linux:*:*)
983
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
971
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
984
972
  exit ;;
985
973
  mips:Linux:*:* | mips64:Linux:*:*)
986
- eval $set_cc_for_build
987
- sed 's/^ //' << EOF >$dummy.c
974
+ eval "$set_cc_for_build"
975
+ sed 's/^ //' << EOF > "$dummy.c"
988
976
  #undef CPU
989
977
  #undef ${UNAME_MACHINE}
990
978
  #undef ${UNAME_MACHINE}el
@@ -998,70 +986,70 @@ EOF
998
986
  #endif
999
987
  #endif
1000
988
  EOF
1001
- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
1002
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
989
+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
990
+ test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
1003
991
  ;;
1004
992
  mips64el:Linux:*:*)
1005
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
993
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1006
994
  exit ;;
1007
995
  openrisc*:Linux:*:*)
1008
- echo or1k-unknown-linux-${LIBC}
996
+ echo or1k-unknown-linux-"$LIBC"
1009
997
  exit ;;
1010
998
  or32:Linux:*:* | or1k*:Linux:*:*)
1011
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
999
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1012
1000
  exit ;;
1013
1001
  padre:Linux:*:*)
1014
- echo sparc-unknown-linux-${LIBC}
1002
+ echo sparc-unknown-linux-"$LIBC"
1015
1003
  exit ;;
1016
1004
  parisc64:Linux:*:* | hppa64:Linux:*:*)
1017
- echo hppa64-unknown-linux-${LIBC}
1005
+ echo hppa64-unknown-linux-"$LIBC"
1018
1006
  exit ;;
1019
1007
  parisc:Linux:*:* | hppa:Linux:*:*)
1020
1008
  # Look for CPU level
1021
1009
  case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1022
- PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
1023
- PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
1024
- *) echo hppa-unknown-linux-${LIBC} ;;
1010
+ PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1011
+ PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1012
+ *) echo hppa-unknown-linux-"$LIBC" ;;
1025
1013
  esac
1026
1014
  exit ;;
1027
1015
  ppc64:Linux:*:*)
1028
- echo powerpc64-unknown-linux-${LIBC}
1016
+ echo powerpc64-unknown-linux-"$LIBC"
1029
1017
  exit ;;
1030
1018
  ppc:Linux:*:*)
1031
- echo powerpc-unknown-linux-${LIBC}
1019
+ echo powerpc-unknown-linux-"$LIBC"
1032
1020
  exit ;;
1033
1021
  ppc64le:Linux:*:*)
1034
- echo powerpc64le-unknown-linux-${LIBC}
1022
+ echo powerpc64le-unknown-linux-"$LIBC"
1035
1023
  exit ;;
1036
1024
  ppcle:Linux:*:*)
1037
- echo powerpcle-unknown-linux-${LIBC}
1025
+ echo powerpcle-unknown-linux-"$LIBC"
1038
1026
  exit ;;
1039
1027
  riscv32:Linux:*:* | riscv64:Linux:*:*)
1040
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1028
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1041
1029
  exit ;;
1042
1030
  s390:Linux:*:* | s390x:Linux:*:*)
1043
- echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1031
+ echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1044
1032
  exit ;;
1045
1033
  sh64*:Linux:*:*)
1046
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1034
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1047
1035
  exit ;;
1048
1036
  sh*:Linux:*:*)
1049
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1037
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1050
1038
  exit ;;
1051
1039
  sparc:Linux:*:* | sparc64:Linux:*:*)
1052
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1040
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1053
1041
  exit ;;
1054
1042
  tile*:Linux:*:*)
1055
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1043
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1056
1044
  exit ;;
1057
1045
  vax:Linux:*:*)
1058
- echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1046
+ echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1059
1047
  exit ;;
1060
1048
  x86_64:Linux:*:*)
1061
- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
1049
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1062
1050
  exit ;;
1063
1051
  xtensa*:Linux:*:*)
1064
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1052
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1065
1053
  exit ;;
1066
1054
  i*86:DYNIX/ptx:4*:*)
1067
1055
  # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1075,34 +1063,34 @@ EOF
1075
1063
  # I am not positive that other SVR4 systems won't match this,
1076
1064
  # I just have to hope. -- rms.
1077
1065
  # Use sysv4.2uw... so that sysv4* matches it.
1078
- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1066
+ echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
1079
1067
  exit ;;
1080
1068
  i*86:OS/2:*:*)
1081
1069
  # If we were able to find `uname', then EMX Unix compatibility
1082
1070
  # is probably installed.
1083
- echo ${UNAME_MACHINE}-pc-os2-emx
1071
+ echo "$UNAME_MACHINE"-pc-os2-emx
1084
1072
  exit ;;
1085
1073
  i*86:XTS-300:*:STOP)
1086
- echo ${UNAME_MACHINE}-unknown-stop
1074
+ echo "$UNAME_MACHINE"-unknown-stop
1087
1075
  exit ;;
1088
1076
  i*86:atheos:*:*)
1089
- echo ${UNAME_MACHINE}-unknown-atheos
1077
+ echo "$UNAME_MACHINE"-unknown-atheos
1090
1078
  exit ;;
1091
1079
  i*86:syllable:*:*)
1092
- echo ${UNAME_MACHINE}-pc-syllable
1080
+ echo "$UNAME_MACHINE"-pc-syllable
1093
1081
  exit ;;
1094
1082
  i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1095
- echo i386-unknown-lynxos${UNAME_RELEASE}
1083
+ echo i386-unknown-lynxos"$UNAME_RELEASE"
1096
1084
  exit ;;
1097
1085
  i*86:*DOS:*:*)
1098
- echo ${UNAME_MACHINE}-pc-msdosdjgpp
1086
+ echo "$UNAME_MACHINE"-pc-msdosdjgpp
1099
1087
  exit ;;
1100
- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1101
- UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1088
+ i*86:*:4.*:*)
1089
+ UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1102
1090
  if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1103
- echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1091
+ echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
1104
1092
  else
1105
- echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1093
+ echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1106
1094
  fi
1107
1095
  exit ;;
1108
1096
  i*86:*:5:[678]*)
@@ -1112,12 +1100,12 @@ EOF
1112
1100
  *Pentium) UNAME_MACHINE=i586 ;;
1113
1101
  *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1114
1102
  esac
1115
- echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1103
+ echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
1116
1104
  exit ;;
1117
1105
  i*86:*:3.2:*)
1118
1106
  if test -f /usr/options/cb.name; then
1119
1107
  UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1120
- echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1108
+ echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
1121
1109
  elif /bin/uname -X 2>/dev/null >/dev/null ; then
1122
1110
  UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1123
1111
  (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
@@ -1127,9 +1115,9 @@ EOF
1127
1115
  && UNAME_MACHINE=i686
1128
1116
  (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1129
1117
  && UNAME_MACHINE=i686
1130
- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1118
+ echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1131
1119
  else
1132
- echo ${UNAME_MACHINE}-pc-sysv32
1120
+ echo "$UNAME_MACHINE"-pc-sysv32
1133
1121
  fi
1134
1122
  exit ;;
1135
1123
  pc:*:*:*)
@@ -1149,9 +1137,9 @@ EOF
1149
1137
  exit ;;
1150
1138
  i860:*:4.*:*) # i860-SVR4
1151
1139
  if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1152
- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1140
+ echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
1153
1141
  else # Add other i860-SVR4 vendors below as they are discovered.
1154
- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1142
+ echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
1155
1143
  fi
1156
1144
  exit ;;
1157
1145
  mini*:CTIX:SYS*5:*)
@@ -1171,9 +1159,9 @@ EOF
1171
1159
  test -r /etc/.relid \
1172
1160
  && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1173
1161
  /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1174
- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1162
+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1175
1163
  /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1176
- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1164
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1177
1165
  3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1178
1166
  /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1179
1167
  && { echo i486-ncr-sysv4; exit; } ;;
@@ -1182,28 +1170,28 @@ EOF
1182
1170
  test -r /etc/.relid \
1183
1171
  && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1184
1172
  /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1185
- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1173
+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1186
1174
  /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1187
- && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1175
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
1188
1176
  /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1189
- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1177
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1190
1178
  m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1191
- echo m68k-unknown-lynxos${UNAME_RELEASE}
1179
+ echo m68k-unknown-lynxos"$UNAME_RELEASE"
1192
1180
  exit ;;
1193
1181
  mc68030:UNIX_System_V:4.*:*)
1194
1182
  echo m68k-atari-sysv4
1195
1183
  exit ;;
1196
1184
  TSUNAMI:LynxOS:2.*:*)
1197
- echo sparc-unknown-lynxos${UNAME_RELEASE}
1185
+ echo sparc-unknown-lynxos"$UNAME_RELEASE"
1198
1186
  exit ;;
1199
1187
  rs6000:LynxOS:2.*:*)
1200
- echo rs6000-unknown-lynxos${UNAME_RELEASE}
1188
+ echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1201
1189
  exit ;;
1202
1190
  PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1203
- echo powerpc-unknown-lynxos${UNAME_RELEASE}
1191
+ echo powerpc-unknown-lynxos"$UNAME_RELEASE"
1204
1192
  exit ;;
1205
1193
  SM[BE]S:UNIX_SV:*:*)
1206
- echo mips-dde-sysv${UNAME_RELEASE}
1194
+ echo mips-dde-sysv"$UNAME_RELEASE"
1207
1195
  exit ;;
1208
1196
  RM*:ReliantUNIX-*:*:*)
1209
1197
  echo mips-sni-sysv4
@@ -1214,7 +1202,7 @@ EOF
1214
1202
  *:SINIX-*:*:*)
1215
1203
  if uname -p 2>/dev/null >/dev/null ; then
1216
1204
  UNAME_MACHINE=`(uname -p) 2>/dev/null`
1217
- echo ${UNAME_MACHINE}-sni-sysv4
1205
+ echo "$UNAME_MACHINE"-sni-sysv4
1218
1206
  else
1219
1207
  echo ns32k-sni-sysv
1220
1208
  fi
@@ -1234,23 +1222,23 @@ EOF
1234
1222
  exit ;;
1235
1223
  i*86:VOS:*:*)
1236
1224
  # From Paul.Green@stratus.com.
1237
- echo ${UNAME_MACHINE}-stratus-vos
1225
+ echo "$UNAME_MACHINE"-stratus-vos
1238
1226
  exit ;;
1239
1227
  *:VOS:*:*)
1240
1228
  # From Paul.Green@stratus.com.
1241
1229
  echo hppa1.1-stratus-vos
1242
1230
  exit ;;
1243
1231
  mc68*:A/UX:*:*)
1244
- echo m68k-apple-aux${UNAME_RELEASE}
1232
+ echo m68k-apple-aux"$UNAME_RELEASE"
1245
1233
  exit ;;
1246
1234
  news*:NEWS-OS:6*:*)
1247
1235
  echo mips-sony-newsos6
1248
1236
  exit ;;
1249
1237
  R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1250
1238
  if [ -d /usr/nec ]; then
1251
- echo mips-nec-sysv${UNAME_RELEASE}
1239
+ echo mips-nec-sysv"$UNAME_RELEASE"
1252
1240
  else
1253
- echo mips-unknown-sysv${UNAME_RELEASE}
1241
+ echo mips-unknown-sysv"$UNAME_RELEASE"
1254
1242
  fi
1255
1243
  exit ;;
1256
1244
  BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
@@ -1269,39 +1257,39 @@ EOF
1269
1257
  echo x86_64-unknown-haiku
1270
1258
  exit ;;
1271
1259
  SX-4:SUPER-UX:*:*)
1272
- echo sx4-nec-superux${UNAME_RELEASE}
1260
+ echo sx4-nec-superux"$UNAME_RELEASE"
1273
1261
  exit ;;
1274
1262
  SX-5:SUPER-UX:*:*)
1275
- echo sx5-nec-superux${UNAME_RELEASE}
1263
+ echo sx5-nec-superux"$UNAME_RELEASE"
1276
1264
  exit ;;
1277
1265
  SX-6:SUPER-UX:*:*)
1278
- echo sx6-nec-superux${UNAME_RELEASE}
1266
+ echo sx6-nec-superux"$UNAME_RELEASE"
1279
1267
  exit ;;
1280
1268
  SX-7:SUPER-UX:*:*)
1281
- echo sx7-nec-superux${UNAME_RELEASE}
1269
+ echo sx7-nec-superux"$UNAME_RELEASE"
1282
1270
  exit ;;
1283
1271
  SX-8:SUPER-UX:*:*)
1284
- echo sx8-nec-superux${UNAME_RELEASE}
1272
+ echo sx8-nec-superux"$UNAME_RELEASE"
1285
1273
  exit ;;
1286
1274
  SX-8R:SUPER-UX:*:*)
1287
- echo sx8r-nec-superux${UNAME_RELEASE}
1275
+ echo sx8r-nec-superux"$UNAME_RELEASE"
1288
1276
  exit ;;
1289
1277
  SX-ACE:SUPER-UX:*:*)
1290
- echo sxace-nec-superux${UNAME_RELEASE}
1278
+ echo sxace-nec-superux"$UNAME_RELEASE"
1291
1279
  exit ;;
1292
1280
  Power*:Rhapsody:*:*)
1293
- echo powerpc-apple-rhapsody${UNAME_RELEASE}
1281
+ echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1294
1282
  exit ;;
1295
1283
  *:Rhapsody:*:*)
1296
- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1284
+ echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1297
1285
  exit ;;
1298
1286
  *:Darwin:*:*)
1299
1287
  UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1300
- eval $set_cc_for_build
1288
+ eval "$set_cc_for_build"
1301
1289
  if test "$UNAME_PROCESSOR" = unknown ; then
1302
1290
  UNAME_PROCESSOR=powerpc
1303
1291
  fi
1304
- if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1292
+ if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1305
1293
  if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1306
1294
  if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1307
1295
  (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
@@ -1329,7 +1317,7 @@ EOF
1329
1317
  # that Apple uses in portable devices.
1330
1318
  UNAME_PROCESSOR=x86_64
1331
1319
  fi
1332
- echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1320
+ echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1333
1321
  exit ;;
1334
1322
  *:procnto*:*:* | *:QNX:[0123456789]*:*)
1335
1323
  UNAME_PROCESSOR=`uname -p`
@@ -1337,22 +1325,25 @@ EOF
1337
1325
  UNAME_PROCESSOR=i386
1338
1326
  UNAME_MACHINE=pc
1339
1327
  fi
1340
- echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1328
+ echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1341
1329
  exit ;;
1342
1330
  *:QNX:*:4*)
1343
1331
  echo i386-pc-qnx
1344
1332
  exit ;;
1345
1333
  NEO-*:NONSTOP_KERNEL:*:*)
1346
- echo neo-tandem-nsk${UNAME_RELEASE}
1334
+ echo neo-tandem-nsk"$UNAME_RELEASE"
1347
1335
  exit ;;
1348
1336
  NSE-*:NONSTOP_KERNEL:*:*)
1349
- echo nse-tandem-nsk${UNAME_RELEASE}
1337
+ echo nse-tandem-nsk"$UNAME_RELEASE"
1350
1338
  exit ;;
1351
1339
  NSR-*:NONSTOP_KERNEL:*:*)
1352
- echo nsr-tandem-nsk${UNAME_RELEASE}
1340
+ echo nsr-tandem-nsk"$UNAME_RELEASE"
1341
+ exit ;;
1342
+ NSV-*:NONSTOP_KERNEL:*:*)
1343
+ echo nsv-tandem-nsk"$UNAME_RELEASE"
1353
1344
  exit ;;
1354
1345
  NSX-*:NONSTOP_KERNEL:*:*)
1355
- echo nsx-tandem-nsk${UNAME_RELEASE}
1346
+ echo nsx-tandem-nsk"$UNAME_RELEASE"
1356
1347
  exit ;;
1357
1348
  *:NonStop-UX:*:*)
1358
1349
  echo mips-compaq-nonstopux
@@ -1361,7 +1352,7 @@ EOF
1361
1352
  echo bs2000-siemens-sysv
1362
1353
  exit ;;
1363
1354
  DS/*:UNIX_System_V:*:*)
1364
- echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1355
+ echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1365
1356
  exit ;;
1366
1357
  *:Plan9:*:*)
1367
1358
  # "uname -m" is not consistent, so use $cputype instead. 386
@@ -1372,7 +1363,7 @@ EOF
1372
1363
  else
1373
1364
  UNAME_MACHINE="$cputype"
1374
1365
  fi
1375
- echo ${UNAME_MACHINE}-unknown-plan9
1366
+ echo "$UNAME_MACHINE"-unknown-plan9
1376
1367
  exit ;;
1377
1368
  *:TOPS-10:*:*)
1378
1369
  echo pdp10-unknown-tops10
@@ -1393,14 +1384,14 @@ EOF
1393
1384
  echo pdp10-unknown-its
1394
1385
  exit ;;
1395
1386
  SEI:*:*:SEIUX)
1396
- echo mips-sei-seiux${UNAME_RELEASE}
1387
+ echo mips-sei-seiux"$UNAME_RELEASE"
1397
1388
  exit ;;
1398
1389
  *:DragonFly:*:*)
1399
- echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1390
+ echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
1400
1391
  exit ;;
1401
1392
  *:*VMS:*:*)
1402
1393
  UNAME_MACHINE=`(uname -p) 2>/dev/null`
1403
- case "${UNAME_MACHINE}" in
1394
+ case "$UNAME_MACHINE" in
1404
1395
  A*) echo alpha-dec-vms ; exit ;;
1405
1396
  I*) echo ia64-dec-vms ; exit ;;
1406
1397
  V*) echo vax-dec-vms ; exit ;;
@@ -1409,32 +1400,44 @@ EOF
1409
1400
  echo i386-pc-xenix
1410
1401
  exit ;;
1411
1402
  i*86:skyos:*:*)
1412
- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
1403
+ echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
1413
1404
  exit ;;
1414
1405
  i*86:rdos:*:*)
1415
- echo ${UNAME_MACHINE}-pc-rdos
1406
+ echo "$UNAME_MACHINE"-pc-rdos
1416
1407
  exit ;;
1417
1408
  i*86:AROS:*:*)
1418
- echo ${UNAME_MACHINE}-pc-aros
1409
+ echo "$UNAME_MACHINE"-pc-aros
1419
1410
  exit ;;
1420
1411
  x86_64:VMkernel:*:*)
1421
- echo ${UNAME_MACHINE}-unknown-esx
1412
+ echo "$UNAME_MACHINE"-unknown-esx
1422
1413
  exit ;;
1423
1414
  amd64:Isilon\ OneFS:*:*)
1424
1415
  echo x86_64-unknown-onefs
1425
1416
  exit ;;
1426
1417
  esac
1427
1418
 
1419
+ echo "$0: unable to guess system type" >&2
1420
+
1421
+ case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1422
+ mips:Linux | mips64:Linux)
1423
+ # If we got here on MIPS GNU/Linux, output extra information.
1424
+ cat >&2 <<EOF
1425
+
1426
+ NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1427
+ the system type. Please install a C compiler and try again.
1428
+ EOF
1429
+ ;;
1430
+ esac
1431
+
1428
1432
  cat >&2 <<EOF
1429
- $0: unable to guess system type
1430
1433
 
1431
1434
  This script (version $timestamp), has failed to recognize the
1432
- operating system you are using. If your script is old, overwrite
1433
- config.guess and config.sub with the latest versions from:
1435
+ operating system you are using. If your script is old, overwrite *all*
1436
+ copies of config.guess and config.sub with the latest versions from:
1434
1437
 
1435
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1438
+ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1436
1439
  and
1437
- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1440
+ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1438
1441
 
1439
1442
  If $0 has already been updated, send the following data and any
1440
1443
  information you think might be pertinent to config-patches@gnu.org to
@@ -1457,16 +1460,16 @@ hostinfo = `(hostinfo) 2>/dev/null`
1457
1460
  /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1458
1461
  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
1459
1462
 
1460
- UNAME_MACHINE = ${UNAME_MACHINE}
1461
- UNAME_RELEASE = ${UNAME_RELEASE}
1462
- UNAME_SYSTEM = ${UNAME_SYSTEM}
1463
- UNAME_VERSION = ${UNAME_VERSION}
1463
+ UNAME_MACHINE = "$UNAME_MACHINE"
1464
+ UNAME_RELEASE = "$UNAME_RELEASE"
1465
+ UNAME_SYSTEM = "$UNAME_SYSTEM"
1466
+ UNAME_VERSION = "$UNAME_VERSION"
1464
1467
  EOF
1465
1468
 
1466
1469
  exit 1
1467
1470
 
1468
1471
  # Local variables:
1469
- # eval: (add-hook 'write-file-hooks 'time-stamp)
1472
+ # eval: (add-hook 'before-save-hook 'time-stamp)
1470
1473
  # time-stamp-start: "timestamp='"
1471
1474
  # time-stamp-format: "%:y-%02m-%02d"
1472
1475
  # time-stamp-end: "'"