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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [rx/] [configure] - Blame information for rev 258

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.
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=
596
PACKAGE_TARNAME=
597
PACKAGE_VERSION=
598
PACKAGE_STRING=
599
PACKAGE_BUGREPORT=
600
 
601
ac_unique_file="crt0.S"
602
ac_subst_vars='LTLIBOBJS
603
LIBOBJS
604
host_makefile_frag_path
605
CCASFLAGS
606
CCAS
607
RANLIB
608
LD
609
AR
610
AS
611
am__fastdepCC_FALSE
612
am__fastdepCC_TRUE
613
CCDEPMODE
614
AMDEPBACKSLASH
615
AMDEP_FALSE
616
AMDEP_TRUE
617
am__quote
618
am__include
619
DEPDIR
620
am__leading_dot
621
CC
622
INSTALL_DATA
623
INSTALL_SCRIPT
624
INSTALL_PROGRAM
625
target_os
626
target_vendor
627
target_cpu
628
target
629
host_os
630
host_vendor
631
host_cpu
632
host
633
build_os
634
build_vendor
635
build_cpu
636
build
637
target_alias
638
host_alias
639
build_alias
640
LIBS
641
ECHO_T
642
ECHO_N
643
ECHO_C
644
DEFS
645
mandir
646
localedir
647
libdir
648
psdir
649
pdfdir
650
dvidir
651
htmldir
652
infodir
653
docdir
654
oldincludedir
655
includedir
656
localstatedir
657
sharedstatedir
658
sysconfdir
659
datadir
660
datarootdir
661
libexecdir
662
sbindir
663
bindir
664
program_transform_name
665
prefix
666
exec_prefix
667
PACKAGE_BUGREPORT
668
PACKAGE_STRING
669
PACKAGE_VERSION
670
PACKAGE_TARNAME
671
PACKAGE_NAME
672
PATH_SEPARATOR
673
SHELL'
674
ac_subst_files='host_makefile_frag'
675
ac_user_opts='
676
enable_option_checking
677
enable_dependency_tracking
678
'
679
      ac_precious_vars='build_alias
680
host_alias
681
target_alias
682
CCAS
683
CCASFLAGS'
684
 
685
 
686
# Initialize some variables set by options.
687
ac_init_help=
688
ac_init_version=false
689
ac_unrecognized_opts=
690
ac_unrecognized_sep=
691
# The variables have the same names as the options, with
692
# dashes changed to underlines.
693
cache_file=/dev/null
694
exec_prefix=NONE
695
no_create=
696
no_recursion=
697
prefix=NONE
698
program_prefix=NONE
699
program_suffix=NONE
700
program_transform_name=s,x,x,
701
silent=
702
site=
703
srcdir=
704
verbose=
705
x_includes=NONE
706
x_libraries=NONE
707
 
708
# Installation directory options.
709
# These are left unexpanded so users can "make install exec_prefix=/foo"
710
# and all the variables that are supposed to be based on exec_prefix
711
# by default will actually change.
712
# Use braces instead of parens because sh, perl, etc. also accept them.
713
# (The list follows the same order as the GNU Coding Standards.)
714
bindir='${exec_prefix}/bin'
715
sbindir='${exec_prefix}/sbin'
716
libexecdir='${exec_prefix}/libexec'
717
datarootdir='${prefix}/share'
718
datadir='${datarootdir}'
719
sysconfdir='${prefix}/etc'
720
sharedstatedir='${prefix}/com'
721
localstatedir='${prefix}/var'
722
includedir='${prefix}/include'
723
oldincludedir='/usr/include'
724
docdir='${datarootdir}/doc/${PACKAGE}'
725
infodir='${datarootdir}/info'
726
htmldir='${docdir}'
727
dvidir='${docdir}'
728
pdfdir='${docdir}'
729
psdir='${docdir}'
730
libdir='${exec_prefix}/lib'
731
localedir='${datarootdir}/locale'
732
mandir='${datarootdir}/man'
733
 
734
ac_prev=
735
ac_dashdash=
736
for ac_option
737
do
738
  # If the previous option needs an argument, assign it.
739
  if test -n "$ac_prev"; then
740
    eval $ac_prev=\$ac_option
741
    ac_prev=
742
    continue
743
  fi
744
 
745
  case $ac_option in
746
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747
  *)    ac_optarg=yes ;;
748
  esac
749
 
750
  # Accept the important Cygnus configure options, so we can diagnose typos.
751
 
752
  case $ac_dashdash$ac_option in
753
  --)
754
    ac_dashdash=yes ;;
755
 
756
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
757
    ac_prev=bindir ;;
758
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759
    bindir=$ac_optarg ;;
760
 
761
  -build | --build | --buil | --bui | --bu)
762
    ac_prev=build_alias ;;
763
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764
    build_alias=$ac_optarg ;;
765
 
766
  -cache-file | --cache-file | --cache-fil | --cache-fi \
767
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768
    ac_prev=cache_file ;;
769
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771
    cache_file=$ac_optarg ;;
772
 
773
  --config-cache | -C)
774
    cache_file=config.cache ;;
775
 
776
  -datadir | --datadir | --datadi | --datad)
777
    ac_prev=datadir ;;
778
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
779
    datadir=$ac_optarg ;;
780
 
781
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782
  | --dataroo | --dataro | --datar)
783
    ac_prev=datarootdir ;;
784
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786
    datarootdir=$ac_optarg ;;
787
 
788
  -disable-* | --disable-*)
789
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790
    # Reject names that are not valid shell variable names.
791
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
793
   { (exit 1); exit 1; }; }
794
    ac_useropt_orig=$ac_useropt
795
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796
    case $ac_user_opts in
797
      *"
798
"enable_$ac_useropt"
799
"*) ;;
800
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801
         ac_unrecognized_sep=', ';;
802
    esac
803
    eval enable_$ac_useropt=no ;;
804
 
805
  -docdir | --docdir | --docdi | --doc | --do)
806
    ac_prev=docdir ;;
807
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808
    docdir=$ac_optarg ;;
809
 
810
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811
    ac_prev=dvidir ;;
812
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813
    dvidir=$ac_optarg ;;
814
 
815
  -enable-* | --enable-*)
816
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817
    # Reject names that are not valid shell variable names.
818
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
820
   { (exit 1); exit 1; }; }
821
    ac_useropt_orig=$ac_useropt
822
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823
    case $ac_user_opts in
824
      *"
825
"enable_$ac_useropt"
826
"*) ;;
827
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828
         ac_unrecognized_sep=', ';;
829
    esac
830
    eval enable_$ac_useropt=\$ac_optarg ;;
831
 
832
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
833
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
834
  | --exec | --exe | --ex)
835
    ac_prev=exec_prefix ;;
836
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
837
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
838
  | --exec=* | --exe=* | --ex=*)
839
    exec_prefix=$ac_optarg ;;
840
 
841
  -gas | --gas | --ga | --g)
842
    # Obsolete; use --with-gas.
843
    with_gas=yes ;;
844
 
845
  -help | --help | --hel | --he | -h)
846
    ac_init_help=long ;;
847
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
848
    ac_init_help=recursive ;;
849
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
850
    ac_init_help=short ;;
851
 
852
  -host | --host | --hos | --ho)
853
    ac_prev=host_alias ;;
854
  -host=* | --host=* | --hos=* | --ho=*)
855
    host_alias=$ac_optarg ;;
856
 
857
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
858
    ac_prev=htmldir ;;
859
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
860
  | --ht=*)
861
    htmldir=$ac_optarg ;;
862
 
863
  -includedir | --includedir | --includedi | --included | --include \
864
  | --includ | --inclu | --incl | --inc)
865
    ac_prev=includedir ;;
866
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
867
  | --includ=* | --inclu=* | --incl=* | --inc=*)
868
    includedir=$ac_optarg ;;
869
 
870
  -infodir | --infodir | --infodi | --infod | --info | --inf)
871
    ac_prev=infodir ;;
872
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
873
    infodir=$ac_optarg ;;
874
 
875
  -libdir | --libdir | --libdi | --libd)
876
    ac_prev=libdir ;;
877
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
878
    libdir=$ac_optarg ;;
879
 
880
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
881
  | --libexe | --libex | --libe)
882
    ac_prev=libexecdir ;;
883
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
884
  | --libexe=* | --libex=* | --libe=*)
885
    libexecdir=$ac_optarg ;;
886
 
887
  -localedir | --localedir | --localedi | --localed | --locale)
888
    ac_prev=localedir ;;
889
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
890
    localedir=$ac_optarg ;;
891
 
892
  -localstatedir | --localstatedir | --localstatedi | --localstated \
893
  | --localstate | --localstat | --localsta | --localst | --locals)
894
    ac_prev=localstatedir ;;
895
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
896
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
897
    localstatedir=$ac_optarg ;;
898
 
899
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
900
    ac_prev=mandir ;;
901
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
902
    mandir=$ac_optarg ;;
903
 
904
  -nfp | --nfp | --nf)
905
    # Obsolete; use --without-fp.
906
    with_fp=no ;;
907
 
908
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
909
  | --no-cr | --no-c | -n)
910
    no_create=yes ;;
911
 
912
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
913
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914
    no_recursion=yes ;;
915
 
916
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
917
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
918
  | --oldin | --oldi | --old | --ol | --o)
919
    ac_prev=oldincludedir ;;
920
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
921
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
922
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
923
    oldincludedir=$ac_optarg ;;
924
 
925
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
926
    ac_prev=prefix ;;
927
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
928
    prefix=$ac_optarg ;;
929
 
930
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
931
  | --program-pre | --program-pr | --program-p)
932
    ac_prev=program_prefix ;;
933
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
934
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
935
    program_prefix=$ac_optarg ;;
936
 
937
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
938
  | --program-suf | --program-su | --program-s)
939
    ac_prev=program_suffix ;;
940
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
941
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
942
    program_suffix=$ac_optarg ;;
943
 
944
  -program-transform-name | --program-transform-name \
945
  | --program-transform-nam | --program-transform-na \
946
  | --program-transform-n | --program-transform- \
947
  | --program-transform | --program-transfor \
948
  | --program-transfo | --program-transf \
949
  | --program-trans | --program-tran \
950
  | --progr-tra | --program-tr | --program-t)
951
    ac_prev=program_transform_name ;;
952
  -program-transform-name=* | --program-transform-name=* \
953
  | --program-transform-nam=* | --program-transform-na=* \
954
  | --program-transform-n=* | --program-transform-=* \
955
  | --program-transform=* | --program-transfor=* \
956
  | --program-transfo=* | --program-transf=* \
957
  | --program-trans=* | --program-tran=* \
958
  | --progr-tra=* | --program-tr=* | --program-t=*)
959
    program_transform_name=$ac_optarg ;;
960
 
961
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
962
    ac_prev=pdfdir ;;
963
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
964
    pdfdir=$ac_optarg ;;
965
 
966
  -psdir | --psdir | --psdi | --psd | --ps)
967
    ac_prev=psdir ;;
968
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
969
    psdir=$ac_optarg ;;
970
 
971
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
972
  | -silent | --silent | --silen | --sile | --sil)
973
    silent=yes ;;
974
 
975
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
976
    ac_prev=sbindir ;;
977
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
978
  | --sbi=* | --sb=*)
979
    sbindir=$ac_optarg ;;
980
 
981
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
982
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
983
  | --sharedst | --shareds | --shared | --share | --shar \
984
  | --sha | --sh)
985
    ac_prev=sharedstatedir ;;
986
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
987
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
988
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
989
  | --sha=* | --sh=*)
990
    sharedstatedir=$ac_optarg ;;
991
 
992
  -site | --site | --sit)
993
    ac_prev=site ;;
994
  -site=* | --site=* | --sit=*)
995
    site=$ac_optarg ;;
996
 
997
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
998
    ac_prev=srcdir ;;
999
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1000
    srcdir=$ac_optarg ;;
1001
 
1002
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1003
  | --syscon | --sysco | --sysc | --sys | --sy)
1004
    ac_prev=sysconfdir ;;
1005
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1006
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1007
    sysconfdir=$ac_optarg ;;
1008
 
1009
  -target | --target | --targe | --targ | --tar | --ta | --t)
1010
    ac_prev=target_alias ;;
1011
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1012
    target_alias=$ac_optarg ;;
1013
 
1014
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1015
    verbose=yes ;;
1016
 
1017
  -version | --version | --versio | --versi | --vers | -V)
