OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [newlib/] [libgloss/] [riscv/] [configure] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for RISC-V libgloss ?.
4
#
5
# Report bugs to .
6
#
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
# Foundation, Inc.
10
#
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
16
 
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
  emulate sh
21
  NULLCMD=:
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
  # is contrary to our usage.  Disable this feature.
24
  alias -g '${1+"$@"}'='"$@"'
25
  setopt NO_GLOB_SUBST
26
else
27
  case `(set -o) 2>/dev/null` in #(
28
  *posix*) :
29
    set -o posix ;; #(
30
  *) :
31
     ;;
32
esac
33
fi
34
 
35
 
36
as_nl='
37
'
38
export as_nl
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
  as_echo='print -r --'
48
  as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60
      case $arg in #(
61
      *"$as_nl"*)
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
 
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
81
fi
82
 
83
 
84
# IFS
85
# We need space, tab and new line, in precisely that order.  Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
89
IFS=" ""        $as_nl"
90
 
91
# Find who we are.  Look in the path if we contain no directory separator.
92
case $0 in #((
93
  *[\\/]* ) as_myself=$0 ;;
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
for as_dir in $PATH
96
do
97
  IFS=$as_save_IFS
98
  test -z "$as_dir" && as_dir=.
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
  done
101
IFS=$as_save_IFS
102
 
103
     ;;
104
esac
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
108
  as_myself=$0
109
fi
110
if test ! -f "$as_myself"; then
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
  exit 1
113
fi
114
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there.  '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
done
123
PS1='$ '
124
PS2='> '
125
PS4='+ '
126
 
127
# NLS nuisances.
128
LC_ALL=C
129
export LC_ALL
130
LANGUAGE=C
131
export LANGUAGE
132
 
133
# CDPATH.
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
136
if test "x$CONFIG_SHELL" = x; then
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
  emulate sh
139
  NULLCMD=:
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
  # is contrary to our usage.  Disable this feature.
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
  setopt NO_GLOB_SUBST
144
else
145
  case \`(set -o) 2>/dev/null\` in #(
146
  *posix*) :
147
    set -o posix ;; #(
148
  *) :
149
     ;;
150
esac
151
fi
152
"
153
  as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
158
 
159
exitcode=0
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
166
else
167
  exitcode=1; echo positional parameters were not saved.
168
fi
169
test x\$exitcode = x0 || exit 1"
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174
  if (eval "$as_required") 2>/dev/null; then :
175
  as_have_required=yes
176
else
177
  as_have_required=no
178
fi
179
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
 
181
else
182
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
as_found=false
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185
do
186
  IFS=$as_save_IFS
187
  test -z "$as_dir" && as_dir=.
188
  as_found=:
189
  case $as_dir in #(
190
         /*)
191
           for as_base in sh bash ksh sh5; do
192
             # Try only shells that exist, to save several forks.
193
             as_shell=$as_dir/$as_base
194
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
  CONFIG_SHELL=$as_shell as_have_required=yes
197
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
  break 2
199
fi
200
fi
201
           done;;
202
       esac
203
  as_found=false
204
done
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207
  CONFIG_SHELL=$SHELL as_have_required=yes
208
fi; }
209
IFS=$as_save_IFS
210
 
211
 
212
      if test "x$CONFIG_SHELL" != x; then :
213
  # We cannot yet assume a decent shell, so we have to provide a
214
        # neutralization value for shells without unset; and this also
215
        # works around shells that cannot unset nonexistent variables.
216
        BASH_ENV=/dev/null
217
        ENV=/dev/null
218
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
        export CONFIG_SHELL
220
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221
fi
222
 
223
    if test x$as_have_required = xno; then :
224
  $as_echo "$0: This script requires a shell more modern than all"
225
  $as_echo "$0: the shells that I found on your system."
226
  if test x${ZSH_VERSION+set} = xset ; then
227
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
  else
230
    $as_echo "$0: Please tell bug-autoconf@gnu.org and Andrew Waterman
231
$0: about your system, including any error possibly output
232
$0: before this message. Then install a modern shell, or
233
$0: manually run the script under such a shell if you do
234
$0: have one."
235
  fi
236
  exit 1
237
fi
238
fi
239
fi
240
SHELL=${CONFIG_SHELL-/bin/sh}
241
export SHELL
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
249
# as_fn_unset VAR
250
# ---------------
251
# Portably unset VAR.
252
as_fn_unset ()
253
{
254
  { eval $1=; unset $1;}
255
}
256
as_unset=as_fn_unset
257
 
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
261
as_fn_set_status ()
262
{
263
  return $1
264
} # as_fn_set_status
265
 
266
# as_fn_exit STATUS
267
# -----------------
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
as_fn_exit ()
270
{
271
  set +e
272
  as_fn_set_status $1
273
  exit $1
274
} # as_fn_exit
275
 
276
# as_fn_mkdir_p
277
# -------------
278
# Create "$as_dir" as a directory, including parents if necessary.
279
as_fn_mkdir_p ()
280
{
281
 
282
  case $as_dir in #(
283
  -*) as_dir=./$as_dir;;
284
  esac
285
  test -d "$as_dir" || eval $as_mkdir_p || {
286
    as_dirs=
287
    while :; do
288
      case $as_dir in #(
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
      *) as_qdir=$as_dir;;
291
      esac
292
      as_dirs="'$as_qdir' $as_dirs"
293
      as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
         X"$as_dir" : 'X\(//\)[^/]' \| \
296
         X"$as_dir" : 'X\(//\)$' \| \
297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
            s//\1/
301
            q
302
          }
303
          /^X\(\/\/\)[^/].*/{
304
            s//\1/
305
            q
306
          }
307
          /^X\(\/\/\)$/{
308
            s//\1/
309
            q
310
          }
311
          /^X\(\/\).*/{
312
            s//\1/
313
            q
314
          }
315
          s/.*/./; q'`
316
      test -d "$as_dir" && break
317
    done
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
 
321
 
322
} # as_fn_mkdir_p
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
328
# implementations.
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
  eval 'as_fn_append ()
331
  {
332
    eval $1+=\$2
333
  }'
334
else
335
  as_fn_append ()
336
  {
337
    eval $1=\$$1\$2
338
  }
339
fi # as_fn_append
340
 
341
# as_fn_arith ARG...
342
# ------------------
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
  eval 'as_fn_arith ()
348
  {
349
    as_val=$(( $* ))
350
  }'
351
else
352
  as_fn_arith ()
353
  {
354
    as_val=`expr "$@" || test $? -eq 1`
355
  }
356
fi # as_fn_arith
357
 
358
 
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
364
as_fn_error ()
365
{
366
  as_status=$?; test $as_status -eq 0 && as_status=1
367
  if test "$3"; then
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
  fi
371
  $as_echo "$as_me: error: $1" >&2
372
  as_fn_exit $as_status
373
} # as_fn_error
374
 
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
  as_expr=expr
378
else
379
  as_expr=false
380
fi
381
 
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
  as_basename=basename
384
else
385
  as_basename=false
386
fi
387
 
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
  as_dirname=dirname
390
else
391
  as_dirname=false
392
fi
393
 
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
         X"$0" : 'X\(//\)$' \| \
397
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
$as_echo X/"$0" |
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
            s//\1/
401
            q
402
          }
403
          /^X\/\(\/\/\)$/{
404
            s//\1/
405
            q
406
          }
407
          /^X\/\(\/\).*/{
408
            s//\1/
409
            q
410
          }
411
          s/.*/./; q'`
412
 
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
 
420
 
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426
  sed -n '
427
    p
428
    /[$]LINENO/=
429
  ' <$as_myself |
430
    sed '
431
      s/[$]LINENO.*/&-/
432
      t lineno
433
      b
434
      :lineno
435
      N
436
      :loop
437
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
      t loop
439
      s/-\n.*//
440
    ' >$as_me.lineno &&
441
  chmod +x "$as_me.lineno" ||
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
444
  # Don't try to exec as it changes $[0], causing all sort of problems
445
  # (the dirname of $[0] is not the place where we might find the
446
  # original and so on.  Autoconf is especially sensitive to this).
447
  . "./$as_me.lineno"
448
  # Exit status is that of the last command.
449
  exit
450
}
451
 
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in #(((((
454
-n*)
455
  case `echo 'xy\c'` in
456
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
  xy)  ECHO_C='\c';;
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
       ECHO_T=' ';;
460
  esac;;
461
*)
462
  ECHO_N='-n';;
463
esac
464
 
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
  rm -f conf$$.dir/conf$$.file
468
else
469
  rm -f conf$$.dir
470
  mkdir conf$$.dir 2>/dev/null
471
fi
472
if (echo >conf$$.file) 2>/dev/null; then
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
    as_ln_s='ln -s'
475
    # ... but there are two gotchas:
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
    # In both cases, we have to default to `cp -p'.
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
      as_ln_s='cp -p'
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
    as_ln_s=ln
483
  else
484
    as_ln_s='cp -p'
485
  fi
486
else
487
  as_ln_s='cp -p'
488
fi
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
491
 
492
if mkdir -p . 2>/dev/null; then
493
  as_mkdir_p='mkdir -p "$as_dir"'
494
else
495
  test -d ./-p && rmdir ./-p
496
  as_mkdir_p=false
497
fi
498
 
499
if test -x / >/dev/null 2>&1; then
500
  as_test_x='test -x'
501
else
502
  if ls -dL / >/dev/null 2>&1; then
503
    as_ls_L_option=L
504
  else
505
    as_ls_L_option=
506
  fi
507
  as_test_x='
508
    eval sh -c '\''
509
      if test -d "$1"; then
510
        test -d "$1/.";
511
      else
512
        case $1 in #(
513
        -*)set "./$1";;
514
        esac;
515
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
        ???[sx]*):;;*)false;;esac;fi
517
    '\'' sh
518
  '
519
fi
520
as_executable_p=$as_test_x
521
 
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
528
 
529
exec 7<&0 &1
530
 
531
# Name of the host.
532
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533
# so uname gets run too.
534
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535
 
536
#
537
# Initializations.
538
#
539
ac_default_prefix=/usr/local
540
ac_clean_files=
541
ac_config_libobj_dir=.
542
LIBOBJS=
543
cross_compiling=no
544
subdirs=
545
MFLAGS=
546
MAKEFLAGS=
547
 
548
# Identity of this package.
549
PACKAGE_NAME='RISC-V libgloss'
550
PACKAGE_TARNAME='riscv-libgloss'
551
PACKAGE_VERSION='?'
552
PACKAGE_STRING='RISC-V libgloss ?'
553
PACKAGE_BUGREPORT='Andrew Waterman'
554
PACKAGE_URL=''
555
 
556
ac_unique_file="crt0.S"
557
ac_subst_vars='LTLIBOBJS
558
LIBOBJS
559
INSTALL_DATA
560
INSTALL_SCRIPT
561
INSTALL_PROGRAM
562
RANLIB
563
AR
564
CC
565
target_alias
566
host_alias
567
build_alias
568
LIBS
569
ECHO_T
570
ECHO_N
571
ECHO_C
572
DEFS
573
mandir
574
localedir
575
libdir
576
psdir
577
pdfdir
578
dvidir
579
htmldir
580
infodir
581
docdir
582
oldincludedir
583
includedir
584
localstatedir
585
sharedstatedir
586
sysconfdir
587
datadir
588
datarootdir
589
libexecdir
590
sbindir
591
bindir
592
program_transform_name
593
prefix
594
exec_prefix
595
PACKAGE_URL
596
PACKAGE_BUGREPORT
597
PACKAGE_STRING
598
PACKAGE_VERSION
599
PACKAGE_TARNAME
600
PACKAGE_NAME
601
PATH_SEPARATOR
602
SHELL'
603
ac_subst_files=''
604
ac_user_opts='
605
enable_option_checking
606
'
607
      ac_precious_vars='build_alias
608
host_alias
609
target_alias'
610
 
611
 
