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/] [or32/] [configure] - Blame information for rev 308

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.18.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.18.0'
598
PACKAGE_STRING='newlib 1.18.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.18.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.18.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.18.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.18.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.18.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
  ac_test_CFLAGS=${CFLAGS+set}
2824
ac_save_CFLAGS=$CFLAGS
2825
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2826
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2827
if test "${ac_cv_prog_cc_g+set}" = set; then
2828
  $as_echo_n "(cached) " >&6
2829
else
2830
  ac_save_c_werror_flag=$ac_c_werror_flag
2831
   ac_c_werror_flag=yes
2832
   ac_cv_prog_cc_g=no
2833
   CFLAGS="-g"
2834
   cat >conftest.$ac_ext <<_ACEOF
2835
/* confdefs.h.  */
2836
_ACEOF
2837
cat confdefs.h >>conftest.$ac_ext
2838
cat >>conftest.$ac_ext <<_ACEOF
2839
/* end confdefs.h.  */
2840
 
2841
int
2842
main ()
2843
{
2844
 
2845
  ;
2846
  return 0;
2847
}
2848
_ACEOF
2849
rm -f conftest.$ac_objext
2850
if { (ac_try="$ac_compile"
2851
case "(($ac_try" in
2852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853
  *) ac_try_echo=$ac_try;;
2854
esac
2855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2856
$as_echo "$ac_try_echo") >&5
2857
  (eval "$ac_compile") 2>conftest.er1
2858
  ac_status=$?
2859
  grep -v '^ *+' conftest.er1 >conftest.err
2860
  rm -f conftest.er1
2861
  cat conftest.err >&5
2862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863
  (exit $ac_status); } && {
2864
         test -z "$ac_c_werror_flag" ||
2865
         test ! -s conftest.err
2866
       } && test -s conftest.$ac_objext; then
2867
  ac_cv_prog_cc_g=yes
2868
else
2869
  $as_echo "$as_me: failed program was:" >&5
2870
sed 's/^/| /' conftest.$ac_ext >&5
2871
 
2872
        CFLAGS=""
2873
      cat >conftest.$ac_ext <<_ACEOF
2874
/* confdefs.h.  */
2875
_ACEOF
2876
cat confdefs.h >>conftest.$ac_ext
2877
cat >>conftest.$ac_ext <<_ACEOF
2878
/* end confdefs.h.  */
2879
 
2880
int
2881
main ()
2882
{
2883
 
2884
  ;
2885
  return 0;
2886
}
2887
_ACEOF
2888
rm -f conftest.$ac_objext
2889
if { (ac_try="$ac_compile"
2890
case "(($ac_try" in
2891
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892
  *) ac_try_echo=$ac_try;;
2893
esac
2894
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2895
$as_echo "$ac_try_echo") >&5
2896
  (eval "$ac_compile") 2>conftest.er1
2897
  ac_status=$?
2898
  grep -v '^ *+' conftest.er1 >conftest.err
2899
  rm -f conftest.er1
2900
  cat conftest.err >&5
2901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902
  (exit $ac_status); } && {
2903
         test -z "$ac_c_werror_flag" ||
2904
         test ! -s conftest.err
2905
       } && test -s conftest.$ac_objext; then
2906
  :
2907
else
2908
  $as_echo "$as_me: failed program was:" >&5
2909
sed 's/^/| /' conftest.$ac_ext >&5
2910
 
2911
        ac_c_werror_flag=$ac_save_c_werror_flag
2912
         CFLAGS="-g"
2913
         cat >conftest.$ac_ext <<_ACEOF
2914
/* confdefs.h.  */
2915
_ACEOF
2916
cat confdefs.h >>conftest.$ac_ext
2917
cat >>conftest.$ac_ext <<_ACEOF
2918
/* end confdefs.h.  */
2919
 
2920
int
2921
main ()
2922
{
2923
 
2924
  ;
2925
  return 0;
2926
}
2927
_ACEOF
2928
rm -f conftest.$ac_objext
2929
if { (ac_try="$ac_compile"
2930
case "(($ac_try" in
2931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932
  *) ac_try_echo=$ac_try;;
2933
esac
2934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2935
$as_echo "$ac_try_echo") >&5
2936
  (eval "$ac_compile") 2>conftest.er1
2937
  ac_status=$?
2938
  grep -v '^ *+' conftest.er1 >conftest.err
2939
  rm -f conftest.er1
2940
  cat conftest.err >&5
2941
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
  (exit $ac_status); } && {
2943
         test -z "$ac_c_werror_flag" ||
2944
         test ! -s conftest.err
2945
       } && test -s conftest.$ac_objext; then
2946
  ac_cv_prog_cc_g=yes
2947
else
2948
  $as_echo "$as_me: failed program was:" >&5
2949
sed 's/^/| /' conftest.$ac_ext >&5
2950
 
2951
 
2952
fi
2953
 
2954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955
fi
2956
 
2957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958
fi
2959
 
2960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961
   ac_c_werror_flag=$ac_save_c_werror_flag
2962
fi
2963
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2964
$as_echo "$ac_cv_prog_cc_g" >&6; }
2965
if test "$ac_test_CFLAGS" = set; then
2966
  CFLAGS=$ac_save_CFLAGS
2967
elif test $ac_cv_prog_cc_g = yes; then
2968
  if test "$GCC" = yes; then
2969
    CFLAGS="-g -O2"
2970
  else
2971
    CFLAGS="-g"
2972
  fi
2973
else
2974
  if test "$GCC" = yes; then
2975
    CFLAGS="-O2"
2976
  else
2977
    CFLAGS=
2978
  fi
2979
fi
2980
  if test "$ac_test_CFLAGS" = set; then
2981
    CFLAGS="$ac_save_CFLAGS"
2982
  elif test $ac_cv_prog_cc_g = yes; then
2983
    CFLAGS="-g -O2"
2984
  else
2985
    CFLAGS="-O2"
2986
  fi
2987
else
2988
  GCC=
2989
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2990
fi
2991
 
2992
 
2993
if test -n "$ac_tool_prefix"; then
2994
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2995
set dummy ${ac_tool_prefix}as; ac_word=$2
2996
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2997
$as_echo_n "checking for $ac_word... " >&6; }
2998
if test "${ac_cv_prog_AS+set}" = set; then
2999
  $as_echo_n "(cached) " >&6
3000
else
3001
  if test -n "$AS"; then
3002
  ac_cv_prog_AS="$AS" # Let the user override the test.
3003
else
3004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005
for as_dir in $PATH
3006
do
3007
  IFS=$as_save_IFS
3008
  test -z "$as_dir" && as_dir=.
3009
  for ac_exec_ext in '' $ac_executable_extensions; do
3010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011
    ac_cv_prog_AS="${ac_tool_prefix}as"
3012
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3013
    break 2
3014
  fi
3015
done
3016
done
3017
IFS=$as_save_IFS
3018
 
3019
fi
3020
fi
3021
AS=$ac_cv_prog_AS
3022
if test -n "$AS"; then
3023
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
3024
$as_echo "$AS" >&6; }
3025
else
3026
  { $as_echo "$as_me:$LINENO: result: no" >&5
3027
$as_echo "no" >&6; }
3028
fi
3029
 
3030
 
3031
fi
3032
if test -z "$ac_cv_prog_AS"; then
3033
  ac_ct_AS=$AS
3034
  # Extract the first word of "as", so it can be a program name with args.
3035
set dummy as; ac_word=$2
3036
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3037
$as_echo_n "checking for $ac_word... " >&6; }
3038
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3039
  $as_echo_n "(cached) " >&6
3040
else
3041
  if test -n "$ac_ct_AS"; then
3042
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3043
else
3044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045
for as_dir in $PATH
3046
do
3047
  IFS=$as_save_IFS
3048
  test -z "$as_dir" && as_dir=.
3049
  for ac_exec_ext in '' $ac_executable_extensions; do
3050
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051
    ac_cv_prog_ac_ct_AS="as"