1018
    ac_init_version=: ;;
1019
 
1020
  -with-* | --with-*)
1021
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022
    # Reject names that are not valid shell variable names.
1023
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1025
   { (exit 1); exit 1; }; }
1026
    ac_useropt_orig=$ac_useropt
1027
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028
    case $ac_user_opts in
1029
      *"
1030
"with_$ac_useropt"
1031
"*) ;;
1032
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033
         ac_unrecognized_sep=', ';;
1034
    esac
1035
    eval with_$ac_useropt=\$ac_optarg ;;
1036
 
1037
  -without-* | --without-*)
1038
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039
    # Reject names that are not valid shell variable names.
1040
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1042
   { (exit 1); exit 1; }; }
1043
    ac_useropt_orig=$ac_useropt
1044
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045
    case $ac_user_opts in
1046
      *"
1047
"with_$ac_useropt"
1048
"*) ;;
1049
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050
         ac_unrecognized_sep=', ';;
1051
    esac
1052
    eval with_$ac_useropt=no ;;
1053
 
1054
  --x)
1055
    # Obsolete; use --with-x.
1056
    with_x=yes ;;
1057
 
1058
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059
  | --x-incl | --x-inc | --x-in | --x-i)
1060
    ac_prev=x_includes ;;
1061
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063
    x_includes=$ac_optarg ;;
1064
 
1065
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067
    ac_prev=x_libraries ;;
1068
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070
    x_libraries=$ac_optarg ;;
1071
 
1072
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1073
Try \`$0 --help' for more information." >&2
1074
   { (exit 1); exit 1; }; }
1075
    ;;
1076
 
1077
  *=*)
1078
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079
    # Reject names that are not valid shell variable names.
1080
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1081
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1082
   { (exit 1); exit 1; }; }
1083
    eval $ac_envvar=\$ac_optarg
1084
    export $ac_envvar ;;
1085
 
1086
  *)
1087
    # FIXME: should be removed in autoconf 3.0.
1088
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092
    ;;
1093
 
1094
  esac
1095
done
1096
 
1097
if test -n "$ac_prev"; then
1098
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1100
   { (exit 1); exit 1; }; }
1101
fi
1102
 
1103
if test -n "$ac_unrecognized_opts"; then
1104
  case $enable_option_checking in
1105
    no) ;;
1106
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1107
   { (exit 1); exit 1; }; } ;;
1108
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1109
  esac
1110
fi
1111
 
1112
# Check all directory arguments for consistency.
1113
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114
                datadir sysconfdir sharedstatedir localstatedir includedir \
1115
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116
                libdir localedir mandir
1117
do
1118
  eval ac_val=\$$ac_var
1119
  # Remove trailing slashes.
1120
  case $ac_val in
1121
    */ )
1122
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1123
      eval $ac_var=\$ac_val;;
1124
  esac
1125
  # Be sure to have absolute directory names.
1126
  case $ac_val in
1127
    [\\/$]* | ?:[\\/]* )  continue;;
1128
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129
  esac
1130
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1131
   { (exit 1); exit 1; }; }
1132
done
1133
 
1134
# There might be people who depend on the old broken behavior: `$host'
1135
# used to hold the argument of --host etc.
1136
# FIXME: To remove some day.
1137
build=$build_alias
1138
host=$host_alias
1139
target=$target_alias
1140
 
1141
# FIXME: To remove some day.
1142
if test "x$host_alias" != x; then
1143
  if test "x$build_alias" = x; then
1144
    cross_compiling=maybe
1145
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146
    If a cross compiler is detected then cross compile mode will be used." >&2
1147
  elif test "x$build_alias" != "x$host_alias"; then
1148
    cross_compiling=yes
1149
  fi
1150
fi
1151
 
1152
ac_tool_prefix=
1153
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154
 
1155
test "$silent" = yes && exec 6>/dev/null
1156
 
1157
 
1158
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1159
ac_ls_di=`ls -di .` &&
1160
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1161
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1162
   { (exit 1); exit 1; }; }
1163
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1165
   { (exit 1); exit 1; }; }
1166
 
1167
 
1168
# Find the source files, if location was not specified.
1169
if test -z "$srcdir"; then
1170
  ac_srcdir_defaulted=yes
1171
  # Try the directory containing this script, then the parent directory.
1172
  ac_confdir=`$as_dirname -- "$as_myself" ||
1173
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174
         X"$as_myself" : 'X\(//\)[^/]' \| \
1175
         X"$as_myself" : 'X\(//\)$' \| \
1176
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1177
$as_echo X"$as_myself" |
1178
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179
            s//\1/
1180
            q
1181
          }
1182
          /^X\(\/\/\)[^/].*/{
1183
            s//\1/
1184
            q
1185
          }
1186
          /^X\(\/\/\)$/{
1187
            s//\1/
1188
            q
1189
          }
1190
          /^X\(\/\).*/{
1191
            s//\1/
1192
            q
1193
          }
1194
          s/.*/./; q'`
1195
  srcdir=$ac_confdir
1196
  if test ! -r "$srcdir/$ac_unique_file"; then
1197
    srcdir=..
1198
  fi
1199
else
1200
  ac_srcdir_defaulted=no
1201
fi
1202
if test ! -r "$srcdir/$ac_unique_file"; then
1203
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1204
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1205
   { (exit 1); exit 1; }; }
1206
fi
1207
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208
ac_abs_confdir=`(
1209
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1210
   { (exit 1); exit 1; }; }
1211
        pwd)`
1212
# When building in place, set srcdir=.
1213
if test "$ac_abs_confdir" = "$ac_pwd"; then
1214
  srcdir=.
1215
fi
1216
# Remove unnecessary trailing slashes from srcdir.
1217
# Double slashes in file names in object file debugging info
1218
# mess up M-x gdb in Emacs.
1219
case $srcdir in
1220
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221
esac
1222
for ac_var in $ac_precious_vars; do
1223
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224
  eval ac_env_${ac_var}_value=\$${ac_var}
1225
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227
done
1228
 
1229
#
1230
# Report the --help message.
1231
#
1232
if test "$ac_init_help" = "long"; then
1233
  # Omit some internal or obsolete options to make the list less imposing.
1234
  # This message is too long to be a string in the A/UX 3.1 sh.
1235
  cat <<_ACEOF
1236
\`configure' configures this package to adapt to many kinds of systems.
1237
 
1238
Usage: $0 [OPTION]... [VAR=VALUE]...
1239
 
1240
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241
VAR=VALUE.  See below for descriptions of some of the useful variables.
1242
 
1243
Defaults for the options are specified in brackets.
1244
 
1245
Configuration:
1246
  -h, --help              display this help and exit
1247
      --help=short        display options specific to this package
1248
      --help=recursive    display the short help of all the included packages
1249
  -V, --version           display version information and exit
1250
  -q, --quiet, --silent   do not print \`checking...' messages
1251
      --cache-file=FILE   cache test results in FILE [disabled]
1252
  -C, --config-cache      alias for \`--cache-file=config.cache'
1253
  -n, --no-create         do not create output files
1254
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1255
 
1256
Installation directories:
1257
  --prefix=PREFIX         install architecture-independent files in PREFIX
1258
                          [$ac_default_prefix]
1259
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1260
                          [PREFIX]
1261
 
1262
By default, \`make install' will install all the files in
1263
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1264
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265
for instance \`--prefix=\$HOME'.
1266
 
1267
For better control, use the options below.
1268
 
1269
Fine tuning of the installation directories:
1270
  --bindir=DIR            user executables [EPREFIX/bin]
1271
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1272
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1273
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1274
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1275
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1276
  --libdir=DIR            object code libraries [EPREFIX/lib]
1277
  --includedir=DIR        C header files [PREFIX/include]
1278
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1279
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1280
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1281
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1282
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1283
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1284
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1285
  --htmldir=DIR           html documentation [DOCDIR]
1286
  --dvidir=DIR            dvi documentation [DOCDIR]
1287
  --pdfdir=DIR            pdf documentation [DOCDIR]
1288
  --psdir=DIR             ps documentation [DOCDIR]
1289
_ACEOF
1290
 
1291
  cat <<\_ACEOF
1292
 
1293
Program names:
1294
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1295
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1296
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1297
 
1298
System types:
1299
  --build=BUILD     configure for building on BUILD [guessed]
1300
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1301
  --target=TARGET   configure for building compilers for TARGET [HOST]
1302
_ACEOF
1303
fi
1304
 
1305
if test -n "$ac_init_help"; then
1306
 
1307
  cat <<\_ACEOF
1308
 
1309
Optional Features:
1310
  --disable-option-checking  ignore unrecognized --enable/--with options
1311
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1312
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1313
  --disable-dependency-tracking  speeds up one-time build
1314
  --enable-dependency-tracking   do not reject slow dependency extractors
1315
 
1316
Some influential environment variables:
1317
  CCAS        assembler compiler command (defaults to CC)
1318
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1319
 
1320
Use these variables to override the choices made by `configure' or to help
1321
it to find libraries and programs with nonstandard names/locations.
1322
 
1323
_ACEOF
1324
ac_status=$?
1325
fi
1326
 
1327
if test "$ac_init_help" = "recursive"; then
1328
  # If there are subdirs, report their specific --help.
1329
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330
    test -d "$ac_dir" ||
1331
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332
      continue
1333
    ac_builddir=.
1334
 
1335
case "$ac_dir" in
1336
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337
*)
1338
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339
  # A ".." for each directory in $ac_dir_suffix.
1340
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341
  case $ac_top_builddir_sub in
1342
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344
  esac ;;
1345
esac
1346
ac_abs_top_builddir=$ac_pwd
1347
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348
# for backward compatibility:
1349
ac_top_builddir=$ac_top_build_prefix
1350
 
1351
case $srcdir in
1352
  .)  # We are building in place.
1353
    ac_srcdir=.
1354
    ac_top_srcdir=$ac_top_builddir_sub
1355
    ac_abs_top_srcdir=$ac_pwd ;;
1356
  [\\/]* | ?:[\\/]* )  # Absolute name.
1357
    ac_srcdir=$srcdir$ac_dir_suffix;
1358
    ac_top_srcdir=$srcdir
1359
    ac_abs_top_srcdir=$srcdir ;;
1360
  *) # Relative name.
1361
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1363
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364
esac
1365
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366
 
1367
    cd "$ac_dir" || { ac_status=$?; continue; }
1368
    # Check for guested configure.
1369
    if test -f "$ac_srcdir/configure.gnu"; then
1370
      echo &&
1371
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372
    elif test -f "$ac_srcdir/configure"; then
1373
      echo &&
1374
      $SHELL "$ac_srcdir/configure" --help=recursive
1375
    else
1376
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377
    fi || ac_status=$?
1378
    cd "$ac_pwd" || { ac_status=$?; break; }
1379
  done
1380
fi
1381
 
1382
test -n "$ac_init_help" && exit $ac_status
1383
if $ac_init_version; then
1384
  cat <<\_ACEOF
1385
configure
1386
generated by GNU Autoconf 2.63
1387
 
1388
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1389
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1390
This configure script is free software; the Free Software Foundation
1391
gives unlimited permission to copy, distribute and modify it.
1392
_ACEOF
1393
  exit
1394
fi
1395
cat >config.log <<_ACEOF
1396
This file contains any messages produced by compilers while
1397
running configure, to aid debugging if configure makes a mistake.
1398
 
1399
It was created by $as_me, which was
1400
generated by GNU Autoconf 2.63.  Invocation command line was
1401
 
1402
  $ $0 $@
1403
 
1404
_ACEOF
1405
exec 5>>config.log
1406
{
1407
cat <<_ASUNAME
1408
## --------- ##
1409
## Platform. ##
1410
## --------- ##
1411
 
1412
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417
 
1418
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1420
 
1421
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1422
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1423
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1425
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1426
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1427
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1428
 
1429
_ASUNAME
1430
 
1431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432
for as_dir in $PATH
1433
do
1434
  IFS=$as_save_IFS
1435
  test -z "$as_dir" && as_dir=.
1436
  $as_echo "PATH: $as_dir"
1437
done
1438
IFS=$as_save_IFS
1439
 
1440
} >&5
1441
 
1442
cat >&5 <<_ACEOF
1443
 
1444
 
1445
## ----------- ##
1446
## Core tests. ##
1447
## ----------- ##
1448
 
1449
_ACEOF
1450
 
1451
 
