OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [configure] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
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
#
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
14
 
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 :
18
  emulate sh
19
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
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
121
PS1='$ '
122
PS2='> '
123
PS4='+ '
124
 
125
# NLS nuisances.
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
  if (eval "$as_required") 2>/dev/null; then :
173
  as_have_required=yes
174
else
175
  as_have_required=no
176
fi
177
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
 
179
else
180
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181
as_found=false
182
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183
do
184
  IFS=$as_save_IFS
185
  test -z "$as_dir" && as_dir=.
186
  as_found=:
187
  case $as_dir in #(
188
         /*)
189
           for as_base in sh bash ksh sh5; do
190
             # Try only shells that exist, to save several forks.
191
             as_shell=$as_dir/$as_base
192
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194
  CONFIG_SHELL=$as_shell as_have_required=yes
195
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
  break 2
197
fi
198
fi
199
           done;;
200
       esac
201
  as_found=false
202
done
203
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205
  CONFIG_SHELL=$SHELL as_have_required=yes
206
fi; }
207
IFS=$as_save_IFS
208
 
209
 
210
      if test "x$CONFIG_SHELL" != x; then :
211
  # We cannot yet assume a decent shell, so we have to provide a
212
        # neutralization value for shells without unset; and this also
213
        # works around shells that cannot unset nonexistent variables.
214
        BASH_ENV=/dev/null
215
        ENV=/dev/null
216
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217
        export CONFIG_SHELL
218
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219
fi
220
 
221
    if test x$as_have_required = xno; then :
222
  $as_echo "$0: This script requires a shell more modern than all"
223
  $as_echo "$0: the shells that I found on your system."
224
  if test x${ZSH_VERSION+set} = xset ; then
225
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227
  else
228
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229
$0: including any error possibly output before this
230
$0: message. Then install a modern shell, or manually run
231
$0: the script under such a shell if you do have one."
232
  fi
233
  exit 1
234
fi
235
fi
236
fi
237
SHELL=${CONFIG_SHELL-/bin/sh}
238
export SHELL
239
# Unset more variables known to interfere with behavior of common tools.
240
CLICOLOR_FORCE= GREP_OPTIONS=
241
unset CLICOLOR_FORCE GREP_OPTIONS
242
 
243
## --------------------- ##
244
## M4sh Shell Functions. ##
245
## --------------------- ##
246
# as_fn_unset VAR
247
# ---------------
248
# Portably unset VAR.
249
as_fn_unset ()
250
{
251
  { eval $1=; unset $1;}
252
}
253
as_unset=as_fn_unset
254
 
255
# as_fn_set_status STATUS
256
# -----------------------
257
# Set $? to STATUS, without forking.
258
as_fn_set_status ()
259
{
260
  return $1
261
} # as_fn_set_status
262
 
263
# as_fn_exit STATUS
264
# -----------------
265
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266
as_fn_exit ()
267
{
268
  set +e
269
  as_fn_set_status $1
270
  exit $1
271
} # as_fn_exit
272
 
273
# as_fn_mkdir_p
274
# -------------
275
# Create "$as_dir" as a directory, including parents if necessary.
276
as_fn_mkdir_p ()
277
{
278
 
279
  case $as_dir in #(
280
  -*) as_dir=./$as_dir;;
281
  esac
282
  test -d "$as_dir" || eval $as_mkdir_p || {
283
    as_dirs=
284
    while :; do
285
      case $as_dir in #(
286
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287
      *) as_qdir=$as_dir;;
288
      esac
289
      as_dirs="'$as_qdir' $as_dirs"
290
      as_dir=`$as_dirname -- "$as_dir" ||
291
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292
         X"$as_dir" : 'X\(//\)[^/]' \| \
293
         X"$as_dir" : 'X\(//\)$' \| \
294
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295
$as_echo X"$as_dir" |
296
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297
            s//\1/
298
            q
299
          }
300
          /^X\(\/\/\)[^/].*/{
301
            s//\1/
302
            q
303
          }
304
          /^X\(\/\/\)$/{
305
            s//\1/
306
            q
307
          }
308
          /^X\(\/\).*/{
309
            s//\1/
310
            q
311
          }
312
          s/.*/./; q'`
313
      test -d "$as_dir" && break
314
    done
315
    test -z "$as_dirs" || eval "mkdir $as_dirs"
316
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
 
318
 
319
} # as_fn_mkdir_p
320
# as_fn_append VAR VALUE
321
# ----------------------
322
# Append the text in VALUE to the end of the definition contained in VAR. Take
323
# advantage of any shell optimizations that allow amortized linear growth over
324
# repeated appends, instead of the typical quadratic growth present in naive
325
# implementations.
326
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327
  eval 'as_fn_append ()
328
  {
329
    eval $1+=\$2
330
  }'
331
else
332
  as_fn_append ()
333
  {
334
    eval $1=\$$1\$2
335
  }
336
fi # as_fn_append
337
 
338
# as_fn_arith ARG...
339
# ------------------
340
# Perform arithmetic evaluation on the ARGs, and store the result in the
341
# global $as_val. Take advantage of shells that can avoid forks. The arguments
342
# must be portable across $(()) and expr.
343
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344
  eval 'as_fn_arith ()
345
  {
346
    as_val=$(( $* ))
347
  }'
348
else
349
  as_fn_arith ()
350
  {
351
    as_val=`expr "$@" || test $? -eq 1`
352
  }
353
fi # as_fn_arith
354
 
355
 
356
# as_fn_error ERROR [LINENO LOG_FD]
357
# ---------------------------------
358
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360
# script with status $?, using 1 if that was 0.
361
as_fn_error ()
362
{
363
  as_status=$?; test $as_status -eq 0 && as_status=1
364
  if test "$3"; then
365
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367
  fi
368
  $as_echo "$as_me: error: $1" >&2
369
  as_fn_exit $as_status
370
} # as_fn_error
371
 
372
if expr a : '\(a\)' >/dev/null 2>&1 &&
373
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
374
  as_expr=expr
375
else
376
  as_expr=false
377
fi
378
 
379
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380
  as_basename=basename
381
else
382
  as_basename=false
383
fi
384
 
385
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386
  as_dirname=dirname
387
else
388
  as_dirname=false
389
fi
390
 
391
as_me=`$as_basename -- "$0" ||
392
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393
         X"$0" : 'X\(//\)$' \| \
394
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395
$as_echo X/"$0" |
396
    sed '/^.*\/\([^/][^/]*\)\/*$/{
397
            s//\1/
398
            q
399
          }
400
          /^X\/\(\/\/\)$/{
401
            s//\1/
402
            q
403
          }
404
          /^X\/\(\/\).*/{
405
            s//\1/
406
            q
407
          }
408
          s/.*/./; q'`
409
 
410
# Avoid depending upon Character Ranges.
411
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414
as_cr_digits='0123456789'
415
as_cr_alnum=$as_cr_Letters$as_cr_digits
416
 
417
 
418
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
419
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
420
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
423
  sed -n '
424
    p
425
    /[$]LINENO/=
426
  ' <$as_myself |
427
    sed '
428
      s/[$]LINENO.*/&-/
429
      t lineno
430
      b
431
      :lineno
432
      N
433
      :loop
434
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435
      t loop
436
      s/-\n.*//
437
    ' >$as_me.lineno &&
438
  chmod +x "$as_me.lineno" ||
439
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
440
 
441
  # Don't try to exec as it changes $[0], causing all sort of problems
442
  # (the dirname of $[0] is not the place where we might find the
443
  # original and so on.  Autoconf is especially sensitive to this).
444
  . "./$as_me.lineno"
445
  # Exit status is that of the last command.
446
  exit
447
}
448
 
449
ECHO_C= ECHO_N= ECHO_T=
450
case `echo -n x` in #(((((
451
-n*)
452
  case `echo 'xy\c'` in
453
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
454
  xy)  ECHO_C='\c';;
455
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
456
       ECHO_T=' ';;
457
  esac;;
458
*)
459
  ECHO_N='-n';;
460
esac
461
 
462
rm -f conf$$ conf$$.exe conf$$.file
463
if test -d conf$$.dir; then
464
  rm -f conf$$.dir/conf$$.file
465
else
466
  rm -f conf$$.dir
467
  mkdir conf$$.dir 2>/dev/null
468
fi
469
if (echo >conf$$.file) 2>/dev/null; then
470
  if ln -s conf$$.file conf$$ 2>/dev/null; then
471
    as_ln_s='ln -s'
472
    # ... but there are two gotchas:
473
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475
    # In both cases, we have to default to `cp -p'.
476
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477
      as_ln_s='cp -p'
478
  elif ln conf$$.file conf$$ 2>/dev/null; then
479
    as_ln_s=ln
480
  else
481
    as_ln_s='cp -p'
482
  fi
483
else
484
  as_ln_s='cp -p'
485
fi
486
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487
rmdir conf$$.dir 2>/dev/null
488
 
489
if mkdir -p . 2>/dev/null; then
490
  as_mkdir_p='mkdir -p "$as_dir"'
491
else
492
  test -d ./-p && rmdir ./-p
493
  as_mkdir_p=false
494
fi
495
 
496
if test -x / >/dev/null 2>&1; then
497
  as_test_x='test -x'
498
else
499
  if ls -dL / >/dev/null 2>&1; then
500
    as_ls_L_option=L
501
  else
502
    as_ls_L_option=
503
  fi
504
  as_test_x='
505
    eval sh -c '\''
506
      if test -d "$1"; then
507
        test -d "$1/.";
508
      else
509
        case $1 in #(
510
        -*)set "./$1";;
511
        esac;
512
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513
        ???[sx]*):;;*)false;;esac;fi
514
    '\'' sh
515
  '
516
fi
517
as_executable_p=$as_test_x
518
 
519
# Sed expression to map a string onto a valid CPP name.
520
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
 
522
# Sed expression to map a string onto a valid variable name.
523
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
 
525
 
526
exec 7<&0 &1
527
 
528
# Name of the host.
529
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530
# so uname gets run too.
531
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
 
533
#
534
# Initializations.
535
#
536
ac_default_prefix=/usr/local
537
ac_clean_files=
538
ac_config_libobj_dir=.
539
LIBOBJS=
540
cross_compiling=no
541
subdirs=
542
MFLAGS=
543
MAKEFLAGS=
544
 
545
# Identity of this package.
546
PACKAGE_NAME=
547
PACKAGE_TARNAME=
548
PACKAGE_VERSION=
549
PACKAGE_STRING=
550
PACKAGE_BUGREPORT=
551
PACKAGE_URL=
552
 
553
ac_unique_file="Makefile.in"
554
enable_option_checking=no
555
ac_subst_vars='LTLIBOBJS
556
LIBOBJS
557
subdirs
558
CFLAGS_FOR_BUILD
559
CC_FOR_BUILD
560
HDEFINES
561
target_os
562
target_vendor
563
target_cpu
564
target
565
host_os
566
host_vendor
567
host_cpu
568
host
569
build_os
570
build_vendor
571
build_cpu
572
build
573
RANLIB
574
AR
575
INSTALL_DATA
576
INSTALL_SCRIPT
577
INSTALL_PROGRAM
578
OBJEXT
579
EXEEXT
580
ac_ct_CC
581
CPPFLAGS
582
LDFLAGS
583
CFLAGS
584
CC
585
target_alias
586
host_alias
587
build_alias
588
LIBS
589
ECHO_T
590
ECHO_N
591
ECHO_C
592
DEFS
593
mandir
594
localedir
595
libdir
596
psdir
597
pdfdir
598
dvidir
599
htmldir
600
infodir
601
docdir
602
oldincludedir
603
includedir
604
localstatedir
605
sharedstatedir
606
sysconfdir
607
datadir
608
datarootdir
609
libexecdir
610
sbindir
611
bindir
612
program_transform_name
613
prefix
614
exec_prefix
615
PACKAGE_URL
616
PACKAGE_BUGREPORT
617
PACKAGE_STRING
618
PACKAGE_VERSION
619
PACKAGE_TARNAME
620
PACKAGE_NAME
621
PATH_SEPARATOR
622
SHELL'
623
ac_subst_files=''
624
ac_user_opts='
625
enable_option_checking
626
enable_sim
627
'
628
      ac_precious_vars='build_alias
629
host_alias
630
target_alias
631
CC
632
CFLAGS
633
LDFLAGS
634
LIBS
635
CPPFLAGS'
636
ac_subdirs_all='arm
637
avr
638
cr16
639
cris
640
d10v
641
frv
642
h8300
643
iq2000
644
lm32
645
m32c
646
m32r
647
m68hc11
648
mcore
649
microblaze
650
mips
651
mn10300
652
moxie
653
or32
654
rx
655
sh64
656
sh
657
erc32
658
ppc
659
v850
660
testsuite
661
common
662
igen'
663
 
664
# Initialize some variables set by options.
665
ac_init_help=
666
ac_init_version=false
667
ac_unrecognized_opts=
668
ac_unrecognized_sep=
669
# The variables have the same names as the options, with
670
# dashes changed to underlines.
671
cache_file=/dev/null
672
exec_prefix=NONE
673
no_create=
674
no_recursion=
675
prefix=NONE
676
program_prefix=NONE
677
program_suffix=NONE
678
program_transform_name=s,x,x,
679
silent=
680
site=
681
srcdir=
682
verbose=
683
x_includes=NONE
684
x_libraries=NONE
685
 
686
# Installation directory options.
687
# These are left unexpanded so users can "make install exec_prefix=/foo"
688
# and all the variables that are supposed to be based on exec_prefix
689
# by default will actually change.
690
# Use braces instead of parens because sh, perl, etc. also accept them.
691
# (The list follows the same order as the GNU Coding Standards.)
692
bindir='${exec_prefix}/bin'
693
sbindir='${exec_prefix}/sbin'
694
libexecdir='${exec_prefix}/libexec'
695
datarootdir='${prefix}/share'
696
datadir='${datarootdir}'
697
sysconfdir='${prefix}/etc'
698
sharedstatedir='${prefix}/com'
699
localstatedir='${prefix}/var'
700
includedir='${prefix}/include'
701
oldincludedir='/usr/include'
702
docdir='${datarootdir}/doc/${PACKAGE}'
703
infodir='${datarootdir}/info'
704
htmldir='${docdir}'
705
dvidir='${docdir}'
706
pdfdir='${docdir}'
707
psdir='${docdir}'
708
libdir='${exec_prefix}/lib'
709
localedir='${datarootdir}/locale'
710
mandir='${datarootdir}/man'
711
 
712
ac_prev=
713
ac_dashdash=
714
for ac_option
715
do
716
  # If the previous option needs an argument, assign it.
717
  if test -n "$ac_prev"; then
718
    eval $ac_prev=\$ac_option
719
    ac_prev=
720
    continue
721
  fi
722
 
723
  case $ac_option in
724
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
725
  *)    ac_optarg=yes ;;
726
  esac
727
 
728
  # Accept the important Cygnus configure options, so we can diagnose typos.
729
 
730
  case $ac_dashdash$ac_option in
731
  --)
732
    ac_dashdash=yes ;;
733
 
734
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
735
    ac_prev=bindir ;;
736
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
737
    bindir=$ac_optarg ;;
738
 
739
  -build | --build | --buil | --bui | --bu)
740
    ac_prev=build_alias ;;
741
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
742
    build_alias=$ac_optarg ;;
743
 
744
  -cache-file | --cache-file | --cache-fil | --cache-fi \
745
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
746
    ac_prev=cache_file ;;
747
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
748
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
749
    cache_file=$ac_optarg ;;
750
 
751
  --config-cache | -C)
752
    cache_file=config.cache ;;
753
 
754
  -datadir | --datadir | --datadi | --datad)
755
    ac_prev=datadir ;;
756
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
757
    datadir=$ac_optarg ;;
758
 
759
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
760
  | --dataroo | --dataro | --datar)
761
    ac_prev=datarootdir ;;
762
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
763
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
764
    datarootdir=$ac_optarg ;;
765
 
766
  -disable-* | --disable-*)
767
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
768
    # Reject names that are not valid shell variable names.
769
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
770
      as_fn_error "invalid feature name: $ac_useropt"
771
    ac_useropt_orig=$ac_useropt
772
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
773
    case $ac_user_opts in
774
      *"
775
"enable_$ac_useropt"
776
"*) ;;
777
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
778
         ac_unrecognized_sep=', ';;
779
    esac
780
    eval enable_$ac_useropt=no ;;
781
 
782
  -docdir | --docdir | --docdi | --doc | --do)
783
    ac_prev=docdir ;;
784
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
785
    docdir=$ac_optarg ;;
786
 
787
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
788
    ac_prev=dvidir ;;
789
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
790
    dvidir=$ac_optarg ;;
791
 
792
  -enable-* | --enable-*)
793
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
794
    # Reject names that are not valid shell variable names.
795
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
796
      as_fn_error "invalid feature name: $ac_useropt"
797
    ac_useropt_orig=$ac_useropt
798
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799
    case $ac_user_opts in
800
      *"
801
"enable_$ac_useropt"
802
"*) ;;
803
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
804
         ac_unrecognized_sep=', ';;
805
    esac
806
    eval enable_$ac_useropt=\$ac_optarg ;;
807
 
808
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
809
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
810
  | --exec | --exe | --ex)
811
    ac_prev=exec_prefix ;;
812
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
813
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
814
  | --exec=* | --exe=* | --ex=*)
815
    exec_prefix=$ac_optarg ;;
