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

Subversion Repositories openrisc

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

powered by: WebSVN 2.1.0

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