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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [doc/] [configure] - Blame information for rev 840

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="porting.texi"
580
ac_subst_vars='SHELL
581
PATH_SEPARATOR
582
PACKAGE_NAME
583
PACKAGE_TARNAME
584
PACKAGE_VERSION
585
PACKAGE_STRING
586
PACKAGE_BUGREPORT
587
exec_prefix
588
prefix
589
program_transform_name
590
bindir
591
sbindir
592
libexecdir
593
datarootdir
594
datadir
595
sysconfdir
596
sharedstatedir
597
localstatedir
598
includedir
599
oldincludedir
600
docdir
601
infodir
602
htmldir
603
dvidir
604
pdfdir
605
psdir
606
libdir
607
localedir
608
mandir
609
DEFS
610
ECHO_C
611
ECHO_N
612
ECHO_T
613
LIBS
614
build_alias
615
host_alias
616
target_alias
617
INSTALL_PROGRAM
618
INSTALL_SCRIPT
619
INSTALL_DATA
620
LIBOBJS
621
LTLIBOBJS'
622
ac_subst_files=''
623
      ac_precious_vars='build_alias
624
host_alias
625
target_alias'
626
 
627
 
628
# Initialize some variables set by options.
629
ac_init_help=
630
ac_init_version=false
631
# The variables have the same names as the options, with
632
# dashes changed to underlines.
633
cache_file=/dev/null
634
exec_prefix=NONE
635
no_create=
636
no_recursion=
637
prefix=NONE
638
program_prefix=NONE
639
program_suffix=NONE
640
program_transform_name=s,x,x,
641
silent=
642
site=
643
srcdir=
644
verbose=
645
x_includes=NONE
646
x_libraries=NONE
647
 
648
# Installation directory options.
649
# These are left unexpanded so users can "make install exec_prefix=/foo"
650
# and all the variables that are supposed to be based on exec_prefix
651
# by default will actually change.
652
# Use braces instead of parens because sh, perl, etc. also accept them.
653
# (The list follows the same order as the GNU Coding Standards.)
654
bindir='${exec_prefix}/bin'
655
sbindir='${exec_prefix}/sbin'
656
libexecdir='${exec_prefix}/libexec'
657
datarootdir='${prefix}/share'
658
datadir='${datarootdir}'
659
sysconfdir='${prefix}/etc'
660
sharedstatedir='${prefix}/com'
661
localstatedir='${prefix}/var'
662
includedir='${prefix}/include'
663
oldincludedir='/usr/include'
664
docdir='${datarootdir}/doc/${PACKAGE}'
665
infodir='${datarootdir}/info'
666
htmldir='${docdir}'
667
dvidir='${docdir}'
668
pdfdir='${docdir}'
669
psdir='${docdir}'
670
libdir='${exec_prefix}/lib'
671
localedir='${datarootdir}/locale'
672
mandir='${datarootdir}/man'
673
 
674
ac_prev=
675
ac_dashdash=
676
for ac_option
677
do
678
  # If the previous option needs an argument, assign it.
679
  if test -n "$ac_prev"; then
680
    eval $ac_prev=\$ac_option
681
    ac_prev=
682
    continue
683
  fi
684
 
685
  case $ac_option in
686
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
687
  *)    ac_optarg=yes ;;
688
  esac
689
 
690
  # Accept the important Cygnus configure options, so we can diagnose typos.
691
 
692
  case $ac_dashdash$ac_option in
693
  --)
694
    ac_dashdash=yes ;;
695
 
696
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
697
    ac_prev=bindir ;;
698
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
699
    bindir=$ac_optarg ;;
700
 
701
  -build | --build | --buil | --bui | --bu)
702
    ac_prev=build_alias ;;
703
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
704
    build_alias=$ac_optarg ;;
705
 
706
  -cache-file | --cache-file | --cache-fil | --cache-fi \
707
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
708
    ac_prev=cache_file ;;
709
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
710
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
711
    cache_file=$ac_optarg ;;
712
 
713
  --config-cache | -C)
714
    cache_file=config.cache ;;
715
 
716
  -datadir | --datadir | --datadi | --datad)
717
    ac_prev=datadir ;;
718
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
719
    datadir=$ac_optarg ;;
720
 
721
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
722
  | --dataroo | --dataro | --datar)
723
    ac_prev=datarootdir ;;
724
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
725
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
726
    datarootdir=$ac_optarg ;;
727
 
728
  -disable-* | --disable-*)
729
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
730
    # Reject names that are not valid shell variable names.
731
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
732
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
733
   { (exit 1); exit 1; }; }
734
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
735
    eval enable_$ac_feature=no ;;
736
 
737
  -docdir | --docdir | --docdi | --doc | --do)
738
    ac_prev=docdir ;;
739
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
740
    docdir=$ac_optarg ;;
741
 
742
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
743
    ac_prev=dvidir ;;
744
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
745
    dvidir=$ac_optarg ;;
746
 
747
  -enable-* | --enable-*)
748
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
749
    # Reject names that are not valid shell variable names.
750
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
751
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752
   { (exit 1); exit 1; }; }
753
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
754
    eval enable_$ac_feature=\$ac_optarg ;;
755
 
756
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
757
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
758
  | --exec | --exe | --ex)
759
    ac_prev=exec_prefix ;;
760
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
761
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
762
  | --exec=* | --exe=* | --ex=*)
763
    exec_prefix=$ac_optarg ;;
764
 
765
  -gas | --gas | --ga | --g)
766
    # Obsolete; use --with-gas.
767
    with_gas=yes ;;
768
 
769
  -help | --help | --hel | --he | -h)
770
    ac_init_help=long ;;
771
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
772
    ac_init_help=recursive ;;
773
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
774
    ac_init_help=short ;;
775
 
776
  -host | --host | --hos | --ho)
777
    ac_prev=host_alias ;;
778
  -host=* | --host=* | --hos=* | --ho=*)
779
    host_alias=$ac_optarg ;;
780
 
781
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
782
    ac_prev=htmldir ;;
783
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
784
  | --ht=*)
785
    htmldir=$ac_optarg ;;
786
 
787
  -includedir | --includedir | --includedi | --included | --include \
788
  | --includ | --inclu | --incl | --inc)
789
    ac_prev=includedir ;;
790
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
791
  | --includ=* | --inclu=* | --incl=* | --inc=*)
792
    includedir=$ac_optarg ;;
793
 
794
  -infodir | --infodir | --infodi | --infod | --info | --inf)
795
    ac_prev=infodir ;;
796
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
797
    infodir=$ac_optarg ;;
798
 
799
  -libdir | --libdir | --libdi | --libd)
800
    ac_prev=libdir ;;
801
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
802
    libdir=$ac_optarg ;;
803
 
804
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
805
  | --libexe | --libex | --libe)
806
    ac_prev=libexecdir ;;
807
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
808
  | --libexe=* | --libex=* | --libe=*)
809
    libexecdir=$ac_optarg ;;
810
 
811
  -localedir | --localedir | --localedi | --localed | --locale)
812
    ac_prev=localedir ;;
813
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
814
    localedir=$ac_optarg ;;
815
 
816
  -localstatedir | --localstatedir | --localstatedi | --localstated \
817
  | --localstate | --localstat | --localsta | --localst | --locals)
818
    ac_prev=localstatedir ;;
819
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
820
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
821
    localstatedir=$ac_optarg ;;
822
 
823
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
824
    ac_prev=mandir ;;
825
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
826
    mandir=$ac_optarg ;;
827
 
828
  -nfp | --nfp | --nf)
829
    # Obsolete; use --without-fp.
830
    with_fp=no ;;
831
 
832
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833
  | --no-cr | --no-c | -n)
834
    no_create=yes ;;
835
 
836
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
837
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
838
    no_recursion=yes ;;
839
 
840
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
841
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
842
  | --oldin | --oldi | --old | --ol | --o)
843
    ac_prev=oldincludedir ;;
844
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
845
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
846
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
847
    oldincludedir=$ac_optarg ;;
848
 
849
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
850
    ac_prev=prefix ;;
851
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
852
    prefix=$ac_optarg ;;
853
 
854
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
855
  | --program-pre | --program-pr | --program-p)
856
    ac_prev=program_prefix ;;
857
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
858
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
859
    program_prefix=$ac_optarg ;;
860
 
861
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
862
  | --program-suf | --program-su | --program-s)
863
    ac_prev=program_suffix ;;
864
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
865
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
866
    program_suffix=$ac_optarg ;;
867
 
868
  -program-transform-name | --program-transform-name \