816
 
817
  -gas | --gas | --ga | --g)
818
    # Obsolete; use --with-gas.
819
    with_gas=yes ;;
820
 
821
  -help | --help | --hel | --he | -h)
822
    ac_init_help=long ;;
823
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
824
    ac_init_help=recursive ;;
825
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
826
    ac_init_help=short ;;
827
 
828
  -host | --host | --hos | --ho)
829
    ac_prev=host_alias ;;
830
  -host=* | --host=* | --hos=* | --ho=*)
831
    host_alias=$ac_optarg ;;
832
 
833
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
834
    ac_prev=htmldir ;;
835
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
836
  | --ht=*)
837
    htmldir=$ac_optarg ;;
838
 
839
  -includedir | --includedir | --includedi | --included | --include \
840
  | --includ | --inclu | --incl | --inc)
841
    ac_prev=includedir ;;
842
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
843
  | --includ=* | --inclu=* | --incl=* | --inc=*)
844
    includedir=$ac_optarg ;;
845
 
846
  -infodir | --infodir | --infodi | --infod | --info | --inf)
847
    ac_prev=infodir ;;
848
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
849
    infodir=$ac_optarg ;;
850
 
851
  -libdir | --libdir | --libdi | --libd)
852
    ac_prev=libdir ;;
853
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
854
    libdir=$ac_optarg ;;
855
 
856
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
857
  | --libexe | --libex | --libe)
858
    ac_prev=libexecdir ;;
859
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
860
  | --libexe=* | --libex=* | --libe=*)
861
    libexecdir=$ac_optarg ;;
862
 
863
  -localedir | --localedir | --localedi | --localed | --locale)
864
    ac_prev=localedir ;;
865
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
866
    localedir=$ac_optarg ;;
867
 
868
  -localstatedir | --localstatedir | --localstatedi | --localstated \
869
  | --localstate | --localstat | --localsta | --localst | --locals)
870
    ac_prev=localstatedir ;;
871
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
872
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
873
    localstatedir=$ac_optarg ;;
874
 
875
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
876
    ac_prev=mandir ;;
877
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
878
    mandir=$ac_optarg ;;
879
 
880
  -nfp | --nfp | --nf)
881
    # Obsolete; use --without-fp.
882
    with_fp=no ;;
883
 
884
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
885
  | --no-cr | --no-c | -n)
886
    no_create=yes ;;
887
 
888
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
889
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
890
    no_recursion=yes ;;
891
 
892
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
893
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
894
  | --oldin | --oldi | --old | --ol | --o)
895
    ac_prev=oldincludedir ;;
896
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
897
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
898
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
899
    oldincludedir=$ac_optarg ;;
900
 
901
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
902
    ac_prev=prefix ;;
903
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
904
    prefix=$ac_optarg ;;
905
 
906
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
907
  | --program-pre | --program-pr | --program-p)
908
    ac_prev=program_prefix ;;
909
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
910
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
911
    program_prefix=$ac_optarg ;;
912
 
913
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
914
  | --program-suf | --program-su | --program-s)
915
    ac_prev=program_suffix ;;
916
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
917
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
918
    program_suffix=$ac_optarg ;;
919
 
920
  -program-transform-name | --program-transform-name \
921
  | --program-transform-nam | --program-transform-na \
922
  | --program-transform-n | --program-transform- \
923
  | --program-transform | --program-transfor \
924
  | --program-transfo | --program-transf \
925
  | --program-trans | --program-tran \
926
  | --progr-tra | --program-tr | --program-t)
927
    ac_prev=program_transform_name ;;
928
  -program-transform-name=* | --program-transform-name=* \
929
  | --program-transform-nam=* | --program-transform-na=* \
930
  | --program-transform-n=* | --program-transform-=* \
931
  | --program-transform=* | --program-transfor=* \
932
  | --program-transfo=* | --program-transf=* \
933
  | --program-trans=* | --program-tran=* \
934
  | --progr-tra=* | --program-tr=* | --program-t=*)
935
    program_transform_name=$ac_optarg ;;
936
 
937
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
938
    ac_prev=pdfdir ;;
939
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
940
    pdfdir=$ac_optarg ;;
941
 
942
  -psdir | --psdir | --psdi | --psd | --ps)
943
    ac_prev=psdir ;;
944
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
945
    psdir=$ac_optarg ;;
946
 
947
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
948
  | -silent | --silent | --silen | --sile | --sil)
949
    silent=yes ;;
950
 
951
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
952
    ac_prev=sbindir ;;
953
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
954
  | --sbi=* | --sb=*)
955
    sbindir=$ac_optarg ;;
956
 
957
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
958
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
959
  | --sharedst | --shareds | --shared | --share | --shar \
960
  | --sha | --sh)
961
    ac_prev=sharedstatedir ;;
962
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
963
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
964
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
965
  | --sha=* | --sh=*)
966
    sharedstatedir=$ac_optarg ;;
967
 
968
  -site | --site | --sit)
969
    ac_prev=site ;;
970
  -site=* | --site=* | --sit=*)
971
    site=$ac_optarg ;;
972
 
973
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
974
    ac_prev=srcdir ;;
975
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
976
    srcdir=$ac_optarg ;;
977
 
978
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
979
  | --syscon | --sysco | --sysc | --sys | --sy)
980
    ac_prev=sysconfdir ;;
981
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
982
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
983
    sysconfdir=$ac_optarg ;;
984
 
985
  -target | --target | --targe | --targ | --tar | --ta | --t)
986
    ac_prev=target_alias ;;
987
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
988
    target_alias=$ac_optarg ;;
989
 
990
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
991
    verbose=yes ;;
992
 
993
  -version | --version | --versio | --versi | --vers | -V)
994
    ac_init_version=: ;;
995
 
996
  -with-* | --with-*)
997
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
998
    # Reject names that are not valid shell variable names.
999
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000
      as_fn_error "invalid package name: $ac_useropt"
1001
    ac_useropt_orig=$ac_useropt
1002
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003
    case $ac_user_opts in
1004
      *"
1005
"with_$ac_useropt"
1006
"*) ;;
1007
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1008
         ac_unrecognized_sep=', ';;
1009
    esac
1010
    eval with_$ac_useropt=\$ac_optarg ;;
1011
 
1012
  -without-* | --without-*)
1013
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1014
    # Reject names that are not valid shell variable names.
1015
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016
      as_fn_error "invalid package name: $ac_useropt"
1017
    ac_useropt_orig=$ac_useropt
1018
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019
    case $ac_user_opts in
1020
      *"
1021
"with_$ac_useropt"
1022
"*) ;;
1023
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1024
         ac_unrecognized_sep=', ';;
1025
    esac
1026
    eval with_$ac_useropt=no ;;
1027
 
1028
  --x)
1029
    # Obsolete; use --with-x.
1030
    with_x=yes ;;
1031
 
1032
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1033
  | --x-incl | --x-inc | --x-in | --x-i)
1034
    ac_prev=x_includes ;;
1035
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1036
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1037
    x_includes=$ac_optarg ;;
1038
 
1039
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1040
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1041
    ac_prev=x_libraries ;;
1042
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1043
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1044
    x_libraries=$ac_optarg ;;
1045
 
1046
  -*) as_fn_error "unrecognized option: \`$ac_option'
1047
Try \`$0 --help' for more information."
1048
    ;;
1049
 
1050
  *=*)
1051
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052
    # Reject names that are not valid shell variable names.
1053
    case $ac_envvar in #(
1054
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1055
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1056
    esac
1057
    eval $ac_envvar=\$ac_optarg
1058
    export $ac_envvar ;;
1059
 
1060
  *)
1061
    # FIXME: should be removed in autoconf 3.0.
1062
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1063
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1064
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1065
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1066
    ;;
1067
 
1068
  esac
1069
done
1070
 
1071
if test -n "$ac_prev"; then
1072
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1073
  as_fn_error "missing argument to $ac_option"
1074
fi
1075
 
1076
if test -n "$ac_unrecognized_opts"; then
1077
  case $enable_option_checking in
1078
    no) ;;
1079
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1080
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1081
  esac
1082
fi
1083
 
1084
# Check all directory arguments for consistency.
1085
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1086
                datadir sysconfdir sharedstatedir localstatedir includedir \
1087
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1088
                libdir localedir mandir
1089
do
1090
  eval ac_val=\$$ac_var
1091
  # Remove trailing slashes.
1092
  case $ac_val in
1093
    */ )
1094
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1095
      eval $ac_var=\$ac_val;;
1096
  esac
1097
  # Be sure to have absolute directory names.
1098
  case $ac_val in
1099
    [\\/$]* | ?:[\\/]* )  continue;;
1100
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1101
  esac
1102
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1103
done
1104
 
1105
# There might be people who depend on the old broken behavior: `$host'
1106
# used to hold the argument of --host etc.
1107
# FIXME: To remove some day.
1108
build=$build_alias
1109
host=$host_alias
1110
target=$target_alias
1111
 
1112
# FIXME: To remove some day.
1113
if test "x$host_alias" != x; then
1114
  if test "x$build_alias" = x; then
1115
    cross_compiling=maybe
1116
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1117
    If a cross compiler is detected then cross compile mode will be used." >&2
1118
  elif test "x$build_alias" != "x$host_alias"; then
1119
    cross_compiling=yes
1120
  fi
1121
fi
1122
 
1123
ac_tool_prefix=
1124
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1125
 
1126
test "$silent" = yes && exec 6>/dev/null
1127
 
1128
 
1129
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130
ac_ls_di=`ls -di .` &&
1131
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132
  as_fn_error "working directory cannot be determined"
1133
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134
  as_fn_error "pwd does not report name of working directory"
1135
 
1136
 
1137
# Find the source files, if location was not specified.
1138
if test -z "$srcdir"; then
1139
  ac_srcdir_defaulted=yes
1140
  # Try the directory containing this script, then the parent directory.
1141
  ac_confdir=`$as_dirname -- "$as_myself" ||
1142
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1143
         X"$as_myself" : 'X\(//\)[^/]' \| \
1144
         X"$as_myself" : 'X\(//\)$' \| \
1145
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1146
$as_echo X"$as_myself" |
1147
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1148
            s//\1/
1149
            q
1150
          }
1151
          /^X\(\/\/\)[^/].*/{
1152
            s//\1/
1153
            q
1154
          }
1155
          /^X\(\/\/\)$/{
1156
            s//\1/
1157
            q
1158
          }
1159
          /^X\(\/\).*/{
1160
            s//\1/
1161
            q
1162
          }
1163
          s/.*/./; q'`
1164
  srcdir=$ac_confdir
1165
  if test ! -r "$srcdir/$ac_unique_file"; then
1166
    srcdir=..
1167
  fi
1168
else
1169
  ac_srcdir_defaulted=no
1170
fi
1171
if test ! -r "$srcdir/$ac_unique_file"; then
1172
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1173
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1174
fi
1175
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1176
ac_abs_confdir=`(
1177
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1178
        pwd)`
1179
# When building in place, set srcdir=.
1180
if test "$ac_abs_confdir" = "$ac_pwd"; then
1181
  srcdir=.
1182
fi
1183
# Remove unnecessary trailing slashes from srcdir.
1184
# Double slashes in file names in object file debugging info
1185
# mess up M-x gdb in Emacs.
1186
case $srcdir in
1187
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1188
esac
1189
for ac_var in $ac_precious_vars; do
1190
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1191
  eval ac_env_${ac_var}_value=\$${ac_var}
1192
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1193
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1194
done
1195
 
1196
#
1197
# Report the --help message.
1198
#
1199
if test "$ac_init_help" = "long"; then
1200
  # Omit some internal or obsolete options to make the list less imposing.
1201
  # This message is too long to be a string in the A/UX 3.1 sh.
1202
  cat <<_ACEOF
1203
\`configure' configures this package to adapt to many kinds of systems.
1204
 
1205
Usage: $0 [OPTION]... [VAR=VALUE]...
1206
 
1207
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208
VAR=VALUE.  See below for descriptions of some of the useful variables.
1209
 
1210
Defaults for the options are specified in brackets.
1211
 
1212
Configuration:
1213
  -h, --help              display this help and exit
1214
      --help=short        display options specific to this package
1215
      --help=recursive    display the short help of all the included packages
1216
  -V, --version           display version information and exit
1217
  -q, --quiet, --silent   do not print \`checking...' messages
1218
      --cache-file=FILE   cache test results in FILE [disabled]
1219
  -C, --config-cache      alias for \`--cache-file=config.cache'
1220
  -n, --no-create         do not create output files
1221
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1222
 
1223
Installation directories:
1224
  --prefix=PREFIX         install architecture-independent files in PREFIX
1225
                          [$ac_default_prefix]
1226
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1227
                          [PREFIX]
1228
 
1229
By default, \`make install' will install all the files in
1230
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1231
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232
for instance \`--prefix=\$HOME'.
1233
 
1234
For better control, use the options below.
1235
 
1236
Fine tuning of the installation directories:
1237
  --bindir=DIR            user executables [EPREFIX/bin]
1238
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1239
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1240
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1241
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1242
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1243
  --libdir=DIR            object code libraries [EPREFIX/lib]
1244
  --includedir=DIR        C header files [PREFIX/include]
1245
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1246
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1247
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1248
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1249
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1250
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1251
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1252
  --htmldir=DIR           html documentation [DOCDIR]
1253
  --dvidir=DIR            dvi documentation [DOCDIR]
1254
  --pdfdir=DIR            pdf documentation [DOCDIR]
1255
  --psdir=DIR             ps documentation [DOCDIR]
1256
_ACEOF
1257
 
1258
  cat <<\_ACEOF
1259
 
1260
Program names:
1261
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1262
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1263
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1264
 
1265
System types:
1266
  --build=BUILD     configure for building on BUILD [guessed]
1267
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1268
  --target=TARGET   configure for building compilers for TARGET [HOST]
1269
_ACEOF
1270
fi
1271
 
1272
if test -n "$ac_init_help"; then
1273
 
1274
  cat <<\_ACEOF
1275
 
1276
Optional Features:
1277
  --disable-option-checking  ignore unrecognized --enable/--with options
1278
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1279
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1280
  --enable-sim
1281
 
1282
Some influential environment variables:
1283
  CC          C compiler command
1284
  CFLAGS      C compiler flags
1285
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1286
              nonstandard directory 
1287
  LIBS        libraries to pass to the linker, e.g. -l
1288
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1289
              you have headers in a nonstandard directory 
1290
 
1291
Use these variables to override the choices made by `configure' or to help
1292
it to find libraries and programs with nonstandard names/locations.
1293
 
1294
Report bugs to the package provider.
1295
_ACEOF
1296
ac_status=$?
1297
fi
1298
 
1299
if test "$ac_init_help" = "recursive"; then
1300
  # If there are subdirs, report their specific --help.
1301
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302
    test -d "$ac_dir" ||
1303
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1304
      continue
1305
    ac_builddir=.
1306
 
1307
case "$ac_dir" in
1308
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309
*)
1310
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311
  # A ".." for each directory in $ac_dir_suffix.
1312
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313
  case $ac_top_builddir_sub in
1314
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316
  esac ;;
1317
esac
1318
ac_abs_top_builddir=$ac_pwd
1319
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320
# for backward compatibility:
1321
ac_top_builddir=$ac_top_build_prefix
1322
 
1323
case $srcdir in
1324
  .)  # We are building in place.
1325
    ac_srcdir=.
1326
    ac_top_srcdir=$ac_top_builddir_sub
1327
    ac_abs_top_srcdir=$ac_pwd ;;
1328
  [\\/]* | ?:[\\/]* )  # Absolute name.
1329
    ac_srcdir=$srcdir$ac_dir_suffix;
1330
    ac_top_srcdir=$srcdir
1331
    ac_abs_top_srcdir=$srcdir ;;
1332
  *) # Relative name.
1333
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1335
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1336
esac
1337
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1338
 
1339
    cd "$ac_dir" || { ac_status=$?; continue; }
1340
    # Check for guested configure.
1341
    if test -f "$ac_srcdir/configure.gnu"; then
1342
      echo &&
1343
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344
    elif test -f "$ac_srcdir/configure"; then
1345
      echo &&
1346
      $SHELL "$ac_srcdir/configure" --help=recursive
1347
    else
1348
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349
    fi || ac_status=$?
1350
    cd "$ac_pwd" || { ac_status=$?; break; }
1351
  done
1352
fi
1353
 
1354
test -n "$ac_init_help" && exit $ac_status
1355
if $ac_init_version; then
1356
  cat <<\_ACEOF
1357
configure
1358
generated by GNU Autoconf 2.64
1359
 
1360
Copyright (C) 2009 Free Software Foundation, Inc.
1361
This configure script is free software; the Free Software Foundation
1362
gives unlimited permission to copy, distribute and modify it.
1363
_ACEOF
1364
  exit
1365
fi
1366
 
1367
## ------------------------ ##
1368
## Autoconf initialization. ##
1369
## ------------------------ ##
1370
 
1371
# ac_fn_c_try_compile LINENO
1372
# --------------------------
1373
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1374
ac_fn_c_try_compile ()
1375
{
1376
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377
  rm -f conftest.$ac_objext
1378
  if { { ac_try="$ac_compile"
1379
case "(($ac_try" in
1380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381
  *) ac_try_echo=$ac_try;;
1382
esac
1383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1384
$as_echo "$ac_try_echo"; } >&5
1385
  (eval "$ac_compile") 2>conftest.err
1386
  ac_status=$?
1387
  if test -s conftest.err; then
1388
    grep -v '^ *+' conftest.err >conftest.er1
1389
    cat conftest.er1 >&5
1390
    mv -f conftest.er1 conftest.err
1391
  fi
1392
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393
  test $ac_status = 0; } && {
1394
         test -z "$ac_c_werror_flag" ||
1395
         test ! -s conftest.err
1396
       } && test -s conftest.$ac_objext; then :
