~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/builddir-aarch64-linux-gnu/config.status

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
# Generated by configure.
 
3
# Run this file to recreate the current configuration.
 
4
# Compiler output produced by configure, useful for debugging
 
5
# configure, is in config.log if it exists.
 
6
 
 
7
debug=false
 
8
ac_cs_recheck=false
 
9
ac_cs_silent=false
 
10
 
 
11
SHELL=${CONFIG_SHELL-/bin/bash}
 
12
export SHELL
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
case $0 in #((
 
93
  *[\\/]* ) as_myself=$0 ;;
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
95
for as_dir in $PATH
 
96
do
 
97
  IFS=$as_save_IFS
 
98
  test -z "$as_dir" && as_dir=.
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
 
101
IFS=$as_save_IFS
 
102
 
 
103
     ;;
 
104
esac
 
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
106
# in which case we are not to be found in the path.
 
107
if test "x$as_myself" = x; then
 
108
  as_myself=$0
 
109
fi
 
110
if test ! -f "$as_myself"; then
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
 
113
fi
 
114
 
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
118
# trigger a bug in pdksh 5.2.14.
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
120
do eval test x\${$as_var+set} = xset \
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
122
done
 
123
PS1='$ '
 
124
PS2='> '
 
125
PS4='+ '
 
126
 
 
127
# NLS nuisances.
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
 
132
 
 
133
# CDPATH.
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
135
 
 
136
 
 
137
# as_fn_error ERROR [LINENO LOG_FD]
 
138
# ---------------------------------
 
139
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
140
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
141
# script with status $?, using 1 if that was 0.
 
142
as_fn_error ()
 
143
{
 
144
  as_status=$?; test $as_status -eq 0 && as_status=1
 
145
  if test "$3"; then
 
146
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
147
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
148
  fi
 
149
  $as_echo "$as_me: error: $1" >&2
 
150
  as_fn_exit $as_status
 
151
} # as_fn_error
 
152
 
 
153
 
 
154
# as_fn_set_status STATUS
 
155
# -----------------------
 
156
# Set $? to STATUS, without forking.
 
157
as_fn_set_status ()
 
158
{
 
159
  return $1
 
160
} # as_fn_set_status
 
161
 
 
162
# as_fn_exit STATUS
 
163
# -----------------
 
164
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
165
as_fn_exit ()
 
166
{
 
167
  set +e
 
168
  as_fn_set_status $1
 
169
  exit $1
 
170
} # as_fn_exit
 
171
 
 
172
# as_fn_unset VAR
 
173
# ---------------
 
174
# Portably unset VAR.
 
175
as_fn_unset ()
 
176
{
 
177
  { eval $1=; unset $1;}
 
178
}
 
179
as_unset=as_fn_unset
 
180
# as_fn_append VAR VALUE
 
181
# ----------------------
 
182
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
183
# advantage of any shell optimizations that allow amortized linear growth over
 
184
# repeated appends, instead of the typical quadratic growth present in naive
 
185
# implementations.
 
186
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
187
  eval 'as_fn_append ()
 
188
  {
 
189
    eval $1+=\$2
 
190
  }'
 
191
else
 
192
  as_fn_append ()
 
193
  {
 
194
    eval $1=\$$1\$2
 
195
  }
 
196
fi # as_fn_append
 
197
 
 
198
# as_fn_arith ARG...
 
199
# ------------------
 
200
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
201
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
202
# must be portable across $(()) and expr.
 
203
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
204
  eval 'as_fn_arith ()
 
205
  {
 
206
    as_val=$(( $* ))
 
207
  }'
 
208
else
 
209
  as_fn_arith ()
 
210
  {
 
211
    as_val=`expr "$@" || test $? -eq 1`
 
212
  }
 
213
fi # as_fn_arith
 
214
 
 
215
 
 
216
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
217
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
218
  as_expr=expr
 
219
else
 
220
  as_expr=false
 
221
fi
 
222
 
 
223
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
224
  as_basename=basename
 
225
else
 
226
  as_basename=false
 
227
fi
 
228
 
 
229
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
230
  as_dirname=dirname
 
231
else
 
232
  as_dirname=false
 
233
fi
 
234
 
 
235
as_me=`$as_basename -- "$0" ||
 
236
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
237
         X"$0" : 'X\(//\)$' \| \
 
238
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
239
$as_echo X/"$0" |
 
240
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
241
            s//\1/
 
242
            q
 
243
          }
 
244
          /^X\/\(\/\/\)$/{
 
245
            s//\1/
 
246
            q
 
247
          }
 
248
          /^X\/\(\/\).*/{
 
249
            s//\1/
 
250
            q
 
251
          }
 
252
          s/.*/./; q'`
 
253
 
 
254
# Avoid depending upon Character Ranges.
 
255
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
256
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
257
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
258
as_cr_digits='0123456789'
 
259
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
260
 
 
261
ECHO_C= ECHO_N= ECHO_T=
 
262
case `echo -n x` in #(((((
 
263
-n*)
 
264
  case `echo 'xy\c'` in
 
265
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
266
  xy)  ECHO_C='\c';;
 
267
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
268
       ECHO_T=' ';;
 
