summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-08-22 02:33:41 +0200
committerKevin Ryde <user42@zip.com.au>2002-08-22 02:33:41 +0200
commitab94eb8cf71e9337ede16c2fed5be1672a7e3bf0 (patch)
tree3667300eda808ed3ee569d626f155fee1dbdf95a /config.guess
parent899956b1a25bccc8880089d108cdee66b70a9c79 (diff)
downloadgmp-ab94eb8cf71e9337ede16c2fed5be1672a7e3bf0.tar.gz
* config.guess (powerpc*-*-*): Use a { } construct to supress SIGILL
message on AIX.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.guess b/config.guess
index 0f799fc9b..10b978fd5 100755
--- a/config.guess
+++ b/config.guess
@@ -313,8 +313,9 @@ main ()
}
EOF
if ($CC_FOR_BUILD $dummy.c -o $dummy) >/dev/null 2>&1; then
- # use $SHELL -c to avoid a segv message when this program is run on AIX
- x=`$SHELL -c ./$dummy 2>/dev/null`
+ # This style construct is needed on AIX 4.3 to suppress the SIGILL error
+ # from (*fun)(). Using $SHELL -c ./$dummy 2>/dev/null doesn't work.
+ { x=`./$dummy`; } 2>/dev/null
if test -n "$x"; then
exact_cpu=$x
fi