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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [synth/] [arch/] [current/] [host/] [configure] - Blame information for rev 786

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="ecosynth.c"
602
ac_subst_vars='am__EXEEXT_FALSE
603
am__EXEEXT_TRUE
604
LTLIBOBJS
605
LIBOBJS
606
SUPPORTED_FALSE
607
SUPPORTED_TRUE
608
PACKAGE_INSTALL
609
PACKAGE_DIR
610
ECOS_REPOSITORY
611
ecos_tk_libs
612
ecos_tk_includes
613
MSVC_FALSE
614
MSVC_TRUE
615
MSVC_SRCDIR
616
ecos_LIBS
617
ecos_INCLUDES
618
ecos_LDADD
619
ecos_CXXFLAGS
620
ecos_CFLAGS
621
am__fastdepCXX_FALSE
622
am__fastdepCXX_TRUE
623
CXXDEPMODE
624
ac_ct_CXX
625
CXXFLAGS
626
CXX
627
am__fastdepCC_FALSE
628
am__fastdepCC_TRUE
629
CCDEPMODE
630
AMDEPBACKSLASH
631
AMDEP_FALSE
632
AMDEP_TRUE
633
am__quote
634
am__include
635
DEPDIR
636
OBJEXT
637
EXEEXT
638
ac_ct_CC
639
CPPFLAGS
640
LDFLAGS
641
CFLAGS
642
CC
643
MAINT
644
MAINTAINER_MODE_FALSE
645
MAINTAINER_MODE_TRUE
646
am__untar
647
am__tar
648
AMTAR
649
am__leading_dot
650
SET_MAKE
651
AWK
652
mkdir_p
653
MKDIR_P
654
INSTALL_STRIP_PROGRAM
655
STRIP
656
install_sh
657
MAKEINFO
658
AUTOHEADER
659
AUTOMAKE
660
AUTOCONF
661
ACLOCAL
662
VERSION
663
PACKAGE
664
CYGPATH_W
665
am__isrc
666
INSTALL_DATA
667
INSTALL_SCRIPT
668
INSTALL_PROGRAM
669
host_os
670
host_vendor
671
host_cpu
672
host
673
build_os
674
build_vendor
675
build_cpu
676
build
677
target_alias
678
host_alias
679
build_alias
680
LIBS
681
ECHO_T
682
ECHO_N
683
ECHO_C
684
DEFS
685
mandir
686
localedir
687
libdir
688
psdir
689
pdfdir
690
dvidir
691
htmldir
692
infodir
693
docdir
694
oldincludedir
695
includedir
696
localstatedir
697
sharedstatedir
698
sysconfdir
699
datadir
700
datarootdir
701
libexecdir
702
sbindir
703
bindir
704
program_transform_name
705
prefix
706
exec_prefix
707
PACKAGE_BUGREPORT
708
PACKAGE_STRING
709
PACKAGE_VERSION
710
PACKAGE_TARNAME
711
PACKAGE_NAME
712
PATH_SEPARATOR
713
SHELL'
714
ac_subst_files=''
715
ac_user_opts='
716
enable_option_checking
717
enable_maintainer_mode
718
enable_dependency_tracking
719
enable_debug
720
enable_ansi
721
with_tcl
722
with_tcl_version
723
with_tcl_header
724
with_tcl_lib
725
'
726
      ac_precious_vars='build_alias
727
host_alias
728
target_alias
729
CC
730
CFLAGS
731
LDFLAGS
732
LIBS
733
CPPFLAGS
734
CXX
735
CXXFLAGS
736
CCC'
737
 
738
 
739
# Initialize some variables set by options.
740
ac_init_help=
741
ac_init_version=false
742
ac_unrecognized_opts=
743
ac_unrecognized_sep=
744
# The variables have the same names as the options, with
745
# dashes changed to underlines.
746
cache_file=/dev/null
747
exec_prefix=NONE
748
no_create=
749
no_recursion=
750
prefix=NONE
751
program_prefix=NONE
752
program_suffix=NONE
753
program_transform_name=s,x,x,
754
silent=
755
site=
756
srcdir=
757
verbose=
758
x_includes=NONE
759
x_libraries=NONE
760
 
761
# Installation directory options.
762
# These are left unexpanded so users can "make install exec_prefix=/foo"
763
# and all the variables that are supposed to be based on exec_prefix
764
# by default will actually change.
765
# Use braces instead of parens because sh, perl, etc. also accept them.
766
# (The list follows the same order as the GNU Coding Standards.)
767
bindir='${exec_prefix}/bin'
768
sbindir='${exec_prefix}/sbin'
769
libexecdir='${exec_prefix}/libexec'
770
datarootdir='${prefix}/share'
771
datadir='${datarootdir}'
772
sysconfdir='${prefix}/etc'
773
sharedstatedir='${prefix}/com'
774
localstatedir='${prefix}/var'
775
includedir='${prefix}/include'
776
oldincludedir='/usr/include'
777
docdir='${datarootdir}/doc/${PACKAGE}'
778
infodir='${datarootdir}/info'
779
htmldir='${docdir}'
780
dvidir='${docdir}'
781
pdfdir='${docdir}'
782
psdir='${docdir}'
783
libdir='${exec_prefix}/lib'
784
localedir='${datarootdir}/locale'
785
mandir='${datarootdir}/man'
786
 
787
ac_prev=
788
ac_dashdash=
789
for ac_option
790
do
791
  # If the previous option needs an argument, assign it.
792
  if test -n "$ac_prev"; then
793
    eval $ac_prev=\$ac_option
794
    ac_prev=
795
    continue
796
  fi
797
 
798
  case $ac_option in
799
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
800
  *)    ac_optarg=yes ;;
801
  esac
802
 
803
  # Accept the important Cygnus configure options, so we can diagnose typos.
804
 
805
  case $ac_dashdash$ac_option in
806
  --)
807
    ac_dashdash=yes ;;
808
 
809
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
810
    ac_prev=bindir ;;
811
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812
    bindir=$ac_optarg ;;
813
 
814
  -build | --build | --buil | --bui | --bu)
815
    ac_prev=build_alias ;;
816
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817
    build_alias=$ac_optarg ;;
818
 
819
  -cache-file | --cache-file | --cache-fil | --cache-fi \
820
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821
    ac_prev=cache_file ;;
822
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824
    cache_file=$ac_optarg ;;
825
 
826
  --config-cache | -C)
827
    cache_file=config.cache ;;
828
 
829
  -datadir | --datadir | --datadi | --datad)
830
    ac_prev=datadir ;;
831
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
832
    datadir=$ac_optarg ;;
833
 
834
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835
  | --dataroo | --dataro | --datar)
836
    ac_prev=datarootdir ;;
837
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839
    datarootdir=$ac_optarg ;;
840
 
841
  -disable-* | --disable-*)
842
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843
    # Reject names that are not valid shell variable names.
844
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
846
   { (exit 1); exit 1; }; }
847
    ac_useropt_orig=$ac_useropt
848
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849
    case $ac_user_opts in
850
      *"
851
"enable_$ac_useropt"
852
"*) ;;
853
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854
         ac_unrecognized_sep=', ';;
855
    esac
856
    eval enable_$ac_useropt=no ;;
857
 
858
  -docdir | --docdir | --docdi | --doc | --do)
859
    ac_prev=docdir ;;
860
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861
    docdir=$ac_optarg ;;
862
 
863
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
864
    ac_prev=dvidir ;;
865
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866
    dvidir=$ac_optarg ;;
867
 
868
  -enable-* | --enable-*)
869
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870
    # Reject names that are not valid shell variable names.
871
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
873
   { (exit 1); exit 1; }; }
874
    ac_useropt_orig=$ac_useropt
875
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876
    case $ac_user_opts in
877
      *"
878
"enable_$ac_useropt"
879
"*) ;;
880
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881
         ac_unrecognized_sep=', ';;
882
    esac
883
    eval enable_$ac_useropt=\$ac_optarg ;;
884
 
885
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
886
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
887
  | --exec | --exe | --ex)
888
    ac_prev=exec_prefix ;;
889
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
890
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
891
  | --exec=* | --exe=* | --ex=*)
892
    exec_prefix=$ac_optarg ;;
893
 
894
  -gas | --gas | --ga | --g)
895
    # Obsolete; use --with-gas.
896
    with_gas=yes ;;
897
 
898
  -help | --help | --hel | --he | -h)
899
    ac_init_help=long ;;
900
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
901
    ac_init_help=recursive ;;
902
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
903
    ac_init_help=short ;;
904
 
905
  -host | --host | --hos | --ho)
906
    ac_prev=host_alias ;;
907
  -host=* | --host=* | --hos=* | --ho=*)
908
    host_alias=$ac_optarg ;;
909
 
910
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
911
    ac_prev=htmldir ;;
912
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
913
  | --ht=*)
914
    htmldir=$ac_optarg ;;
915
 
916
  -includedir | --includedir | --includedi | --included | --include \
917
  | --includ | --inclu | --incl | --inc)
918
    ac_prev=includedir ;;
919
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
920
  | --includ=* | --inclu=* | --incl=* | --inc=*)
921
    includedir=$ac_optarg ;;
922
 
923
  -infodir | --infodir | --infodi | --infod | --info | --inf)
924
    ac_prev=infodir ;;
925
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
926
    infodir=$ac_optarg ;;
927
 
928
  -libdir | --libdir | --libdi | --libd)
929
    ac_prev=libdir ;;
930
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
931
    libdir=$ac_optarg ;;
932
 
933
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
934
  | --libexe | --libex | --libe)
935
    ac_prev=libexecdir ;;
936
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
937
  | --libexe=* | --libex=* | --libe=*)
938
    libexecdir=$ac_optarg ;;
939
 
940
  -localedir | --localedir | --localedi | --localed | --locale)
941
    ac_prev=localedir ;;
942
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
943
    localedir=$ac_optarg ;;
944
 
945
  -localstatedir | --localstatedir | --localstatedi | --localstated \
946
  | --localstate | --localstat | --localsta | --localst | --locals)
947
    ac_prev=localstatedir ;;
948
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
949
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
950
    localstatedir=$ac_optarg ;;
951
 
952
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
953
    ac_prev=mandir ;;
954
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
955
    mandir=$ac_optarg ;;
956
 
957
  -nfp | --nfp | --nf)
958
    # Obsolete; use --without-fp.
959
    with_fp=no ;;
960
 
961
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
962
  | --no-cr | --no-c | -n)
963
    no_create=yes ;;
964
 
965
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
966
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967
    no_recursion=yes ;;
968
 
969
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
970
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
971
  | --oldin | --oldi | --old | --ol | --o)
972
    ac_prev=oldincludedir ;;
973
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
974
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
975
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
976
    oldincludedir=$ac_optarg ;;
977
 
978
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
979
    ac_prev=prefix ;;
980
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981
    prefix=$ac_optarg ;;
982
 
983
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
984
  | --program-pre | --program-pr | --program-p)
985
    ac_prev=program_prefix ;;
986
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
987
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
988
    program_prefix=$ac_optarg ;;
989
 
990
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
991
  | --program-suf | --program-su | --program-s)
992
    ac_prev=program_suffix ;;
993
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
994
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
995
    program_suffix=$ac_optarg ;;
996
 
997
  -program-transform-name | --program-transform-name \
998
  | --program-transform-nam | --program-transform-na \
999
  | --program-transform-n | --program-transform- \
1000
  | --program-transform | --program-transfor \
1001
  | --program-transfo | --program-transf \
1002
  | --program-trans | --program-tran \
1003
  | --progr-tra | --program-tr | --program-t)
1004
    ac_prev=program_transform_name ;;
1005
  -program-transform-name=* | --program-transform-name=* \
1006
  | --program-transform-nam=* | --program-transform-na=* \
1007
  | --program-transform-n=* | --program-transform-=* \
1008
  | --program-transform=* | --program-transfor=* \
1009
  | --program-transfo=* | --program-transf=* \
1010
  | --program-trans=* | --program-tran=* \
1011
  | --progr-tra=* | --program-tr=* | --program-t=*)
1012
    program_transform_name=$ac_optarg ;;
1013
 
1014
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1015
    ac_prev=pdfdir ;;
1016
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1017
    pdfdir=$ac_optarg ;;
1018
 
1019
  -psdir | --psdir | --psdi | --psd | --ps)
1020
    ac_prev=psdir ;;
1021
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022
    psdir=$ac_optarg ;;
1023
 
1024
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025
  | -silent | --silent | --silen | --sile | --sil)
1026
    silent=yes ;;
1027
 
1028
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1029
    ac_prev=sbindir ;;
1030
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1031
  | --sbi=* | --sb=*)
1032
    sbindir=$ac_optarg ;;
1033
 
1034
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036
  | --sharedst | --shareds | --shared | --share | --shar \
1037
  | --sha | --sh)
1038
    ac_prev=sharedstatedir ;;
1039
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1042
  | --sha=* | --sh=*)
1043
    sharedstatedir=$ac_optarg ;;
1044
 
1045
  -site | --site | --sit)
1046
    ac_prev=site ;;
1047
  -site=* | --site=* | --sit=*)
1048
    site=$ac_optarg ;;
1049
 
1050
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1051
    ac_prev=srcdir ;;
1052
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053
    srcdir=$ac_optarg ;;
1054
 
1055
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056
  | --syscon | --sysco | --sysc | --sys | --sy)
1057
    ac_prev=sysconfdir ;;
1058
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060
    sysconfdir=$ac_optarg ;;
1061
 
1062
  -target | --target | --targe | --targ | --tar | --ta | --t)
1063
    ac_prev=target_alias ;;
1064
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065
    target_alias=$ac_optarg ;;
1066
 
1067
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068
    verbose=yes ;;
1069
 
1070
  -version | --version | --versio | --versi | --vers | -V)
1071
    ac_init_version=: ;;
1072
 
1073
  -with-* | --with-*)
1074
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075
    # Reject names that are not valid shell variable names.
1076
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1078
   { (exit 1); exit 1; }; }
1079
    ac_useropt_orig=$ac_useropt
1080
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
    case $ac_user_opts in
1082
      *"
1083
"with_$ac_useropt"
1084
"*) ;;
1085
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086
         ac_unrecognized_sep=', ';;
1087
    esac
1088
    eval with_$ac_useropt=\$ac_optarg ;;
1089
 
1090
  -without-* | --without-*)
1091
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092
    # Reject names that are not valid shell variable names.
1093
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1095
   { (exit 1); exit 1; }; }
1096
    ac_useropt_orig=$ac_useropt
1097
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098
    case $ac_user_opts in
1099
      *"
1100
"with_$ac_useropt"
1101
"*) ;;
1102
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103
         ac_unrecognized_sep=', ';;
1104
    esac
1105
    eval with_$ac_useropt=no ;;
1106
 
1107
  --x)
1108
    # Obsolete; use --with-x.
1109
    with_x=yes ;;
1110
 
1111
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112
  | --x-incl | --x-inc | --x-in | --x-i)
1113
    ac_prev=x_includes ;;
1114
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116
    x_includes=$ac_optarg ;;
1117
 
1118
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1119
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120
    ac_prev=x_libraries ;;
1121
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123
    x_libraries=$ac_optarg ;;
1124
 
1125
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1126
Try \`$0 --help' for more information." >&2
1127
   { (exit 1); exit 1; }; }
1128
    ;;
1129
 
1130
  *=*)
1131
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132
    # Reject names that are not valid shell variable names.
1133
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1134
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1135
   { (exit 1); exit 1; }; }
1136
    eval $ac_envvar=\$ac_optarg
1137
    export $ac_envvar ;;
1138
 
1139
  *)
1140
    # FIXME: should be removed in autoconf 3.0.
1141
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1145
    ;;
1146
 
1147
  esac
1148
done
1149
 
1150
if test -n "$ac_prev"; then
1151
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1152
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1153
   { (exit 1); exit 1; }; }
1154
fi
1155
 
1156
if test -n "$ac_unrecognized_opts"; then
1157
  case $enable_option_checking in
1158
    no) ;;
1159
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1160
   { (exit 1); exit 1; }; } ;;
1161
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162
  esac
1163
fi
1164
 
1165
# Check all directory arguments for consistency.
1166
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167
                datadir sysconfdir sharedstatedir localstatedir includedir \
1168
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169
                libdir localedir mandir
1170
do
1171
  eval ac_val=\$$ac_var
1172
  # Remove trailing slashes.
1173
  case $ac_val in
1174
    */ )
1175
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176
      eval $ac_var=\$ac_val;;
1177
  esac
1178
  # Be sure to have absolute directory names.
1179
  case $ac_val in
1180
    [\\/$]* | ?:[\\/]* )  continue;;
1181
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1182
  esac
1183
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1184
   { (exit 1); exit 1; }; }
1185
done
1186
 
1187
# There might be people who depend on the old broken behavior: `$host'
1188
# used to hold the argument of --host etc.
1189
# FIXME: To remove some day.
1190
build=$build_alias
1191
host=$host_alias
1192
target=$target_alias
1193
 
1194
# FIXME: To remove some day.
1195
if test "x$host_alias" != x; then
1196
  if test "x$build_alias" = x; then
1197
    cross_compiling=maybe
1198
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1199
    If a cross compiler is detected then cross compile mode will be used." >&2
1200
  elif test "x$build_alias" != "x$host_alias"; then
1201
    cross_compiling=yes
1202
  fi
1203
fi
1204
 
1205
ac_tool_prefix=
1206
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207
 
1208
test "$silent" = yes && exec 6>/dev/null
1209
 
1210
 
1211
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212
ac_ls_di=`ls -di .` &&
1213
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1215
   { (exit 1); exit 1; }; }
1216
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1218
   { (exit 1); exit 1; }; }
1219
 
1220
 
1221
# Find the source files, if location was not specified.
1222
if test -z "$srcdir"; then
1223
  ac_srcdir_defaulted=yes
1224
  # Try the directory containing this script, then the parent directory.
1225
  ac_confdir=`$as_dirname -- "$as_myself" ||
1226
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1227
         X"$as_myself" : 'X\(//\)[^/]' \| \
1228
         X"$as_myself" : 'X\(//\)$' \| \
1229
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1230
$as_echo X"$as_myself" |
1231
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1232
            s//\1/
1233
            q
1234
          }
1235
          /^X\(\/\/\)[^/].*/{
1236
            s//\1/
1237
            q
1238
          }
1239
          /^X\(\/\/\)$/{
1240
            s//\1/
1241
            q
1242
          }
1243
          /^X\(\/\).*/{
1244
            s//\1/
1245
            q
1246
          }
1247
          s/.*/./; q'`
1248
  srcdir=$ac_confdir
1249
  if test ! -r "$srcdir/$ac_unique_file"; then
1250
    srcdir=..
1251
  fi
1252
else
1253
  ac_srcdir_defaulted=no
1254
fi
1255
if test ! -r "$srcdir/$ac_unique_file"; then
1256
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1257
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1258
   { (exit 1); exit 1; }; }
1259
fi
1260
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1261
ac_abs_confdir=`(
1262
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1263
   { (exit 1); exit 1; }; }
1264
        pwd)`
1265
# When building in place, set srcdir=.
1266
if test "$ac_abs_confdir" = "$ac_pwd"; then
1267
  srcdir=.
1268
fi
1269
# Remove unnecessary trailing slashes from srcdir.
1270
# Double slashes in file names in object file debugging info
1271
# mess up M-x gdb in Emacs.
1272
case $srcdir in
1273
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274
esac
1275
for ac_var in $ac_precious_vars; do
1276
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277
  eval ac_env_${ac_var}_value=\$${ac_var}
1278
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1280
done
1281
 
1282
#
1283
# Report the --help message.
1284
#
1285
if test "$ac_init_help" = "long"; then
1286
  # Omit some internal or obsolete options to make the list less imposing.
1287
  # This message is too long to be a string in the A/UX 3.1 sh.
1288
  cat <<_ACEOF
1289
\`configure' configures this package to adapt to many kinds of systems.
1290
 
1291
Usage: $0 [OPTION]... [VAR=VALUE]...
1292
 
1293
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294
VAR=VALUE.  See below for descriptions of some of the useful variables.
1295
 
1296
Defaults for the options are specified in brackets.
1297
 
1298
Configuration:
1299
  -h, --help              display this help and exit
1300
      --help=short        display options specific to this package
1301
      --help=recursive    display the short help of all the included packages
1302
  -V, --version           display version information and exit
1303
  -q, --quiet, --silent   do not print \`checking...' messages
1304
      --cache-file=FILE   cache test results in FILE [disabled]
1305
  -C, --config-cache      alias for \`--cache-file=config.cache'
1306
  -n, --no-create         do not create output files
1307
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1308
 
1309
Installation directories:
1310
  --prefix=PREFIX         install architecture-independent files in PREFIX
1311
                          [$ac_default_prefix]
1312
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1313
                          [PREFIX]
1314
 
1315
By default, \`make install' will install all the files in
1316
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1317
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318
for instance \`--prefix=\$HOME'.
1319
 
1320
For better control, use the options below.
1321
 
1322
Fine tuning of the installation directories:
1323
  --bindir=DIR            user executables [EPREFIX/bin]
1324
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1325
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1326
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1327
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1328
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1329
  --libdir=DIR            object code libraries [EPREFIX/lib]
1330
  --includedir=DIR        C header files [PREFIX/include]
1331
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1332
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1333
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1334
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1335
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1336
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1337
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1338
  --htmldir=DIR           html documentation [DOCDIR]
1339
  --dvidir=DIR            dvi documentation [DOCDIR]
1340
  --pdfdir=DIR            pdf documentation [DOCDIR]
1341
  --psdir=DIR             ps documentation [DOCDIR]
1342
_ACEOF
1343
 
1344
  cat <<\_ACEOF
1345
 
1346
Program names:
1347
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1348
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1349
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1350
 
1351
System types:
1352
  --build=BUILD     configure for building on BUILD [guessed]
1353
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1354
_ACEOF
1355
fi
1356
 
1357
if test -n "$ac_init_help"; then
1358
 
1359
  cat <<\_ACEOF
1360
 
1361
Optional Features:
1362
  --disable-option-checking  ignore unrecognized --enable/--with options
1363
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1364
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1365
  --enable-maintainer-mode  enable make rules and dependencies not useful
1366
                          (and sometimes confusing) to the casual installer
1367
  --disable-dependency-tracking  speeds up one-time build
1368
  --enable-dependency-tracking   do not reject slow dependency extractors
1369
 --enable-debug           do a debug rather than a release build
1370
 --enable-ansi            do an ANSI rather than a unicode build
1371
 
1372
Optional Packages:
1373
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1374
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1375
 --with-tcl=        location of Tcl header and libraries
1376
 --with-tk=         location of Tk header and libraries
1377
 --with-tcl-version= version of Tcl/Tk to be used
1378
 --with-tcl-header= location of Tcl header
1379
 --with-tcl-lib=    location of Tcl libraries
1380
 
1381
Some influential environment variables:
1382
  CC          C compiler command
1383
  CFLAGS      C compiler flags
1384
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1385
              nonstandard directory 
1386
  LIBS        libraries to pass to the linker, e.g. -l
1387
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1388
              you have headers in a nonstandard directory 
1389
  CXX         C++ compiler command
1390
  CXXFLAGS    C++ compiler flags
1391
 
1392
Use these variables to override the choices made by `configure' or to help
1393
it to find libraries and programs with nonstandard names/locations.
1394
 
