]>
Commit | Line | Data |
---|---|---|
7998fa78 AS |
1 | |
2 | # as_fn_set_status STATUS | |
3 | # ----------------------- | |
4 | # Set $? to STATUS, without forking. | |
5 | as_fn_set_status () | |
6 | { | |
7 | return $1 | |
8 | } # as_fn_set_status | |
9 | ||
10 | # as_fn_exit STATUS | |
11 | # ----------------- | |
12 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
13 | as_fn_exit () | |
14 | { | |
15 | set +e | |
16 | as_fn_set_status $1 | |
17 | exit $1 | |
18 | } # as_fn_exit | |
19 | if expr a : '\(a\)' >/dev/null 2>&1 && | |
20 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
21 | as_expr=expr | |
22 | else | |
23 | as_expr=false | |
24 | fi | |
25 | ||
26 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
27 | as_basename=basename | |
28 | else | |
29 | as_basename=false | |
30 | fi | |
31 | ||
32 | as_me=`$as_basename -- "$0" || | |
33 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
34 | X"$0" : 'X\(//\)$' \| \ | |
35 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
36 | $as_echo X/"$0" | | |
37 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
38 | s//\1/ | |
39 | q | |
40 | } | |
41 | /^X\/\(\/\/\)$/{ | |
42 | s//\1/ | |
43 | q | |
44 | } | |
45 | /^X\/\(\/\).*/{ | |
46 | s//\1/ | |
47 | q | |
48 | } | |
49 | s/.*/./; q'` | |
50 | ||
51 | ||
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. :-) | |
57 | sed -n ' | |
58 | p | |
59 | /[$]LINENO/= | |
60 | ' <$as_myself | | |
61 | sed ' | |
62 | s/[$]LINENO.*/&-/ | |
63 | t lineno | |
64 | b | |
65 | :lineno | |
66 | N | |
67 | :loop | |
68 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
69 | t loop | |
70 | s/-\n.*// | |
71 | ' >$as_me.lineno && | |
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; } | |
74 | ||
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). | |
78 | . "./$as_me.lineno" | |
79 | # Exit status is that of the last command. | |
80 | exit | |
81 | } | |
82 | ||
f2bfeadf UD |
83 | # This file is generated from configure.in by Autoconf. DO NOT EDIT! |
84 | # Local configure fragment for sysdeps/powerpc. | |
85 | ||
86 | # Accept binutils which knows about ".machine". | |
7998fa78 | 87 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .machine support" >&5 |
7967983f | 88 | $as_echo_n "checking for .machine support... " >&6; } |
7998fa78 | 89 | if ${libc_cv_ppc_machine+:} false; then : |
7967983f | 90 | $as_echo_n "(cached) " >&6 |
f2bfeadf UD |
91 | else |
92 | cat > conftest.s <<\EOF | |
93 | .machine "altivec" | |
94 | blr | |
95 | EOF | |
96 | if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' | |
7998fa78 | 97 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 |
f2bfeadf UD |
98 | (eval $ac_try) 2>&5 |
99 | ac_status=$? | |
7998fa78 AS |
100 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
101 | test $ac_status = 0; }; }; then | |
f2bfeadf UD |
102 | libc_cv_ppc_machine=yes |
103 | else | |
104 | libc_cv_ppc_machine=no | |
105 | fi | |
106 | rm -f conftest* | |
107 | fi | |
7998fa78 | 108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ppc_machine" >&5 |
7967983f | 109 | $as_echo "$libc_cv_ppc_machine" >&6; } |
f2bfeadf | 110 | if test $libc_cv_ppc_machine != yes; then |
7998fa78 | 111 | as_fn_error $? " |
f2bfeadf UD |
112 | *** A binutils version which can handle |
113 | *** .machine \"altivec\" | |
7998fa78 | 114 | *** is needed." "$LINENO" 5 |
f2bfeadf | 115 | fi |