summaryrefslogtreecommitdiff
path: root/autom4te.cache/output.0
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-12 22:01:40 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-12 22:01:40 -0500
commit7d92f73f39072f1d6888f41c90cd8bb47d28b489 (patch)
tree552c39af6a2042c80ac5bc8e552520334f6d2c7c /autom4te.cache/output.0
parent3d35553ad4469d6c48ee27e87cb8bb3cc3628bb2 (diff)
downloadbash-7d92f73f39072f1d6888f41c90cd8bb47d28b489.tar.gz
commit bash-20100701 snapshot
Diffstat (limited to 'autom4te.cache/output.0')
-rw-r--r--autom4te.cache/output.0101
1 files changed, 100 insertions, 1 deletions
diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0
index b171291b..c5295b74 100644
--- a/autom4te.cache/output.0
+++ b/autom4te.cache/output.0
@@ -1,5 +1,5 @@
@%:@! /bin/sh
-@%:@ From configure.in for Bash 4.2, version 4.031.
+@%:@ From configure.in for Bash 4.2, version 4.032.
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.63 for bash 4.2-devel.
@%:@
@@ -28279,6 +28279,105 @@ _ACEOF
fi
+{ $as_echo "$as_me:$LINENO: checking for offset of exit status in return status from wait" >&5
+$as_echo_n "checking for offset of exit status in return status from wait... " >&6; }
+if test "${bash_cv_wexitstatus_offset+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ if test "$cross_compiling" = yes; then
+ { $as_echo "$as_me:$LINENO: WARNING: cannot check WEXITSTATUS offset if cross compiling -- defaulting to 0" >&5
+$as_echo "$as_me: WARNING: cannot check WEXITSTATUS offset if cross compiling -- defaulting to 0" >&2;}
+ bash_cv_wexitstatus_offset=0
+
+else
+ cat >conftest.$ac_ext <<_ACEOF
+
+#include <stdlib.h>
+#include <unistd.h>
+
+#include <sys/wait.h>
+
+main(c, v)
+ int c;
+ char **v;
+{
+ pid_t pid, p;
+ int s, i, n;
+
+ s = 0;
+ pid = fork();
+ if (pid == 0)
+ exit (42);
+
+ /* wait for the process */
+ p = wait(&s);
+ if (p != pid)
+ exit (255);
+
+ /* crack s */
+ for (i = 0; i < (sizeof(s) - 8); i++)
+ {
+ n = (s >> i) & 0xff;
+ if (n == 42)
+ exit (i);
+ }
+
+ exit (254);
+}
+
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ bash_cv_wexitstatus_offset=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+bash_cv_wexitstatus_offset=$?
+fi
+rm -rf conftest.dSYM
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+
+if test "$bash_cv_wexitstatus_offset" -gt 32 ; then
+ { $as_echo "$as_me:$LINENO: WARNING: bad exit status from test program -- defaulting to 0" >&5
+$as_echo "$as_me: WARNING: bad exit status from test program -- defaulting to 0" >&2;}
+ bash_cv_wexitstatus_offset=0
+fi
+{ $as_echo "$as_me:$LINENO: result: $bash_cv_wexitstatus_offset" >&5
+$as_echo "$bash_cv_wexitstatus_offset" >&6; }
+
+cat >>confdefs.h <<_ACEOF
+@%:@define WEXITSTATUS_OFFSET $bash_cv_wexitstatus_offset
+_ACEOF
+
+
+
{ $as_echo "$as_me:$LINENO: checking for the existence of strsignal" >&5
$as_echo_n "checking for the existence of strsignal... " >&6; }
if test "${bash_cv_have_strsignal+set}" = set; then