869
  | --program-transform-nam | --program-transform-na \
870
  | --program-transform-n | --program-transform- \
871
  | --program-transform | --program-transfor \
872
  | --program-transfo | --program-transf \
873
  | --program-trans | --program-tran \
874
  | --progr-tra | --program-tr | --program-t)
875
    ac_prev=program_transform_name ;;
876
  -program-transform-name=* | --program-transform-name=* \
877
  | --program-transform-nam=* | --program-transform-na=* \
878
  | --program-transform-n=* | --program-transform-=* \
879
  | --program-transform=* | --program-transfor=* \
880
  | --program-transfo=* | --program-transf=* \
881
  | --program-trans=* | --program-tran=* \
882
  | --progr-tra=* | --program-tr=* | --program-t=*)
883
    program_transform_name=$ac_optarg ;;
884
 
885
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
886
    ac_prev=pdfdir ;;
887
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
888
    pdfdir=$ac_optarg ;;
889
 
890
  -psdir | --psdir | --psdi | --psd | --ps)
891
    ac_prev=psdir ;;
892
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
893
    psdir=$ac_optarg ;;
894
 
895
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
896
  | -silent | --silent | --silen | --sile | --sil)
897
    silent=yes ;;
898
 
899
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
900
    ac_prev=sbindir ;;
901
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
902
  | --sbi=* | --sb=*)
903
    sbindir=$ac_optarg ;;
904
 
905
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
906
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
907
  | --sharedst | --shareds | --shared | --share | --shar \
908
  | --sha | --sh)
909
    ac_prev=sharedstatedir ;;
910
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
911
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
912
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
913
  | --sha=* | --sh=*)
914
    sharedstatedir=$ac_optarg ;;
915
 
916
  -site | --site | --sit)
917
    ac_prev=site ;;
918
  -site=* | --site=* | --sit=*)
919
    site=$ac_optarg ;;
920
 
921
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
922
    ac_prev=srcdir ;;
923
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
924
    srcdir=$ac_optarg ;;
925
 
926
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
927
  | --syscon | --sysco | --sysc | --sys | --sy)
928
    ac_prev=sysconfdir ;;
929
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
930
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
931
    sysconfdir=$ac_optarg ;;
932
 
933
  -target | --target | --targe | --targ | --tar | --ta | --t)
934
    ac_prev=target_alias ;;
935
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
936
    target_alias=$ac_optarg ;;
937
 
938
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
939
    verbose=yes ;;
940
 
941
  -version | --version | --versio | --versi | --vers | -V)
942
    ac_init_version=: ;;
943
 
944
  -with-* | --with-*)
945
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
946
    # Reject names that are not valid shell variable names.
947
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
948
      { echo "$as_me: error: invalid package name: $ac_package" >&2
949
   { (exit 1); exit 1; }; }
950
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
951
    eval with_$ac_package=\$ac_optarg ;;
952
 
953
  -without-* | --without-*)
954
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
955
    # Reject names that are not valid shell variable names.
956
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
957
      { echo "$as_me: error: invalid package name: $ac_package" >&2
958
   { (exit 1); exit 1; }; }
959
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
960
    eval with_$ac_package=no ;;
961
 
962
  --x)
963
    # Obsolete; use --with-x.
964
    with_x=yes ;;
965
 
966
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
967
  | --x-incl | --x-inc | --x-in | --x-i)
968
    ac_prev=x_includes ;;
969
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
970
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
971
    x_includes=$ac_optarg ;;
972
 
973
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
974
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
975
    ac_prev=x_libraries ;;
976
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
977
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
978
    x_libraries=$ac_optarg ;;
979
 
980
  -*) { echo "$as_me: error: unrecognized option: $ac_option
981
Try \`$0 --help' for more information." >&2
982
   { (exit 1); exit 1; }; }
983
    ;;
984
 
985
  *=*)
986
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
987
    # Reject names that are not valid shell variable names.
988
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
989
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
990
   { (exit 1); exit 1; }; }
991
    eval $ac_envvar=\$ac_optarg
992
    export $ac_envvar ;;
993
 
994
  *)
995
    # FIXME: should be removed in autoconf 3.0.
996
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
997
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
998
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
999
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1000
    ;;
1001
 
1002
  esac
1003
done
1004
 
1005
if test -n "$ac_prev"; then
1006
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1007
  { echo "$as_me: error: missing argument to $ac_option" >&2
1008
   { (exit 1); exit 1; }; }
1009
fi
1010
 
1011
# Be sure to have absolute directory names.
1012
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1013
                datadir sysconfdir sharedstatedir localstatedir includedir \
1014
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1015
                libdir localedir mandir
1016
do
1017
  eval ac_val=\$$ac_var
1018
  case $ac_val in
1019
    [\\/$]* | ?:[\\/]* )  continue;;
1020
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1021
  esac
1022
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1023
   { (exit 1); exit 1; }; }
1024
done
1025
 
1026
# There might be people who depend on the old broken behavior: `$host'
1027
# used to hold the argument of --host etc.
1028
# FIXME: To remove some day.
1029
build=$build_alias
1030
host=$host_alias
1031
target=$target_alias
1032
 
1033
# FIXME: To remove some day.
1034
if test "x$host_alias" != x; then
1035
  if test "x$build_alias" = x; then
1036
    cross_compiling=maybe
1037
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1038
    If a cross compiler is detected then cross compile mode will be used." >&2
1039
  elif test "x$build_alias" != "x$host_alias"; then
1040
    cross_compiling=yes
1041
  fi
1042
fi
1043
 
1044
ac_tool_prefix=
1045
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1046
 
1047
test "$silent" = yes && exec 6>/dev/null
1048
 
1049
 
1050
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1051
ac_ls_di=`ls -di .` &&
1052
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1053
  { echo "$as_me: error: Working directory cannot be determined" >&2
1054
   { (exit 1); exit 1; }; }
1055
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1056
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1057
   { (exit 1); exit 1; }; }
1058
 
1059
 
1060
# Find the source files, if location was not specified.
1061
if test -z "$srcdir"; then
1062
  ac_srcdir_defaulted=yes
1063
  # Try the directory containing this script, then the parent directory.
1064
  ac_confdir=`$as_dirname -- "$0" ||
1065
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1066
         X"$0" : 'X\(//\)[^/]' \| \
1067
         X"$0" : 'X\(//\)$' \| \
1068
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1069
echo X"$0" |
1070
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1071
            s//\1/
1072
            q
1073
          }
1074
          /^X\(\/\/\)[^/].*/{
1075
            s//\1/
1076
            q
1077
          }
1078
          /^X\(\/\/\)$/{
1079
            s//\1/
1080
            q
1081
          }
1082
          /^X\(\/\).*/{
1083
            s//\1/
1084
            q
1085
          }
1086
          s/.*/./; q'`
1087
  srcdir=$ac_confdir
1088
  if test ! -r "$srcdir/$ac_unique_file"; then
1089
    srcdir=..
1090
  fi
1091
else
1092
  ac_srcdir_defaulted=no
1093
fi
1094
if test ! -r "$srcdir/$ac_unique_file"; then
1095
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1096
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1097
   { (exit 1); exit 1; }; }
1098
fi
1099
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1100
ac_abs_confdir=`(
1101
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1102
   { (exit 1); exit 1; }; }
1103
        pwd)`
1104
# When building in place, set srcdir=.
1105
if test "$ac_abs_confdir" = "$ac_pwd"; then
1106
  srcdir=.
1107
fi
1108
# Remove unnecessary trailing slashes from srcdir.
1109
# Double slashes in file names in object file debugging info
1110
# mess up M-x gdb in Emacs.
1111
case $srcdir in
1112
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1113
esac
1114
for ac_var in $ac_precious_vars; do
1115
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1116
  eval ac_env_${ac_var}_value=\$${ac_var}
1117
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1118
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1119
done
1120
 
1121
#
1122
# Report the --help message.
1123
#
1124
if test "$ac_init_help" = "long"; then
1125
  # Omit some internal or obsolete options to make the list less imposing.
1126
  # This message is too long to be a string in the A/UX 3.1 sh.
1127
  cat <<_ACEOF
