2 # as_fn_set_status STATUS
3 # -----------------------
4 # Set $? to STATUS, without forking.
12 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19 if expr a : '\(a\)' >/dev/null 2>&1 &&
20 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32 as_me=`$as_basename -- "$0" ||
33 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34 X"$0" : 'X\(//\)$' \| \
35 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37 sed '/^.*\/\([^/][^/]*\)\/*$/{
52 as_lineno_1=$LINENO as_lineno_1a=$LINENO
53 as_lineno_2=$LINENO as_lineno_2a=$LINENO
54 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
55 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
56 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
68 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
72 chmod +x "$as_me.lineno" ||
73 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
75 # Don't try to exec as it changes $[0], causing all sort of problems
76 # (the dirname of $[0] is not the place where we might find the
77 # original and so on. Autoconf is especially sensitive to this).
79 # Exit status is that of the last command.
84 # ac_fn_c_try_compile LINENO
85 # --------------------------
86 # Try to compile conftest.$ac_ext, and return whether this succeeded.
87 ac_fn_c_try_compile ()
89 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
90 rm -f conftest.$ac_objext
91 if { { ac_try="$ac_compile"
93 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
94 *) ac_try_echo=$ac_try;;
96 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
97 $as_echo "$ac_try_echo"; } >&5
98 (eval "$ac_compile") 2>conftest.err
100 if test -s conftest.err; then
101 grep -v '^ *+' conftest.err >conftest.er1
103 mv -f conftest.er1 conftest.err
105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
106 test $ac_status = 0; } && {
107 test -z "$ac_c_werror_flag" ||
108 test ! -s conftest.err
109 } && test -s conftest.$ac_objext; then :
112 $as_echo "$as_me: failed program was:" >&5
113 sed 's/^/| /' conftest.$ac_ext >&5
117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
118 as_fn_set_status $ac_retval
120 } # ac_fn_c_try_compile
121 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
122 # Local preconfigure fragment for sysdeps/x86_64
124 test -n "$base_machine" || case "$machine" in
127 # Check if we are building for x32.
129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC compiles in -mx32 mode by default" >&5
130 $as_echo_n "checking whether $CC compiles in -mx32 mode by default... " >&6; }
131 if ${libc_cv_x32+:} false; then :
132 $as_echo_n "(cached) " >&6
134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
135 /* end confdefs.h. */
147 if ac_fn_c_try_compile "$LINENO"; then :
152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5
155 $as_echo "$libc_cv_x32" >&6; }
156 if test $libc_cv_x32 = yes; then