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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [sparc/] [libsys/] [configure] - Blame information for rev 816

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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