3052
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053
    break 2
3054
  fi
3055
done
3056
done
3057
IFS=$as_save_IFS
3058
 
3059
fi
3060
fi
3061
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3062
if test -n "$ac_ct_AS"; then
3063
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3064
$as_echo "$ac_ct_AS" >&6; }
3065
else
3066
  { $as_echo "$as_me:$LINENO: result: no" >&5
3067
$as_echo "no" >&6; }
3068
fi
3069
 
3070
  if test "x$ac_ct_AS" = x; then
3071
    AS=""
3072
  else
3073
    case $cross_compiling:$ac_tool_warned in
3074
yes:)
3075
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3076
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3077
ac_tool_warned=yes ;;
3078
esac
3079
    AS=$ac_ct_AS
3080
  fi
3081
else
3082
  AS="$ac_cv_prog_AS"
3083
fi
3084
 
3085
if test -n "$ac_tool_prefix"; then
3086
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3087
set dummy ${ac_tool_prefix}ar; ac_word=$2
3088
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3089
$as_echo_n "checking for $ac_word... " >&6; }
3090
if test "${ac_cv_prog_AR+set}" = set; then
3091
  $as_echo_n "(cached) " >&6
3092
else
3093
  if test -n "$AR"; then
3094
  ac_cv_prog_AR="$AR" # Let the user override the test.
3095
else
3096
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097
for as_dir in $PATH
3098
do
3099
  IFS=$as_save_IFS
3100
  test -z "$as_dir" && as_dir=.
3101
  for ac_exec_ext in '' $ac_executable_extensions; do
3102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103
    ac_cv_prog_AR="${ac_tool_prefix}ar"
3104
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105
    break 2
3106
  fi
3107
done
3108
done
3109
IFS=$as_save_IFS
3110
 
3111
fi
3112
fi
3113
AR=$ac_cv_prog_AR
3114
if test -n "$AR"; then
3115
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
3116
$as_echo "$AR" >&6; }
3117
else
3118
  { $as_echo "$as_me:$LINENO: result: no" >&5
3119
$as_echo "no" >&6; }
3120
fi
3121
 
3122
 
3123
fi
3124
if test -z "$ac_cv_prog_AR"; then
3125
  ac_ct_AR=$AR
3126
  # Extract the first word of "ar", so it can be a program name with args.
3127
set dummy ar; ac_word=$2
3128
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3129
$as_echo_n "checking for $ac_word... " >&6; }
3130
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3131
  $as_echo_n "(cached) " >&6
3132
else
3133
  if test -n "$ac_ct_AR"; then
3134
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3135
else
3136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137
for as_dir in $PATH
3138
do
3139
  IFS=$as_save_IFS
3140
  test -z "$as_dir" && as_dir=.
3141
  for ac_exec_ext in '' $ac_executable_extensions; do
3142
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143
    ac_cv_prog_ac_ct_AR="ar"
3144
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145
    break 2
3146
  fi
3147
done
3148
done
3149
IFS=$as_save_IFS
3150
 
3151
fi
3152
fi
3153
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3154
if test -n "$ac_ct_AR"; then
3155
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3156
$as_echo "$ac_ct_AR" >&6; }
3157
else
3158
  { $as_echo "$as_me:$LINENO: result: no" >&5
3159
$as_echo "no" >&6; }
3160
fi
3161
 
3162
  if test "x$ac_ct_AR" = x; then
3163
    AR=""
3164
  else
3165
    case $cross_compiling:$ac_tool_warned in
3166
yes:)
3167
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3168
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3169
ac_tool_warned=yes ;;
3170
esac
3171
    AR=$ac_ct_AR
3172
  fi
3173
else
3174
  AR="$ac_cv_prog_AR"
3175
fi
3176
 
3177
if test -n "$ac_tool_prefix"; then
3178
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3179
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3180
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3181
$as_echo_n "checking for $ac_word... " >&6; }
3182
if test "${ac_cv_prog_RANLIB+set}" = set; then
3183
  $as_echo_n "(cached) " >&6
3184
else
3185
  if test -n "$RANLIB"; then
3186
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3187
else
3188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189
for as_dir in $PATH
3190
do
3191
  IFS=$as_save_IFS
3192
  test -z "$as_dir" && as_dir=.
3193
  for ac_exec_ext in '' $ac_executable_extensions; do
3194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3196
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197
    break 2
3198
  fi
3199
done
3200
done
3201
IFS=$as_save_IFS
3202
 
3203
fi
3204
fi
3205
RANLIB=$ac_cv_prog_RANLIB
3206
if test -n "$RANLIB"; then
3207
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3208
$as_echo "$RANLIB" >&6; }
3209
else
3210
  { $as_echo "$as_me:$LINENO: result: no" >&5
3211
$as_echo "no" >&6; }
3212
fi
3213
 
3214
 
3215
fi
3216
if test -z "$ac_cv_prog_RANLIB"; then
3217
  ac_ct_RANLIB=$RANLIB
3218
  # Extract the first word of "ranlib", so it can be a program name with args.
3219
set dummy ranlib; ac_word=$2
3220
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3221
$as_echo_n "checking for $ac_word... " >&6; }
3222
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3223
  $as_echo_n "(cached) " >&6
3224
else
3225
  if test -n "$ac_ct_RANLIB"; then
3226
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3227
else
3228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229
for as_dir in $PATH
3230
do
3231
  IFS=$as_save_IFS
3232
  test -z "$as_dir" && as_dir=.
3233
  for ac_exec_ext in '' $ac_executable_extensions; do
3234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3235
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3236
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3237
    break 2
3238
  fi
3239
done
3240
done
3241
IFS=$as_save_IFS
3242
 
3243
fi
3244
fi
3245
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3246
if test -n "$ac_ct_RANLIB"; then
3247
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3248
$as_echo "$ac_ct_RANLIB" >&6; }
3249
else
3250
  { $as_echo "$as_me:$LINENO: result: no" >&5
3251
$as_echo "no" >&6; }
3252
fi
3253
 
3254
  if test "x$ac_ct_RANLIB" = x; then
3255
    RANLIB=":"
3256
  else
3257
    case $cross_compiling:$ac_tool_warned in
3258
yes:)
3259
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3260
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261
ac_tool_warned=yes ;;
3262
esac
3263
    RANLIB=$ac_ct_RANLIB
3264
  fi
3265
else
3266
  RANLIB="$ac_cv_prog_RANLIB"
3267
fi
3268
 
3269
if test -n "$ac_tool_prefix"; then
3270
  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
3271
set dummy ${ac_tool_prefix}readelf; ac_word=$2
3272
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3273
$as_echo_n "checking for $ac_word... " >&6; }
3274
if test "${ac_cv_prog_READELF+set}" = set; then
3275
  $as_echo_n "(cached) " >&6
3276
else
3277
  if test -n "$READELF"; then
3278
  ac_cv_prog_READELF="$READELF" # Let the user override the test.
3279
else
3280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281
for as_dir in $PATH
3282
do
3283
  IFS=$as_save_IFS
3284
  test -z "$as_dir" && as_dir=.
3285
  for ac_exec_ext in '' $ac_executable_extensions; do
3286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287
    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
3288
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3289
    break 2
3290
  fi
3291
done
3292
done
3293
IFS=$as_save_IFS
3294
 
3295
fi
3296
fi
3297
READELF=$ac_cv_prog_READELF
3298
if test -n "$READELF"; then
3299
  { $as_echo "$as_me:$LINENO: result: $READELF" >&5
3300
$as_echo "$READELF" >&6; }
3301
else
3302
  { $as_echo "$as_me:$LINENO: result: no" >&5
3303
$as_echo "no" >&6; }
3304
fi
3305
 
3306
 
3307
fi
3308
if test -z "$ac_cv_prog_READELF"; then
3309
  ac_ct_READELF=$READELF
3310
  # Extract the first word of "readelf", so it can be a program name with args.