612
# Initialize some variables set by options.
613
ac_init_help=
614
ac_init_version=false
615
ac_unrecognized_opts=
616
ac_unrecognized_sep=
617
# The variables have the same names as the options, with
618
# dashes changed to underlines.
619
cache_file=/dev/null
620
exec_prefix=NONE
621
no_create=
622
no_recursion=
623
prefix=NONE
624
program_prefix=NONE
625
program_suffix=NONE
626
program_transform_name=s,x,x,
627
silent=
628
site=
629
srcdir=
630
verbose=
631
x_includes=NONE
632
x_libraries=NONE
633
 
634
# Installation directory options.
635
# These are left unexpanded so users can "make install exec_prefix=/foo"
636
# and all the variables that are supposed to be based on exec_prefix
637
# by default will actually change.
638
# Use braces instead of parens because sh, perl, etc. also accept them.
639
# (The list follows the same order as the GNU Coding Standards.)
640
bindir='${exec_prefix}/bin'
641
sbindir='${exec_prefix}/sbin'
642
libexecdir='${exec_prefix}/libexec'
643
datarootdir='${prefix}/share'
644
datadir='${datarootdir}'
645
sysconfdir='${prefix}/etc'
646
sharedstatedir='${prefix}/com'
647
localstatedir='${prefix}/var'
648
includedir='${prefix}/include'
649
oldincludedir='/usr/include'
650
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
651
infodir='${datarootdir}/info'
652
htmldir='${docdir}'
653
dvidir='${docdir}'
654
pdfdir='${docdir}'
655
psdir='${docdir}'
656
libdir='${exec_prefix}/lib'
657
localedir='${datarootdir}/locale'
658
mandir='${datarootdir}/man'
659
 
660
ac_prev=
661
ac_dashdash=
662
for ac_option
663
do
664
  # If the previous option needs an argument, assign it.
665
  if test -n "$ac_prev"; then
666
    eval $ac_prev=\$ac_option
667
    ac_prev=
668
    continue
669
  fi
670
 
671
  case $ac_option in
672
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
673
  *)    ac_optarg=yes ;;
674
  esac
675
 
676
  # Accept the important Cygnus configure options, so we can diagnose typos.
677
 
678
  case $ac_dashdash$ac_option in
679
  --)
680
    ac_dashdash=yes ;;
681
 
682
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
683
    ac_prev=bindir ;;
684
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
685
    bindir=$ac_optarg ;;
686
 
687
  -build | --build | --buil | --bui | --bu)
688
    ac_prev=build_alias ;;
689
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
690
    build_alias=$ac_optarg ;;
691
 
692
  -cache-file | --cache-file | --cache-fil | --cache-fi \
693
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
694
    ac_prev=cache_file ;;
695
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
696
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
697
    cache_file=$ac_optarg ;;
698
 
699
  --config-cache | -C)
700
    cache_file=config.cache ;;
701
 
702
  -datadir | --datadir | --datadi | --datad)
703
    ac_prev=datadir ;;
704
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
705
    datadir=$ac_optarg ;;
706
 
707
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
708
  | --dataroo | --dataro | --datar)
709
    ac_prev=datarootdir ;;
710
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
711
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
712
    datarootdir=$ac_optarg ;;
713
 
714
  -disable-* | --disable-*)
715
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
716
    # Reject names that are not valid shell variable names.
717
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
718
      as_fn_error "invalid feature name: $ac_useropt"
719
    ac_useropt_orig=$ac_useropt
720
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
721
    case $ac_user_opts in
722
      *"
723
"enable_$ac_useropt"
724
"*) ;;
725
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
726
         ac_unrecognized_sep=', ';;
727
    esac
728
    eval enable_$ac_useropt=no ;;
729
 
730
  -docdir | --docdir | --docdi | --doc | --do)
731
    ac_prev=docdir ;;
732
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
733
    docdir=$ac_optarg ;;
734
 
735
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
736
    ac_prev=dvidir ;;
737
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
738
    dvidir=$ac_optarg ;;
739
 
740
  -enable-* | --enable-*)
741
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
742
    # Reject names that are not valid shell variable names.
743
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
744
      as_fn_error "invalid feature name: $ac_useropt"
745
    ac_useropt_orig=$ac_useropt
746
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
747
    case $ac_user_opts in
748
      *"
749
"enable_$ac_useropt"
750
"*) ;;
751
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
752
         ac_unrecognized_sep=', ';;
753
    esac
754
    eval enable_$ac_useropt=\$ac_optarg ;;
755
 
756
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
757
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
758
  | --exec | --exe | --ex)
759
    ac_prev=exec_prefix ;;
760
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
761
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
762
  | --exec=* | --exe=* | --ex=*)
763
    exec_prefix=$ac_optarg ;;
764
 
765
  -gas | --gas | --ga | --g)
766
    # Obsolete; use --with-gas.
767
    with_gas=yes ;;
768
 
769
  -help | --help | --hel | --he | -h)
770
    ac_init_help=long ;;
771
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
772
    ac_init_help=recursive ;;
773
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
774
    ac_init_help=short ;;
775
 
776
  -host | --host | --hos | --ho)
777
    ac_prev=host_alias ;;
778
  -host=* | --host=* | --hos=* | --ho=*)
779
    host_alias=$ac_optarg ;;
780
 
781
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
782
    ac_prev=htmldir ;;
783
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
784
  | --ht=*)
785
    htmldir=$ac_optarg ;;
786
 
787
  -includedir | --includedir | --includedi | --included | --include \
788
  | --includ | --inclu | --incl | --inc)
789
    ac_prev=includedir ;;
790
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
791
  | --includ=* | --inclu=* | --incl=* | --inc=*)
792
    includedir=$ac_optarg ;;
793
 
794
  -infodir | --infodir | --infodi | --infod | --info | --inf)
795
    ac_prev=infodir ;;
796
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
797
    infodir=$ac_optarg ;;
798
 
799
  -libdir | --libdir | --libdi | --libd)
800
    ac_prev=libdir ;;
801
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
802
    libdir=$ac_optarg ;;
803
 
804
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
805
  | --libexe | --libex | --libe)
806
    ac_prev=libexecdir ;;
807
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
808
  | --libexe=* | --libex=* | --libe=*)
809
    libexecdir=$ac_optarg ;;
810
 
811
  -localedir | --localedir | --localedi | --localed | --locale)
812
    ac_prev=localedir ;;
813
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814
    localedir=$ac_optarg ;;
815
 
816
  -localstatedir | --localstatedir | --localstatedi | --localstated \
817
  | --localstate | --localstat | --localsta | --localst | --locals)
818
    ac_prev=localstatedir ;;
819
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
820
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
821
    localstatedir=$ac_optarg ;;
822
 
823
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
824
    ac_prev=mandir ;;
825
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
826
    mandir=$ac_optarg ;;
827
 
828
  -nfp | --nfp | --nf)
829
    # Obsolete; use --without-fp.
830
    with_fp=no ;;
831
 
832
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833
  | --no-cr | --no-c | -n)
834
    no_create=yes ;;
835
 
836
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
837
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
838
    no_recursion=yes ;;
839
 
840
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
841
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
842
  | --oldin | --oldi | --old | --ol | --o)
843
    ac_prev=oldincludedir ;;
844
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
845
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
846
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
847
    oldincludedir=$ac_optarg ;;
848
 
849
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
850
    ac_prev=prefix ;;
851
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
852
    prefix=$ac_optarg ;;
853
 
854
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
855
  | --program-pre | --program-pr | --program-p)
856
    ac_prev=program_prefix ;;
857
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
858
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
859
    program_prefix=$ac_optarg ;;
860
 
861
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
862
  | --program-suf | --program-su | --program-s)
863
    ac_prev=program_suffix ;;
864
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
865
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
866
    program_suffix=$ac_optarg ;;
867
 
868
  -program-transform-name | --program-transform-name \
869
  | --program-transform-nam | --program-transform-na \
870
  | --program-transform-n | --program-transform- \
871
  | --program-transform | --program-transfor \
872
  | --program-transfo | --program-transf \
873
  | --program-trans | --program-tran \
874
  | --progr-tra | --program-tr | --program-t)
875
    ac_prev=program_transform_name ;;
876
  -program-transform-name=* | --program-transform-name=* \
877
  | --program-transform-nam=* | --program-transform-na=* \
878
  | --program-transform-n=* | --program-transform-=* \
879
  | --program-transform=* | --program-transfor=* \
880
  | --program-transfo=* | --program-transf=* \
881
  | --program-trans=* | --program-tran=* \
882
  | --progr-tra=* | --program-tr=* | --program-t=*)
883
    program_transform_name=$ac_optarg ;;
884
 
885
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
886
    ac_prev=pdfdir ;;
887
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
888
    pdfdir=$ac_optarg ;;
889
 
890
  -psdir | --psdir | --psdi | --psd | --ps)
891
    ac_prev=psdir ;;
892
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
893
    psdir=$ac_optarg ;;
894
 
895
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
896
  | -silent | --silent | --silen | --sile | --sil)
897
    silent=yes ;;
898
 
899
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
900
    ac_prev=sbindir ;;
901
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
902
  | --sbi=* | --sb=*)
903
    sbindir=$ac_optarg ;;
904
 
905
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
906
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
907
  | --sharedst | --shareds | --shared | --share | --shar \
908
  | --sha | --sh)
909
    ac_prev=sharedstatedir ;;
910
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
911
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
912
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
913
  | --sha=* | --sh=*)
914
    sharedstatedir=$ac_optarg ;;
915
 
916
  -site | --site | --sit)
917
    ac_prev=site ;;
918
  -site=* | --site=* | --sit=*)
919
    site=$ac_optarg ;;
920
 
921
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
922
    ac_prev=srcdir ;;
923
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
924
    srcdir=$ac_optarg ;;
925
 
926
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
927
  | --syscon | --sysco | --sysc | --sys | --sy)
928
    ac_prev=sysconfdir ;;
929
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
930
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
931
    sysconfdir=$ac_optarg ;;
932
 
933
  -target | --target | --targe | --targ | --tar | --ta | --t)
934
    ac_prev=target_alias ;;
935
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
936
    target_alias=$ac_optarg ;;
937
 
938
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
939
    verbose=yes ;;
940
 
941
  -version | --version | --versio | --versi | --vers | -V)
942
    ac_init_version=: ;;
943
 
944
  -with-* | --with-*)
945
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
946
    # Reject names that are not valid shell variable names.
947
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948
      as_fn_error "invalid package name: $ac_useropt"
949
    ac_useropt_orig=$ac_useropt
950
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951
    case $ac_user_opts in
952
      *"
953
"with_$ac_useropt"
954
"*) ;;
955
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
956
         ac_unrecognized_sep=', ';;
957
    esac
958
    eval with_$ac_useropt=\$ac_optarg ;;
959
 
960
  -without-* | --without-*)
961
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
962
    # Reject names that are not valid shell variable names.
963
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964
      as_fn_error "invalid package name: $ac_useropt"
965
    ac_useropt_orig=$ac_useropt
966
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967
    case $ac_user_opts in
968
      *"
969
"with_$ac_useropt"
970
"*) ;;
971
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
972
         ac_unrecognized_sep=', ';;
973
    esac
974
    eval with_$ac_useropt=no ;;
975
 
976
  --x)
977
    # Obsolete; use --with-x.
978
    with_x=yes ;;
979
 
980
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
981
  | --x-incl | --x-inc | --x-in | --x-i)
982
    ac_prev=x_includes ;;
983
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
984
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
985
    x_includes=$ac_optarg ;;
986
 
987
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
988
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
989
    ac_prev=x_libraries ;;
990
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
991
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
992
    x_libraries=$ac_optarg ;;
993
 
994
  -*) as_fn_error "unrecognized option: \`$ac_option'
