Free errstring if _dl_addr doesn't returns 0
[glibc.git] / ports / sysdeps / ia64 / configure
blobd7334600611292fc28c9aae38b53d493ab3b75be
2 # as_fn_set_status STATUS
3 # -----------------------
4 # Set $? to STATUS, without forking.
5 as_fn_set_status ()
7   return $1
8 } # as_fn_set_status
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 ()
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
26 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27   as_basename=basename
28 else
29   as_basename=false
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'`
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; }
75   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
76   # already done that, so ensure we don't try to do so again and fall
77   # in an infinite loop.  This has already happened in practice.
78   _as_can_reexec=no; export _as_can_reexec
79   # Don't try to exec as it changes $[0], causing all sort of problems
80   # (the dirname of $[0] is not the place where we might find the
81   # original and so on.  Autoconf is especially sensitive to this).
82   . "./$as_me.lineno"
83   # Exit status is that of the last command.
84   exit
87 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
88  # Local configure fragment for sysdeps/ia64.
90 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h