269
  esac;;
 
270
*)
 
271
  ECHO_N='-n';;
 
272
esac
 
273
 
 
274
rm -f conf$$ conf$$.exe conf$$.file
 
275
if test -d conf$$.dir; then
 
276
  rm -f conf$$.dir/conf$$.file
 
277
else
 
278
  rm -f conf$$.dir
 
279
  mkdir conf$$.dir 2>/dev/null
 
280
fi
 
281
if (echo >conf$$.file) 2>/dev/null; then
 
282
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
283
    as_ln_s='ln -s'
 
284
    # ... but there are two gotchas:
 
285
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
286
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
287
    # In both cases, we have to default to `cp -p'.
 
288
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
289
      as_ln_s='cp -p'
 
290
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
291
    as_ln_s=ln
 
292
  else
 
293
    as_ln_s='cp -p'
 
294
  fi
 
295
else
 
296
  as_ln_s='cp -p'
 
297
fi
 
298
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
299
rmdir conf$$.dir 2>/dev/null
 
300
 
 
301
 
 
302
# as_fn_mkdir_p
 
303
# -------------
 
304
# Create "$as_dir" as a directory, including parents if necessary.
 
305
as_fn_mkdir_p ()
 
306
{
 
307
 
 
308
  case $as_dir in #(
 
309
  -*) as_dir=./$as_dir;;
 
310
  esac
 
311
  test -d "$as_dir" || eval $as_mkdir_p || {
 
312
    as_dirs=
 
313
    while :; do
 
314
      case $as_dir in #(
 
315
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
316
      *) as_qdir=$as_dir;;
 
317
      esac
 
318
      as_dirs="'$as_qdir' $as_dirs"
 
319
      as_dir=`$as_dirname -- "$as_dir" ||
 
320
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
321
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
322
         X"$as_dir" : 'X\(//\)$' \| \
 
323
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
324
$as_echo X"$as_dir" |
 
325
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
326
            s//\1/
 
327
            q
 
328
          }
 
329
          /^X\(\/\/\)[^/].*/{
 
330
            s//\1/
 
331
            q
 
332
          }
 
333
          /^X\(\/\/\)$/{
 
334
            s//\1/
 
335
            q
 
336
          }
 
337
          /^X\(\/\).*/{
 
338
            s//\1/
 
339
            q
 
340
          }
 
341
          s/.*/./; q'`
 
342
      test -d "$as_dir" && break
 
343
    done
 
344
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
345
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
346
 
 
347
 
 
348
} # as_fn_mkdir_p
 
349
if mkdir -p . 2>/dev/null; then
 
350
  as_mkdir_p='mkdir -p "$as_dir"'
 
351
else
 
352
  test -d ./-p && rmdir ./-p
 
353
  as_mkdir_p=false
 
354
fi
 
355
 
 
356
if test -x / >/dev/null 2>&1; then
 
357
  as_test_x='test -x'
 
358
else
 
359
  if ls -dL / >/dev/null 2>&1; then
 
360
    as_ls_L_option=L
 
361
  else
 
362
    as_ls_L_option=
 
363
  fi
 
364
  as_test_x='
 
365
    eval sh -c '\''
 
366
      if test -d "$1"; then
 
367
        test -d "$1/.";
 
368
      else
 
369
        case $1 in #(
 
370
        -*)set "./$1";;
 
371
        esac;
 
372
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
373
        ???[sx]*):;;*)false;;esac;fi
 
374
    '\'' sh
 
375
  '
 
376
fi
 
377
as_executable_p=$as_test_x
 
378
 
 
379
# Sed expression to map a string onto a valid CPP name.
 
380
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
381
 
 
382
# Sed expression to map a string onto a valid variable name.
 
383
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
384
 
 
385
 
 
386
exec 6>&1
 
387
## ----------------------------------- ##
 
388
## Main body of $CONFIG_STATUS script. ##
 
389
## ----------------------------------- ##
 
390
# Save the log message, to keep $0 and so on meaningful, and to
 
391
# report actual input values of CONFIG_FILES etc. instead of their
 
392
# values after options handling.
 
393
ac_log="
 
394
This file was extended by $as_me, which was
 
395
generated by GNU Autoconf 2.64.  Invocation command line was
 
396
 
 
397
  CONFIG_FILES    = $CONFIG_FILES
 
398
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
399
  CONFIG_LINKS    = $CONFIG_LINKS
 
400
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
401
  $ $0 $@
 
402
 
 
403
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
404
"
 
405
 
 
406
# Files that config.status was made for.
 
407
config_files=" Makefile"
 
408
 
 
409
ac_cs_usage="\
 
