~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59.
4
 
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.64.
 
4
#
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
7
# Foundation, Inc.
 
8
#
6
9
# This configure script is free software; the Free Software Foundation
7
10
# gives unlimited permission to copy, distribute and modify it.
8
 
## --------------------- ##
9
 
## M4sh Initialization.  ##
10
 
## --------------------- ##
 
11
## -------------------- ##
 
12
## M4sh Initialization. ##
 
13
## -------------------- ##
11
14
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14
18
  emulate sh
15
19
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17
21
  # is contrary to our usage.  Disable this feature.
18
22
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
22
 
DUALCASE=1; export DUALCASE # for MKS sh
23
 
 
24
 
# Support unset when possible.
25
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
 
  as_unset=unset
27
 
else
28
 
  as_unset=false
29
 
fi
30
 
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in #(
 
26
  *posix*) :
 
27
    set -o posix ;; #(
 
28
  *) :
 
29
     ;;
 
30
esac
 
31
fi
 
32
 
 
33
 
 
34
as_nl='
 
35
'
 
36
export as_nl
 
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
42
# but without wasting forks for bash or zsh.
 
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
  as_echo='print -r --'
 
46
  as_echo_n='print -rn --'
 
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in #(
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
 
80
 
 
81
 
 
82
# IFS
 
83
# We need space, tab and new line, in precisely that order.  Quoting is
 
84
# there to prevent editors from complaining about space-tab.
 
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
86
# splitting by setting IFS to empty value.)
 
87
IFS=" ""        $as_nl"
 
88
 
 
89
# Find who we are.  Look in the path if we contain no directory separator.
 
90
case $0 in #((
 
91
  *[\\/]* ) as_myself=$0 ;;
 
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
93
for as_dir in $PATH
 
94
do
 
95
  IFS=$as_save_IFS
 
96
  test -z "$as_dir" && as_dir=.
 
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
98
  done
 
99
IFS=$as_save_IFS
 
100
 
 
101
     ;;
 
102
esac
 
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
104
# in which case we are not to be found in the path.
 
105
if test "x$as_myself" = x; then
 
106
  as_myself=$0
 
107
fi
 
108
if test ! -f "$as_myself"; then
 
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
110
  exit 1
 
111
fi
 
112
 
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
 
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
115
# suppresses any "Segmentation fault" message there.  '((' could
 
116
# trigger a bug in pdksh 5.2.14.
 
117
for as_var in BASH_ENV ENV MAIL MAILPATH
 
118
do eval test x\${$as_var+set} = xset \
 
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
120
done
34
121
PS1='$ '
35
122
PS2='> '
36
123
PS4='+ '
37
124
 
38
125
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
 
126
LC_ALL=C
 
127
export LC_ALL
 
128
LANGUAGE=C
 
129
export LANGUAGE
 
130
 
 
131
# CDPATH.
 
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
133
 
 
134
if test "x$CONFIG_SHELL" = x; then
 
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
136
  emulate sh
 
137
  NULLCMD=:
 
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
139
  # is contrary to our usage.  Disable this feature.
 
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
141
  setopt NO_GLOB_SUBST
 
142
else
 
143
  case \`(set -o) 2>/dev/null\` in #(
 
144
  *posix*) :
 
145
    set -o posix ;; #(
 
146
  *) :
 
147
     ;;
 
148
esac
 
149
fi
 
150
"
 
151
  as_required="as_fn_return () { (exit \$1); }
 
152
as_fn_success () { as_fn_return 0; }
 
153
as_fn_failure () { as_fn_return 1; }
 
154
as_fn_ret_success () { return 0; }
 
155
as_fn_ret_failure () { return 1; }
 
156
 
 
157
exitcode=0
 
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
163
 
 
164
else
 
165
  exitcode=1; echo positional parameters were not saved.
 
166
fi
 
167
test x\$exitcode = x0 || exit 1"
 
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
172
test \$(( 1 + 1 )) = 2 || exit 1"
 
173
  if (eval "$as_required") 2>/dev/null; then :
 
174
  as_have_required=yes
 
175
else
 
176
  as_have_required=no
 
177
fi
 
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
179
 
 
180
else
 
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
182
as_found=false
 
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
43
184
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
 
185
  IFS=$as_save_IFS
 
186
  test -z "$as_dir" && as_dir=.
 
187
  as_found=:
 
188
  case $as_dir in #(
 
189
         /*)
 
190
           for as_base in sh bash ksh sh5; do
 
191
             # Try only shells that exist, to save several forks.
 
192
             as_shell=$as_dir/$as_base
 
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
195
  CONFIG_SHELL=$as_shell as_have_required=yes
 
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
197
  break 2
 
198
fi
 
199
fi
 
200
           done;;
 
201
       esac
 
202
  as_found=false
 
203
done
 
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
206
  CONFIG_SHELL=$SHELL as_have_required=yes
 
207
fi; }
 
208
IFS=$as_save_IFS
 
209
 
 
210
 
 
211
      if test "x$CONFIG_SHELL" != x; then :
 
212
  # We cannot yet assume a decent shell, so we have to provide a
 
213
        # neutralization value for shells without unset; and this also
 
214
        # works around shells that cannot unset nonexistent variables.
 
215
        BASH_ENV=/dev/null
 
216
        ENV=/dev/null
 
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
218
        export CONFIG_SHELL
 
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
220
fi
 
221
 
 
222
    if test x$as_have_required = xno; then :
 
223
  $as_echo "$0: This script requires a shell more modern than all"
 
224
  $as_echo "$0: the shells that I found on your system."
 
225
  if test x${ZSH_VERSION+set} = xset ; then
 
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
46
228
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
50
 
 
51
 
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
229
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
230
$0: including any error possibly output before this
 
231
$0: message. Then install a modern shell, or manually run
 
232
$0: the script under such a shell if you do have one."
 
233
  fi
 
234
  exit 1
 
235
fi
 
236
fi
 
237
fi
 
238
SHELL=${CONFIG_SHELL-/bin/sh}
 
239
export SHELL
 
240
# Unset more variables known to interfere with behavior of common tools.
 
241
CLICOLOR_FORCE= GREP_OPTIONS=
 
242
unset CLICOLOR_FORCE GREP_OPTIONS
 
243
 
 
244
## --------------------- ##
 
245
## M4sh Shell Functions. ##
 
246
## --------------------- ##
 
247
# as_fn_unset VAR
 
248
# ---------------
 
249
# Portably unset VAR.
 
250
as_fn_unset ()
 
251
{
 
252
  { eval $1=; unset $1;}
 
253
}
 
254
as_unset=as_fn_unset
 
255
 
 
256
# as_fn_set_status STATUS
 
257
# -----------------------
 
258
# Set $? to STATUS, without forking.
 
259
as_fn_set_status ()
 
260
{
 
261
  return $1
 
262
} # as_fn_set_status
 
263
 
 
264
# as_fn_exit STATUS
 
265
# -----------------
 
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
267
as_fn_exit ()
 
268
{
 
269
  set +e
 
270
  as_fn_set_status $1
 
271
  exit $1
 
272
} # as_fn_exit
 
273
 
 
274
# as_fn_mkdir_p
 
275
# -------------
 
276
# Create "$as_dir" as a directory, including parents if necessary.
 
277
as_fn_mkdir_p ()
 
278
{
 
279
 
 
280
  case $as_dir in #(
 
281
  -*) as_dir=./$as_dir;;
 
282
  esac
 
283
  test -d "$as_dir" || eval $as_mkdir_p || {
 
284
    as_dirs=
 
285
    while :; do
 
286
      case $as_dir in #(
 
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
288
      *) as_qdir=$as_dir;;
 
289
      esac
 
290
      as_dirs="'$as_qdir' $as_dirs"
 
291
      as_dir=`$as_dirname -- "$as_dir" ||
 
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
294
         X"$as_dir" : 'X\(//\)$' \| \
 
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
296
$as_echo X"$as_dir" |
 
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
298
            s//\1/
 
299
            q
 
300
          }
 
301
          /^X\(\/\/\)[^/].*/{
 
302
            s//\1/
 
303
            q
 
304
          }
 
305
          /^X\(\/\/\)$/{
 
306
            s//\1/
 
307
            q
 
308
          }
 
309
          /^X\(\/\).*/{
 
310
            s//\1/
 
311
            q
 
312
          }
 
313
          s/.*/./; q'`
 
314
      test -d "$as_dir" && break
 
315
    done
 
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
318
 
 
319
 
 
320
} # as_fn_mkdir_p
 
321
# as_fn_append VAR VALUE
 
322
# ----------------------
 
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
324
# advantage of any shell optimizations that allow amortized linear growth over
 
325
# repeated appends, instead of the typical quadratic growth present in naive
 
326
# implementations.
 
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
328
  eval 'as_fn_append ()
 
329
  {
 
330
    eval $1+=\$2
 
331
  }'
 
332
else
 
333
  as_fn_append ()
 
334
  {
 
335
    eval $1=\$$1\$2
 
336
  }
 
337
fi # as_fn_append
 
338
 
 
339
# as_fn_arith ARG...
 
340
# ------------------
 
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
343
# must be portable across $(()) and expr.
 
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
345
  eval 'as_fn_arith ()
 
346
  {
 
347
    as_val=$(( $* ))
 
348
  }'
 
349
else
 
350
  as_fn_arith ()
 
351
  {
 
352
    as_val=`expr "$@" || test $? -eq 1`
 
353
  }
 
354
fi # as_fn_arith
 
355
 
 
356
 
 
357
# as_fn_error ERROR [LINENO LOG_FD]
 
358
# ---------------------------------
 
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
361
# script with status $?, using 1 if that was 0.
 
362
as_fn_error ()
 
363
{
 
364
  as_status=$?; test $as_status -eq 0 && as_status=1
 
365
  if test "$3"; then
 
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
368
  fi
 
369
  $as_echo "$as_me: error: $1" >&2
 
370
  as_fn_exit $as_status
 
371
} # as_fn_error
 
372
 
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
375
  as_expr=expr
54
376
else
55
377
  as_expr=false
56
378
fi
57
379
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
381
  as_basename=basename
60
382
else
61
383
  as_basename=false
62
384
fi
63
385
 
 
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
387
  as_dirname=dirname
 
388
else
 
389
  as_dirname=false
 
390
fi
64
391
 
65
 
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
392
as_me=`$as_basename -- "$0" ||
67
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
394
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
 
395
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
396
$as_echo X/"$0" |
 
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
398
            s//\1/
 
399
            q
 
400
          }
 
401
          /^X\/\(\/\/\)$/{
 
402
            s//\1/
 
403
            q
 
404
          }
 
405
          /^X\/\(\/\).*/{
 
406
            s//\1/
 
407
            q
 
408
          }
 
409
          s/.*/./; q'`
 
410
 
79
411
# Avoid depending upon Character Ranges.
80
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
415
as_cr_digits='0123456789'
84
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
417
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
130
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
 
do
133
 
  IFS=$as_save_IFS
134
 
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
137
 
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
152
 
done
153
 
;;
154
 
  esac
155
 
 
156
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
162
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
418
 
 
419
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
424
  sed -n '
 
425
    p
 
426
    /[$]LINENO/=
 
427
  ' <$as_myself |
165
428
    sed '
 
429
      s/[$]LINENO.*/&-/
 
430
      t lineno
 
431
      b
 
432
      :lineno
166
433
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
434
      :loop
 
435
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
436
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
437
      s/-\n.*//
173
438
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
 
   { (exit 1); exit 1; }; }
 
439
  chmod +x "$as_me.lineno" ||
 
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
177
441
 
178
442
  # Don't try to exec as it changes $[0], causing all sort of problems
179
443
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
444
  # original and so on.  Autoconf is especially sensitive to this).
 
445
  . "./$as_me.lineno"
182
446
  # Exit status is that of the last command.
183
447
  exit
184
448
}
185
449
 
186
 
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
450
ECHO_C= ECHO_N= ECHO_T=
 
451
case `echo -n x` in #(((((
 
452
-n*)
 
453
  case `echo 'xy\c'` in
 
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
455
  xy)  ECHO_C='\c';;
 
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
457
       ECHO_T=' ';;
 
458
  esac;;
 
459
*)
 
460
  ECHO_N='-n';;
192
461
esac
193
462
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
195
 
  as_expr=expr
 
463
rm -f conf$$ conf$$.exe conf$$.file
 
464
if test -d conf$$.dir; then
 
465
  rm -f conf$$.dir/conf$$.file
196
466
else
197
 
  as_expr=false
 
467
  rm -f conf$$.dir
 
468
  mkdir conf$$.dir 2>/dev/null
198
469
fi
199
 
 
200
 
rm -f conf$$ conf$$.exe conf$$.file
201
 
echo >conf$$.file
202
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
470
if (echo >conf$$.file) 2>/dev/null; then
 
471
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
472
    as_ln_s='ln -s'
 
473
    # ... but there are two gotchas:
 
474
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
475
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
476
    # In both cases, we have to default to `cp -p'.
 
477
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
478
      as_ln_s='cp -p'
 
479
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
480
    as_ln_s=ln
 
481
  else
207
482
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
483
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
484
else
214
485
  as_ln_s='cp -p'
215
486
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
487
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
488
rmdir conf$$.dir 2>/dev/null
217
489
 
218
490
if mkdir -p . 2>/dev/null; then
219
 
  as_mkdir_p=:
 
491
  as_mkdir_p='mkdir -p "$as_dir"'
220
492
else
221
493
  test -d ./-p && rmdir ./-p
222
494
  as_mkdir_p=false
223
495
fi
224
496
 
225
 
as_executable_p="test -f"
 
497
if test -x / >/dev/null 2>&1; then
 
498
  as_test_x='test -x'
 
499
else
 
500
  if ls -dL / >/dev/null 2>&1; then
 
501
    as_ls_L_option=L
 
502
  else
 
503
    as_ls_L_option=
 
504
  fi
 
505
  as_test_x='
 
506
    eval sh -c '\''
 
507
      if test -d "$1"; then
 
508
        test -d "$1/.";
 
509
      else
 
510
        case $1 in #(
 
511
        -*)set "./$1";;
 
512
        esac;
 
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
514
        ???[sx]*):;;*)false;;esac;fi
 
515
    '\'' sh
 
516
  '
 
517
fi
 
518
as_executable_p=$as_test_x
226
519
 
227
520
# Sed expression to map a string onto a valid CPP name.
228
521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
525
 
233
526
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
 
527
exec 7<&0 </dev/null 6>&1
243
528
 
244
529
# Name of the host.
245
530
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
531
# so uname gets run too.
247
532
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
533
 
249
 
exec 6>&1
250
 
 
251
534
#
252
535
# Initializations.
253
536
#
254
537
ac_default_prefix=/usr/local
 
538
ac_clean_files=
255
539
ac_config_libobj_dir=.
 
540
LIBOBJS=
256
541
cross_compiling=no
257
542
subdirs=
258
543
MFLAGS=
259
544
MAKEFLAGS=
260
 
SHELL=${CONFIG_SHELL-/bin/sh}
261
 
 
262
 
# Maximum number of lines to put in a shell here document.
263
 
# This variable seems obsolete.  It should probably be removed, and
264
 
# only ac_max_sed_lines should be used.
265
 
: ${ac_max_here_lines=38}
266
545
 
267
546
# Identity of this package.
268
547
PACKAGE_NAME=
270
549
PACKAGE_VERSION=
271
550
PACKAGE_STRING=
272
551
PACKAGE_BUGREPORT=
 
552
PACKAGE_URL=
273
553
 
274
554
ac_unique_file="move-if-change"
275
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
276
 
ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
277
 
ac_pwd=`pwd`
 
555
enable_option_checking=no
 
556
ac_subst_vars='LTLIBOBJS
 
557
LIBOBJS
 
558
compare_exclusions
 
559
stage2_werror_flag
 
560
stage1_checking
 
561
stage1_cflags
 
562
MAINT
 
563
MAINTAINER_MODE_FALSE
 
564
MAINTAINER_MODE_TRUE
 
565
COMPILER_NM_FOR_TARGET
 
566
COMPILER_LD_FOR_TARGET
 
567
COMPILER_AS_FOR_TARGET
 
568
FLAGS_FOR_TARGET
 
569
RAW_CXX_FOR_TARGET
 
570
WINDMC_FOR_TARGET
 
571
WINDRES_FOR_TARGET
 
572
STRIP_FOR_TARGET
 
573
RANLIB_FOR_TARGET
 
574
OBJDUMP_FOR_TARGET
 
575
NM_FOR_TARGET
 
576
LIPO_FOR_TARGET
 
577
LD_FOR_TARGET
 
578
DLLTOOL_FOR_TARGET
 
579
AS_FOR_TARGET
 
580
AR_FOR_TARGET
 
581
GFORTRAN_FOR_TARGET
 
582
GCJ_FOR_TARGET
 
583
GCC_FOR_TARGET
 
584
CXX_FOR_TARGET
 
585
CC_FOR_TARGET
 
586
OBJDUMP
 
587
OBJCOPY
 
588
WINDMC
 
589
WINDRES
 
590
STRIP
 
591
RANLIB
 
592
NM
 
593
LIPO
 
594
LD
 
595
DLLTOOL
 
596
AS
 
597
AR
 
598
RUNTEST
 
599
EXPECT
 
600
MAKEINFO
 
601
FLEX
 
602
LEX
 
603
M4
 
604
BISON
 
605
YACC
 
606
config_shell
 
607
WINDRES_FOR_BUILD
 
608
WINDMC_FOR_BUILD
 
609
RANLIB_FOR_BUILD
 
610
NM_FOR_BUILD
 
611
LD_FOR_BUILD
 
612
LDFLAGS_FOR_BUILD
 
613
GFORTRAN_FOR_BUILD
 
614
GCJ_FOR_BUILD
 
615
DLLTOOL_FOR_BUILD
 
616
CXX_FOR_BUILD
 
617
CXXFLAGS_FOR_BUILD
 
618
CFLAGS_FOR_BUILD
 
619
CC_FOR_BUILD
 
620
AS_FOR_BUILD
 
621
AR_FOR_BUILD
 
622
target_configargs
 
623
configdirs
 
624
host_configargs
 
625
build_configdirs
 
626
build_configargs
 
627
INSTALL_GDB_TK
 
628
GDB_TK
 
629
CONFIGURE_GDB_TK
 
630
build_tooldir
 
631
tooldir
 
632
GCC_SHLIB_SUBDIR
 
633
RPATH_ENVVAR
 
634
CXXFLAGS_FOR_TARGET
 
635
CFLAGS_FOR_TARGET
 
636
DEBUG_PREFIX_CFLAGS_FOR_TARGET
 
637
SYSROOT_CFLAGS_FOR_TARGET
 
638
stage1_languages
 
639
clooginc
 
640
clooglibs
 
641
pplinc
 
642
ppllibs
 
643
poststage1_libs
 
644
poststage1_ldflags
 
645
stage1_libs
 
646
stage1_ldflags
 
647
extra_mpc_mpfr_configure_flags
 
648
extra_mpc_gmp_configure_flags
 
649
extra_mpfr_configure_flags
 
650
gmpinc
 
651
gmplibs
 
652
do_compare
 
653
GNATMAKE
 
654
GNATBIND
 
655
ac_ct_CXX
 
656
CXXFLAGS
 
657
CXX
 
658
OBJEXT
 
659
EXEEXT
 
660
ac_ct_CC
 
661
CPPFLAGS
 
662
LDFLAGS
 
663
CFLAGS
 
664
CC
 
665
target_subdir
 
666
host_subdir
 
667
build_subdir
 
668
build_libsubdir
 
669
AWK
 
670
SED
 
671
LN_S
 
672
LN
 
673
INSTALL_DATA
 
674
INSTALL_SCRIPT
 
675
INSTALL_PROGRAM
 
676
target_os
 
677
target_vendor
 
678
target_cpu
 
679
target
 
680
host_os
 
681
host_vendor
 
682
host_cpu
 
683
host
 
684
target_noncanonical
 
685
host_noncanonical
 
686
build_noncanonical
 
687
build_os
 
688
build_vendor
 
689
build_cpu
 
690
build
 
691
TOPLEVEL_CONFIGURE_ARGUMENTS
 
692
target_alias
 
693
host_alias
 
694
build_alias
 
695
LIBS
 
696
ECHO_T
 
697
ECHO_N
 
698
ECHO_C
 
699
DEFS
 
700
mandir
 
701
localedir
 
702
libdir
 
703
psdir
 
704
pdfdir
 
705
dvidir
 
706
htmldir
 
707
infodir
 
708
docdir
 
709
oldincludedir
 
710
includedir
 
711
localstatedir
 
712
sharedstatedir
 
713
sysconfdir
 
714
datadir
 
715
datarootdir
 
716
libexecdir
 
717
sbindir
 
718
bindir
 
719
program_transform_name
 
720
prefix
 
721
exec_prefix
 
722
PACKAGE_URL
 
723
PACKAGE_BUGREPORT
 
724
PACKAGE_STRING
 
725
PACKAGE_VERSION
 
726
PACKAGE_TARNAME
 
727
PACKAGE_NAME
 
728
PATH_SEPARATOR
 
729
SHELL'
 
730
ac_subst_files='serialization_dependencies
 
731
host_makefile_frag
 
732
target_makefile_frag
 
733
alphaieee_frag
 
734
ospace_frag'
 
735
ac_user_opts='
 
736
enable_option_checking
 
737
with_build_libsubdir
 
738
enable_gold
 
739
enable_libada
 
740
enable_libssp
 
741
enable_build_with_cxx
 
742
with_mpc
 
743
with_mpc_include
 
744
with_mpc_lib
 
745
with_mpfr_dir
 
746
with_mpfr
 
747
with_mpfr_include
 
748
with_mpfr_lib
 
749
with_gmp_dir
 
750
with_gmp
 
751
with_gmp_include
 
752
with_gmp_lib
 
753
with_host_libstdcxx
 
754
with_stage1_ldflags
 
755
with_stage1_libs
 
756
with_boot_ldflags
 
757
with_boot_libs
 
758
with_ppl
 
759
with_ppl_include
 
760
with_ppl_lib
 
761
enable_ppl_version_check
 
762
with_cloog
 
763
with_cloog_include
 
764
with_cloog_lib
 
765
enable_cloog_version_check
 
766
enable_stage1_languages
 
767
enable_objc_gc
 
768
with_build_sysroot
 
769
with_debug_prefix_map
 
770
enable_bootstrap
 
771
enable_serial_configure
 
772
with_build_time_tools
 
773
enable_maintainer_mode
 
774
enable_stage1_checking
 
775
enable_werror
 
776
'
 
777
      ac_precious_vars='build_alias
 
778
host_alias
 
779
target_alias
 
780
CC
 
781
CFLAGS
 
782
LDFLAGS
 
783
LIBS
 
784
CPPFLAGS
 
785
CXX
 
786
CXXFLAGS
 
787
CCC
 
788
AR
 
789
AS
 
790
DLLTOOL
 
791
LD
 
792
LIPO
 
793
NM
 
794
RANLIB
 
795
STRIP
 
796
WINDRES
 
797
WINDMC
 
798
OBJCOPY
 
799
OBJDUMP
 
800
CC_FOR_TARGET
 
801
CXX_FOR_TARGET
 
802
GCC_FOR_TARGET
 
803
GCJ_FOR_TARGET
 
804
GFORTRAN_FOR_TARGET
 
805
AR_FOR_TARGET
 
806
AS_FOR_TARGET
 
807
DLLTOOL_FOR_TARGET
 
808
LD_FOR_TARGET
 
809
LIPO_FOR_TARGET
 
810
NM_FOR_TARGET
 
811
OBJDUMP_FOR_TARGET
 
812
RANLIB_FOR_TARGET
 
813
STRIP_FOR_TARGET
 
814
WINDRES_FOR_TARGET
 
815
WINDMC_FOR_TARGET'
 
816
 
278
817
 
279
818
# Initialize some variables set by options.
280
819
ac_init_help=
281
820
ac_init_version=false
 
821
ac_unrecognized_opts=
 
822
ac_unrecognized_sep=
282
823
# The variables have the same names as the options, with
283
824
# dashes changed to underlines.
284
825
cache_file=/dev/null
301
842
# and all the variables that are supposed to be based on exec_prefix
302
843
# by default will actually change.
303
844
# Use braces instead of parens because sh, perl, etc. also accept them.
 
845
# (The list follows the same order as the GNU Coding Standards.)
304
846
bindir='${exec_prefix}/bin'
305
847
sbindir='${exec_prefix}/sbin'
306
848
libexecdir='${exec_prefix}/libexec'
307
 
datadir='${prefix}/share'
 
849
datarootdir='${prefix}/share'
 
850
datadir='${datarootdir}'
308
851
sysconfdir='${prefix}/etc'
309
852
sharedstatedir='${prefix}/com'
310
853
localstatedir='${prefix}/var'
311
 
libdir='${exec_prefix}/lib'
312
854
includedir='${prefix}/include'
313
855
oldincludedir='/usr/include'
314
 
infodir='${prefix}/info'
315
 
mandir='${prefix}/man'
 
856
docdir='${datarootdir}/doc/${PACKAGE}'
 
857
infodir='${datarootdir}/info'
 
858
htmldir='${docdir}'
 
859
dvidir='${docdir}'
 
860
pdfdir='${docdir}'
 
861
psdir='${docdir}'
 
862
libdir='${exec_prefix}/lib'
 
863
localedir='${datarootdir}/locale'
 
864
mandir='${datarootdir}/man'
316
865
 
317
866
ac_prev=
 
867
ac_dashdash=
318
868
for ac_option
319
869
do
320
870
  # If the previous option needs an argument, assign it.
321
871
  if test -n "$ac_prev"; then
322
 
    eval "$ac_prev=\$ac_option"
 
872
    eval $ac_prev=\$ac_option
323
873
    ac_prev=
324
874
    continue
325
875
  fi
326
876
 
327
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
877
  case $ac_option in
 
878
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
879
  *)    ac_optarg=yes ;;
 
880
  esac
328
881
 
329
882
  # Accept the important Cygnus configure options, so we can diagnose typos.
330
883
 
331
 
  case $ac_option in
 
884
  case $ac_dashdash$ac_option in
 
885
  --)
 
886
    ac_dashdash=yes ;;
332
887
 
333
888
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334
889
    ac_prev=bindir ;;
350
905
  --config-cache | -C)
351
906
    cache_file=config.cache ;;
352
907
 
353
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
908
  -datadir | --datadir | --datadi | --datad)
354
909
    ac_prev=datadir ;;
355
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
 
  | --da=*)
 
910
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
357
911
    datadir=$ac_optarg ;;
358
912
 
 
913
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
914
  | --dataroo | --dataro | --datar)
 
915
    ac_prev=datarootdir ;;
 
916
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
917
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
918
    datarootdir=$ac_optarg ;;
 
919
 
359
920
  -disable-* | --disable-*)
360
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
921
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361
922
    # Reject names that are not valid shell variable names.
362
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364
 
   { (exit 1); exit 1; }; }
365
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366
 
    eval "enable_$ac_feature=no" ;;
 
923
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
924
      as_fn_error "invalid feature name: $ac_useropt"
 
925
    ac_useropt_orig=$ac_useropt
 
926
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
927
    case $ac_user_opts in
 
928
      *"
 
929
"enable_$ac_useropt"
 
930
"*) ;;
 
931
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
932
         ac_unrecognized_sep=', ';;
 
933
    esac
 
934
    eval enable_$ac_useropt=no ;;
 
935
 
 
936
  -docdir | --docdir | --docdi | --doc | --do)
 
937
    ac_prev=docdir ;;
 
938
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
939
    docdir=$ac_optarg ;;
 
940
 
 
941
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
942
    ac_prev=dvidir ;;
 
943
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
944
    dvidir=$ac_optarg ;;
367
945
 
368
946
  -enable-* | --enable-*)
369
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
947
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370
948
    # Reject names that are not valid shell variable names.
371
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373
 
   { (exit 1); exit 1; }; }
374
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
 
    case $ac_option in
376
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377
 
      *) ac_optarg=yes ;;
 
949
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
950
      as_fn_error "invalid feature name: $ac_useropt"
 
951
    ac_useropt_orig=$ac_useropt
 
952
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
953
    case $ac_user_opts in
 
954
      *"
 
955
"enable_$ac_useropt"
 
956
"*) ;;
 
957
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
958
         ac_unrecognized_sep=', ';;
378
959
    esac
379
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
960
    eval enable_$ac_useropt=\$ac_optarg ;;
380
961
 
381
962
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382
963
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
403
984
  -host=* | --host=* | --hos=* | --ho=*)
404
985
    host_alias=$ac_optarg ;;
405
986
 
 
987
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
988
    ac_prev=htmldir ;;
 
989
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
990
  | --ht=*)
 
991
    htmldir=$ac_optarg ;;
 
992
 
406
993
  -includedir | --includedir | --includedi | --included | --include \
407
994
  | --includ | --inclu | --incl | --inc)
408
995
    ac_prev=includedir ;;
427
1014
  | --libexe=* | --libex=* | --libe=*)
428
1015
    libexecdir=$ac_optarg ;;
429
1016
 
 
1017
  -localedir | --localedir | --localedi | --localed | --locale)
 
1018
    ac_prev=localedir ;;
 
1019
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1020
    localedir=$ac_optarg ;;
 
1021
 
430
1022
  -localstatedir | --localstatedir | --localstatedi | --localstated \
431
 
  | --localstate | --localstat | --localsta | --localst \
432
 
  | --locals | --local | --loca | --loc | --lo)
 
1023
  | --localstate | --localstat | --localsta | --localst | --locals)
433
1024
    ac_prev=localstatedir ;;
434
1025
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1026
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
437
1027
    localstatedir=$ac_optarg ;;
438
1028
 
439
1029
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498
1088
  | --progr-tra=* | --program-tr=* | --program-t=*)
499
1089
    program_transform_name=$ac_optarg ;;
500
1090
 
 
1091
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1092
    ac_prev=pdfdir ;;
 
1093
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1094
    pdfdir=$ac_optarg ;;
 
1095
 
 
1096
  -psdir | --psdir | --psdi | --psd | --ps)
 
1097
    ac_prev=psdir ;;
 
1098
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1099
    psdir=$ac_optarg ;;
 
1100
 
501
1101
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502
1102
  | -silent | --silent | --silen | --sile | --sil)
503
1103
    silent=yes ;;
548
1148
    ac_init_version=: ;;
549
1149
 
550
1150
  -with-* | --with-*)
551
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1151
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552
1152
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
555
 
   { (exit 1); exit 1; }; }
556
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
557
 
    case $ac_option in
558
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559
 
      *) ac_optarg=yes ;;
 
1153
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1154
      as_fn_error "invalid package name: $ac_useropt"
 
1155
    ac_useropt_orig=$ac_useropt
 
1156
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1157
    case $ac_user_opts in
 
1158
      *"
 
1159
"with_$ac_useropt"
 
1160
"*) ;;
 
1161
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1162
         ac_unrecognized_sep=', ';;
560
1163
    esac
561
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1164
    eval with_$ac_useropt=\$ac_optarg ;;
562
1165
 
563
1166
  -without-* | --without-*)
564
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1167
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565
1168
    # Reject names that are not valid shell variable names.
566
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
568
 
   { (exit 1); exit 1; }; }
569
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
570
 
    eval "with_$ac_package=no" ;;
 
1169
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1170
      as_fn_error "invalid package name: $ac_useropt"
 
1171
    ac_useropt_orig=$ac_useropt
 
1172
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1173
    case $ac_user_opts in
 
1174
      *"
 
1175
"with_$ac_useropt"
 
1176
"*) ;;
 
1177
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1178
         ac_unrecognized_sep=', ';;
 
1179
    esac
 
1180
    eval with_$ac_useropt=no ;;
571
1181
 
572
1182
  --x)
573
1183
    # Obsolete; use --with-x.
587
1197
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588
1198
    x_libraries=$ac_optarg ;;
589
1199
 
590
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
591
 
Try \`$0 --help' for more information." >&2
592
 
   { (exit 1); exit 1; }; }
 
1200
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1201
Try \`$0 --help' for more information."
593
1202
    ;;
594
1203
 
595
1204
  *=*)
596
1205
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597
1206
    # Reject names that are not valid shell variable names.
598
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600
 
   { (exit 1); exit 1; }; }
601
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602
 
    eval "$ac_envvar='$ac_optarg'"
 
1207
    case $ac_envvar in #(
 
1208
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1209
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1210
    esac
 
1211
    eval $ac_envvar=\$ac_optarg
603
1212
    export $ac_envvar ;;
604
1213
 
605
1214
  *)
606
1215
    # FIXME: should be removed in autoconf 3.0.
607
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1216
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608
1217
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1218
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610
1219
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611
1220
    ;;
612
1221
 
615
1224
 
616
1225
if test -n "$ac_prev"; then
617
1226
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
619
 
   { (exit 1); exit 1; }; }
620
 
fi
621
 
 
622
 
# Be sure to have absolute paths.
623
 
for ac_var in exec_prefix prefix
624
 
do
625
 
  eval ac_val=$`echo $ac_var`
626
 
  case $ac_val in
627
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629
 
   { (exit 1); exit 1; }; };;
630
 
  esac
631
 
done
632
 
 
633
 
# Be sure to have absolute paths.
634
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635
 
              localstatedir libdir includedir oldincludedir infodir mandir
636
 
do
637
 
  eval ac_val=$`echo $ac_var`
638
 
  case $ac_val in
639
 
    [\\/$]* | ?:[\\/]* ) ;;
640
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641
 
   { (exit 1); exit 1; }; };;
642
 
  esac
 
1227
  as_fn_error "missing argument to $ac_option"
 
1228
fi
 
1229
 
 
1230
if test -n "$ac_unrecognized_opts"; then
 
1231
  case $enable_option_checking in
 
1232
    no) ;;
 
1233
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1234
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1235
  esac
 
1236
fi
 
1237
 
 
1238
# Check all directory arguments for consistency.
 
1239
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1240
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1241
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1242
                libdir localedir mandir
 
1243
do
 
1244
  eval ac_val=\$$ac_var
 
1245
  # Remove trailing slashes.
 
1246
  case $ac_val in
 
1247
    */ )
 
1248
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1249
      eval $ac_var=\$ac_val;;
 
1250
  esac
 
1251
  # Be sure to have absolute directory names.
 
1252
  case $ac_val in
 
1253
    [\\/$]* | ?:[\\/]* )  continue;;
 
1254
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1255
  esac
 
1256
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
643
1257
done
644
1258
 
645
1259
# There might be people who depend on the old broken behavior: `$host'
653
1267
if test "x$host_alias" != x; then
654
1268
  if test "x$build_alias" = x; then
655
1269
    cross_compiling=maybe
656
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1270
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657
1271
    If a cross compiler is detected then cross compile mode will be used." >&2
658
1272
  elif test "x$build_alias" != "x$host_alias"; then
659
1273
    cross_compiling=yes
666
1280
test "$silent" = yes && exec 6>/dev/null
667
1281
 
668
1282
 
 
1283
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1284
ac_ls_di=`ls -di .` &&
 
1285
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1286
  as_fn_error "working directory cannot be determined"
 
1287
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1288
  as_fn_error "pwd does not report name of working directory"
 
1289
 
 
1290
 
669
1291
# Find the source files, if location was not specified.
670
1292
if test -z "$srcdir"; then
671
1293
  ac_srcdir_defaulted=yes
672
 
  # Try the directory containing this script, then its parent.
673
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
674
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675
 
         X"$0" : 'X\(//\)[^/]' \| \
676
 
         X"$0" : 'X\(//\)$' \| \
677
 
         X"$0" : 'X\(/\)' \| \
678
 
         .     : '\(.\)' 2>/dev/null ||
679
 
echo X"$0" |
680
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682
 
          /^X\(\/\/\)$/{ s//\1/; q; }
683
 
          /^X\(\/\).*/{ s//\1/; q; }
684
 
          s/.*/./; q'`
 
1294
  # Try the directory containing this script, then the parent directory.
 
1295
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1296
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1297
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1298
         X"$as_myself" : 'X\(//\)$' \| \
 
1299
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1300
$as_echo X"$as_myself" |
 
1301
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1302
            s//\1/
 
1303
            q
 
1304
          }
 
1305
          /^X\(\/\/\)[^/].*/{
 
1306
            s//\1/
 
1307
            q
 
1308
          }
 
1309
          /^X\(\/\/\)$/{
 
1310
            s//\1/
 
1311
            q
 
1312
          }
 
1313
          /^X\(\/\).*/{
 
1314
            s//\1/
 
1315
            q
 
1316
          }
 
1317
          s/.*/./; q'`
685
1318
  srcdir=$ac_confdir
686
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1319
  if test ! -r "$srcdir/$ac_unique_file"; then
687
1320
    srcdir=..
688
1321
  fi
689
1322
else
690
1323
  ac_srcdir_defaulted=no
691
1324
fi
692
 
if test ! -r $srcdir/$ac_unique_file; then
693
 
  if test "$ac_srcdir_defaulted" = yes; then
694
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695
 
   { (exit 1); exit 1; }; }
696
 
  else
697
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698
 
   { (exit 1); exit 1; }; }
699
 
  fi
700
 
fi
701
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703
 
   { (exit 1); exit 1; }; }
704
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705
 
ac_env_build_alias_set=${build_alias+set}
706
 
ac_env_build_alias_value=$build_alias
707
 
ac_cv_env_build_alias_set=${build_alias+set}
708
 
ac_cv_env_build_alias_value=$build_alias
709
 
ac_env_host_alias_set=${host_alias+set}
710
 
ac_env_host_alias_value=$host_alias
711
 
ac_cv_env_host_alias_set=${host_alias+set}
712
 
ac_cv_env_host_alias_value=$host_alias
713
 
ac_env_target_alias_set=${target_alias+set}
714
 
ac_env_target_alias_value=$target_alias
715
 
ac_cv_env_target_alias_set=${target_alias+set}
716
 
ac_cv_env_target_alias_value=$target_alias
 
1325
if test ! -r "$srcdir/$ac_unique_file"; then
 
1326
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1327
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1328
fi
 
1329
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1330
ac_abs_confdir=`(
 
1331
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1332
        pwd)`
 
1333
# When building in place, set srcdir=.
 
1334
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1335
  srcdir=.
 
1336
fi
 
1337
# Remove unnecessary trailing slashes from srcdir.
 
1338
# Double slashes in file names in object file debugging info
 
1339
# mess up M-x gdb in Emacs.
 
1340
case $srcdir in
 
1341
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1342
esac
717
1343
ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
718
1344
 
719
 
ac_env_CC_set=${CC+set}
720
 
ac_env_CC_value=$CC
721
 
ac_cv_env_CC_set=${CC+set}
722
 
ac_cv_env_CC_value=$CC
723
 
ac_env_CFLAGS_set=${CFLAGS+set}
724
 
ac_env_CFLAGS_value=$CFLAGS
725
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
726
 
ac_cv_env_CFLAGS_value=$CFLAGS
727
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
728
 
ac_env_LDFLAGS_value=$LDFLAGS
729
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
730
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
731
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
732
 
ac_env_CPPFLAGS_value=$CPPFLAGS
733
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
734
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735
 
ac_env_CXX_set=${CXX+set}
736
 
ac_env_CXX_value=$CXX
737
 
ac_cv_env_CXX_set=${CXX+set}
738
 
ac_cv_env_CXX_value=$CXX
739
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
740
 
ac_env_CXXFLAGS_value=$CXXFLAGS
741
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
742
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
743
 
ac_env_AR_set=${AR+set}
744
 
ac_env_AR_value=$AR
745
 
ac_cv_env_AR_set=${AR+set}
746
 
ac_cv_env_AR_value=$AR
747
 
ac_env_AS_set=${AS+set}
748
 
ac_env_AS_value=$AS
749
 
ac_cv_env_AS_set=${AS+set}
750
 
ac_cv_env_AS_value=$AS
751
 
ac_env_DLLTOOL_set=${DLLTOOL+set}
752
 
ac_env_DLLTOOL_value=$DLLTOOL
753
 
ac_cv_env_DLLTOOL_set=${DLLTOOL+set}
754
 
ac_cv_env_DLLTOOL_value=$DLLTOOL
755
 
ac_env_LD_set=${LD+set}
756
 
ac_env_LD_value=$LD
757
 
ac_cv_env_LD_set=${LD+set}
758
 
ac_cv_env_LD_value=$LD
759
 
ac_env_LIPO_set=${LIPO+set}
760
 
ac_env_LIPO_value=$LIPO
761
 
ac_cv_env_LIPO_set=${LIPO+set}
762
 
ac_cv_env_LIPO_value=$LIPO
763
 
ac_env_NM_set=${NM+set}
764
 
ac_env_NM_value=$NM
765
 
ac_cv_env_NM_set=${NM+set}
766
 
ac_cv_env_NM_value=$NM
767
 
ac_env_RANLIB_set=${RANLIB+set}
768
 
ac_env_RANLIB_value=$RANLIB
769
 
ac_cv_env_RANLIB_set=${RANLIB+set}
770
 
ac_cv_env_RANLIB_value=$RANLIB
771
 
ac_env_STRIP_set=${STRIP+set}
772
 
ac_env_STRIP_value=$STRIP
773
 
ac_cv_env_STRIP_set=${STRIP+set}
774
 
ac_cv_env_STRIP_value=$STRIP
775
 
ac_env_WINDRES_set=${WINDRES+set}
776
 
ac_env_WINDRES_value=$WINDRES
777
 
ac_cv_env_WINDRES_set=${WINDRES+set}
778
 
ac_cv_env_WINDRES_value=$WINDRES
779
 
ac_env_WINDMC_set=${WINDMC+set}
780
 
ac_env_WINDMC_value=$WINDMC
781
 
ac_cv_env_WINDMC_set=${WINDMC+set}
782
 
ac_cv_env_WINDMC_value=$WINDMC
783
 
ac_env_OBJCOPY_set=${OBJCOPY+set}
784
 
ac_env_OBJCOPY_value=$OBJCOPY
785
 
ac_cv_env_OBJCOPY_set=${OBJCOPY+set}
786
 
ac_cv_env_OBJCOPY_value=$OBJCOPY
787
 
ac_env_OBJDUMP_set=${OBJDUMP+set}
788
 
ac_env_OBJDUMP_value=$OBJDUMP
789
 
ac_cv_env_OBJDUMP_set=${OBJDUMP+set}
790
 
ac_cv_env_OBJDUMP_value=$OBJDUMP
791
 
ac_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
792
 
ac_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
793
 
ac_cv_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
794
 
ac_cv_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
795
 
ac_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
796
 
ac_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
797
 
ac_cv_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
798
 
ac_cv_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
799
 
ac_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
800
 
ac_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
801
 
ac_cv_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
802
 
ac_cv_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
803
 
ac_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
804
 
ac_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
805
 
ac_cv_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
806
 
ac_cv_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
807
 
ac_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
808
 
ac_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
809
 
ac_cv_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
810
 
ac_cv_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
811
 
ac_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
812
 
ac_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
813
 
ac_cv_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
814
 
ac_cv_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
815
 
ac_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
816
 
ac_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
817
 
ac_cv_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
818
 
ac_cv_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
819
 
ac_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
820
 
ac_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
821
 
ac_cv_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
822
 
ac_cv_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
823
 
ac_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
824
 
ac_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
825
 
ac_cv_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
826
 
ac_cv_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
827
 
ac_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
828
 
ac_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
829
 
ac_cv_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
830
 
ac_cv_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
831
 
ac_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
832
 
ac_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
833
 
ac_cv_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
834
 
ac_cv_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
835
 
ac_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
836
 
ac_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
837
 
ac_cv_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
838
 
ac_cv_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
839
 
ac_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
840
 
ac_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
841
 
ac_cv_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
842
 
ac_cv_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
843
 
ac_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
844
 
ac_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
845
 
ac_cv_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
846
 
ac_cv_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
847
 
ac_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
848
 
ac_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
849
 
ac_cv_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
850
 
ac_cv_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
851
 
ac_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
852
 
ac_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
853
 
ac_cv_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
854
 
ac_cv_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
 
1345
for ac_var in $ac_precious_vars; do
 
1346
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1347
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1348
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1349
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1350
done
855
1351
 
856
1352
#
857
1353
# Report the --help message.
880
1376
  -n, --no-create         do not create output files
881
1377
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
882
1378
 
883
 
_ACEOF
884
 
 
885
 
  cat <<_ACEOF
886
1379
Installation directories:
887
1380
  --prefix=PREFIX         install architecture-independent files in PREFIX
888
 
                          [$ac_default_prefix]
 
1381
                          [$ac_default_prefix]
889
1382
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
890
 
                          [PREFIX]
 
1383
                          [PREFIX]
891
1384
 
892
1385
By default, \`make install' will install all the files in
893
1386
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
897
1390
For better control, use the options below.
898
1391
 
899
1392
Fine tuning of the installation directories:
900
 
  --bindir=DIR           user executables [EPREFIX/bin]
901
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
902
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
903
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
904
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
905
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
906
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
907
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
908
 
  --includedir=DIR       C header files [PREFIX/include]
909
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
910
 
  --infodir=DIR          info documentation [PREFIX/info]
911
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1393
  --bindir=DIR            user executables [EPREFIX/bin]
 
1394
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1395
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1396
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1397
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1398
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1399
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1400
  --includedir=DIR        C header files [PREFIX/include]
 
1401
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1402
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1403
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1404
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1405
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1406
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1407
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1408
  --htmldir=DIR           html documentation [DOCDIR]
 
1409
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1410
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1411
  --psdir=DIR             ps documentation [DOCDIR]
912
1412
_ACEOF
913
1413
 
914
1414
  cat <<\_ACEOF
930
1430
  cat <<\_ACEOF
931
1431
 
932
1432
Optional Features:
 
1433
  --disable-option-checking  ignore unrecognized --enable/--with options
933
1434
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
934
1435
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
935
1436
  --enable-gold           use gold instead of ld
936
1437
  --enable-libada         build libada directory
937
1438
  --enable-libssp         build libssp directory
 
1439
  --enable-build-with-cxx build with C++ compiler instead of C compiler
938
1440
  --disable-ppl-version-check    disable check for PPL version
939
1441
  --disable-cloog-version-check  disable check for CLooG version
940
1442
  --enable-stage1-languages[=all]   choose additional languages to build during
956
1458
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
957
1459
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
958
1460
  --with-build-libsubdir=DIR  Directory where to find libraries for build system
 
1461
  --with-mpc=PATH        specify prefix directory for installed MPC package.
 
1462
                          Equivalent to --with-mpc-include=PATH/include
 
1463
                          plus --with-mpc-lib=PATH/lib
 
1464
  --with-mpc-include=PATH
 
1465
                          specify directory for installed MPC include files
 
1466
  --with-mpc-lib=PATH    specify directory for the installed MPC library
959
1467
  --with-mpfr-dir=PATH    this option has been REMOVED
960
1468
  --with-mpfr=PATH        specify prefix directory for installed MPFR package.
961
1469
                          Equivalent to --with-mpfr-include=PATH/include
971
1479
  --with-gmp-lib=PATH     specify directory for the installed GMP library
972
1480
  --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
973
1481
                          when linking with PPL
 
1482
  --with-stage1-ldflags=FLAGS Linker flags for stage1
 
1483
  -with-stage1-libs=LIBS      Libraries for stage1
 
1484
  --with-boot-ldflags=FLAGS Linker flags for stage2 and later
 
1485
  --with-boot-libs=LIBS     Libraries for stage2 and later
974
1486
  --with-ppl=PATH         Specify prefix directory for the installed PPL package
975
1487
                          Equivalent to --with-ppl-include=PATH/include
976
1488
                          plus --with-ppl-lib=PATH/lib
987
1499
                             map A to B, C to D ... in debug information
988
1500
  --with-build-time-tools=PATH
989
1501
                          use given path to find target tools during the build
990
 
  --with-datarootdir      use datarootdir as the data root directory.
991
 
  --with-docdir           install documentation in this directory.
992
 
  --with-pdfdir           install pdf in this directory.
993
 
  --with-htmldir          install html in this directory.
994
1502
 
995
1503
Some influential environment variables:
996
1504
  CC          C compiler command
997
1505
  CFLAGS      C compiler flags
998
1506
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
999
1507
              nonstandard directory <lib dir>
1000
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1001
 
              headers in a nonstandard directory <include dir>
 
1508
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1509
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1510
              you have headers in a nonstandard directory <include dir>
1002
1511
  CXX         C++ compiler command
1003
1512
  CXXFLAGS    C++ compiler flags
1004
1513
  AR          AR for the host
1049
1558
Use these variables to override the choices made by `configure' or to help
1050
1559
it to find libraries and programs with nonstandard names/locations.
1051
1560
 
 
1561
Report bugs to the package provider.
1052
1562
_ACEOF
 
1563
ac_status=$?
1053
1564
fi
1054
1565
 
1055
1566
if test "$ac_init_help" = "recursive"; then
1056
1567
  # If there are subdirs, report their specific --help.
1057
 
  ac_popdir=`pwd`
1058
1568
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1059
 
    test -d $ac_dir || continue
 
1569
    test -d "$ac_dir" ||
 
1570
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1571
      continue
1060
1572
    ac_builddir=.
1061
1573
 
1062
 
if test "$ac_dir" != .; then
1063
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1064
 
  # A "../" for each directory in $ac_dir_suffix.
1065
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1066
 
else
1067
 
  ac_dir_suffix= ac_top_builddir=
1068
 
fi
 
1574
case "$ac_dir" in
 
1575
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1576
*)
 
1577
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1578
  # A ".." for each directory in $ac_dir_suffix.
 
1579
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1580
  case $ac_top_builddir_sub in
 
1581
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1582
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1583
  esac ;;
 
1584
esac
 
1585
ac_abs_top_builddir=$ac_pwd
 
1586
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1587
# for backward compatibility:
 
1588
ac_top_builddir=$ac_top_build_prefix
1069
1589
 
1070
1590
case $srcdir in
1071
 
  .)  # No --srcdir option.  We are building in place.
 
1591
  .)  # We are building in place.
1072
1592
    ac_srcdir=.
1073
 
    if test -z "$ac_top_builddir"; then
1074
 
       ac_top_srcdir=.
1075
 
    else
1076
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1077
 
    fi ;;
1078
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1593
    ac_top_srcdir=$ac_top_builddir_sub
 
1594
    ac_abs_top_srcdir=$ac_pwd ;;
 
1595
  [\\/]* | ?:[\\/]* )  # Absolute name.
1079
1596
    ac_srcdir=$srcdir$ac_dir_suffix;
1080
 
    ac_top_srcdir=$srcdir ;;
1081
 
  *) # Relative path.
1082
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1083
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1084
 
esac
1085
 
 
1086
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1087
 
# the directories may not exist.
1088
 
case `pwd` in
1089
 
.) ac_abs_builddir="$ac_dir";;
1090
 
*)
1091
 
  case "$ac_dir" in
1092
 
  .) ac_abs_builddir=`pwd`;;
1093
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1094
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1095
 
  esac;;
1096
 
esac
1097
 
case $ac_abs_builddir in
1098
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1099
 
*)
1100
 
  case ${ac_top_builddir}. in
1101
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1102
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1103
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1104
 
  esac;;
1105
 
esac
1106
 
case $ac_abs_builddir in
1107
 
.) ac_abs_srcdir=$ac_srcdir;;
1108
 
*)
1109
 
  case $ac_srcdir in
1110
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1111
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1112
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1113
 
  esac;;
1114
 
esac
1115
 
case $ac_abs_builddir in
1116
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1117
 
*)
1118
 
  case $ac_top_srcdir in
1119
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1120
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1121
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1122
 
  esac;;
1123
 
esac
1124
 
 
1125
 
    cd $ac_dir
1126
 
    # Check for guested configure; otherwise get Cygnus style configure.
1127
 
    if test -f $ac_srcdir/configure.gnu; then
1128
 
      echo
1129
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1130
 
    elif test -f $ac_srcdir/configure; then
1131
 
      echo
1132
 
      $SHELL $ac_srcdir/configure  --help=recursive
1133
 
    elif test -f $ac_srcdir/configure.ac ||
1134
 
           test -f $ac_srcdir/configure.in; then
1135
 
      echo
1136
 
      $ac_configure --help
 
1597
    ac_top_srcdir=$srcdir
 
1598
    ac_abs_top_srcdir=$srcdir ;;
 
1599
  *) # Relative name.
 
1600
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1601
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1602
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1603
esac
 
1604
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1605
 
 
1606
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1607
    # Check for guested configure.
 
1608
    if test -f "$ac_srcdir/configure.gnu"; then
 
1609
      echo &&
 
1610
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1611
    elif test -f "$ac_srcdir/configure"; then
 
1612
      echo &&
 
1613
      $SHELL "$ac_srcdir/configure" --help=recursive
1137
1614
    else
1138
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139
 
    fi
1140
 
    cd $ac_popdir
 
1615
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1616
    fi || ac_status=$?
 
1617
    cd "$ac_pwd" || { ac_status=$?; break; }
1141
1618
  done
1142
1619
fi
1143
1620
 
1144
 
test -n "$ac_init_help" && exit 0
 
1621
test -n "$ac_init_help" && exit $ac_status
1145
1622
if $ac_init_version; then
1146
1623
  cat <<\_ACEOF
 
1624
configure
 
1625
generated by GNU Autoconf 2.64
1147
1626
 
1148
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1627
Copyright (C) 2009 Free Software Foundation, Inc.
1149
1628
This configure script is free software; the Free Software Foundation
1150
1629
gives unlimited permission to copy, distribute and modify it.
1151
1630
_ACEOF
1152
 
  exit 0
1153
 
fi
1154
 
exec 5>config.log
1155
 
cat >&5 <<_ACEOF
 
1631
  exit
 
1632
fi
 
1633
 
 
1634
## ------------------------ ##
 
1635
## Autoconf initialization. ##
 
1636
## ------------------------ ##
 
1637
 
 
1638
# ac_fn_c_try_compile LINENO
 
1639
# --------------------------
 
1640
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1641
ac_fn_c_try_compile ()
 
1642
{
 
1643
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1644
  rm -f conftest.$ac_objext
 
1645
  if { { ac_try="$ac_compile"
 
1646
case "(($ac_try" in
 
1647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1648
  *) ac_try_echo=$ac_try;;
 
1649
esac
 
1650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1651
$as_echo "$ac_try_echo"; } >&5
 
1652
  (eval "$ac_compile") 2>conftest.err
 
1653
  ac_status=$?
 
1654
  if test -s conftest.err; then
 
1655
    grep -v '^ *+' conftest.err >conftest.er1
 
1656
    cat conftest.er1 >&5
 
1657
    mv -f conftest.er1 conftest.err
 
1658
  fi
 
1659
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1660
  test $ac_status = 0; } && {
 
1661
         test -z "$ac_c_werror_flag" ||
 
1662
         test ! -s conftest.err
 
1663
       } && test -s conftest.$ac_objext; then :
 
1664
  ac_retval=0
 
1665
else
 
1666
  $as_echo "$as_me: failed program was:" >&5
 
1667
sed 's/^/| /' conftest.$ac_ext >&5
 
1668
 
 
1669
        ac_retval=1
 
1670
fi
 
1671
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1672
  return $ac_retval
 
1673
 
 
1674
} # ac_fn_c_try_compile
 
1675
 
 
1676
# ac_fn_cxx_try_compile LINENO
 
1677
# ----------------------------
 
1678
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1679
ac_fn_cxx_try_compile ()
 
1680
{
 
1681
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1682
  rm -f conftest.$ac_objext
 
1683
  if { { ac_try="$ac_compile"
 
1684
case "(($ac_try" in
 
1685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1686
  *) ac_try_echo=$ac_try;;
 
1687
esac
 
1688
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1689
$as_echo "$ac_try_echo"; } >&5
 
1690
  (eval "$ac_compile") 2>conftest.err
 
1691
  ac_status=$?
 
1692
  if test -s conftest.err; then
 
1693
    grep -v '^ *+' conftest.err >conftest.er1
 
1694
    cat conftest.er1 >&5
 
1695
    mv -f conftest.er1 conftest.err
 
1696
  fi
 
1697
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1698
  test $ac_status = 0; } && {
 
1699
         test -z "$ac_cxx_werror_flag" ||
 
1700
         test ! -s conftest.err
 
1701
       } && test -s conftest.$ac_objext; then :
 
1702
  ac_retval=0
 
1703
else
 
1704
  $as_echo "$as_me: failed program was:" >&5
 
1705
sed 's/^/| /' conftest.$ac_ext >&5
 
1706
 
 
1707
        ac_retval=1
 
1708
fi
 
1709
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1710
  return $ac_retval
 
1711
 
 
1712
} # ac_fn_cxx_try_compile
 
1713
 
 
1714
# ac_fn_c_try_link LINENO
 
1715
# -----------------------
 
1716
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1717
ac_fn_c_try_link ()
 
1718
{
 
1719
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1720
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1721
  if { { ac_try="$ac_link"
 
1722
case "(($ac_try" in
 
1723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1724
  *) ac_try_echo=$ac_try;;
 
1725
esac
 
1726
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1727
$as_echo "$ac_try_echo"; } >&5
 
1728
  (eval "$ac_link") 2>conftest.err
 
1729
  ac_status=$?
 
1730
  if test -s conftest.err; then
 
1731
    grep -v '^ *+' conftest.err >conftest.er1
 
1732
    cat conftest.er1 >&5
 
1733
    mv -f conftest.er1 conftest.err
 
1734
  fi
 
1735
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1736
  test $ac_status = 0; } && {
 
1737
         test -z "$ac_c_werror_flag" ||
 
1738
         test ! -s conftest.err
 
1739
       } && test -s conftest$ac_exeext && {
 
1740
         test "$cross_compiling" = yes ||
 
1741
         $as_test_x conftest$ac_exeext
 
1742
       }; then :
 
1743
  ac_retval=0
 
1744
else
 
1745
  $as_echo "$as_me: failed program was:" >&5
 
1746
sed 's/^/| /' conftest.$ac_ext >&5
 
1747
 
 
1748
        ac_retval=1
 
1749
fi
 
1750
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1751
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1752
  # interfere with the next link command; also delete a directory that is
 
1753
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1754
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1755
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1756
  return $ac_retval
 
1757
 
 
1758
} # ac_fn_c_try_link
 
1759
cat >config.log <<_ACEOF
1156
1760
This file contains any messages produced by compilers while
1157
1761
running configure, to aid debugging if configure makes a mistake.
1158
1762
 
1159
1763
It was created by $as_me, which was
1160
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1764
generated by GNU Autoconf 2.64.  Invocation command line was
1161
1765
 
1162
1766
  $ $0 $@
1163
1767
 
1164
1768
_ACEOF
 
1769
exec 5>>config.log
1165
1770
{
1166
1771
cat <<_ASUNAME
1167
1772
## --------- ##
1180
1785
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1181
1786
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1182
1787
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1183
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1788
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1184
1789
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1185
1790
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1186
1791
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1192
1797
do
1193
1798
  IFS=$as_save_IFS
1194
1799
  test -z "$as_dir" && as_dir=.
1195
 
  echo "PATH: $as_dir"
1196
 
done
 
1800
    $as_echo "PATH: $as_dir"
 
1801
  done
 
1802
IFS=$as_save_IFS
1197
1803
 
1198
1804
} >&5
1199
1805
 
1215
1821
ac_configure_args=
1216
1822
ac_configure_args0=
1217
1823
ac_configure_args1=
1218
 
ac_sep=
1219
1824
ac_must_keep_next=false
1220
1825
for ac_pass in 1 2
1221
1826
do
1226
1831
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227
1832
    | -silent | --silent | --silen | --sile | --sil)
1228
1833
      continue ;;
1229
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1834
    *\'*)
 
1835
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1231
1836
    esac
1232
1837
    case $ac_pass in
1233
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1838
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1234
1839
    2)
1235
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1840
      as_fn_append ac_configure_args1 " '$ac_arg'"
1236
1841
      if test $ac_must_keep_next = true; then
1237
1842
        ac_must_keep_next=false # Got value, back to normal.
1238
1843
      else
1248
1853
          -* ) ac_must_keep_next=true ;;
1249
1854
        esac
1250
1855
      fi
1251
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1252
 
      # Get rid of the leading space.
1253
 
      ac_sep=" "
 
1856
      as_fn_append ac_configure_args " '$ac_arg'"
1254
1857
      ;;
1255
1858
    esac
1256
1859
  done
1257
1860
done
1258
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1259
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1861
{ ac_configure_args0=; unset ac_configure_args0;}
 
1862
{ ac_configure_args1=; unset ac_configure_args1;}
1260
1863
 
1261
1864
# When interrupted or exit'd, cleanup temporary files, and complete
1262
1865
# config.log.  We remove comments because anyway the quotes in there
1263
1866
# would cause problems or look ugly.
1264
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1265
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1867
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1868
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1266
1869
trap 'exit_status=$?
1267
1870
  # Save into config.log some information that might help in debugging.
1268
1871
  {
1275
1878
_ASBOX
1276
1879
    echo
1277
1880
    # The following way of writing the cache mishandles newlines in values,
1278
 
{
 
1881
(
 
1882
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1883
    eval ac_val=\$$ac_var
 
1884
    case $ac_val in #(
 
1885
    *${as_nl}*)
 
1886
      case $ac_var in #(
 
1887
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1888
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1889
      esac
 
1890
      case $ac_var in #(
 
1891
      _ | IFS | as_nl) ;; #(
 
1892
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1893
      *) { eval $ac_var=; unset $ac_var;} ;;
 
1894
      esac ;;
 
1895
    esac
 
1896
  done
1279
1897
  (set) 2>&1 |
1280
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281
 
    *ac_space=\ *)
 
1898
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1899
    *${as_nl}ac_space=\ *)
1282
1900
      sed -n \
1283
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1284
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1285
 
      ;;
 
1901
        "s/'\''/'\''\\\\'\'''\''/g;
 
1902
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1903
      ;; #(
1286
1904
    *)
1287
 
      sed -n \
1288
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1905
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1289
1906
      ;;
1290
 
    esac;
1291
 
}
 
1907
    esac |
 
1908
    sort
 
1909
)
1292
1910
    echo
1293
1911
 
1294
1912
    cat <<\_ASBOX
1299
1917
    echo
1300
1918
    for ac_var in $ac_subst_vars
1301
1919
    do
1302
 
      eval ac_val=$`echo $ac_var`
1303
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1920
      eval ac_val=\$$ac_var
 
1921
      case $ac_val in
 
1922
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1923
      esac
 
1924
      $as_echo "$ac_var='\''$ac_val'\''"
1304
1925
    done | sort
1305
1926
    echo
1306
1927
 
1307
1928
    if test -n "$ac_subst_files"; then
1308
1929
      cat <<\_ASBOX
1309
 
## ------------- ##
1310
 
## Output files. ##
1311
 
## ------------- ##
 
1930
## ------------------- ##
 
1931
## File substitutions. ##
 
1932
## ------------------- ##
1312
1933
_ASBOX
1313
1934
      echo
1314
1935
      for ac_var in $ac_subst_files
1315
1936
      do
1316
 
        eval ac_val=$`echo $ac_var`
1317
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1937
        eval ac_val=\$$ac_var
 
1938
        case $ac_val in
 
1939
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1940
        esac
 
1941
        $as_echo "$ac_var='\''$ac_val'\''"
1318
1942
      done | sort
1319
1943
      echo
1320
1944
    fi
1326
1950
## ----------- ##
1327
1951
_ASBOX
1328
1952
      echo
1329
 
      sed "/^$/d" confdefs.h | sort
 
1953
      cat confdefs.h
1330
1954
      echo
1331
1955
    fi
1332
1956
    test "$ac_signal" != 0 &&
1333
 
      echo "$as_me: caught signal $ac_signal"
1334
 
    echo "$as_me: exit $exit_status"
 
1957
      $as_echo "$as_me: caught signal $ac_signal"
 
1958
    $as_echo "$as_me: exit $exit_status"
1335
1959
  } >&5
1336
 
  rm -f core *.core &&
1337
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1960
  rm -f core *.core core.conftest.* &&
 
1961
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1338
1962
    exit $exit_status
1339
 
     ' 0
 
1963
' 0
1340
1964
for ac_signal in 1 2 13 15; do
1341
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1965
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1342
1966
done
1343
1967
ac_signal=0
1344
1968
 
1345
1969
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1346
 
rm -rf conftest* confdefs.h
1347
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348
 
echo >confdefs.h
 
1970
rm -f -r conftest* confdefs.h
 
1971
 
 
1972
$as_echo "/* confdefs.h */" > confdefs.h
1349
1973
 
1350
1974
# Predefined preprocessor variables.
1351
1975
 
1353
1977
#define PACKAGE_NAME "$PACKAGE_NAME"
1354
1978
_ACEOF
1355
1979
 
1356
 
 
1357
1980
cat >>confdefs.h <<_ACEOF
1358
1981
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1359
1982
_ACEOF
1360
1983
 
1361
 
 
1362
1984
cat >>confdefs.h <<_ACEOF
1363
1985
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1364
1986
_ACEOF
1365
1987
 
1366
 
 
1367
1988
cat >>confdefs.h <<_ACEOF
1368
1989
#define PACKAGE_STRING "$PACKAGE_STRING"
1369
1990
_ACEOF
1370
1991
 
1371
 
 
1372
1992
cat >>confdefs.h <<_ACEOF
1373
1993
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1374
1994
_ACEOF
1375
1995
 
 
1996
cat >>confdefs.h <<_ACEOF
 
1997
#define PACKAGE_URL "$PACKAGE_URL"
 
1998
_ACEOF
 
1999
 
1376
2000
 
1377
2001
# Let the site file select an alternate cache file if it wants to.
1378
 
# Prefer explicitly selected file to automatically selected ones.
1379
 
if test -z "$CONFIG_SITE"; then
1380
 
  if test "x$prefix" != xNONE; then
1381
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1382
 
  else
1383
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384
 
  fi
 
2002
# Prefer an explicitly selected file to automatically selected ones.
 
2003
ac_site_file1=NONE
 
2004
ac_site_file2=NONE
 
2005
if test -n "$CONFIG_SITE"; then
 
2006
  ac_site_file1=$CONFIG_SITE
 
2007
elif test "x$prefix" != xNONE; then
 
2008
  ac_site_file1=$prefix/share/config.site
 
2009
  ac_site_file2=$prefix/etc/config.site
 
2010
else
 
2011
  ac_site_file1=$ac_default_prefix/share/config.site
 
2012
  ac_site_file2=$ac_default_prefix/etc/config.site
1385
2013
fi
1386
 
for ac_site_file in $CONFIG_SITE; do
 
2014
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2015
do
 
2016
  test "x$ac_site_file" = xNONE && continue
1387
2017
  if test -r "$ac_site_file"; then
1388
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1389
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2018
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2019
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1390
2020
    sed 's/^/| /' "$ac_site_file" >&5
1391
2021
    . "$ac_site_file"
1392
2022
  fi
1396
2026
  # Some versions of bash will fail to source /dev/null (special
1397
2027
  # files actually), so we avoid doing that.
1398
2028
  if test -f "$cache_file"; then
1399
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1400
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2029
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2030
$as_echo "$as_me: loading cache $cache_file" >&6;}
1401
2031
    case $cache_file in
1402
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1403
 
      *)                      . ./$cache_file;;
 
2032
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2033
      *)                      . "./$cache_file";;
1404
2034
    esac
1405
2035
  fi
1406
2036
else
1407
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1408
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2037
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2038
$as_echo "$as_me: creating cache $cache_file" >&6;}
1409
2039
  >$cache_file
1410
2040
fi
1411
2041
 
1412
2042
# Check that the precious variables saved in the cache have kept the same
1413
2043
# value.
1414
2044
ac_cache_corrupted=false
1415
 
for ac_var in `(set) 2>&1 |
1416
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2045
for ac_var in $ac_precious_vars; do
1417
2046
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1418
2047
  eval ac_new_set=\$ac_env_${ac_var}_set
1419
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1420
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2048
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2049
  eval ac_new_val=\$ac_env_${ac_var}_value
1421
2050
  case $ac_old_set,$ac_new_set in
1422
2051
    set,)
1423
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1424
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2052
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2053
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1425
2054
      ac_cache_corrupted=: ;;
1426
2055
    ,set)
1427
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1428
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2056
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2057
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1429
2058
      ac_cache_corrupted=: ;;
1430
2059
    ,);;
1431
2060
    *)
1432
2061
      if test "x$ac_old_val" != "x$ac_new_val"; then
1433
 
        # differences in whitespace do not lead to failure.
1434
 
        ac_old_val_w=`echo x $ac_old_val`
1435
 
        ac_new_val_w=`echo x $ac_new_val`
1436
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1437
 
          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1438
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1439
 
          ac_cache_corrupted=:
1440
 
        else
1441
 
          { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1442
 
echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1443
 
          eval $ac_var=\$ac_old_val
1444
 
        fi
1445
 
        { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1446
 
echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1447
 
        { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1448
 
echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2062
        # differences in whitespace do not lead to failure.
 
2063
        ac_old_val_w=`echo x $ac_old_val`
 
2064
        ac_new_val_w=`echo x $ac_new_val`
 
2065
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2066
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2067
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2068
          ac_cache_corrupted=:
 
2069
        else
 
2070
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2071
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2072
          eval $ac_var=\$ac_old_val
 
2073
        fi
 
2074
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2075
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2076
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2077
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1449
2078
      fi;;
1450
2079
  esac
1451
2080
  # Pass precious variables to config.status.
1452
2081
  if test "$ac_new_set" = set; then
1453
2082
    case $ac_new_val in
1454
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1455
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2083
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1456
2084
    *) ac_arg=$ac_var=$ac_new_val ;;
1457
2085
    esac
1458
2086
    case " $ac_configure_args " in
1459
2087
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1460
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2088
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1461
2089
    esac
1462
2090
  fi
1463
2091
done
1464
2092
if $ac_cache_corrupted; then
1465
 
  { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1466
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
1467
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1468
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1469
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1470
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1471
 
   { (exit 1); exit 1; }; }
 
2093
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2095
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2096
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2097
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1472
2098
fi
 
2099
## -------------------- ##
 
2100
## Main body of script. ##
 
2101
## -------------------- ##
1473
2102
 
1474
2103
ac_ext=c
1475
2104
ac_cpp='$CPP $CPPFLAGS'
1485
2114
 
1486
2115
 
1487
2116
 
1488
 
 
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
 
1497
 
 
1498
 
 
1499
 
 
1500
 
 
1501
 
 
1502
 
 
1503
2117
progname=$0
1504
2118
# if PWD already has a value, it is probably wrong.
1505
2119
if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
1530
2144
 
1531
2145
# Find the build, host, and target systems.
1532
2146
ac_aux_dir=
1533
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1534
 
  if test -f $ac_dir/install-sh; then
1535
 
    ac_aux_dir=$ac_dir
1536
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
1537
 
    break
1538
 
  elif test -f $ac_dir/install.sh; then
1539
 
    ac_aux_dir=$ac_dir
1540
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
1541
 
    break
1542
 
  elif test -f $ac_dir/shtool; then
1543
 
    ac_aux_dir=$ac_dir
1544
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
1545
 
    break
1546
 
  fi
 
2147
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2148
  for ac_t in install-sh install.sh shtool; do
 
2149
    if test -f "$ac_dir/$ac_t"; then
 
2150
      ac_aux_dir=$ac_dir
 
2151
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2152
      break 2
 
2153
    fi
 
2154
  done
1547
2155
done
1548
2156
if test -z "$ac_aux_dir"; then
1549
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1550
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1551
 
   { (exit 1); exit 1; }; }
 
2157
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1552
2158
fi
1553
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1554
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1555
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2159
 
 
2160
# These three variables are undocumented and unsupported,
 
2161
# and are intended to be withdrawn in a future Autoconf release.
 
2162
# They can cause serious problems if a builder's source tree is in a directory
 
2163
# whose full name contains unusual characters.
 
2164
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2165
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2166
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2167
 
1556
2168
 
1557
2169
# Make sure we can run config.sub.
1558
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1559
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561
 
   { (exit 1); exit 1; }; }
 
2170
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2171
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1562
2172
 
1563
 
echo "$as_me:$LINENO: checking build system type" >&5
1564
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565
 
if test "${ac_cv_build+set}" = set; then
1566
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2174
$as_echo_n "checking build system type... " >&6; }
 
2175
if test "${ac_cv_build+set}" = set; then :
 
2176
  $as_echo_n "(cached) " >&6
1567
2177
else
1568
 
  ac_cv_build_alias=$build_alias
1569
 
test -z "$ac_cv_build_alias" &&
1570
 
  ac_cv_build_alias=`$ac_config_guess`
1571
 
test -z "$ac_cv_build_alias" &&
1572
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574
 
   { (exit 1); exit 1; }; }
1575
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578
 
   { (exit 1); exit 1; }; }
 
2178
  ac_build_alias=$build_alias
 
2179
test "x$ac_build_alias" = x &&
 
2180
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2181
test "x$ac_build_alias" = x &&
 
2182
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2183
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2184
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1579
2185
 
1580
2186
fi
1581
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2188
$as_echo "$ac_cv_build" >&6; }
 
2189
case $ac_cv_build in
 
2190
*-*-*) ;;
 
2191
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2192
esac
1583
2193
build=$ac_cv_build
1584
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2194
ac_save_IFS=$IFS; IFS='-'
 
2195
set x $ac_cv_build
 
2196
shift
 
2197
build_cpu=$1
 
2198
build_vendor=$2
 
2199
shift; shift
 
2200
# Remember, the first character of IFS is used to create $*,
 
2201
# except with old shells:
 
2202
build_os=$*
 
2203
IFS=$ac_save_IFS
 
2204
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1587
2205
 
1588
2206
 
1589
2207
 case ${build_alias} in
1613
2231
    NONENONEs,x,x, &&
1614
2232
  program_transform_name=s,y,y,
1615
2233
 
1616
 
echo "$as_me:$LINENO: checking host system type" >&5
1617
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1618
 
if test "${ac_cv_host+set}" = set; then
1619
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1620
 
else
1621
 
  ac_cv_host_alias=$host_alias
1622
 
test -z "$ac_cv_host_alias" &&
1623
 
  ac_cv_host_alias=$ac_cv_build_alias
1624
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1625
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1626
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1627
 
   { (exit 1); exit 1; }; }
 
2234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
2235
$as_echo_n "checking host system type... " >&6; }
 
2236
if test "${ac_cv_host+set}" = set; then :
 
2237
  $as_echo_n "(cached) " >&6
 
2238
else
 
2239
  if test "x$host_alias" = x; then
 
2240
  ac_cv_host=$ac_cv_build
 
2241
else
 
2242
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2243
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2244
fi
1628
2245
 
1629
2246
fi
1630
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1631
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
2248
$as_echo "$ac_cv_host" >&6; }
 
2249
case $ac_cv_host in
 
2250
*-*-*) ;;
 
2251
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2252
esac
1632
2253
host=$ac_cv_host
1633
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1636
 
 
1637
 
 
1638
 
echo "$as_me:$LINENO: checking target system type" >&5
1639
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1640
 
if test "${ac_cv_target+set}" = set; then
1641
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1642
 
else
1643
 
  ac_cv_target_alias=$target_alias
1644
 
test "x$ac_cv_target_alias" = "x" &&
1645
 
  ac_cv_target_alias=$ac_cv_host_alias
1646
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1647
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1648
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1649
 
   { (exit 1); exit 1; }; }
1650
 
 
1651
 
fi
1652
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1653
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2254
ac_save_IFS=$IFS; IFS='-'
 
2255
set x $ac_cv_host
 
2256
shift
 
2257
host_cpu=$1
 
2258
host_vendor=$2
 
2259
shift; shift
 
2260
# Remember, the first character of IFS is used to create $*,
 
2261
# except with old shells:
 
2262
host_os=$*
 
2263
IFS=$ac_save_IFS
 
2264
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2265
 
 
2266
 
 
2267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 
2268
$as_echo_n "checking target system type... " >&6; }
 
2269
if test "${ac_cv_target+set}" = set; then :
 
2270
  $as_echo_n "(cached) " >&6
 
2271
else
 
2272
  if test "x$target_alias" = x; then
 
2273
  ac_cv_target=$ac_cv_host
 
2274
else
 
2275
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2276
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2277
fi
 
2278
 
 
2279
fi
 
2280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
 
2281
$as_echo "$ac_cv_target" >&6; }
 
2282
case $ac_cv_target in
 
2283
*-*-*) ;;
 
2284
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 
2285
esac
1654
2286
target=$ac_cv_target
1655
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1656
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1657
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2287
ac_save_IFS=$IFS; IFS='-'
 
2288
set x $ac_cv_target
 
2289
shift
 
2290
target_cpu=$1
 
2291
target_vendor=$2
 
2292
shift; shift
 
2293
# Remember, the first character of IFS is used to create $*,
 
2294
# except with old shells:
 
2295
target_os=$*
 
2296
IFS=$ac_save_IFS
 
2297
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1658
2298
 
1659
2299
 
1660
2300
# The aliases save the names the user supplied, while $host etc.
1663
2303
  test "$program_prefix$program_suffix$program_transform_name" = \
1664
2304
    NONENONEs,x,x, &&
1665
2305
  program_prefix=${target_alias}-
 
2306
 
1666
2307
test "$program_prefix" != NONE &&
1667
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2308
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1668
2309
# Use a double $ so make ignores it.
1669
2310
test "$program_suffix" != NONE &&
1670
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1671
 
# Double any \ or $.  echo might interpret backslashes.
 
2311
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2312
# Double any \ or $.
1672
2313
# By default was `s,x,x', remove it if useless.
1673
 
cat <<\_ACEOF >conftest.sed
1674
 
s/[\\$]/&&/g;s/;s,x,x,$//
1675
 
_ACEOF
1676
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1677
 
rm conftest.sed
 
2314
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2315
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1678
2316
 
1679
2317
 
1680
2318
 
1693
2331
# OS/2's system install, which has a completely different semantic
1694
2332
# ./install, which can be erroneously created by make from ./install.sh.
1695
2333
# Reject install programs that cannot install multiple files.
1696
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1697
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2335
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1698
2336
if test -z "$INSTALL"; then
1699
 
if test "${ac_cv_path_install+set}" = set; then
1700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2337
if test "${ac_cv_path_install+set}" = set; then :
 
2338
  $as_echo_n "(cached) " >&6
1701
2339
else
1702
2340
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703
2341
for as_dir in $PATH
1704
2342
do
1705
2343
  IFS=$as_save_IFS
1706
2344
  test -z "$as_dir" && as_dir=.
1707
 
  # Account for people who put trailing slashes in PATH elements.
1708
 
case $as_dir/ in
1709
 
  ./ | .// | /cC/* | \
 
2345
    # Account for people who put trailing slashes in PATH elements.
 
2346
case $as_dir/ in #((
 
2347
  ./ | .// | /[cC]/* | \
1710
2348
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1711
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2349
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1712
2350
  /usr/ucb/* ) ;;
1713
2351
  *)
1714
2352
    # OSF1 and SCO ODT 3.0 have their own names for install.
1716
2354
    # by default.
1717
2355
    for ac_prog in ginstall scoinst install; do
1718
2356
      for ac_exec_ext in '' $ac_executable_extensions; do
1719
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2357
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1720
2358
          if test $ac_prog = install &&
1721
2359
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1722
2360
            # AIX install.  It has an incompatible calling convention.
1744
2382
    done
1745
2383
    ;;
1746
2384
esac
1747
 
done
 
2385
 
 
2386
  done
 
2387
IFS=$as_save_IFS
1748
2388
 
1749
2389
rm -rf conftest.one conftest.two conftest.dir
1750
2390
 
1759
2399
    INSTALL=$ac_install_sh
1760
2400
  fi
1761
2401
fi
1762
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1763
 
echo "${ECHO_T}$INSTALL" >&6
 
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2403
$as_echo "$INSTALL" >&6; }
1764
2404
 
1765
2405
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766
2406
# It thinks the first close brace ends the variable substitution.
1770
2410
 
1771
2411
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1772
2412
 
1773
 
echo "$as_me:$LINENO: checking whether ln works" >&5
1774
 
echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
1775
 
if test "${acx_cv_prog_LN+set}" = set; then
1776
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
 
2414
$as_echo_n "checking whether ln works... " >&6; }
 
2415
if test "${acx_cv_prog_LN+set}" = set; then :
 
2416
  $as_echo_n "(cached) " >&6
1777
2417
else
1778
2418
  rm -f conftestdata_t
1779
2419
echo >conftestdata_f
1788
2428
fi
1789
2429
if test $acx_cv_prog_LN = no; then
1790
2430
  LN="cp"
1791
 
  echo "$as_me:$LINENO: result: no, using $LN" >&5
1792
 
echo "${ECHO_T}no, using $LN" >&6
 
2431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
 
2432
$as_echo "no, using $LN" >&6; }
1793
2433
else
1794
2434
  LN="$acx_cv_prog_LN"
1795
 
  echo "$as_me:$LINENO: result: yes" >&5
1796
 
echo "${ECHO_T}yes" >&6
 
2435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2436
$as_echo "yes" >&6; }
1797
2437
fi
1798
2438
 
1799
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
1800
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
2440
$as_echo_n "checking whether ln -s works... " >&6; }
1801
2441
LN_S=$as_ln_s
1802
2442
if test "$LN_S" = "ln -s"; then
1803
 
  echo "$as_me:$LINENO: result: yes" >&5
1804
 
echo "${ECHO_T}yes" >&6
1805
 
else
1806
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1807
 
echo "${ECHO_T}no, using $LN_S" >&6
1808
 
fi
 
2443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2444
$as_echo "yes" >&6; }
 
2445
else
 
2446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
2447
$as_echo "no, using $LN_S" >&6; }
 
2448
fi
 
2449
 
 
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
2451
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
2452
if test "${ac_cv_path_SED+set}" = set; then :
 
2453
  $as_echo_n "(cached) " >&6
 
2454
else
 
2455
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
2456
     for ac_i in 1 2 3 4 5 6 7; do
 
2457
       ac_script="$ac_script$as_nl$ac_script"
 
2458
     done
 
2459
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
2460
     { ac_script=; unset ac_script;}
 
2461
     if test -z "$SED"; then
 
2462
  ac_path_SED_found=false
 
2463
  # Loop through the user's path and test for each of PROGNAME-LIST
 
2464
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2465
for as_dir in $PATH
 
2466
do
 
2467
  IFS=$as_save_IFS
 
2468
  test -z "$as_dir" && as_dir=.
 
2469
    for ac_prog in sed gsed; do
 
2470
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2471
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
2472
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
2473
# Check for GNU ac_path_SED and select it if it is found.
 
2474
  # Check for GNU $ac_path_SED
 
2475
case `"$ac_path_SED" --version 2>&1` in
 
2476
*GNU*)
 
2477
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
2478
*)
 
2479
  ac_count=0
 
2480
  $as_echo_n 0123456789 >"conftest.in"
 
2481
  while :
 
2482
  do
 
2483
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
2484
    mv "conftest.tmp" "conftest.in"
 
2485
    cp "conftest.in" "conftest.nl"
 
2486
    $as_echo '' >> "conftest.nl"
 
2487
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
2488
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
2489
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
2490
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
2491
      # Best one so far, save it but keep looking for a better one
 
2492
      ac_cv_path_SED="$ac_path_SED"
 
2493
      ac_path_SED_max=$ac_count
 
2494
    fi
 
2495
    # 10*(2^10) chars as input seems more than enough
 
2496
    test $ac_count -gt 10 && break
 
2497
  done
 
2498
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
2499
esac
 
2500
 
 
2501
      $ac_path_SED_found && break 3
 
2502
    done
 
2503
  done
 
2504
  done
 
2505
IFS=$as_save_IFS
 
2506
  if test -z "$ac_cv_path_SED"; then
 
2507
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
2508
  fi
 
2509
else
 
2510
  ac_cv_path_SED=$SED
 
2511
fi
 
2512
 
 
2513
fi
 
2514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
2515
$as_echo "$ac_cv_path_SED" >&6; }
 
2516
 SED="$ac_cv_path_SED"
 
2517
  rm -f conftest.sed
 
2518
 
 
2519
for ac_prog in gawk mawk nawk awk
 
2520
do
 
2521
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2522
set dummy $ac_prog; ac_word=$2
 
2523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2524
$as_echo_n "checking for $ac_word... " >&6; }
 
2525
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2526
  $as_echo_n "(cached) " >&6
 
2527
else
 
2528
  if test -n "$AWK"; then
 
2529
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2530
else
 
2531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2532
for as_dir in $PATH
 
2533
do
 
2534
  IFS=$as_save_IFS
 
2535
  test -z "$as_dir" && as_dir=.
 
2536
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2538
    ac_cv_prog_AWK="$ac_prog"
 
2539
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2540
    break 2
 
2541
  fi
 
2542
done
 
2543
  done
 
2544
IFS=$as_save_IFS
 
2545
 
 
2546
fi
 
2547
fi
 
2548
AWK=$ac_cv_prog_AWK
 
2549
if test -n "$AWK"; then
 
2550
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2551
$as_echo "$AWK" >&6; }
 
2552
else
 
2553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2554
$as_echo "no" >&6; }
 
2555
fi
 
2556
 
 
2557
 
 
2558
  test -n "$AWK" && break
 
2559
done
1809
2560
 
1810
2561
 
1811
2562
### we might need to use some other shell than /bin/sh for running subshells
1887
2638
 
1888
2639
# these libraries are used by various programs built for the host environment
1889
2640
#
1890
 
host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr ppl cloog libiconv"
 
2641
host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
1891
2642
 
1892
2643
# these tools are built for the host environment
1893
2644
# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
1971
2722
# Prefix 'build-' so this never conflicts with target_subdir.
1972
2723
build_subdir="build-${build_noncanonical}"
1973
2724
 
1974
 
# Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1975
 
if test "${with_build_libsubdir+set}" = set; then
1976
 
  withval="$with_build_libsubdir"
1977
 
  build_libsubdir="$withval"
 
2725
# Check whether --with-build-libsubdir was given.
 
2726
if test "${with_build_libsubdir+set}" = set; then :
 
2727
  withval=$with_build_libsubdir; build_libsubdir="$withval"
1978
2728
else
1979
2729
  build_libsubdir="$build_subdir"
1980
 
fi;
 
2730
fi
 
2731
 
1981
2732
# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1982
2733
if ( test $srcdir = . && test -d gcc ) \
1983
2734
   || test -d $srcdir/../host-${host_noncanonical}; then
2051
2802
 
2052
2803
# Handle --enable-gold.
2053
2804
 
2054
 
# Check whether --enable-gold or --disable-gold was given.
2055
 
if test "${enable_gold+set}" = set; then
2056
 
  enableval="$enable_gold"
2057
 
  ENABLE_GOLD=$enableval
 
2805
# Check whether --enable-gold was given.
 
2806
if test "${enable_gold+set}" = set; then :
 
2807
  enableval=$enable_gold; ENABLE_GOLD=$enableval
2058
2808
else
2059
2809
  ENABLE_GOLD=no
2060
 
fi;
 
2810
fi
 
2811
 
2061
2812
if test "${ENABLE_GOLD}" = "yes"; then
2062
2813
  # Check for ELF target.
2063
2814
  is_elf=no
2134
2885
esac
2135
2886
 
2136
2887
 
2137
 
# Check whether --enable-libada or --disable-libada was given.
2138
 
if test "${enable_libada+set}" = set; then
2139
 
  enableval="$enable_libada"
2140
 
  ENABLE_LIBADA=$enableval
 
2888
# Check whether --enable-libada was given.
 
2889
if test "${enable_libada+set}" = set; then :
 
2890
  enableval=$enable_libada; ENABLE_LIBADA=$enableval
2141
2891
else
2142
2892
  ENABLE_LIBADA=yes
2143
 
fi;
 
2893
fi
 
2894
 
2144
2895
if test "${ENABLE_LIBADA}" != "yes" ; then
2145
2896
  noconfigdirs="$noconfigdirs gnattools"
2146
2897
fi
2147
2898
 
2148
 
# Check whether --enable-libssp or --disable-libssp was given.
2149
 
if test "${enable_libssp+set}" = set; then
2150
 
  enableval="$enable_libssp"
2151
 
  ENABLE_LIBSSP=$enableval
 
2899
# Check whether --enable-libssp was given.
 
2900
if test "${enable_libssp+set}" = set; then :
 
2901
  enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2152
2902
else
2153
2903
  ENABLE_LIBSSP=yes
2154
 
fi;
 
2904
fi
 
2905
 
2155
2906
 
2156
2907
# Save it here so that, even in case of --enable-libgcj, if the Java
2157
2908
# front-end isn't enabled, we still get libgcj disabled.
2219
2970
    noconfigdirs="$noconfigdirs ld gprof"
2220
2971
    noconfigdirs="$noconfigdirs sim target-rda"
2221
2972
    ;;
2222
 
  x86_64-*-darwin9*)
 
2973
  x86_64-*-darwin[912]*)
2223
2974
    noconfigdirs="$noconfigdirs ld gas gprof"
2224
2975
    noconfigdirs="$noconfigdirs sim target-rda"
2225
2976
    ;;
2500
3251
    ;;
2501
3252
  *-*-cygwin*)
2502
3253
    target_configdirs="$target_configdirs target-libtermcap target-winsup"
2503
 
    noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
 
3254
    noconfigdirs="$noconfigdirs target-gperf target-libgloss"
2504
3255
    # always build newlib if winsup directory is present.
2505
3256
    if test -d "$srcdir/winsup/cygwin"; then
2506
3257
      skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
2570
3321
    ;;
2571
3322
  powerpc-*-aix*)
2572
3323
    # copied from rs6000-*-* entry
2573
 
    noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
 
3324
    noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2574
3325
    ;;
2575
3326
  powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
2576
3327
    target_configdirs="$target_configdirs target-winsup"
2597
3348
    noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
2598
3349
    ;;
2599
3350
  rs6000-*-aix*)
2600
 
    noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp ${libgcj}"
 
3351
    noconfigdirs="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
2601
3352
    ;;
2602
3353
  rs6000-*-*)
2603
3354
    noconfigdirs="$noconfigdirs gprof ${libgcj}"
2605
3356
  m68k-apollo-*)
2606
3357
    noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
2607
3358
    ;;
 
3359
  microblaze*)
 
3360
    noconfigdirs="$noconfigdirs gprof ${libgcj}"
 
3361
    ;;
2608
3362
  mips*-sde-elf*)
2609
3363
    skipdirs="$skipdirs target-libiberty"
2610
3364
    noconfigdirs="$noconfigdirs ${libgcj}"
2643
3397
      i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
2644
3398
      *) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
2645
3399
    esac
2646
 
    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
 
3400
    case "${target}" in
 
3401
      sh*-*-elf)
 
3402
         noconfigdirs="$noconfigdirs ${libgcj}" ;;
 
3403
      *)
 
3404
         noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
 
3405
    esac
2647
3406
    ;;
2648
3407
  sparclet-*-aout* | sparc86x-*-*)
2649
3408
    libgloss_dir=sparc
2825
3584
    ;;
2826
3585
  *-cygwin*)
2827
3586
 
2828
 
echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2829
 
echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
 
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
 
3588
$as_echo_n "checking to see if cat works as expected... " >&6; }
2830
3589
echo a >cygwin-cat-check
2831
3590
if test `cat cygwin-cat-check` == a ; then
2832
3591
  rm cygwin-cat-check
2833
 
  echo "$as_me:$LINENO: result: yes" >&5
2834
 
echo "${ECHO_T}yes" >&6
 
3592
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3593
$as_echo "yes" >&6; }
2835
3594
else
2836
3595
  rm cygwin-cat-check
2837
 
  echo "$as_me:$LINENO: result: no" >&5
2838
 
echo "${ECHO_T}no" >&6
2839
 
  { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2840
 
  Please either mount the build directory in binary mode or run the following
2841
 
  commands before running any configure script:
2842
 
set -o igncr
2843
 
export SHELLOPTS
2844
 
  " >&5
2845
 
echo "$as_me: error: The cat command does not ignore carriage return characters.
2846
 
  Please either mount the build directory in binary mode or run the following
2847
 
  commands before running any configure script:
2848
 
set -o igncr
2849
 
export SHELLOPTS
2850
 
  " >&2;}
2851
 
   { (exit 1); exit 1; }; }
 
3596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3597
$as_echo "no" >&6; }
 
3598
  as_fn_error "The cat command does not ignore carriage return characters.
 
3599
  Please either mount the build directory in binary mode or run the following
 
3600
  commands before running any configure script:
 
3601
set -o igncr
 
3602
export SHELLOPTS
 
3603
  " "$LINENO" 5
2852
3604
fi
2853
3605
 
2854
3606
    host_makefile_frag="config/mh-cygwin"
2969
3721
if test -n "$ac_tool_prefix"; then
2970
3722
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971
3723
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2973
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2974
 
if test "${ac_cv_prog_CC+set}" = set; then
2975
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3725
$as_echo_n "checking for $ac_word... " >&6; }
 
3726
if test "${ac_cv_prog_CC+set}" = set; then :
 
3727
  $as_echo_n "(cached) " >&6
2976
3728
else
2977
3729
  if test -n "$CC"; then
2978
3730
  ac_cv_prog_CC="$CC" # Let the user override the test.
2982
3734
do
2983
3735
  IFS=$as_save_IFS
2984
3736
  test -z "$as_dir" && as_dir=.
2985
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2986
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3737
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3738
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987
3739
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3740
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989
3741
    break 2
2990
3742
  fi
2991
3743
done
2992
 
done
 
3744
  done
 
3745
IFS=$as_save_IFS
2993
3746
 
2994
3747
fi
2995
3748
fi
2996
3749
CC=$ac_cv_prog_CC
2997
3750
if test -n "$CC"; then
2998
 
  echo "$as_me:$LINENO: result: $CC" >&5
2999
 
echo "${ECHO_T}$CC" >&6
 
3751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3752
$as_echo "$CC" >&6; }
3000
3753
else
3001
 
  echo "$as_me:$LINENO: result: no" >&5
3002
 
echo "${ECHO_T}no" >&6
 
3754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3755
$as_echo "no" >&6; }
3003
3756
fi
 
3757
 
3004
3758
 
3005
3759
fi
3006
3760
if test -z "$ac_cv_prog_CC"; then
3007
3761
  ac_ct_CC=$CC
3008
3762
  # Extract the first word of "gcc", so it can be a program name with args.
3009
3763
set dummy gcc; ac_word=$2
3010
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3765
$as_echo_n "checking for $ac_word... " >&6; }
 
3766
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3767
  $as_echo_n "(cached) " >&6
3014
3768
else
3015
3769
  if test -n "$ac_ct_CC"; then
3016
3770
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020
3774
do
3021
3775
  IFS=$as_save_IFS
3022
3776
  test -z "$as_dir" && as_dir=.
3023
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3024
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3777
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025
3779
    ac_cv_prog_ac_ct_CC="gcc"
3026
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3780
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027
3781
    break 2
3028
3782
  fi
3029
3783
done
3030
 
done
 
3784
  done
 
3785
IFS=$as_save_IFS
3031
3786
 
3032
3787
fi
3033
3788
fi
3034
3789
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3035
3790
if test -n "$ac_ct_CC"; then
3036
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3037
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3792
$as_echo "$ac_ct_CC" >&6; }
3038
3793
else
3039
 
  echo "$as_me:$LINENO: result: no" >&5
3040
 
echo "${ECHO_T}no" >&6
 
3794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3795
$as_echo "no" >&6; }
3041
3796
fi
3042
3797
 
3043
 
  CC=$ac_ct_CC
 
3798
  if test "x$ac_ct_CC" = x; then
 
3799
    CC=""
 
3800
  else
 
3801
    case $cross_compiling:$ac_tool_warned in
 
3802
yes:)
 
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3804
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3805
ac_tool_warned=yes ;;
 
3806
esac
 
3807
    CC=$ac_ct_CC
 
3808
  fi
3044
3809
else
3045
3810
  CC="$ac_cv_prog_CC"
3046
3811
fi
3047
3812
 
3048
3813
if test -z "$CC"; then
3049
 
  if test -n "$ac_tool_prefix"; then
3050
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3814
          if test -n "$ac_tool_prefix"; then
 
3815
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3051
3816
set dummy ${ac_tool_prefix}cc; ac_word=$2
3052
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3053
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054
 
if test "${ac_cv_prog_CC+set}" = set; then
3055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3818
$as_echo_n "checking for $ac_word... " >&6; }
 
3819
if test "${ac_cv_prog_CC+set}" = set; then :
 
3820
  $as_echo_n "(cached) " >&6
3056
3821
else
3057
3822
  if test -n "$CC"; then
3058
3823
  ac_cv_prog_CC="$CC" # Let the user override the test.
3062
3827
do
3063
3828
  IFS=$as_save_IFS
3064
3829
  test -z "$as_dir" && as_dir=.
3065
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3066
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3830
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067
3832
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3068
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3833
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069
3834
    break 2
3070
3835
  fi
3071
3836
done
3072
 
done
 
3837
  done
 
3838
IFS=$as_save_IFS
3073
3839
 
3074
3840
fi
3075
3841
fi
3076
3842
CC=$ac_cv_prog_CC
3077
3843
if test -n "$CC"; then
3078
 
  echo "$as_me:$LINENO: result: $CC" >&5
3079
 
echo "${ECHO_T}$CC" >&6
3080
 
else
3081
 
  echo "$as_me:$LINENO: result: no" >&5
3082
 
echo "${ECHO_T}no" >&6
3083
 
fi
3084
 
 
3085
 
fi
3086
 
if test -z "$ac_cv_prog_CC"; then
3087
 
  ac_ct_CC=$CC
3088
 
  # Extract the first word of "cc", so it can be a program name with args.
3089
 
set dummy cc; ac_word=$2
3090
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3091
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3092
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3094
 
else
3095
 
  if test -n "$ac_ct_CC"; then
3096
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3097
 
else
3098
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099
 
for as_dir in $PATH
3100
 
do
3101
 
  IFS=$as_save_IFS
3102
 
  test -z "$as_dir" && as_dir=.
3103
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3104
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105
 
    ac_cv_prog_ac_ct_CC="cc"
3106
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3107
 
    break 2
 
3844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3845
$as_echo "$CC" >&6; }
 
3846
else
 
3847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3848
$as_echo "no" >&6; }
 
3849
fi
 
3850
 
 
3851
 
3108
3852
  fi
3109
 
done
3110
 
done
3111
 
 
3112
 
fi
3113
 
fi
3114
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3115
 
if test -n "$ac_ct_CC"; then
3116
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3117
 
echo "${ECHO_T}$ac_ct_CC" >&6
3118
 
else
3119
 
  echo "$as_me:$LINENO: result: no" >&5
3120
 
echo "${ECHO_T}no" >&6
3121
 
fi
3122
 
 
3123
 
  CC=$ac_ct_CC
3124
 
else
3125
 
  CC="$ac_cv_prog_CC"
3126
 
fi
3127
 
 
3128
3853
fi
3129
3854
if test -z "$CC"; then
3130
3855
  # Extract the first word of "cc", so it can be a program name with args.
3131
3856
set dummy cc; ac_word=$2
3132
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3133
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3134
 
if test "${ac_cv_prog_CC+set}" = set; then
3135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3858
$as_echo_n "checking for $ac_word... " >&6; }
 
3859
if test "${ac_cv_prog_CC+set}" = set; then :
 
3860
  $as_echo_n "(cached) " >&6
3136
3861
else
3137
3862
  if test -n "$CC"; then
3138
3863
  ac_cv_prog_CC="$CC" # Let the user override the test.
3143
3868
do
3144
3869
  IFS=$as_save_IFS
3145
3870
  test -z "$as_dir" && as_dir=.
3146
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3147
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3871
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148
3873
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3149
3874
       ac_prog_rejected=yes
3150
3875
       continue
3151
3876
     fi
3152
3877
    ac_cv_prog_CC="cc"
3153
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154
3879
    break 2
3155
3880
  fi
3156
3881
done
3157
 
done
 
3882
  done
 
3883
IFS=$as_save_IFS
3158
3884
 
3159
3885
if test $ac_prog_rejected = yes; then
3160
3886
  # We found a bogon in the path, so make sure we never use it.
3172
3898
fi
3173
3899
CC=$ac_cv_prog_CC
3174
3900
if test -n "$CC"; then
3175
 
  echo "$as_me:$LINENO: result: $CC" >&5
3176
 
echo "${ECHO_T}$CC" >&6
 
3901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3902
$as_echo "$CC" >&6; }
3177
3903
else
3178
 
  echo "$as_me:$LINENO: result: no" >&5
3179
 
echo "${ECHO_T}no" >&6
 
3904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3905
$as_echo "no" >&6; }
3180
3906
fi
 
3907
 
3181
3908
 
3182
3909
fi
3183
3910
if test -z "$CC"; then
3184
3911
  if test -n "$ac_tool_prefix"; then
3185
 
  for ac_prog in cl
 
3912
  for ac_prog in cl.exe
3186
3913
  do
3187
3914
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188
3915
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3189
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3190
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3191
 
if test "${ac_cv_prog_CC+set}" = set; then
3192
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3917
$as_echo_n "checking for $ac_word... " >&6; }
 
3918
if test "${ac_cv_prog_CC+set}" = set; then :
 
3919
  $as_echo_n "(cached) " >&6
3193
3920
else
3194
3921
  if test -n "$CC"; then
3195
3922
  ac_cv_prog_CC="$CC" # Let the user override the test.
3199
3926
do
3200
3927
  IFS=$as_save_IFS
3201
3928
  test -z "$as_dir" && as_dir=.
3202
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3203
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3929
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204
3931
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3205
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3932
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206
3933
    break 2
3207
3934
  fi
3208
3935
done
3209
 
done
 
3936
  done
 
3937
IFS=$as_save_IFS
3210
3938
 
3211
3939
fi
3212
3940
fi
3213
3941
CC=$ac_cv_prog_CC
3214
3942
if test -n "$CC"; then
3215
 
  echo "$as_me:$LINENO: result: $CC" >&5
3216
 
echo "${ECHO_T}$CC" >&6
 
3943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3944
$as_echo "$CC" >&6; }
3217
3945
else
3218
 
  echo "$as_me:$LINENO: result: no" >&5
3219
 
echo "${ECHO_T}no" >&6
 
3946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3947
$as_echo "no" >&6; }
3220
3948
fi
3221
3949
 
 
3950
 
3222
3951
    test -n "$CC" && break
3223
3952
  done
3224
3953
fi
3225
3954
if test -z "$CC"; then
3226
3955
  ac_ct_CC=$CC
3227
 
  for ac_prog in cl
 
3956
  for ac_prog in cl.exe
3228
3957
do
3229
3958
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3230
3959
set dummy $ac_prog; ac_word=$2
3231
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3232
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3233
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3961
$as_echo_n "checking for $ac_word... " >&6; }
 
3962
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3963
  $as_echo_n "(cached) " >&6
3235
3964
else
3236
3965
  if test -n "$ac_ct_CC"; then
3237
3966
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3241
3970
do
3242
3971
  IFS=$as_save_IFS
3243
3972
  test -z "$as_dir" && as_dir=.
3244
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3245
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3973
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3246
3975
    ac_cv_prog_ac_ct_CC="$ac_prog"
3247
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248
3977
    break 2
3249
3978
  fi
3250
3979
done
3251
 
done
 
3980
  done
 
3981
IFS=$as_save_IFS
3252
3982
 
3253
3983
fi
3254
3984
fi
3255
3985
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3256
3986
if test -n "$ac_ct_CC"; then
3257
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3258
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3988
$as_echo "$ac_ct_CC" >&6; }
3259
3989
else
3260
 
  echo "$as_me:$LINENO: result: no" >&5
3261
 
echo "${ECHO_T}no" >&6
 
3990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3991
$as_echo "no" >&6; }
3262
3992
fi
3263
3993
 
 
3994
 
3264
3995
  test -n "$ac_ct_CC" && break
3265
3996
done
3266
3997
 
3267
 
  CC=$ac_ct_CC
3268
 
fi
3269
 
 
3270
 
fi
3271
 
 
3272
 
 
3273
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3274
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275
 
{ { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3276
 
See \`config.log' for more details." >&5
3277
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
3278
 
See \`config.log' for more details." >&2;}
3279
 
   { (exit 1); exit 1; }; }; }
 
3998
  if test "x$ac_ct_CC" = x; then
 
3999
    CC=""
 
4000
  else
 
4001
    case $cross_compiling:$ac_tool_warned in
 
4002
yes:)
 
4003
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4004
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4005
ac_tool_warned=yes ;;
 
4006
esac
 
4007
    CC=$ac_ct_CC
 
4008
  fi
 
4009
fi
 
4010
 
 
4011
fi
 
4012
 
 
4013
 
 
4014
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4015
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4016
as_fn_error "no acceptable C compiler found in \$PATH
 
4017
See \`config.log' for more details." "$LINENO" 5; }
3280
4018
 
3281
4019
# Provide some information about the compiler.
3282
 
echo "$as_me:$LINENO:" \
3283
 
     "checking for C compiler version" >&5
3284
 
ac_compiler=`set X $ac_compile; echo $2`
3285
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3286
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3287
 
  ac_status=$?
3288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
 
  (exit $ac_status); }
3290
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3291
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3292
 
  ac_status=$?
3293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294
 
  (exit $ac_status); }
3295
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3296
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3297
 
  ac_status=$?
3298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
 
  (exit $ac_status); }
 
4020
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4021
set X $ac_compile
 
4022
ac_compiler=$2
 
4023
for ac_option in --version -v -V -qversion; do
 
4024
  { { ac_try="$ac_compiler $ac_option >&5"
 
4025
case "(($ac_try" in
 
4026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4027
  *) ac_try_echo=$ac_try;;
 
4028
esac
 
4029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4030
$as_echo "$ac_try_echo"; } >&5
 
4031
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4032
  ac_status=$?
 
4033
  if test -s conftest.err; then
 
4034
    sed '10a\
 
4035
... rest of stderr output deleted ...
 
4036
         10q' conftest.err >conftest.er1
 
4037
    cat conftest.er1 >&5
 
4038
    rm -f conftest.er1 conftest.err
 
4039
  fi
 
4040
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4041
  test $ac_status = 0; }
 
4042
done
3300
4043
 
3301
 
cat >conftest.$ac_ext <<_ACEOF
3302
 
/* confdefs.h.  */
3303
 
_ACEOF
3304
 
cat confdefs.h >>conftest.$ac_ext
3305
 
cat >>conftest.$ac_ext <<_ACEOF
 
4044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306
4045
/* end confdefs.h.  */
3307
4046
 
3308
4047
int
3314
4053
}
3315
4054
_ACEOF
3316
4055
ac_clean_files_save=$ac_clean_files
3317
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
4056
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3318
4057
# Try to create an executable without -o first, disregard a.out.
3319
4058
# It will help us diagnose broken compilers, and finding out an intuition
3320
4059
# of exeext.
3321
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3322
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3323
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3324
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3325
 
  (eval $ac_link_default) 2>&5
 
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4061
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4062
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
4063
 
 
4064
# The possible output files:
 
4065
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
4066
 
 
4067
ac_rmfiles=
 
4068
for ac_file in $ac_files
 
4069
do
 
4070
  case $ac_file in
 
4071
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4072
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
4073
  esac
 
4074
done
 
4075
rm -f $ac_rmfiles
 
4076
 
 
4077
if { { ac_try="$ac_link_default"
 
4078
case "(($ac_try" in
 
4079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4080
  *) ac_try_echo=$ac_try;;
 
4081
esac
 
4082
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4083
$as_echo "$ac_try_echo"; } >&5
 
4084
  (eval "$ac_link_default") 2>&5
3326
4085
  ac_status=$?
3327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328
 
  (exit $ac_status); }; then
3329
 
  # Find the output, starting from the most likely.  This scheme is
3330
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
3331
 
# resort.
3332
 
 
3333
 
# Be careful to initialize this variable, since it used to be cached.
3334
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3335
 
ac_cv_exeext=
3336
 
# b.out is created by i960 compilers.
3337
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
4086
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4087
  test $ac_status = 0; }; then :
 
4088
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
4089
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
4090
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
4091
# so that the user can short-circuit this test for compilers unknown to
 
4092
# Autoconf.
 
4093
for ac_file in $ac_files ''
3338
4094
do
3339
4095
  test -f "$ac_file" || continue
3340
4096
  case $ac_file in
3341
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3342
 
        ;;
3343
 
    conftest.$ac_ext )
3344
 
        # This is the source file.
 
4097
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3345
4098
        ;;
3346
4099
    [ab].out )
3347
4100
        # We found the default executable, but exeext='' is most
3348
4101
        # certainly right.
3349
4102
        break;;
3350
4103
    *.* )
3351
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
3353
 
        # but it would be cool to find out if it's true.  Does anybody
3354
 
        # maintain Libtool? --akim.
3355
 
        export ac_cv_exeext
 
4104
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
4105
        then :; else
 
4106
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
4107
        fi
 
4108
        # We set ac_cv_exeext here because the later test for it is not
 
4109
        # safe: cross compilers may not add the suffix if given an `-o'
 
4110
        # argument, so we may need to know it at that point already.
 
4111
        # Even if this section looks crufty: it has the advantage of
 
4112
        # actually working.
3356
4113
        break;;
3357
4114
    * )
3358
4115
        break;;
3359
4116
  esac
3360
4117
done
 
4118
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
4119
 
3361
4120
else
3362
 
  echo "$as_me: failed program was:" >&5
 
4121
  ac_file=''
 
4122
fi
 
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
4124
$as_echo "$ac_file" >&6; }
 
4125
if test -z "$ac_file"; then :
 
4126
  $as_echo "$as_me: failed program was:" >&5
3363
4127
sed 's/^/| /' conftest.$ac_ext >&5
3364
4128
 
3365
 
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3366
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3368
 
See \`config.log' for more details." >&5
3369
 
echo "$as_me: error: C compiler cannot create executables
3370
 
See \`config.log' for more details." >&2;}
3371
 
   { (exit 77); exit 77; }; }; }
 
4129
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4130
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4131
{ as_fn_set_status 77
 
4132
as_fn_error "C compiler cannot create executables
 
4133
See \`config.log' for more details." "$LINENO" 5; }; }
3372
4134
fi
3373
 
 
3374
4135
ac_exeext=$ac_cv_exeext
3375
 
echo "$as_me:$LINENO: result: $ac_file" >&5
3376
 
echo "${ECHO_T}$ac_file" >&6
3377
4136
 
3378
 
# Check the compiler produces executables we can run.  If not, either
 
4137
# Check that the compiler produces executables we can run.  If not, either
3379
4138
# the compiler is broken, or we cross compile.
3380
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3381
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3382
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4140
$as_echo_n "checking whether the C compiler works... " >&6; }
3383
4141
# If not cross compiling, check that we can run a simple program.
3384
4142
if test "$cross_compiling" != yes; then
3385
4143
  if { ac_try='./$ac_file'
3386
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387
 
  (eval $ac_try) 2>&5
 
4144
  { { case "(($ac_try" in
 
4145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4146
  *) ac_try_echo=$ac_try;;
 
4147
esac
 
4148
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4149
$as_echo "$ac_try_echo"; } >&5
 
4150
  (eval "$ac_try") 2>&5
3388
4151
  ac_status=$?
3389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390
 
  (exit $ac_status); }; }; then
 
4152
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4153
  test $ac_status = 0; }; }; then
3391
4154
    cross_compiling=no
3392
4155
  else
3393
4156
    if test "$cross_compiling" = maybe; then
3394
4157
        cross_compiling=yes
3395
4158
    else
3396
 
        { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3397
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398
 
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3399
 
If you meant to cross compile, use \`--host'.
3400
 
See \`config.log' for more details." >&5
3401
 
echo "$as_me: error: cannot run C compiled programs.
3402
 
If you meant to cross compile, use \`--host'.
3403
 
See \`config.log' for more details." >&2;}
3404
 
   { (exit 1); exit 1; }; }; }
 
4159
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4160
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4161
as_fn_error "cannot run C compiled programs.
 
4162
If you meant to cross compile, use \`--host'.
 
4163
See \`config.log' for more details." "$LINENO" 5; }
3405
4164
    fi
3406
4165
  fi
3407
4166
fi
3408
 
echo "$as_me:$LINENO: result: yes" >&5
3409
 
echo "${ECHO_T}yes" >&6
 
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4168
$as_echo "yes" >&6; }
3410
4169
 
3411
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
4170
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3412
4171
ac_clean_files=$ac_clean_files_save
3413
 
# Check the compiler produces executables we can run.  If not, either
 
4172
# Check that the compiler produces executables we can run.  If not, either
3414
4173
# the compiler is broken, or we cross compile.
3415
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3416
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3417
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
3418
 
echo "${ECHO_T}$cross_compiling" >&6
 
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4175
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4177
$as_echo "$cross_compiling" >&6; }
3419
4178
 
3420
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
3421
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3422
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423
 
  (eval $ac_link) 2>&5
 
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
4180
$as_echo_n "checking for suffix of executables... " >&6; }
 
4181
if { { ac_try="$ac_link"
 
4182
case "(($ac_try" in
 
4183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4184
  *) ac_try_echo=$ac_try;;
 
4185
esac
 
4186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4187
$as_echo "$ac_try_echo"; } >&5
 
4188
  (eval "$ac_link") 2>&5
3424
4189
  ac_status=$?
3425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426
 
  (exit $ac_status); }; then
 
4190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4191
  test $ac_status = 0; }; then :
3427
4192
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3428
4193
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3429
4194
# work properly (i.e., refer to `conftest.exe'), while it won't with
3431
4196
for ac_file in conftest.exe conftest conftest.*; do
3432
4197
  test -f "$ac_file" || continue
3433
4198
  case $ac_file in
3434
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
4199
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3435
4200
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3436
 
          export ac_cv_exeext
3437
4201
          break;;
3438
4202
    * ) break;;
3439
4203
  esac
3440
4204
done
3441
4205
else
3442
 
  { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3443
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3445
 
See \`config.log' for more details." >&5
3446
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3447
 
See \`config.log' for more details." >&2;}
3448
 
   { (exit 1); exit 1; }; }; }
 
4206
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4208
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
4209
See \`config.log' for more details." "$LINENO" 5; }
3449
4210
fi
3450
 
 
3451
4211
rm -f conftest$ac_cv_exeext
3452
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3453
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
4213
$as_echo "$ac_cv_exeext" >&6; }
3454
4214
 
3455
4215
rm -f conftest.$ac_ext
3456
4216
EXEEXT=$ac_cv_exeext
3457
4217
ac_exeext=$EXEEXT
3458
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
3459
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3460
 
if test "${ac_cv_objext+set}" = set; then
3461
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
4219
$as_echo_n "checking for suffix of object files... " >&6; }
 
4220
if test "${ac_cv_objext+set}" = set; then :
 
4221
  $as_echo_n "(cached) " >&6
3462
4222
else
3463
 
  cat >conftest.$ac_ext <<_ACEOF
3464
 
/* confdefs.h.  */
3465
 
_ACEOF
3466
 
cat confdefs.h >>conftest.$ac_ext
3467
 
cat >>conftest.$ac_ext <<_ACEOF
 
4223
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468
4224
/* end confdefs.h.  */
3469
4225
 
3470
4226
int
3476
4232
}
3477
4233
_ACEOF
3478
4234
rm -f conftest.o conftest.obj
3479
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480
 
  (eval $ac_compile) 2>&5
 
4235
if { { ac_try="$ac_compile"
 
4236
case "(($ac_try" in
 
4237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4238
  *) ac_try_echo=$ac_try;;
 
4239
esac
 
4240
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4241
$as_echo "$ac_try_echo"; } >&5
 
4242
  (eval "$ac_compile") 2>&5
3481
4243
  ac_status=$?
3482
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
 
  (exit $ac_status); }; then
3484
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
4244
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4245
  test $ac_status = 0; }; then :
 
4246
  for ac_file in conftest.o conftest.obj conftest.*; do
 
4247
  test -f "$ac_file" || continue;
3485
4248
  case $ac_file in
3486
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
4249
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3487
4250
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3488
4251
       break;;
3489
4252
  esac
3490
4253
done
3491
4254
else
3492
 
  echo "$as_me: failed program was:" >&5
 
4255
  $as_echo "$as_me: failed program was:" >&5
3493
4256
sed 's/^/| /' conftest.$ac_ext >&5
3494
4257
 
3495
 
{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3496
 
echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3498
 
See \`config.log' for more details." >&5
3499
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3500
 
See \`config.log' for more details." >&2;}
3501
 
   { (exit 1); exit 1; }; }; }
 
4258
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4259
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4260
as_fn_error "cannot compute suffix of object files: cannot compile
 
4261
See \`config.log' for more details." "$LINENO" 5; }
3502
4262
fi
3503
 
 
3504
4263
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3505
4264
fi
3506
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3507
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
4265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
4266
$as_echo "$ac_cv_objext" >&6; }
3508
4267
OBJEXT=$ac_cv_objext
3509
4268
ac_objext=$OBJEXT
3510
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3511
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3512
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3513
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4270
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4271
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4272
  $as_echo_n "(cached) " >&6
3514
4273
else
3515
 
  cat >conftest.$ac_ext <<_ACEOF
3516
 
/* confdefs.h.  */
3517
 
_ACEOF
3518
 
cat confdefs.h >>conftest.$ac_ext
3519
 
cat >>conftest.$ac_ext <<_ACEOF
 
4274
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
4275
/* end confdefs.h.  */
3521
4276
 
3522
4277
int
3530
4285
  return 0;
3531
4286
}
3532
4287
_ACEOF
3533
 
rm -f conftest.$ac_objext
3534
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535
 
  (eval $ac_compile) 2>conftest.er1
3536
 
  ac_status=$?
3537
 
  grep -v '^ *+' conftest.er1 >conftest.err
3538
 
  rm -f conftest.er1
3539
 
  cat conftest.err >&5
3540
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
 
  (exit $ac_status); } &&
3542
 
         { ac_try='test -z "$ac_c_werror_flag"
3543
 
                         || test ! -s conftest.err'
3544
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545
 
  (eval $ac_try) 2>&5
3546
 
  ac_status=$?
3547
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548
 
  (exit $ac_status); }; } &&
3549
 
         { ac_try='test -s conftest.$ac_objext'
3550
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551
 
  (eval $ac_try) 2>&5
3552
 
  ac_status=$?
3553
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554
 
  (exit $ac_status); }; }; then
 
4288
if ac_fn_c_try_compile "$LINENO"; then :
3555
4289
  ac_compiler_gnu=yes
3556
4290
else
3557
 
  echo "$as_me: failed program was:" >&5
3558
 
sed 's/^/| /' conftest.$ac_ext >&5
3559
 
 
3560
 
ac_compiler_gnu=no
 
4291
  ac_compiler_gnu=no
3561
4292
fi
3562
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563
4294
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3564
4295
 
3565
4296
fi
3566
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3567
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3568
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4298
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4299
if test $ac_compiler_gnu = yes; then
 
4300
  GCC=yes
 
4301
else
 
4302
  GCC=
 
4303
fi
3569
4304
ac_test_CFLAGS=${CFLAGS+set}
3570
4305
ac_save_CFLAGS=$CFLAGS
3571
 
CFLAGS="-g"
3572
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3573
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3574
 
if test "${ac_cv_prog_cc_g+set}" = set; then
3575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3576
 
else
3577
 
  cat >conftest.$ac_ext <<_ACEOF
3578
 
/* confdefs.h.  */
3579
 
_ACEOF
3580
 
cat confdefs.h >>conftest.$ac_ext
3581
 
cat >>conftest.$ac_ext <<_ACEOF
3582
 
/* end confdefs.h.  */
3583
 
 
3584
 
int
3585
 
main ()
3586
 
{
3587
 
 
3588
 
  ;
3589
 
  return 0;
3590
 
}
3591
 
_ACEOF
3592
 
rm -f conftest.$ac_objext
3593
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594
 
  (eval $ac_compile) 2>conftest.er1
3595
 
  ac_status=$?
3596
 
  grep -v '^ *+' conftest.er1 >conftest.err
3597
 
  rm -f conftest.er1
3598
 
  cat conftest.err >&5
3599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
 
  (exit $ac_status); } &&
3601
 
         { ac_try='test -z "$ac_c_werror_flag"
3602
 
                         || test ! -s conftest.err'
3603
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604
 
  (eval $ac_try) 2>&5
3605
 
  ac_status=$?
3606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607
 
  (exit $ac_status); }; } &&
3608
 
         { ac_try='test -s conftest.$ac_objext'
3609
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610
 
  (eval $ac_try) 2>&5
3611
 
  ac_status=$?
3612
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613
 
  (exit $ac_status); }; }; then
3614
 
  ac_cv_prog_cc_g=yes
3615
 
else
3616
 
  echo "$as_me: failed program was:" >&5
3617
 
sed 's/^/| /' conftest.$ac_ext >&5
3618
 
 
3619
 
ac_cv_prog_cc_g=no
3620
 
fi
3621
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3622
 
fi
3623
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3624
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4307
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4308
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4309
  $as_echo_n "(cached) " >&6
 
4310
else
 
4311
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4312
   ac_c_werror_flag=yes
 
4313
   ac_cv_prog_cc_g=no
 
4314
   CFLAGS="-g"
 
4315
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4316
/* end confdefs.h.  */
 
4317
 
 
4318
int
 
4319
main ()
 
4320
{
 
4321
 
 
4322
  ;
 
4323
  return 0;
 
4324
}
 
4325
_ACEOF
 
4326
if ac_fn_c_try_compile "$LINENO"; then :
 
4327
  ac_cv_prog_cc_g=yes
 
4328
else
 
4329
  CFLAGS=""
 
4330
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4331
/* end confdefs.h.  */
 
4332
 
 
4333
int
 
4334
main ()
 
4335
{
 
4336
 
 
4337
  ;
 
4338
  return 0;
 
4339
}
 
4340
_ACEOF
 
4341
if ac_fn_c_try_compile "$LINENO"; then :
 
4342
 
 
4343
else
 
4344
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4345
         CFLAGS="-g"
 
4346
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4347
/* end confdefs.h.  */
 
4348
 
 
4349
int
 
4350
main ()
 
4351
{
 
4352
 
 
4353
  ;
 
4354
  return 0;
 
4355
}
 
4356
_ACEOF
 
4357
if ac_fn_c_try_compile "$LINENO"; then :
 
4358
  ac_cv_prog_cc_g=yes
 
4359
fi
 
4360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4361
fi
 
4362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4363
fi
 
4364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4365
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4366
fi
 
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4368
$as_echo "$ac_cv_prog_cc_g" >&6; }
3625
4369
if test "$ac_test_CFLAGS" = set; then
3626
4370
  CFLAGS=$ac_save_CFLAGS
3627
4371
elif test $ac_cv_prog_cc_g = yes; then
3637
4381
    CFLAGS=
3638
4382
  fi
3639
4383
fi
3640
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3641
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3642
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4385
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4386
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4387
  $as_echo_n "(cached) " >&6
3644
4388
else
3645
 
  ac_cv_prog_cc_stdc=no
 
4389
  ac_cv_prog_cc_c89=no
3646
4390
ac_save_CC=$CC
3647
 
cat >conftest.$ac_ext <<_ACEOF
3648
 
/* confdefs.h.  */
3649
 
_ACEOF
3650
 
cat confdefs.h >>conftest.$ac_ext
3651
 
cat >>conftest.$ac_ext <<_ACEOF
 
4391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652
4392
/* end confdefs.h.  */
3653
4393
#include <stdarg.h>
3654
4394
#include <stdio.h>
3676
4416
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3677
4417
   function prototypes and stuff, but not '\xHH' hex character constants.
3678
4418
   These don't provoke an error unfortunately, instead are silently treated
3679
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4419
   as 'x'.  The following induces an error, until -std is added to get
3680
4420
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3681
4421
   array size at least.  It's necessary to write '\x00'==0 to get something
3682
 
   that's true only with -std1.  */
 
4422
   that's true only with -std.  */
3683
4423
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3684
4424
 
 
4425
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4426
   inside strings and character constants.  */
 
4427
#define FOO(x) 'x'
 
4428
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4429
 
3685
4430
int test (int i, double x);
3686
4431
struct s1 {int (*f) (int a);};
3687
4432
struct s2 {int (*f) (double a);};
3696
4441
  return 0;
3697
4442
}
3698
4443
_ACEOF
3699
 
# Don't try gcc -ansi; that turns off useful extensions and
3700
 
# breaks some systems' header files.
3701
 
# AIX                   -qlanglvl=ansi
3702
 
# Ultrix and OSF/1      -std1
3703
 
# HP-UX 10.20 and later -Ae
3704
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3705
 
# SVR4                  -Xc -D__EXTENSIONS__
3706
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4444
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4445
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3707
4446
do
3708
4447
  CC="$ac_save_CC $ac_arg"
3709
 
  rm -f conftest.$ac_objext
3710
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3711
 
  (eval $ac_compile) 2>conftest.er1
3712
 
  ac_status=$?
3713
 
  grep -v '^ *+' conftest.er1 >conftest.err
3714
 
  rm -f conftest.er1
3715
 
  cat conftest.err >&5
3716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717
 
  (exit $ac_status); } &&
3718
 
         { ac_try='test -z "$ac_c_werror_flag"
3719
 
                         || test ! -s conftest.err'
3720
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721
 
  (eval $ac_try) 2>&5
3722
 
  ac_status=$?
3723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724
 
  (exit $ac_status); }; } &&
3725
 
         { ac_try='test -s conftest.$ac_objext'
3726
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727
 
  (eval $ac_try) 2>&5
3728
 
  ac_status=$?
3729
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730
 
  (exit $ac_status); }; }; then
3731
 
  ac_cv_prog_cc_stdc=$ac_arg
3732
 
break
3733
 
else
3734
 
  echo "$as_me: failed program was:" >&5
3735
 
sed 's/^/| /' conftest.$ac_ext >&5
3736
 
 
 
4448
  if ac_fn_c_try_compile "$LINENO"; then :
 
4449
  ac_cv_prog_cc_c89=$ac_arg
3737
4450
fi
3738
 
rm -f conftest.err conftest.$ac_objext
 
4451
rm -f core conftest.err conftest.$ac_objext
 
4452
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3739
4453
done
3740
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4454
rm -f conftest.$ac_ext
3741
4455
CC=$ac_save_CC
3742
4456
 
3743
4457
fi
3744
 
 
3745
 
case "x$ac_cv_prog_cc_stdc" in
3746
 
  x|xno)
3747
 
    echo "$as_me:$LINENO: result: none needed" >&5
3748
 
echo "${ECHO_T}none needed" >&6 ;;
 
4458
# AC_CACHE_VAL
 
4459
case "x$ac_cv_prog_cc_c89" in
 
4460
  x)
 
4461
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4462
$as_echo "none needed" >&6; } ;;
 
4463
  xno)
 
4464
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4465
$as_echo "unsupported" >&6; } ;;
3749
4466
  *)
3750
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3751
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3752
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4467
    CC="$CC $ac_cv_prog_cc_c89"
 
4468
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4469
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3753
4470
esac
3754
 
 
3755
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
3756
 
# in C++ we need to declare it.  In case someone uses the same compiler
3757
 
# for both compiling C and C++ we need to have the C++ compiler decide
3758
 
# the declaration of exit, since it's the most demanding environment.
3759
 
cat >conftest.$ac_ext <<_ACEOF
3760
 
#ifndef __cplusplus
3761
 
  choke me
3762
 
#endif
3763
 
_ACEOF
3764
 
rm -f conftest.$ac_objext
3765
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766
 
  (eval $ac_compile) 2>conftest.er1
3767
 
  ac_status=$?
3768
 
  grep -v '^ *+' conftest.er1 >conftest.err
3769
 
  rm -f conftest.er1
3770
 
  cat conftest.err >&5
3771
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772
 
  (exit $ac_status); } &&
3773
 
         { ac_try='test -z "$ac_c_werror_flag"
3774
 
                         || test ! -s conftest.err'
3775
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776
 
  (eval $ac_try) 2>&5
3777
 
  ac_status=$?
3778
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
 
  (exit $ac_status); }; } &&
3780
 
         { ac_try='test -s conftest.$ac_objext'
3781
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782
 
  (eval $ac_try) 2>&5
3783
 
  ac_status=$?
3784
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785
 
  (exit $ac_status); }; }; then
3786
 
  for ac_declaration in \
3787
 
   '' \
3788
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
3789
 
   'extern "C" void std::exit (int); using std::exit;' \
3790
 
   'extern "C" void exit (int) throw ();' \
3791
 
   'extern "C" void exit (int);' \
3792
 
   'void exit (int);'
3793
 
do
3794
 
  cat >conftest.$ac_ext <<_ACEOF
3795
 
/* confdefs.h.  */
3796
 
_ACEOF
3797
 
cat confdefs.h >>conftest.$ac_ext
3798
 
cat >>conftest.$ac_ext <<_ACEOF
3799
 
/* end confdefs.h.  */
3800
 
$ac_declaration
3801
 
#include <stdlib.h>
3802
 
int
3803
 
main ()
3804
 
{
3805
 
exit (42);
3806
 
  ;
3807
 
  return 0;
3808
 
}
3809
 
_ACEOF
3810
 
rm -f conftest.$ac_objext
3811
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812
 
  (eval $ac_compile) 2>conftest.er1
3813
 
  ac_status=$?
3814
 
  grep -v '^ *+' conftest.er1 >conftest.err
3815
 
  rm -f conftest.er1
3816
 
  cat conftest.err >&5
3817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818
 
  (exit $ac_status); } &&
3819
 
         { ac_try='test -z "$ac_c_werror_flag"
3820
 
                         || test ! -s conftest.err'
3821
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822
 
  (eval $ac_try) 2>&5
3823
 
  ac_status=$?
3824
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
 
  (exit $ac_status); }; } &&
3826
 
         { ac_try='test -s conftest.$ac_objext'
3827
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828
 
  (eval $ac_try) 2>&5
3829
 
  ac_status=$?
3830
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831
 
  (exit $ac_status); }; }; then
3832
 
  :
3833
 
else
3834
 
  echo "$as_me: failed program was:" >&5
3835
 
sed 's/^/| /' conftest.$ac_ext >&5
3836
 
 
3837
 
continue
3838
 
fi
3839
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3840
 
  cat >conftest.$ac_ext <<_ACEOF
3841
 
/* confdefs.h.  */
3842
 
_ACEOF
3843
 
cat confdefs.h >>conftest.$ac_ext
3844
 
cat >>conftest.$ac_ext <<_ACEOF
3845
 
/* end confdefs.h.  */
3846
 
$ac_declaration
3847
 
int
3848
 
main ()
3849
 
{
3850
 
exit (42);
3851
 
  ;
3852
 
  return 0;
3853
 
}
3854
 
_ACEOF
3855
 
rm -f conftest.$ac_objext
3856
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3857
 
  (eval $ac_compile) 2>conftest.er1
3858
 
  ac_status=$?
3859
 
  grep -v '^ *+' conftest.er1 >conftest.err
3860
 
  rm -f conftest.er1
3861
 
  cat conftest.err >&5
3862
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863
 
  (exit $ac_status); } &&
3864
 
         { ac_try='test -z "$ac_c_werror_flag"
3865
 
                         || test ! -s conftest.err'
3866
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867
 
  (eval $ac_try) 2>&5
3868
 
  ac_status=$?
3869
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870
 
  (exit $ac_status); }; } &&
3871
 
         { ac_try='test -s conftest.$ac_objext'
3872
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873
 
  (eval $ac_try) 2>&5
3874
 
  ac_status=$?
3875
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876
 
  (exit $ac_status); }; }; then
3877
 
  break
3878
 
else
3879
 
  echo "$as_me: failed program was:" >&5
3880
 
sed 's/^/| /' conftest.$ac_ext >&5
3881
 
 
3882
 
fi
3883
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3884
 
done
3885
 
rm -f conftest*
3886
 
if test -n "$ac_declaration"; then
3887
 
  echo '#ifdef __cplusplus' >>confdefs.h
3888
 
  echo $ac_declaration      >>confdefs.h
3889
 
  echo '#endif'             >>confdefs.h
3890
 
fi
3891
 
 
3892
 
else
3893
 
  echo "$as_me: failed program was:" >&5
3894
 
sed 's/^/| /' conftest.$ac_ext >&5
3895
 
 
3896
 
fi
3897
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4471
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4472
 
 
4473
fi
 
4474
 
3898
4475
ac_ext=c
3899
4476
ac_cpp='$CPP $CPPFLAGS'
3900
4477
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3901
4478
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3902
4479
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3903
4480
 
3904
 
ac_ext=cc
 
4481
ac_ext=cpp
3905
4482
ac_cpp='$CXXCPP $CPPFLAGS'
3906
4483
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3907
4484
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3908
4485
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3909
 
if test -n "$ac_tool_prefix"; then
3910
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4486
if test -z "$CXX"; then
 
4487
  if test -n "$CCC"; then
 
4488
    CXX=$CCC
 
4489
  else
 
4490
    if test -n "$ac_tool_prefix"; then
 
4491
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3911
4492
  do
3912
4493
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3913
4494
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3914
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3915
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916
 
if test "${ac_cv_prog_CXX+set}" = set; then
3917
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4496
$as_echo_n "checking for $ac_word... " >&6; }
 
4497
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4498
  $as_echo_n "(cached) " >&6
3918
4499
else
3919
4500
  if test -n "$CXX"; then
3920
4501
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3924
4505
do
3925
4506
  IFS=$as_save_IFS
3926
4507
  test -z "$as_dir" && as_dir=.
3927
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3928
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4508
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3929
4510
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3930
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931
4512
    break 2
3932
4513
  fi
3933
4514
done
3934
 
done
 
4515
  done
 
4516
IFS=$as_save_IFS
3935
4517
 
3936
4518
fi
3937
4519
fi
3938
4520
CXX=$ac_cv_prog_CXX
3939
4521
if test -n "$CXX"; then
3940
 
  echo "$as_me:$LINENO: result: $CXX" >&5
3941
 
echo "${ECHO_T}$CXX" >&6
 
4522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
4523
$as_echo "$CXX" >&6; }
3942
4524
else
3943
 
  echo "$as_me:$LINENO: result: no" >&5
3944
 
echo "${ECHO_T}no" >&6
 
4525
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4526
$as_echo "no" >&6; }
3945
4527
fi
3946
4528
 
 
4529
 
3947
4530
    test -n "$CXX" && break
3948
4531
  done
3949
4532
fi
3950
4533
if test -z "$CXX"; then
3951
4534
  ac_ct_CXX=$CXX
3952
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
4535
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3953
4536
do
3954
4537
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3955
4538
set dummy $ac_prog; ac_word=$2
3956
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3957
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4540
$as_echo_n "checking for $ac_word... " >&6; }
 
4541
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4542
  $as_echo_n "(cached) " >&6
3960
4543
else
3961
4544
  if test -n "$ac_ct_CXX"; then
3962
4545
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3966
4549
do
3967
4550
  IFS=$as_save_IFS
3968
4551
  test -z "$as_dir" && as_dir=.
3969
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3970
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4552
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3971
4554
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3972
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973
4556
    break 2
3974
4557
  fi
3975
4558
done
3976
 
done
 
4559
  done
 
4560
IFS=$as_save_IFS
3977
4561
 
3978
4562
fi
3979
4563
fi
3980
4564
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3981
4565
if test -n "$ac_ct_CXX"; then
3982
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3983
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
4566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
4567
$as_echo "$ac_ct_CXX" >&6; }
3984
4568
else
3985
 
  echo "$as_me:$LINENO: result: no" >&5
3986
 
echo "${ECHO_T}no" >&6
 
4569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4570
$as_echo "no" >&6; }
3987
4571
fi
3988
4572
 
 
4573
 
3989
4574
  test -n "$ac_ct_CXX" && break
3990
4575
done
3991
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3992
 
 
3993
 
  CXX=$ac_ct_CXX
3994
 
fi
3995
 
 
3996
 
 
 
4576
 
 
4577
  if test "x$ac_ct_CXX" = x; then
 
4578
    CXX="g++"
 
4579
  else
 
4580
    case $cross_compiling:$ac_tool_warned in
 
4581
yes:)
 
4582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4584
ac_tool_warned=yes ;;
 
4585
esac
 
4586
    CXX=$ac_ct_CXX
 
4587
  fi
 
4588
fi
 
4589
 
 
4590
  fi
 
4591
fi
3997
4592
# Provide some information about the compiler.
3998
 
echo "$as_me:$LINENO:" \
3999
 
     "checking for C++ compiler version" >&5
4000
 
ac_compiler=`set X $ac_compile; echo $2`
4001
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4002
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4003
 
  ac_status=$?
4004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005
 
  (exit $ac_status); }
4006
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4007
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4008
 
  ac_status=$?
4009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
 
  (exit $ac_status); }
4011
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4012
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
4013
 
  ac_status=$?
4014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
 
  (exit $ac_status); }
 
4593
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
4594
set X $ac_compile
 
4595
ac_compiler=$2
 
4596
for ac_option in --version -v -V -qversion; do
 
4597
  { { ac_try="$ac_compiler $ac_option >&5"
 
4598
case "(($ac_try" in
 
4599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4600
  *) ac_try_echo=$ac_try;;
 
4601
esac
 
4602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4603
$as_echo "$ac_try_echo"; } >&5
 
4604
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4605
  ac_status=$?
 
4606
  if test -s conftest.err; then
 
4607
    sed '10a\
 
4608
... rest of stderr output deleted ...
 
4609
         10q' conftest.err >conftest.er1
 
4610
    cat conftest.er1 >&5
 
4611
    rm -f conftest.er1 conftest.err
 
4612
  fi
 
4613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4614
  test $ac_status = 0; }
 
4615
done
4016
4616
 
4017
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4018
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4019
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
4618
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
4619
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4620
  $as_echo_n "(cached) " >&6
4021
4621
else
4022
 
  cat >conftest.$ac_ext <<_ACEOF
4023
 
/* confdefs.h.  */
4024
 
_ACEOF
4025
 
cat confdefs.h >>conftest.$ac_ext
4026
 
cat >>conftest.$ac_ext <<_ACEOF
 
4622
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027
4623
/* end confdefs.h.  */
4028
4624
 
4029
4625
int
4037
4633
  return 0;
4038
4634
}
4039
4635
_ACEOF
4040
 
rm -f conftest.$ac_objext
4041
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4042
 
  (eval $ac_compile) 2>conftest.er1
4043
 
  ac_status=$?
4044
 
  grep -v '^ *+' conftest.er1 >conftest.err
4045
 
  rm -f conftest.er1
4046
 
  cat conftest.err >&5
4047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048
 
  (exit $ac_status); } &&
4049
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4050
 
                         || test ! -s conftest.err'
4051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052
 
  (eval $ac_try) 2>&5
4053
 
  ac_status=$?
4054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
 
  (exit $ac_status); }; } &&
4056
 
         { ac_try='test -s conftest.$ac_objext'
4057
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058
 
  (eval $ac_try) 2>&5
4059
 
  ac_status=$?
4060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061
 
  (exit $ac_status); }; }; then
 
4636
if ac_fn_cxx_try_compile "$LINENO"; then :
4062
4637
  ac_compiler_gnu=yes
4063
4638
else
4064
 
  echo "$as_me: failed program was:" >&5
4065
 
sed 's/^/| /' conftest.$ac_ext >&5
4066
 
 
4067
 
ac_compiler_gnu=no
 
4639
  ac_compiler_gnu=no
4068
4640
fi
4069
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070
4642
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4071
4643
 
4072
4644
fi
4073
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4074
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4075
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
4646
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
4647
if test $ac_compiler_gnu = yes; then
 
4648
  GXX=yes
 
4649
else
 
4650
  GXX=
 
4651
fi
4076
4652
ac_test_CXXFLAGS=${CXXFLAGS+set}
4077
4653
ac_save_CXXFLAGS=$CXXFLAGS
4078
 
CXXFLAGS="-g"
4079
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4080
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4081
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
4082
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4083
 
else
4084
 
  cat >conftest.$ac_ext <<_ACEOF
4085
 
/* confdefs.h.  */
4086
 
_ACEOF
4087
 
cat confdefs.h >>conftest.$ac_ext
4088
 
cat >>conftest.$ac_ext <<_ACEOF
4089
 
/* end confdefs.h.  */
4090
 
 
4091
 
int
4092
 
main ()
4093
 
{
4094
 
 
4095
 
  ;
4096
 
  return 0;
4097
 
}
4098
 
_ACEOF
4099
 
rm -f conftest.$ac_objext
4100
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101
 
  (eval $ac_compile) 2>conftest.er1
4102
 
  ac_status=$?
4103
 
  grep -v '^ *+' conftest.er1 >conftest.err
4104
 
  rm -f conftest.er1
4105
 
  cat conftest.err >&5
4106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
 
  (exit $ac_status); } &&
4108
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4109
 
                         || test ! -s conftest.err'
4110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111
 
  (eval $ac_try) 2>&5
4112
 
  ac_status=$?
4113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114
 
  (exit $ac_status); }; } &&
4115
 
         { ac_try='test -s conftest.$ac_objext'
4116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117
 
  (eval $ac_try) 2>&5
4118
 
  ac_status=$?
4119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120
 
  (exit $ac_status); }; }; then
4121
 
  ac_cv_prog_cxx_g=yes
4122
 
else
4123
 
  echo "$as_me: failed program was:" >&5
4124
 
sed 's/^/| /' conftest.$ac_ext >&5
4125
 
 
4126
 
ac_cv_prog_cxx_g=no
4127
 
fi
4128
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4129
 
fi
4130
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4131
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
4655
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
4656
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4657
  $as_echo_n "(cached) " >&6
 
4658
else
 
4659
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
4660
   ac_cxx_werror_flag=yes
 
4661
   ac_cv_prog_cxx_g=no
 
4662
   CXXFLAGS="-g"
 
4663
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4664
/* end confdefs.h.  */
 
4665
 
 
4666
int
 
4667
main ()
 
4668
{
 
4669
 
 
4670
  ;
 
4671
  return 0;
 
4672
}
 
4673
_ACEOF
 
4674
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4675
  ac_cv_prog_cxx_g=yes
 
4676
else
 
4677
  CXXFLAGS=""
 
4678
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4679
/* end confdefs.h.  */
 
4680
 
 
4681
int
 
4682
main ()
 
4683
{
 
4684
 
 
4685
  ;
 
4686
  return 0;
 
4687
}
 
4688
_ACEOF
 
4689
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4690
 
 
4691
else
 
4692
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4693
         CXXFLAGS="-g"
 
4694
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4695
/* end confdefs.h.  */
 
4696
 
 
4697
int
 
4698
main ()
 
4699
{
 
4700
 
 
4701
  ;
 
4702
  return 0;
 
4703
}
 
4704
_ACEOF
 
4705
if ac_fn_cxx_try_compile "$LINENO"; then :
 
4706
  ac_cv_prog_cxx_g=yes
 
4707
fi
 
4708
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4709
fi
 
4710
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4711
fi
 
4712
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4713
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
4714
fi
 
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
4716
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4132
4717
if test "$ac_test_CXXFLAGS" = set; then
4133
4718
  CXXFLAGS=$ac_save_CXXFLAGS
4134
4719
elif test $ac_cv_prog_cxx_g = yes; then
4144
4729
    CXXFLAGS=
4145
4730
  fi
4146
4731
fi
4147
 
for ac_declaration in \
4148
 
   '' \
4149
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4150
 
   'extern "C" void std::exit (int); using std::exit;' \
4151
 
   'extern "C" void exit (int) throw ();' \
4152
 
   'extern "C" void exit (int);' \
4153
 
   'void exit (int);'
4154
 
do
4155
 
  cat >conftest.$ac_ext <<_ACEOF
4156
 
/* confdefs.h.  */
4157
 
_ACEOF
4158
 
cat confdefs.h >>conftest.$ac_ext
4159
 
cat >>conftest.$ac_ext <<_ACEOF
4160
 
/* end confdefs.h.  */
4161
 
$ac_declaration
4162
 
#include <stdlib.h>
4163
 
int
4164
 
main ()
4165
 
{
4166
 
exit (42);
4167
 
  ;
4168
 
  return 0;
4169
 
}
4170
 
_ACEOF
4171
 
rm -f conftest.$ac_objext
4172
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4173
 
  (eval $ac_compile) 2>conftest.er1
4174
 
  ac_status=$?
4175
 
  grep -v '^ *+' conftest.er1 >conftest.err
4176
 
  rm -f conftest.er1
4177
 
  cat conftest.err >&5
4178
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179
 
  (exit $ac_status); } &&
4180
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4181
 
                         || test ! -s conftest.err'
4182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183
 
  (eval $ac_try) 2>&5
4184
 
  ac_status=$?
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); }; } &&
4187
 
         { ac_try='test -s conftest.$ac_objext'
4188
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189
 
  (eval $ac_try) 2>&5
4190
 
  ac_status=$?
4191
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192
 
  (exit $ac_status); }; }; then
4193
 
  :
4194
 
else
4195
 
  echo "$as_me: failed program was:" >&5
4196
 
sed 's/^/| /' conftest.$ac_ext >&5
4197
 
 
4198
 
continue
4199
 
fi
4200
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4201
 
  cat >conftest.$ac_ext <<_ACEOF
4202
 
/* confdefs.h.  */
4203
 
_ACEOF
4204
 
cat confdefs.h >>conftest.$ac_ext
4205
 
cat >>conftest.$ac_ext <<_ACEOF
4206
 
/* end confdefs.h.  */
4207
 
$ac_declaration
4208
 
int
4209
 
main ()
4210
 
{
4211
 
exit (42);
4212
 
  ;
4213
 
  return 0;
4214
 
}
4215
 
_ACEOF
4216
 
rm -f conftest.$ac_objext
4217
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4218
 
  (eval $ac_compile) 2>conftest.er1
4219
 
  ac_status=$?
4220
 
  grep -v '^ *+' conftest.er1 >conftest.err
4221
 
  rm -f conftest.er1
4222
 
  cat conftest.err >&5
4223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224
 
  (exit $ac_status); } &&
4225
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4226
 
                         || test ! -s conftest.err'
4227
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228
 
  (eval $ac_try) 2>&5
4229
 
  ac_status=$?
4230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231
 
  (exit $ac_status); }; } &&
4232
 
         { ac_try='test -s conftest.$ac_objext'
4233
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234
 
  (eval $ac_try) 2>&5
4235
 
  ac_status=$?
4236
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237
 
  (exit $ac_status); }; }; then
4238
 
  break
4239
 
else
4240
 
  echo "$as_me: failed program was:" >&5
4241
 
sed 's/^/| /' conftest.$ac_ext >&5
4242
 
 
4243
 
fi
4244
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4245
 
done
4246
 
rm -f conftest*
4247
 
if test -n "$ac_declaration"; then
4248
 
  echo '#ifdef __cplusplus' >>confdefs.h
4249
 
  echo $ac_declaration      >>confdefs.h
4250
 
  echo '#endif'             >>confdefs.h
4251
 
fi
4252
 
 
4253
4732
ac_ext=c
4254
4733
ac_cpp='$CPP $CPPFLAGS'
4255
4734
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4282
4761
if test -n "$ac_tool_prefix"; then
4283
4762
  # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4284
4763
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4285
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4286
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4287
 
if test "${ac_cv_prog_GNATBIND+set}" = set; then
4288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4765
$as_echo_n "checking for $ac_word... " >&6; }
 
4766
if test "${ac_cv_prog_GNATBIND+set}" = set; then :
 
4767
  $as_echo_n "(cached) " >&6
4289
4768
else
4290
4769
  if test -n "$GNATBIND"; then
4291
4770
  ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4295
4774
do
4296
4775
  IFS=$as_save_IFS
4297
4776
  test -z "$as_dir" && as_dir=.
4298
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4299
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4777
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300
4779
    ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4301
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4780
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4302
4781
    break 2
4303
4782
  fi
4304
4783
done
4305
 
done
 
4784
  done
 
4785
IFS=$as_save_IFS
4306
4786
 
4307
4787
fi
4308
4788
fi
4309
4789
GNATBIND=$ac_cv_prog_GNATBIND
4310
4790
if test -n "$GNATBIND"; then
4311
 
  echo "$as_me:$LINENO: result: $GNATBIND" >&5
4312
 
echo "${ECHO_T}$GNATBIND" >&6
 
4791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
 
4792
$as_echo "$GNATBIND" >&6; }
4313
4793
else
4314
 
  echo "$as_me:$LINENO: result: no" >&5
4315
 
echo "${ECHO_T}no" >&6
 
4794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4795
$as_echo "no" >&6; }
4316
4796
fi
 
4797
 
4317
4798
 
4318
4799
fi
4319
4800
if test -z "$ac_cv_prog_GNATBIND"; then
4320
4801
  ac_ct_GNATBIND=$GNATBIND
4321
4802
  # Extract the first word of "gnatbind", so it can be a program name with args.
4322
4803
set dummy gnatbind; ac_word=$2
4323
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4324
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4325
 
if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
4326
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4805
$as_echo_n "checking for $ac_word... " >&6; }
 
4806
if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
 
4807
  $as_echo_n "(cached) " >&6
4327
4808
else
4328
4809
  if test -n "$ac_ct_GNATBIND"; then
4329
4810
  ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4333
4814
do
4334
4815
  IFS=$as_save_IFS
4335
4816
  test -z "$as_dir" && as_dir=.
4336
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4337
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4817
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4818
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4338
4819
    ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4339
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4820
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340
4821
    break 2
4341
4822
  fi
4342
4823
done
4343
 
done
 
4824
  done
 
4825
IFS=$as_save_IFS
4344
4826
 
4345
 
  test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND="no"
4346
4827
fi
4347
4828
fi
4348
4829
ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4349
4830
if test -n "$ac_ct_GNATBIND"; then
4350
 
  echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
4351
 
echo "${ECHO_T}$ac_ct_GNATBIND" >&6
 
4831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
 
4832
$as_echo "$ac_ct_GNATBIND" >&6; }
4352
4833
else
4353
 
  echo "$as_me:$LINENO: result: no" >&5
4354
 
echo "${ECHO_T}no" >&6
 
4834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4835
$as_echo "no" >&6; }
4355
4836
fi
4356
4837
 
4357
 
  GNATBIND=$ac_ct_GNATBIND
 
4838
  if test "x$ac_ct_GNATBIND" = x; then
 
4839
    GNATBIND="no"
 
4840
  else
 
4841
    case $cross_compiling:$ac_tool_warned in
 
4842
yes:)
 
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4844
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4845
ac_tool_warned=yes ;;
 
4846
esac
 
4847
    GNATBIND=$ac_ct_GNATBIND
 
4848
  fi
4358
4849
else
4359
4850
  GNATBIND="$ac_cv_prog_GNATBIND"
4360
4851
fi
4362
4853
if test -n "$ac_tool_prefix"; then
4363
4854
  # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4364
4855
set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4365
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4366
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4367
 
if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4368
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4857
$as_echo_n "checking for $ac_word... " >&6; }
 
4858
if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
 
4859
  $as_echo_n "(cached) " >&6
4369
4860
else
4370
4861
  if test -n "$GNATMAKE"; then
4371
4862
  ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4375
4866
do
4376
4867
  IFS=$as_save_IFS
4377
4868
  test -z "$as_dir" && as_dir=.
4378
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4379
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4869
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4870
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4380
4871
    ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4381
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4872
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382
4873
    break 2
4383
4874
  fi
4384
4875
done
4385
 
done
 
4876
  done
 
4877
IFS=$as_save_IFS
4386
4878
 
4387
4879
fi
4388
4880
fi
4389
4881
GNATMAKE=$ac_cv_prog_GNATMAKE
4390
4882
if test -n "$GNATMAKE"; then
4391
 
  echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4392
 
echo "${ECHO_T}$GNATMAKE" >&6
 
4883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
 
4884
$as_echo "$GNATMAKE" >&6; }
4393
4885
else
4394
 
  echo "$as_me:$LINENO: result: no" >&5
4395
 
echo "${ECHO_T}no" >&6
 
4886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4887
$as_echo "no" >&6; }
4396
4888
fi
 
4889
 
4397
4890
 
4398
4891
fi
4399
4892
if test -z "$ac_cv_prog_GNATMAKE"; then
4400
4893
  ac_ct_GNATMAKE=$GNATMAKE
4401
4894
  # Extract the first word of "gnatmake", so it can be a program name with args.
4402
4895
set dummy gnatmake; ac_word=$2
4403
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4404
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4405
 
if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4406
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4897
$as_echo_n "checking for $ac_word... " >&6; }
 
4898
if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
 
4899
  $as_echo_n "(cached) " >&6
4407
4900
else
4408
4901
  if test -n "$ac_ct_GNATMAKE"; then
4409
4902
  ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4413
4906
do
4414
4907
  IFS=$as_save_IFS
4415
4908
  test -z "$as_dir" && as_dir=.
4416
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4417
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4909
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4910
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418
4911
    ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4419
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4912
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420
4913
    break 2
4421
4914
  fi
4422
4915
done
4423
 
done
 
4916
  done
 
4917
IFS=$as_save_IFS
4424
4918
 
4425
 
  test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE="no"
4426
4919
fi
4427
4920
fi
4428
4921
ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4429
4922
if test -n "$ac_ct_GNATMAKE"; then
4430
 
  echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4431
 
echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
 
4923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
 
4924
$as_echo "$ac_ct_GNATMAKE" >&6; }
4432
4925
else
4433
 
  echo "$as_me:$LINENO: result: no" >&5
4434
 
echo "${ECHO_T}no" >&6
 
4926
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4927
$as_echo "no" >&6; }
4435
4928
fi
4436
4929
 
4437
 
  GNATMAKE=$ac_ct_GNATMAKE
 
4930
  if test "x$ac_ct_GNATMAKE" = x; then
 
4931
    GNATMAKE="no"
 
4932
  else
 
4933
    case $cross_compiling:$ac_tool_warned in
 
4934
yes:)
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4936
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4937
ac_tool_warned=yes ;;
 
4938
esac
 
4939
    GNATMAKE=$ac_ct_GNATMAKE
 
4940
  fi
4438
4941
else
4439
4942
  GNATMAKE="$ac_cv_prog_GNATMAKE"
4440
4943
fi
4441
4944
 
4442
 
echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4443
 
echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4444
 
if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4445
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
 
4946
$as_echo_n "checking whether compiler driver understands Ada... " >&6; }
 
4947
if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
 
4948
  $as_echo_n "(cached) " >&6
4446
4949
else
4447
4950
  cat >conftest.adb <<EOF
4448
4951
procedure conftest is begin null; end conftest;
4462
4965
fi
4463
4966
rm -f conftest.*
4464
4967
fi
4465
 
echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4466
 
echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
 
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
 
4969
$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4467
4970
 
4468
4971
if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4469
4972
  have_gnat=yes
4471
4974
  have_gnat=no
4472
4975
fi
4473
4976
 
4474
 
echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4475
 
echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4476
 
if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4477
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
 
4978
$as_echo_n "checking how to compare bootstrapped objects... " >&6; }
 
4979
if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
 
4980
  $as_echo_n "(cached) " >&6
4478
4981
else
4479
4982
   echo abfoo >t1
4480
4983
  echo cdfoo >t2
4496
4999
  rm t1 t2
4497
5000
 
4498
5001
fi
4499
 
echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4500
 
echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
 
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
 
5003
$as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4501
5004
do_compare="$gcc_cv_prog_cmp_skip"
4502
5005
 
4503
5006
 
4504
5007
 
4505
 
# Check for GMP and MPFR
 
5008
# See if we are building gcc with C++.
 
5009
# Check whether --enable-build-with-cxx was given.
 
5010
if test "${enable_build_with_cxx+set}" = set; then :
 
5011
  enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
 
5012
else
 
5013
  ENABLE_BUILD_WITH_CXX=no
 
5014
fi
 
5015
 
 
5016
 
 
5017
# Check for GMP, MPFR and MPC
4506
5018
gmplibs="-lmpfr -lgmp"
4507
5019
gmpinc=
4508
5020
have_gmp=no
 
5021
mpclibs=-lmpc
 
5022
mpcinc=
 
5023
have_mpc=no
 
5024
 
 
5025
# Specify a location for mpc
 
5026
# check for this first so it ends up on the link line before mpfr.
 
5027
 
 
5028
# Check whether --with-mpc was given.
 
5029
if test "${with_mpc+set}" = set; then :
 
5030
  withval=$with_mpc;
 
5031
fi
 
5032
 
 
5033
 
 
5034
# Check whether --with-mpc_include was given.
 
5035
if test "${with_mpc_include+set}" = set; then :
 
5036
  withval=$with_mpc_include;
 
5037
fi
 
5038
 
 
5039
 
 
5040
# Check whether --with-mpc_lib was given.
 
5041
if test "${with_mpc_lib+set}" = set; then :
 
5042
  withval=$with_mpc_lib;
 
5043
fi
 
5044
 
 
5045
 
 
5046
if test "x$with_mpc" != x; then
 
5047
  mpclibs="-L$with_mpc/lib -lmpc"
 
5048
  mpcinc="-I$with_mpc/include $mpcinc"
 
5049
fi
 
5050
if test "x$with_mpc_include" != x; then
 
5051
  mpcinc="-I$with_mpc_include $mpcinc"
 
5052
fi
 
5053
if test "x$with_mpc_lib" != x; then
 
5054
  mpclibs="-L$with_mpc_lib -lmpc"
 
5055
fi
 
5056
if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
 
5057
  mpclibs='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
 
5058
  mpcinc='-I$$s/mpc/src '"$mpcinc"
 
5059
  # Do not test the mpc version.  Assume that it is sufficient, since
 
5060
  # it is in the source tree, and the library has not been built yet
 
5061
  # but it would be included on the link line in the version check below
 
5062
  # hence making the test fail.
 
5063
  have_mpc=yes
 
5064
fi
4509
5065
 
4510
5066
# Specify a location for mpfr
4511
5067
# check for this first so it ends up on the link line before gmp.
4512
5068
 
4513
 
# Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4514
 
if test "${with_mpfr_dir+set}" = set; then
4515
 
  withval="$with_mpfr_dir"
4516
 
  { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4517
 
Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4518
 
echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4519
 
Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4520
 
   { (exit 1); exit 1; }; }
4521
 
fi;
4522
 
 
4523
 
 
4524
 
# Check whether --with-mpfr or --without-mpfr was given.
4525
 
if test "${with_mpfr+set}" = set; then
4526
 
  withval="$with_mpfr"
4527
 
 
4528
 
fi;
4529
 
 
4530
 
# Check whether --with-mpfr_include or --without-mpfr_include was given.
4531
 
if test "${with_mpfr_include+set}" = set; then
4532
 
  withval="$with_mpfr_include"
4533
 
 
4534
 
fi;
4535
 
 
4536
 
# Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4537
 
if test "${with_mpfr_lib+set}" = set; then
4538
 
  withval="$with_mpfr_lib"
4539
 
 
4540
 
fi;
 
5069
# Check whether --with-mpfr-dir was given.
 
5070
if test "${with_mpfr_dir+set}" = set; then :
 
5071
  withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
 
5072
Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
 
5073
fi
 
5074
 
 
5075
 
 
5076
 
 
5077
# Check whether --with-mpfr was given.
 
5078
if test "${with_mpfr+set}" = set; then :
 
5079
  withval=$with_mpfr;
 
5080
fi
 
5081
 
 
5082
 
 
5083
# Check whether --with-mpfr_include was given.
 
5084
if test "${with_mpfr_include+set}" = set; then :
 
5085
  withval=$with_mpfr_include;
 
5086
fi
 
5087
 
 
5088
 
 
5089
# Check whether --with-mpfr_lib was given.
 
5090
if test "${with_mpfr_lib+set}" = set; then :
 
5091
  withval=$with_mpfr_lib;
 
5092
fi
 
5093
 
4541
5094
 
4542
5095
if test "x$with_mpfr" != x; then
4543
5096
  gmplibs="-L$with_mpfr/lib $gmplibs"
4552
5105
if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
4553
5106
  gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
4554
5107
  gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
 
5108
  extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'
4555
5109
  # Do not test the mpfr version.  Assume that it is sufficient, since
4556
5110
  # it is in the source tree, and the library has not been built yet
4557
5111
  # but it would be included on the link line in the version check below
4561
5115
 
4562
5116
# Specify a location for gmp
4563
5117
 
4564
 
# Check whether --with-gmp-dir or --without-gmp-dir was given.
4565
 
if test "${with_gmp_dir+set}" = set; then
4566
 
  withval="$with_gmp_dir"
4567
 
  { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4568
 
Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4569
 
echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4570
 
Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4571
 
   { (exit 1); exit 1; }; }
4572
 
fi;
4573
 
 
4574
 
 
4575
 
# Check whether --with-gmp or --without-gmp was given.
4576
 
if test "${with_gmp+set}" = set; then
4577
 
  withval="$with_gmp"
4578
 
 
4579
 
fi;
4580
 
 
4581
 
# Check whether --with-gmp_include or --without-gmp_include was given.
4582
 
if test "${with_gmp_include+set}" = set; then
4583
 
  withval="$with_gmp_include"
4584
 
 
4585
 
fi;
4586
 
 
4587
 
# Check whether --with-gmp_lib or --without-gmp_lib was given.
4588
 
if test "${with_gmp_lib+set}" = set; then
4589
 
  withval="$with_gmp_lib"
4590
 
 
4591
 
fi;
 
5118
# Check whether --with-gmp-dir was given.
 
5119
if test "${with_gmp_dir+set}" = set; then :
 
5120
  withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
 
5121
Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
 
5122
fi
 
5123
 
 
5124
 
 
5125
 
 
5126
# Check whether --with-gmp was given.
 
5127
if test "${with_gmp+set}" = set; then :
 
5128
  withval=$with_gmp;
 
5129
fi
 
5130
 
 
5131
 
 
5132
# Check whether --with-gmp_include was given.
 
5133
if test "${with_gmp_include+set}" = set; then :
 
5134
  withval=$with_gmp_include;
 
5135
fi
 
5136
 
 
5137
 
 
5138
# Check whether --with-gmp_lib was given.
 
5139
if test "${with_gmp_lib+set}" = set; then :
 
5140
  withval=$with_gmp_lib;
 
5141
fi
 
5142
 
4592
5143
 
4593
5144
 
4594
5145
if test "x$with_gmp" != x; then
4604
5155
if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
4605
5156
  gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
4606
5157
  gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
 
5158
  extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
 
5159
  extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
4607
5160
  # Do not test the gmp version.  Assume that it is sufficient, since
4608
5161
  # it is in the source tree, and the library has not been built yet
4609
5162
  # but it would be included on the link line in the version check below
4616
5169
  saved_CFLAGS="$CFLAGS"
4617
5170
  CFLAGS="$CFLAGS $gmpinc"
4618
5171
  # Check GMP actually works
4619
 
  echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4620
 
echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
 
5172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of gmp.h" >&5
 
5173
$as_echo_n "checking for correct version of gmp.h... " >&6; }
4621
5174
 
4622
 
cat >conftest.$ac_ext <<_ACEOF
4623
 
/* confdefs.h.  */
4624
 
_ACEOF
4625
 
cat confdefs.h >>conftest.$ac_ext
4626
 
cat >>conftest.$ac_ext <<_ACEOF
 
5175
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627
5176
/* end confdefs.h.  */
4628
5177
#include "gmp.h"
4629
5178
int
4638
5187
  return 0;
4639
5188
}
4640
5189
_ACEOF
4641
 
rm -f conftest.$ac_objext
4642
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643
 
  (eval $ac_compile) 2>conftest.er1
4644
 
  ac_status=$?
4645
 
  grep -v '^ *+' conftest.er1 >conftest.err
4646
 
  rm -f conftest.er1
4647
 
  cat conftest.err >&5
4648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
 
  (exit $ac_status); } &&
4650
 
         { ac_try='test -z "$ac_c_werror_flag"
4651
 
                         || test ! -s conftest.err'
4652
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653
 
  (eval $ac_try) 2>&5
4654
 
  ac_status=$?
4655
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
 
  (exit $ac_status); }; } &&
4657
 
         { ac_try='test -s conftest.$ac_objext'
4658
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659
 
  (eval $ac_try) 2>&5
4660
 
  ac_status=$?
4661
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662
 
  (exit $ac_status); }; }; then
4663
 
  echo "$as_me:$LINENO: result: yes" >&5
4664
 
echo "${ECHO_T}yes" >&6
4665
 
else
4666
 
  echo "$as_me: failed program was:" >&5
4667
 
sed 's/^/| /' conftest.$ac_ext >&5
4668
 
 
4669
 
echo "$as_me:$LINENO: result: no" >&5
4670
 
echo "${ECHO_T}no" >&6; have_gmp=no
4671
 
fi
4672
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4673
 
 
 
5190
if ac_fn_c_try_compile "$LINENO"; then :
 
5191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5192
$as_echo "yes" >&6; }
 
5193
else
 
5194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5195
$as_echo "no" >&6; }; have_gmp=no
 
5196
fi
 
5197
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5198
 
 
5199
  # If we have GMP, check the MPFR version.
 
5200
  if test x"$have_gmp" = xyes; then
 
5201
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of mpfr.h" >&5
 
5202
$as_echo_n "checking for correct version of mpfr.h... " >&6; }
 
5203
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5204
/* end confdefs.h.  */
 
5205
#include <gmp.h>
 
5206
    #include <mpfr.h>
 
5207
int
 
5208
main ()
 
5209
{
 
5210
 
 
5211
    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
 
5212
    choke me
 
5213
    #endif
 
5214
 
 
5215
  ;
 
5216
  return 0;
 
5217
}
 
5218
_ACEOF
 
5219
if ac_fn_c_try_compile "$LINENO"; then :
 
5220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5221
/* end confdefs.h.  */
 
5222
#include <gmp.h>
 
5223
    #include <mpfr.h>
 
5224
int
 
5225
main ()
 
5226
{
 
5227
 
 
5228
    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
 
5229
    choke me
 
5230
    #endif
 
5231
 
 
5232
  ;
 
5233
  return 0;
 
5234
}
 
5235
_ACEOF
 
5236
if ac_fn_c_try_compile "$LINENO"; then :
 
5237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5238
$as_echo "yes" >&6; }
 
5239
else
 
5240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
 
5241
$as_echo "buggy but acceptable" >&6; }
 
5242
fi
 
5243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5244
else
 
5245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5246
$as_echo "no" >&6; }; have_gmp=no
 
5247
fi
 
5248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5249
  fi
 
5250
 
 
5251
  # Check for the MPC header version.
 
5252
  if test x"$have_mpc" != xyes ; then
 
5253
    CFLAGS="$CFLAGS $mpcinc"
 
5254
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
 
5255
$as_echo_n "checking for the correct version of mpc.h... " >&6; }
 
5256
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5257
/* end confdefs.h.  */
 
5258
#include <mpc.h>
 
5259
int
 
5260
main ()
 
5261
{
 
5262
 
 
5263
    #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
 
5264
    choke me
 
5265
    #endif
 
5266
 
 
5267
  ;
 
5268
  return 0;
 
5269
}
 
5270
_ACEOF
 
5271
if ac_fn_c_try_compile "$LINENO"; then :
 
5272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5273
$as_echo "yes" >&6; }; have_mpc=maybe
 
5274
else
 
5275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5276
$as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
 
5277
fi
 
5278
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5279
  fi
 
5280
 
 
5281
  # Now check the MPFR library.
4674
5282
  if test x"$have_gmp" = xyes; then
4675
5283
    saved_LIBS="$LIBS"
4676
5284
    LIBS="$LIBS $gmplibs"
4677
 
        echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4678
 
echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4679
 
    cat >conftest.$ac_ext <<_ACEOF
4680
 
/* confdefs.h.  */
4681
 
_ACEOF
4682
 
cat confdefs.h >>conftest.$ac_ext
4683
 
cat >>conftest.$ac_ext <<_ACEOF
 
5285
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
 
5286
$as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
 
5287
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684
5288
/* end confdefs.h.  */
4685
5289
#include <gmp.h>
4686
5290
    #include <mpfr.h>
4688
5292
main ()
4689
5293
{
4690
5294
 
4691
 
    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
4692
 
    choke me
4693
 
    #endif
4694
5295
    mpfr_t n;
4695
5296
    mpfr_t x;
4696
5297
    int t;
4704
5305
  return 0;
4705
5306
}
4706
5307
_ACEOF
4707
 
rm -f conftest.$ac_objext conftest$ac_exeext
4708
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4709
 
  (eval $ac_link) 2>conftest.er1
4710
 
  ac_status=$?
4711
 
  grep -v '^ *+' conftest.er1 >conftest.err
4712
 
  rm -f conftest.er1
4713
 
  cat conftest.err >&5
4714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715
 
  (exit $ac_status); } &&
4716
 
         { ac_try='test -z "$ac_c_werror_flag"
4717
 
                         || test ! -s conftest.err'
4718
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719
 
  (eval $ac_try) 2>&5
4720
 
  ac_status=$?
4721
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722
 
  (exit $ac_status); }; } &&
4723
 
         { ac_try='test -s conftest$ac_exeext'
4724
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725
 
  (eval $ac_try) 2>&5
4726
 
  ac_status=$?
4727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728
 
  (exit $ac_status); }; }; then
4729
 
  cat >conftest.$ac_ext <<_ACEOF
4730
 
/* confdefs.h.  */
4731
 
_ACEOF
4732
 
cat confdefs.h >>conftest.$ac_ext
4733
 
cat >>conftest.$ac_ext <<_ACEOF
 
5308
if ac_fn_c_try_link "$LINENO"; then :
 
5309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5310
$as_echo "yes" >&6; }
 
5311
else
 
5312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5313
$as_echo "no" >&6; }; have_gmp=no
 
5314
fi
 
5315
rm -f core conftest.err conftest.$ac_objext \
 
5316
    conftest$ac_exeext conftest.$ac_ext
 
5317
    LIBS="$saved_LIBS"
 
5318
  fi
 
5319
 
 
5320
  if test x"$have_mpc" = xmaybe; then
 
5321
    saved_LIBS="$LIBS"
 
5322
    LIBS="$LIBS $mpclibs $gmplibs"
 
5323
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
 
5324
$as_echo_n "checking for the correct version of the mpc library... " >&6; }
 
5325
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4734
5326
/* end confdefs.h.  */
4735
 
#include <gmp.h>
4736
 
    #include <mpfr.h>
 
5327
#include <mpc.h>
4737
5328
int
4738
5329
main ()
4739
5330
{
4740
5331
 
4741
 
    #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
4742
 
    choke me
4743
 
    #endif
4744
 
    mpfr_t n; mpfr_init(n);
 
5332
    mpc_t n;
 
5333
    mpc_init2 (n, 53);
 
5334
    mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
 
5335
    mpc_sin (n, n, MPC_RNDNN);
 
5336
    mpc_cos (n, n, MPC_RNDNN);
 
5337
    mpc_tan (n, n, MPC_RNDNN);
 
5338
    mpc_sinh (n, n, MPC_RNDNN);
 
5339
    mpc_cosh (n, n, MPC_RNDNN);
 
5340
    mpc_tanh (n, n, MPC_RNDNN);
 
5341
    mpc_exp (n, n, MPC_RNDNN);
 
5342
    mpc_log (n, n, MPC_RNDNN);
 
5343
    mpc_sqrt (n, n, MPC_RNDNN);
 
5344
    mpc_proj (n, n, MPC_RNDNN);
 
5345
    mpc_neg (n, n, MPC_RNDNN);
 
5346
    mpc_sqr (n, n, MPC_RNDNN);
 
5347
    mpc_clear (n);
4745
5348
 
4746
5349
  ;
4747
5350
  return 0;
4748
5351
}
4749
5352
_ACEOF
4750
 
rm -f conftest.$ac_objext conftest$ac_exeext
4751
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4752
 
  (eval $ac_link) 2>conftest.er1
4753
 
  ac_status=$?
4754
 
  grep -v '^ *+' conftest.er1 >conftest.err
4755
 
  rm -f conftest.er1
4756
 
  cat conftest.err >&5
4757
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
 
  (exit $ac_status); } &&
4759
 
         { ac_try='test -z "$ac_c_werror_flag"
4760
 
                         || test ! -s conftest.err'
4761
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762
 
  (eval $ac_try) 2>&5
4763
 
  ac_status=$?
4764
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
 
  (exit $ac_status); }; } &&
4766
 
         { ac_try='test -s conftest$ac_exeext'
4767
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768
 
  (eval $ac_try) 2>&5
4769
 
  ac_status=$?
4770
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771
 
  (exit $ac_status); }; }; then
4772
 
  echo "$as_me:$LINENO: result: yes" >&5
4773
 
echo "${ECHO_T}yes" >&6
4774
 
else
4775
 
  echo "$as_me: failed program was:" >&5
4776
 
sed 's/^/| /' conftest.$ac_ext >&5
4777
 
 
4778
 
echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4779
 
echo "${ECHO_T}buggy but acceptable" >&6
4780
 
fi
4781
 
rm -f conftest.err conftest.$ac_objext \
4782
 
      conftest$ac_exeext conftest.$ac_ext
4783
 
else
4784
 
  echo "$as_me: failed program was:" >&5
4785
 
sed 's/^/| /' conftest.$ac_ext >&5
4786
 
 
4787
 
echo "$as_me:$LINENO: result: no" >&5
4788
 
echo "${ECHO_T}no" >&6; have_gmp=no
4789
 
fi
4790
 
rm -f conftest.err conftest.$ac_objext \
4791
 
      conftest$ac_exeext conftest.$ac_ext
4792
 
      LIBS="$saved_LIBS"
 
5353
if ac_fn_c_try_link "$LINENO"; then :
 
5354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5355
$as_echo "yes" >&6; }; have_mpc=yes
 
5356
else
 
5357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5358
$as_echo "no" >&6; }; have_mpc=no; mpclibs= ; mpcinc=
 
5359
fi
 
5360
rm -f core conftest.err conftest.$ac_objext \
 
5361
    conftest$ac_exeext conftest.$ac_ext
 
5362
    LIBS="$saved_LIBS"
4793
5363
  fi
 
5364
 
4794
5365
  CFLAGS="$saved_CFLAGS"
4795
5366
 
4796
5367
  if test x$have_gmp != xyes; then
4797
 
    { { echo "$as_me:$LINENO: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4798
 
Try the --with-gmp and/or --with-mpfr options to specify their locations.
4799
 
Copies of these libraries' source code can be found at their respective
4800
 
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4801
 
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4802
 
If you obtained GMP and/or MPFR from a vendor distribution package, make
4803
 
sure that you have installed both the libraries and the header files.
4804
 
They may be located in separate packages." >&5
4805
 
echo "$as_me: error: Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
4806
 
Try the --with-gmp and/or --with-mpfr options to specify their locations.
4807
 
Copies of these libraries' source code can be found at their respective
4808
 
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
4809
 
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
4810
 
If you obtained GMP and/or MPFR from a vendor distribution package, make
4811
 
sure that you have installed both the libraries and the header files.
4812
 
They may be located in separate packages." >&2;}
4813
 
   { (exit 1); exit 1; }; }
 
5368
    as_fn_error "Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
 
5369
Try the --with-gmp and/or --with-mpfr options to specify their locations.
 
5370
Copies of these libraries' source code can be found at their respective
 
5371
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
 
5372
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
 
5373
If you obtained GMP and/or MPFR from a vendor distribution package, make
 
5374
sure that you have installed both the libraries and the header files.
 
5375
They may be located in separate packages." "$LINENO" 5
4814
5376
  fi
4815
5377
fi
4816
5378
 
4817
 
# Flags needed for both GMP and/or MPFR
 
5379
if test x$have_mpc != xyes ; then
 
5380
  mpcinc=
 
5381
  mpclibs=
 
5382
fi
 
5383
 
 
5384
gmpinc="$mpcinc $gmpinc"
 
5385
gmplibs="$mpclibs $gmplibs"
 
5386
 
 
5387
# Flags needed for both GMP, MPFR and/or MPC.
 
5388
 
 
5389
 
 
5390
 
4818
5391
 
4819
5392
 
4820
5393
 
4821
5394
# Allow host libstdc++ to be specified for static linking with PPL.
4822
5395
 
4823
 
# Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
4824
 
if test "${with_host_libstdcxx+set}" = set; then
4825
 
  withval="$with_host_libstdcxx"
 
5396
# Check whether --with-host-libstdcxx was given.
 
5397
if test "${with_host_libstdcxx+set}" = set; then :
 
5398
  withval=$with_host_libstdcxx;
 
5399
fi
4826
5400
 
4827
 
fi;
4828
5401
 
4829
5402
case $with_host_libstdcxx in
4830
5403
  no|yes)
4831
 
    { { echo "$as_me:$LINENO: error: -with-host-libstdcxx needs an argument" >&5
4832
 
echo "$as_me: error: -with-host-libstdcxx needs an argument" >&2;}
4833
 
   { (exit 1); exit 1; }; }
 
5404
    as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
4834
5405
    ;;
4835
5406
esac
4836
5407
 
 
5408
# Linker flags to use for stage1 or when not boostrapping.
 
5409
 
 
5410
# Check whether --with-stage1-ldflags was given.
 
5411
if test "${with_stage1_ldflags+set}" = set; then :
 
5412
  withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
 
5413
   stage1_ldflags=
 
5414
 else
 
5415
   stage1_ldflags=$withval
 
5416
 fi
 
5417
else
 
5418
  stage1_ldflags=
 
5419
fi
 
5420
 
 
5421
 
 
5422
 
 
5423
# Libraries to use for stage1 or when not bootstrapping.
 
5424
 
 
5425
# Check whether --with-stage1-libs was given.
 
5426
if test "${with_stage1_libs+set}" = set; then :
 
5427
  withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
 
5428
   stage1_libs=
 
5429
 else
 
5430
   stage1_libs=$withval
 
5431
 fi
 
5432
else
 
5433
  stage1_libs=$with_host_libstdcxx
 
5434
fi
 
5435
 
 
5436
 
 
5437
 
 
5438
# Linker flags to use for stage2 and later builds.
 
5439
 
 
5440
# Check whether --with-boot-ldflags was given.
 
5441
if test "${with_boot_ldflags+set}" = set; then :
 
5442
  withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
 
5443
   poststage1_ldflags=
 
5444
 else
 
5445
   poststage1_ldflags=$withval
 
5446
 fi
 
5447
else
 
5448
  if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
 
5449
   poststage1_ldflags=-static-libstdc++
 
5450
 else
 
5451
   poststage1_ldflags=
 
5452
 fi
 
5453
fi
 
5454
 
 
5455
 
 
5456
 
 
5457
# Libraries to use for stage2 and later builds.  This defaults to the
 
5458
# argument passed to --with-host-libstdcxx.
 
5459
 
 
5460
# Check whether --with-boot-libs was given.
 
5461
if test "${with_boot_libs+set}" = set; then :
 
5462
  withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
 
5463
   poststage1_libs=
 
5464
 else
 
5465
   poststage1_libs=$withval
 
5466
 fi
 
5467
else
 
5468
  poststage1_libs=$with_host_libstdcxx
 
5469
fi
 
5470
 
 
5471
 
 
5472
 
4837
5473
# Check for PPL
4838
5474
ppl_major_version=0
4839
5475
ppl_minor_version=10
4840
 
ppllibs=" -lppl_c -lppl -lgmpxx $with_host_libstdcxx "
 
5476
ppllibs=" -lppl_c -lppl -lgmpxx"
4841
5477
pplinc=
4842
5478
 
4843
5479
 
4844
 
# Check whether --with-ppl or --without-ppl was given.
4845
 
if test "${with_ppl+set}" = set; then
4846
 
  withval="$with_ppl"
4847
 
 
4848
 
fi;
4849
 
 
4850
 
# Check whether --with-ppl_include or --without-ppl_include was given.
4851
 
if test "${with_ppl_include+set}" = set; then
4852
 
  withval="$with_ppl_include"
4853
 
 
4854
 
fi;
4855
 
 
4856
 
# Check whether --with-ppl_lib or --without-ppl_lib was given.
4857
 
if test "${with_ppl_lib+set}" = set; then
4858
 
  withval="$with_ppl_lib"
4859
 
 
4860
 
fi;
 
5480
# Check whether --with-ppl was given.
 
5481
if test "${with_ppl+set}" = set; then :
 
5482
  withval=$with_ppl;
 
5483
else
 
5484
  with_ppl=no
 
5485
fi
 
5486
 
 
5487
 
 
5488
# Check whether --with-ppl_include was given.
 
5489
if test "${with_ppl_include+set}" = set; then :
 
5490
  withval=$with_ppl_include;
 
5491
fi
 
5492
 
 
5493
 
 
5494
# Check whether --with-ppl_lib was given.
 
5495
if test "${with_ppl_lib+set}" = set; then :
 
5496
  withval=$with_ppl_lib;
 
5497
fi
 
5498
 
4861
5499
 
4862
5500
case $with_ppl in
4863
5501
  no)
4864
5502
    ppllibs=
4865
5503
    ;;
4866
5504
  *)
4867
 
    ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
 
5505
    ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
4868
5506
    pplinc="-I$with_ppl/include $pplinc"
4869
5507
    LIBS="$ppllibs $LIBS"
4870
5508
    ;;
4873
5511
  pplinc="-I$with_ppl_include $pplinc"
4874
5512
fi
4875
5513
if test "x$with_ppl_lib" != x; then
4876
 
  ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx $with_host_libstdcxx"
 
5514
  ppllibs="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
4877
5515
  LIBS="$ppllibs $LIBS"
4878
5516
fi
4879
5517
if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
4880
 
  ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '"$with_host_libstdcxx "
 
5518
  ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
4881
5519
  pplinc='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
4882
5520
  LIBS="$ppllibs $LIBS"
4883
5521
fi
4884
5522
 
4885
 
# Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4886
 
if test "${enable_ppl_version_check+set}" = set; then
4887
 
  enableval="$enable_ppl_version_check"
4888
 
  ENABLE_PPL_CHECK=$enableval
 
5523
# Check whether --enable-ppl-version-check was given.
 
5524
if test "${enable_ppl_version_check+set}" = set; then :
 
5525
  enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
4889
5526
else
4890
5527
  ENABLE_PPL_CHECK=yes
4891
 
fi;
 
5528
fi
 
5529
 
4892
5530
 
4893
5531
if test "${ENABLE_PPL_CHECK}" = "yes"; then
4894
5532
  saved_CFLAGS="$CFLAGS"
4895
5533
  CFLAGS="$CFLAGS $pplinc $gmpinc"
4896
 
  echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4897
 
echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4898
 
  cat >conftest.$ac_ext <<_ACEOF
4899
 
/* confdefs.h.  */
4900
 
_ACEOF
4901
 
cat confdefs.h >>conftest.$ac_ext
4902
 
cat >>conftest.$ac_ext <<_ACEOF
 
5534
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
 
5535
$as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
 
5536
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903
5537
/* end confdefs.h.  */
4904
5538
#include "ppl_c.h"
4905
5539
int
4914
5548
  return 0;
4915
5549
}
4916
5550
_ACEOF
4917
 
rm -f conftest.$ac_objext
4918
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919
 
  (eval $ac_compile) 2>conftest.er1
4920
 
  ac_status=$?
4921
 
  grep -v '^ *+' conftest.er1 >conftest.err
4922
 
  rm -f conftest.er1
4923
 
  cat conftest.err >&5
4924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
 
  (exit $ac_status); } &&
4926
 
         { ac_try='test -z "$ac_c_werror_flag"
4927
 
                         || test ! -s conftest.err'
4928
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929
 
  (eval $ac_try) 2>&5
4930
 
  ac_status=$?
4931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
 
  (exit $ac_status); }; } &&
4933
 
         { ac_try='test -s conftest.$ac_objext'
4934
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935
 
  (eval $ac_try) 2>&5
4936
 
  ac_status=$?
4937
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938
 
  (exit $ac_status); }; }; then
4939
 
  echo "$as_me:$LINENO: result: yes" >&5
4940
 
echo "${ECHO_T}yes" >&6
 
5551
if ac_fn_c_try_compile "$LINENO"; then :
 
5552
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5553
$as_echo "yes" >&6; }
4941
5554
else
4942
 
  echo "$as_me: failed program was:" >&5
4943
 
sed 's/^/| /' conftest.$ac_ext >&5
4944
 
 
4945
 
echo "$as_me:$LINENO: result: no" >&5
4946
 
echo "${ECHO_T}no" >&6; ppllibs= ; pplinc=
 
5555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5556
$as_echo "no" >&6; }; ppllibs= ; pplinc=
4947
5557
fi
4948
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949
5559
  CFLAGS="$saved_CFLAGS"
4950
5560
fi
4951
5561
 
4959
5569
clooginc=" -DCLOOG_PPL_BACKEND "
4960
5570
 
4961
5571
 
4962
 
# Check whether --with-cloog or --without-cloog was given.
4963
 
if test "${with_cloog+set}" = set; then
4964
 
  withval="$with_cloog"
4965
 
 
4966
 
fi;
4967
 
 
4968
 
# Check whether --with-cloog_include or --without-cloog_include was given.
4969
 
if test "${with_cloog_include+set}" = set; then
4970
 
  withval="$with_cloog_include"
4971
 
 
4972
 
fi;
4973
 
 
4974
 
# Check whether --with-cloog_lib or --without-cloog_lib was given.
4975
 
if test "${with_cloog_lib+set}" = set; then
4976
 
  withval="$with_cloog_lib"
4977
 
 
4978
 
fi;
 
5572
# Check whether --with-cloog was given.
 
5573
if test "${with_cloog+set}" = set; then :
 
5574
  withval=$with_cloog;
 
5575
else
 
5576
  with_cloog=no
 
5577
fi
 
5578
 
 
5579
 
 
5580
# Check whether --with-cloog_include was given.
 
5581
if test "${with_cloog_include+set}" = set; then :
 
5582
  withval=$with_cloog_include;
 
5583
fi
 
5584
 
 
5585
 
 
5586
# Check whether --with-cloog_lib was given.
 
5587
if test "${with_cloog_lib+set}" = set; then :
 
5588
  withval=$with_cloog_lib;
 
5589
fi
 
5590
 
4979
5591
 
4980
5592
case $with_cloog in
4981
5593
  no)
5001
5613
  LIBS="$clooglibs $LIBS"
5002
5614
fi
5003
5615
 
5004
 
# Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
5005
 
if test "${enable_cloog_version_check+set}" = set; then
5006
 
  enableval="$enable_cloog_version_check"
5007
 
  ENABLE_CLOOG_CHECK=$enableval
 
5616
# Check whether --enable-cloog-version-check was given.
 
5617
if test "${enable_cloog_version_check+set}" = set; then :
 
5618
  enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5008
5619
else
5009
5620
  ENABLE_CLOOG_CHECK=yes
5010
 
fi;
 
5621
fi
 
5622
 
5011
5623
 
5012
5624
if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5013
5625
  saved_CFLAGS="$CFLAGS"
5014
5626
  CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc"
5015
 
  echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
5016
 
echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
5017
 
  cat >conftest.$ac_ext <<_ACEOF
5018
 
/* confdefs.h.  */
5019
 
_ACEOF
5020
 
cat confdefs.h >>conftest.$ac_ext
5021
 
cat >>conftest.$ac_ext <<_ACEOF
 
5627
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of CLooG" >&5
 
5628
$as_echo_n "checking for correct version of CLooG... " >&6; }
 
5629
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022
5630
/* end confdefs.h.  */
5023
5631
#include "cloog/cloog.h"
5024
5632
int
5033
5641
  return 0;
5034
5642
}
5035
5643
_ACEOF
5036
 
rm -f conftest.$ac_objext
5037
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5038
 
  (eval $ac_compile) 2>conftest.er1
5039
 
  ac_status=$?
5040
 
  grep -v '^ *+' conftest.er1 >conftest.err
5041
 
  rm -f conftest.er1
5042
 
  cat conftest.err >&5
5043
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044
 
  (exit $ac_status); } &&
5045
 
         { ac_try='test -z "$ac_c_werror_flag"
5046
 
                         || test ! -s conftest.err'
5047
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5048
 
  (eval $ac_try) 2>&5
5049
 
  ac_status=$?
5050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051
 
  (exit $ac_status); }; } &&
5052
 
         { ac_try='test -s conftest.$ac_objext'
5053
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5054
 
  (eval $ac_try) 2>&5
5055
 
  ac_status=$?
5056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057
 
  (exit $ac_status); }; }; then
5058
 
  echo "$as_me:$LINENO: result: yes" >&5
5059
 
echo "${ECHO_T}yes" >&6
 
5644
if ac_fn_c_try_compile "$LINENO"; then :
 
5645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5646
$as_echo "yes" >&6; }
5060
5647
else
5061
 
  echo "$as_me: failed program was:" >&5
5062
 
sed 's/^/| /' conftest.$ac_ext >&5
5063
 
 
5064
 
echo "$as_me:$LINENO: result: no" >&5
5065
 
echo "${ECHO_T}no" >&6; clooglibs= ; clooginc=
 
5648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5649
$as_echo "no" >&6; }; clooglibs= ; clooginc=
5066
5650
fi
5067
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5068
5652
  CFLAGS="$saved_CFLAGS"
5069
5653
fi
5070
5654
 
5076
5660
# By default, C is the only stage 1 language.
5077
5661
stage1_languages=,c,
5078
5662
 
 
5663
# Target libraries that we bootstrap.
 
5664
bootstrap_target_libs=,target-libgcc,
 
5665
 
5079
5666
# Figure out what language subdirectories are present.
5080
5667
# Look if the user specified --enable-languages="..."; if not, use
5081
5668
# the environment variable $LANGUAGES if defined. $LANGUAGES might
5161
5748
          exit 1
5162
5749
        fi
5163
5750
 
 
5751
        if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
 
5752
          boot_language=yes
 
5753
        fi
 
5754
 
5164
5755
        case ,${enable_languages}, in
5165
5756
          *,${language},*)
5166
5757
            # Language was explicitly selected; include it.
5181
5772
          case ,${enable_languages}, in
5182
5773
            *,${language},*)
5183
5774
              # Specifically requested language; tell them.
5184
 
              { { echo "$as_me:$LINENO: error: The gcc/$i directory contains parts of $language but is missing" >&5
5185
 
echo "$as_me: error: The gcc/$i directory contains parts of $language but is missing" >&2;}
5186
 
   { (exit 1); exit 1; }; }
 
5775
              as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5187
5776
              ;;
5188
5777
            *)
5189
5778
              # Silently disable.
5196
5785
        case ,${enable_languages},:${language}:${have_gnat} in
5197
5786
          *,${language},*:ada:no)
5198
5787
            # Specifically requested language; tell them.
5199
 
            { { echo "$as_me:$LINENO: error: GNAT is required to build $language" >&5
5200
 
echo "$as_me: error: GNAT is required to build $language" >&2;}
5201
 
   { (exit 1); exit 1; }; }
 
5788
            as_fn_error "GNAT is required to build $language" "$LINENO" 5
5202
5789
            ;;
5203
5790
          *:ada:no)
5204
5791
            # Silently disable.
5231
5818
              yes)
5232
5819
                # Add to (comma-separated) list of stage 1 languages.
5233
5820
                stage1_languages="${stage1_languages}${language},"
 
5821
                # We need to bootstrap any supporting libraries.
 
5822
                bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
5234
5823
                ;;
5235
5824
            esac
5236
5825
            ;;
5239
5828
    esac
5240
5829
  done
5241
5830
 
5242
 
  # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
5243
 
if test "${enable_stage1_languages+set}" = set; then
5244
 
  enableval="$enable_stage1_languages"
5245
 
  case ,${enable_stage1_languages}, in
 
5831
  # Check whether --enable-stage1-languages was given.
 
5832
if test "${enable_stage1_languages+set}" = set; then :
 
5833
  enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5246
5834
    ,no,|,,)
5247
5835
      # Set it to something that will have no effect in the loop below
5248
5836
      enable_stage1_languages=c ;;
5270
5858
        esac ;;
5271
5859
     esac
5272
5860
  done
5273
 
fi;
 
5861
fi
 
5862
 
5274
5863
 
5275
5864
  # Remove leading/trailing commas that were added for simplicity
5276
5865
  potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5279
5868
  new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5280
5869
 
5281
5870
  if test "x$missing_languages" != x; then
5282
 
    { { echo "$as_me:$LINENO: error:
5283
 
The following requested languages could not be built: ${missing_languages}
5284
 
Supported languages are: ${potential_languages}" >&5
5285
 
echo "$as_me: error:
5286
 
The following requested languages could not be built: ${missing_languages}
5287
 
Supported languages are: ${potential_languages}" >&2;}
5288
 
   { (exit 1); exit 1; }; }
 
5871
    as_fn_error "
 
5872
The following requested languages could not be built: ${missing_languages}
 
5873
Supported languages are: ${potential_languages}" "$LINENO" 5
5289
5874
  fi
5290
5875
  if test "x$new_enable_languages" != "x$enable_languages"; then
5291
5876
    echo The following languages will be built: ${new_enable_languages}
5306
5891
done
5307
5892
 
5308
5893
# Check for Boehm's garbage collector
5309
 
# Check whether --enable-objc-gc or --disable-objc-gc was given.
5310
 
if test "${enable_objc_gc+set}" = set; then
5311
 
  enableval="$enable_objc_gc"
5312
 
  case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
 
5894
# Check whether --enable-objc-gc was given.
 
5895
if test "${enable_objc_gc+set}" = set; then :
 
5896
  enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5313
5897
  *,objc,*:*:yes:*target-boehm-gc*)
5314
 
    { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
5315
 
echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
5316
 
   { (exit 1); exit 1; }; }
 
5898
    as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
5317
5899
    ;;
5318
5900
esac
5319
 
fi;
 
5901
fi
 
5902
 
5320
5903
 
5321
5904
# Make sure we only build Boehm's garbage collector if required.
5322
5905
case ,${enable_languages},:${enable_objc_gc} in
5511
6094
copy_dirs=
5512
6095
 
5513
6096
 
5514
 
# Check whether --with-build-sysroot or --without-build-sysroot was given.
5515
 
if test "${with_build_sysroot+set}" = set; then
5516
 
  withval="$with_build_sysroot"
5517
 
  if test x"$withval" != x ; then
 
6097
# Check whether --with-build-sysroot was given.
 
6098
if test "${with_build_sysroot+set}" = set; then :
 
6099
  withval=$with_build_sysroot; if test x"$withval" != x ; then
5518
6100
     SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
5519
6101
   fi
5520
6102
else
5521
6103
  SYSROOT_CFLAGS_FOR_TARGET=
5522
 
fi;
5523
 
 
5524
 
 
5525
 
 
5526
 
# Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
5527
 
if test "${with_debug_prefix_map+set}" = set; then
5528
 
  withval="$with_debug_prefix_map"
5529
 
  if test x"$withval" != x; then
 
6104
fi
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
# Check whether --with-debug-prefix-map was given.
 
6110
if test "${with_debug_prefix_map+set}" = set; then :
 
6111
  withval=$with_debug_prefix_map; if test x"$withval" != x; then
5530
6112
     DEBUG_PREFIX_CFLAGS_FOR_TARGET=
5531
6113
     for debug_map in $withval; do
5532
6114
       DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
5534
6116
   fi
5535
6117
else
5536
6118
  DEBUG_PREFIX_CFLAGS_FOR_TARGET=
5537
 
fi;
 
6119
fi
 
6120
 
5538
6121
 
5539
6122
 
5540
6123
# During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
5939
6522
# to maintain later.  In this particular case, you just have to be careful
5940
6523
# not to nest @if/@endif pairs, because configure will not warn you at all.
5941
6524
 
5942
 
# Check whether --enable-bootstrap or --disable-bootstrap was given.
5943
 
if test "${enable_bootstrap+set}" = set; then
5944
 
  enableval="$enable_bootstrap"
5945
 
 
 
6525
# Check whether --enable-bootstrap was given.
 
6526
if test "${enable_bootstrap+set}" = set; then :
 
6527
  enableval=$enable_bootstrap;
5946
6528
else
5947
6529
  enable_bootstrap=default
5948
 
fi;
 
6530
fi
 
6531
 
5949
6532
 
5950
6533
# Issue errors and warnings for invalid/strange bootstrap combinations.
5951
6534
case "$configdirs" in
5971
6554
  # Other configurations, but we have a compiler.  Assume the user knows
5972
6555
  # what he's doing.
5973
6556
  yes:*:*:yes)
5974
 
    { echo "$as_me:$LINENO: WARNING: trying to bootstrap a cross compiler" >&5
5975
 
echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
 
6557
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
 
6558
$as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5976
6559
    ;;
5977
6560
 
5978
6561
  # No compiler: if they passed --enable-bootstrap explicitly, fail
5979
6562
  no:*:*:yes)
5980
 
    { { echo "$as_me:$LINENO: error: cannot bootstrap without a compiler" >&5
5981
 
echo "$as_me: error: cannot bootstrap without a compiler" >&2;}
5982
 
   { (exit 1); exit 1; }; } ;;
 
6563
    as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
5983
6564
 
5984
6565
  # Fail if wrong command line
5985
6566
  *)
5986
 
    { { echo "$as_me:$LINENO: error: invalid option for --enable-bootstrap" >&5
5987
 
echo "$as_me: error: invalid option for --enable-bootstrap" >&2;}
5988
 
   { (exit 1); exit 1; }; }
 
6567
    as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
5989
6568
    ;;
5990
6569
esac
5991
6570
 
6030
6609
    echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6031
6610
    rm -f ${target_subdir}/${module}/Makefile
6032
6611
  fi
 
6612
 
 
6613
  # We only bootstrap target libraries listed in bootstrap_target_libs.
 
6614
  case $bootstrap_target_libs in
 
6615
    *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
 
6616
    *) target_bootstrap_suffix=no-bootstrap ;;
 
6617
  esac
 
6618
 
6033
6619
  extrasub="$extrasub
6034
6620
/^@if target-$module\$/d
6035
6621
/^@endif target-$module\$/d
6036
 
/^@if target-$module-$bootstrap_suffix\$/d
6037
 
/^@endif target-$module-$bootstrap_suffix\$/d"
 
6622
/^@if target-$module-$target_bootstrap_suffix\$/d
 
6623
/^@endif target-$module-$target_bootstrap_suffix\$/d"
6038
6624
done
6039
6625
 
6040
6626
extrasub="$extrasub
6042
6628
 
6043
6629
# Create the serialization dependencies.  This uses a temporary file.
6044
6630
 
6045
 
# Check whether --enable-serial-configure or --disable-serial-configure was given.
6046
 
if test "${enable_serial_configure+set}" = set; then
6047
 
  enableval="$enable_serial_configure"
 
6631
# Check whether --enable-serial-configure was given.
 
6632
if test "${enable_serial_configure+set}" = set; then :
 
6633
  enableval=$enable_serial_configure;
 
6634
fi
6048
6635
 
6049
 
fi;
6050
6636
 
6051
6637
case ${enable_serial_configure} in
6052
6638
  yes)
6189
6775
if test "$silent" = yes; then
6190
6776
  baseargs="$baseargs --silent"
6191
6777
fi
 
6778
baseargs="$baseargs --disable-option-checking"
6192
6779
 
6193
6780
# For the build-side libraries, we just need to pretend we're native,
6194
6781
# and not use the same cache file.  Multilibs are neither needed nor
6405
6992
do
6406
6993
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6407
6994
set dummy $ac_prog; ac_word=$2
6408
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6409
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6410
 
if test "${ac_cv_prog_YACC+set}" = set; then
6411
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6996
$as_echo_n "checking for $ac_word... " >&6; }
 
6997
if test "${ac_cv_prog_YACC+set}" = set; then :
 
6998
  $as_echo_n "(cached) " >&6
6412
6999
else
6413
7000
  if test -n "$YACC"; then
6414
7001
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6418
7005
do
6419
7006
  IFS=$as_save_IFS
6420
7007
  test -z "$as_dir" && as_dir=.
6421
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6422
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7008
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423
7010
    ac_cv_prog_YACC="$ac_prog"
6424
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7011
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425
7012
    break 2
6426
7013
  fi
6427
7014
done
6428
 
done
 
7015
  done
 
7016
IFS=$as_save_IFS
6429
7017
 
6430
7018
fi
6431
7019
fi
6432
7020
YACC=$ac_cv_prog_YACC
6433
7021
if test -n "$YACC"; then
6434
 
  echo "$as_me:$LINENO: result: $YACC" >&5
6435
 
echo "${ECHO_T}$YACC" >&6
 
7022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
 
7023
$as_echo "$YACC" >&6; }
6436
7024
else
6437
 
  echo "$as_me:$LINENO: result: no" >&5
6438
 
echo "${ECHO_T}no" >&6
 
7025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7026
$as_echo "no" >&6; }
6439
7027
fi
6440
7028
 
 
7029
 
6441
7030
  test -n "$YACC" && break
6442
7031
done
6443
7032
test -n "$YACC" || YACC="$MISSING bison -y"
6451
7040
do
6452
7041
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6453
7042
set dummy $ac_prog; ac_word=$2
6454
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6455
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6456
 
if test "${ac_cv_prog_BISON+set}" = set; then
6457
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7044
$as_echo_n "checking for $ac_word... " >&6; }
 
7045
if test "${ac_cv_prog_BISON+set}" = set; then :
 
7046
  $as_echo_n "(cached) " >&6
6458
7047
else
6459
7048
  if test -n "$BISON"; then
6460
7049
  ac_cv_prog_BISON="$BISON" # Let the user override the test.
6464
7053
do
6465
7054
  IFS=$as_save_IFS
6466
7055
  test -z "$as_dir" && as_dir=.
6467
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6468
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7056
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469
7058
    ac_cv_prog_BISON="$ac_prog"
6470
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471
7060
    break 2
6472
7061
  fi
6473
7062
done
6474
 
done
 
7063
  done
 
7064
IFS=$as_save_IFS
6475
7065
 
6476
7066
fi
6477
7067
fi
6478
7068
BISON=$ac_cv_prog_BISON
6479
7069
if test -n "$BISON"; then
6480
 
  echo "$as_me:$LINENO: result: $BISON" >&5
6481
 
echo "${ECHO_T}$BISON" >&6
 
7070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
 
7071
$as_echo "$BISON" >&6; }
6482
7072
else
6483
 
  echo "$as_me:$LINENO: result: no" >&5
6484
 
echo "${ECHO_T}no" >&6
 
7073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7074
$as_echo "no" >&6; }
6485
7075
fi
6486
7076
 
 
7077
 
6487
7078
  test -n "$BISON" && break
6488
7079
done
6489
7080
test -n "$BISON" || BISON="$MISSING bison"
6496
7087
do
6497
7088
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6498
7089
set dummy $ac_prog; ac_word=$2
6499
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6500
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6501
 
if test "${ac_cv_prog_M4+set}" = set; then
6502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7091
$as_echo_n "checking for $ac_word... " >&6; }
 
7092
if test "${ac_cv_prog_M4+set}" = set; then :
 
7093
  $as_echo_n "(cached) " >&6
6503
7094
else
6504
7095
  if test -n "$M4"; then
6505
7096
  ac_cv_prog_M4="$M4" # Let the user override the test.
6509
7100
do
6510
7101
  IFS=$as_save_IFS
6511
7102
  test -z "$as_dir" && as_dir=.
6512
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6513
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7103
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514
7105
    ac_cv_prog_M4="$ac_prog"
6515
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516
7107
    break 2
6517
7108
  fi
6518
7109
done
6519
 
done
 
7110
  done
 
7111
IFS=$as_save_IFS
6520
7112
 
6521
7113
fi
6522
7114
fi
6523
7115
M4=$ac_cv_prog_M4
6524
7116
if test -n "$M4"; then
6525
 
  echo "$as_me:$LINENO: result: $M4" >&5
6526
 
echo "${ECHO_T}$M4" >&6
 
7117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
 
7118
$as_echo "$M4" >&6; }
6527
7119
else
6528
 
  echo "$as_me:$LINENO: result: no" >&5
6529
 
echo "${ECHO_T}no" >&6
 
7120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7121
$as_echo "no" >&6; }
6530
7122
fi
6531
7123
 
 
7124
 
6532
7125
  test -n "$M4" && break
6533
7126
done
6534
7127
test -n "$M4" || M4="$MISSING m4"
6541
7134
do
6542
7135
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6543
7136
set dummy $ac_prog; ac_word=$2
6544
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6545
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6546
 
if test "${ac_cv_prog_LEX+set}" = set; then
6547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7138
$as_echo_n "checking for $ac_word... " >&6; }
 
7139
if test "${ac_cv_prog_LEX+set}" = set; then :
 
7140
  $as_echo_n "(cached) " >&6
6548
7141
else
6549
7142
  if test -n "$LEX"; then
6550
7143
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
6554
7147
do
6555
7148
  IFS=$as_save_IFS
6556
7149
  test -z "$as_dir" && as_dir=.
6557
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6558
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7150
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559
7152
    ac_cv_prog_LEX="$ac_prog"
6560
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7153
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561
7154
    break 2
6562
7155
  fi
6563
7156
done
6564
 
done
 
7157
  done
 
7158
IFS=$as_save_IFS
6565
7159
 
6566
7160
fi
6567
7161
fi
6568
7162
LEX=$ac_cv_prog_LEX
6569
7163
if test -n "$LEX"; then
6570
 
  echo "$as_me:$LINENO: result: $LEX" >&5
6571
 
echo "${ECHO_T}$LEX" >&6
 
7164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
 
7165
$as_echo "$LEX" >&6; }
6572
7166
else
6573
 
  echo "$as_me:$LINENO: result: no" >&5
6574
 
echo "${ECHO_T}no" >&6
 
7167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7168
$as_echo "no" >&6; }
6575
7169
fi
6576
7170
 
 
7171
 
6577
7172
  test -n "$LEX" && break
6578
7173
done
6579
7174
test -n "$LEX" || LEX="$MISSING flex"
6587
7182
do
6588
7183
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6589
7184
set dummy $ac_prog; ac_word=$2
6590
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6591
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6592
 
if test "${ac_cv_prog_FLEX+set}" = set; then
6593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7186
$as_echo_n "checking for $ac_word... " >&6; }
 
7187
if test "${ac_cv_prog_FLEX+set}" = set; then :
 
7188
  $as_echo_n "(cached) " >&6
6594
7189
else
6595
7190
  if test -n "$FLEX"; then
6596
7191
  ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6600
7195
do
6601
7196
  IFS=$as_save_IFS
6602
7197
  test -z "$as_dir" && as_dir=.
6603
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6604
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7198
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7199
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605
7200
    ac_cv_prog_FLEX="$ac_prog"
6606
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7201
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6607
7202
    break 2
6608
7203
  fi
6609
7204
done
6610
 
done
 
7205
  done
 
7206
IFS=$as_save_IFS
6611
7207
 
6612
7208
fi
6613
7209
fi
6614
7210
FLEX=$ac_cv_prog_FLEX
6615
7211
if test -n "$FLEX"; then
6616
 
  echo "$as_me:$LINENO: result: $FLEX" >&5
6617
 
echo "${ECHO_T}$FLEX" >&6
 
7212
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
 
7213
$as_echo "$FLEX" >&6; }
6618
7214
else
6619
 
  echo "$as_me:$LINENO: result: no" >&5
6620
 
echo "${ECHO_T}no" >&6
 
7215
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7216
$as_echo "no" >&6; }
6621
7217
fi
6622
7218
 
 
7219
 
6623
7220
  test -n "$FLEX" && break
6624
7221
done
6625
7222
test -n "$FLEX" || FLEX="$MISSING flex"
6632
7229
do
6633
7230
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6634
7231
set dummy $ac_prog; ac_word=$2
6635
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6636
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6637
 
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
6638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7233
$as_echo_n "checking for $ac_word... " >&6; }
 
7234
if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
 
7235
  $as_echo_n "(cached) " >&6
6639
7236
else
6640
7237
  if test -n "$MAKEINFO"; then
6641
7238
  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
6645
7242
do
6646
7243
  IFS=$as_save_IFS
6647
7244
  test -z "$as_dir" && as_dir=.
6648
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6649
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7245
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6650
7247
    ac_cv_prog_MAKEINFO="$ac_prog"
6651
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7248
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652
7249
    break 2
6653
7250
  fi
6654
7251
done
6655
 
done
 
7252
  done
 
7253
IFS=$as_save_IFS
6656
7254
 
6657
7255
fi
6658
7256
fi
6659
7257
MAKEINFO=$ac_cv_prog_MAKEINFO
6660
7258
if test -n "$MAKEINFO"; then
6661
 
  echo "$as_me:$LINENO: result: $MAKEINFO" >&5
6662
 
echo "${ECHO_T}$MAKEINFO" >&6
 
7259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
 
7260
$as_echo "$MAKEINFO" >&6; }
6663
7261
else
6664
 
  echo "$as_me:$LINENO: result: no" >&5
6665
 
echo "${ECHO_T}no" >&6
 
7262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7263
$as_echo "no" >&6; }
6666
7264
fi
6667
7265
 
 
7266
 
6668
7267
  test -n "$MAKEINFO" && break
6669
7268
done
6670
7269
test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
6691
7290
do
6692
7291
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6693
7292
set dummy $ac_prog; ac_word=$2
6694
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6695
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6696
 
if test "${ac_cv_prog_EXPECT+set}" = set; then
6697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7294
$as_echo_n "checking for $ac_word... " >&6; }
 
7295
if test "${ac_cv_prog_EXPECT+set}" = set; then :
 
7296
  $as_echo_n "(cached) " >&6
6698
7297
else
6699
7298
  if test -n "$EXPECT"; then
6700
7299
  ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
6704
7303
do
6705
7304
  IFS=$as_save_IFS
6706
7305
  test -z "$as_dir" && as_dir=.
6707
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6708
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7306
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6709
7308
    ac_cv_prog_EXPECT="$ac_prog"
6710
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7309
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711
7310
    break 2
6712
7311
  fi
6713
7312
done
6714
 
done
 
7313
  done
 
7314
IFS=$as_save_IFS
6715
7315
 
6716
7316
fi
6717
7317
fi
6718
7318
EXPECT=$ac_cv_prog_EXPECT
6719
7319
if test -n "$EXPECT"; then
6720
 
  echo "$as_me:$LINENO: result: $EXPECT" >&5
6721
 
echo "${ECHO_T}$EXPECT" >&6
 
7320
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
 
7321
$as_echo "$EXPECT" >&6; }
6722
7322
else
6723
 
  echo "$as_me:$LINENO: result: no" >&5
6724
 
echo "${ECHO_T}no" >&6
 
7323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7324
$as_echo "no" >&6; }
6725
7325
fi
6726
7326
 
 
7327
 
6727
7328
  test -n "$EXPECT" && break
6728
7329
done
6729
7330
test -n "$EXPECT" || EXPECT="expect"
6738
7339
do
6739
7340
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6740
7341
set dummy $ac_prog; ac_word=$2
6741
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6742
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6743
 
if test "${ac_cv_prog_RUNTEST+set}" = set; then
6744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7343
$as_echo_n "checking for $ac_word... " >&6; }
 
7344
if test "${ac_cv_prog_RUNTEST+set}" = set; then :
 
7345
  $as_echo_n "(cached) " >&6
6745
7346
else
6746
7347
  if test -n "$RUNTEST"; then
6747
7348
  ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
6751
7352
do
6752
7353
  IFS=$as_save_IFS
6753
7354
  test -z "$as_dir" && as_dir=.
6754
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6755
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7355
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756
7357
    ac_cv_prog_RUNTEST="$ac_prog"
6757
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7358
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758
7359
    break 2
6759
7360
  fi
6760
7361
done
6761
 
done
 
7362
  done
 
7363
IFS=$as_save_IFS
6762
7364
 
6763
7365
fi
6764
7366
fi
6765
7367
RUNTEST=$ac_cv_prog_RUNTEST
6766
7368
if test -n "$RUNTEST"; then
6767
 
  echo "$as_me:$LINENO: result: $RUNTEST" >&5
6768
 
echo "${ECHO_T}$RUNTEST" >&6
 
7369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
 
7370
$as_echo "$RUNTEST" >&6; }
6769
7371
else
6770
 
  echo "$as_me:$LINENO: result: no" >&5
6771
 
echo "${ECHO_T}no" >&6
 
7372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7373
$as_echo "no" >&6; }
6772
7374
fi
6773
7375
 
 
7376
 
6774
7377
  test -n "$RUNTEST" && break
6775
7378
done
6776
7379
test -n "$RUNTEST" || RUNTEST="runtest"
6800
7403
  for ncn_progname in ar; do
6801
7404
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6802
7405
set dummy ${ncn_progname}; ac_word=$2
6803
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6804
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6805
 
if test "${ac_cv_prog_AR+set}" = set; then
6806
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7407
$as_echo_n "checking for $ac_word... " >&6; }
 
7408
if test "${ac_cv_prog_AR+set}" = set; then :
 
7409
  $as_echo_n "(cached) " >&6
6807
7410
else
6808
7411
  if test -n "$AR"; then
6809
7412
  ac_cv_prog_AR="$AR" # Let the user override the test.
6813
7416
do
6814
7417
  IFS=$as_save_IFS
6815
7418
  test -z "$as_dir" && as_dir=.
6816
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6817
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7419
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7420
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818
7421
    ac_cv_prog_AR="${ncn_progname}"
6819
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7422
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820
7423
    break 2
6821
7424
  fi
6822
7425
done
6823
 
done
 
7426
  done
 
7427
IFS=$as_save_IFS
6824
7428
 
6825
7429
fi
6826
7430
fi
6827
7431
AR=$ac_cv_prog_AR
6828
7432
if test -n "$AR"; then
6829
 
  echo "$as_me:$LINENO: result: $AR" >&5
6830
 
echo "${ECHO_T}$AR" >&6
 
7433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7434
$as_echo "$AR" >&6; }
6831
7435
else
6832
 
  echo "$as_me:$LINENO: result: no" >&5
6833
 
echo "${ECHO_T}no" >&6
 
7436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7437
$as_echo "no" >&6; }
6834
7438
fi
6835
7439
 
 
7440
 
6836
7441
  done
6837
7442
fi
6838
7443
 
6840
7445
  if test -n "$ncn_tool_prefix"; then
6841
7446
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6842
7447
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6843
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6844
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6845
 
if test "${ac_cv_prog_AR+set}" = set; then
6846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7449
$as_echo_n "checking for $ac_word... " >&6; }
 
7450
if test "${ac_cv_prog_AR+set}" = set; then :
 
7451
  $as_echo_n "(cached) " >&6
6847
7452
else
6848
7453
  if test -n "$AR"; then
6849
7454
  ac_cv_prog_AR="$AR" # Let the user override the test.
6853
7458
do
6854
7459
  IFS=$as_save_IFS
6855
7460
  test -z "$as_dir" && as_dir=.
6856
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6857
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7461
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858
7463
    ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
6859
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7464
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860
7465
    break 2
6861
7466
  fi
6862
7467
done
6863
 
done
 
7468
  done
 
7469
IFS=$as_save_IFS
6864
7470
 
6865
7471
fi
6866
7472
fi
6867
7473
AR=$ac_cv_prog_AR
6868
7474
if test -n "$AR"; then
6869
 
  echo "$as_me:$LINENO: result: $AR" >&5
6870
 
echo "${ECHO_T}$AR" >&6
 
7475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7476
$as_echo "$AR" >&6; }
6871
7477
else
6872
 
  echo "$as_me:$LINENO: result: no" >&5
6873
 
echo "${ECHO_T}no" >&6
 
7478
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7479
$as_echo "no" >&6; }
6874
7480
fi
6875
7481
 
 
7482
 
6876
7483
  fi
6877
7484
  if test -z "$ac_cv_prog_AR" && test $build = $host ; then
6878
7485
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6879
7486
set dummy ${ncn_progname}; ac_word=$2
6880
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6881
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6882
 
if test "${ac_cv_prog_AR+set}" = set; then
6883
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7488
$as_echo_n "checking for $ac_word... " >&6; }
 
7489
if test "${ac_cv_prog_AR+set}" = set; then :
 
7490
  $as_echo_n "(cached) " >&6
6884
7491
else
6885
7492
  if test -n "$AR"; then
6886
7493
  ac_cv_prog_AR="$AR" # Let the user override the test.
6890
7497
do
6891
7498
  IFS=$as_save_IFS
6892
7499
  test -z "$as_dir" && as_dir=.
6893
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6894
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7500
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895
7502
    ac_cv_prog_AR="${ncn_progname}"
6896
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
7504
    break 2
6898
7505
  fi
6899
7506
done
6900
 
done
 
7507
  done
 
7508
IFS=$as_save_IFS
6901
7509
 
6902
7510
fi
6903
7511
fi
6904
7512
AR=$ac_cv_prog_AR
6905
7513
if test -n "$AR"; then
6906
 
  echo "$as_me:$LINENO: result: $AR" >&5
6907
 
echo "${ECHO_T}$AR" >&6
 
7514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7515
$as_echo "$AR" >&6; }
6908
7516
else
6909
 
  echo "$as_me:$LINENO: result: no" >&5
6910
 
echo "${ECHO_T}no" >&6
 
7517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7518
$as_echo "no" >&6; }
6911
7519
fi
6912
7520
 
 
7521
 
6913
7522
  fi
6914
7523
  test -n "$ac_cv_prog_AR" && break
6915
7524
done
6935
7544
  for ncn_progname in as; do
6936
7545
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6937
7546
set dummy ${ncn_progname}; ac_word=$2
6938
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6939
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6940
 
if test "${ac_cv_prog_AS+set}" = set; then
6941
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7548
$as_echo_n "checking for $ac_word... " >&6; }
 
7549
if test "${ac_cv_prog_AS+set}" = set; then :
 
7550
  $as_echo_n "(cached) " >&6
6942
7551
else
6943
7552
  if test -n "$AS"; then
6944
7553
  ac_cv_prog_AS="$AS" # Let the user override the test.
6948
7557
do
6949
7558
  IFS=$as_save_IFS
6950
7559
  test -z "$as_dir" && as_dir=.
6951
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6952
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7560
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953
7562
    ac_cv_prog_AS="${ncn_progname}"
6954
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7563
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955
7564
    break 2
6956
7565
  fi
6957
7566
done
6958
 
done
 
7567
  done
 
7568
IFS=$as_save_IFS
6959
7569
 
6960
7570
fi
6961
7571
fi
6962
7572
AS=$ac_cv_prog_AS
6963
7573
if test -n "$AS"; then
6964
 
  echo "$as_me:$LINENO: result: $AS" >&5
6965
 
echo "${ECHO_T}$AS" >&6
 
7574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
7575
$as_echo "$AS" >&6; }
6966
7576
else
6967
 
  echo "$as_me:$LINENO: result: no" >&5
6968
 
echo "${ECHO_T}no" >&6
 
7577
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7578
$as_echo "no" >&6; }
6969
7579
fi
6970
7580
 
 
7581
 
6971
7582
  done
6972
7583
fi
6973
7584
 
6975
7586
  if test -n "$ncn_tool_prefix"; then
6976
7587
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6977
7588
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6978
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6979
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6980
 
if test "${ac_cv_prog_AS+set}" = set; then
6981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7590
$as_echo_n "checking for $ac_word... " >&6; }
 
7591
if test "${ac_cv_prog_AS+set}" = set; then :
 
7592
  $as_echo_n "(cached) " >&6
6982
7593
else
6983
7594
  if test -n "$AS"; then
6984
7595
  ac_cv_prog_AS="$AS" # Let the user override the test.
6988
7599
do
6989
7600
  IFS=$as_save_IFS
6990
7601
  test -z "$as_dir" && as_dir=.
6991
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6992
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7602
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993
7604
    ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
6994
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7605
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995
7606
    break 2
6996
7607
  fi
6997
7608
done
6998
 
done
 
7609
  done
 
7610
IFS=$as_save_IFS
6999
7611
 
7000
7612
fi
7001
7613
fi
7002
7614
AS=$ac_cv_prog_AS
7003
7615
if test -n "$AS"; then
7004
 
  echo "$as_me:$LINENO: result: $AS" >&5
7005
 
echo "${ECHO_T}$AS" >&6
 
7616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
7617
$as_echo "$AS" >&6; }
7006
7618
else
7007
 
  echo "$as_me:$LINENO: result: no" >&5
7008
 
echo "${ECHO_T}no" >&6
 
7619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7620
$as_echo "no" >&6; }
7009
7621
fi
7010
7622
 
 
7623
 
7011
7624
  fi
7012
7625
  if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7013
7626
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7014
7627
set dummy ${ncn_progname}; ac_word=$2
7015
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7016
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7017
 
if test "${ac_cv_prog_AS+set}" = set; then
7018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7629
$as_echo_n "checking for $ac_word... " >&6; }
 
7630
if test "${ac_cv_prog_AS+set}" = set; then :
 
7631
  $as_echo_n "(cached) " >&6
7019
7632
else
7020
7633
  if test -n "$AS"; then
7021
7634
  ac_cv_prog_AS="$AS" # Let the user override the test.
7025
7638
do
7026
7639
  IFS=$as_save_IFS
7027
7640
  test -z "$as_dir" && as_dir=.
7028
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7029
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7641
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7642
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7030
7643
    ac_cv_prog_AS="${ncn_progname}"
7031
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7644
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032
7645
    break 2
7033
7646
  fi
7034
7647
done
7035
 
done
 
7648
  done
 
7649
IFS=$as_save_IFS
7036
7650
 
7037
7651
fi
7038
7652
fi
7039
7653
AS=$ac_cv_prog_AS
7040
7654
if test -n "$AS"; then
7041
 
  echo "$as_me:$LINENO: result: $AS" >&5
7042
 
echo "${ECHO_T}$AS" >&6
 
7655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
7656
$as_echo "$AS" >&6; }
7043
7657
else
7044
 
  echo "$as_me:$LINENO: result: no" >&5
7045
 
echo "${ECHO_T}no" >&6
 
7658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7659
$as_echo "no" >&6; }
7046
7660
fi
7047
7661
 
 
7662
 
7048
7663
  fi
7049
7664
  test -n "$ac_cv_prog_AS" && break
7050
7665
done
7070
7685
  for ncn_progname in dlltool; do
7071
7686
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7072
7687
set dummy ${ncn_progname}; ac_word=$2
7073
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7074
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7075
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7689
$as_echo_n "checking for $ac_word... " >&6; }
 
7690
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
7691
  $as_echo_n "(cached) " >&6
7077
7692
else
7078
7693
  if test -n "$DLLTOOL"; then
7079
7694
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7083
7698
do
7084
7699
  IFS=$as_save_IFS
7085
7700
  test -z "$as_dir" && as_dir=.
7086
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7087
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7701
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7702
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088
7703
    ac_cv_prog_DLLTOOL="${ncn_progname}"
7089
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7704
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090
7705
    break 2
7091
7706
  fi
7092
7707
done
7093
 
done
 
7708
  done
 
7709
IFS=$as_save_IFS
7094
7710
 
7095
7711
fi
7096
7712
fi
7097
7713
DLLTOOL=$ac_cv_prog_DLLTOOL
7098
7714
if test -n "$DLLTOOL"; then
7099
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7100
 
echo "${ECHO_T}$DLLTOOL" >&6
 
7715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7716
$as_echo "$DLLTOOL" >&6; }
7101
7717
else
7102
 
  echo "$as_me:$LINENO: result: no" >&5
7103
 
echo "${ECHO_T}no" >&6
 
7718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7719
$as_echo "no" >&6; }
7104
7720
fi
7105
7721
 
 
7722
 
7106
7723
  done
7107
7724
fi
7108
7725
 
7110
7727
  if test -n "$ncn_tool_prefix"; then
7111
7728
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7112
7729
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7113
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7114
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7115
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7731
$as_echo_n "checking for $ac_word... " >&6; }
 
7732
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
7733
  $as_echo_n "(cached) " >&6
7117
7734
else
7118
7735
  if test -n "$DLLTOOL"; then
7119
7736
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7123
7740
do
7124
7741
  IFS=$as_save_IFS
7125
7742
  test -z "$as_dir" && as_dir=.
7126
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7127
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7743
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7744
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7128
7745
    ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7129
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7746
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130
7747
    break 2
7131
7748
  fi
7132
7749
done
7133
 
done
 
7750
  done
 
7751
IFS=$as_save_IFS
7134
7752
 
7135
7753
fi
7136
7754
fi
7137
7755
DLLTOOL=$ac_cv_prog_DLLTOOL
7138
7756
if test -n "$DLLTOOL"; then
7139
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7140
 
echo "${ECHO_T}$DLLTOOL" >&6
 
7757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7758
$as_echo "$DLLTOOL" >&6; }
7141
7759
else
7142
 
  echo "$as_me:$LINENO: result: no" >&5
7143
 
echo "${ECHO_T}no" >&6
 
7760
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7761
$as_echo "no" >&6; }
7144
7762
fi
7145
7763
 
 
7764
 
7146
7765
  fi
7147
7766
  if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7148
7767
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7149
7768
set dummy ${ncn_progname}; ac_word=$2
7150
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7151
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7152
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7770
$as_echo_n "checking for $ac_word... " >&6; }
 
7771
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
7772
  $as_echo_n "(cached) " >&6
7154
7773
else
7155
7774
  if test -n "$DLLTOOL"; then
7156
7775
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7160
7779
do
7161
7780
  IFS=$as_save_IFS
7162
7781
  test -z "$as_dir" && as_dir=.
7163
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7164
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7782
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7783
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165
7784
    ac_cv_prog_DLLTOOL="${ncn_progname}"
7166
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167
7786
    break 2
7168
7787
  fi
7169
7788
done
7170
 
done
 
7789
  done
 
7790
IFS=$as_save_IFS
7171
7791
 
7172
7792
fi
7173
7793
fi
7174
7794
DLLTOOL=$ac_cv_prog_DLLTOOL
7175
7795
if test -n "$DLLTOOL"; then
7176
 
  echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7177
 
echo "${ECHO_T}$DLLTOOL" >&6
 
7796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7797
$as_echo "$DLLTOOL" >&6; }
7178
7798
else
7179
 
  echo "$as_me:$LINENO: result: no" >&5
7180
 
echo "${ECHO_T}no" >&6
 
7799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7800
$as_echo "no" >&6; }
7181
7801
fi
7182
7802
 
 
7803
 
7183
7804
  fi
7184
7805
  test -n "$ac_cv_prog_DLLTOOL" && break
7185
7806
done
7205
7826
  for ncn_progname in ld; do
7206
7827
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7207
7828
set dummy ${ncn_progname}; ac_word=$2
7208
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7209
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7210
 
if test "${ac_cv_prog_LD+set}" = set; then
7211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7830
$as_echo_n "checking for $ac_word... " >&6; }
 
7831
if test "${ac_cv_prog_LD+set}" = set; then :
 
7832
  $as_echo_n "(cached) " >&6
7212
7833
else
7213
7834
  if test -n "$LD"; then
7214
7835
  ac_cv_prog_LD="$LD" # Let the user override the test.
7218
7839
do
7219
7840
  IFS=$as_save_IFS
7220
7841
  test -z "$as_dir" && as_dir=.
7221
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7222
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7842
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7223
7844
    ac_cv_prog_LD="${ncn_progname}"
7224
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225
7846
    break 2
7226
7847
  fi
7227
7848
done
7228
 
done
 
7849
  done
 
7850
IFS=$as_save_IFS
7229
7851
 
7230
7852
fi
7231
7853
fi
7232
7854
LD=$ac_cv_prog_LD
7233
7855
if test -n "$LD"; then
7234
 
  echo "$as_me:$LINENO: result: $LD" >&5
7235
 
echo "${ECHO_T}$LD" >&6
 
7856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7857
$as_echo "$LD" >&6; }
7236
7858
else
7237
 
  echo "$as_me:$LINENO: result: no" >&5
7238
 
echo "${ECHO_T}no" >&6
 
7859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7860
$as_echo "no" >&6; }
7239
7861
fi
7240
7862
 
 
7863
 
7241
7864
  done
7242
7865
fi
7243
7866
 
7245
7868
  if test -n "$ncn_tool_prefix"; then
7246
7869
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7247
7870
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7248
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7249
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7250
 
if test "${ac_cv_prog_LD+set}" = set; then
7251
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7872
$as_echo_n "checking for $ac_word... " >&6; }
 
7873
if test "${ac_cv_prog_LD+set}" = set; then :
 
7874
  $as_echo_n "(cached) " >&6
7252
7875
else
7253
7876
  if test -n "$LD"; then
7254
7877
  ac_cv_prog_LD="$LD" # Let the user override the test.
7258
7881
do
7259
7882
  IFS=$as_save_IFS
7260
7883
  test -z "$as_dir" && as_dir=.
7261
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7262
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7884
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7263
7886
    ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7264
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265
7888
    break 2
7266
7889
  fi
7267
7890
done
7268
 
done
 
7891
  done
 
7892
IFS=$as_save_IFS
7269
7893
 
7270
7894
fi
7271
7895
fi
7272
7896
LD=$ac_cv_prog_LD
7273
7897
if test -n "$LD"; then
7274
 
  echo "$as_me:$LINENO: result: $LD" >&5
7275
 
echo "${ECHO_T}$LD" >&6
 
7898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7899
$as_echo "$LD" >&6; }
7276
7900
else
7277
 
  echo "$as_me:$LINENO: result: no" >&5
7278
 
echo "${ECHO_T}no" >&6
 
7901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7902
$as_echo "no" >&6; }
7279
7903
fi
7280
7904
 
 
7905
 
7281
7906
  fi
7282
7907
  if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7283
7908
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7284
7909
set dummy ${ncn_progname}; ac_word=$2
7285
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7286
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7287
 
if test "${ac_cv_prog_LD+set}" = set; then
7288
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7911
$as_echo_n "checking for $ac_word... " >&6; }
 
7912
if test "${ac_cv_prog_LD+set}" = set; then :
 
7913
  $as_echo_n "(cached) " >&6
7289
7914
else
7290
7915
  if test -n "$LD"; then
7291
7916
  ac_cv_prog_LD="$LD" # Let the user override the test.
7295
7920
do
7296
7921
  IFS=$as_save_IFS
7297
7922
  test -z "$as_dir" && as_dir=.
7298
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7299
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7923
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300
7925
    ac_cv_prog_LD="${ncn_progname}"
7301
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302
7927
    break 2
7303
7928
  fi
7304
7929
done
7305
 
done
 
7930
  done
 
7931
IFS=$as_save_IFS
7306
7932
 
7307
7933
fi
7308
7934
fi
7309
7935
LD=$ac_cv_prog_LD
7310
7936
if test -n "$LD"; then
7311
 
  echo "$as_me:$LINENO: result: $LD" >&5
7312
 
echo "${ECHO_T}$LD" >&6
 
7937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7938
$as_echo "$LD" >&6; }
7313
7939
else
7314
 
  echo "$as_me:$LINENO: result: no" >&5
7315
 
echo "${ECHO_T}no" >&6
 
7940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7941
$as_echo "no" >&6; }
7316
7942
fi
7317
7943
 
 
7944
 
7318
7945
  fi
7319
7946
  test -n "$ac_cv_prog_LD" && break
7320
7947
done
7340
7967
  for ncn_progname in lipo; do
7341
7968
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7342
7969
set dummy ${ncn_progname}; ac_word=$2
7343
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7344
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7345
 
if test "${ac_cv_prog_LIPO+set}" = set; then
7346
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7971
$as_echo_n "checking for $ac_word... " >&6; }
 
7972
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7973
  $as_echo_n "(cached) " >&6
7347
7974
else
7348
7975
  if test -n "$LIPO"; then
7349
7976
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7353
7980
do
7354
7981
  IFS=$as_save_IFS
7355
7982
  test -z "$as_dir" && as_dir=.
7356
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7357
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7358
7985
    ac_cv_prog_LIPO="${ncn_progname}"
7359
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360
7987
    break 2
7361
7988
  fi
7362
7989
done
7363
 
done
 
7990
  done
 
7991
IFS=$as_save_IFS
7364
7992
 
7365
7993
fi
7366
7994
fi
7367
7995
LIPO=$ac_cv_prog_LIPO
7368
7996
if test -n "$LIPO"; then
7369
 
  echo "$as_me:$LINENO: result: $LIPO" >&5
7370
 
echo "${ECHO_T}$LIPO" >&6
 
7997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7998
$as_echo "$LIPO" >&6; }
7371
7999
else
7372
 
  echo "$as_me:$LINENO: result: no" >&5
7373
 
echo "${ECHO_T}no" >&6
 
8000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8001
$as_echo "no" >&6; }
7374
8002
fi
7375
8003
 
 
8004
 
7376
8005
  done
7377
8006
fi
7378
8007
 
7380
8009
  if test -n "$ncn_tool_prefix"; then
7381
8010
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7382
8011
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7383
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7384
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7385
 
if test "${ac_cv_prog_LIPO+set}" = set; then
7386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8013
$as_echo_n "checking for $ac_word... " >&6; }
 
8014
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8015
  $as_echo_n "(cached) " >&6
7387
8016
else
7388
8017
  if test -n "$LIPO"; then
7389
8018
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7393
8022
do
7394
8023
  IFS=$as_save_IFS
7395
8024
  test -z "$as_dir" && as_dir=.
7396
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7397
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8025
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7398
8027
    ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
7399
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8028
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400
8029
    break 2
7401
8030
  fi
7402
8031
done
7403
 
done
 
8032
  done
 
8033
IFS=$as_save_IFS
7404
8034
 
7405
8035
fi
7406
8036
fi
7407
8037
LIPO=$ac_cv_prog_LIPO
7408
8038
if test -n "$LIPO"; then
7409
 
  echo "$as_me:$LINENO: result: $LIPO" >&5
7410
 
echo "${ECHO_T}$LIPO" >&6
 
8039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8040
$as_echo "$LIPO" >&6; }
7411
8041
else
7412
 
  echo "$as_me:$LINENO: result: no" >&5
7413
 
echo "${ECHO_T}no" >&6
 
8042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8043
$as_echo "no" >&6; }
7414
8044
fi
7415
8045
 
 
8046
 
7416
8047
  fi
7417
8048
  if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
7418
8049
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7419
8050
set dummy ${ncn_progname}; ac_word=$2
7420
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7421
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7422
 
if test "${ac_cv_prog_LIPO+set}" = set; then
7423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8052
$as_echo_n "checking for $ac_word... " >&6; }
 
8053
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8054
  $as_echo_n "(cached) " >&6
7424
8055
else
7425
8056
  if test -n "$LIPO"; then
7426
8057
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7430
8061
do
7431
8062
  IFS=$as_save_IFS
7432
8063
  test -z "$as_dir" && as_dir=.
7433
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7434
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8064
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435
8066
    ac_cv_prog_LIPO="${ncn_progname}"
7436
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8067
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437
8068
    break 2
7438
8069
  fi
7439
8070
done
7440
 
done
 
8071
  done
 
8072
IFS=$as_save_IFS
7441
8073
 
7442
8074
fi
7443
8075
fi
7444
8076
LIPO=$ac_cv_prog_LIPO
7445
8077
if test -n "$LIPO"; then
7446
 
  echo "$as_me:$LINENO: result: $LIPO" >&5
7447
 
echo "${ECHO_T}$LIPO" >&6
 
8078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
8079
$as_echo "$LIPO" >&6; }
7448
8080
else
7449
 
  echo "$as_me:$LINENO: result: no" >&5
7450
 
echo "${ECHO_T}no" >&6
 
8081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8082
$as_echo "no" >&6; }
7451
8083
fi
7452
8084
 
 
8085
 
7453
8086
  fi
7454
8087
  test -n "$ac_cv_prog_LIPO" && break
7455
8088
done
7475
8108
  for ncn_progname in nm; do
7476
8109
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7477
8110
set dummy ${ncn_progname}; ac_word=$2
7478
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7479
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7480
 
if test "${ac_cv_prog_NM+set}" = set; then
7481
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8112
$as_echo_n "checking for $ac_word... " >&6; }
 
8113
if test "${ac_cv_prog_NM+set}" = set; then :
 
8114
  $as_echo_n "(cached) " >&6
7482
8115
else
7483
8116
  if test -n "$NM"; then
7484
8117
  ac_cv_prog_NM="$NM" # Let the user override the test.
7488
8121
do
7489
8122
  IFS=$as_save_IFS
7490
8123
  test -z "$as_dir" && as_dir=.
7491
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7492
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8124
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493
8126
    ac_cv_prog_NM="${ncn_progname}"
7494
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8127
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495
8128
    break 2
7496
8129
  fi
7497
8130
done
7498
 
done
 
8131
  done
 
8132
IFS=$as_save_IFS
7499
8133
 
7500
8134
fi
7501
8135
fi
7502
8136
NM=$ac_cv_prog_NM
7503
8137
if test -n "$NM"; then
7504
 
  echo "$as_me:$LINENO: result: $NM" >&5
7505
 
echo "${ECHO_T}$NM" >&6
 
8138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
 
8139
$as_echo "$NM" >&6; }
7506
8140
else
7507
 
  echo "$as_me:$LINENO: result: no" >&5
7508
 
echo "${ECHO_T}no" >&6
 
8141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8142
$as_echo "no" >&6; }
7509
8143
fi
7510
8144
 
 
8145
 
7511
8146
  done
7512
8147
fi
7513
8148
 
7515
8150
  if test -n "$ncn_tool_prefix"; then
7516
8151
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7517
8152
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7518
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7519
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7520
 
if test "${ac_cv_prog_NM+set}" = set; then
7521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8154
$as_echo_n "checking for $ac_word... " >&6; }
 
8155
if test "${ac_cv_prog_NM+set}" = set; then :
 
8156
  $as_echo_n "(cached) " >&6
7522
8157
else
7523
8158
  if test -n "$NM"; then
7524
8159
  ac_cv_prog_NM="$NM" # Let the user override the test.
7528
8163
do
7529
8164
  IFS=$as_save_IFS
7530
8165
  test -z "$as_dir" && as_dir=.
7531
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7532
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8166
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533
8168
    ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
7534
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535
8170
    break 2
7536
8171
  fi
7537
8172
done
7538
 
done
 
8173
  done
 
8174
IFS=$as_save_IFS
7539
8175
 
7540
8176
fi
7541
8177
fi
7542
8178
NM=$ac_cv_prog_NM
7543
8179
if test -n "$NM"; then
7544
 
  echo "$as_me:$LINENO: result: $NM" >&5
7545
 
echo "${ECHO_T}$NM" >&6
 
8180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
 
8181
$as_echo "$NM" >&6; }
7546
8182
else
7547
 
  echo "$as_me:$LINENO: result: no" >&5
7548
 
echo "${ECHO_T}no" >&6
 
8183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8184
$as_echo "no" >&6; }
7549
8185
fi
7550
8186
 
 
8187
 
7551
8188
  fi
7552
8189
  if test -z "$ac_cv_prog_NM" && test $build = $host ; then
7553
8190
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7554
8191
set dummy ${ncn_progname}; ac_word=$2
7555
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7556
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7557
 
if test "${ac_cv_prog_NM+set}" = set; then
7558
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8193
$as_echo_n "checking for $ac_word... " >&6; }
 
8194
if test "${ac_cv_prog_NM+set}" = set; then :
 
8195
  $as_echo_n "(cached) " >&6
7559
8196
else
7560
8197
  if test -n "$NM"; then
7561
8198
  ac_cv_prog_NM="$NM" # Let the user override the test.
7565
8202
do
7566
8203
  IFS=$as_save_IFS
7567
8204
  test -z "$as_dir" && as_dir=.
7568
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7569
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8205
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570
8207
    ac_cv_prog_NM="${ncn_progname}"
7571
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8208
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572
8209
    break 2
7573
8210
  fi
7574
8211
done
7575
 
done
 
8212
  done
 
8213
IFS=$as_save_IFS
7576
8214
 
7577
8215
fi
7578
8216
fi
7579
8217
NM=$ac_cv_prog_NM
7580
8218
if test -n "$NM"; then
7581
 
  echo "$as_me:$LINENO: result: $NM" >&5
7582
 
echo "${ECHO_T}$NM" >&6
 
8219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
 
8220
$as_echo "$NM" >&6; }
7583
8221
else
7584
 
  echo "$as_me:$LINENO: result: no" >&5
7585
 
echo "${ECHO_T}no" >&6
 
8222
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8223
$as_echo "no" >&6; }
7586
8224
fi
7587
8225
 
 
8226
 
7588
8227
  fi
7589
8228
  test -n "$ac_cv_prog_NM" && break
7590
8229
done
7610
8249
  for ncn_progname in ranlib; do
7611
8250
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7612
8251
set dummy ${ncn_progname}; ac_word=$2
7613
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7615
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7616
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8253
$as_echo_n "checking for $ac_word... " >&6; }
 
8254
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8255
  $as_echo_n "(cached) " >&6
7617
8256
else
7618
8257
  if test -n "$RANLIB"; then
7619
8258
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7623
8262
do
7624
8263
  IFS=$as_save_IFS
7625
8264
  test -z "$as_dir" && as_dir=.
7626
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7627
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8265
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8266
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7628
8267
    ac_cv_prog_RANLIB="${ncn_progname}"
7629
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8268
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630
8269
    break 2
7631
8270
  fi
7632
8271
done
7633
 
done
 
8272
  done
 
8273
IFS=$as_save_IFS
7634
8274
 
7635
8275
fi
7636
8276
fi
7637
8277
RANLIB=$ac_cv_prog_RANLIB
7638
8278
if test -n "$RANLIB"; then
7639
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7640
 
echo "${ECHO_T}$RANLIB" >&6
 
8279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8280
$as_echo "$RANLIB" >&6; }
7641
8281
else
7642
 
  echo "$as_me:$LINENO: result: no" >&5
7643
 
echo "${ECHO_T}no" >&6
 
8282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8283
$as_echo "no" >&6; }
7644
8284
fi
7645
8285
 
 
8286
 
7646
8287
  done
7647
8288
fi
7648
8289
 
7650
8291
  if test -n "$ncn_tool_prefix"; then
7651
8292
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7652
8293
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7653
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7654
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7655
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7656
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8295
$as_echo_n "checking for $ac_word... " >&6; }
 
8296
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8297
  $as_echo_n "(cached) " >&6
7657
8298
else
7658
8299
  if test -n "$RANLIB"; then
7659
8300
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7663
8304
do
7664
8305
  IFS=$as_save_IFS
7665
8306
  test -z "$as_dir" && as_dir=.
7666
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7667
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8307
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7668
8309
    ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
7669
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8310
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670
8311
    break 2
7671
8312
  fi
7672
8313
done
7673
 
done
 
8314
  done
 
8315
IFS=$as_save_IFS
7674
8316
 
7675
8317
fi
7676
8318
fi
7677
8319
RANLIB=$ac_cv_prog_RANLIB
7678
8320
if test -n "$RANLIB"; then
7679
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7680
 
echo "${ECHO_T}$RANLIB" >&6
 
8321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8322
$as_echo "$RANLIB" >&6; }
7681
8323
else
7682
 
  echo "$as_me:$LINENO: result: no" >&5
7683
 
echo "${ECHO_T}no" >&6
 
8324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8325
$as_echo "no" >&6; }
7684
8326
fi
7685
8327
 
 
8328
 
7686
8329
  fi
7687
8330
  if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
7688
8331
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7689
8332
set dummy ${ncn_progname}; ac_word=$2
7690
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7691
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7692
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8334
$as_echo_n "checking for $ac_word... " >&6; }
 
8335
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
8336
  $as_echo_n "(cached) " >&6
7694
8337
else
7695
8338
  if test -n "$RANLIB"; then
7696
8339
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7700
8343
do
7701
8344
  IFS=$as_save_IFS
7702
8345
  test -z "$as_dir" && as_dir=.
7703
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7704
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8346
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8347
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7705
8348
    ac_cv_prog_RANLIB="${ncn_progname}"
7706
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8349
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707
8350
    break 2
7708
8351
  fi
7709
8352
done
7710
 
done
 
8353
  done
 
8354
IFS=$as_save_IFS
7711
8355
 
7712
8356
fi
7713
8357
fi
7714
8358
RANLIB=$ac_cv_prog_RANLIB
7715
8359
if test -n "$RANLIB"; then
7716
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
7717
 
echo "${ECHO_T}$RANLIB" >&6
 
8360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8361
$as_echo "$RANLIB" >&6; }
7718
8362
else
7719
 
  echo "$as_me:$LINENO: result: no" >&5
7720
 
echo "${ECHO_T}no" >&6
 
8363
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8364
$as_echo "no" >&6; }
7721
8365
fi
7722
8366
 
 
8367
 
7723
8368
  fi
7724
8369
  test -n "$ac_cv_prog_RANLIB" && break
7725
8370
done
7740
8385
  for ncn_progname in strip; do
7741
8386
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7742
8387
set dummy ${ncn_progname}; ac_word=$2
7743
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7744
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7745
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8389
$as_echo_n "checking for $ac_word... " >&6; }
 
8390
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8391
  $as_echo_n "(cached) " >&6
7747
8392
else
7748
8393
  if test -n "$STRIP"; then
7749
8394
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7753
8398
do
7754
8399
  IFS=$as_save_IFS
7755
8400
  test -z "$as_dir" && as_dir=.
7756
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7757
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8401
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7758
8403
    ac_cv_prog_STRIP="${ncn_progname}"
7759
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7760
8405
    break 2
7761
8406
  fi
7762
8407
done
7763
 
done
 
8408
  done
 
8409
IFS=$as_save_IFS
7764
8410
 
7765
8411
fi
7766
8412
fi
7767
8413
STRIP=$ac_cv_prog_STRIP
7768
8414
if test -n "$STRIP"; then
7769
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7770
 
echo "${ECHO_T}$STRIP" >&6
 
8415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8416
$as_echo "$STRIP" >&6; }
7771
8417
else
7772
 
  echo "$as_me:$LINENO: result: no" >&5
7773
 
echo "${ECHO_T}no" >&6
 
8418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8419
$as_echo "no" >&6; }
7774
8420
fi
7775
8421
 
 
8422
 
7776
8423
  done
7777
8424
fi
7778
8425
 
7780
8427
  if test -n "$ncn_tool_prefix"; then
7781
8428
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7782
8429
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7783
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7784
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7785
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7786
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8431
$as_echo_n "checking for $ac_word... " >&6; }
 
8432
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8433
  $as_echo_n "(cached) " >&6
7787
8434
else
7788
8435
  if test -n "$STRIP"; then
7789
8436
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7793
8440
do
7794
8441
  IFS=$as_save_IFS
7795
8442
  test -z "$as_dir" && as_dir=.
7796
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7797
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8443
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8444
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7798
8445
    ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
7799
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8446
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7800
8447
    break 2
7801
8448
  fi
7802
8449
done
7803
 
done
 
8450
  done
 
8451
IFS=$as_save_IFS
7804
8452
 
7805
8453
fi
7806
8454
fi
7807
8455
STRIP=$ac_cv_prog_STRIP
7808
8456
if test -n "$STRIP"; then
7809
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7810
 
echo "${ECHO_T}$STRIP" >&6
 
8457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8458
$as_echo "$STRIP" >&6; }
7811
8459
else
7812
 
  echo "$as_me:$LINENO: result: no" >&5
7813
 
echo "${ECHO_T}no" >&6
 
8460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8461
$as_echo "no" >&6; }
7814
8462
fi
7815
8463
 
 
8464
 
7816
8465
  fi
7817
8466
  if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
7818
8467
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7819
8468
set dummy ${ncn_progname}; ac_word=$2
7820
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7821
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7822
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7823
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8470
$as_echo_n "checking for $ac_word... " >&6; }
 
8471
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
8472
  $as_echo_n "(cached) " >&6
7824
8473
else
7825
8474
  if test -n "$STRIP"; then
7826
8475
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7830
8479
do
7831
8480
  IFS=$as_save_IFS
7832
8481
  test -z "$as_dir" && as_dir=.
7833
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7834
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8482
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7835
8484
    ac_cv_prog_STRIP="${ncn_progname}"
7836
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8485
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837
8486
    break 2
7838
8487
  fi
7839
8488
done
7840
 
done
 
8489
  done
 
8490
IFS=$as_save_IFS
7841
8491
 
7842
8492
fi
7843
8493
fi
7844
8494
STRIP=$ac_cv_prog_STRIP
7845
8495
if test -n "$STRIP"; then
7846
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
7847
 
echo "${ECHO_T}$STRIP" >&6
 
8496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8497
$as_echo "$STRIP" >&6; }
7848
8498
else
7849
 
  echo "$as_me:$LINENO: result: no" >&5
7850
 
echo "${ECHO_T}no" >&6
 
8499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8500
$as_echo "no" >&6; }
7851
8501
fi
7852
8502
 
 
8503
 
7853
8504
  fi
7854
8505
  test -n "$ac_cv_prog_STRIP" && break
7855
8506
done
7870
8521
  for ncn_progname in windres; do
7871
8522
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7872
8523
set dummy ${ncn_progname}; ac_word=$2
7873
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7874
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7875
 
if test "${ac_cv_prog_WINDRES+set}" = set; then
7876
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8525
$as_echo_n "checking for $ac_word... " >&6; }
 
8526
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
8527
  $as_echo_n "(cached) " >&6
7877
8528
else
7878
8529
  if test -n "$WINDRES"; then
7879
8530
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7883
8534
do
7884
8535
  IFS=$as_save_IFS
7885
8536
  test -z "$as_dir" && as_dir=.
7886
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7887
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8538
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7888
8539
    ac_cv_prog_WINDRES="${ncn_progname}"
7889
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8540
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7890
8541
    break 2
7891
8542
  fi
7892
8543
done
7893
 
done
 
8544
  done
 
8545
IFS=$as_save_IFS
7894
8546
 
7895
8547
fi
7896
8548
fi
7897
8549
WINDRES=$ac_cv_prog_WINDRES
7898
8550
if test -n "$WINDRES"; then
7899
 
  echo "$as_me:$LINENO: result: $WINDRES" >&5
7900
 
echo "${ECHO_T}$WINDRES" >&6
 
8551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
 
8552
$as_echo "$WINDRES" >&6; }
7901
8553
else
7902
 
  echo "$as_me:$LINENO: result: no" >&5
7903
 
echo "${ECHO_T}no" >&6
 
8554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8555
$as_echo "no" >&6; }
7904
8556
fi
7905
8557
 
 
8558
 
7906
8559
  done
7907
8560
fi
7908
8561
 
7910
8563
  if test -n "$ncn_tool_prefix"; then
7911
8564
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7912
8565
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7913
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7914
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7915
 
if test "${ac_cv_prog_WINDRES+set}" = set; then
7916
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8567
$as_echo_n "checking for $ac_word... " >&6; }
 
8568
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
8569
  $as_echo_n "(cached) " >&6
7917
8570
else
7918
8571
  if test -n "$WINDRES"; then
7919
8572
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7923
8576
do
7924
8577
  IFS=$as_save_IFS
7925
8578
  test -z "$as_dir" && as_dir=.
7926
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7927
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8579
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928
8581
    ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
7929
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930
8583
    break 2
7931
8584
  fi
7932
8585
done
7933
 
done
 
8586
  done
 
8587
IFS=$as_save_IFS
7934
8588
 
7935
8589
fi
7936
8590
fi
7937
8591
WINDRES=$ac_cv_prog_WINDRES
7938
8592
if test -n "$WINDRES"; then
7939
 
  echo "$as_me:$LINENO: result: $WINDRES" >&5
7940
 
echo "${ECHO_T}$WINDRES" >&6
 
8593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
 
8594
$as_echo "$WINDRES" >&6; }
7941
8595
else
7942
 
  echo "$as_me:$LINENO: result: no" >&5
7943
 
echo "${ECHO_T}no" >&6
 
8596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8597
$as_echo "no" >&6; }
7944
8598
fi
7945
8599
 
 
8600
 
7946
8601
  fi
7947
8602
  if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
7948
8603
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7949
8604
set dummy ${ncn_progname}; ac_word=$2
7950
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
7951
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7952
 
if test "${ac_cv_prog_WINDRES+set}" = set; then
7953
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8606
$as_echo_n "checking for $ac_word... " >&6; }
 
8607
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
8608
  $as_echo_n "(cached) " >&6
7954
8609
else
7955
8610
  if test -n "$WINDRES"; then
7956
8611
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
7960
8615
do
7961
8616
  IFS=$as_save_IFS
7962
8617
  test -z "$as_dir" && as_dir=.
7963
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7964
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8618
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965
8620
    ac_cv_prog_WINDRES="${ncn_progname}"
7966
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8621
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7967
8622
    break 2
7968
8623
  fi
7969
8624
done
7970
 
done
 
8625
  done
 
8626
IFS=$as_save_IFS
7971
8627
 
7972
8628
fi
7973
8629
fi
7974
8630
WINDRES=$ac_cv_prog_WINDRES
7975
8631
if test -n "$WINDRES"; then
7976
 
  echo "$as_me:$LINENO: result: $WINDRES" >&5
7977
 
echo "${ECHO_T}$WINDRES" >&6
 
8632
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
 
8633
$as_echo "$WINDRES" >&6; }
7978
8634
else
7979
 
  echo "$as_me:$LINENO: result: no" >&5
7980
 
echo "${ECHO_T}no" >&6
 
8635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8636
$as_echo "no" >&6; }
7981
8637
fi
7982
8638
 
 
8639
 
7983
8640
  fi
7984
8641
  test -n "$ac_cv_prog_WINDRES" && break
7985
8642
done
8005
8662
  for ncn_progname in windmc; do
8006
8663
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8007
8664
set dummy ${ncn_progname}; ac_word=$2
8008
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8009
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8010
 
if test "${ac_cv_prog_WINDMC+set}" = set; then
8011
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8666
$as_echo_n "checking for $ac_word... " >&6; }
 
8667
if test "${ac_cv_prog_WINDMC+set}" = set; then :
 
8668
  $as_echo_n "(cached) " >&6
8012
8669
else
8013
8670
  if test -n "$WINDMC"; then
8014
8671
  ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8018
8675
do
8019
8676
  IFS=$as_save_IFS
8020
8677
  test -z "$as_dir" && as_dir=.
8021
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8022
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8678
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8679
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8023
8680
    ac_cv_prog_WINDMC="${ncn_progname}"
8024
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8681
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025
8682
    break 2
8026
8683
  fi
8027
8684
done
8028
 
done
 
8685
  done
 
8686
IFS=$as_save_IFS
8029
8687
 
8030
8688
fi
8031
8689
fi
8032
8690
WINDMC=$ac_cv_prog_WINDMC
8033
8691
if test -n "$WINDMC"; then
8034
 
  echo "$as_me:$LINENO: result: $WINDMC" >&5
8035
 
echo "${ECHO_T}$WINDMC" >&6
 
8692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
 
8693
$as_echo "$WINDMC" >&6; }
8036
8694
else
8037
 
  echo "$as_me:$LINENO: result: no" >&5
8038
 
echo "${ECHO_T}no" >&6
 
8695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8696
$as_echo "no" >&6; }
8039
8697
fi
8040
8698
 
 
8699
 
8041
8700
  done
8042
8701
fi
8043
8702
 
8045
8704
  if test -n "$ncn_tool_prefix"; then
8046
8705
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8047
8706
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8048
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8049
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8050
 
if test "${ac_cv_prog_WINDMC+set}" = set; then
8051
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8708
$as_echo_n "checking for $ac_word... " >&6; }
 
8709
if test "${ac_cv_prog_WINDMC+set}" = set; then :
 
8710
  $as_echo_n "(cached) " >&6
8052
8711
else
8053
8712
  if test -n "$WINDMC"; then
8054
8713
  ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8058
8717
do
8059
8718
  IFS=$as_save_IFS
8060
8719
  test -z "$as_dir" && as_dir=.
8061
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8062
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8720
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063
8722
    ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8064
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8723
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065
8724
    break 2
8066
8725
  fi
8067
8726
done
8068
 
done
 
8727
  done
 
8728
IFS=$as_save_IFS
8069
8729
 
8070
8730
fi
8071
8731
fi
8072
8732
WINDMC=$ac_cv_prog_WINDMC
8073
8733
if test -n "$WINDMC"; then
8074
 
  echo "$as_me:$LINENO: result: $WINDMC" >&5
8075
 
echo "${ECHO_T}$WINDMC" >&6
 
8734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
 
8735
$as_echo "$WINDMC" >&6; }
8076
8736
else
8077
 
  echo "$as_me:$LINENO: result: no" >&5
8078
 
echo "${ECHO_T}no" >&6
 
8737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8738
$as_echo "no" >&6; }
8079
8739
fi
8080
8740
 
 
8741
 
8081
8742
  fi
8082
8743
  if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8083
8744
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8084
8745
set dummy ${ncn_progname}; ac_word=$2
8085
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8086
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8087
 
if test "${ac_cv_prog_WINDMC+set}" = set; then
8088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8747
$as_echo_n "checking for $ac_word... " >&6; }
 
8748
if test "${ac_cv_prog_WINDMC+set}" = set; then :
 
8749
  $as_echo_n "(cached) " >&6
8089
8750
else
8090
8751
  if test -n "$WINDMC"; then
8091
8752
  ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8095
8756
do
8096
8757
  IFS=$as_save_IFS
8097
8758
  test -z "$as_dir" && as_dir=.
8098
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8099
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8759
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100
8761
    ac_cv_prog_WINDMC="${ncn_progname}"
8101
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102
8763
    break 2
8103
8764
  fi
8104
8765
done
8105
 
done
 
8766
  done
 
8767
IFS=$as_save_IFS
8106
8768
 
8107
8769
fi
8108
8770
fi
8109
8771
WINDMC=$ac_cv_prog_WINDMC
8110
8772
if test -n "$WINDMC"; then
8111
 
  echo "$as_me:$LINENO: result: $WINDMC" >&5
8112
 
echo "${ECHO_T}$WINDMC" >&6
 
8773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
 
8774
$as_echo "$WINDMC" >&6; }
8113
8775
else
8114
 
  echo "$as_me:$LINENO: result: no" >&5
8115
 
echo "${ECHO_T}no" >&6
 
8776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8777
$as_echo "no" >&6; }
8116
8778
fi
8117
8779
 
 
8780
 
8118
8781
  fi
8119
8782
  test -n "$ac_cv_prog_WINDMC" && break
8120
8783
done
8140
8803
  for ncn_progname in objcopy; do
8141
8804
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8142
8805
set dummy ${ncn_progname}; ac_word=$2
8143
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8144
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8145
 
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8807
$as_echo_n "checking for $ac_word... " >&6; }
 
8808
if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
 
8809
  $as_echo_n "(cached) " >&6
8147
8810
else
8148
8811
  if test -n "$OBJCOPY"; then
8149
8812
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8153
8816
do
8154
8817
  IFS=$as_save_IFS
8155
8818
  test -z "$as_dir" && as_dir=.
8156
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8157
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8819
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158
8821
    ac_cv_prog_OBJCOPY="${ncn_progname}"
8159
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8822
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8160
8823
    break 2
8161
8824
  fi
8162
8825
done
8163
 
done
 
8826
  done
 
8827
IFS=$as_save_IFS
8164
8828
 
8165
8829
fi
8166
8830
fi
8167
8831
OBJCOPY=$ac_cv_prog_OBJCOPY
8168
8832
if test -n "$OBJCOPY"; then
8169
 
  echo "$as_me:$LINENO: result: $OBJCOPY" >&5
8170
 
echo "${ECHO_T}$OBJCOPY" >&6
 
8833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
 
8834
$as_echo "$OBJCOPY" >&6; }
8171
8835
else
8172
 
  echo "$as_me:$LINENO: result: no" >&5
8173
 
echo "${ECHO_T}no" >&6
 
8836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8837
$as_echo "no" >&6; }
8174
8838
fi
8175
8839
 
 
8840
 
8176
8841
  done
8177
8842
fi
8178
8843
 
8180
8845
  if test -n "$ncn_tool_prefix"; then
8181
8846
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8182
8847
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8183
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8184
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8185
 
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8186
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8849
$as_echo_n "checking for $ac_word... " >&6; }
 
8850
if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
 
8851
  $as_echo_n "(cached) " >&6
8187
8852
else
8188
8853
  if test -n "$OBJCOPY"; then
8189
8854
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8193
8858
do
8194
8859
  IFS=$as_save_IFS
8195
8860
  test -z "$as_dir" && as_dir=.
8196
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8197
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8861
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8198
8863
    ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8199
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8864
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200
8865
    break 2
8201
8866
  fi
8202
8867
done
8203
 
done
 
8868
  done
 
8869
IFS=$as_save_IFS
8204
8870
 
8205
8871
fi
8206
8872
fi
8207
8873
OBJCOPY=$ac_cv_prog_OBJCOPY
8208
8874
if test -n "$OBJCOPY"; then
8209
 
  echo "$as_me:$LINENO: result: $OBJCOPY" >&5
8210
 
echo "${ECHO_T}$OBJCOPY" >&6
 
8875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
 
8876
$as_echo "$OBJCOPY" >&6; }
8211
8877
else
8212
 
  echo "$as_me:$LINENO: result: no" >&5
8213
 
echo "${ECHO_T}no" >&6
 
8878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8879
$as_echo "no" >&6; }
8214
8880
fi
8215
8881
 
 
8882
 
8216
8883
  fi
8217
8884
  if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8218
8885
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8219
8886
set dummy ${ncn_progname}; ac_word=$2
8220
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8221
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8222
 
if test "${ac_cv_prog_OBJCOPY+set}" = set; then
8223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8888
$as_echo_n "checking for $ac_word... " >&6; }
 
8889
if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
 
8890
  $as_echo_n "(cached) " >&6
8224
8891
else
8225
8892
  if test -n "$OBJCOPY"; then
8226
8893
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8230
8897
do
8231
8898
  IFS=$as_save_IFS
8232
8899
  test -z "$as_dir" && as_dir=.
8233
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8234
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8235
8902
    ac_cv_prog_OBJCOPY="${ncn_progname}"
8236
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8237
8904
    break 2
8238
8905
  fi
8239
8906
done
8240
 
done
 
8907
  done
 
8908
IFS=$as_save_IFS
8241
8909
 
8242
8910
fi
8243
8911
fi
8244
8912
OBJCOPY=$ac_cv_prog_OBJCOPY
8245
8913
if test -n "$OBJCOPY"; then
8246
 
  echo "$as_me:$LINENO: result: $OBJCOPY" >&5
8247
 
echo "${ECHO_T}$OBJCOPY" >&6
 
8914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
 
8915
$as_echo "$OBJCOPY" >&6; }
8248
8916
else
8249
 
  echo "$as_me:$LINENO: result: no" >&5
8250
 
echo "${ECHO_T}no" >&6
 
8917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8918
$as_echo "no" >&6; }
8251
8919
fi
8252
8920
 
 
8921
 
8253
8922
  fi
8254
8923
  test -n "$ac_cv_prog_OBJCOPY" && break
8255
8924
done
8275
8944
  for ncn_progname in objdump; do
8276
8945
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8277
8946
set dummy ${ncn_progname}; ac_word=$2
8278
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8279
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8280
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8948
$as_echo_n "checking for $ac_word... " >&6; }
 
8949
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8950
  $as_echo_n "(cached) " >&6
8282
8951
else
8283
8952
  if test -n "$OBJDUMP"; then
8284
8953
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8288
8957
do
8289
8958
  IFS=$as_save_IFS
8290
8959
  test -z "$as_dir" && as_dir=.
8291
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8292
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8960
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293
8962
    ac_cv_prog_OBJDUMP="${ncn_progname}"
8294
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8295
8964
    break 2
8296
8965
  fi
8297
8966
done
8298
 
done
 
8967
  done
 
8968
IFS=$as_save_IFS
8299
8969
 
8300
8970
fi
8301
8971
fi
8302
8972
OBJDUMP=$ac_cv_prog_OBJDUMP
8303
8973
if test -n "$OBJDUMP"; then
8304
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8305
 
echo "${ECHO_T}$OBJDUMP" >&6
 
8974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
8975
$as_echo "$OBJDUMP" >&6; }
8306
8976
else
8307
 
  echo "$as_me:$LINENO: result: no" >&5
8308
 
echo "${ECHO_T}no" >&6
 
8977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8978
$as_echo "no" >&6; }
8309
8979
fi
8310
8980
 
 
8981
 
8311
8982
  done
8312
8983
fi
8313
8984
 
8315
8986
  if test -n "$ncn_tool_prefix"; then
8316
8987
    # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8317
8988
set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8318
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8319
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8320
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8990
$as_echo_n "checking for $ac_word... " >&6; }
 
8991
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8992
  $as_echo_n "(cached) " >&6
8322
8993
else
8323
8994
  if test -n "$OBJDUMP"; then
8324
8995
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8328
8999
do
8329
9000
  IFS=$as_save_IFS
8330
9001
  test -z "$as_dir" && as_dir=.
8331
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8332
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9002
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9003
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8333
9004
    ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
8334
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9005
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8335
9006
    break 2
8336
9007
  fi
8337
9008
done
8338
 
done
 
9009
  done
 
9010
IFS=$as_save_IFS
8339
9011
 
8340
9012
fi
8341
9013
fi
8342
9014
OBJDUMP=$ac_cv_prog_OBJDUMP
8343
9015
if test -n "$OBJDUMP"; then
8344
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8345
 
echo "${ECHO_T}$OBJDUMP" >&6
 
9016
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
9017
$as_echo "$OBJDUMP" >&6; }
8346
9018
else
8347
 
  echo "$as_me:$LINENO: result: no" >&5
8348
 
echo "${ECHO_T}no" >&6
 
9019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9020
$as_echo "no" >&6; }
8349
9021
fi
8350
9022
 
 
9023
 
8351
9024
  fi
8352
9025
  if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
8353
9026
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8354
9027
set dummy ${ncn_progname}; ac_word=$2
8355
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8356
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8357
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9029
$as_echo_n "checking for $ac_word... " >&6; }
 
9030
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
9031
  $as_echo_n "(cached) " >&6
8359
9032
else
8360
9033
  if test -n "$OBJDUMP"; then
8361
9034
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8365
9038
do
8366
9039
  IFS=$as_save_IFS
8367
9040
  test -z "$as_dir" && as_dir=.
8368
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8369
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9041
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8370
9043
    ac_cv_prog_OBJDUMP="${ncn_progname}"
8371
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372
9045
    break 2
8373
9046
  fi
8374
9047
done
8375
 
done
 
9048
  done
 
9049
IFS=$as_save_IFS
8376
9050
 
8377
9051
fi
8378
9052
fi
8379
9053
OBJDUMP=$ac_cv_prog_OBJDUMP
8380
9054
if test -n "$OBJDUMP"; then
8381
 
  echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8382
 
echo "${ECHO_T}$OBJDUMP" >&6
 
9055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
9056
$as_echo "$OBJDUMP" >&6; }
8383
9057
else
8384
 
  echo "$as_me:$LINENO: result: no" >&5
8385
 
echo "${ECHO_T}no" >&6
 
9058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9059
$as_echo "no" >&6; }
8386
9060
fi
8387
9061
 
 
9062
 
8388
9063
  fi
8389
9064
  test -n "$ac_cv_prog_OBJDUMP" && break
8390
9065
done
8405
9080
 
8406
9081
# Target tools.
8407
9082
 
8408
 
# Check whether --with-build-time-tools or --without-build-time-tools was given.
8409
 
if test "${with_build_time_tools+set}" = set; then
8410
 
  withval="$with_build_time_tools"
8411
 
  case x"$withval" in
 
9083
# Check whether --with-build-time-tools was given.
 
9084
if test "${with_build_time_tools+set}" = set; then :
 
9085
  withval=$with_build_time_tools; case x"$withval" in
8412
9086
     x/*) ;;
8413
9087
     *)
8414
9088
       with_build_time_tools=
8415
 
       { echo "$as_me:$LINENO: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
8416
 
echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
 
9089
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
 
9090
$as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
8417
9091
       ;;
8418
9092
   esac
8419
9093
else
8420
9094
  with_build_time_tools=
8421
 
fi;
 
9095
fi
 
9096
 
8422
9097
 
8423
9098
 
8424
9099
 
8432
9107
  for ncn_progname in cc gcc; do
8433
9108
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8434
9109
set dummy ${ncn_progname}; ac_word=$2
8435
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8436
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8437
 
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8438
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9111
$as_echo_n "checking for $ac_word... " >&6; }
 
9112
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
 
9113
  $as_echo_n "(cached) " >&6
8439
9114
else
8440
9115
  if test -n "$CC_FOR_TARGET"; then
8441
9116
  ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8445
9120
do
8446
9121
  IFS=$as_save_IFS
8447
9122
  test -z "$as_dir" && as_dir=.
8448
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8449
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9123
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8450
9125
    ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8451
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9126
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452
9127
    break 2
8453
9128
  fi
8454
9129
done
8455
 
done
 
9130
  done
 
9131
IFS=$as_save_IFS
8456
9132
 
8457
9133
fi
8458
9134
fi
8459
9135
CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8460
9136
if test -n "$CC_FOR_TARGET"; then
8461
 
  echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8462
 
echo "${ECHO_T}$CC_FOR_TARGET" >&6
 
9137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
 
9138
$as_echo "$CC_FOR_TARGET" >&6; }
8463
9139
else
8464
 
  echo "$as_me:$LINENO: result: no" >&5
8465
 
echo "${ECHO_T}no" >&6
 
9140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9141
$as_echo "no" >&6; }
8466
9142
fi
8467
9143
 
 
9144
 
8468
9145
  done
8469
9146
fi
8470
9147
 
8471
9148
if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8472
9149
  for ncn_progname in cc gcc; do
8473
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8474
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
9150
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
9151
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
8475
9152
    if test -x $with_build_time_tools/${ncn_progname}; then
8476
9153
      ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8477
 
      echo "$as_me:$LINENO: result: yes" >&5
8478
 
echo "${ECHO_T}yes" >&6
 
9154
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
9155
$as_echo "yes" >&6; }
8479
9156
      break
8480
9157
    else
8481
 
      echo "$as_me:$LINENO: result: no" >&5
8482
 
echo "${ECHO_T}no" >&6
 
9158
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9159
$as_echo "no" >&6; }
8483
9160
    fi
8484
9161
  done
8485
9162
fi
8489
9166
    if test -n "$ncn_target_tool_prefix"; then
8490
9167
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8491
9168
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8492
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8493
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8494
 
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8495
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9170
$as_echo_n "checking for $ac_word... " >&6; }
 
9171
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
 
9172
  $as_echo_n "(cached) " >&6
8496
9173
else
8497
9174
  if test -n "$CC_FOR_TARGET"; then
8498
9175
  ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8502
9179
do
8503
9180
  IFS=$as_save_IFS
8504
9181
  test -z "$as_dir" && as_dir=.
8505
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8506
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8507
9184
    ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8508
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8509
9186
    break 2
8510
9187
  fi
8511
9188
done
8512
 
done
 
9189
  done
 
9190
IFS=$as_save_IFS
8513
9191
 
8514
9192
fi
8515
9193
fi
8516
9194
CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8517
9195
if test -n "$CC_FOR_TARGET"; then
8518
 
  echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8519
 
echo "${ECHO_T}$CC_FOR_TARGET" >&6
 
9196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
 
9197
$as_echo "$CC_FOR_TARGET" >&6; }
8520
9198
else
8521
 
  echo "$as_me:$LINENO: result: no" >&5
8522
 
echo "${ECHO_T}no" >&6
 
9199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9200
$as_echo "no" >&6; }
8523
9201
fi
8524
9202
 
 
9203
 
8525
9204
    fi
8526
9205
    if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
8527
9206
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8528
9207
set dummy ${ncn_progname}; ac_word=$2
8529
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8530
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8531
 
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
8532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9209
$as_echo_n "checking for $ac_word... " >&6; }
 
9210
if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
 
9211
  $as_echo_n "(cached) " >&6
8533
9212
else
8534
9213
  if test -n "$CC_FOR_TARGET"; then
8535
9214
  ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
8539
9218
do
8540
9219
  IFS=$as_save_IFS
8541
9220
  test -z "$as_dir" && as_dir=.
8542
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8543
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9221
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9222
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8544
9223
    ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
8545
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8546
9225
    break 2
8547
9226
  fi
8548
9227
done
8549
 
done
 
9228
  done
 
9229
IFS=$as_save_IFS
8550
9230
 
8551
9231
fi
8552
9232
fi
8553
9233
CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
8554
9234
if test -n "$CC_FOR_TARGET"; then
8555
 
  echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
8556
 
echo "${ECHO_T}$CC_FOR_TARGET" >&6
 
9235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
 
9236
$as_echo "$CC_FOR_TARGET" >&6; }
8557
9237
else
8558
 
  echo "$as_me:$LINENO: result: no" >&5
8559
 
echo "${ECHO_T}no" >&6
 
9238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9239
$as_echo "no" >&6; }
8560
9240
fi
8561
9241
 
 
9242
 
8562
9243
    fi
8563
9244
    test -n "$ac_cv_prog_CC_FOR_TARGET" && break
8564
9245
  done
8587
9268
  for ncn_progname in c++ g++ cxx gxx; do
8588
9269
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8589
9270
set dummy ${ncn_progname}; ac_word=$2
8590
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8591
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8592
 
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8593
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9272
$as_echo_n "checking for $ac_word... " >&6; }
 
9273
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
 
9274
  $as_echo_n "(cached) " >&6
8594
9275
else
8595
9276
  if test -n "$CXX_FOR_TARGET"; then
8596
9277
  ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8600
9281
do
8601
9282
  IFS=$as_save_IFS
8602
9283
  test -z "$as_dir" && as_dir=.
8603
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8604
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9285
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8605
9286
    ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8606
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9287
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8607
9288
    break 2
8608
9289
  fi
8609
9290
done
8610
 
done
 
9291
  done
 
9292
IFS=$as_save_IFS
8611
9293
 
8612
9294
fi
8613
9295
fi
8614
9296
CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8615
9297
if test -n "$CXX_FOR_TARGET"; then
8616
 
  echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8617
 
echo "${ECHO_T}$CXX_FOR_TARGET" >&6
 
9298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
 
9299
$as_echo "$CXX_FOR_TARGET" >&6; }
8618
9300
else
8619
 
  echo "$as_me:$LINENO: result: no" >&5
8620
 
echo "${ECHO_T}no" >&6
 
9301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9302
$as_echo "no" >&6; }
8621
9303
fi
8622
9304
 
 
9305
 
8623
9306
  done
8624
9307
fi
8625
9308
 
8626
9309
if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
8627
9310
  for ncn_progname in c++ g++ cxx gxx; do
8628
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8629
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
9311
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
9312
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
8630
9313
    if test -x $with_build_time_tools/${ncn_progname}; then
8631
9314
      ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8632
 
      echo "$as_me:$LINENO: result: yes" >&5
8633
 
echo "${ECHO_T}yes" >&6
 
9315
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
9316
$as_echo "yes" >&6; }
8634
9317
      break
8635
9318
    else
8636
 
      echo "$as_me:$LINENO: result: no" >&5
8637
 
echo "${ECHO_T}no" >&6
 
9319
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9320
$as_echo "no" >&6; }
8638
9321
    fi
8639
9322
  done
8640
9323
fi
8644
9327
    if test -n "$ncn_target_tool_prefix"; then
8645
9328
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8646
9329
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8647
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8648
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8649
 
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8650
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9331
$as_echo_n "checking for $ac_word... " >&6; }
 
9332
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
 
9333
  $as_echo_n "(cached) " >&6
8651
9334
else
8652
9335
  if test -n "$CXX_FOR_TARGET"; then
8653
9336
  ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8657
9340
do
8658
9341
  IFS=$as_save_IFS
8659
9342
  test -z "$as_dir" && as_dir=.
8660
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8661
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9343
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9344
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8662
9345
    ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8663
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9346
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8664
9347
    break 2
8665
9348
  fi
8666
9349
done
8667
 
done
 
9350
  done
 
9351
IFS=$as_save_IFS
8668
9352
 
8669
9353
fi
8670
9354
fi
8671
9355
CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8672
9356
if test -n "$CXX_FOR_TARGET"; then
8673
 
  echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8674
 
echo "${ECHO_T}$CXX_FOR_TARGET" >&6
 
9357
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
 
9358
$as_echo "$CXX_FOR_TARGET" >&6; }
8675
9359
else
8676
 
  echo "$as_me:$LINENO: result: no" >&5
8677
 
echo "${ECHO_T}no" >&6
 
9360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9361
$as_echo "no" >&6; }
8678
9362
fi
8679
9363
 
 
9364
 
8680
9365
    fi
8681
9366
    if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
8682
9367
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8683
9368
set dummy ${ncn_progname}; ac_word=$2
8684
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8685
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8686
 
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
8687
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9370
$as_echo_n "checking for $ac_word... " >&6; }
 
9371
if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
 
9372
  $as_echo_n "(cached) " >&6
8688
9373
else
8689
9374
  if test -n "$CXX_FOR_TARGET"; then
8690
9375
  ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
8694
9379
do
8695
9380
  IFS=$as_save_IFS
8696
9381
  test -z "$as_dir" && as_dir=.
8697
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8698
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9382
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9383
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8699
9384
    ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
8700
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9385
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701
9386
    break 2
8702
9387
  fi
8703
9388
done
8704
 
done
 
9389
  done
 
9390
IFS=$as_save_IFS
8705
9391
 
8706
9392
fi
8707
9393
fi
8708
9394
CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
8709
9395
if test -n "$CXX_FOR_TARGET"; then
8710
 
  echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
8711
 
echo "${ECHO_T}$CXX_FOR_TARGET" >&6
 
9396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
 
9397
$as_echo "$CXX_FOR_TARGET" >&6; }
8712
9398
else
8713
 
  echo "$as_me:$LINENO: result: no" >&5
8714
 
echo "${ECHO_T}no" >&6
 
9399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9400
$as_echo "no" >&6; }
8715
9401
fi
8716
9402
 
 
9403
 
8717
9404
    fi
8718
9405
    test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
8719
9406
  done
8742
9429
  for ncn_progname in gcc; do
8743
9430
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8744
9431
set dummy ${ncn_progname}; ac_word=$2
8745
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8746
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8747
 
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8748
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9433
$as_echo_n "checking for $ac_word... " >&6; }
 
9434
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
 
9435
  $as_echo_n "(cached) " >&6
8749
9436
else
8750
9437
  if test -n "$GCC_FOR_TARGET"; then
8751
9438
  ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8755
9442
do
8756
9443
  IFS=$as_save_IFS
8757
9444
  test -z "$as_dir" && as_dir=.
8758
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8759
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9445
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9446
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8760
9447
    ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8761
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9448
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8762
9449
    break 2
8763
9450
  fi
8764
9451
done
8765
 
done
 
9452
  done
 
9453
IFS=$as_save_IFS
8766
9454
 
8767
9455
fi
8768
9456
fi
8769
9457
GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8770
9458
if test -n "$GCC_FOR_TARGET"; then
8771
 
  echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8772
 
echo "${ECHO_T}$GCC_FOR_TARGET" >&6
 
9459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
 
9460
$as_echo "$GCC_FOR_TARGET" >&6; }
8773
9461
else
8774
 
  echo "$as_me:$LINENO: result: no" >&5
8775
 
echo "${ECHO_T}no" >&6
 
9462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9463
$as_echo "no" >&6; }
8776
9464
fi
8777
9465
 
 
9466
 
8778
9467
  done
8779
9468
fi
8780
9469
 
8781
9470
if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
8782
9471
  for ncn_progname in gcc; do
8783
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8784
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
9472
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
9473
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
8785
9474
    if test -x $with_build_time_tools/${ncn_progname}; then
8786
9475
      ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8787
 
      echo "$as_me:$LINENO: result: yes" >&5
8788
 
echo "${ECHO_T}yes" >&6
 
9476
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
9477
$as_echo "yes" >&6; }
8789
9478
      break
8790
9479
    else
8791
 
      echo "$as_me:$LINENO: result: no" >&5
8792
 
echo "${ECHO_T}no" >&6
 
9480
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9481
$as_echo "no" >&6; }
8793
9482
    fi
8794
9483
  done
8795
9484
fi
8799
9488
    if test -n "$ncn_target_tool_prefix"; then
8800
9489
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8801
9490
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8802
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8803
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8804
 
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9492
$as_echo_n "checking for $ac_word... " >&6; }
 
9493
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
 
9494
  $as_echo_n "(cached) " >&6
8806
9495
else
8807
9496
  if test -n "$GCC_FOR_TARGET"; then
8808
9497
  ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8812
9501
do
8813
9502
  IFS=$as_save_IFS
8814
9503
  test -z "$as_dir" && as_dir=.
8815
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8816
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9504
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9505
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8817
9506
    ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8818
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9507
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8819
9508
    break 2
8820
9509
  fi
8821
9510
done
8822
 
done
 
9511
  done
 
9512
IFS=$as_save_IFS
8823
9513
 
8824
9514
fi
8825
9515
fi
8826
9516
GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8827
9517
if test -n "$GCC_FOR_TARGET"; then
8828
 
  echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8829
 
echo "${ECHO_T}$GCC_FOR_TARGET" >&6
 
9518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
 
9519
$as_echo "$GCC_FOR_TARGET" >&6; }
8830
9520
else
8831
 
  echo "$as_me:$LINENO: result: no" >&5
8832
 
echo "${ECHO_T}no" >&6
 
9521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9522
$as_echo "no" >&6; }
8833
9523
fi
8834
9524
 
 
9525
 
8835
9526
    fi
8836
9527
    if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
8837
9528
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8838
9529
set dummy ${ncn_progname}; ac_word=$2
8839
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8840
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8841
 
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
8842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9531
$as_echo_n "checking for $ac_word... " >&6; }
 
9532
if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
 
9533
  $as_echo_n "(cached) " >&6
8843
9534
else
8844
9535
  if test -n "$GCC_FOR_TARGET"; then
8845
9536
  ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
8849
9540
do
8850
9541
  IFS=$as_save_IFS
8851
9542
  test -z "$as_dir" && as_dir=.
8852
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8853
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9543
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854
9545
    ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
8855
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9546
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856
9547
    break 2
8857
9548
  fi
8858
9549
done
8859
 
done
 
9550
  done
 
9551
IFS=$as_save_IFS
8860
9552
 
8861
9553
fi
8862
9554
fi
8863
9555
GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
8864
9556
if test -n "$GCC_FOR_TARGET"; then
8865
 
  echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
8866
 
echo "${ECHO_T}$GCC_FOR_TARGET" >&6
 
9557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
 
9558
$as_echo "$GCC_FOR_TARGET" >&6; }
8867
9559
else
8868
 
  echo "$as_me:$LINENO: result: no" >&5
8869
 
echo "${ECHO_T}no" >&6
 
9560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9561
$as_echo "no" >&6; }
8870
9562
fi
8871
9563
 
 
9564
 
8872
9565
    fi
8873
9566
    test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
8874
9567
  done
8892
9585
  for ncn_progname in gcj; do
8893
9586
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8894
9587
set dummy ${ncn_progname}; ac_word=$2
8895
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8896
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8897
 
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8898
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9589
$as_echo_n "checking for $ac_word... " >&6; }
 
9590
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
 
9591
  $as_echo_n "(cached) " >&6
8899
9592
else
8900
9593
  if test -n "$GCJ_FOR_TARGET"; then
8901
9594
  ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8905
9598
do
8906
9599
  IFS=$as_save_IFS
8907
9600
  test -z "$as_dir" && as_dir=.
8908
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8909
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9601
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9602
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8910
9603
    ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
8911
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9604
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8912
9605
    break 2
8913
9606
  fi
8914
9607
done
8915
 
done
 
9608
  done
 
9609
IFS=$as_save_IFS
8916
9610
 
8917
9611
fi
8918
9612
fi
8919
9613
GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8920
9614
if test -n "$GCJ_FOR_TARGET"; then
8921
 
  echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
8922
 
echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
 
9615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
 
9616
$as_echo "$GCJ_FOR_TARGET" >&6; }
8923
9617
else
8924
 
  echo "$as_me:$LINENO: result: no" >&5
8925
 
echo "${ECHO_T}no" >&6
 
9618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9619
$as_echo "no" >&6; }
8926
9620
fi
8927
9621
 
 
9622
 
8928
9623
  done
8929
9624
fi
8930
9625
 
8931
9626
if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
8932
9627
  for ncn_progname in gcj; do
8933
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8934
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
9628
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
9629
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
8935
9630
    if test -x $with_build_time_tools/${ncn_progname}; then
8936
9631
      ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8937
 
      echo "$as_me:$LINENO: result: yes" >&5
8938
 
echo "${ECHO_T}yes" >&6
 
9632
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
9633
$as_echo "yes" >&6; }
8939
9634
      break
8940
9635
    else
8941
 
      echo "$as_me:$LINENO: result: no" >&5
8942
 
echo "${ECHO_T}no" >&6
 
9636
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9637
$as_echo "no" >&6; }
8943
9638
    fi
8944
9639
  done
8945
9640
fi
8949
9644
    if test -n "$ncn_target_tool_prefix"; then
8950
9645
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8951
9646
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8952
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8953
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8954
 
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9648
$as_echo_n "checking for $ac_word... " >&6; }
 
9649
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
 
9650
  $as_echo_n "(cached) " >&6
8956
9651
else
8957
9652
  if test -n "$GCJ_FOR_TARGET"; then
8958
9653
  ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8962
9657
do
8963
9658
  IFS=$as_save_IFS
8964
9659
  test -z "$as_dir" && as_dir=.
8965
 
  for ac_exec_ext in '' $ac_executable_extensions; do
8966
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967
9662
    ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8968
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8969
9664
    break 2
8970
9665
  fi
8971
9666
done
8972
 
done
 
9667
  done
 
9668
IFS=$as_save_IFS
8973
9669
 
8974
9670
fi
8975
9671
fi
8976
9672
GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
8977
9673
if test -n "$GCJ_FOR_TARGET"; then
8978
 
  echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
8979
 
echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
 
9674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
 
9675
$as_echo "$GCJ_FOR_TARGET" >&6; }
8980
9676
else
8981
 
  echo "$as_me:$LINENO: result: no" >&5
8982
 
echo "${ECHO_T}no" >&6
 
9677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9678
$as_echo "no" >&6; }
8983
9679
fi
8984
9680
 
 
9681
 
8985
9682
    fi
8986
9683
    if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
8987
9684
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8988
9685
set dummy ${ncn_progname}; ac_word=$2
8989
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
8990
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8991
 
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
8992
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9687
$as_echo_n "checking for $ac_word... " >&6; }
 
9688
if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
 
9689
  $as_echo_n "(cached) " >&6
8993
9690
else
8994
9691
  if test -n "$GCJ_FOR_TARGET"; then
8995
9692
  ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
8999
9696
do
9000
9697
  IFS=$as_save_IFS
9001
9698
  test -z "$as_dir" && as_dir=.
9002
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9003
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9699
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9700
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9004
9701
    ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9005
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9702
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9006
9703
    break 2
9007
9704
  fi
9008
9705
done
9009
 
done
 
9706
  done
 
9707
IFS=$as_save_IFS
9010
9708
 
9011
9709
fi
9012
9710
fi
9013
9711
GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9014
9712
if test -n "$GCJ_FOR_TARGET"; then
9015
 
  echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
9016
 
echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
 
9713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
 
9714
$as_echo "$GCJ_FOR_TARGET" >&6; }
9017
9715
else
9018
 
  echo "$as_me:$LINENO: result: no" >&5
9019
 
echo "${ECHO_T}no" >&6
 
9716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9717
$as_echo "no" >&6; }
9020
9718
fi
9021
9719
 
 
9720
 
9022
9721
    fi
9023
9722
    test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9024
9723
  done
9047
9746
  for ncn_progname in gfortran; do
9048
9747
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9049
9748
set dummy ${ncn_progname}; ac_word=$2
9050
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9051
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9052
 
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9750
$as_echo_n "checking for $ac_word... " >&6; }
 
9751
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
 
9752
  $as_echo_n "(cached) " >&6
9054
9753
else
9055
9754
  if test -n "$GFORTRAN_FOR_TARGET"; then
9056
9755
  ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9060
9759
do
9061
9760
  IFS=$as_save_IFS
9062
9761
  test -z "$as_dir" && as_dir=.
9063
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9064
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9762
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9763
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9065
9764
    ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9066
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9765
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9067
9766
    break 2
9068
9767
  fi
9069
9768
done
9070
 
done
 
9769
  done
 
9770
IFS=$as_save_IFS
9071
9771
 
9072
9772
fi
9073
9773
fi
9074
9774
GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9075
9775
if test -n "$GFORTRAN_FOR_TARGET"; then
9076
 
  echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
9077
 
echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
 
9776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
 
9777
$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9078
9778
else
9079
 
  echo "$as_me:$LINENO: result: no" >&5
9080
 
echo "${ECHO_T}no" >&6
 
9779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9780
$as_echo "no" >&6; }
9081
9781
fi
9082
9782
 
 
9783
 
9083
9784
  done
9084
9785
fi
9085
9786
 
9086
9787
if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9087
9788
  for ncn_progname in gfortran; do
9088
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9089
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
9789
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
9790
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9090
9791
    if test -x $with_build_time_tools/${ncn_progname}; then
9091
9792
      ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9092
 
      echo "$as_me:$LINENO: result: yes" >&5
9093
 
echo "${ECHO_T}yes" >&6
 
9793
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
9794
$as_echo "yes" >&6; }
9094
9795
      break
9095
9796
    else
9096
 
      echo "$as_me:$LINENO: result: no" >&5
9097
 
echo "${ECHO_T}no" >&6
 
9797
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9798
$as_echo "no" >&6; }
9098
9799
    fi
9099
9800
  done
9100
9801
fi
9104
9805
    if test -n "$ncn_target_tool_prefix"; then
9105
9806
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9106
9807
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9107
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9108
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9109
 
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9809
$as_echo_n "checking for $ac_word... " >&6; }
 
9810
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
 
9811
  $as_echo_n "(cached) " >&6
9111
9812
else
9112
9813
  if test -n "$GFORTRAN_FOR_TARGET"; then
9113
9814
  ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9117
9818
do
9118
9819
  IFS=$as_save_IFS
9119
9820
  test -z "$as_dir" && as_dir=.
9120
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9121
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9821
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9122
9823
    ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9123
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9824
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124
9825
    break 2
9125
9826
  fi
9126
9827
done
9127
 
done
 
9828
  done
 
9829
IFS=$as_save_IFS
9128
9830
 
9129
9831
fi
9130
9832
fi
9131
9833
GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9132
9834
if test -n "$GFORTRAN_FOR_TARGET"; then
9133
 
  echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
9134
 
echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
 
9835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
 
9836
$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9135
9837
else
9136
 
  echo "$as_me:$LINENO: result: no" >&5
9137
 
echo "${ECHO_T}no" >&6
 
9838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9839
$as_echo "no" >&6; }
9138
9840
fi
9139
9841
 
 
9842
 
9140
9843
    fi
9141
9844
    if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9142
9845
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9143
9846
set dummy ${ncn_progname}; ac_word=$2
9144
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9145
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9146
 
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
9147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9848
$as_echo_n "checking for $ac_word... " >&6; }
 
9849
if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
 
9850
  $as_echo_n "(cached) " >&6
9148
9851
else
9149
9852
  if test -n "$GFORTRAN_FOR_TARGET"; then
9150
9853
  ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9154
9857
do
9155
9858
  IFS=$as_save_IFS
9156
9859
  test -z "$as_dir" && as_dir=.
9157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9158
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9159
9862
    ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9160
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9161
9864
    break 2
9162
9865
  fi
9163
9866
done
9164
 
done
 
9867
  done
 
9868
IFS=$as_save_IFS
9165
9869
 
9166
9870
fi
9167
9871
fi
9168
9872
GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9169
9873
if test -n "$GFORTRAN_FOR_TARGET"; then
9170
 
  echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
9171
 
echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
 
9874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
 
9875
$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9172
9876
else
9173
 
  echo "$as_me:$LINENO: result: no" >&5
9174
 
echo "${ECHO_T}no" >&6
 
9877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9878
$as_echo "no" >&6; }
9175
9879
fi
9176
9880
 
 
9881
 
9177
9882
    fi
9178
9883
    test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9179
9884
  done
9210
9915
 
9211
9916
if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9212
9917
  if test -n "$with_build_time_tools"; then
9213
 
    echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
9214
 
echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6
 
9918
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
 
9919
$as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
9215
9920
    if test -x $with_build_time_tools/ar; then
9216
9921
      AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9217
9922
      ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9218
 
      echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
9219
 
echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
 
9923
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
 
9924
$as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
9220
9925
    else
9221
 
      echo "$as_me:$LINENO: result: no" >&5
9222
 
echo "${ECHO_T}no" >&6
 
9926
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9927
$as_echo "no" >&6; }
9223
9928
    fi
9224
9929
  elif test $build != $host && test $have_gcc_for_target = yes; then
9225
9930
    AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9230
9935
if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9231
9936
  # Extract the first word of "ar", so it can be a program name with args.
9232
9937
set dummy ar; ac_word=$2
9233
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9235
 
if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
9236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9939
$as_echo_n "checking for $ac_word... " >&6; }
 
9940
if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
 
9941
  $as_echo_n "(cached) " >&6
9237
9942
else
9238
9943
  case $AR_FOR_TARGET in
9239
9944
  [\\/]* | ?:[\\/]*)
9245
9950
do
9246
9951
  IFS=$as_save_IFS
9247
9952
  test -z "$as_dir" && as_dir=.
9248
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9249
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9953
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9954
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250
9955
    ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9251
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9956
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252
9957
    break 2
9253
9958
  fi
9254
9959
done
9255
 
done
 
9960
  done
 
9961
IFS=$as_save_IFS
9256
9962
 
9257
9963
  ;;
9258
9964
esac
9259
9965
fi
9260
9966
AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9261
 
 
9262
9967
if test -n "$AR_FOR_TARGET"; then
9263
 
  echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9264
 
echo "${ECHO_T}$AR_FOR_TARGET" >&6
 
9968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
 
9969
$as_echo "$AR_FOR_TARGET" >&6; }
9265
9970
else
9266
 
  echo "$as_me:$LINENO: result: no" >&5
9267
 
echo "${ECHO_T}no" >&6
 
9971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9972
$as_echo "no" >&6; }
9268
9973
fi
 
9974
 
9269
9975
 
9270
9976
fi
9271
9977
if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9281
9987
  for ncn_progname in ar; do
9282
9988
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9283
9989
set dummy ${ncn_progname}; ac_word=$2
9284
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9285
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9286
 
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9991
$as_echo_n "checking for $ac_word... " >&6; }
 
9992
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
 
9993
  $as_echo_n "(cached) " >&6
9288
9994
else
9289
9995
  if test -n "$AR_FOR_TARGET"; then
9290
9996
  ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9294
10000
do
9295
10001
  IFS=$as_save_IFS
9296
10002
  test -z "$as_dir" && as_dir=.
9297
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9298
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10003
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10004
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9299
10005
    ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9300
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10006
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9301
10007
    break 2
9302
10008
  fi
9303
10009
done
9304
 
done
 
10010
  done
 
10011
IFS=$as_save_IFS
9305
10012
 
9306
10013
fi
9307
10014
fi
9308
10015
AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9309
10016
if test -n "$AR_FOR_TARGET"; then
9310
 
  echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9311
 
echo "${ECHO_T}$AR_FOR_TARGET" >&6
 
10017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
 
10018
$as_echo "$AR_FOR_TARGET" >&6; }
9312
10019
else
9313
 
  echo "$as_me:$LINENO: result: no" >&5
9314
 
echo "${ECHO_T}no" >&6
 
10020
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10021
$as_echo "no" >&6; }
9315
10022
fi
9316
10023
 
 
10024
 
9317
10025
  done
9318
10026
fi
9319
10027
 
9320
10028
if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
9321
10029
  for ncn_progname in ar; do
9322
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9323
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
10030
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
10031
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9324
10032
    if test -x $with_build_time_tools/${ncn_progname}; then
9325
10033
      ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9326
 
      echo "$as_me:$LINENO: result: yes" >&5
9327
 
echo "${ECHO_T}yes" >&6
 
10034
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10035
$as_echo "yes" >&6; }
9328
10036
      break
9329
10037
    else
9330
 
      echo "$as_me:$LINENO: result: no" >&5
9331
 
echo "${ECHO_T}no" >&6
 
10038
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10039
$as_echo "no" >&6; }
9332
10040
    fi
9333
10041
  done
9334
10042
fi
9338
10046
    if test -n "$ncn_target_tool_prefix"; then
9339
10047
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9340
10048
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9341
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9342
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9343
 
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9344
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10050
$as_echo_n "checking for $ac_word... " >&6; }
 
10051
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
 
10052
  $as_echo_n "(cached) " >&6
9345
10053
else
9346
10054
  if test -n "$AR_FOR_TARGET"; then
9347
10055
  ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9351
10059
do
9352
10060
  IFS=$as_save_IFS
9353
10061
  test -z "$as_dir" && as_dir=.
9354
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9355
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10062
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10063
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9356
10064
    ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9357
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10065
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9358
10066
    break 2
9359
10067
  fi
9360
10068
done
9361
 
done
 
10069
  done
 
10070
IFS=$as_save_IFS
9362
10071
 
9363
10072
fi
9364
10073
fi
9365
10074
AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9366
10075
if test -n "$AR_FOR_TARGET"; then
9367
 
  echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9368
 
echo "${ECHO_T}$AR_FOR_TARGET" >&6
 
10076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
 
10077
$as_echo "$AR_FOR_TARGET" >&6; }
9369
10078
else
9370
 
  echo "$as_me:$LINENO: result: no" >&5
9371
 
echo "${ECHO_T}no" >&6
 
10079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10080
$as_echo "no" >&6; }
9372
10081
fi
9373
10082
 
 
10083
 
9374
10084
    fi
9375
10085
    if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
9376
10086
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9377
10087
set dummy ${ncn_progname}; ac_word=$2
9378
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9379
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9380
 
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
9381
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10089
$as_echo_n "checking for $ac_word... " >&6; }
 
10090
if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
 
10091
  $as_echo_n "(cached) " >&6
9382
10092
else
9383
10093
  if test -n "$AR_FOR_TARGET"; then
9384
10094
  ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
9388
10098
do
9389
10099
  IFS=$as_save_IFS
9390
10100
  test -z "$as_dir" && as_dir=.
9391
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9392
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10101
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9393
10103
    ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
9394
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10104
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9395
10105
    break 2
9396
10106
  fi
9397
10107
done
9398
 
done
 
10108
  done
 
10109
IFS=$as_save_IFS
9399
10110
 
9400
10111
fi
9401
10112
fi
9402
10113
AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
9403
10114
if test -n "$AR_FOR_TARGET"; then
9404
 
  echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
9405
 
echo "${ECHO_T}$AR_FOR_TARGET" >&6
 
10115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
 
10116
$as_echo "$AR_FOR_TARGET" >&6; }
9406
10117
else
9407
 
  echo "$as_me:$LINENO: result: no" >&5
9408
 
echo "${ECHO_T}no" >&6
 
10118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10119
$as_echo "no" >&6; }
9409
10120
fi
9410
10121
 
 
10122
 
9411
10123
    fi
9412
10124
    test -n "$ac_cv_prog_AR_FOR_TARGET" && break
9413
10125
  done
9433
10145
 
9434
10146
if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9435
10147
  if test -n "$with_build_time_tools"; then
9436
 
    echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
9437
 
echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6
 
10148
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
 
10149
$as_echo_n "checking for as in $with_build_time_tools... " >&6; }
9438
10150
    if test -x $with_build_time_tools/as; then
9439
10151
      AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
9440
10152
      ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
9441
 
      echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
9442
 
echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
 
10153
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
 
10154
$as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
9443
10155
    else
9444
 
      echo "$as_me:$LINENO: result: no" >&5
9445
 
echo "${ECHO_T}no" >&6
 
10156
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10157
$as_echo "no" >&6; }
9446
10158
    fi
9447
10159
  elif test $build != $host && test $have_gcc_for_target = yes; then
9448
10160
    AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
9453
10165
if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9454
10166
  # Extract the first word of "as", so it can be a program name with args.
9455
10167
set dummy as; ac_word=$2
9456
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9457
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9458
 
if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
9459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10169
$as_echo_n "checking for $ac_word... " >&6; }
 
10170
if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
 
10171
  $as_echo_n "(cached) " >&6
9460
10172
else
9461
10173
  case $AS_FOR_TARGET in
9462
10174
  [\\/]* | ?:[\\/]*)
9468
10180
do
9469
10181
  IFS=$as_save_IFS
9470
10182
  test -z "$as_dir" && as_dir=.
9471
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9472
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10183
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9473
10185
    ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9474
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9475
10187
    break 2
9476
10188
  fi
9477
10189
done
9478
 
done
 
10190
  done
 
10191
IFS=$as_save_IFS
9479
10192
 
9480
10193
  ;;
9481
10194
esac
9482
10195
fi
9483
10196
AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
9484
 
 
9485
10197
if test -n "$AS_FOR_TARGET"; then
9486
 
  echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9487
 
echo "${ECHO_T}$AS_FOR_TARGET" >&6
 
10198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
 
10199
$as_echo "$AS_FOR_TARGET" >&6; }
9488
10200
else
9489
 
  echo "$as_me:$LINENO: result: no" >&5
9490
 
echo "${ECHO_T}no" >&6
 
10201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10202
$as_echo "no" >&6; }
9491
10203
fi
 
10204
 
9492
10205
 
9493
10206
fi
9494
10207
if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
9504
10217
  for ncn_progname in as; do
9505
10218
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9506
10219
set dummy ${ncn_progname}; ac_word=$2
9507
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9508
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9509
 
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10221
$as_echo_n "checking for $ac_word... " >&6; }
 
10222
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
 
10223
  $as_echo_n "(cached) " >&6
9511
10224
else
9512
10225
  if test -n "$AS_FOR_TARGET"; then
9513
10226
  ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9517
10230
do
9518
10231
  IFS=$as_save_IFS
9519
10232
  test -z "$as_dir" && as_dir=.
9520
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9521
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10233
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9522
10235
    ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9523
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10236
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9524
10237
    break 2
9525
10238
  fi
9526
10239
done
9527
 
done
 
10240
  done
 
10241
IFS=$as_save_IFS
9528
10242
 
9529
10243
fi
9530
10244
fi
9531
10245
AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9532
10246
if test -n "$AS_FOR_TARGET"; then
9533
 
  echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9534
 
echo "${ECHO_T}$AS_FOR_TARGET" >&6
 
10247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
 
10248
$as_echo "$AS_FOR_TARGET" >&6; }
9535
10249
else
9536
 
  echo "$as_me:$LINENO: result: no" >&5
9537
 
echo "${ECHO_T}no" >&6
 
10250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10251
$as_echo "no" >&6; }
9538
10252
fi
9539
10253
 
 
10254
 
9540
10255
  done
9541
10256
fi
9542
10257
 
9543
10258
if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
9544
10259
  for ncn_progname in as; do
9545
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9546
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
10260
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
10261
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9547
10262
    if test -x $with_build_time_tools/${ncn_progname}; then
9548
10263
      ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9549
 
      echo "$as_me:$LINENO: result: yes" >&5
9550
 
echo "${ECHO_T}yes" >&6
 
10264
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10265
$as_echo "yes" >&6; }
9551
10266
      break
9552
10267
    else
9553
 
      echo "$as_me:$LINENO: result: no" >&5
9554
 
echo "${ECHO_T}no" >&6
 
10268
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10269
$as_echo "no" >&6; }
9555
10270
    fi
9556
10271
  done
9557
10272
fi
9561
10276
    if test -n "$ncn_target_tool_prefix"; then
9562
10277
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9563
10278
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9564
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9565
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9566
 
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9567
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10280
$as_echo_n "checking for $ac_word... " >&6; }
 
10281
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
 
10282
  $as_echo_n "(cached) " >&6
9568
10283
else
9569
10284
  if test -n "$AS_FOR_TARGET"; then
9570
10285
  ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9574
10289
do
9575
10290
  IFS=$as_save_IFS
9576
10291
  test -z "$as_dir" && as_dir=.
9577
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9578
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10292
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579
10294
    ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9580
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10295
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581
10296
    break 2
9582
10297
  fi
9583
10298
done
9584
 
done
 
10299
  done
 
10300
IFS=$as_save_IFS
9585
10301
 
9586
10302
fi
9587
10303
fi
9588
10304
AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9589
10305
if test -n "$AS_FOR_TARGET"; then
9590
 
  echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9591
 
echo "${ECHO_T}$AS_FOR_TARGET" >&6
 
10306
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
 
10307
$as_echo "$AS_FOR_TARGET" >&6; }
9592
10308
else
9593
 
  echo "$as_me:$LINENO: result: no" >&5
9594
 
echo "${ECHO_T}no" >&6
 
10309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10310
$as_echo "no" >&6; }
9595
10311
fi
9596
10312
 
 
10313
 
9597
10314
    fi
9598
10315
    if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
9599
10316
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9600
10317
set dummy ${ncn_progname}; ac_word=$2
9601
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9602
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9603
 
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
9604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10319
$as_echo_n "checking for $ac_word... " >&6; }
 
10320
if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
 
10321
  $as_echo_n "(cached) " >&6
9605
10322
else
9606
10323
  if test -n "$AS_FOR_TARGET"; then
9607
10324
  ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
9611
10328
do
9612
10329
  IFS=$as_save_IFS
9613
10330
  test -z "$as_dir" && as_dir=.
9614
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9615
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10331
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616
10333
    ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
9617
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10334
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618
10335
    break 2
9619
10336
  fi
9620
10337
done
9621
 
done
 
10338
  done
 
10339
IFS=$as_save_IFS
9622
10340
 
9623
10341
fi
9624
10342
fi
9625
10343
AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
9626
10344
if test -n "$AS_FOR_TARGET"; then
9627
 
  echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
9628
 
echo "${ECHO_T}$AS_FOR_TARGET" >&6
 
10345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
 
10346
$as_echo "$AS_FOR_TARGET" >&6; }
9629
10347
else
9630
 
  echo "$as_me:$LINENO: result: no" >&5
9631
 
echo "${ECHO_T}no" >&6
 
10348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10349
$as_echo "no" >&6; }
9632
10350
fi
9633
10351
 
 
10352
 
9634
10353
    fi
9635
10354
    test -n "$ac_cv_prog_AS_FOR_TARGET" && break
9636
10355
  done
9656
10375
 
9657
10376
if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9658
10377
  if test -n "$with_build_time_tools"; then
9659
 
    echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
9660
 
echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6
 
10378
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
 
10379
$as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
9661
10380
    if test -x $with_build_time_tools/dlltool; then
9662
10381
      DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
9663
10382
      ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
9664
 
      echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
9665
 
echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
 
10383
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
 
10384
$as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
9666
10385
    else
9667
 
      echo "$as_me:$LINENO: result: no" >&5
9668
 
echo "${ECHO_T}no" >&6
 
10386
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10387
$as_echo "no" >&6; }
9669
10388
    fi
9670
10389
  elif test $build != $host && test $have_gcc_for_target = yes; then
9671
10390
    DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
9676
10395
if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9677
10396
  # Extract the first word of "dlltool", so it can be a program name with args.
9678
10397
set dummy dlltool; ac_word=$2
9679
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9680
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9681
 
if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
9682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10399
$as_echo_n "checking for $ac_word... " >&6; }
 
10400
if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
 
10401
  $as_echo_n "(cached) " >&6
9683
10402
else
9684
10403
  case $DLLTOOL_FOR_TARGET in
9685
10404
  [\\/]* | ?:[\\/]*)
9691
10410
do
9692
10411
  IFS=$as_save_IFS
9693
10412
  test -z "$as_dir" && as_dir=.
9694
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9695
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10413
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696
10415
    ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9697
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10416
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698
10417
    break 2
9699
10418
  fi
9700
10419
done
9701
 
done
 
10420
  done
 
10421
IFS=$as_save_IFS
9702
10422
 
9703
10423
  ;;
9704
10424
esac
9705
10425
fi
9706
10426
DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
9707
 
 
9708
10427
if test -n "$DLLTOOL_FOR_TARGET"; then
9709
 
  echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9710
 
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
 
10428
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
 
10429
$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
9711
10430
else
9712
 
  echo "$as_me:$LINENO: result: no" >&5
9713
 
echo "${ECHO_T}no" >&6
 
10431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10432
$as_echo "no" >&6; }
9714
10433
fi
 
10434
 
9715
10435
 
9716
10436
fi
9717
10437
if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
9727
10447
  for ncn_progname in dlltool; do
9728
10448
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9729
10449
set dummy ${ncn_progname}; ac_word=$2
9730
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9731
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9732
 
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10451
$as_echo_n "checking for $ac_word... " >&6; }
 
10452
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
 
10453
  $as_echo_n "(cached) " >&6
9734
10454
else
9735
10455
  if test -n "$DLLTOOL_FOR_TARGET"; then
9736
10456
  ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9740
10460
do
9741
10461
  IFS=$as_save_IFS
9742
10462
  test -z "$as_dir" && as_dir=.
9743
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9744
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10463
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9745
10465
    ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9746
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9747
10467
    break 2
9748
10468
  fi
9749
10469
done
9750
 
done
 
10470
  done
 
10471
IFS=$as_save_IFS
9751
10472
 
9752
10473
fi
9753
10474
fi
9754
10475
DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9755
10476
if test -n "$DLLTOOL_FOR_TARGET"; then
9756
 
  echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9757
 
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
 
10477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
 
10478
$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
9758
10479
else
9759
 
  echo "$as_me:$LINENO: result: no" >&5
9760
 
echo "${ECHO_T}no" >&6
 
10480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10481
$as_echo "no" >&6; }
9761
10482
fi
9762
10483
 
 
10484
 
9763
10485
  done
9764
10486
fi
9765
10487
 
9766
10488
if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
9767
10489
  for ncn_progname in dlltool; do
9768
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9769
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
10490
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
10491
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9770
10492
    if test -x $with_build_time_tools/${ncn_progname}; then
9771
10493
      ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9772
 
      echo "$as_me:$LINENO: result: yes" >&5
9773
 
echo "${ECHO_T}yes" >&6
 
10494
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10495
$as_echo "yes" >&6; }
9774
10496
      break
9775
10497
    else
9776
 
      echo "$as_me:$LINENO: result: no" >&5
9777
 
echo "${ECHO_T}no" >&6
 
10498
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10499
$as_echo "no" >&6; }
9778
10500
    fi
9779
10501
  done
9780
10502
fi
9784
10506
    if test -n "$ncn_target_tool_prefix"; then
9785
10507
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9786
10508
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9787
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9788
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9789
 
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10510
$as_echo_n "checking for $ac_word... " >&6; }
 
10511
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
 
10512
  $as_echo_n "(cached) " >&6
9791
10513
else
9792
10514
  if test -n "$DLLTOOL_FOR_TARGET"; then
9793
10515
  ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9797
10519
do
9798
10520
  IFS=$as_save_IFS
9799
10521
  test -z "$as_dir" && as_dir=.
9800
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9801
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10522
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10523
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9802
10524
    ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9803
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9804
10526
    break 2
9805
10527
  fi
9806
10528
done
9807
 
done
 
10529
  done
 
10530
IFS=$as_save_IFS
9808
10531
 
9809
10532
fi
9810
10533
fi
9811
10534
DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9812
10535
if test -n "$DLLTOOL_FOR_TARGET"; then
9813
 
  echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9814
 
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
 
10536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
 
10537
$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
9815
10538
else
9816
 
  echo "$as_me:$LINENO: result: no" >&5
9817
 
echo "${ECHO_T}no" >&6
 
10539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10540
$as_echo "no" >&6; }
9818
10541
fi
9819
10542
 
 
10543
 
9820
10544
    fi
9821
10545
    if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
9822
10546
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9823
10547
set dummy ${ncn_progname}; ac_word=$2
9824
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9825
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9826
 
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
9827
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10549
$as_echo_n "checking for $ac_word... " >&6; }
 
10550
if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
 
10551
  $as_echo_n "(cached) " >&6
9828
10552
else
9829
10553
  if test -n "$DLLTOOL_FOR_TARGET"; then
9830
10554
  ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
9834
10558
do
9835
10559
  IFS=$as_save_IFS
9836
10560
  test -z "$as_dir" && as_dir=.
9837
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9838
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10561
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10562
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9839
10563
    ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
9840
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10564
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9841
10565
    break 2
9842
10566
  fi
9843
10567
done
9844
 
done
 
10568
  done
 
10569
IFS=$as_save_IFS
9845
10570
 
9846
10571
fi
9847
10572
fi
9848
10573
DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
9849
10574
if test -n "$DLLTOOL_FOR_TARGET"; then
9850
 
  echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
9851
 
echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
 
10575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
 
10576
$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
9852
10577
else
9853
 
  echo "$as_me:$LINENO: result: no" >&5
9854
 
echo "${ECHO_T}no" >&6
 
10578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10579
$as_echo "no" >&6; }
9855
10580
fi
9856
10581
 
 
10582
 
9857
10583
    fi
9858
10584
    test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
9859
10585
  done
9879
10605
 
9880
10606
if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9881
10607
  if test -n "$with_build_time_tools"; then
9882
 
    echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
9883
 
echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6
 
10608
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
 
10609
$as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
9884
10610
    if test -x $with_build_time_tools/ld; then
9885
10611
      LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
9886
10612
      ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
9887
 
      echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
9888
 
echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
 
10613
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
 
10614
$as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
9889
10615
    else
9890
 
      echo "$as_me:$LINENO: result: no" >&5
9891
 
echo "${ECHO_T}no" >&6
 
10616
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10617
$as_echo "no" >&6; }
9892
10618
    fi
9893
10619
  elif test $build != $host && test $have_gcc_for_target = yes; then
9894
10620
    LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
9899
10625
if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9900
10626
  # Extract the first word of "ld", so it can be a program name with args.
9901
10627
set dummy ld; ac_word=$2
9902
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9903
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9904
 
if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
9905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10629
$as_echo_n "checking for $ac_word... " >&6; }
 
10630
if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
 
10631
  $as_echo_n "(cached) " >&6
9906
10632
else
9907
10633
  case $LD_FOR_TARGET in
9908
10634
  [\\/]* | ?:[\\/]*)
9914
10640
do
9915
10641
  IFS=$as_save_IFS
9916
10642
  test -z "$as_dir" && as_dir=.
9917
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9918
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10643
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9919
10645
    ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9920
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10646
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9921
10647
    break 2
9922
10648
  fi
9923
10649
done
9924
 
done
 
10650
  done
 
10651
IFS=$as_save_IFS
9925
10652
 
9926
10653
  ;;
9927
10654
esac
9928
10655
fi
9929
10656
LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
9930
 
 
9931
10657
if test -n "$LD_FOR_TARGET"; then
9932
 
  echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9933
 
echo "${ECHO_T}$LD_FOR_TARGET" >&6
 
10658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
 
10659
$as_echo "$LD_FOR_TARGET" >&6; }
9934
10660
else
9935
 
  echo "$as_me:$LINENO: result: no" >&5
9936
 
echo "${ECHO_T}no" >&6
 
10661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10662
$as_echo "no" >&6; }
9937
10663
fi
 
10664
 
9938
10665
 
9939
10666
fi
9940
10667
if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
9950
10677
  for ncn_progname in ld; do
9951
10678
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9952
10679
set dummy ${ncn_progname}; ac_word=$2
9953
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
9954
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9955
 
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
9956
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10681
$as_echo_n "checking for $ac_word... " >&6; }
 
10682
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
 
10683
  $as_echo_n "(cached) " >&6
9957
10684
else
9958
10685
  if test -n "$LD_FOR_TARGET"; then
9959
10686
  ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
9963
10690
do
9964
10691
  IFS=$as_save_IFS
9965
10692
  test -z "$as_dir" && as_dir=.
9966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9967
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10693
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10694
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9968
10695
    ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
9969
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10696
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9970
10697
    break 2
9971
10698
  fi
9972
10699
done
9973
 
done
 
10700
  done
 
10701
IFS=$as_save_IFS
9974
10702
 
9975
10703
fi
9976
10704
fi
9977
10705
LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
9978
10706
if test -n "$LD_FOR_TARGET"; then
9979
 
  echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
9980
 
echo "${ECHO_T}$LD_FOR_TARGET" >&6
 
10707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
 
10708
$as_echo "$LD_FOR_TARGET" >&6; }
9981
10709
else
9982
 
  echo "$as_me:$LINENO: result: no" >&5
9983
 
echo "${ECHO_T}no" >&6
 
10710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10711
$as_echo "no" >&6; }
9984
10712
fi
9985
10713
 
 
10714
 
9986
10715
  done
9987
10716
fi
9988
10717
 
9989
10718
if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
9990
10719
  for ncn_progname in ld; do
9991
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9992
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
10720
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
10721
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9993
10722
    if test -x $with_build_time_tools/${ncn_progname}; then
9994
10723
      ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9995
 
      echo "$as_me:$LINENO: result: yes" >&5
9996
 
echo "${ECHO_T}yes" >&6
 
10724
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10725
$as_echo "yes" >&6; }
9997
10726
      break
9998
10727
    else
9999
 
      echo "$as_me:$LINENO: result: no" >&5
10000
 
echo "${ECHO_T}no" >&6
 
10728
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10729
$as_echo "no" >&6; }
10001
10730
    fi
10002
10731
  done
10003
10732
fi
10007
10736
    if test -n "$ncn_target_tool_prefix"; then
10008
10737
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10009
10738
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10010
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10011
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10012
 
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10013
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10740
$as_echo_n "checking for $ac_word... " >&6; }
 
10741
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
 
10742
  $as_echo_n "(cached) " >&6
10014
10743
else
10015
10744
  if test -n "$LD_FOR_TARGET"; then
10016
10745
  ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10020
10749
do
10021
10750
  IFS=$as_save_IFS
10022
10751
  test -z "$as_dir" && as_dir=.
10023
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10024
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10752
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025
10754
    ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10026
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10027
10756
    break 2
10028
10757
  fi
10029
10758
done
10030
 
done
 
10759
  done
 
10760
IFS=$as_save_IFS
10031
10761
 
10032
10762
fi
10033
10763
fi
10034
10764
LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10035
10765
if test -n "$LD_FOR_TARGET"; then
10036
 
  echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
10037
 
echo "${ECHO_T}$LD_FOR_TARGET" >&6
 
10766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
 
10767
$as_echo "$LD_FOR_TARGET" >&6; }
10038
10768
else
10039
 
  echo "$as_me:$LINENO: result: no" >&5
10040
 
echo "${ECHO_T}no" >&6
 
10769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10770
$as_echo "no" >&6; }
10041
10771
fi
10042
10772
 
 
10773
 
10043
10774
    fi
10044
10775
    if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10045
10776
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10046
10777
set dummy ${ncn_progname}; ac_word=$2
10047
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10048
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10049
 
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
10050
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10779
$as_echo_n "checking for $ac_word... " >&6; }
 
10780
if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
 
10781
  $as_echo_n "(cached) " >&6
10051
10782
else
10052
10783
  if test -n "$LD_FOR_TARGET"; then
10053
10784
  ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10057
10788
do
10058
10789
  IFS=$as_save_IFS
10059
10790
  test -z "$as_dir" && as_dir=.
10060
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10061
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10791
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10062
10793
    ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10063
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10794
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10064
10795
    break 2
10065
10796
  fi
10066
10797
done
10067
 
done
 
10798
  done
 
10799
IFS=$as_save_IFS
10068
10800
 
10069
10801
fi
10070
10802
fi
10071
10803
LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10072
10804
if test -n "$LD_FOR_TARGET"; then
10073
 
  echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
10074
 
echo "${ECHO_T}$LD_FOR_TARGET" >&6
 
10805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
 
10806
$as_echo "$LD_FOR_TARGET" >&6; }
10075
10807
else
10076
 
  echo "$as_me:$LINENO: result: no" >&5
10077
 
echo "${ECHO_T}no" >&6
 
10808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10809
$as_echo "no" >&6; }
10078
10810
fi
10079
10811
 
 
10812
 
10080
10813
    fi
10081
10814
    test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10082
10815
  done
10102
10835
 
10103
10836
if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10104
10837
  if test -n "$with_build_time_tools"; then
10105
 
    echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
10106
 
echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6
 
10838
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
 
10839
$as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
10107
10840
    if test -x $with_build_time_tools/lipo; then
10108
10841
      LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10109
10842
      ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10110
 
      echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
10111
 
echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
 
10843
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
 
10844
$as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10112
10845
    else
10113
 
      echo "$as_me:$LINENO: result: no" >&5
10114
 
echo "${ECHO_T}no" >&6
 
10846
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10847
$as_echo "no" >&6; }
10115
10848
    fi
10116
10849
  elif test $build != $host && test $have_gcc_for_target = yes; then
10117
10850
    LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10122
10855
if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10123
10856
  # Extract the first word of "lipo", so it can be a program name with args.
10124
10857
set dummy lipo; ac_word=$2
10125
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10127
 
if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
10128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10859
$as_echo_n "checking for $ac_word... " >&6; }
 
10860
if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
 
10861
  $as_echo_n "(cached) " >&6
10129
10862
else
10130
10863
  case $LIPO_FOR_TARGET in
10131
10864
  [\\/]* | ?:[\\/]*)
10137
10870
do
10138
10871
  IFS=$as_save_IFS
10139
10872
  test -z "$as_dir" && as_dir=.
10140
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10141
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10873
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10142
10875
    ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10143
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10876
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10144
10877
    break 2
10145
10878
  fi
10146
10879
done
10147
 
done
 
10880
  done
 
10881
IFS=$as_save_IFS
10148
10882
 
10149
10883
  ;;
10150
10884
esac
10151
10885
fi
10152
10886
LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10153
 
 
10154
10887
if test -n "$LIPO_FOR_TARGET"; then
10155
 
  echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
10156
 
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
 
10888
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
 
10889
$as_echo "$LIPO_FOR_TARGET" >&6; }
10157
10890
else
10158
 
  echo "$as_me:$LINENO: result: no" >&5
10159
 
echo "${ECHO_T}no" >&6
 
10891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10892
$as_echo "no" >&6; }
10160
10893
fi
 
10894
 
10161
10895
 
10162
10896
fi
10163
10897
if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10173
10907
  for ncn_progname in lipo; do
10174
10908
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10175
10909
set dummy ${ncn_progname}; ac_word=$2
10176
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10177
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10178
 
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10179
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10911
$as_echo_n "checking for $ac_word... " >&6; }
 
10912
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
 
10913
  $as_echo_n "(cached) " >&6
10180
10914
else
10181
10915
  if test -n "$LIPO_FOR_TARGET"; then
10182
10916
  ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10186
10920
do
10187
10921
  IFS=$as_save_IFS
10188
10922
  test -z "$as_dir" && as_dir=.
10189
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10190
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10923
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10191
10925
    ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10192
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10193
10927
    break 2
10194
10928
  fi
10195
10929
done
10196
 
done
 
10930
  done
 
10931
IFS=$as_save_IFS
10197
10932
 
10198
10933
fi
10199
10934
fi
10200
10935
LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10201
10936
if test -n "$LIPO_FOR_TARGET"; then
10202
 
  echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
10203
 
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
 
10937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
 
10938
$as_echo "$LIPO_FOR_TARGET" >&6; }
10204
10939
else
10205
 
  echo "$as_me:$LINENO: result: no" >&5
10206
 
echo "${ECHO_T}no" >&6
 
10940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10941
$as_echo "no" >&6; }
10207
10942
fi
10208
10943
 
 
10944
 
10209
10945
  done
10210
10946
fi
10211
10947
 
10212
10948
if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10213
10949
  for ncn_progname in lipo; do
10214
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10215
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
10950
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
10951
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10216
10952
    if test -x $with_build_time_tools/${ncn_progname}; then
10217
10953
      ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10218
 
      echo "$as_me:$LINENO: result: yes" >&5
10219
 
echo "${ECHO_T}yes" >&6
 
10954
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10955
$as_echo "yes" >&6; }
10220
10956
      break
10221
10957
    else
10222
 
      echo "$as_me:$LINENO: result: no" >&5
10223
 
echo "${ECHO_T}no" >&6
 
10958
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10959
$as_echo "no" >&6; }
10224
10960
    fi
10225
10961
  done
10226
10962
fi
10230
10966
    if test -n "$ncn_target_tool_prefix"; then
10231
10967
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10232
10968
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10233
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10234
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10235
 
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10970
$as_echo_n "checking for $ac_word... " >&6; }
 
10971
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
 
10972
  $as_echo_n "(cached) " >&6
10237
10973
else
10238
10974
  if test -n "$LIPO_FOR_TARGET"; then
10239
10975
  ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10243
10979
do
10244
10980
  IFS=$as_save_IFS
10245
10981
  test -z "$as_dir" && as_dir=.
10246
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10247
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
10982
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10983
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10248
10984
    ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10249
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10985
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10250
10986
    break 2
10251
10987
  fi
10252
10988
done
10253
 
done
 
10989
  done
 
10990
IFS=$as_save_IFS
10254
10991
 
10255
10992
fi
10256
10993
fi
10257
10994
LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10258
10995
if test -n "$LIPO_FOR_TARGET"; then
10259
 
  echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
10260
 
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
 
10996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
 
10997
$as_echo "$LIPO_FOR_TARGET" >&6; }
10261
10998
else
10262
 
  echo "$as_me:$LINENO: result: no" >&5
10263
 
echo "${ECHO_T}no" >&6
 
10999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11000
$as_echo "no" >&6; }
10264
11001
fi
10265
11002
 
 
11003
 
10266
11004
    fi
10267
11005
    if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
10268
11006
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10269
11007
set dummy ${ncn_progname}; ac_word=$2
10270
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10271
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10272
 
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
10273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11009
$as_echo_n "checking for $ac_word... " >&6; }
 
11010
if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
 
11011
  $as_echo_n "(cached) " >&6
10274
11012
else
10275
11013
  if test -n "$LIPO_FOR_TARGET"; then
10276
11014
  ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10280
11018
do
10281
11019
  IFS=$as_save_IFS
10282
11020
  test -z "$as_dir" && as_dir=.
10283
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10284
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11021
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10285
11023
    ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10286
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10287
11025
    break 2
10288
11026
  fi
10289
11027
done
10290
 
done
 
11028
  done
 
11029
IFS=$as_save_IFS
10291
11030
 
10292
11031
fi
10293
11032
fi
10294
11033
LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10295
11034
if test -n "$LIPO_FOR_TARGET"; then
10296
 
  echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
10297
 
echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
 
11035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
 
11036
$as_echo "$LIPO_FOR_TARGET" >&6; }
10298
11037
else
10299
 
  echo "$as_me:$LINENO: result: no" >&5
10300
 
echo "${ECHO_T}no" >&6
 
11038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11039
$as_echo "no" >&6; }
10301
11040
fi
10302
11041
 
 
11042
 
10303
11043
    fi
10304
11044
    test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
10305
11045
  done
10325
11065
 
10326
11066
if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10327
11067
  if test -n "$with_build_time_tools"; then
10328
 
    echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
10329
 
echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6
 
11068
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
 
11069
$as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
10330
11070
    if test -x $with_build_time_tools/nm; then
10331
11071
      NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
10332
11072
      ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
10333
 
      echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
10334
 
echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
 
11073
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
 
11074
$as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
10335
11075
    else
10336
 
      echo "$as_me:$LINENO: result: no" >&5
10337
 
echo "${ECHO_T}no" >&6
 
11076
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11077
$as_echo "no" >&6; }
10338
11078
    fi
10339
11079
  elif test $build != $host && test $have_gcc_for_target = yes; then
10340
11080
    NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
10345
11085
if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10346
11086
  # Extract the first word of "nm", so it can be a program name with args.
10347
11087
set dummy nm; ac_word=$2
10348
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10349
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10350
 
if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
10351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11089
$as_echo_n "checking for $ac_word... " >&6; }
 
11090
if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
 
11091
  $as_echo_n "(cached) " >&6
10352
11092
else
10353
11093
  case $NM_FOR_TARGET in
10354
11094
  [\\/]* | ?:[\\/]*)
10360
11100
do
10361
11101
  IFS=$as_save_IFS
10362
11102
  test -z "$as_dir" && as_dir=.
10363
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10364
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11103
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10365
11105
    ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10366
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10367
11107
    break 2
10368
11108
  fi
10369
11109
done
10370
 
done
 
11110
  done
 
11111
IFS=$as_save_IFS
10371
11112
 
10372
11113
  ;;
10373
11114
esac
10374
11115
fi
10375
11116
NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
10376
 
 
10377
11117
if test -n "$NM_FOR_TARGET"; then
10378
 
  echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10379
 
echo "${ECHO_T}$NM_FOR_TARGET" >&6
 
11118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
 
11119
$as_echo "$NM_FOR_TARGET" >&6; }
10380
11120
else
10381
 
  echo "$as_me:$LINENO: result: no" >&5
10382
 
echo "${ECHO_T}no" >&6
 
11121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11122
$as_echo "no" >&6; }
10383
11123
fi
 
11124
 
10384
11125
 
10385
11126
fi
10386
11127
if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
10396
11137
  for ncn_progname in nm; do
10397
11138
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10398
11139
set dummy ${ncn_progname}; ac_word=$2
10399
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10400
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10401
 
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10402
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11141
$as_echo_n "checking for $ac_word... " >&6; }
 
11142
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
 
11143
  $as_echo_n "(cached) " >&6
10403
11144
else
10404
11145
  if test -n "$NM_FOR_TARGET"; then
10405
11146
  ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10409
11150
do
10410
11151
  IFS=$as_save_IFS
10411
11152
  test -z "$as_dir" && as_dir=.
10412
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10413
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11153
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10414
11155
    ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10415
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11156
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10416
11157
    break 2
10417
11158
  fi
10418
11159
done
10419
 
done
 
11160
  done
 
11161
IFS=$as_save_IFS
10420
11162
 
10421
11163
fi
10422
11164
fi
10423
11165
NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10424
11166
if test -n "$NM_FOR_TARGET"; then
10425
 
  echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10426
 
echo "${ECHO_T}$NM_FOR_TARGET" >&6
 
11167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
 
11168
$as_echo "$NM_FOR_TARGET" >&6; }
10427
11169
else
10428
 
  echo "$as_me:$LINENO: result: no" >&5
10429
 
echo "${ECHO_T}no" >&6
 
11170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11171
$as_echo "no" >&6; }
10430
11172
fi
10431
11173
 
 
11174
 
10432
11175
  done
10433
11176
fi
10434
11177
 
10435
11178
if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
10436
11179
  for ncn_progname in nm; do
10437
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10438
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
11180
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
11181
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10439
11182
    if test -x $with_build_time_tools/${ncn_progname}; then
10440
11183
      ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10441
 
      echo "$as_me:$LINENO: result: yes" >&5
10442
 
echo "${ECHO_T}yes" >&6
 
11184
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11185
$as_echo "yes" >&6; }
10443
11186
      break
10444
11187
    else
10445
 
      echo "$as_me:$LINENO: result: no" >&5
10446
 
echo "${ECHO_T}no" >&6
 
11188
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11189
$as_echo "no" >&6; }
10447
11190
    fi
10448
11191
  done
10449
11192
fi
10453
11196
    if test -n "$ncn_target_tool_prefix"; then
10454
11197
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10455
11198
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10456
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10457
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10458
 
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10459
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11200
$as_echo_n "checking for $ac_word... " >&6; }
 
11201
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
 
11202
  $as_echo_n "(cached) " >&6
10460
11203
else
10461
11204
  if test -n "$NM_FOR_TARGET"; then
10462
11205
  ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10466
11209
do
10467
11210
  IFS=$as_save_IFS
10468
11211
  test -z "$as_dir" && as_dir=.
10469
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10470
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11212
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11213
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10471
11214
    ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10472
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11215
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10473
11216
    break 2
10474
11217
  fi
10475
11218
done
10476
 
done
 
11219
  done
 
11220
IFS=$as_save_IFS
10477
11221
 
10478
11222
fi
10479
11223
fi
10480
11224
NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10481
11225
if test -n "$NM_FOR_TARGET"; then
10482
 
  echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10483
 
echo "${ECHO_T}$NM_FOR_TARGET" >&6
 
11226
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
 
11227
$as_echo "$NM_FOR_TARGET" >&6; }
10484
11228
else
10485
 
  echo "$as_me:$LINENO: result: no" >&5
10486
 
echo "${ECHO_T}no" >&6
 
11229
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11230
$as_echo "no" >&6; }
10487
11231
fi
10488
11232
 
 
11233
 
10489
11234
    fi
10490
11235
    if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
10491
11236
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10492
11237
set dummy ${ncn_progname}; ac_word=$2
10493
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10494
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10495
 
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
10496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11239
$as_echo_n "checking for $ac_word... " >&6; }
 
11240
if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
 
11241
  $as_echo_n "(cached) " >&6
10497
11242
else
10498
11243
  if test -n "$NM_FOR_TARGET"; then
10499
11244
  ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
10503
11248
do
10504
11249
  IFS=$as_save_IFS
10505
11250
  test -z "$as_dir" && as_dir=.
10506
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10507
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11251
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10508
11253
    ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
10509
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10510
11255
    break 2
10511
11256
  fi
10512
11257
done
10513
 
done
 
11258
  done
 
11259
IFS=$as_save_IFS
10514
11260
 
10515
11261
fi
10516
11262
fi
10517
11263
NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
10518
11264
if test -n "$NM_FOR_TARGET"; then
10519
 
  echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
10520
 
echo "${ECHO_T}$NM_FOR_TARGET" >&6
 
11265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
 
11266
$as_echo "$NM_FOR_TARGET" >&6; }
10521
11267
else
10522
 
  echo "$as_me:$LINENO: result: no" >&5
10523
 
echo "${ECHO_T}no" >&6
 
11268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11269
$as_echo "no" >&6; }
10524
11270
fi
10525
11271
 
 
11272
 
10526
11273
    fi
10527
11274
    test -n "$ac_cv_prog_NM_FOR_TARGET" && break
10528
11275
  done
10548
11295
 
10549
11296
if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10550
11297
  if test -n "$with_build_time_tools"; then
10551
 
    echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
10552
 
echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6
 
11298
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
 
11299
$as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
10553
11300
    if test -x $with_build_time_tools/objdump; then
10554
11301
      OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
10555
11302
      ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
10556
 
      echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
10557
 
echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
 
11303
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
 
11304
$as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
10558
11305
    else
10559
 
      echo "$as_me:$LINENO: result: no" >&5
10560
 
echo "${ECHO_T}no" >&6
 
11306
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11307
$as_echo "no" >&6; }
10561
11308
    fi
10562
11309
  elif test $build != $host && test $have_gcc_for_target = yes; then
10563
11310
    OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
10568
11315
if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10569
11316
  # Extract the first word of "objdump", so it can be a program name with args.
10570
11317
set dummy objdump; ac_word=$2
10571
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10573
 
if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
10574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11319
$as_echo_n "checking for $ac_word... " >&6; }
 
11320
if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
 
11321
  $as_echo_n "(cached) " >&6
10575
11322
else
10576
11323
  case $OBJDUMP_FOR_TARGET in
10577
11324
  [\\/]* | ?:[\\/]*)
10583
11330
do
10584
11331
  IFS=$as_save_IFS
10585
11332
  test -z "$as_dir" && as_dir=.
10586
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10587
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11333
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11334
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10588
11335
    ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10589
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11336
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10590
11337
    break 2
10591
11338
  fi
10592
11339
done
10593
 
done
 
11340
  done
 
11341
IFS=$as_save_IFS
10594
11342
 
10595
11343
  ;;
10596
11344
esac
10597
11345
fi
10598
11346
OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
10599
 
 
10600
11347
if test -n "$OBJDUMP_FOR_TARGET"; then
10601
 
  echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10602
 
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
 
11348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
 
11349
$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
10603
11350
else
10604
 
  echo "$as_me:$LINENO: result: no" >&5
10605
 
echo "${ECHO_T}no" >&6
 
11351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11352
$as_echo "no" >&6; }
10606
11353
fi
 
11354
 
10607
11355
 
10608
11356
fi
10609
11357
if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
10619
11367
  for ncn_progname in objdump; do
10620
11368
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10621
11369
set dummy ${ncn_progname}; ac_word=$2
10622
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10623
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10624
 
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11371
$as_echo_n "checking for $ac_word... " >&6; }
 
11372
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
 
11373
  $as_echo_n "(cached) " >&6
10626
11374
else
10627
11375
  if test -n "$OBJDUMP_FOR_TARGET"; then
10628
11376
  ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10632
11380
do
10633
11381
  IFS=$as_save_IFS
10634
11382
  test -z "$as_dir" && as_dir=.
10635
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10636
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11383
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11384
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10637
11385
    ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10638
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11386
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10639
11387
    break 2
10640
11388
  fi
10641
11389
done
10642
 
done
 
11390
  done
 
11391
IFS=$as_save_IFS
10643
11392
 
10644
11393
fi
10645
11394
fi
10646
11395
OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10647
11396
if test -n "$OBJDUMP_FOR_TARGET"; then
10648
 
  echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10649
 
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
 
11397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
 
11398
$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
10650
11399
else
10651
 
  echo "$as_me:$LINENO: result: no" >&5
10652
 
echo "${ECHO_T}no" >&6
 
11400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11401
$as_echo "no" >&6; }
10653
11402
fi
10654
11403
 
 
11404
 
10655
11405
  done
10656
11406
fi
10657
11407
 
10658
11408
if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
10659
11409
  for ncn_progname in objdump; do
10660
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10661
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
11410
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
11411
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10662
11412
    if test -x $with_build_time_tools/${ncn_progname}; then
10663
11413
      ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10664
 
      echo "$as_me:$LINENO: result: yes" >&5
10665
 
echo "${ECHO_T}yes" >&6
 
11414
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11415
$as_echo "yes" >&6; }
10666
11416
      break
10667
11417
    else
10668
 
      echo "$as_me:$LINENO: result: no" >&5
10669
 
echo "${ECHO_T}no" >&6
 
11418
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11419
$as_echo "no" >&6; }
10670
11420
    fi
10671
11421
  done
10672
11422
fi
10676
11426
    if test -n "$ncn_target_tool_prefix"; then
10677
11427
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10678
11428
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10679
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10680
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10681
 
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10682
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11430
$as_echo_n "checking for $ac_word... " >&6; }
 
11431
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
 
11432
  $as_echo_n "(cached) " >&6
10683
11433
else
10684
11434
  if test -n "$OBJDUMP_FOR_TARGET"; then
10685
11435
  ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10689
11439
do
10690
11440
  IFS=$as_save_IFS
10691
11441
  test -z "$as_dir" && as_dir=.
10692
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10693
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11442
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10694
11444
    ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10695
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11445
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10696
11446
    break 2
10697
11447
  fi
10698
11448
done
10699
 
done
 
11449
  done
 
11450
IFS=$as_save_IFS
10700
11451
 
10701
11452
fi
10702
11453
fi
10703
11454
OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10704
11455
if test -n "$OBJDUMP_FOR_TARGET"; then
10705
 
  echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10706
 
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
 
11456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
 
11457
$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
10707
11458
else
10708
 
  echo "$as_me:$LINENO: result: no" >&5
10709
 
echo "${ECHO_T}no" >&6
 
11459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11460
$as_echo "no" >&6; }
10710
11461
fi
10711
11462
 
 
11463
 
10712
11464
    fi
10713
11465
    if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
10714
11466
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10715
11467
set dummy ${ncn_progname}; ac_word=$2
10716
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10717
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10718
 
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
10719
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11469
$as_echo_n "checking for $ac_word... " >&6; }
 
11470
if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
 
11471
  $as_echo_n "(cached) " >&6
10720
11472
else
10721
11473
  if test -n "$OBJDUMP_FOR_TARGET"; then
10722
11474
  ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
10726
11478
do
10727
11479
  IFS=$as_save_IFS
10728
11480
  test -z "$as_dir" && as_dir=.
10729
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10730
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11481
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11482
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10731
11483
    ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
10732
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11484
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10733
11485
    break 2
10734
11486
  fi
10735
11487
done
10736
 
done
 
11488
  done
 
11489
IFS=$as_save_IFS
10737
11490
 
10738
11491
fi
10739
11492
fi
10740
11493
OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
10741
11494
if test -n "$OBJDUMP_FOR_TARGET"; then
10742
 
  echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
10743
 
echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
 
11495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
 
11496
$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
10744
11497
else
10745
 
  echo "$as_me:$LINENO: result: no" >&5
10746
 
echo "${ECHO_T}no" >&6
 
11498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11499
$as_echo "no" >&6; }
10747
11500
fi
10748
11501
 
 
11502
 
10749
11503
    fi
10750
11504
    test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
10751
11505
  done
10771
11525
 
10772
11526
if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10773
11527
  if test -n "$with_build_time_tools"; then
10774
 
    echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
10775
 
echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6
 
11528
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
 
11529
$as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
10776
11530
    if test -x $with_build_time_tools/ranlib; then
10777
11531
      RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
10778
11532
      ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
10779
 
      echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
10780
 
echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
 
11533
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
 
11534
$as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
10781
11535
    else
10782
 
      echo "$as_me:$LINENO: result: no" >&5
10783
 
echo "${ECHO_T}no" >&6
 
11536
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11537
$as_echo "no" >&6; }
10784
11538
    fi
10785
11539
  elif test $build != $host && test $have_gcc_for_target = yes; then
10786
11540
    RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
10791
11545
if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10792
11546
  # Extract the first word of "ranlib", so it can be a program name with args.
10793
11547
set dummy ranlib; ac_word=$2
10794
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10795
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10796
 
if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
10797
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11549
$as_echo_n "checking for $ac_word... " >&6; }
 
11550
if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
 
11551
  $as_echo_n "(cached) " >&6
10798
11552
else
10799
11553
  case $RANLIB_FOR_TARGET in
10800
11554
  [\\/]* | ?:[\\/]*)
10806
11560
do
10807
11561
  IFS=$as_save_IFS
10808
11562
  test -z "$as_dir" && as_dir=.
10809
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10810
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11563
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11564
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10811
11565
    ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10812
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11566
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10813
11567
    break 2
10814
11568
  fi
10815
11569
done
10816
 
done
 
11570
  done
 
11571
IFS=$as_save_IFS
10817
11572
 
10818
11573
  ;;
10819
11574
esac
10820
11575
fi
10821
11576
RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
10822
 
 
10823
11577
if test -n "$RANLIB_FOR_TARGET"; then
10824
 
  echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10825
 
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
 
11578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
 
11579
$as_echo "$RANLIB_FOR_TARGET" >&6; }
10826
11580
else
10827
 
  echo "$as_me:$LINENO: result: no" >&5
10828
 
echo "${ECHO_T}no" >&6
 
11581
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11582
$as_echo "no" >&6; }
10829
11583
fi
 
11584
 
10830
11585
 
10831
11586
fi
10832
11587
if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
10842
11597
  for ncn_progname in ranlib; do
10843
11598
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10844
11599
set dummy ${ncn_progname}; ac_word=$2
10845
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10846
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10847
 
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10848
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11601
$as_echo_n "checking for $ac_word... " >&6; }
 
11602
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
 
11603
  $as_echo_n "(cached) " >&6
10849
11604
else
10850
11605
  if test -n "$RANLIB_FOR_TARGET"; then
10851
11606
  ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10855
11610
do
10856
11611
  IFS=$as_save_IFS
10857
11612
  test -z "$as_dir" && as_dir=.
10858
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10859
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11613
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11614
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860
11615
    ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10861
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11616
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10862
11617
    break 2
10863
11618
  fi
10864
11619
done
10865
 
done
 
11620
  done
 
11621
IFS=$as_save_IFS
10866
11622
 
10867
11623
fi
10868
11624
fi
10869
11625
RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10870
11626
if test -n "$RANLIB_FOR_TARGET"; then
10871
 
  echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10872
 
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
 
11627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
 
11628
$as_echo "$RANLIB_FOR_TARGET" >&6; }
10873
11629
else
10874
 
  echo "$as_me:$LINENO: result: no" >&5
10875
 
echo "${ECHO_T}no" >&6
 
11630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11631
$as_echo "no" >&6; }
10876
11632
fi
10877
11633
 
 
11634
 
10878
11635
  done
10879
11636
fi
10880
11637
 
10881
11638
if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
10882
11639
  for ncn_progname in ranlib; do
10883
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
10884
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
11640
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
11641
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10885
11642
    if test -x $with_build_time_tools/${ncn_progname}; then
10886
11643
      ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10887
 
      echo "$as_me:$LINENO: result: yes" >&5
10888
 
echo "${ECHO_T}yes" >&6
 
11644
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11645
$as_echo "yes" >&6; }
10889
11646
      break
10890
11647
    else
10891
 
      echo "$as_me:$LINENO: result: no" >&5
10892
 
echo "${ECHO_T}no" >&6
 
11648
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11649
$as_echo "no" >&6; }
10893
11650
    fi
10894
11651
  done
10895
11652
fi
10899
11656
    if test -n "$ncn_target_tool_prefix"; then
10900
11657
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10901
11658
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10902
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10903
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10904
 
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11660
$as_echo_n "checking for $ac_word... " >&6; }
 
11661
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
 
11662
  $as_echo_n "(cached) " >&6
10906
11663
else
10907
11664
  if test -n "$RANLIB_FOR_TARGET"; then
10908
11665
  ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10912
11669
do
10913
11670
  IFS=$as_save_IFS
10914
11671
  test -z "$as_dir" && as_dir=.
10915
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10916
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11672
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11673
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10917
11674
    ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10918
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11675
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10919
11676
    break 2
10920
11677
  fi
10921
11678
done
10922
 
done
 
11679
  done
 
11680
IFS=$as_save_IFS
10923
11681
 
10924
11682
fi
10925
11683
fi
10926
11684
RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10927
11685
if test -n "$RANLIB_FOR_TARGET"; then
10928
 
  echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10929
 
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
 
11686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
 
11687
$as_echo "$RANLIB_FOR_TARGET" >&6; }
10930
11688
else
10931
 
  echo "$as_me:$LINENO: result: no" >&5
10932
 
echo "${ECHO_T}no" >&6
 
11689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11690
$as_echo "no" >&6; }
10933
11691
fi
10934
11692
 
 
11693
 
10935
11694
    fi
10936
11695
    if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
10937
11696
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10938
11697
set dummy ${ncn_progname}; ac_word=$2
10939
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
10940
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10941
 
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
10942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11699
$as_echo_n "checking for $ac_word... " >&6; }
 
11700
if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
 
11701
  $as_echo_n "(cached) " >&6
10943
11702
else
10944
11703
  if test -n "$RANLIB_FOR_TARGET"; then
10945
11704
  ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
10949
11708
do
10950
11709
  IFS=$as_save_IFS
10951
11710
  test -z "$as_dir" && as_dir=.
10952
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10953
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11711
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11712
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954
11713
    ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
10955
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11714
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10956
11715
    break 2
10957
11716
  fi
10958
11717
done
10959
 
done
 
11718
  done
 
11719
IFS=$as_save_IFS
10960
11720
 
10961
11721
fi
10962
11722
fi
10963
11723
RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
10964
11724
if test -n "$RANLIB_FOR_TARGET"; then
10965
 
  echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
10966
 
echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
 
11725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
 
11726
$as_echo "$RANLIB_FOR_TARGET" >&6; }
10967
11727
else
10968
 
  echo "$as_me:$LINENO: result: no" >&5
10969
 
echo "${ECHO_T}no" >&6
 
11728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11729
$as_echo "no" >&6; }
10970
11730
fi
10971
11731
 
 
11732
 
10972
11733
    fi
10973
11734
    test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
10974
11735
  done
10994
11755
 
10995
11756
if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
10996
11757
  if test -n "$with_build_time_tools"; then
10997
 
    echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
10998
 
echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6
 
11758
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
 
11759
$as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
10999
11760
    if test -x $with_build_time_tools/strip; then
11000
11761
      STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11001
11762
      ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11002
 
      echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
11003
 
echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
 
11763
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
 
11764
$as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11004
11765
    else
11005
 
      echo "$as_me:$LINENO: result: no" >&5
11006
 
echo "${ECHO_T}no" >&6
 
11766
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11767
$as_echo "no" >&6; }
11007
11768
    fi
11008
11769
  elif test $build != $host && test $have_gcc_for_target = yes; then
11009
11770
    STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11014
11775
if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11015
11776
  # Extract the first word of "strip", so it can be a program name with args.
11016
11777
set dummy strip; ac_word=$2
11017
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11018
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11019
 
if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
11020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11779
$as_echo_n "checking for $ac_word... " >&6; }
 
11780
if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
 
11781
  $as_echo_n "(cached) " >&6
11021
11782
else
11022
11783
  case $STRIP_FOR_TARGET in
11023
11784
  [\\/]* | ?:[\\/]*)
11029
11790
do
11030
11791
  IFS=$as_save_IFS
11031
11792
  test -z "$as_dir" && as_dir=.
11032
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11033
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11793
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11794
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11034
11795
    ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11035
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11796
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11036
11797
    break 2
11037
11798
  fi
11038
11799
done
11039
 
done
 
11800
  done
 
11801
IFS=$as_save_IFS
11040
11802
 
11041
11803
  ;;
11042
11804
esac
11043
11805
fi
11044
11806
STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11045
 
 
11046
11807
if test -n "$STRIP_FOR_TARGET"; then
11047
 
  echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
11048
 
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
 
11808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
 
11809
$as_echo "$STRIP_FOR_TARGET" >&6; }
11049
11810
else
11050
 
  echo "$as_me:$LINENO: result: no" >&5
11051
 
echo "${ECHO_T}no" >&6
 
11811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11812
$as_echo "no" >&6; }
11052
11813
fi
 
11814
 
11053
11815
 
11054
11816
fi
11055
11817
if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11065
11827
  for ncn_progname in strip; do
11066
11828
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11067
11829
set dummy ${ncn_progname}; ac_word=$2
11068
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11069
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11070
 
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11831
$as_echo_n "checking for $ac_word... " >&6; }
 
11832
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
 
11833
  $as_echo_n "(cached) " >&6
11072
11834
else
11073
11835
  if test -n "$STRIP_FOR_TARGET"; then
11074
11836
  ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11078
11840
do
11079
11841
  IFS=$as_save_IFS
11080
11842
  test -z "$as_dir" && as_dir=.
11081
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11082
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11843
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11844
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11083
11845
    ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11084
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11846
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11085
11847
    break 2
11086
11848
  fi
11087
11849
done
11088
 
done
 
11850
  done
 
11851
IFS=$as_save_IFS
11089
11852
 
11090
11853
fi
11091
11854
fi
11092
11855
STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11093
11856
if test -n "$STRIP_FOR_TARGET"; then
11094
 
  echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
11095
 
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
 
11857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
 
11858
$as_echo "$STRIP_FOR_TARGET" >&6; }
11096
11859
else
11097
 
  echo "$as_me:$LINENO: result: no" >&5
11098
 
echo "${ECHO_T}no" >&6
 
11860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11861
$as_echo "no" >&6; }
11099
11862
fi
11100
11863
 
 
11864
 
11101
11865
  done
11102
11866
fi
11103
11867
 
11104
11868
if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11105
11869
  for ncn_progname in strip; do
11106
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
11107
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
11870
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
11871
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11108
11872
    if test -x $with_build_time_tools/${ncn_progname}; then
11109
11873
      ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11110
 
      echo "$as_me:$LINENO: result: yes" >&5
11111
 
echo "${ECHO_T}yes" >&6
 
11874
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11875
$as_echo "yes" >&6; }
11112
11876
      break
11113
11877
    else
11114
 
      echo "$as_me:$LINENO: result: no" >&5
11115
 
echo "${ECHO_T}no" >&6
 
11878
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11879
$as_echo "no" >&6; }
11116
11880
    fi
11117
11881
  done
11118
11882
fi
11122
11886
    if test -n "$ncn_target_tool_prefix"; then
11123
11887
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11124
11888
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11125
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11126
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11127
 
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11890
$as_echo_n "checking for $ac_word... " >&6; }
 
11891
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
 
11892
  $as_echo_n "(cached) " >&6
11129
11893
else
11130
11894
  if test -n "$STRIP_FOR_TARGET"; then
11131
11895
  ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11135
11899
do
11136
11900
  IFS=$as_save_IFS
11137
11901
  test -z "$as_dir" && as_dir=.
11138
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11139
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11902
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11140
11904
    ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11141
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11905
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11142
11906
    break 2
11143
11907
  fi
11144
11908
done
11145
 
done
 
11909
  done
 
11910
IFS=$as_save_IFS
11146
11911
 
11147
11912
fi
11148
11913
fi
11149
11914
STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11150
11915
if test -n "$STRIP_FOR_TARGET"; then
11151
 
  echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
11152
 
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
 
11916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
 
11917
$as_echo "$STRIP_FOR_TARGET" >&6; }
11153
11918
else
11154
 
  echo "$as_me:$LINENO: result: no" >&5
11155
 
echo "${ECHO_T}no" >&6
 
11919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11920
$as_echo "no" >&6; }
11156
11921
fi
11157
11922
 
 
11923
 
11158
11924
    fi
11159
11925
    if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11160
11926
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11161
11927
set dummy ${ncn_progname}; ac_word=$2
11162
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11163
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11164
 
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
11165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11929
$as_echo_n "checking for $ac_word... " >&6; }
 
11930
if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
 
11931
  $as_echo_n "(cached) " >&6
11166
11932
else
11167
11933
  if test -n "$STRIP_FOR_TARGET"; then
11168
11934
  ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11172
11938
do
11173
11939
  IFS=$as_save_IFS
11174
11940
  test -z "$as_dir" && as_dir=.
11175
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11176
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
11941
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11177
11943
    ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11178
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11944
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11179
11945
    break 2
11180
11946
  fi
11181
11947
done
11182
 
done
 
11948
  done
 
11949
IFS=$as_save_IFS
11183
11950
 
11184
11951
fi
11185
11952
fi
11186
11953
STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11187
11954
if test -n "$STRIP_FOR_TARGET"; then
11188
 
  echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
11189
 
echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
 
11955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
 
11956
$as_echo "$STRIP_FOR_TARGET" >&6; }
11190
11957
else
11191
 
  echo "$as_me:$LINENO: result: no" >&5
11192
 
echo "${ECHO_T}no" >&6
 
11958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11959
$as_echo "no" >&6; }
11193
11960
fi
11194
11961
 
 
11962
 
11195
11963
    fi
11196
11964
    test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11197
11965
  done
11217
11985
 
11218
11986
if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11219
11987
  if test -n "$with_build_time_tools"; then
11220
 
    echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
11221
 
echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6
 
11988
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
 
11989
$as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
11222
11990
    if test -x $with_build_time_tools/windres; then
11223
11991
      WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
11224
11992
      ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
11225
 
      echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
11226
 
echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
 
11993
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
 
11994
$as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
11227
11995
    else
11228
 
      echo "$as_me:$LINENO: result: no" >&5
11229
 
echo "${ECHO_T}no" >&6
 
11996
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11997
$as_echo "no" >&6; }
11230
11998
    fi
11231
11999
  elif test $build != $host && test $have_gcc_for_target = yes; then
11232
12000
    WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
11237
12005
if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11238
12006
  # Extract the first word of "windres", so it can be a program name with args.
11239
12007
set dummy windres; ac_word=$2
11240
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11241
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11242
 
if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
11243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12009
$as_echo_n "checking for $ac_word... " >&6; }
 
12010
if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
 
12011
  $as_echo_n "(cached) " >&6
11244
12012
else
11245
12013
  case $WINDRES_FOR_TARGET in
11246
12014
  [\\/]* | ?:[\\/]*)
11252
12020
do
11253
12021
  IFS=$as_save_IFS
11254
12022
  test -z "$as_dir" && as_dir=.
11255
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11256
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12023
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12024
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11257
12025
    ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11258
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12026
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11259
12027
    break 2
11260
12028
  fi
11261
12029
done
11262
 
done
 
12030
  done
 
12031
IFS=$as_save_IFS
11263
12032
 
11264
12033
  ;;
11265
12034
esac
11266
12035
fi
11267
12036
WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
11268
 
 
11269
12037
if test -n "$WINDRES_FOR_TARGET"; then
11270
 
  echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11271
 
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
 
12038
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
 
12039
$as_echo "$WINDRES_FOR_TARGET" >&6; }
11272
12040
else
11273
 
  echo "$as_me:$LINENO: result: no" >&5
11274
 
echo "${ECHO_T}no" >&6
 
12041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12042
$as_echo "no" >&6; }
11275
12043
fi
 
12044
 
11276
12045
 
11277
12046
fi
11278
12047
if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
11288
12057
  for ncn_progname in windres; do
11289
12058
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11290
12059
set dummy ${ncn_progname}; ac_word=$2
11291
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11292
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11293
 
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12061
$as_echo_n "checking for $ac_word... " >&6; }
 
12062
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
 
12063
  $as_echo_n "(cached) " >&6
11295
12064
else
11296
12065
  if test -n "$WINDRES_FOR_TARGET"; then
11297
12066
  ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11301
12070
do
11302
12071
  IFS=$as_save_IFS
11303
12072
  test -z "$as_dir" && as_dir=.
11304
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11305
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12073
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11306
12075
    ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11307
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11308
12077
    break 2
11309
12078
  fi
11310
12079
done
11311
 
done
 
12080
  done
 
12081
IFS=$as_save_IFS
11312
12082
 
11313
12083
fi
11314
12084
fi
11315
12085
WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11316
12086
if test -n "$WINDRES_FOR_TARGET"; then
11317
 
  echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11318
 
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
 
12087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
 
12088
$as_echo "$WINDRES_FOR_TARGET" >&6; }
11319
12089
else
11320
 
  echo "$as_me:$LINENO: result: no" >&5
11321
 
echo "${ECHO_T}no" >&6
 
12090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12091
$as_echo "no" >&6; }
11322
12092
fi
11323
12093
 
 
12094
 
11324
12095
  done
11325
12096
fi
11326
12097
 
11327
12098
if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
11328
12099
  for ncn_progname in windres; do
11329
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
11330
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
12100
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
12101
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11331
12102
    if test -x $with_build_time_tools/${ncn_progname}; then
11332
12103
      ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11333
 
      echo "$as_me:$LINENO: result: yes" >&5
11334
 
echo "${ECHO_T}yes" >&6
 
12104
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12105
$as_echo "yes" >&6; }
11335
12106
      break
11336
12107
    else
11337
 
      echo "$as_me:$LINENO: result: no" >&5
11338
 
echo "${ECHO_T}no" >&6
 
12108
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12109
$as_echo "no" >&6; }
11339
12110
    fi
11340
12111
  done
11341
12112
fi
11345
12116
    if test -n "$ncn_target_tool_prefix"; then
11346
12117
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11347
12118
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11348
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11349
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11350
 
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11351
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12120
$as_echo_n "checking for $ac_word... " >&6; }
 
12121
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
 
12122
  $as_echo_n "(cached) " >&6
11352
12123
else
11353
12124
  if test -n "$WINDRES_FOR_TARGET"; then
11354
12125
  ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11358
12129
do
11359
12130
  IFS=$as_save_IFS
11360
12131
  test -z "$as_dir" && as_dir=.
11361
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11362
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12132
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11363
12134
    ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11364
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12135
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11365
12136
    break 2
11366
12137
  fi
11367
12138
done
11368
 
done
 
12139
  done
 
12140
IFS=$as_save_IFS
11369
12141
 
11370
12142
fi
11371
12143
fi
11372
12144
WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11373
12145
if test -n "$WINDRES_FOR_TARGET"; then
11374
 
  echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11375
 
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
 
12146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
 
12147
$as_echo "$WINDRES_FOR_TARGET" >&6; }
11376
12148
else
11377
 
  echo "$as_me:$LINENO: result: no" >&5
11378
 
echo "${ECHO_T}no" >&6
 
12149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12150
$as_echo "no" >&6; }
11379
12151
fi
11380
12152
 
 
12153
 
11381
12154
    fi
11382
12155
    if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
11383
12156
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11384
12157
set dummy ${ncn_progname}; ac_word=$2
11385
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11386
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11387
 
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
11388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12159
$as_echo_n "checking for $ac_word... " >&6; }
 
12160
if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
 
12161
  $as_echo_n "(cached) " >&6
11389
12162
else
11390
12163
  if test -n "$WINDRES_FOR_TARGET"; then
11391
12164
  ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
11395
12168
do
11396
12169
  IFS=$as_save_IFS
11397
12170
  test -z "$as_dir" && as_dir=.
11398
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11399
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12172
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11400
12173
    ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
11401
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11402
12175
    break 2
11403
12176
  fi
11404
12177
done
11405
 
done
 
12178
  done
 
12179
IFS=$as_save_IFS
11406
12180
 
11407
12181
fi
11408
12182
fi
11409
12183
WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
11410
12184
if test -n "$WINDRES_FOR_TARGET"; then
11411
 
  echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
11412
 
echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
 
12185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
 
12186
$as_echo "$WINDRES_FOR_TARGET" >&6; }
11413
12187
else
11414
 
  echo "$as_me:$LINENO: result: no" >&5
11415
 
echo "${ECHO_T}no" >&6
 
12188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12189
$as_echo "no" >&6; }
11416
12190
fi
11417
12191
 
 
12192
 
11418
12193
    fi
11419
12194
    test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
11420
12195
  done
11440
12215
 
11441
12216
if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11442
12217
  if test -n "$with_build_time_tools"; then
11443
 
    echo "$as_me:$LINENO: checking for windmc in $with_build_time_tools" >&5
11444
 
echo $ECHO_N "checking for windmc in $with_build_time_tools... $ECHO_C" >&6
 
12218
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
 
12219
$as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
11445
12220
    if test -x $with_build_time_tools/windmc; then
11446
12221
      WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
11447
12222
      ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
11448
 
      echo "$as_me:$LINENO: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
11449
 
echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
 
12223
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
 
12224
$as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
11450
12225
    else
11451
 
      echo "$as_me:$LINENO: result: no" >&5
11452
 
echo "${ECHO_T}no" >&6
 
12226
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12227
$as_echo "no" >&6; }
11453
12228
    fi
11454
12229
  elif test $build != $host && test $have_gcc_for_target = yes; then
11455
12230
    WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
11460
12235
if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11461
12236
  # Extract the first word of "windmc", so it can be a program name with args.
11462
12237
set dummy windmc; ac_word=$2
11463
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11464
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11465
 
if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
11466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12239
$as_echo_n "checking for $ac_word... " >&6; }
 
12240
if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
 
12241
  $as_echo_n "(cached) " >&6
11467
12242
else
11468
12243
  case $WINDMC_FOR_TARGET in
11469
12244
  [\\/]* | ?:[\\/]*)
11475
12250
do
11476
12251
  IFS=$as_save_IFS
11477
12252
  test -z "$as_dir" && as_dir=.
11478
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11479
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12253
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12254
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11480
12255
    ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11481
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12256
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482
12257
    break 2
11483
12258
  fi
11484
12259
done
11485
 
done
 
12260
  done
 
12261
IFS=$as_save_IFS
11486
12262
 
11487
12263
  ;;
11488
12264
esac
11489
12265
fi
11490
12266
WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
11491
 
 
11492
12267
if test -n "$WINDMC_FOR_TARGET"; then
11493
 
  echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11494
 
echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
 
12268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
 
12269
$as_echo "$WINDMC_FOR_TARGET" >&6; }
11495
12270
else
11496
 
  echo "$as_me:$LINENO: result: no" >&5
11497
 
echo "${ECHO_T}no" >&6
 
12271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12272
$as_echo "no" >&6; }
11498
12273
fi
 
12274
 
11499
12275
 
11500
12276
fi
11501
12277
if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
11511
12287
  for ncn_progname in windmc; do
11512
12288
    # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11513
12289
set dummy ${ncn_progname}; ac_word=$2
11514
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11515
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11516
 
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12291
$as_echo_n "checking for $ac_word... " >&6; }
 
12292
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
 
12293
  $as_echo_n "(cached) " >&6
11518
12294
else
11519
12295
  if test -n "$WINDMC_FOR_TARGET"; then
11520
12296
  ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11524
12300
do
11525
12301
  IFS=$as_save_IFS
11526
12302
  test -z "$as_dir" && as_dir=.
11527
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11528
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12303
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12304
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11529
12305
    ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11530
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12306
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11531
12307
    break 2
11532
12308
  fi
11533
12309
done
11534
 
done
 
12310
  done
 
12311
IFS=$as_save_IFS
11535
12312
 
11536
12313
fi
11537
12314
fi
11538
12315
WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11539
12316
if test -n "$WINDMC_FOR_TARGET"; then
11540
 
  echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11541
 
echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
 
12317
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
 
12318
$as_echo "$WINDMC_FOR_TARGET" >&6; }
11542
12319
else
11543
 
  echo "$as_me:$LINENO: result: no" >&5
11544
 
echo "${ECHO_T}no" >&6
 
12320
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12321
$as_echo "no" >&6; }
11545
12322
fi
11546
12323
 
 
12324
 
11547
12325
  done
11548
12326
fi
11549
12327
 
11550
12328
if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11551
12329
  for ncn_progname in windmc; do
11552
 
    echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
11553
 
echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
 
12330
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
 
12331
$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11554
12332
    if test -x $with_build_time_tools/${ncn_progname}; then
11555
12333
      ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11556
 
      echo "$as_me:$LINENO: result: yes" >&5
11557
 
echo "${ECHO_T}yes" >&6
 
12334
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12335
$as_echo "yes" >&6; }
11558
12336
      break
11559
12337
    else
11560
 
      echo "$as_me:$LINENO: result: no" >&5
11561
 
echo "${ECHO_T}no" >&6
 
12338
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12339
$as_echo "no" >&6; }
11562
12340
    fi
11563
12341
  done
11564
12342
fi
11568
12346
    if test -n "$ncn_target_tool_prefix"; then
11569
12347
      # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11570
12348
set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11571
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11573
 
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11574
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12350
$as_echo_n "checking for $ac_word... " >&6; }
 
12351
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
 
12352
  $as_echo_n "(cached) " >&6
11575
12353
else
11576
12354
  if test -n "$WINDMC_FOR_TARGET"; then
11577
12355
  ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11581
12359
do
11582
12360
  IFS=$as_save_IFS
11583
12361
  test -z "$as_dir" && as_dir=.
11584
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11585
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12362
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12363
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11586
12364
    ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11587
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12365
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11588
12366
    break 2
11589
12367
  fi
11590
12368
done
11591
 
done
 
12369
  done
 
12370
IFS=$as_save_IFS
11592
12371
 
11593
12372
fi
11594
12373
fi
11595
12374
WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11596
12375
if test -n "$WINDMC_FOR_TARGET"; then
11597
 
  echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11598
 
echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
 
12376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
 
12377
$as_echo "$WINDMC_FOR_TARGET" >&6; }
11599
12378
else
11600
 
  echo "$as_me:$LINENO: result: no" >&5
11601
 
echo "${ECHO_T}no" >&6
 
12379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12380
$as_echo "no" >&6; }
11602
12381
fi
11603
12382
 
 
12383
 
11604
12384
    fi
11605
12385
    if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
11606
12386
      # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11607
12387
set dummy ${ncn_progname}; ac_word=$2
11608
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
11609
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11610
 
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
11611
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12389
$as_echo_n "checking for $ac_word... " >&6; }
 
12390
if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
 
12391
  $as_echo_n "(cached) " >&6
11612
12392
else
11613
12393
  if test -n "$WINDMC_FOR_TARGET"; then
11614
12394
  ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
11618
12398
do
11619
12399
  IFS=$as_save_IFS
11620
12400
  test -z "$as_dir" && as_dir=.
11621
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11622
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12401
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12402
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11623
12403
    ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
11624
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12404
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11625
12405
    break 2
11626
12406
  fi
11627
12407
done
11628
 
done
 
12408
  done
 
12409
IFS=$as_save_IFS
11629
12410
 
11630
12411
fi
11631
12412
fi
11632
12413
WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
11633
12414
if test -n "$WINDMC_FOR_TARGET"; then
11634
 
  echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
11635
 
echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
 
12415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
 
12416
$as_echo "$WINDMC_FOR_TARGET" >&6; }
11636
12417
else
11637
 
  echo "$as_me:$LINENO: result: no" >&5
11638
 
echo "${ECHO_T}no" >&6
 
12418
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12419
$as_echo "no" >&6; }
11639
12420
fi
11640
12421
 
 
12422
 
11641
12423
    fi
11642
12424
    test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
11643
12425
  done
11661
12443
 
11662
12444
RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
11663
12445
 
11664
 
echo "$as_me:$LINENO: checking where to find the target ar" >&5
11665
 
echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
 
12446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
 
12447
$as_echo_n "checking where to find the target ar... " >&6; }
11666
12448
if test "x${build}" != "x${host}" ; then
11667
12449
  if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
11668
12450
    # We already found the complete path
11669
12451
    ac_dir=`dirname $AR_FOR_TARGET`
11670
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11671
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12452
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12453
$as_echo "pre-installed in $ac_dir" >&6; }
11672
12454
  else
11673
12455
    # Canadian cross, just use what we found
11674
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11675
 
echo "${ECHO_T}pre-installed" >&6
 
12456
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12457
$as_echo "pre-installed" >&6; }
11676
12458
  fi
11677
12459
else
11678
12460
  ok=yes
11684
12466
  if test $ok = yes; then
11685
12467
    # An in-tree tool is available and we can use it
11686
12468
    AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
11687
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11688
 
echo "${ECHO_T}just compiled" >&6
 
12469
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12470
$as_echo "just compiled" >&6; }
11689
12471
  elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
11690
12472
    # We already found the complete path
11691
12473
    ac_dir=`dirname $AR_FOR_TARGET`
11692
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11693
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12474
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12475
$as_echo "pre-installed in $ac_dir" >&6; }
11694
12476
  elif test "x$target" = "x$host"; then
11695
12477
    # We can use an host tool
11696
12478
    AR_FOR_TARGET='$(AR)'
11697
 
    echo "$as_me:$LINENO: result: host tool" >&5
11698
 
echo "${ECHO_T}host tool" >&6
 
12479
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12480
$as_echo "host tool" >&6; }
11699
12481
  else
11700
12482
    # We need a cross tool
11701
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11702
 
echo "${ECHO_T}pre-installed" >&6
 
12483
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12484
$as_echo "pre-installed" >&6; }
11703
12485
  fi
11704
12486
fi
11705
12487
 
11706
 
echo "$as_me:$LINENO: checking where to find the target as" >&5
11707
 
echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
 
12488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
 
12489
$as_echo_n "checking where to find the target as... " >&6; }
11708
12490
if test "x${build}" != "x${host}" ; then
11709
12491
  if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
11710
12492
    # We already found the complete path
11711
12493
    ac_dir=`dirname $AS_FOR_TARGET`
11712
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11713
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12494
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12495
$as_echo "pre-installed in $ac_dir" >&6; }
11714
12496
  else
11715
12497
    # Canadian cross, just use what we found
11716
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11717
 
echo "${ECHO_T}pre-installed" >&6
 
12498
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12499
$as_echo "pre-installed" >&6; }
11718
12500
  fi
11719
12501
else
11720
12502
  ok=yes
11726
12508
  if test $ok = yes; then
11727
12509
    # An in-tree tool is available and we can use it
11728
12510
    AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
11729
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11730
 
echo "${ECHO_T}just compiled" >&6
 
12511
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12512
$as_echo "just compiled" >&6; }
11731
12513
  elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
11732
12514
    # We already found the complete path
11733
12515
    ac_dir=`dirname $AS_FOR_TARGET`
11734
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11735
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12516
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12517
$as_echo "pre-installed in $ac_dir" >&6; }
11736
12518
  elif test "x$target" = "x$host"; then
11737
12519
    # We can use an host tool
11738
12520
    AS_FOR_TARGET='$(AS)'
11739
 
    echo "$as_me:$LINENO: result: host tool" >&5
11740
 
echo "${ECHO_T}host tool" >&6
 
12521
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12522
$as_echo "host tool" >&6; }
11741
12523
  else
11742
12524
    # We need a cross tool
11743
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11744
 
echo "${ECHO_T}pre-installed" >&6
 
12525
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12526
$as_echo "pre-installed" >&6; }
11745
12527
  fi
11746
12528
fi
11747
12529
 
11748
 
echo "$as_me:$LINENO: checking where to find the target cc" >&5
11749
 
echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
 
12530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
 
12531
$as_echo_n "checking where to find the target cc... " >&6; }
11750
12532
if test "x${build}" != "x${host}" ; then
11751
12533
  if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
11752
12534
    # We already found the complete path
11753
12535
    ac_dir=`dirname $CC_FOR_TARGET`
11754
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11755
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12536
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12537
$as_echo "pre-installed in $ac_dir" >&6; }
11756
12538
  else
11757
12539
    # Canadian cross, just use what we found
11758
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11759
 
echo "${ECHO_T}pre-installed" >&6
 
12540
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12541
$as_echo "pre-installed" >&6; }
11760
12542
  fi
11761
12543
else
11762
12544
  ok=yes
11768
12550
  if test $ok = yes; then
11769
12551
    # An in-tree tool is available and we can use it
11770
12552
    CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11771
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11772
 
echo "${ECHO_T}just compiled" >&6
 
12553
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12554
$as_echo "just compiled" >&6; }
11773
12555
  elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
11774
12556
    # We already found the complete path
11775
12557
    ac_dir=`dirname $CC_FOR_TARGET`
11776
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11777
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12558
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12559
$as_echo "pre-installed in $ac_dir" >&6; }
11778
12560
  elif test "x$target" = "x$host"; then
11779
12561
    # We can use an host tool
11780
12562
    CC_FOR_TARGET='$(CC)'
11781
 
    echo "$as_me:$LINENO: result: host tool" >&5
11782
 
echo "${ECHO_T}host tool" >&6
 
12563
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12564
$as_echo "host tool" >&6; }
11783
12565
  else
11784
12566
    # We need a cross tool
11785
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11786
 
echo "${ECHO_T}pre-installed" >&6
 
12567
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12568
$as_echo "pre-installed" >&6; }
11787
12569
  fi
11788
12570
fi
11789
12571
 
11790
 
echo "$as_me:$LINENO: checking where to find the target c++" >&5
11791
 
echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
 
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
 
12573
$as_echo_n "checking where to find the target c++... " >&6; }
11792
12574
if test "x${build}" != "x${host}" ; then
11793
12575
  if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
11794
12576
    # We already found the complete path
11795
12577
    ac_dir=`dirname $CXX_FOR_TARGET`
11796
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11797
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12578
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12579
$as_echo "pre-installed in $ac_dir" >&6; }
11798
12580
  else
11799
12581
    # Canadian cross, just use what we found
11800
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11801
 
echo "${ECHO_T}pre-installed" >&6
 
12582
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12583
$as_echo "pre-installed" >&6; }
11802
12584
  fi
11803
12585
else
11804
12586
  ok=yes
11813
12595
  if test $ok = yes; then
11814
12596
    # An in-tree tool is available and we can use it
11815
12597
    CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
11816
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11817
 
echo "${ECHO_T}just compiled" >&6
 
12598
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12599
$as_echo "just compiled" >&6; }
11818
12600
  elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
11819
12601
    # We already found the complete path
11820
12602
    ac_dir=`dirname $CXX_FOR_TARGET`
11821
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11822
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12603
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12604
$as_echo "pre-installed in $ac_dir" >&6; }
11823
12605
  elif test "x$target" = "x$host"; then
11824
12606
    # We can use an host tool
11825
12607
    CXX_FOR_TARGET='$(CXX)'
11826
 
    echo "$as_me:$LINENO: result: host tool" >&5
11827
 
echo "${ECHO_T}host tool" >&6
 
12608
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12609
$as_echo "host tool" >&6; }
11828
12610
  else
11829
12611
    # We need a cross tool
11830
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11831
 
echo "${ECHO_T}pre-installed" >&6
 
12612
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12613
$as_echo "pre-installed" >&6; }
11832
12614
  fi
11833
12615
fi
11834
12616
 
11835
 
echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
11836
 
echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
 
12617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
 
12618
$as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
11837
12619
if test "x${build}" != "x${host}" ; then
11838
12620
  if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
11839
12621
    # We already found the complete path
11840
12622
    ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11841
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11842
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12623
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12624
$as_echo "pre-installed in $ac_dir" >&6; }
11843
12625
  else
11844
12626
    # Canadian cross, just use what we found
11845
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11846
 
echo "${ECHO_T}pre-installed" >&6
 
12627
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12628
$as_echo "pre-installed" >&6; }
11847
12629
  fi
11848
12630
else
11849
12631
  ok=yes
11858
12640
  if test $ok = yes; then
11859
12641
    # An in-tree tool is available and we can use it
11860
12642
    RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
11861
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11862
 
echo "${ECHO_T}just compiled" >&6
 
12643
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12644
$as_echo "just compiled" >&6; }
11863
12645
  elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
11864
12646
    # We already found the complete path
11865
12647
    ac_dir=`dirname $RAW_CXX_FOR_TARGET`
11866
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11867
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12648
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12649
$as_echo "pre-installed in $ac_dir" >&6; }
11868
12650
  elif test "x$target" = "x$host"; then
11869
12651
    # We can use an host tool
11870
12652
    RAW_CXX_FOR_TARGET='$(CXX)'
11871
 
    echo "$as_me:$LINENO: result: host tool" >&5
11872
 
echo "${ECHO_T}host tool" >&6
 
12653
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12654
$as_echo "host tool" >&6; }
11873
12655
  else
11874
12656
    # We need a cross tool
11875
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11876
 
echo "${ECHO_T}pre-installed" >&6
 
12657
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12658
$as_echo "pre-installed" >&6; }
11877
12659
  fi
11878
12660
fi
11879
12661
 
11880
 
echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
11881
 
echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
 
12662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
 
12663
$as_echo_n "checking where to find the target dlltool... " >&6; }
11882
12664
if test "x${build}" != "x${host}" ; then
11883
12665
  if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
11884
12666
    # We already found the complete path
11885
12667
    ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11886
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11887
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12668
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12669
$as_echo "pre-installed in $ac_dir" >&6; }
11888
12670
  else
11889
12671
    # Canadian cross, just use what we found
11890
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11891
 
echo "${ECHO_T}pre-installed" >&6
 
12672
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12673
$as_echo "pre-installed" >&6; }
11892
12674
  fi
11893
12675
else
11894
12676
  ok=yes
11900
12682
  if test $ok = yes; then
11901
12683
    # An in-tree tool is available and we can use it
11902
12684
    DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
11903
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11904
 
echo "${ECHO_T}just compiled" >&6
 
12685
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12686
$as_echo "just compiled" >&6; }
11905
12687
  elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
11906
12688
    # We already found the complete path
11907
12689
    ac_dir=`dirname $DLLTOOL_FOR_TARGET`
11908
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11909
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12690
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12691
$as_echo "pre-installed in $ac_dir" >&6; }
11910
12692
  elif test "x$target" = "x$host"; then
11911
12693
    # We can use an host tool
11912
12694
    DLLTOOL_FOR_TARGET='$(DLLTOOL)'
11913
 
    echo "$as_me:$LINENO: result: host tool" >&5
11914
 
echo "${ECHO_T}host tool" >&6
 
12695
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12696
$as_echo "host tool" >&6; }
11915
12697
  else
11916
12698
    # We need a cross tool
11917
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11918
 
echo "${ECHO_T}pre-installed" >&6
 
12699
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12700
$as_echo "pre-installed" >&6; }
11919
12701
  fi
11920
12702
fi
11921
12703
 
11922
 
echo "$as_me:$LINENO: checking where to find the target gcc" >&5
11923
 
echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
 
12704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
 
12705
$as_echo_n "checking where to find the target gcc... " >&6; }
11924
12706
if test "x${build}" != "x${host}" ; then
11925
12707
  if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
11926
12708
    # We already found the complete path
11927
12709
    ac_dir=`dirname $GCC_FOR_TARGET`
11928
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11929
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12710
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12711
$as_echo "pre-installed in $ac_dir" >&6; }
11930
12712
  else
11931
12713
    # Canadian cross, just use what we found
11932
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11933
 
echo "${ECHO_T}pre-installed" >&6
 
12714
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12715
$as_echo "pre-installed" >&6; }
11934
12716
  fi
11935
12717
else
11936
12718
  ok=yes
11942
12724
  if test $ok = yes; then
11943
12725
    # An in-tree tool is available and we can use it
11944
12726
    GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
11945
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11946
 
echo "${ECHO_T}just compiled" >&6
 
12727
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12728
$as_echo "just compiled" >&6; }
11947
12729
  elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
11948
12730
    # We already found the complete path
11949
12731
    ac_dir=`dirname $GCC_FOR_TARGET`
11950
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11951
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12732
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12733
$as_echo "pre-installed in $ac_dir" >&6; }
11952
12734
  elif test "x$target" = "x$host"; then
11953
12735
    # We can use an host tool
11954
12736
    GCC_FOR_TARGET='$()'
11955
 
    echo "$as_me:$LINENO: result: host tool" >&5
11956
 
echo "${ECHO_T}host tool" >&6
 
12737
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12738
$as_echo "host tool" >&6; }
11957
12739
  else
11958
12740
    # We need a cross tool
11959
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11960
 
echo "${ECHO_T}pre-installed" >&6
 
12741
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12742
$as_echo "pre-installed" >&6; }
11961
12743
  fi
11962
12744
fi
11963
12745
 
11964
 
echo "$as_me:$LINENO: checking where to find the target gcj" >&5
11965
 
echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
 
12746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
 
12747
$as_echo_n "checking where to find the target gcj... " >&6; }
11966
12748
if test "x${build}" != "x${host}" ; then
11967
12749
  if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
11968
12750
    # We already found the complete path
11969
12751
    ac_dir=`dirname $GCJ_FOR_TARGET`
11970
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11971
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12752
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12753
$as_echo "pre-installed in $ac_dir" >&6; }
11972
12754
  else
11973
12755
    # Canadian cross, just use what we found
11974
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
11975
 
echo "${ECHO_T}pre-installed" >&6
 
12756
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12757
$as_echo "pre-installed" >&6; }
11976
12758
  fi
11977
12759
else
11978
12760
  ok=yes
11987
12769
  if test $ok = yes; then
11988
12770
    # An in-tree tool is available and we can use it
11989
12771
    GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
11990
 
    echo "$as_me:$LINENO: result: just compiled" >&5
11991
 
echo "${ECHO_T}just compiled" >&6
 
12772
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12773
$as_echo "just compiled" >&6; }
11992
12774
  elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
11993
12775
    # We already found the complete path
11994
12776
    ac_dir=`dirname $GCJ_FOR_TARGET`
11995
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
11996
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12777
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12778
$as_echo "pre-installed in $ac_dir" >&6; }
11997
12779
  elif test "x$target" = "x$host"; then
11998
12780
    # We can use an host tool
11999
12781
    GCJ_FOR_TARGET='$(GCJ)'
12000
 
    echo "$as_me:$LINENO: result: host tool" >&5
12001
 
echo "${ECHO_T}host tool" >&6
 
12782
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12783
$as_echo "host tool" >&6; }
12002
12784
  else
12003
12785
    # We need a cross tool
12004
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12005
 
echo "${ECHO_T}pre-installed" >&6
 
12786
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12787
$as_echo "pre-installed" >&6; }
12006
12788
  fi
12007
12789
fi
12008
12790
 
12009
 
echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
12010
 
echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
 
12791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
 
12792
$as_echo_n "checking where to find the target gfortran... " >&6; }
12011
12793
if test "x${build}" != "x${host}" ; then
12012
12794
  if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12013
12795
    # We already found the complete path
12014
12796
    ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12015
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12016
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12797
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12798
$as_echo "pre-installed in $ac_dir" >&6; }
12017
12799
  else
12018
12800
    # Canadian cross, just use what we found
12019
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12020
 
echo "${ECHO_T}pre-installed" >&6
 
12801
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12802
$as_echo "pre-installed" >&6; }
12021
12803
  fi
12022
12804
else
12023
12805
  ok=yes
12032
12814
  if test $ok = yes; then
12033
12815
    # An in-tree tool is available and we can use it
12034
12816
    GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12035
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12036
 
echo "${ECHO_T}just compiled" >&6
 
12817
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12818
$as_echo "just compiled" >&6; }
12037
12819
  elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
12038
12820
    # We already found the complete path
12039
12821
    ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12040
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12041
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12822
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12823
$as_echo "pre-installed in $ac_dir" >&6; }
12042
12824
  elif test "x$target" = "x$host"; then
12043
12825
    # We can use an host tool
12044
12826
    GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12045
 
    echo "$as_me:$LINENO: result: host tool" >&5
12046
 
echo "${ECHO_T}host tool" >&6
 
12827
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12828
$as_echo "host tool" >&6; }
12047
12829
  else
12048
12830
    # We need a cross tool
12049
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12050
 
echo "${ECHO_T}pre-installed" >&6
 
12831
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12832
$as_echo "pre-installed" >&6; }
12051
12833
  fi
12052
12834
fi
12053
12835
 
12054
 
echo "$as_me:$LINENO: checking where to find the target ld" >&5
12055
 
echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
 
12836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
 
12837
$as_echo_n "checking where to find the target ld... " >&6; }
12056
12838
if test "x${build}" != "x${host}" ; then
12057
12839
  if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12058
12840
    # We already found the complete path
12059
12841
    ac_dir=`dirname $LD_FOR_TARGET`
12060
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12061
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12842
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12843
$as_echo "pre-installed in $ac_dir" >&6; }
12062
12844
  else
12063
12845
    # Canadian cross, just use what we found
12064
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12065
 
echo "${ECHO_T}pre-installed" >&6
 
12846
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12847
$as_echo "pre-installed" >&6; }
12066
12848
  fi
12067
12849
else
12068
12850
  ok=yes
12074
12856
  if test $ok = yes; then
12075
12857
    # An in-tree tool is available and we can use it
12076
12858
    LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12077
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12078
 
echo "${ECHO_T}just compiled" >&6
 
12859
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12860
$as_echo "just compiled" >&6; }
12079
12861
  elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
12080
12862
    # We already found the complete path
12081
12863
    ac_dir=`dirname $LD_FOR_TARGET`
12082
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12083
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12864
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12865
$as_echo "pre-installed in $ac_dir" >&6; }
12084
12866
  elif test "x$target" = "x$host"; then
12085
12867
    # We can use an host tool
12086
12868
    LD_FOR_TARGET='$(LD)'
12087
 
    echo "$as_me:$LINENO: result: host tool" >&5
12088
 
echo "${ECHO_T}host tool" >&6
 
12869
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12870
$as_echo "host tool" >&6; }
12089
12871
  else
12090
12872
    # We need a cross tool
12091
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12092
 
echo "${ECHO_T}pre-installed" >&6
 
12873
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12874
$as_echo "pre-installed" >&6; }
12093
12875
  fi
12094
12876
fi
12095
12877
 
12096
 
echo "$as_me:$LINENO: checking where to find the target lipo" >&5
12097
 
echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
 
12878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
 
12879
$as_echo_n "checking where to find the target lipo... " >&6; }
12098
12880
if test "x${build}" != "x${host}" ; then
12099
12881
  if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12100
12882
    # We already found the complete path
12101
12883
    ac_dir=`dirname $LIPO_FOR_TARGET`
12102
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12103
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12884
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12885
$as_echo "pre-installed in $ac_dir" >&6; }
12104
12886
  else
12105
12887
    # Canadian cross, just use what we found
12106
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12107
 
echo "${ECHO_T}pre-installed" >&6
 
12888
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12889
$as_echo "pre-installed" >&6; }
12108
12890
  fi
12109
12891
else
12110
12892
  if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
12111
12893
    # We already found the complete path
12112
12894
    ac_dir=`dirname $LIPO_FOR_TARGET`
12113
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12114
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12895
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12896
$as_echo "pre-installed in $ac_dir" >&6; }
12115
12897
  elif test "x$target" = "x$host"; then
12116
12898
    # We can use an host tool
12117
12899
    LIPO_FOR_TARGET='$(LIPO)'
12118
 
    echo "$as_me:$LINENO: result: host tool" >&5
12119
 
echo "${ECHO_T}host tool" >&6
 
12900
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12901
$as_echo "host tool" >&6; }
12120
12902
  else
12121
12903
    # We need a cross tool
12122
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12123
 
echo "${ECHO_T}pre-installed" >&6
 
12904
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12905
$as_echo "pre-installed" >&6; }
12124
12906
  fi
12125
12907
fi
12126
12908
 
12127
 
echo "$as_me:$LINENO: checking where to find the target nm" >&5
12128
 
echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
 
12909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
 
12910
$as_echo_n "checking where to find the target nm... " >&6; }
12129
12911
if test "x${build}" != "x${host}" ; then
12130
12912
  if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12131
12913
    # We already found the complete path
12132
12914
    ac_dir=`dirname $NM_FOR_TARGET`
12133
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12134
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12915
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12916
$as_echo "pre-installed in $ac_dir" >&6; }
12135
12917
  else
12136
12918
    # Canadian cross, just use what we found
12137
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12138
 
echo "${ECHO_T}pre-installed" >&6
 
12919
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12920
$as_echo "pre-installed" >&6; }
12139
12921
  fi
12140
12922
else
12141
12923
  ok=yes
12147
12929
  if test $ok = yes; then
12148
12930
    # An in-tree tool is available and we can use it
12149
12931
    NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12150
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12151
 
echo "${ECHO_T}just compiled" >&6
 
12932
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12933
$as_echo "just compiled" >&6; }
12152
12934
  elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
12153
12935
    # We already found the complete path
12154
12936
    ac_dir=`dirname $NM_FOR_TARGET`
12155
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12156
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12937
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12938
$as_echo "pre-installed in $ac_dir" >&6; }
12157
12939
  elif test "x$target" = "x$host"; then
12158
12940
    # We can use an host tool
12159
12941
    NM_FOR_TARGET='$(NM)'
12160
 
    echo "$as_me:$LINENO: result: host tool" >&5
12161
 
echo "${ECHO_T}host tool" >&6
 
12942
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12943
$as_echo "host tool" >&6; }
12162
12944
  else
12163
12945
    # We need a cross tool
12164
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12165
 
echo "${ECHO_T}pre-installed" >&6
 
12946
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12947
$as_echo "pre-installed" >&6; }
12166
12948
  fi
12167
12949
fi
12168
12950
 
12169
 
echo "$as_me:$LINENO: checking where to find the target objdump" >&5
12170
 
echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
 
12951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
 
12952
$as_echo_n "checking where to find the target objdump... " >&6; }
12171
12953
if test "x${build}" != "x${host}" ; then
12172
12954
  if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12173
12955
    # We already found the complete path
12174
12956
    ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12175
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12176
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12957
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12958
$as_echo "pre-installed in $ac_dir" >&6; }
12177
12959
  else
12178
12960
    # Canadian cross, just use what we found
12179
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12180
 
echo "${ECHO_T}pre-installed" >&6
 
12961
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12962
$as_echo "pre-installed" >&6; }
12181
12963
  fi
12182
12964
else
12183
12965
  ok=yes
12189
12971
  if test $ok = yes; then
12190
12972
    # An in-tree tool is available and we can use it
12191
12973
    OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
12192
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12193
 
echo "${ECHO_T}just compiled" >&6
 
12974
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
12975
$as_echo "just compiled" >&6; }
12194
12976
  elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
12195
12977
    # We already found the complete path
12196
12978
    ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12197
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12198
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12979
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
12980
$as_echo "pre-installed in $ac_dir" >&6; }
12199
12981
  elif test "x$target" = "x$host"; then
12200
12982
    # We can use an host tool
12201
12983
    OBJDUMP_FOR_TARGET='$(OBJDUMP)'
12202
 
    echo "$as_me:$LINENO: result: host tool" >&5
12203
 
echo "${ECHO_T}host tool" >&6
 
12984
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
12985
$as_echo "host tool" >&6; }
12204
12986
  else
12205
12987
    # We need a cross tool
12206
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12207
 
echo "${ECHO_T}pre-installed" >&6
 
12988
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
12989
$as_echo "pre-installed" >&6; }
12208
12990
  fi
12209
12991
fi
12210
12992
 
12211
 
echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
12212
 
echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
 
12993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
 
12994
$as_echo_n "checking where to find the target ranlib... " >&6; }
12213
12995
if test "x${build}" != "x${host}" ; then
12214
12996
  if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
12215
12997
    # We already found the complete path
12216
12998
    ac_dir=`dirname $RANLIB_FOR_TARGET`
12217
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12218
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
12999
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13000
$as_echo "pre-installed in $ac_dir" >&6; }
12219
13001
  else
12220
13002
    # Canadian cross, just use what we found
12221
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12222
 
echo "${ECHO_T}pre-installed" >&6
 
13003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13004
$as_echo "pre-installed" >&6; }
12223
13005
  fi
12224
13006
else
12225
13007
  ok=yes
12231
13013
  if test $ok = yes; then
12232
13014
    # An in-tree tool is available and we can use it
12233
13015
    RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
12234
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12235
 
echo "${ECHO_T}just compiled" >&6
 
13016
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
13017
$as_echo "just compiled" >&6; }
12236
13018
  elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
12237
13019
    # We already found the complete path
12238
13020
    ac_dir=`dirname $RANLIB_FOR_TARGET`
12239
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12240
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13021
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13022
$as_echo "pre-installed in $ac_dir" >&6; }
12241
13023
  elif test "x$target" = "x$host"; then
12242
13024
    # We can use an host tool
12243
13025
    RANLIB_FOR_TARGET='$(RANLIB)'
12244
 
    echo "$as_me:$LINENO: result: host tool" >&5
12245
 
echo "${ECHO_T}host tool" >&6
 
13026
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
13027
$as_echo "host tool" >&6; }
12246
13028
  else
12247
13029
    # We need a cross tool
12248
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12249
 
echo "${ECHO_T}pre-installed" >&6
 
13030
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13031
$as_echo "pre-installed" >&6; }
12250
13032
  fi
12251
13033
fi
12252
13034
 
12253
 
echo "$as_me:$LINENO: checking where to find the target strip" >&5
12254
 
echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
 
13035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
 
13036
$as_echo_n "checking where to find the target strip... " >&6; }
12255
13037
if test "x${build}" != "x${host}" ; then
12256
13038
  if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
12257
13039
    # We already found the complete path
12258
13040
    ac_dir=`dirname $STRIP_FOR_TARGET`
12259
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12260
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13041
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13042
$as_echo "pre-installed in $ac_dir" >&6; }
12261
13043
  else
12262
13044
    # Canadian cross, just use what we found
12263
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12264
 
echo "${ECHO_T}pre-installed" >&6
 
13045
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13046
$as_echo "pre-installed" >&6; }
12265
13047
  fi
12266
13048
else
12267
13049
  ok=yes
12273
13055
  if test $ok = yes; then
12274
13056
    # An in-tree tool is available and we can use it
12275
13057
    STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
12276
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12277
 
echo "${ECHO_T}just compiled" >&6
 
13058
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
13059
$as_echo "just compiled" >&6; }
12278
13060
  elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
12279
13061
    # We already found the complete path
12280
13062
    ac_dir=`dirname $STRIP_FOR_TARGET`
12281
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12282
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13063
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13064
$as_echo "pre-installed in $ac_dir" >&6; }
12283
13065
  elif test "x$target" = "x$host"; then
12284
13066
    # We can use an host tool
12285
13067
    STRIP_FOR_TARGET='$(STRIP)'
12286
 
    echo "$as_me:$LINENO: result: host tool" >&5
12287
 
echo "${ECHO_T}host tool" >&6
 
13068
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
13069
$as_echo "host tool" >&6; }
12288
13070
  else
12289
13071
    # We need a cross tool
12290
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12291
 
echo "${ECHO_T}pre-installed" >&6
 
13072
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13073
$as_echo "pre-installed" >&6; }
12292
13074
  fi
12293
13075
fi
12294
13076
 
12295
 
echo "$as_me:$LINENO: checking where to find the target windres" >&5
12296
 
echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
 
13077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
 
13078
$as_echo_n "checking where to find the target windres... " >&6; }
12297
13079
if test "x${build}" != "x${host}" ; then
12298
13080
  if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
12299
13081
    # We already found the complete path
12300
13082
    ac_dir=`dirname $WINDRES_FOR_TARGET`
12301
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12302
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13083
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13084
$as_echo "pre-installed in $ac_dir" >&6; }
12303
13085
  else
12304
13086
    # Canadian cross, just use what we found
12305
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12306
 
echo "${ECHO_T}pre-installed" >&6
 
13087
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13088
$as_echo "pre-installed" >&6; }
12307
13089
  fi
12308
13090
else
12309
13091
  ok=yes
12315
13097
  if test $ok = yes; then
12316
13098
    # An in-tree tool is available and we can use it
12317
13099
    WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
12318
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12319
 
echo "${ECHO_T}just compiled" >&6
 
13100
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
13101
$as_echo "just compiled" >&6; }
12320
13102
  elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
12321
13103
    # We already found the complete path
12322
13104
    ac_dir=`dirname $WINDRES_FOR_TARGET`
12323
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12324
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13105
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13106
$as_echo "pre-installed in $ac_dir" >&6; }
12325
13107
  elif test "x$target" = "x$host"; then
12326
13108
    # We can use an host tool
12327
13109
    WINDRES_FOR_TARGET='$(WINDRES)'
12328
 
    echo "$as_me:$LINENO: result: host tool" >&5
12329
 
echo "${ECHO_T}host tool" >&6
 
13110
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
13111
$as_echo "host tool" >&6; }
12330
13112
  else
12331
13113
    # We need a cross tool
12332
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12333
 
echo "${ECHO_T}pre-installed" >&6
 
13114
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13115
$as_echo "pre-installed" >&6; }
12334
13116
  fi
12335
13117
fi
12336
13118
 
12337
 
echo "$as_me:$LINENO: checking where to find the target windmc" >&5
12338
 
echo $ECHO_N "checking where to find the target windmc... $ECHO_C" >&6
 
13119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
 
13120
$as_echo_n "checking where to find the target windmc... " >&6; }
12339
13121
if test "x${build}" != "x${host}" ; then
12340
13122
  if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
12341
13123
    # We already found the complete path
12342
13124
    ac_dir=`dirname $WINDMC_FOR_TARGET`
12343
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12344
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13125
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13126
$as_echo "pre-installed in $ac_dir" >&6; }
12345
13127
  else
12346
13128
    # Canadian cross, just use what we found
12347
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12348
 
echo "${ECHO_T}pre-installed" >&6
 
13129
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13130
$as_echo "pre-installed" >&6; }
12349
13131
  fi
12350
13132
else
12351
13133
  ok=yes
12357
13139
  if test $ok = yes; then
12358
13140
    # An in-tree tool is available and we can use it
12359
13141
    WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
12360
 
    echo "$as_me:$LINENO: result: just compiled" >&5
12361
 
echo "${ECHO_T}just compiled" >&6
 
13142
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
 
13143
$as_echo "just compiled" >&6; }
12362
13144
  elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
12363
13145
    # We already found the complete path
12364
13146
    ac_dir=`dirname $WINDMC_FOR_TARGET`
12365
 
    echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
12366
 
echo "${ECHO_T}pre-installed in $ac_dir" >&6
 
13147
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
 
13148
$as_echo "pre-installed in $ac_dir" >&6; }
12367
13149
  elif test "x$target" = "x$host"; then
12368
13150
    # We can use an host tool
12369
13151
    WINDMC_FOR_TARGET='$(WINDMC)'
12370
 
    echo "$as_me:$LINENO: result: host tool" >&5
12371
 
echo "${ECHO_T}host tool" >&6
 
13152
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
 
13153
$as_echo "host tool" >&6; }
12372
13154
  else
12373
13155
    # We need a cross tool
12374
 
    echo "$as_me:$LINENO: result: pre-installed" >&5
12375
 
echo "${ECHO_T}pre-installed" >&6
 
13156
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
 
13157
$as_echo "pre-installed" >&6; }
12376
13158
  fi
12377
13159
fi
12378
13160
 
12404
13186
 
12405
13187
 
12406
13188
 
12407
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12408
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12409
 
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12410
 
if test "${enable_maintainer_mode+set}" = set; then
12411
 
  enableval="$enable_maintainer_mode"
12412
 
  USE_MAINTAINER_MODE=$enableval
 
13189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
13190
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
13191
# Check whether --enable-maintainer-mode was given.
 
13192
if test "${enable_maintainer_mode+set}" = set; then :
 
13193
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12413
13194
else
12414
13195
  USE_MAINTAINER_MODE=no
12415
 
fi;
12416
 
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12417
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
13196
fi
 
13197
 
 
13198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
13199
$as_echo "$USE_MAINTAINER_MODE" >&6; }
12418
13200
 
12419
13201
 
12420
13202
if test "$USE_MAINTAINER_MODE" = yes; then
12441
13223
esac
12442
13224
 
12443
13225
# This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
12444
 
if test "$GCC" = yes; then
 
13226
if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
12445
13227
  saved_CFLAGS="$CFLAGS"
12446
13228
 
12447
13229
  # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
12448
13230
  CFLAGS="$CFLAGS -fkeep-inline-functions"
12449
 
  echo "$as_me:$LINENO: checking whether -fkeep-inline-functions is supported" >&5
12450
 
echo $ECHO_N "checking whether -fkeep-inline-functions is supported... $ECHO_C" >&6
12451
 
  cat >conftest.$ac_ext <<_ACEOF
12452
 
/* confdefs.h.  */
12453
 
_ACEOF
12454
 
cat confdefs.h >>conftest.$ac_ext
12455
 
cat >>conftest.$ac_ext <<_ACEOF
 
13231
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
 
13232
$as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
 
13233
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456
13234
/* end confdefs.h.  */
12457
13235
 
12458
13236
#if (__GNUC__ < 3) \
12469
13247
  return 0;
12470
13248
}
12471
13249
_ACEOF
12472
 
rm -f conftest.$ac_objext
12473
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12474
 
  (eval $ac_compile) 2>conftest.er1
12475
 
  ac_status=$?
12476
 
  grep -v '^ *+' conftest.er1 >conftest.err
12477
 
  rm -f conftest.er1
12478
 
  cat conftest.err >&5
12479
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480
 
  (exit $ac_status); } &&
12481
 
         { ac_try='test -z "$ac_c_werror_flag"
12482
 
                         || test ! -s conftest.err'
12483
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484
 
  (eval $ac_try) 2>&5
12485
 
  ac_status=$?
12486
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487
 
  (exit $ac_status); }; } &&
12488
 
         { ac_try='test -s conftest.$ac_objext'
12489
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490
 
  (eval $ac_try) 2>&5
12491
 
  ac_status=$?
12492
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493
 
  (exit $ac_status); }; }; then
12494
 
  echo "$as_me:$LINENO: result: yes" >&5
12495
 
echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
 
13250
if ac_fn_c_try_compile "$LINENO"; then :
 
13251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13252
$as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
12496
13253
else
12497
 
  echo "$as_me: failed program was:" >&5
12498
 
sed 's/^/| /' conftest.$ac_ext >&5
12499
 
 
12500
 
echo "$as_me:$LINENO: result: no" >&5
12501
 
echo "${ECHO_T}no" >&6
 
13254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13255
$as_echo "no" >&6; }
12502
13256
fi
12503
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
13257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12504
13258
 
12505
13259
  CFLAGS="$saved_CFLAGS"
12506
13260
fi
12508
13262
 
12509
13263
 
12510
13264
# Enable --enable-checking in stage1 of the compiler.
12511
 
# Check whether --enable-stage1-checking or --disable-stage1-checking was given.
12512
 
if test "${enable_stage1_checking+set}" = set; then
12513
 
  enableval="$enable_stage1_checking"
12514
 
  stage1_checking=--enable-checking=${enable_stage1_checking}
 
13265
# Check whether --enable-stage1-checking was given.
 
13266
if test "${enable_stage1_checking+set}" = set; then :
 
13267
  enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
12515
13268
else
12516
13269
  if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
12517
13270
  stage1_checking=--enable-checking=yes,types
12518
13271
else
12519
13272
  stage1_checking=--enable-checking=$enable_checking,types
12520
13273
fi
12521
 
fi;
 
13274
fi
 
13275
 
12522
13276
 
12523
13277
 
12524
13278
# Enable -Werror in bootstrap stage2 and later.
12525
 
# Check whether --enable-werror or --disable-werror was given.
12526
 
if test "${enable_werror+set}" = set; then
12527
 
  enableval="$enable_werror"
12528
 
 
 
13279
# Check whether --enable-werror was given.
 
13280
if test "${enable_werror+set}" = set; then :
 
13281
  enableval=$enable_werror;
12529
13282
else
12530
13283
  if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
12531
13284
  enable_werror=yes
12532
13285
else
12533
13286
  enable_werror=no
12534
13287
fi
12535
 
fi;
 
13288
fi
 
13289
 
12536
13290
case ${enable_werror} in
12537
13291
  yes) stage2_werror_flag="--enable-werror-always" ;;
12538
13292
  *) stage2_werror_flag="" ;;
12539
13293
esac
12540
13294
 
12541
13295
 
12542
 
# Flags needed to enable html installing and building
12543
 
 
12544
 
# Check whether --with-datarootdir or --without-datarootdir was given.
12545
 
if test "${with_datarootdir+set}" = set; then
12546
 
  withval="$with_datarootdir"
12547
 
  datarootdir="\${prefix}/${withval}"
12548
 
else
12549
 
  datarootdir="\${prefix}/share"
12550
 
fi;
12551
 
 
12552
 
 
12553
 
# Check whether --with-docdir or --without-docdir was given.
12554
 
if test "${with_docdir+set}" = set; then
12555
 
  withval="$with_docdir"
12556
 
  docdir="\${prefix}/${withval}"
12557
 
else
12558
 
  docdir="\${datarootdir}/doc"
12559
 
fi;
12560
 
 
12561
 
 
12562
 
# Check whether --with-pdfdir or --without-pdfdir was given.
12563
 
if test "${with_pdfdir+set}" = set; then
12564
 
  withval="$with_pdfdir"
12565
 
  pdfdir="\${prefix}/${withval}"
12566
 
else
12567
 
  pdfdir="\${docdir}"
12568
 
fi;
12569
 
 
12570
 
 
12571
 
# Check whether --with-htmldir or --without-htmldir was given.
12572
 
if test "${with_htmldir+set}" = set; then
12573
 
  withval="$with_htmldir"
12574
 
  htmldir="\${prefix}/${withval}"
12575
 
else
12576
 
  htmldir="\${docdir}"
12577
 
fi;
12578
 
 
12579
 
 
12580
 
 
12581
 
 
12582
 
 
12583
 
 
12584
 
          ac_config_files="$ac_config_files Makefile"
 
13296
# Specify what files to not compare during bootstrap.
 
13297
 
 
13298
compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
 
13299
case "$target" in
 
13300
  hppa*64*-*-hpux*) ;;
 
13301
  hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
 
13302
esac
 
13303
 
 
13304
 
 
13305
ac_config_files="$ac_config_files Makefile"
 
13306
 
12585
13307
cat >confcache <<\_ACEOF
12586
13308
# This file is a shell script that caches the results of configure
12587
13309
# tests run on this system so they can be shared between configure
12600
13322
 
12601
13323
# The following way of writing the cache mishandles newlines in values,
12602
13324
# but we know of no workaround that is simple, portable, and efficient.
12603
 
# So, don't put newlines in cache variables' values.
 
13325
# So, we kill variables containing newlines.
12604
13326
# Ultrix sh set writes to stderr and can't be redirected directly,
12605
13327
# and sets the high bit in the cache file unless we assign to the vars.
12606
 
{
 
13328
(
 
13329
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
13330
    eval ac_val=\$$ac_var
 
13331
    case $ac_val in #(
 
13332
    *${as_nl}*)
 
13333
      case $ac_var in #(
 
13334
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
13335
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
13336
      esac
 
13337
      case $ac_var in #(
 
13338
      _ | IFS | as_nl) ;; #(
 
13339
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
13340
      *) { eval $ac_var=; unset $ac_var;} ;;
 
13341
      esac ;;
 
13342
    esac
 
13343
  done
 
13344
 
12607
13345
  (set) 2>&1 |
12608
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
12609
 
    *ac_space=\ *)
12610
 
      # `set' does not quote correctly, so add quotes (double-quote
12611
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13346
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
13347
    *${as_nl}ac_space=\ *)
 
13348
      # `set' does not quote correctly, so add quotes: double-quote
 
13349
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12612
13350
      sed -n \
12613
13351
        "s/'/'\\\\''/g;
12614
13352
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12615
 
      ;;
 
13353
      ;; #(
12616
13354
    *)
12617
13355
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12618
 
      sed -n \
12619
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
13356
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12620
13357
      ;;
12621
 
    esac;
12622
 
} |
 
13358
    esac |
 
13359
    sort
 
13360
) |
12623
13361
  sed '
 
13362
     /^ac_cv_env_/b end
12624
13363
     t clear
12625
 
     : clear
 
13364
     :clear
12626
13365
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12627
13366
     t end
12628
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12629
 
     : end' >>confcache
12630
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
12631
 
  if test -w $cache_file; then
12632
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
13367
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
13368
     :end' >>confcache
 
13369
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
13370
  if test -w "$cache_file"; then
 
13371
    test "x$cache_file" != "x/dev/null" &&
 
13372
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
13373
$as_echo "$as_me: updating cache $cache_file" >&6;}
12633
13374
    cat confcache >$cache_file
12634
13375
  else
12635
 
    echo "not updating unwritable cache $cache_file"
 
13376
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
13377
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12636
13378
  fi
12637
13379
fi
12638
13380
rm -f confcache
12641
13383
# Let make expand exec_prefix.
12642
13384
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12643
13385
 
12644
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12645
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12646
 
# trailing colons and then remove the whole line if VPATH becomes empty
12647
 
# (actually we leave an empty line to preserve line numbers).
12648
 
if test "x$srcdir" = x.; then
12649
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
12650
 
s/:*\$(srcdir):*/:/;
12651
 
s/:*\${srcdir}:*/:/;
12652
 
s/:*@srcdir@:*/:/;
12653
 
s/^\([^=]*=[     ]*\):*/\1/;
12654
 
s/:*$//;
12655
 
s/^[^=]*=[       ]*$//;
12656
 
}'
12657
 
fi
12658
 
 
12659
13386
# Transform confdefs.h into DEFS.
12660
13387
# Protect against shell expansion while executing Makefile rules.
12661
13388
# Protect against Makefile macro expansion.
12662
13389
#
12663
13390
# If the first sed substitution is executed (which looks for macros that
12664
 
# take arguments), then we branch to the quote section.  Otherwise,
 
13391
# take arguments), then branch to the quote section.  Otherwise,
12665
13392
# look for a macro that doesn't take arguments.
12666
 
cat >confdef2opt.sed <<\_ACEOF
 
13393
ac_script='
 
13394
:mline
 
13395
/\\$/{
 
13396
 N
 
13397
 s,\\\n,,
 
13398
 b mline
 
13399
}
12667
13400
t clear
12668
 
: clear
12669
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
12670
 
t quote
12671
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
12672
 
t quote
12673
 
d
12674
 
: quote
12675
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
12676
 
s,\[,\\&,g
12677
 
s,\],\\&,g
12678
 
s,\$,$$,g
12679
 
p
12680
 
_ACEOF
12681
 
# We use echo to avoid assuming a particular line-breaking character.
12682
 
# The extra dot is to prevent the shell from consuming trailing
12683
 
# line-breaks from the sub-command output.  A line-break within
12684
 
# single-quotes doesn't work because, if this script is created in a
12685
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
12686
 
# would break.
12687
 
ac_LF_and_DOT=`echo; echo .`
12688
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
12689
 
rm -f confdef2opt.sed
 
13401
:clear
 
13402
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
13403
t quote
 
13404
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
13405
t quote
 
13406
b any
 
13407
:quote
 
13408
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
13409
s/\[/\\&/g
 
13410
s/\]/\\&/g
 
13411
s/\$/$$/g
 
13412
H
 
13413
:any
 
13414
${
 
13415
        g
 
13416
        s/^\n//
 
13417
        s/\n/ /g
 
13418
        p
 
13419
}
 
13420
'
 
13421
DEFS=`sed -n "$ac_script" confdefs.h`
12690
13422
 
12691
13423
 
12692
13424
ac_libobjs=
12693
13425
ac_ltlibobjs=
12694
13426
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12695
13427
  # 1. Remove the extension, and $U if already installed.
12696
 
  ac_i=`echo "$ac_i" |
12697
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12698
 
  # 2. Add them.
12699
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12700
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
13428
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
13429
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
13430
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
13431
  #    will be set to the directory where LIBOBJS objects are built.
 
13432
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13433
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12701
13434
done
12702
13435
LIBOBJS=$ac_libobjs
12703
13436
 
12706
13439
 
12707
13440
 
12708
13441
: ${CONFIG_STATUS=./config.status}
 
13442
ac_write_fail=0
12709
13443
ac_clean_files_save=$ac_clean_files
12710
13444
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12711
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12712
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
12713
 
cat >$CONFIG_STATUS <<_ACEOF
 
13445
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
13446
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13447
as_write_fail=0
 
13448
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12714
13449
#! $SHELL
12715
13450
# Generated by $as_me.
12716
13451
# Run this file to recreate the current configuration.
12720
13455
debug=false
12721
13456
ac_cs_recheck=false
12722
13457
ac_cs_silent=false
 
13458
 
12723
13459
SHELL=\${CONFIG_SHELL-$SHELL}
12724
 
_ACEOF
12725
 
 
12726
 
cat >>$CONFIG_STATUS <<\_ACEOF
12727
 
## --------------------- ##
12728
 
## M4sh Initialization.  ##
12729
 
## --------------------- ##
12730
 
 
12731
 
# Be Bourne compatible
12732
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13460
export SHELL
 
13461
_ASEOF
 
13462
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13463
## -------------------- ##
 
13464
## M4sh Initialization. ##
 
13465
## -------------------- ##
 
13466
 
 
13467
# Be more Bourne compatible
 
13468
DUALCASE=1; export DUALCASE # for MKS sh
 
13469
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12733
13470
  emulate sh
12734
13471
  NULLCMD=:
12735
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
13472
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12736
13473
  # is contrary to our usage.  Disable this feature.
12737
13474
  alias -g '${1+"$@"}'='"$@"'
12738
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12739
 
  set -o posix
12740
 
fi
12741
 
DUALCASE=1; export DUALCASE # for MKS sh
12742
 
 
12743
 
# Support unset when possible.
12744
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12745
 
  as_unset=unset
12746
 
else
12747
 
  as_unset=false
12748
 
fi
12749
 
 
12750
 
 
12751
 
# Work around bugs in pre-3.0 UWIN ksh.
12752
 
$as_unset ENV MAIL MAILPATH
 
13475
  setopt NO_GLOB_SUBST
 
13476
else
 
13477
  case `(set -o) 2>/dev/null` in #(
 
13478
  *posix*) :
 
13479
    set -o posix ;; #(
 
13480
  *) :
 
13481
     ;;
 
13482
esac
 
13483
fi
 
13484
 
 
13485
 
 
13486
as_nl='
 
13487
'
 
13488
export as_nl
 
13489
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13490
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13491
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13492
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13493
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13494
# but without wasting forks for bash or zsh.
 
13495
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13496
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13497
  as_echo='print -r --'
 
13498
  as_echo_n='print -rn --'
 
13499
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13500
  as_echo='printf %s\n'
 
13501
  as_echo_n='printf %s'
 
13502
else
 
13503
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13504
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13505
    as_echo_n='/usr/ucb/echo -n'
 
13506
  else
 
13507
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13508
    as_echo_n_body='eval
 
13509
      arg=$1;
 
13510
      case $arg in #(
 
13511
      *"$as_nl"*)
 
13512
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13513
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13514
      esac;
 
13515
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13516
    '
 
13517
    export as_echo_n_body
 
13518
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13519
  fi
 
13520
  export as_echo_body
 
13521
  as_echo='sh -c $as_echo_body as_echo'
 
13522
fi
 
13523
 
 
13524
# The user is always right.
 
13525
if test "${PATH_SEPARATOR+set}" != set; then
 
13526
  PATH_SEPARATOR=:
 
13527
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13528
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13529
      PATH_SEPARATOR=';'
 
13530
  }
 
13531
fi
 
13532
 
 
13533
 
 
13534
# IFS
 
13535
# We need space, tab and new line, in precisely that order.  Quoting is
 
13536
# there to prevent editors from complaining about space-tab.
 
13537
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
13538
# splitting by setting IFS to empty value.)
 
13539
IFS=" ""        $as_nl"
 
13540
 
 
13541
# Find who we are.  Look in the path if we contain no directory separator.
 
13542
case $0 in #((
 
13543
  *[\\/]* ) as_myself=$0 ;;
 
13544
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13545
for as_dir in $PATH
 
13546
do
 
13547
  IFS=$as_save_IFS
 
13548
  test -z "$as_dir" && as_dir=.
 
13549
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13550
  done
 
13551
IFS=$as_save_IFS
 
13552
 
 
13553
     ;;
 
13554
esac
 
13555
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
13556
# in which case we are not to be found in the path.
 
13557
if test "x$as_myself" = x; then
 
13558
  as_myself=$0
 
13559
fi
 
13560
if test ! -f "$as_myself"; then
 
13561
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13562
  exit 1
 
13563
fi
 
13564
 
 
13565
# Unset variables that we do not need and which cause bugs (e.g. in
 
13566
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13567
# suppresses any "Segmentation fault" message there.  '((' could
 
13568
# trigger a bug in pdksh 5.2.14.
 
13569
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13570
do eval test x\${$as_var+set} = xset \
 
13571
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
13572
done
12753
13573
PS1='$ '
12754
13574
PS2='> '
12755
13575
PS4='+ '
12756
13576
 
12757
13577
# NLS nuisances.
12758
 
for as_var in \
12759
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12760
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12761
 
  LC_TELEPHONE LC_TIME
12762
 
do
12763
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12764
 
    eval $as_var=C; export $as_var
12765
 
  else
12766
 
    $as_unset $as_var
 
13578
LC_ALL=C
 
13579
export LC_ALL
 
13580
LANGUAGE=C
 
13581
export LANGUAGE
 
13582
 
 
13583
# CDPATH.
 
13584
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13585
 
 
13586
 
 
13587
# as_fn_error ERROR [LINENO LOG_FD]
 
13588
# ---------------------------------
 
13589
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13590
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13591
# script with status $?, using 1 if that was 0.
 
13592
as_fn_error ()
 
13593
{
 
13594
  as_status=$?; test $as_status -eq 0 && as_status=1
 
13595
  if test "$3"; then
 
13596
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13597
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12767
13598
  fi
12768
 
done
12769
 
 
12770
 
# Required to use basename.
12771
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
13599
  $as_echo "$as_me: error: $1" >&2
 
13600
  as_fn_exit $as_status
 
13601
} # as_fn_error
 
13602
 
 
13603
 
 
13604
# as_fn_set_status STATUS
 
13605
# -----------------------
 
13606
# Set $? to STATUS, without forking.
 
13607
as_fn_set_status ()
 
13608
{
 
13609
  return $1
 
13610
} # as_fn_set_status
 
13611
 
 
13612
# as_fn_exit STATUS
 
13613
# -----------------
 
13614
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13615
as_fn_exit ()
 
13616
{
 
13617
  set +e
 
13618
  as_fn_set_status $1
 
13619
  exit $1
 
13620
} # as_fn_exit
 
13621
 
 
13622
# as_fn_unset VAR
 
13623
# ---------------
 
13624
# Portably unset VAR.
 
13625
as_fn_unset ()
 
13626
{
 
13627
  { eval $1=; unset $1;}
 
13628
}
 
13629
as_unset=as_fn_unset
 
13630
# as_fn_append VAR VALUE
 
13631
# ----------------------
 
13632
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13633
# advantage of any shell optimizations that allow amortized linear growth over
 
13634
# repeated appends, instead of the typical quadratic growth present in naive
 
13635
# implementations.
 
13636
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13637
  eval 'as_fn_append ()
 
13638
  {
 
13639
    eval $1+=\$2
 
13640
  }'
 
13641
else
 
13642
  as_fn_append ()
 
13643
  {
 
13644
    eval $1=\$$1\$2
 
13645
  }
 
13646
fi # as_fn_append
 
13647
 
 
13648
# as_fn_arith ARG...
 
13649
# ------------------
 
13650
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13651
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13652
# must be portable across $(()) and expr.
 
13653
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13654
  eval 'as_fn_arith ()
 
13655
  {
 
13656
    as_val=$(( $* ))
 
13657
  }'
 
13658
else
 
13659
  as_fn_arith ()
 
13660
  {
 
13661
    as_val=`expr "$@" || test $? -eq 1`
 
13662
  }
 
13663
fi # as_fn_arith
 
13664
 
 
13665
 
 
13666
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
13667
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12772
13668
  as_expr=expr
12773
13669
else
12774
13670
  as_expr=false
12775
13671
fi
12776
13672
 
12777
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
13673
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12778
13674
  as_basename=basename
12779
13675
else
12780
13676
  as_basename=false
12781
13677
fi
12782
13678
 
 
13679
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13680
  as_dirname=dirname
 
13681
else
 
13682
  as_dirname=false
 
13683
fi
12783
13684
 
12784
 
# Name of the executable.
12785
 
as_me=`$as_basename "$0" ||
 
13685
as_me=`$as_basename -- "$0" ||
12786
13686
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12787
13687
         X"$0" : 'X\(//\)$' \| \
12788
 
         X"$0" : 'X\(/\)$' \| \
12789
 
         .     : '\(.\)' 2>/dev/null ||
12790
 
echo X/"$0" |
12791
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12792
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
12793
 
          /^X\/\(\/\).*/{ s//\1/; q; }
12794
 
          s/.*/./; q'`
12795
 
 
12796
 
 
12797
 
# PATH needs CR, and LINENO needs CR and PATH.
 
13688
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
13689
$as_echo X/"$0" |
 
13690
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
13691
            s//\1/
 
13692
            q
 
13693
          }
 
13694
          /^X\/\(\/\/\)$/{
 
13695
            s//\1/
 
13696
            q
 
13697
          }
 
13698
          /^X\/\(\/\).*/{
 
13699
            s//\1/
 
13700
            q
 
13701
          }
 
13702
          s/.*/./; q'`
 
13703
 
12798
13704
# Avoid depending upon Character Ranges.
12799
13705
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12800
13706
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12802
13708
as_cr_digits='0123456789'
12803
13709
as_cr_alnum=$as_cr_Letters$as_cr_digits
12804
13710
 
12805
 
# The user is always right.
12806
 
if test "${PATH_SEPARATOR+set}" != set; then
12807
 
  echo "#! /bin/sh" >conf$$.sh
12808
 
  echo  "exit 0"   >>conf$$.sh
12809
 
  chmod +x conf$$.sh
12810
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12811
 
    PATH_SEPARATOR=';'
12812
 
  else
12813
 
    PATH_SEPARATOR=:
12814
 
  fi
12815
 
  rm -f conf$$.sh
12816
 
fi
12817
 
 
12818
 
 
12819
 
  as_lineno_1=$LINENO
12820
 
  as_lineno_2=$LINENO
12821
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12822
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
12823
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
12824
 
  # Find who we are.  Look in the path if we contain no path at all
12825
 
  # relative or not.
12826
 
  case $0 in
12827
 
    *[\\/]* ) as_myself=$0 ;;
12828
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12829
 
for as_dir in $PATH
12830
 
do
12831
 
  IFS=$as_save_IFS
12832
 
  test -z "$as_dir" && as_dir=.
12833
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12834
 
done
12835
 
 
12836
 
       ;;
12837
 
  esac
12838
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
12839
 
  # in which case we are not to be found in the path.
12840
 
  if test "x$as_myself" = x; then
12841
 
    as_myself=$0
12842
 
  fi
12843
 
  if test ! -f "$as_myself"; then
12844
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12845
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12846
 
   { (exit 1); exit 1; }; }
12847
 
  fi
12848
 
  case $CONFIG_SHELL in
12849
 
  '')
12850
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12852
 
do
12853
 
  IFS=$as_save_IFS
12854
 
  test -z "$as_dir" && as_dir=.
12855
 
  for as_base in sh bash ksh sh5; do
12856
 
         case $as_dir in
12857
 
         /*)
12858
 
           if ("$as_dir/$as_base" -c '
12859
 
  as_lineno_1=$LINENO
12860
 
  as_lineno_2=$LINENO
12861
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12862
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
12863
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
12864
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12865
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12866
 
             CONFIG_SHELL=$as_dir/$as_base
12867
 
             export CONFIG_SHELL
12868
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12869
 
           fi;;
12870
 
         esac
12871
 
       done
12872
 
done
12873
 
;;
12874
 
  esac
12875
 
 
12876
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12877
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
12878
 
  # line-number line before each line; the second 'sed' does the real
12879
 
  # work.  The second script uses 'N' to pair each line-number line
12880
 
  # with the numbered line, and appends trailing '-' during
12881
 
  # substitution so that $LINENO is not a special case at line end.
12882
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12883
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
12884
 
  sed '=' <$as_myself |
12885
 
    sed '
12886
 
      N
12887
 
      s,$,-,
12888
 
      : loop
12889
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12890
 
      t loop
12891
 
      s,-$,,
12892
 
      s,^['$as_cr_digits']*\n,,
12893
 
    ' >$as_me.lineno &&
12894
 
  chmod +x $as_me.lineno ||
12895
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12896
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12897
 
   { (exit 1); exit 1; }; }
12898
 
 
12899
 
  # Don't try to exec as it changes $[0], causing all sort of problems
12900
 
  # (the dirname of $[0] is not the place where we might find the
12901
 
  # original and so on.  Autoconf is especially sensible to this).
12902
 
  . ./$as_me.lineno
12903
 
  # Exit status is that of the last command.
12904
 
  exit
12905
 
}
12906
 
 
12907
 
 
12908
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12909
 
  *c*,-n*) ECHO_N= ECHO_C='
12910
 
' ECHO_T='      ' ;;
12911
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12912
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
13711
ECHO_C= ECHO_N= ECHO_T=
 
13712
case `echo -n x` in #(((((
 
13713
-n*)
 
13714
  case `echo 'xy\c'` in
 
13715
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
13716
  xy)  ECHO_C='\c';;
 
13717
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13718
       ECHO_T=' ';;
 
13719
  esac;;
 
13720
*)
 
13721
  ECHO_N='-n';;
12913
13722
esac
12914
13723
 
12915
 
if expr a : '\(a\)' >/dev/null 2>&1; then
12916
 
  as_expr=expr
 
13724
rm -f conf$$ conf$$.exe conf$$.file
 
13725
if test -d conf$$.dir; then
 
13726
  rm -f conf$$.dir/conf$$.file
12917
13727
else
12918
 
  as_expr=false
 
13728
  rm -f conf$$.dir
 
13729
  mkdir conf$$.dir 2>/dev/null
12919
13730
fi
12920
 
 
12921
 
rm -f conf$$ conf$$.exe conf$$.file
12922
 
echo >conf$$.file
12923
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
12924
 
  # We could just check for DJGPP; but this test a) works b) is more generic
12925
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12926
 
  if test -f conf$$.exe; then
12927
 
    # Don't use ln at all; we don't have any links
 
13731
if (echo >conf$$.file) 2>/dev/null; then
 
13732
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13733
    as_ln_s='ln -s'
 
13734
    # ... but there are two gotchas:
 
13735
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13736
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13737
    # In both cases, we have to default to `cp -p'.
 
13738
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13739
      as_ln_s='cp -p'
 
13740
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13741
    as_ln_s=ln
 
13742
  else
12928
13743
    as_ln_s='cp -p'
12929
 
  else
12930
 
    as_ln_s='ln -s'
12931
13744
  fi
12932
 
elif ln conf$$.file conf$$ 2>/dev/null; then
12933
 
  as_ln_s=ln
12934
13745
else
12935
13746
  as_ln_s='cp -p'
12936
13747
fi
12937
 
rm -f conf$$ conf$$.exe conf$$.file
12938
 
 
 
13748
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
13749
rmdir conf$$.dir 2>/dev/null
 
13750
 
 
13751
 
 
13752
# as_fn_mkdir_p
 
13753
# -------------
 
13754
# Create "$as_dir" as a directory, including parents if necessary.
 
13755
as_fn_mkdir_p ()
 
13756
{
 
13757
 
 
13758
  case $as_dir in #(
 
13759
  -*) as_dir=./$as_dir;;
 
13760
  esac
 
13761
  test -d "$as_dir" || eval $as_mkdir_p || {
 
13762
    as_dirs=
 
13763
    while :; do
 
13764
      case $as_dir in #(
 
13765
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13766
      *) as_qdir=$as_dir;;
 
13767
      esac
 
13768
      as_dirs="'$as_qdir' $as_dirs"
 
13769
      as_dir=`$as_dirname -- "$as_dir" ||
 
13770
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13771
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13772
         X"$as_dir" : 'X\(//\)$' \| \
 
13773
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13774
$as_echo X"$as_dir" |
 
13775
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13776
            s//\1/
 
13777
            q
 
13778
          }
 
13779
          /^X\(\/\/\)[^/].*/{
 
13780
            s//\1/
 
13781
            q
 
13782
          }
 
13783
          /^X\(\/\/\)$/{
 
13784
            s//\1/
 
13785
            q
 
13786
          }
 
13787
          /^X\(\/\).*/{
 
13788
            s//\1/
 
13789
            q
 
13790
          }
 
13791
          s/.*/./; q'`
 
13792
      test -d "$as_dir" && break
 
13793
    done
 
13794
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13795
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13796
 
 
13797
 
 
13798
} # as_fn_mkdir_p
12939
13799
if mkdir -p . 2>/dev/null; then
12940
 
  as_mkdir_p=:
 
13800
  as_mkdir_p='mkdir -p "$as_dir"'
12941
13801
else
12942
13802
  test -d ./-p && rmdir ./-p
12943
13803
  as_mkdir_p=false
12944
13804
fi
12945
13805
 
12946
 
as_executable_p="test -f"
 
13806
if test -x / >/dev/null 2>&1; then
 
13807
  as_test_x='test -x'
 
13808
else
 
13809
  if ls -dL / >/dev/null 2>&1; then
 
13810
    as_ls_L_option=L
 
13811
  else
 
13812
    as_ls_L_option=
 
13813
  fi
 
13814
  as_test_x='
 
13815
    eval sh -c '\''
 
13816
      if test -d "$1"; then
 
13817
        test -d "$1/.";
 
13818
      else
 
13819
        case $1 in #(
 
13820
        -*)set "./$1";;
 
13821
        esac;
 
13822
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
13823
        ???[sx]*):;;*)false;;esac;fi
 
13824
    '\'' sh
 
13825
  '
 
13826
fi
 
13827
as_executable_p=$as_test_x
12947
13828
 
12948
13829
# Sed expression to map a string onto a valid CPP name.
12949
13830
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12952
13833
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12953
13834
 
12954
13835
 
12955
 
# IFS
12956
 
# We need space, tab and new line, in precisely that order.
12957
 
as_nl='
12958
 
'
12959
 
IFS="   $as_nl"
12960
 
 
12961
 
# CDPATH.
12962
 
$as_unset CDPATH
12963
 
 
12964
13836
exec 6>&1
 
13837
## ----------------------------------- ##
 
13838
## Main body of $CONFIG_STATUS script. ##
 
13839
## ----------------------------------- ##
 
13840
_ASEOF
 
13841
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12965
13842
 
12966
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
13843
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13844
# Save the log message, to keep $0 and so on meaningful, and to
12967
13845
# report actual input values of CONFIG_FILES etc. instead of their
12968
 
# values after options handling.  Logging --version etc. is OK.
12969
 
exec 5>>config.log
12970
 
{
12971
 
  echo
12972
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12973
 
## Running $as_me. ##
12974
 
_ASBOX
12975
 
} >&5
12976
 
cat >&5 <<_CSEOF
12977
 
 
 
13846
# values after options handling.
 
13847
ac_log="
12978
13848
This file was extended by $as_me, which was
12979
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
13849
generated by GNU Autoconf 2.64.  Invocation command line was
12980
13850
 
12981
13851
  CONFIG_FILES    = $CONFIG_FILES
12982
13852
  CONFIG_HEADERS  = $CONFIG_HEADERS
12984
13854
  CONFIG_COMMANDS = $CONFIG_COMMANDS
12985
13855
  $ $0 $@
12986
13856
 
12987
 
_CSEOF
12988
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12989
 
echo >&5
 
13857
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
13858
"
 
13859
 
12990
13860
_ACEOF
12991
13861
 
 
13862
case $ac_config_files in *"
 
13863
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13864
esac
 
13865
 
 
13866
 
 
13867
 
 
13868
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12992
13869
# Files that config.status was made for.
12993
 
if test -n "$ac_config_files"; then
12994
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12995
 
fi
12996
 
 
12997
 
if test -n "$ac_config_headers"; then
12998
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12999
 
fi
13000
 
 
13001
 
if test -n "$ac_config_links"; then
13002
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13003
 
fi
13004
 
 
13005
 
if test -n "$ac_config_commands"; then
13006
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13007
 
fi
13008
 
 
13009
 
cat >>$CONFIG_STATUS <<\_ACEOF
13010
 
 
 
13870
config_files="$ac_config_files"
 
13871
 
 
13872
_ACEOF
 
13873
 
 
13874
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13011
13875
ac_cs_usage="\
13012
 
\`$as_me' instantiates files from templates according to the
13013
 
current configuration.
 
13876
\`$as_me' instantiates files and other configuration actions
 
13877
from templates according to the current configuration.  Unless the files
 
13878
and actions are specified as TAGs, all are instantiated by default.
13014
13879
 
13015
 
Usage: $0 [OPTIONS] [FILE]...
 
13880
Usage: $0 [OPTION]... [TAG]...
13016
13881
 
13017
13882
  -h, --help       print this help, then exit
13018
 
  -V, --version    print version number, then exit
13019
 
  -q, --quiet      do not print progress messages
 
13883
  -V, --version    print version number and configuration settings, then exit
 
13884
  -q, --quiet, --silent
 
13885
                   do not print progress messages
13020
13886
  -d, --debug      don't remove temporary files
13021
13887
      --recheck    update $as_me by reconfiguring in the same conditions
13022
 
  --file=FILE[:TEMPLATE]
13023
 
                   instantiate the configuration file FILE
 
13888
      --file=FILE[:TEMPLATE]
 
13889
                   instantiate the configuration file FILE
13024
13890
 
13025
13891
Configuration files:
13026
13892
$config_files
13027
13893
 
13028
 
Report bugs to <bug-autoconf@gnu.org>."
 
13894
Report bugs to the package provider."
 
13895
 
13029
13896
_ACEOF
13030
 
 
13031
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13897
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13032
13898
ac_cs_version="\\
13033
13899
config.status
13034
 
configured by $0, generated by GNU Autoconf 2.59,
13035
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
13900
configured by $0, generated by GNU Autoconf 2.64,
 
13901
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13036
13902
 
13037
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
13903
Copyright (C) 2009 Free Software Foundation, Inc.
13038
13904
This config.status script is free software; the Free Software Foundation
13039
13905
gives unlimited permission to copy, distribute and modify it."
13040
 
srcdir=$srcdir
13041
 
INSTALL="$INSTALL"
 
13906
 
 
13907
ac_pwd='$ac_pwd'
 
13908
srcdir='$srcdir'
 
13909
INSTALL='$INSTALL'
 
13910
AWK='$AWK'
 
13911
test -n "\$AWK" || AWK=awk
13042
13912
_ACEOF
13043
13913
 
13044
 
cat >>$CONFIG_STATUS <<\_ACEOF
13045
 
# If no file are specified by the user, then we need to provide default
13046
 
# value.  By we need to know if files were specified by the user.
 
13914
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13915
# The default lists apply if the user does not specify any file.
13047
13916
ac_need_defaults=:
13048
13917
while test $# != 0
13049
13918
do
13050
13919
  case $1 in
13051
13920
  --*=*)
13052
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
13053
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
13921
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13922
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13054
13923
    ac_shift=:
13055
13924
    ;;
13056
 
  -*)
 
13925
  *)
13057
13926
    ac_option=$1
13058
13927
    ac_optarg=$2
13059
13928
    ac_shift=shift
13060
13929
    ;;
13061
 
  *) # This is not an option, so the user has probably given explicit
13062
 
     # arguments.
13063
 
     ac_option=$1
13064
 
     ac_need_defaults=false;;
13065
13930
  esac
13066
13931
 
13067
13932
  case $ac_option in
13068
13933
  # Handling of the options.
13069
 
_ACEOF
13070
 
cat >>$CONFIG_STATUS <<\_ACEOF
13071
13934
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13072
13935
    ac_cs_recheck=: ;;
13073
 
  --version | --vers* | -V )
13074
 
    echo "$ac_cs_version"; exit 0 ;;
13075
 
  --he | --h)
13076
 
    # Conflict between --help and --header
13077
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
13078
 
Try \`$0 --help' for more information." >&5
13079
 
echo "$as_me: error: ambiguous option: $1
13080
 
Try \`$0 --help' for more information." >&2;}
13081
 
   { (exit 1); exit 1; }; };;
13082
 
  --help | --hel | -h )
13083
 
    echo "$ac_cs_usage"; exit 0 ;;
13084
 
  --debug | --d* | -d )
 
13936
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
13937
    $as_echo "$ac_cs_version"; exit ;;
 
13938
  --debug | --debu | --deb | --de | --d | -d )
13085
13939
    debug=: ;;
13086
13940
  --file | --fil | --fi | --f )
13087
13941
    $ac_shift
13088
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13089
 
    ac_need_defaults=false;;
13090
 
  --header | --heade | --head | --hea )
13091
 
    $ac_shift
13092
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13093
 
    ac_need_defaults=false;;
 
13942
    case $ac_optarg in
 
13943
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13944
    esac
 
13945
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
13946
    ac_need_defaults=false;;
 
13947
  --he | --h |  --help | --hel | -h )
 
13948
    $as_echo "$ac_cs_usage"; exit ;;
13094
13949
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13095
13950
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13096
13951
    ac_cs_silent=: ;;
13097
13952
 
13098
13953
  # This is an error.
13099
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13100
 
Try \`$0 --help' for more information." >&5
13101
 
echo "$as_me: error: unrecognized option: $1
13102
 
Try \`$0 --help' for more information." >&2;}
13103
 
   { (exit 1); exit 1; }; } ;;
 
13954
  -*) as_fn_error "unrecognized option: \`$1'
 
13955
Try \`$0 --help' for more information." ;;
13104
13956
 
13105
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
13957
  *) as_fn_append ac_config_targets " $1"
 
13958
     ac_need_defaults=false ;;
13106
13959
 
13107
13960
  esac
13108
13961
  shift
13116
13969
fi
13117
13970
 
13118
13971
_ACEOF
13119
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13972
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13120
13973
if \$ac_cs_recheck; then
13121
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13122
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13974
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13975
  shift
 
13976
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13977
  CONFIG_SHELL='$SHELL'
 
13978
  export CONFIG_SHELL
 
13979
  exec "\$@"
13123
13980
fi
13124
13981
 
13125
13982
_ACEOF
13126
 
 
13127
 
 
13128
 
 
13129
 
 
13130
 
 
13131
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13983
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13984
exec 5>>config.log
 
13985
{
 
13986
  echo
 
13987
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
13988
## Running $as_me. ##
 
13989
_ASBOX
 
13990
  $as_echo "$ac_log"
 
13991
} >&5
 
13992
 
 
13993
_ACEOF
 
13994
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13995
_ACEOF
 
13996
 
 
13997
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13998
 
 
13999
# Handling of arguments.
13132
14000
for ac_config_target in $ac_config_targets
13133
14001
do
13134
 
  case "$ac_config_target" in
13135
 
  # Handling of arguments.
13136
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13137
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13138
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13139
 
   { (exit 1); exit 1; }; };;
 
14002
  case $ac_config_target in
 
14003
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14004
 
 
14005
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13140
14006
  esac
13141
14007
done
13142
14008
 
 
14009
 
13143
14010
# If the user did not use the arguments to specify the items to instantiate,
13144
14011
# then the envvar interface is used.  Set only those that are not.
13145
14012
# We use the long form for the default assignment because of an extremely
13149
14016
fi
13150
14017
 
13151
14018
# Have a temporary directory for convenience.  Make it in the build tree
13152
 
# simply because there is no reason to put it here, and in addition,
 
14019
# simply because there is no reason against having it here, and in addition,
13153
14020
# creating and moving files from /tmp can sometimes cause problems.
13154
 
# Create a temporary directory, and hook for its removal unless debugging.
 
14021
# Hook for its removal unless debugging.
 
14022
# Note that there is a small window in which the directory will not be cleaned:
 
14023
# after its creation but before its name has been assigned to `$tmp'.
13155
14024
$debug ||
13156
14025
{
13157
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13158
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14026
  tmp=
 
14027
  trap 'exit_status=$?
 
14028
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14029
' 0
 
14030
  trap 'as_fn_exit 1' 1 2 13 15
13159
14031
}
13160
 
 
13161
14032
# Create a (secure) tmp directory for tmp files.
13162
14033
 
13163
14034
{
13164
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
14035
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13165
14036
  test -n "$tmp" && test -d "$tmp"
13166
14037
}  ||
13167
14038
{
13168
 
  tmp=./confstat$$-$RANDOM
13169
 
  (umask 077 && mkdir $tmp)
13170
 
} ||
13171
 
{
13172
 
   echo "$me: cannot create a temporary directory in ." >&2
13173
 
   { (exit 1); exit 1; }
13174
 
}
13175
 
 
13176
 
_ACEOF
13177
 
 
13178
 
cat >>$CONFIG_STATUS <<_ACEOF
13179
 
 
13180
 
#
13181
 
# CONFIG_FILES section.
13182
 
#
13183
 
 
13184
 
# No need to generate the scripts if there are no CONFIG_FILES.
13185
 
# This happens for instance when ./config.status config.h
13186
 
if test -n "\$CONFIG_FILES"; then
13187
 
  # Protect against being on the right side of a sed subst in config.status.
13188
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13189
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13190
 
s,@SHELL@,$SHELL,;t t
13191
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13192
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13193
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13194
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13195
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13196
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13197
 
s,@exec_prefix@,$exec_prefix,;t t
13198
 
s,@prefix@,$prefix,;t t
13199
 
s,@program_transform_name@,$program_transform_name,;t t
13200
 
s,@bindir@,$bindir,;t t
13201
 
s,@sbindir@,$sbindir,;t t
13202
 
s,@libexecdir@,$libexecdir,;t t
13203
 
s,@datadir@,$datadir,;t t
13204
 
s,@sysconfdir@,$sysconfdir,;t t
13205
 
s,@sharedstatedir@,$sharedstatedir,;t t
13206
 
s,@localstatedir@,$localstatedir,;t t
13207
 
s,@libdir@,$libdir,;t t
13208
 
s,@includedir@,$includedir,;t t
13209
 
s,@oldincludedir@,$oldincludedir,;t t
13210
 
s,@infodir@,$infodir,;t t
13211
 
s,@mandir@,$mandir,;t t
13212
 
s,@build_alias@,$build_alias,;t t
13213
 
s,@host_alias@,$host_alias,;t t
13214
 
s,@target_alias@,$target_alias,;t t
13215
 
s,@DEFS@,$DEFS,;t t
13216
 
s,@ECHO_C@,$ECHO_C,;t t
13217
 
s,@ECHO_N@,$ECHO_N,;t t
13218
 
s,@ECHO_T@,$ECHO_T,;t t
13219
 
s,@LIBS@,$LIBS,;t t
13220
 
s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
13221
 
s,@build@,$build,;t t
13222
 
s,@build_cpu@,$build_cpu,;t t
13223
 
s,@build_vendor@,$build_vendor,;t t
13224
 
s,@build_os@,$build_os,;t t
13225
 
s,@build_noncanonical@,$build_noncanonical,;t t
13226
 
s,@host_noncanonical@,$host_noncanonical,;t t
13227
 
s,@target_noncanonical@,$target_noncanonical,;t t
13228
 
s,@host@,$host,;t t
13229
 
s,@host_cpu@,$host_cpu,;t t
13230
 
s,@host_vendor@,$host_vendor,;t t
13231
 
s,@host_os@,$host_os,;t t
13232
 
s,@target@,$target,;t t
13233
 
s,@target_cpu@,$target_cpu,;t t
13234
 
s,@target_vendor@,$target_vendor,;t t
13235
 
s,@target_os@,$target_os,;t t
13236
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13237
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13238
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13239
 
s,@LN@,$LN,;t t
13240
 
s,@LN_S@,$LN_S,;t t
13241
 
s,@build_libsubdir@,$build_libsubdir,;t t
13242
 
s,@build_subdir@,$build_subdir,;t t
13243
 
s,@host_subdir@,$host_subdir,;t t
13244
 
s,@target_subdir@,$target_subdir,;t t
13245
 
s,@CC@,$CC,;t t
13246
 
s,@CFLAGS@,$CFLAGS,;t t
13247
 
s,@LDFLAGS@,$LDFLAGS,;t t
13248
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
13249
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
13250
 
s,@EXEEXT@,$EXEEXT,;t t
13251
 
s,@OBJEXT@,$OBJEXT,;t t
13252
 
s,@CXX@,$CXX,;t t
13253
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
13254
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13255
 
s,@GNATBIND@,$GNATBIND,;t t
13256
 
s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
13257
 
s,@GNATMAKE@,$GNATMAKE,;t t
13258
 
s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
13259
 
s,@do_compare@,$do_compare,;t t
13260
 
s,@gmplibs@,$gmplibs,;t t
13261
 
s,@gmpinc@,$gmpinc,;t t
13262
 
s,@ppllibs@,$ppllibs,;t t
13263
 
s,@pplinc@,$pplinc,;t t
13264
 
s,@clooglibs@,$clooglibs,;t t
13265
 
s,@clooginc@,$clooginc,;t t
13266
 
s,@stage1_languages@,$stage1_languages,;t t
13267
 
s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
13268
 
s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
13269
 
s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
13270
 
s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
13271
 
s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
13272
 
s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
13273
 
s,@tooldir@,$tooldir,;t t
13274
 
s,@build_tooldir@,$build_tooldir,;t t
13275
 
s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
13276
 
s,@GDB_TK@,$GDB_TK,;t t
13277
 
s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
13278
 
s,@build_configargs@,$build_configargs,;t t
13279
 
s,@build_configdirs@,$build_configdirs,;t t
13280
 
s,@host_configargs@,$host_configargs,;t t
13281
 
s,@configdirs@,$configdirs,;t t
13282
 
s,@target_configargs@,$target_configargs,;t t
13283
 
s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
13284
 
s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
13285
 
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13286
 
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
13287
 
s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
13288
 
s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
13289
 
s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
13290
 
s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
13291
 
s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
13292
 
s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
13293
 
s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
13294
 
s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
13295
 
s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
13296
 
s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
13297
 
s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
13298
 
s,@config_shell@,$config_shell,;t t
13299
 
s,@YACC@,$YACC,;t t
13300
 
s,@BISON@,$BISON,;t t
13301
 
s,@M4@,$M4,;t t
13302
 
s,@LEX@,$LEX,;t t
13303
 
s,@FLEX@,$FLEX,;t t
13304
 
s,@MAKEINFO@,$MAKEINFO,;t t
13305
 
s,@EXPECT@,$EXPECT,;t t
13306
 
s,@RUNTEST@,$RUNTEST,;t t
13307
 
s,@AR@,$AR,;t t
13308
 
s,@AS@,$AS,;t t
13309
 
s,@DLLTOOL@,$DLLTOOL,;t t
13310
 
s,@LD@,$LD,;t t
13311
 
s,@LIPO@,$LIPO,;t t
13312
 
s,@NM@,$NM,;t t
13313
 
s,@RANLIB@,$RANLIB,;t t
13314
 
s,@STRIP@,$STRIP,;t t
13315
 
s,@WINDRES@,$WINDRES,;t t
13316
 
s,@WINDMC@,$WINDMC,;t t
13317
 
s,@OBJCOPY@,$OBJCOPY,;t t
13318
 
s,@OBJDUMP@,$OBJDUMP,;t t
13319
 
s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
13320
 
s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
13321
 
s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
13322
 
s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
13323
 
s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
13324
 
s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
13325
 
s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
13326
 
s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
13327
 
s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
13328
 
s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
13329
 
s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
13330
 
s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
13331
 
s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
13332
 
s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
13333
 
s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
13334
 
s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
13335
 
s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
13336
 
s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
13337
 
s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
13338
 
s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
13339
 
s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
13340
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13341
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13342
 
s,@MAINT@,$MAINT,;t t
13343
 
s,@stage1_cflags@,$stage1_cflags,;t t
13344
 
s,@stage1_checking@,$stage1_checking,;t t
13345
 
s,@stage2_werror_flag@,$stage2_werror_flag,;t t
13346
 
s,@datarootdir@,$datarootdir,;t t
13347
 
s,@docdir@,$docdir,;t t
13348
 
s,@pdfdir@,$pdfdir,;t t
13349
 
s,@htmldir@,$htmldir,;t t
13350
 
s,@LIBOBJS@,$LIBOBJS,;t t
13351
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13352
 
/@serialization_dependencies@/r $serialization_dependencies
13353
 
s,@serialization_dependencies@,,;t t
13354
 
/@host_makefile_frag@/r $host_makefile_frag
13355
 
s,@host_makefile_frag@,,;t t
13356
 
/@target_makefile_frag@/r $target_makefile_frag
13357
 
s,@target_makefile_frag@,,;t t
13358
 
/@alphaieee_frag@/r $alphaieee_frag
13359
 
s,@alphaieee_frag@,,;t t
13360
 
/@ospace_frag@/r $ospace_frag
13361
 
s,@ospace_frag@,,;t t
13362
 
CEOF
13363
 
 
13364
 
_ACEOF
13365
 
 
13366
 
  cat >>$CONFIG_STATUS <<\_ACEOF
13367
 
  # Split the substitutions into bite-sized pieces for seds with
13368
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
13369
 
  ac_max_sed_lines=48
13370
 
  ac_sed_frag=1 # Number of current file.
13371
 
  ac_beg=1 # First line for current file.
13372
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
13373
 
  ac_more_lines=:
13374
 
  ac_sed_cmds=
13375
 
  while $ac_more_lines; do
13376
 
    if test $ac_beg -gt 1; then
13377
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13378
 
    else
13379
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13380
 
    fi
13381
 
    if test ! -s $tmp/subs.frag; then
13382
 
      ac_more_lines=false
13383
 
    else
13384
 
      # The purpose of the label and of the branching condition is to
13385
 
      # speed up the sed processing (if there are no `@' at all, there
13386
 
      # is no need to browse any of the substitutions).
13387
 
      # These are the two extra sed commands mentioned above.
13388
 
      (echo ':t
13389
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13390
 
      if test -z "$ac_sed_cmds"; then
13391
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13392
 
      else
13393
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13394
 
      fi
13395
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
13396
 
      ac_beg=$ac_end
13397
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
13398
 
    fi
13399
 
  done
13400
 
  if test -z "$ac_sed_cmds"; then
13401
 
    ac_sed_cmds=cat
 
14039
  tmp=./conf$$-$RANDOM
 
14040
  (umask 077 && mkdir "$tmp")
 
14041
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
14042
 
 
14043
# Set up the scripts for CONFIG_FILES section.
 
14044
# No need to generate them if there are no CONFIG_FILES.
 
14045
# This happens for instance with `./config.status config.h'.
 
14046
if test -n "$CONFIG_FILES"; then
 
14047
 
 
14048
if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
 
14049
  ac_cs_awk_getline=:
 
14050
  ac_cs_awk_pipe_init=
 
14051
  ac_cs_awk_read_file='
 
14052
      while ((getline aline < (F[key])) > 0)
 
14053
        print(aline)
 
14054
      close(F[key])'
 
14055
  ac_cs_awk_pipe_fini=
 
14056
else
 
14057
  ac_cs_awk_getline=false
 
14058
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
 
14059
  ac_cs_awk_read_file='
 
14060
      print "|#_!!_#|"
 
14061
      print "cat " F[key] " &&"
 
14062
      '$ac_cs_awk_pipe_init
 
14063
  # The final `:' finishes the AND list.
 
14064
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
 
14065
fi
 
14066
ac_cr=`echo X | tr X '\015'`
 
14067
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14068
# But we know of no other shell where ac_cr would be empty at this
 
14069
# point, so we can use a bashism as a fallback.
 
14070
if test "x$ac_cr" = x; then
 
14071
  eval ac_cr=\$\'\\r\'
 
14072
fi
 
14073
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14074
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14075
  ac_cs_awk_cr='\r'
 
14076
else
 
14077
  ac_cs_awk_cr=$ac_cr
 
14078
fi
 
14079
 
 
14080
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14081
_ACEOF
 
14082
 
 
14083
# Create commands to substitute file output variables.
 
14084
{
 
14085
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
 
14086
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
 
14087
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
 
14088
  echo "_ACAWK" &&
 
14089
  echo "_ACEOF"
 
14090
} >conf$$files.sh &&
 
14091
. ./conf$$files.sh ||
 
14092
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14093
rm -f conf$$files.sh
 
14094
 
 
14095
{
 
14096
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14097
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14098
  echo "_ACEOF"
 
14099
} >conf$$subs.sh ||
 
14100
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14101
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14102
ac_delim='%!_!# '
 
14103
for ac_last_try in false false false false false :; do
 
14104
  . ./conf$$subs.sh ||
 
14105
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14106
 
 
14107
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14108
  if test $ac_delim_n = $ac_delim_num; then
 
14109
    break
 
14110
  elif $ac_last_try; then
 
14111
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14112
  else
 
14113
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13402
14114
  fi
 
14115
done
 
14116
rm -f conf$$subs.sh
 
14117
 
 
14118
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14119
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14120
_ACEOF
 
14121
sed -n '
 
14122
h
 
14123
s/^/S["/; s/!.*/"]=/
 
14124
p
 
14125
g
 
14126
s/^[^!]*!//
 
14127
:repl
 
14128
t repl
 
14129
s/'"$ac_delim"'$//
 
14130
t delim
 
14131
:nl
 
14132
h
 
14133
s/\(.\{148\}\).*/\1/
 
14134
t more1
 
14135
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14136
p
 
14137
n
 
14138
b repl
 
14139
:more1
 
14140
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14141
p
 
14142
g
 
14143
s/.\{148\}//
 
14144
t nl
 
14145
:delim
 
14146
h
 
14147
s/\(.\{148\}\).*/\1/
 
14148
t more2
 
14149
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14150
p
 
14151
b
 
14152
:more2
 
14153
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14154
p
 
14155
g
 
14156
s/.\{148\}//
 
14157
t delim
 
14158
' <conf$$subs.awk | sed '
 
14159
/^[^""]/{
 
14160
  N
 
14161
  s/\n//
 
14162
}
 
14163
' >>$CONFIG_STATUS || ac_write_fail=1
 
14164
rm -f conf$$subs.awk
 
14165
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14166
_ACAWK
 
14167
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14168
  for (key in S) S_is_set[key] = 1
 
14169
  FS = ""
 
14170
  \$ac_cs_awk_pipe_init
 
14171
}
 
14172
{
 
14173
  line = $ 0
 
14174
  nfields = split(line, field, "@")
 
14175
  substed = 0
 
14176
  len = length(field[1])
 
14177
  for (i = 2; i < nfields; i++) {
 
14178
    key = field[i]
 
14179
    keylen = length(key)
 
14180
    if (S_is_set[key]) {
 
14181
      value = S[key]
 
14182
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
14183
      len += length(value) + length(field[++i])
 
14184
      substed = 1
 
14185
    } else
 
14186
      len += 1 + keylen
 
14187
  }
 
14188
  if (nfields == 3 && !substed) {
 
14189
    key = field[2]
 
14190
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
 
14191
      \$ac_cs_awk_read_file
 
14192
      next
 
14193
    }
 
14194
  }
 
14195
  print line
 
14196
}
 
14197
\$ac_cs_awk_pipe_fini
 
14198
_ACAWK
 
14199
_ACEOF
 
14200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14201
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
14202
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
14203
else
 
14204
  cat
 
14205
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14206
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
14207
_ACEOF
 
14208
 
 
14209
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
14210
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14211
# trailing colons and then remove the whole line if VPATH becomes empty
 
14212
# (actually we leave an empty line to preserve line numbers).
 
14213
if test "x$srcdir" = x.; then
 
14214
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
14215
s/:*\$(srcdir):*/:/
 
14216
s/:*\${srcdir}:*/:/
 
14217
s/:*@srcdir@:*/:/
 
14218
s/^\([^=]*=[     ]*\):*/\1/
 
14219
s/:*$//
 
14220
s/^[^=]*=[       ]*$//
 
14221
}'
 
14222
fi
 
14223
 
 
14224
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13403
14225
fi # test -n "$CONFIG_FILES"
13404
14226
 
13405
 
_ACEOF
13406
 
cat >>$CONFIG_STATUS <<\_ACEOF
13407
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13408
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13409
 
  case $ac_file in
13410
 
  - | *:- | *:-:* ) # input from stdin
13411
 
        cat >$tmp/stdin
13412
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13413
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13414
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13415
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13416
 
  * )   ac_file_in=$ac_file.in ;;
13417
 
  esac
13418
 
 
13419
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13420
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
14227
 
 
14228
eval set X "  :F $CONFIG_FILES      "
 
14229
shift
 
14230
for ac_tag
 
14231
do
 
14232
  case $ac_tag in
 
14233
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
14234
  esac
 
14235
  case $ac_mode$ac_tag in
 
14236
  :[FHL]*:*);;
 
14237
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
14238
  :[FH]-) ac_tag=-:-;;
 
14239
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
14240
  esac
 
14241
  ac_save_IFS=$IFS
 
14242
  IFS=:
 
14243
  set x $ac_tag
 
14244
  IFS=$ac_save_IFS
 
14245
  shift
 
14246
  ac_file=$1
 
14247
  shift
 
14248
 
 
14249
  case $ac_mode in
 
14250
  :L) ac_source=$1;;
 
14251
  :[FH])
 
14252
    ac_file_inputs=
 
14253
    for ac_f
 
14254
    do
 
14255
      case $ac_f in
 
14256
      -) ac_f="$tmp/stdin";;
 
14257
      *) # Look for the file first in the build tree, then in the source tree
 
14258
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
14259
         # because $ac_f cannot contain `:'.
 
14260
         test -f "$ac_f" ||
 
14261
           case $ac_f in
 
14262
           [\\/$]*) false;;
 
14263
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
14264
           esac ||
 
14265
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
14266
      esac
 
14267
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14268
      as_fn_append ac_file_inputs " '$ac_f'"
 
14269
    done
 
14270
 
 
14271
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
14272
    # use $as_me), people would be surprised to read:
 
14273
    #    /* config.h.  Generated by config.status.  */
 
14274
    configure_input='Generated from '`
 
14275
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14276
        `' by configure.'
 
14277
    if test x"$ac_file" != x-; then
 
14278
      configure_input="$ac_file.  $configure_input"
 
14279
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
14280
$as_echo "$as_me: creating $ac_file" >&6;}
 
14281
    fi
 
14282
    # Neutralize special characters interpreted by sed in replacement strings.
 
14283
    case $configure_input in #(
 
14284
    *\&* | *\|* | *\\* )
 
14285
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14286
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14287
    *) ac_sed_conf_input=$configure_input;;
 
14288
    esac
 
14289
 
 
14290
    case $ac_tag in
 
14291
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14292
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
14293
    esac
 
14294
    ;;
 
14295
  esac
 
14296
 
 
14297
  ac_dir=`$as_dirname -- "$ac_file" ||
13421
14298
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13422
14299
         X"$ac_file" : 'X\(//\)[^/]' \| \
13423
14300
         X"$ac_file" : 'X\(//\)$' \| \
13424
 
         X"$ac_file" : 'X\(/\)' \| \
13425
 
         .     : '\(.\)' 2>/dev/null ||
13426
 
echo X"$ac_file" |
13427
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13428
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13429
 
          /^X\(\/\/\)$/{ s//\1/; q; }
13430
 
          /^X\(\/\).*/{ s//\1/; q; }
13431
 
          s/.*/./; q'`
13432
 
  { if $as_mkdir_p; then
13433
 
    mkdir -p "$ac_dir"
13434
 
  else
13435
 
    as_dir="$ac_dir"
13436
 
    as_dirs=
13437
 
    while test ! -d "$as_dir"; do
13438
 
      as_dirs="$as_dir $as_dirs"
13439
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
13440
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13441
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13442
 
         X"$as_dir" : 'X\(//\)$' \| \
13443
 
         X"$as_dir" : 'X\(/\)' \| \
13444
 
         .     : '\(.\)' 2>/dev/null ||
13445
 
echo X"$as_dir" |
13446
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13447
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13448
 
          /^X\(\/\/\)$/{ s//\1/; q; }
13449
 
          /^X\(\/\).*/{ s//\1/; q; }
13450
 
          s/.*/./; q'`
13451
 
    done
13452
 
    test ! -n "$as_dirs" || mkdir $as_dirs
13453
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13454
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13455
 
   { (exit 1); exit 1; }; }; }
13456
 
 
 
14301
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
14302
$as_echo X"$ac_file" |
 
14303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14304
            s//\1/
 
14305
            q
 
14306
          }
 
14307
          /^X\(\/\/\)[^/].*/{
 
14308
            s//\1/
 
14309
            q
 
14310
          }
 
14311
          /^X\(\/\/\)$/{
 
14312
            s//\1/
 
14313
            q
 
14314
          }
 
14315
          /^X\(\/\).*/{
 
14316
            s//\1/
 
14317
            q
 
14318
          }
 
14319
          s/.*/./; q'`
 
14320
  as_dir="$ac_dir"; as_fn_mkdir_p
13457
14321
  ac_builddir=.
13458
14322
 
13459
 
if test "$ac_dir" != .; then
13460
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13461
 
  # A "../" for each directory in $ac_dir_suffix.
13462
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13463
 
else
13464
 
  ac_dir_suffix= ac_top_builddir=
13465
 
fi
 
14323
case "$ac_dir" in
 
14324
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
14325
*)
 
14326
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
14327
  # A ".." for each directory in $ac_dir_suffix.
 
14328
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
14329
  case $ac_top_builddir_sub in
 
14330
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
14331
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
14332
  esac ;;
 
14333
esac
 
14334
ac_abs_top_builddir=$ac_pwd
 
14335
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
14336
# for backward compatibility:
 
14337
ac_top_builddir=$ac_top_build_prefix
13466
14338
 
13467
14339
case $srcdir in
13468
 
  .)  # No --srcdir option.  We are building in place.
 
14340
  .)  # We are building in place.
13469
14341
    ac_srcdir=.
13470
 
    if test -z "$ac_top_builddir"; then
13471
 
       ac_top_srcdir=.
13472
 
    else
13473
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13474
 
    fi ;;
13475
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
14342
    ac_top_srcdir=$ac_top_builddir_sub
 
14343
    ac_abs_top_srcdir=$ac_pwd ;;
 
14344
  [\\/]* | ?:[\\/]* )  # Absolute name.
13476
14345
    ac_srcdir=$srcdir$ac_dir_suffix;
13477
 
    ac_top_srcdir=$srcdir ;;
13478
 
  *) # Relative path.
13479
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13480
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
13481
 
esac
13482
 
 
13483
 
# Do not use `cd foo && pwd` to compute absolute paths, because
13484
 
# the directories may not exist.
13485
 
case `pwd` in
13486
 
.) ac_abs_builddir="$ac_dir";;
13487
 
*)
13488
 
  case "$ac_dir" in
13489
 
  .) ac_abs_builddir=`pwd`;;
13490
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13491
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
13492
 
  esac;;
13493
 
esac
13494
 
case $ac_abs_builddir in
13495
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
13496
 
*)
13497
 
  case ${ac_top_builddir}. in
13498
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
13499
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13500
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13501
 
  esac;;
13502
 
esac
13503
 
case $ac_abs_builddir in
13504
 
.) ac_abs_srcdir=$ac_srcdir;;
13505
 
*)
13506
 
  case $ac_srcdir in
13507
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
13508
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13509
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13510
 
  esac;;
13511
 
esac
13512
 
case $ac_abs_builddir in
13513
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
13514
 
*)
13515
 
  case $ac_top_srcdir in
13516
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
13517
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13518
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13519
 
  esac;;
13520
 
esac
13521
 
 
 
14346
    ac_top_srcdir=$srcdir
 
14347
    ac_abs_top_srcdir=$srcdir ;;
 
14348
  *) # Relative name.
 
14349
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
14350
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
14351
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
14352
esac
 
14353
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
14354
 
 
14355
 
 
14356
  case $ac_mode in
 
14357
  :F)
 
14358
  #
 
14359
  # CONFIG_FILE
 
14360
  #
13522
14361
 
13523
14362
  case $INSTALL in
13524
14363
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13525
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
14364
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13526
14365
  esac
13527
 
 
13528
 
  if test x"$ac_file" != x-; then
13529
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
13530
 
echo "$as_me: creating $ac_file" >&6;}
13531
 
    rm -f "$ac_file"
13532
 
  fi
13533
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
13534
 
  # use $as_me), people would be surprised to read:
13535
 
  #    /* config.h.  Generated by config.status.  */
13536
 
  if test x"$ac_file" = x-; then
13537
 
    configure_input=
13538
 
  else
13539
 
    configure_input="$ac_file.  "
13540
 
  fi
13541
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
13542
 
                                     sed 's,.*/,,'` by configure."
13543
 
 
13544
 
  # First look for the input files in the build tree, otherwise in the
13545
 
  # src tree.
13546
 
  ac_file_inputs=`IFS=:
13547
 
    for f in $ac_file_in; do
13548
 
      case $f in
13549
 
      -) echo $tmp/stdin ;;
13550
 
      [\\/$]*)
13551
 
         # Absolute (can't be DOS-style, as IFS=:)
13552
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13553
 
echo "$as_me: error: cannot find input file: $f" >&2;}
13554
 
   { (exit 1); exit 1; }; }
13555
 
         echo "$f";;
13556
 
      *) # Relative
13557
 
         if test -f "$f"; then
13558
 
           # Build tree
13559
 
           echo "$f"
13560
 
         elif test -f "$srcdir/$f"; then
13561
 
           # Source tree
13562
 
           echo "$srcdir/$f"
13563
 
         else
13564
 
           # /dev/null tree
13565
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13566
 
echo "$as_me: error: cannot find input file: $f" >&2;}
13567
 
   { (exit 1); exit 1; }; }
13568
 
         fi;;
13569
 
      esac
13570
 
    done` || { (exit 1); exit 1; }
13571
 
_ACEOF
13572
 
cat >>$CONFIG_STATUS <<_ACEOF
13573
 
  sed "$ac_vpsub
 
14366
_ACEOF
 
14367
 
 
14368
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14369
# If the template does not know about datarootdir, expand it.
 
14370
# FIXME: This hack should be removed a few years after 2.60.
 
14371
ac_datarootdir_hack=; ac_datarootdir_seen=
 
14372
ac_sed_dataroot='
 
14373
/datarootdir/ {
 
14374
  p
 
14375
  q
 
14376
}
 
14377
/@datadir@/p
 
14378
/@docdir@/p
 
14379
/@infodir@/p
 
14380
/@localedir@/p
 
14381
/@mandir@/p'
 
14382
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
14383
*datarootdir*) ac_datarootdir_seen=yes;;
 
14384
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
14385
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14386
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
14387
_ACEOF
 
14388
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14389
  ac_datarootdir_hack='
 
14390
  s&@datadir@&$datadir&g
 
14391
  s&@docdir@&$docdir&g
 
14392
  s&@infodir@&$infodir&g
 
14393
  s&@localedir@&$localedir&g
 
14394
  s&@mandir@&$mandir&g
 
14395
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
14396
esac
 
14397
_ACEOF
 
14398
 
 
14399
# Neutralize VPATH when `$srcdir' = `.'.
 
14400
# Shell code in configure.ac might set extrasub.
 
14401
# FIXME: do we really want to maintain this feature?
 
14402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14403
ac_sed_extra="$ac_vpsub
13574
14404
$extrasub
13575
14405
_ACEOF
13576
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14406
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13577
14407
:t
13578
14408
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13579
 
s,@configure_input@,$configure_input,;t t
13580
 
s,@srcdir@,$ac_srcdir,;t t
13581
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
13582
 
s,@top_srcdir@,$ac_top_srcdir,;t t
13583
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13584
 
s,@builddir@,$ac_builddir,;t t
13585
 
s,@abs_builddir@,$ac_abs_builddir,;t t
13586
 
s,@top_builddir@,$ac_top_builddir,;t t
13587
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13588
 
s,@INSTALL@,$ac_INSTALL,;t t
13589
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13590
 
  rm -f $tmp/stdin
13591
 
  if test x"$ac_file" != x-; then
13592
 
    mv $tmp/out $ac_file
13593
 
  else
13594
 
    cat $tmp/out
13595
 
    rm -f $tmp/out
13596
 
  fi
13597
 
 
13598
 
done
13599
 
_ACEOF
13600
 
 
13601
 
cat >>$CONFIG_STATUS <<\_ACEOF
13602
 
 
13603
 
{ (exit 0); exit 0; }
13604
 
_ACEOF
13605
 
chmod +x $CONFIG_STATUS
 
14409
s|@configure_input@|$ac_sed_conf_input|;t t
 
14410
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
14411
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
14412
s&@srcdir@&$ac_srcdir&;t t
 
14413
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
14414
s&@top_srcdir@&$ac_top_srcdir&;t t
 
14415
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
14416
s&@builddir@&$ac_builddir&;t t
 
14417
s&@abs_builddir@&$ac_abs_builddir&;t t
 
14418
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
14419
s&@INSTALL@&$ac_INSTALL&;t t
 
14420
$ac_datarootdir_hack
 
14421
"
 
14422
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
 
14423
if $ac_cs_awk_getline; then
 
14424
  $AWK -f "$tmp/subs.awk"
 
14425
else
 
14426
  $AWK -f "$tmp/subs.awk" | $SHELL
 
14427
fi >$tmp/out \
 
14428
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14429
 
 
14430
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
14431
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
14432
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
14433
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14434
which seems to be undefined.  Please make sure it is defined." >&5
 
14435
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14436
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14437
 
 
14438
  rm -f "$tmp/stdin"
 
14439
  case $ac_file in
 
14440
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
14441
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14442
  esac \
 
14443
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14444
 ;;
 
14445
 
 
14446
 
 
14447
 
 
14448
  esac
 
14449
 
 
14450
done # for ac_tag
 
14451
 
 
14452
 
 
14453
as_fn_exit 0
 
14454
_ACEOF
13606
14455
ac_clean_files=$ac_clean_files_save
13607
14456
 
 
14457
test $ac_write_fail = 0 ||
 
14458
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
14459
 
13608
14460
 
13609
14461
# configure is writing to config.log, and then calls config.status.
13610
14462
# config.status does its own redirection, appending to config.log.
13624
14476
  exec 5>>config.log
13625
14477
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13626
14478
  # would make configure fail if this is the last instruction.
13627
 
  $ac_cs_success || { (exit 1); exit 1; }
 
14479
  $ac_cs_success || as_fn_exit $?
 
14480
fi
 
14481
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
14482
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14483
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13628
14484
fi
13629
14485