995
Try \`$0 --help' for more information."
996
    ;;
997
 
998
  *=*)
999
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1000
    # Reject names that are not valid shell variable names.
1001
    case $ac_envvar in #(
1002
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1003
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1004
    esac
1005
    eval $ac_envvar=\$ac_optarg
1006
    export $ac_envvar ;;
1007
 
1008
  *)
1009
    # FIXME: should be removed in autoconf 3.0.
1010
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1011
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1012
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1013
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1014
    ;;
1015
 
1016
  esac
1017
done
1018
 
1019
if test -n "$ac_prev"; then
1020
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1021
  as_fn_error "missing argument to $ac_option"
1022
fi
1023
 
1024
if test -n "$ac_unrecognized_opts"; then
1025
  case $enable_option_checking in
1026
    no) ;;
1027
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1028
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1029
  esac
1030
fi
1031
 
1032
# Check all directory arguments for consistency.
1033
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1034
                datadir sysconfdir sharedstatedir localstatedir includedir \
1035
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1036
                libdir localedir mandir
1037
do
1038
  eval ac_val=\$$ac_var
1039
  # Remove trailing slashes.
1040
  case $ac_val in
1041
    */ )
1042
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1043
      eval $ac_var=\$ac_val;;
1044
  esac
1045
  # Be sure to have absolute directory names.
1046
  case $ac_val in
1047
    [\\/$]* | ?:[\\/]* )  continue;;
1048
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1049
  esac
1050
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1051
done
1052
 
1053
# There might be people who depend on the old broken behavior: `$host'
1054
# used to hold the argument of --host etc.
1055
# FIXME: To remove some day.
1056
build=$build_alias
1057
host=$host_alias
1058
target=$target_alias
1059
 
1060
# FIXME: To remove some day.
1061
if test "x$host_alias" != x; then
1062
  if test "x$build_alias" = x; then
1063
    cross_compiling=maybe
1064
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1065
    If a cross compiler is detected then cross compile mode will be used." >&2
1066
  elif test "x$build_alias" != "x$host_alias"; then
1067
    cross_compiling=yes
1068
  fi
1069
fi
1070
 
1071
ac_tool_prefix=
1072
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1073
 
1074
test "$silent" = yes && exec 6>/dev/null
1075
 
1076
 
1077
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1078
ac_ls_di=`ls -di .` &&
1079
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1080
  as_fn_error "working directory cannot be determined"
1081
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1082
  as_fn_error "pwd does not report name of working directory"
1083
 
1084
 
1085
# Find the source files, if location was not specified.
1086
if test -z "$srcdir"; then
1087
  ac_srcdir_defaulted=yes
1088
  # Try the directory containing this script, then the parent directory.
1089
  ac_confdir=`$as_dirname -- "$as_myself" ||
1090
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1091
         X"$as_myself" : 'X\(//\)[^/]' \| \
1092
         X"$as_myself" : 'X\(//\)$' \| \
1093
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1094
$as_echo X"$as_myself" |
1095
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1096
            s//\1/
1097
            q
1098
          }
1099
          /^X\(\/\/\)[^/].*/{
1100
            s//\1/
1101
            q
1102
          }
1103
          /^X\(\/\/\)$/{
1104
            s//\1/
1105
            q
1106
          }
1107
          /^X\(\/\).*/{
1108
            s//\1/
1109
            q
1110
          }
1111
          s/.*/./; q'`
1112
  srcdir=$ac_confdir
1113
  if test ! -r "$srcdir/$ac_unique_file"; then
1114
    srcdir=..
1115
  fi
1116
else
1117
  ac_srcdir_defaulted=no
1118
fi
1119
if test ! -r "$srcdir/$ac_unique_file"; then
1120
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1121
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1122
fi
1123
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1124
ac_abs_confdir=`(
1125
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1126
        pwd)`
1127
# When building in place, set srcdir=.
1128
if test "$ac_abs_confdir" = "$ac_pwd"; then
1129
  srcdir=.
1130
fi
1131
# Remove unnecessary trailing slashes from srcdir.
1132
# Double slashes in file names in object file debugging info
1133
# mess up M-x gdb in Emacs.
1134
case $srcdir in
1135
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1136
esac
1137
for ac_var in $ac_precious_vars; do
1138
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1139
  eval ac_env_${ac_var}_value=\$${ac_var}
1140
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1141
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1142
done
1143
 
1144
#
1145
# Report the --help message.
1146
#
1147
if test "$ac_init_help" = "long"; then
1148
  # Omit some internal or obsolete options to make the list less imposing.
1149
  # This message is too long to be a string in the A/UX 3.1 sh.
1150
  cat <<_ACEOF