3311
set dummy readelf; ac_word=$2
3312
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3313
$as_echo_n "checking for $ac_word... " >&6; }
3314
if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
3315
  $as_echo_n "(cached) " >&6
3316
else
3317
  if test -n "$ac_ct_READELF"; then
3318
  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
3319
else
3320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321
for as_dir in $PATH
3322
do
3323
  IFS=$as_save_IFS
3324
  test -z "$as_dir" && as_dir=.
3325
  for ac_exec_ext in '' $ac_executable_extensions; do
3326
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327
    ac_cv_prog_ac_ct_READELF="readelf"
3328
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3329
    break 2
3330
  fi
3331
done
3332
done
3333
IFS=$as_save_IFS
3334
 
3335
fi
3336
fi
3337
ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
3338
if test -n "$ac_ct_READELF"; then
3339
  { $as_echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
3340
$as_echo "$ac_ct_READELF" >&6; }
3341
else
3342
  { $as_echo "$as_me:$LINENO: result: no" >&5
3343
$as_echo "no" >&6; }
3344
fi
3345
 
3346
  if test "x$ac_ct_READELF" = x; then
3347
    READELF=":"
3348
  else
3349
    case $cross_compiling:$ac_tool_warned in
3350
yes:)
3351
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3352
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353
ac_tool_warned=yes ;;
3354
esac
3355
    READELF=$ac_ct_READELF
3356
  fi
3357
else
3358
  READELF="$ac_cv_prog_READELF"
3359
fi
3360
 
3361
 
3362
# Find a good install program.  We prefer a C program (faster),
3363
# so one script is as good as another.  But avoid the broken or
3364
# incompatible versions:
3365
# SysV /etc/install, /usr/sbin/install
3366
# SunOS /usr/etc/install
3367
# IRIX /sbin/install
3368
# AIX /bin/install
3369
# AmigaOS /C/install, which installs bootblocks on floppy discs
3370
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3371
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3372
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3373
# OS/2's system install, which has a completely different semantic
3374
# ./install, which can be erroneously created by make from ./install.sh.
3375
# Reject install programs that cannot install multiple files.
3376
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3377
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3378
if test -z "$INSTALL"; then
3379
if test "${ac_cv_path_install+set}" = set; then
3380
  $as_echo_n "(cached) " >&6
3381
else
3382
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383
for as_dir in $PATH
3384
do
3385
  IFS=$as_save_IFS
3386
  test -z "$as_dir" && as_dir=.
3387
  # Account for people who put trailing slashes in PATH elements.
3388
case $as_dir/ in
3389
  ./ | .// | /cC/* | \