1395
_ACEOF
1396
ac_status=$?
1397
fi
1398
 
1399
if test "$ac_init_help" = "recursive"; then
1400
  # If there are subdirs, report their specific --help.
1401
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402
    test -d "$ac_dir" ||
1403
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404
      continue
1405
    ac_builddir=.
1406
 
1407
case "$ac_dir" in
1408
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409
*)
1410
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1411
  # A ".." for each directory in $ac_dir_suffix.
1412
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1413
  case $ac_top_builddir_sub in
1414
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416
  esac ;;
1417
esac
1418
ac_abs_top_builddir=$ac_pwd
1419
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420
# for backward compatibility:
1421
ac_top_builddir=$ac_top_build_prefix
1422
 
1423
case $srcdir in
1424
  .)  # We are building in place.
1425
    ac_srcdir=.
1426
    ac_top_srcdir=$ac_top_builddir_sub
1427
    ac_abs_top_srcdir=$ac_pwd ;;
1428
  [\\/]* | ?:[\\/]* )  # Absolute name.
1429
    ac_srcdir=$srcdir$ac_dir_suffix;
1430
    ac_top_srcdir=$srcdir
1431
    ac_abs_top_srcdir=$srcdir ;;
1432
  *) # Relative name.
1433
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1435
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436
esac
1437
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438
 
1439
    cd "$ac_dir" || { ac_status=$?; continue; }
1440
    # Check for guested configure.
1441
    if test -f "$ac_srcdir/configure.gnu"; then
1442
      echo &&
1443
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444
    elif test -f "$ac_srcdir/configure"; then
1445
      echo &&
1446
      $SHELL "$ac_srcdir/configure" --help=recursive
1447
    else
1448
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449
    fi || ac_status=$?
1450
    cd "$ac_pwd" || { ac_status=$?; break; }
1451
  done
1452
fi
1453
 
1454
test -n "$ac_init_help" && exit $ac_status
1455
if $ac_init_version; then
1456
  cat <<\_ACEOF
1457
configure
1458
generated by GNU Autoconf 2.63
1459
 
1460
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1462
This configure script is free software; the Free Software Foundation
1463
gives unlimited permission to copy, distribute and modify it.
1464
_ACEOF
1465
  exit
1466
fi
1467
cat >config.log <<_ACEOF
1468
This file contains any messages produced by compilers while
1469
running configure, to aid debugging if configure makes a mistake.
1470
 
1471
It was created by $as_me, which was
1472
generated by GNU Autoconf 2.63.  Invocation command line was
1473
 
1474
  $ $0 $@
1475
 
1476
_ACEOF
1477
exec 5>>config.log
1478
{
1479
cat <<_ASUNAME
1480
## --------- ##
1481
## Platform. ##
1482
## --------- ##
1483
 
1484
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489
 
1490
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1492
 
1493
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1494
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1495
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1497
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1498
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1499
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1500
 
1501
_ASUNAME
1502
 
1503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504
for as_dir in $PATH
1505
do
1506
  IFS=$as_save_IFS
1507
  test -z "$as_dir" && as_dir=.
1508
  $as_echo "PATH: $as_dir"
1509
done
1510
IFS=$as_save_IFS
1511
 
1512
} >&5
1513
 
1514
cat >&5 <<_ACEOF
1515
 
1516
 
1517
## ----------- ##
1518
## Core tests. ##
1519
## ----------- ##
1520
 
1521
_ACEOF
1522
 
1523
 
1524
# Keep a trace of the command line.
1525
# Strip out --no-create and --no-recursion so they do not pile up.
1526
# Strip out --silent because we don't want to record it for future runs.
1527
# Also quote any args containing shell meta-characters.
1528
# Make two passes to allow for proper duplicate-argument suppression.
1529
ac_configure_args=
1530
ac_configure_args0=
1531
ac_configure_args1=
1532
ac_must_keep_next=false
1533
for ac_pass in 1 2
1534
do
1535
  for ac_arg
1536
  do
1537
    case $ac_arg in
1538
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1539
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1540
    | -silent | --silent | --silen | --sile | --sil)
1541
      continue ;;
1542
    *\'*)
1543
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544
    esac
1545
    case $ac_pass in
1546
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547
    2)
1548
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1549
      if test $ac_must_keep_next = true; then
1550
        ac_must_keep_next=false # Got value, back to normal.
1551
      else
1552
        case $ac_arg in
1553
          *=* | --config-cache | -C | -disable-* | --disable-* \
1554
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1555
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1556
          | -with-* | --with-* | -without-* | --without-* | --x)
1557
            case "$ac_configure_args0 " in
1558
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559
            esac
1560
            ;;
1561
          -* ) ac_must_keep_next=true ;;
1562
        esac
1563
      fi
1564
      ac_configure_args="$ac_configure_args '$ac_arg'"
1565
      ;;
1566
    esac
1567
  done
1568
done
1569
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1570
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571
 
1572
# When interrupted or exit'd, cleanup temporary files, and complete
1573
# config.log.  We remove comments because anyway the quotes in there
1574
# would cause problems or look ugly.
1575
# WARNING: Use '\'' to represent an apostrophe within the trap.
1576
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577
trap 'exit_status=$?
1578
  # Save into config.log some information that might help in debugging.
1579
  {
1580
    echo
1581
 
1582
    cat <<\_ASBOX
1583
## ---------------- ##
1584
## Cache variables. ##
1585
## ---------------- ##
1586
_ASBOX
1587
    echo
1588
    # The following way of writing the cache mishandles newlines in values,
1589
(
1590
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591
    eval ac_val=\$$ac_var
1592
    case $ac_val in #(
1593
    *${as_nl}*)
1594
      case $ac_var in #(
1595
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1596
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1597
      esac
1598
      case $ac_var in #(
1599
      _ | IFS | as_nl) ;; #(
1600
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1601
      *) $as_unset $ac_var ;;
1602
      esac ;;
1603
    esac
1604
  done
1605
  (set) 2>&1 |
1606
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607
    *${as_nl}ac_space=\ *)
1608
      sed -n \
1609
        "s/'\''/'\''\\\\'\'''\''/g;
1610
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611
      ;; #(
1612
    *)
1613
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614
      ;;
1615
    esac |
1616
    sort
1617
)
1618
    echo
1619
 
1620
    cat <<\_ASBOX
1621
## ----------------- ##
1622
## Output variables. ##
1623
## ----------------- ##
1624
_ASBOX
1625
    echo
1626
    for ac_var in $ac_subst_vars
1627
    do
1628
      eval ac_val=\$$ac_var
1629
      case $ac_val in
1630
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631
      esac
1632
      $as_echo "$ac_var='\''$ac_val'\''"
1633
    done | sort
1634
    echo
1635
 
1636
    if test -n "$ac_subst_files"; then
1637
      cat <<\_ASBOX
1638
## ------------------- ##
1639
## File substitutions. ##
1640
## ------------------- ##
1641
_ASBOX
1642
      echo
1643
      for ac_var in $ac_subst_files
1644
      do
1645
        eval ac_val=\$$ac_var
1646
        case $ac_val in
1647
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648
        esac
1649
        $as_echo "$ac_var='\''$ac_val'\''"
1650
      done | sort
1651
      echo
1652
    fi
1653
 
1654
    if test -s confdefs.h; then
1655
      cat <<\_ASBOX
1656
## ----------- ##
1657
## confdefs.h. ##
1658
## ----------- ##
1659
_ASBOX
1660
      echo
1661
      cat confdefs.h
1662
      echo
1663
    fi
1664
    test "$ac_signal" != 0 &&
1665
      $as_echo "$as_me: caught signal $ac_signal"
1666
    $as_echo "$as_me: exit $exit_status"
1667
  } >&5
1668
  rm -f core *.core core.conftest.* &&
1669
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670
    exit $exit_status
1671
' 0
1672
for ac_signal in 1 2 13 15; do
1673
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674
done
1675
ac_signal=0
1676
 
1677
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1678
rm -f -r conftest* confdefs.h
1679
 
1680
# Predefined preprocessor variables.
1681
 
1682
cat >>confdefs.h <<_ACEOF
1683
#define PACKAGE_NAME "$PACKAGE_NAME"
1684
_ACEOF
1685
 
1686
 
1687
cat >>confdefs.h <<_ACEOF
1688
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689
_ACEOF
1690
 
1691
 
1692
cat >>confdefs.h <<_ACEOF
1693
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1694
_ACEOF
1695
 
1696
 
1697
cat >>confdefs.h <<_ACEOF
1698
#define PACKAGE_STRING "$PACKAGE_STRING"
1699
_ACEOF
1700
 
1701
 
1702
cat >>confdefs.h <<_ACEOF
1703
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704
_ACEOF
1705
 
1706
 
1707
# Let the site file select an alternate cache file if it wants to.
1708
# Prefer an explicitly selected file to automatically selected ones.
1709
ac_site_file1=NONE
1710
ac_site_file2=NONE
1711
if test -n "$CONFIG_SITE"; then
1712
  ac_site_file1=$CONFIG_SITE
1713
elif test "x$prefix" != xNONE; then
1714
  ac_site_file1=$prefix/share/config.site
1715
  ac_site_file2=$prefix/etc/config.site
1716
else
1717
  ac_site_file1=$ac_default_prefix/share/config.site
1718
  ac_site_file2=$ac_default_prefix/etc/config.site
1719
fi
1720
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1721
do
1722
  test "x$ac_site_file" = xNONE && continue
1723
  if test -r "$ac_site_file"; then
1724
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1725
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726
    sed 's/^/| /' "$ac_site_file" >&5
1727
    . "$ac_site_file"
1728
  fi
1729
done
1730
 
1731
if test -r "$cache_file"; then
1732
  # Some versions of bash will fail to source /dev/null (special
1733
  # files actually), so we avoid doing that.
1734
  if test -f "$cache_file"; then
1735
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1736
$as_echo "$as_me: loading cache $cache_file" >&6;}
1737
    case $cache_file in
1738
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1739
      *)                      . "./$cache_file";;
1740
    esac
1741
  fi
1742
else
1743
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1744
$as_echo "$as_me: creating cache $cache_file" >&6;}
1745
  >$cache_file
1746
fi
1747
 
1748
# Check that the precious variables saved in the cache have kept the same
1749
# value.
1750
ac_cache_corrupted=false
1751
for ac_var in $ac_precious_vars; do
1752
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1753
  eval ac_new_set=\$ac_env_${ac_var}_set
1754
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1755
  eval ac_new_val=\$ac_env_${ac_var}_value
1756
  case $ac_old_set,$ac_new_set in
1757
    set,)
1758
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760
      ac_cache_corrupted=: ;;
1761
    ,set)
1762
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1763
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764
      ac_cache_corrupted=: ;;
1765
    ,);;
1766
    *)
1767
      if test "x$ac_old_val" != "x$ac_new_val"; then
1768
        # differences in whitespace do not lead to failure.
1769
        ac_old_val_w=`echo x $ac_old_val`
1770
        ac_new_val_w=`echo x $ac_new_val`
1771
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1772
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1773
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1774
          ac_cache_corrupted=:
1775
        else
1776
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1777
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1778
          eval $ac_var=\$ac_old_val
1779
        fi
1780
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1781
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1782
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1783
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1784
      fi;;
1785
  esac
1786
  # Pass precious variables to config.status.
1787
  if test "$ac_new_set" = set; then
1788
    case $ac_new_val in
1789
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1790
    *) ac_arg=$ac_var=$ac_new_val ;;
1791
    esac
1792
    case " $ac_configure_args " in
1793
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1794
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1795
    esac
1796
  fi
1797
done
1798
if $ac_cache_corrupted; then
1799
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1800
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1801
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1802
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1803
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1804
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1805
   { (exit 1); exit 1; }; }
1806
fi
1807
 
1808
 
1809
 
1810
 
1811
 
1812
 
1813
 
1814
 
1815
 
1816
 
1817
 
1818
 
1819
 
1820
 
1821
 
1822
 
1823
 
1824
ac_ext=c
1825
ac_cpp='$CPP $CPPFLAGS'
1826
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1827
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1828
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1829
 
1830
 
1831
 
1832
ac_aux_dir=
1833
for ac_dir in ../../../../../../acsupport "$srcdir"/../../../../../../acsupport; do
1834
  if test -f "$ac_dir/install-sh"; then
1835
    ac_aux_dir=$ac_dir
1836
    ac_install_sh="$ac_aux_dir/install-sh -c"
1837
    break
1838
  elif test -f "$ac_dir/install.sh"; then
1839
    ac_aux_dir=$ac_dir
1840
    ac_install_sh="$ac_aux_dir/install.sh -c"
1841
    break
1842
  elif test -f "$ac_dir/shtool"; then
1843
    ac_aux_dir=$ac_dir
1844
    ac_install_sh="$ac_aux_dir/shtool install -c"
1845
    break
1846
  fi
1847
done
1848
if test -z "$ac_aux_dir"; then
1849
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../../../../acsupport \"$srcdir\"/../../../../../../acsupport" >&5
1850
$as_echo "$as_me: error: cannot find install-sh or install.sh in ../../../../../../acsupport \"$srcdir\"/../../../../../../acsupport" >&2;}
1851
   { (exit 1); exit 1; }; }
1852
fi
1853
 
1854
# These three variables are undocumented and unsupported,
1855
# and are intended to be withdrawn in a future Autoconf release.
1856
# They can cause serious problems if a builder's source tree is in a directory
1857
# whose full name contains unusual characters.
1858
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1859
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1860
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1861
 
1862
 
1863
 
1864
 
1865
  { $as_echo "$as_me:$LINENO: checking that a separate build tree is being used" >&5
1866
$as_echo_n "checking that a separate build tree is being used... " >&6; }
1867
  ecos_cwd=`/bin/pwd`
1868
  if test "${srcdir}" = "." ; then
1869
    srcdir=${ecos_cwd}
1870
  fi
1871
  if test "${ecos_cwd}" = "${srcdir}" ; then
1872
    { $as_echo "$as_me:$LINENO: result: no" >&5
1873
$as_echo "no" >&6; }
1874
    { { $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
1875
$as_echo "$as_me: error: This configure script should not be run inside the source tree. Instead please use a separate build tree" >&2;}
1876
   { (exit 1); exit 1; }; }
1877
  else
1878
    { $as_echo "$as_me:$LINENO: result: yes" >&5
1879
$as_echo "yes" >&6; }
1880
  fi
1881
 
1882
# Make sure we can run config.sub.
1883
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886
   { (exit 1); exit 1; }; }
1887
 
1888
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1889
$as_echo_n "checking build system type... " >&6; }
1890
if test "${ac_cv_build+set}" = set; then
1891
  $as_echo_n "(cached) " >&6
1892
else
1893
  ac_build_alias=$build_alias
1894
test "x$ac_build_alias" = x &&
1895
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896
test "x$ac_build_alias" = x &&
1897
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899
   { (exit 1); exit 1; }; }
1900
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903
   { (exit 1); exit 1; }; }
1904
 
1905
fi
1906
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907
$as_echo "$ac_cv_build" >&6; }
1908
case $ac_cv_build in
1909
*-*-*) ;;
1910
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1912
   { (exit 1); exit 1; }; };;
1913
esac
1914
build=$ac_cv_build
1915
ac_save_IFS=$IFS; IFS='-'
1916
set x $ac_cv_build
1917
shift
1918
build_cpu=$1
1919
build_vendor=$2
1920
shift; shift
1921
# Remember, the first character of IFS is used to create $*,
1922
# except with old shells:
1923
build_os=$*
1924
IFS=$ac_save_IFS
1925
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1926
 
1927
 
1928
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1929
$as_echo_n "checking host system type... " >&6; }
1930
if test "${ac_cv_host+set}" = set; then
1931
  $as_echo_n "(cached) " >&6
1932
else
1933
  if test "x$host_alias" = x; then
1934
  ac_cv_host=$ac_cv_build
1935
else
1936
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939
   { (exit 1); exit 1; }; }
1940
fi
1941
 
1942
fi
1943
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944
$as_echo "$ac_cv_host" >&6; }
1945
case $ac_cv_host in
1946
*-*-*) ;;
1947
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1949
   { (exit 1); exit 1; }; };;
1950
esac
1951
host=$ac_cv_host
1952
ac_save_IFS=$IFS; IFS='-'
1953
set x $ac_cv_host
1954
shift
1955
host_cpu=$1
1956
host_vendor=$2
1957
shift; shift
1958
# Remember, the first character of IFS is used to create $*,
1959
# except with old shells:
1960
host_os=$*
1961
IFS=$ac_save_IFS
1962
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963
 
1964
 
1965
am__api_version='1.11'
1966
 
1967
# Find a good install program.  We prefer a C program (faster),
1968
# so one script is as good as another.  But avoid the broken or
1969
# incompatible versions:
1970
# SysV /etc/install, /usr/sbin/install
1971
# SunOS /usr/etc/install
1972
# IRIX /sbin/install
1973
# AIX /bin/install
1974
# AmigaOS /C/install, which installs bootblocks on floppy discs
1975
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1976
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1977
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1978
# OS/2's system install, which has a completely different semantic
1979
# ./install, which can be erroneously created by make from ./install.sh.
1980
# Reject install programs that cannot install multiple files.
1981
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1982
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1983
if test -z "$INSTALL"; then
1984
if test "${ac_cv_path_install+set}" = set; then
1985
  $as_echo_n "(cached) " >&6
1986
else
1987
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988
for as_dir in $PATH
1989
do
1990
  IFS=$as_save_IFS
1991
  test -z "$as_dir" && as_dir=.
1992
  # Account for people who put trailing slashes in PATH elements.
1993
case $as_dir/ in
1994
  ./ | .// | /cC/* | \