1128
\`configure' configures this package to adapt to many kinds of systems.
1129
 
1130
Usage: $0 [OPTION]... [VAR=VALUE]...
1131
 
1132
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1133
VAR=VALUE.  See below for descriptions of some of the useful variables.
1134
 
1135
Defaults for the options are specified in brackets.
1136
 
1137
Configuration:
1138
  -h, --help              display this help and exit
1139
      --help=short        display options specific to this package
1140
      --help=recursive    display the short help of all the included packages
1141
  -V, --version           display version information and exit
1142
  -q, --quiet, --silent   do not print \`checking...' messages
1143
      --cache-file=FILE   cache test results in FILE [disabled]
1144
  -C, --config-cache      alias for \`--cache-file=config.cache'
1145
  -n, --no-create         do not create output files
1146
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1147
 
1148
Installation directories:
1149
  --prefix=PREFIX         install architecture-independent files in PREFIX
1150
                          [$ac_default_prefix]
1151
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1152
                          [PREFIX]
1153
 
1154
By default, \`make install' will install all the files in
1155
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1156
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1157
for instance \`--prefix=\$HOME'.
1158
 
1159
For better control, use the options below.
1160
 
1161
Fine tuning of the installation directories:
1162
  --bindir=DIR           user executables [EPREFIX/bin]
1163
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1164
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1165
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1166
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1167
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1168
  --libdir=DIR           object code libraries [EPREFIX/lib]
1169
  --includedir=DIR       C header files [PREFIX/include]
1170
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1171
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1172
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1173
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1174
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1175
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1176
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1177
  --htmldir=DIR          html documentation [DOCDIR]
1178
  --dvidir=DIR           dvi documentation [DOCDIR]
1179
  --pdfdir=DIR           pdf documentation [DOCDIR]
1180
  --psdir=DIR            ps documentation [DOCDIR]
1181
_ACEOF
1182
 
1183
  cat <<\_ACEOF
1184
_ACEOF
1185
fi
1186
 
1187
if test -n "$ac_init_help"; then
1188
 
1189
  cat <<\_ACEOF
1190
 
1191
_ACEOF
1192
ac_status=$?
1193
fi
1194
 
1195
if test "$ac_init_help" = "recursive"; then
1196
  # If there are subdirs, report their specific --help.
1197
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1198
    test -d "$ac_dir" || continue
1199
    ac_builddir=.
1200
 
1201
case "$ac_dir" in
1202
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1203
*)
1204
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1205
  # A ".." for each directory in $ac_dir_suffix.
1206
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1207
  case $ac_top_builddir_sub in
1208
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1209
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1210
  esac ;;
1211
esac
1212
ac_abs_top_builddir=$ac_pwd
1213
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1214
# for backward compatibility:
1215
ac_top_builddir=$ac_top_build_prefix
1216
 
1217
case $srcdir in
1218
  .)  # We are building in place.
1219
    ac_srcdir=.
1220
    ac_top_srcdir=$ac_top_builddir_sub
1221
    ac_abs_top_srcdir=$ac_pwd ;;
1222
  [\\/]* | ?:[\\/]* )  # Absolute name.
1223
    ac_srcdir=$srcdir$ac_dir_suffix;
1224
    ac_top_srcdir=$srcdir
1225
    ac_abs_top_srcdir=$srcdir ;;
1226
  *) # Relative name.
1227
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1228
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1229
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1230
esac
1231
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1232
 
1233
    cd "$ac_dir" || { ac_status=$?; continue; }
1234
    # Check for guested configure.
1235
    if test -f "$ac_srcdir/configure.gnu"; then
1236
      echo &&
1237
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1238
    elif test -f "$ac_srcdir/configure"; then
1239
      echo &&
1240
      $SHELL "$ac_srcdir/configure" --help=recursive
1241
    else
1242
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1243
    fi || ac_status=$?
1244
    cd "$ac_pwd" || { ac_status=$?; break; }
1245
  done
1246
fi
1247
 
1248
test -n "$ac_init_help" && exit $ac_status
1249
if $ac_init_version; then
1250
  cat <<\_ACEOF
1251
configure
1252
generated by GNU Autoconf 2.61
1253
 
1254
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1255
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1256
This configure script is free software; the Free Software Foundation
1257
gives unlimited permission to copy, distribute and modify it.
1258
_ACEOF
1259
  exit
1260
fi
1261
cat >config.log <<_ACEOF
1262
This file contains any messages produced by compilers while
1263
running configure, to aid debugging if configure makes a mistake.
1264
 
1265
It was created by $as_me, which was
1266
generated by GNU Autoconf 2.61.  Invocation command line was
1267
 
1268
  $ $0 $@
1269
 
1270
_ACEOF
1271
exec 5>>config.log
1272
{
1273
cat <<_ASUNAME
1274
## --------- ##
1275
## Platform. ##
1276
## --------- ##
1277
 
1278
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1279
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1280
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1281
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1282
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1283
 
1284
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1285
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1286
 
1287
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1288
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1289
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1290
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1291
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1292
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1293
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1294
 
1295
_ASUNAME
1296
 
1297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1298
for as_dir in $PATH
1299
do
1300
  IFS=$as_save_IFS
1301
  test -z "$as_dir" && as_dir=.
1302
  echo "PATH: $as_dir"
1303
done
1304
IFS=$as_save_IFS
1305
 
1306
} >&5
1307
 
1308
cat >&5 <<_ACEOF
1309
 
1310
 
1311
## ----------- ##
1312
## Core tests. ##
1313
## ----------- ##
1314
 
1315
_ACEOF
1316
 
1317
 
1318
# Keep a trace of the command line.
1319
# Strip out --no-create and --no-recursion so they do not pile up.
1320
# Strip out --silent because we don't want to record it for future runs.
1321
# Also quote any args containing shell meta-characters.
1322
# Make two passes to allow for proper duplicate-argument suppression.
1323
ac_configure_args=
1324
ac_configure_args0=
1325
ac_configure_args1=
1326
ac_must_keep_next=false
1327
for ac_pass in 1 2
1328
do
1329
  for ac_arg
1330
  do
1331
    case $ac_arg in
1332
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1333
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1334
    | -silent | --silent | --silen | --sile | --sil)
1335
      continue ;;
1336
    *\'*)
1337
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1338
    esac
1339
    case $ac_pass in
1340
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1341
    2)
1342
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1343
      if test $ac_must_keep_next = true; then
1344
        ac_must_keep_next=false # Got value, back to normal.
1345
      else
1346
        case $ac_arg in
1347
          *=* | --config-cache | -C | -disable-* | --disable-* \
1348
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1349
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1350
          | -with-* | --with-* | -without-* | --without-* | --x)
1351
            case "$ac_configure_args0 " in
1352
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1353
            esac
1354
            ;;
1355
          -* ) ac_must_keep_next=true ;;
1356
        esac
1357
      fi
1358
      ac_configure_args="$ac_configure_args '$ac_arg'"
1359
      ;;
1360
    esac
1361
  done
1362
done
1363
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1364
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1365
 
1366
# When interrupted or exit'd, cleanup temporary files, and complete
1367
# config.log.  We remove comments because anyway the quotes in there
1368
# would cause problems or look ugly.
1369
# WARNING: Use '\'' to represent an apostrophe within the trap.
1370
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1371
trap 'exit_status=$?
1372
  # Save into config.log some information that might help in debugging.
1373
  {
1374
    echo
1375
 
1376
    cat <<\_ASBOX
1377
## ---------------- ##
1378
## Cache variables. ##
1379
## ---------------- ##
1380
_ASBOX
1381
    echo
1382
    # The following way of writing the cache mishandles newlines in values,
1383
(
1384
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1385
    eval ac_val=\$$ac_var
1386
    case $ac_val in #(
1387
    *${as_nl}*)
1388
      case $ac_var in #(
1389
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1390
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1391
      esac
1392
      case $ac_var in #(
1393
      _ | IFS | as_nl) ;; #(
1394
      *) $as_unset $ac_var ;;
1395
      esac ;;
1396
    esac
1397
  done
1398
  (set) 2>&1 |
1399
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1400
    *${as_nl}ac_space=\ *)
1401
      sed -n \
1402
        "s/'\''/'\''\\\\'\'''\''/g;
1403
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1404
      ;; #(
1405
    *)
1406
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1407
      ;;
1408
    esac |
1409
    sort
1410
)
1411
    echo
1412
 
1413
    cat <<\_ASBOX
1414
## ----------------- ##
1415
## Output variables. ##
1416
## ----------------- ##
1417
_ASBOX
1418
    echo
1419
    for ac_var in $ac_subst_vars
1420
    do
1421
      eval ac_val=\$$ac_var
1422
      case $ac_val in
1423
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1424
      esac
1425
      echo "$ac_var='\''$ac_val'\''"
1426
    done | sort
1427
    echo
1428
 
1429
    if test -n "$ac_subst_files"; then
1430
      cat <<\_ASBOX
1431
## ------------------- ##
1432
## File substitutions. ##
1433
## ------------------- ##
1434
_ASBOX
1435
      echo
1436
      for ac_var in $ac_subst_files
1437
      do
1438
        eval ac_val=\$$ac_var
1439
        case $ac_val in
1440
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1441
        esac
1442
        echo "$ac_var='\''$ac_val'\''"
1443
      done | sort
1444
      echo
1445
    fi
1446
 
1447
    if test -s confdefs.h; then
1448
      cat <<\_ASBOX
1449
## ----------- ##
1450
## confdefs.h. ##
1451
## ----------- ##
1452
_ASBOX
1453
      echo
1454
      cat confdefs.h
1455
      echo
1456
    fi
1457
    test "$ac_signal" != 0 &&
1458
      echo "$as_me: caught signal $ac_signal"
1459
    echo "$as_me: exit $exit_status"
1460
  } >&5
1461
  rm -f core *.core core.conftest.* &&
1462
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1463
    exit $exit_status
1464
' 0
1465
for ac_signal in 1 2 13 15; do
1466
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1467
done
1468
ac_signal=0
1469
 
1470
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1471
rm -f -r conftest* confdefs.h
1472
 
1473
# Predefined preprocessor variables.
1474
 
1475
cat >>confdefs.h <<_ACEOF
1476
#define PACKAGE_NAME "$PACKAGE_NAME"
1477
_ACEOF
1478
 
1479
 
1480
cat >>confdefs.h <<_ACEOF
1481
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1482
_ACEOF
1483
 
1484
 
1485
cat >>confdefs.h <<_ACEOF
1486
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1487
_ACEOF
1488
 
1489
 
1490
cat >>confdefs.h <<_ACEOF
1491
#define PACKAGE_STRING "$PACKAGE_STRING"
1492
_ACEOF
1493
 
1494
 
1495
cat >>confdefs.h <<_ACEOF
1496
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1497
_ACEOF
1498
 
1499
 
1500
# Let the site file select an alternate cache file if it wants to.
1501
# Prefer explicitly selected file to automatically selected ones.
1502
if test -n "$CONFIG_SITE"; then
1503
  set x "$CONFIG_SITE"
1504
elif test "x$prefix" != xNONE; then
1505
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1506
else
1507
  set x "$ac_default_prefix/share/config.site" \
1508
        "$ac_default_prefix/etc/config.site"
1509
fi
1510
shift
1511
for ac_site_file
1512
do
1513
  if test -r "$ac_site_file"; then
1514
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1515
echo "$as_me: loading site script $ac_site_file" >&6;}
1516
    sed 's/^/| /' "$ac_site_file" >&5
1517
    . "$ac_site_file"
1518
  fi
1519
done
1520
 
1521
if test -r "$cache_file"; then
1522
  # Some versions of bash will fail to source /dev/null (special
1523
  # files actually), so we avoid doing that.
1524
  if test -f "$cache_file"; then
1525
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1526
echo "$as_me: loading cache $cache_file" >&6;}
1527
    case $cache_file in
1528
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1529
      *)                      . "./$cache_file";;
1530
    esac
1531
  fi
1532
else
1533
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1534
echo "$as_me: creating cache $cache_file" >&6;}
1535
  >$cache_file
1536
fi
1537
 
1538
# Check that the precious variables saved in the cache have kept the same
1539
# value.
1540
ac_cache_corrupted=false
1541
for ac_var in $ac_precious_vars; do
1542
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1543
  eval ac_new_set=\$ac_env_${ac_var}_set
1544
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1545
  eval ac_new_val=\$ac_env_${ac_var}_value
1546
  case $ac_old_set,$ac_new_set in
1547
    set,)
1548
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1549
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1550
      ac_cache_corrupted=: ;;
1551
    ,set)
1552
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1553
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1554
      ac_cache_corrupted=: ;;
1555
    ,);;
1556
    *)
1557
      if test "x$ac_old_val" != "x$ac_new_val"; then
1558
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1559
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1560
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1561
echo "$as_me:   former value:  $ac_old_val" >&2;}
1562
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1563
echo "$as_me:   current value: $ac_new_val" >&2;}
1564
        ac_cache_corrupted=:
1565
      fi;;
1566
  esac
1567
  # Pass precious variables to config.status.
1568
  if test "$ac_new_set" = set; then
1569
    case $ac_new_val in
1570
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1571
    *) ac_arg=$ac_var=$ac_new_val ;;
1572
    esac
1573
    case " $ac_configure_args " in
1574
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1575
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1576
    esac
1577
  fi
1578
done
1579
if $ac_cache_corrupted; then
1580
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1581
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1582
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1583
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1584
   { (exit 1); exit 1; }; }
1585
fi
1586
 
1587
 
1588
 
1589
 
1590
 
1591
 
1592
 
1593
 
1594
 
1595
 
1596
 
1597
 
1598
 
1599
 
1600
 
1601
 
1602
 
1603
ac_ext=c
1604
ac_cpp='$CPP $CPPFLAGS'
1605
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1606
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1607
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1608
 
1609
 
1610
 
1611
if test "$srcdir" = "." ; then
1612
  mdir=`echo "${with_multisubdir}/" \