3390
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3391
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3392
  /usr/ucb/* ) ;;
3393
  *)
3394
    # OSF1 and SCO ODT 3.0 have their own names for install.
3395
    # Don't use installbsd from OSF since it installs stuff as root
3396
    # by default.
3397
    for ac_prog in ginstall scoinst install; do
3398
      for ac_exec_ext in '' $ac_executable_extensions; do
3399
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3400
          if test $ac_prog = install &&
3401
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3402
            # AIX install.  It has an incompatible calling convention.
3403
            :
3404
          elif test $ac_prog = install &&
3405
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3406
            # program-specific install script used by HP pwplus--don't use.
3407
            :
3408
          else
3409
            rm -rf conftest.one conftest.two conftest.dir
3410
            echo one > conftest.one
3411
            echo two > conftest.two
3412
            mkdir conftest.dir
3413
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3414
              test -s conftest.one && test -s conftest.two &&
3415
              test -s conftest.dir/conftest.one &&
3416
              test -s conftest.dir/conftest.two
3417
            then
3418
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3419
              break 3
3420
            fi
3421
          fi
3422
        fi
3423
      done
3424
    done
3425
    ;;
3426
esac
3427
 
3428
done
3429
IFS=$as_save_IFS
3430
 
3431
rm -rf conftest.one conftest.two conftest.dir
3432
 
3433
fi
3434
  if test "${ac_cv_path_install+set}" = set; then
3435
    INSTALL=$ac_cv_path_install
3436
  else
3437
    # As a last resort, use the slow shell script.  Don't cache a
3438
    # value for INSTALL within a source directory, because that will
3439
    # break other packages using the cache if that directory is
3440
    # removed, or if the value is a relative name.
3441
    INSTALL=$ac_install_sh
3442
  fi
3443
fi
3444
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3445
$as_echo "$INSTALL" >&6; }
3446
 
3447
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3448
# It thinks the first close brace ends the variable substitution.
3449
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3450
 
3451
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3452
 
3453
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3454
 
3455
 
3456
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
3457
ac_given_INSTALL=$INSTALL
3458
 
3459
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3460
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3461
    # Check whether --enable-maintainer-mode was given.
3462
if test "${enable_maintainer_mode+set}" = set; then
3463
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3464
else
3465
  USE_MAINTAINER_MODE=no
3466
fi
3467
 
3468
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3469
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3470
 
3471
 
3472
if test $USE_MAINTAINER_MODE = yes; then
3473
  MAINTAINER_MODE_TRUE=
3474
  MAINTAINER_MODE_FALSE='#'
3475
else
3476
  MAINTAINER_MODE_TRUE='#'
3477
  MAINTAINER_MODE_FALSE=
3478
fi
3479
 
3480
  MAINT=$MAINTAINER_MODE_TRUE
3481
 
3482
 
3483
# By default we simply use the C compiler to build assembly code.
3484
 
3485
test "${CCAS+set}" = set || CCAS=$CC
3486
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3487
 
3488
 
3489
 
3490
 
3491
# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
3492
# at least currently, we never actually build a program, so we never
3493
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
3494
# fails, because we are probably configuring with a cross compiler
3495
# which can't create executables.  So we include AC_EXEEXT to keep
3496
# automake happy, but we don't execute it, since we don't care about
3497
# the result.
3498
if false; then
3499
 
3500
  dummy_var=1
3501
fi
3502
 
3503
. ${newlib_basedir}/configure.host
3504
 
3505
newlib_cflags="${newlib_cflags} -fno-builtin"
3506
 
3507
NEWLIB_CFLAGS=${newlib_cflags}
3508
 
3509
 
3510
LDFLAGS=${ldflags}
3511
 
3512
 
3513
 
3514
 
3515
if test x${newlib_elix_level} = x0; then
3516
  ELIX_LEVEL_0_TRUE=
3517
  ELIX_LEVEL_0_FALSE='#'
3518
else
3519
  ELIX_LEVEL_0_TRUE='#'
3520
  ELIX_LEVEL_0_FALSE=
3521
fi
3522
 
3523
 
3524
 
3525
if test x${newlib_elix_level} = x1; then
3526
  ELIX_LEVEL_1_TRUE=
3527
  ELIX_LEVEL_1_FALSE='#'
3528
else
3529
  ELIX_LEVEL_1_TRUE='#'
3530
  ELIX_LEVEL_1_FALSE=
3531
fi
3532
 
3533
 
3534
 
3535
if test x${newlib_elix_level} = x2; then
3536
  ELIX_LEVEL_2_TRUE=
3537
  ELIX_LEVEL_2_FALSE='#'
3538
else
3539
  ELIX_LEVEL_2_TRUE='#'
3540
  ELIX_LEVEL_2_FALSE=
3541
fi
3542
 
3543
 
3544
 
3545
if test x${newlib_elix_level} = x3; then
3546
  ELIX_LEVEL_3_TRUE=
3547
  ELIX_LEVEL_3_FALSE='#'
3548
else
3549
  ELIX_LEVEL_3_TRUE='#'
3550
  ELIX_LEVEL_3_FALSE=
3551
fi
3552
 
3553
 
3554
 
3555
if test x${newlib_elix_level} = x4; then
3556
  ELIX_LEVEL_4_TRUE=
3557
  ELIX_LEVEL_4_FALSE='#'
3558
else
3559
  ELIX_LEVEL_4_TRUE='#'
3560
  ELIX_LEVEL_4_FALSE=
3561
fi
3562
 
3563
 
3564
 
3565
 
3566
if test x${use_libtool} = xyes; then
3567
  USE_LIBTOOL_TRUE=
3568
  USE_LIBTOOL_FALSE='#'
3569
else
3570
  USE_LIBTOOL_TRUE='#'
3571
  USE_LIBTOOL_FALSE=
3572
fi
3573
 
3574
 
3575
# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
3576
# use oext, which is set in configure.host based on the target platform.
3577
OBJEXT=${oext}
3578
 
3579
 
3580
 
3581
 
3582
 
3583
 
3584
 
3585
 
3586
 
3587
 
3588
 
3589
ac_config_files="$ac_config_files Makefile"
3590
 
3591
cat >confcache <<\_ACEOF
3592
# This file is a shell script that caches the results of configure
3593
# tests run on this system so they can be shared between configure
3594
# scripts and configure runs, see configure's option --config-cache.
3595
# It is not useful on other systems.  If it contains results you don't
3596
# want to keep, you may remove or edit it.
3597
#
3598
# config.status only pays attention to the cache file if you give it
3599
# the --recheck option to rerun configure.
3600
#
3601
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3602
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3603
# following values.
3604
 
3605
_ACEOF
3606
 
3607
# The following way of writing the cache mishandles newlines in values,
3608
# but we know of no workaround that is simple, portable, and efficient.
3609
# So, we kill variables containing newlines.
3610
# Ultrix sh set writes to stderr and can't be redirected directly,
3611
# and sets the high bit in the cache file unless we assign to the vars.
3612
(
3613
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3614
    eval ac_val=\$$ac_var
3615
    case $ac_val in #(
3616
    *${as_nl}*)
3617
      case $ac_var in #(
3618
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3619
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3620
      esac
3621
      case $ac_var in #(
3622
      _ | IFS | as_nl) ;; #(
3623
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3624
      *) $as_unset $ac_var ;;
3625
      esac ;;
3626
    esac
3627
  done
3628
 
3629
  (set) 2>&1 |
3630
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3631
    *${as_nl}ac_space=\ *)
3632
      # `set' does not quote correctly, so add quotes (double-quote
3633
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3634
      sed -n \
3635
        "s/'/'\\\\''/g;
3636
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3637
      ;; #(
3638
    *)
3639
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3640
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3641
      ;;
3642
    esac |
3643
    sort
3644
) |
3645
  sed '
3646
     /^ac_cv_env_/b end
3647
     t clear
3648
     :clear
3649
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3650
     t end
3651
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3652
     :end' >>confcache
3653
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3654
  if test -w "$cache_file"; then
3655
    test "x$cache_file" != "x/dev/null" &&
3656
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3657
$as_echo "$as_me: updating cache $cache_file" >&6;}
3658
    cat confcache >$cache_file
3659
  else
3660
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3661
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3662
  fi
3663
fi
3664
rm -f confcache
3665
 
3666
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3667
# Let make expand exec_prefix.
3668
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3669
 
3670
# Transform confdefs.h into DEFS.
3671
# Protect against shell expansion while executing Makefile rules.
3672
# Protect against Makefile macro expansion.
3673
#
3674
# If the first sed substitution is executed (which looks for macros that
3675
# take arguments), then branch to the quote section.  Otherwise,
3676
# look for a macro that doesn't take arguments.
3677
ac_script='
3678
:mline
3679
/\\$/{
3680
 N
3681
 s,\\\n,,
3682
 b mline
3683
}
3684
t clear
3685
:clear
3686
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3687
t quote
3688
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3689
t quote
3690
b any
3691
:quote
3692
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3693
s/\[/\\&/g
3694
s/\]/\\&/g
3695
s/\$/$$/g
3696
H
3697
:any
3698
${
3699
        g
3700
        s/^\n//
3701
        s/\n/ /g
3702
        p
3703
}
3704
'
3705
DEFS=`sed -n "$ac_script" confdefs.h`
3706
 
3707
 
3708
ac_libobjs=
3709
ac_ltlibobjs=
3710
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3711
  # 1. Remove the extension, and $U if already installed.
3712
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3713
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3714
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3715
  #    will be set to the directory where LIBOBJS objects are built.
3716
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3717
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3718
done
3719
LIBOBJS=$ac_libobjs
3720
 
3721
LTLIBOBJS=$ac_ltlibobjs
3722
 
3723
 
3724
if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
3725
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3726
Usually this means the macro was only invoked conditionally." >&5
3727
$as_echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
3728
Usually this means the macro was only invoked conditionally." >&2;}
3729
   { (exit 1); exit 1; }; }
3730
fi
3731
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3732
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3733
Usually this means the macro was only invoked conditionally." >&5
3734
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
3735
Usually this means the macro was only invoked conditionally." >&2;}
3736
   { (exit 1); exit 1; }; }
3737
fi
3738
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3739
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3740
Usually this means the macro was only invoked conditionally." >&5
3741
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3742
Usually this means the macro was only invoked conditionally." >&2;}
3743
   { (exit 1); exit 1; }; }
3744
fi
3745
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3746
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3747
Usually this means the macro was only invoked conditionally." >&5
3748
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3749
Usually this means the macro was only invoked conditionally." >&2;}
3750
   { (exit 1); exit 1; }; }
3751
fi
3752
if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
3753
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
3754
Usually this means the macro was only invoked conditionally." >&5
3755
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
3756
Usually this means the macro was only invoked conditionally." >&2;}
3757
   { (exit 1); exit 1; }; }
3758
fi
3759
if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
3760
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
3761
Usually this means the macro was only invoked conditionally." >&5
3762
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
3763
Usually this means the macro was only invoked conditionally." >&2;}
3764
   { (exit 1); exit 1; }; }
3765
fi
3766
if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
3767
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
3768
Usually this means the macro was only invoked conditionally." >&5
3769
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
3770
Usually this means the macro was only invoked conditionally." >&2;}
3771
   { (exit 1); exit 1; }; }
3772
fi
3773
if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
3774
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
3775
Usually this means the macro was only invoked conditionally." >&5
3776
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
3777
Usually this means the macro was only invoked conditionally." >&2;}
3778
   { (exit 1); exit 1; }; }
3779
fi
3780
if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
3781
  { { $as_echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
3782
Usually this means the macro was only invoked conditionally." >&5
3783
$as_echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
3784
Usually this means the macro was only invoked conditionally." >&2;}
3785
   { (exit 1); exit 1; }; }
3786
fi
3787
if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
3788
  { { $as_echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
3789
Usually this means the macro was only invoked conditionally." >&5
3790
$as_echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
3791
Usually this means the macro was only invoked conditionally." >&2;}
3792
   { (exit 1); exit 1; }; }
3793
fi
3794
 
3795
: ${CONFIG_STATUS=./config.status}
3796
ac_write_fail=0
3797
ac_clean_files_save=$ac_clean_files
3798
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3799
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3800
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3801
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3802
#! $SHELL
3803
# Generated by $as_me.
3804
# Run this file to recreate the current configuration.
3805
# Compiler output produced by configure, useful for debugging
3806
# configure, is in config.log if it exists.
3807
 
3808
debug=false
3809
ac_cs_recheck=false
3810
ac_cs_silent=false
3811
SHELL=\${CONFIG_SHELL-$SHELL}
3812
_ACEOF
3813
 
3814
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3815
## --------------------- ##
3816
## M4sh Initialization.  ##
3817
## --------------------- ##
3818
 
3819
# Be more Bourne compatible
3820
DUALCASE=1; export DUALCASE # for MKS sh
3821
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3822
  emulate sh
3823
  NULLCMD=:
3824
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3825
  # is contrary to our usage.  Disable this feature.
3826
  alias -g '${1+"$@"}'='"$@"'
3827
  setopt NO_GLOB_SUBST
3828
else
3829
  case `(set -o) 2>/dev/null` in
3830
  *posix*) set -o posix ;;
3831
esac
3832
 
3833
fi
3834
 
3835
 
3836
 
3837
 
3838
# PATH needs CR
3839
# Avoid depending upon Character Ranges.
3840
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3841
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3842
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3843
as_cr_digits='0123456789'
3844
as_cr_alnum=$as_cr_Letters$as_cr_digits
3845
 
3846
as_nl='
3847
'
3848
export as_nl
3849
# Printing a long string crashes Solaris 7 /usr/bin/printf.
3850
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3851
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3852
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3853
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3854
  as_echo='printf %s\n'
3855
  as_echo_n='printf %s'
3856
else
3857
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3858
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3859
    as_echo_n='/usr/ucb/echo -n'
3860
  else
3861
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3862
    as_echo_n_body='eval
3863
      arg=$1;
3864
      case $arg in
3865
      *"$as_nl"*)
3866
        expr "X$arg" : "X\\(.*\\)$as_nl";
3867
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3868
      esac;
3869
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3870
    '
3871
    export as_echo_n_body
3872
    as_echo_n='sh -c $as_echo_n_body as_echo'
3873
  fi
3874
  export as_echo_body
3875
  as_echo='sh -c $as_echo_body as_echo'
3876
fi
3877
 
3878
# The user is always right.
3879
if test "${PATH_SEPARATOR+set}" != set; then
3880
  PATH_SEPARATOR=:
3881
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3882
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3883
      PATH_SEPARATOR=';'
3884
  }
3885
fi
3886
 
3887
# Support unset when possible.
3888
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3889
  as_unset=unset
3890
else
3891
  as_unset=false
3892
fi
3893
 
3894
 
3895
# IFS
3896
# We need space, tab and new line, in precisely that order.  Quoting is
3897
# there to prevent editors from complaining about space-tab.
3898
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3899
# splitting by setting IFS to empty value.)
3900
IFS=" ""        $as_nl"
3901
 
3902
# Find who we are.  Look in the path if we contain no directory separator.
3903
case $0 in
3904
  *[\\/]* ) as_myself=$0 ;;
3905
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906
for as_dir in $PATH
3907
do
3908
  IFS=$as_save_IFS
3909
  test -z "$as_dir" && as_dir=.
3910
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3911
done
3912
IFS=$as_save_IFS
3913
 
3914
     ;;
3915
esac
3916
# We did not find ourselves, most probably we were run as `sh COMMAND'
3917
# in which case we are not to be found in the path.
3918
if test "x$as_myself" = x; then
3919
  as_myself=$0
3920
fi
3921
if test ! -f "$as_myself"; then
3922
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3923
  { (exit 1); exit 1; }
3924
fi
3925
 
3926
# Work around bugs in pre-3.0 UWIN ksh.
3927
for as_var in ENV MAIL MAILPATH
3928
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3929
done
3930
PS1='$ '
3931
PS2='> '
3932
PS4='+ '
3933
 
3934
# NLS nuisances.
3935
LC_ALL=C
3936
export LC_ALL
3937
LANGUAGE=C
3938
export LANGUAGE
3939
 
3940
# Required to use basename.
3941
if expr a : '\(a\)' >/dev/null 2>&1 &&
3942
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3943
  as_expr=expr
3944
else
3945
  as_expr=false
3946
fi
3947
 
3948
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3949
  as_basename=basename
3950
else
3951
  as_basename=false
3952
fi
3953
 
3954
 
3955
# Name of the executable.
3956
as_me=`$as_basename -- "$0" ||
3957
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3958
         X"$0" : 'X\(//\)$' \| \
3959
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3960
$as_echo X/"$0" |
3961
    sed '/^.*\/\([^/][^/]*\)\/*$/{
3962
            s//\1/
3963
            q
3964
          }
3965
          /^X\/\(\/\/\)$/{
3966
            s//\1/
3967
            q
3968
          }
3969
          /^X\/\(\/\).*/{
3970
            s//\1/
3971
            q
3972
          }