1397
  ac_retval=0
1398
else
1399
  $as_echo "$as_me: failed program was:" >&5
1400
sed 's/^/| /' conftest.$ac_ext >&5
1401
 
1402
        ac_retval=1
1403
fi
1404
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1405
  return $ac_retval
1406
 
1407
} # ac_fn_c_try_compile
1408
cat >config.log <<_ACEOF
1409
This file contains any messages produced by compilers while
1410
running configure, to aid debugging if configure makes a mistake.
1411
 
1412
It was created by $as_me, which was
1413
generated by GNU Autoconf 2.64.  Invocation command line was
1414
 
1415
  $ $0 $@
1416
 
1417
_ACEOF
1418
exec 5>>config.log
1419
{
1420
cat <<_ASUNAME
1421
## --------- ##
1422
## Platform. ##
1423
## --------- ##
1424
 
1425
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1426
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1427
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1428
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1429
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1430
 
1431
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1432
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1433
 
1434
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1435
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1436
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1437
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1438
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1439
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1440
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1441
 
1442
_ASUNAME
1443
 
1444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445
for as_dir in $PATH
1446
do
1447
  IFS=$as_save_IFS
1448
  test -z "$as_dir" && as_dir=.
1449
    $as_echo "PATH: $as_dir"
1450
  done
1451
IFS=$as_save_IFS
1452
 
1453
} >&5
1454
 
1455
cat >&5 <<_ACEOF
1456
 
1457
 
1458
## ----------- ##
1459
## Core tests. ##
1460
## ----------- ##
1461
 
1462
_ACEOF
1463
 
1464
 
1465
# Keep a trace of the command line.
1466
# Strip out --no-create and --no-recursion so they do not pile up.
1467
# Strip out --silent because we don't want to record it for future runs.
1468
# Also quote any args containing shell meta-characters.
1469
# Make two passes to allow for proper duplicate-argument suppression.
1470
ac_configure_args=
1471
ac_configure_args0=
1472
ac_configure_args1=
1473
ac_must_keep_next=false
1474
for ac_pass in 1 2
1475
do
1476
  for ac_arg
1477
  do
1478
    case $ac_arg in
1479
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1480
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1481
    | -silent | --silent | --silen | --sile | --sil)
1482
      continue ;;
1483
    *\'*)
1484
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1485
    esac
1486
    case $ac_pass in
1487
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1488
    2)
1489
      as_fn_append ac_configure_args1 " '$ac_arg'"
1490
      if test $ac_must_keep_next = true; then
1491
        ac_must_keep_next=false # Got value, back to normal.
1492
      else
1493
        case $ac_arg in
1494
          *=* | --config-cache | -C | -disable-* | --disable-* \
1495
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1496
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1497
          | -with-* | --with-* | -without-* | --without-* | --x)
1498
            case "$ac_configure_args0 " in
1499
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1500
            esac
1501
            ;;
1502
          -* ) ac_must_keep_next=true ;;
1503
        esac
1504
      fi
1505
      as_fn_append ac_configure_args " '$ac_arg'"
1506
      ;;
1507
    esac
1508
  done
1509
done
1510
{ ac_configure_args0=; unset ac_configure_args0;}
1511
{ ac_configure_args1=; unset ac_configure_args1;}
1512
 
1513
# When interrupted or exit'd, cleanup temporary files, and complete
1514
# config.log.  We remove comments because anyway the quotes in there
1515
# would cause problems or look ugly.
1516
# WARNING: Use '\'' to represent an apostrophe within the trap.
1517
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1518
trap 'exit_status=$?
1519
  # Save into config.log some information that might help in debugging.
1520
  {
1521
    echo
1522
 
1523
    cat <<\_ASBOX
1524
## ---------------- ##
1525
## Cache variables. ##
1526
## ---------------- ##
1527
_ASBOX
1528
    echo
1529
    # The following way of writing the cache mishandles newlines in values,
1530
(
1531
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1532
    eval ac_val=\$$ac_var
1533
    case $ac_val in #(
1534
    *${as_nl}*)
1535
      case $ac_var in #(
1536
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1537
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1538
      esac
1539
      case $ac_var in #(
1540
      _ | IFS | as_nl) ;; #(
1541
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1542
      *) { eval $ac_var=; unset $ac_var;} ;;
1543
      esac ;;
1544
    esac
1545
  done
1546
  (set) 2>&1 |
1547
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1548
    *${as_nl}ac_space=\ *)
1549
      sed -n \
1550
        "s/'\''/'\''\\\\'\'''\''/g;
1551
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1552
      ;; #(
1553
    *)
1554
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1555
      ;;
1556
    esac |
1557
    sort
1558
)
1559
    echo
1560
 
1561
    cat <<\_ASBOX
1562
## ----------------- ##
1563
## Output variables. ##
1564
## ----------------- ##
1565
_ASBOX
1566
    echo
1567
    for ac_var in $ac_subst_vars
1568
    do
1569
      eval ac_val=\$$ac_var
1570
      case $ac_val in
1571
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572
      esac
1573
      $as_echo "$ac_var='\''$ac_val'\''"
1574
    done | sort
1575
    echo
1576
 
1577
    if test -n "$ac_subst_files"; then
1578
      cat <<\_ASBOX
1579
## ------------------- ##
1580
## File substitutions. ##
1581
## ------------------- ##
1582
_ASBOX
1583
      echo
1584
      for ac_var in $ac_subst_files
1585
      do
1586
        eval ac_val=\$$ac_var
1587
        case $ac_val in
1588
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589
        esac
1590
        $as_echo "$ac_var='\''$ac_val'\''"
1591
      done | sort
1592
      echo
1593
    fi
1594
 
1595
    if test -s confdefs.h; then
1596
      cat <<\_ASBOX
1597
## ----------- ##
1598
## confdefs.h. ##
1599
## ----------- ##
1600
_ASBOX
1601
      echo
1602
      cat confdefs.h
1603
      echo
1604
    fi
1605
    test "$ac_signal" != 0 &&
1606
      $as_echo "$as_me: caught signal $ac_signal"
1607
    $as_echo "$as_me: exit $exit_status"
1608
  } >&5
1609
  rm -f core *.core core.conftest.* &&
1610
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1611
    exit $exit_status
1612
' 0
1613
for ac_signal in 1 2 13 15; do
1614
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1615
done
1616
ac_signal=0
1617
 
1618
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1619
rm -f -r conftest* confdefs.h
1620
 
1621
$as_echo "/* confdefs.h */" > confdefs.h
1622
 
1623
# Predefined preprocessor variables.
1624
 
1625
cat >>confdefs.h <<_ACEOF
1626
#define PACKAGE_NAME "$PACKAGE_NAME"
1627
_ACEOF
1628
 
1629
cat >>confdefs.h <<_ACEOF
1630
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1631
_ACEOF
1632
 
1633
cat >>confdefs.h <<_ACEOF
1634
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1635
_ACEOF
1636
 
1637
cat >>confdefs.h <<_ACEOF
1638
#define PACKAGE_STRING "$PACKAGE_STRING"
1639
_ACEOF
1640
 
1641
cat >>confdefs.h <<_ACEOF
1642
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1643
_ACEOF
1644
 
1645
cat >>confdefs.h <<_ACEOF
1646
#define PACKAGE_URL "$PACKAGE_URL"
1647
_ACEOF
1648
 
1649
 
1650
# Let the site file select an alternate cache file if it wants to.
1651
# Prefer an explicitly selected file to automatically selected ones.
1652
ac_site_file1=NONE
1653
ac_site_file2=NONE
1654
if test -n "$CONFIG_SITE"; then
1655
  ac_site_file1=$CONFIG_SITE
1656
elif test "x$prefix" != xNONE; then
1657
  ac_site_file1=$prefix/share/config.site
1658
  ac_site_file2=$prefix/etc/config.site
1659
else
1660
  ac_site_file1=$ac_default_prefix/share/config.site
1661
  ac_site_file2=$ac_default_prefix/etc/config.site
1662
fi
1663
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1664
do
1665
  test "x$ac_site_file" = xNONE && continue
1666
  if test -r "$ac_site_file"; then
1667
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1668
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1669
    sed 's/^/| /' "$ac_site_file" >&5
1670
    . "$ac_site_file"
1671
  fi
1672
done
1673
 
1674
if test -r "$cache_file"; then
1675
  # Some versions of bash will fail to source /dev/null (special
1676
  # files actually), so we avoid doing that.
1677
  if test -f "$cache_file"; then
1678
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1679
$as_echo "$as_me: loading cache $cache_file" >&6;}
1680
    case $cache_file in
1681
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1682
      *)                      . "./$cache_file";;
1683
    esac
1684
  fi
1685
else
1686
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1687
$as_echo "$as_me: creating cache $cache_file" >&6;}
1688
  >$cache_file
1689
fi
1690
 
1691
# Check that the precious variables saved in the cache have kept the same
1692
# value.
1693
ac_cache_corrupted=false
1694
for ac_var in $ac_precious_vars; do
1695
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1696
  eval ac_new_set=\$ac_env_${ac_var}_set
1697
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1698
  eval ac_new_val=\$ac_env_${ac_var}_value
1699
  case $ac_old_set,$ac_new_set in
1700
    set,)
1701
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1702
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1703
      ac_cache_corrupted=: ;;
1704
    ,set)
1705
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1706
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1707
      ac_cache_corrupted=: ;;
1708
    ,);;
1709
    *)
1710
      if test "x$ac_old_val" != "x$ac_new_val"; then
1711
        # differences in whitespace do not lead to failure.
1712
        ac_old_val_w=`echo x $ac_old_val`
1713
        ac_new_val_w=`echo x $ac_new_val`
1714
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1715
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1716
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1717
          ac_cache_corrupted=:
1718
        else
1719
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1720
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1721
          eval $ac_var=\$ac_old_val
1722
        fi
1723
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1724
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1725
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1726
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1727
      fi;;
1728
  esac
1729
  # Pass precious variables to config.status.
1730
  if test "$ac_new_set" = set; then
1731
    case $ac_new_val in
1732
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1733
    *) ac_arg=$ac_var=$ac_new_val ;;
1734
    esac
1735
    case " $ac_configure_args " in
1736
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1737
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1738
    esac
1739
  fi
1740
done
1741
if $ac_cache_corrupted; then
1742
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1743
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1744
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1745
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1746
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1747
fi
1748
## -------------------- ##
1749
## Main body of script. ##
1750
## -------------------- ##
1751
 
1752
ac_ext=c
1753
ac_cpp='$CPP $CPPFLAGS'
1754
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757
 
1758
 
1759
 
1760
 
1761
 
1762
 
1763
ac_ext=c
1764
ac_cpp='$CPP $CPPFLAGS'
1765
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1766
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1767
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1768
if test -n "$ac_tool_prefix"; then
1769
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1770
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1772
$as_echo_n "checking for $ac_word... " >&6; }
1773
if test "${ac_cv_prog_CC+set}" = set; then :
1774
  $as_echo_n "(cached) " >&6
1775
else
1776
  if test -n "$CC"; then
1777
  ac_cv_prog_CC="$CC" # Let the user override the test.
1778
else
1779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780
for as_dir in $PATH
1781
do
1782
  IFS=$as_save_IFS
1783
  test -z "$as_dir" && as_dir=.
1784
    for ac_exec_ext in '' $ac_executable_extensions; do
1785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1786
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1787
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1788
    break 2
1789
  fi
1790
done
1791
  done
1792
IFS=$as_save_IFS
1793
 
1794
fi
1795
fi
1796
CC=$ac_cv_prog_CC
1797
if test -n "$CC"; then
1798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1799
$as_echo "$CC" >&6; }
1800
else
1801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1802
$as_echo "no" >&6; }
1803
fi
1804
 
1805
 
1806
fi
1807
if test -z "$ac_cv_prog_CC"; then
1808
  ac_ct_CC=$CC
1809
  # Extract the first word of "gcc", so it can be a program name with args.
1810
set dummy gcc; ac_word=$2
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1812
$as_echo_n "checking for $ac_word... " >&6; }
1813
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1814
  $as_echo_n "(cached) " >&6
1815
else
1816
  if test -n "$ac_ct_CC"; then
1817
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1818
else
1819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820
for as_dir in $PATH
1821
do
1822
  IFS=$as_save_IFS
1823
  test -z "$as_dir" && as_dir=.
1824
    for ac_exec_ext in '' $ac_executable_extensions; do
1825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1826
    ac_cv_prog_ac_ct_CC="gcc"
1827
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1828
    break 2
1829
  fi
1830
done
1831
  done
1832
IFS=$as_save_IFS
1833
 
1834
fi
1835
fi
1836
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1837
if test -n "$ac_ct_CC"; then
1838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1839
$as_echo "$ac_ct_CC" >&6; }
1840
else
1841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1842
$as_echo "no" >&6; }
1843
fi
1844
 
1845
  if test "x$ac_ct_CC" = x; then
1846
    CC=""
1847
  else
1848
    case $cross_compiling:$ac_tool_warned in
1849
yes:)
1850
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1851
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1852
ac_tool_warned=yes ;;
1853
esac
1854
    CC=$ac_ct_CC
1855
  fi
1856
else
1857
  CC="$ac_cv_prog_CC"
1858
fi
1859
 
1860
if test -z "$CC"; then
1861
          if test -n "$ac_tool_prefix"; then
1862
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1863
set dummy ${ac_tool_prefix}cc; ac_word=$2
1864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1865
$as_echo_n "checking for $ac_word... " >&6; }
1866
if test "${ac_cv_prog_CC+set}" = set; then :
1867
  $as_echo_n "(cached) " >&6
1868
else
1869
  if test -n "$CC"; then
1870
  ac_cv_prog_CC="$CC" # Let the user override the test.
1871
else
1872
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873
for as_dir in $PATH
1874
do
1875
  IFS=$as_save_IFS
1876
  test -z "$as_dir" && as_dir=.
1877
    for ac_exec_ext in '' $ac_executable_extensions; do
1878
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1879
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1880
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1881
    break 2
1882
  fi
1883
done
1884
  done
1885
IFS=$as_save_IFS
1886
 
1887
fi
1888
fi
1889
CC=$ac_cv_prog_CC
1890
if test -n "$CC"; then
1891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1892
$as_echo "$CC" >&6; }
1893
else
1894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1895
$as_echo "no" >&6; }
1896
fi
1897
 
1898
 
1899
  fi
1900
fi
1901
if test -z "$CC"; then
1902
  # Extract the first word of "cc", so it can be a program name with args.
1903
set dummy cc; ac_word=$2
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1905
$as_echo_n "checking for $ac_word... " >&6; }
1906
if test "${ac_cv_prog_CC+set}" = set; then :
1907
  $as_echo_n "(cached) " >&6
1908
else
1909
  if test -n "$CC"; then
1910
  ac_cv_prog_CC="$CC" # Let the user override the test.
1911
else
1912
  ac_prog_rejected=no
1913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914
for as_dir in $PATH
1915
do
1916
  IFS=$as_save_IFS
1917
  test -z "$as_dir" && as_dir=.
1918
    for ac_exec_ext in '' $ac_executable_extensions; do
1919
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1920
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1921
       ac_prog_rejected=yes
1922
       continue
1923
     fi
1924
    ac_cv_prog_CC="cc"
1925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1926
    break 2
1927
  fi
1928
done
1929
  done
1930
IFS=$as_save_IFS
1931
 
1932
if test $ac_prog_rejected = yes; then
1933
  # We found a bogon in the path, so make sure we never use it.
1934
  set dummy $ac_cv_prog_CC
1935
  shift
1936
  if test $# != 0; then
1937
    # We chose a different compiler from the bogus one.
1938
    # However, it has the same basename, so the bogon will be chosen
1939
    # first if we set CC to just the basename; use the full file name.
1940
    shift
1941
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1942
  fi
1943
fi
1944
fi
1945
fi
1946
CC=$ac_cv_prog_CC
1947
if test -n "$CC"; then
1948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1949
$as_echo "$CC" >&6; }
1950
else
1951
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1952
$as_echo "no" >&6; }
1953
fi
1954
 
1955
 
1956
fi
1957
if test -z "$CC"; then
1958
  if test -n "$ac_tool_prefix"; then
1959
  for ac_prog in cl.exe
1960
  do
1961
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1962
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1964
$as_echo_n "checking for $ac_word... " >&6; }
1965
if test "${ac_cv_prog_CC+set}" = set; then :
1966
  $as_echo_n "(cached) " >&6
1967
else
1968
  if test -n "$CC"; then
1969
  ac_cv_prog_CC="$CC" # Let the user override the test.
1970
else
1971
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972
for as_dir in $PATH
1973
do
1974
  IFS=$as_save_IFS
1975
  test -z "$as_dir" && as_dir=.
1976
    for ac_exec_ext in '' $ac_executable_extensions; do
1977
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1979
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1980
    break 2
1981
  fi
1982
done
1983
  done
1984
IFS=$as_save_IFS
1985
 