1995
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1996
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1997
  /usr/ucb/* ) ;;
1998
  *)
1999
    # OSF1 and SCO ODT 3.0 have their own names for install.
2000
    # Don't use installbsd from OSF since it installs stuff as root
2001
    # by default.
2002
    for ac_prog in ginstall scoinst install; do
2003
      for ac_exec_ext in '' $ac_executable_extensions; do
2004
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2005
          if test $ac_prog = install &&
2006
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2007
            # AIX install.  It has an incompatible calling convention.
2008
            :
2009
          elif test $ac_prog = install &&
2010
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011
            # program-specific install script used by HP pwplus--don't use.
2012
            :
2013
          else
2014
            rm -rf conftest.one conftest.two conftest.dir
2015
            echo one > conftest.one
2016
            echo two > conftest.two
2017
            mkdir conftest.dir
2018
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2019
              test -s conftest.one && test -s conftest.two &&
2020
              test -s conftest.dir/conftest.one &&
2021
              test -s conftest.dir/conftest.two
2022
            then
2023
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2024
              break 3
2025
            fi
2026
          fi
2027
        fi
2028
      done
2029
    done
2030
    ;;
2031
esac
2032
 
2033
done
2034
IFS=$as_save_IFS
2035
 
2036
rm -rf conftest.one conftest.two conftest.dir
2037
 
2038
fi
2039
  if test "${ac_cv_path_install+set}" = set; then
2040
    INSTALL=$ac_cv_path_install
2041
  else
2042
    # As a last resort, use the slow shell script.  Don't cache a
2043
    # value for INSTALL within a source directory, because that will
2044
    # break other packages using the cache if that directory is
2045
    # removed, or if the value is a relative name.
2046
    INSTALL=$ac_install_sh
2047
  fi
2048
fi
2049
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2050
$as_echo "$INSTALL" >&6; }
2051
 
2052
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2053
# It thinks the first close brace ends the variable substitution.
2054
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2055
 
2056
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2057
 
2058
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2059
 
2060
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2061
$as_echo_n "checking whether build environment is sane... " >&6; }
2062
# Just in case
2063
sleep 1
2064
echo timestamp > conftest.file
2065
# Reject unsafe characters in $srcdir or the absolute working directory
2066
# name.  Accept space and tab only in the latter.
2067
am_lf='
2068
'
2069
case `pwd` in
2070
  *[\\\"\#\$\&\'\`$am_lf]*)
2071
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2072
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2073
   { (exit 1); exit 1; }; };;
2074
esac
2075
case $srcdir in
2076
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2077
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2078
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2079
   { (exit 1); exit 1; }; };;
2080
esac
2081
 
2082
# Do `set' in a subshell so we don't clobber the current shell's
2083
# arguments.  Must try -L first in case configure is actually a
2084
# symlink; some systems play weird games with the mod time of symlinks
2085
# (eg FreeBSD returns the mod time of the symlink's containing
2086
# directory).
2087
if (
2088
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2089
   if test "$*" = "X"; then
2090
      # -L didn't work.
2091
      set X `ls -t "$srcdir/configure" conftest.file`
2092
   fi
2093
   rm -f conftest.file
2094
   if test "$*" != "X $srcdir/configure conftest.file" \
2095
      && test "$*" != "X conftest.file $srcdir/configure"; then
2096
 
2097
      # If neither matched, then we have a broken ls.  This can happen
2098
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2099
      # broken ls alias from the environment.  This has actually
2100
      # happened.  Such a system could not be considered "sane".
2101
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2102
alias in your environment" >&5
2103
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2104
alias in your environment" >&2;}
2105
   { (exit 1); exit 1; }; }
2106
   fi
2107
 
2108
   test "$2" = conftest.file
2109
   )
2110
then
2111
   # Ok.
2112
   :
2113
else
2114
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2115
Check your system clock" >&5
2116
$as_echo "$as_me: error: newly created file is older than distributed files!
2117
Check your system clock" >&2;}
2118
   { (exit 1); exit 1; }; }
2119
fi
2120
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2121
$as_echo "yes" >&6; }
2122
test "$program_prefix" != NONE &&
2123
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2124
# Use a double $ so make ignores it.
2125
test "$program_suffix" != NONE &&
2126
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2127
# Double any \ or $.
2128
# By default was `s,x,x', remove it if useless.
2129
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2130
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2131
 
2132
# expand $ac_aux_dir to an absolute path
2133
am_aux_dir=`cd $ac_aux_dir && pwd`
2134
 
2135
if test x"${MISSING+set}" != xset; then
2136
  case $am_aux_dir in
2137
  *\ * | *\     *)
2138
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2139
  *)
2140
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2141
  esac
2142
fi
2143
# Use eval to expand $SHELL
2144
if eval "$MISSING --run true"; then
2145
  am_missing_run="$MISSING --run "
2146
else
2147
  am_missing_run=
2148
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2149
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2150
fi
2151
 
2152
if test x"${install_sh}" != xset; then
2153
  case $am_aux_dir in
2154
  *\ * | *\     *)
2155
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2156
  *)
2157
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2158
  esac
2159
fi
2160
 
2161
# Installed binaries are usually stripped using `strip' when the user
2162
# run `make install-strip'.  However `strip' might not be the right
2163
# tool to use in cross-compilation environments, therefore Automake
2164
# will honor the `STRIP' environment variable to overrule this program.
2165
if test "$cross_compiling" != no; then
2166
  if test -n "$ac_tool_prefix"; then
2167
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2168
set dummy ${ac_tool_prefix}strip; ac_word=$2
2169
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2170
$as_echo_n "checking for $ac_word... " >&6; }
2171
if test "${ac_cv_prog_STRIP+set}" = set; then
2172
  $as_echo_n "(cached) " >&6
2173
else
2174
  if test -n "$STRIP"; then
2175
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2176
else
2177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178
for as_dir in $PATH
2179
do
2180
  IFS=$as_save_IFS
2181
  test -z "$as_dir" && as_dir=.
2182
  for ac_exec_ext in '' $ac_executable_extensions; do
2183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2185
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186
    break 2
2187
  fi
2188
done
2189
done
2190
IFS=$as_save_IFS
2191
 
2192
fi
2193
fi
2194
STRIP=$ac_cv_prog_STRIP
2195
if test -n "$STRIP"; then
2196
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2197
$as_echo "$STRIP" >&6; }
2198
else
2199
  { $as_echo "$as_me:$LINENO: result: no" >&5
2200
$as_echo "no" >&6; }
2201
fi
2202
 
2203
 
2204
fi
2205
if test -z "$ac_cv_prog_STRIP"; then
2206
  ac_ct_STRIP=$STRIP
2207
  # Extract the first word of "strip", so it can be a program name with args.
2208
set dummy strip; ac_word=$2
2209
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2210
$as_echo_n "checking for $ac_word... " >&6; }
2211
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2212
  $as_echo_n "(cached) " >&6
2213
else
2214
  if test -n "$ac_ct_STRIP"; then
2215
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2216
else
2217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218
for as_dir in $PATH
2219
do
2220
  IFS=$as_save_IFS
2221
  test -z "$as_dir" && as_dir=.
2222
  for ac_exec_ext in '' $ac_executable_extensions; do
2223
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2224
    ac_cv_prog_ac_ct_STRIP="strip"
2225
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226
    break 2
2227
  fi
2228
done
2229
done
2230
IFS=$as_save_IFS
2231
 
2232
fi
2233
fi
2234
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2235
if test -n "$ac_ct_STRIP"; then
2236
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2237
$as_echo "$ac_ct_STRIP" >&6; }
2238
else
2239
  { $as_echo "$as_me:$LINENO: result: no" >&5
2240
$as_echo "no" >&6; }
2241
fi
2242
 
2243
  if test "x$ac_ct_STRIP" = x; then
2244
    STRIP=":"
2245
  else
2246
    case $cross_compiling:$ac_tool_warned in
2247
yes:)
2248
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2249
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2250
ac_tool_warned=yes ;;
2251
esac
2252
    STRIP=$ac_ct_STRIP
2253
  fi
2254
else
2255
  STRIP="$ac_cv_prog_STRIP"
2256
fi
2257
 
2258
fi
2259
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2260
 
2261
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2262
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2263
if test -z "$MKDIR_P"; then
2264
  if test "${ac_cv_path_mkdir+set}" = set; then
2265
  $as_echo_n "(cached) " >&6
2266
else
2267
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2269
do
2270
  IFS=$as_save_IFS
2271
  test -z "$as_dir" && as_dir=.
2272
  for ac_prog in mkdir gmkdir; do
2273
         for ac_exec_ext in '' $ac_executable_extensions; do
2274
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2275
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2276
             'mkdir (GNU coreutils) '* | \
2277
             'mkdir (coreutils) '* | \
2278
             'mkdir (fileutils) '4.1*)
2279
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2280
               break 3;;
2281
           esac
2282
         done
2283
       done
2284
done
2285
IFS=$as_save_IFS
2286
 
2287
fi
2288
 
2289
  if test "${ac_cv_path_mkdir+set}" = set; then
2290
    MKDIR_P="$ac_cv_path_mkdir -p"
2291
  else
2292
    # As a last resort, use the slow shell script.  Don't cache a
2293
    # value for MKDIR_P within a source directory, because that will
2294
    # break other packages using the cache if that directory is
2295
    # removed, or if the value is a relative name.
2296
    test -d ./--version && rmdir ./--version
2297
    MKDIR_P="$ac_install_sh -d"
2298
  fi
2299
fi
2300
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2301
$as_echo "$MKDIR_P" >&6; }
2302
 
2303
mkdir_p="$MKDIR_P"
2304
case $mkdir_p in
2305
  [\\/$]* | ?:[\\/]*) ;;
2306
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2307
esac
2308
 
2309
for ac_prog in gawk mawk nawk awk
2310
do
2311
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2312
set dummy $ac_prog; ac_word=$2
2313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2314
$as_echo_n "checking for $ac_word... " >&6; }
2315
if test "${ac_cv_prog_AWK+set}" = set; then
2316
  $as_echo_n "(cached) " >&6
2317
else
2318
  if test -n "$AWK"; then
2319
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2320
else
2321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322
for as_dir in $PATH
2323
do
2324
  IFS=$as_save_IFS
2325
  test -z "$as_dir" && as_dir=.
2326
  for ac_exec_ext in '' $ac_executable_extensions; do
2327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328
    ac_cv_prog_AWK="$ac_prog"
2329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330
    break 2
2331
  fi
2332
done
2333
done
2334
IFS=$as_save_IFS
2335
 
2336
fi
2337
fi
2338
AWK=$ac_cv_prog_AWK
2339
if test -n "$AWK"; then
2340
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2341
$as_echo "$AWK" >&6; }
2342
else
2343
  { $as_echo "$as_me:$LINENO: result: no" >&5
2344
$as_echo "no" >&6; }
2345
fi
2346
 
2347
 
2348
  test -n "$AWK" && break
2349
done
2350
 
2351
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2353
set x ${MAKE-make}
2354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2355
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2356
  $as_echo_n "(cached) " >&6
2357
else
2358
  cat >conftest.make <<\_ACEOF
2359
SHELL = /bin/sh
2360
all:
2361
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2362
_ACEOF
2363
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2364
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2365
  *@@@%%%=?*=@@@%%%*)
2366
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2367
  *)
2368
    eval ac_cv_prog_make_${ac_make}_set=no;;
2369
esac
2370
rm -f conftest.make
2371
fi
2372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2373
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2374
$as_echo "yes" >&6; }
2375
  SET_MAKE=
2376
else
2377
  { $as_echo "$as_me:$LINENO: result: no" >&5
2378
$as_echo "no" >&6; }
2379
  SET_MAKE="MAKE=${MAKE-make}"
2380
fi
2381
 
2382
rm -rf .tst 2>/dev/null
2383
mkdir .tst 2>/dev/null
2384
if test -d .tst; then
2385
  am__leading_dot=.
2386
else
2387
  am__leading_dot=_
2388
fi
2389
rmdir .tst 2>/dev/null
2390
 
2391
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2392
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2393
  # is not polluted with repeated "-I."
2394
  am__isrc=' -I$(srcdir)'
2395
  # test to see if srcdir already configured
2396
  if test -f $srcdir/config.status; then
2397
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2398
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2399
   { (exit 1); exit 1; }; }
2400
  fi
2401
fi
2402
 
2403
# test whether we have cygpath
2404
if test -z "$CYGPATH_W"; then
2405
  if (cygpath --version) >/dev/null 2>/dev/null; then
2406
    CYGPATH_W='cygpath -w'
2407
  else
2408
    CYGPATH_W=echo
2409
  fi
2410
fi
2411
 
2412
 
2413
# Define the identity of the package.
2414
 PACKAGE=eCos_synthetic_target_arch
2415
 VERSION=0.1
2416
 
2417
 
2418
# Some tools Automake needs.
2419
 
2420
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2421
 
2422
 
2423
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2424
 
2425
 
2426
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2427
 
2428
 
2429
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2430
 
2431
 
2432
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2433
 
2434
# We need awk for the "check" target.  The system "awk" is bad on
2435
# some platforms.
2436
# Always define AMTAR for backward compatibility.
2437
 
2438
AMTAR=${AMTAR-"${am_missing_run}tar"}
2439
 
2440
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2441
 
2442
 
2443
 
2444
 
2445
 
2446
 
2447
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2448
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2449
    # Check whether --enable-maintainer-mode was given.
2450
if test "${enable_maintainer_mode+set}" = set; then
2451
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2452
else
2453
  USE_MAINTAINER_MODE=no
2454
fi
2455
 
2456
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2457
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2458
   if test $USE_MAINTAINER_MODE = yes; then
2459
  MAINTAINER_MODE_TRUE=
2460
  MAINTAINER_MODE_FALSE='#'
2461
else
2462
  MAINTAINER_MODE_TRUE='#'
2463
  MAINTAINER_MODE_FALSE=
2464
fi
2465
 
2466
  MAINT=$MAINTAINER_MODE_TRUE
2467
 
2468
 
2469
ac_ext=c
2470
ac_cpp='$CPP $CPPFLAGS'
2471
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2472
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2473
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2474
if test -n "$ac_tool_prefix"; then
2475
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2476
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2477
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2478
$as_echo_n "checking for $ac_word... " >&6; }
2479
if test "${ac_cv_prog_CC+set}" = set; then
2480
  $as_echo_n "(cached) " >&6
2481
else
2482
  if test -n "$CC"; then
2483
  ac_cv_prog_CC="$CC" # Let the user override the test.
2484
else
2485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486
for as_dir in $PATH
2487
do
2488
  IFS=$as_save_IFS
2489
  test -z "$as_dir" && as_dir=.
2490
  for ac_exec_ext in '' $ac_executable_extensions; do
2491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2493
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494
    break 2
2495
  fi
2496
done
2497
done
2498
IFS=$as_save_IFS
2499
 
2500
fi
2501
fi
2502
CC=$ac_cv_prog_CC
2503
if test -n "$CC"; then
2504
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2505
$as_echo "$CC" >&6; }
2506
else
2507
  { $as_echo "$as_me:$LINENO: result: no" >&5
2508
$as_echo "no" >&6; }
2509
fi
2510
 
2511
 
2512
fi
2513
if test -z "$ac_cv_prog_CC"; then
2514
  ac_ct_CC=$CC
2515
  # Extract the first word of "gcc", so it can be a program name with args.
2516
set dummy gcc; ac_word=$2
2517
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518
$as_echo_n "checking for $ac_word... " >&6; }
2519
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2520
  $as_echo_n "(cached) " >&6
2521
else
2522
  if test -n "$ac_ct_CC"; then
2523
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524
else
2525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526
for as_dir in $PATH
2527
do
2528
  IFS=$as_save_IFS
2529
  test -z "$as_dir" && as_dir=.
2530
  for ac_exec_ext in '' $ac_executable_extensions; do
2531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532
    ac_cv_prog_ac_ct_CC="gcc"
2533
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534
    break 2
2535
  fi
2536
done
2537
done
2538
IFS=$as_save_IFS
2539
 
2540
fi
2541
fi
2542
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2543
if test -n "$ac_ct_CC"; then
2544
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2545
$as_echo "$ac_ct_CC" >&6; }
2546
else
2547
  { $as_echo "$as_me:$LINENO: result: no" >&5
2548
$as_echo "no" >&6; }
2549
fi
2550
 
2551
  if test "x$ac_ct_CC" = x; then
2552
    CC=""
2553
  else
2554
    case $cross_compiling:$ac_tool_warned in
2555
yes:)
2556
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2557
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2558
ac_tool_warned=yes ;;
2559
esac
2560
    CC=$ac_ct_CC
2561
  fi
2562
else
2563
  CC="$ac_cv_prog_CC"
2564
fi
2565
 
2566
if test -z "$CC"; then
2567
          if test -n "$ac_tool_prefix"; then
2568
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569
set dummy ${ac_tool_prefix}cc; ac_word=$2
2570
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2571
$as_echo_n "checking for $ac_word... " >&6; }
2572
if test "${ac_cv_prog_CC+set}" = set; then
2573
  $as_echo_n "(cached) " >&6
2574
else
2575
  if test -n "$CC"; then
2576
  ac_cv_prog_CC="$CC" # Let the user override the test.
2577
else
2578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579
for as_dir in $PATH
2580
do
2581
  IFS=$as_save_IFS
2582
  test -z "$as_dir" && as_dir=.
2583
  for ac_exec_ext in '' $ac_executable_extensions; do
2584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2586
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587
    break 2
2588
  fi
2589
done
2590
done
2591
IFS=$as_save_IFS
2592
 
2593
fi
2594
fi
2595
CC=$ac_cv_prog_CC
2596
if test -n "$CC"; then
2597
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2598
$as_echo "$CC" >&6; }
2599
else
2600
  { $as_echo "$as_me:$LINENO: result: no" >&5
2601
$as_echo "no" >&6; }
2602
fi
2603
 
2604
 
2605
  fi
2606
fi
2607
if test -z "$CC"; then
2608
  # Extract the first word of "cc", so it can be a program name with args.
2609
set dummy cc; ac_word=$2
2610
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2611
$as_echo_n "checking for $ac_word... " >&6; }
2612
if test "${ac_cv_prog_CC+set}" = set; then
2613
  $as_echo_n "(cached) " >&6
2614
else
2615
  if test -n "$CC"; then
2616
  ac_cv_prog_CC="$CC" # Let the user override the test.
2617
else
2618
  ac_prog_rejected=no
2619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620
for as_dir in $PATH
2621
do
2622
  IFS=$as_save_IFS
2623
  test -z "$as_dir" && as_dir=.
2624
  for ac_exec_ext in '' $ac_executable_extensions; do
2625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2627
       ac_prog_rejected=yes
2628
       continue
2629
     fi
2630
    ac_cv_prog_CC="cc"
2631
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632
    break 2
2633
  fi
2634
done
2635
done
2636
IFS=$as_save_IFS
2637
 
2638
if test $ac_prog_rejected = yes; then
2639
  # We found a bogon in the path, so make sure we never use it.
2640
  set dummy $ac_cv_prog_CC
2641
  shift
2642
  if test $# != 0; then
2643
    # We chose a different compiler from the bogus one.
2644
    # However, it has the same basename, so the bogon will be chosen
2645
    # first if we set CC to just the basename; use the full file name.
2646
    shift
2647
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2648
  fi
2649
fi
2650
fi
2651
fi
2652
CC=$ac_cv_prog_CC
2653
if test -n "$CC"; then
2654
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2655
$as_echo "$CC" >&6; }
2656
else
2657
  { $as_echo "$as_me:$LINENO: result: no" >&5
2658
$as_echo "no" >&6; }
2659
fi
2660
 
2661
 
2662
fi
2663
if test -z "$CC"; then
2664
  if test -n "$ac_tool_prefix"; then
2665
  for ac_prog in cl.exe
2666
  do
2667
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2668
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2669
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2670
$as_echo_n "checking for $ac_word... " >&6; }
2671
if test "${ac_cv_prog_CC+set}" = set; then
2672
  $as_echo_n "(cached) " >&6
2673
else
2674
  if test -n "$CC"; then
2675
  ac_cv_prog_CC="$CC" # Let the user override the test.
2676
else
2677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678
for as_dir in $PATH
2679
do
2680
  IFS=$as_save_IFS
2681
  test -z "$as_dir" && as_dir=.
2682
  for ac_exec_ext in '' $ac_executable_extensions; do
2683
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2685
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686
    break 2
2687
  fi
2688
done
2689
done
2690
IFS=$as_save_IFS
2691
 
2692
fi
2693
fi
2694
CC=$ac_cv_prog_CC
2695
if test -n "$CC"; then
2696
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2697
$as_echo "$CC" >&6; }
2698
else
2699
  { $as_echo "$as_me:$LINENO: result: no" >&5
2700
$as_echo "no" >&6; }
2701
fi
2702
 
2703
 
2704
    test -n "$CC" && break
2705
  done
2706
fi
2707
if test -z "$CC"; then
2708
  ac_ct_CC=$CC
2709
  for ac_prog in cl.exe
2710
do
2711
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2712
set dummy $ac_prog; ac_word=$2
2713
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2714
$as_echo_n "checking for $ac_word... " >&6; }
2715
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2716
  $as_echo_n "(cached) " >&6
2717
else
2718
  if test -n "$ac_ct_CC"; then
2719
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2720
else
2721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722
for as_dir in $PATH
2723
do
2724
  IFS=$as_save_IFS
2725
  test -z "$as_dir" && as_dir=.
2726
  for ac_exec_ext in '' $ac_executable_extensions; do
2727
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2728
    ac_cv_prog_ac_ct_CC="$ac_prog"
2729
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730
    break 2
2731
  fi
2732
done
2733
done
2734
IFS=$as_save_IFS
2735
 
2736
fi
2737
fi
2738
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2739
if test -n "$ac_ct_CC"; then
2740
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2741
$as_echo "$ac_ct_CC" >&6; }
2742
else
2743
  { $as_echo "$as_me:$LINENO: result: no" >&5
2744
$as_echo "no" >&6; }
2745
fi
2746
 
2747
 
2748
  test -n "$ac_ct_CC" && break
2749
done
2750
 
2751
  if test "x$ac_ct_CC" = x; then
2752
    CC=""
2753
  else
2754
    case $cross_compiling:$ac_tool_warned in
2755
yes:)
2756
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2757
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2758
ac_tool_warned=yes ;;
2759
esac
2760
    CC=$ac_ct_CC
2761
  fi
2762
fi
2763
 
2764
fi
2765
 
2766
 
2767
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2768
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2770
See \`config.log' for more details." >&5
2771
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2772
See \`config.log' for more details." >&2;}
2773
   { (exit 1); exit 1; }; }; }
2774
 
2775
# Provide some information about the compiler.
2776
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2777
set X $ac_compile
2778
ac_compiler=$2
2779
{ (ac_try="$ac_compiler --version >&5"
2780
case "(($ac_try" in
2781
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782
  *) ac_try_echo=$ac_try;;
2783
esac
2784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2785
$as_echo "$ac_try_echo") >&5
2786
  (eval "$ac_compiler --version >&5") 2>&5
2787
  ac_status=$?
2788
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789
  (exit $ac_status); }
2790
{ (ac_try="$ac_compiler -v >&5"
2791
case "(($ac_try" in
2792
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793
  *) ac_try_echo=$ac_try;;
2794
esac
2795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2796
$as_echo "$ac_try_echo") >&5
2797
  (eval "$ac_compiler -v >&5") 2>&5
2798
  ac_status=$?
2799
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800
  (exit $ac_status); }
2801
{ (ac_try="$ac_compiler -V >&5"
2802
case "(($ac_try" in
2803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804
  *) ac_try_echo=$ac_try;;
2805
esac
2806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2807
$as_echo "$ac_try_echo") >&5
2808
  (eval "$ac_compiler -V >&5") 2>&5
2809
  ac_status=$?
2810
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811
  (exit $ac_status); }
2812
 
2813
cat >conftest.$ac_ext <<_ACEOF
2814
/* confdefs.h.  */
2815
_ACEOF
2816
cat confdefs.h >>conftest.$ac_ext
2817
cat >>conftest.$ac_ext <<_ACEOF
2818
/* end confdefs.h.  */
2819
 