3973
          s/.*/./; q'`
3974
 
3975
# CDPATH.
3976
$as_unset CDPATH
3977
 
3978
 
3979
 
3980
  as_lineno_1=$LINENO
3981
  as_lineno_2=$LINENO
3982
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3983
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3984
 
3985
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3986
  # uniformly replaced by the line number.  The first 'sed' inserts a
3987
  # line-number line after each line using $LINENO; the second 'sed'
3988
  # does the real work.  The second script uses 'N' to pair each
3989
  # line-number line with the line containing $LINENO, and appends
3990
  # trailing '-' during substitution so that $LINENO is not a special
3991
  # case at line end.
3992
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3993
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
3994
  # E. McMahon (1931-1989) for sed's syntax.  :-)
3995
  sed -n '
3996
    p
3997
    /[$]LINENO/=
3998
  ' <$as_myself |
3999
    sed '
4000
      s/[$]LINENO.*/&-/
4001
      t lineno
4002
      b
4003
      :lineno
4004
      N
4005
      :loop
4006
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4007
      t loop
4008
      s/-\n.*//
4009
    ' >$as_me.lineno &&
4010
  chmod +x "$as_me.lineno" ||
4011
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4012
   { (exit 1); exit 1; }; }
4013
 
4014
  # Don't try to exec as it changes $[0], causing all sort of problems
4015
  # (the dirname of $[0] is not the place where we might find the
4016
  # original and so on.  Autoconf is especially sensitive to this).
4017
  . "./$as_me.lineno"
4018
  # Exit status is that of the last command.
4019
  exit
4020
}
4021
 
4022
 
4023
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4024
  as_dirname=dirname
4025
else
4026
  as_dirname=false
4027
fi
4028
 
4029
ECHO_C= ECHO_N= ECHO_T=
4030
case `echo -n x` in
4031
-n*)
4032
  case `echo 'x\c'` in
4033
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4034
  *)   ECHO_C='\c';;
4035
  esac;;
4036
*)
4037
  ECHO_N='-n';;
4038
esac
4039
if expr a : '\(a\)' >/dev/null 2>&1 &&
4040
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4041
  as_expr=expr
4042
else
4043
  as_expr=false
4044
fi
4045
 
4046
rm -f conf$$ conf$$.exe conf$$.file
4047
if test -d conf$$.dir; then
4048
  rm -f conf$$.dir/conf$$.file
4049
else
4050
  rm -f conf$$.dir
4051
  mkdir conf$$.dir 2>/dev/null
4052
fi
4053
if (echo >conf$$.file) 2>/dev/null; then
4054
  if ln -s conf$$.file conf$$ 2>/dev/null; then
4055
    as_ln_s='ln -s'
4056
    # ... but there are two gotchas:
4057
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4058
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4059
    # In both cases, we have to default to `cp -p'.
4060
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4061
      as_ln_s='cp -p'
4062
  elif ln conf$$.file conf$$ 2>/dev/null; then
4063
    as_ln_s=ln
4064
  else
4065
    as_ln_s='cp -p'
4066
  fi
4067
else
4068
  as_ln_s='cp -p'
4069
fi
4070
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4071
rmdir conf$$.dir 2>/dev/null
4072
 
4073
if mkdir -p . 2>/dev/null; then
4074
  as_mkdir_p=:
4075
else
4076
  test -d ./-p && rmdir ./-p
4077
  as_mkdir_p=false
4078
fi
4079
 
4080
if test -x / >/dev/null 2>&1; then
4081
  as_test_x='test -x'
4082
else
4083
  if ls -dL / >/dev/null 2>&1; then
4084
    as_ls_L_option=L
4085
  else
4086
    as_ls_L_option=
4087
  fi
4088
  as_test_x='
4089
    eval sh -c '\''
4090
      if test -d "$1"; then
4091
        test -d "$1/.";
4092
      else
4093
        case $1 in
4094
        -*)set "./$1";;
4095
        esac;
4096
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4097
        ???[sx]*):;;*)false;;esac;fi
4098
    '\'' sh
4099
  '
4100
fi
4101
as_executable_p=$as_test_x
4102
 
