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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [eth/] [synth/] [ecosynth/] [current/] [host/] [configure] - Blame information for rev 786

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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