410
\`$as_me' instantiates files and other configuration actions
 
411
from templates according to the current configuration.  Unless the files
 
412
and actions are specified as TAGs, all are instantiated by default.
 
413
 
 
414
Usage: $0 [OPTION]... [TAG]...
 
415
 
 
416
  -h, --help       print this help, then exit
 
417
  -V, --version    print version number and configuration settings, then exit
 
418
  -q, --quiet, --silent
 
419
                   do not print progress messages
 
420
  -d, --debug      don't remove temporary files
 
421
      --recheck    update $as_me by reconfiguring in the same conditions
 
422
      --file=FILE[:TEMPLATE]
 
423
                   instantiate the configuration file FILE
 
424
 
 
425
Configuration files:
 
426
$config_files
 
427
 
 
428
Report bugs to the package provider."
 
429
 
 
430
ac_cs_version="\
 
431
config.status
 
432
configured by ../configure, generated by GNU Autoconf 2.64,
 
433
  with options \"'--enable-shared' '--enable-plugins' '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--with-pkgversion=GNU Binutils for Ubuntu' '--with-sysroot=/' '--enable-ld=default' '--enable-gold' '--target=aarch64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'target_alias=aarch64-linux-gnu' 'CC=gcc' 'CXX=g++'\"
 
434
 
 
435
Copyright (C) 2009 Free Software Foundation, Inc.
 
436
This config.status script is free software; the Free Software Foundation
 
437
gives unlimited permission to copy, distribute and modify it."
 
438
 
 
439
ac_pwd='/scratch/packages/cross/binutils-arm64-cross-0.6/binutils-2.23.52.20130611/builddir-aarch64-linux-gnu'
 
440
srcdir='..'
 
441
INSTALL='/usr/bin/install -c'
 
442
AWK='gawk'
 
443
test -n "$AWK" || AWK=awk
 
444
# The default lists apply if the user does not specify any file.
 
445
ac_need_defaults=:
 
446
while test $# != 0
 
447
do
 
448
  case $1 in
 
449
  --*=*)
 
450
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
451
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
452
    ac_shift=:
 
453
    ;;
 
454
  *)
 
455
    ac_option=$1
 
456
    ac_optarg=$2
 
457
    ac_shift=shift
 
458
    ;;
 
459
  esac
 
460
 
 
461
  case $ac_option in
 
462
  # Handling of the options.
 
463
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
464
    ac_cs_recheck=: ;;
 
465
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
466
    $as_echo "$ac_cs_version"; exit ;;
 
467
  --debug | --debu | --deb | --de | --d | -d )
 
468
    debug=: ;;
 
469
  --file | --fil | --fi | --f )
 
470
    $ac_shift
 
471
    case $ac_optarg in
 
472
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
473
    esac
 
474
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
475
    ac_need_defaults=false;;
 
476
  --he | --h |  --help | --hel | -h )
 
477
    $as_echo "$ac_cs_usage"; exit ;;
 
478
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
479
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
480
    ac_cs_silent=: ;;
 
481
 
 
482
  # This is an error.
 
483
  -*) as_fn_error "unrecognized option: \`$1'
 
484
Try \`$0 --help' for more information." ;;
 
485
 
 
486
  *) as_fn_append ac_config_targets " $1"
 
487
     ac_need_defaults=false ;;
 
488
 
 
489
  esac
 
490
  shift
 
491
done
 
492
 
 
493
ac_configure_extra_args=
 
494
 
 
495
if $ac_cs_silent; then
 
496
  exec 6>/dev/null
 
497
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
498
fi
 
499
 
 
500
if $ac_cs_recheck; then
 
501
  set X '/bin/bash' '../configure'  '--enable-shared' '--enable-plugins' '--prefix=/usr' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--with-pkgversion=GNU Binutils for Ubuntu' '--with-sysroot=/' '--enable-ld=default' '--enable-gold' '--target=aarch64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'target_alias=aarch64-linux-gnu' 'CC=gcc' 'CXX=g++' $ac_configure_extra_args --no-create --no-recursion
 
502
  shift
 
503
  $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
 
504
  CONFIG_SHELL='/bin/bash'
 
505
  export CONFIG_SHELL
 
506
  exec "$@"
 
507
fi
 
508
 
 
509
exec 5>>config.log
 
510
{
 
511
  echo
 
512
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
513
## Running $as_me. ##
 
514
_ASBOX
 
515
  $as_echo "$ac_log"
 
516
} >&5
 
517
 
 
518
#
 
519
# INIT-COMMANDS
 
520
#
 
521
extrasub_build="
 
522
/^@if build-libiberty$/d
 
523
/^@endif build-libiberty$/d
 
524
/^@if build-libiberty-no-bootstrap$/d
 
525
/^@endif build-libiberty-no-bootstrap$/d"
 
526
   extrasub_host="
 
527
/^@if intl$/d
 
528
/^@endif intl$/d
 
529
/^@if intl-no-bootstrap$/d
 
530
/^@endif intl-no-bootstrap$/d
 
531
/^@if libiberty$/d
 
532
/^@endif libiberty$/d
 
533
/^@if libiberty-no-bootstrap$/d
 
534
/^@endif libiberty-no-bootstrap$/d
 
535
/^@if opcodes$/d
 
536
/^@endif opcodes$/d
 
537
/^@if opcodes-no-bootstrap$/d
 
538
/^@endif opcodes-no-bootstrap$/d
 
539
/^@if bfd$/d
 
540
/^@endif bfd$/d
 
541
/^@if bfd-no-bootstrap$/d
 
542
/^@endif bfd-no-bootstrap$/d
 
543
/^@if binutils$/d
 
544
/^@endif binutils$/d
 
545
/^@if binutils-no-bootstrap$/d
 
546
/^@endif binutils-no-bootstrap$/d
 
547
/^@if gas$/d
 
548
/^@endif gas$/d
 
549
/^@if gas-no-bootstrap$/d
 
550
/^@endif gas-no-bootstrap$/d
 
551
/^@if ld$/d
 
552
/^@endif ld$/d
 
553
/^@if ld-no-bootstrap$/d
 
554
/^@endif ld-no-bootstrap$/d
 
555
/^@if gprof$/d
 
556
/^@endif gprof$/d
 
557
/^@if gprof-no-bootstrap$/d
 
558
/^@endif gprof-no-bootstrap$/d
 
559
/^@if etc$/d
 
560
/^@endif etc$/d
 
561
/^@if etc-no-bootstrap$/d
 
562
/^@endif etc-no-bootstrap$/d"
 
563
   extrasub_target="
 
564
/^@if /,/^@endif /d"
 
565
 
 
566
 
 
567
# Handling of arguments.
 
568
for ac_config_target in $ac_config_targets
 
569
do
 
570
  case $ac_config_target in
 
571
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
572
 
 
573
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
574
  esac
 
575
done
 
576
 
 
577
 
 
578
# If the user did not use the arguments to specify the items to instantiate,
 
579
# then the envvar interface is used.  Set only those that are not.
 
580
# We use the long form for the default assignment because of an extremely
 
581
# bizarre bug on SunOS 4.1.3.
 
582
if $ac_need_defaults; then
 
583
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
584
fi
 
585
 
 
586
# Have a temporary directory for convenience.  Make it in the build tree
 
587
# simply because there is no reason against having it here, and in addition,
 
588
# creating and moving files from /tmp can sometimes cause problems.
 
589
# Hook for its removal unless debugging.
 
590
# Note that there is a small window in which the directory will not be cleaned:
 
591
# after its creation but before its name has been assigned to `$tmp'.
 