4103
# Sed expression to map a string onto a valid CPP name.
4104
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4105
 
4106
# Sed expression to map a string onto a valid variable name.
4107
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4108
 
4109
 
4110
exec 6>&1
4111
 
4112
# Save the log message, to keep $[0] and so on meaningful, and to
4113
# report actual input values of CONFIG_FILES etc. instead of their
4114
# values after options handling.
4115
ac_log="
4116
This file was extended by newlib $as_me 1.18.0, which was
4117
generated by GNU Autoconf 2.63.  Invocation command line was
4118
 
4119
  CONFIG_FILES    = $CONFIG_FILES
4120
  CONFIG_HEADERS  = $CONFIG_HEADERS
4121
  CONFIG_LINKS    = $CONFIG_LINKS
4122
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4123
  $ $0 $@
4124
 
4125
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4126
"
4127
 
4128
_ACEOF
4129
 
4130
case $ac_config_files in *"
4131
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4132
esac
4133
 
4134
 
4135
 
4136
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4137
# Files that config.status was made for.
4138
config_files="$ac_config_files"
4139
config_commands="$ac_config_commands"
4140
 
4141
_ACEOF
4142
 
4143
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4144
ac_cs_usage="\
4145
\`$as_me' instantiates files from templates according to the
4146
current configuration.
4147
 
4148
Usage: $0 [OPTION]... [FILE]...
4149
 
4150
  -h, --help       print this help, then exit
4151
  -V, --version    print version number and configuration settings, then exit
4152
  -q, --quiet, --silent
4153
                   do not print progress messages
4154
  -d, --debug      don't remove temporary files
4155
      --recheck    update $as_me by reconfiguring in the same conditions
4156
      --file=FILE[:TEMPLATE]
4157
                   instantiate the configuration file FILE
4158
 
4159
Configuration files:
4160
$config_files
4161
 
4162
Configuration commands:
4163
$config_commands
4164
 
4165
Report bugs to ."
4166
 
4167
_ACEOF
4168
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4169
ac_cs_version="\\
4170
newlib config.status 1.18.0
4171
configured by $0, generated by GNU Autoconf 2.63,
4172
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4173
 
4174
Copyright (C) 2008 Free Software Foundation, Inc.
4175
This config.status script is free software; the Free Software Foundation
4176
gives unlimited permission to copy, distribute and modify it."
4177
 
4178
ac_pwd='$ac_pwd'
4179
srcdir='$srcdir'
4180
INSTALL='$INSTALL'
4181
AWK='$AWK'
4182
test -n "\$AWK" || AWK=awk
4183
_ACEOF
4184
 
4185
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4186
# The default lists apply if the user does not specify any file.
4187
ac_need_defaults=:
4188
while test $# != 0
4189
do
4190
  case $1 in
4191
  --*=*)
4192
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4193
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4194
    ac_shift=:
4195
    ;;
4196
  *)
4197
    ac_option=$1
4198
    ac_optarg=$2
4199
    ac_shift=shift
4200
    ;;
4201
  esac
4202
 
4203
  case $ac_option in
4204
  # Handling of the options.
4205
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4206
    ac_cs_recheck=: ;;
4207
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4208
    $as_echo "$ac_cs_version"; exit ;;
4209
  --debug | --debu | --deb | --de | --d | -d )
4210
    debug=: ;;
4211
  --file | --fil | --fi | --f )
4212
    $ac_shift
4213
    case $ac_optarg in
4214
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4215
    esac
4216
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4217
    ac_need_defaults=false;;
4218
  --he | --h |  --help | --hel | -h )
4219
    $as_echo "$ac_cs_usage"; exit ;;
4220
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4221
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4222
    ac_cs_silent=: ;;
4223
 
4224
  # This is an error.
4225
  -*) { $as_echo "$as_me: error: unrecognized option: $1
4226
Try \`$0 --help' for more information." >&2
4227
   { (exit 1); exit 1; }; } ;;
4228
 
4229
  *) ac_config_targets="$ac_config_targets $1"
4230
     ac_need_defaults=false ;;
4231
 
4232
  esac
4233
  shift
4234
done
4235
 
4236
ac_configure_extra_args=
4237
 
4238
if $ac_cs_silent; then
4239
  exec 6>/dev/null
4240
  ac_configure_extra_args="$ac_configure_extra_args --silent"
4241
fi
4242
 
4243
_ACEOF
4244
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4245
if \$ac_cs_recheck; then
4246
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4247
  shift
4248
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4249
  CONFIG_SHELL='$SHELL'
4250
  export CONFIG_SHELL
4251
  exec "\$@"
4252
fi
4253
 
4254
_ACEOF
4255
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4256
exec 5>>config.log
4257
{
4258
  echo
4259
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4260
## Running $as_me. ##
4261
_ASBOX
4262
  $as_echo "$ac_log"
4263
} >&5
4264
 
4265
_ACEOF
4266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4267
#
4268
# INIT-COMMANDS
4269
#
4270
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4271
 
4272
_ACEOF
4273
 
4274
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4275
 
4276
# Handling of arguments.
4277
for ac_config_target in $ac_config_targets
4278
do
4279
  case $ac_config_target in
4280
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4281
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4282
 
4283
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4284
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4285
   { (exit 1); exit 1; }; };;
4286
  esac
4287
done
4288
 
4289
 
4290
# If the user did not use the arguments to specify the items to instantiate,
4291
# then the envvar interface is used.  Set only those that are not.
4292
# We use the long form for the default assignment because of an extremely
4293
# bizarre bug on SunOS 4.1.3.
4294
if $ac_need_defaults; then
4295
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4296
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4297
fi
4298
 
4299
# Have a temporary directory for convenience.  Make it in the build tree
4300
# simply because there is no reason against having it here, and in addition,
4301
# creating and moving files from /tmp can sometimes cause problems.
4302
# Hook for its removal unless debugging.
4303
# Note that there is a small window in which the directory will not be cleaned:
4304
# after its creation but before its name has been assigned to `$tmp'.
4305
$debug ||
4306
{
4307
  tmp=
4308
  trap 'exit_status=$?
4309
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4310
' 0
4311
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4312
}
4313
# Create a (secure) tmp directory for tmp files.
4314
 
4315
{
4316
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4317
  test -n "$tmp" && test -d "$tmp"
4318
}  ||
4319
{
4320
  tmp=./conf$$-$RANDOM
4321
  (umask 077 && mkdir "$tmp")
4322
} ||
4323
{
4324
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
4325
   { (exit 1); exit 1; }
4326
}
4327
 
4328
# Set up the scripts for CONFIG_FILES section.
4329
# No need to generate them if there are no CONFIG_FILES.
4330
# This happens for instance with `./config.status config.h'.
4331
if test -n "$CONFIG_FILES"; then
4332
 
4333
 
4334
ac_cr='
'
4335
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
4336
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4337
  ac_cs_awk_cr='\\r'
4338
else
4339
  ac_cs_awk_cr=$ac_cr
4340
fi
4341
4342
 
4343
_ACEOF
4344
4345
 
4346
 
4347
  echo "cat >conf$$subs.awk <<_ACEOF" &&
4348
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4349
  echo "_ACEOF"
4350
} >conf$$subs.sh ||
4351
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4352
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4353
   { (exit 1); exit 1; }; }
4354
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4355
ac_delim='%!_!# '
4356
for ac_last_try in false false false false false :; do
4357
  . ./conf$$subs.sh ||
4358
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4359
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4360
   { (exit 1); exit 1; }; }
4361
4362
 
4363
  if test $ac_delim_n = $ac_delim_num; then
4364
    break
4365
  elif $ac_last_try; then
4366
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4367
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4368
   { (exit 1); exit 1; }; }
4369
  else
4370
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4371
  fi
4372
done
4373
rm -f conf$$subs.sh
4374
4375
 