1986
fi
1987
fi
1988
CC=$ac_cv_prog_CC
1989
if test -n "$CC"; then
1990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1991
$as_echo "$CC" >&6; }
1992
else
1993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1994
$as_echo "no" >&6; }
1995
fi
1996
 
1997
 
1998
    test -n "$CC" && break
1999
  done
2000
fi
2001
if test -z "$CC"; then
2002
  ac_ct_CC=$CC
2003
  for ac_prog in cl.exe
2004
do
2005
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2006
set dummy $ac_prog; ac_word=$2
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2008
$as_echo_n "checking for $ac_word... " >&6; }
2009
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2010
  $as_echo_n "(cached) " >&6
2011
else
2012
  if test -n "$ac_ct_CC"; then
2013
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2014
else
2015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016
for as_dir in $PATH
2017
do
2018
  IFS=$as_save_IFS
2019
  test -z "$as_dir" && as_dir=.
2020
    for ac_exec_ext in '' $ac_executable_extensions; do
2021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2022
    ac_cv_prog_ac_ct_CC="$ac_prog"
2023
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2024
    break 2
2025
  fi
2026
done
2027
  done
2028
IFS=$as_save_IFS
2029
 
2030
fi
2031
fi
2032
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2033
if test -n "$ac_ct_CC"; then
2034
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2035
$as_echo "$ac_ct_CC" >&6; }
2036
else
2037
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2038
$as_echo "no" >&6; }
2039
fi
2040
 
2041
 
2042
  test -n "$ac_ct_CC" && break
2043
done
2044
 
2045
  if test "x$ac_ct_CC" = x; then
2046
    CC=""
2047
  else
2048
    case $cross_compiling:$ac_tool_warned in
2049
yes:)
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2051
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2052
ac_tool_warned=yes ;;
2053
esac
2054
    CC=$ac_ct_CC
2055
  fi
2056
fi
2057
 
2058
fi
2059
 
2060
 
2061
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2062
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2063
as_fn_error "no acceptable C compiler found in \$PATH
2064
See \`config.log' for more details." "$LINENO" 5; }
2065
 
2066
# Provide some information about the compiler.
2067
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2068
set X $ac_compile
2069
ac_compiler=$2
2070
for ac_option in --version -v -V -qversion; do
2071
  { { ac_try="$ac_compiler $ac_option >&5"
2072
case "(($ac_try" in
2073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074
  *) ac_try_echo=$ac_try;;
2075
esac
2076
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077
$as_echo "$ac_try_echo"; } >&5
2078
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2079
  ac_status=$?
2080
  if test -s conftest.err; then
2081
    sed '10a\
2082
... rest of stderr output deleted ...
2083
         10q' conftest.err >conftest.er1
2084
    cat conftest.er1 >&5
2085
    rm -f conftest.er1 conftest.err
2086
  fi
2087
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088
  test $ac_status = 0; }
2089
done
2090
 
2091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092
/* end confdefs.h.  */
2093
 
2094
int
2095
main ()
2096
{
2097
 
2098
  ;
2099
  return 0;
2100
}
2101
_ACEOF
2102
ac_clean_files_save=$ac_clean_files
2103
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2104
# Try to create an executable without -o first, disregard a.out.
2105
# It will help us diagnose broken compilers, and finding out an intuition
2106
# of exeext.
2107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2108
$as_echo_n "checking for C compiler default output file name... " >&6; }
2109
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2110
 
2111
# The possible output files:
2112
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2113
 
2114
ac_rmfiles=
2115
for ac_file in $ac_files
2116
do
2117
  case $ac_file in
2118
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2119
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2120
  esac
2121
done
2122
rm -f $ac_rmfiles
2123
 
2124
if { { ac_try="$ac_link_default"
2125
case "(($ac_try" in
2126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127
  *) ac_try_echo=$ac_try;;
2128
esac
2129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130
$as_echo "$ac_try_echo"; } >&5
2131
  (eval "$ac_link_default") 2>&5
2132
  ac_status=$?
2133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134
  test $ac_status = 0; }; then :
2135
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2136
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2137
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2138
# so that the user can short-circuit this test for compilers unknown to
2139
# Autoconf.
2140
for ac_file in $ac_files ''
2141
do
2142
  test -f "$ac_file" || continue
2143
  case $ac_file in
2144
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2145
        ;;
2146
    [ab].out )
2147
        # We found the default executable, but exeext='' is most
2148
        # certainly right.
2149
        break;;
2150
    *.* )
2151
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2152
        then :; else
2153
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2154
        fi
2155
        # We set ac_cv_exeext here because the later test for it is not
2156
        # safe: cross compilers may not add the suffix if given an `-o'
2157
        # argument, so we may need to know it at that point already.
2158
        # Even if this section looks crufty: it has the advantage of
2159
        # actually working.
2160
        break;;
2161
    * )
2162
        break;;
2163
  esac
2164
done
2165
test "$ac_cv_exeext" = no && ac_cv_exeext=
2166
 
2167
else
2168
  ac_file=''
2169
fi
2170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2171
$as_echo "$ac_file" >&6; }
2172
if test -z "$ac_file"; then :
2173
  $as_echo "$as_me: failed program was:" >&5
2174
sed 's/^/| /' conftest.$ac_ext >&5
2175
 
2176
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2177
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2178
{ as_fn_set_status 77
2179
as_fn_error "C compiler cannot create executables
2180
See \`config.log' for more details." "$LINENO" 5; }; }
2181
fi
2182
ac_exeext=$ac_cv_exeext
2183
 
2184
# Check that the compiler produces executables we can run.  If not, either
2185
# the compiler is broken, or we cross compile.
2186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2187
$as_echo_n "checking whether the C compiler works... " >&6; }
2188
# If not cross compiling, check that we can run a simple program.
2189
if test "$cross_compiling" != yes; then
2190
  if { ac_try='./$ac_file'
2191
  { { case "(($ac_try" in
2192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2193
  *) ac_try_echo=$ac_try;;
2194
esac
2195
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2196
$as_echo "$ac_try_echo"; } >&5
2197
  (eval "$ac_try") 2>&5
2198
  ac_status=$?
2199
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2200
  test $ac_status = 0; }; }; then
2201
    cross_compiling=no
2202
  else
2203
    if test "$cross_compiling" = maybe; then
2204
        cross_compiling=yes
2205
    else
2206
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2208
as_fn_error "cannot run C compiled programs.
2209
If you meant to cross compile, use \`--host'.
2210
See \`config.log' for more details." "$LINENO" 5; }
2211
    fi
2212
  fi
2213
fi
2214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2215
$as_echo "yes" >&6; }
2216
 
2217
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2218
ac_clean_files=$ac_clean_files_save
2219
# Check that the compiler produces executables we can run.  If not, either
2220
# the compiler is broken, or we cross compile.
2221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2222
$as_echo_n "checking whether we are cross compiling... " >&6; }
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2224
$as_echo "$cross_compiling" >&6; }
2225
 
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2227
$as_echo_n "checking for suffix of executables... " >&6; }
2228
if { { ac_try="$ac_link"
2229
case "(($ac_try" in
2230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2231
  *) ac_try_echo=$ac_try;;
2232
esac
2233
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2234
$as_echo "$ac_try_echo"; } >&5
2235
  (eval "$ac_link") 2>&5
2236
  ac_status=$?
2237
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238
  test $ac_status = 0; }; then :
2239
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2240
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2241
# work properly (i.e., refer to `conftest.exe'), while it won't with
2242
# `rm'.
2243
for ac_file in conftest.exe conftest conftest.*; do
2244
  test -f "$ac_file" || continue
2245
  case $ac_file in
2246
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2247
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2248
          break;;
2249
    * ) break;;
2250
  esac