1151
\`configure' configures RISC-V libgloss ? to adapt to many kinds of systems.
1152
 
1153
Usage: $0 [OPTION]... [VAR=VALUE]...
1154
 
1155
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1156
VAR=VALUE.  See below for descriptions of some of the useful variables.
1157
 
1158
Defaults for the options are specified in brackets.
1159
 
1160
Configuration:
1161
  -h, --help              display this help and exit
1162
      --help=short        display options specific to this package
1163
      --help=recursive    display the short help of all the included packages
1164
  -V, --version           display version information and exit
1165
  -q, --quiet, --silent   do not print \`checking...' messages
1166
      --cache-file=FILE   cache test results in FILE [disabled]
1167
  -C, --config-cache      alias for \`--cache-file=config.cache'
1168
  -n, --no-create         do not create output files
1169
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1170
 
1171
Installation directories:
1172
  --prefix=PREFIX         install architecture-independent files in PREFIX
1173
                          [$ac_default_prefix]
1174
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1175
                          [PREFIX]
1176
 
1177
By default, \`make install' will install all the files in
1178
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1179
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1180
for instance \`--prefix=\$HOME'.
1181
 
1182
For better control, use the options below.
1183
 
1184
Fine tuning of the installation directories:
1185
  --bindir=DIR            user executables [EPREFIX/bin]
1186
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1187
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1188
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1189
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1190
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1191
  --libdir=DIR            object code libraries [EPREFIX/lib]
1192
  --includedir=DIR        C header files [PREFIX/include]
1193
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1194
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1195
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1196
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1197
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1198
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1199
  --docdir=DIR            documentation root [DATAROOTDIR/doc/riscv-libgloss]
1200
  --htmldir=DIR           html documentation [DOCDIR]
1201
  --dvidir=DIR            dvi documentation [DOCDIR]
1202
  --pdfdir=DIR            pdf documentation [DOCDIR]
1203
  --psdir=DIR             ps documentation [DOCDIR]
1204
_ACEOF
1205
 
1206
  cat <<\_ACEOF
1207
_ACEOF
1208
fi
1209
 
1210
if test -n "$ac_init_help"; then
1211
  case $ac_init_help in
1212
     short | recursive ) echo "Configuration of RISC-V libgloss ?:";;
1213
   esac
1214
  cat <<\_ACEOF
1215
 
1216
Report bugs to .
1217
_ACEOF
1218
ac_status=$?
1219
fi
1220
 
1221
if test "$ac_init_help" = "recursive"; then
1222
  # If there are subdirs, report their specific --help.
1223
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1224
    test -d "$ac_dir" ||
1225
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1226
      continue
1227
    ac_builddir=.
1228
 
1229
case "$ac_dir" in
1230
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1231
*)
1232
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1233
  # A ".." for each directory in $ac_dir_suffix.
1234
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1235
  case $ac_top_builddir_sub in
1236
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1237
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1238
  esac ;;
1239
esac
1240
ac_abs_top_builddir=$ac_pwd
1241
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1242
# for backward compatibility:
1243
ac_top_builddir=$ac_top_build_prefix
1244
 
1245
case $srcdir in
1246
  .)  # We are building in place.
1247
    ac_srcdir=.
1248
    ac_top_srcdir=$ac_top_builddir_sub
1249
    ac_abs_top_srcdir=$ac_pwd ;;
1250
  [\\/]* | ?:[\\/]* )  # Absolute name.
1251
    ac_srcdir=$srcdir$ac_dir_suffix;
1252
    ac_top_srcdir=$srcdir
1253
    ac_abs_top_srcdir=$srcdir ;;
1254
  *) # Relative name.
1255
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1256
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1257
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1258
esac
1259
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1260
 
1261
    cd "$ac_dir" || { ac_status=$?; continue; }
1262
    # Check for guested configure.
1263
    if test -f "$ac_srcdir/configure.gnu"; then
1264
      echo &&
1265
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1266
    elif test -f "$ac_srcdir/configure"; then
1267
      echo &&
1268
      $SHELL "$ac_srcdir/configure" --help=recursive
1269
    else
1270
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1271
    fi || ac_status=$?
1272
    cd "$ac_pwd" || { ac_status=$?; break; }
1273
  done
1274
fi
1275
 
1276
test -n "$ac_init_help" && exit $ac_status
1277
if $ac_init_version; then
1278
  cat <<\_ACEOF
1279
RISC-V libgloss configure ?
1280
generated by GNU Autoconf 2.64
1281
 
1282
Copyright (C) 2009 Free Software Foundation, Inc.
1283
This configure script is free software; the Free Software Foundation
1284
gives unlimited permission to copy, distribute and modify it.
1285
_ACEOF
1286
  exit
1287
fi
1288
 
1289
## ------------------------ ##
1290
## Autoconf initialization. ##
1291
## ------------------------ ##
1292
 
1293
# ac_fn_c_try_compile LINENO
1294
# --------------------------
1295
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1296
ac_fn_c_try_compile ()
1297
{
1298
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1299
  rm -f conftest.$ac_objext
1300
  if { { ac_try="$ac_compile"
1301
case "(($ac_try" in
1302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1303
  *) ac_try_echo=$ac_try;;
1304
esac
1305
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1306
$as_echo "$ac_try_echo"; } >&5
1307
  (eval "$ac_compile") 2>conftest.err
1308
  ac_status=$?
1309
  if test -s conftest.err; then
1310
    grep -v '^ *+' conftest.err >conftest.er1
1311
    cat conftest.er1 >&5
1312
    mv -f conftest.er1 conftest.err
1313
  fi
1314
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1315
  test $ac_status = 0; } && {
1316
         test -z "$ac_c_werror_flag" ||
1317
         test ! -s conftest.err
1318
       } && test -s conftest.$ac_objext; then :
1319
  ac_retval=0
1320
else
1321
  $as_echo "$as_me: failed program was:" >&5
1322
sed 's/^/| /' conftest.$ac_ext >&5
1323
 
1324
        ac_retval=1
1325
fi
1326
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1327
  return $ac_retval
1328
 
1329
} # ac_fn_c_try_compile
1330
cat >config.log <<_ACEOF
1331
This file contains any messages produced by compilers while
1332
running configure, to aid debugging if configure makes a mistake.
1333
 
1334
It was created by RISC-V libgloss $as_me ?, which was
1335
generated by GNU Autoconf 2.64.  Invocation command line was
1336
 
1337
  $ $0 $@
1338
 
1339
_ACEOF
1340
exec 5>>config.log
1341
{
1342
cat <<_ASUNAME
1343
## --------- ##
1344
## Platform. ##
1345
## --------- ##
1346
 
1347
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1348
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1349
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1350
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1351
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1352
 
1353
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1354
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1355
 
1356
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1357
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1358
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1359
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1360
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1361
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1362
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1363
 
1364
_ASUNAME
1365
 
1366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367
for as_dir in $PATH
1368
do
1369
  IFS=$as_save_IFS
1370
  test -z "$as_dir" && as_dir=.
1371
    $as_echo "PATH: $as_dir"
1372
  done
1373
IFS=$as_save_IFS
1374
 
1375
} >&5
1376
 
1377
cat >&5 <<_ACEOF
1378
 
1379
 
1380
## ----------- ##
1381
## Core tests. ##
1382
## ----------- ##
1383
 
1384
_ACEOF
1385
 
1386
 
1387
# Keep a trace of the command line.
1388
# Strip out --no-create and --no-recursion so they do not pile up.
1389
# Strip out --silent because we don't want to record it for future runs.
1390
# Also quote any args containing shell meta-characters.
1391
# Make two passes to allow for proper duplicate-argument suppression.
1392
ac_configure_args=
1393
ac_configure_args0=
1394
ac_configure_args1=
1395
ac_must_keep_next=false
1396
for ac_pass in 1 2
1397
do
1398
  for ac_arg
1399
  do
1400
    case $ac_arg in
1401
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1402
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403
    | -silent | --silent | --silen | --sile | --sil)
1404
      continue ;;
1405
    *\'*)
1406
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1407
    esac
1408
    case $ac_pass in
1409
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1410
    2)
1411
      as_fn_append ac_configure_args1 " '$ac_arg'"
1412
      if test $ac_must_keep_next = true; then
1413
        ac_must_keep_next=false # Got value, back to normal.
1414
      else
1415
        case $ac_arg in
1416
          *=* | --config-cache | -C | -disable-* | --disable-* \
1417
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1418
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1419
          | -with-* | --with-* | -without-* | --without-* | --x)
1420
            case "$ac_configure_args0 " in
1421
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1422
            esac
1423
            ;;
1424
          -* ) ac_must_keep_next=true ;;
1425
        esac
1426
      fi
1427
      as_fn_append ac_configure_args " '$ac_arg'"
1428
      ;;
1429
    esac
1430
  done
1431
done
1432
{ ac_configure_args0=; unset ac_configure_args0;}
1433
{ ac_configure_args1=; unset ac_configure_args1;}
1434
 
1435
# When interrupted or exit'd, cleanup temporary files, and complete
1436
# config.log.  We remove comments because anyway the quotes in there
1437
# would cause problems or look ugly.
1438
# WARNING: Use '\'' to represent an apostrophe within the trap.
1439
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1440
trap 'exit_status=$?
1441
  # Save into config.log some information that might help in debugging.
1442
  {
1443
    echo
1444
 
1445
    cat <<\_ASBOX
1446
## ---------------- ##
1447
## Cache variables. ##
1448
## ---------------- ##
1449
_ASBOX
1450
    echo
1451
    # The following way of writing the cache mishandles newlines in values,
1452
(
1453
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1454
    eval ac_val=\$$ac_var
1455
    case $ac_val in #(
1456
    *${as_nl}*)
1457
      case $ac_var in #(
1458
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1459
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1460
      esac
1461
      case $ac_var in #(
1462
      _ | IFS | as_nl) ;; #(
1463
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1464
      *) { eval $ac_var=; unset $ac_var;} ;;
1465
      esac ;;
1466
    esac
1467
  done
1468
  (set) 2>&1 |
1469
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470
    *${as_nl}ac_space=\ *)
1471
      sed -n \
1472
        "s/'\''/'\''\\\\'\'''\''/g;
1473
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474
      ;; #(
1475
    *)
1476
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477
      ;;
1478
    esac |
1479
    sort
1480
)
1481
    echo
1482
 
1483
    cat <<\_ASBOX
1484
## ----------------- ##
1485
## Output variables. ##
1486
## ----------------- ##
1487
_ASBOX
1488
    echo
1489
    for ac_var in $ac_subst_vars
1490
    do
1491
      eval ac_val=\$$ac_var
1492
      case $ac_val in
1493
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1494
      esac
1495
      $as_echo "$ac_var='\''$ac_val'\''"
1496
    done | sort
1497
    echo
1498
 
1499
    if test -n "$ac_subst_files"; then
1500
      cat <<\_ASBOX
1501
## ------------------- ##
1502
## File substitutions. ##
1503
## ------------------- ##
1504
_ASBOX
1505
      echo
1506
      for ac_var in $ac_subst_files
1507
      do
1508
        eval ac_val=\$$ac_var
1509
        case $ac_val in
1510
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511
        esac
1512
        $as_echo "$ac_var='\''$ac_val'\''"
1513
      done | sort
1514
      echo
1515
    fi
1516
 
1517
    if test -s confdefs.h; then
1518
      cat <<\_ASBOX
1519
## ----------- ##
1520
## confdefs.h. ##
1521
## ----------- ##
1522
_ASBOX
1523
      echo
1524
      cat confdefs.h
1525
      echo
1526
    fi
1527
    test "$ac_signal" != 0 &&
1528
      $as_echo "$as_me: caught signal $ac_signal"
1529
    $as_echo "$as_me: exit $exit_status"
1530
  } >&5
1531
  rm -f core *.core core.conftest.* &&
1532
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1533
    exit $exit_status
1534
' 0
1535
for ac_signal in 1 2 13 15; do
1536
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1537
done
1538
ac_signal=0
1539
 
1540
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1541
rm -f -r conftest* confdefs.h
1542
 
1543
$as_echo "/* confdefs.h */" > confdefs.h
1544
 
1545
# Predefined preprocessor variables.
1546
 
1547
cat >>confdefs.h <<_ACEOF
1548
#define PACKAGE_NAME "$PACKAGE_NAME"
1549
_ACEOF
1550
 
1551
cat >>confdefs.h <<_ACEOF
1552
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553
_ACEOF
1554
 
1555
cat >>confdefs.h <<_ACEOF
1556
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1557
_ACEOF
1558
 
1559
cat >>confdefs.h <<_ACEOF
1560
#define PACKAGE_STRING "$PACKAGE_STRING"
1561
_ACEOF
1562
 
1563
cat >>confdefs.h <<_ACEOF
1564
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1565
_ACEOF
1566
 
1567
cat >>confdefs.h <<_ACEOF
1568
#define PACKAGE_URL "$PACKAGE_URL"
1569
_ACEOF
1570
 
1571
 
1572
# Let the site file select an alternate cache file if it wants to.
1573
# Prefer an explicitly selected file to automatically selected ones.
1574
ac_site_file1=NONE
1575
ac_site_file2=NONE
1576
if test -n "$CONFIG_SITE"; then
1577
  ac_site_file1=$CONFIG_SITE
1578
elif test "x$prefix" != xNONE; then
1579
  ac_site_file1=$prefix/share/config.site
1580
  ac_site_file2=$prefix/etc/config.site
1581
else
1582
  ac_site_file1=$ac_default_prefix/share/config.site
1583
  ac_site_file2=$ac_default_prefix/etc/config.site
1584
fi
1585
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1586
do
1587
  test "x$ac_site_file" = xNONE && continue
1588
  if test -r "$ac_site_file"; then
1589
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1590
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1591
    sed 's/^/| /' "$ac_site_file" >&5
1592
    . "$ac_site_file"
1593
  fi
1594
done
1595
 
1596
if test -r "$cache_file"; then
1597
  # Some versions of bash will fail to source /dev/null (special
1598
  # files actually), so we avoid doing that.
1599
  if test -f "$cache_file"; then
1600
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1601
$as_echo "$as_me: loading cache $cache_file" >&6;}
1602
    case $cache_file in
1603
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1604
      *)                      . "./$cache_file";;
1605
    esac
1606
  fi
1607
else
1608
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1609
$as_echo "$as_me: creating cache $cache_file" >&6;}
1610
  >$cache_file
1611
fi
1612
 
1613
# Check that the precious variables saved in the cache have kept the same
1614
# value.
1615
ac_cache_corrupted=false
1616
for ac_var in $ac_precious_vars; do
1617
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1618
  eval ac_new_set=\$ac_env_${ac_var}_set
1619
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1620
  eval ac_new_val=\$ac_env_${ac_var}_value
1621
  case $ac_old_set,$ac_new_set in
1622
    set,)
1623
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1624
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1625
      ac_cache_corrupted=: ;;
1626
    ,set)
1627
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1628
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1629
      ac_cache_corrupted=: ;;
1630
    ,);;
1631
    *)
1632
      if test "x$ac_old_val" != "x$ac_new_val"; then
1633
        # differences in whitespace do not lead to failure.
1634
        ac_old_val_w=`echo x $ac_old_val`
1635
        ac_new_val_w=`echo x $ac_new_val`
1636
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1637
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1638
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1639
          ac_cache_corrupted=:
1640
        else
1641
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1642
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1643
          eval $ac_var=\$ac_old_val
1644
        fi
1645
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1646
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1647
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1648
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1649
      fi;;
1650
  esac
1651
  # Pass precious variables to config.status.
1652
  if test "$ac_new_set" = set; then
1653
    case $ac_new_val in
1654
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1655
    *) ac_arg=$ac_var=$ac_new_val ;;
1656
    esac
1657
    case " $ac_configure_args " in
1658
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1659
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1660
    esac
1661
  fi
1662
done
1663
if $ac_cache_corrupted; then
1664
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1666
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1667
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1668
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1669
fi
1670
## -------------------- ##
1671
## Main body of script. ##
1672
## -------------------- ##
1673
 
1674
ac_ext=c
1675
ac_cpp='$CPP $CPPFLAGS'
1676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679
 
1680
 
1681
 
1682
ac_aux_dir=
1683
for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
1684
  for ac_t in install-sh install.sh shtool; do
1685
    if test -f "$ac_dir/$ac_t"; then
1686
      ac_aux_dir=$ac_dir
1687
      ac_install_sh="$ac_aux_dir/$ac_t -c"
1688
      break 2
1689
    fi
1690
  done
1691
done
1692
if test -z "$ac_aux_dir"; then
1693
  as_fn_error "cannot find install-sh, install.sh, or shtool in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." "$LINENO" 5
1694
fi
1695
 
1696
# These three variables are undocumented and unsupported,
1697
# and are intended to be withdrawn in a future Autoconf release.
1698
# They can cause serious problems if a builder's source tree is in a directory
1699
# whose full name contains unusual characters.
1700
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1701
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1702
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1703
 
1704
 
1705
 
1706
#-------------------------------------------------------------------------
1707
# Checks for programs
1708
#-------------------------------------------------------------------------
1709
 
1710
 
1711
    # Extract the first word of "gcc", so it can be a program name with args.
1712
set dummy gcc; ac_word=$2
1713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1714
$as_echo_n "checking for $ac_word... " >&6; }
1715
if test "${ac_cv_prog_CC+set}" = set; then :
1716
  $as_echo_n "(cached) " >&6
1717
else
1718
  if test -n "$CC"; then
1719
  ac_cv_prog_CC="$CC" # Let the user override the test.
1720
else
1721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722
for as_dir in $PATH
1723
do
1724
  IFS=$as_save_IFS
1725
  test -z "$as_dir" && as_dir=.
1726
    for ac_exec_ext in '' $ac_executable_extensions; do
1727
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1728
    ac_cv_prog_CC="gcc"
1729
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1730
    break 2
1731
  fi
1732
done
1733
  done
1734
IFS=$as_save_IFS
1735
 
1736
fi
1737
fi
1738
CC=$ac_cv_prog_CC
1739
if test -n "$CC"; then
1740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1741
$as_echo "$CC" >&6; }
1742
else
1743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1744
$as_echo "no" >&6; }
1745
fi
1746
 
1747
 
1748
 
1749
if test -z "$CC"; then
1750
  # Extract the first word of "cc", so it can be a program name with args.
1751
set dummy cc; ac_word=$2
1752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1753
$as_echo_n "checking for $ac_word... " >&6; }
1754
if test "${ac_cv_prog_CC+set}" = set; then :
1755
  $as_echo_n "(cached) " >&6
1756
else
1757
  if test -n "$CC"; then
1758
  ac_cv_prog_CC="$CC" # Let the user override the test.
1759
else
1760
  ac_prog_rejected=no
1761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762
for as_dir in $PATH
1763
do
1764
  IFS=$as_save_IFS
1765
  test -z "$as_dir" && as_dir=.
1766
    for ac_exec_ext in '' $ac_executable_extensions; do
1767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1768
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1769
       ac_prog_rejected=yes
1770
       continue
1771
     fi
1772
    ac_cv_prog_CC="cc"
1773
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1774
    break 2
1775
  fi
1776
done
1777
  done
1778
IFS=$as_save_IFS
1779
 
1780
if test $ac_prog_rejected = yes; then
1781
  # We found a bogon in the path, so make sure we never use it.
1782
  set dummy $ac_cv_prog_CC
1783
  shift
1784
  if test $# != 0; then
1785
    # We chose a different compiler from the bogus one.
1786
    # However, it has the same basename, so the bogon will be chosen
1787
    # first if we set CC to just the basename; use the full file name.
1788
    shift
1789
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1790
  fi
1791
fi
1792
fi
1793
fi
1794
CC=$ac_cv_prog_CC
1795
if test -n "$CC"; then
1796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1797
$as_echo "$CC" >&6; }
1798
else
1799
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1800
$as_echo "no" >&6; }
1801
fi
1802
 
1803
 
1804
  test -z "$CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
1805
fi
1806
 
1807
 
1808
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
1809
$as_echo_n "checking whether we are using GNU C... " >&6; }
1810
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1811
  $as_echo_n "(cached) " >&6
1812
else
1813
 
1814
cat > conftest.c <
1815
#ifdef __GNUC__
1816
  yes;
1817
#endif
1818
EOF
1819
 
1820
if { ac_try='${CC-cc} -E conftest.c'
1821
  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
1822
  (eval $ac_try) 2>&5
1823
  ac_status=$?
1824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825
  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
1826
  ac_cv_c_compiler_gnu=yes
1827
else
1828
  ac_cv_c_compiler_gnu=no
1829
fi
1830
 
1831
 
1832
fi
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1834
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
1835
 
1836
 
1837
if test $ac_cv_c_compiler_gnu = yes; then
1838
  GCC=yes
1839
        ac_test_CFLAGS="${CFLAGS+set}"
1840
  ac_save_CFLAGS="$CFLAGS"
1841
  CFLAGS=
1842
  ac_test_CFLAGS=${CFLAGS+set}
1843
ac_save_CFLAGS=$CFLAGS
1844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1845
$as_echo_n "checking whether $CC accepts -g... " >&6; }
1846
if test "${ac_cv_prog_cc_g+set}" = set; then :
1847
  $as_echo_n "(cached) " >&6
1848
else
1849
  ac_save_c_werror_flag=$ac_c_werror_flag
1850
   ac_c_werror_flag=yes
1851
   ac_cv_prog_cc_g=no
1852
   CFLAGS="-g"
1853
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854
/* end confdefs.h.  */
1855
 
1856
int
1857
main ()
1858
{
1859
 
1860
  ;
1861
  return 0;
1862
}
1863
_ACEOF
1864
if ac_fn_c_try_compile "$LINENO"; then :
1865
  ac_cv_prog_cc_g=yes
1866
else
1867
  CFLAGS=""
1868
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1869
/* end confdefs.h.  */
1870
 
1871
int
1872
main ()
1873
{
1874
 
1875
  ;
1876
  return 0;
1877
}
1878
_ACEOF
1879
if ac_fn_c_try_compile "$LINENO"; then :
1880
 
1881
else
1882
  ac_c_werror_flag=$ac_save_c_werror_flag
1883
         CFLAGS="-g"
1884
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885
/* end confdefs.h.  */
1886
 
1887
int
1888
main ()
1889
{
1890
 
1891
  ;
1892
  return 0;
1893
}
1894
_ACEOF
1895
if ac_fn_c_try_compile "$LINENO"; then :
1896
  ac_cv_prog_cc_g=yes
1897
fi
1898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899
fi
1900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901
fi
1902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903
   ac_c_werror_flag=$ac_save_c_werror_flag
1904
fi
1905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1906
$as_echo "$ac_cv_prog_cc_g" >&6; }
1907
if test "$ac_test_CFLAGS" = set; then
1908
  CFLAGS=$ac_save_CFLAGS
1909
elif test $ac_cv_prog_cc_g = yes; then
1910
  if test "$GCC" = yes; then
1911
    CFLAGS="-g -O2"
1912
  else
1913
    CFLAGS="-g"
1914
  fi
1915
else
1916
  if test "$GCC" = yes; then
1917
    CFLAGS="-O2"
1918
  else
1919
    CFLAGS=
1920
  fi
1921
fi
1922
  if test "$ac_test_CFLAGS" = set; then
1923
    CFLAGS="$ac_save_CFLAGS"
1924
  elif test $ac_cv_prog_cc_g = yes; then
1925
    CFLAGS="-g -O2"
1926
  else
1927
    CFLAGS="-O2"
1928
  fi
1929
else
1930
  GCC=
1931
  test "${CFLAGS+set}" = set || CFLAGS="-g"
1932
fi
1933
 
1934
 
1935
if test -n "$ac_tool_prefix"; then
1936
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1937
set dummy ${ac_tool_prefix}ar; ac_word=$2
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1939
$as_echo_n "checking for $ac_word... " >&6; }
1940
if test "${ac_cv_prog_AR+set}" = set; then :
1941
  $as_echo_n "(cached) " >&6
1942
else
1943
  if test -n "$AR"; then
1944
  ac_cv_prog_AR="$AR" # Let the user override the test.
1945
else
1946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947
for as_dir in $PATH
1948
do
1949
  IFS=$as_save_IFS
1950
  test -z "$as_dir" && as_dir=.
1951
    for ac_exec_ext in '' $ac_executable_extensions; do
1952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1953
    ac_cv_prog_AR="${ac_tool_prefix}ar"
1954
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1955
    break 2
1956
  fi
1957
done
1958
  done
1959
IFS=$as_save_IFS
1960
 
1961
fi
1962
fi
1963
AR=$ac_cv_prog_AR
1964
if test -n "$AR"; then
1965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
1966
$as_echo "$AR" >&6; }
1967
else
1968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1969
$as_echo "no" >&6; }
1970
fi
1971
 
1972
 
1973
fi
1974
if test -z "$ac_cv_prog_AR"; then
1975
  ac_ct_AR=$AR
1976
  # Extract the first word of "ar", so it can be a program name with args.
1977
set dummy ar; ac_word=$2
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1979
$as_echo_n "checking for $ac_word... " >&6; }
1980
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
1981
  $as_echo_n "(cached) " >&6
1982
else
1983
  if test -n "$ac_ct_AR"; then
1984
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1985
else
1986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987
for as_dir in $PATH
1988
do
1989
  IFS=$as_save_IFS
1990
  test -z "$as_dir" && as_dir=.
1991
    for ac_exec_ext in '' $ac_executable_extensions; do
1992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993
    ac_cv_prog_ac_ct_AR="ar"
1994
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1995
    break 2
1996
  fi
1997
done
1998
  done
1999
IFS=$as_save_IFS
2000
 
2001
fi
2002
fi
2003
ac_ct_AR=$ac_cv_prog_ac_ct_AR
2004
if test -n "$ac_ct_AR"; then
2005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2006
$as_echo "$ac_ct_AR" >&6; }
2007
else
2008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2009
$as_echo "no" >&6; }
2010
fi
2011
 
2012
  if test "x$ac_ct_AR" = x; then
2013
    AR=""
2014
  else
2015
    case $cross_compiling:$ac_tool_warned in
2016
yes:)
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2018
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2019
ac_tool_warned=yes ;;
2020
esac
2021
    AR=$ac_ct_AR
2022
  fi
2023
else
2024
  AR="$ac_cv_prog_AR"
2025
fi
2026
 
2027
if test -n "$ac_tool_prefix"; then
2028
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2029
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2031
$as_echo_n "checking for $ac_word... " >&6; }
2032
if test "${ac_cv_prog_RANLIB+set}" = set; then :
2033
  $as_echo_n "(cached) " >&6
2034
else
2035
  if test -n "$RANLIB"; then
2036
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2037
else
2038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039
for as_dir in $PATH
2040
do
2041
  IFS=$as_save_IFS
2042
  test -z "$as_dir" && as_dir=.
2043
    for ac_exec_ext in '' $ac_executable_extensions; do
2044
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2046
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2047
    break 2
2048
  fi
2049
done
2050
  done
2051
IFS=$as_save_IFS
2052
 
2053
fi
2054
fi
2055
RANLIB=$ac_cv_prog_RANLIB
2056
if test -n "$RANLIB"; then
2057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2058
$as_echo "$RANLIB" >&6; }
2059
else
2060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2061
$as_echo "no" >&6; }
2062
fi
2063
 
2064
 
2065
fi
2066
if test -z "$ac_cv_prog_RANLIB"; then
2067
  ac_ct_RANLIB=$RANLIB
2068
  # Extract the first word of "ranlib", so it can be a program name with args.
2069
set dummy ranlib; ac_word=$2
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071
$as_echo_n "checking for $ac_word... " >&6; }
2072
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2073
  $as_echo_n "(cached) " >&6
2074
else
2075
  if test -n "$ac_ct_RANLIB"; then
2076
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2077
else
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079
for as_dir in $PATH
2080
do
2081
  IFS=$as_save_IFS
2082
  test -z "$as_dir" && as_dir=.
2083
    for ac_exec_ext in '' $ac_executable_extensions; do
2084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2086
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2087
    break 2
2088
  fi
2089
done
2090
  done
2091
IFS=$as_save_IFS
2092
 
2093
fi
2094
fi
2095
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2096
if test -n "$ac_ct_RANLIB"; then
2097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2098
$as_echo "$ac_ct_RANLIB" >&6; }
2099
else
2100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101
$as_echo "no" >&6; }
2102
fi
2103
 
2104
  if test "x$ac_ct_RANLIB" = x; then
2105
    RANLIB=""
2106
  else
2107
    case $cross_compiling:$ac_tool_warned in
2108
yes:)
2109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2110
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2111
ac_tool_warned=yes ;;
2112
esac
2113
    RANLIB=$ac_ct_RANLIB
2114
  fi
2115
else
2116
  RANLIB="$ac_cv_prog_RANLIB"
2117
fi
2118
 
2119
# Find a good install program.  We prefer a C program (faster),
2120
# so one script is as good as another.  But avoid the broken or
2121
# incompatible versions:
2122
# SysV /etc/install, /usr/sbin/install
2123
# SunOS /usr/etc/install
2124
# IRIX /sbin/install
2125
# AIX /bin/install
2126
# AmigaOS /C/install, which installs bootblocks on floppy discs
2127
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2128
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2129
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2130
# OS/2's system install, which has a completely different semantic
2131
# ./install, which can be erroneously created by make from ./install.sh.
2132
# Reject install programs that cannot install multiple files.
2133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2134
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2135
if test -z "$INSTALL"; then
2136
if test "${ac_cv_path_install+set}" = set; then :
2137
  $as_echo_n "(cached) " >&6
2138
else
2139
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140
for as_dir in $PATH
2141
do
2142
  IFS=$as_save_IFS
2143
  test -z "$as_dir" && as_dir=.
2144
    # Account for people who put trailing slashes in PATH elements.
2145
case $as_dir/ in #((
2146
  ./ | .// | /[cC]/* | \
2147
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2148
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2149
  /usr/ucb/* ) ;;
2150
  *)
2151
    # OSF1 and SCO ODT 3.0 have their own names for install.
2152
    # Don't use installbsd from OSF since it installs stuff as root
2153
    # by default.
2154
    for ac_prog in ginstall scoinst install; do
2155
      for ac_exec_ext in '' $ac_executable_extensions; do
2156
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2157
          if test $ac_prog = install &&
2158
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2159
            # AIX install.  It has an incompatible calling convention.
2160
            :
2161
          elif test $ac_prog = install &&
2162
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2163
            # program-specific install script used by HP pwplus--don't use.
2164
            :
2165
          else
2166
            rm -rf conftest.one conftest.two conftest.dir
2167
            echo one > conftest.one
2168
            echo two > conftest.two
2169
            mkdir conftest.dir
2170
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2171
              test -s conftest.one && test -s conftest.two &&
2172
              test -s conftest.dir/conftest.one &&
2173
              test -s conftest.dir/conftest.two
2174
            then
2175
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2176
              break 3
2177
            fi
2178
          fi
2179
        fi
2180
      done
2181
    done
2182
    ;;
2183
esac
2184
 
2185
  done
2186
IFS=$as_save_IFS
2187
 
2188
rm -rf conftest.one conftest.two conftest.dir
2189
 
2190
fi
2191
  if test "${ac_cv_path_install+set}" = set; then
2192
    INSTALL=$ac_cv_path_install
2193
  else
2194
    # As a last resort, use the slow shell script.  Don't cache a
2195
    # value for INSTALL within a source directory, because that will
2196
    # break other packages using the cache if that directory is
2197
    # removed, or if the value is a relative name.
2198
    INSTALL=$ac_install_sh
2199
  fi
2200
fi
2201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2202
$as_echo "$INSTALL" >&6; }
2203
 
2204
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2205
# It thinks the first close brace ends the variable substitution.
2206
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2207
 
2208
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2209
 
2210
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2211
 
2212
 
2213
#-------------------------------------------------------------------------
2214
# Output
2215
#-------------------------------------------------------------------------
2216
 
2217
if test "$srcdir" = "." ; then
2218
  if test "${with_target_subdir}" != "." ; then
2219
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
2220
  else
2221
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
2222
  fi
2223
else
2224
  libgloss_topdir="${srcdir}/../.."
2225
fi
2226
ac_aux_dir=
2227
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
2228
  for ac_t in install-sh install.sh shtool; do
2229
    if test -f "$ac_dir/$ac_t"; then
2230
      ac_aux_dir=$ac_dir
2231
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2232
      break 2
2233
    fi
2234
  done
2235
done
2236
if test -z "$ac_aux_dir"; then
2237
  as_fn_error "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
2238
fi
2239
 
2240
# These three variables are undocumented and unsupported,
2241
# and are intended to be withdrawn in a future Autoconf release.
2242
# They can cause serious problems if a builder's source tree is in a directory
2243
# whose full name contains unusual characters.
2244
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2245
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2246
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2247
 
2248
 
2249
ac_config_files="$ac_config_files Makefile"
2250
 
2251
cat >confcache <<\_ACEOF
2252
# This file is a shell script that caches the results of configure
2253
# tests run on this system so they can be shared between configure
2254
# scripts and configure runs, see configure's option --config-cache.
2255
# It is not useful on other systems.  If it contains results you don't
2256
# want to keep, you may remove or edit it.
2257
#
2258
# config.status only pays attention to the cache file if you give it
2259
# the --recheck option to rerun configure.
2260
#
2261
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2262
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2263
# following values.
2264
 
2265
_ACEOF
2266
 
2267
# The following way of writing the cache mishandles newlines in values,
2268
# but we know of no workaround that is simple, portable, and efficient.
2269
# So, we kill variables containing newlines.
2270
# Ultrix sh set writes to stderr and can't be redirected directly,
2271
# and sets the high bit in the cache file unless we assign to the vars.
2272
(
2273
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2274
    eval ac_val=\$$ac_var
2275
    case $ac_val in #(
2276
    *${as_nl}*)
2277
      case $ac_var in #(
2278
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2279
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2280
      esac
2281
      case $ac_var in #(
2282
      _ | IFS | as_nl) ;; #(
2283
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2284
      *) { eval $ac_var=; unset $ac_var;} ;;
2285
      esac ;;
2286
    esac
2287
  done
2288
 
2289
  (set) 2>&1 |
2290
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2291
    *${as_nl}ac_space=\ *)
2292
      # `set' does not quote correctly, so add quotes: double-quote