1613
    | sed -e 's,\([^/][^/]*\),..,g' -e 's,^/$,,'`
1614
  ac_aux_dir=
1615
for ac_dir in ${mdir}../../.. "$srcdir"/${mdir}../../..; do
1616
  if test -f "$ac_dir/install-sh"; then
1617
    ac_aux_dir=$ac_dir
1618
    ac_install_sh="$ac_aux_dir/install-sh -c"
1619
    break
1620
  elif test -f "$ac_dir/install.sh"; then
1621
    ac_aux_dir=$ac_dir
1622
    ac_install_sh="$ac_aux_dir/install.sh -c"
1623
    break
1624
  elif test -f "$ac_dir/shtool"; then
1625
    ac_aux_dir=$ac_dir
1626
    ac_install_sh="$ac_aux_dir/shtool install -c"
1627
    break
1628
  fi
1629
done
1630
if test -z "$ac_aux_dir"; then
1631
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&5
1632
echo "$as_me: error: cannot find install-sh or install.sh in ${mdir}../../.. \"$srcdir\"/${mdir}../../.." >&2;}
1633
   { (exit 1); exit 1; }; }
1634
fi
1635
 
1636
# These three variables are undocumented and unsupported,
1637
# and are intended to be withdrawn in a future Autoconf release.
1638
# They can cause serious problems if a builder's source tree is in a directory
1639
# whose full name contains unusual characters.
1640
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1641
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1642
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1643
 
1644
 
1645
else
1646
  ac_aux_dir=
1647
for ac_dir in ${srcdir}/../.. "$srcdir"/${srcdir}/../..; do
1648
  if test -f "$ac_dir/install-sh"; then
1649
    ac_aux_dir=$ac_dir
1650
    ac_install_sh="$ac_aux_dir/install-sh -c"
1651
    break
1652
  elif test -f "$ac_dir/install.sh"; then
1653
    ac_aux_dir=$ac_dir
1654
    ac_install_sh="$ac_aux_dir/install.sh -c"
1655
    break
1656
  elif test -f "$ac_dir/shtool"; then
1657
    ac_aux_dir=$ac_dir
1658
    ac_install_sh="$ac_aux_dir/shtool install -c"
1659
    break
1660
  fi
1661
done
1662
if test -z "$ac_aux_dir"; then
1663
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&5
1664
echo "$as_me: error: cannot find install-sh or install.sh in ${srcdir}/../.. \"$srcdir\"/${srcdir}/../.." >&2;}
1665
   { (exit 1); exit 1; }; }
1666
fi
1667
 
1668
# These three variables are undocumented and unsupported,
1669
# and are intended to be withdrawn in a future Autoconf release.
1670
# They can cause serious problems if a builder's source tree is in a directory
1671
# whose full name contains unusual characters.
1672
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1673
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1674
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1675
 
1676
 
1677
fi
1678
 
1679
# Find a good install program.  We prefer a C program (faster),
1680
# so one script is as good as another.  But avoid the broken or
1681
# incompatible versions:
1682
# SysV /etc/install, /usr/sbin/install
1683
# SunOS /usr/etc/install
1684
# IRIX /sbin/install
1685
# AIX /bin/install
1686
# AmigaOS /C/install, which installs bootblocks on floppy discs
1687
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1688
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1689
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1690
# OS/2's system install, which has a completely different semantic
1691
# ./install, which can be erroneously created by make from ./install.sh.
1692
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1693
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1694
if test -z "$INSTALL"; then
1695
if test "${ac_cv_path_install+set}" = set; then
1696
  echo $ECHO_N "(cached) $ECHO_C" >&6
1697
else
1698
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699
for as_dir in $PATH
1700
do
1701
  IFS=$as_save_IFS
1702
  test -z "$as_dir" && as_dir=.
1703
  # Account for people who put trailing slashes in PATH elements.
1704
case $as_dir/ in
1705
  ./ | .// | /cC/* | \
1706
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1707
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1708
  /usr/ucb/* ) ;;
1709
  *)
1710
    # OSF1 and SCO ODT 3.0 have their own names for install.
1711
    # Don't use installbsd from OSF since it installs stuff as root
1712
    # by default.
1713
    for ac_prog in ginstall scoinst install; do
1714
      for ac_exec_ext in '' $ac_executable_extensions; do
1715
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1716
          if test $ac_prog = install &&
1717
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1718
            # AIX install.  It has an incompatible calling convention.
1719
            :
1720
          elif test $ac_prog = install &&
1721
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1722
            # program-specific install script used by HP pwplus--don't use.
1723
            :
1724
          else
1725
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1726
            break 3
1727
          fi
1728
        fi
1729
      done
1730
    done
1731
    ;;
1732
esac
1733
done
1734
IFS=$as_save_IFS
1735
 
1736
 
1737
fi
1738
  if test "${ac_cv_path_install+set}" = set; then
1739
    INSTALL=$ac_cv_path_install
1740
  else
1741
    # As a last resort, use the slow shell script.  Don't cache a
1742
    # value for INSTALL within a source directory, because that will
1743
    # break other packages using the cache if that directory is
1744
    # removed, or if the value is a relative name.
1745
    INSTALL=$ac_install_sh
1746
  fi
1747
fi
1748
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1749
echo "${ECHO_T}$INSTALL" >&6; }
1750
 
1751
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1752
# It thinks the first close brace ends the variable substitution.
1753
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1754
 
1755
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1756
 
1757
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1758
 
1759
 
1760
ac_config_files="$ac_config_files Makefile"
1761
 
1762
cat >confcache <<\_ACEOF
1763
# This file is a shell script that caches the results of configure
1764
# tests run on this system so they can be shared between configure
1765
# scripts and configure runs, see configure's option --config-cache.
1766
# It is not useful on other systems.  If it contains results you don't
1767
# want to keep, you may remove or edit it.
1768
#
1769
# config.status only pays attention to the cache file if you give it
1770
# the --recheck option to rerun configure.
1771
#
1772
# `ac_cv_env_foo' variables (set or unset) will be overridden when
1773
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1774
# following values.
1775
 