1452
# Keep a trace of the command line.
1453
# Strip out --no-create and --no-recursion so they do not pile up.
1454
# Strip out --silent because we don't want to record it for future runs.
1455
# Also quote any args containing shell meta-characters.
1456
# Make two passes to allow for proper duplicate-argument suppression.
1457
ac_configure_args=
1458
ac_configure_args0=
1459
ac_configure_args1=
1460
ac_must_keep_next=false
1461
for ac_pass in 1 2
1462
do
1463
  for ac_arg
1464
  do
1465
    case $ac_arg in
1466
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468
    | -silent | --silent | --silen | --sile | --sil)
1469
      continue ;;
1470
    *\'*)
1471
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472
    esac
1473
    case $ac_pass in
1474
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475
    2)
1476
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477
      if test $ac_must_keep_next = true; then
1478
        ac_must_keep_next=false # Got value, back to normal.
1479
      else
1480
        case $ac_arg in
1481
          *=* | --config-cache | -C | -disable-* | --disable-* \
1482
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484
          | -with-* | --with-* | -without-* | --without-* | --x)
1485
            case "$ac_configure_args0 " in
1486
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487
            esac
1488
            ;;
1489
          -* ) ac_must_keep_next=true ;;
1490
        esac
1491
      fi
1492
      ac_configure_args="$ac_configure_args '$ac_arg'"
1493
      ;;
1494
    esac
1495
  done
1496
done
1497
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499
 
1500
# When interrupted or exit'd, cleanup temporary files, and complete
1501
# config.log.  We remove comments because anyway the quotes in there
1502
# would cause problems or look ugly.
1503
# WARNING: Use '\'' to represent an apostrophe within the trap.
1504
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505
trap 'exit_status=$?
1506
  # Save into config.log some information that might help in debugging.
1507
  {
1508
    echo
1509
 
1510
    cat <<\_ASBOX
1511
## ---------------- ##
1512
## Cache variables. ##
1513
## ---------------- ##
1514
_ASBOX
1515
    echo
1516
    # The following way of writing the cache mishandles newlines in values,
1517
(
1518
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519
    eval ac_val=\$$ac_var
1520
    case $ac_val in #(
1521
    *${as_nl}*)
1522
      case $ac_var in #(
1523
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1524
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1525
      esac
1526
      case $ac_var in #(
1527
      _ | IFS | as_nl) ;; #(
1528
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1529
      *) $as_unset $ac_var ;;
1530
      esac ;;
1531
    esac
1532
  done
1533
  (set) 2>&1 |
1534
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1535
    *${as_nl}ac_space=\ *)
1536
      sed -n \
1537
        "s/'\''/'\''\\\\'\'''\''/g;
1538
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539
      ;; #(
1540
    *)
1541
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1542
      ;;
1543
    esac |
1544
    sort
1545
)
1546
    echo
1547
 
1548
    cat <<\_ASBOX
1549
## ----------------- ##
1550
## Output variables. ##
1551
## ----------------- ##
1552
_ASBOX
1553
    echo
1554
    for ac_var in $ac_subst_vars
1555
    do
1556
      eval ac_val=\$$ac_var
1557
      case $ac_val in
1558
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559
      esac
1560
      $as_echo "$ac_var='\''$ac_val'\''"
1561
    done | sort
1562
    echo
1563
 
1564
    if test -n "$ac_subst_files"; then
1565
      cat <<\_ASBOX
1566
## ------------------- ##
1567
## File substitutions. ##
1568
## ------------------- ##
1569
_ASBOX
1570
      echo
1571
      for ac_var in $ac_subst_files
1572
      do
1573
        eval ac_val=\$$ac_var
1574
        case $ac_val in
1575
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576
        esac
1577
        $as_echo "$ac_var='\''$ac_val'\''"
1578
      done | sort
1579
      echo
1580
    fi
1581
 
1582
    if test -s confdefs.h; then
1583
      cat <<\_ASBOX
1584
## ----------- ##
1585
## confdefs.h. ##
1586
## ----------- ##
1587
_ASBOX
1588
      echo
1589
      cat confdefs.h
1590
      echo
1591
    fi
1592
    test "$ac_signal" != 0 &&
1593
      $as_echo "$as_me: caught signal $ac_signal"
1594
    $as_echo "$as_me: exit $exit_status"
1595
  } >&5
1596
  rm -f core *.core core.conftest.* &&
1597
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598
    exit $exit_status
1599
' 0
1600
for ac_signal in 1 2 13 15; do
1601
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602
done
1603
ac_signal=0
1604
 
1605
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1606
rm -f -r conftest* confdefs.h
1607
 
1608
# Predefined preprocessor variables.
1609
 
1610
cat >>confdefs.h <<_ACEOF
1611
#define PACKAGE_NAME "$PACKAGE_NAME"
1612
_ACEOF
1613
 
1614
 
1615
cat >>confdefs.h <<_ACEOF
1616
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617
_ACEOF
1618
 
1619
 
1620
cat >>confdefs.h <<_ACEOF
1621
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1622
_ACEOF
1623
 
1624
 
1625
cat >>confdefs.h <<_ACEOF
1626
#define PACKAGE_STRING "$PACKAGE_STRING"
1627
_ACEOF
1628
 
1629
 
1630
cat >>confdefs.h <<_ACEOF
1631
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632
_ACEOF
1633
 
1634
 
1635
# Let the site file select an alternate cache file if it wants to.
1636
# Prefer an explicitly selected file to automatically selected ones.
1637
ac_site_file1=NONE
1638
ac_site_file2=NONE
1639
if test -n "$CONFIG_SITE"; then
1640
  ac_site_file1=$CONFIG_SITE
1641
elif test "x$prefix" != xNONE; then
1642
  ac_site_file1=$prefix/share/config.site
1643
  ac_site_file2=$prefix/etc/config.site
1644
else
1645
  ac_site_file1=$ac_default_prefix/share/config.site
1646
  ac_site_file2=$ac_default_prefix/etc/config.site
1647
fi
1648
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1649
do
1650
  test "x$ac_site_file" = xNONE && continue
1651
  if test -r "$ac_site_file"; then
1652
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1653
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654
    sed 's/^/| /' "$ac_site_file" >&5
1655
    . "$ac_site_file"
1656
  fi
1657
done
1658
 
1659
if test -r "$cache_file"; then
1660
  # Some versions of bash will fail to source /dev/null (special
1661
  # files actually), so we avoid doing that.
1662
  if test -f "$cache_file"; then
1663
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1664
$as_echo "$as_me: loading cache $cache_file" >&6;}
1665
    case $cache_file in
1666
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667
      *)                      . "./$cache_file";;
1668
    esac
1669
  fi
1670
else
1671
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1672
$as_echo "$as_me: creating cache $cache_file" >&6;}
1673
  >$cache_file
1674
fi
1675
 
1676
# Check that the precious variables saved in the cache have kept the same
1677
# value.
1678
ac_cache_corrupted=false
1679
for ac_var in $ac_precious_vars; do
1680
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681
  eval ac_new_set=\$ac_env_${ac_var}_set
1682
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683
  eval ac_new_val=\$ac_env_${ac_var}_value
1684
  case $ac_old_set,$ac_new_set in
1685
    set,)
1686
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688
      ac_cache_corrupted=: ;;
1689
    ,set)
1690
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1691
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692
      ac_cache_corrupted=: ;;
1693
    ,);;
1694
    *)
1695
      if test "x$ac_old_val" != "x$ac_new_val"; then
1696
        # differences in whitespace do not lead to failure.
1697
        ac_old_val_w=`echo x $ac_old_val`
1698
        ac_new_val_w=`echo x $ac_new_val`
1699
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1701
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702
          ac_cache_corrupted=:
1703
        else
1704
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706
          eval $ac_var=\$ac_old_val
1707
        fi
1708
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1709
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1710
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1711
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1712
      fi;;
1713
  esac
1714
  # Pass precious variables to config.status.
1715
  if test "$ac_new_set" = set; then
1716
    case $ac_new_val in
1717
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718
    *) ac_arg=$ac_var=$ac_new_val ;;
1719
    esac
1720
    case " $ac_configure_args " in
1721
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1722
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1723
    esac
1724
  fi
1725
done
1726
if $ac_cache_corrupted; then
1727
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1728
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733
   { (exit 1); exit 1; }; }
1734
fi
1735
 
1736
 
1737
 
1738
 
1739
 
1740
 
1741
 
1742
 
1743
 
1744
 
1745
 
1746
 
1747
 
1748
 
1749
 
1750
 
1751
 
1752
ac_ext=c
1753
ac_cpp='$CPP $CPPFLAGS'
1754
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757
 
1758
 
1759
 
1760
if test "${enable_shared}" = "yes" ; then
1761
    echo "Shared libraries not supported for cross compiling, ignored"
1762
fi
1763
 
1764
if test "$srcdir" = "." ; then
1765
  if test "${with_target_subdir}" != "." ; then
1766
    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1767
  else
1768
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1769
  fi
1770
else
1771
  libgloss_topdir="${srcdir}/../.."
1772
fi
1773
ac_aux_dir=
1774
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1775
  if test -f "$ac_dir/install-sh"; then
1776
    ac_aux_dir=$ac_dir
1777
    ac_install_sh="$ac_aux_dir/install-sh -c"
1778
    break
1779
  elif test -f "$ac_dir/install.sh"; then
1780
    ac_aux_dir=$ac_dir
1781
    ac_install_sh="$ac_aux_dir/install.sh -c"
1782
    break
1783
  elif test -f "$ac_dir/shtool"; then
1784
    ac_aux_dir=$ac_dir
1785
    ac_install_sh="$ac_aux_dir/shtool install -c"
1786
    break
1787
  fi
1788
done
1789
if test -z "$ac_aux_dir"; then
1790
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
1791
$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
1792
   { (exit 1); exit 1; }; }
1793
fi
1794
 
1795
# These three variables are undocumented and unsupported,
1796
# and are intended to be withdrawn in a future Autoconf release.
1797
# They can cause serious problems if a builder's source tree is in a directory
1798
# whose full name contains unusual characters.
1799
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1800
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1801
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1802
 
1803
 
1804
 
1805
# Make sure we can run config.sub.
1806
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1807
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1808
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1809
   { (exit 1); exit 1; }; }
1810
 
1811
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1812
$as_echo_n "checking build system type... " >&6; }
1813
if test "${ac_cv_build+set}" = set; then
1814
  $as_echo_n "(cached) " >&6
1815
else
1816
  ac_build_alias=$build_alias
1817
test "x$ac_build_alias" = x &&
1818
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1819
test "x$ac_build_alias" = x &&
1820
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1821
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1822
   { (exit 1); exit 1; }; }
1823
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1824
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1825
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1826
   { (exit 1); exit 1; }; }
1827
 
1828
fi
1829
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1830
$as_echo "$ac_cv_build" >&6; }
1831
case $ac_cv_build in
1832
*-*-*) ;;
1833
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1834
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1835
   { (exit 1); exit 1; }; };;
1836
esac
1837
build=$ac_cv_build
1838
ac_save_IFS=$IFS; IFS='-'
1839
set x $ac_cv_build
1840
shift
1841
build_cpu=$1
1842
build_vendor=$2
1843
shift; shift
1844
# Remember, the first character of IFS is used to create $*,
1845
# except with old shells:
1846
build_os=$*
1847
IFS=$ac_save_IFS
1848
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1849
 
1850
 
1851
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1852
$as_echo_n "checking host system type... " >&6; }
1853
if test "${ac_cv_host+set}" = set; then
1854
  $as_echo_n "(cached) " >&6
1855
else
1856
  if test "x$host_alias" = x; then
1857
  ac_cv_host=$ac_cv_build
1858
else
1859
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1860
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1861
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1862
   { (exit 1); exit 1; }; }
1863
fi
1864
 
1865
fi
1866
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1867
$as_echo "$ac_cv_host" >&6; }
1868
case $ac_cv_host in
1869
*-*-*) ;;
1870
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1871
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1872
   { (exit 1); exit 1; }; };;
1873
esac
1874
host=$ac_cv_host
1875
ac_save_IFS=$IFS; IFS='-'
1876
set x $ac_cv_host
1877
shift
1878
host_cpu=$1
1879
host_vendor=$2
1880
shift; shift
1881
# Remember, the first character of IFS is used to create $*,
1882
# except with old shells:
1883
host_os=$*
1884
IFS=$ac_save_IFS
1885
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1886
 