2293
      # substitution turns \\\\ into \\, and sed turns \\ into \.
2294
      sed -n \
2295
        "s/'/'\\\\''/g;
2296
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2297
      ;; #(
2298
    *)
2299
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2300
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2301
      ;;
2302
    esac |
2303
    sort
2304
) |
2305
  sed '
2306
     /^ac_cv_env_/b end
2307
     t clear
2308
     :clear
2309
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2310
     t end
2311
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2312
     :end' >>confcache
2313
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2314
  if test -w "$cache_file"; then
2315
    test "x$cache_file" != "x/dev/null" &&
2316
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2317
$as_echo "$as_me: updating cache $cache_file" >&6;}
2318
    cat confcache >$cache_file
2319
  else
2320
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2321
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2322
  fi
2323
fi
2324
rm -f confcache
2325
 
2326
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2327
# Let make expand exec_prefix.
2328
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2329
 
2330
# Transform confdefs.h into DEFS.
2331
# Protect against shell expansion while executing Makefile rules.
2332
# Protect against Makefile macro expansion.
2333
#
2334
# If the first sed substitution is executed (which looks for macros that
2335
# take arguments), then branch to the quote section.  Otherwise,
2336
# look for a macro that doesn't take arguments.
2337
ac_script='
2338
:mline
2339
/\\$/{
2340
 N
2341
 s,\\\n,,
2342
 b mline
2343
}
2344
t clear
2345
:clear
2346
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2347
t quote
2348
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2349
t quote
2350
b any
2351
:quote
2352
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2353
s/\[/\\&/g
2354
s/\]/\\&/g
2355
s/\$/$$/g
2356
H
2357
:any
2358
${
2359
        g
2360
        s/^\n//
2361
        s/\n/ /g
2362
        p
2363
}
2364
'
2365
DEFS=`sed -n "$ac_script" confdefs.h`
2366
 