1776
_ACEOF
1777
 
1778
# The following way of writing the cache mishandles newlines in values,
1779
# but we know of no workaround that is simple, portable, and efficient.
1780
# So, we kill variables containing newlines.
1781
# Ultrix sh set writes to stderr and can't be redirected directly,
1782
# and sets the high bit in the cache file unless we assign to the vars.
1783
(
1784
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1785
    eval ac_val=\$$ac_var
1786
    case $ac_val in #(
1787
    *${as_nl}*)
1788
      case $ac_var in #(
1789
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1790
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1791
      esac
1792
      case $ac_var in #(
1793
      _ | IFS | as_nl) ;; #(
1794
      *) $as_unset $ac_var ;;
1795
      esac ;;
1796
    esac
1797
  done
1798
 
1799
  (set) 2>&1 |
1800
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1801
    *${as_nl}ac_space=\ *)
1802
      # `set' does not quote correctly, so add quotes (double-quote
1803
      # substitution turns \\\\ into \\, and sed turns \\ into \).
1804
      sed -n \
1805
        "s/'/'\\\\''/g;
1806
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1807
      ;; #(
1808
    *)
1809
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1810
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1811
      ;;
1812
    esac |
1813
    sort
1814
) |
1815
  sed '
1816
     /^ac_cv_env_/b end
1817
     t clear
1818
     :clear
1819
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1820
     t end
1821
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1822
     :end' >>confcache
1823
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1824
  if test -w "$cache_file"; then
1825
    test "x$cache_file" != "x/dev/null" &&
1826
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
1827
echo "$as_me: updating cache $cache_file" >&6;}
1828
    cat confcache >$cache_file
1829
  else
1830
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1831
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1832
  fi
1833
fi
1834
rm -f confcache
1835
 
1836
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1837
# Let make expand exec_prefix.
1838
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1839
 
1840
# Transform confdefs.h into DEFS.
1841
# Protect against shell expansion while executing Makefile rules.
1842
# Protect against Makefile macro expansion.
1843
#
1844
# If the first sed substitution is executed (which looks for macros that
1845
# take arguments), then branch to the quote section.  Otherwise,
1846
# look for a macro that doesn't take arguments.
1847
ac_script='
1848
t clear
1849
:clear
1850
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1851
t quote
1852
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1853
t quote
1854
b any
1855
:quote
1856
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1857
s/\[/\\&/g
1858
s/\]/\\&/g
1859
s/\$/$$/g
1860
H
1861
:any
1862
${
1863
        g
1864
        s/^\n//
1865
        s/\n/ /g
1866
        p
1867
}
1868
'
1869
DEFS=`sed -n "$ac_script" confdefs.h`
1870
 
1871
 
1872
ac_libobjs=
1873
ac_ltlibobjs=
1874
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1875
  # 1. Remove the extension, and $U if already installed.
1876
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1877
  ac_i=`echo "$ac_i" | sed "$ac_script"`
1878
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
1879
  #    will be set to the directory where LIBOBJS objects are built.
1880
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1881
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1882
done
1883
LIBOBJS=$ac_libobjs
1884
 
1885
LTLIBOBJS=$ac_ltlibobjs
1886
 
1887
 
1888
 
1889
: ${CONFIG_STATUS=./config.status}
1890
ac_clean_files_save=$ac_clean_files
1891
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1892
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1893
echo "$as_me: creating $CONFIG_STATUS" >&6;}
1894
cat >$CONFIG_STATUS <<_ACEOF
1895
#! $SHELL
1896
# Generated by $as_me.
1897
# Run this file to recreate the current configuration.
1898
# Compiler output produced by configure, useful for debugging
1899
# configure, is in config.log if it exists.
1900
 
1901
debug=false
1902
ac_cs_recheck=false
1903
ac_cs_silent=false
1904
SHELL=\${CONFIG_SHELL-$SHELL}
1905
_ACEOF
1906
 
1907
cat >>$CONFIG_STATUS <<\_ACEOF
1908
## --------------------- ##
1909
## M4sh Initialization.  ##
1910
## --------------------- ##
1911
 
1912
# Be more Bourne compatible
1913
DUALCASE=1; export DUALCASE # for MKS sh
1914
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1915
  emulate sh
1916
  NULLCMD=:
1917
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1918
  # is contrary to our usage.  Disable this feature.
1919
  alias -g '${1+"$@"}'='"$@"'
1920
  setopt NO_GLOB_SUBST
1921
else
1922
  case `(set -o) 2>/dev/null` in
1923
  *posix*) set -o posix ;;
1924
esac
1925
 
1926
fi
1927
 
1928
 
1929
 
1930
 
1931
# PATH needs CR
1932
# Avoid depending upon Character Ranges.
1933
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1934
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1935
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1936
as_cr_digits='0123456789'
1937
as_cr_alnum=$as_cr_Letters$as_cr_digits
1938
 
1939
# The user is always right.
1940
if test "${PATH_SEPARATOR+set}" != set; then
1941
  echo "#! /bin/sh" >conf$$.sh
1942
  echo  "exit 0"   >>conf$$.sh
1943
  chmod +x conf$$.sh
1944
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1945
    PATH_SEPARATOR=';'
1946
  else
1947
    PATH_SEPARATOR=:
1948
  fi
1949
  rm -f conf$$.sh
1950
fi
1951
 
1952
# Support unset when possible.
1953
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1954
  as_unset=unset
1955
else
1956
  as_unset=false
1957
fi
1958
 
1959
 
1960
# IFS
1961
# We need space, tab and new line, in precisely that order.  Quoting is
1962
# there to prevent editors from complaining about space-tab.
1963
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
1964
# splitting by setting IFS to empty value.)
1965
as_nl='
1966
'
1967
IFS=" ""        $as_nl"
1968
 
1969
# Find who we are.  Look in the path if we contain no directory separator.
1970
case $0 in
1971
  *[\\/]* ) as_myself=$0 ;;
1972
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973
for as_dir in $PATH
1974
do
1975
  IFS=$as_save_IFS