2820
int
2821
main ()
2822
{
2823
 
2824
  ;
2825
  return 0;
2826
}
2827
_ACEOF
2828
ac_clean_files_save=$ac_clean_files
2829
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2830
# Try to create an executable without -o first, disregard a.out.
2831
# It will help us diagnose broken compilers, and finding out an intuition
2832
# of exeext.
2833
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2834
$as_echo_n "checking for C compiler default output file name... " >&6; }
2835
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2836
 
2837
# The possible output files:
2838
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2839
 
2840
ac_rmfiles=
2841
for ac_file in $ac_files
2842
do
2843
  case $ac_file in
2844
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2845
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2846
  esac
2847
done
2848
rm -f $ac_rmfiles
2849
 
2850
if { (ac_try="$ac_link_default"
2851
case "(($ac_try" in
2852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853
  *) ac_try_echo=$ac_try;;
2854
esac
2855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2856
$as_echo "$ac_try_echo") >&5
2857
  (eval "$ac_link_default") 2>&5
2858
  ac_status=$?
2859
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
  (exit $ac_status); }; then
2861
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2862
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2863
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2864
# so that the user can short-circuit this test for compilers unknown to
2865
# Autoconf.
2866
for ac_file in $ac_files ''
2867
do
2868
  test -f "$ac_file" || continue
2869
  case $ac_file in
2870
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2871
        ;;
2872
    [ab].out )
2873
        # We found the default executable, but exeext='' is most
2874
        # certainly right.
2875
        break;;
2876
    *.* )
2877
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2878
        then :; else
2879
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2880
        fi
2881
        # We set ac_cv_exeext here because the later test for it is not
2882
        # safe: cross compilers may not add the suffix if given an `-o'
2883
        # argument, so we may need to know it at that point already.
2884
        # Even if this section looks crufty: it has the advantage of
2885
        # actually working.
2886
        break;;
2887
    * )
2888
        break;;
2889
  esac
2890
done
2891
test "$ac_cv_exeext" = no && ac_cv_exeext=
2892
 
2893
else
2894
  ac_file=''
2895
fi
2896
 
2897
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2898
$as_echo "$ac_file" >&6; }
2899
if test -z "$ac_file"; then
2900
  $as_echo "$as_me: failed program was:" >&5
2901
sed 's/^/| /' conftest.$ac_ext >&5
2902
 
2903
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2904
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2906
See \`config.log' for more details." >&5
2907
$as_echo "$as_me: error: C compiler cannot create executables
2908
See \`config.log' for more details." >&2;}
2909
   { (exit 77); exit 77; }; }; }
2910
fi
2911
 
2912
ac_exeext=$ac_cv_exeext
2913
 
2914
# Check that the compiler produces executables we can run.  If not, either
2915
# the compiler is broken, or we cross compile.
2916
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2917
$as_echo_n "checking whether the C compiler works... " >&6; }
2918
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2919
# If not cross compiling, check that we can run a simple program.
2920
if test "$cross_compiling" != yes; then
2921
  if { ac_try='./$ac_file'
2922
  { (case "(($ac_try" in
2923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2924
  *) ac_try_echo=$ac_try;;
2925
esac
2926
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2927
$as_echo "$ac_try_echo") >&5
2928
  (eval "$ac_try") 2>&5
2929
  ac_status=$?
2930
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931
  (exit $ac_status); }; }; then
2932
    cross_compiling=no
2933
  else
2934
    if test "$cross_compiling" = maybe; then
2935
        cross_compiling=yes
2936
    else
2937
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2938
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2940
If you meant to cross compile, use \`--host'.
2941
See \`config.log' for more details." >&5
2942
$as_echo "$as_me: error: cannot run C compiled programs.
2943
If you meant to cross compile, use \`--host'.
2944
See \`config.log' for more details." >&2;}
2945
   { (exit 1); exit 1; }; }; }
2946
    fi
2947
  fi
2948
fi
2949
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2950
$as_echo "yes" >&6; }
2951
 
2952
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2953
ac_clean_files=$ac_clean_files_save
2954
# Check that the compiler produces executables we can run.  If not, either
2955
# the compiler is broken, or we cross compile.
2956
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2957
$as_echo_n "checking whether we are cross compiling... " >&6; }
2958
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2959
$as_echo "$cross_compiling" >&6; }
2960
 
2961
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2962
$as_echo_n "checking for suffix of executables... " >&6; }
2963
if { (ac_try="$ac_link"
2964
case "(($ac_try" in
2965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966
  *) ac_try_echo=$ac_try;;
2967
esac
2968
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2969
$as_echo "$ac_try_echo") >&5
2970
  (eval "$ac_link") 2>&5
2971
  ac_status=$?
2972
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973
  (exit $ac_status); }; then
2974
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2976
# work properly (i.e., refer to `conftest.exe'), while it won't with
2977
# `rm'.
2978
for ac_file in conftest.exe conftest conftest.*; do
2979
  test -f "$ac_file" || continue
2980
  case $ac_file in
2981
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2982
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983
          break;;
2984
    * ) break;;
2985
  esac
2986
done
2987
else
2988
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2991
See \`config.log' for more details." >&5
2992
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2993
See \`config.log' for more details." >&2;}
2994
   { (exit 1); exit 1; }; }; }
2995
fi
2996
 
2997
rm -f conftest$ac_cv_exeext
2998
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2999
$as_echo "$ac_cv_exeext" >&6; }
3000
 
3001
rm -f conftest.$ac_ext
3002
EXEEXT=$ac_cv_exeext
3003
ac_exeext=$EXEEXT
3004
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005
$as_echo_n "checking for suffix of object files... " >&6; }
3006
if test "${ac_cv_objext+set}" = set; then
3007
  $as_echo_n "(cached) " >&6
3008
else
3009
  cat >conftest.$ac_ext <<_ACEOF
3010
/* confdefs.h.  */
3011
_ACEOF
3012
cat confdefs.h >>conftest.$ac_ext
3013
cat >>conftest.$ac_ext <<_ACEOF
3014
/* end confdefs.h.  */
3015
 
3016
int
3017
main ()
3018
{
3019
 
3020
  ;
3021
  return 0;
3022
}
3023
_ACEOF
3024
rm -f conftest.o conftest.obj
3025
if { (ac_try="$ac_compile"
3026
case "(($ac_try" in
3027
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028
  *) ac_try_echo=$ac_try;;
3029
esac
3030
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3031
$as_echo "$ac_try_echo") >&5
3032
  (eval "$ac_compile") 2>&5
3033
  ac_status=$?
3034
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
  (exit $ac_status); }; then
3036
  for ac_file in conftest.o conftest.obj conftest.*; do
3037
  test -f "$ac_file" || continue;
3038
  case $ac_file in
3039
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3040
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3041
       break;;
3042
  esac
3043
done
3044
else
3045
  $as_echo "$as_me: failed program was:" >&5
3046
sed 's/^/| /' conftest.$ac_ext >&5
3047
 
3048
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3049
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3051
See \`config.log' for more details." >&5
3052
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3053
See \`config.log' for more details." >&2;}
3054
   { (exit 1); exit 1; }; }; }
3055
fi
3056
 
3057
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3058
fi
3059
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3060
$as_echo "$ac_cv_objext" >&6; }
3061
OBJEXT=$ac_cv_objext
3062
ac_objext=$OBJEXT
3063
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3064
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3065
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3066
  $as_echo_n "(cached) " >&6
3067
else
3068
  cat >conftest.$ac_ext <<_ACEOF
3069
/* confdefs.h.  */
3070
_ACEOF
3071
cat confdefs.h >>conftest.$ac_ext
3072
cat >>conftest.$ac_ext <<_ACEOF
3073
/* end confdefs.h.  */
3074
 
3075
int
3076
main ()
3077
{
3078
#ifndef __GNUC__
3079
       choke me
3080
#endif
3081
 
3082
  ;
3083
  return 0;
3084
}
3085
_ACEOF
3086
rm -f conftest.$ac_objext
3087
if { (ac_try="$ac_compile"
3088
case "(($ac_try" in
3089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
  *) ac_try_echo=$ac_try;;
3091
esac
3092
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093
$as_echo "$ac_try_echo") >&5
3094
  (eval "$ac_compile") 2>conftest.er1
3095
  ac_status=$?
3096
  grep -v '^ *+' conftest.er1 >conftest.err
3097
  rm -f conftest.er1
3098
  cat conftest.err >&5
3099
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100
  (exit $ac_status); } && {
3101
         test -z "$ac_c_werror_flag" ||
3102
         test ! -s conftest.err
3103
       } && test -s conftest.$ac_objext; then
3104
  ac_compiler_gnu=yes
3105
else
3106
  $as_echo "$as_me: failed program was:" >&5
3107
sed 's/^/| /' conftest.$ac_ext >&5
3108
 
3109
        ac_compiler_gnu=no
3110
fi
3111
 
3112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3114
 
3115
fi
3116
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3117
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3118
if test $ac_compiler_gnu = yes; then
3119
  GCC=yes
3120
else
3121
  GCC=
3122
fi
3123
ac_test_CFLAGS=${CFLAGS+set}
3124
ac_save_CFLAGS=$CFLAGS
3125
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3126
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3127
if test "${ac_cv_prog_cc_g+set}" = set; then
3128
  $as_echo_n "(cached) " >&6
3129
else
3130
  ac_save_c_werror_flag=$ac_c_werror_flag
3131
   ac_c_werror_flag=yes
3132
   ac_cv_prog_cc_g=no
3133
   CFLAGS="-g"
3134
   cat >conftest.$ac_ext <<_ACEOF
3135
/* confdefs.h.  */
3136
_ACEOF
3137
cat confdefs.h >>conftest.$ac_ext
3138
cat >>conftest.$ac_ext <<_ACEOF
3139
/* end confdefs.h.  */
3140
 
3141
int
3142
main ()
3143
{
3144
 
3145
  ;
3146
  return 0;
3147
}
3148
_ACEOF
3149
rm -f conftest.$ac_objext
3150
if { (ac_try="$ac_compile"
3151
case "(($ac_try" in
3152
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
  *) ac_try_echo=$ac_try;;
3154
esac
3155
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156
$as_echo "$ac_try_echo") >&5
3157
  (eval "$ac_compile") 2>conftest.er1
3158
  ac_status=$?
3159
  grep -v '^ *+' conftest.er1 >conftest.err
3160
  rm -f conftest.er1
3161
  cat conftest.err >&5
3162
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163
  (exit $ac_status); } && {
3164
         test -z "$ac_c_werror_flag" ||
3165
         test ! -s conftest.err
3166
       } && test -s conftest.$ac_objext; then
3167
  ac_cv_prog_cc_g=yes
3168
else
3169
  $as_echo "$as_me: failed program was:" >&5
3170
sed 's/^/| /' conftest.$ac_ext >&5
3171
 
3172
        CFLAGS=""
3173
      cat >conftest.$ac_ext <<_ACEOF
3174
/* confdefs.h.  */
3175
_ACEOF
3176
cat confdefs.h >>conftest.$ac_ext
3177
cat >>conftest.$ac_ext <<_ACEOF
3178
/* end confdefs.h.  */
3179
 
3180
int
3181
main ()
3182
{
3183
 
3184
  ;
3185
  return 0;
3186
}
3187
_ACEOF
3188
rm -f conftest.$ac_objext
3189
if { (ac_try="$ac_compile"
3190
case "(($ac_try" in
3191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192
  *) ac_try_echo=$ac_try;;
3193
esac
3194
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195
$as_echo "$ac_try_echo") >&5
3196
  (eval "$ac_compile") 2>conftest.er1
3197
  ac_status=$?
3198
  grep -v '^ *+' conftest.er1 >conftest.err
3199
  rm -f conftest.er1
3200
  cat conftest.err >&5
3201
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202
  (exit $ac_status); } && {
3203
         test -z "$ac_c_werror_flag" ||
3204
         test ! -s conftest.err
3205
       } && test -s conftest.$ac_objext; then
3206
  :
3207
else
3208
  $as_echo "$as_me: failed program was:" >&5
3209
sed 's/^/| /' conftest.$ac_ext >&5
3210
 
3211
        ac_c_werror_flag=$ac_save_c_werror_flag
3212
         CFLAGS="-g"
3213
         cat >conftest.$ac_ext <<_ACEOF
3214
/* confdefs.h.  */
3215
_ACEOF
3216
cat confdefs.h >>conftest.$ac_ext
3217
cat >>conftest.$ac_ext <<_ACEOF
3218
/* end confdefs.h.  */
3219
 
3220
int
3221
main ()
3222
{
3223
 
3224
  ;
3225
  return 0;
3226
}
3227
_ACEOF
3228
rm -f conftest.$ac_objext
3229
if { (ac_try="$ac_compile"
3230
case "(($ac_try" in
3231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232
  *) ac_try_echo=$ac_try;;
3233
esac
3234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3235
$as_echo "$ac_try_echo") >&5
3236
  (eval "$ac_compile") 2>conftest.er1
3237
  ac_status=$?
3238
  grep -v '^ *+' conftest.er1 >conftest.err
3239
  rm -f conftest.er1
3240
  cat conftest.err >&5
3241
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242
  (exit $ac_status); } && {
3243
         test -z "$ac_c_werror_flag" ||
3244
         test ! -s conftest.err
3245
       } && test -s conftest.$ac_objext; then
3246
  ac_cv_prog_cc_g=yes
3247
else
3248
  $as_echo "$as_me: failed program was:" >&5
3249
sed 's/^/| /' conftest.$ac_ext >&5
3250
 
3251
 
3252
fi
3253
 
3254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255
fi
3256
 
3257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258
fi
3259
 
3260
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261
   ac_c_werror_flag=$ac_save_c_werror_flag
3262
fi
3263
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3264
$as_echo "$ac_cv_prog_cc_g" >&6; }
3265
if test "$ac_test_CFLAGS" = set; then
3266
  CFLAGS=$ac_save_CFLAGS
3267
elif test $ac_cv_prog_cc_g = yes; then
3268
  if test "$GCC" = yes; then
3269
    CFLAGS="-g -O2"
3270
  else
3271
    CFLAGS="-g"
3272
  fi
3273
else
3274
  if test "$GCC" = yes; then
3275
    CFLAGS="-O2"
3276
  else
3277
    CFLAGS=
3278
  fi
3279
fi
3280
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3281
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3282
if test "${ac_cv_prog_cc_c89+set}" = set; then
3283
  $as_echo_n "(cached) " >&6
3284
else
3285
  ac_cv_prog_cc_c89=no
3286
ac_save_CC=$CC
3287
cat >conftest.$ac_ext <<_ACEOF
3288
/* confdefs.h.  */
3289
_ACEOF
3290
cat confdefs.h >>conftest.$ac_ext
3291
cat >>conftest.$ac_ext <<_ACEOF
3292
/* end confdefs.h.  */
3293
#include 
3294
#include 
3295
#include 
3296
#include 
3297
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3298
struct buf { int x; };
3299
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3300
static char *e (p, i)
3301
     char **p;
3302
     int i;
3303
{
3304
  return p[i];
3305
}
3306
static char *f (char * (*g) (char **, int), char **p, ...)
3307
{
3308
  char *s;
3309
  va_list v;
3310
  va_start (v,p);
3311
  s = g (p, va_arg (v,int));
3312
  va_end (v);
3313
  return s;
3314
}
3315
 
3316
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3317
   function prototypes and stuff, but not '\xHH' hex character constants.
3318
   These don't provoke an error unfortunately, instead are silently treated
3319
   as 'x'.  The following induces an error, until -std is added to get
3320
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3321
   array size at least.  It's necessary to write '\x00'==0 to get something
3322
   that's true only with -std.  */
3323
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3324
 
3325
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3326
   inside strings and character constants.  */
3327
#define FOO(x) 'x'
3328
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3329
 
3330
int test (int i, double x);
3331
struct s1 {int (*f) (int a);};
3332
struct s2 {int (*f) (double a);};
3333
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3334
int argc;
3335
char **argv;
3336
int
3337
main ()
3338
{
3339
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3340
  ;
3341
  return 0;
3342
}
3343
_ACEOF
3344
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3345
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3346
do
3347
  CC="$ac_save_CC $ac_arg"
3348
  rm -f conftest.$ac_objext
3349
if { (ac_try="$ac_compile"
3350
case "(($ac_try" in
3351
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
  *) ac_try_echo=$ac_try;;
3353
esac
3354
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3355
$as_echo "$ac_try_echo") >&5
3356
  (eval "$ac_compile") 2>conftest.er1
3357
  ac_status=$?
3358
  grep -v '^ *+' conftest.er1 >conftest.err
3359
  rm -f conftest.er1
3360
  cat conftest.err >&5
3361
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362
  (exit $ac_status); } && {
3363
         test -z "$ac_c_werror_flag" ||
3364
         test ! -s conftest.err
3365
       } && test -s conftest.$ac_objext; then
3366
  ac_cv_prog_cc_c89=$ac_arg
3367
else
3368
  $as_echo "$as_me: failed program was:" >&5
3369
sed 's/^/| /' conftest.$ac_ext >&5
3370
 
3371
 
3372
fi
3373
 
3374
rm -f core conftest.err conftest.$ac_objext
3375
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3376
done
3377
rm -f conftest.$ac_ext
3378
CC=$ac_save_CC
3379
 
3380
fi
3381
# AC_CACHE_VAL
3382
case "x$ac_cv_prog_cc_c89" in
3383
  x)
3384
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3385
$as_echo "none needed" >&6; } ;;
3386
  xno)
3387
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3388
$as_echo "unsupported" >&6; } ;;
3389
  *)
3390
    CC="$CC $ac_cv_prog_cc_c89"
3391
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3392
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3393
esac
3394
 
3395
 
3396
ac_ext=c
3397
ac_cpp='$CPP $CPPFLAGS'
3398
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401
DEPDIR="${am__leading_dot}deps"
3402
 
3403
ac_config_commands="$ac_config_commands depfiles"
3404
 
3405
 
3406
am_make=${MAKE-make}
3407
cat > confinc << 'END'
3408
am__doit:
3409
        @echo this is the am__doit target
3410
.PHONY: am__doit
3411
END
3412
# If we don't find an include directive, just comment out the code.
3413
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3414
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3415
am__include="#"
3416
am__quote=
3417
_am_result=none
3418
# First try GNU make style include.
3419
echo "include confinc" > confmf
3420
# Ignore all kinds of additional output from `make'.
3421
case `$am_make -s -f confmf 2> /dev/null` in #(
3422
*the\ am__doit\ target*)
3423
  am__include=include
3424
  am__quote=
3425
  _am_result=GNU
3426
  ;;
3427
esac
3428
# Now try BSD make style include.
3429
if test "$am__include" = "#"; then
3430
   echo '.include "confinc"' > confmf
3431
   case `$am_make -s -f confmf 2> /dev/null` in #(
3432
   *the\ am__doit\ target*)
3433
     am__include=.include
3434
     am__quote="\""
3435
     _am_result=BSD
3436
     ;;
3437
   esac
3438
fi
3439
 
3440
 
3441
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3442
$as_echo "$_am_result" >&6; }
3443
rm -f confinc confmf
3444
 
3445
# Check whether --enable-dependency-tracking was given.
3446
if test "${enable_dependency_tracking+set}" = set; then
3447
  enableval=$enable_dependency_tracking;
3448
fi
3449
 
3450
if test "x$enable_dependency_tracking" != xno; then
3451
  am_depcomp="$ac_aux_dir/depcomp"
3452
  AMDEPBACKSLASH='\'
3453
fi
3454
 if test "x$enable_dependency_tracking" != xno; then
3455
  AMDEP_TRUE=
3456
  AMDEP_FALSE='#'
3457
else
3458
  AMDEP_TRUE='#'
3459
  AMDEP_FALSE=
3460
fi
3461
 
3462
 
3463
 
3464
depcc="$CC"   am_compiler_list=
3465
 
3466
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3467
$as_echo_n "checking dependency style of $depcc... " >&6; }
3468
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3469
  $as_echo_n "(cached) " >&6
3470
else
3471
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3472
  # We make a subdir and do the tests there.  Otherwise we can end up
3473
  # making bogus files that we don't know about and never remove.  For
3474
  # instance it was reported that on HP-UX the gcc test will end up
3475
  # making a dummy file named `D' -- because `-MD' means `put the output
3476
  # in D'.
3477
  mkdir conftest.dir
3478
  # Copy depcomp to subdir because otherwise we won't find it if we're
3479
  # using a relative directory.
3480
  cp "$am_depcomp" conftest.dir
3481
  cd conftest.dir
3482
  # We will build objects and dependencies in a subdirectory because
3483
  # it helps to detect inapplicable dependency modes.  For instance
3484
  # both Tru64's cc and ICC support -MD to output dependencies as a
3485
  # side effect of compilation, but ICC will put the dependencies in
3486
  # the current directory while Tru64 will put them in the object
3487
  # directory.
3488
  mkdir sub
3489
 
3490
  am_cv_CC_dependencies_compiler_type=none
3491
  if test "$am_compiler_list" = ""; then
3492
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3493
  fi
3494
  am__universal=false
3495
  case " $depcc " in #(
3496
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3497
     esac
3498
 
3499
  for depmode in $am_compiler_list; do
3500
    # Setup a source with many dependencies, because some compilers
3501
    # like to wrap large dependency lists on column 80 (with \), and
3502
    # we should not choose a depcomp mode which is confused by this.
3503
    #
3504
    # We need to recreate these files for each test, as the compiler may
3505
    # overwrite some of them when testing with obscure command lines.
