source: trunk/libs/newlib/src/libgloss/wince/configure @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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