2367
 
2368
ac_libobjs=
2369
ac_ltlibobjs=
2370
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2371
  # 1. Remove the extension, and $U if already installed.
2372
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2373
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2374
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2375
  #    will be set to the directory where LIBOBJS objects are built.
2376
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2377
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2378
done
2379
LIBOBJS=$ac_libobjs
2380
 
2381
LTLIBOBJS=$ac_ltlibobjs
2382
 
2383
 
2384
 
2385
: ${CONFIG_STATUS=./config.status}
2386
ac_write_fail=0
2387
ac_clean_files_save=$ac_clean_files
2388
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2389
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2390
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2391
as_write_fail=0
2392
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2393
#! $SHELL
2394
# Generated by $as_me.
2395
# Run this file to recreate the current configuration.
2396
# Compiler output produced by configure, useful for debugging
2397
# configure, is in config.log if it exists.
2398
 
2399
debug=false
2400
ac_cs_recheck=false
2401
ac_cs_silent=false
2402
 
2403
SHELL=\${CONFIG_SHELL-$SHELL}
2404
export SHELL
2405
_ASEOF
2406
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2407
## -------------------- ##
2408
## M4sh Initialization. ##
2409
## -------------------- ##
2410
 
2411
# Be more Bourne compatible
2412
DUALCASE=1; export DUALCASE # for MKS sh
2413
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2414
  emulate sh
2415
  NULLCMD=:
2416
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2417
  # is contrary to our usage.  Disable this feature.
2418
  alias -g '${1+"$@"}'='"$@"'
2419
  setopt NO_GLOB_SUBST
2420
else
2421
  case `(set -o) 2>/dev/null` in #(
2422
  *posix*) :
2423
    set -o posix ;; #(
2424
  *) :
2425
     ;;
2426
esac
2427
fi
2428
 
2429
 
2430
as_nl='
2431
'
2432
export as_nl
2433
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2434
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2435
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2436
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2437
# Prefer a ksh shell builtin over an external printf program on Solaris,
2438
# but without wasting forks for bash or zsh.
2439
if test -z "$BASH_VERSION$ZSH_VERSION" \
2440
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2441
  as_echo='print -r --'
2442
  as_echo_n='print -rn --'
2443
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2444
  as_echo='printf %s\n'
2445
  as_echo_n='printf %s'
2446
else
2447
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2448
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2449
    as_echo_n='/usr/ucb/echo -n'
2450
  else
2451
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2452
    as_echo_n_body='eval
2453
      arg=$1;
2454
      case $arg in #(
2455
      *"$as_nl"*)
2456
        expr "X$arg" : "X\\(.*\\)$as_nl";
2457
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2458
      esac;
2459
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2460
    '
2461
    export as_echo_n_body
2462
    as_echo_n='sh -c $as_echo_n_body as_echo'
2463
  fi
2464
  export as_echo_body
2465
  as_echo='sh -c $as_echo_body as_echo'
2466
fi
2467
 
2468
# The user is always right.
2469
if test "${PATH_SEPARATOR+set}" != set; then
2470
  PATH_SEPARATOR=:
2471
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2472
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2473
      PATH_SEPARATOR=';'
2474
  }
2475
fi
2476
 
2477
 
2478
# IFS
2479
# We need space, tab and new line, in precisely that order.  Quoting is
2480
# there to prevent editors from complaining about space-tab.
2481
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2482
# splitting by setting IFS to empty value.)
2483
IFS=" ""        $as_nl"
2484
 
2485
# Find who we are.  Look in the path if we contain no directory separator.
2486
case $0 in #((
2487
  *[\\/]* ) as_myself=$0 ;;
2488
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489
for as_dir in $PATH
2490
do
2491
  IFS=$as_save_IFS
2492
  test -z "$as_dir" && as_dir=.
2493
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2494
  done
2495
IFS=$as_save_IFS
2496
 
2497
     ;;
2498
esac
2499
# We did not find ourselves, most probably we were run as `sh COMMAND'
2500
# in which case we are not to be found in the path.
2501
if test "x$as_myself" = x; then
2502
  as_myself=$0
2503
fi
2504
if test ! -f "$as_myself"; then
2505
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2506
  exit 1
2507
fi
2508
 
2509
# Unset variables that we do not need and which cause bugs (e.g. in
2510
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2511
# suppresses any "Segmentation fault" message there.  '((' could
2512
# trigger a bug in pdksh 5.2.14.
2513
for as_var in BASH_ENV ENV MAIL MAILPATH
2514
do eval test x\${$as_var+set} = xset \
2515
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2516
done
2517
PS1='$ '
2518
PS2='> '
2519
PS4='+ '
2520
 
2521
# NLS nuisances.
2522
LC_ALL=C
2523
export LC_ALL
2524
LANGUAGE=C
2525
export LANGUAGE
2526
 
2527
# CDPATH.
2528
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2529
 
2530
 
2531
# as_fn_error ERROR [LINENO LOG_FD]
2532
# ---------------------------------
2533
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2534
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2535
# script with status $?, using 1 if that was 0.
2536
as_fn_error ()
2537
{
2538
  as_status=$?; test $as_status -eq 0 && as_status=1
2539
  if test "$3"; then
2540
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2541
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2542
  fi
2543
  $as_echo "$as_me: error: $1" >&2
2544
  as_fn_exit $as_status
2545
} # as_fn_error
2546
 
2547
 
2548
# as_fn_set_status STATUS
2549
# -----------------------
2550
# Set $? to STATUS, without forking.
2551
as_fn_set_status ()
2552
{
2553
  return $1
2554
} # as_fn_set_status
2555
 
2556
# as_fn_exit STATUS
2557
# -----------------
2558
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2559
as_fn_exit ()
2560
{
2561
  set +e
2562
  as_fn_set_status $1
2563
  exit $1
2564
} # as_fn_exit
2565
 
2566
# as_fn_unset VAR
2567
# ---------------
2568
# Portably unset VAR.
2569
as_fn_unset ()
2570
{
2571
  { eval $1=; unset $1;}
2572
}
2573
as_unset=as_fn_unset
2574
# as_fn_append VAR VALUE
2575
# ----------------------
2576
# Append the text in VALUE to the end of the definition contained in VAR. Take
2577
# advantage of any shell optimizations that allow amortized linear growth over
2578
# repeated appends, instead of the typical quadratic growth present in naive
2579
# implementations.
2580
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2581
  eval 'as_fn_append ()
2582
  {
2583
    eval $1+=\$2
2584
  }'
2585
else
2586
  as_fn_append ()
2587
  {
2588
    eval $1=\$$1\$2
2589
  }
2590
fi # as_fn_append
2591
 