1976
  test -z "$as_dir" && as_dir=.
1977
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1978
done
1979
IFS=$as_save_IFS
1980
 
1981
     ;;
1982
esac
1983
# We did not find ourselves, most probably we were run as `sh COMMAND'
1984
# in which case we are not to be found in the path.
1985
if test "x$as_myself" = x; then
1986
  as_myself=$0
1987
fi
1988
if test ! -f "$as_myself"; then
1989
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1990
  { (exit 1); exit 1; }
1991
fi
1992
 
1993
# Work around bugs in pre-3.0 UWIN ksh.
1994
for as_var in ENV MAIL MAILPATH
1995
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1996
done
1997
PS1='$ '
1998
PS2='> '
1999
PS4='+ '
2000
 
2001
# NLS nuisances.
2002
for as_var in \
2003
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2004
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2005
  LC_TELEPHONE LC_TIME
2006
do
2007
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2008
    eval $as_var=C; export $as_var
2009
  else
2010
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2011
  fi
2012
done
2013
 
2014
# Required to use basename.
2015
if expr a : '\(a\)' >/dev/null 2>&1 &&
2016
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2017
  as_expr=expr
2018
else
2019
  as_expr=false
2020
fi
2021
 
2022
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2023
  as_basename=basename
2024
else
2025
  as_basename=false
2026
fi
2027
 
2028
 
2029
# Name of the executable.
2030
as_me=`$as_basename -- "$0" ||
2031
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2032
         X"$0" : 'X\(//\)$' \| \
2033
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2034
echo X/"$0" |
2035
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2036
            s//\1/
2037
            q
2038
          }
2039
          /^X\/\(\/\/\)$/{
2040
            s//\1/
2041
            q
2042
          }
2043
          /^X\/\(\/\).*/{
2044
            s//\1/
2045
            q
2046
          }
2047
          s/.*/./; q'`
2048
 
2049
# CDPATH.
2050
$as_unset CDPATH
2051
 
2052
 
2053
 
2054
  as_lineno_1=$LINENO
2055
  as_lineno_2=$LINENO
2056
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2057
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2058
 
2059
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2060
  # uniformly replaced by the line number.  The first 'sed' inserts a
2061
  # line-number line after each line using $LINENO; the second 'sed'
2062
  # does the real work.  The second script uses 'N' to pair each
2063
  # line-number line with the line containing $LINENO, and appends
2064
  # trailing '-' during substitution so that $LINENO is not a special
2065
  # case at line end.
2066
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2067
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2068
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2069
  sed -n '
2070
    p
2071
    /[$]LINENO/=
2072
  ' <$as_myself |
2073
    sed '
2074
      s/[$]LINENO.*/&-/
2075
      t lineno
2076
      b
2077
      :lineno
2078
      N
2079
      :loop
2080
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2081
      t loop
2082
      s/-\n.*//
2083
    ' >$as_me.lineno &&
2084
  chmod +x "$as_me.lineno" ||
2085
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2086
   { (exit 1); exit 1; }; }
2087
 
2088
  # Don't try to exec as it changes $[0], causing all sort of problems
2089
  # (the dirname of $[0] is not the place where we might find the
2090
  # original and so on.  Autoconf is especially sensitive to this).
2091
  . "./$as_me.lineno"
2092
  # Exit status is that of the last command.
2093
  exit
2094
}
2095
 
2096
 
2097
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2098
  as_dirname=dirname
2099
else
2100
  as_dirname=false
2101
fi
2102
 
2103
ECHO_C= ECHO_N= ECHO_T=
2104
case `echo -n x` in
2105
-n*)
2106
  case `echo 'x\c'` in
2107
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2108
  *)   ECHO_C='\c';;
2109
  esac;;
2110
*)
2111
  ECHO_N='-n';;
2112
esac
2113
 
2114
if expr a : '\(a\)' >/dev/null 2>&1 &&
2115
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2116
  as_expr=expr
2117
else
2118
  as_expr=false
2119
fi
2120
 
2121
rm -f conf$$ conf$$.exe conf$$.file
2122
if test -d conf$$.dir; then
2123
  rm -f conf$$.dir/conf$$.file
2124
else
2125
  rm -f conf$$.dir
2126
  mkdir conf$$.dir
2127
fi
2128
echo >conf$$.file
2129
if ln -s conf$$.file conf$$ 2>/dev/null; then
2130
  as_ln_s='ln -s'
2131
  # ... but there are two gotchas:
2132
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2133
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2134
  # In both cases, we have to default to `cp -p'.
2135
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2136
    as_ln_s='cp -p'
2137
elif ln conf$$.file conf$$ 2>/dev/null; then
2138
  as_ln_s=ln
2139
else
2140
  as_ln_s='cp -p'
2141
fi
2142
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2143
rmdir conf$$.dir 2>/dev/null
2144
 
2145
if mkdir -p . 2>/dev/null; then
2146
  as_mkdir_p=:
2147
else
2148
  test -d ./-p && rmdir ./-p
2149
  as_mkdir_p=false
2150
fi
2151
 
2152
if test -x / >/dev/null 2>&1; then
2153
  as_test_x='test -x'
2154
else
2155
  if ls -dL / >/dev/null 2>&1; then
2156
    as_ls_L_option=L
2157
  else
2158
    as_ls_L_option=
2159
  fi
2160
  as_test_x='
2161
    eval sh -c '\''
2162
      if test -d "$1"; then
2163
        test -d "$1/.";
2164
      else
2165
        case $1 in
2166
        -*)set "./$1";;
2167
        esac;
2168
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2169
        ???[sx]*):;;*)false;;esac;fi
2170
    '\'' sh
2171
  '
2172
fi
2173
as_executable_p=$as_test_x
2174
 
2175
# Sed expression to map a string onto a valid CPP name.
2176
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2177
 
2178
# Sed expression to map a string onto a valid variable name.
2179
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2180
 
2181
 
2182
exec 6>&1
2183
 
2184
# Save the log message, to keep $[0] and so on meaningful, and to
2185
# report actual input values of CONFIG_FILES etc. instead of their
2186
# values after options handling.
2187
ac_log="
2188
This file was extended by $as_me, which was
2189
generated by GNU Autoconf 2.61.  Invocation command line was
2190
 
2191
  CONFIG_FILES    = $CONFIG_FILES
2192
  CONFIG_HEADERS  = $CONFIG_HEADERS
2193
  CONFIG_LINKS    = $CONFIG_LINKS
2194
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2195
  $ $0 $@
2196
 
2197
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2198
"
2199
 
2200
_ACEOF
2201
 
2202
cat >>$CONFIG_STATUS <<_ACEOF
2203
# Files that config.status was made for.
2204
config_files="$ac_config_files"
2205
 
2206
_ACEOF
2207
 