592
$debug ||
 
593
{
 
594
  tmp=
 
595
  trap 'exit_status=$?
 
596
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
597
' 0
 
598
  trap 'as_fn_exit 1' 1 2 13 15
 
599
}
 
600
# Create a (secure) tmp directory for tmp files.
 
601
 
 
602
{
 
603
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
604
  test -n "$tmp" && test -d "$tmp"
 
605
}  ||
 
606
{
 
607
  tmp=./conf$$-$RANDOM
 
608
  (umask 077 && mkdir "$tmp")
 
609
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
610
 
 
611
# Set up the scripts for CONFIG_FILES section.
 
612
# No need to generate them if there are no CONFIG_FILES.
 
613
# This happens for instance with `./config.status config.h'.
 
614
if test -n "$CONFIG_FILES"; then
 
615
 
 
616
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
 
617
  ac_cs_awk_getline=:
 
618
  ac_cs_awk_pipe_init=
 
619
  ac_cs_awk_read_file='
 
620
      while ((getline aline < (F[key])) > 0)
 
621
        print(aline)
 
622
      close(F[key])'
 
623
  ac_cs_awk_pipe_fini=
 
624
else
 
625
  ac_cs_awk_getline=false
 
626
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
 
627
  ac_cs_awk_read_file='
 
628
      print "|#_!!_#|"
 
629
      print "cat " F[key] " &&"
 
630
      '$ac_cs_awk_pipe_init
 
631
  # The final `:' finishes the AND list.
 
632
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
 
633
fi
 
634
ac_cr=`echo X | tr X '\015'`
 
635
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
636
# But we know of no other shell where ac_cr would be empty at this
 
637
# point, so we can use a bashism as a fallback.
 
638
if test "x$ac_cr" = x; then
 
639
  eval ac_cr=\$\'\\r\'
 
640
fi
 
641
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
642
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
643
  ac_cs_awk_cr='\r'
 
644
else
 
645
  ac_cs_awk_cr=$ac_cr
 
646
fi
 
647
 
 
648
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
649
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
 
650
F["serialization_dependencies"]="serdep.tmp"
 
651
F["host_makefile_frag"]="/dev/null"
 
652
F["target_makefile_frag"]="../config/mt-gnu"
 
653
F["alphaieee_frag"]="/dev/null"
 
654
F["ospace_frag"]="/dev/null"
 
655
_ACAWK
 
656
cat >>"$tmp/subs1.awk" <<\_ACAWK &&
 
657
S["LTLIBOBJS"]=""
 
658
S["LIBOBJS"]=""
 
659
S["compare_exclusions"]="gcc/cc*-checksum$(objext) | gcc/ada/*tools/*"
 
660
S["stage2_werror_flag"]=""
 
661
S["stage1_checking"]="--enable-checking=yes,types"
 
662
S["stage1_cflags"]="-g"
 
663
S["MAINT"]="#"
 
664
S["MAINTAINER_MODE_FALSE"]=""
 
665
S["MAINTAINER_MODE_TRUE"]="#"
 
666
S["COMPILER_NM_FOR_TARGET"]="$(NM_FOR_TARGET)"
 
667
S["COMPILER_LD_FOR_TARGET"]="$(LD_FOR_TARGET)"
 
668
S["COMPILER_AS_FOR_TARGET"]="$(AS_FOR_TARGET)"
 
669
S["FLAGS_FOR_TARGET"]=" -L$$r/$(HOST_SUBDIR)/ld"
 
670
S["RAW_CXX_FOR_TARGET"]="aarch64-linux-gnu-c++"
 
671
S["WINDMC_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/windmc"
 
672
S["WINDRES_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/windres"
 
673
S["STRIP_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/strip-new"
 
674
S["READELF_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/readelf"
 
675
S["RANLIB_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/ranlib"
 
676
S["OBJDUMP_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/objdump"
 
677
S["NM_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/nm-new"
 
678
S["LIPO_FOR_TARGET"]="aarch64-linux-gnu-lipo"
 
679
S["LD_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/ld/ld-new"
 
680
S["DLLTOOL_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/dlltool"
 
681
S["AS_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/gas/as-new"
 
682
S["AR_FOR_TARGET"]="$$r/$(HOST_SUBDIR)/binutils/ar"
 
683
S["GOC_FOR_TARGET"]="aarch64-linux-gnu-gccgo"
 
684
S["GFORTRAN_FOR_TARGET"]="aarch64-linux-gnu-gfortran"
 
685
S["GCJ_FOR_TARGET"]="aarch64-linux-gnu-gcj"
 
686
S["GCC_FOR_TARGET"]="aarch64-linux-gnu-gcc"
 
687
S["CXX_FOR_TARGET"]="aarch64-linux-gnu-c++"
 
688
S["CC_FOR_TARGET"]="aarch64-linux-gnu-cc"
 
689
S["READELF"]="readelf"
 
690
S["OBJDUMP"]="objdump"
 
691
S["OBJCOPY"]="objcopy"
 
692
S["WINDMC"]="windmc"
 
693
S["WINDRES"]="windres"
 
694
S["STRIP"]="strip"
 
695
S["RANLIB"]="ranlib"
 
696
S["NM"]="nm"
 
697
S["LIPO"]="lipo"
 
698
S["LD"]="ld"
 
699
S["DLLTOOL"]="dlltool"
 
700
S["AS"]="as"
 
701
S["AR"]="ar"
 
702
S["RUNTEST"]="runtest"
 
703
S["EXPECT"]="expect"
 
704
S["MAKEINFO"]="makeinfo"
 
705
S["FLEX"]="flex"
 
706
S["LEX"]="flex"
 
707
S["M4"]="m4"
 
708
S["BISON"]="bison"
 
709
S["YACC"]="bison -y"
 
710
S["WINDRES_FOR_BUILD"]="$(WINDRES)"
 
711
S["WINDMC_FOR_BUILD"]="$(WINDMC)"
 
712
S["RANLIB_FOR_BUILD"]="$(RANLIB)"
 
713
S["NM_FOR_BUILD"]="$(NM)"
 
714
S["LD_FOR_BUILD"]="$(LD)"
 
715
S["LDFLAGS_FOR_BUILD"]=""
 
716
S["GOC_FOR_BUILD"]="$(GOC)"
 
717
S["GFORTRAN_FOR_BUILD"]="$(GFORTRAN)"
 
718
S["GCJ_FOR_BUILD"]="$(GCJ)"
 
719
S["DLLTOOL_FOR_BUILD"]="$(DLLTOOL)"
 
720
S["CXX_FOR_BUILD"]="$(CXX)"
 
721
S["CXXFLAGS_FOR_BUILD"]="-g -O2"
 
722
S["CFLAGS_FOR_BUILD"]="-g -O2"
 
723
S["CC_FOR_BUILD"]="$(CC)"
 
724
S["AS_FOR_BUILD"]="$(AS)"
 
725
S["AR_FOR_BUILD"]="$(AR)"
 
726
S["target_configdirs"]=""
 
727
S["configdirs"]=" intl libiberty opcodes bfd binutils gas ld gprof etc"
 
728
S["build_configdirs"]=" libiberty"
 
729
S["INSTALL_GDB_TK"]=""
 
730
S["GDB_TK"]=""
 
731
S["CONFIGURE_GDB_TK"]=""
 
732
S["build_tooldir"]="${exec_prefix}/aarch64-linux-gnu"
 
733
S["tooldir"]="${exec_prefix}/aarch64-linux-gnu"
 
734
S["GCC_SHLIB_SUBDIR"]=""
 
735
S["RPATH_ENVVAR"]="LD_LIBRARY_PATH"
 
736
S["target_configargs"]="--cache-file=./config.cache --enable-multilib --with-cross-host=x86_64-linux-gnu   '--enable-shared' '--enable-plugins' '--prefix=/usr' '--with-pkgv"\
 
737
"ersion=GNU Binutils for Ubuntu' '--with-sysroot=/' '--enable-ld=default' '--enable-gold' --program-transform-name='s&^&aarch64-linux-gnu-&' --disabl"\
 
738
"e-option-checking"
 
739
S["host_configargs"]=" --cache-file=./config.cache  --with-gnu-as --with-gnu-ld --with-system-zlib '--enable-shared' '--enable-plugins' '--prefix=/usr' '--with-pkgversion"\
 
740
"=GNU Binutils for Ubuntu' '--with-sysroot=/' '--enable-ld=default' '--enable-gold' --program-transform-name='s&^&aarch64-linux-gnu-&' --disable-opti"\
 
741
"on-checking"
 
742
S["build_configargs"]=" --cache-file=../config.cache '--enable-shared' '--enable-plugins' '--prefix=/usr' '--with-pkgversion=GNU Binutils for Ubuntu' '--with-sysroot=/' '-"\
 
743
"-enable-ld=default' '--enable-gold' --program-transform-name='s&^&aarch64-linux-gnu-&' --disable-option-checking"
 
744
S["BUILD_CONFIG"]=""
 
745
S["LDFLAGS_FOR_TARGET"]=""
 
746
S["CXXFLAGS_FOR_TARGET"]="-g -O2"
 
747
S["CFLAGS_FOR_TARGET"]="-g -O2"
 
748
S["DEBUG_PREFIX_CFLAGS_FOR_TARGET"]=""
 
749
S["SYSROOT_CFLAGS_FOR_TARGET"]=""
 
750
S["stage1_languages"]=",c,"
 
751
S["extra_host_libiberty_configure_flags"]=""
 
752
S["clooginc"]="-DCLOOG_INT_GMP "
 
753
S["clooglibs"]=" -lcloog-isl  -lisl"
 
754
S["islinc"]=""
 
755
S["poststage1_ldflags"]="-static-libstdc++ -static-libgcc"
 
756
S["poststage1_libs"]=""
 
757
S["stage1_ldflags"]="-static-libstdc++ -static-libgcc"
 
758
S["stage1_libs"]=""
 
759
S["extra_isl_gmp_configure_flags"]=""
 
760
S["extra_mpc_mpfr_configure_flags"]=""
 
761
S["extra_mpc_gmp_configure_flags"]=""
 
762
S["extra_mpfr_configure_flags"]=""
 
763
S["gmpinc"]=""
 
764
S["gmplibs"]="-lmpc -lmpfr -lgmp"
 
765
S["do_compare"]="cmp --ignore-initial=16 $$f1 $$f2"
 
766
S["GNATMAKE"]="gnatmake"
 
767
S["GNATBIND"]="gnatbind"
 
768
S["ac_ct_CXX"]=""
 
769
S["CXXFLAGS"]="-g -O2"
 
770
S["CXX"]="g++"
 
771
S["OBJEXT"]="o"
 
772
S["EXEEXT"]=""
 
773
S["ac_ct_CC"]=""
 
774
S["CPPFLAGS"]=""
 
775
S["LDFLAGS"]=""
 
776
S["CFLAGS"]="-g -O2"
 
777
S["CC"]="gcc"
 
778
S["EXTRA_CONFIGARGS_LIBJAVA"]="--disable-static"
 
779
S["target_subdir"]="aarch64-linux-gnu"
 
780
S["host_subdir"]="."
 
781
S["build_subdir"]="build-x86_64-linux-gnu"
 
782
S["build_libsubdir"]="build-x86_64-linux-gnu"
 
783
S["AWK"]="gawk"
 
784
S["SED"]="/bin/sed"
 
785
S["LN_S"]="ln -s"
 
786
S["LN"]="ln"
 
787
S["INSTALL_DATA"]="${INSTALL} -m 644"
 
788
S["INSTALL_SCRIPT"]="${INSTALL}"
 
789
S["INSTALL_PROGRAM"]="${INSTALL}"
 
790
S["target_os"]="linux-gnu"
 
791
S["target_vendor"]="unknown"
 
792
S["target_cpu"]="aarch64"
 
793
S["target"]="aarch64-unknown-linux-gnu"
 
794
S["host_os"]="linux-gnu"
 
795
S["host_vendor"]="pc"
 
796
S["host_cpu"]="x86_64"
 
797
S["host"]="x86_64-pc-linux-gnu"
 
798
S["target_noncanonical"]="aarch64-linux-gnu"
 
799
S["host_noncanonical"]="x86_64-linux-gnu"
 
800
S["build_noncanonical"]="x86_64-linux-gnu"
 
801
S["build_os"]="linux-gnu"
 
802
S["build_vendor"]="pc"
 
803
S["build_cpu"]="x86_64"
 
804
S["build"]="x86_64-pc-linux-gnu"
 
805
S["TOPLEVEL_CONFIGURE_ARGUMENTS"]="../configure --enable-shared --enable-plugins --prefix=/usr --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-pkgversion='GNU Binutils for Ubu"\
 
806
"ntu' --with-sysroot=/ --enable-ld=default --enable-gold --target=aarch64-linux-gnu"
 
807
S["target_alias"]="aarch64-linux-gnu"
 
808
S["host_alias"]="x86_64-linux-gnu"
 
809
S["build_alias"]="x86_64-linux-gnu"
 
810
S["LIBS"]=""
 
811
S["ECHO_T"]=""
 
812
S["ECHO_N"]="-n"
 
813
S["ECHO_C"]=""
 
814
S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DLT_OBJDIR=\\\".l"\
 
815
"ibs/\\\""
 
816
S["mandir"]="${datarootdir}/man"
 
817
S["localedir"]="${datarootdir}/locale"
 
818
S["libdir"]="${exec_prefix}/lib"
 
819
S["psdir"]="${docdir}"
 
820
S["pdfdir"]="${docdir}"
 
821
S["dvidir"]="${docdir}"
 
822
S["htmldir"]="${docdir}"
 
823
S["infodir"]="${datarootdir}/info"
 
824
S["docdir"]="${datarootdir}/doc/${PACKAGE}"
 
825
S["oldincludedir"]="/usr/include"
 
826
S["includedir"]="${prefix}/include"
 
827
S["localstatedir"]="${prefix}/var"
 
828
S["sharedstatedir"]="${prefix}/com"
 
829
S["sysconfdir"]="${prefix}/etc"
 
830
S["datadir"]="${datarootdir}"
 
831
S["datarootdir"]="${prefix}/share"
 
832
S["libexecdir"]="${exec_prefix}/libexec"
 
833
S["sbindir"]="${exec_prefix}/sbin"
 
834
S["bindir"]="${exec_prefix}/bin"
 
835
S["program_transform_name"]="s&^&aarch64-linux-gnu-&"
 
836
S["prefix"]="/usr"
 
837
S["exec_prefix"]="${prefix}"
 
838
S["PACKAGE_URL"]=""
 
839
S["PACKAGE_BUGREPORT"]=""
 
840
S["PACKAGE_STRING"]=""
 
841
S["PACKAGE_VERSION"]=""
 
842
S["PACKAGE_TARNAME"]=""
 
843
S["PACKAGE_NAME"]=""
 
844
S["PATH_SEPARATOR"]=":"
 
845
S["SHELL"]="/bin/bash"
 
846
_ACAWK
 
847
cat >>"$tmp/subs1.awk" <<_ACAWK &&
 
848
  for (key in S) S_is_set[key] = 1
 
849
  FS = ""
 
850
  $ac_cs_awk_pipe_init
 
851
}
 
852
{
 
853
  line = $ 0
 
854
  nfields = split(line, field, "@")
 
855
  substed = 0
 
856
  len = length(field[1])
 
857
  for (i = 2; i < nfields; i++) {
 
858
    key = field[i]
 
859
    keylen = length(key)
 
860
    if (S_is_set[key]) {
 
861
      value = S[key]
 
862
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
863
      len += length(value) + length(field[++i])
 
864
      substed = 1
 
865
    } else
 
866
      len += 1 + keylen
 
867
  }
 
868
  if (nfields == 3 && !substed) {
 
869
    key = field[2]
 
870
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
 
871
      $ac_cs_awk_read_file
 
872
      next
 
873
    }
 
874
  }
 
875
  print line
 
876
}
 
877
$ac_cs_awk_pipe_fini
 
878
_ACAWK
 
879
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
880
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
881
else
 
882
  cat
 
883
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
884
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
885
fi # test -n "$CONFIG_FILES"
 
886
 
 
887
 
 
888
eval set X "  :F $CONFIG_FILES      "
 
889
shift
 
890
for ac_tag
 
891
do
 
892
  case $ac_tag in
 
893
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
894
  esac
 
895
  case $ac_mode$ac_tag in
 
896
  :[FHL]*:*);;
 
897
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
898
  :[FH]-) ac_tag=-:-;;
 
899
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
900
  esac
 
901
  ac_save_IFS=$IFS
 
902
  IFS=:
 
903
  set x $ac_tag
 
904
  IFS=$ac_save_IFS
 
905
  shift
 
906
  ac_file=$1
 
907
  shift
 
908
 
 
909
  case $ac_mode in
 
910
  :L) ac_source=$1;;
 
911
  :[FH])
 
912
    ac_file_inputs=
 
913
    for ac_f
 
914
    do
 
915
      case $ac_f in
 
916
      -) ac_f="$tmp/stdin";;
 
917
      *) # Look for the file first in the build tree, then in the source tree
 
918
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
919
         # because $ac_f cannot contain `:'.
 
920
         test -f "$ac_f" ||
 
921
           case $ac_f in
 
922
           [\\/$]*) false;;
 
923
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
924
           esac ||
 
925
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
926
      esac
 
927
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
928
      as_fn_append ac_file_inputs " '$ac_f'"
 
929
    done
 
930
 
 
931
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
932
    # use $as_me), people would be surprised to read:
 
933
    #    /* config.h.  Generated by config.status.  */
 
934
    configure_input='Generated from '`
 
935
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
936
        `' by configure.'
 
937
    if test x"$ac_file" != x-; then
 
938
      configure_input="$ac_file.  $configure_input"
 
939
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
940
$as_echo "$as_me: creating $ac_file" >&6;}
 
941
    fi
 
942
    # Neutralize special characters interpreted by sed in replacement strings.
 
943
    case $configure_input in #(
 
944
    *\&* | *\|* | *\\* )
 
