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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [machine/] [rx/] [configure] - Blame information for rev 262

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

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

powered by: WebSVN 2.1.0

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