4376
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4377
_ACEOF
4378
sed -n '
4379
h
4380
s/^/S["/; s/!.*/"]=/
4381
p
4382
g
4383
s/^[^!]*!//
4384
:repl
4385
t repl
4386
s/'"$ac_delim"'$//
4387
t delim
4388
:nl
4389
h
4390
s/\(.\{148\}\).*/\1/
4391
t more1
4392
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4393
p
4394
n
4395
b repl
4396
:more1
4397
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4398
p
4399
g
4400
s/.\{148\}//
4401
t nl
4402
:delim
4403
h
4404
s/\(.\{148\}\).*/\1/
4405
t more2
4406
s/["\\]/\\&/g; s/^/"/; s/$/"/
4407
p
4408
b
4409
:more2
4410
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4411
p
4412
g
4413
s/.\{148\}//
4414
t delim
4415
' 
4416
/^[^""]/{
4417
  N
4418
  s/\n//
4419
}
4420
' >>$CONFIG_STATUS || ac_write_fail=1
4421
rm -f conf$$subs.awk
4422
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4423
_ACAWK
4424
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4425
  for (key in S) S_is_set[key] = 1
4426
  FS = ""
4427
4428
 
4429
{
4430
  line = $ 0
4431
  nfields = split(line, field, "@")
4432
  substed = 0
4433
  len = length(field[1])
4434
  for (i = 2; i < nfields; i++) {
4435
    key = field[i]
4436
    keylen = length(key)
4437
    if (S_is_set[key]) {
4438
      value = S[key]
4439
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4440
      len += length(value) + length(field[++i])
4441
      substed = 1
4442
    } else
4443
      len += 1 + keylen
4444
  }
4445
4446
 
4447
}
4448
4449
 
4450
_ACEOF
4451
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4452
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4453
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4454
else
4455
  cat
4456
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4457
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4458
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4459
   { (exit 1); exit 1; }; }
4460
_ACEOF
4461
4462
 
4463
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4464
# trailing colons and then remove the whole line if VPATH becomes empty
4465
# (actually we leave an empty line to preserve line numbers).
4466
if test "x$srcdir" = x.; then
4467
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4468
s/:*\$(srcdir):*/:/
4469
s/:*\${srcdir}:*/:/
4470
s/:*@srcdir@:*/:/
4471
s/^\([^=]*=[     ]*\):*/\1/
4472
s/:*$//
4473
s/^[^=]*=[       ]*$//
4474
}'
4475
fi
4476
4477
 
4478
fi # test -n "$CONFIG_FILES"
4479
4480
 
4481
 
4482
shift
4483
for ac_tag
4484
do
4485
  case $ac_tag in
4486
  :[FHLC]) ac_mode=$ac_tag; continue;;
4487
  esac
4488
  case $ac_mode$ac_tag in
4489
  :[FHL]*:*);;
4490
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4491
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4492
   { (exit 1); exit 1; }; };;
4493
  :[FH]-) ac_tag=-:-;;
4494
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4495
  esac
4496
  ac_save_IFS=$IFS
4497
  IFS=:
4498
  set x $ac_tag
4499
  IFS=$ac_save_IFS
4500
  shift
4501
  ac_file=$1
4502
  shift
4503
4504
 
4505
  :L) ac_source=$1;;
4506
  :[FH])
4507
    ac_file_inputs=
4508
    for ac_f
4509
    do
4510
      case $ac_f in
4511
      -) ac_f="$tmp/stdin";;
4512
      *) # Look for the file first in the build tree, then in the source tree
4513
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4514
         # because $ac_f cannot contain `:'.
4515
         test -f "$ac_f" ||
4516
           case $ac_f in
4517
           [\\/$]*) false;;
4518
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4519
           esac ||
4520
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4521
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4522
   { (exit 1); exit 1; }; };;
4523
      esac
4524
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4525
      ac_file_inputs="$ac_file_inputs '$ac_f'"
4526
    done
4527
4528
 
4529
    # use $as_me), people would be surprised to read:
4530
    #    /* config.h.  Generated by config.status.  */
4531
    configure_input='Generated from '`
4532
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4533
        `' by configure.'
4534
    if test x"$ac_file" != x-; then
4535
      configure_input="$ac_file.  $configure_input"
4536
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4537
$as_echo "$as_me: creating $ac_file" >&6;}
4538
    fi
4539
    # Neutralize special characters interpreted by sed in replacement strings.
4540
    case $configure_input in #(
4541
    *\&* | *\|* | *\\* )
4542
       ac_sed_conf_input=`$as_echo "$configure_input" |
4543
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4544
    *) ac_sed_conf_input=$configure_input;;
4545
    esac
4546
4547
 
4548
    *:-:* | *:-) cat >"$tmp/stdin" \
4549
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4550
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4551
   { (exit 1); exit 1; }; } ;;
4552
    esac
4553
    ;;
4554
  esac
4555
4556
 
4557
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4558
         X"$ac_file" : 'X\(//\)[^/]' \| \
4559
         X"$ac_file" : 'X\(//\)$' \| \
4560
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4561
$as_echo X"$ac_file" |
4562
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4563
            s//\1/
4564
            q
4565
          }
4566
          /^X\(\/\/\)[^/].*/{
4567
            s//\1/
4568
            q
4569
          }
4570
          /^X\(\/\/\)$/{
4571
            s//\1/
4572
            q
4573
          }
4574
          /^X\(\/\).*/{
4575
            s//\1/
4576
            q
4577
          }
4578
          s/.*/./; q'`
4579
  { as_dir="$ac_dir"
4580
  case $as_dir in #(
4581
  -*) as_dir=./$as_dir;;
4582
  esac
4583
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4584
    as_dirs=
4585
    while :; do
4586
      case $as_dir in #(
4587
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4588
      *) as_qdir=$as_dir;;
4589
      esac
4590
      as_dirs="'$as_qdir' $as_dirs"
4591
      as_dir=`$as_dirname -- "$as_dir" ||
4592
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4593
         X"$as_dir" : 'X\(//\)[^/]' \| \
4594
         X"$as_dir" : 'X\(//\)$' \| \
4595
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4596
$as_echo X"$as_dir" |
4597
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4598
            s//\1/
4599
            q
4600
          }
4601
          /^X\(\/\/\)[^/].*/{
4602
            s//\1/
4603
            q
4604
          }
4605
          /^X\(\/\/\)$/{
4606
            s//\1/
4607
            q
4608
          }
4609
          /^X\(\/\).*/{
4610
            s//\1/
4611
            q
4612
          }
4613
          s/.*/./; q'`
4614
      test -d "$as_dir" && break
4615
    done
4616
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4617
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4618
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4619
   { (exit 1); exit 1; }; }; }
4620
  ac_builddir=.
4621
4622
 
4623
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4624
*)
4625
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4626
  # A ".." for each directory in $ac_dir_suffix.
4627
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4628
  case $ac_top_builddir_sub in
4629
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4630
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4631
  esac ;;
4632
esac
4633
ac_abs_top_builddir=$ac_pwd
4634
ac_abs_builddir=$ac_pwd$ac_dir_suffix
4635
# for backward compatibility:
4636
ac_top_builddir=$ac_top_build_prefix
4637
4638
 
4639
  .)  # We are building in place.
4640
    ac_srcdir=.
4641
    ac_top_srcdir=$ac_top_builddir_sub
4642
    ac_abs_top_srcdir=$ac_pwd ;;
4643
  [\\/]* | ?:[\\/]* )  # Absolute name.
4644
    ac_srcdir=$srcdir$ac_dir_suffix;
4645
    ac_top_srcdir=$srcdir
4646
    ac_abs_top_srcdir=$srcdir ;;
4647
  *) # Relative name.
4648
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4649
    ac_top_srcdir=$ac_top_build_prefix$srcdir
4650
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4651
esac
4652
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4653
4654
 
4655
 
4656
  :F)
4657
  #
4658
  # CONFIG_FILE
4659
  #
4660
4661
 
4662
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4663
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4664
  esac
4665
_ACEOF
4666
4667
 