3506
    # This happens at least with the AIX C compiler.
3507
    : > sub/conftest.c
3508
    for i in 1 2 3 4 5 6; do
3509
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3510
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3511
      # Solaris 8's {/usr,}/bin/sh.
3512
      touch sub/conftst$i.h
3513
    done
3514
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3515
 
3516
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3517
    # mode.  It turns out that the SunPro C++ compiler does not properly
3518
    # handle `-M -o', and we need to detect this.  Also, some Intel
3519
    # versions had trouble with output in subdirs
3520
    am__obj=sub/conftest.${OBJEXT-o}
3521
    am__minus_obj="-o $am__obj"
3522
    case $depmode in
3523
    gcc)
3524
      # This depmode causes a compiler race in universal mode.
3525
      test "$am__universal" = false || continue
3526
      ;;
3527
    nosideeffect)
3528
      # after this tag, mechanisms are not by side-effect, so they'll
3529
      # only be used when explicitly requested
3530
      if test "x$enable_dependency_tracking" = xyes; then
3531
        continue
3532
      else
3533
        break
3534
      fi
3535
      ;;
3536
    msvisualcpp | msvcmsys)
3537
      # This compiler won't grok `-c -o', but also, the minuso test has
3538
      # not run yet.  These depmodes are late enough in the game, and
3539
      # so weak that their functioning should not be impacted.
3540
      am__obj=conftest.${OBJEXT-o}
3541
      am__minus_obj=
3542
      ;;
3543
    none) break ;;
3544
    esac
3545
    if depmode=$depmode \
3546
       source=sub/conftest.c object=$am__obj \
3547
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3548
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3549
         >/dev/null 2>conftest.err &&
3550
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3551
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3552
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3553
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3554
      # icc doesn't choke on unknown options, it will just issue warnings
3555
      # or remarks (even with -Werror).  So we grep stderr for any message
3556
      # that says an option was ignored or not supported.
3557
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3558
      #   icc: Command line warning: ignoring option '-M'; no argument required
3559
      # The diagnosis changed in icc 8.0:
3560
      #   icc: Command line remark: option '-MP' not supported
3561
      if (grep 'ignoring option' conftest.err ||
3562
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3563
        am_cv_CC_dependencies_compiler_type=$depmode
3564
        break
3565
      fi
3566
    fi
3567
  done
3568
 
3569
  cd ..
3570
  rm -rf conftest.dir
3571
else
3572
  am_cv_CC_dependencies_compiler_type=none
3573
fi
3574
 
3575
fi
3576
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3577
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3578
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3579
 
3580
 if
3581
  test "x$enable_dependency_tracking" != xno \
3582
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3583
  am__fastdepCC_TRUE=
3584
  am__fastdepCC_FALSE='#'
3585
else
3586
  am__fastdepCC_TRUE='#'
3587
  am__fastdepCC_FALSE=
3588
fi
3589
 
3590
 
3591
ac_ext=cpp
3592
ac_cpp='$CXXCPP $CPPFLAGS'
3593
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3596
if test -z "$CXX"; then
3597
  if test -n "$CCC"; then
3598
    CXX=$CCC
3599
  else
3600
    if test -n "$ac_tool_prefix"; then
3601
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3602
  do
3603
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3604
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3605
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3606
$as_echo_n "checking for $ac_word... " >&6; }
3607
if test "${ac_cv_prog_CXX+set}" = set; then
3608
  $as_echo_n "(cached) " >&6
3609
else
3610
  if test -n "$CXX"; then
3611
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3612
else
3613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614
for as_dir in $PATH
3615
do
3616
  IFS=$as_save_IFS
3617
  test -z "$as_dir" && as_dir=.
3618
  for ac_exec_ext in '' $ac_executable_extensions; do
3619
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3621
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622
    break 2
3623
  fi
3624
done
3625
done
3626
IFS=$as_save_IFS
3627
 
3628
fi
3629
fi
3630
CXX=$ac_cv_prog_CXX
3631
if test -n "$CXX"; then
3632
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3633
$as_echo "$CXX" >&6; }
3634
else
3635
  { $as_echo "$as_me:$LINENO: result: no" >&5
3636
$as_echo "no" >&6; }
3637
fi
3638
 
3639
 
3640
    test -n "$CXX" && break
3641
  done
3642
fi
3643
if test -z "$CXX"; then
3644
  ac_ct_CXX=$CXX
3645
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3646
do
3647
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3648
set dummy $ac_prog; ac_word=$2
3649
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3650
$as_echo_n "checking for $ac_word... " >&6; }
3651
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3652
  $as_echo_n "(cached) " >&6
3653
else
3654
  if test -n "$ac_ct_CXX"; then
3655
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3656
else
3657
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658
for as_dir in $PATH
3659
do
3660
  IFS=$as_save_IFS
3661
  test -z "$as_dir" && as_dir=.
3662
  for ac_exec_ext in '' $ac_executable_extensions; do
3663
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3665
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3666
    break 2
3667
  fi
3668
done
3669
done
3670
IFS=$as_save_IFS
3671
 
3672
fi
3673
fi
3674
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3675
if test -n "$ac_ct_CXX"; then
3676
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3677
$as_echo "$ac_ct_CXX" >&6; }
3678
else
3679
  { $as_echo "$as_me:$LINENO: result: no" >&5
3680
$as_echo "no" >&6; }
3681
fi
3682
 
3683
 
3684
  test -n "$ac_ct_CXX" && break
3685
done
3686
 
3687
  if test "x$ac_ct_CXX" = x; then
3688
    CXX="g++"
3689
  else
3690
    case $cross_compiling:$ac_tool_warned in
3691
yes:)
3692
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3693
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694
ac_tool_warned=yes ;;
3695
esac
3696
    CXX=$ac_ct_CXX
3697
  fi
3698
fi
3699
 
3700
  fi
3701
fi
3702
# Provide some information about the compiler.
3703
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3704
set X $ac_compile
3705
ac_compiler=$2
3706
{ (ac_try="$ac_compiler --version >&5"
3707
case "(($ac_try" in
3708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709
  *) ac_try_echo=$ac_try;;
3710
esac
3711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3712
$as_echo "$ac_try_echo") >&5
3713
  (eval "$ac_compiler --version >&5") 2>&5
3714
  ac_status=$?
3715
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716
  (exit $ac_status); }
3717
{ (ac_try="$ac_compiler -v >&5"
3718
case "(($ac_try" in
3719
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720
  *) ac_try_echo=$ac_try;;
3721
esac
3722
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3723
$as_echo "$ac_try_echo") >&5
3724
  (eval "$ac_compiler -v >&5") 2>&5
3725
  ac_status=$?
3726
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727
  (exit $ac_status); }
3728
{ (ac_try="$ac_compiler -V >&5"
3729
case "(($ac_try" in
3730
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731
  *) ac_try_echo=$ac_try;;
3732
esac
3733
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3734
$as_echo "$ac_try_echo") >&5
3735
  (eval "$ac_compiler -V >&5") 2>&5
3736
  ac_status=$?
3737
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
  (exit $ac_status); }
3739
 
3740
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3741
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3742
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3743
  $as_echo_n "(cached) " >&6
3744
else
3745
  cat >conftest.$ac_ext <<_ACEOF
3746
/* confdefs.h.  */
3747
_ACEOF
3748
cat confdefs.h >>conftest.$ac_ext
3749
cat >>conftest.$ac_ext <<_ACEOF
3750
/* end confdefs.h.  */
3751
 
3752
int
3753
main ()
3754
{
3755
#ifndef __GNUC__
3756
       choke me
3757
#endif
3758
 
3759
  ;
3760
  return 0;
3761
}
3762
_ACEOF
3763
rm -f conftest.$ac_objext
3764
if { (ac_try="$ac_compile"
3765
case "(($ac_try" in
3766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767
  *) ac_try_echo=$ac_try;;
3768
esac
3769
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3770
$as_echo "$ac_try_echo") >&5
3771
  (eval "$ac_compile") 2>conftest.er1
3772
  ac_status=$?
3773
  grep -v '^ *+' conftest.er1 >conftest.err
3774
  rm -f conftest.er1
3775
  cat conftest.err >&5
3776
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777
  (exit $ac_status); } && {
3778
         test -z "$ac_cxx_werror_flag" ||
3779
         test ! -s conftest.err
3780
       } && test -s conftest.$ac_objext; then
3781
  ac_compiler_gnu=yes
3782
else
3783
  $as_echo "$as_me: failed program was:" >&5
3784
sed 's/^/| /' conftest.$ac_ext >&5
3785
 
3786
        ac_compiler_gnu=no
3787
fi
3788
 
3789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3791
 
3792
fi
3793
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3794
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3795
if test $ac_compiler_gnu = yes; then
3796
  GXX=yes
3797
else
3798
  GXX=
3799
fi
3800
ac_test_CXXFLAGS=${CXXFLAGS+set}
3801
ac_save_CXXFLAGS=$CXXFLAGS
3802
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3803
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3804
if test "${ac_cv_prog_cxx_g+set}" = set; then
3805
  $as_echo_n "(cached) " >&6
3806
else
3807
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3808
   ac_cxx_werror_flag=yes
3809
   ac_cv_prog_cxx_g=no
3810
   CXXFLAGS="-g"
3811
   cat >conftest.$ac_ext <<_ACEOF
3812
/* confdefs.h.  */
3813
_ACEOF
3814
cat confdefs.h >>conftest.$ac_ext
3815
cat >>conftest.$ac_ext <<_ACEOF
3816
/* end confdefs.h.  */
3817
 
3818
int
3819
main ()
3820
{
3821
 
3822
  ;
3823
  return 0;
3824
}
3825
_ACEOF
3826
rm -f conftest.$ac_objext
3827
if { (ac_try="$ac_compile"
3828
case "(($ac_try" in
3829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3830
  *) ac_try_echo=$ac_try;;
3831
esac
3832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3833
$as_echo "$ac_try_echo") >&5
3834
  (eval "$ac_compile") 2>conftest.er1
3835
  ac_status=$?
3836
  grep -v '^ *+' conftest.er1 >conftest.err
3837
  rm -f conftest.er1
3838
  cat conftest.err >&5
3839
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840
  (exit $ac_status); } && {
3841
         test -z "$ac_cxx_werror_flag" ||
3842
         test ! -s conftest.err
3843
       } && test -s conftest.$ac_objext; then
3844
  ac_cv_prog_cxx_g=yes
3845
else
3846
  $as_echo "$as_me: failed program was:" >&5
3847
sed 's/^/| /' conftest.$ac_ext >&5
3848
 
3849
        CXXFLAGS=""
3850
      cat >conftest.$ac_ext <<_ACEOF
3851
/* confdefs.h.  */
3852
_ACEOF
3853
cat confdefs.h >>conftest.$ac_ext
3854
cat >>conftest.$ac_ext <<_ACEOF
3855
/* end confdefs.h.  */
3856
 
3857
int
3858
main ()
3859
{
3860
 
3861
  ;
3862
  return 0;
3863
}
3864
_ACEOF
3865
rm -f conftest.$ac_objext
3866
if { (ac_try="$ac_compile"
3867
case "(($ac_try" in
3868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869
  *) ac_try_echo=$ac_try;;
3870
esac
3871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3872
$as_echo "$ac_try_echo") >&5
3873
  (eval "$ac_compile") 2>conftest.er1
3874
  ac_status=$?
3875
  grep -v '^ *+' conftest.er1 >conftest.err
3876
  rm -f conftest.er1
3877
  cat conftest.err >&5
3878
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879
  (exit $ac_status); } && {
3880
         test -z "$ac_cxx_werror_flag" ||
3881
         test ! -s conftest.err
3882
       } && test -s conftest.$ac_objext; then
3883
  :
3884
else
3885
  $as_echo "$as_me: failed program was:" >&5
3886
sed 's/^/| /' conftest.$ac_ext >&5
3887
 
3888
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3889
         CXXFLAGS="-g"
3890
         cat >conftest.$ac_ext <<_ACEOF
3891
/* confdefs.h.  */
3892
_ACEOF
3893
cat confdefs.h >>conftest.$ac_ext
3894
cat >>conftest.$ac_ext <<_ACEOF
3895
/* end confdefs.h.  */
3896
 
3897
int
3898
main ()
3899
{
3900
 
3901
  ;
3902
  return 0;
3903
}
3904
_ACEOF
3905
rm -f conftest.$ac_objext
3906
if { (ac_try="$ac_compile"
3907
case "(($ac_try" in
3908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909
  *) ac_try_echo=$ac_try;;
3910
esac
3911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3912
$as_echo "$ac_try_echo") >&5
3913
  (eval "$ac_compile") 2>conftest.er1
3914
  ac_status=$?
3915
  grep -v '^ *+' conftest.er1 >conftest.err
3916
  rm -f conftest.er1
3917
  cat conftest.err >&5
3918
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919
  (exit $ac_status); } && {
3920
         test -z "$ac_cxx_werror_flag" ||
3921
         test ! -s conftest.err
3922
       } && test -s conftest.$ac_objext; then
3923
  ac_cv_prog_cxx_g=yes
3924
else
3925
  $as_echo "$as_me: failed program was:" >&5
3926
sed 's/^/| /' conftest.$ac_ext >&5
3927
 
3928
 
3929
fi
3930
 
3931
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932
fi
3933
 
3934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935
fi
3936
 
3937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3939
fi
3940
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3941
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3942
if test "$ac_test_CXXFLAGS" = set; then
3943
  CXXFLAGS=$ac_save_CXXFLAGS
3944
elif test $ac_cv_prog_cxx_g = yes; then
3945
  if test "$GXX" = yes; then
3946
    CXXFLAGS="-g -O2"
3947
  else
3948
    CXXFLAGS="-g"
3949
  fi
3950
else
3951
  if test "$GXX" = yes; then
3952
    CXXFLAGS="-O2"
3953
  else
3954
    CXXFLAGS=
3955
  fi
3956
fi
3957
ac_ext=c
3958
ac_cpp='$CPP $CPPFLAGS'
3959
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3960
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3961
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962
 
3963
depcc="$CXX"  am_compiler_list=
3964
 
3965
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3966
$as_echo_n "checking dependency style of $depcc... " >&6; }
3967
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3968
  $as_echo_n "(cached) " >&6
3969
else
3970
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3971
  # We make a subdir and do the tests there.  Otherwise we can end up
3972
  # making bogus files that we don't know about and never remove.  For
3973
  # instance it was reported that on HP-UX the gcc test will end up
3974
  # making a dummy file named `D' -- because `-MD' means `put the output
3975
  # in D'.
3976
  mkdir conftest.dir
3977
  # Copy depcomp to subdir because otherwise we won't find it if we're
3978
  # using a relative directory.
3979
  cp "$am_depcomp" conftest.dir
3980
  cd conftest.dir
3981
  # We will build objects and dependencies in a subdirectory because
3982
  # it helps to detect inapplicable dependency modes.  For instance
3983
  # both Tru64's cc and ICC support -MD to output dependencies as a
3984
  # side effect of compilation, but ICC will put the dependencies in
3985
  # the current directory while Tru64 will put them in the object
3986
  # directory.
3987
  mkdir sub
3988
 
3989
  am_cv_CXX_dependencies_compiler_type=none
3990
  if test "$am_compiler_list" = ""; then
3991
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3992
  fi
3993
  am__universal=false
3994
  case " $depcc " in #(
3995
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3996
     esac
3997
 
3998
  for depmode in $am_compiler_list; do
3999
    # Setup a source with many dependencies, because some compilers
4000
    # like to wrap large dependency lists on column 80 (with \), and
4001
    # we should not choose a depcomp mode which is confused by this.
4002
    #
4003
    # We need to recreate these files for each test, as the compiler may
4004
    # overwrite some of them when testing with obscure command lines.
4005
    # This happens at least with the AIX C compiler.
4006
    : > sub/conftest.c
4007
    for i in 1 2 3 4 5 6; do
4008
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4009
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4010
      # Solaris 8's {/usr,}/bin/sh.
4011
      touch sub/conftst$i.h
4012
    done
4013
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4014
 
4015
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4016
    # mode.  It turns out that the SunPro C++ compiler does not properly
4017
    # handle `-M -o', and we need to detect this.  Also, some Intel
4018
    # versions had trouble with output in subdirs
4019
    am__obj=sub/conftest.${OBJEXT-o}
4020
    am__minus_obj="-o $am__obj"
4021
    case $depmode in
4022
    gcc)
4023
      # This depmode causes a compiler race in universal mode.
4024
      test "$am__universal" = false || continue
4025
      ;;
4026
    nosideeffect)
4027
      # after this tag, mechanisms are not by side-effect, so they'll
4028
      # only be used when explicitly requested
4029
      if test "x$enable_dependency_tracking" = xyes; then
4030
        continue
4031
      else
4032
        break
4033
      fi
4034
      ;;
4035
    msvisualcpp | msvcmsys)
4036
      # This compiler won't grok `-c -o', but also, the minuso test has
4037
      # not run yet.  These depmodes are late enough in the game, and
4038
      # so weak that their functioning should not be impacted.
4039
      am__obj=conftest.${OBJEXT-o}
4040
      am__minus_obj=
4041
      ;;
4042
    none) break ;;
4043
    esac
4044
    if depmode=$depmode \
4045
       source=sub/conftest.c object=$am__obj \
4046
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4047
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4048
         >/dev/null 2>conftest.err &&
4049
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4050
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4051
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4052
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4053
      # icc doesn't choke on unknown options, it will just issue warnings
4054
      # or remarks (even with -Werror).  So we grep stderr for any message
4055
      # that says an option was ignored or not supported.
4056
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4057
      #   icc: Command line warning: ignoring option '-M'; no argument required
4058
      # The diagnosis changed in icc 8.0:
4059
      #   icc: Command line remark: option '-MP' not supported
