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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [m68k/] [configure] - Blame information for rev 207

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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