2251
done
2252
else
2253
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255
as_fn_error "cannot compute suffix of executables: cannot compile and link
2256
See \`config.log' for more details." "$LINENO" 5; }
2257
fi
2258
rm -f conftest$ac_cv_exeext
2259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2260
$as_echo "$ac_cv_exeext" >&6; }
2261
 
2262
rm -f conftest.$ac_ext
2263
EXEEXT=$ac_cv_exeext
2264
ac_exeext=$EXEEXT
2265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2266
$as_echo_n "checking for suffix of object files... " >&6; }
2267
if test "${ac_cv_objext+set}" = set; then :
2268
  $as_echo_n "(cached) " >&6
2269
else
2270
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271
/* end confdefs.h.  */
2272
 
2273
int
2274
main ()
2275
{
2276
 
2277
  ;
2278
  return 0;
2279
}
2280
_ACEOF
2281
rm -f conftest.o conftest.obj
2282
if { { ac_try="$ac_compile"
2283
case "(($ac_try" in
2284
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285
  *) ac_try_echo=$ac_try;;
2286
esac
2287
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2288
$as_echo "$ac_try_echo"; } >&5
2289
  (eval "$ac_compile") 2>&5
2290
  ac_status=$?
2291
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292
  test $ac_status = 0; }; then :
2293
  for ac_file in conftest.o conftest.obj conftest.*; do
2294
  test -f "$ac_file" || continue;
2295
  case $ac_file in
2296
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2297
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2298
       break;;
2299
  esac
2300
done
2301
else
2302
  $as_echo "$as_me: failed program was:" >&5
2303
sed 's/^/| /' conftest.$ac_ext >&5
2304
 
2305
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307
as_fn_error "cannot compute suffix of object files: cannot compile
2308
See \`config.log' for more details." "$LINENO" 5; }
2309
fi
2310
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2311
fi
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2313
$as_echo "$ac_cv_objext" >&6; }
2314
OBJEXT=$ac_cv_objext
2315
ac_objext=$OBJEXT
2316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2317
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2318
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2319
  $as_echo_n "(cached) " >&6
2320
else
2321
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2322
/* end confdefs.h.  */
2323
 
2324
int
2325
main ()
2326
{
2327
#ifndef __GNUC__
2328
       choke me
2329
#endif
2330
 
2331
  ;
2332
  return 0;
2333
}
2334
_ACEOF
2335
if ac_fn_c_try_compile "$LINENO"; then :
2336
  ac_compiler_gnu=yes
2337
else
2338
  ac_compiler_gnu=no
2339
fi
2340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2342
 
2343
fi
2344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2345
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2346
if test $ac_compiler_gnu = yes; then
2347
  GCC=yes
2348
else
2349
  GCC=
2350
fi
2351
ac_test_CFLAGS=${CFLAGS+set}
2352
ac_save_CFLAGS=$CFLAGS
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2354
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2355
if test "${ac_cv_prog_cc_g+set}" = set; then :
2356
  $as_echo_n "(cached) " >&6
2357
else
2358
  ac_save_c_werror_flag=$ac_c_werror_flag
2359
   ac_c_werror_flag=yes
2360
   ac_cv_prog_cc_g=no
2361
   CFLAGS="-g"
2362
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363
/* end confdefs.h.  */
2364
 
2365
int
2366
main ()
2367
{
2368
 
2369
  ;
2370
  return 0;
2371
}
2372
_ACEOF
2373
if ac_fn_c_try_compile "$LINENO"; then :
2374
  ac_cv_prog_cc_g=yes
2375
else
2376
  CFLAGS=""
2377
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378
/* end confdefs.h.  */
2379
 
2380
int
2381
main ()
2382
{
2383
 
2384
  ;
2385
  return 0;
2386
}
2387
_ACEOF
2388
if ac_fn_c_try_compile "$LINENO"; then :
2389
 
2390
else
2391
  ac_c_werror_flag=$ac_save_c_werror_flag
2392
         CFLAGS="-g"
2393
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394
/* end confdefs.h.  */
2395
 
2396
int
2397
main ()
2398
{
2399
 
2400
  ;
2401
  return 0;
2402
}
2403
_ACEOF
2404
if ac_fn_c_try_compile "$LINENO"; then :
2405
  ac_cv_prog_cc_g=yes
2406
fi
2407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408
fi
2409
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410
fi
2411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412
   ac_c_werror_flag=$ac_save_c_werror_flag
2413
fi
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2415
$as_echo "$ac_cv_prog_cc_g" >&6; }
2416
if test "$ac_test_CFLAGS" = set; then
2417
  CFLAGS=$ac_save_CFLAGS
2418
elif test $ac_cv_prog_cc_g = yes; then
2419
  if test "$GCC" = yes; then
2420
    CFLAGS="-g -O2"
2421
  else
2422
    CFLAGS="-g"
2423
  fi
2424
else
2425
  if test "$GCC" = yes; then
2426
    CFLAGS="-O2"
2427
  else
2428
    CFLAGS=
2429
  fi
2430
fi
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2432
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2433
if test "${ac_cv_prog_cc_c89+set}" = set; then :
2434
  $as_echo_n "(cached) " >&6
2435
else
2436
  ac_cv_prog_cc_c89=no
2437
ac_save_CC=$CC
2438
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439
/* end confdefs.h.  */
2440
#include 
2441
#include 
2442
#include 
2443
#include 
2444
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2445
struct buf { int x; };
2446
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2447
static char *e (p, i)
2448
     char **p;
2449
     int i;
2450
{
2451
  return p[i];
2452
}
2453
static char *f (char * (*g) (char **, int), char **p, ...)
2454
{
2455
  char *s;
2456
  va_list v;
2457
  va_start (v,p);
2458
  s = g (p, va_arg (v,int));
2459
  va_end (v);
2460
  return s;
2461
}
2462
 
2463
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2464
   function prototypes and stuff, but not '\xHH' hex character constants.
2465
   These don't provoke an error unfortunately, instead are silently treated
2466
   as 'x'.  The following induces an error, until -std is added to get
2467
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2468
   array size at least.  It's necessary to write '\x00'==0 to get something
2469
   that's true only with -std.  */
2470
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2471
 
2472
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2473
   inside strings and character constants.  */
2474
#define FOO(x) 'x'
2475
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2476
 
2477
int test (int i, double x);
2478
struct s1 {int (*f) (int a);};
2479
struct s2 {int (*f) (double a);};
2480
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2481
int argc;
2482
char **argv;
2483
int
2484
main ()
2485
{
2486
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2487
  ;
2488
  return 0;
2489
}
2490
_ACEOF
2491
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2492
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2493
do
2494
  CC="$ac_save_CC $ac_arg"
2495
  if ac_fn_c_try_compile "$LINENO"; then :
2496
  ac_cv_prog_cc_c89=$ac_arg
2497
fi
2498
rm -f core conftest.err conftest.$ac_objext
2499
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2500
done
2501
rm -f conftest.$ac_ext
2502
CC=$ac_save_CC
2503
 
2504
fi
2505
# AC_CACHE_VAL
2506
case "x$ac_cv_prog_cc_c89" in
2507
  x)
2508
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2509
$as_echo "none needed" >&6; } ;;
2510
  xno)
2511
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2512
$as_echo "unsupported" >&6; } ;;
2513
  *)
2514
    CC="$CC $ac_cv_prog_cc_c89"
2515
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2516
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2517
esac
2518
if test "x$ac_cv_prog_cc_c89" != xno; then :
2519
 
2520
fi
2521
 
2522
ac_ext=c
2523
ac_cpp='$CPP $CPPFLAGS'
2524
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527
 
2528
ac_aux_dir=
2529
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2530
  for ac_t in install-sh install.sh shtool; do
2531
    if test -f "$ac_dir/$ac_t"; then
2532
      ac_aux_dir=$ac_dir
2533
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2534
      break 2
2535
    fi
2536
  done
2537
done
2538
if test -z "$ac_aux_dir"; then
2539
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2540
fi
2541
 
2542
# These three variables are undocumented and unsupported,
2543
# and are intended to be withdrawn in a future Autoconf release.
2544
# They can cause serious problems if a builder's source tree is in a directory
2545
# whose full name contains unusual characters.
2546
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2547
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2548
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2549
 
2550
 
2551
# Find a good install program.  We prefer a C program (faster),
2552
# so one script is as good as another.  But avoid the broken or
2553
# incompatible versions:
2554
# SysV /etc/install, /usr/sbin/install
2555
# SunOS /usr/etc/install
2556
# IRIX /sbin/install
2557
# AIX /bin/install
2558
# AmigaOS /C/install, which installs bootblocks on floppy discs
2559
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2560
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2561
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2562
# OS/2's system install, which has a completely different semantic
2563
# ./install, which can be erroneously created by make from ./install.sh.
2564
# Reject install programs that cannot install multiple files.
2565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2566
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2567
if test -z "$INSTALL"; then
2568
if test "${ac_cv_path_install+set}" = set; then :
2569
  $as_echo_n "(cached) " >&6
2570
else
2571
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572
for as_dir in $PATH
2573
do
2574
  IFS=$as_save_IFS
2575
  test -z "$as_dir" && as_dir=.
2576
    # Account for people who put trailing slashes in PATH elements.
2577
case $as_dir/ in #((
2578
  ./ | .// | /[cC]/* | \
2579
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2580
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2581
  /usr/ucb/* ) ;;
2582
  *)
2583
    # OSF1 and SCO ODT 3.0 have their own names for install.
2584
    # Don't use installbsd from OSF since it installs stuff as root
2585
    # by default.
2586
    for ac_prog in ginstall scoinst install; do
2587
      for ac_exec_ext in '' $ac_executable_extensions; do
2588
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2589
          if test $ac_prog = install &&
2590
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2591
            # AIX install.  It has an incompatible calling convention.
2592
            :
2593
          elif test $ac_prog = install &&
2594
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2595
            # program-specific install script used by HP pwplus--don't use.
2596
            :
2597
          else
2598
            rm -rf conftest.one conftest.two conftest.dir
2599
            echo one > conftest.one
2600
            echo two > conftest.two
2601
            mkdir conftest.dir
2602
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2603
              test -s conftest.one && test -s conftest.two &&
2604
              test -s conftest.dir/conftest.one &&
2605
              test -s conftest.dir/conftest.two
2606
            then
2607
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2608
              break 3
2609
            fi
2610
          fi
2611
        fi
2612
      done
2613
    done
2614
    ;;
2615
esac
2616
 
2617
  done
2618
IFS=$as_save_IFS
2619
 
2620
rm -rf conftest.one conftest.two conftest.dir
2621
 
2622
fi
2623
  if test "${ac_cv_path_install+set}" = set; then
2624
    INSTALL=$ac_cv_path_install
2625
  else
2626
    # As a last resort, use the slow shell script.  Don't cache a
2627
    # value for INSTALL within a source directory, because that will
2628
    # break other packages using the cache if that directory is
2629
    # removed, or if the value is a relative name.
2630
    INSTALL=$ac_install_sh
2631
  fi
2632
fi
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2634
$as_echo "$INSTALL" >&6; }
2635
 
2636
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2637
# It thinks the first close brace ends the variable substitution.
2638
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2639
 
2640
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2641
 
2642
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2643
 
2644
if test -n "$ac_tool_prefix"; then
2645
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2646
set dummy ${ac_tool_prefix}ar; ac_word=$2
2647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648
$as_echo_n "checking for $ac_word... " >&6; }
2649
if test "${ac_cv_prog_AR+set}" = set; then :
2650
  $as_echo_n "(cached) " >&6
2651
else
2652
  if test -n "$AR"; then
2653
  ac_cv_prog_AR="$AR" # Let the user override the test.
2654
else
2655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656
for as_dir in $PATH
2657
do
2658
  IFS=$as_save_IFS
2659
  test -z "$as_dir" && as_dir=.
2660
    for ac_exec_ext in '' $ac_executable_extensions; do
2661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662
    ac_cv_prog_AR="${ac_tool_prefix}ar"
2663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664
    break 2
2665
  fi
2666
done
2667
  done
2668
IFS=$as_save_IFS
2669
 
2670
fi
2671
fi
2672
AR=$ac_cv_prog_AR
2673
if test -n "$AR"; then
2674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2675
$as_echo "$AR" >&6; }
2676
else
2677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678
$as_echo "no" >&6; }
2679
fi
2680
 
2681
 
2682
fi
2683
if test -z "$ac_cv_prog_AR"; then
2684
  ac_ct_AR=$AR
2685
  # Extract the first word of "ar", so it can be a program name with args.
2686
set dummy ar; ac_word=$2
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688
$as_echo_n "checking for $ac_word... " >&6; }
2689
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2690
  $as_echo_n "(cached) " >&6
2691
else
2692
  if test -n "$ac_ct_AR"; then
2693
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2694
else
2695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696
for as_dir in $PATH
2697
do
2698
  IFS=$as_save_IFS
2699
  test -z "$as_dir" && as_dir=.
2700
    for ac_exec_ext in '' $ac_executable_extensions; do
2701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702
    ac_cv_prog_ac_ct_AR="ar"
2703
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704
    break 2
2705
  fi
2706
done
2707
  done
2708
IFS=$as_save_IFS
2709
 
2710
fi
2711
fi
2712
ac_ct_AR=$ac_cv_prog_ac_ct_AR
2713
if test -n "$ac_ct_AR"; then
2714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2715
$as_echo "$ac_ct_AR" >&6; }
2716
else
2717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718
$as_echo "no" >&6; }
2719
fi
2720
 
2721
  if test "x$ac_ct_AR" = x; then
2722
    AR=""
2723
  else
2724
    case $cross_compiling:$ac_tool_warned in
2725
yes:)
2726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2727
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2728
ac_tool_warned=yes ;;
2729
esac
2730
    AR=$ac_ct_AR
2731
  fi
2732
else
2733
  AR="$ac_cv_prog_AR"
2734
fi
2735
 
2736
if test -n "$ac_tool_prefix"; then
2737
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2738
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740
$as_echo_n "checking for $ac_word... " >&6; }
2741
if test "${ac_cv_prog_RANLIB+set}" = set; then :
2742
  $as_echo_n "(cached) " >&6
2743
else
2744
  if test -n "$RANLIB"; then
2745
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2746
else
2747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748
for as_dir in $PATH
2749
do
2750
  IFS=$as_save_IFS
2751
  test -z "$as_dir" && as_dir=.
2752
    for ac_exec_ext in '' $ac_executable_extensions; do
2753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2754
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756
    break 2
2757
  fi
2758
done
2759
  done
2760
IFS=$as_save_IFS
2761
 
2762
fi
2763
fi
2764
RANLIB=$ac_cv_prog_RANLIB
2765
if test -n "$RANLIB"; then
2766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2767
$as_echo "$RANLIB" >&6; }
2768
else
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770
$as_echo "no" >&6; }
2771
fi
2772
 
2773
 
2774
fi
2775
if test -z "$ac_cv_prog_RANLIB"; then
2776
  ac_ct_RANLIB=$RANLIB
2777
  # Extract the first word of "ranlib", so it can be a program name with args.
2778
set dummy ranlib; ac_word=$2
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780
$as_echo_n "checking for $ac_word... " >&6; }
2781
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2782
  $as_echo_n "(cached) " >&6
2783
else
2784
  if test -n "$ac_ct_RANLIB"; then
2785
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2786
else
2787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788
for as_dir in $PATH
2789
do
2790
  IFS=$as_save_IFS
2791
  test -z "$as_dir" && as_dir=.
2792
    for ac_exec_ext in '' $ac_executable_extensions; do
2793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2794
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796
    break 2
2797
  fi
2798
done
2799
  done
2800
IFS=$as_save_IFS
2801
 
2802
fi
2803
fi
2804
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2805
if test -n "$ac_ct_RANLIB"; then
2806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2807
$as_echo "$ac_ct_RANLIB" >&6; }
2808
else
2809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810
$as_echo "no" >&6; }
2811
fi
2812
 
2813
  if test "x$ac_ct_RANLIB" = x; then
2814
    RANLIB=":"
2815
  else
2816
    case $cross_compiling:$ac_tool_warned in
2817
yes:)
2818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2820
ac_tool_warned=yes ;;
2821
esac
2822
    RANLIB=$ac_ct_RANLIB
2823
  fi
2824
else
2825
  RANLIB="$ac_cv_prog_RANLIB"
2826
fi
2827
 
2828
 
2829
# Make sure we can run config.sub.
2830
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2831
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2832
 
2833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2834
$as_echo_n "checking build system type... " >&6; }
2835
if test "${ac_cv_build+set}" = set; then :
2836
  $as_echo_n "(cached) " >&6
2837
else
2838
  ac_build_alias=$build_alias
2839
test "x$ac_build_alias" = x &&
2840
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2841
test "x$ac_build_alias" = x &&
2842
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2843
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2844
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2845
 
2846
fi
2847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2848
$as_echo "$ac_cv_build" >&6; }
2849
case $ac_cv_build in
2850
*-*-*) ;;
2851
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2852
esac
2853
build=$ac_cv_build
2854
ac_save_IFS=$IFS; IFS='-'
2855
set x $ac_cv_build
2856
shift
2857
build_cpu=$1
2858
build_vendor=$2
2859
shift; shift
2860
# Remember, the first character of IFS is used to create $*,
2861
# except with old shells:
2862
build_os=$*
2863
IFS=$ac_save_IFS
2864
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2865
 
2866
 
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2868
$as_echo_n "checking host system type... " >&6; }
2869
if test "${ac_cv_host+set}" = set; then :
2870
  $as_echo_n "(cached) " >&6
2871
else
2872
  if test "x$host_alias" = x; then
2873
  ac_cv_host=$ac_cv_build
2874
else
2875
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2876
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2877
fi
2878
 
2879
fi
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2881
$as_echo "$ac_cv_host" >&6; }
2882
case $ac_cv_host in
2883
*-*-*) ;;
2884
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2885
esac
2886
host=$ac_cv_host
2887
ac_save_IFS=$IFS; IFS='-'
2888
set x $ac_cv_host
2889
shift
2890
host_cpu=$1
2891
host_vendor=$2
2892
shift; shift
2893
# Remember, the first character of IFS is used to create $*,
2894
# except with old shells:
2895
host_os=$*
2896
IFS=$ac_save_IFS
2897
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2898
 
2899
 
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2901
$as_echo_n "checking target system type... " >&6; }
2902
if test "${ac_cv_target+set}" = set; then :
2903
  $as_echo_n "(cached) " >&6
2904
else
2905
  if test "x$target_alias" = x; then
2906
  ac_cv_target=$ac_cv_host
2907
else
2908
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2909
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2910
fi
2911
 
2912
fi
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2914
$as_echo "$ac_cv_target" >&6; }
2915
case $ac_cv_target in
2916
*-*-*) ;;
2917
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2918
esac
2919
target=$ac_cv_target
2920
ac_save_IFS=$IFS; IFS='-'
2921
set x $ac_cv_target
2922
shift
2923
target_cpu=$1
2924
target_vendor=$2
2925
shift; shift
2926
# Remember, the first character of IFS is used to create $*,
2927
# except with old shells:
2928
target_os=$*
2929
IFS=$ac_save_IFS
2930
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2931
 
2932
 
2933
# The aliases save the names the user supplied, while $host etc.
2934
# will get canonicalized.
2935
test -n "$target_alias" &&
2936
  test "$program_prefix$program_suffix$program_transform_name" = \
2937
    NONENONEs,x,x, &&
2938
  program_prefix=${target_alias}-
2939
 
2940
test "$program_prefix" != NONE &&
2941
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2942
# Use a double $ so make ignores it.
2943
test "$program_suffix" != NONE &&
2944
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2945
# Double any \ or $.
2946
# By default was `s,x,x', remove it if useless.
2947
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2948
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2949
 
2950
ac_ext=c
2951
ac_cpp='$CPP $CPPFLAGS'
2952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2955
if test -n "$ac_tool_prefix"; then
2956
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2957
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959
$as_echo_n "checking for $ac_word... " >&6; }
2960
if test "${ac_cv_prog_CC+set}" = set; then :
2961
  $as_echo_n "(cached) " >&6
2962
else
2963
  if test -n "$CC"; then
2964
  ac_cv_prog_CC="$CC" # Let the user override the test.
2965
else
2966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967
for as_dir in $PATH
2968
do
2969
  IFS=$as_save_IFS
2970
  test -z "$as_dir" && as_dir=.
2971
    for ac_exec_ext in '' $ac_executable_extensions; do
2972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2973
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975
    break 2
2976
  fi
2977
done
2978
  done
2979
IFS=$as_save_IFS
2980
 
2981
fi
2982
fi
2983
CC=$ac_cv_prog_CC
2984
if test -n "$CC"; then
2985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986
$as_echo "$CC" >&6; }
2987
else
2988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989
$as_echo "no" >&6; }
2990
fi
2991
 
2992
 
2993
fi
2994
if test -z "$ac_cv_prog_CC"; then
2995
  ac_ct_CC=$CC
2996
  # Extract the first word of "gcc", so it can be a program name with args.
2997
set dummy gcc; ac_word=$2
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999
$as_echo_n "checking for $ac_word... " >&6; }
3000
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3001
  $as_echo_n "(cached) " >&6
3002
else
3003
  if test -n "$ac_ct_CC"; then
3004
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3005
else
3006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007
for as_dir in $PATH
3008
do
3009
  IFS=$as_save_IFS
3010
  test -z "$as_dir" && as_dir=.
3011
    for ac_exec_ext in '' $ac_executable_extensions; do
3012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013
    ac_cv_prog_ac_ct_CC="gcc"
3014
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015
    break 2
3016
  fi
3017
done
3018
  done
3019
IFS=$as_save_IFS
3020
 
3021
fi
3022
fi
3023
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3024
if test -n "$ac_ct_CC"; then
3025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3026
$as_echo "$ac_ct_CC" >&6; }
3027
else
3028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029
$as_echo "no" >&6; }
3030
fi
3031
 
3032
  if test "x$ac_ct_CC" = x; then
3033
    CC=""
3034
  else
3035
    case $cross_compiling:$ac_tool_warned in
3036
yes:)
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3038
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3039
ac_tool_warned=yes ;;
3040
esac
3041
    CC=$ac_ct_CC
3042
  fi
3043
else
3044
  CC="$ac_cv_prog_CC"
3045
fi
3046
 
3047
if test -z "$CC"; then
3048
          if test -n "$ac_tool_prefix"; then
3049
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3050
set dummy ${ac_tool_prefix}cc; ac_word=$2
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052
$as_echo_n "checking for $ac_word... " >&6; }
3053
if test "${ac_cv_prog_CC+set}" = set; then :
3054
  $as_echo_n "(cached) " >&6
3055
else
3056
  if test -n "$CC"; then
3057
  ac_cv_prog_CC="$CC" # Let the user override the test.
3058
else
3059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060
for as_dir in $PATH
3061
do
3062
  IFS=$as_save_IFS
3063
  test -z "$as_dir" && as_dir=.
3064
    for ac_exec_ext in '' $ac_executable_extensions; do
3065
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3067
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068
    break 2
3069
  fi
3070
done
3071
  done
3072
IFS=$as_save_IFS
3073
 
3074
fi
3075
fi
3076
CC=$ac_cv_prog_CC
3077
if test -n "$CC"; then
3078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3079
$as_echo "$CC" >&6; }
3080
else
3081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3082
$as_echo "no" >&6; }
3083
fi
3084
 
3085
 
3086
  fi
3087
fi
3088
if test -z "$CC"; then
3089
  # Extract the first word of "cc", so it can be a program name with args.
3090
set dummy cc; ac_word=$2
3091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092
$as_echo_n "checking for $ac_word... " >&6; }
3093
if test "${ac_cv_prog_CC+set}" = set; then :
3094
  $as_echo_n "(cached) " >&6
3095
else
3096
  if test -n "$CC"; then
3097
  ac_cv_prog_CC="$CC" # Let the user override the test.
3098
else
3099
  ac_prog_rejected=no
3100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101
for as_dir in $PATH
3102
do
3103
  IFS=$as_save_IFS
3104
  test -z "$as_dir" && as_dir=.
3105
    for ac_exec_ext in '' $ac_executable_extensions; do
3106
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3107
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3108
       ac_prog_rejected=yes
3109
       continue
3110
     fi
3111
    ac_cv_prog_CC="cc"
3112
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113
    break 2
3114
  fi
3115
done
3116
  done
3117
IFS=$as_save_IFS
3118
 
3119
if test $ac_prog_rejected = yes; then
3120
  # We found a bogon in the path, so make sure we never use it.
3121
  set dummy $ac_cv_prog_CC
3122
  shift
3123
  if test $# != 0; then
3124
    # We chose a different compiler from the bogus one.
3125
    # However, it has the same basename, so the bogon will be chosen
3126
    # first if we set CC to just the basename; use the full file name.
3127
    shift
3128
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3129
  fi
3130
fi
3131
fi
3132
fi
3133
CC=$ac_cv_prog_CC
3134
if test -n "$CC"; then
3135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3136
$as_echo "$CC" >&6; }
3137
else
3138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139
$as_echo "no" >&6; }
3140
fi
3141
 
3142
 
3143
fi
3144
if test -z "$CC"; then
3145
  if test -n "$ac_tool_prefix"; then
3146
  for ac_prog in cl.exe
3147
  do
3148
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3149
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
$as_echo_n "checking for $ac_word... " >&6; }
3152
if test "${ac_cv_prog_CC+set}" = set; then :
3153
  $as_echo_n "(cached) " >&6
3154
else
3155
  if test -n "$CC"; then
3156
  ac_cv_prog_CC="$CC" # Let the user override the test.
3157
else
3158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159
for as_dir in $PATH
3160
do
3161
  IFS=$as_save_IFS
3162
  test -z "$as_dir" && as_dir=.
3163
    for ac_exec_ext in '' $ac_executable_extensions; do
3164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3166
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
    break 2
3168
  fi
3169
done
3170
  done
3171
IFS=$as_save_IFS
3172
 
3173
fi
3174
fi
3175
CC=$ac_cv_prog_CC
3176
if test -n "$CC"; then
3177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3178
$as_echo "$CC" >&6; }
3179
else
3180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
$as_echo "no" >&6; }
3182
fi
3183
 
3184
 
3185
    test -n "$CC" && break
3186
  done
3187
fi
3188
if test -z "$CC"; then
3189
  ac_ct_CC=$CC
3190
  for ac_prog in cl.exe
3191
do
3192
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3193
set dummy $ac_prog; ac_word=$2
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
$as_echo_n "checking for $ac_word... " >&6; }
3196
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3197
  $as_echo_n "(cached) " >&6
3198
else
3199
  if test -n "$ac_ct_CC"; then
3200
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3201
else
3202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203
for as_dir in $PATH
3204
do
3205
  IFS=$as_save_IFS
3206
  test -z "$as_dir" && as_dir=.
3207
    for ac_exec_ext in '' $ac_executable_extensions; do
3208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209
    ac_cv_prog_ac_ct_CC="$ac_prog"
3210
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211
    break 2
3212
  fi
3213
done
3214
  done
3215
IFS=$as_save_IFS
3216
 