4060
      if (grep 'ignoring option' conftest.err ||
4061
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4062
        am_cv_CXX_dependencies_compiler_type=$depmode
4063
        break
4064
      fi
4065
    fi
4066
  done
4067
 
4068
  cd ..
4069
  rm -rf conftest.dir
4070
else
4071
  am_cv_CXX_dependencies_compiler_type=none
4072
fi
4073
 
4074
fi
4075
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4076
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4077
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4078
 
4079
 if
4080
  test "x$enable_dependency_tracking" != xno \
4081
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4082
  am__fastdepCXX_TRUE=
4083
  am__fastdepCXX_FALSE='#'
4084
else
4085
  am__fastdepCXX_TRUE='#'
4086
  am__fastdepCXX_FALSE=
4087
fi
4088
 
4089
 
4090
 
4091
 
4092
 
4093
  ecos_CFLAGS=""
4094
  ecos_CXXFLAGS=""
4095
  ecos_LDADD=""
4096
  ecos_INCLUDES=""
4097
  ecos_LIBS=""
4098
 
4099
 
4100
 
4101
 
4102
 
4103
 
4104
 
4105
 
4106
 
4107
 
4108
 
4109
  { $as_echo "$as_me:$LINENO: checking \"for Visual C++\"" >&5
4110
$as_echo_n "checking \"for Visual C++\"... " >&6; }
4111
  MSVC="no";
4112
  if test "${CC}" = "cl" ; then
4113
     MSVC="yes"
4114
     CXX="cl"
4115
     MSVC_SRCDIR=${srcdir}
4116
 
4117
 
4118
  if test "${MSVC}" = "yes" ; then
4119
    MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /`
4120
  fi
4121
 
4122
 
4123
     ecos_INCLUDES="${ecos_INCLUDES} \"-I${MSVC_SRCDIR}\""
4124
     ecos_LDADD="-link"
4125
     ecos_LIBS="advapi32.lib"
4126
  fi
4127
   if test "${MSVC}" = "yes"; then
4128
  MSVC_TRUE=
4129
  MSVC_FALSE='#'
4130
else
4131
  MSVC_TRUE='#'
4132
  MSVC_FALSE=
4133
fi
4134
 
4135
  if test "${MSVC}" = "yes" ; then
4136
    { $as_echo "$as_me:$LINENO: result: unfortunately yes" >&5
4137
$as_echo "unfortunately yes" >&6; }
4138
  else
4139
    { $as_echo "$as_me:$LINENO: result: no" >&5
4140
$as_echo "no" >&6; }
4141
  fi
4142
 
4143
 
4144
 
4145
 
4146
 
4147
 
4148
 
4149
  { $as_echo "$as_me:$LINENO: checking \"the default compiler flags\"" >&5
4150
$as_echo_n "checking \"the default compiler flags\"... " >&6; }
4151
 
4152
      ecosflags_enable_debug="no"
4153
  # Check whether --enable-debug was given.
4154
if test "${enable_debug+set}" = set; then
4155
  enableval=$enable_debug; case "${enableval}" in
4156
     yes) ecosflags_enable_debug="yes" ;;
4157
     *)   ecosflags_enable_debug="no" ;;
4158
  esac
4159
fi
4160
 
4161
 
4162
          ecosflags_enable_ansi="no"
4163
  if test "${MSVC}" = "yes" ; then
4164
    # Check whether --enable-ansi was given.
4165
if test "${enable_ansi+set}" = set; then
4166
  enableval=$enable_ansi; case "${enableval}" in
4167
       yes) ecosflags_enable_ansi="yes" ;;
4168
       *)   ecosflags_enable_ansi="no" ;;
4169
    esac
4170
fi
4171
 
4172
  fi
4173
 
4174
    if test "${GCC}" = "yes" ; then
4175
    ecos_CFLAGS="${ecos_CFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs"
4176
    ecos_CXXFLAGS="${ecos_CXXFLAGS} -pipe -Wall -Wpointer-arith -Wcast-qual -Woverloaded-virtual"
4177
  elif test "${MSVC}" = "yes" ; then
4178
    ecos_CFLAGS="${ecos_CFLAGS} -nologo -W3"
4179
    ecos_CXXFLAGS="${ecos_CXXFLAGS} -nologo -W3 -GR -GX"
4180
  else
4181
    { { $as_echo "$as_me:$LINENO: error: \"default flags for ${CC} are not known\"" >&5
4182
$as_echo "$as_me: error: \"default flags for ${CC} are not known\"" >&2;}
4183
   { (exit 1); exit 1; }; }
4184
  fi
4185
 
4186
    if test "${ecosflags_enable_debug}" = "yes" ; then
4187
    if test "${GCC}" = "yes" ; then
4188
      ecos_CFLAGS="${ecos_CFLAGS} -g -O0"
4189
      ecos_CXXFLAGS="${ecos_CXXFLAGS} -g -O0"
4190
    elif test "${MSVC}" = "yes" ; then
4191
      ecos_CFLAGS="${ecos_CFLAGS} -MDd -Zi"
4192
      ecos_CXXFLAGS="${ecos_CXXFLAGS} -MDd -Zi"
4193
    fi
4194
  else
4195
            if test "${GCC}" = "yes" ; then
4196
      ecos_CFLAGS="${ecos_CFLAGS} -O2"
4197
      ecos_CXXFLAGS="${ecos_CXXFLAGS} -O2"
4198
    elif test "${MSVC}" = "yes" ; then
4199
      ecos_CFLAGS="${ecos_CFLAGS} -MD -O2"
4200
      ecos_CXXFLAGS="${ecos_CXXFLAGS} -MD -O2"
4201
    fi
4202
  fi
4203
 
4204
  CFLAGS="${ac_save_CFLAGS}"
4205
  CXXFLAGS="${ac_save_CXXFLAGS}"
4206
 
4207
  { $as_echo "$as_me:$LINENO: result: done" >&5
4208
$as_echo "done" >&6; }
4209
 
4210
 
4211
 
4212
 
4213
 
4214
 
4215
        { $as_echo "$as_me:$LINENO: checking for Tcl/Tk installation" >&5
4216
$as_echo_n "checking for Tcl/Tk installation... " >&6; }
4217
  { $as_echo "$as_me:$LINENO: result: " >&5
4218
$as_echo "" >&6; }
4219
 
4220
 
4221
# Check whether --with-tcl was given.
4222
if test "${with_tcl+set}" = set; then
4223
  withval=$with_tcl;
4224
fi
4225
 
4226
 
4227
# Check whether --with-tcl was given.
4228
if test "${with_tcl+set}" = set; then
4229
  withval=$with_tcl;
4230
fi
4231
 
4232
 
4233
# Check whether --with-tcl-version was given.
4234
if test "${with_tcl_version+set}" = set; then
4235
  withval=$with_tcl_version;
4236
fi
4237
 
4238
 
4239
                  if test "${MSVC}" = "yes" ; then
4240
 
4241
# Check whether --with-tcl-header was given.
4242
if test "${with_tcl_header+set}" = set; then
4243
  withval=$with_tcl_header;
4244
fi
4245
 
4246
 
4247
# Check whether --with-tcl-lib was given.
4248
if test "${with_tcl_lib+set}" = set; then
4249
  withval=$with_tcl_lib;
4250
fi
4251
 
4252
    ecos_tcl_incdir=""
4253
    ecos_tcl_libdir=""
4254
    if test "${with_tcl_version+set}" != set ; then
4255
      { { $as_echo "$as_me:$LINENO: error: You must specify a Tcl version using --with-tcl-version=" >&5
4256
$as_echo "$as_me: error: You must specify a Tcl version using --with-tcl-version=" >&2;}
4257
   { (exit 1); exit 1; }; }
4258
    fi
4259
    if test "${with_tcl_header+set}" = set ; then
4260
      ecos_tcl_incdir=${with_tcl_header}
4261
    elif test "${with_tcl+set}" = set ; then
4262
      ecos_tcl_incdir="${with_tcl}/include"
4263
    else
4264
      { { $as_echo "$as_me:$LINENO: error: You must specify a Tcl installation with either --with-tcl= or --with-tcl-header=" >&5
4265
$as_echo "$as_me: error: You must specify a Tcl installation with either --with-tcl= or --with-tcl-header=" >&2;}
4266
   { (exit 1); exit 1; }; }
4267
    fi
4268
    if test "${with_tcl_lib+set}" = set; then
4269
        ecos_tcl_libdir=${with_tcl_lib}
4270
    elif test "${with_tcl+set}" = set; then
4271
        ecos_tcl_libdir="${with_tcl}/lib"
4272
    else
4273
        { { $as_echo "$as_me:$LINENO: error: You must specify a Tcl installation with either --with-tcl= or --with-tcl-lib=" >&5
4274
$as_echo "$as_me: error: You must specify a Tcl installation with either --with-tcl= or --with-tcl-lib=" >&2;}
4275
   { (exit 1); exit 1; }; }
4276
    fi
4277
 
4278
            if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then
4279
      { { $as_echo "$as_me:$LINENO: error: unable to locate Tcl header file tcl.h" >&5
4280
$as_echo "$as_me: error: unable to locate Tcl header file tcl.h" >&2;}
4281
   { (exit 1); exit 1; }; }
4282
    fi
4283
 
4284
 
4285
 
4286
  if test "${MSVC}" = "yes" ; then
4287
    ecos_tcl_incdir=`cygpath -w ${ecos_tcl_incdir} | tr \\\\\\\\ /`
4288
  fi
4289
 
4290
 
4291
 
4292
  if test "${MSVC}" = "yes" ; then
4293
    ecos_tcl_libdir=`cygpath -w ${ecos_tcl_libdir} | tr \\\\\\\\ /`
4294
  fi
4295
 
4296
    ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_tcl_incdir}\""
4297
    ecos_LIBS="${ecos_LIBS} tcl${with_tcl_version}.lib"
4298
    ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_tcl_libdir}\""
4299
 
4300
            ecos_tk_libs=""
4301
 
4302
  else
4303
                possibles=""
4304
    if test "${with_tcl+set}" = set ; then
4305
      possibles="${with_tcl}/lib"
4306
      if test "${with_tcl_version+set}" = set ; then
4307
        possibles="${possibles} ${with_tcl}/lib/tcl${with_tcl_version}"
4308
      fi
4309
    fi
4310
    possibles="${possibles} ${prefix}/lib"
4311
    if test "${with_tcl_version+set}" = set ; then
4312
      possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
4313
    fi
4314
    possibles="${possibles} /usr/lib"
4315
    if test "${with_tcl_version+set}" = set ; then
4316
      possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
4317
    fi
4318
    { $as_echo "$as_me:$LINENO: looking for tclConfig.sh in ${possibles}" >&5
4319
$as_echo "$as_me: looking for tclConfig.sh in ${possibles}" >&6;}
4320
 
4321
  tclconfig=""
4322
  for i in ${possibles}; do
4323
    if test -r "$i/"tclConfig.sh""; then
4324
      tclconfig=$i
4325
      break
4326
    fi
4327
  done
4328
 
4329
    if test \! -r "${tclconfig}/tclConfig.sh" ; then
4330
      { { $as_echo "$as_me:$LINENO: error: unable to locate Tcl configuration file tclConfig.sh" >&5
4331
$as_echo "$as_me: error: unable to locate Tcl configuration file tclConfig.sh" >&2;}
4332
   { (exit 1); exit 1; }; }
4333
    else
4334
      { $as_echo "$as_me:$LINENO: found ${tclconfig}/tclConfig.sh" >&5
4335
$as_echo "$as_me: found ${tclconfig}/tclConfig.sh" >&6;}
4336
      . ${tclconfig}/tclConfig.sh
4337
 
4338
                        if test -n "${TCL_INCLUDE_SPEC}" ; then
4339
        ecos_tcl_incdir="${TCL_INCLUDE_SPEC}"
4340
        { $as_echo "$as_me:$LINENO: trying TCL_INCLUDE_SPEC - looking for tcl.h in ${ecos_tcl_incdir}" >&5
4341
$as_echo "$as_me: trying TCL_INCLUDE_SPEC - looking for tcl.h in ${ecos_tcl_incdir}" >&6;}
4342
      elif test -n "${TCL_INC_DIR}" ; then
4343
        ecos_tcl_incdir="${TCL_INC_DIR}"
4344
        { $as_echo "$as_me:$LINENO: trying TCL_INC_DIR - looking for tcl.h in ${ecos_tcl_incdir}" >&5
4345
$as_echo "$as_me: trying TCL_INC_DIR - looking for tcl.h in ${ecos_tcl_incdir}" >&6;}
4346
      else
4347
        ecos_tcl_incdir="-I${TCL_PREFIX}/include"
4348
        { $as_echo "$as_me:$LINENO: WARNING: no TCL_INCLUDE_SPEC or TCL_INC_DIR in tclConfig.sh" >&5
4349
$as_echo "$as_me: WARNING: no TCL_INCLUDE_SPEC or TCL_INC_DIR in tclConfig.sh" >&2;}
4350
        { $as_echo "$as_me:$LINENO: fallback - looking for tcl.h in ${ecos_tcl_incdir}" >&5
4351
$as_echo "$as_me: fallback - looking for tcl.h in ${ecos_tcl_incdir}" >&6;}
4352
      fi
4353
            ecos_tcl_tmpdir=`echo ${ecos_tcl_incdir} | sed -e "s:-I::g"`
4354
      if test \! -r "${ecos_tcl_tmpdir}/tcl.h" ; then
4355
        { { $as_echo "$as_me:$LINENO: error: unable to locate Tcl header file tcl.h" >&5
4356
$as_echo "$as_me: error: unable to locate Tcl header file tcl.h" >&2;}
4357
   { (exit 1); exit 1; }; }
4358
      else
4359
                                        { $as_echo "$as_me:$LINENO: using ${ecos_tcl_incdir}" >&5
4360
$as_echo "$as_me: using ${ecos_tcl_incdir}" >&6;}
4361
        if test "${ecos_tcl_incdir}" != "-I/usr/include" ; then
4362
          ecos_INCLUDES="${ecos_INCLUDES} ${ecos_tcl_incdir}"
4363
        fi
4364
      fi
4365
 
4366
                        ecos_tcl_libs=""
4367
      if test -n "${TCL_LIB_SPEC}" ; then
4368
        ecos_tcl_libs="${ecos_LIBS} ${TCL_LIB_SPEC}"
4369
        { $as_echo "$as_me:$LINENO: using TCL_LIB_SPEC ${TCL_LIB_SPEC}" >&5
4370
$as_echo "$as_me: using TCL_LIB_SPEC ${TCL_LIB_SPEC}" >&6;}
4371
      else
4372
        { $as_echo "$as_me:$LINENO: WARNING: no TCL_LIB_SPEC in tclConfig.sh" >&5
4373
$as_echo "$as_me: WARNING: no TCL_LIB_SPEC in tclConfig.sh" >&2;}
4374
        if test "${with_tcl_version+set}" = set ; then
4375
          { $as_echo "$as_me:$LINENO: fallback - looking for libtcl${with_tcl_version}.a in ${possibles}" >&5
4376
$as_echo "$as_me: fallback - looking for libtcl${with_tcl_version}.a in ${possibles}" >&6;}
4377
 
4378
  libtcl=""
4379
  for i in ${possibles}; do
4380
    if test -r "$i/"libtcl${with_tcl_version}.a""; then
4381
      libtcl=$i
4382
      break
4383
    fi
4384
  done
4385
 
4386
          if test -r "${libtcl}/libtcl${with_tcl_version}.a" ; then
4387
              ecos_tcl_libs="-L${libtcl} -ltcl${with_tcl_version}"
4388
              { $as_echo "$as_me:$LINENO: using ${ecos_tcl_libs}" >&5
4389
$as_echo "$as_me: using ${ecos_tcl_libs}" >&6;}
4390
          fi
4391
        fi
4392
        if test -z "${ecos_tcl_libs}" ; then
4393
          { $as_echo "$as_me:$LINENO: fallback - looking for libtcl.a in ${possibles}" >&5
4394
$as_echo "$as_me: fallback - looking for libtcl.a in ${possibles}" >&6;}
4395
 
4396
  libtcl=""
4397
  for i in ${possibles}; do
4398
    if test -r "$i/"libtcl.a""; then
4399
      libtcl=$i
4400
      break
4401
    fi
4402
  done
4403
 
4404
          if test -r "${libtcl}/libtcl.a" ; then
4405
              ecos_tcl_libs="-L${libtcl} -ltcl"
4406
              { $as_echo "$as_me:$LINENO: using ${ecos_tcl_libs}" >&5
4407
$as_echo "$as_me: using ${ecos_tcl_libs}" >&6;}
4408
          fi
4409
        fi
4410
      fi
4411
 
4412
            if test -z "${ecos_tcl_libs}" ; then
4413
        { { $as_echo "$as_me:$LINENO: error: ${tclconfig}/tclConfig.sh does not define TCL_LIB_SPEC" >&5
4414
$as_echo "$as_me: error: ${tclconfig}/tclConfig.sh does not define TCL_LIB_SPEC" >&2;}
4415
   { (exit and unable to find libtcl.a); exit and unable to find libtcl.a; }; }
4416
      fi
4417
 
4418
            if test -n "${TCL_LIBS}" ; then
4419
        ecos_tcl_libs="${ecos_tcl_libs} ${TCL_LIBS}"
4420
        { $as_echo "$as_me:$LINENO: using additional libraries for Tcl ${TCL_LIBS}" >&5
4421
$as_echo "$as_me: using additional libraries for Tcl ${TCL_LIBS}" >&6;}
4422
      fi
4423
      if test -n "${TCL_LD_FLAGS}" ; then
4424
        ecos_tcl_libs="${ecos_tcl_libs} ${TCL_LD_FLAGS}"
4425
        { $as_echo "$as_me:$LINENO: using additional linker flags for Tcl ${TCL_LD_FLAGS}" >&5
4426
$as_echo "$as_me: using additional linker flags for Tcl ${TCL_LD_FLAGS}" >&6;}
4427
      fi
4428
      ecos_LIBS="${ecos_LIBS} ${ecos_tcl_libs}"
4429
 
4430
                        if test "${TCL_SHARED_BUILD}" = "0" ; then
4431
          ecos_CFLAGS="${ecos_CFLAGS} -DSTATIC_BUILD"
4432
          ecos_CXXFLAGS="${ecos_CXXFLAGS} -DSTATIC_BUILD"
4433
      fi
4434
    fi
4435
 
4436
 
4437
                                possibles=""
4438
    if test "${with_tk+set}" = set ; then
4439
      possibles="${possibles} ${with_tk}/lib"
4440
      if test "${with_tcl_version+set}" = set ; then
4441
        possibles="${possibles} ${with_tk}/lib/tcl${with_tcl_version}"
4442
        possibles="${possibles} ${with_tk}/lib/tk${with_tcl_version}"
4443
      fi
4444
    fi
4445
    if test "${with_tcl+set}" = set ; then
4446
      possibles="${possibles} ${with_tcl}/lib"
4447
      if test "${with_tcl_version+set}" = set ; then
4448
        possibles="${possibles} ${with_tcl}/lib/tcl${with_tcl_version}"
4449
        possibles="${possibles} ${with_tcl}/lib/tk${with_tcl_version}"
4450
      fi
4451
    fi
4452
    possibles="${possibles} ${prefix}/lib"
4453
    if test "${with_tcl_version+set}" = set ; then
4454
      possibles="${possibles} ${prefix}/lib/tcl${with_tcl_version}"
4455
      possibles="${possibles} ${prefix}/lib/tk${with_tcl_version}"
4456
    fi
4457
    possibles="${possibles} /usr/lib"
4458
    if test "${with_tcl_version+set}" = set ; then
4459
      possibles="${possibles} /usr/lib/tcl${with_tcl_version}"
4460
      possibles="${possibles} /usr/lib/tk${with_tcl_version}"
4461
    fi
4462
 
4463
    { $as_echo "$as_me:$LINENO: looking for tkConfig.sh in ${possibles}" >&5
4464
$as_echo "$as_me: looking for tkConfig.sh in ${possibles}" >&6;}
4465
 
4466
  tkconfig=""
4467
  for i in ${possibles}; do
4468
    if test -r "$i/"tkConfig.sh""; then
4469
      tkconfig=$i
4470
      break
4471
    fi
4472
  done
4473
 
4474
    if test \! -r "${tkconfig}/tkConfig.sh" ; then
4475
      { { $as_echo "$as_me:$LINENO: error: unable to locate Tk config file tkConfig.sh" >&5
4476
$as_echo "$as_me: error: unable to locate Tk config file tkConfig.sh" >&2;}
4477
   { (exit 1); exit 1; }; }
4478
    else
4479
      { $as_echo "$as_me:$LINENO: found ${tkconfig}/tkConfig.sh" >&5
4480
$as_echo "$as_me: found ${tkconfig}/tkConfig.sh" >&6;}
4481
      . ${tkconfig}/tkConfig.sh
4482
 
4483
      if test -n "${TK_INCLUDE_SPEC}" ; then
4484
        ecos_tk_includes="${TK_INCLUDE_SPEC}"
4485
        { $as_echo "$as_me:$LINENO: trying TK_INCLUDE_SPEC - looking for tk.h in ${ecos_tk_includes}" >&5
4486
$as_echo "$as_me: trying TK_INCLUDE_SPEC - looking for tk.h in ${ecos_tk_includes}" >&6;}
4487
      elif test -n "${TK_INC_DIR}" ; then
4488
          ecos_tk_includes="${TK_INC_DIR}"
4489
          { $as_echo "$as_me:$LINENO: trying TK_INC_DIR - looking for tk.h in ${ecos_tk_includes}" >&5
4490
$as_echo "$as_me: trying TK_INC_DIR - looking for tk.h in ${ecos_tk_includes}" >&6;}
4491
      else
4492
          ecos_tk_includes="-I${TCL_PREFIX}/include"
4493
          { $as_echo "$as_me:$LINENO: WARNING: no TK_INCLUDE_SPEC or TK_INC_DIR in tkConfig.sh" >&5
4494
$as_echo "$as_me: WARNING: no TK_INCLUDE_SPEC or TK_INC_DIR in tkConfig.sh" >&2;}
4495
          { $as_echo "$as_me:$LINENO: fallback - looking for tk.h in ${ecos_tk_includes}" >&5
4496
$as_echo "$as_me: fallback - looking for tk.h in ${ecos_tk_includes}" >&6;}
4497
      fi
4498
            ecos_tk_tmpdir=`echo ${ecos_tk_includes} | sed -e "s:-I::g"`
4499
      if test \! -r "${ecos_tk_tmpdir}/tk.h" ; then
4500
        { { $as_echo "$as_me:$LINENO: error: unable to locate Tk header file tk.h" >&5
4501
$as_echo "$as_me: error: unable to locate Tk header file tk.h" >&2;}
4502
   { (exit 1); exit 1; }; }
4503
      else
4504
                                        { $as_echo "$as_me:$LINENO: using ${ecos_tk_includes}" >&5
4505
$as_echo "$as_me: using ${ecos_tk_includes}" >&6;}
4506
        if test "${ecos_tk_includes}" = "-I/usr/include" ; then
4507
          ecos_tk_includes=""
4508
        fi
4509
      fi
4510
                  if test -n "${TK_XINCLUDES}" ; then
4511
        { $as_echo "$as_me:$LINENO: adding TK_XINCLUDES ${TK_XINCLUDES}" >&5
4512
$as_echo "$as_me: adding TK_XINCLUDES ${TK_XINCLUDES}" >&6;}
4513
        ecos_tk_includes="${ecos_tk_includes} ${TK_XINCLUDES}"
4514
      fi
4515
 
4516
      ecos_tk_libs=""
4517
      if test -n "${TK_LIB_SPEC}" ; then
4518
        ecos_tk_libs="${TK_LIB_SPEC}"
4519
        { $as_echo "$as_me:$LINENO: trying TK_LIB_SPEC ${TK_LIB_SPEC}" >&5
4520
$as_echo "$as_me: trying TK_LIB_SPEC ${TK_LIB_SPEC}" >&6;}
4521
      else
4522
        { $as_echo "$as_me:$LINENO: WARNING: no TK_LIB_SPEC in tkConfig.sh" >&5
4523
$as_echo "$as_me: WARNING: no TK_LIB_SPEC in tkConfig.sh" >&2;}
4524
        if test "${with_tcl_version+set}" = set ; then
4525
          { $as_echo "$as_me:$LINENO: fallback - looking for libtk${with_tcl_version}.a in ${possibles}" >&5
4526
$as_echo "$as_me: fallback - looking for libtk${with_tcl_version}.a in ${possibles}" >&6;}
4527
 
4528
  libtk=""
4529
  for i in ${possibles}; do
4530
    if test -r "$i/"libtk${with_tcl_version}.a""; then
4531
      libtk=$i
4532
      break
4533
    fi
4534
  done
4535
 
4536
          if test -r "${libtk}/libtk${with_tcl_version}.a" ; then
4537
            ecos_tk_libs="-L${libtk} -ltk${with_tcl_version}"
4538
          fi
4539
        fi
4540
        if test -z "${ecos_tk_libs}" ; then
4541
          { $as_echo "$as_me:$LINENO: fallback - looking for libtk.a in ${possibles}" >&5
4542
$as_echo "$as_me: fallback - looking for libtk.a in ${possibles}" >&6;}
4543
 
4544
  libtk=""
4545
  for i in ${possibles}; do
4546
    if test -r "$i/"libtk.a""; then
4547
      libtk=$i
4548
      break
4549
    fi
4550
  done
4551
 
4552
          if test -r "${libtk}/libtk.a" ; then
4553
            ecos_tk_libs="-L${libtk} -ltk"
4554
          fi
4555
        fi
4556
      fi
4557
      if test -z "${ecos_tk_libs}" ; then
4558
        { { $as_echo "$as_me:$LINENO: error: ${tkconfig}/tkConfig.sh does not define TK_LIB_SPEC" >&5
4559
$as_echo "$as_me: error: ${tkconfig}/tkConfig.sh does not define TK_LIB_SPEC" >&2;}
4560
   { (exit and unable to find libtk.a); exit and unable to find libtk.a; }; }
4561
      else
4562
        { $as_echo "$as_me:$LINENO: using ${ecos_tk_libs}" >&5
4563
$as_echo "$as_me: using ${ecos_tk_libs}" >&6;}
4564
      fi
4565
 
4566
                              if test -n "${TK_LIBS}" ; then
4567
        if test -n "${TCL_LIBS}" ; then
4568
          ecos_tk_tmp="${TK_LIBS}"
4569
          for i in ${TCL_LIBS} ; do
4570
            ecos_tk_tmp=`echo ${ecos_tk_tmp} | sed -e "s:${i}::g"`
4571
          done
4572
          ecos_tk_libs="${ecos_tk_libs} ${ecos_tk_tmp}"
4573
          { $as_echo "$as_me:$LINENO: using additional libraries for Tk ${ecos_tk_tmp}" >&5
4574
$as_echo "$as_me: using additional libraries for Tk ${ecos_tk_tmp}" >&6;}
4575
        else
4576
          ecos_tk_libs="${ecos_tk_libs} ${TK_LIBS}"
4577
          { $as_echo "$as_me:$LINENO: using additional libraries for Tk ${TK_LIBS}" >&5
4578
$as_echo "$as_me: using additional libraries for Tk ${TK_LIBS}" >&6;}
4579
        fi
4580
      fi
4581
    fi
4582
  fi
4583
 
4584
  { $as_echo "$as_me:$LINENO: checking for Tcl/Tk installation" >&5
4585
$as_echo_n "checking for Tcl/Tk installation... " >&6; }
4586
  { $as_echo "$as_me:$LINENO: result: done" >&5
4587
$as_echo "done" >&6; }
4588
 
4589
 
4590
 
4591
 
4592
case "${host}" in
4593
    i[34567]86-*-linux-gnu* ) SUPPORTED="yes";;
4594
    x86_64-*-linux-gnu* ) SUPPORTED="yes";;
4595
    * ) SUPPORTED="no"
4596
esac
4597
 
4598
if test "${TK_MAJOR_VERSION}" = "8" ; then
4599
  if test ${TK_MINOR_VERSION} -lt 3 ; then
4600
    { $as_echo "$as_me:$LINENO: WARNING: The synthetic target support requires at least version 8.3 of Tcl/Tk" >&5
4601
$as_echo "$as_me: WARNING: The synthetic target support requires at least version 8.3 of Tcl/Tk" >&2;}
4602
    { $as_echo "$as_me:$LINENO: WARNING: Synthetic target host-side support will not be built" >&5
4603
$as_echo "$as_me: WARNING: Synthetic target host-side support will not be built" >&2;}
4604
    SUPPORTED="no"
4605
  fi
4606
fi
4607
 
4608
 
4609
    package_dir=`cd ${srcdir} && /bin/pwd`
4610
  PACKAGE_VERSION=`dirname ${package_dir}`
4611
  PACKAGE_VERSION=`basename ${PACKAGE_VERSION}`
4612
 
4613
          package_dir=`dirname ${package_dir}`
4614
  package_dir=`dirname ${package_dir}`
4615
 
4616
  possibles="${package_dir}/.. ${package_dir}/../.. ${package_dir}/../../.. ${package_dir}/../../../.."
4617
  possibles="${possibles} ${package_dir}/../../../../.. ${package_dir}/../../../../../.."
4618
 
4619
  repository_root=""
4620
  for i in ${possibles}; do
4621
    if test -d "$i/"acsupport""; then
4622
      repository_root=$i
4623
      break
4624
    fi
4625
  done
4626
 
4627
  if test "${repository_root}" = "" ; then
4628
    { { $as_echo "$as_me:$LINENO: error: Failed to identify this package's position within the eCos repository" >&5
4629
$as_echo "$as_me: error: Failed to identify this package's position within the eCos repository" >&2;}
4630
   { (exit 1); exit 1; }; }
4631
  fi
4632
    ECOS_REPOSITORY=`cd "${repository_root}/packages/pkgconf/.." && /bin/pwd`
4633
 
4634
    PACKAGE_DIR=`echo ${package_dir} | sed -e "s:${ECOS_REPOSITORY}/::"`
4635
 
4636
            PACKAGE_INSTALL="${PACKAGE_DIR}/${PACKAGE_VERSION}"
4637
 
4638
 
4639
 
4640
 
4641
 
4642
 
4643
 
4644
 if test "${SUPPORTED}" = "yes"; then
4645
  SUPPORTED_TRUE=
4646
  SUPPORTED_FALSE='#'
4647
else
4648
  SUPPORTED_TRUE='#'
4649
  SUPPORTED_FALSE=
4650
fi
4651
 
4652
 
4653
 
4654
ac_config_files="$ac_config_files Makefile:Makefile.in"
4655
 
4656
cat >confcache <<\_ACEOF
4657
# This file is a shell script that caches the results of configure
4658
# tests run on this system so they can be shared between configure
4659
# scripts and configure runs, see configure's option --config-cache.
4660
# It is not useful on other systems.  If it contains results you don't
4661
# want to keep, you may remove or edit it.
4662
#
4663
# config.status only pays attention to the cache file if you give it
4664
# the --recheck option to rerun configure.
4665
#
4666
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4667
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4668
# following values.
4669
 
4670
_ACEOF
4671
 
4672
# The following way of writing the cache mishandles newlines in values,
4673
# but we know of no workaround that is simple, portable, and efficient.
4674
# So, we kill variables containing newlines.
4675
# Ultrix sh set writes to stderr and can't be redirected directly,
4676
# and sets the high bit in the cache file unless we assign to the vars.
4677
(
4678
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4679
    eval ac_val=\$$ac_var
4680
    case $ac_val in #(
4681
    *${as_nl}*)
4682
      case $ac_var in #(
4683
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4684
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4685
      esac
4686
      case $ac_var in #(
4687
      _ | IFS | as_nl) ;; #(
4688
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4689
      *) $as_unset $ac_var ;;
4690
      esac ;;
4691
    esac
4692
  done
4693
 
4694
  (set) 2>&1 |
4695
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4696
    *${as_nl}ac_space=\ *)
4697
      # `set' does not quote correctly, so add quotes (double-quote
4698
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4699
      sed -n \
4700
        "s/'/'\\\\''/g;
4701
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4702
      ;; #(
4703
    *)