2592
# as_fn_arith ARG...
2593
# ------------------
2594
# Perform arithmetic evaluation on the ARGs, and store the result in the
2595
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2596
# must be portable across $(()) and expr.
2597
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2598
  eval 'as_fn_arith ()
2599
  {
2600
    as_val=$(( $* ))
2601
  }'
2602
else
2603
  as_fn_arith ()
2604
  {
2605
    as_val=`expr "$@" || test $? -eq 1`
2606
  }
2607
fi # as_fn_arith
2608
 
2609
 
2610
if expr a : '\(a\)' >/dev/null 2>&1 &&
2611
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2612
  as_expr=expr
2613
else
2614
  as_expr=false
2615
fi
2616
 
2617
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2618
  as_basename=basename
2619
else
2620
  as_basename=false
2621
fi
2622
 
2623
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2624
  as_dirname=dirname
2625
else
2626
  as_dirname=false
2627
fi
2628
 
2629
as_me=`$as_basename -- "$0" ||
2630
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2631
         X"$0" : 'X\(//\)$' \| \
2632
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2633
$as_echo X/"$0" |
2634
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2635
            s//\1/
2636
            q
2637
          }
2638
          /^X\/\(\/\/\)$/{
2639
            s//\1/
2640
            q
2641
          }
2642
          /^X\/\(\/\).*/{
2643
            s//\1/
2644
            q
2645
          }
2646
          s/.*/./; q'`
2647
 
2648
# Avoid depending upon Character Ranges.
2649
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2650
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2651
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2652
as_cr_digits='0123456789'
2653
as_cr_alnum=$as_cr_Letters$as_cr_digits
2654
 
2655
ECHO_C= ECHO_N= ECHO_T=
2656
case `echo -n x` in #(((((
2657
-n*)
2658
  case `echo 'xy\c'` in
2659
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2660
  xy)  ECHO_C='\c';;
2661
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2662
       ECHO_T=' ';;
2663
  esac;;
2664
*)
2665
  ECHO_N='-n';;
2666
esac
2667
 
2668
rm -f conf$$ conf$$.exe conf$$.file
2669
if test -d conf$$.dir; then
2670
  rm -f conf$$.dir/conf$$.file
2671
else
2672
  rm -f conf$$.dir
2673
  mkdir conf$$.dir 2>/dev/null
2674
fi
2675
if (echo >conf$$.file) 2>/dev/null; then
2676
  if ln -s conf$$.file conf$$ 2>/dev/null; then
2677
    as_ln_s='ln -s'
2678
    # ... but there are two gotchas:
2679
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2680
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2681
    # In both cases, we have to default to `cp -p'.
2682
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2683
      as_ln_s='cp -p'
2684
  elif ln conf$$.file conf$$ 2>/dev/null; then
2685
    as_ln_s=ln
2686
  else
2687
    as_ln_s='cp -p'
2688
  fi
2689
else
2690
  as_ln_s='cp -p'
2691
fi
2692
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2693
rmdir conf$$.dir 2>/dev/null
2694
 
2695
 
2696
# as_fn_mkdir_p
2697
# -------------
2698
# Create "$as_dir" as a directory, including parents if necessary.
2699
as_fn_mkdir_p ()
2700
{
2701
 
2702
  case $as_dir in #(
2703
  -*) as_dir=./$as_dir;;
2704
  esac
2705
  test -d "$as_dir" || eval $as_mkdir_p || {
2706
    as_dirs=
2707
    while :; do
2708
      case $as_dir in #(
2709
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2710
      *) as_qdir=$as_dir;;
2711
      esac
2712
      as_dirs="'$as_qdir' $as_dirs"
2713
      as_dir=`$as_dirname -- "$as_dir" ||
2714
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2715
         X"$as_dir" : 'X\(//\)[^/]' \| \
2716
         X"$as_dir" : 'X\(//\)$' \| \
2717
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2718
$as_echo X"$as_dir" |
2719
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2720
            s//\1/
2721
            q
2722
          }
2723
          /^X\(\/\/\)[^/].*/{
2724
            s//\1/
2725
            q
2726
          }
2727
          /^X\(\/\/\)$/{
2728
            s//\1/
2729
            q
2730
          }
2731
          /^X\(\/\).*/{
2732
            s//\1/
2733
            q
2734
          }
2735
          s/.*/./; q'`
2736
      test -d "$as_dir" && break
2737
    done
2738
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2739
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2740
 
2741
 
2742
} # as_fn_mkdir_p
2743
if mkdir -p . 2>/dev/null; then
2744
  as_mkdir_p='mkdir -p "$as_dir"'
2745
else
2746
  test -d ./-p && rmdir ./-p
2747
  as_mkdir_p=false
2748
fi
2749
 
2750
if test -x / >/dev/null 2>&1; then
2751
  as_test_x='test -x'
2752
else
2753
  if ls -dL / >/dev/null 2>&1; then
2754
    as_ls_L_option=L
2755
  else
2756
    as_ls_L_option=
2757
  fi
2758
  as_test_x='
2759
    eval sh -c '\''
2760
      if test -d "$1"; then
2761
        test -d "$1/.";
2762
      else
2763
        case $1 in #(
2764
        -*)set "./$1";;
2765
        esac;
2766
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2767
        ???[sx]*):;;*)false;;esac;fi
2768
    '\'' sh
2769
  '
2770
fi
2771
as_executable_p=$as_test_x
2772
 
2773
# Sed expression to map a string onto a valid CPP name.
2774
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2775
 
2776
# Sed expression to map a string onto a valid variable name.
2777
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2778
 
2779
 
2780
exec 6>&1
2781
## ----------------------------------- ##
2782
## Main body of $CONFIG_STATUS script. ##
2783
## ----------------------------------- ##
2784
_ASEOF
2785
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2786
 
2787
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2788
# Save the log message, to keep $0 and so on meaningful, and to
2789
# report actual input values of CONFIG_FILES etc. instead of their
2790
# values after options handling.
2791
ac_log="
2792
This file was extended by RISC-V libgloss $as_me ?, which was
2793
generated by GNU Autoconf 2.64.  Invocation command line was
2794
 
2795
  CONFIG_FILES    = $CONFIG_FILES
2796
  CONFIG_HEADERS  = $CONFIG_HEADERS
2797
  CONFIG_LINKS    = $CONFIG_LINKS
2798
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2799
  $ $0 $@
2800
 
2801
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2802
"
2803
 
2804
_ACEOF
2805
 
2806
case $ac_config_files in *"
2807
"*) set x $ac_config_files; shift; ac_config_files=$*;;
2808
esac
2809
 
2810
 
2811
 
2812
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2813
# Files that config.status was made for.
2814
config_files="$ac_config_files"
2815
 
2816
_ACEOF
2817
 
2818
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2819
ac_cs_usage="\
2820
\`$as_me' instantiates files and other configuration actions
2821
from templates according to the current configuration.  Unless the files
2822
and actions are specified as TAGs, all are instantiated by default.
2823
 
2824
Usage: $0 [OPTION]... [TAG]...
2825
 
2826
  -h, --help       print this help, then exit
2827
  -V, --version    print version number and configuration settings, then exit
2828
  -q, --quiet, --silent
2829
                   do not print progress messages
2830
  -d, --debug      don't remove temporary files
2831
      --recheck    update $as_me by reconfiguring in the same conditions
2832
      --file=FILE[:TEMPLATE]
2833
                   instantiate the configuration file FILE
2834
 
2835
Configuration files:
2836
$config_files
2837
 
2838
Report bugs to ."
2839
 
2840
_ACEOF
2841
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2842
ac_cs_version="\\
2843
RISC-V libgloss config.status ?
2844
configured by $0, generated by GNU Autoconf 2.64,
2845
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2846
 
2847
Copyright (C) 2009 Free Software Foundation, Inc.
2848
This config.status script is free software; the Free Software Foundation
2849
gives unlimited permission to copy, distribute and modify it."
2850
 
2851
ac_pwd='$ac_pwd'
2852
srcdir='$srcdir'
2853
INSTALL='$INSTALL'
2854
test -n "\$AWK" || AWK=awk
2855
_ACEOF
2856
 
2857
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2858
# The default lists apply if the user does not specify any file.
2859
ac_need_defaults=:
2860
while test $# != 0
2861
do
2862
  case $1 in
2863
  --*=*)
2864
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2865
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2866
    ac_shift=:
2867
    ;;
2868
  *)
2869
    ac_option=$1
2870
    ac_optarg=$2
2871
    ac_shift=shift
2872
    ;;
2873
  esac
2874
 
2875
  case $ac_option in
2876
  # Handling of the options.
2877
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2878
    ac_cs_recheck=: ;;
2879
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2880
    $as_echo "$ac_cs_version"; exit ;;
2881
  --debug | --debu | --deb | --de | --d | -d )
2882
    debug=: ;;
2883
  --file | --fil | --fi | --f )
2884
    $ac_shift
2885
    case $ac_optarg in
2886
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2887
    esac
2888
    as_fn_append CONFIG_FILES " '$ac_optarg'"
2889
    ac_need_defaults=false;;
2890
  --he | --h |  --help | --hel | -h )
2891
    $as_echo "$ac_cs_usage"; exit ;;
2892
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2893
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2894
    ac_cs_silent=: ;;
2895
 
2896
  # This is an error.
2897
  -*) as_fn_error "unrecognized option: \`$1'
2898
Try \`$0 --help' for more information." ;;
2899
 
2900
  *) as_fn_append ac_config_targets " $1"
2901
     ac_need_defaults=false ;;
2902
 
2903
  esac
2904
  shift
2905
done
2906
 
2907
ac_configure_extra_args=
2908
 
2909
if $ac_cs_silent; then
2910
  exec 6>/dev/null
2911
  ac_configure_extra_args="$ac_configure_extra_args --silent"
2912
fi
2913
 
2914
_ACEOF
2915
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2916
if \$ac_cs_recheck; then
2917
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2918
  shift
2919
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2920
  CONFIG_SHELL='$SHELL'
2921
  export CONFIG_SHELL
2922
  exec "\$@"
2923
fi
2924
 
2925
_ACEOF
2926
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2927
exec 5>>config.log
2928
{
2929
  echo
2930
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2931
## Running $as_me. ##
2932
_ASBOX
2933
  $as_echo "$ac_log"
2934
} >&5
2935
 
2936
_ACEOF
2937
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2938
#
2939
# INIT-COMMANDS
2940
#
2941
srcdir=${srcdir}
2942
target=${target}
2943
with_multisubdir=${with_multisubdir}
2944
ac_configure_args="${ac_configure_args} --enable-multilib"
2945
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2946
libgloss_topdir=${libgloss_topdir}
2947
 
2948
 
2949
_ACEOF
2950
 
2951
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2952
 
2953
# Handling of arguments.
2954
for ac_config_target in $ac_config_targets
2955
do
2956
  case $ac_config_target in
2957
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2958
 
2959
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2960
  esac
2961
done
2962
 
2963
 
2964
# If the user did not use the arguments to specify the items to instantiate,
2965
# then the envvar interface is used.  Set only those that are not.
2966
# We use the long form for the default assignment because of an extremely
2967
# bizarre bug on SunOS 4.1.3.
2968
if $ac_need_defaults; then
2969
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2970
fi
2971
 
2972
# Have a temporary directory for convenience.  Make it in the build tree
2973
# simply because there is no reason against having it here, and in addition,
2974
# creating and moving files from /tmp can sometimes cause problems.
2975
# Hook for its removal unless debugging.
2976
# Note that there is a small window in which the directory will not be cleaned:
2977
# after its creation but before its name has been assigned to `$tmp'.
2978
$debug ||
2979
{
2980
  tmp=
2981
  trap 'exit_status=$?
2982
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2983
' 0
2984
  trap 'as_fn_exit 1' 1 2 13 15
2985
}
2986
# Create a (secure) tmp directory for tmp files.
2987
 