3217
fi
3218
fi
3219
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3220
if test -n "$ac_ct_CC"; then
3221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3222
$as_echo "$ac_ct_CC" >&6; }
3223
else
3224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225
$as_echo "no" >&6; }
3226
fi
3227
 
3228
 
3229
  test -n "$ac_ct_CC" && break
3230
done
3231
 
3232
  if test "x$ac_ct_CC" = x; then
3233
    CC=""
3234
  else
3235
    case $cross_compiling:$ac_tool_warned in
3236
yes:)
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3238
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3239
ac_tool_warned=yes ;;
3240
esac
3241
    CC=$ac_ct_CC
3242
  fi
3243
fi
3244
 
3245
fi
3246
 
3247
 
3248
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250
as_fn_error "no acceptable C compiler found in \$PATH
3251
See \`config.log' for more details." "$LINENO" 5; }
3252
 
3253
# Provide some information about the compiler.
3254
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3255
set X $ac_compile
3256
ac_compiler=$2
3257
for ac_option in --version -v -V -qversion; do
3258
  { { ac_try="$ac_compiler $ac_option >&5"
3259
case "(($ac_try" in
3260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261
  *) ac_try_echo=$ac_try;;
3262
esac
3263
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264
$as_echo "$ac_try_echo"; } >&5
3265
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3266
  ac_status=$?
3267
  if test -s conftest.err; then
3268
    sed '10a\
3269
... rest of stderr output deleted ...
3270
         10q' conftest.err >conftest.er1
3271
    cat conftest.er1 >&5
3272
    rm -f conftest.er1 conftest.err
3273
  fi
3274
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275
  test $ac_status = 0; }
3276
done
3277
 
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3279
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3280
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3281
  $as_echo_n "(cached) " >&6
3282
else
3283
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284
/* end confdefs.h.  */
3285
 
3286
int
3287
main ()
3288
{
3289
#ifndef __GNUC__
3290
       choke me
3291
#endif
3292
 
3293
  ;
3294
  return 0;
3295
}
3296
_ACEOF
3297
if ac_fn_c_try_compile "$LINENO"; then :
3298
  ac_compiler_gnu=yes
3299
else
3300
  ac_compiler_gnu=no
3301
fi
3302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3304
 
3305
fi
3306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3307
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3308
if test $ac_compiler_gnu = yes; then
3309
  GCC=yes
3310
else
3311
  GCC=
3312
fi
3313
ac_test_CFLAGS=${CFLAGS+set}
3314
ac_save_CFLAGS=$CFLAGS
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3316
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3317
if test "${ac_cv_prog_cc_g+set}" = set; then :
3318
  $as_echo_n "(cached) " >&6
3319
else
3320
  ac_save_c_werror_flag=$ac_c_werror_flag
3321
   ac_c_werror_flag=yes
3322
   ac_cv_prog_cc_g=no
3323
   CFLAGS="-g"
3324
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325
/* end confdefs.h.  */
3326
 
3327
int
3328
main ()
3329
{
3330
 
3331
  ;
3332
  return 0;
3333
}
3334
_ACEOF
3335
if ac_fn_c_try_compile "$LINENO"; then :
3336
  ac_cv_prog_cc_g=yes
3337
else
3338
  CFLAGS=""
3339
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3340
/* end confdefs.h.  */
3341
 
3342
int
3343
main ()
3344
{
3345
 
3346
  ;
3347
  return 0;
3348
}
3349
_ACEOF
3350
if ac_fn_c_try_compile "$LINENO"; then :
3351
 
3352
else
3353
  ac_c_werror_flag=$ac_save_c_werror_flag
3354
         CFLAGS="-g"
3355
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356
/* end confdefs.h.  */
3357
 
3358
int
3359
main ()
3360
{
3361
 
3362
  ;
3363
  return 0;
3364
}
3365
_ACEOF
3366
if ac_fn_c_try_compile "$LINENO"; then :
3367
  ac_cv_prog_cc_g=yes
3368
fi
3369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370
fi
3371
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372
fi
3373
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3374
   ac_c_werror_flag=$ac_save_c_werror_flag
3375
fi
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3377
$as_echo "$ac_cv_prog_cc_g" >&6; }
3378
if test "$ac_test_CFLAGS" = set; then
3379
  CFLAGS=$ac_save_CFLAGS
3380
elif test $ac_cv_prog_cc_g = yes; then
3381
  if test "$GCC" = yes; then
3382
    CFLAGS="-g -O2"
3383
  else
3384
    CFLAGS="-g"
3385
  fi
3386
else
3387
  if test "$GCC" = yes; then
3388
    CFLAGS="-O2"
3389
  else
3390
    CFLAGS=
3391
  fi
3392
fi
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3394
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3395
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3396
  $as_echo_n "(cached) " >&6
3397
else
3398
  ac_cv_prog_cc_c89=no
3399
ac_save_CC=$CC
3400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401
/* end confdefs.h.  */
3402
#include 
3403
#include 
3404
#include 
3405
#include 
3406
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3407
struct buf { int x; };
3408
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3409
static char *e (p, i)
3410
     char **p;
3411
     int i;
3412
{
3413
  return p[i];
3414
}
3415
static char *f (char * (*g) (char **, int), char **p, ...)
3416
{
3417
  char *s;
3418
  va_list v;
3419
  va_start (v,p);
3420
  s = g (p, va_arg (v,int));
3421
  va_end (v);
3422
  return s;
3423
}
3424
 
3425
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3426
   function prototypes and stuff, but not '\xHH' hex character constants.
3427
   These don't provoke an error unfortunately, instead are silently treated
3428
   as 'x'.  The following induces an error, until -std is added to get
3429
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3430
   array size at least.  It's necessary to write '\x00'==0 to get something
3431
   that's true only with -std.  */
3432
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3433
 
3434
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3435
   inside strings and character constants.  */
3436
#define FOO(x) 'x'
3437
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3438
 
3439
int test (int i, double x);
3440
struct s1 {int (*f) (int a);};
3441
struct s2 {int (*f) (double a);};
3442
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443
int argc;
3444
char **argv;
3445
int
3446
main ()
3447
{
3448
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3449
  ;
3450
  return 0;
3451
}
3452
_ACEOF
3453
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3454
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455
do
3456
  CC="$ac_save_CC $ac_arg"
3457
  if ac_fn_c_try_compile "$LINENO"; then :
3458
  ac_cv_prog_cc_c89=$ac_arg
3459
fi
3460
rm -f core conftest.err conftest.$ac_objext
3461
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3462
done
3463
rm -f conftest.$ac_ext
3464
CC=$ac_save_CC
3465
 
3466
fi
3467
# AC_CACHE_VAL
3468
case "x$ac_cv_prog_cc_c89" in
3469
  x)
3470
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3471
$as_echo "none needed" >&6; } ;;
3472
  xno)
3473
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3474
$as_echo "unsupported" >&6; } ;;
3475
  *)
3476
    CC="$CC $ac_cv_prog_cc_c89"
3477
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3478
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3479
esac
3480
if test "x$ac_cv_prog_cc_c89" != xno; then :
3481
 
3482
fi
3483
 
3484
ac_ext=c
3485
ac_cpp='$CPP $CPPFLAGS'
3486
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489
 
3490
 
3491
 
3492
AR=${AR-ar}
3493
 
3494
if test -n "$ac_tool_prefix"; then
3495
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3496
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498
$as_echo_n "checking for $ac_word... " >&6; }
3499
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3500
  $as_echo_n "(cached) " >&6
3501
else
3502
  if test -n "$RANLIB"; then
3503
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3504
else
3505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506
for as_dir in $PATH
3507
do
3508
  IFS=$as_save_IFS
3509
  test -z "$as_dir" && as_dir=.
3510
    for ac_exec_ext in '' $ac_executable_extensions; do
3511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3513
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514
    break 2
3515
  fi
3516
done
3517
  done
3518
IFS=$as_save_IFS
3519
 
3520
fi
3521
fi
3522
RANLIB=$ac_cv_prog_RANLIB
3523
if test -n "$RANLIB"; then
3524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3525
$as_echo "$RANLIB" >&6; }
3526
else
3527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528
$as_echo "no" >&6; }
3529
fi
3530
 
3531
 
3532
fi
3533
if test -z "$ac_cv_prog_RANLIB"; then
3534
  ac_ct_RANLIB=$RANLIB
3535
  # Extract the first word of "ranlib", so it can be a program name with args.
3536
set dummy ranlib; ac_word=$2
3537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538
$as_echo_n "checking for $ac_word... " >&6; }
3539
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3540
  $as_echo_n "(cached) " >&6
3541
else
3542
  if test -n "$ac_ct_RANLIB"; then
3543
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3544
else
3545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546
for as_dir in $PATH
3547
do
3548
  IFS=$as_save_IFS
3549
  test -z "$as_dir" && as_dir=.
3550
    for ac_exec_ext in '' $ac_executable_extensions; do
3551
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3552
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3553
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554
    break 2
3555
  fi
3556
done
3557
  done
3558
IFS=$as_save_IFS
3559
 
3560
fi
3561
fi
3562
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3563
if test -n "$ac_ct_RANLIB"; then
3564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3565
$as_echo "$ac_ct_RANLIB" >&6; }
3566
else
3567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568
$as_echo "no" >&6; }
3569
fi
3570
 
3571
  if test "x$ac_ct_RANLIB" = x; then
3572
    RANLIB=":"
3573
  else
3574
    case $cross_compiling:$ac_tool_warned in
3575
yes:)
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3577
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3578
ac_tool_warned=yes ;;
3579
esac
3580
    RANLIB=$ac_ct_RANLIB
3581
  fi
3582
else
3583
  RANLIB="$ac_cv_prog_RANLIB"
3584
fi
3585
 
3586
 
3587
# Put a plausible default for CC_FOR_BUILD in Makefile.
3588
if test "x$cross_compiling" = "xno"; then
3589
  CC_FOR_BUILD='$(CC)'
3590
else
3591
  CC_FOR_BUILD=gcc
3592
fi
3593
 
3594
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3595
 
3596
 
3597
# If a cpu ever has more than one simulator to choose from, use
3598
# --enable-sim=... to choose.
3599
# Check whether --enable-sim was given.
3600
if test "${enable_sim+set}" = set; then :
3601
  enableval=$enable_sim; case "${enableval}" in
3602
yes | no) ;;
3603
*)      as_fn_error "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3604
esac
3605
fi
3606
 
3607
 
3608
# WHEN ADDING ENTRIES TO THIS MATRIX:
3609
 
3610
# Make sure that the left side always has two dashes.  Otherwise you
3611
# can get spurious matches.  Even for unambiguous cases, do this as a
3612
# convention, else the table becomes a real mess to understand and
3613
# maintain.
3614
 
3615
if test "${enable_sim}" != no; then
3616
   testsuite=no
3617
   common=yes
3618
   igen=no
3619
   case "${target}" in
3620
       arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3621
 
3622
 
3623
subdirs="$subdirs arm"
3624
 
3625
           testsuite=yes
3626
           ;;
3627
       avr*-*-*)
3628
           subdirs="$subdirs avr"
3629
 
3630
           ;;
3631
       cr16*-*-*)
3632
           subdirs="$subdirs cr16"
3633
 
3634
           testsuite=yes
3635
           ;;
3636
       cris-*-* | crisv32-*-*)
3637
           subdirs="$subdirs cris"
3638
 
3639
           testsuite=yes
3640
           ;;
3641
       d10v-*-*)
3642
           subdirs="$subdirs d10v"
3643
 
3644
           ;;
3645
       frv-*-*)
3646
           subdirs="$subdirs frv"
3647
 
3648
           testsuite=yes
3649
           ;;
3650
       h8300*-*-*)
3651
           subdirs="$subdirs h8300"
3652
 
3653
           testsuite=yes
3654
           ;;
3655
       iq2000-*-*)
3656
           subdirs="$subdirs iq2000"
3657
 
3658
           testsuite=yes
3659
           ;;
3660
       lm32-*-*)
3661
           subdirs="$subdirs lm32"
3662
 
3663
           testsuite=yes
3664
           ;;
3665
       m32c-*-*)
3666
           subdirs="$subdirs m32c"
3667
 
3668
           ;;
3669
       m32r-*-*)
3670
           subdirs="$subdirs m32r"
3671
 
3672
           testsuite=yes
3673
           ;;
3674
       m68hc11-*-*|m6811-*-*)
3675
           subdirs="$subdirs m68hc11"
3676
 
3677
           testsuite=yes
3678
           ;;
3679
       mcore-*-*)
3680
           subdirs="$subdirs mcore"
3681
 
3682
           testsuite=yes
3683
           ;;
3684
       microblaze-*-*)
3685
           subdirs="$subdirs microblaze"
3686
 
3687
           testsuite=yes
3688
           ;;
3689
       mips*-*-*)
3690
           subdirs="$subdirs mips"
3691
 
3692
           testsuite=yes
3693
           igen=yes
3694
           ;;
3695
       mn10300*-*-*)
3696
           subdirs="$subdirs mn10300"
3697
 
3698
           igen=yes
3699
           ;;
3700
       moxie-*-*)
3701
           subdirs="$subdirs moxie"
3702
 
3703
           testsuite=yes
3704
           ;;
3705
       or32-*-*)
3706
           subdirs="$subdirs or32"
3707
 
3708
           testsuite=yes
3709
           ;;
3710
       rx-*-*)
3711
           subdirs="$subdirs rx"
3712
 
3713
           ;;
3714
       sh64*-*-*)
3715
           subdirs="$subdirs sh64"
3716
 
3717
           testsuite=yes
3718
           ;;
3719
       sh*-*-*)
3720
           subdirs="$subdirs sh"
3721
 
3722
           testsuite=yes
3723
           ;;
3724
       sparc-*-rtems*|sparc-*-elf*)
3725
           subdirs="$subdirs erc32"
3726
 
3727
           testsuite=yes
3728
           ;;
3729
       powerpc*-*-* )
3730
           subdirs="$subdirs ppc"
3731
 
3732
           ;;
3733
       v850*-*-* )
3734
           subdirs="$subdirs v850"
3735
 
3736
           igen=yes
3737
           testsuite=yes
3738
           ;;
3739
       *)
3740
           # No simulator subdir, so the subdir "common" isn't needed.
3741
           common=no
3742
           ;;
3743
   esac
3744
   if test "$testsuite" = yes; then
3745
      subdirs="$subdirs testsuite"
3746
 
3747
   fi
3748
   if test "$common" = yes; then
3749
      subdirs="$subdirs common"
3750
 
3751
   fi
3752
   if test "$igen" = yes; then
3753
      subdirs="$subdirs igen"
3754
 
3755
   fi
3756
fi
3757
 
3758
ac_config_files="$ac_config_files Makefile"
3759
 
3760
cat >confcache <<\_ACEOF
3761
# This file is a shell script that caches the results of configure
3762
# tests run on this system so they can be shared between configure
3763
# scripts and configure runs, see configure's option --config-cache.
3764
# It is not useful on other systems.  If it contains results you don't
3765
# want to keep, you may remove or edit it.
3766
#
3767
# config.status only pays attention to the cache file if you give it
3768
# the --recheck option to rerun configure.
3769
#
3770
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3771
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3772
# following values.
3773
 
3774
_ACEOF
3775
 
3776
# The following way of writing the cache mishandles newlines in values,
3777
# but we know of no workaround that is simple, portable, and efficient.
3778
# So, we kill variables containing newlines.
3779
# Ultrix sh set writes to stderr and can't be redirected directly,
3780
# and sets the high bit in the cache file unless we assign to the vars.
3781
(
3782
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3783
    eval ac_val=\$$ac_var
3784
    case $ac_val in #(
3785
    *${as_nl}*)
3786
      case $ac_var in #(
3787
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3788
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3789
      esac
3790
      case $ac_var in #(
3791
      _ | IFS | as_nl) ;; #(
3792
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3793
      *) { eval $ac_var=; unset $ac_var;} ;;
3794
      esac ;;
3795
    esac
3796
  done
3797
 
3798
  (set) 2>&1 |
3799
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3800
    *${as_nl}ac_space=\ *)
3801
      # `set' does not quote correctly, so add quotes: double-quote
3802
      # substitution turns \\\\ into \\, and sed turns \\ into \.
3803
      sed -n \
3804
        "s/'/'\\\\''/g;
3805
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3806
      ;; #(
3807
    *)
3808
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3809
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3810
      ;;
3811
    esac |
3812
    sort
3813
) |
3814
  sed '
3815
     /^ac_cv_env_/b end
3816
     t clear
3817
     :clear
3818
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3819
     t end
3820
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3821
     :end' >>confcache
3822
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3823
  if test -w "$cache_file"; then
3824
    test "x$cache_file" != "x/dev/null" &&
3825
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3826
$as_echo "$as_me: updating cache $cache_file" >&6;}
3827
    cat confcache >$cache_file
3828
  else
3829
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3830
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3831
  fi
3832
fi
3833
rm -f confcache
3834
 
3835
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3836
# Let make expand exec_prefix.
3837
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3838
 