4704
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4705
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4706
      ;;
4707
    esac |
4708
    sort
4709
) |
4710
  sed '
4711
     /^ac_cv_env_/b end
4712
     t clear
4713
     :clear
4714
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4715
     t end
4716
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4717
     :end' >>confcache
4718
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4719
  if test -w "$cache_file"; then
4720
    test "x$cache_file" != "x/dev/null" &&
4721
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4722
$as_echo "$as_me: updating cache $cache_file" >&6;}
4723
    cat confcache >$cache_file
4724
  else
4725
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4726
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4727
  fi
4728
fi
4729
rm -f confcache
4730
 
4731
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4732
# Let make expand exec_prefix.
4733
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4734
 
4735
# Transform confdefs.h into DEFS.
4736
# Protect against shell expansion while executing Makefile rules.
4737
# Protect against Makefile macro expansion.
4738
#
4739
# If the first sed substitution is executed (which looks for macros that
4740
# take arguments), then branch to the quote section.  Otherwise,
4741
# look for a macro that doesn't take arguments.
4742
ac_script='
4743
:mline
4744
/\\$/{
4745
 N
4746
 s,\\\n,,
4747
 b mline
4748
}
4749
t clear
4750
:clear
4751
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4752
t quote
4753
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4754
t quote
4755
b any
4756
:quote
4757
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4758
s/\[/\\&/g
4759
s/\]/\\&/g
4760
s/\$/$$/g
4761
H
4762
:any
4763
${
4764
        g
4765
        s/^\n//
4766
        s/\n/ /g
4767
        p
4768
}
4769
'
4770
DEFS=`sed -n "$ac_script" confdefs.h`
4771
 
4772
 
4773
ac_libobjs=
4774
ac_ltlibobjs=
4775
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4776
  # 1. Remove the extension, and $U if already installed.
4777
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4778
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4779
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4780
  #    will be set to the directory where LIBOBJS objects are built.
4781
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4782
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4783
done
4784
LIBOBJS=$ac_libobjs
4785
 
4786
LTLIBOBJS=$ac_ltlibobjs
4787
 
4788
 
4789
 if test -n "$EXEEXT"; then
4790
  am__EXEEXT_TRUE=
4791
  am__EXEEXT_FALSE='#'
4792
else
4793
  am__EXEEXT_TRUE='#'
4794
  am__EXEEXT_FALSE=
4795
fi
4796
 
4797
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4798
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4799
Usually this means the macro was only invoked conditionally." >&5
4800
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4801
Usually this means the macro was only invoked conditionally." >&2;}
4802
   { (exit 1); exit 1; }; }
4803
fi
4804
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4805
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4806
Usually this means the macro was only invoked conditionally." >&5
4807
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4808
Usually this means the macro was only invoked conditionally." >&2;}
4809
   { (exit 1); exit 1; }; }
4810
fi
4811
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4812
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4813
Usually this means the macro was only invoked conditionally." >&5
4814
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4815
Usually this means the macro was only invoked conditionally." >&2;}
4816
   { (exit 1); exit 1; }; }
4817
fi
4818
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4819
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4820
Usually this means the macro was only invoked conditionally." >&5
4821
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4822
Usually this means the macro was only invoked conditionally." >&2;}
4823
   { (exit 1); exit 1; }; }
4824
fi
4825
if test -z "${MSVC_TRUE}" && test -z "${MSVC_FALSE}"; then
4826
  { { $as_echo "$as_me:$LINENO: error: conditional \"MSVC\" was never defined.
4827
Usually this means the macro was only invoked conditionally." >&5
4828
$as_echo "$as_me: error: conditional \"MSVC\" was never defined.
4829
Usually this means the macro was only invoked conditionally." >&2;}
4830
   { (exit 1); exit 1; }; }
4831
fi
4832
if test -z "${SUPPORTED_TRUE}" && test -z "${SUPPORTED_FALSE}"; then
4833
  { { $as_echo "$as_me:$LINENO: error: conditional \"SUPPORTED\" was never defined.
4834
Usually this means the macro was only invoked conditionally." >&5
4835
$as_echo "$as_me: error: conditional \"SUPPORTED\" was never defined.
4836
Usually this means the macro was only invoked conditionally." >&2;}
4837
   { (exit 1); exit 1; }; }
4838
fi
4839
 
4840
: ${CONFIG_STATUS=./config.status}
4841
ac_write_fail=0
4842
ac_clean_files_save=$ac_clean_files
4843
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4844
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4845
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4846
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4847
#! $SHELL
4848
# Generated by $as_me.
4849
# Run this file to recreate the current configuration.
4850
# Compiler output produced by configure, useful for debugging
4851
# configure, is in config.log if it exists.
4852
 
4853
debug=false
4854
ac_cs_recheck=false
4855
ac_cs_silent=false
4856
SHELL=\${CONFIG_SHELL-$SHELL}
4857
_ACEOF
4858
 
4859
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4860
## --------------------- ##
4861
## M4sh Initialization.  ##
4862
## --------------------- ##
4863
 
4864
# Be more Bourne compatible
4865
DUALCASE=1; export DUALCASE # for MKS sh
4866
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4867
  emulate sh
4868
  NULLCMD=:
4869
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4870
  # is contrary to our usage.  Disable this feature.
4871
  alias -g '${1+"$@"}'='"$@"'
4872
  setopt NO_GLOB_SUBST
4873
else
4874
  case `(set -o) 2>/dev/null` in
4875
  *posix*) set -o posix ;;
4876
esac
4877
 
4878
fi
4879
 
4880
 
4881
 
4882
 
4883
# PATH needs CR
4884
# Avoid depending upon Character Ranges.
4885
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4886
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4887
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4888
as_cr_digits='0123456789'
4889
as_cr_alnum=$as_cr_Letters$as_cr_digits
4890
 
4891
as_nl='
4892
'
4893
export as_nl
4894
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4895
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4896
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4897
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4898
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4899
  as_echo='printf %s\n'
4900
  as_echo_n='printf %s'
4901
else
4902
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4903
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4904
    as_echo_n='/usr/ucb/echo -n'
4905
  else
4906
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4907
    as_echo_n_body='eval
4908
      arg=$1;
4909
      case $arg in
4910
      *"$as_nl"*)
4911
        expr "X$arg" : "X\\(.*\\)$as_nl";
4912
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4913
      esac;
4914
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4915
    '
4916
    export as_echo_n_body
4917
    as_echo_n='sh -c $as_echo_n_body as_echo'
4918
  fi
4919
  export as_echo_body
4920
  as_echo='sh -c $as_echo_body as_echo'
4921
fi
4922
 
4923
# The user is always right.
4924
if test "${PATH_SEPARATOR+set}" != set; then
4925
  PATH_SEPARATOR=:
4926
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4927
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4928
      PATH_SEPARATOR=';'
4929
  }
4930
fi
4931
 
4932
# Support unset when possible.
4933
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4934
  as_unset=unset
4935
else
4936
  as_unset=false
4937
fi
4938
 
4939
 
4940
# IFS
4941
# We need space, tab and new line, in precisely that order.  Quoting is
4942
# there to prevent editors from complaining about space-tab.
4943
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4944
# splitting by setting IFS to empty value.)
4945
IFS=" ""        $as_nl"
4946
 
4947
# Find who we are.  Look in the path if we contain no directory separator.
4948
case $0 in
4949
  *[\\/]* ) as_myself=$0 ;;
4950
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951
for as_dir in $PATH
4952
do
4953
  IFS=$as_save_IFS
4954
  test -z "$as_dir" && as_dir=.
4955
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4956
done
4957
IFS=$as_save_IFS
4958
 
4959
     ;;
4960
esac
4961
# We did not find ourselves, most probably we were run as `sh COMMAND'
4962
# in which case we are not to be found in the path.
4963
if test "x$as_myself" = x; then
4964
  as_myself=$0
4965
fi
4966
if test ! -f "$as_myself"; then
4967
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4968
  { (exit 1); exit 1; }
4969
fi
4970
 
4971
# Work around bugs in pre-3.0 UWIN ksh.
4972
for as_var in ENV MAIL MAILPATH
4973
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4974
done
4975
PS1='$ '
4976
PS2='> '
4977
PS4='+ '
4978
 
4979
# NLS nuisances.
4980
LC_ALL=C
4981
export LC_ALL
4982
LANGUAGE=C
4983
export LANGUAGE
4984
 
4985
# Required to use basename.
4986
if expr a : '\(a\)' >/dev/null 2>&1 &&
4987
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4988
  as_expr=expr
4989
else
4990
  as_expr=false
4991
fi
4992
 
4993
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4994
  as_basename=basename
4995
else
4996
  as_basename=false
4997
fi
4998
 
4999
 
5000
# Name of the executable.
5001
as_me=`$as_basename -- "$0" ||
5002
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5003
         X"$0" : 'X\(//\)$' \| \
5004
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5005
$as_echo X/"$0" |
5006
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5007
            s//\1/
5008
            q
5009
          }
5010
          /^X\/\(\/\/\)$/{
5011
            s//\1/
5012
            q
5013
          }
5014
          /^X\/\(\/\).*/{
5015
            s//\1/
5016
            q
5017
          }
5018
          s/.*/./; q'`
5019
 
5020
# CDPATH.
5021
$as_unset CDPATH
5022
 
5023
 
5024
 
5025
  as_lineno_1=$LINENO
5026
  as_lineno_2=$LINENO
5027
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5028
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5029
 
5030
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5031
  # uniformly replaced by the line number.  The first 'sed' inserts a
5032
  # line-number line after each line using $LINENO; the second 'sed'
5033
  # does the real work.  The second script uses 'N' to pair each
5034
  # line-number line with the line containing $LINENO, and appends
5035
  # trailing '-' during substitution so that $LINENO is not a special
5036
  # case at line end.
5037
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5038
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5039
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5040
  sed -n '
5041
    p
5042
    /[$]LINENO/=
5043
  ' <$as_myself |
5044
    sed '
5045
      s/[$]LINENO.*/&-/
5046
      t lineno
5047
      b
5048
      :lineno
5049
      N
5050
      :loop
5051
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5052
      t loop
5053
      s/-\n.*//
5054
    ' >$as_me.lineno &&
5055
  chmod +x "$as_me.lineno" ||
5056
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5057
   { (exit 1); exit 1; }; }
5058
 
5059
  # Don't try to exec as it changes $[0], causing all sort of problems
5060
  # (the dirname of $[0] is not the place where we might find the
5061
  # original and so on.  Autoconf is especially sensitive to this).
5062
  . "./$as_me.lineno"
5063
  # Exit status is that of the last command.
5064
  exit
5065
}
5066
 
5067
 
5068
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5069
  as_dirname=dirname
5070
else
5071
  as_dirname=false
5072
fi
5073
 
5074
ECHO_C= ECHO_N= ECHO_T=
5075
case `echo -n x` in
5076
-n*)
5077
  case `echo 'x\c'` in
5078
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5079
  *)   ECHO_C='\c';;
5080
  esac;;
5081
*)
5082
  ECHO_N='-n';;
5083
esac
5084
if expr a : '\(a\)' >/dev/null 2>&1 &&
5085
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5086
  as_expr=expr
5087
else
5088
  as_expr=false
5089
fi
5090
 
5091
rm -f conf$$ conf$$.exe conf$$.file
5092
if test -d conf$$.dir; then
5093
  rm -f conf$$.dir/conf$$.file
5094
else
5095
  rm -f conf$$.dir
5096
  mkdir conf$$.dir 2>/dev/null
5097
fi
5098
if (echo >conf$$.file) 2>/dev/null; then
5099
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5100
    as_ln_s='ln -s'
5101
    # ... but there are two gotchas:
5102
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5103
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5104
    # In both cases, we have to default to `cp -p'.
5105
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5106
      as_ln_s='cp -p'
5107
  elif ln conf$$.file conf$$ 2>/dev/null; then
5108
    as_ln_s=ln
5109
  else
5110
    as_ln_s='cp -p'
5111
  fi
5112
else
5113
  as_ln_s='cp -p'
5114
fi
5115
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5116
rmdir conf$$.dir 2>/dev/null
5117
 
5118
if mkdir -p . 2>/dev/null; then
5119
  as_mkdir_p=:
5120
else
5121
  test -d ./-p && rmdir ./-p
5122
  as_mkdir_p=false
5123
fi
5124
 
5125
if test -x / >/dev/null 2>&1; then
5126
  as_test_x='test -x'
5127
else
5128
  if ls -dL / >/dev/null 2>&1; then
5129
    as_ls_L_option=L
5130
  else
5131
    as_ls_L_option=
5132
  fi
5133
  as_test_x='
5134
    eval sh -c '\''
5135
      if test -d "$1"; then
5136
        test -d "$1/.";
5137
      else
5138
        case $1 in
5139
        -*)set "./$1";;
5140
        esac;
5141
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5142
        ???[sx]*):;;*)false;;esac;fi
5143
    '\'' sh
5144
  '
5145
fi
5146
as_executable_p=$as_test_x
5147
 
5148
# Sed expression to map a string onto a valid CPP name.
5149
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5150
 
5151
# Sed expression to map a string onto a valid variable name.
5152
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5153
 
5154
 
5155
exec 6>&1
5156
 
5157
# Save the log message, to keep $[0] and so on meaningful, and to
5158
# report actual input values of CONFIG_FILES etc. instead of their
5159
# values after options handling.
5160
ac_log="
5161
This file was extended by $as_me, which was
5162
generated by GNU Autoconf 2.63.  Invocation command line was
5163
 
5164
  CONFIG_FILES    = $CONFIG_FILES
5165
  CONFIG_HEADERS  = $CONFIG_HEADERS
5166
  CONFIG_LINKS    = $CONFIG_LINKS
5167
  CONFIG_COMMANDS = $CONFIG_COMMANDS
5168
  $ $0 $@
5169
 
5170
on `(hostname || uname -n) 2>/dev/null | sed 1q`
5171
"
5172
 
5173
_ACEOF
5174
 
5175
case $ac_config_files in *"
5176
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5177
esac
5178
 
5179
 
5180
 
5181
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5182
# Files that config.status was made for.
5183
config_files="$ac_config_files"
5184
config_commands="$ac_config_commands"
5185
 
5186
_ACEOF
5187
 
