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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [wince/] [configure] - Blame information for rev 455

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

powered by: WebSVN 2.1.0

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