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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [watchdog/] [synth/] [current/] [host/] [configure] - Blame information for rev 808

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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