5188
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5189
ac_cs_usage="\
5190
\`$as_me' instantiates files from templates according to the
5191
current configuration.
5192
 
5193
Usage: $0 [OPTION]... [FILE]...
5194
 
5195
  -h, --help       print this help, then exit
5196
  -V, --version    print version number and configuration settings, then exit
5197
  -q, --quiet, --silent
5198
                   do not print progress messages
5199
  -d, --debug      don't remove temporary files
5200
      --recheck    update $as_me by reconfiguring in the same conditions
5201
      --file=FILE[:TEMPLATE]
5202
                   instantiate the configuration file FILE
5203
 
5204
Configuration files:
5205
$config_files
5206
 
5207
Configuration commands:
5208
$config_commands
5209
 
5210
Report bugs to ."
5211
 
5212
_ACEOF
5213
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5214
ac_cs_version="\\
5215
config.status
5216
configured by $0, generated by GNU Autoconf 2.63,
5217
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5218
 
5219
Copyright (C) 2008 Free Software Foundation, Inc.
5220
This config.status script is free software; the Free Software Foundation
5221
gives unlimited permission to copy, distribute and modify it."
5222
 
5223
ac_pwd='$ac_pwd'
5224
srcdir='$srcdir'
5225
INSTALL='$INSTALL'
5226
MKDIR_P='$MKDIR_P'
5227
AWK='$AWK'
5228
test -n "\$AWK" || AWK=awk
5229
_ACEOF
5230
 
5231
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5232
# The default lists apply if the user does not specify any file.
5233
ac_need_defaults=:
5234
while test $# != 0
5235
do
5236
  case $1 in
5237
  --*=*)
5238
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5239
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5240
    ac_shift=:
5241
    ;;
5242
  *)
5243
    ac_option=$1
5244
    ac_optarg=$2
5245
    ac_shift=shift
5246
    ;;
5247
  esac
5248
 
5249
  case $ac_option in
5250
  # Handling of the options.
5251
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5252
    ac_cs_recheck=: ;;
5253
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5254
    $as_echo "$ac_cs_version"; exit ;;
5255
  --debug | --debu | --deb | --de | --d | -d )
5256
    debug=: ;;
5257
  --file | --fil | --fi | --f )
5258
    $ac_shift
5259
    case $ac_optarg in
5260
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5261
    esac
5262
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5263
    ac_need_defaults=false;;
5264
  --he | --h |  --help | --hel | -h )
5265
    $as_echo "$ac_cs_usage"; exit ;;
5266
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5267
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5268
    ac_cs_silent=: ;;
5269
 
5270
  # This is an error.
5271
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5272
Try \`$0 --help' for more information." >&2
5273
   { (exit 1); exit 1; }; } ;;
5274
 
5275
  *) ac_config_targets="$ac_config_targets $1"
5276
     ac_need_defaults=false ;;
5277
 
5278
  esac
5279
  shift
5280
done
5281
 
5282
ac_configure_extra_args=
5283
 
5284
if $ac_cs_silent; then
5285
  exec 6>/dev/null
5286
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5287
fi
5288
 
5289
_ACEOF
5290
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5291
if \$ac_cs_recheck; then
5292
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5293
  shift
5294
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5295
  CONFIG_SHELL='$SHELL'
5296
  export CONFIG_SHELL
5297
  exec "\$@"
5298
fi
5299
 
5300
_ACEOF
5301
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5302
exec 5>>config.log
5303
{
5304
  echo
5305
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5306
## Running $as_me. ##
5307
_ASBOX
5308
  $as_echo "$ac_log"
5309
} >&5
5310
 
5311
_ACEOF
5312
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5313
#
5314
# INIT-COMMANDS
5315
#
5316
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5317
 
5318
_ACEOF
5319
 
5320
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5321
 
5322
# Handling of arguments.
5323
for ac_config_target in $ac_config_targets
5324
do
5325
  case $ac_config_target in
5326
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5327
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in" ;;
5328
 
5329
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5330
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5331
   { (exit 1); exit 1; }; };;
5332
  esac
5333
done
5334
 
5335
 
5336
# If the user did not use the arguments to specify the items to instantiate,
5337
# then the envvar interface is used.  Set only those that are not.
5338
# We use the long form for the default assignment because of an extremely
5339
# bizarre bug on SunOS 4.1.3.
5340
if $ac_need_defaults; then
5341
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5342
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5343
fi
5344
 
5345
# Have a temporary directory for convenience.  Make it in the build tree
5346
# simply because there is no reason against having it here, and in addition,
5347
# creating and moving files from /tmp can sometimes cause problems.
5348
# Hook for its removal unless debugging.
5349
# Note that there is a small window in which the directory will not be cleaned:
5350
# after its creation but before its name has been assigned to `$tmp'.
5351
$debug ||
5352
{
5353
  tmp=
5354
  trap 'exit_status=$?
5355
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5356
' 0
5357
  trap '{ (exit 1); exit 1; }' 1 2 13 15
5358
}
5359
# Create a (secure) tmp directory for tmp files.
5360
 
5361
{
5362
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5363
  test -n "$tmp" && test -d "$tmp"
5364
}  ||
5365
{
5366
  tmp=./conf$$-$RANDOM
5367
  (umask 077 && mkdir "$tmp")
5368
} ||
5369
{
5370
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5371
   { (exit 1); exit 1; }
5372
}
5373
 
5374
# Set up the scripts for CONFIG_FILES section.
5375
# No need to generate them if there are no CONFIG_FILES.
5376
# This happens for instance with `./config.status config.h'.
5377
if test -n "$CONFIG_FILES"; then
5378
 
5379
 
5380
ac_cr='
'
5381
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
5382
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5383
  ac_cs_awk_cr='\\r'
5384
else
5385
  ac_cs_awk_cr=$ac_cr
5386
fi
5387
5388
 
5389
_ACEOF
5390
5391
 
5392
 
5393
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5394
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5395
  echo "_ACEOF"
5396
} >conf$$subs.sh ||
5397
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5398
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5399
   { (exit 1); exit 1; }; }
5400
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5401
ac_delim='%!_!# '
5402
for ac_last_try in false false false false false :; do
5403
  . ./conf$$subs.sh ||
5404
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5405
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5406
   { (exit 1); exit 1; }; }
5407
5408
 
5409
  if test $ac_delim_n = $ac_delim_num; then
5410
    break
5411
  elif $ac_last_try; then
5412
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5413
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5414
   { (exit 1); exit 1; }; }
5415
  else
5416
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5417
  fi
5418
done
5419
rm -f conf$$subs.sh
5420
5421
 
5422
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5423
_ACEOF
5424
sed -n '
5425
h
5426
s/^/S["/; s/!.*/"]=/
5427
p
5428
g
5429
s/^[^!]*!//
5430
:repl
5431
t repl
5432
s/'"$ac_delim"'$//
5433
t delim
5434
:nl
5435
h
5436
s/\(.\{148\}\).*/\1/
5437
t more1
5438
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5439
p
5440
n
5441
b repl
5442
:more1
5443
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5444
p
5445
g
5446
s/.\{148\}//
5447
t nl
5448
:delim
5449
h
5450
s/\(.\{148\}\).*/\1/
5451
t more2
5452
s/["\\]/\\&/g; s/^/"/; s/$/"/
5453
p
5454
b
5455
:more2
5456
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5457
p
5458
g
5459
s/.\{148\}//
5460
t delim
5461
' 
5462
/^[^""]/{
5463
  N
5464
  s/\n//
5465
}
5466
' >>$CONFIG_STATUS || ac_write_fail=1
5467
rm -f conf$$subs.awk
5468
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5469
_ACAWK
5470
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5471
  for (key in S) S_is_set[key] = 1
5472
  FS = ""
5473
5474
 
5475
{
5476
  line = $ 0
5477
  nfields = split(line, field, "@")
5478
  substed = 0
5479
  len = length(field[1])
5480
  for (i = 2; i < nfields; i++) {
5481
    key = field[i]
5482
    keylen = length(key)
5483
    if (S_is_set[key]) {
5484
      value = S[key]
5485
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5486
      len += length(value) + length(field[++i])
5487
      substed = 1
5488
    } else
5489
      len += 1 + keylen
5490
  }
5491
5492
 
5493
}
5494
5495
 
5496
_ACEOF
5497
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5498
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5499
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5500
else
5501
  cat
5502
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5503
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5504
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5505
   { (exit 1); exit 1; }; }
5506
_ACEOF
5507
5508
 
5509
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5510
# trailing colons and then remove the whole line if VPATH becomes empty
5511
# (actually we leave an empty line to preserve line numbers).
5512
if test "x$srcdir" = x.; then
5513
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5514
s/:*\$(srcdir):*/:/
5515
s/:*\${srcdir}:*/:/
5516
s/:*@srcdir@:*/:/
5517
s/^\([^=]*=[     ]*\):*/\1/
5518
s/:*$//
5519
s/^[^=]*=[       ]*$//
5520
}'
5521
fi
5522
5523
 
5524
fi # test -n "$CONFIG_FILES"
5525
5526
 
5527
 
5528
shift
5529
for ac_tag
5530
do
5531
  case $ac_tag in
5532
  :[FHLC]) ac_mode=$ac_tag; continue;;
5533
  esac
5534
  case $ac_mode$ac_tag in
5535
  :[FHL]*:*);;
5536
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
5537
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5538
   { (exit 1); exit 1; }; };;
5539
  :[FH]-) ac_tag=-:-;;
5540
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5541
  esac
5542
  ac_save_IFS=$IFS
5543
  IFS=:
5544
  set x $ac_tag
5545
  IFS=$ac_save_IFS
5546
  shift
5547
  ac_file=$1
5548
  shift
5549
5550
 
5551
  :L) ac_source=$1;;
5552
  :[FH])
5553
    ac_file_inputs=
5554
    for ac_f
5555
    do
5556
      case $ac_f in
5557
      -) ac_f="$tmp/stdin";;
5558
      *) # Look for the file first in the build tree, then in the source tree
5559
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5560
         # because $ac_f cannot contain `:'.
5561
         test -f "$ac_f" ||
5562
           case $ac_f in
5563
           [\\/$]*) false;;
5564
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5565
           esac ||
5566
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5567
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5568
   { (exit 1); exit 1; }; };;
5569
      esac
5570
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5571
      ac_file_inputs="$ac_file_inputs '$ac_f'"
5572
    done
5573
5574
 
5575
    # use $as_me), people would be surprised to read:
5576
    #    /* config.h.  Generated by config.status.  */
5577
    configure_input='Generated from '`
5578
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5579
        `' by configure.'
5580
    if test x"$ac_file" != x-; then
5581
      configure_input="$ac_file.  $configure_input"
5582
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
5583
$as_echo "$as_me: creating $ac_file" >&6;}
5584
    fi
5585
    # Neutralize special characters interpreted by sed in replacement strings.
5586
    case $configure_input in #(
5587
    *\&* | *\|* | *\\* )
5588
       ac_sed_conf_input=`$as_echo "$configure_input" |
5589
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5590
    *) ac_sed_conf_input=$configure_input;;
5591
    esac
5592
5593
 
5594
    *:-:* | *:-) cat >"$tmp/stdin" \
5595
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5596
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5597
   { (exit 1); exit 1; }; } ;;
5598
    esac
5599
    ;;
5600
  esac
5601
5602
 
5603
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5604
         X"$ac_file" : 'X\(//\)[^/]' \| \
5605
         X"$ac_file" : 'X\(//\)$' \| \
5606
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5607
$as_echo X"$ac_file" |
5608
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5609
            s//\1/
5610
            q
5611
          }
5612
          /^X\(\/\/\)[^/].*/{
5613
            s//\1/
5614
            q
5615
          }
5616
          /^X\(\/\/\)$/{
5617
            s//\1/
5618
            q
5619
          }
5620
          /^X\(\/\).*/{
5621
            s//\1/
5622
            q
5623
          }
5624
          s/.*/./; q'`
5625
  { as_dir="$ac_dir"
5626
  case $as_dir in #(
5627
  -*) as_dir=./$as_dir;;
5628
  esac
5629
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5630
    as_dirs=
5631
    while :; do
5632
      case $as_dir in #(
5633
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5634
      *) as_qdir=$as_dir;;
5635
      esac
5636
      as_dirs="'$as_qdir' $as_dirs"
5637
      as_dir=`$as_dirname -- "$as_dir" ||
5638
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5639
         X"$as_dir" : 'X\(//\)[^/]' \| \
5640
         X"$as_dir" : 'X\(//\)$' \| \
5641
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5642
$as_echo X"$as_dir" |
5643
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5644
            s//\1/
5645
            q
5646
          }
5647
          /^X\(\/\/\)[^/].*/{
5648
            s//\1/
5649
            q
5650
          }
5651
          /^X\(\/\/\)$/{
5652
            s//\1/
5653
            q
5654
          }
5655
          /^X\(\/\).*/{
5656
            s//\1/
5657
            q
5658
          }
5659
          s/.*/./; q'`
5660
      test -d "$as_dir" && break
5661
    done
5662
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5663
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5664
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5665
   { (exit 1); exit 1; }; }; }
5666
  ac_builddir=.
5667
5668
 
5669
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5670
*)
5671
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5672
  # A ".." for each directory in $ac_dir_suffix.
5673
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5674
  case $ac_top_builddir_sub in
5675
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5676
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5677
  esac ;;
5678
esac
5679
ac_abs_top_builddir=$ac_pwd
5680
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5681
# for backward compatibility:
5682
ac_top_builddir=$ac_top_build_prefix
5683
5684
 
5685
  .)  # We are building in place.
5686
    ac_srcdir=.
5687
    ac_top_srcdir=$ac_top_builddir_sub
5688
    ac_abs_top_srcdir=$ac_pwd ;;
5689
  [\\/]* | ?:[\\/]* )  # Absolute name.
5690
    ac_srcdir=$srcdir$ac_dir_suffix;
5691
    ac_top_srcdir=$srcdir
5692
    ac_abs_top_srcdir=$srcdir ;;
5693
  *) # Relative name.
5694
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5695
    ac_top_srcdir=$ac_top_build_prefix$srcdir
5696
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5697
esac
5698
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5699
5700
 
5701
 
5702
  :F)
5703
  #
5704
  # CONFIG_FILE
5705
  #
5706
5707
 
5708
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5709
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5710
  esac
5711
  ac_MKDIR_P=$MKDIR_P
5712
  case $MKDIR_P in
5713
  [\\/$]* | ?:[\\/]* ) ;;
5714
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5715
  esac
5716
_ACEOF
5717
5718
 
5719
# If the template does not know about datarootdir, expand it.
5720
# FIXME: This hack should be removed a few years after 2.60.
5721
ac_datarootdir_hack=; ac_datarootdir_seen=
5722
5723
 
5724
/datarootdir/ {
5725
  p
5726
  q
5727
}
5728
/@datadir@/p
5729
/@docdir@/p
5730
/@infodir@/p
5731
/@localedir@/p
5732
/@mandir@/p
5733
'
5734
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5735
*datarootdir*) ac_datarootdir_seen=yes;;
5736
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5737
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5738
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5739
_ACEOF
5740
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5741
  ac_datarootdir_hack='
5742
  s&@datadir@&$datadir&g
5743
  s&@docdir@&$docdir&g
5744
  s&@infodir@&$infodir&g
5745
  s&@localedir@&$localedir&g
5746
  s&@mandir@&$mandir&g
5747
    s&\\\${datarootdir}&$datarootdir&g' ;;
5748
esac
5749
_ACEOF
5750
5751
 
5752
# Shell code in configure.ac might set extrasub.
5753
# FIXME: do we really want to maintain this feature?
5754
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5755
ac_sed_extra="$ac_vpsub
5756
$extrasub
5757
_ACEOF
5758
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5759
:t
5760
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5761
s|@configure_input@|$ac_sed_conf_input|;t t
5762
s&@top_builddir@&$ac_top_builddir_sub&;t t
5763
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5764
s&@srcdir@&$ac_srcdir&;t t
5765
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5766
s&@top_srcdir@&$ac_top_srcdir&;t t
5767
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5768
s&@builddir@&$ac_builddir&;t t
5769
s&@abs_builddir@&$ac_abs_builddir&;t t
5770
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5771
s&@INSTALL@&$ac_INSTALL&;t t
5772
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5773
$ac_datarootdir_hack
5774
"
5775
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5776
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5777
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5778
   { (exit 1); exit 1; }; }
5779
5780
 
5781
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5782
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5783
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5784
which seems to be undefined.  Please make sure it is defined." >&5
5785
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5786
which seems to be undefined.  Please make sure it is defined." >&2;}
5787
5788
 
5789
  case $ac_file in
5790
  -) cat "$tmp/out" && rm -f "$tmp/out";;
5791
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5792
  esac \
5793
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5794
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5795
   { (exit 1); exit 1; }; }
5796
 ;;
5797
5798
 
5799
 
5800
$as_echo "$as_me: executing $ac_file commands" >&6;}
5801
 ;;
5802
  esac
5803
5804
 
5805
 
5806
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5807
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
5808
  # are listed without --file.  Let's play safe and only enable the eval
5809
  # if we detect the quoting.
5810
  case $CONFIG_FILES in
5811
  *\'*) eval set x "$CONFIG_FILES" ;;
5812
  *)   set x $CONFIG_FILES ;;
5813
  esac
5814
  shift
5815
  for mf
5816
  do
5817
    # Strip MF so we end up with the name of the file.
5818
    mf=`echo "$mf" | sed -e 's/:.*$//'`
5819
    # Check whether this is an Automake generated Makefile or not.
5820
    # We used to match only the files named `Makefile.in', but
5821
    # some people rename them; so instead we look at the file content.
5822
    # Grep'ing the first line is not enough: some people post-process
5823
    # each Makefile.in and add a new line on top of each file to say so.
5824
    # Grep'ing the whole file is not good either: AIX grep has a line
5825
    # limit of 2048, but all sed's we know have understand at least 4000.
5826
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5827
      dirpart=`$as_dirname -- "$mf" ||
5828
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5829
         X"$mf" : 'X\(//\)[^/]' \| \
5830
         X"$mf" : 'X\(//\)$' \| \
5831
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5832
$as_echo X"$mf" |
5833
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5834
            s//\1/
5835
            q
5836
          }
5837
          /^X\(\/\/\)[^/].*/{
5838
            s//\1/
5839
            q
5840
          }
5841
          /^X\(\/\/\)$/{
5842
            s//\1/
5843
            q
5844
          }
5845
          /^X\(\/\).*/{
5846
            s//\1/
5847
            q
5848
          }
5849
          s/.*/./; q'`
5850
    else
5851
      continue
5852
    fi
5853
    # Extract the definition of DEPDIR, am__include, and am__quote
5854
    # from the Makefile without running `make'.
5855
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5856
    test -z "$DEPDIR" && continue
5857
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
5858
    test -z "am__include" && continue
5859
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5860
    # When using ansi2knr, U may be empty or an underscore; expand it
5861
    U=`sed -n 's/^U = //p' < "$mf"`
5862
    # Find all dependency output files, they are included files with
5863
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
5864
    # simplest approach to changing $(DEPDIR) to its actual value in the
5865
    # expansion.
5866
    for file in `sed -n "
5867
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5868
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5869
      # Make sure the directory exists.
5870
      test -f "$dirpart/$file" && continue
5871
      fdir=`$as_dirname -- "$file" ||
5872
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5873
         X"$file" : 'X\(//\)[^/]' \| \
5874
         X"$file" : 'X\(//\)$' \| \
5875
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5876
$as_echo X"$file" |
5877
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5878
            s//\1/
5879
            q
5880
          }
5881
          /^X\(\/\/\)[^/].*/{
5882
            s//\1/
5883
            q
5884
          }
5885
          /^X\(\/\/\)$/{
5886
            s//\1/
5887
            q
5888
          }
5889
          /^X\(\/\).*/{
5890
            s//\1/
5891
            q
5892
          }
5893
          s/.*/./; q'`
5894
      { as_dir=$dirpart/$fdir
5895
  case $as_dir in #(
5896
  -*) as_dir=./$as_dir;;
5897
  esac
5898
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5899
    as_dirs=
5900
    while :; do
5901
      case $as_dir in #(
5902
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5903
      *) as_qdir=$as_dir;;
5904
      esac
5905
      as_dirs="'$as_qdir' $as_dirs"
5906
      as_dir=`$as_dirname -- "$as_dir" ||
5907
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5908
         X"$as_dir" : 'X\(//\)[^/]' \| \
5909
         X"$as_dir" : 'X\(//\)$' \| \
5910
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5911
$as_echo X"$as_dir" |
5912
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5913
            s//\1/
5914
            q
5915
          }
5916
          /^X\(\/\/\)[^/].*/{
5917
            s//\1/
5918
            q
5919
          }
5920
          /^X\(\/\/\)$/{
5921
            s//\1/
5922
            q
5923
          }
5924
          /^X\(\/\).*/{
5925
            s//\1/
5926
            q
5927
          }
5928
          s/.*/./; q'`
5929
      test -d "$as_dir" && break
5930
    done
5931
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5932
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5933
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5934
   { (exit 1); exit 1; }; }; }
5935
      # echo "creating $dirpart/$file"
5936
      echo '# dummy' > "$dirpart/$file"
5937
    done
5938
  done
5939
}
5940
 ;;
5941
5942
 
5943
done # for ac_tag
5944
5945
 
5946
 
5947
_ACEOF
5948
chmod +x $CONFIG_STATUS
5949
ac_clean_files=$ac_clean_files_save
5950
5951
 
5952
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5953
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5954
   { (exit 1); exit 1; }; }
5955
5956
 
5957
 
5958
# config.status does its own redirection, appending to config.log.
5959
# Unfortunately, on DOS this fails, as config.log is still kept open
5960
# by configure, so config.status won't be able to write to it; its
5961
# output is simply discarded.  So we exec the FD to /dev/null,
5962
# effectively closing config.log, so it can be properly (re)opened and
5963
# appended to by config.status.  When coming back to configure, we
5964
# need to make the FD available again.
5965
if test "$no_create" != yes; then
5966
  ac_cs_success=:
5967
  ac_config_status_args=
5968
  test "$silent" = yes &&
5969
    ac_config_status_args="$ac_config_status_args --quiet"
5970
  exec 5>/dev/null
5971
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5972
  exec 5>>config.log
5973
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5974
  # would make configure fail if this is the last instruction.
5975
  $ac_cs_success || { (exit 1); exit 1; }
5976
fi
5977
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5978
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5979
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5980
fi
5981
5982
 

powered by: WebSVN 2.1.0

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