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