2208
cat >>$CONFIG_STATUS <<\_ACEOF
2209
ac_cs_usage="\
2210
\`$as_me' instantiates files from templates according to the
2211
current configuration.
2212
 
2213
Usage: $0 [OPTIONS] [FILE]...
2214
 
2215
  -h, --help       print this help, then exit
2216
  -V, --version    print version number and configuration settings, then exit
2217
  -q, --quiet      do not print progress messages
2218
  -d, --debug      don't remove temporary files
2219
      --recheck    update $as_me by reconfiguring in the same conditions
2220
  --file=FILE[:TEMPLATE]
2221
                   instantiate the configuration file FILE
2222
 
2223
Configuration files:
2224
$config_files
2225
 
2226
Report bugs to ."
2227
 
2228
_ACEOF
2229
cat >>$CONFIG_STATUS <<_ACEOF
2230
ac_cs_version="\\
2231
config.status
2232
configured by $0, generated by GNU Autoconf 2.61,
2233
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2234
 
2235
Copyright (C) 2006 Free Software Foundation, Inc.
2236
This config.status script is free software; the Free Software Foundation
2237
gives unlimited permission to copy, distribute and modify it."
2238
 
2239
ac_pwd='$ac_pwd'
2240
srcdir='$srcdir'
2241
INSTALL='$INSTALL'
2242
_ACEOF
2243
 
2244
cat >>$CONFIG_STATUS <<\_ACEOF
2245
# If no file are specified by the user, then we need to provide default
2246
# value.  By we need to know if files were specified by the user.
2247
ac_need_defaults=:
2248
while test $# != 0
2249
do
2250
  case $1 in
2251
  --*=*)
2252
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2253
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2254
    ac_shift=:
2255
    ;;
2256
  *)
2257
    ac_option=$1
2258
    ac_optarg=$2
2259
    ac_shift=shift
2260
    ;;
2261
  esac
2262
 
2263
  case $ac_option in
2264
  # Handling of the options.
2265
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2266
    ac_cs_recheck=: ;;
2267
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2268
    echo "$ac_cs_version"; exit ;;
2269
  --debug | --debu | --deb | --de | --d | -d )
2270
    debug=: ;;
2271
  --file | --fil | --fi | --f )
2272
    $ac_shift
2273
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2274
    ac_need_defaults=false;;
2275
  --he | --h |  --help | --hel | -h )
2276
    echo "$ac_cs_usage"; exit ;;
2277
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2278
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2279
    ac_cs_silent=: ;;
2280
 
2281
  # This is an error.
2282
  -*) { echo "$as_me: error: unrecognized option: $1
2283
Try \`$0 --help' for more information." >&2
2284
   { (exit 1); exit 1; }; } ;;
2285
 
2286
  *) ac_config_targets="$ac_config_targets $1"
2287
     ac_need_defaults=false ;;
2288
 
2289
  esac
2290
  shift
2291
done
2292
 
2293
ac_configure_extra_args=
2294
 
2295
if $ac_cs_silent; then
2296
  exec 6>/dev/null
2297
  ac_configure_extra_args="$ac_configure_extra_args --silent"
2298
fi
2299
 
2300
_ACEOF
2301
cat >>$CONFIG_STATUS <<_ACEOF
2302
if \$ac_cs_recheck; then
2303
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2304
  CONFIG_SHELL=$SHELL
2305
  export CONFIG_SHELL
2306
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2307
fi
2308
 
2309
_ACEOF
2310
cat >>$CONFIG_STATUS <<\_ACEOF
2311
exec 5>>config.log
2312
{
2313
  echo
2314
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2315
## Running $as_me. ##
2316
_ASBOX
2317
  echo "$ac_log"
2318
} >&5
2319
 
2320
_ACEOF
2321
cat >>$CONFIG_STATUS <<_ACEOF
2322
_ACEOF
2323
 
2324
cat >>$CONFIG_STATUS <<\_ACEOF
2325
 
2326
# Handling of arguments.
2327
for ac_config_target in $ac_config_targets
2328
do
2329
  case $ac_config_target in
2330
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2331
 
2332
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2333
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2334
   { (exit 1); exit 1; }; };;
2335
  esac
2336
done
2337
 
2338
 
2339
# If the user did not use the arguments to specify the items to instantiate,
2340
# then the envvar interface is used.  Set only those that are not.
2341
# We use the long form for the default assignment because of an extremely
2342
# bizarre bug on SunOS 4.1.3.
2343
if $ac_need_defaults; then
2344
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2345
fi
2346
 
2347
# Have a temporary directory for convenience.  Make it in the build tree
2348
# simply because there is no reason against having it here, and in addition,
2349
# creating and moving files from /tmp can sometimes cause problems.
2350
# Hook for its removal unless debugging.
2351
# Note that there is a small window in which the directory will not be cleaned:
2352
# after its creation but before its name has been assigned to `$tmp'.
2353
$debug ||
2354
{
2355
  tmp=
2356
  trap 'exit_status=$?
2357
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2358
' 0
2359
  trap '{ (exit 1); exit 1; }' 1 2 13 15
2360
}
2361
# Create a (secure) tmp directory for tmp files.
2362
 
2363
{
2364
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2365
  test -n "$tmp" && test -d "$tmp"
2366
}  ||
2367
{
2368
  tmp=./conf$$-$RANDOM
2369
  (umask 077 && mkdir "$tmp")
2370
} ||
2371
{
2372
   echo "$me: cannot create a temporary directory in ." >&2
2373
   { (exit 1); exit 1; }
2374
}
2375
 
2376
#
2377
# Set up the sed scripts for CONFIG_FILES section.
2378
#
2379
 
2380
# No need to generate the scripts if there are no CONFIG_FILES.
2381
# This happens for instance when ./config.status config.h
2382
if test -n "$CONFIG_FILES"; then
2383
 
2384
_ACEOF
2385
 
2386
 
2387
 
2388
ac_delim='%!_!# '
2389
for ac_last_try in false false false false false :; do
2390
  cat >conf$$subs.sed <<_ACEOF
2391
SHELL!$SHELL$ac_delim
2392
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2393
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2394
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2395
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2396
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2397
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2398
exec_prefix!$exec_prefix$ac_delim
2399
prefix!$prefix$ac_delim
2400
program_transform_name!$program_transform_name$ac_delim
2401
bindir!$bindir$ac_delim
2402
sbindir!$sbindir$ac_delim
2403
libexecdir!$libexecdir$ac_delim
2404
datarootdir!$datarootdir$ac_delim
2405
datadir!$datadir$ac_delim
2406
sysconfdir!$sysconfdir$ac_delim
2407
sharedstatedir!$sharedstatedir$ac_delim
2408
localstatedir!$localstatedir$ac_delim
2409
includedir!$includedir$ac_delim
2410
oldincludedir!$oldincludedir$ac_delim
2411
docdir!$docdir$ac_delim
2412
infodir!$infodir$ac_delim
2413
htmldir!$htmldir$ac_delim
2414
dvidir!$dvidir$ac_delim
2415
pdfdir!$pdfdir$ac_delim
2416
psdir!$psdir$ac_delim
2417
libdir!$libdir$ac_delim
2418
localedir!$localedir$ac_delim
2419
mandir!$mandir$ac_delim
2420
DEFS!$DEFS$ac_delim
2421
ECHO_C!$ECHO_C$ac_delim
2422
ECHO_N!$ECHO_N$ac_delim
2423
ECHO_T!$ECHO_T$ac_delim
2424
LIBS!$LIBS$ac_delim
2425
build_alias!$build_alias$ac_delim
2426
host_alias!$host_alias$ac_delim
2427
target_alias!$target_alias$ac_delim
2428
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2429
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2430
INSTALL_DATA!$INSTALL_DATA$ac_delim
2431
LIBOBJS!$LIBOBJS$ac_delim
2432
LTLIBOBJS!$LTLIBOBJS$ac_delim
2433
_ACEOF
2434
 
2435
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
2436
    break
2437
  elif $ac_last_try; then
2438
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2439
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2440
   { (exit 1); exit 1; }; }
2441
  else
2442
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2443
  fi
2444
done
2445
 
2446
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2447
if test -n "$ac_eof"; then
2448
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2449
  ac_eof=`expr $ac_eof + 1`
2450
fi
2451
 
2452
cat >>$CONFIG_STATUS <<_ACEOF
2453
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2454
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2455
_ACEOF
2456
sed '
2457
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2458
s/^/s,@/; s/!/@,|#_!!_#|/
2459
:n
2460
t n
2461
s/'"$ac_delim"'$/,g/; t
2462
s/$/\\/; p
2463
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2464
' >>$CONFIG_STATUS 
2465
rm -f conf$$subs.sed
2466
cat >>$CONFIG_STATUS <<_ACEOF
2467
:end
2468
s/|#_!!_#|//g
2469
CEOF$ac_eof
2470
_ACEOF
2471
 
2472
 
2473
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2474
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2475
# trailing colons and then remove the whole line if VPATH becomes empty
2476
# (actually we leave an empty line to preserve line numbers).
2477
if test "x$srcdir" = x.; then
2478
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2479
s/:*\$(srcdir):*/:/
2480
s/:*\${srcdir}:*/:/
2481
s/:*@srcdir@:*/:/
2482
s/^\([^=]*=[     ]*\):*/\1/
2483
s/:*$//
2484
s/^[^=]*=[       ]*$//
2485
}'
2486
fi
2487
 
2488
cat >>$CONFIG_STATUS <<\_ACEOF
2489
fi # test -n "$CONFIG_FILES"
2490
 
2491
 
2492
for ac_tag in  :F $CONFIG_FILES
2493
do
2494
  case $ac_tag in
2495
  :[FHLC]) ac_mode=$ac_tag; continue;;
2496
  esac
2497
  case $ac_mode$ac_tag in
2498
  :[FHL]*:*);;
2499
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2500
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2501
   { (exit 1); exit 1; }; };;
2502
  :[FH]-) ac_tag=-:-;;
2503
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2504
  esac
2505
  ac_save_IFS=$IFS
2506
  IFS=:
2507
  set x $ac_tag
2508
  IFS=$ac_save_IFS
2509
  shift
2510
  ac_file=$1
2511
  shift
2512
 
2513
  case $ac_mode in
2514
  :L) ac_source=$1;;