3839
# Transform confdefs.h into DEFS.
3840
# Protect against shell expansion while executing Makefile rules.
3841
# Protect against Makefile macro expansion.
3842
#
3843
# If the first sed substitution is executed (which looks for macros that
3844
# take arguments), then branch to the quote section.  Otherwise,
3845
# look for a macro that doesn't take arguments.
3846
ac_script='
3847
:mline
3848
/\\$/{
3849
 N
3850
 s,\\\n,,
3851
 b mline
3852
}
3853
t clear
3854
:clear
3855
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3856
t quote
3857
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3858
t quote
3859
b any
3860
:quote
3861
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3862
s/\[/\\&/g
3863
s/\]/\\&/g
3864
s/\$/$$/g
3865
H
3866
:any
3867
${
3868
        g
3869
        s/^\n//
3870
        s/\n/ /g
3871
        p
3872
}
3873
'
3874
DEFS=`sed -n "$ac_script" confdefs.h`
3875
 
3876
 
3877
ac_libobjs=
3878
ac_ltlibobjs=
3879
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3880
  # 1. Remove the extension, and $U if already installed.
3881
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3882
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3883
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3884
  #    will be set to the directory where LIBOBJS objects are built.
3885
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3886
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3887
done
3888
LIBOBJS=$ac_libobjs
3889
 
3890
LTLIBOBJS=$ac_ltlibobjs
3891
 
3892
 
3893
 
3894
: ${CONFIG_STATUS=./config.status}
3895
ac_write_fail=0
3896
ac_clean_files_save=$ac_clean_files
3897
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3898
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3899
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3900
as_write_fail=0
3901
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3902
#! $SHELL
3903
# Generated by $as_me.
3904
# Run this file to recreate the current configuration.
3905
# Compiler output produced by configure, useful for debugging
3906
# configure, is in config.log if it exists.
3907
 
3908
debug=false
3909
ac_cs_recheck=false
3910
ac_cs_silent=false
3911
 
3912
SHELL=\${CONFIG_SHELL-$SHELL}
3913
export SHELL
3914
_ASEOF
3915
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3916
## -------------------- ##
3917
## M4sh Initialization. ##
3918
## -------------------- ##
3919
 
3920
# Be more Bourne compatible
3921
DUALCASE=1; export DUALCASE # for MKS sh
3922
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3923
  emulate sh
3924
  NULLCMD=:
3925
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3926
  # is contrary to our usage.  Disable this feature.
3927
  alias -g '${1+"$@"}'='"$@"'
3928
  setopt NO_GLOB_SUBST
3929
else
3930
  case `(set -o) 2>/dev/null` in #(
3931
  *posix*) :
3932
    set -o posix ;; #(
3933
  *) :
3934
     ;;
3935
esac
3936
fi
3937
 
3938
 
3939
as_nl='
3940
'
3941
export as_nl
3942
# Printing a long string crashes Solaris 7 /usr/bin/printf.
3943
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3944
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3945
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3946
# Prefer a ksh shell builtin over an external printf program on Solaris,
3947
# but without wasting forks for bash or zsh.
3948
if test -z "$BASH_VERSION$ZSH_VERSION" \
3949
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3950
  as_echo='print -r --'
3951
  as_echo_n='print -rn --'
3952
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3953
  as_echo='printf %s\n'
3954
  as_echo_n='printf %s'
3955
else
3956
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3957
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3958
    as_echo_n='/usr/ucb/echo -n'
3959
  else
3960
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3961
    as_echo_n_body='eval
3962
      arg=$1;
3963
      case $arg in #(
3964
      *"$as_nl"*)
3965
        expr "X$arg" : "X\\(.*\\)$as_nl";
3966
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3967
      esac;
3968
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3969
    '
3970
    export as_echo_n_body
3971
    as_echo_n='sh -c $as_echo_n_body as_echo'
3972
  fi
3973
  export as_echo_body
3974
  as_echo='sh -c $as_echo_body as_echo'
3975
fi
3976
 
3977
# The user is always right.
3978
if test "${PATH_SEPARATOR+set}" != set; then
3979
  PATH_SEPARATOR=:
3980
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3981
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3982
      PATH_SEPARATOR=';'
3983
  }
3984
fi
3985
 
3986
 
3987
# IFS
3988
# We need space, tab and new line, in precisely that order.  Quoting is
3989
# there to prevent editors from complaining about space-tab.
3990
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3991
# splitting by setting IFS to empty value.)
3992
IFS=" ""        $as_nl"
3993
 
3994
# Find who we are.  Look in the path if we contain no directory separator.
3995
case $0 in #((
3996
  *[\\/]* ) as_myself=$0 ;;
3997
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998
for as_dir in $PATH
3999
do
4000
  IFS=$as_save_IFS
4001
  test -z "$as_dir" && as_dir=.
4002
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4003
  done
4004
IFS=$as_save_IFS
4005
 
4006
     ;;
4007
esac
4008
# We did not find ourselves, most probably we were run as `sh COMMAND'
4009
# in which case we are not to be found in the path.
4010
if test "x$as_myself" = x; then
4011
  as_myself=$0
4012
fi
4013
if test ! -f "$as_myself"; then
4014
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4015
  exit 1
4016
fi
4017
 
4018
# Unset variables that we do not need and which cause bugs (e.g. in
4019
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4020
# suppresses any "Segmentation fault" message there.  '((' could
4021
# trigger a bug in pdksh 5.2.14.
4022
for as_var in BASH_ENV ENV MAIL MAILPATH
4023
do eval test x\${$as_var+set} = xset \
4024
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4025
done
4026
PS1='$ '
4027
PS2='> '
4028
PS4='+ '
4029
 
4030
# NLS nuisances.
4031
LC_ALL=C
4032
export LC_ALL
4033
LANGUAGE=C
4034
export LANGUAGE
4035
 
4036
# CDPATH.
4037
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4038
 
4039
 
4040
# as_fn_error ERROR [LINENO LOG_FD]
4041
# ---------------------------------
4042
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4043
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4044
# script with status $?, using 1 if that was 0.
4045
as_fn_error ()
4046
{
4047
  as_status=$?; test $as_status -eq 0 && as_status=1
4048
  if test "$3"; then
4049
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4050
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4051
  fi
4052
  $as_echo "$as_me: error: $1" >&2
4053
  as_fn_exit $as_status
4054
} # as_fn_error
4055
 
4056
 
4057
# as_fn_set_status STATUS
4058
# -----------------------
4059
# Set $? to STATUS, without forking.
4060
as_fn_set_status ()
4061
{
4062
  return $1
4063
} # as_fn_set_status
4064
 
4065
# as_fn_exit STATUS
4066
# -----------------
4067
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4068
as_fn_exit ()
4069
{
4070
  set +e
4071
  as_fn_set_status $1
4072
  exit $1
4073
} # as_fn_exit
4074
 
4075
# as_fn_unset VAR
4076
# ---------------
4077
# Portably unset VAR.
4078
as_fn_unset ()
4079
{
4080
  { eval $1=; unset $1;}
4081
}
4082
as_unset=as_fn_unset
4083
# as_fn_append VAR VALUE
4084
# ----------------------
4085
# Append the text in VALUE to the end of the definition contained in VAR. Take
4086
# advantage of any shell optimizations that allow amortized linear growth over
4087
# repeated appends, instead of the typical quadratic growth present in naive
4088
# implementations.
4089
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4090
  eval 'as_fn_append ()
4091
  {
4092
    eval $1+=\$2
4093
  }'
4094
else
4095
  as_fn_append ()
4096
  {
4097
    eval $1=\$$1\$2
4098
  }
4099
fi # as_fn_append
4100
 
4101
# as_fn_arith ARG...
4102
# ------------------
4103
# Perform arithmetic evaluation on the ARGs, and store the result in the
4104
# global $as_val. Take advantage of shells that can avoid forks. The arguments
4105
# must be portable across $(()) and expr.
4106
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4107
  eval 'as_fn_arith ()
4108
  {
4109
    as_val=$(( $* ))
4110
  }'
4111
else
4112
  as_fn_arith ()
4113
  {
4114
    as_val=`expr "$@" || test $? -eq 1`
4115
  }
4116
fi # as_fn_arith
4117
 
4118
 
4119
if expr a : '\(a\)' >/dev/null 2>&1 &&
4120
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4121
  as_expr=expr
4122
else
4123
  as_expr=false
4124
fi
4125
 
4126
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4127
  as_basename=basename
4128
else
4129
  as_basename=false
4130
fi
4131
 
4132
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4133
  as_dirname=dirname
4134
else
4135
  as_dirname=false
4136
fi
4137
 
4138
as_me=`$as_basename -- "$0" ||
4139
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4140
         X"$0" : 'X\(//\)$' \| \
4141
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4142
$as_echo X/"$0" |
4143
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4144
            s//\1/
4145
            q
4146
          }
4147
          /^X\/\(\/\/\)$/{
4148
            s//\1/
4149
            q
4150
          }
4151
          /^X\/\(\/\).*/{
4152
            s//\1/
4153
            q
4154
          }
4155
          s/.*/./; q'`
4156
 
4157
# Avoid depending upon Character Ranges.
4158
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4159
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4160
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4161
as_cr_digits='0123456789'
4162
as_cr_alnum=$as_cr_Letters$as_cr_digits
4163
 
4164
ECHO_C= ECHO_N= ECHO_T=
4165
case `echo -n x` in #(((((
4166
-n*)
4167
  case `echo 'xy\c'` in
4168
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4169
  xy)  ECHO_C='\c';;
4170
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4171
       ECHO_T=' ';;
4172
  esac;;
4173
*)
4174
  ECHO_N='-n';;
4175
esac
4176
 
4177
rm -f conf$$ conf$$.exe conf$$.file
4178
if test -d conf$$.dir; then
4179
  rm -f conf$$.dir/conf$$.file
4180
else
4181
  rm -f conf$$.dir
4182
  mkdir conf$$.dir 2>/dev/null
4183
fi
4184
if (echo >conf$$.file) 2>/dev/null; then
4185
  if ln -s conf$$.file conf$$ 2>/dev/null; then
4186
    as_ln_s='ln -s'
4187
    # ... but there are two gotchas:
4188
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4189
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4190
    # In both cases, we have to default to `cp -p'.
4191
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4192
      as_ln_s='cp -p'
4193
  elif ln conf$$.file conf$$ 2>/dev/null; then
4194
    as_ln_s=ln
4195
  else
4196
    as_ln_s='cp -p'
4197
  fi
4198
else
4199
  as_ln_s='cp -p'
4200
fi
4201
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4202
rmdir conf$$.dir 2>/dev/null
4203
 
4204
 
4205
# as_fn_mkdir_p
4206
# -------------
4207
# Create "$as_dir" as a directory, including parents if necessary.
4208
as_fn_mkdir_p ()
4209
{
4210
 
4211
  case $as_dir in #(
4212
  -*) as_dir=./$as_dir;;
4213
  esac
4214
  test -d "$as_dir" || eval $as_mkdir_p || {
4215
    as_dirs=
4216
    while :; do
4217
      case $as_dir in #(
4218
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4219
      *) as_qdir=$as_dir;;
4220
      esac
4221
      as_dirs="'$as_qdir' $as_dirs"
4222
      as_dir=`$as_dirname -- "$as_dir" ||
4223
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4224
         X"$as_dir" : 'X\(//\)[^/]' \| \
4225
         X"$as_dir" : 'X\(//\)$' \| \
4226
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4227
$as_echo X"$as_dir" |
4228
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4229
            s//\1/
4230
            q
4231
          }
4232
          /^X\(\/\/\)[^/].*/{
4233
            s//\1/
4234
            q
4235
          }
4236
          /^X\(\/\/\)$/{
4237
            s//\1/
4238
            q
4239
          }
4240
          /^X\(\/\).*/{
4241
            s//\1/
4242
            q
4243
          }
4244
          s/.*/./; q'`
4245
      test -d "$as_dir" && break
4246
    done
4247
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4248
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4249
 
4250
 
4251
} # as_fn_mkdir_p
4252
if mkdir -p . 2>/dev/null; then
4253
  as_mkdir_p='mkdir -p "$as_dir"'
4254
else
4255
  test -d ./-p && rmdir ./-p
4256
  as_mkdir_p=false
4257
fi
4258
 
4259
if test -x / >/dev/null 2>&1; then
4260
  as_test_x='test -x'
4261
else
4262
  if ls -dL / >/dev/null 2>&1; then
4263
    as_ls_L_option=L
4264
  else
4265
    as_ls_L_option=
4266
  fi
4267
  as_test_x='
4268
    eval sh -c '\''
4269
      if test -d "$1"; then
4270
        test -d "$1/.";
4271
      else
4272
        case $1 in #(
4273
        -*)set "./$1";;
4274
        esac;
4275
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4276
        ???[sx]*):;;*)false;;esac;fi
4277
    '\'' sh
4278
  '
4279
fi
4280
as_executable_p=$as_test_x
4281
 
4282
# Sed expression to map a string onto a valid CPP name.
4283
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4284
 
4285
# Sed expression to map a string onto a valid variable name.
4286
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4287
 
4288
 
4289
exec 6>&1
4290
## ----------------------------------- ##
4291
## Main body of $CONFIG_STATUS script. ##
4292
## ----------------------------------- ##
4293
_ASEOF
4294
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4295
 
4296
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4297
# Save the log message, to keep $0 and so on meaningful, and to
4298
# report actual input values of CONFIG_FILES etc. instead of their
4299
# values after options handling.
4300
ac_log="
4301
This file was extended by $as_me, which was
4302
generated by GNU Autoconf 2.64.  Invocation command line was
4303
 
4304
  CONFIG_FILES    = $CONFIG_FILES
4305
  CONFIG_HEADERS  = $CONFIG_HEADERS
4306
  CONFIG_LINKS    = $CONFIG_LINKS
4307
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4308
  $ $0 $@
4309
 
4310
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4311
"
4312
 
4313
_ACEOF
4314
 
4315
case $ac_config_files in *"
4316
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4317
esac
4318
 
4319
 
4320
 
4321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4322
# Files that config.status was made for.
4323
config_files="$ac_config_files"
4324
 
4325
_ACEOF
4326
 
4327
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4328
ac_cs_usage="\
4329
\`$as_me' instantiates files and other configuration actions
4330
from templates according to the current configuration.  Unless the files
4331
and actions are specified as TAGs, all are instantiated by default.
4332
 
4333
Usage: $0 [OPTION]... [TAG]...
4334
 
4335
  -h, --help       print this help, then exit
4336
  -V, --version    print version number and configuration settings, then exit
4337
  -q, --quiet, --silent
4338
                   do not print progress messages
4339
  -d, --debug      don't remove temporary files
4340
      --recheck    update $as_me by reconfiguring in the same conditions
4341
      --file=FILE[:TEMPLATE]
4342
                   instantiate the configuration file FILE
4343
 
4344
Configuration files:
4345
$config_files
4346
 
4347
Report bugs to the package provider."
4348
 
4349
_ACEOF
4350
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4351
ac_cs_version="\\
4352
config.status
4353
configured by $0, generated by GNU Autoconf 2.64,
4354
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4355
 
4356
Copyright (C) 2009 Free Software Foundation, Inc.
4357
This config.status script is free software; the Free Software Foundation
4358
gives unlimited permission to copy, distribute and modify it."
4359
 
4360
ac_pwd='$ac_pwd'
4361
srcdir='$srcdir'
4362
INSTALL='$INSTALL'
4363
test -n "\$AWK" || AWK=awk
4364
_ACEOF
4365
 
4366
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4367
# The default lists apply if the user does not specify any file.
4368
ac_need_defaults=:
4369
while test $# != 0
4370
do
4371
  case $1 in
4372
  --*=*)
4373
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4374
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4375
    ac_shift=:
4376
    ;;
4377
  *)
4378
    ac_option=$1
4379
    ac_optarg=$2
4380
    ac_shift=shift
4381
    ;;
4382
  esac
4383
 
4384
  case $ac_option in
4385
  # Handling of the options.
4386
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4387
    ac_cs_recheck=: ;;
4388
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4389
    $as_echo "$ac_cs_version"; exit ;;
4390
  --debug | --debu | --deb | --de | --d | -d )
4391
    debug=: ;;
4392
  --file | --fil | --fi | --f )
4393
    $ac_shift
4394
    case $ac_optarg in
4395
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4396
    esac
4397
    as_fn_append CONFIG_FILES " '$ac_optarg'"
4398
    ac_need_defaults=false;;
4399
  --he | --h |  --help | --hel | -h )
4400
    $as_echo "$ac_cs_usage"; exit ;;
4401
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4402
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4403
    ac_cs_silent=: ;;
4404
 
4405
  # This is an error.
4406
  -*) as_fn_error "unrecognized option: \`$1'
4407
Try \`$0 --help' for more information." ;;
4408
 
4409
  *) as_fn_append ac_config_targets " $1"
4410
     ac_need_defaults=false ;;
4411
 
4412
  esac
4413
  shift
4414
done
4415
 
4416
ac_configure_extra_args=
4417
 
4418
if $ac_cs_silent; then
4419
  exec 6>/dev/null
4420
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4421
fi
4422
 
4423
_ACEOF
4424
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4425
if \$ac_cs_recheck; then
4426
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4427
  shift
4428
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4429
  CONFIG_SHELL='$SHELL'
4430
  export CONFIG_SHELL
4431
  exec "\$@"
4432
fi
4433
 
4434
_ACEOF
4435
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4436
exec 5>>config.log
4437
{
4438
  echo
4439
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4440
## Running $as_me. ##
4441
_ASBOX
4442
  $as_echo "$ac_log"
4443
} >&5
4444
 
4445
_ACEOF
4446
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4447
_ACEOF
4448
 
4449
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4450
 
4451
# Handling of arguments.
4452
for ac_config_target in $ac_config_targets
4453
do
4454
  case $ac_config_target in
4455
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4456
 
4457
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4458
  esac
4459
done
4460
 
4461
 
4462
# If the user did not use the arguments to specify the items to instantiate,
4463
# then the envvar interface is used.  Set only those that are not.
4464
# We use the long form for the default assignment because of an extremely
4465
# bizarre bug on SunOS 4.1.3.
4466
if $ac_need_defaults; then
4467
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4468
fi
4469
 
4470
# Have a temporary directory for convenience.  Make it in the build tree
4471
# simply because there is no reason against having it here, and in addition,
4472
# creating and moving files from /tmp can sometimes cause problems.
4473
# Hook for its removal unless debugging.
4474
# Note that there is a small window in which the directory will not be cleaned:
4475
# after its creation but before its name has been assigned to `$tmp'.
4476
$debug ||
4477
{
4478
  tmp=
4479
  trap 'exit_status=$?
4480
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4481
' 0
4482
  trap 'as_fn_exit 1' 1 2 13 15
4483
}
4484
# Create a (secure) tmp directory for tmp files.
4485
 