945
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
946
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
947
    *) ac_sed_conf_input=$configure_input;;
 
948
    esac
 
949
 
 
950
    case $ac_tag in
 
951
    *:-:* | *:-) cat >"$tmp/stdin" \
 
952
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
953
    esac
 
954
    ;;
 
955
  esac
 
956
 
 
957
  ac_dir=`$as_dirname -- "$ac_file" ||
 
958
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
959
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
960
         X"$ac_file" : 'X\(//\)$' \| \
 
961
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
962
$as_echo X"$ac_file" |
 
963
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
964
            s//\1/
 
965
            q
 
966
          }
 
967
          /^X\(\/\/\)[^/].*/{
 
968
            s//\1/
 
969
            q
 
970
          }
 
971
          /^X\(\/\/\)$/{
 
972
            s//\1/
 
973
            q
 
974
          }
 
975
          /^X\(\/\).*/{
 
976
            s//\1/
 
977
            q
 
978
          }
 
979
          s/.*/./; q'`
 
980
  as_dir="$ac_dir"; as_fn_mkdir_p
 
981
  ac_builddir=.
 
982
 
 
983
case "$ac_dir" in
 
984
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
985
*)
 
986
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
987
  # A ".." for each directory in $ac_dir_suffix.
 
988
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
989
  case $ac_top_builddir_sub in
 