2515
  :[FH])
2516
    ac_file_inputs=
2517
    for ac_f
2518
    do
2519
      case $ac_f in
2520
      -) ac_f="$tmp/stdin";;
2521
      *) # Look for the file first in the build tree, then in the source tree
2522
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2523
         # because $ac_f cannot contain `:'.
2524
         test -f "$ac_f" ||
2525
           case $ac_f in
2526
           [\\/$]*) false;;
2527
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2528
           esac ||
2529
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2530
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2531
   { (exit 1); exit 1; }; };;
2532
      esac
2533
      ac_file_inputs="$ac_file_inputs $ac_f"
2534
    done
2535
 
2536
    # Let's still pretend it is `configure' which instantiates (i.e., don't
2537
    # use $as_me), people would be surprised to read:
2538
    #    /* config.h.  Generated by config.status.  */
2539
    configure_input="Generated from "`IFS=:
2540
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2541
    if test x"$ac_file" != x-; then
2542
      configure_input="$ac_file.  $configure_input"
2543
      { echo "$as_me:$LINENO: creating $ac_file" >&5
2544
echo "$as_me: creating $ac_file" >&6;}
2545
    fi
2546
 
2547
    case $ac_tag in
2548
    *:-:* | *:-) cat >"$tmp/stdin";;
2549
    esac
2550
    ;;
2551
  esac
2552
 
2553
  ac_dir=`$as_dirname -- "$ac_file" ||
2554
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2555
         X"$ac_file" : 'X\(//\)[^/]' \| \
2556
         X"$ac_file" : 'X\(//\)$' \| \
2557
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2558
echo X"$ac_file" |
2559
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2560
            s//\1/
2561
            q
2562
          }
2563
          /^X\(\/\/\)[^/].*/{
2564
            s//\1/
2565
            q
2566
          }
2567
          /^X\(\/\/\)$/{
2568
            s//\1/
2569
            q
2570
          }
2571
          /^X\(\/\).*/{
2572
            s//\1/
2573
            q
2574
          }
2575
          s/.*/./; q'`
2576
  { as_dir="$ac_dir"
2577
  case $as_dir in #(
2578
  -*) as_dir=./$as_dir;;
2579
  esac
2580
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2581
    as_dirs=
2582
    while :; do
2583
      case $as_dir in #(
2584
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2585
      *) as_qdir=$as_dir;;
2586
      esac
2587
      as_dirs="'$as_qdir' $as_dirs"
2588
      as_dir=`$as_dirname -- "$as_dir" ||
2589
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2590
         X"$as_dir" : 'X\(//\)[^/]' \| \
2591
         X"$as_dir" : 'X\(//\)$' \| \
2592
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2593
echo X"$as_dir" |
2594
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2595
            s//\1/
2596
            q
2597
          }
2598
          /^X\(\/\/\)[^/].*/{
2599
            s//\1/
2600
            q
2601
          }
2602
          /^X\(\/\/\)$/{
2603
            s//\1/
2604
            q
2605
          }
2606
          /^X\(\/\).*/{
2607
            s//\1/
2608
            q
2609
          }
2610
          s/.*/./; q'`
2611
      test -d "$as_dir" && break
2612
    done
2613
    test -z "$as_dirs" || eval "mkdir $as_dirs"
2614
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2615
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2616
   { (exit 1); exit 1; }; }; }
2617
  ac_builddir=.
2618
 
2619
case "$ac_dir" in
2620
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2621
*)
2622
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2623
  # A ".." for each directory in $ac_dir_suffix.
2624
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2625
  case $ac_top_builddir_sub in
2626
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2627
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2628
  esac ;;
2629
esac
2630
ac_abs_top_builddir=$ac_pwd
2631
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2632
# for backward compatibility:
2633
ac_top_builddir=$ac_top_build_prefix
2634
 
2635
case $srcdir in
2636
  .)  # We are building in place.
2637
    ac_srcdir=.
2638
    ac_top_srcdir=$ac_top_builddir_sub
2639
    ac_abs_top_srcdir=$ac_pwd ;;
2640
  [\\/]* | ?:[\\/]* )  # Absolute name.
2641
    ac_srcdir=$srcdir$ac_dir_suffix;
2642
    ac_top_srcdir=$srcdir
2643
    ac_abs_top_srcdir=$srcdir ;;
2644
  *) # Relative name.
2645
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2646
    ac_top_srcdir=$ac_top_build_prefix$srcdir
2647
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2648
esac
2649
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2650
 
2651
 
2652
  case $ac_mode in
2653
  :F)
2654
  #
2655
  # CONFIG_FILE
2656
  #
2657
 
2658
  case $INSTALL in
2659
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2660
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2661
  esac
2662
_ACEOF
2663
 
2664
cat >>$CONFIG_STATUS <<\_ACEOF
2665
# If the template does not know about datarootdir, expand it.
2666
# FIXME: This hack should be removed a few years after 2.60.
2667
ac_datarootdir_hack=; ac_datarootdir_seen=
2668
 
2669
case `sed -n '/datarootdir/ {
2670
  p
2671
  q
2672
}
2673
/@datadir@/p
2674
/@docdir@/p
2675
/@infodir@/p
2676
/@localedir@/p
2677
/@mandir@/p
2678
' $ac_file_inputs` in
2679
*datarootdir*) ac_datarootdir_seen=yes;;
2680
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2681
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2682
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2683
_ACEOF
2684
cat >>$CONFIG_STATUS <<_ACEOF
2685
  ac_datarootdir_hack='
2686
  s&@datadir@&$datadir&g
2687
  s&@docdir@&$docdir&g
2688
  s&@infodir@&$infodir&g
2689
  s&@localedir@&$localedir&g
2690
  s&@mandir@&$mandir&g
2691
    s&\\\${datarootdir}&$datarootdir&g' ;;
2692
esac
2693
_ACEOF
2694
 
2695
# Neutralize VPATH when `$srcdir' = `.'.
2696
# Shell code in configure.ac might set extrasub.
2697
# FIXME: do we really want to maintain this feature?
2698
cat >>$CONFIG_STATUS <<_ACEOF
2699
  sed "$ac_vpsub
2700
$extrasub
2701
_ACEOF
2702
cat >>$CONFIG_STATUS <<\_ACEOF
2703
:t
2704
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2705
s&@configure_input@&$configure_input&;t t
2706
s&@top_builddir@&$ac_top_builddir_sub&;t t
2707
s&@srcdir@&$ac_srcdir&;t t
2708
s&@abs_srcdir@&$ac_abs_srcdir&;t t
2709
s&@top_srcdir@&$ac_top_srcdir&;t t
2710
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2711
s&@builddir@&$ac_builddir&;t t
2712
s&@abs_builddir@&$ac_abs_builddir&;t t
2713
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2714
s&@INSTALL@&$ac_INSTALL&;t t
2715
$ac_datarootdir_hack
2716
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2717
 
2718
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2719
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2720
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2721
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2722
which seems to be undefined.  Please make sure it is defined." >&5
2723
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2724
which seems to be undefined.  Please make sure it is defined." >&2;}
2725
 
2726
  rm -f "$tmp/stdin"
2727
  case $ac_file in
2728
  -) cat "$tmp/out"; rm -f "$tmp/out";;
2729
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2730
  esac
2731
 ;;
2732
 
2733
 
2734
 
2735
  esac
2736
 
2737
done # for ac_tag
2738
 
2739
 
2740
{ (exit 0); exit 0; }
2741
_ACEOF
2742
chmod +x $CONFIG_STATUS
2743
ac_clean_files=$ac_clean_files_save
2744
 
2745
 
2746
# configure is writing to config.log, and then calls config.status.
2747
# config.status does its own redirection, appending to config.log.
2748
# Unfortunately, on DOS this fails, as config.log is still kept open
2749
# by configure, so config.status won't be able to write to it; its
2750
# output is simply discarded.  So we exec the FD to /dev/null,
2751
# effectively closing config.log, so it can be properly (re)opened and
2752
# appended to by config.status.  When coming back to configure, we
2753
# need to make the FD available again.
2754
if test "$no_create" != yes; then
2755
  ac_cs_success=:
2756
  ac_config_status_args=
2757
  test "$silent" = yes &&
2758
    ac_config_status_args="$ac_config_status_args --quiet"
2759
  exec 5>/dev/null
2760
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2761
  exec 5>>config.log
2762
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2763
  # would make configure fail if this is the last instruction.
2764
  $ac_cs_success || { (exit 1); exit 1; }
2765
fi
2766
 

powered by: WebSVN 2.1.0

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