summaryrefslogtreecommitdiff
path: root/build-aux/config.guess
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-04-30 09:18:18 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-04-30 09:18:18 -0700
commit4d52476fd5719cd1a4d308261a91b17a8ccfacc3 (patch)
treee0801f235ff747ae48b9b8ea657d1cf8c8551fa2 /build-aux/config.guess
parent5b891d3d9e310d4faa175f3a97921c466c907ba1 (diff)
downloadgnulib-4d52476fd5719cd1a4d308261a91b17a8ccfacc3.tar.gz
autoupdate (removing trailing white space from config.guess)
Diffstat (limited to 'build-aux/config.guess')
-rwxr-xr-xbuild-aux/config.guess27
1 files changed, 20 insertions, 7 deletions
diff --git a/build-aux/config.guess b/build-aux/config.guess
index 79d1317f52..4cd9454b35 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -2,7 +2,7 @@
# Attempt to guess a canonical system name.
# Copyright 1992-2019 Free Software Foundation, Inc.
-timestamp='2019-03-04'
+timestamp='2019-04-28'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1468,6 +1468,14 @@ cat > "$dummy.c" <<EOF
#include <sys/types.h>
#include <sys/utsname.h>
#endif
+#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
+#if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
+#include <signal.h>
+#if defined(_SIZE_T_) || defined(SIGLOST)
+#include <sys/utsname.h>
+#endif
+#endif
+#endif
main ()
{
#if defined (sony)
@@ -1555,18 +1563,23 @@ main ()
printf ("vax-dec-bsd\n"); exit (0);
#endif
#else
+#if defined(_SIZE_T_) || defined(SIGLOST)
+ struct utsname un;
+ uname (&un);
+ printf ("vax-dec-ultrix%s\n", un.release); exit (0);
+#else
printf ("vax-dec-ultrix\n"); exit (0);
#endif
#endif
+#endif
#if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
#if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
-#include <signal.h>
-#if defined(_SIZE_T_) /* >= ULTRIX4 */
- printf ("mips-dec-ultrix4\n"); exit (0);
+#if defined(_SIZE_T_) || defined(SIGLOST)
+ struct utsname *un;
+ uname (&un);
+ printf ("mips-dec-ultrix%s\n", un.release); exit (0);
#else
-#if defined(ULTRIX3) || defined(ultrix3) || defined(SIGLOST)
- printf ("mips-dec-ultrix3\n"); exit (0);
-#endif
+ printf ("mips-dec-ultrix\n"); exit (0);
#endif
#endif
#endif