1887
 
1888
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
1889
$as_echo_n "checking target system type... " >&6; }
1890
if test "${ac_cv_target+set}" = set; then
1891
  $as_echo_n "(cached) " >&6
1892
else
1893
  if test "x$target_alias" = x; then
1894
  ac_cv_target=$ac_cv_host
1895
else
1896
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1897
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1898
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1899
   { (exit 1); exit 1; }; }
1900
fi
1901
 
1902
fi
1903
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1904
$as_echo "$ac_cv_target" >&6; }
1905
case $ac_cv_target in
1906
*-*-*) ;;
1907
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1908
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
1909
   { (exit 1); exit 1; }; };;
1910
esac
1911
target=$ac_cv_target
1912
ac_save_IFS=$IFS; IFS='-'
1913
set x $ac_cv_target
1914
shift
1915
target_cpu=$1
1916
target_vendor=$2
1917
shift; shift
1918
# Remember, the first character of IFS is used to create $*,
1919
# except with old shells:
1920
target_os=$*
1921
IFS=$ac_save_IFS
1922
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1923
 
1924
 
1925
# The aliases save the names the user supplied, while $host etc.
1926
# will get canonicalized.
1927
test -n "$target_alias" &&
1928
  test "$program_prefix$program_suffix$program_transform_name" = \
1929
    NONENONEs,x,x, &&
1930
  program_prefix=${target_alias}-
1931
test "$program_prefix" != NONE &&
1932
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1933
# Use a double $ so make ignores it.
1934
test "$program_suffix" != NONE &&
1935
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1936
# Double any \ or $.
1937
# By default was `s,x,x', remove it if useless.
1938
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1939
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1940
 
1941
 
1942
# Find a good install program.  We prefer a C program (faster),
1943
# so one script is as good as another.  But avoid the broken or
1944
# incompatible versions:
1945
# SysV /etc/install, /usr/sbin/install
1946
# SunOS /usr/etc/install
1947
# IRIX /sbin/install
1948
# AIX /bin/install
1949
# AmigaOS /C/install, which installs bootblocks on floppy discs
1950
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1951
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1952
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1953
# OS/2's system install, which has a completely different semantic
1954
# ./install, which can be erroneously created by make from ./install.sh.
1955
# Reject install programs that cannot install multiple files.
1956
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1957
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1958
if test -z "$INSTALL"; then
1959
if test "${ac_cv_path_install+set}" = set; then
1960
  $as_echo_n "(cached) " >&6
1961
else
1962
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963
for as_dir in $PATH
1964
do
1965
  IFS=$as_save_IFS
1966
  test -z "$as_dir" && as_dir=.
1967
  # Account for people who put trailing slashes in PATH elements.
1968
case $as_dir/ in
1969
  ./ | .// | /cC/* | \
1970
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1971
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1972
  /usr/ucb/* ) ;;
1973
  *)
1974
    # OSF1 and SCO ODT 3.0 have their own names for install.
1975
    # Don't use installbsd from OSF since it installs stuff as root
1976
    # by default.
1977
    for ac_prog in ginstall scoinst install; do
1978
      for ac_exec_ext in '' $ac_executable_extensions; do
1979
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1980
          if test $ac_prog = install &&
1981
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1982
            # AIX install.  It has an incompatible calling convention.
1983
            :
1984
          elif test $ac_prog = install &&
1985
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1986
            # program-specific install script used by HP pwplus--don't use.
1987
            :
1988
          else
1989
            rm -rf conftest.one conftest.two conftest.dir
1990
            echo one > conftest.one
1991
            echo two > conftest.two
1992
            mkdir conftest.dir
1993
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1994
              test -s conftest.one && test -s conftest.two &&
1995
              test -s conftest.dir/conftest.one &&
1996
              test -s conftest.dir/conftest.two
1997
            then
1998
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1999
              break 3
2000
            fi
2001
          fi
2002
        fi
2003
      done
2004
    done
2005
    ;;
2006
esac
2007
 
2008
done
2009
IFS=$as_save_IFS
2010
 
2011
rm -rf conftest.one conftest.two conftest.dir
2012
 
2013
fi
2014
  if test "${ac_cv_path_install+set}" = set; then
2015
    INSTALL=$ac_cv_path_install
2016
  else
2017
    # As a last resort, use the slow shell script.  Don't cache a
2018
    # value for INSTALL within a source directory, because that will
2019
    # break other packages using the cache if that directory is
2020
    # removed, or if the value is a relative name.
2021
    INSTALL=$ac_install_sh
2022
  fi
2023
fi
2024
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2025
$as_echo "$INSTALL" >&6; }
2026
 
2027
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2028
# It thinks the first close brace ends the variable substitution.
2029
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2030
 
2031
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2032
 
2033
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2034
 
2035
 
2036
rm -rf .tst 2>/dev/null
2037
mkdir .tst 2>/dev/null
2038
if test -d .tst; then
2039
  am__leading_dot=.
2040
else
2041
  am__leading_dot=_
2042
fi
2043
rmdir .tst 2>/dev/null
2044
 
2045
DEPDIR="${am__leading_dot}deps"
2046
 
2047
ac_config_commands="$ac_config_commands depfiles"
2048
 
2049
 
2050
am_make=${MAKE-make}
2051
cat > confinc << 'END'
2052
am__doit:
2053
        @echo done
2054
.PHONY: am__doit
2055
END
2056
# If we don't find an include directive, just comment out the code.
2057
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2058
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2059
am__include="#"
2060
am__quote=
2061
_am_result=none
2062
# First try GNU make style include.
2063
echo "include confinc" > confmf
2064
# We grep out `Entering directory' and `Leaving directory'
2065
# messages which can occur if `w' ends up in MAKEFLAGS.
2066
# In particular we don't look at `^make:' because GNU make might
2067
# be invoked under some other name (usually "gmake"), in which
2068
# case it prints its new name instead of `make'.
2069
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2070
   am__include=include
2071
   am__quote=
2072
   _am_result=GNU
2073
fi
2074
# Now try BSD make style include.
2075
if test "$am__include" = "#"; then
2076
   echo '.include "confinc"' > confmf
2077
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2078
      am__include=.include
2079
      am__quote="\""
2080
      _am_result=BSD
2081
   fi
2082
fi
2083
 
2084
 
2085
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2086
$as_echo "$_am_result" >&6; }
2087
rm -f confinc confmf
2088
 
2089
# Check whether --enable-dependency-tracking was given.
2090
if test "${enable_dependency_tracking+set}" = set; then
2091
  enableval=$enable_dependency_tracking;
2092
fi
2093
 
2094
if test "x$enable_dependency_tracking" != xno; then
2095
  am_depcomp="$ac_aux_dir/depcomp"
2096
  AMDEPBACKSLASH='\'
2097
fi
2098
 
2099
 
2100
if test "x$enable_dependency_tracking" != xno; then
2101
  AMDEP_TRUE=
2102
  AMDEP_FALSE='#'
2103
else
2104
  AMDEP_TRUE='#'
2105
  AMDEP_FALSE=
2106
fi
2107
 
2108
 
2109
 
2110
# Extract the first word of "gcc", so it can be a program name with args.
2111
set dummy gcc; ac_word=$2
2112
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2113
$as_echo_n "checking for $ac_word... " >&6; }
2114
if test "${ac_cv_prog_CC+set}" = set; then
2115
  $as_echo_n "(cached) " >&6
2116
else
2117
  if test -n "$CC"; then
2118
  ac_cv_prog_CC="$CC" # Let the user override the test.
2119
else
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121
for as_dir in $PATH
2122
do
2123
  IFS=$as_save_IFS
2124
  test -z "$as_dir" && as_dir=.
2125
  for ac_exec_ext in '' $ac_executable_extensions; do
2126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127
    ac_cv_prog_CC="gcc"
2128
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129
    break 2
2130
  fi
2131
done
2132
done
2133
IFS=$as_save_IFS
2134
 
2135
fi
2136
fi
2137
CC=$ac_cv_prog_CC
2138
if test -n "$CC"; then
2139
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2140
$as_echo "$CC" >&6; }
2141
else
2142
  { $as_echo "$as_me:$LINENO: result: no" >&5
2143
$as_echo "no" >&6; }
2144
fi
2145
 
2146
 
2147
 
2148
depcc="$CC"   am_compiler_list=
2149
 
2150
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2151
$as_echo_n "checking dependency style of $depcc... " >&6; }
2152
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2153
  $as_echo_n "(cached) " >&6
2154
else
2155
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2156
  # We make a subdir and do the tests there.  Otherwise we can end up
2157
  # making bogus files that we don't know about and never remove.  For
2158
  # instance it was reported that on HP-UX the gcc test will end up
2159
  # making a dummy file named `D' -- because `-MD' means `put the output
2160
  # in D'.
2161
  mkdir conftest.dir
2162
  # Copy depcomp to subdir because otherwise we won't find it if we're
2163
  # using a relative directory.
2164
  cp "$am_depcomp" conftest.dir
2165
  cd conftest.dir
2166
  # We will build objects and dependencies in a subdirectory because
2167
  # it helps to detect inapplicable dependency modes.  For instance
2168
  # both Tru64's cc and ICC support -MD to output dependencies as a
2169
  # side effect of compilation, but ICC will put the dependencies in
2170
  # the current directory while Tru64 will put them in the object
2171
  # directory.
2172
  mkdir sub
2173
 
2174
  am_cv_CC_dependencies_compiler_type=none
2175
  if test "$am_compiler_list" = ""; then
2176
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2177
  fi
2178
  for depmode in $am_compiler_list; do
2179
    # Setup a source with many dependencies, because some compilers
2180
    # like to wrap large dependency lists on column 80 (with \), and
2181
    # we should not choose a depcomp mode which is confused by this.
2182
    #
2183
    # We need to recreate these files for each test, as the compiler may
2184
    # overwrite some of them when testing with obscure command lines.
2185
    # This happens at least with the AIX C compiler.
2186
    : > sub/conftest.c
2187
    for i in 1 2 3 4 5 6; do
2188
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2189
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2190
      # Solaris 8's {/usr,}/bin/sh.
2191
      touch sub/conftst$i.h
2192
    done
2193
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2194
 
2195
    case $depmode in
2196
    nosideeffect)
2197
      # after this tag, mechanisms are not by side-effect, so they'll
2198
      # only be used when explicitly requested
2199
      if test "x$enable_dependency_tracking" = xyes; then
2200
        continue
2201
      else
2202
        break
2203
      fi
2204
      ;;
2205
    none) break ;;
2206
    esac
2207
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2208
    # mode.  It turns out that the SunPro C++ compiler does not properly
2209
    # handle `-M -o', and we need to detect this.
2210
    if depmode=$depmode \
2211
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2212
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2213
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2214
         >/dev/null 2>conftest.err &&
2215
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2216
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2217
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2218
      # icc doesn't choke on unknown options, it will just issue warnings
2219
      # or remarks (even with -Werror).  So we grep stderr for any message
2220
      # that says an option was ignored or not supported.
2221
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2222
      #   icc: Command line warning: ignoring option '-M'; no argument required
2223
      # The diagnosis changed in icc 8.0:
2224
      #   icc: Command line remark: option '-MP' not supported
2225
      if (grep 'ignoring option' conftest.err ||
2226
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2227
        am_cv_CC_dependencies_compiler_type=$depmode
2228
        break
2229
      fi
2230
    fi
2231
  done
2232
 
2233
  cd ..
2234
  rm -rf conftest.dir
2235
else
2236
  am_cv_CC_dependencies_compiler_type=none
2237
fi
2238
 
2239
fi
2240
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2241
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2242
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2243
 
2244
 
2245
 
2246
if
2247
  test "x$enable_dependency_tracking" != xno \
2248
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2249
  am__fastdepCC_TRUE=
2250
  am__fastdepCC_FALSE='#'
2251
else
2252
  am__fastdepCC_TRUE='#'
2253
  am__fastdepCC_FALSE=
2254
fi
2255
 
2256
 
2257
if test -z "$CC"; then
2258
  # Extract the first word of "cc", so it can be a program name with args.
2259
set dummy cc; ac_word=$2
2260
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2261
$as_echo_n "checking for $ac_word... " >&6; }
2262
if test "${ac_cv_prog_CC+set}" = set; then
2263
  $as_echo_n "(cached) " >&6
2264
else
2265
  if test -n "$CC"; then
2266
  ac_cv_prog_CC="$CC" # Let the user override the test.
2267
else
2268
  ac_prog_rejected=no
2269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270
for as_dir in $PATH
2271
do
2272
  IFS=$as_save_IFS
2273
  test -z "$as_dir" && as_dir=.
2274
  for ac_exec_ext in '' $ac_executable_extensions; do
2275
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2276
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2277
       ac_prog_rejected=yes
2278
       continue
2279
     fi
2280
    ac_cv_prog_CC="cc"
2281
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282
    break 2
2283
  fi
2284
done
2285
done
2286
IFS=$as_save_IFS
2287
 
2288
if test $ac_prog_rejected = yes; then
2289
  # We found a bogon in the path, so make sure we never use it.
2290
  set dummy $ac_cv_prog_CC
2291
  shift
2292
  if test $# != 0; then
2293
    # We chose a different compiler from the bogus one.
2294
    # However, it has the same basename, so the bogon will be chosen
2295
    # first if we set CC to just the basename; use the full file name.
2296
    shift
2297
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2298
  fi
2299
fi
2300
fi
2301
fi
2302
CC=$ac_cv_prog_CC
2303
if test -n "$CC"; then
2304
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2305
$as_echo "$CC" >&6; }
2306
else
2307
  { $as_echo "$as_me:$LINENO: result: no" >&5
2308
$as_echo "no" >&6; }
2309
fi
2310
 
2311
 
2312
  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2313
$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2314
   { (exit 1); exit 1; }; }
2315
fi
2316
 
2317
{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2318
$as_echo_n "checking whether we are using GNU C... " >&6; }
2319
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2320
  $as_echo_n "(cached) " >&6
2321
else
2322
  cat > conftest.c <
2323
#ifdef __GNUC__
2324
  yes;
2325
#endif
2326
EOF
2327
if { ac_try='${CC-cc} -E conftest.c'
2328
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329
  (eval $ac_try) 2>&5
2330
  ac_status=$?
2331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2333
  ac_cv_c_compiler_gnu=yes
2334
else
2335
  ac_cv_c_compiler_gnu=no
2336
fi
2337
fi
2338
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2339
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2340
 
2341
if test $ac_cv_c_compiler_gnu = yes; then
2342
  GCC=yes
2343
  ac_test_CFLAGS="${CFLAGS+set}"
2344
  ac_save_CFLAGS="$CFLAGS"
2345
  CFLAGS=
2346
  ac_test_CFLAGS=${CFLAGS+set}
2347
ac_save_CFLAGS=$CFLAGS
2348
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2349
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2350
if test "${ac_cv_prog_cc_g+set}" = set; then
2351
  $as_echo_n "(cached) " >&6
2352
else
2353
  ac_save_c_werror_flag=$ac_c_werror_flag
2354
   ac_c_werror_flag=yes
2355
   ac_cv_prog_cc_g=no
2356
   CFLAGS="-g"
2357
   cat >conftest.$ac_ext <<_ACEOF
2358
/* confdefs.h.  */
2359
_ACEOF
2360
cat confdefs.h >>conftest.$ac_ext
2361
cat >>conftest.$ac_ext <<_ACEOF
2362
/* end confdefs.h.  */
2363
 
