~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to ports/sysdeps/arm/configure

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
# as_fn_arith ARG...
20
 
# ------------------
21
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
22
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
23
 
# must be portable across $(()) and expr.
24
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25
 
  eval 'as_fn_arith ()
26
 
  {
27
 
    as_val=$(( $* ))
28
 
  }'
29
 
else
30
 
  as_fn_arith ()
31
 
  {
32
 
    as_val=`expr "$@" || test $? -eq 1`
33
 
  }
34
 
fi # as_fn_arith
35
 
 
36
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
37
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
38
 
  as_expr=expr
39
 
else
40
 
  as_expr=false
41
 
fi
42
 
 
43
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
44
 
  as_basename=basename
45
 
else
46
 
  as_basename=false
47
 
fi
48
 
 
49
 
as_me=`$as_basename -- "$0" ||
50
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51
 
         X"$0" : 'X\(//\)$' \| \
52
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53
 
$as_echo X/"$0" |
54
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
55
 
            s//\1/
56
 
            q
57
 
          }
58
 
          /^X\/\(\/\/\)$/{
59
 
            s//\1/
60
 
            q
61
 
          }
62
 
          /^X\/\(\/\).*/{
63
 
            s//\1/
64
 
            q
65
 
          }
66
 
          s/.*/./; q'`
67
 
 
68
 
 
69
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
70
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
71
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
72
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
73
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
74
 
  sed -n '
75
 
    p
76
 
    /[$]LINENO/=
77
 
  ' <$as_myself |
78
 
    sed '
79
 
      s/[$]LINENO.*/&-/
80
 
      t lineno
81
 
      b
82
 
      :lineno
83
 
      N
84
 
      :loop
85
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
86
 
      t loop
87
 
      s/-\n.*//
88
 
    ' >$as_me.lineno &&
89
 
  chmod +x "$as_me.lineno" ||
90
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
91
 
 
92
 
  # Don't try to exec as it changes $[0], causing all sort of problems
93
 
  # (the dirname of $[0] is not the place where we might find the
94
 
  # original and so on.  Autoconf is especially sensitive to this).
95
 
  . "./$as_me.lineno"
96
 
  # Exit status is that of the last command.
97
 
  exit
98
 
}
99
 
 
100
1
# This file is generated from configure.in by Autoconf.  DO NOT EDIT!
101
2
 # Local configure fragment for sysdeps/arm.
102
3
 
103
 
# Check for support of thread-local storage handling in assembler and
104
 
# linker.
105
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM TLS support" >&5
106
 
$as_echo_n "checking for ARM TLS support... " >&6; }
107
 
if ${libc_cv_arm_tls+:} false; then :
108
 
  $as_echo_n "(cached) " >&6
109
 
else
110
 
  cat > conftest.s <<\EOF
111
 
        .section ".tdata", "awT", %progbits
112
 
        .globl foo
113
 
foo:    .long   1
114
 
        .section ".tbss", "awT", %nobits
115
 
        .globl bar
116
 
bar:    .skip   4
117
 
        .text
118
 
.word   foo(tpoff)
119
 
.word   foo(tlsgd)
120
 
EOF
121
 
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
122
 
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
123
 
  (eval $ac_try) 2>&5
124
 
  ac_status=$?
125
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
126
 
  test $ac_status = 0; }; }; then
127
 
  libc_cv_arm_tls=yes
128
 
else
129
 
  libc_cv_arm_tls=no
130
 
fi
131
 
rm -f conftest*
132
 
fi
133
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arm_tls" >&5
134
 
$as_echo "$libc_cv_arm_tls" >&6; }
135
 
if test $libc_cv_arm_tls = no; then
136
 
  as_fn_error $? "the assembler must support TLS" "$LINENO" 5
137
 
fi
138
 
 
139
4
#AC_DEFINE(PI_STATIC_AND_HIDDEN)
140
5
 
141
6
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the CFI directive .cfi_sections is supported" >&5
332
197
if test $libc_cv_arm_pcs_vfp = yes; then
333
198
  $as_echo "#define HAVE_ARM_PCS_VFP 1" >>confdefs.h
334
199
 
 
200
  echo "default-abi := hard" > default-abi.make
 
201
else
 
202
  echo "default-abi := soft" > default-abi.make
335
203
fi