990
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
991
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
992
  esac ;;
 
993
esac
 
994
ac_abs_top_builddir=$ac_pwd
 
995
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
996
# for backward compatibility:
 
997
ac_top_builddir=$ac_top_build_prefix
 
998
 
 
999
case $srcdir in
 
1000
  .)  # We are building in place.
 
1001
    ac_srcdir=.
 
1002
    ac_top_srcdir=$ac_top_builddir_sub
 
1003
    ac_abs_top_srcdir=$ac_pwd ;;
 
1004
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1005
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1006
    ac_top_srcdir=$srcdir
 
1007
    ac_abs_top_srcdir=$srcdir ;;
 
1008
  *) # Relative name.
 
1009
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1010
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1011
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1012
esac
 
1013
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1014
 
 
1015
 
 
1016
  case $ac_mode in
 
1017
  :F)
 
1018
  #
 
1019
  # CONFIG_FILE
 
1020
  #
 
1021
 
 
1022
  case $INSTALL in
 
1023
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
1024
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
1025
  esac
 
1026
# If the template does not know about datarootdir, expand it.
 
1027
# FIXME: This hack should be removed a few years after 2.60.
 
1028
ac_datarootdir_hack=; ac_datarootdir_seen=
 
1029
ac_sed_dataroot='
 