2988
{
2989
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2990
  test -n "$tmp" && test -d "$tmp"
2991
}  ||
2992
{
2993
  tmp=./conf$$-$RANDOM
2994
  (umask 077 && mkdir "$tmp")
2995
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2996
 
2997
# Set up the scripts for CONFIG_FILES section.
2998
# No need to generate them if there are no CONFIG_FILES.
2999
# This happens for instance with `./config.status config.h'.
3000
if test -n "$CONFIG_FILES"; then
3001
 
3002
 
3003
ac_cr=`echo X | tr X '\015'`
3004
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3005
# But we know of no other shell where ac_cr would be empty at this
3006
# point, so we can use a bashism as a fallback.
3007
if test "x$ac_cr" = x; then
3008
  eval ac_cr=\$\'\\r\'
3009
fi
3010
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
3011
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3012
  ac_cs_awk_cr='\r'
3013
else
3014
  ac_cs_awk_cr=$ac_cr
3015
fi
3016
 
3017
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3018
_ACEOF
3019
 
3020
 
3021
{
3022
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3023
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3024
  echo "_ACEOF"
3025
} >conf$$subs.sh ||
3026
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3027
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3028
ac_delim='%!_!# '
3029
for ac_last_try in false false false false false :; do
3030
  . ./conf$$subs.sh ||
3031
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3032
 
3033
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3034
  if test $ac_delim_n = $ac_delim_num; then
3035
    break
3036
  elif $ac_last_try; then
3037
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3038
  else
3039
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3040
  fi
3041
done
3042
rm -f conf$$subs.sh
3043
 
3044
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3045
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3046
_ACEOF
3047
sed -n '
3048
h
3049
s/^/S["/; s/!.*/"]=/
3050
p
3051
g
3052
s/^[^!]*!//
3053
:repl
3054
t repl
3055
s/'"$ac_delim"'$//
3056
t delim
3057
:nl
3058
h
3059
s/\(.\{148\}\).*/\1/
3060
t more1
3061
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3062
p
3063
n
3064
b repl
3065
:more1
3066
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3067
p
3068
g
3069
s/.\{148\}//
3070
t nl
3071
:delim
3072
h
3073
s/\(.\{148\}\).*/\1/
3074
t more2
3075
s/["\\]/\\&/g; s/^/"/; s/$/"/
3076
p
3077
b
3078
:more2
3079
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3080
p
3081
g
3082
s/.\{148\}//
3083
t delim
3084
' 
3085
/^[^""]/{
3086
  N
3087
  s/\n//
3088
}
3089
' >>$CONFIG_STATUS || ac_write_fail=1
3090
rm -f conf$$subs.awk
3091
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3092
_ACAWK
3093
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3094
  for (key in S) S_is_set[key] = 1
3095
  FS = ""
3096
 
3097
}
3098
{
3099
  line = $ 0
3100
  nfields = split(line, field, "@")
3101
  substed = 0
3102
  len = length(field[1])
3103
  for (i = 2; i < nfields; i++) {
3104
    key = field[i]
3105
    keylen = length(key)
3106
    if (S_is_set[key]) {
3107
      value = S[key]
3108
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3109
      len += length(value) + length(field[++i])
3110
      substed = 1
3111
    } else
3112
      len += 1 + keylen
3113
  }
3114
 
3115
  print line
3116
}
3117
 
3118
_ACAWK
3119
_ACEOF
3120
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3121
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3122
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3123
else
3124
  cat
3125
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3126
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3127
_ACEOF
3128
 
3129
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3130
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3131
# trailing colons and then remove the whole line if VPATH becomes empty
3132
# (actually we leave an empty line to preserve line numbers).
3133
if test "x$srcdir" = x.; then
3134
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3135
s/:*\$(srcdir):*/:/
3136
s/:*\${srcdir}:*/:/
3137
s/:*@srcdir@:*/:/
3138
s/^\([^=]*=[     ]*\):*/\1/
3139
s/:*$//
3140
s/^[^=]*=[       ]*$//
3141
}'
3142
fi
3143
 
3144
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3145
fi # test -n "$CONFIG_FILES"
3146
 
3147
 
3148
eval set X "  :F $CONFIG_FILES      "
3149
shift
3150
for ac_tag
3151
do
3152
  case $ac_tag in
3153
  :[FHLC]) ac_mode=$ac_tag; continue;;
3154
  esac
3155
  case $ac_mode$ac_tag in
3156
  :[FHL]*:*);;
3157
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3158
  :[FH]-) ac_tag=-:-;;
3159
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3160
  esac
3161
  ac_save_IFS=$IFS
3162
  IFS=:
3163
  set x $ac_tag
3164
  IFS=$ac_save_IFS
3165
  shift
3166
  ac_file=$1
3167
  shift
3168
 
3169
  case $ac_mode in
3170
  :L) ac_source=$1;;
3171
  :[FH])
3172
    ac_file_inputs=
3173
    for ac_f
3174
    do
3175
      case $ac_f in
3176
      -) ac_f="$tmp/stdin";;
3177
      *) # Look for the file first in the build tree, then in the source tree
3178
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3179
         # because $ac_f cannot contain `:'.
3180
         test -f "$ac_f" ||
3181
           case $ac_f in
3182
           [\\/$]*) false;;
3183
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3184
           esac ||
3185
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3186
      esac
3187
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3188
      as_fn_append ac_file_inputs " '$ac_f'"
3189
    done
3190
 
3191
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3192
    # use $as_me), people would be surprised to read:
3193
    #    /* config.h.  Generated by config.status.  */
3194
    configure_input='Generated from '`
3195
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3196
        `' by configure.'
3197
    if test x"$ac_file" != x-; then
3198
      configure_input="$ac_file.  $configure_input"
3199
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3200
$as_echo "$as_me: creating $ac_file" >&6;}
3201
    fi
3202
    # Neutralize special characters interpreted by sed in replacement strings.
3203
    case $configure_input in #(
3204
    *\&* | *\|* | *\\* )
3205
       ac_sed_conf_input=`$as_echo "$configure_input" |
3206
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3207
    *) ac_sed_conf_input=$configure_input;;
3208
    esac
3209
 
3210
    case $ac_tag in
3211
    *:-:* | *:-) cat >"$tmp/stdin" \
3212
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3213
    esac
3214
    ;;
3215
  esac
3216
 
3217
  ac_dir=`$as_dirname -- "$ac_file" ||
3218
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3219
         X"$ac_file" : 'X\(//\)[^/]' \| \
3220
         X"$ac_file" : 'X\(//\)$' \| \
3221
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3222
$as_echo X"$ac_file" |
3223
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3224
            s//\1/
3225
            q
3226
          }
3227
          /^X\(\/\/\)[^/].*/{
3228
            s//\1/
3229
            q
3230
          }
3231
          /^X\(\/\/\)$/{
3232
            s//\1/
3233
            q
3234
          }
3235
          /^X\(\/\).*/{
3236
            s//\1/
3237
            q
3238
          }
3239
          s/.*/./; q'`
3240
  as_dir="$ac_dir"; as_fn_mkdir_p
3241
  ac_builddir=.
3242
 
3243
case "$ac_dir" in
3244
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3245
*)
3246
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3247
  # A ".." for each directory in $ac_dir_suffix.
3248
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3249
  case $ac_top_builddir_sub in
3250
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3251
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3252
  esac ;;
3253
esac
3254
ac_abs_top_builddir=$ac_pwd
3255
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3256
# for backward compatibility:
3257
ac_top_builddir=$ac_top_build_prefix
3258
 
3259
case $srcdir in
3260
  .)  # We are building in place.
3261
    ac_srcdir=.
3262
    ac_top_srcdir=$ac_top_builddir_sub
3263
    ac_abs_top_srcdir=$ac_pwd ;;
3264
  [\\/]* | ?:[\\/]* )  # Absolute name.
3265
    ac_srcdir=$srcdir$ac_dir_suffix;
3266
    ac_top_srcdir=$srcdir
3267
    ac_abs_top_srcdir=$srcdir ;;
3268
  *) # Relative name.
3269
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3270
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3271
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3272
esac
3273
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3274
 
3275
 
3276
  case $ac_mode in
3277
  :F)
3278
  #
3279
  # CONFIG_FILE
3280
  #
3281
 
3282
  case $INSTALL in
3283
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3284
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3285
  esac
3286
_ACEOF
3287
 
3288
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3289
# If the template does not know about datarootdir, expand it.
3290
# FIXME: This hack should be removed a few years after 2.60.
3291
ac_datarootdir_hack=; ac_datarootdir_seen=
3292
ac_sed_dataroot='
3293
/datarootdir/ {
3294
  p
3295
  q
3296
}
3297
/@datadir@/p
3298
/@docdir@/p
3299
/@infodir@/p
3300
/@localedir@/p
3301
/@mandir@/p'
3302
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3303
*datarootdir*) ac_datarootdir_seen=yes;;
3304
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3305
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3306
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3307
_ACEOF
3308
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3309
  ac_datarootdir_hack='
3310
  s&@datadir@&$datadir&g
3311
  s&@docdir@&$docdir&g
3312
  s&@infodir@&$infodir&g
3313
  s&@localedir@&$localedir&g
3314
  s&@mandir@&$mandir&g
3315
  s&\\\${datarootdir}&$datarootdir&g' ;;
3316
esac
3317
_ACEOF
3318
 
3319
# Neutralize VPATH when `$srcdir' = `.'.
3320
# Shell code in configure.ac might set extrasub.
3321
# FIXME: do we really want to maintain this feature?
3322
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3323
ac_sed_extra="$ac_vpsub
3324
$extrasub
3325
_ACEOF
3326
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327
:t
3328
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3329
s|@configure_input@|$ac_sed_conf_input|;t t
3330
s&@top_builddir@&$ac_top_builddir_sub&;t t
3331
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3332
s&@srcdir@&$ac_srcdir&;t t
3333
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3334
s&@top_srcdir@&$ac_top_srcdir&;t t
3335
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3336
s&@builddir@&$ac_builddir&;t t
3337
s&@abs_builddir@&$ac_abs_builddir&;t t
3338
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3339
s&@INSTALL@&$ac_INSTALL&;t t
3340
$ac_datarootdir_hack
3341
"
3342
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3343
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3344
 
3345
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3346
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3347
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3348
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3349
which seems to be undefined.  Please make sure it is defined." >&5
3350
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3351
which seems to be undefined.  Please make sure it is defined." >&2;}
3352
 
3353
  rm -f "$tmp/stdin"
3354
  case $ac_file in
3355
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3356
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3357
  esac \
3358
  || as_fn_error "could not create $ac_file" "$LINENO" 5
3359
 ;;
3360
 
3361
 
3362
 
3363
  esac
3364
 
3365
 
3366
  case $ac_file$ac_mode in
3367
    "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3368
 
3369
  esac
3370
done # for ac_tag
3371
 
3372
 
3373
as_fn_exit 0
3374
_ACEOF
3375
ac_clean_files=$ac_clean_files_save
3376
 
3377
test $ac_write_fail = 0 ||
3378
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3379
 
3380
 
3381
# configure is writing to config.log, and then calls config.status.
3382
# config.status does its own redirection, appending to config.log.
3383
# Unfortunately, on DOS this fails, as config.log is still kept open
3384
# by configure, so config.status won't be able to write to it; its
3385
# output is simply discarded.  So we exec the FD to /dev/null,
3386
# effectively closing config.log, so it can be properly (re)opened and
3387
# appended to by config.status.  When coming back to configure, we
3388
# need to make the FD available again.
3389
if test "$no_create" != yes; then
3390
  ac_cs_success=:
3391
  ac_config_status_args=
3392
  test "$silent" = yes &&
3393
    ac_config_status_args="$ac_config_status_args --quiet"
3394
  exec 5>/dev/null
3395
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3396
  exec 5>>config.log
3397
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3398
  # would make configure fail if this is the last instruction.
3399
  $ac_cs_success || as_fn_exit $?
3400
fi
3401
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3402
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3403
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3404
fi
3405
 

powered by: WebSVN 2.1.0

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