2364
int
2365
main ()
2366
{
2367
 
2368
  ;
2369
  return 0;
2370
}
2371
_ACEOF
2372
rm -f conftest.$ac_objext
2373
if { (ac_try="$ac_compile"
2374
case "(($ac_try" in
2375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376
  *) ac_try_echo=$ac_try;;
2377
esac
2378
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2379
$as_echo "$ac_try_echo") >&5
2380
  (eval "$ac_compile") 2>conftest.er1
2381
  ac_status=$?
2382
  grep -v '^ *+' conftest.er1 >conftest.err
2383
  rm -f conftest.er1
2384
  cat conftest.err >&5
2385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
  (exit $ac_status); } && {
2387
         test -z "$ac_c_werror_flag" ||
2388
         test ! -s conftest.err
2389
       } && test -s conftest.$ac_objext; then
2390
  ac_cv_prog_cc_g=yes
2391
else
2392
  $as_echo "$as_me: failed program was:" >&5
2393
sed 's/^/| /' conftest.$ac_ext >&5
2394
 
2395
        CFLAGS=""
2396
      cat >conftest.$ac_ext <<_ACEOF
2397
/* confdefs.h.  */
2398
_ACEOF
2399
cat confdefs.h >>conftest.$ac_ext
2400
cat >>conftest.$ac_ext <<_ACEOF
2401
/* end confdefs.h.  */
2402
 
2403
int
2404
main ()
2405
{
2406
 
2407
  ;
2408
  return 0;
2409
}
2410
_ACEOF
2411
rm -f conftest.$ac_objext
2412
if { (ac_try="$ac_compile"
2413
case "(($ac_try" in
2414
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415
  *) ac_try_echo=$ac_try;;
2416
esac
2417
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2418
$as_echo "$ac_try_echo") >&5
2419
  (eval "$ac_compile") 2>conftest.er1
2420
  ac_status=$?
2421
  grep -v '^ *+' conftest.er1 >conftest.err
2422
  rm -f conftest.er1
2423
  cat conftest.err >&5
2424
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
  (exit $ac_status); } && {
2426
         test -z "$ac_c_werror_flag" ||
2427
         test ! -s conftest.err
2428
       } && test -s conftest.$ac_objext; then
2429
  :
2430
else
2431
  $as_echo "$as_me: failed program was:" >&5
2432
sed 's/^/| /' conftest.$ac_ext >&5
2433
 
2434
        ac_c_werror_flag=$ac_save_c_werror_flag
2435
         CFLAGS="-g"
2436
         cat >conftest.$ac_ext <<_ACEOF
2437
/* confdefs.h.  */
2438
_ACEOF
2439
cat confdefs.h >>conftest.$ac_ext
2440
cat >>conftest.$ac_ext <<_ACEOF
2441
/* end confdefs.h.  */
2442
 
2443
int
2444
main ()
2445
{
2446
 
2447
  ;
2448
  return 0;
2449
}
2450
_ACEOF
2451
rm -f conftest.$ac_objext
2452
if { (ac_try="$ac_compile"
2453
case "(($ac_try" in
2454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455
  *) ac_try_echo=$ac_try;;
2456
esac
2457
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458
$as_echo "$ac_try_echo") >&5
2459
  (eval "$ac_compile") 2>conftest.er1
2460
  ac_status=$?
2461
  grep -v '^ *+' conftest.er1 >conftest.err
2462
  rm -f conftest.er1
2463
  cat conftest.err >&5
2464
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465
  (exit $ac_status); } && {
2466
         test -z "$ac_c_werror_flag" ||
2467
         test ! -s conftest.err
2468
       } && test -s conftest.$ac_objext; then
2469
  ac_cv_prog_cc_g=yes
2470
else
2471
  $as_echo "$as_me: failed program was:" >&5
2472
sed 's/^/| /' conftest.$ac_ext >&5
2473
 
2474
 
2475
fi
2476
 
2477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2478
fi
2479
 
2480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481
fi
2482
 
2483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484
   ac_c_werror_flag=$ac_save_c_werror_flag
2485
fi
2486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2487
$as_echo "$ac_cv_prog_cc_g" >&6; }
2488
if test "$ac_test_CFLAGS" = set; then
2489
  CFLAGS=$ac_save_CFLAGS
2490
elif test $ac_cv_prog_cc_g = yes; then
2491
  if test "$GCC" = yes; then
2492
    CFLAGS="-g -O2"
2493
  else
2494
    CFLAGS="-g"
2495
  fi
2496
else
2497
  if test "$GCC" = yes; then
2498
    CFLAGS="-O2"
2499
  else
2500
    CFLAGS=
2501
  fi
2502
fi
2503
  if test "$ac_test_CFLAGS" = set; then
2504
    CFLAGS="$ac_save_CFLAGS"
2505
  elif test $ac_cv_prog_cc_g = yes; then
2506
    CFLAGS="-g -O2"
2507
  else
2508
    CFLAGS="-O2"
2509
  fi
2510
else
2511
  GCC=
2512
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2513
fi
2514
 
2515
 
2516
AS=${AS-as}
2517
 
2518
AR=${AR-ar}
2519
 
2520
LD=${LD-ld}
2521
 
2522
if test -n "$ac_tool_prefix"; then
2523
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2524
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2525
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2526
$as_echo_n "checking for $ac_word... " >&6; }
2527
if test "${ac_cv_prog_RANLIB+set}" = set; then
2528
  $as_echo_n "(cached) " >&6
2529
else
2530
  if test -n "$RANLIB"; then
2531
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2532
else
2533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534
for as_dir in $PATH
2535
do
2536
  IFS=$as_save_IFS
2537
  test -z "$as_dir" && as_dir=.
2538
  for ac_exec_ext in '' $ac_executable_extensions; do
2539
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2541
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542
    break 2
2543
  fi
2544
done
2545
done
2546
IFS=$as_save_IFS
2547
 
2548
fi
2549
fi
2550
RANLIB=$ac_cv_prog_RANLIB
2551
if test -n "$RANLIB"; then
2552
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
2553
$as_echo "$RANLIB" >&6; }
2554
else
2555
  { $as_echo "$as_me:$LINENO: result: no" >&5
2556
$as_echo "no" >&6; }
2557
fi
2558
 
2559
 
2560
fi
2561
if test -z "$ac_cv_prog_RANLIB"; then
2562
  ac_ct_RANLIB=$RANLIB
2563
  # Extract the first word of "ranlib", so it can be a program name with args.
2564
set dummy ranlib; ac_word=$2
2565
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566
$as_echo_n "checking for $ac_word... " >&6; }
2567
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2568
  $as_echo_n "(cached) " >&6
2569
else
2570
  if test -n "$ac_ct_RANLIB"; then
2571
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2572
else
2573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574
for as_dir in $PATH
2575
do
2576
  IFS=$as_save_IFS
2577
  test -z "$as_dir" && as_dir=.
2578
  for ac_exec_ext in '' $ac_executable_extensions; do
2579
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2581
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
    break 2
2583
  fi
2584
done
2585
done
2586
IFS=$as_save_IFS
2587
 
2588
fi
2589
fi
2590
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2591
if test -n "$ac_ct_RANLIB"; then
2592
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2593
$as_echo "$ac_ct_RANLIB" >&6; }
2594
else
2595
  { $as_echo "$as_me:$LINENO: result: no" >&5
2596
$as_echo "no" >&6; }
2597
fi
2598
 
2599
  if test "x$ac_ct_RANLIB" = x; then
2600
    RANLIB=":"
2601
  else
2602
    case $cross_compiling:$ac_tool_warned in
2603
yes:)
2604
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2605
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606
ac_tool_warned=yes ;;
2607
esac
2608
    RANLIB=$ac_ct_RANLIB
2609
  fi
2610
else
2611
  RANLIB="$ac_cv_prog_RANLIB"
2612
fi
2613
 
2614
# By default we simply use the C compiler to build assembly code.
2615
 
2616
test "${CCAS+set}" = set || CCAS=$CC
2617
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2618
 
2619
 
2620
 
2621
 
2622
host_makefile_frag=${srcdir}/../config/default.mh
2623
 
2624
host_makefile_frag_path=$host_makefile_frag
2625
 
2626
 
2627
 
2628
ac_config_files="$ac_config_files Makefile"
2629
 
2630
cat >confcache <<\_ACEOF
2631
# This file is a shell script that caches the results of configure
2632
# tests run on this system so they can be shared between configure
2633
# scripts and configure runs, see configure's option --config-cache.
2634
# It is not useful on other systems.  If it contains results you don't
2635
# want to keep, you may remove or edit it.
2636
#
2637
# config.status only pays attention to the cache file if you give it
2638
# the --recheck option to rerun configure.
2639
#
2640
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2641
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2642
# following values.
2643
 
2644
_ACEOF
2645
 
2646
# The following way of writing the cache mishandles newlines in values,
2647
# but we know of no workaround that is simple, portable, and efficient.
2648
# So, we kill variables containing newlines.
2649
# Ultrix sh set writes to stderr and can't be redirected directly,
2650
# and sets the high bit in the cache file unless we assign to the vars.
2651
(
2652
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2653
    eval ac_val=\$$ac_var
2654
    case $ac_val in #(
2655
    *${as_nl}*)
2656
      case $ac_var in #(
2657
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2658
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2659
      esac