1030
/datarootdir/ {
 
1031
  p
 
1032
  q
 
1033
}
 
1034
/@datadir@/p
 
1035
/@docdir@/p
 
1036
/@infodir@/p
 
1037
/@localedir@/p
 
1038
/@mandir@/p'
 
1039
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
1040
*datarootdir*) ac_datarootdir_seen=yes;;
 
1041
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
1042
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
1043
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
1044
  ac_datarootdir_hack='
 
1045
  s&@datadir@&${datarootdir}&g
 
1046
  s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
 
1047
  s&@infodir@&${datarootdir}/info&g
 
1048
  s&@localedir@&${datarootdir}/locale&g
 
1049
  s&@mandir@&${datarootdir}/man&g
 
1050
  s&\${datarootdir}&${prefix}/share&g' ;;
 
1051
esac
 
1052
ac_sed_extra="
 
1053
 
 
1054
:t
 
1055
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
1056
s|@configure_input@|$ac_sed_conf_input|;t t
 
1057
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
1058
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
1059
s&@srcdir@&$ac_srcdir&;t t
 
1060
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
1061
s&@top_srcdir@&$ac_top_srcdir&;t t
 
1062
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
1063
s&@builddir@&$ac_builddir&;t t
 
1064
s&@abs_builddir@&$ac_abs_builddir&;t t
 
