~ubuntu-branches/ubuntu/utopic/eglibc/utopic

« back to all changes in this revision

Viewing changes to .pc/hurd-i386/local-enable-ldconfig.diff/sysdeps/mach/hurd/configure

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-10-26 05:14:58 UTC
  • mfrom: (1.5.1) (4.4.22 experimental)
  • Revision ID: package-import@ubuntu.com-20121026051458-oryotr4i03ob5pab
Tags: 2.16-0ubuntu1
* Merge with unreleased 2.16 in Debian experimental, remaining changes:
  - Drop the Breaks line from libc6, which refers to a Debian transition
  - Remove the libc6 recommends on libc6-i686, which we don't build
  - Enable libc6{,-dev}-armel on armhf and libc6{-dev}-armhf on armel
  - Ship update-locale and validlocale in /usr/sbin in libc-bin
  - Don't build locales or locales-all in Ubuntu, we rely on langpacks
  - Heavily mangle the way we do service restarting on major upgrades
  - Use different MIN_KERNEL_SUPPORTED versions than Debian, due to
    buildd needs.  This should be universally bumped to 3.2.0 once all
    our buildds (including the PPA guests) are running precise kernels
  - Build i386 variants as -march=i686, build amd64 with -O3, and build
    ppc64 variants (both 64-bit and 32-bit) with -O3 -fno-tree-vectorize
  - Re-enable unsubmitted-ldconfig-cache-abi.diff and rebuild the cache
    on upgrades from previous versions that used a different constant
  - debian/patches/any/local-CVE-2012-3406.diff: switch to malloc when
    array grows too large to handle via alloca extension (CVE-2012-3406)
  - Build generic i386/i686 flavour with -mno-tls-direct-seg-refs
* Changes added/dropped with this merge while reducing our delta:
  - Stop building glibc docs from the eglibc source, and instead make
    the glibc-docs stub have a hard dependency on glibc-doc-reference
  - Remove outdated conflicts against ancient versions of ia32-libs
  - Drop the tzdata dependency from libc6, it's in required and minimal
  - Use gcc-4.7/g++-4.7 by default on all our supported architectures
  - Save our historical changelog as changelog.ubuntu in the source
  - Drop nscd's libaudit build-dep for now, as libaudit is in universe
  - Drop the unnecessary Breaks from libc6 to locales and locales-all
  - Ship xen's ld.so.conf.d snippet as /etc/ld.so.conf.d/libc6-xen.conf
* Disable hard failures on the test suite for the first upload to raring

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
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
 
 
83
 
 
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 ()
 
88
{
 
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"
 
92
case "(($ac_try" in
 
93
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
94
  *) ac_try_echo=$ac_try;;
 
95
esac
 
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
 
99
  ac_status=$?
 
100
  if test -s conftest.err; then
 
101
    grep -v '^ *+' conftest.err >conftest.er1
 
102
    cat conftest.er1 >&5
 
103
    mv -f conftest.er1 conftest.err
 
104
  fi
 
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 :
 
110
  ac_retval=0
 
111
else
 
112
  $as_echo "$as_me: failed program was:" >&5
 
113
sed 's/^/| /' conftest.$ac_ext >&5
 
114
 
 
115
        ac_retval=1
 
116
fi
 
117
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
118
  as_fn_set_status $ac_retval
 
119
 
 
120
} # ac_fn_c_try_compile
 
121
# This file is generated from configure.in by Autoconf.  DO NOT EDIT!
 
122
 
 
123
# GNU libc on the Hurd is always reentrant.
 
124
DEFINES="$DEFINES -D_LIBC_REENTRANT"
 
125
 
 
126
$as_echo "#define NO_HIDDEN 1" >>confdefs.h
 
127
 
 
128
 
 
129
# Don't bother trying to generate any glue code to be compatible with the
 
130
# existing system library, because we are the only system library.
 
131
inhibit_glue=yes
 
132
 
 
133
case "$machine" in
 
134
  i386*)
 
135
    # The default oldest ABI is 2.2.6.
 
136
    # We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
 
137
    if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
 
138
      libc_cv_gcc_unwind_find_fde=yes
 
139
    fi
 
140
    ;;
 
141
esac
 
142
 
 
143
 
 
144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
 
145
$as_echo_n "checking Hurd header version... " >&6; }
 
146
if ${libc_cv_hurd_version+:} false; then :
 
147
  $as_echo_n "(cached) " >&6
 
148
else
 
149
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
150
/* end confdefs.h.  */
 
151
#include <hurd/version.h>
 
152
int
 
153
main ()
 
154
{
 
155
 
 
156
#define NEED_VERSION 20020609
 
157
#if HURD_INTERFACE_VERSION < NEED_VERSION
 
158
# error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
 
159
#endif
 
160
  ;
 
161
  return 0;
 
162
}
 
163
_ACEOF
 
164
if ac_fn_c_try_compile "$LINENO"; then :
 
165
  libc_cv_hurd_version=ok
 
166
else
 
167
  libc_cv_hurd_version=bad
 
168
fi
 
169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
170
fi
 
171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
 
172
$as_echo "$libc_cv_hurd_version" >&6; }
 
173
if test "x$libc_cv_hurd_version" != xok; then
 
174
  as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5
 
175
fi