2660
      case $ac_var in #(
2661
      _ | IFS | as_nl) ;; #(
2662
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2663
      *) $as_unset $ac_var ;;
2664
      esac ;;
2665
    esac
2666
  done
2667
 
2668
  (set) 2>&1 |
2669
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2670
    *${as_nl}ac_space=\ *)
2671
      # `set' does not quote correctly, so add quotes (double-quote
2672
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2673
      sed -n \
2674
        "s/'/'\\\\''/g;
2675
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2676
      ;; #(
2677
    *)
2678
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2679
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2680
      ;;
2681
    esac |
2682
    sort
2683
) |
2684
  sed '
2685
     /^ac_cv_env_/b end
2686
     t clear
2687
     :clear
2688
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2689
     t end
2690
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2691
     :end' >>confcache
2692
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2693
  if test -w "$cache_file"; then
2694
    test "x$cache_file" != "x/dev/null" &&
2695
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2696
$as_echo "$as_me: updating cache $cache_file" >&6;}
2697
    cat confcache >$cache_file
2698
  else
2699
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2700
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2701
  fi
2702
fi
2703
rm -f confcache
2704
 
2705
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2706
# Let make expand exec_prefix.
2707
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2708
 
2709
# Transform confdefs.h into DEFS.
2710
# Protect against shell expansion while executing Makefile rules.
2711
# Protect against Makefile macro expansion.
2712
#
2713
# If the first sed substitution is executed (which looks for macros that
2714
# take arguments), then branch to the quote section.  Otherwise,
2715
# look for a macro that doesn't take arguments.
2716
ac_script='
2717
:mline
2718
/\\$/{
2719
 N
2720
 s,\\\n,,
2721
 b mline
2722
}
2723
t clear
2724
:clear
2725
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2726
t quote
2727
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2728
t quote
2729
b any
2730
:quote
2731
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2732
s/\[/\\&/g
2733
s/\]/\\&/g
2734
s/\$/$$/g
2735
H
2736
:any
2737
${
2738
        g
2739
        s/^\n//
2740
        s/\n/ /g
2741
        p
2742
}
2743
'
2744
DEFS=`sed -n "$ac_script" confdefs.h`
2745
 
2746
 
2747
ac_libobjs=
2748
ac_ltlibobjs=
2749
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2750
  # 1. Remove the extension, and $U if already installed.
2751
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2752
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2753
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2754
  #    will be set to the directory where LIBOBJS objects are built.
2755
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2756
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2757
done
2758
LIBOBJS=$ac_libobjs
2759
 
2760
LTLIBOBJS=$ac_ltlibobjs
2761
 
2762
 
2763
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2764
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2765
Usually this means the macro was only invoked conditionally." >&5
2766
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
2767
Usually this means the macro was only invoked conditionally." >&2;}
2768
   { (exit 1); exit 1; }; }
2769
fi
2770
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2771
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2772
Usually this means the macro was only invoked conditionally." >&5
2773
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2774
Usually this means the macro was only invoked conditionally." >&2;}
2775
   { (exit 1); exit 1; }; }
2776
fi
2777
 
2778
: ${CONFIG_STATUS=./config.status}
2779
ac_write_fail=0
2780
ac_clean_files_save=$ac_clean_files
2781
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2782
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2783
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2784
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2785
#! $SHELL
2786
# Generated by $as_me.
2787
# Run this file to recreate the current configuration.
2788
# Compiler output produced by configure, useful for debugging
2789
# configure, is in config.log if it exists.
2790
 
2791
debug=false
2792
ac_cs_recheck=false
2793
ac_cs_silent=false
2794
SHELL=\${CONFIG_SHELL-$SHELL}
2795
_ACEOF
2796
 
2797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798
## --------------------- ##
2799
## M4sh Initialization.  ##
2800
## --------------------- ##
2801
 
2802
# Be more Bourne compatible
2803
DUALCASE=1; export DUALCASE # for MKS sh
2804
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2805
  emulate sh
2806
  NULLCMD=:
2807
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2808
  # is contrary to our usage.  Disable this feature.
2809
  alias -g '${1+"$@"}'='"$@"'
2810
  setopt NO_GLOB_SUBST
2811
else
2812
  case `(set -o) 2>/dev/null` in
2813
  *posix*) set -o posix ;;
2814
esac
2815
 
2816
fi
2817
 
2818
 
2819
 
2820
 
2821
# PATH needs CR
2822
# Avoid depending upon Character Ranges.
2823
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2824
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2825
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2826
as_cr_digits='0123456789'
2827
as_cr_alnum=$as_cr_Letters$as_cr_digits
2828
 
2829
as_nl='
2830
'
2831
export as_nl
2832
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2833
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2834
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2835
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2836
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2837
  as_echo='printf %s\n'
2838
  as_echo_n='printf %s'
2839
else
2840
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2841
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2842
    as_echo_n='/usr/ucb/echo -n'
2843
  else
2844
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2845
    as_echo_n_body='eval
2846
      arg=$1;
2847
      case $arg in
2848
      *"$as_nl"*)
2849
        expr "X$arg" : "X\\(.*\\)$as_nl";
2850
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2851
      esac;
2852
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2853
    '
2854
    export as_echo_n_body
2855
    as_echo_n='sh -c $as_echo_n_body as_echo'
2856
  fi
2857
  export as_echo_body
2858
  as_echo='sh -c $as_echo_body as_echo'
2859
fi
2860
 
2861
# The user is always right.
2862
if test "${PATH_SEPARATOR+set}" != set; then
2863
  PATH_SEPARATOR=:
2864
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2865
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2866
      PATH_SEPARATOR=';'
2867
  }
2868
fi
2869
 
2870
# Support unset when possible.
2871
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2872
  as_unset=unset
2873
else
2874
  as_unset=false
2875
fi
2876
 
2877
 
2878
# IFS
2879
# We need space, tab and new line, in precisely that order.  Quoting is
2880
# there to prevent editors from complaining about space-tab.
2881
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2882
# splitting by setting IFS to empty value.)
2883
IFS=" ""        $as_nl"
2884
 
2885
# Find who we are.  Look in the path if we contain no directory separator.
2886
case $0 in
2887
  *[\\/]* ) as_myself=$0 ;;
2888
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889
for as_dir in $PATH
2890
do
2891
  IFS=$as_save_IFS
2892
  test -z "$as_dir" && as_dir=.
2893
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2894
done
2895
IFS=$as_save_IFS
2896
 
2897
     ;;
2898
esac
2899
# We did not find ourselves, most probably we were run as `sh COMMAND'
2900
# in which case we are not to be found in the path.
2901
if test "x$as_myself" = x; then
2902
  as_myself=$0
2903
fi
2904
if test ! -f "$as_myself"; then
2905
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2906
  { (exit 1); exit 1; }
2907
fi
2908
 
2909
# Work around bugs in pre-3.0 UWIN ksh.
2910
for as_var in ENV MAIL MAILPATH
2911
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2912
done
2913
PS1='$ '
2914
PS2='> '
2915
PS4='+ '
2916
 
2917
# NLS nuisances.
2918
LC_ALL=C
2919
export LC_ALL
2920
LANGUAGE=C
2921
export LANGUAGE
2922
 
2923
# Required to use basename.
2924
if expr a : '\(a\)' >/dev/null 2>&1 &&
2925
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2926
  as_expr=expr
2927
else
2928
  as_expr=false
2929
fi
2930
 
2931
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2932
  as_basename=basename
2933
else
2934
  as_basename=false
2935
fi
2936
 
2937
 
2938
# Name of the executable.
2939
as_me=`$as_basename -- "$0" ||
2940
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2941
         X"$0" : 'X\(//\)$' \| \
2942
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2943
$as_echo X/"$0" |
2944
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2945
            s//\1/
2946
            q
2947
          }
2948
          /^X\/\(\/\/\)$/{
2949
            s//\1/
2950
            q
2951
          }
2952
          /^X\/\(\/\).*/{
2953
            s//\1/
2954
            q
2955
          }
2956
          s/.*/./; q'`
2957
 
2958
# CDPATH.
2959
$as_unset CDPATH
2960
 
2961
 
2962
 
2963
  as_lineno_1=$LINENO
2964
  as_lineno_2=$LINENO
2965
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2966
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2967
 
2968
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2969
  # uniformly replaced by the line number.  The first 'sed' inserts a
2970
  # line-number line after each line using $LINENO; the second 'sed'
2971
  # does the real work.  The second script uses 'N' to pair each
2972
  # line-number line with the line containing $LINENO, and appends
2973
  # trailing '-' during substitution so that $LINENO is not a special
2974
  # case at line end.
2975
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2976
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2977
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2978
  sed -n '
2979
    p
2980
    /[$]LINENO/=
2981
  ' <$as_myself |
2982
    sed '
2983
      s/[$]LINENO.*/&-/
2984
      t lineno
2985
      b
2986
      :lineno
2987
      N
2988
      :loop
2989
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2990
      t loop
2991
      s/-\n.*//
2992
    ' >$as_me.lineno &&
2993
  chmod +x "$as_me.lineno" ||
2994
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2995
   { (exit 1); exit 1; }; }
2996
 
2997
  # Don't try to exec as it changes $[0], causing all sort of problems
2998
  # (the dirname of $[0] is not the place where we might find the
2999
  # original and so on.  Autoconf is especially sensitive to this).
3000
  . "./$as_me.lineno"
3001
  # Exit status is that of the last command.
3002
  exit
3003
}
3004
 
3005
 
3006
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3007
  as_dirname=dirname
3008
else
3009
  as_dirname=false
3010
fi
3011
 
3012
ECHO_C= ECHO_N= ECHO_T=
3013
case `echo -n x` in
3014
-n*)
3015
  case `echo 'x\c'` in
3016
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3017
  *)   ECHO_C='\c';;
3018
  esac;;
3019
*)
3020
  ECHO_N='-n';;
3021
esac
3022
if expr a : '\(a\)' >/dev/null 2>&1 &&
3023
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3024
  as_expr=expr
3025
else
3026
  as_expr=false
3027
fi
3028
 
3029
rm -f conf$$ conf$$.exe conf$$.file
3030
if test -d conf$$.dir; then
3031
  rm -f conf$$.dir/conf$$.file
3032
else
3033
  rm -f conf$$.dir
3034
  mkdir conf$$.dir 2>/dev/null
3035
fi
3036
if (echo >conf$$.file) 2>/dev/null; then
3037
  if ln -s conf$$.file conf$$ 2>/dev/null; then
3038
    as_ln_s='ln -s'
3039
    # ... but there are two gotchas:
3040
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3041
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3042
    # In both cases, we have to default to `cp -p'.
3043
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3044
      as_ln_s='cp -p'
3045
  elif ln conf$$.file conf$$ 2>/dev/null; then
3046
    as_ln_s=ln
3047
  else
3048
    as_ln_s='cp -p'
3049
  fi
3050
else
3051
  as_ln_s='cp -p'
3052
fi
3053
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3054
rmdir conf$$.dir 2>/dev/null
3055
 
3056
if mkdir -p . 2>/dev/null; then
3057
  as_mkdir_p=:
3058
else
3059
  test -d ./-p && rmdir ./-p
3060
  as_mkdir_p=false
3061
fi
3062
 
3063
if test -x / >/dev/null 2>&1; then
3064
  as_test_x='test -x'
3065
else
3066
  if ls -dL / >/dev/null 2>&1; then
3067
    as_ls_L_option=L
3068
  else
3069
    as_ls_L_option=
3070
  fi
3071
  as_test_x='
3072
    eval sh -c '\''
3073
      if test -d "$1"; then
3074
        test -d "$1/.";
3075
      else
3076
        case $1 in
3077
        -*)set "./$1";;
3078
        esac;
3079
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3080
        ???[sx]*):;;*)false;;esac;fi
3081
    '\'' sh
3082
  '
3083
fi
3084
as_executable_p=$as_test_x
3085
 
3086
# Sed expression to map a string onto a valid CPP name.
3087
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3088
 
3089
# Sed expression to map a string onto a valid variable name.
3090
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3091
 
3092
 
3093
exec 6>&1
3094
 
3095
# Save the log message, to keep $[0] and so on meaningful, and to
3096
# report actual input values of CONFIG_FILES etc. instead of their
3097
# values after options handling.
3098
ac_log="
3099
This file was extended by $as_me, which was
3100
generated by GNU Autoconf 2.63.  Invocation command line was
3101
 
