OSDN Git Service

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