1065
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
1066
s&@INSTALL@&$ac_INSTALL&;t t
 
1067
$ac_datarootdir_hack
 
1068
"
 
1069
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
 
1070
if $ac_cs_awk_getline; then
 
1071
  $AWK -f "$tmp/subs.awk"
 
1072
else
 
1073
  $AWK -f "$tmp/subs.awk" | $SHELL
 
1074
fi >$tmp/out \
 
1075
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
1076
 
 
1077
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
1078
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
1079
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
1080
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
1081
which seems to be undefined.  Please make sure it is defined." >&5
 
1082
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
1083
which seems to be undefined.  Please make sure it is defined." >&2;}
 
1084
 
 
1085
  rm -f "$tmp/stdin"
 
1086
  case $ac_file in
 
1087
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
1088
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
1089
  esac \
 
1090
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
1091
 ;;
 
1092
 
 
1093
 
 
1094
 
 
1095
  esac
 
1096
 
 
1097
 
 
1098
  case $ac_file$ac_mode in
 
1099
    "Makefile":F) sed "$extrasub_build" Makefile |
 
1100
   sed "$extrasub_host" |
 
1101
   sed "$extrasub_target" > mf$$
 
1102
   mv -f mf$$ Makefile ;;
 
1103
 
 
1104
  esac
 
1105
done # for ac_tag
 
1106
 
 
1107
 
 
1108
as_fn_exit 0