4668
# If the template does not know about datarootdir, expand it.
4669
# FIXME: This hack should be removed a few years after 2.60.
4670
ac_datarootdir_hack=; ac_datarootdir_seen=
4671
4672
 
4673
/datarootdir/ {
4674
  p
4675
  q
4676
}
4677
/@datadir@/p
4678
/@docdir@/p
4679
/@infodir@/p
4680
/@localedir@/p
4681
/@mandir@/p
4682
'
4683
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4684
*datarootdir*) ac_datarootdir_seen=yes;;
4685
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4686
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4687
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4688
_ACEOF
4689
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4690
  ac_datarootdir_hack='
4691
  s&@datadir@&$datadir&g
4692
  s&@docdir@&$docdir&g
4693
  s&@infodir@&$infodir&g
4694
  s&@localedir@&$localedir&g
4695
  s&@mandir@&$mandir&g
4696
    s&\\\${datarootdir}&$datarootdir&g' ;;
4697
esac
4698
_ACEOF
4699
4700
 
4701
# Shell code in configure.ac might set extrasub.
4702
# FIXME: do we really want to maintain this feature?
4703
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4704
ac_sed_extra="$ac_vpsub
4705
$extrasub
4706
_ACEOF
4707
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4708
:t
4709
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4710
s|@configure_input@|$ac_sed_conf_input|;t t
4711
s&@top_builddir@&$ac_top_builddir_sub&;t t
4712
s&@top_build_prefix@&$ac_top_build_prefix&;t t
4713
s&@srcdir@&$ac_srcdir&;t t
4714
s&@abs_srcdir@&$ac_abs_srcdir&;t t
4715
s&@top_srcdir@&$ac_top_srcdir&;t t
4716
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4717
s&@builddir@&$ac_builddir&;t t
4718
s&@abs_builddir@&$ac_abs_builddir&;t t
4719
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4720
s&@INSTALL@&$ac_INSTALL&;t t
4721
$ac_datarootdir_hack
4722
"
4723
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4724
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4725
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4726
   { (exit 1); exit 1; }; }
4727
4728
 
4729
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4730
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4731
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4732
which seems to be undefined.  Please make sure it is defined." >&5
4733
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4734
which seems to be undefined.  Please make sure it is defined." >&2;}
4735
4736
 
4737
  case $ac_file in
4738
  -) cat "$tmp/out" && rm -f "$tmp/out";;
4739
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4740
  esac \
4741
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4742
$as_echo "$as_me: error: could not create $ac_file" >&2;}
4743
   { (exit 1); exit 1; }; }
4744
 ;;
4745
4746
 
4747
 
4748
$as_echo "$as_me: executing $ac_file commands" >&6;}
4749
 ;;
4750
  esac
4751
4752
 
4753
 
4754
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4755
  # Strip MF so we end up with the name of the file.
4756
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4757
  # Check whether this is an Automake generated Makefile or not.
4758
  # We used to match only the files named `Makefile.in', but
4759
  # some people rename them; so instead we look at the file content.
4760
  # Grep'ing the first line is not enough: some people post-process
4761
  # each Makefile.in and add a new line on top of each file to say so.
4762
  # So let's grep whole file.
4763
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4764
    dirpart=`$as_dirname -- "$mf" ||
4765
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4766
         X"$mf" : 'X\(//\)[^/]' \| \
4767
         X"$mf" : 'X\(//\)$' \| \
4768
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4769
$as_echo X"$mf" |
4770
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4771
            s//\1/
4772
            q
4773
          }
4774
          /^X\(\/\/\)[^/].*/{
4775
            s//\1/
4776
            q
4777
          }
4778
          /^X\(\/\/\)$/{
4779
            s//\1/
4780
            q
4781
          }
4782
          /^X\(\/\).*/{
4783
            s//\1/
4784
            q
4785
          }
4786
          s/.*/./; q'`
4787
  else
4788
    continue
4789
  fi
4790
  # Extract the definition of DEPDIR, am__include, and am__quote
4791
  # from the Makefile without running `make'.
4792
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4793
  test -z "$DEPDIR" && continue
4794
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4795
  test -z "am__include" && continue
4796
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4797
  # When using ansi2knr, U may be empty or an underscore; expand it
4798
  U=`sed -n 's/^U = //p' < "$mf"`
4799
  # Find all dependency output files, they are included files with
4800
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4801
  # simplest approach to changing $(DEPDIR) to its actual value in the
4802
  # expansion.
4803
  for file in `sed -n "
4804
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4805
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4806
    # Make sure the directory exists.
4807
    test -f "$dirpart/$file" && continue
4808
    fdir=`$as_dirname -- "$file" ||
4809
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4810
         X"$file" : 'X\(//\)[^/]' \| \
4811
         X"$file" : 'X\(//\)$' \| \
4812
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4813
$as_echo X"$file" |
4814
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4815
            s//\1/
4816
            q
4817
          }
4818
          /^X\(\/\/\)[^/].*/{
4819
            s//\1/
4820
            q
4821
          }
4822
          /^X\(\/\/\)$/{
4823
            s//\1/
4824
            q
4825
          }
4826
          /^X\(\/\).*/{
4827
            s//\1/
4828
            q
4829
          }
4830
          s/.*/./; q'`
4831
    { as_dir=$dirpart/$fdir
4832
  case $as_dir in #(
4833
  -*) as_dir=./$as_dir;;
4834
  esac
4835
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4836
    as_dirs=
4837
    while :; do
4838
      case $as_dir in #(
4839
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4840
      *) as_qdir=$as_dir;;
4841
      esac
4842
      as_dirs="'$as_qdir' $as_dirs"
4843
      as_dir=`$as_dirname -- "$as_dir" ||
4844
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4845
         X"$as_dir" : 'X\(//\)[^/]' \| \
4846
         X"$as_dir" : 'X\(//\)$' \| \
4847
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4848
$as_echo X"$as_dir" |
4849
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4850
            s//\1/
4851
            q
4852
          }
4853
          /^X\(\/\/\)[^/].*/{
4854
            s//\1/
4855
            q
4856
          }
4857
          /^X\(\/\/\)$/{
4858
            s//\1/
4859
            q
4860
          }
4861
          /^X\(\/\).*/{
4862
            s//\1/
4863
            q
4864
          }
4865
          s/.*/./; q'`
4866
      test -d "$as_dir" && break
4867
    done
4868
    test -z "$as_dirs" || eval "mkdir $as_dirs"
4869
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4870
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4871
   { (exit 1); exit 1; }; }; }
4872
    # echo "creating $dirpart/$file"
4873
    echo '# dummy' > "$dirpart/$file"
4874
  done
4875
done
4876
 ;;
4877
4878
 
4879
done # for ac_tag
4880
4881
 
4882
 
4883
_ACEOF
4884
chmod +x $CONFIG_STATUS
4885
ac_clean_files=$ac_clean_files_save
4886
4887
 
4888
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4889
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4890
   { (exit 1); exit 1; }; }
4891
4892
 
4893
 
4894
# config.status does its own redirection, appending to config.log.
4895
# Unfortunately, on DOS this fails, as config.log is still kept open
4896
# by configure, so config.status won't be able to write to it; its
4897
# output is simply discarded.  So we exec the FD to /dev/null,
4898
# effectively closing config.log, so it can be properly (re)opened and
4899
# appended to by config.status.  When coming back to configure, we
4900
# need to make the FD available again.
4901
if test "$no_create" != yes; then
4902
  ac_cs_success=:
4903
  ac_config_status_args=
4904
  test "$silent" = yes &&
4905
    ac_config_status_args="$ac_config_status_args --quiet"
4906
  exec 5>/dev/null
4907
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4908
  exec 5>>config.log
4909
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4910
  # would make configure fail if this is the last instruction.
4911
  $ac_cs_success || { (exit 1); exit 1; }
4912
fi
4913
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4914
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4915
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4916
fi
4917
4918
 

powered by: WebSVN 2.1.0

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