3102
  CONFIG_FILES    = $CONFIG_FILES
3103
  CONFIG_HEADERS  = $CONFIG_HEADERS
3104
  CONFIG_LINKS    = $CONFIG_LINKS
3105
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3106
  $ $0 $@
3107
 
3108
on `(hostname || uname -n) 2>/dev/null | sed 1q`
3109
"
3110
 
3111
_ACEOF
3112
 
3113
case $ac_config_files in *"
3114
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3115
esac
3116
 
3117
 
3118
 
3119
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3120
# Files that config.status was made for.
3121
config_files="$ac_config_files"
3122
config_commands="$ac_config_commands"
3123
 
3124
_ACEOF
3125
 
3126
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3127
ac_cs_usage="\
3128
\`$as_me' instantiates files from templates according to the
3129
current configuration.
3130
 
3131
Usage: $0 [OPTION]... [FILE]...
3132
 
3133
  -h, --help       print this help, then exit
3134
  -V, --version    print version number and configuration settings, then exit
3135
  -q, --quiet, --silent
3136
                   do not print progress messages
3137
  -d, --debug      don't remove temporary files
3138
      --recheck    update $as_me by reconfiguring in the same conditions
3139
      --file=FILE[:TEMPLATE]
3140
                   instantiate the configuration file FILE
3141
 
3142
Configuration files:
3143
$config_files
3144
 
3145
Configuration commands:
3146
$config_commands
3147
 
3148
Report bugs to ."
3149
 
3150
_ACEOF
3151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3152
ac_cs_version="\\
3153
config.status
3154
configured by $0, generated by GNU Autoconf 2.63,
3155
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3156
 
3157
Copyright (C) 2008 Free Software Foundation, Inc.
3158
This config.status script is free software; the Free Software Foundation
3159
gives unlimited permission to copy, distribute and modify it."
3160
 
3161
ac_pwd='$ac_pwd'
3162
srcdir='$srcdir'
3163
INSTALL='$INSTALL'
3164
test -n "\$AWK" || AWK=awk
3165
_ACEOF
3166
 
3167
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3168
# The default lists apply if the user does not specify any file.
3169
ac_need_defaults=:
3170
while test $# != 0
3171
do
3172
  case $1 in
3173
  --*=*)
3174
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3175
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3176
    ac_shift=:
3177
    ;;
3178
  *)
3179
    ac_option=$1
3180
    ac_optarg=$2
3181
    ac_shift=shift
3182
    ;;
3183
  esac
3184
 
3185
  case $ac_option in
3186
  # Handling of the options.
3187
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3188
    ac_cs_recheck=: ;;
3189
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3190
    $as_echo "$ac_cs_version"; exit ;;
3191
  --debug | --debu | --deb | --de | --d | -d )
3192
    debug=: ;;
3193
  --file | --fil | --fi | --f )
3194
    $ac_shift
3195
    case $ac_optarg in
3196
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3197
    esac
3198
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3199
    ac_need_defaults=false;;
3200
  --he | --h |  --help | --hel | -h )
3201
    $as_echo "$ac_cs_usage"; exit ;;
3202
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3203
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3204
    ac_cs_silent=: ;;
3205
 
3206
  # This is an error.
3207
  -*) { $as_echo "$as_me: error: unrecognized option: $1
3208
Try \`$0 --help' for more information." >&2
3209
   { (exit 1); exit 1; }; } ;;
3210
 
3211
  *) ac_config_targets="$ac_config_targets $1"
3212
     ac_need_defaults=false ;;
3213
 
3214
  esac
3215
  shift
3216
done
3217
 
3218
ac_configure_extra_args=
3219
 
3220
if $ac_cs_silent; then
3221
  exec 6>/dev/null
3222
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3223
fi
3224
 
3225
_ACEOF
3226
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3227
if \$ac_cs_recheck; then
3228
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3229
  shift
3230
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3231
  CONFIG_SHELL='$SHELL'
3232
  export CONFIG_SHELL
3233
  exec "\$@"
3234
fi
3235
 
3236
_ACEOF
3237
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3238
exec 5>>config.log
3239
{
3240
  echo
3241
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3242
## Running $as_me. ##
3243
_ASBOX
3244
  $as_echo "$ac_log"
3245
} >&5
3246
 
3247
_ACEOF
3248
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3249
#
3250
# INIT-COMMANDS
3251
#
3252
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3253
srcdir=${srcdir}
3254
target=${target}
3255
with_multisubdir=${with_multisubdir}
3256
ac_configure_args="${ac_configure_args} --enable-multilib"
3257
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3258
libgloss_topdir=${libgloss_topdir}
3259
 
3260
 
3261
_ACEOF
3262
 
3263
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3264
 
3265
# Handling of arguments.
3266
for ac_config_target in $ac_config_targets
3267
do
3268
  case $ac_config_target in
3269
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3270
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3271
 
3272
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3273
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3274
   { (exit 1); exit 1; }; };;
3275
  esac
3276
done
3277
 
3278
 
3279
# If the user did not use the arguments to specify the items to instantiate,
3280
# then the envvar interface is used.  Set only those that are not.
3281
# We use the long form for the default assignment because of an extremely
3282
# bizarre bug on SunOS 4.1.3.
3283
if $ac_need_defaults; then
3284
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3285
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3286
fi
3287
 
3288
# Have a temporary directory for convenience.  Make it in the build tree
3289
# simply because there is no reason against having it here, and in addition,
3290
# creating and moving files from /tmp can sometimes cause problems.
3291
# Hook for its removal unless debugging.
3292
# Note that there is a small window in which the directory will not be cleaned:
3293
# after its creation but before its name has been assigned to `$tmp'.
3294
$debug ||
3295
{
3296
  tmp=
3297
  trap 'exit_status=$?
3298
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3299
' 0
3300
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3301
}
3302
# Create a (secure) tmp directory for tmp files.
3303
 
3304
{
3305
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3306
  test -n "$tmp" && test -d "$tmp"
3307
}  ||
3308
{
3309
  tmp=./conf$$-$RANDOM
3310
  (umask 077 && mkdir "$tmp")
3311
} ||
3312
{
3313
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
3314
   { (exit 1); exit 1; }
3315
}
3316
 
3317
# Set up the scripts for CONFIG_FILES section.
3318
# No need to generate them if there are no CONFIG_FILES.
3319
# This happens for instance with `./config.status config.h'.
3320
if test -n "$CONFIG_FILES"; then
3321
 
3322
if $AWK 'BEGIN { getline <"/dev/null" }' /dev/null; then
3323
  ac_cs_awk_getline=:
3324
  ac_cs_awk_pipe_init=
3325
  ac_cs_awk_read_file='
3326
      while ((getline aline < (F[key])) > 0)
3327
        print(aline)
3328
      close(F[key])'
3329
  ac_cs_awk_pipe_fini=
3330
else
3331
  ac_cs_awk_getline=false
3332
  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3333
  ac_cs_awk_read_file='
3334
      print "|#_!!_#|"
3335
      print "cat " F[key] " &&"
3336
      '$ac_cs_awk_pipe_init
3337
  # The final `:' finishes the AND list.
3338
  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3339
fi
3340
ac_cr='
'
3341
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
3342
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3343
  ac_cs_awk_cr='\\r'
3344
else
3345
  ac_cs_awk_cr=$ac_cr
3346
fi
3347
3348
 
3349
_ACEOF
3350
3351
 
3352
{
3353
  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3354
  echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3355
  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3356
  echo "_ACAWK" &&
3357
  echo "_ACEOF"
3358
} >conf$$files.sh &&
3359
. ./conf$$files.sh ||
3360
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3361
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3362
   { (exit 1); exit 1; }; }
3363
rm -f conf$$files.sh
3364
3365
 
3366
  echo "cat >conf$$subs.awk <<_ACEOF" &&
3367
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3368
  echo "_ACEOF"
3369
} >conf$$subs.sh ||
3370
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3371
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3372
   { (exit 1); exit 1; }; }
3373
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3374
ac_delim='%!_!# '
3375
for ac_last_try in false false false false false :; do
3376
  . ./conf$$subs.sh ||
3377
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3378
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3379
   { (exit 1); exit 1; }; }
3380
3381
 
3382
  if test $ac_delim_n = $ac_delim_num; then
3383
    break
3384
  elif $ac_last_try; then
3385
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3386
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3387
   { (exit 1); exit 1; }; }
3388
  else
3389
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3390
  fi
3391
done
3392
rm -f conf$$subs.sh
3393
3394
 
3395
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3396
_ACEOF
3397
sed -n '
3398
h
3399
s/^/S["/; s/!.*/"]=/
3400
p
3401
g
3402
s/^[^!]*!//
3403
:repl
3404
t repl
3405
s/'"$ac_delim"'$//
3406
t delim
3407
:nl
3408
h
3409
s/\(.\{148\}\).*/\1/
3410
t more1
3411
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3412
p
3413
n
3414
b repl
3415
:more1
3416
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3417
p
3418
g
3419
s/.\{148\}//
3420
t nl
3421
:delim
3422
h
3423
s/\(.\{148\}\).*/\1/
3424
t more2
3425
s/["\\]/\\&/g; s/^/"/; s/$/"/
3426
p
3427
b
3428
:more2
3429
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3430
p
3431
g
3432
s/.\{148\}//
3433
t delim
3434
' 
3435
/^[^""]/{
3436
  N
3437
  s/\n//
3438
}
3439
' >>$CONFIG_STATUS || ac_write_fail=1
3440
rm -f conf$$subs.awk
3441
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3442
_ACAWK
3443
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3444
  for (key in S) S_is_set[key] = 1
3445
  FS = ""
3446
  \$ac_cs_awk_pipe_init
3447
}
3448
{
3449
  line = $ 0
3450
  nfields = split(line, field, "@")
3451
  substed = 0
3452
  len = length(field[1])
3453
  for (i = 2; i < nfields; i++) {
3454
    key = field[i]
3455
    keylen = length(key)
3456
    if (S_is_set[key]) {
3457
      value = S[key]
3458
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3459
      len += length(value) + length(field[++i])
3460
      substed = 1
3461
    } else
3462
      len += 1 + keylen
3463
  }
3464
  if (nfields == 3 && !substed) {
3465
    key = field[2]
3466
    if (F[key] != "" && line ~ /^[       ]*@.*@[         ]*$/) {
3467
      \$ac_cs_awk_read_file
3468
      next
3469
    }
3470
  }
3471
  print line
3472
}
3473
\$ac_cs_awk_pipe_fini
3474
_ACAWK
3475
_ACEOF
3476
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3477
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3478
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3479
else
3480
  cat
3481
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3482
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3483
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3484
   { (exit 1); exit 1; }; }
3485
_ACEOF
3486
3487
 
3488
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3489
# trailing colons and then remove the whole line if VPATH becomes empty
3490
# (actually we leave an empty line to preserve line numbers).
3491
if test "x$srcdir" = x.; then
3492
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3493
s/:*\$(srcdir):*/:/
3494
s/:*\${srcdir}:*/:/
3495
s/:*@srcdir@:*/:/
3496
s/^\([^=]*=[     ]*\):*/\1/
3497
s/:*$//
3498
s/^[^=]*=[       ]*$//
3499
}'
3500
fi
3501
3502
 
3503
fi # test -n "$CONFIG_FILES"
3504
3505
 
3506
 
3507
shift
3508
for ac_tag
3509
do
3510
  case $ac_tag in
3511
  :[FHLC]) ac_mode=$ac_tag; continue;;
3512
  esac
3513
  case $ac_mode$ac_tag in
3514
  :[FHL]*:*);;
3515
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3516
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3517
   { (exit 1); exit 1; }; };;
3518
  :[FH]-) ac_tag=-:-;;
3519
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3520
  esac
3521
  ac_save_IFS=$IFS
3522
  IFS=:
3523
  set x $ac_tag
3524
  IFS=$ac_save_IFS
3525
  shift
3526
  ac_file=$1
3527
  shift
3528
3529
 
3530
  :L) ac_source=$1;;
3531
  :[FH])
3532
    ac_file_inputs=
3533
    for ac_f
3534
    do
3535
      case $ac_f in
3536
      -) ac_f="$tmp/stdin";;
3537
      *) # Look for the file first in the build tree, then in the source tree
3538
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3539
         # because $ac_f cannot contain `:'.
3540
         test -f "$ac_f" ||