4486
{
4487
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4488
  test -n "$tmp" && test -d "$tmp"
4489
}  ||
4490
{
4491
  tmp=./conf$$-$RANDOM
4492
  (umask 077 && mkdir "$tmp")
4493
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4494
 
4495
# Set up the scripts for CONFIG_FILES section.
4496
# No need to generate them if there are no CONFIG_FILES.
4497
# This happens for instance with `./config.status config.h'.
4498
if test -n "$CONFIG_FILES"; then
4499
 
4500
 
4501
ac_cr=`echo X | tr X '\015'`
4502
# On cygwin, bash can eat \r inside `` if the user requested igncr.
4503
# But we know of no other shell where ac_cr would be empty at this
4504
# point, so we can use a bashism as a fallback.
4505
if test "x$ac_cr" = x; then
4506
  eval ac_cr=\$\'\\r\'
4507
fi
4508
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
4509
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4510
  ac_cs_awk_cr='\r'
4511
else
4512
  ac_cs_awk_cr=$ac_cr
4513
fi
4514
 
4515
echo 'BEGIN {' >"$tmp/subs1.awk" &&
4516
_ACEOF
4517
 
4518
 
4519
{
4520
  echo "cat >conf$$subs.awk <<_ACEOF" &&
4521
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4522
  echo "_ACEOF"
4523
} >conf$$subs.sh ||
4524
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4525
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4526
ac_delim='%!_!# '
4527
for ac_last_try in false false false false false :; do
4528
  . ./conf$$subs.sh ||
4529
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4530
 
4531
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4532
  if test $ac_delim_n = $ac_delim_num; then
4533
    break
4534
  elif $ac_last_try; then
4535
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4536
  else
4537
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4538
  fi
4539
done
4540
rm -f conf$$subs.sh
4541
 
4542
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4543
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4544
_ACEOF
4545
sed -n '
4546
h
4547
s/^/S["/; s/!.*/"]=/
4548
p
4549
g
4550
s/^[^!]*!//
4551
:repl
4552
t repl
4553
s/'"$ac_delim"'$//
4554
t delim
4555
:nl
4556
h
4557
s/\(.\{148\}\).*/\1/
4558
t more1
4559
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4560
p
4561
n
4562
b repl
4563
:more1
4564
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4565
p
4566
g
4567
s/.\{148\}//
4568
t nl
4569
:delim
4570
h
4571
s/\(.\{148\}\).*/\1/
4572
t more2
4573
s/["\\]/\\&/g; s/^/"/; s/$/"/
4574
p
4575
b
4576
:more2
4577
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4578
p
4579
g
4580
s/.\{148\}//
4581
t delim
4582
' 
4583
/^[^""]/{
4584
  N
4585
  s/\n//
4586
}
4587
' >>$CONFIG_STATUS || ac_write_fail=1
4588
rm -f conf$$subs.awk
4589
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4590
_ACAWK
4591
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4592
  for (key in S) S_is_set[key] = 1
4593
  FS = ""
4594
 
4595
}
4596
{
4597
  line = $ 0
4598
  nfields = split(line, field, "@")
4599
  substed = 0
4600
  len = length(field[1])
4601
  for (i = 2; i < nfields; i++) {
4602
    key = field[i]
4603
    keylen = length(key)
4604
    if (S_is_set[key]) {
4605
      value = S[key]
4606
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4607
      len += length(value) + length(field[++i])
4608
      substed = 1
4609
    } else
4610
      len += 1 + keylen
4611
  }
4612
 
4613
  print line
4614
}
4615
 
4616
_ACAWK
4617
_ACEOF
4618
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4619
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4620
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4621
else
4622
  cat
4623
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4624
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
4625
_ACEOF
4626
 
4627
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4628
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4629
# trailing colons and then remove the whole line if VPATH becomes empty
4630
# (actually we leave an empty line to preserve line numbers).
4631
if test "x$srcdir" = x.; then
4632
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4633
s/:*\$(srcdir):*/:/
4634
s/:*\${srcdir}:*/:/
4635
s/:*@srcdir@:*/:/
4636
s/^\([^=]*=[     ]*\):*/\1/
4637
s/:*$//
4638
s/^[^=]*=[       ]*$//
4639
}'
4640
fi
4641
 
4642
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4643
fi # test -n "$CONFIG_FILES"
4644
 
4645
 
4646
eval set X "  :F $CONFIG_FILES      "
4647
shift
4648
for ac_tag
4649
do
4650
  case $ac_tag in
4651
  :[FHLC]) ac_mode=$ac_tag; continue;;
4652
  esac
4653
  case $ac_mode$ac_tag in
4654
  :[FHL]*:*);;
4655
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4656
  :[FH]-) ac_tag=-:-;;
4657
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4658
  esac
4659
  ac_save_IFS=$IFS
4660
  IFS=:
4661
  set x $ac_tag
4662
  IFS=$ac_save_IFS
4663
  shift
4664
  ac_file=$1
4665
  shift
4666
 
4667
  case $ac_mode in
4668
  :L) ac_source=$1;;
4669
  :[FH])
4670
    ac_file_inputs=
4671
    for ac_f
4672
    do
4673
      case $ac_f in
4674
      -) ac_f="$tmp/stdin";;
4675
      *) # Look for the file first in the build tree, then in the source tree
4676
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4677
         # because $ac_f cannot contain `:'.
4678
         test -f "$ac_f" ||
4679
           case $ac_f in
4680
           [\\/$]*) false;;
4681
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4682
           esac ||
4683
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4684
      esac
4685
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4686
      as_fn_append ac_file_inputs " '$ac_f'"
4687
    done
4688
 
4689
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4690
    # use $as_me), people would be surprised to read:
4691
    #    /* config.h.  Generated by config.status.  */
4692
    configure_input='Generated from '`
4693
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4694
        `' by configure.'
4695
    if test x"$ac_file" != x-; then
4696
      configure_input="$ac_file.  $configure_input"
4697
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4698
$as_echo "$as_me: creating $ac_file" >&6;}
4699
    fi
4700
    # Neutralize special characters interpreted by sed in replacement strings.
4701
    case $configure_input in #(
4702
    *\&* | *\|* | *\\* )
4703
       ac_sed_conf_input=`$as_echo "$configure_input" |
4704
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4705
    *) ac_sed_conf_input=$configure_input;;
4706
    esac
4707
 
4708
    case $ac_tag in
4709
    *:-:* | *:-) cat >"$tmp/stdin" \
4710
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4711
    esac
4712
    ;;
4713
  esac
4714
 
4715
  ac_dir=`$as_dirname -- "$ac_file" ||
4716
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4717
         X"$ac_file" : 'X\(//\)[^/]' \| \
4718
         X"$ac_file" : 'X\(//\)$' \| \
4719
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4720
$as_echo X"$ac_file" |
4721
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4722
            s//\1/
4723
            q
4724
          }
4725
          /^X\(\/\/\)[^/].*/{
4726
            s//\1/
4727
            q
4728
          }
4729
          /^X\(\/\/\)$/{
4730
            s//\1/
4731
            q
4732
          }
4733
          /^X\(\/\).*/{
4734
            s//\1/
4735
            q
4736
          }
4737
          s/.*/./; q'`
4738
  as_dir="$ac_dir"; as_fn_mkdir_p
4739
  ac_builddir=.
4740
 
4741
case "$ac_dir" in
4742
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4743
*)
4744
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4745
  # A ".." for each directory in $ac_dir_suffix.
4746
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4747
  case $ac_top_builddir_sub in
4748
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4749
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4750
  esac ;;
4751
esac
4752
ac_abs_top_builddir=$ac_pwd
4753
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4754
# for backward compatibility:
4755
ac_top_builddir=$ac_top_build_prefix
4756
 
4757
case $srcdir in
4758
  .)  # We are building in place.
4759
    ac_srcdir=.
4760
    ac_top_srcdir=$ac_top_builddir_sub
4761
    ac_abs_top_srcdir=$ac_pwd ;;
4762
  [\\/]* | ?:[\\/]* )  # Absolute name.
4763
    ac_srcdir=$srcdir$ac_dir_suffix;
4764
    ac_top_srcdir=$srcdir
4765
    ac_abs_top_srcdir=$srcdir ;;
4766
  *) # Relative name.
4767
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4768
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4769
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4770
esac
4771
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4772
 
4773
 
4774
  case $ac_mode in
4775
  :F)
4776
  #
4777
  # CONFIG_FILE
4778
  #
4779
 
4780
  case $INSTALL in
4781
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4782
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4783
  esac
4784
_ACEOF
4785
 
4786
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4787
# If the template does not know about datarootdir, expand it.
4788
# FIXME: This hack should be removed a few years after 2.60.
4789
ac_datarootdir_hack=; ac_datarootdir_seen=
4790
ac_sed_dataroot='
4791
/datarootdir/ {
4792
  p
4793
  q
4794
}
4795
/@datadir@/p
4796
/@docdir@/p
4797
/@infodir@/p
4798
/@localedir@/p
4799
/@mandir@/p'
4800
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4801
*datarootdir*) ac_datarootdir_seen=yes;;
4802
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4803
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4804
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4805
_ACEOF
4806
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4807
  ac_datarootdir_hack='
4808
  s&@datadir@&$datadir&g
4809
  s&@docdir@&$docdir&g
4810
  s&@infodir@&$infodir&g
4811
  s&@localedir@&$localedir&g
4812
  s&@mandir@&$mandir&g
4813
  s&\\\${datarootdir}&$datarootdir&g' ;;
4814
esac
4815
_ACEOF
4816
 
4817
# Neutralize VPATH when `$srcdir' = `.'.
4818
# Shell code in configure.ac might set extrasub.
4819
# FIXME: do we really want to maintain this feature?
4820
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4821
ac_sed_extra="$ac_vpsub
4822
$extrasub
4823
_ACEOF
4824
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4825
:t
4826
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4827
s|@configure_input@|$ac_sed_conf_input|;t t
4828
s&@top_builddir@&$ac_top_builddir_sub&;t t
4829
s&@top_build_prefix@&$ac_top_build_prefix&;t t
4830
s&@srcdir@&$ac_srcdir&;t t
4831
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4832
s&@top_srcdir@&$ac_top_srcdir&;t t
4833
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4834
s&@builddir@&$ac_builddir&;t t
4835
s&@abs_builddir@&$ac_abs_builddir&;t t
4836
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4837
s&@INSTALL@&$ac_INSTALL&;t t
4838
$ac_datarootdir_hack
4839
"
4840
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4841
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4842
 
4843
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4844
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4845
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4846
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4847
which seems to be undefined.  Please make sure it is defined." >&5
4848
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4849
which seems to be undefined.  Please make sure it is defined." >&2;}
4850
 
4851
  rm -f "$tmp/stdin"
4852
  case $ac_file in
4853
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4854
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4855
  esac \
4856
  || as_fn_error "could not create $ac_file" "$LINENO" 5
4857
 ;;
4858
 
4859
 
4860
 
4861
  esac
4862
 
4863
done # for ac_tag
4864
 
4865
 
4866
as_fn_exit 0
4867
_ACEOF
4868
ac_clean_files=$ac_clean_files_save
4869
 
4870
test $ac_write_fail = 0 ||
4871
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4872
 
4873
 
4874
# configure is writing to config.log, and then calls config.status.
4875
# config.status does its own redirection, appending to config.log.
4876
# Unfortunately, on DOS this fails, as config.log is still kept open
4877
# by configure, so config.status won't be able to write to it; its
4878
# output is simply discarded.  So we exec the FD to /dev/null,
4879
# effectively closing config.log, so it can be properly (re)opened and
4880
# appended to by config.status.  When coming back to configure, we
4881
# need to make the FD available again.
4882
if test "$no_create" != yes; then
4883
  ac_cs_success=:
4884
  ac_config_status_args=
4885
  test "$silent" = yes &&
4886
    ac_config_status_args="$ac_config_status_args --quiet"
4887
  exec 5>/dev/null
4888
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4889
  exec 5>>config.log
4890
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4891
  # would make configure fail if this is the last instruction.
4892
  $ac_cs_success || as_fn_exit $?
4893
fi
4894
 
4895
#
4896
# CONFIG_SUBDIRS section.
4897
#
4898
if test "$no_recursion" != yes; then
4899
 
4900
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4901
  # so they do not pile up.
4902
  ac_sub_configure_args=
4903
  ac_prev=
4904
  eval "set x $ac_configure_args"
4905
  shift
4906
  for ac_arg
4907
  do
4908
    if test -n "$ac_prev"; then
4909
      ac_prev=
4910
      continue
4911
    fi
4912
    case $ac_arg in
4913
    -cache-file | --cache-file | --cache-fil | --cache-fi \
4914
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4915
      ac_prev=cache_file ;;
4916
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4917
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4918
    | --c=*)
4919
      ;;
4920
    --config-cache | -C)
4921
      ;;
4922
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4923
      ac_prev=srcdir ;;
4924
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4925
      ;;
4926
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4927
      ac_prev=prefix ;;
4928
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4929
      ;;
4930
    --disable-option-checking)
4931
      ;;
4932
    *)
4933
      case $ac_arg in
4934
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4935
      esac
4936
      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4937
    esac
4938
  done
4939
 
4940
  # Always prepend --prefix to ensure using the same prefix
4941
  # in subdir configurations.
4942
  ac_arg="--prefix=$prefix"
4943
  case $ac_arg in
4944
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4945
  esac
4946
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4947
 
4948
  # Pass --silent
4949
  if test "$silent" = yes; then
4950
    ac_sub_configure_args="--silent $ac_sub_configure_args"
4951
  fi
4952
 
4953
  # Always prepend --disable-option-checking to silence warnings, since
4954
  # different subdirs can have different --enable and --with options.
4955
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4956
 
4957
  ac_popdir=`pwd`
4958
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4959
 
4960
    # Do not complain, so a configure script can configure whichever
4961
    # parts of a large source tree are present.
4962
    test -d "$srcdir/$ac_dir" || continue
4963
 
4964
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4965
    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4966
    $as_echo "$ac_msg" >&6
4967
    as_dir="$ac_dir"; as_fn_mkdir_p
4968
    ac_builddir=.
4969
 
4970
case "$ac_dir" in
4971
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4972
*)
4973
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4974
  # A ".." for each directory in $ac_dir_suffix.
4975
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4976
  case $ac_top_builddir_sub in
4977
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4978
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4979
  esac ;;
4980
esac
4981
ac_abs_top_builddir=$ac_pwd
4982
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4983
# for backward compatibility:
4984
ac_top_builddir=$ac_top_build_prefix
4985
 
4986
case $srcdir in
4987
  .)  # We are building in place.
4988
    ac_srcdir=.
4989
    ac_top_srcdir=$ac_top_builddir_sub
4990
    ac_abs_top_srcdir=$ac_pwd ;;
4991
  [\\/]* | ?:[\\/]* )  # Absolute name.
4992
    ac_srcdir=$srcdir$ac_dir_suffix;
4993
    ac_top_srcdir=$srcdir
4994
    ac_abs_top_srcdir=$srcdir ;;
4995
  *) # Relative name.
4996
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4997
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4998
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4999
esac
5000
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5001
 
5002
 
5003
    cd "$ac_dir"
5004
 
5005
    # Check for guested configure; otherwise get Cygnus style configure.
5006
    if test -f "$ac_srcdir/configure.gnu"; then
5007
      ac_sub_configure=$ac_srcdir/configure.gnu
5008
    elif test -f "$ac_srcdir/configure"; then
5009
      ac_sub_configure=$ac_srcdir/configure
5010
    elif test -f "$ac_srcdir/configure.in"; then
5011
      # This should be Cygnus configure.
5012
      ac_sub_configure=$ac_aux_dir/configure
5013
    else
5014
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5015
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5016
      ac_sub_configure=
5017
    fi
5018
 
5019
    # The recursion is here.
5020
    if test -n "$ac_sub_configure"; then
5021
      # Make the cache file name correct relative to the subdirectory.
5022
      case $cache_file in
5023
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5024
      *) # Relative name.
5025
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5026
      esac
5027
 
5028
      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5029
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5030
      # The eval makes quoting arguments work.
5031
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5032
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5033
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5034
    fi
5035
 
5036
    cd "$ac_popdir"
5037
  done
5038
fi
5039
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5040
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5041
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5042
fi
5043
 
5044
 
5045
exit 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.