3541
           case $ac_f in
3542
           [\\/$]*) false;;
3543
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3544
           esac ||
3545
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3546
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3547
   { (exit 1); exit 1; }; };;
3548
      esac
3549
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3550
      ac_file_inputs="$ac_file_inputs '$ac_f'"
3551
    done
3552
3553
 
3554
    # use $as_me), people would be surprised to read:
3555
    #    /* config.h.  Generated by config.status.  */
3556
    configure_input='Generated from '`
3557
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3558
        `' by configure.'
3559
    if test x"$ac_file" != x-; then
3560
      configure_input="$ac_file.  $configure_input"
3561
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3562
$as_echo "$as_me: creating $ac_file" >&6;}
3563
    fi
3564
    # Neutralize special characters interpreted by sed in replacement strings.
3565
    case $configure_input in #(
3566
    *\&* | *\|* | *\\* )
3567
       ac_sed_conf_input=`$as_echo "$configure_input" |
3568
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3569
    *) ac_sed_conf_input=$configure_input;;
3570
    esac
3571
3572
 
3573
    *:-:* | *:-) cat >"$tmp/stdin" \
3574
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3575
$as_echo "$as_me: error: could not create $ac_file" >&2;}
3576
   { (exit 1); exit 1; }; } ;;
3577
    esac
3578
    ;;
3579
  esac
3580
3581
 
3582
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3583
         X"$ac_file" : 'X\(//\)[^/]' \| \
3584
         X"$ac_file" : 'X\(//\)$' \| \
3585
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3586
$as_echo X"$ac_file" |
3587
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3588
            s//\1/
3589
            q
3590
          }
3591
          /^X\(\/\/\)[^/].*/{
3592
            s//\1/
3593
            q
3594
          }
3595
          /^X\(\/\/\)$/{
3596
            s//\1/
3597
            q
3598
          }
3599
          /^X\(\/\).*/{
3600
            s//\1/
3601
            q
3602
          }
3603
          s/.*/./; q'`
3604
  { as_dir="$ac_dir"
3605
  case $as_dir in #(
3606
  -*) as_dir=./$as_dir;;
3607
  esac
3608
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3609
    as_dirs=
3610
    while :; do
3611
      case $as_dir in #(
3612
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3613
      *) as_qdir=$as_dir;;
3614
      esac
3615
      as_dirs="'$as_qdir' $as_dirs"
3616
      as_dir=`$as_dirname -- "$as_dir" ||
3617
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3618
         X"$as_dir" : 'X\(//\)[^/]' \| \
3619
         X"$as_dir" : 'X\(//\)$' \| \
3620
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3621
$as_echo X"$as_dir" |
3622
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3623
            s//\1/
3624
            q
3625
          }
3626
          /^X\(\/\/\)[^/].*/{
3627
            s//\1/
3628
            q
3629
          }
3630
          /^X\(\/\/\)$/{
3631
            s//\1/
3632
            q
3633
          }
3634
          /^X\(\/\).*/{
3635
            s//\1/
3636
            q
3637
          }
3638
          s/.*/./; q'`
3639
      test -d "$as_dir" && break
3640
    done
3641
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3642
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3643
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3644
   { (exit 1); exit 1; }; }; }
3645
  ac_builddir=.
3646
3647
 
3648
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3649
*)
3650
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3651
  # A ".." for each directory in $ac_dir_suffix.
3652
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3653
  case $ac_top_builddir_sub in
3654
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3655
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3656
  esac ;;
3657
esac
3658
ac_abs_top_builddir=$ac_pwd
3659
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3660
# for backward compatibility:
3661
ac_top_builddir=$ac_top_build_prefix
3662
3663
 
3664
  .)  # We are building in place.
3665
    ac_srcdir=.
3666
    ac_top_srcdir=$ac_top_builddir_sub
3667
    ac_abs_top_srcdir=$ac_pwd ;;
3668
  [\\/]* | ?:[\\/]* )  # Absolute name.
3669
    ac_srcdir=$srcdir$ac_dir_suffix;
3670
    ac_top_srcdir=$srcdir
3671
    ac_abs_top_srcdir=$srcdir ;;
3672
  *) # Relative name.
3673
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3674
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3675
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3676
esac
3677
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3678
3679
 
3680
 
3681
  :F)
3682
  #
3683
  # CONFIG_FILE
3684
  #
3685
3686
 
3687
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3688
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3689
  esac
3690
_ACEOF
3691
3692
 
3693
# If the template does not know about datarootdir, expand it.
3694
# FIXME: This hack should be removed a few years after 2.60.
3695
ac_datarootdir_hack=; ac_datarootdir_seen=
3696
3697
 
3698
/datarootdir/ {
3699
  p
3700
  q
3701
}
3702
/@datadir@/p
3703
/@docdir@/p
3704
/@infodir@/p
3705
/@localedir@/p
3706
/@mandir@/p
3707
'
3708
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3709
*datarootdir*) ac_datarootdir_seen=yes;;
3710
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3711
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3712
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3713
_ACEOF
3714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3715
  ac_datarootdir_hack='
3716
  s&@datadir@&$datadir&g
3717
  s&@docdir@&$docdir&g
3718
  s&@infodir@&$infodir&g
3719
  s&@localedir@&$localedir&g
3720
  s&@mandir@&$mandir&g
3721
    s&\\\${datarootdir}&$datarootdir&g' ;;
3722
esac
3723
_ACEOF
3724
3725
 
3726
# Shell code in configure.ac might set extrasub.
3727
# FIXME: do we really want to maintain this feature?
3728
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3729
ac_sed_extra="$ac_vpsub
3730
$extrasub
3731
_ACEOF
3732
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3733
:t
3734
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3735
s|@configure_input@|$ac_sed_conf_input|;t t
3736
s&@top_builddir@&$ac_top_builddir_sub&;t t
3737
s&@top_build_prefix@&$ac_top_build_prefix&;t t
3738
s&@srcdir@&$ac_srcdir&;t t
3739
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3740
s&@top_srcdir@&$ac_top_srcdir&;t t
3741
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3742
s&@builddir@&$ac_builddir&;t t
3743
s&@abs_builddir@&$ac_abs_builddir&;t t
3744
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3745
s&@INSTALL@&$ac_INSTALL&;t t
3746
$ac_datarootdir_hack
3747
"
3748
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3749
if $ac_cs_awk_getline; then
3750
  $AWK -f "$tmp/subs.awk"
3751
else
3752
  $AWK -f "$tmp/subs.awk" | $SHELL
3753
fi >$tmp/out \
3754
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3755
$as_echo "$as_me: error: could not create $ac_file" >&2;}
3756
   { (exit 1); exit 1; }; }
3757
3758
 
3759
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3760
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3761
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3762
which seems to be undefined.  Please make sure it is defined." >&5
3763
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3764
which seems to be undefined.  Please make sure it is defined." >&2;}
3765
3766
 
3767
  case $ac_file in
3768
  -) cat "$tmp/out" && rm -f "$tmp/out";;
3769
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3770
  esac \
3771
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3772
$as_echo "$as_me: error: could not create $ac_file" >&2;}
3773
   { (exit 1); exit 1; }; }
3774
 ;;
3775
3776
 
3777
 
3778
$as_echo "$as_me: executing $ac_file commands" >&6;}
3779
 ;;
3780
  esac
3781
3782
 
3783
 
3784
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3785
  # Strip MF so we end up with the name of the file.
3786
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3787
  # Check whether this is an Automake generated Makefile or not.
3788
  # We used to match only the files named `Makefile.in', but
3789
  # some people rename them; so instead we look at the file content.
3790
  # Grep'ing the first line is not enough: some people post-process
3791
  # each Makefile.in and add a new line on top of each file to say so.
3792
  # So let's grep whole file.
3793
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3794
    dirpart=`$as_dirname -- "$mf" ||
3795
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3796
         X"$mf" : 'X\(//\)[^/]' \| \
3797
         X"$mf" : 'X\(//\)$' \| \
3798
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3799
$as_echo X"$mf" |
3800
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3801
            s//\1/
3802
            q
3803
          }
3804
          /^X\(\/\/\)[^/].*/{
3805
            s//\1/
3806
            q
3807
          }
3808
          /^X\(\/\/\)$/{
3809
            s//\1/
3810
            q
3811
          }
3812
          /^X\(\/\).*/{
3813
            s//\1/
3814
            q
3815
          }
3816
          s/.*/./; q'`
3817
  else
3818
    continue
3819
  fi
3820
  # Extract the definition of DEPDIR, am__include, and am__quote
3821
  # from the Makefile without running `make'.
3822
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3823
  test -z "$DEPDIR" && continue
3824
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
3825
  test -z "am__include" && continue
3826
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3827
  # When using ansi2knr, U may be empty or an underscore; expand it
3828
  U=`sed -n 's/^U = //p' < "$mf"`
3829
  # Find all dependency output files, they are included files with
3830
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
3831
  # simplest approach to changing $(DEPDIR) to its actual value in the
3832
  # expansion.
3833
  for file in `sed -n "
3834
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3835
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3836
    # Make sure the directory exists.
3837
    test -f "$dirpart/$file" && continue
3838
    fdir=`$as_dirname -- "$file" ||
3839
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3840
         X"$file" : 'X\(//\)[^/]' \| \
3841
         X"$file" : 'X\(//\)$' \| \
3842
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3843
$as_echo X"$file" |
3844
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3845
            s//\1/
3846
            q
3847
          }
3848
          /^X\(\/\/\)[^/].*/{
3849
            s//\1/
3850
            q
3851
          }
3852
          /^X\(\/\/\)$/{
3853
            s//\1/
3854
            q
3855
          }
3856
          /^X\(\/\).*/{
3857
            s//\1/
3858
            q
3859
          }
3860
          s/.*/./; q'`
3861
    { as_dir=$dirpart/$fdir
3862
  case $as_dir in #(
3863
  -*) as_dir=./$as_dir;;
3864
  esac
3865
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3866
    as_dirs=
3867
    while :; do
3868
      case $as_dir in #(
3869
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3870
      *) as_qdir=$as_dir;;
3871
      esac
3872
      as_dirs="'$as_qdir' $as_dirs"
3873
      as_dir=`$as_dirname -- "$as_dir" ||
3874
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3875
         X"$as_dir" : 'X\(//\)[^/]' \| \
3876
         X"$as_dir" : 'X\(//\)$' \| \
3877
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3878
$as_echo X"$as_dir" |
3879
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3880
            s//\1/
3881
            q
3882
          }
3883
          /^X\(\/\/\)[^/].*/{
3884
            s//\1/
3885
            q
3886
          }
3887
          /^X\(\/\/\)$/{
3888
            s//\1/
3889
            q
3890
          }
3891
          /^X\(\/\).*/{
3892
            s//\1/
3893
            q
3894
          }
3895
          s/.*/./; q'`
3896
      test -d "$as_dir" && break
3897
    done
3898
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3899
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3900
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3901
   { (exit 1); exit 1; }; }; }
3902
    # echo "creating $dirpart/$file"
3903
    echo '# dummy' > "$dirpart/$file"
3904
  done
3905
done
3906
 ;;
3907
    "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3908
3909
 
3910
done # for ac_tag
3911
3912
 
3913
 
3914
_ACEOF
3915
chmod +x $CONFIG_STATUS
3916
ac_clean_files=$ac_clean_files_save
3917
3918
 
3919
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3920
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3921
   { (exit 1); exit 1; }; }
3922
3923
 
3924
 
3925
# config.status does its own redirection, appending to config.log.
3926
# Unfortunately, on DOS this fails, as config.log is still kept open
3927
# by configure, so config.status won't be able to write to it; its
3928
# output is simply discarded.  So we exec the FD to /dev/null,
3929
# effectively closing config.log, so it can be properly (re)opened and
3930
# appended to by config.status.  When coming back to configure, we
3931
# need to make the FD available again.
3932
if test "$no_create" != yes; then
3933
  ac_cs_success=:
3934
  ac_config_status_args=
3935
  test "$silent" = yes &&
3936
    ac_config_status_args="$ac_config_status_args --quiet"
3937
  exec 5>/dev/null
3938
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3939
  exec 5>>config.log
3940
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3941
  # would make configure fail if this is the last instruction.
3942
  $ac_cs_success || { (exit 1); exit 1; }
3943
fi
3944
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3945
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3946
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3947
fi
3948
3949
 

powered by: WebSVN 2.1.0

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