Change maintainer
[framework/uifw/expedite.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for expedite 0.7.0.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
236
237
238       for as_shell in $as_candidate_shells $SHELL; do
239          # Try only shells that exist, to save several forks.
240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243   emulate sh
244   NULLCMD=:
245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246   # is contrary to our usage.  Disable this feature.
247   alias -g '${1+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267   # is contrary to our usage.  Disable this feature.
268   alias -g '${1+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
341
342       done
343
344       if test "x$CONFIG_SHELL" != x; then
345   for as_var in BASH_ENV ENV
346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353     if test $as_have_required = no; then
354   echo This script requires a shell more modern than all the
355       echo shells that I found on your system.  Please install a
356       echo modern shell, or manually run the script under such a
357       echo shell if you do have one.
358       { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417   echo No shell found that supports shell functions.
418   echo Please tell autoconf@gnu.org about your system,
419   echo including any error possibly output before this
420   echo message
421 }
422
423
424
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431   # uniformly replaced by the line number.  The first 'sed' inserts a
432   # line-number line after each line using $LINENO; the second 'sed'
433   # does the real work.  The second script uses 'N' to pair each
434   # line-number line with the line containing $LINENO, and appends
435   # trailing '-' during substitution so that $LINENO is not a special
436   # case at line end.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
439   # E. McMahon (1931-1989) for sed's syntax.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457    { (exit 1); exit 1; }; }
458
459   # Don't try to exec as it changes $[0], causing all sort of problems
460   # (the dirname of $[0] is not the place where we might find the
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
502   # ... but there are two gotchas:
503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505   # In both cases, we have to default to `cp -p'.
506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='expedite'
576 PACKAGE_TARNAME='expedite'
577 PACKAGE_VERSION='0.7.0'
578 PACKAGE_STRING='expedite 0.7.0'
579 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
580
581 ac_unique_file="configure.ac"
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 INSTALL_PROGRAM
664 INSTALL_SCRIPT
665 INSTALL_DATA
666 am__isrc
667 CYGPATH_W
668 PACKAGE
669 VERSION
670 ACLOCAL
671 AUTOCONF
672 AUTOMAKE
673 AUTOHEADER
674 MAKEINFO
675 install_sh
676 STRIP
677 INSTALL_STRIP_PROGRAM
678 mkdir_p
679 AWK
680 SET_MAKE
681 am__leading_dot
682 AMTAR
683 am__tar
684 am__untar
685 PKG_CONFIG
686 BUILD_SOFTWARE_X11_TRUE
687 BUILD_SOFTWARE_X11_FALSE
688 BUILD_SOFTWARE_XLIB_TRUE
689 BUILD_SOFTWARE_XLIB_FALSE
690 BUILD_SOFTWARE_XCB_TRUE
691 BUILD_SOFTWARE_XCB_FALSE
692 BUILD_XRENDER_X11_TRUE
693 BUILD_XRENDER_X11_FALSE
694 BUILD_OPENGL_X11_TRUE
695 BUILD_OPENGL_X11_FALSE
696 BUILD_XRENDER_XCB_TRUE
697 BUILD_XRENDER_XCB_FALSE
698 BUILD_SOFTWARE_GDI_TRUE
699 BUILD_SOFTWARE_GDI_FALSE
700 gdi_libs
701 BUILD_SOFTWARE_DDRAW_TRUE
702 BUILD_SOFTWARE_DDRAW_FALSE
703 ddraw_libs
704 BUILD_DIRECT3D_TRUE
705 BUILD_DIRECT3D_FALSE
706 d3d_libs
707 BUILD_OPENGL_GLEW_TRUE
708 BUILD_OPENGL_GLEW_FALSE
709 glew_libs
710 BUILD_SOFTWARE_SDL_TRUE
711 BUILD_SOFTWARE_SDL_FALSE
712 BUILD_OPENGL_SDL_TRUE
713 BUILD_OPENGL_SDL_FALSE
714 BUILD_FB_TRUE
715 BUILD_FB_FALSE
716 BUILD_DIRECTFB_TRUE
717 BUILD_DIRECTFB_FALSE
718 BUILD_QUARTZ_TRUE
719 BUILD_QUARTZ_FALSE
720 quartz_libs
721 BUILD_SOFTWARE_16_X11_TRUE
722 BUILD_SOFTWARE_16_X11_FALSE
723 BUILD_SOFTWARE_16_DDRAW_TRUE
724 BUILD_SOFTWARE_16_DDRAW_FALSE
725 ddraw_16_libs
726 BUILD_SOFTWARE_16_WINCE_TRUE
727 BUILD_SOFTWARE_16_WINCE_FALSE
728 wince_16_libs
729 CC
730 CFLAGS
731 LDFLAGS
732 CPPFLAGS
733 ac_ct_CC
734 EXEEXT
735 OBJEXT
736 DEPDIR
737 am__include
738 am__quote
739 AMDEP_TRUE
740 AMDEP_FALSE
741 AMDEPBACKSLASH
742 CCDEPMODE
743 am__fastdepCC_TRUE
744 am__fastdepCC_FALSE
745 OBJC
746 OBJCFLAGS
747 ac_ct_OBJC
748 OBJCDEPMODE
749 am__fastdepOBJC_TRUE
750 am__fastdepOBJC_FALSE
751 CXX
752 CXXFLAGS
753 ac_ct_CXX
754 CXXDEPMODE
755 am__fastdepCXX_TRUE
756 am__fastdepCXX_FALSE
757 RC
758 EVIL_CFLAGS
759 EVIL_LIBS
760 EINA_CFLAGS
761 EINA_LIBS
762 EVAS_CFLAGS
763 EVAS_LIBS
764 XMKMF
765 CPP
766 X_CFLAGS
767 X_PRE_LIBS
768 X_LIBS
769 X_EXTRA_LIBS
770 GREP
771 EGREP
772 BUILD_X11_TRUE
773 BUILD_X11_FALSE
774 x_cflags
775 x_libs
776 XCB_CFLAGS
777 XCB_LIBS
778 BUILD_XCB_TRUE
779 BUILD_XCB_FALSE
780 SDL_CFLAGS
781 SDL_LIBS
782 BUILD_SDL_TRUE
783 BUILD_SDL_FALSE
784 DIRECTFB_CFLAGS
785 DIRECTFB_LIBS
786 WIN32_CFLAGS
787 EXPEDITE_CXXFLAGS
788 lt_enable_auto_import
789 LIBOBJS
790 LTLIBOBJS'
791 ac_subst_files=''
792       ac_precious_vars='build_alias
793 host_alias
794 target_alias
795 PKG_CONFIG
796 CC
797 CFLAGS
798 LDFLAGS
799 LIBS
800 CPPFLAGS
801 OBJC
802 OBJCFLAGS
803 CXX
804 CXXFLAGS
805 CCC
806 EVIL_CFLAGS
807 EVIL_LIBS
808 EINA_CFLAGS
809 EINA_LIBS
810 EVAS_CFLAGS
811 EVAS_LIBS
812 XMKMF
813 CPP
814 XCB_CFLAGS
815 XCB_LIBS
816 SDL_CFLAGS
817 SDL_LIBS
818 DIRECTFB_CFLAGS
819 DIRECTFB_LIBS'
820
821
822 # Initialize some variables set by options.
823 ac_init_help=
824 ac_init_version=false
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
827 cache_file=/dev/null
828 exec_prefix=NONE
829 no_create=
830 no_recursion=
831 prefix=NONE
832 program_prefix=NONE
833 program_suffix=NONE
834 program_transform_name=s,x,x,
835 silent=
836 site=
837 srcdir=
838 verbose=
839 x_includes=NONE
840 x_libraries=NONE
841
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir='${datarootdir}/info'
860 htmldir='${docdir}'
861 dvidir='${docdir}'
862 pdfdir='${docdir}'
863 psdir='${docdir}'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
867
868 ac_prev=
869 ac_dashdash=
870 for ac_option
871 do
872   # If the previous option needs an argument, assign it.
873   if test -n "$ac_prev"; then
874     eval $ac_prev=\$ac_option
875     ac_prev=
876     continue
877   fi
878
879   case $ac_option in
880   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881   *)    ac_optarg=yes ;;
882   esac
883
884   # Accept the important Cygnus configure options, so we can diagnose typos.
885
886   case $ac_dashdash$ac_option in
887   --)
888     ac_dashdash=yes ;;
889
890   -bindir | --bindir | --bindi | --bind | --bin | --bi)
891     ac_prev=bindir ;;
892   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
893     bindir=$ac_optarg ;;
894
895   -build | --build | --buil | --bui | --bu)
896     ac_prev=build_alias ;;
897   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
898     build_alias=$ac_optarg ;;
899
900   -cache-file | --cache-file | --cache-fil | --cache-fi \
901   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
902     ac_prev=cache_file ;;
903   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
904   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
905     cache_file=$ac_optarg ;;
906
907   --config-cache | -C)
908     cache_file=config.cache ;;
909
910   -datadir | --datadir | --datadi | --datad)
911     ac_prev=datadir ;;
912   -datadir=* | --datadir=* | --datadi=* | --datad=*)
913     datadir=$ac_optarg ;;
914
915   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
916   | --dataroo | --dataro | --datar)
917     ac_prev=datarootdir ;;
918   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
919   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
920     datarootdir=$ac_optarg ;;
921
922   -disable-* | --disable-*)
923     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
924     # Reject names that are not valid shell variable names.
925     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
926       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927    { (exit 1); exit 1; }; }
928     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
929     eval enable_$ac_feature=no ;;
930
931   -docdir | --docdir | --docdi | --doc | --do)
932     ac_prev=docdir ;;
933   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
934     docdir=$ac_optarg ;;
935
936   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
937     ac_prev=dvidir ;;
938   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
939     dvidir=$ac_optarg ;;
940
941   -enable-* | --enable-*)
942     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
943     # Reject names that are not valid shell variable names.
944     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
945       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
946    { (exit 1); exit 1; }; }
947     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
948     eval enable_$ac_feature=\$ac_optarg ;;
949
950   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952   | --exec | --exe | --ex)
953     ac_prev=exec_prefix ;;
954   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956   | --exec=* | --exe=* | --ex=*)
957     exec_prefix=$ac_optarg ;;
958
959   -gas | --gas | --ga | --g)
960     # Obsolete; use --with-gas.
961     with_gas=yes ;;
962
963   -help | --help | --hel | --he | -h)
964     ac_init_help=long ;;
965   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966     ac_init_help=recursive ;;
967   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968     ac_init_help=short ;;
969
970   -host | --host | --hos | --ho)
971     ac_prev=host_alias ;;
972   -host=* | --host=* | --hos=* | --ho=*)
973     host_alias=$ac_optarg ;;
974
975   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976     ac_prev=htmldir ;;
977   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978   | --ht=*)
979     htmldir=$ac_optarg ;;
980
981   -includedir | --includedir | --includedi | --included | --include \
982   | --includ | --inclu | --incl | --inc)
983     ac_prev=includedir ;;
984   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985   | --includ=* | --inclu=* | --incl=* | --inc=*)
986     includedir=$ac_optarg ;;
987
988   -infodir | --infodir | --infodi | --infod | --info | --inf)
989     ac_prev=infodir ;;
990   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991     infodir=$ac_optarg ;;
992
993   -libdir | --libdir | --libdi | --libd)
994     ac_prev=libdir ;;
995   -libdir=* | --libdir=* | --libdi=* | --libd=*)
996     libdir=$ac_optarg ;;
997
998   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999   | --libexe | --libex | --libe)
1000     ac_prev=libexecdir ;;
1001   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002   | --libexe=* | --libex=* | --libe=*)
1003     libexecdir=$ac_optarg ;;
1004
1005   -localedir | --localedir | --localedi | --localed | --locale)
1006     ac_prev=localedir ;;
1007   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008     localedir=$ac_optarg ;;
1009
1010   -localstatedir | --localstatedir | --localstatedi | --localstated \
1011   | --localstate | --localstat | --localsta | --localst | --locals)
1012     ac_prev=localstatedir ;;
1013   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015     localstatedir=$ac_optarg ;;
1016
1017   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018     ac_prev=mandir ;;
1019   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020     mandir=$ac_optarg ;;
1021
1022   -nfp | --nfp | --nf)
1023     # Obsolete; use --without-fp.
1024     with_fp=no ;;
1025
1026   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027   | --no-cr | --no-c | -n)
1028     no_create=yes ;;
1029
1030   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1032     no_recursion=yes ;;
1033
1034   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036   | --oldin | --oldi | --old | --ol | --o)
1037     ac_prev=oldincludedir ;;
1038   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041     oldincludedir=$ac_optarg ;;
1042
1043   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044     ac_prev=prefix ;;
1045   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046     prefix=$ac_optarg ;;
1047
1048   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1049   | --program-pre | --program-pr | --program-p)
1050     ac_prev=program_prefix ;;
1051   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1052   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053     program_prefix=$ac_optarg ;;
1054
1055   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1056   | --program-suf | --program-su | --program-s)
1057     ac_prev=program_suffix ;;
1058   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1059   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060     program_suffix=$ac_optarg ;;
1061
1062   -program-transform-name | --program-transform-name \
1063   | --program-transform-nam | --program-transform-na \
1064   | --program-transform-n | --program-transform- \
1065   | --program-transform | --program-transfor \
1066   | --program-transfo | --program-transf \
1067   | --program-trans | --program-tran \
1068   | --progr-tra | --program-tr | --program-t)
1069     ac_prev=program_transform_name ;;
1070   -program-transform-name=* | --program-transform-name=* \
1071   | --program-transform-nam=* | --program-transform-na=* \
1072   | --program-transform-n=* | --program-transform-=* \
1073   | --program-transform=* | --program-transfor=* \
1074   | --program-transfo=* | --program-transf=* \
1075   | --program-trans=* | --program-tran=* \
1076   | --progr-tra=* | --program-tr=* | --program-t=*)
1077     program_transform_name=$ac_optarg ;;
1078
1079   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080     ac_prev=pdfdir ;;
1081   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082     pdfdir=$ac_optarg ;;
1083
1084   -psdir | --psdir | --psdi | --psd | --ps)
1085     ac_prev=psdir ;;
1086   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1087     psdir=$ac_optarg ;;
1088
1089   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090   | -silent | --silent | --silen | --sile | --sil)
1091     silent=yes ;;
1092
1093   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094     ac_prev=sbindir ;;
1095   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096   | --sbi=* | --sb=*)
1097     sbindir=$ac_optarg ;;
1098
1099   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1100   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101   | --sharedst | --shareds | --shared | --share | --shar \
1102   | --sha | --sh)
1103     ac_prev=sharedstatedir ;;
1104   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107   | --sha=* | --sh=*)
1108     sharedstatedir=$ac_optarg ;;
1109
1110   -site | --site | --sit)
1111     ac_prev=site ;;
1112   -site=* | --site=* | --sit=*)
1113     site=$ac_optarg ;;
1114
1115   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116     ac_prev=srcdir ;;
1117   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118     srcdir=$ac_optarg ;;
1119
1120   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121   | --syscon | --sysco | --sysc | --sys | --sy)
1122     ac_prev=sysconfdir ;;
1123   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125     sysconfdir=$ac_optarg ;;
1126
1127   -target | --target | --targe | --targ | --tar | --ta | --t)
1128     ac_prev=target_alias ;;
1129   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130     target_alias=$ac_optarg ;;
1131
1132   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1133     verbose=yes ;;
1134
1135   -version | --version | --versio | --versi | --vers | -V)
1136     ac_init_version=: ;;
1137
1138   -with-* | --with-*)
1139     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140     # Reject names that are not valid shell variable names.
1141     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142       { echo "$as_me: error: invalid package name: $ac_package" >&2
1143    { (exit 1); exit 1; }; }
1144     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1145     eval with_$ac_package=\$ac_optarg ;;
1146
1147   -without-* | --without-*)
1148     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149     # Reject names that are not valid shell variable names.
1150     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151       { echo "$as_me: error: invalid package name: $ac_package" >&2
1152    { (exit 1); exit 1; }; }
1153     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1154     eval with_$ac_package=no ;;
1155
1156   --x)
1157     # Obsolete; use --with-x.
1158     with_x=yes ;;
1159
1160   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161   | --x-incl | --x-inc | --x-in | --x-i)
1162     ac_prev=x_includes ;;
1163   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165     x_includes=$ac_optarg ;;
1166
1167   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169     ac_prev=x_libraries ;;
1170   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172     x_libraries=$ac_optarg ;;
1173
1174   -*) { echo "$as_me: error: unrecognized option: $ac_option
1175 Try \`$0 --help' for more information." >&2
1176    { (exit 1); exit 1; }; }
1177     ;;
1178
1179   *=*)
1180     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181     # Reject names that are not valid shell variable names.
1182     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1183       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1184    { (exit 1); exit 1; }; }
1185     eval $ac_envvar=\$ac_optarg
1186     export $ac_envvar ;;
1187
1188   *)
1189     # FIXME: should be removed in autoconf 3.0.
1190     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194     ;;
1195
1196   esac
1197 done
1198
1199 if test -n "$ac_prev"; then
1200   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201   { echo "$as_me: error: missing argument to $ac_option" >&2
1202    { (exit 1); exit 1; }; }
1203 fi
1204
1205 # Be sure to have absolute directory names.
1206 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207                 datadir sysconfdir sharedstatedir localstatedir includedir \
1208                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209                 libdir localedir mandir
1210 do
1211   eval ac_val=\$$ac_var
1212   case $ac_val in
1213     [\\/$]* | ?:[\\/]* )  continue;;
1214     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215   esac
1216   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1217    { (exit 1); exit 1; }; }
1218 done
1219
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1223 build=$build_alias
1224 host=$host_alias
1225 target=$target_alias
1226
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229   if test "x$build_alias" = x; then
1230     cross_compiling=maybe
1231     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232     If a cross compiler is detected then cross compile mode will be used." >&2
1233   elif test "x$build_alias" != "x$host_alias"; then
1234     cross_compiling=yes
1235   fi
1236 fi
1237
1238 ac_tool_prefix=
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240
1241 test "$silent" = yes && exec 6>/dev/null
1242
1243
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247   { echo "$as_me: error: Working directory cannot be determined" >&2
1248    { (exit 1); exit 1; }; }
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250   { echo "$as_me: error: pwd does not report name of working directory" >&2
1251    { (exit 1); exit 1; }; }
1252
1253
1254 # Find the source files, if location was not specified.
1255 if test -z "$srcdir"; then
1256   ac_srcdir_defaulted=yes
1257   # Try the directory containing this script, then the parent directory.
1258   ac_confdir=`$as_dirname -- "$0" ||
1259 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260          X"$0" : 'X\(//\)[^/]' \| \
1261          X"$0" : 'X\(//\)$' \| \
1262          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1263 echo X"$0" |
1264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265             s//\1/
1266             q
1267           }
1268           /^X\(\/\/\)[^/].*/{
1269             s//\1/
1270             q
1271           }
1272           /^X\(\/\/\)$/{
1273             s//\1/
1274             q
1275           }
1276           /^X\(\/\).*/{
1277             s//\1/
1278             q
1279           }
1280           s/.*/./; q'`
1281   srcdir=$ac_confdir
1282   if test ! -r "$srcdir/$ac_unique_file"; then
1283     srcdir=..
1284   fi
1285 else
1286   ac_srcdir_defaulted=no
1287 fi
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1289   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1291    { (exit 1); exit 1; }; }
1292 fi
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 ac_abs_confdir=`(
1295         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1296    { (exit 1); exit 1; }; }
1297         pwd)`
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1300   srcdir=.
1301 fi
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1305 case $srcdir in
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 esac
1308 for ac_var in $ac_precious_vars; do
1309   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310   eval ac_env_${ac_var}_value=\$${ac_var}
1311   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1313 done
1314
1315 #
1316 # Report the --help message.
1317 #
1318 if test "$ac_init_help" = "long"; then
1319   # Omit some internal or obsolete options to make the list less imposing.
1320   # This message is too long to be a string in the A/UX 3.1 sh.
1321   cat <<_ACEOF
1322 \`configure' configures expedite 0.7.0 to adapt to many kinds of systems.
1323
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1325
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE.  See below for descriptions of some of the useful variables.
1328
1329 Defaults for the options are specified in brackets.
1330
1331 Configuration:
1332   -h, --help              display this help and exit
1333       --help=short        display options specific to this package
1334       --help=recursive    display the short help of all the included packages
1335   -V, --version           display version information and exit
1336   -q, --quiet, --silent   do not print \`checking...' messages
1337       --cache-file=FILE   cache test results in FILE [disabled]
1338   -C, --config-cache      alias for \`--cache-file=config.cache'
1339   -n, --no-create         do not create output files
1340       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1341
1342 Installation directories:
1343   --prefix=PREFIX         install architecture-independent files in PREFIX
1344                           [$ac_default_prefix]
1345   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1346                           [PREFIX]
1347
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1352
1353 For better control, use the options below.
1354
1355 Fine tuning of the installation directories:
1356   --bindir=DIR           user executables [EPREFIX/bin]
1357   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1358   --libexecdir=DIR       program executables [EPREFIX/libexec]
1359   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1360   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1361   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1362   --libdir=DIR           object code libraries [EPREFIX/lib]
1363   --includedir=DIR       C header files [PREFIX/include]
1364   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1365   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1366   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1367   --infodir=DIR          info documentation [DATAROOTDIR/info]
1368   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1369   --mandir=DIR           man documentation [DATAROOTDIR/man]
1370   --docdir=DIR           documentation root [DATAROOTDIR/doc/expedite]
1371   --htmldir=DIR          html documentation [DOCDIR]
1372   --dvidir=DIR           dvi documentation [DOCDIR]
1373   --pdfdir=DIR           pdf documentation [DOCDIR]
1374   --psdir=DIR            ps documentation [DOCDIR]
1375 _ACEOF
1376
1377   cat <<\_ACEOF
1378
1379 Program names:
1380   --program-prefix=PREFIX            prepend PREFIX to installed program names
1381   --program-suffix=SUFFIX            append SUFFIX to installed program names
1382   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1383
1384 X features:
1385   --x-includes=DIR    X include files are in DIR
1386   --x-libraries=DIR   X library files are in DIR
1387
1388 System types:
1389   --build=BUILD     configure for building on BUILD [guessed]
1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1391 _ACEOF
1392 fi
1393
1394 if test -n "$ac_init_help"; then
1395   case $ac_init_help in
1396      short | recursive ) echo "Configuration of expedite 0.7.0:";;
1397    esac
1398   cat <<\_ACEOF
1399
1400 Optional Features:
1401   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1402   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1403   --enable-simple-x11     enable simple x11 linking
1404   --enable-software-x11   enable Software X11 engine
1405   --enable-xrender-x11    enable XRender X11 engine
1406   --enable-opengl-x11     enable OpenGL X11 engine
1407   --enable-xrender-xcb    enable XRender XCB engine
1408   --enable-software-gdi   enable Software GDI engine
1409   --enable-software-ddraw enable Software DirectDraw engine
1410   --enable-direct3d       enable Direct3D engine
1411   --enable-opengl-glew    enable OpenGL Glew engine
1412   --enable-software-sdl   enable Software SDL engine
1413   --enable-opengl-sdl     enable OpenGL SDL engine
1414   --enable-fb             enable Framebuffer engine
1415   --enable-directfb       enable DirectFB engine
1416   --enable-quartz         enable Quartz engine
1417   --enable-software-16-x11
1418                           enable Software 16 bits X11 engine
1419   --enable-software-16-ddraw
1420                           enable Software 16 bits DirectDraw engine
1421   --enable-software-16-wince
1422                           enable Software 16 bits WinCE engine
1423   --disable-dependency-tracking  speeds up one-time build
1424   --enable-dependency-tracking   do not reject slow dependency extractors
1425
1426 Optional Packages:
1427   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1428   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1429   --with-x                use the X Window System
1430
1431 Some influential environment variables:
1432   PKG_CONFIG  path to pkg-config utility
1433   CC          C compiler command
1434   CFLAGS      C compiler flags
1435   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1436               nonstandard directory <lib dir>
1437   LIBS        libraries to pass to the linker, e.g. -l<library>
1438   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1439               you have headers in a nonstandard directory <include dir>
1440   OBJC        Objective C compiler command
1441   OBJCFLAGS   Objective C compiler flags
1442   CXX         C++ compiler command
1443   CXXFLAGS    C++ compiler flags
1444   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1445   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1446   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1447   EINA_LIBS   linker flags for EINA, overriding pkg-config
1448   EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
1449   EVAS_LIBS   linker flags for EVAS, overriding pkg-config
1450   XMKMF       Path to xmkmf, Makefile generator for X Window System
1451   CPP         C preprocessor
1452   XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
1453   XCB_LIBS    linker flags for XCB, overriding pkg-config
1454   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
1455   SDL_LIBS    linker flags for SDL, overriding pkg-config
1456   DIRECTFB_CFLAGS
1457               C compiler flags for DIRECTFB, overriding pkg-config
1458   DIRECTFB_LIBS
1459               linker flags for DIRECTFB, overriding pkg-config
1460
1461 Use these variables to override the choices made by `configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1463
1464 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1465 _ACEOF
1466 ac_status=$?
1467 fi
1468
1469 if test "$ac_init_help" = "recursive"; then
1470   # If there are subdirs, report their specific --help.
1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472     test -d "$ac_dir" || continue
1473     ac_builddir=.
1474
1475 case "$ac_dir" in
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 *)
1478   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1479   # A ".." for each directory in $ac_dir_suffix.
1480   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1481   case $ac_top_builddir_sub in
1482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1484   esac ;;
1485 esac
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1490
1491 case $srcdir in
1492   .)  # We are building in place.
1493     ac_srcdir=.
1494     ac_top_srcdir=$ac_top_builddir_sub
1495     ac_abs_top_srcdir=$ac_pwd ;;
1496   [\\/]* | ?:[\\/]* )  # Absolute name.
1497     ac_srcdir=$srcdir$ac_dir_suffix;
1498     ac_top_srcdir=$srcdir
1499     ac_abs_top_srcdir=$srcdir ;;
1500   *) # Relative name.
1501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502     ac_top_srcdir=$ac_top_build_prefix$srcdir
1503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 esac
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506
1507     cd "$ac_dir" || { ac_status=$?; continue; }
1508     # Check for guested configure.
1509     if test -f "$ac_srcdir/configure.gnu"; then
1510       echo &&
1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512     elif test -f "$ac_srcdir/configure"; then
1513       echo &&
1514       $SHELL "$ac_srcdir/configure" --help=recursive
1515     else
1516       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517     fi || ac_status=$?
1518     cd "$ac_pwd" || { ac_status=$?; break; }
1519   done
1520 fi
1521
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1524   cat <<\_ACEOF
1525 expedite configure 0.7.0
1526 generated by GNU Autoconf 2.61
1527
1528 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1529 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1530 This configure script is free software; the Free Software Foundation
1531 gives unlimited permission to copy, distribute and modify it.
1532 _ACEOF
1533   exit
1534 fi
1535 cat >config.log <<_ACEOF
1536 This file contains any messages produced by compilers while
1537 running configure, to aid debugging if configure makes a mistake.
1538
1539 It was created by expedite $as_me 0.7.0, which was
1540 generated by GNU Autoconf 2.61.  Invocation command line was
1541
1542   $ $0 $@
1543
1544 _ACEOF
1545 exec 5>>config.log
1546 {
1547 cat <<_ASUNAME
1548 ## --------- ##
1549 ## Platform. ##
1550 ## --------- ##
1551
1552 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1553 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1554 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1555 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1556 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1557
1558 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1559 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1560
1561 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1562 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1563 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1564 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1565 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1566 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1567 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1568
1569 _ASUNAME
1570
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 for as_dir in $PATH
1573 do
1574   IFS=$as_save_IFS
1575   test -z "$as_dir" && as_dir=.
1576   echo "PATH: $as_dir"
1577 done
1578 IFS=$as_save_IFS
1579
1580 } >&5
1581
1582 cat >&5 <<_ACEOF
1583
1584
1585 ## ----------- ##
1586 ## Core tests. ##
1587 ## ----------- ##
1588
1589 _ACEOF
1590
1591
1592 # Keep a trace of the command line.
1593 # Strip out --no-create and --no-recursion so they do not pile up.
1594 # Strip out --silent because we don't want to record it for future runs.
1595 # Also quote any args containing shell meta-characters.
1596 # Make two passes to allow for proper duplicate-argument suppression.
1597 ac_configure_args=
1598 ac_configure_args0=
1599 ac_configure_args1=
1600 ac_must_keep_next=false
1601 for ac_pass in 1 2
1602 do
1603   for ac_arg
1604   do
1605     case $ac_arg in
1606     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1607     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1608     | -silent | --silent | --silen | --sile | --sil)
1609       continue ;;
1610     *\'*)
1611       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1612     esac
1613     case $ac_pass in
1614     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1615     2)
1616       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1617       if test $ac_must_keep_next = true; then
1618         ac_must_keep_next=false # Got value, back to normal.
1619       else
1620         case $ac_arg in
1621           *=* | --config-cache | -C | -disable-* | --disable-* \
1622           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1623           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1624           | -with-* | --with-* | -without-* | --without-* | --x)
1625             case "$ac_configure_args0 " in
1626               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1627             esac
1628             ;;
1629           -* ) ac_must_keep_next=true ;;
1630         esac
1631       fi
1632       ac_configure_args="$ac_configure_args '$ac_arg'"
1633       ;;
1634     esac
1635   done
1636 done
1637 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1638 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1639
1640 # When interrupted or exit'd, cleanup temporary files, and complete
1641 # config.log.  We remove comments because anyway the quotes in there
1642 # would cause problems or look ugly.
1643 # WARNING: Use '\'' to represent an apostrophe within the trap.
1644 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1645 trap 'exit_status=$?
1646   # Save into config.log some information that might help in debugging.
1647   {
1648     echo
1649
1650     cat <<\_ASBOX
1651 ## ---------------- ##
1652 ## Cache variables. ##
1653 ## ---------------- ##
1654 _ASBOX
1655     echo
1656     # The following way of writing the cache mishandles newlines in values,
1657 (
1658   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1659     eval ac_val=\$$ac_var
1660     case $ac_val in #(
1661     *${as_nl}*)
1662       case $ac_var in #(
1663       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1664 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1665       esac
1666       case $ac_var in #(
1667       _ | IFS | as_nl) ;; #(
1668       *) $as_unset $ac_var ;;
1669       esac ;;
1670     esac
1671   done
1672   (set) 2>&1 |
1673     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1674     *${as_nl}ac_space=\ *)
1675       sed -n \
1676         "s/'\''/'\''\\\\'\'''\''/g;
1677           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1678       ;; #(
1679     *)
1680       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1681       ;;
1682     esac |
1683     sort
1684 )
1685     echo
1686
1687     cat <<\_ASBOX
1688 ## ----------------- ##
1689 ## Output variables. ##
1690 ## ----------------- ##
1691 _ASBOX
1692     echo
1693     for ac_var in $ac_subst_vars
1694     do
1695       eval ac_val=\$$ac_var
1696       case $ac_val in
1697       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1698       esac
1699       echo "$ac_var='\''$ac_val'\''"
1700     done | sort
1701     echo
1702
1703     if test -n "$ac_subst_files"; then
1704       cat <<\_ASBOX
1705 ## ------------------- ##
1706 ## File substitutions. ##
1707 ## ------------------- ##
1708 _ASBOX
1709       echo
1710       for ac_var in $ac_subst_files
1711       do
1712         eval ac_val=\$$ac_var
1713         case $ac_val in
1714         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1715         esac
1716         echo "$ac_var='\''$ac_val'\''"
1717       done | sort
1718       echo
1719     fi
1720
1721     if test -s confdefs.h; then
1722       cat <<\_ASBOX
1723 ## ----------- ##
1724 ## confdefs.h. ##
1725 ## ----------- ##
1726 _ASBOX
1727       echo
1728       cat confdefs.h
1729       echo
1730     fi
1731     test "$ac_signal" != 0 &&
1732       echo "$as_me: caught signal $ac_signal"
1733     echo "$as_me: exit $exit_status"
1734   } >&5
1735   rm -f core *.core core.conftest.* &&
1736     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1737     exit $exit_status
1738 ' 0
1739 for ac_signal in 1 2 13 15; do
1740   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1741 done
1742 ac_signal=0
1743
1744 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1745 rm -f -r conftest* confdefs.h
1746
1747 # Predefined preprocessor variables.
1748
1749 cat >>confdefs.h <<_ACEOF
1750 #define PACKAGE_NAME "$PACKAGE_NAME"
1751 _ACEOF
1752
1753
1754 cat >>confdefs.h <<_ACEOF
1755 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1756 _ACEOF
1757
1758
1759 cat >>confdefs.h <<_ACEOF
1760 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1761 _ACEOF
1762
1763
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_STRING "$PACKAGE_STRING"
1766 _ACEOF
1767
1768
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1771 _ACEOF
1772
1773
1774 # Let the site file select an alternate cache file if it wants to.
1775 # Prefer explicitly selected file to automatically selected ones.
1776 if test -n "$CONFIG_SITE"; then
1777   set x "$CONFIG_SITE"
1778 elif test "x$prefix" != xNONE; then
1779   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1780 else
1781   set x "$ac_default_prefix/share/config.site" \
1782         "$ac_default_prefix/etc/config.site"
1783 fi
1784 shift
1785 for ac_site_file
1786 do
1787   if test -r "$ac_site_file"; then
1788     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1789 echo "$as_me: loading site script $ac_site_file" >&6;}
1790     sed 's/^/| /' "$ac_site_file" >&5
1791     . "$ac_site_file"
1792   fi
1793 done
1794
1795 if test -r "$cache_file"; then
1796   # Some versions of bash will fail to source /dev/null (special
1797   # files actually), so we avoid doing that.
1798   if test -f "$cache_file"; then
1799     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1800 echo "$as_me: loading cache $cache_file" >&6;}
1801     case $cache_file in
1802       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1803       *)                      . "./$cache_file";;
1804     esac
1805   fi
1806 else
1807   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1808 echo "$as_me: creating cache $cache_file" >&6;}
1809   >$cache_file
1810 fi
1811
1812 # Check that the precious variables saved in the cache have kept the same
1813 # value.
1814 ac_cache_corrupted=false
1815 for ac_var in $ac_precious_vars; do
1816   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1817   eval ac_new_set=\$ac_env_${ac_var}_set
1818   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1819   eval ac_new_val=\$ac_env_${ac_var}_value
1820   case $ac_old_set,$ac_new_set in
1821     set,)
1822       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1823 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1824       ac_cache_corrupted=: ;;
1825     ,set)
1826       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1827 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1828       ac_cache_corrupted=: ;;
1829     ,);;
1830     *)
1831       if test "x$ac_old_val" != "x$ac_new_val"; then
1832         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1833 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1834         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1835 echo "$as_me:   former value:  $ac_old_val" >&2;}
1836         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1837 echo "$as_me:   current value: $ac_new_val" >&2;}
1838         ac_cache_corrupted=:
1839       fi;;
1840   esac
1841   # Pass precious variables to config.status.
1842   if test "$ac_new_set" = set; then
1843     case $ac_new_val in
1844     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1845     *) ac_arg=$ac_var=$ac_new_val ;;
1846     esac
1847     case " $ac_configure_args " in
1848       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1849       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1850     esac
1851   fi
1852 done
1853 if $ac_cache_corrupted; then
1854   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1855 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1856   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1857 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1858    { (exit 1); exit 1; }; }
1859 fi
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885 ac_ext=c
1886 ac_cpp='$CPP $CPPFLAGS'
1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1890
1891
1892
1893
1894 ac_config_headers="$ac_config_headers config.h"
1895
1896 ac_aux_dir=
1897 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1898   if test -f "$ac_dir/install-sh"; then
1899     ac_aux_dir=$ac_dir
1900     ac_install_sh="$ac_aux_dir/install-sh -c"
1901     break
1902   elif test -f "$ac_dir/install.sh"; then
1903     ac_aux_dir=$ac_dir
1904     ac_install_sh="$ac_aux_dir/install.sh -c"
1905     break
1906   elif test -f "$ac_dir/shtool"; then
1907     ac_aux_dir=$ac_dir
1908     ac_install_sh="$ac_aux_dir/shtool install -c"
1909     break
1910   fi
1911 done
1912 if test -z "$ac_aux_dir"; then
1913   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1914 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1915    { (exit 1); exit 1; }; }
1916 fi
1917
1918 # These three variables are undocumented and unsupported,
1919 # and are intended to be withdrawn in a future Autoconf release.
1920 # They can cause serious problems if a builder's source tree is in a directory
1921 # whose full name contains unusual characters.
1922 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1923 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1924 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1925
1926
1927 # Make sure we can run config.sub.
1928 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1929   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1930 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1931    { (exit 1); exit 1; }; }
1932
1933 { echo "$as_me:$LINENO: checking build system type" >&5
1934 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1935 if test "${ac_cv_build+set}" = set; then
1936   echo $ECHO_N "(cached) $ECHO_C" >&6
1937 else
1938   ac_build_alias=$build_alias
1939 test "x$ac_build_alias" = x &&
1940   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1941 test "x$ac_build_alias" = x &&
1942   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1943 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1944    { (exit 1); exit 1; }; }
1945 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1946   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1948    { (exit 1); exit 1; }; }
1949
1950 fi
1951 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1952 echo "${ECHO_T}$ac_cv_build" >&6; }
1953 case $ac_cv_build in
1954 *-*-*) ;;
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1956 echo "$as_me: error: invalid value of canonical build" >&2;}
1957    { (exit 1); exit 1; }; };;
1958 esac
1959 build=$ac_cv_build
1960 ac_save_IFS=$IFS; IFS='-'
1961 set x $ac_cv_build
1962 shift
1963 build_cpu=$1
1964 build_vendor=$2
1965 shift; shift
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1968 build_os=$*
1969 IFS=$ac_save_IFS
1970 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1971
1972
1973 { echo "$as_me:$LINENO: checking host system type" >&5
1974 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1975 if test "${ac_cv_host+set}" = set; then
1976   echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978   if test "x$host_alias" = x; then
1979   ac_cv_host=$ac_cv_build
1980 else
1981   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1982     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1983 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1984    { (exit 1); exit 1; }; }
1985 fi
1986
1987 fi
1988 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1989 echo "${ECHO_T}$ac_cv_host" >&6; }
1990 case $ac_cv_host in
1991 *-*-*) ;;
1992 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1993 echo "$as_me: error: invalid value of canonical host" >&2;}
1994    { (exit 1); exit 1; }; };;
1995 esac
1996 host=$ac_cv_host
1997 ac_save_IFS=$IFS; IFS='-'
1998 set x $ac_cv_host
1999 shift
2000 host_cpu=$1
2001 host_vendor=$2
2002 shift; shift
2003 # Remember, the first character of IFS is used to create $*,
2004 # except with old shells:
2005 host_os=$*
2006 IFS=$ac_save_IFS
2007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2008
2009
2010
2011 am__api_version='1.10'
2012
2013 # Find a good install program.  We prefer a C program (faster),
2014 # so one script is as good as another.  But avoid the broken or
2015 # incompatible versions:
2016 # SysV /etc/install, /usr/sbin/install
2017 # SunOS /usr/etc/install
2018 # IRIX /sbin/install
2019 # AIX /bin/install
2020 # AmigaOS /C/install, which installs bootblocks on floppy discs
2021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2024 # OS/2's system install, which has a completely different semantic
2025 # ./install, which can be erroneously created by make from ./install.sh.
2026 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2028 if test -z "$INSTALL"; then
2029 if test "${ac_cv_path_install+set}" = set; then
2030   echo $ECHO_N "(cached) $ECHO_C" >&6
2031 else
2032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 for as_dir in $PATH
2034 do
2035   IFS=$as_save_IFS
2036   test -z "$as_dir" && as_dir=.
2037   # Account for people who put trailing slashes in PATH elements.
2038 case $as_dir/ in
2039   ./ | .// | /cC/* | \
2040   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2041   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2042   /usr/ucb/* ) ;;
2043   *)
2044     # OSF1 and SCO ODT 3.0 have their own names for install.
2045     # Don't use installbsd from OSF since it installs stuff as root
2046     # by default.
2047     for ac_prog in ginstall scoinst install; do
2048       for ac_exec_ext in '' $ac_executable_extensions; do
2049         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2050           if test $ac_prog = install &&
2051             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2052             # AIX install.  It has an incompatible calling convention.
2053             :
2054           elif test $ac_prog = install &&
2055             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2056             # program-specific install script used by HP pwplus--don't use.
2057             :
2058           else
2059             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2060             break 3
2061           fi
2062         fi
2063       done
2064     done
2065     ;;
2066 esac
2067 done
2068 IFS=$as_save_IFS
2069
2070
2071 fi
2072   if test "${ac_cv_path_install+set}" = set; then
2073     INSTALL=$ac_cv_path_install
2074   else
2075     # As a last resort, use the slow shell script.  Don't cache a
2076     # value for INSTALL within a source directory, because that will
2077     # break other packages using the cache if that directory is
2078     # removed, or if the value is a relative name.
2079     INSTALL=$ac_install_sh
2080   fi
2081 fi
2082 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2083 echo "${ECHO_T}$INSTALL" >&6; }
2084
2085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2086 # It thinks the first close brace ends the variable substitution.
2087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2088
2089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2090
2091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2092
2093 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2094 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2095 # Just in case
2096 sleep 1
2097 echo timestamp > conftest.file
2098 # Do `set' in a subshell so we don't clobber the current shell's
2099 # arguments.  Must try -L first in case configure is actually a
2100 # symlink; some systems play weird games with the mod time of symlinks
2101 # (eg FreeBSD returns the mod time of the symlink's containing
2102 # directory).
2103 if (
2104    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2105    if test "$*" = "X"; then
2106       # -L didn't work.
2107       set X `ls -t $srcdir/configure conftest.file`
2108    fi
2109    rm -f conftest.file
2110    if test "$*" != "X $srcdir/configure conftest.file" \
2111       && test "$*" != "X conftest.file $srcdir/configure"; then
2112
2113       # If neither matched, then we have a broken ls.  This can happen
2114       # if, for instance, CONFIG_SHELL is bash and it inherits a
2115       # broken ls alias from the environment.  This has actually
2116       # happened.  Such a system could not be considered "sane".
2117       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2118 alias in your environment" >&5
2119 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2120 alias in your environment" >&2;}
2121    { (exit 1); exit 1; }; }
2122    fi
2123
2124    test "$2" = conftest.file
2125    )
2126 then
2127    # Ok.
2128    :
2129 else
2130    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2131 Check your system clock" >&5
2132 echo "$as_me: error: newly created file is older than distributed files!
2133 Check your system clock" >&2;}
2134    { (exit 1); exit 1; }; }
2135 fi
2136 { echo "$as_me:$LINENO: result: yes" >&5
2137 echo "${ECHO_T}yes" >&6; }
2138 test "$program_prefix" != NONE &&
2139   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2140 # Use a double $ so make ignores it.
2141 test "$program_suffix" != NONE &&
2142   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2143 # Double any \ or $.  echo might interpret backslashes.
2144 # By default was `s,x,x', remove it if useless.
2145 cat <<\_ACEOF >conftest.sed
2146 s/[\\$]/&&/g;s/;s,x,x,$//
2147 _ACEOF
2148 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2149 rm -f conftest.sed
2150
2151 # expand $ac_aux_dir to an absolute path
2152 am_aux_dir=`cd $ac_aux_dir && pwd`
2153
2154 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2155 # Use eval to expand $SHELL
2156 if eval "$MISSING --run true"; then
2157   am_missing_run="$MISSING --run "
2158 else
2159   am_missing_run=
2160   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2161 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2162 fi
2163
2164 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2165 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2166 if test -z "$MKDIR_P"; then
2167   if test "${ac_cv_path_mkdir+set}" = set; then
2168   echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2172 do
2173   IFS=$as_save_IFS
2174   test -z "$as_dir" && as_dir=.
2175   for ac_prog in mkdir gmkdir; do
2176          for ac_exec_ext in '' $ac_executable_extensions; do
2177            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2178            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2179              'mkdir (GNU coreutils) '* | \
2180              'mkdir (coreutils) '* | \
2181              'mkdir (fileutils) '4.1*)
2182                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2183                break 3;;
2184            esac
2185          done
2186        done
2187 done
2188 IFS=$as_save_IFS
2189
2190 fi
2191
2192   if test "${ac_cv_path_mkdir+set}" = set; then
2193     MKDIR_P="$ac_cv_path_mkdir -p"
2194   else
2195     # As a last resort, use the slow shell script.  Don't cache a
2196     # value for MKDIR_P within a source directory, because that will
2197     # break other packages using the cache if that directory is
2198     # removed, or if the value is a relative name.
2199     test -d ./--version && rmdir ./--version
2200     MKDIR_P="$ac_install_sh -d"
2201   fi
2202 fi
2203 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2204 echo "${ECHO_T}$MKDIR_P" >&6; }
2205
2206 mkdir_p="$MKDIR_P"
2207 case $mkdir_p in
2208   [\\/$]* | ?:[\\/]*) ;;
2209   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2210 esac
2211
2212 for ac_prog in gawk mawk nawk awk
2213 do
2214   # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_prog_AWK+set}" = set; then
2219   echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221   if test -n "$AWK"; then
2222   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2223 else
2224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 for as_dir in $PATH
2226 do
2227   IFS=$as_save_IFS
2228   test -z "$as_dir" && as_dir=.
2229   for ac_exec_ext in '' $ac_executable_extensions; do
2230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231     ac_cv_prog_AWK="$ac_prog"
2232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233     break 2
2234   fi
2235 done
2236 done
2237 IFS=$as_save_IFS
2238
2239 fi
2240 fi
2241 AWK=$ac_cv_prog_AWK
2242 if test -n "$AWK"; then
2243   { echo "$as_me:$LINENO: result: $AWK" >&5
2244 echo "${ECHO_T}$AWK" >&6; }
2245 else
2246   { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2248 fi
2249
2250
2251   test -n "$AWK" && break
2252 done
2253
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258   echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260   cat >conftest.make <<\_ACEOF
2261 SHELL = /bin/sh
2262 all:
2263         @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 _ACEOF
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267   *@@@%%%=?*=@@@%%%*)
2268     eval ac_cv_prog_make_${ac_make}_set=yes;;
2269   *)
2270     eval ac_cv_prog_make_${ac_make}_set=no;;
2271 esac
2272 rm -f conftest.make
2273 fi
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275   { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2277   SET_MAKE=
2278 else
2279   { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281   SET_MAKE="MAKE=${MAKE-make}"
2282 fi
2283
2284 rm -rf .tst 2>/dev/null
2285 mkdir .tst 2>/dev/null
2286 if test -d .tst; then
2287   am__leading_dot=.
2288 else
2289   am__leading_dot=_
2290 fi
2291 rmdir .tst 2>/dev/null
2292
2293 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2294   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2295   # is not polluted with repeated "-I."
2296   am__isrc=' -I$(srcdir)'
2297   # test to see if srcdir already configured
2298   if test -f $srcdir/config.status; then
2299     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2300 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2301    { (exit 1); exit 1; }; }
2302   fi
2303 fi
2304
2305 # test whether we have cygpath
2306 if test -z "$CYGPATH_W"; then
2307   if (cygpath --version) >/dev/null 2>/dev/null; then
2308     CYGPATH_W='cygpath -w'
2309   else
2310     CYGPATH_W=echo
2311   fi
2312 fi
2313
2314
2315 # Define the identity of the package.
2316  PACKAGE='expedite'
2317  VERSION='0.7.0'
2318
2319
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE "$PACKAGE"
2322 _ACEOF
2323
2324
2325 cat >>confdefs.h <<_ACEOF
2326 #define VERSION "$VERSION"
2327 _ACEOF
2328
2329 # Some tools Automake needs.
2330
2331 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2332
2333
2334 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2335
2336
2337 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2338
2339
2340 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2341
2342
2343 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2344
2345 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2346
2347 # Installed binaries are usually stripped using `strip' when the user
2348 # run `make install-strip'.  However `strip' might not be the right
2349 # tool to use in cross-compilation environments, therefore Automake
2350 # will honor the `STRIP' environment variable to overrule this program.
2351 if test "$cross_compiling" != no; then
2352   if test -n "$ac_tool_prefix"; then
2353   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2354 set dummy ${ac_tool_prefix}strip; ac_word=$2
2355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2357 if test "${ac_cv_prog_STRIP+set}" = set; then
2358   echo $ECHO_N "(cached) $ECHO_C" >&6
2359 else
2360   if test -n "$STRIP"; then
2361   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2362 else
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 for as_dir in $PATH
2365 do
2366   IFS=$as_save_IFS
2367   test -z "$as_dir" && as_dir=.
2368   for ac_exec_ext in '' $ac_executable_extensions; do
2369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2371     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372     break 2
2373   fi
2374 done
2375 done
2376 IFS=$as_save_IFS
2377
2378 fi
2379 fi
2380 STRIP=$ac_cv_prog_STRIP
2381 if test -n "$STRIP"; then
2382   { echo "$as_me:$LINENO: result: $STRIP" >&5
2383 echo "${ECHO_T}$STRIP" >&6; }
2384 else
2385   { echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6; }
2387 fi
2388
2389
2390 fi
2391 if test -z "$ac_cv_prog_STRIP"; then
2392   ac_ct_STRIP=$STRIP
2393   # Extract the first word of "strip", so it can be a program name with args.
2394 set dummy strip; ac_word=$2
2395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2397 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2398   echo $ECHO_N "(cached) $ECHO_C" >&6
2399 else
2400   if test -n "$ac_ct_STRIP"; then
2401   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2402 else
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2405 do
2406   IFS=$as_save_IFS
2407   test -z "$as_dir" && as_dir=.
2408   for ac_exec_ext in '' $ac_executable_extensions; do
2409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410     ac_cv_prog_ac_ct_STRIP="strip"
2411     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412     break 2
2413   fi
2414 done
2415 done
2416 IFS=$as_save_IFS
2417
2418 fi
2419 fi
2420 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2421 if test -n "$ac_ct_STRIP"; then
2422   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2423 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2424 else
2425   { echo "$as_me:$LINENO: result: no" >&5
2426 echo "${ECHO_T}no" >&6; }
2427 fi
2428
2429   if test "x$ac_ct_STRIP" = x; then
2430     STRIP=":"
2431   else
2432     case $cross_compiling:$ac_tool_warned in
2433 yes:)
2434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2435 whose name does not start with the host triplet.  If you think this
2436 configuration is useful to you, please write to autoconf@gnu.org." >&5
2437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2438 whose name does not start with the host triplet.  If you think this
2439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2440 ac_tool_warned=yes ;;
2441 esac
2442     STRIP=$ac_ct_STRIP
2443   fi
2444 else
2445   STRIP="$ac_cv_prog_STRIP"
2446 fi
2447
2448 fi
2449 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2450
2451 # We need awk for the "check" target.  The system "awk" is bad on
2452 # some platforms.
2453 # Always define AMTAR for backward compatibility.
2454
2455 AMTAR=${AMTAR-"${am_missing_run}tar"}
2456
2457 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2468         if test -n "$ac_tool_prefix"; then
2469   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2470 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2473 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2474   echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2476   case $PKG_CONFIG in
2477   [\\/]* | ?:[\\/]*)
2478   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2479   ;;
2480   *)
2481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484   IFS=$as_save_IFS
2485   test -z "$as_dir" && as_dir=.
2486   for ac_exec_ext in '' $ac_executable_extensions; do
2487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490     break 2
2491   fi
2492 done
2493 done
2494 IFS=$as_save_IFS
2495
2496   ;;
2497 esac
2498 fi
2499 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2500 if test -n "$PKG_CONFIG"; then
2501   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2502 echo "${ECHO_T}$PKG_CONFIG" >&6; }
2503 else
2504   { echo "$as_me:$LINENO: result: no" >&5
2505 echo "${ECHO_T}no" >&6; }
2506 fi
2507
2508
2509 fi
2510 if test -z "$ac_cv_path_PKG_CONFIG"; then
2511   ac_pt_PKG_CONFIG=$PKG_CONFIG
2512   # Extract the first word of "pkg-config", so it can be a program name with args.
2513 set dummy pkg-config; ac_word=$2
2514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2516 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2517   echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519   case $ac_pt_PKG_CONFIG in
2520   [\\/]* | ?:[\\/]*)
2521   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2522   ;;
2523   *)
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     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2532     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533     break 2
2534   fi
2535 done
2536 done
2537 IFS=$as_save_IFS
2538
2539   ;;
2540 esac
2541 fi
2542 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2543 if test -n "$ac_pt_PKG_CONFIG"; then
2544   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2545 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2546 else
2547   { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2549 fi
2550
2551   if test "x$ac_pt_PKG_CONFIG" = x; then
2552     PKG_CONFIG=""
2553   else
2554     case $cross_compiling:$ac_tool_warned in
2555 yes:)
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet.  If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet.  If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2563 esac
2564     PKG_CONFIG=$ac_pt_PKG_CONFIG
2565   fi
2566 else
2567   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2568 fi
2569
2570 fi
2571 if test -n "$PKG_CONFIG"; then
2572         _pkg_min_version=0.9.0
2573         { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2574 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2575         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2576                 { echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6; }
2578         else
2579                 { echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6; }
2581                 PKG_CONFIG=""
2582         fi
2583
2584 fi
2585
2586
2587 ### Additional options to configure
2588
2589 ## Simple X11 build/link
2590
2591 ## Evas engines
2592
2593 # Check whether --enable-simple-x11 was given.
2594 if test "${enable_simple_x11+set}" = set; then
2595   enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
2596
2597 fi
2598
2599
2600 # Software X11
2601 have_software_xlib="no"
2602 have_software_xcb="no"
2603
2604
2605 want_software_x11="yes"
2606 have_software_x11="no"
2607
2608 # Check whether --enable-software-x11 was given.
2609 if test "${enable_software_x11+set}" = set; then
2610   enableval=$enable_software_x11;  want_software_x11=$enableval
2611
2612 fi
2613
2614
2615 { echo "$as_me:$LINENO: checking whether Software X11 engine is to be built" >&5
2616 echo $ECHO_N "checking whether Software X11 engine is to be built... $ECHO_C" >&6; }
2617 { echo "$as_me:$LINENO: result: $want_software_x11" >&5
2618 echo "${ECHO_T}$want_software_x11" >&6; }
2619
2620 if test "x$want_software_x11" = "xyes"; then
2621   if test -n "$PKG_CONFIG" && \
2622     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\"") >&5
2623   ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
2624   ac_status=$?
2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626   (exit $ac_status); }; then
2627
2628
2629 cat >>confdefs.h <<\_ACEOF
2630 #define HAVE_EVAS_SOFTWARE_X11 1
2631 _ACEOF
2632
2633       have_software_x11="yes"
2634
2635 else
2636    have_software_x11="no"
2637
2638 fi
2639 fi
2640
2641 { echo "$as_me:$LINENO: checking whether Software X11 engine is available" >&5
2642 echo $ECHO_N "checking whether Software X11 engine is available... $ECHO_C" >&6; }
2643 { echo "$as_me:$LINENO: result: $have_software_x11" >&5
2644 echo "${ECHO_T}$have_software_x11" >&6; }
2645
2646  if test "x$have_software_x11" = "xyes"; then
2647   BUILD_SOFTWARE_X11_TRUE=
2648   BUILD_SOFTWARE_X11_FALSE='#'
2649 else
2650   BUILD_SOFTWARE_X11_TRUE='#'
2651   BUILD_SOFTWARE_X11_FALSE=
2652 fi
2653
2654
2655 if test "x$have_software_x11" = "xyes" ; then
2656   :
2657 else
2658   :
2659 fi
2660
2661
2662
2663
2664
2665 if test "x${have_software_x11}" = "xyes" ; then
2666    have_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
2667    if test "x${have_software_xlib}" = "xyes" ; then
2668
2669 cat >>confdefs.h <<\_ACEOF
2670 #define HAVE_EVAS_SOFTWARE_XLIB 1
2671 _ACEOF
2672
2673    fi
2674    have_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
2675    if test "x${have_software_xcb}" = "xyes" ; then
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define HAVE_EVAS_SOFTWARE_XCB 1
2679 _ACEOF
2680
2681    fi
2682 fi
2683
2684  if test "x${have_software_xlib}" = "xyes"; then
2685   BUILD_SOFTWARE_XLIB_TRUE=
2686   BUILD_SOFTWARE_XLIB_FALSE='#'
2687 else
2688   BUILD_SOFTWARE_XLIB_TRUE='#'
2689   BUILD_SOFTWARE_XLIB_FALSE=
2690 fi
2691
2692  if test "x${have_software_xcb}" = "xyes"; then
2693   BUILD_SOFTWARE_XCB_TRUE=
2694   BUILD_SOFTWARE_XCB_FALSE='#'
2695 else
2696   BUILD_SOFTWARE_XCB_TRUE='#'
2697   BUILD_SOFTWARE_XCB_FALSE=
2698 fi
2699
2700
2701 # XRender X11
2702
2703
2704 want_xrender_x11="yes"
2705 have_xrender_x11="no"
2706
2707 # Check whether --enable-xrender-x11 was given.
2708 if test "${enable_xrender_x11+set}" = set; then
2709   enableval=$enable_xrender_x11;  want_xrender_x11=$enableval
2710
2711 fi
2712
2713
2714 { echo "$as_me:$LINENO: checking whether XRender X11 engine is to be built" >&5
2715 echo $ECHO_N "checking whether XRender X11 engine is to be built... $ECHO_C" >&6; }
2716 { echo "$as_me:$LINENO: result: $want_xrender_x11" >&5
2717 echo "${ECHO_T}$want_xrender_x11" >&6; }
2718
2719 if test "x$want_xrender_x11" = "xyes"; then
2720   if test -n "$PKG_CONFIG" && \
2721     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11\"") >&5
2722   ($PKG_CONFIG --exists --print-errors "evas-xrender-x11") 2>&5
2723   ac_status=$?
2724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725   (exit $ac_status); }; then
2726
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define HAVE_EVAS_XRENDER_X11 1
2730 _ACEOF
2731
2732       have_xrender_x11="yes"
2733
2734 else
2735    have_xrender_x11="no"
2736
2737 fi
2738 fi
2739
2740 { echo "$as_me:$LINENO: checking whether XRender X11 engine is available" >&5
2741 echo $ECHO_N "checking whether XRender X11 engine is available... $ECHO_C" >&6; }
2742 { echo "$as_me:$LINENO: result: $have_xrender_x11" >&5
2743 echo "${ECHO_T}$have_xrender_x11" >&6; }
2744
2745  if test "x$have_xrender_x11" = "xyes"; then
2746   BUILD_XRENDER_X11_TRUE=
2747   BUILD_XRENDER_X11_FALSE='#'
2748 else
2749   BUILD_XRENDER_X11_TRUE='#'
2750   BUILD_XRENDER_X11_FALSE=
2751 fi
2752
2753
2754 if test "x$have_xrender_x11" = "xyes" ; then
2755   :
2756 else
2757   :
2758 fi
2759
2760
2761
2762
2763
2764 # OpenGL X11
2765
2766
2767 want_opengl_x11="yes"
2768 have_opengl_x11="no"
2769
2770 # Check whether --enable-opengl-x11 was given.
2771 if test "${enable_opengl_x11+set}" = set; then
2772   enableval=$enable_opengl_x11;  want_opengl_x11=$enableval
2773
2774 fi
2775
2776
2777 { echo "$as_me:$LINENO: checking whether OpenGL X11 engine is to be built" >&5
2778 echo $ECHO_N "checking whether OpenGL X11 engine is to be built... $ECHO_C" >&6; }
2779 { echo "$as_me:$LINENO: result: $want_opengl_x11" >&5
2780 echo "${ECHO_T}$want_opengl_x11" >&6; }
2781
2782 if test "x$want_opengl_x11" = "xyes"; then
2783   if test -n "$PKG_CONFIG" && \
2784     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\"") >&5
2785   ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
2786   ac_status=$?
2787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788   (exit $ac_status); }; then
2789
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define HAVE_EVAS_OPENGL_X11 1
2793 _ACEOF
2794
2795       have_opengl_x11="yes"
2796
2797 else
2798    have_opengl_x11="no"
2799
2800 fi
2801 fi
2802
2803 { echo "$as_me:$LINENO: checking whether OpenGL X11 engine is available" >&5
2804 echo $ECHO_N "checking whether OpenGL X11 engine is available... $ECHO_C" >&6; }
2805 { echo "$as_me:$LINENO: result: $have_opengl_x11" >&5
2806 echo "${ECHO_T}$have_opengl_x11" >&6; }
2807
2808  if test "x$have_opengl_x11" = "xyes"; then
2809   BUILD_OPENGL_X11_TRUE=
2810   BUILD_OPENGL_X11_FALSE='#'
2811 else
2812   BUILD_OPENGL_X11_TRUE='#'
2813   BUILD_OPENGL_X11_FALSE=
2814 fi
2815
2816
2817 if test "x$have_opengl_x11" = "xyes" ; then
2818   :
2819 else
2820   :
2821 fi
2822
2823
2824
2825
2826
2827 # XRender XCB
2828
2829
2830 want_xrender_xcb="yes"
2831 have_xrender_xcb="no"
2832
2833 # Check whether --enable-xrender-xcb was given.
2834 if test "${enable_xrender_xcb+set}" = set; then
2835   enableval=$enable_xrender_xcb;  want_xrender_xcb=$enableval
2836
2837 fi
2838
2839
2840 { echo "$as_me:$LINENO: checking whether XRender XCB engine is to be built" >&5
2841 echo $ECHO_N "checking whether XRender XCB engine is to be built... $ECHO_C" >&6; }
2842 { echo "$as_me:$LINENO: result: $want_xrender_xcb" >&5
2843 echo "${ECHO_T}$want_xrender_xcb" >&6; }
2844
2845 if test "x$want_xrender_xcb" = "xyes"; then
2846   if test -n "$PKG_CONFIG" && \
2847     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-xrender-xcb\"") >&5
2848   ($PKG_CONFIG --exists --print-errors "evas-xrender-xcb") 2>&5
2849   ac_status=$?
2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851   (exit $ac_status); }; then
2852
2853
2854 cat >>confdefs.h <<\_ACEOF
2855 #define HAVE_EVAS_XRENDER_XCB 1
2856 _ACEOF
2857
2858       have_xrender_xcb="yes"
2859
2860 else
2861    have_xrender_xcb="no"
2862
2863 fi
2864 fi
2865
2866 { echo "$as_me:$LINENO: checking whether XRender XCB engine is available" >&5
2867 echo $ECHO_N "checking whether XRender XCB engine is available... $ECHO_C" >&6; }
2868 { echo "$as_me:$LINENO: result: $have_xrender_xcb" >&5
2869 echo "${ECHO_T}$have_xrender_xcb" >&6; }
2870
2871  if test "x$have_xrender_xcb" = "xyes"; then
2872   BUILD_XRENDER_XCB_TRUE=
2873   BUILD_XRENDER_XCB_FALSE='#'
2874 else
2875   BUILD_XRENDER_XCB_TRUE='#'
2876   BUILD_XRENDER_XCB_FALSE=
2877 fi
2878
2879
2880 if test "x$have_xrender_xcb" = "xyes" ; then
2881   :
2882 else
2883   :
2884 fi
2885
2886
2887
2888
2889
2890 # GDI
2891
2892
2893 want_software_gdi="yes"
2894 have_software_gdi="no"
2895
2896 # Check whether --enable-software-gdi was given.
2897 if test "${enable_software_gdi+set}" = set; then
2898   enableval=$enable_software_gdi;  want_software_gdi=$enableval
2899
2900 fi
2901
2902
2903 { echo "$as_me:$LINENO: checking whether Software GDI engine is to be built" >&5
2904 echo $ECHO_N "checking whether Software GDI engine is to be built... $ECHO_C" >&6; }
2905 { echo "$as_me:$LINENO: result: $want_software_gdi" >&5
2906 echo "${ECHO_T}$want_software_gdi" >&6; }
2907
2908 if test "x$want_software_gdi" = "xyes"; then
2909   if test -n "$PKG_CONFIG" && \
2910     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\"") >&5
2911   ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
2912   ac_status=$?
2913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914   (exit $ac_status); }; then
2915
2916
2917 cat >>confdefs.h <<\_ACEOF
2918 #define HAVE_EVAS_SOFTWARE_GDI 1
2919 _ACEOF
2920
2921       have_software_gdi="yes"
2922
2923 else
2924    have_software_gdi="no"
2925
2926 fi
2927 fi
2928
2929 { echo "$as_me:$LINENO: checking whether Software GDI engine is available" >&5
2930 echo $ECHO_N "checking whether Software GDI engine is available... $ECHO_C" >&6; }
2931 { echo "$as_me:$LINENO: result: $have_software_gdi" >&5
2932 echo "${ECHO_T}$have_software_gdi" >&6; }
2933
2934  if test "x$have_software_gdi" = "xyes"; then
2935   BUILD_SOFTWARE_GDI_TRUE=
2936   BUILD_SOFTWARE_GDI_FALSE='#'
2937 else
2938   BUILD_SOFTWARE_GDI_TRUE='#'
2939   BUILD_SOFTWARE_GDI_FALSE=
2940 fi
2941
2942
2943 if test "x$have_software_gdi" = "xyes" ; then
2944   gdi_libs="-lgdi32"
2945 else
2946   :
2947 fi
2948
2949
2950
2951
2952
2953
2954 # DirectDraw
2955
2956
2957 want_software_ddraw="yes"
2958 have_software_ddraw="no"
2959
2960 # Check whether --enable-software-ddraw was given.
2961 if test "${enable_software_ddraw+set}" = set; then
2962   enableval=$enable_software_ddraw;  want_software_ddraw=$enableval
2963
2964 fi
2965
2966
2967 { echo "$as_me:$LINENO: checking whether Software DirectDraw engine is to be built" >&5
2968 echo $ECHO_N "checking whether Software DirectDraw engine is to be built... $ECHO_C" >&6; }
2969 { echo "$as_me:$LINENO: result: $want_software_ddraw" >&5
2970 echo "${ECHO_T}$want_software_ddraw" >&6; }
2971
2972 if test "x$want_software_ddraw" = "xyes"; then
2973   if test -n "$PKG_CONFIG" && \
2974     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\"") >&5
2975   ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
2976   ac_status=$?
2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978   (exit $ac_status); }; then
2979
2980
2981 cat >>confdefs.h <<\_ACEOF
2982 #define HAVE_EVAS_SOFTWARE_DDRAW 1
2983 _ACEOF
2984
2985       have_software_ddraw="yes"
2986
2987 else
2988    have_software_ddraw="no"
2989
2990 fi
2991 fi
2992
2993 { echo "$as_me:$LINENO: checking whether Software DirectDraw engine is available" >&5
2994 echo $ECHO_N "checking whether Software DirectDraw engine is available... $ECHO_C" >&6; }
2995 { echo "$as_me:$LINENO: result: $have_software_ddraw" >&5
2996 echo "${ECHO_T}$have_software_ddraw" >&6; }
2997
2998  if test "x$have_software_ddraw" = "xyes"; then
2999   BUILD_SOFTWARE_DDRAW_TRUE=
3000   BUILD_SOFTWARE_DDRAW_FALSE='#'
3001 else
3002   BUILD_SOFTWARE_DDRAW_TRUE='#'
3003   BUILD_SOFTWARE_DDRAW_FALSE=
3004 fi
3005
3006
3007 if test "x$have_software_ddraw" = "xyes" ; then
3008   ddraw_libs="-lddraw -ldxguid -lgdi32"
3009 else
3010   :
3011 fi
3012
3013
3014
3015
3016
3017
3018 # Direct3D
3019
3020
3021 want_direct3d="yes"
3022 have_direct3d="no"
3023
3024 # Check whether --enable-direct3d was given.
3025 if test "${enable_direct3d+set}" = set; then
3026   enableval=$enable_direct3d;  want_direct3d=$enableval
3027
3028 fi
3029
3030
3031 { echo "$as_me:$LINENO: checking whether Direct3D engine is to be built" >&5
3032 echo $ECHO_N "checking whether Direct3D engine is to be built... $ECHO_C" >&6; }
3033 { echo "$as_me:$LINENO: result: $want_direct3d" >&5
3034 echo "${ECHO_T}$want_direct3d" >&6; }
3035
3036 if test "x$want_direct3d" = "xyes"; then
3037   if test -n "$PKG_CONFIG" && \
3038     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\"") >&5
3039   ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
3040   ac_status=$?
3041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042   (exit $ac_status); }; then
3043
3044
3045 cat >>confdefs.h <<\_ACEOF
3046 #define HAVE_EVAS_DIRECT3D 1
3047 _ACEOF
3048
3049       have_direct3d="yes"
3050
3051 else
3052    have_direct3d="no"
3053
3054 fi
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking whether Direct3D engine is available" >&5
3058 echo $ECHO_N "checking whether Direct3D engine is available... $ECHO_C" >&6; }
3059 { echo "$as_me:$LINENO: result: $have_direct3d" >&5
3060 echo "${ECHO_T}$have_direct3d" >&6; }
3061
3062  if test "x$have_direct3d" = "xyes"; then
3063   BUILD_DIRECT3D_TRUE=
3064   BUILD_DIRECT3D_FALSE='#'
3065 else
3066   BUILD_DIRECT3D_TRUE='#'
3067   BUILD_DIRECT3D_FALSE=
3068 fi
3069
3070
3071 if test "x$have_direct3d" = "xyes" ; then
3072   d3d_libs="-ld3d9 -ld3dx9d -lgdi32"
3073 else
3074   :
3075 fi
3076
3077
3078
3079
3080
3081
3082 # OpenGL GLEW
3083
3084
3085 want_opengl_glew="yes"
3086 have_opengl_glew="no"
3087
3088 # Check whether --enable-opengl-glew was given.
3089 if test "${enable_opengl_glew+set}" = set; then
3090   enableval=$enable_opengl_glew;  want_opengl_glew=$enableval
3091
3092 fi
3093
3094
3095 { echo "$as_me:$LINENO: checking whether OpenGL Glew engine is to be built" >&5
3096 echo $ECHO_N "checking whether OpenGL Glew engine is to be built... $ECHO_C" >&6; }
3097 { echo "$as_me:$LINENO: result: $want_opengl_glew" >&5
3098 echo "${ECHO_T}$want_opengl_glew" >&6; }
3099
3100 if test "x$want_opengl_glew" = "xyes"; then
3101   if test -n "$PKG_CONFIG" && \
3102     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\"") >&5
3103   ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
3104   ac_status=$?
3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106   (exit $ac_status); }; then
3107
3108
3109 cat >>confdefs.h <<\_ACEOF
3110 #define HAVE_EVAS_OPENGL_GLEW 1
3111 _ACEOF
3112
3113       have_opengl_glew="yes"
3114
3115 else
3116    have_opengl_glew="no"
3117
3118 fi
3119 fi
3120
3121 { echo "$as_me:$LINENO: checking whether OpenGL Glew engine is available" >&5
3122 echo $ECHO_N "checking whether OpenGL Glew engine is available... $ECHO_C" >&6; }
3123 { echo "$as_me:$LINENO: result: $have_opengl_glew" >&5
3124 echo "${ECHO_T}$have_opengl_glew" >&6; }
3125
3126  if test "x$have_opengl_glew" = "xyes"; then
3127   BUILD_OPENGL_GLEW_TRUE=
3128   BUILD_OPENGL_GLEW_FALSE='#'
3129 else
3130   BUILD_OPENGL_GLEW_TRUE='#'
3131   BUILD_OPENGL_GLEW_FALSE=
3132 fi
3133
3134
3135 if test "x$have_opengl_glew" = "xyes" ; then
3136   glew_libs="-lglew32 -lgdi32"
3137 else
3138   :
3139 fi
3140
3141
3142
3143
3144
3145
3146 # Software SDL
3147
3148
3149 want_software_sdl="yes"
3150 have_software_sdl="no"
3151
3152 # Check whether --enable-software-sdl was given.
3153 if test "${enable_software_sdl+set}" = set; then
3154   enableval=$enable_software_sdl;  want_software_sdl=$enableval
3155
3156 fi
3157
3158
3159 { echo "$as_me:$LINENO: checking whether Software SDL engine is to be built" >&5
3160 echo $ECHO_N "checking whether Software SDL engine is to be built... $ECHO_C" >&6; }
3161 { echo "$as_me:$LINENO: result: $want_software_sdl" >&5
3162 echo "${ECHO_T}$want_software_sdl" >&6; }
3163
3164 if test "x$want_software_sdl" = "xyes"; then
3165   if test -n "$PKG_CONFIG" && \
3166     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-sdl\"") >&5
3167   ($PKG_CONFIG --exists --print-errors "evas-software-sdl") 2>&5
3168   ac_status=$?
3169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170   (exit $ac_status); }; then
3171
3172
3173 cat >>confdefs.h <<\_ACEOF
3174 #define HAVE_EVAS_SOFTWARE_SDL 1
3175 _ACEOF
3176
3177       have_software_sdl="yes"
3178
3179 else
3180    have_software_sdl="no"
3181
3182 fi
3183 fi
3184
3185 { echo "$as_me:$LINENO: checking whether Software SDL engine is available" >&5
3186 echo $ECHO_N "checking whether Software SDL engine is available... $ECHO_C" >&6; }
3187 { echo "$as_me:$LINENO: result: $have_software_sdl" >&5
3188 echo "${ECHO_T}$have_software_sdl" >&6; }
3189
3190  if test "x$have_software_sdl" = "xyes"; then
3191   BUILD_SOFTWARE_SDL_TRUE=
3192   BUILD_SOFTWARE_SDL_FALSE='#'
3193 else
3194   BUILD_SOFTWARE_SDL_TRUE='#'
3195   BUILD_SOFTWARE_SDL_FALSE=
3196 fi
3197
3198
3199 if test "x$have_software_sdl" = "xyes" ; then
3200   :
3201 else
3202   :
3203 fi
3204
3205
3206
3207
3208
3209 # GL SDL
3210
3211
3212 want_opengl_sdl="yes"
3213 have_opengl_sdl="no"
3214
3215 # Check whether --enable-opengl-sdl was given.
3216 if test "${enable_opengl_sdl+set}" = set; then
3217   enableval=$enable_opengl_sdl;  want_opengl_sdl=$enableval
3218
3219 fi
3220
3221
3222 { echo "$as_me:$LINENO: checking whether OpenGL SDL engine is to be built" >&5
3223 echo $ECHO_N "checking whether OpenGL SDL engine is to be built... $ECHO_C" >&6; }
3224 { echo "$as_me:$LINENO: result: $want_opengl_sdl" >&5
3225 echo "${ECHO_T}$want_opengl_sdl" >&6; }
3226
3227 if test "x$want_opengl_sdl" = "xyes"; then
3228   if test -n "$PKG_CONFIG" && \
3229     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\"") >&5
3230   ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
3231   ac_status=$?
3232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233   (exit $ac_status); }; then
3234
3235
3236 cat >>confdefs.h <<\_ACEOF
3237 #define HAVE_EVAS_OPENGL_SDL 1
3238 _ACEOF
3239
3240       have_opengl_sdl="yes"
3241
3242 else
3243    have_opengl_sdl="no"
3244
3245 fi
3246 fi
3247
3248 { echo "$as_me:$LINENO: checking whether OpenGL SDL engine is available" >&5
3249 echo $ECHO_N "checking whether OpenGL SDL engine is available... $ECHO_C" >&6; }
3250 { echo "$as_me:$LINENO: result: $have_opengl_sdl" >&5
3251 echo "${ECHO_T}$have_opengl_sdl" >&6; }
3252
3253  if test "x$have_opengl_sdl" = "xyes"; then
3254   BUILD_OPENGL_SDL_TRUE=
3255   BUILD_OPENGL_SDL_FALSE='#'
3256 else
3257   BUILD_OPENGL_SDL_TRUE='#'
3258   BUILD_OPENGL_SDL_FALSE=
3259 fi
3260
3261
3262 if test "x$have_opengl_sdl" = "xyes" ; then
3263   :
3264 else
3265   :
3266 fi
3267
3268
3269
3270
3271
3272 # FB
3273
3274
3275 want_fb="yes"
3276 have_fb="no"
3277
3278 # Check whether --enable-fb was given.
3279 if test "${enable_fb+set}" = set; then
3280   enableval=$enable_fb;  want_fb=$enableval
3281
3282 fi
3283
3284
3285 { echo "$as_me:$LINENO: checking whether Framebuffer engine is to be built" >&5
3286 echo $ECHO_N "checking whether Framebuffer engine is to be built... $ECHO_C" >&6; }
3287 { echo "$as_me:$LINENO: result: $want_fb" >&5
3288 echo "${ECHO_T}$want_fb" >&6; }
3289
3290 if test "x$want_fb" = "xyes"; then
3291   if test -n "$PKG_CONFIG" && \
3292     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-fb\"") >&5
3293   ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
3294   ac_status=$?
3295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296   (exit $ac_status); }; then
3297
3298
3299 cat >>confdefs.h <<\_ACEOF
3300 #define HAVE_EVAS_FB 1
3301 _ACEOF
3302
3303       have_fb="yes"
3304
3305 else
3306    have_fb="no"
3307
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking whether Framebuffer engine is available" >&5
3312 echo $ECHO_N "checking whether Framebuffer engine is available... $ECHO_C" >&6; }
3313 { echo "$as_me:$LINENO: result: $have_fb" >&5
3314 echo "${ECHO_T}$have_fb" >&6; }
3315
3316  if test "x$have_fb" = "xyes"; then
3317   BUILD_FB_TRUE=
3318   BUILD_FB_FALSE='#'
3319 else
3320   BUILD_FB_TRUE='#'
3321   BUILD_FB_FALSE=
3322 fi
3323
3324
3325 if test "x$have_fb" = "xyes" ; then
3326   :
3327 else
3328   :
3329 fi
3330
3331
3332
3333
3334
3335 # DIRECTFB
3336
3337
3338 want_directfb="yes"
3339 have_directfb="no"
3340
3341 # Check whether --enable-directfb was given.
3342 if test "${enable_directfb+set}" = set; then
3343   enableval=$enable_directfb;  want_directfb=$enableval
3344
3345 fi
3346
3347
3348 { echo "$as_me:$LINENO: checking whether DirectFB engine is to be built" >&5
3349 echo $ECHO_N "checking whether DirectFB engine is to be built... $ECHO_C" >&6; }
3350 { echo "$as_me:$LINENO: result: $want_directfb" >&5
3351 echo "${ECHO_T}$want_directfb" >&6; }
3352
3353 if test "x$want_directfb" = "xyes"; then
3354   if test -n "$PKG_CONFIG" && \
3355     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-directfb\"") >&5
3356   ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
3357   ac_status=$?
3358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359   (exit $ac_status); }; then
3360
3361
3362 cat >>confdefs.h <<\_ACEOF
3363 #define HAVE_EVAS_DIRECTFB 1
3364 _ACEOF
3365
3366       have_directfb="yes"
3367
3368 else
3369    have_directfb="no"
3370
3371 fi
3372 fi
3373
3374 { echo "$as_me:$LINENO: checking whether DirectFB engine is available" >&5
3375 echo $ECHO_N "checking whether DirectFB engine is available... $ECHO_C" >&6; }
3376 { echo "$as_me:$LINENO: result: $have_directfb" >&5
3377 echo "${ECHO_T}$have_directfb" >&6; }
3378
3379  if test "x$have_directfb" = "xyes"; then
3380   BUILD_DIRECTFB_TRUE=
3381   BUILD_DIRECTFB_FALSE='#'
3382 else
3383   BUILD_DIRECTFB_TRUE='#'
3384   BUILD_DIRECTFB_FALSE=
3385 fi
3386
3387
3388 if test "x$have_directfb" = "xyes" ; then
3389   :
3390 else
3391   :
3392 fi
3393
3394
3395
3396
3397
3398 # Quartz
3399
3400
3401 want_quartz="yes"
3402 have_quartz="no"
3403
3404 # Check whether --enable-quartz was given.
3405 if test "${enable_quartz+set}" = set; then
3406   enableval=$enable_quartz;  want_quartz=$enableval
3407
3408 fi
3409
3410
3411 { echo "$as_me:$LINENO: checking whether Quartz engine is to be built" >&5
3412 echo $ECHO_N "checking whether Quartz engine is to be built... $ECHO_C" >&6; }
3413 { echo "$as_me:$LINENO: result: $want_quartz" >&5
3414 echo "${ECHO_T}$want_quartz" >&6; }
3415
3416 if test "x$want_quartz" = "xyes"; then
3417   if test -n "$PKG_CONFIG" && \
3418     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-quartz\"") >&5
3419   ($PKG_CONFIG --exists --print-errors "evas-quartz") 2>&5
3420   ac_status=$?
3421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422   (exit $ac_status); }; then
3423
3424
3425 cat >>confdefs.h <<\_ACEOF
3426 #define HAVE_EVAS_QUARTZ 1
3427 _ACEOF
3428
3429       have_quartz="yes"
3430
3431 else
3432    have_quartz="no"
3433
3434 fi
3435 fi
3436
3437 { echo "$as_me:$LINENO: checking whether Quartz engine is available" >&5
3438 echo $ECHO_N "checking whether Quartz engine is available... $ECHO_C" >&6; }
3439 { echo "$as_me:$LINENO: result: $have_quartz" >&5
3440 echo "${ECHO_T}$have_quartz" >&6; }
3441
3442  if test "x$have_quartz" = "xyes"; then
3443   BUILD_QUARTZ_TRUE=
3444   BUILD_QUARTZ_FALSE='#'
3445 else
3446   BUILD_QUARTZ_TRUE='#'
3447   BUILD_QUARTZ_FALSE=
3448 fi
3449
3450
3451 if test "x$have_quartz" = "xyes" ; then
3452   quartz_libs="-framework Cocoa -framework ApplicationServices"
3453 else
3454   :
3455 fi
3456
3457
3458
3459
3460
3461
3462 # Software 16bit X11
3463
3464
3465 want_software_16_x11="yes"
3466 have_software_16_x11="no"
3467
3468 # Check whether --enable-software-16-x11 was given.
3469 if test "${enable_software_16_x11+set}" = set; then
3470   enableval=$enable_software_16_x11;  want_software_16_x11=$enableval
3471
3472 fi
3473
3474
3475 { echo "$as_me:$LINENO: checking whether Software 16 bits X11 engine is to be built" >&5
3476 echo $ECHO_N "checking whether Software 16 bits X11 engine is to be built... $ECHO_C" >&6; }
3477 { echo "$as_me:$LINENO: result: $want_software_16_x11" >&5
3478 echo "${ECHO_T}$want_software_16_x11" >&6; }
3479
3480 if test "x$want_software_16_x11" = "xyes"; then
3481   if test -n "$PKG_CONFIG" && \
3482     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\"") >&5
3483   ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
3484   ac_status=$?
3485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486   (exit $ac_status); }; then
3487
3488
3489 cat >>confdefs.h <<\_ACEOF
3490 #define HAVE_EVAS_SOFTWARE_16_X11 1
3491 _ACEOF
3492
3493       have_software_16_x11="yes"
3494
3495 else
3496    have_software_16_x11="no"
3497
3498 fi
3499 fi
3500
3501 { echo "$as_me:$LINENO: checking whether Software 16 bits X11 engine is available" >&5
3502 echo $ECHO_N "checking whether Software 16 bits X11 engine is available... $ECHO_C" >&6; }
3503 { echo "$as_me:$LINENO: result: $have_software_16_x11" >&5
3504 echo "${ECHO_T}$have_software_16_x11" >&6; }
3505
3506  if test "x$have_software_16_x11" = "xyes"; then
3507   BUILD_SOFTWARE_16_X11_TRUE=
3508   BUILD_SOFTWARE_16_X11_FALSE='#'
3509 else
3510   BUILD_SOFTWARE_16_X11_TRUE='#'
3511   BUILD_SOFTWARE_16_X11_FALSE=
3512 fi
3513
3514
3515 if test "x$have_software_16_x11" = "xyes" ; then
3516   :
3517 else
3518   :
3519 fi
3520
3521
3522
3523
3524
3525 # 16bit DirectDraw
3526
3527
3528 want_software_16_ddraw="yes"
3529 have_software_16_ddraw="no"
3530
3531 # Check whether --enable-software-16-ddraw was given.
3532 if test "${enable_software_16_ddraw+set}" = set; then
3533   enableval=$enable_software_16_ddraw;  want_software_16_ddraw=$enableval
3534
3535 fi
3536
3537
3538 { echo "$as_me:$LINENO: checking whether Software 16 bits DirectDraw engine is to be built" >&5
3539 echo $ECHO_N "checking whether Software 16 bits DirectDraw engine is to be built... $ECHO_C" >&6; }
3540 { echo "$as_me:$LINENO: result: $want_software_16_ddraw" >&5
3541 echo "${ECHO_T}$want_software_16_ddraw" >&6; }
3542
3543 if test "x$want_software_16_ddraw" = "xyes"; then
3544   if test -n "$PKG_CONFIG" && \
3545     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\"") >&5
3546   ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
3547   ac_status=$?
3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549   (exit $ac_status); }; then
3550
3551
3552 cat >>confdefs.h <<\_ACEOF
3553 #define HAVE_EVAS_SOFTWARE_16_DDRAW 1
3554 _ACEOF
3555
3556       have_software_16_ddraw="yes"
3557
3558 else
3559    have_software_16_ddraw="no"
3560
3561 fi
3562 fi
3563
3564 { echo "$as_me:$LINENO: checking whether Software 16 bits DirectDraw engine is available" >&5
3565 echo $ECHO_N "checking whether Software 16 bits DirectDraw engine is available... $ECHO_C" >&6; }
3566 { echo "$as_me:$LINENO: result: $have_software_16_ddraw" >&5
3567 echo "${ECHO_T}$have_software_16_ddraw" >&6; }
3568
3569  if test "x$have_software_16_ddraw" = "xyes"; then
3570   BUILD_SOFTWARE_16_DDRAW_TRUE=
3571   BUILD_SOFTWARE_16_DDRAW_FALSE='#'
3572 else
3573   BUILD_SOFTWARE_16_DDRAW_TRUE='#'
3574   BUILD_SOFTWARE_16_DDRAW_FALSE=
3575 fi
3576
3577
3578 if test "x$have_software_16_ddraw" = "xyes" ; then
3579   ddraw_16_libs="-lddraw -ldxguid"
3580 else
3581   :
3582 fi
3583
3584
3585
3586
3587
3588
3589 # 16bit WinCE
3590
3591
3592 want_software_16_wince="yes"
3593 have_software_16_wince="no"
3594
3595 # Check whether --enable-software-16-wince was given.
3596 if test "${enable_software_16_wince+set}" = set; then
3597   enableval=$enable_software_16_wince;  want_software_16_wince=$enableval
3598
3599 fi
3600
3601
3602 { echo "$as_me:$LINENO: checking whether Software 16 bits WinCE engine is to be built" >&5
3603 echo $ECHO_N "checking whether Software 16 bits WinCE engine is to be built... $ECHO_C" >&6; }
3604 { echo "$as_me:$LINENO: result: $want_software_16_wince" >&5
3605 echo "${ECHO_T}$want_software_16_wince" >&6; }
3606
3607 if test "x$want_software_16_wince" = "xyes"; then
3608   if test -n "$PKG_CONFIG" && \
3609     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\"") >&5
3610   ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
3611   ac_status=$?
3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613   (exit $ac_status); }; then
3614
3615
3616 cat >>confdefs.h <<\_ACEOF
3617 #define HAVE_EVAS_SOFTWARE_16_WINCE 1
3618 _ACEOF
3619
3620       have_software_16_wince="yes"
3621
3622 else
3623    have_software_16_wince="no"
3624
3625 fi
3626 fi
3627
3628 { echo "$as_me:$LINENO: checking whether Software 16 bits WinCE engine is available" >&5
3629 echo $ECHO_N "checking whether Software 16 bits WinCE engine is available... $ECHO_C" >&6; }
3630 { echo "$as_me:$LINENO: result: $have_software_16_wince" >&5
3631 echo "${ECHO_T}$have_software_16_wince" >&6; }
3632
3633  if test "x$have_software_16_wince" = "xyes"; then
3634   BUILD_SOFTWARE_16_WINCE_TRUE=
3635   BUILD_SOFTWARE_16_WINCE_FALSE='#'
3636 else
3637   BUILD_SOFTWARE_16_WINCE_TRUE='#'
3638   BUILD_SOFTWARE_16_WINCE_FALSE=
3639 fi
3640
3641
3642 if test "x$have_software_16_wince" = "xyes" ; then
3643   wince_16_libs="-laygshell"
3644 else
3645   :
3646 fi
3647
3648
3649
3650
3651
3652
3653 ### Checks for programs
3654
3655 DEPDIR="${am__leading_dot}deps"
3656
3657 ac_config_commands="$ac_config_commands depfiles"
3658
3659
3660 am_make=${MAKE-make}
3661 cat > confinc << 'END'
3662 am__doit:
3663         @echo done
3664 .PHONY: am__doit
3665 END
3666 # If we don't find an include directive, just comment out the code.
3667 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3668 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3669 am__include="#"
3670 am__quote=
3671 _am_result=none
3672 # First try GNU make style include.
3673 echo "include confinc" > confmf
3674 # We grep out `Entering directory' and `Leaving directory'
3675 # messages which can occur if `w' ends up in MAKEFLAGS.
3676 # In particular we don't look at `^make:' because GNU make might
3677 # be invoked under some other name (usually "gmake"), in which
3678 # case it prints its new name instead of `make'.
3679 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3680    am__include=include
3681    am__quote=
3682    _am_result=GNU
3683 fi
3684 # Now try BSD make style include.
3685 if test "$am__include" = "#"; then
3686    echo '.include "confinc"' > confmf
3687    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3688       am__include=.include
3689       am__quote="\""
3690       _am_result=BSD
3691    fi
3692 fi
3693
3694
3695 { echo "$as_me:$LINENO: result: $_am_result" >&5
3696 echo "${ECHO_T}$_am_result" >&6; }
3697 rm -f confinc confmf
3698
3699 # Check whether --enable-dependency-tracking was given.
3700 if test "${enable_dependency_tracking+set}" = set; then
3701   enableval=$enable_dependency_tracking;
3702 fi
3703
3704 if test "x$enable_dependency_tracking" != xno; then
3705   am_depcomp="$ac_aux_dir/depcomp"
3706   AMDEPBACKSLASH='\'
3707 fi
3708  if test "x$enable_dependency_tracking" != xno; then
3709   AMDEP_TRUE=
3710   AMDEP_FALSE='#'
3711 else
3712   AMDEP_TRUE='#'
3713   AMDEP_FALSE=
3714 fi
3715
3716
3717 ac_ext=c
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722 if test -n "$ac_tool_prefix"; then
3723   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3727 if test "${ac_cv_prog_CC+set}" = set; then
3728   echo $ECHO_N "(cached) $ECHO_C" >&6
3729 else
3730   if test -n "$CC"; then
3731   ac_cv_prog_CC="$CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3735 do
3736   IFS=$as_save_IFS
3737   test -z "$as_dir" && as_dir=.
3738   for ac_exec_ext in '' $ac_executable_extensions; do
3739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3741     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742     break 2
3743   fi
3744 done
3745 done
3746 IFS=$as_save_IFS
3747
3748 fi
3749 fi
3750 CC=$ac_cv_prog_CC
3751 if test -n "$CC"; then
3752   { echo "$as_me:$LINENO: result: $CC" >&5
3753 echo "${ECHO_T}$CC" >&6; }
3754 else
3755   { echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6; }
3757 fi
3758
3759
3760 fi
3761 if test -z "$ac_cv_prog_CC"; then
3762   ac_ct_CC=$CC
3763   # Extract the first word of "gcc", so it can be a program name with args.
3764 set dummy gcc; ac_word=$2
3765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3768   echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770   if test -n "$ac_ct_CC"; then
3771   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3772 else
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 for as_dir in $PATH
3775 do
3776   IFS=$as_save_IFS
3777   test -z "$as_dir" && as_dir=.
3778   for ac_exec_ext in '' $ac_executable_extensions; do
3779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780     ac_cv_prog_ac_ct_CC="gcc"
3781     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782     break 2
3783   fi
3784 done
3785 done
3786 IFS=$as_save_IFS
3787
3788 fi
3789 fi
3790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3791 if test -n "$ac_ct_CC"; then
3792   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3793 echo "${ECHO_T}$ac_ct_CC" >&6; }
3794 else
3795   { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 fi
3798
3799   if test "x$ac_ct_CC" = x; then
3800     CC=""
3801   else
3802     case $cross_compiling:$ac_tool_warned in
3803 yes:)
3804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3805 whose name does not start with the host triplet.  If you think this
3806 configuration is useful to you, please write to autoconf@gnu.org." >&5
3807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3808 whose name does not start with the host triplet.  If you think this
3809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3810 ac_tool_warned=yes ;;
3811 esac
3812     CC=$ac_ct_CC
3813   fi
3814 else
3815   CC="$ac_cv_prog_CC"
3816 fi
3817
3818 if test -z "$CC"; then
3819           if test -n "$ac_tool_prefix"; then
3820     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3821 set dummy ${ac_tool_prefix}cc; ac_word=$2
3822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_CC+set}" = set; then
3825   echo $ECHO_N "(cached) $ECHO_C" >&6
3826 else
3827   if test -n "$CC"; then
3828   ac_cv_prog_CC="$CC" # Let the user override the test.
3829 else
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH
3832 do
3833   IFS=$as_save_IFS
3834   test -z "$as_dir" && as_dir=.
3835   for ac_exec_ext in '' $ac_executable_extensions; do
3836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837     ac_cv_prog_CC="${ac_tool_prefix}cc"
3838     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3839     break 2
3840   fi
3841 done
3842 done
3843 IFS=$as_save_IFS
3844
3845 fi
3846 fi
3847 CC=$ac_cv_prog_CC
3848 if test -n "$CC"; then
3849   { echo "$as_me:$LINENO: result: $CC" >&5
3850 echo "${ECHO_T}$CC" >&6; }
3851 else
3852   { echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6; }
3854 fi
3855
3856
3857   fi
3858 fi
3859 if test -z "$CC"; then
3860   # Extract the first word of "cc", so it can be a program name with args.
3861 set dummy cc; ac_word=$2
3862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_CC+set}" = set; then
3865   echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867   if test -n "$CC"; then
3868   ac_cv_prog_CC="$CC" # Let the user override the test.
3869 else
3870   ac_prog_rejected=no
3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 for as_dir in $PATH
3873 do
3874   IFS=$as_save_IFS
3875   test -z "$as_dir" && as_dir=.
3876   for ac_exec_ext in '' $ac_executable_extensions; do
3877   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3878     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3879        ac_prog_rejected=yes
3880        continue
3881      fi
3882     ac_cv_prog_CC="cc"
3883     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884     break 2
3885   fi
3886 done
3887 done
3888 IFS=$as_save_IFS
3889
3890 if test $ac_prog_rejected = yes; then
3891   # We found a bogon in the path, so make sure we never use it.
3892   set dummy $ac_cv_prog_CC
3893   shift
3894   if test $# != 0; then
3895     # We chose a different compiler from the bogus one.
3896     # However, it has the same basename, so the bogon will be chosen
3897     # first if we set CC to just the basename; use the full file name.
3898     shift
3899     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3900   fi
3901 fi
3902 fi
3903 fi
3904 CC=$ac_cv_prog_CC
3905 if test -n "$CC"; then
3906   { echo "$as_me:$LINENO: result: $CC" >&5
3907 echo "${ECHO_T}$CC" >&6; }
3908 else
3909   { echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6; }
3911 fi
3912
3913
3914 fi
3915 if test -z "$CC"; then
3916   if test -n "$ac_tool_prefix"; then
3917   for ac_prog in cl.exe
3918   do
3919     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3923 if test "${ac_cv_prog_CC+set}" = set; then
3924   echo $ECHO_N "(cached) $ECHO_C" >&6
3925 else
3926   if test -n "$CC"; then
3927   ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3931 do
3932   IFS=$as_save_IFS
3933   test -z "$as_dir" && as_dir=.
3934   for ac_exec_ext in '' $ac_executable_extensions; do
3935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3936     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3937     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3938     break 2
3939   fi
3940 done
3941 done
3942 IFS=$as_save_IFS
3943
3944 fi
3945 fi
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948   { echo "$as_me:$LINENO: result: $CC" >&5
3949 echo "${ECHO_T}$CC" >&6; }
3950 else
3951   { echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6; }
3953 fi
3954
3955
3956     test -n "$CC" && break
3957   done
3958 fi
3959 if test -z "$CC"; then
3960   ac_ct_CC=$CC
3961   for ac_prog in cl.exe
3962 do
3963   # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy $ac_prog; ac_word=$2
3965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3968   echo $ECHO_N "(cached) $ECHO_C" >&6
3969 else
3970   if test -n "$ac_ct_CC"; then
3971   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3972 else
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3974 for as_dir in $PATH
3975 do
3976   IFS=$as_save_IFS
3977   test -z "$as_dir" && as_dir=.
3978   for ac_exec_ext in '' $ac_executable_extensions; do
3979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980     ac_cv_prog_ac_ct_CC="$ac_prog"
3981     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3982     break 2
3983   fi
3984 done
3985 done
3986 IFS=$as_save_IFS
3987
3988 fi
3989 fi
3990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3991 if test -n "$ac_ct_CC"; then
3992   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3993 echo "${ECHO_T}$ac_ct_CC" >&6; }
3994 else
3995   { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 fi
3998
3999
4000   test -n "$ac_ct_CC" && break
4001 done
4002
4003   if test "x$ac_ct_CC" = x; then
4004     CC=""
4005   else
4006     case $cross_compiling:$ac_tool_warned in
4007 yes:)
4008 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4009 whose name does not start with the host triplet.  If you think this
4010 configuration is useful to you, please write to autoconf@gnu.org." >&5
4011 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4012 whose name does not start with the host triplet.  If you think this
4013 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4014 ac_tool_warned=yes ;;
4015 esac
4016     CC=$ac_ct_CC
4017   fi
4018 fi
4019
4020 fi
4021
4022
4023 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4024 See \`config.log' for more details." >&5
4025 echo "$as_me: error: no acceptable C compiler found in \$PATH
4026 See \`config.log' for more details." >&2;}
4027    { (exit 1); exit 1; }; }
4028
4029 # Provide some information about the compiler.
4030 echo "$as_me:$LINENO: checking for C compiler version" >&5
4031 ac_compiler=`set X $ac_compile; echo $2`
4032 { (ac_try="$ac_compiler --version >&5"
4033 case "(($ac_try" in
4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035   *) ac_try_echo=$ac_try;;
4036 esac
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038   (eval "$ac_compiler --version >&5") 2>&5
4039   ac_status=$?
4040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041   (exit $ac_status); }
4042 { (ac_try="$ac_compiler -v >&5"
4043 case "(($ac_try" in
4044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045   *) ac_try_echo=$ac_try;;
4046 esac
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048   (eval "$ac_compiler -v >&5") 2>&5
4049   ac_status=$?
4050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051   (exit $ac_status); }
4052 { (ac_try="$ac_compiler -V >&5"
4053 case "(($ac_try" in
4054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055   *) ac_try_echo=$ac_try;;
4056 esac
4057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058   (eval "$ac_compiler -V >&5") 2>&5
4059   ac_status=$?
4060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061   (exit $ac_status); }
4062
4063 cat >conftest.$ac_ext <<_ACEOF
4064 /* confdefs.h.  */
4065 _ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h.  */
4069
4070 int
4071 main ()
4072 {
4073
4074   ;
4075   return 0;
4076 }
4077 _ACEOF
4078 ac_clean_files_save=$ac_clean_files
4079 ac_clean_files="$ac_clean_files a.out a.exe b.out"
4080 # Try to create an executable without -o first, disregard a.out.
4081 # It will help us diagnose broken compilers, and finding out an intuition
4082 # of exeext.
4083 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4084 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
4085 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4086 #
4087 # List of possible output files, starting from the most likely.
4088 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
4089 # only as a last resort.  b.out is created by i960 compilers.
4090 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
4091 #
4092 # The IRIX 6 linker writes into existing files which may not be
4093 # executable, retaining their permissions.  Remove them first so a
4094 # subsequent execution test works.
4095 ac_rmfiles=
4096 for ac_file in $ac_files
4097 do
4098   case $ac_file in
4099     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4100     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4101   esac
4102 done
4103 rm -f $ac_rmfiles
4104
4105 if { (ac_try="$ac_link_default"
4106 case "(($ac_try" in
4107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108   *) ac_try_echo=$ac_try;;
4109 esac
4110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111   (eval "$ac_link_default") 2>&5
4112   ac_status=$?
4113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114   (exit $ac_status); }; then
4115   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4116 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4117 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4118 # so that the user can short-circuit this test for compilers unknown to
4119 # Autoconf.
4120 for ac_file in $ac_files ''
4121 do
4122   test -f "$ac_file" || continue
4123   case $ac_file in
4124     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
4125         ;;
4126     [ab].out )
4127         # We found the default executable, but exeext='' is most
4128         # certainly right.
4129         break;;
4130     *.* )
4131         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4132         then :; else
4133            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4134         fi
4135         # We set ac_cv_exeext here because the later test for it is not
4136         # safe: cross compilers may not add the suffix if given an `-o'
4137         # argument, so we may need to know it at that point already.
4138         # Even if this section looks crufty: it has the advantage of
4139         # actually working.
4140         break;;
4141     * )
4142         break;;
4143   esac
4144 done
4145 test "$ac_cv_exeext" = no && ac_cv_exeext=
4146
4147 else
4148   ac_file=''
4149 fi
4150
4151 { echo "$as_me:$LINENO: result: $ac_file" >&5
4152 echo "${ECHO_T}$ac_file" >&6; }
4153 if test -z "$ac_file"; then
4154   echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4156
4157 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4158 See \`config.log' for more details." >&5
4159 echo "$as_me: error: C compiler cannot create executables
4160 See \`config.log' for more details." >&2;}
4161    { (exit 77); exit 77; }; }
4162 fi
4163
4164 ac_exeext=$ac_cv_exeext
4165
4166 # Check that the compiler produces executables we can run.  If not, either
4167 # the compiler is broken, or we cross compile.
4168 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4169 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
4170 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4171 # If not cross compiling, check that we can run a simple program.
4172 if test "$cross_compiling" != yes; then
4173   if { ac_try='./$ac_file'
4174   { (case "(($ac_try" in
4175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176   *) ac_try_echo=$ac_try;;
4177 esac
4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179   (eval "$ac_try") 2>&5
4180   ac_status=$?
4181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182   (exit $ac_status); }; }; then
4183     cross_compiling=no
4184   else
4185     if test "$cross_compiling" = maybe; then
4186         cross_compiling=yes
4187     else
4188         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4189 If you meant to cross compile, use \`--host'.
4190 See \`config.log' for more details." >&5
4191 echo "$as_me: error: cannot run C compiled programs.
4192 If you meant to cross compile, use \`--host'.
4193 See \`config.log' for more details." >&2;}
4194    { (exit 1); exit 1; }; }
4195     fi
4196   fi
4197 fi
4198 { echo "$as_me:$LINENO: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6; }
4200
4201 rm -f a.out a.exe conftest$ac_cv_exeext b.out
4202 ac_clean_files=$ac_clean_files_save
4203 # Check that the compiler produces executables we can run.  If not, either
4204 # the compiler is broken, or we cross compile.
4205 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4206 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
4207 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
4208 echo "${ECHO_T}$cross_compiling" >&6; }
4209
4210 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
4211 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
4212 if { (ac_try="$ac_link"
4213 case "(($ac_try" in
4214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215   *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218   (eval "$ac_link") 2>&5
4219   ac_status=$?
4220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221   (exit $ac_status); }; then
4222   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4223 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4224 # work properly (i.e., refer to `conftest.exe'), while it won't with
4225 # `rm'.
4226 for ac_file in conftest.exe conftest conftest.*; do
4227   test -f "$ac_file" || continue
4228   case $ac_file in
4229     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4230     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4231           break;;
4232     * ) break;;
4233   esac
4234 done
4235 else
4236   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4237 See \`config.log' for more details." >&5
4238 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4239 See \`config.log' for more details." >&2;}
4240    { (exit 1); exit 1; }; }
4241 fi
4242
4243 rm -f conftest$ac_cv_exeext
4244 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4245 echo "${ECHO_T}$ac_cv_exeext" >&6; }
4246
4247 rm -f conftest.$ac_ext
4248 EXEEXT=$ac_cv_exeext
4249 ac_exeext=$EXEEXT
4250 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
4251 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
4252 if test "${ac_cv_objext+set}" = set; then
4253   echo $ECHO_N "(cached) $ECHO_C" >&6
4254 else
4255   cat >conftest.$ac_ext <<_ACEOF
4256 /* confdefs.h.  */
4257 _ACEOF
4258 cat confdefs.h >>conftest.$ac_ext
4259 cat >>conftest.$ac_ext <<_ACEOF
4260 /* end confdefs.h.  */
4261
4262 int
4263 main ()
4264 {
4265
4266   ;
4267   return 0;
4268 }
4269 _ACEOF
4270 rm -f conftest.o conftest.obj
4271 if { (ac_try="$ac_compile"
4272 case "(($ac_try" in
4273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274   *) ac_try_echo=$ac_try;;
4275 esac
4276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4277   (eval "$ac_compile") 2>&5
4278   ac_status=$?
4279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280   (exit $ac_status); }; then
4281   for ac_file in conftest.o conftest.obj conftest.*; do
4282   test -f "$ac_file" || continue;
4283   case $ac_file in
4284     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
4285     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4286        break;;
4287   esac
4288 done
4289 else
4290   echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4292
4293 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4294 See \`config.log' for more details." >&5
4295 echo "$as_me: error: cannot compute suffix of object files: cannot compile
4296 See \`config.log' for more details." >&2;}
4297    { (exit 1); exit 1; }; }
4298 fi
4299
4300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4301 fi
4302 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4303 echo "${ECHO_T}$ac_cv_objext" >&6; }
4304 OBJEXT=$ac_cv_objext
4305 ac_objext=$OBJEXT
4306 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4307 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4308 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4309   echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311   cat >conftest.$ac_ext <<_ACEOF
4312 /* confdefs.h.  */
4313 _ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h.  */
4317
4318 int
4319 main ()
4320 {
4321 #ifndef __GNUC__
4322        choke me
4323 #endif
4324
4325   ;
4326   return 0;
4327 }
4328 _ACEOF
4329 rm -f conftest.$ac_objext
4330 if { (ac_try="$ac_compile"
4331 case "(($ac_try" in
4332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333   *) ac_try_echo=$ac_try;;
4334 esac
4335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4336   (eval "$ac_compile") 2>conftest.er1
4337   ac_status=$?
4338   grep -v '^ *+' conftest.er1 >conftest.err
4339   rm -f conftest.er1
4340   cat conftest.err >&5
4341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342   (exit $ac_status); } && {
4343          test -z "$ac_c_werror_flag" ||
4344          test ! -s conftest.err
4345        } && test -s conftest.$ac_objext; then
4346   ac_compiler_gnu=yes
4347 else
4348   echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.$ac_ext >&5
4350
4351         ac_compiler_gnu=no
4352 fi
4353
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4356
4357 fi
4358 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4359 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4360 GCC=`test $ac_compiler_gnu = yes && echo yes`
4361 ac_test_CFLAGS=${CFLAGS+set}
4362 ac_save_CFLAGS=$CFLAGS
4363 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4364 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4365 if test "${ac_cv_prog_cc_g+set}" = set; then
4366   echo $ECHO_N "(cached) $ECHO_C" >&6
4367 else
4368   ac_save_c_werror_flag=$ac_c_werror_flag
4369    ac_c_werror_flag=yes
4370    ac_cv_prog_cc_g=no
4371    CFLAGS="-g"
4372    cat >conftest.$ac_ext <<_ACEOF
4373 /* confdefs.h.  */
4374 _ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h.  */
4378
4379 int
4380 main ()
4381 {
4382
4383   ;
4384   return 0;
4385 }
4386 _ACEOF
4387 rm -f conftest.$ac_objext
4388 if { (ac_try="$ac_compile"
4389 case "(($ac_try" in
4390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391   *) ac_try_echo=$ac_try;;
4392 esac
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394   (eval "$ac_compile") 2>conftest.er1
4395   ac_status=$?
4396   grep -v '^ *+' conftest.er1 >conftest.err
4397   rm -f conftest.er1
4398   cat conftest.err >&5
4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400   (exit $ac_status); } && {
4401          test -z "$ac_c_werror_flag" ||
4402          test ! -s conftest.err
4403        } && test -s conftest.$ac_objext; then
4404   ac_cv_prog_cc_g=yes
4405 else
4406   echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4408
4409         CFLAGS=""
4410       cat >conftest.$ac_ext <<_ACEOF
4411 /* confdefs.h.  */
4412 _ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h.  */
4416
4417 int
4418 main ()
4419 {
4420
4421   ;
4422   return 0;
4423 }
4424 _ACEOF
4425 rm -f conftest.$ac_objext
4426 if { (ac_try="$ac_compile"
4427 case "(($ac_try" in
4428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4429   *) ac_try_echo=$ac_try;;
4430 esac
4431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4432   (eval "$ac_compile") 2>conftest.er1
4433   ac_status=$?
4434   grep -v '^ *+' conftest.er1 >conftest.err
4435   rm -f conftest.er1
4436   cat conftest.err >&5
4437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438   (exit $ac_status); } && {
4439          test -z "$ac_c_werror_flag" ||
4440          test ! -s conftest.err
4441        } && test -s conftest.$ac_objext; then
4442   :
4443 else
4444   echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4446
4447         ac_c_werror_flag=$ac_save_c_werror_flag
4448          CFLAGS="-g"
4449          cat >conftest.$ac_ext <<_ACEOF
4450 /* confdefs.h.  */
4451 _ACEOF
4452 cat confdefs.h >>conftest.$ac_ext
4453 cat >>conftest.$ac_ext <<_ACEOF
4454 /* end confdefs.h.  */
4455
4456 int
4457 main ()
4458 {
4459
4460   ;
4461   return 0;
4462 }
4463 _ACEOF
4464 rm -f conftest.$ac_objext
4465 if { (ac_try="$ac_compile"
4466 case "(($ac_try" in
4467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468   *) ac_try_echo=$ac_try;;
4469 esac
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471   (eval "$ac_compile") 2>conftest.er1
4472   ac_status=$?
4473   grep -v '^ *+' conftest.er1 >conftest.err
4474   rm -f conftest.er1
4475   cat conftest.err >&5
4476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477   (exit $ac_status); } && {
4478          test -z "$ac_c_werror_flag" ||
4479          test ! -s conftest.err
4480        } && test -s conftest.$ac_objext; then
4481   ac_cv_prog_cc_g=yes
4482 else
4483   echo "$as_me: failed program was:" >&5
4484 sed 's/^/| /' conftest.$ac_ext >&5
4485
4486
4487 fi
4488
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490 fi
4491
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 fi
4494
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496    ac_c_werror_flag=$ac_save_c_werror_flag
4497 fi
4498 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4499 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4500 if test "$ac_test_CFLAGS" = set; then
4501   CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503   if test "$GCC" = yes; then
4504     CFLAGS="-g -O2"
4505   else
4506     CFLAGS="-g"
4507   fi
4508 else
4509   if test "$GCC" = yes; then
4510     CFLAGS="-O2"
4511   else
4512     CFLAGS=
4513   fi
4514 fi
4515 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4516 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4517 if test "${ac_cv_prog_cc_c89+set}" = set; then
4518   echo $ECHO_N "(cached) $ECHO_C" >&6
4519 else
4520   ac_cv_prog_cc_c89=no
4521 ac_save_CC=$CC
4522 cat >conftest.$ac_ext <<_ACEOF
4523 /* confdefs.h.  */
4524 _ACEOF
4525 cat confdefs.h >>conftest.$ac_ext
4526 cat >>conftest.$ac_ext <<_ACEOF
4527 /* end confdefs.h.  */
4528 #include <stdarg.h>
4529 #include <stdio.h>
4530 #include <sys/types.h>
4531 #include <sys/stat.h>
4532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4533 struct buf { int x; };
4534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4535 static char *e (p, i)
4536      char **p;
4537      int i;
4538 {
4539   return p[i];
4540 }
4541 static char *f (char * (*g) (char **, int), char **p, ...)
4542 {
4543   char *s;
4544   va_list v;
4545   va_start (v,p);
4546   s = g (p, va_arg (v,int));
4547   va_end (v);
4548   return s;
4549 }
4550
4551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4552    function prototypes and stuff, but not '\xHH' hex character constants.
4553    These don't provoke an error unfortunately, instead are silently treated
4554    as 'x'.  The following induces an error, until -std is added to get
4555    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4556    array size at least.  It's necessary to write '\x00'==0 to get something
4557    that's true only with -std.  */
4558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4559
4560 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4561    inside strings and character constants.  */
4562 #define FOO(x) 'x'
4563 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4564
4565 int test (int i, double x);
4566 struct s1 {int (*f) (int a);};
4567 struct s2 {int (*f) (double a);};
4568 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4569 int argc;
4570 char **argv;
4571 int
4572 main ()
4573 {
4574 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4575   ;
4576   return 0;
4577 }
4578 _ACEOF
4579 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4580         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4581 do
4582   CC="$ac_save_CC $ac_arg"
4583   rm -f conftest.$ac_objext
4584 if { (ac_try="$ac_compile"
4585 case "(($ac_try" in
4586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4587   *) ac_try_echo=$ac_try;;
4588 esac
4589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4590   (eval "$ac_compile") 2>conftest.er1
4591   ac_status=$?
4592   grep -v '^ *+' conftest.er1 >conftest.err
4593   rm -f conftest.er1
4594   cat conftest.err >&5
4595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596   (exit $ac_status); } && {
4597          test -z "$ac_c_werror_flag" ||
4598          test ! -s conftest.err
4599        } && test -s conftest.$ac_objext; then
4600   ac_cv_prog_cc_c89=$ac_arg
4601 else
4602   echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4604
4605
4606 fi
4607
4608 rm -f core conftest.err conftest.$ac_objext
4609   test "x$ac_cv_prog_cc_c89" != "xno" && break
4610 done
4611 rm -f conftest.$ac_ext
4612 CC=$ac_save_CC
4613
4614 fi
4615 # AC_CACHE_VAL
4616 case "x$ac_cv_prog_cc_c89" in
4617   x)
4618     { echo "$as_me:$LINENO: result: none needed" >&5
4619 echo "${ECHO_T}none needed" >&6; } ;;
4620   xno)
4621     { echo "$as_me:$LINENO: result: unsupported" >&5
4622 echo "${ECHO_T}unsupported" >&6; } ;;
4623   *)
4624     CC="$CC $ac_cv_prog_cc_c89"
4625     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4626 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4627 esac
4628
4629
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635
4636 depcc="$CC"   am_compiler_list=
4637
4638 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4639 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4640 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4641   echo $ECHO_N "(cached) $ECHO_C" >&6
4642 else
4643   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4644   # We make a subdir and do the tests there.  Otherwise we can end up
4645   # making bogus files that we don't know about and never remove.  For
4646   # instance it was reported that on HP-UX the gcc test will end up
4647   # making a dummy file named `D' -- because `-MD' means `put the output
4648   # in D'.
4649   mkdir conftest.dir
4650   # Copy depcomp to subdir because otherwise we won't find it if we're
4651   # using a relative directory.
4652   cp "$am_depcomp" conftest.dir
4653   cd conftest.dir
4654   # We will build objects and dependencies in a subdirectory because
4655   # it helps to detect inapplicable dependency modes.  For instance
4656   # both Tru64's cc and ICC support -MD to output dependencies as a
4657   # side effect of compilation, but ICC will put the dependencies in
4658   # the current directory while Tru64 will put them in the object
4659   # directory.
4660   mkdir sub
4661
4662   am_cv_CC_dependencies_compiler_type=none
4663   if test "$am_compiler_list" = ""; then
4664      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4665   fi
4666   for depmode in $am_compiler_list; do
4667     # Setup a source with many dependencies, because some compilers
4668     # like to wrap large dependency lists on column 80 (with \), and
4669     # we should not choose a depcomp mode which is confused by this.
4670     #
4671     # We need to recreate these files for each test, as the compiler may
4672     # overwrite some of them when testing with obscure command lines.
4673     # This happens at least with the AIX C compiler.
4674     : > sub/conftest.c
4675     for i in 1 2 3 4 5 6; do
4676       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4677       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4678       # Solaris 8's {/usr,}/bin/sh.
4679       touch sub/conftst$i.h
4680     done
4681     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4682
4683     case $depmode in
4684     nosideeffect)
4685       # after this tag, mechanisms are not by side-effect, so they'll
4686       # only be used when explicitly requested
4687       if test "x$enable_dependency_tracking" = xyes; then
4688         continue
4689       else
4690         break
4691       fi
4692       ;;
4693     none) break ;;
4694     esac
4695     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4696     # mode.  It turns out that the SunPro C++ compiler does not properly
4697     # handle `-M -o', and we need to detect this.
4698     if depmode=$depmode \
4699        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4700        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4701        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4702          >/dev/null 2>conftest.err &&
4703        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4704        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4705        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4706        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4707       # icc doesn't choke on unknown options, it will just issue warnings
4708       # or remarks (even with -Werror).  So we grep stderr for any message
4709       # that says an option was ignored or not supported.
4710       # When given -MP, icc 7.0 and 7.1 complain thusly:
4711       #   icc: Command line warning: ignoring option '-M'; no argument required
4712       # The diagnosis changed in icc 8.0:
4713       #   icc: Command line remark: option '-MP' not supported
4714       if (grep 'ignoring option' conftest.err ||
4715           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4716         am_cv_CC_dependencies_compiler_type=$depmode
4717         break
4718       fi
4719     fi
4720   done
4721
4722   cd ..
4723   rm -rf conftest.dir
4724 else
4725   am_cv_CC_dependencies_compiler_type=none
4726 fi
4727
4728 fi
4729 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4730 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4731 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4732
4733  if
4734   test "x$enable_dependency_tracking" != xno \
4735   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4736   am__fastdepCC_TRUE=
4737   am__fastdepCC_FALSE='#'
4738 else
4739   am__fastdepCC_TRUE='#'
4740   am__fastdepCC_FALSE=
4741 fi
4742
4743
4744
4745 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4746 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4747 if test "${ac_cv_search_strerror+set}" = set; then
4748   echo $ECHO_N "(cached) $ECHO_C" >&6
4749 else
4750   ac_func_search_save_LIBS=$LIBS
4751 cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h.  */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h.  */
4757
4758 /* Override any GCC internal prototype to avoid an error.
4759    Use char because int might match the return type of a GCC
4760    builtin and then its argument prototype would still apply.  */
4761 #ifdef __cplusplus
4762 extern "C"
4763 #endif
4764 char strerror ();
4765 int
4766 main ()
4767 {
4768 return strerror ();
4769   ;
4770   return 0;
4771 }
4772 _ACEOF
4773 for ac_lib in '' cposix; do
4774   if test -z "$ac_lib"; then
4775     ac_res="none required"
4776   else
4777     ac_res=-l$ac_lib
4778     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4779   fi
4780   rm -f conftest.$ac_objext conftest$ac_exeext
4781 if { (ac_try="$ac_link"
4782 case "(($ac_try" in
4783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784   *) ac_try_echo=$ac_try;;
4785 esac
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787   (eval "$ac_link") 2>conftest.er1
4788   ac_status=$?
4789   grep -v '^ *+' conftest.er1 >conftest.err
4790   rm -f conftest.er1
4791   cat conftest.err >&5
4792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793   (exit $ac_status); } && {
4794          test -z "$ac_c_werror_flag" ||
4795          test ! -s conftest.err
4796        } && test -s conftest$ac_exeext &&
4797        $as_test_x conftest$ac_exeext; then
4798   ac_cv_search_strerror=$ac_res
4799 else
4800   echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4802
4803
4804 fi
4805
4806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4807       conftest$ac_exeext
4808   if test "${ac_cv_search_strerror+set}" = set; then
4809   break
4810 fi
4811 done
4812 if test "${ac_cv_search_strerror+set}" = set; then
4813   :
4814 else
4815   ac_cv_search_strerror=no
4816 fi
4817 rm conftest.$ac_ext
4818 LIBS=$ac_func_search_save_LIBS
4819 fi
4820 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4821 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4822 ac_res=$ac_cv_search_strerror
4823 if test "$ac_res" != no; then
4824   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4825
4826 fi
4827
4828
4829     ac_ext=m
4830 ac_cpp='$OBJCPP $CPPFLAGS'
4831 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
4834 if test -n "$ac_tool_prefix"; then
4835   for ac_prog in gcc objcc objc cc CC
4836   do
4837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4841 if test "${ac_cv_prog_OBJC+set}" = set; then
4842   echo $ECHO_N "(cached) $ECHO_C" >&6
4843 else
4844   if test -n "$OBJC"; then
4845   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
4846 else
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $PATH
4849 do
4850   IFS=$as_save_IFS
4851   test -z "$as_dir" && as_dir=.
4852   for ac_exec_ext in '' $ac_executable_extensions; do
4853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4854     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
4855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4856     break 2
4857   fi
4858 done
4859 done
4860 IFS=$as_save_IFS
4861
4862 fi
4863 fi
4864 OBJC=$ac_cv_prog_OBJC
4865 if test -n "$OBJC"; then
4866   { echo "$as_me:$LINENO: result: $OBJC" >&5
4867 echo "${ECHO_T}$OBJC" >&6; }
4868 else
4869   { echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6; }
4871 fi
4872
4873
4874     test -n "$OBJC" && break
4875   done
4876 fi
4877 if test -z "$OBJC"; then
4878   ac_ct_OBJC=$OBJC
4879   for ac_prog in gcc objcc objc cc CC
4880 do
4881   # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4885 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
4886   echo $ECHO_N "(cached) $ECHO_C" >&6
4887 else
4888   if test -n "$ac_ct_OBJC"; then
4889   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4893 do
4894   IFS=$as_save_IFS
4895   test -z "$as_dir" && as_dir=.
4896   for ac_exec_ext in '' $ac_executable_extensions; do
4897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898     ac_cv_prog_ac_ct_OBJC="$ac_prog"
4899     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4900     break 2
4901   fi
4902 done
4903 done
4904 IFS=$as_save_IFS
4905
4906 fi
4907 fi
4908 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
4909 if test -n "$ac_ct_OBJC"; then
4910   { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
4911 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
4912 else
4913   { echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6; }
4915 fi
4916
4917
4918   test -n "$ac_ct_OBJC" && break
4919 done
4920
4921   if test "x$ac_ct_OBJC" = x; then
4922     OBJC="gcc"
4923   else
4924     case $cross_compiling:$ac_tool_warned in
4925 yes:)
4926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4927 whose name does not start with the host triplet.  If you think this
4928 configuration is useful to you, please write to autoconf@gnu.org." >&5
4929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4930 whose name does not start with the host triplet.  If you think this
4931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4932 ac_tool_warned=yes ;;
4933 esac
4934     OBJC=$ac_ct_OBJC
4935   fi
4936 fi
4937
4938 # Provide some information about the compiler.
4939 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
4940 ac_compiler=`set X $ac_compile; echo $2`
4941 { (ac_try="$ac_compiler --version >&5"
4942 case "(($ac_try" in
4943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944   *) ac_try_echo=$ac_try;;
4945 esac
4946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4947   (eval "$ac_compiler --version >&5") 2>&5
4948   ac_status=$?
4949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950   (exit $ac_status); }
4951 { (ac_try="$ac_compiler -v >&5"
4952 case "(($ac_try" in
4953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954   *) ac_try_echo=$ac_try;;
4955 esac
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957   (eval "$ac_compiler -v >&5") 2>&5
4958   ac_status=$?
4959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960   (exit $ac_status); }
4961 { (ac_try="$ac_compiler -V >&5"
4962 case "(($ac_try" in
4963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964   *) ac_try_echo=$ac_try;;
4965 esac
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967   (eval "$ac_compiler -V >&5") 2>&5
4968   ac_status=$?
4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970   (exit $ac_status); }
4971
4972 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
4973 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
4974 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
4975   echo $ECHO_N "(cached) $ECHO_C" >&6
4976 else
4977   cat >conftest.$ac_ext <<_ACEOF
4978 /* confdefs.h.  */
4979 _ACEOF
4980 cat confdefs.h >>conftest.$ac_ext
4981 cat >>conftest.$ac_ext <<_ACEOF
4982 /* end confdefs.h.  */
4983
4984 int
4985 main ()
4986 {
4987 #ifndef __GNUC__
4988        choke me
4989 #endif
4990
4991   ;
4992   return 0;
4993 }
4994 _ACEOF
4995 rm -f conftest.$ac_objext
4996 if { (ac_try="$ac_compile"
4997 case "(($ac_try" in
4998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999   *) ac_try_echo=$ac_try;;
5000 esac
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002   (eval "$ac_compile") 2>conftest.er1
5003   ac_status=$?
5004   grep -v '^ *+' conftest.er1 >conftest.err
5005   rm -f conftest.er1
5006   cat conftest.err >&5
5007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008   (exit $ac_status); } && {
5009          test -z "$ac_objc_werror_flag" ||
5010          test ! -s conftest.err
5011        } && test -s conftest.$ac_objext; then
5012   ac_compiler_gnu=yes
5013 else
5014   echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5016
5017         ac_compiler_gnu=no
5018 fi
5019
5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
5022
5023 fi
5024 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
5025 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
5026 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
5027 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
5028 ac_save_OBJCFLAGS=$OBJCFLAGS
5029 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
5030 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
5031 if test "${ac_cv_prog_objc_g+set}" = set; then
5032   echo $ECHO_N "(cached) $ECHO_C" >&6
5033 else
5034   ac_save_objc_werror_flag=$ac_objc_werror_flag
5035    ac_objc_werror_flag=yes
5036    ac_cv_prog_objc_g=no
5037    OBJCFLAGS="-g"
5038    cat >conftest.$ac_ext <<_ACEOF
5039 /* confdefs.h.  */
5040 _ACEOF
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
5043 /* end confdefs.h.  */
5044
5045 int
5046 main ()
5047 {
5048
5049   ;
5050   return 0;
5051 }
5052 _ACEOF
5053 rm -f conftest.$ac_objext
5054 if { (ac_try="$ac_compile"
5055 case "(($ac_try" in
5056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5057   *) ac_try_echo=$ac_try;;
5058 esac
5059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5060   (eval "$ac_compile") 2>conftest.er1
5061   ac_status=$?
5062   grep -v '^ *+' conftest.er1 >conftest.err
5063   rm -f conftest.er1
5064   cat conftest.err >&5
5065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066   (exit $ac_status); } && {
5067          test -z "$ac_objc_werror_flag" ||
5068          test ! -s conftest.err
5069        } && test -s conftest.$ac_objext; then
5070   ac_cv_prog_objc_g=yes
5071 else
5072   echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5074
5075         OBJCFLAGS=""
5076       cat >conftest.$ac_ext <<_ACEOF
5077 /* confdefs.h.  */
5078 _ACEOF
5079 cat confdefs.h >>conftest.$ac_ext
5080 cat >>conftest.$ac_ext <<_ACEOF
5081 /* end confdefs.h.  */
5082
5083 int
5084 main ()
5085 {
5086
5087   ;
5088   return 0;
5089 }
5090 _ACEOF
5091 rm -f conftest.$ac_objext
5092 if { (ac_try="$ac_compile"
5093 case "(($ac_try" in
5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095   *) ac_try_echo=$ac_try;;
5096 esac
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098   (eval "$ac_compile") 2>conftest.er1
5099   ac_status=$?
5100   grep -v '^ *+' conftest.er1 >conftest.err
5101   rm -f conftest.er1
5102   cat conftest.err >&5
5103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104   (exit $ac_status); } && {
5105          test -z "$ac_objc_werror_flag" ||
5106          test ! -s conftest.err
5107        } && test -s conftest.$ac_objext; then
5108   :
5109 else
5110   echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5112
5113         ac_objc_werror_flag=$ac_save_objc_werror_flag
5114          OBJCFLAGS="-g"
5115          cat >conftest.$ac_ext <<_ACEOF
5116 /* confdefs.h.  */
5117 _ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h.  */
5121
5122 int
5123 main ()
5124 {
5125
5126   ;
5127   return 0;
5128 }
5129 _ACEOF
5130 rm -f conftest.$ac_objext
5131 if { (ac_try="$ac_compile"
5132 case "(($ac_try" in
5133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134   *) ac_try_echo=$ac_try;;
5135 esac
5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5137   (eval "$ac_compile") 2>conftest.er1
5138   ac_status=$?
5139   grep -v '^ *+' conftest.er1 >conftest.err
5140   rm -f conftest.er1
5141   cat conftest.err >&5
5142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143   (exit $ac_status); } && {
5144          test -z "$ac_objc_werror_flag" ||
5145          test ! -s conftest.err
5146        } && test -s conftest.$ac_objext; then
5147   ac_cv_prog_objc_g=yes
5148 else
5149   echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5151
5152
5153 fi
5154
5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156 fi
5157
5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5159 fi
5160
5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5162    ac_objc_werror_flag=$ac_save_objc_werror_flag
5163 fi
5164 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
5165 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
5166 if test "$ac_test_OBJCFLAGS" = set; then
5167   OBJCFLAGS=$ac_save_OBJCFLAGS
5168 elif test $ac_cv_prog_objc_g = yes; then
5169   if test "$GOBJC" = yes; then
5170     OBJCFLAGS="-g -O2"
5171   else
5172     OBJCFLAGS="-g"
5173   fi
5174 else
5175   if test "$GOBJC" = yes; then
5176     OBJCFLAGS="-O2"
5177   else
5178     OBJCFLAGS=
5179   fi
5180 fi
5181 ac_ext=c
5182 ac_cpp='$CPP $CPPFLAGS'
5183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5186
5187 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5188
5189 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5190 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5191 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
5192   echo $ECHO_N "(cached) $ECHO_C" >&6
5193 else
5194   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5195   # We make a subdir and do the tests there.  Otherwise we can end up
5196   # making bogus files that we don't know about and never remove.  For
5197   # instance it was reported that on HP-UX the gcc test will end up
5198   # making a dummy file named `D' -- because `-MD' means `put the output
5199   # in D'.
5200   mkdir conftest.dir
5201   # Copy depcomp to subdir because otherwise we won't find it if we're
5202   # using a relative directory.
5203   cp "$am_depcomp" conftest.dir
5204   cd conftest.dir
5205   # We will build objects and dependencies in a subdirectory because
5206   # it helps to detect inapplicable dependency modes.  For instance
5207   # both Tru64's cc and ICC support -MD to output dependencies as a
5208   # side effect of compilation, but ICC will put the dependencies in
5209   # the current directory while Tru64 will put them in the object
5210   # directory.
5211   mkdir sub
5212
5213   am_cv_OBJC_dependencies_compiler_type=none
5214   if test "$am_compiler_list" = ""; then
5215      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5216   fi
5217   for depmode in $am_compiler_list; do
5218     # Setup a source with many dependencies, because some compilers
5219     # like to wrap large dependency lists on column 80 (with \), and
5220     # we should not choose a depcomp mode which is confused by this.
5221     #
5222     # We need to recreate these files for each test, as the compiler may
5223     # overwrite some of them when testing with obscure command lines.
5224     # This happens at least with the AIX C compiler.
5225     : > sub/conftest.c
5226     for i in 1 2 3 4 5 6; do
5227       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5228       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5229       # Solaris 8's {/usr,}/bin/sh.
5230       touch sub/conftst$i.h
5231     done
5232     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5233
5234     case $depmode in
5235     nosideeffect)
5236       # after this tag, mechanisms are not by side-effect, so they'll
5237       # only be used when explicitly requested
5238       if test "x$enable_dependency_tracking" = xyes; then
5239         continue
5240       else
5241         break
5242       fi
5243       ;;
5244     none) break ;;
5245     esac
5246     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5247     # mode.  It turns out that the SunPro C++ compiler does not properly
5248     # handle `-M -o', and we need to detect this.
5249     if depmode=$depmode \
5250        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5251        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5252        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5253          >/dev/null 2>conftest.err &&
5254        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5255        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5256        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5257        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5258       # icc doesn't choke on unknown options, it will just issue warnings
5259       # or remarks (even with -Werror).  So we grep stderr for any message
5260       # that says an option was ignored or not supported.
5261       # When given -MP, icc 7.0 and 7.1 complain thusly:
5262       #   icc: Command line warning: ignoring option '-M'; no argument required
5263       # The diagnosis changed in icc 8.0:
5264       #   icc: Command line remark: option '-MP' not supported
5265       if (grep 'ignoring option' conftest.err ||
5266           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5267         am_cv_OBJC_dependencies_compiler_type=$depmode
5268         break
5269       fi
5270     fi
5271   done
5272
5273   cd ..
5274   rm -rf conftest.dir
5275 else
5276   am_cv_OBJC_dependencies_compiler_type=none
5277 fi
5278
5279 fi
5280 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5281 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
5282 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5283
5284  if
5285   test "x$enable_dependency_tracking" != xno \
5286   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5287   am__fastdepOBJC_TRUE=
5288   am__fastdepOBJC_FALSE='#'
5289 else
5290   am__fastdepOBJC_TRUE='#'
5291   am__fastdepOBJC_FALSE=
5292 fi
5293
5294
5295
5296 depcc="$OBJC" am_compiler_list='gcc3 gcc'
5297
5298 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5299 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5300 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
5301   echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5304   # We make a subdir and do the tests there.  Otherwise we can end up
5305   # making bogus files that we don't know about and never remove.  For
5306   # instance it was reported that on HP-UX the gcc test will end up
5307   # making a dummy file named `D' -- because `-MD' means `put the output
5308   # in D'.
5309   mkdir conftest.dir
5310   # Copy depcomp to subdir because otherwise we won't find it if we're
5311   # using a relative directory.
5312   cp "$am_depcomp" conftest.dir
5313   cd conftest.dir
5314   # We will build objects and dependencies in a subdirectory because
5315   # it helps to detect inapplicable dependency modes.  For instance
5316   # both Tru64's cc and ICC support -MD to output dependencies as a
5317   # side effect of compilation, but ICC will put the dependencies in
5318   # the current directory while Tru64 will put them in the object
5319   # directory.
5320   mkdir sub
5321
5322   am_cv_OBJC_dependencies_compiler_type=none
5323   if test "$am_compiler_list" = ""; then
5324      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5325   fi
5326   for depmode in $am_compiler_list; do
5327     # Setup a source with many dependencies, because some compilers
5328     # like to wrap large dependency lists on column 80 (with \), and
5329     # we should not choose a depcomp mode which is confused by this.
5330     #
5331     # We need to recreate these files for each test, as the compiler may
5332     # overwrite some of them when testing with obscure command lines.
5333     # This happens at least with the AIX C compiler.
5334     : > sub/conftest.c
5335     for i in 1 2 3 4 5 6; do
5336       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5337       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5338       # Solaris 8's {/usr,}/bin/sh.
5339       touch sub/conftst$i.h
5340     done
5341     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5342
5343     case $depmode in
5344     nosideeffect)
5345       # after this tag, mechanisms are not by side-effect, so they'll
5346       # only be used when explicitly requested
5347       if test "x$enable_dependency_tracking" = xyes; then
5348         continue
5349       else
5350         break
5351       fi
5352       ;;
5353     none) break ;;
5354     esac
5355     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5356     # mode.  It turns out that the SunPro C++ compiler does not properly
5357     # handle `-M -o', and we need to detect this.
5358     if depmode=$depmode \
5359        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5360        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5361        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5362          >/dev/null 2>conftest.err &&
5363        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5364        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5365        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5366        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5367       # icc doesn't choke on unknown options, it will just issue warnings
5368       # or remarks (even with -Werror).  So we grep stderr for any message
5369       # that says an option was ignored or not supported.
5370       # When given -MP, icc 7.0 and 7.1 complain thusly:
5371       #   icc: Command line warning: ignoring option '-M'; no argument required
5372       # The diagnosis changed in icc 8.0:
5373       #   icc: Command line remark: option '-MP' not supported
5374       if (grep 'ignoring option' conftest.err ||
5375           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5376         am_cv_OBJC_dependencies_compiler_type=$depmode
5377         break
5378       fi
5379     fi
5380   done
5381
5382   cd ..
5383   rm -rf conftest.dir
5384 else
5385   am_cv_OBJC_dependencies_compiler_type=none
5386 fi
5387
5388 fi
5389 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
5390 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
5391 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
5392
5393  if
5394   test "x$enable_dependency_tracking" != xno \
5395   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
5396   am__fastdepOBJC_TRUE=
5397   am__fastdepOBJC_FALSE='#'
5398 else
5399   am__fastdepOBJC_TRUE='#'
5400   am__fastdepOBJC_FALSE=
5401 fi
5402
5403
5404
5405 ac_ext=cpp
5406 ac_cpp='$CXXCPP $CPPFLAGS'
5407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5410 if test -z "$CXX"; then
5411   if test -n "$CCC"; then
5412     CXX=$CCC
5413   else
5414     if test -n "$ac_tool_prefix"; then
5415   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5416   do
5417     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5418 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5421 if test "${ac_cv_prog_CXX+set}" = set; then
5422   echo $ECHO_N "(cached) $ECHO_C" >&6
5423 else
5424   if test -n "$CXX"; then
5425   ac_cv_prog_CXX="$CXX" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5429 do
5430   IFS=$as_save_IFS
5431   test -z "$as_dir" && as_dir=.
5432   for ac_exec_ext in '' $ac_executable_extensions; do
5433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5434     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5435     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5436     break 2
5437   fi
5438 done
5439 done
5440 IFS=$as_save_IFS
5441
5442 fi
5443 fi
5444 CXX=$ac_cv_prog_CXX
5445 if test -n "$CXX"; then
5446   { echo "$as_me:$LINENO: result: $CXX" >&5
5447 echo "${ECHO_T}$CXX" >&6; }
5448 else
5449   { echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6; }
5451 fi
5452
5453
5454     test -n "$CXX" && break
5455   done
5456 fi
5457 if test -z "$CXX"; then
5458   ac_ct_CXX=$CXX
5459   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5460 do
5461   # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy $ac_prog; ac_word=$2
5463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5465 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5466   echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468   if test -n "$ac_ct_CXX"; then
5469   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5473 do
5474   IFS=$as_save_IFS
5475   test -z "$as_dir" && as_dir=.
5476   for ac_exec_ext in '' $ac_executable_extensions; do
5477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478     ac_cv_prog_ac_ct_CXX="$ac_prog"
5479     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480     break 2
5481   fi
5482 done
5483 done
5484 IFS=$as_save_IFS
5485
5486 fi
5487 fi
5488 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5489 if test -n "$ac_ct_CXX"; then
5490   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5491 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5492 else
5493   { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5495 fi
5496
5497
5498   test -n "$ac_ct_CXX" && break
5499 done
5500
5501   if test "x$ac_ct_CXX" = x; then
5502     CXX="g++"
5503   else
5504     case $cross_compiling:$ac_tool_warned in
5505 yes:)
5506 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5507 whose name does not start with the host triplet.  If you think this
5508 configuration is useful to you, please write to autoconf@gnu.org." >&5
5509 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5510 whose name does not start with the host triplet.  If you think this
5511 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5512 ac_tool_warned=yes ;;
5513 esac
5514     CXX=$ac_ct_CXX
5515   fi
5516 fi
5517
5518   fi
5519 fi
5520 # Provide some information about the compiler.
5521 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5522 ac_compiler=`set X $ac_compile; echo $2`
5523 { (ac_try="$ac_compiler --version >&5"
5524 case "(($ac_try" in
5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526   *) ac_try_echo=$ac_try;;
5527 esac
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529   (eval "$ac_compiler --version >&5") 2>&5
5530   ac_status=$?
5531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532   (exit $ac_status); }
5533 { (ac_try="$ac_compiler -v >&5"
5534 case "(($ac_try" in
5535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5536   *) ac_try_echo=$ac_try;;
5537 esac
5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5539   (eval "$ac_compiler -v >&5") 2>&5
5540   ac_status=$?
5541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542   (exit $ac_status); }
5543 { (ac_try="$ac_compiler -V >&5"
5544 case "(($ac_try" in
5545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546   *) ac_try_echo=$ac_try;;
5547 esac
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549   (eval "$ac_compiler -V >&5") 2>&5
5550   ac_status=$?
5551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552   (exit $ac_status); }
5553
5554 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5555 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5556 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5557   echo $ECHO_N "(cached) $ECHO_C" >&6
5558 else
5559   cat >conftest.$ac_ext <<_ACEOF
5560 /* confdefs.h.  */
5561 _ACEOF
5562 cat confdefs.h >>conftest.$ac_ext
5563 cat >>conftest.$ac_ext <<_ACEOF
5564 /* end confdefs.h.  */
5565
5566 int
5567 main ()
5568 {
5569 #ifndef __GNUC__
5570        choke me
5571 #endif
5572
5573   ;
5574   return 0;
5575 }
5576 _ACEOF
5577 rm -f conftest.$ac_objext
5578 if { (ac_try="$ac_compile"
5579 case "(($ac_try" in
5580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581   *) ac_try_echo=$ac_try;;
5582 esac
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584   (eval "$ac_compile") 2>conftest.er1
5585   ac_status=$?
5586   grep -v '^ *+' conftest.er1 >conftest.err
5587   rm -f conftest.er1
5588   cat conftest.err >&5
5589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590   (exit $ac_status); } && {
5591          test -z "$ac_cxx_werror_flag" ||
5592          test ! -s conftest.err
5593        } && test -s conftest.$ac_objext; then
5594   ac_compiler_gnu=yes
5595 else
5596   echo "$as_me: failed program was:" >&5
5597 sed 's/^/| /' conftest.$ac_ext >&5
5598
5599         ac_compiler_gnu=no
5600 fi
5601
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5603 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5604
5605 fi
5606 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5607 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5608 GXX=`test $ac_compiler_gnu = yes && echo yes`
5609 ac_test_CXXFLAGS=${CXXFLAGS+set}
5610 ac_save_CXXFLAGS=$CXXFLAGS
5611 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5612 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5613 if test "${ac_cv_prog_cxx_g+set}" = set; then
5614   echo $ECHO_N "(cached) $ECHO_C" >&6
5615 else
5616   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5617    ac_cxx_werror_flag=yes
5618    ac_cv_prog_cxx_g=no
5619    CXXFLAGS="-g"
5620    cat >conftest.$ac_ext <<_ACEOF
5621 /* confdefs.h.  */
5622 _ACEOF
5623 cat confdefs.h >>conftest.$ac_ext
5624 cat >>conftest.$ac_ext <<_ACEOF
5625 /* end confdefs.h.  */
5626
5627 int
5628 main ()
5629 {
5630
5631   ;
5632   return 0;
5633 }
5634 _ACEOF
5635 rm -f conftest.$ac_objext
5636 if { (ac_try="$ac_compile"
5637 case "(($ac_try" in
5638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639   *) ac_try_echo=$ac_try;;
5640 esac
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642   (eval "$ac_compile") 2>conftest.er1
5643   ac_status=$?
5644   grep -v '^ *+' conftest.er1 >conftest.err
5645   rm -f conftest.er1
5646   cat conftest.err >&5
5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648   (exit $ac_status); } && {
5649          test -z "$ac_cxx_werror_flag" ||
5650          test ! -s conftest.err
5651        } && test -s conftest.$ac_objext; then
5652   ac_cv_prog_cxx_g=yes
5653 else
5654   echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.$ac_ext >&5
5656
5657         CXXFLAGS=""
5658       cat >conftest.$ac_ext <<_ACEOF
5659 /* confdefs.h.  */
5660 _ACEOF
5661 cat confdefs.h >>conftest.$ac_ext
5662 cat >>conftest.$ac_ext <<_ACEOF
5663 /* end confdefs.h.  */
5664
5665 int
5666 main ()
5667 {
5668
5669   ;
5670   return 0;
5671 }
5672 _ACEOF
5673 rm -f conftest.$ac_objext
5674 if { (ac_try="$ac_compile"
5675 case "(($ac_try" in
5676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5677   *) ac_try_echo=$ac_try;;
5678 esac
5679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5680   (eval "$ac_compile") 2>conftest.er1
5681   ac_status=$?
5682   grep -v '^ *+' conftest.er1 >conftest.err
5683   rm -f conftest.er1
5684   cat conftest.err >&5
5685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686   (exit $ac_status); } && {
5687          test -z "$ac_cxx_werror_flag" ||
5688          test ! -s conftest.err
5689        } && test -s conftest.$ac_objext; then
5690   :
5691 else
5692   echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5694
5695         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5696          CXXFLAGS="-g"
5697          cat >conftest.$ac_ext <<_ACEOF
5698 /* confdefs.h.  */
5699 _ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h.  */
5703
5704 int
5705 main ()
5706 {
5707
5708   ;
5709   return 0;
5710 }
5711 _ACEOF
5712 rm -f conftest.$ac_objext
5713 if { (ac_try="$ac_compile"
5714 case "(($ac_try" in
5715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716   *) ac_try_echo=$ac_try;;
5717 esac
5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5719   (eval "$ac_compile") 2>conftest.er1
5720   ac_status=$?
5721   grep -v '^ *+' conftest.er1 >conftest.err
5722   rm -f conftest.er1
5723   cat conftest.err >&5
5724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725   (exit $ac_status); } && {
5726          test -z "$ac_cxx_werror_flag" ||
5727          test ! -s conftest.err
5728        } && test -s conftest.$ac_objext; then
5729   ac_cv_prog_cxx_g=yes
5730 else
5731   echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.$ac_ext >&5
5733
5734
5735 fi
5736
5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738 fi
5739
5740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5741 fi
5742
5743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5745 fi
5746 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5747 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5748 if test "$ac_test_CXXFLAGS" = set; then
5749   CXXFLAGS=$ac_save_CXXFLAGS
5750 elif test $ac_cv_prog_cxx_g = yes; then
5751   if test "$GXX" = yes; then
5752     CXXFLAGS="-g -O2"
5753   else
5754     CXXFLAGS="-g"
5755   fi
5756 else
5757   if test "$GXX" = yes; then
5758     CXXFLAGS="-O2"
5759   else
5760     CXXFLAGS=
5761   fi
5762 fi
5763 ac_ext=c
5764 ac_cpp='$CPP $CPPFLAGS'
5765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5768
5769 depcc="$CXX"  am_compiler_list=
5770
5771 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5772 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5773 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5774   echo $ECHO_N "(cached) $ECHO_C" >&6
5775 else
5776   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5777   # We make a subdir and do the tests there.  Otherwise we can end up
5778   # making bogus files that we don't know about and never remove.  For
5779   # instance it was reported that on HP-UX the gcc test will end up
5780   # making a dummy file named `D' -- because `-MD' means `put the output
5781   # in D'.
5782   mkdir conftest.dir
5783   # Copy depcomp to subdir because otherwise we won't find it if we're
5784   # using a relative directory.
5785   cp "$am_depcomp" conftest.dir
5786   cd conftest.dir
5787   # We will build objects and dependencies in a subdirectory because
5788   # it helps to detect inapplicable dependency modes.  For instance
5789   # both Tru64's cc and ICC support -MD to output dependencies as a
5790   # side effect of compilation, but ICC will put the dependencies in
5791   # the current directory while Tru64 will put them in the object
5792   # directory.
5793   mkdir sub
5794
5795   am_cv_CXX_dependencies_compiler_type=none
5796   if test "$am_compiler_list" = ""; then
5797      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5798   fi
5799   for depmode in $am_compiler_list; do
5800     # Setup a source with many dependencies, because some compilers
5801     # like to wrap large dependency lists on column 80 (with \), and
5802     # we should not choose a depcomp mode which is confused by this.
5803     #
5804     # We need to recreate these files for each test, as the compiler may
5805     # overwrite some of them when testing with obscure command lines.
5806     # This happens at least with the AIX C compiler.
5807     : > sub/conftest.c
5808     for i in 1 2 3 4 5 6; do
5809       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5810       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5811       # Solaris 8's {/usr,}/bin/sh.
5812       touch sub/conftst$i.h
5813     done
5814     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5815
5816     case $depmode in
5817     nosideeffect)
5818       # after this tag, mechanisms are not by side-effect, so they'll
5819       # only be used when explicitly requested
5820       if test "x$enable_dependency_tracking" = xyes; then
5821         continue
5822       else
5823         break
5824       fi
5825       ;;
5826     none) break ;;
5827     esac
5828     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5829     # mode.  It turns out that the SunPro C++ compiler does not properly
5830     # handle `-M -o', and we need to detect this.
5831     if depmode=$depmode \
5832        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5833        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5834        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5835          >/dev/null 2>conftest.err &&
5836        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5837        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5838        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5839        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5840       # icc doesn't choke on unknown options, it will just issue warnings
5841       # or remarks (even with -Werror).  So we grep stderr for any message
5842       # that says an option was ignored or not supported.
5843       # When given -MP, icc 7.0 and 7.1 complain thusly:
5844       #   icc: Command line warning: ignoring option '-M'; no argument required
5845       # The diagnosis changed in icc 8.0:
5846       #   icc: Command line remark: option '-MP' not supported
5847       if (grep 'ignoring option' conftest.err ||
5848           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5849         am_cv_CXX_dependencies_compiler_type=$depmode
5850         break
5851       fi
5852     fi
5853   done
5854
5855   cd ..
5856   rm -rf conftest.dir
5857 else
5858   am_cv_CXX_dependencies_compiler_type=none
5859 fi
5860
5861 fi
5862 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5863 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5864 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5865
5866  if
5867   test "x$enable_dependency_tracking" != xno \
5868   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5869   am__fastdepCXX_TRUE=
5870   am__fastdepCXX_FALSE='#'
5871 else
5872   am__fastdepCXX_TRUE='#'
5873   am__fastdepCXX_FALSE=
5874 fi
5875
5876
5877 ac_ext=c
5878 ac_cpp='$CPP $CPPFLAGS'
5879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5882 if test -n "$ac_tool_prefix"; then
5883   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5887 if test "${ac_cv_prog_CC+set}" = set; then
5888   echo $ECHO_N "(cached) $ECHO_C" >&6
5889 else
5890   if test -n "$CC"; then
5891   ac_cv_prog_CC="$CC" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5895 do
5896   IFS=$as_save_IFS
5897   test -z "$as_dir" && as_dir=.
5898   for ac_exec_ext in '' $ac_executable_extensions; do
5899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902     break 2
5903   fi
5904 done
5905 done
5906 IFS=$as_save_IFS
5907
5908 fi
5909 fi
5910 CC=$ac_cv_prog_CC
5911 if test -n "$CC"; then
5912   { echo "$as_me:$LINENO: result: $CC" >&5
5913 echo "${ECHO_T}$CC" >&6; }
5914 else
5915   { echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6; }
5917 fi
5918
5919
5920 fi
5921 if test -z "$ac_cv_prog_CC"; then
5922   ac_ct_CC=$CC
5923   # Extract the first word of "gcc", so it can be a program name with args.
5924 set dummy gcc; ac_word=$2
5925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5927 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5928   echo $ECHO_N "(cached) $ECHO_C" >&6
5929 else
5930   if test -n "$ac_ct_CC"; then
5931   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5935 do
5936   IFS=$as_save_IFS
5937   test -z "$as_dir" && as_dir=.
5938   for ac_exec_ext in '' $ac_executable_extensions; do
5939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5940     ac_cv_prog_ac_ct_CC="gcc"
5941     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5942     break 2
5943   fi
5944 done
5945 done
5946 IFS=$as_save_IFS
5947
5948 fi
5949 fi
5950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5951 if test -n "$ac_ct_CC"; then
5952   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5953 echo "${ECHO_T}$ac_ct_CC" >&6; }
5954 else
5955   { echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6; }
5957 fi
5958
5959   if test "x$ac_ct_CC" = x; then
5960     CC=""
5961   else
5962     case $cross_compiling:$ac_tool_warned in
5963 yes:)
5964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5965 whose name does not start with the host triplet.  If you think this
5966 configuration is useful to you, please write to autoconf@gnu.org." >&5
5967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5968 whose name does not start with the host triplet.  If you think this
5969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5970 ac_tool_warned=yes ;;
5971 esac
5972     CC=$ac_ct_CC
5973   fi
5974 else
5975   CC="$ac_cv_prog_CC"
5976 fi
5977
5978 if test -z "$CC"; then
5979           if test -n "$ac_tool_prefix"; then
5980     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}cc; ac_word=$2
5982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5984 if test "${ac_cv_prog_CC+set}" = set; then
5985   echo $ECHO_N "(cached) $ECHO_C" >&6
5986 else
5987   if test -n "$CC"; then
5988   ac_cv_prog_CC="$CC" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5992 do
5993   IFS=$as_save_IFS
5994   test -z "$as_dir" && as_dir=.
5995   for ac_exec_ext in '' $ac_executable_extensions; do
5996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997     ac_cv_prog_CC="${ac_tool_prefix}cc"
5998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999     break 2
6000   fi
6001 done
6002 done
6003 IFS=$as_save_IFS
6004
6005 fi
6006 fi
6007 CC=$ac_cv_prog_CC
6008 if test -n "$CC"; then
6009   { echo "$as_me:$LINENO: result: $CC" >&5
6010 echo "${ECHO_T}$CC" >&6; }
6011 else
6012   { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6014 fi
6015
6016
6017   fi
6018 fi
6019 if test -z "$CC"; then
6020   # Extract the first word of "cc", so it can be a program name with args.
6021 set dummy cc; ac_word=$2
6022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6024 if test "${ac_cv_prog_CC+set}" = set; then
6025   echo $ECHO_N "(cached) $ECHO_C" >&6
6026 else
6027   if test -n "$CC"; then
6028   ac_cv_prog_CC="$CC" # Let the user override the test.
6029 else
6030   ac_prog_rejected=no
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6033 do
6034   IFS=$as_save_IFS
6035   test -z "$as_dir" && as_dir=.
6036   for ac_exec_ext in '' $ac_executable_extensions; do
6037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6038     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6039        ac_prog_rejected=yes
6040        continue
6041      fi
6042     ac_cv_prog_CC="cc"
6043     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044     break 2
6045   fi
6046 done
6047 done
6048 IFS=$as_save_IFS
6049
6050 if test $ac_prog_rejected = yes; then
6051   # We found a bogon in the path, so make sure we never use it.
6052   set dummy $ac_cv_prog_CC
6053   shift
6054   if test $# != 0; then
6055     # We chose a different compiler from the bogus one.
6056     # However, it has the same basename, so the bogon will be chosen
6057     # first if we set CC to just the basename; use the full file name.
6058     shift
6059     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6060   fi
6061 fi
6062 fi
6063 fi
6064 CC=$ac_cv_prog_CC
6065 if test -n "$CC"; then
6066   { echo "$as_me:$LINENO: result: $CC" >&5
6067 echo "${ECHO_T}$CC" >&6; }
6068 else
6069   { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6071 fi
6072
6073
6074 fi
6075 if test -z "$CC"; then
6076   if test -n "$ac_tool_prefix"; then
6077   for ac_prog in cl.exe
6078   do
6079     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6080 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6083 if test "${ac_cv_prog_CC+set}" = set; then
6084   echo $ECHO_N "(cached) $ECHO_C" >&6
6085 else
6086   if test -n "$CC"; then
6087   ac_cv_prog_CC="$CC" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6091 do
6092   IFS=$as_save_IFS
6093   test -z "$as_dir" && as_dir=.
6094   for ac_exec_ext in '' $ac_executable_extensions; do
6095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6098     break 2
6099   fi
6100 done
6101 done
6102 IFS=$as_save_IFS
6103
6104 fi
6105 fi
6106 CC=$ac_cv_prog_CC
6107 if test -n "$CC"; then
6108   { echo "$as_me:$LINENO: result: $CC" >&5
6109 echo "${ECHO_T}$CC" >&6; }
6110 else
6111   { echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6; }
6113 fi
6114
6115
6116     test -n "$CC" && break
6117   done
6118 fi
6119 if test -z "$CC"; then
6120   ac_ct_CC=$CC
6121   for ac_prog in cl.exe
6122 do
6123   # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6128   echo $ECHO_N "(cached) $ECHO_C" >&6
6129 else
6130   if test -n "$ac_ct_CC"; then
6131   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6135 do
6136   IFS=$as_save_IFS
6137   test -z "$as_dir" && as_dir=.
6138   for ac_exec_ext in '' $ac_executable_extensions; do
6139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140     ac_cv_prog_ac_ct_CC="$ac_prog"
6141     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6142     break 2
6143   fi
6144 done
6145 done
6146 IFS=$as_save_IFS
6147
6148 fi
6149 fi
6150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6151 if test -n "$ac_ct_CC"; then
6152   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6153 echo "${ECHO_T}$ac_ct_CC" >&6; }
6154 else
6155   { echo "$as_me:$LINENO: result: no" >&5
6156 echo "${ECHO_T}no" >&6; }
6157 fi
6158
6159
6160   test -n "$ac_ct_CC" && break
6161 done
6162
6163   if test "x$ac_ct_CC" = x; then
6164     CC=""
6165   else
6166     case $cross_compiling:$ac_tool_warned in
6167 yes:)
6168 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6169 whose name does not start with the host triplet.  If you think this
6170 configuration is useful to you, please write to autoconf@gnu.org." >&5
6171 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6172 whose name does not start with the host triplet.  If you think this
6173 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6174 ac_tool_warned=yes ;;
6175 esac
6176     CC=$ac_ct_CC
6177   fi
6178 fi
6179
6180 fi
6181
6182
6183 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6184 See \`config.log' for more details." >&5
6185 echo "$as_me: error: no acceptable C compiler found in \$PATH
6186 See \`config.log' for more details." >&2;}
6187    { (exit 1); exit 1; }; }
6188
6189 # Provide some information about the compiler.
6190 echo "$as_me:$LINENO: checking for C compiler version" >&5
6191 ac_compiler=`set X $ac_compile; echo $2`
6192 { (ac_try="$ac_compiler --version >&5"
6193 case "(($ac_try" in
6194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6195   *) ac_try_echo=$ac_try;;
6196 esac
6197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6198   (eval "$ac_compiler --version >&5") 2>&5
6199   ac_status=$?
6200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201   (exit $ac_status); }
6202 { (ac_try="$ac_compiler -v >&5"
6203 case "(($ac_try" in
6204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205   *) ac_try_echo=$ac_try;;
6206 esac
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208   (eval "$ac_compiler -v >&5") 2>&5
6209   ac_status=$?
6210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211   (exit $ac_status); }
6212 { (ac_try="$ac_compiler -V >&5"
6213 case "(($ac_try" in
6214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215   *) ac_try_echo=$ac_try;;
6216 esac
6217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6218   (eval "$ac_compiler -V >&5") 2>&5
6219   ac_status=$?
6220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221   (exit $ac_status); }
6222
6223 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
6224 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
6225 if test "${ac_cv_c_compiler_gnu+set}" = set; then
6226   echo $ECHO_N "(cached) $ECHO_C" >&6
6227 else
6228   cat >conftest.$ac_ext <<_ACEOF
6229 /* confdefs.h.  */
6230 _ACEOF
6231 cat confdefs.h >>conftest.$ac_ext
6232 cat >>conftest.$ac_ext <<_ACEOF
6233 /* end confdefs.h.  */
6234
6235 int
6236 main ()
6237 {
6238 #ifndef __GNUC__
6239        choke me
6240 #endif
6241
6242   ;
6243   return 0;
6244 }
6245 _ACEOF
6246 rm -f conftest.$ac_objext
6247 if { (ac_try="$ac_compile"
6248 case "(($ac_try" in
6249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250   *) ac_try_echo=$ac_try;;
6251 esac
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253   (eval "$ac_compile") 2>conftest.er1
6254   ac_status=$?
6255   grep -v '^ *+' conftest.er1 >conftest.err
6256   rm -f conftest.er1
6257   cat conftest.err >&5
6258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259   (exit $ac_status); } && {
6260          test -z "$ac_c_werror_flag" ||
6261          test ! -s conftest.err
6262        } && test -s conftest.$ac_objext; then
6263   ac_compiler_gnu=yes
6264 else
6265   echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6267
6268         ac_compiler_gnu=no
6269 fi
6270
6271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6273
6274 fi
6275 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
6276 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
6277 GCC=`test $ac_compiler_gnu = yes && echo yes`
6278 ac_test_CFLAGS=${CFLAGS+set}
6279 ac_save_CFLAGS=$CFLAGS
6280 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
6281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_cc_g+set}" = set; then
6283   echo $ECHO_N "(cached) $ECHO_C" >&6
6284 else
6285   ac_save_c_werror_flag=$ac_c_werror_flag
6286    ac_c_werror_flag=yes
6287    ac_cv_prog_cc_g=no
6288    CFLAGS="-g"
6289    cat >conftest.$ac_ext <<_ACEOF
6290 /* confdefs.h.  */
6291 _ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h.  */
6295
6296 int
6297 main ()
6298 {
6299
6300   ;
6301   return 0;
6302 }
6303 _ACEOF
6304 rm -f conftest.$ac_objext
6305 if { (ac_try="$ac_compile"
6306 case "(($ac_try" in
6307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6308   *) ac_try_echo=$ac_try;;
6309 esac
6310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6311   (eval "$ac_compile") 2>conftest.er1
6312   ac_status=$?
6313   grep -v '^ *+' conftest.er1 >conftest.err
6314   rm -f conftest.er1
6315   cat conftest.err >&5
6316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317   (exit $ac_status); } && {
6318          test -z "$ac_c_werror_flag" ||
6319          test ! -s conftest.err
6320        } && test -s conftest.$ac_objext; then
6321   ac_cv_prog_cc_g=yes
6322 else
6323   echo "$as_me: failed program was:" >&5
6324 sed 's/^/| /' conftest.$ac_ext >&5
6325
6326         CFLAGS=""
6327       cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h.  */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h.  */
6333
6334 int
6335 main ()
6336 {
6337
6338   ;
6339   return 0;
6340 }
6341 _ACEOF
6342 rm -f conftest.$ac_objext
6343 if { (ac_try="$ac_compile"
6344 case "(($ac_try" in
6345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346   *) ac_try_echo=$ac_try;;
6347 esac
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349   (eval "$ac_compile") 2>conftest.er1
6350   ac_status=$?
6351   grep -v '^ *+' conftest.er1 >conftest.err
6352   rm -f conftest.er1
6353   cat conftest.err >&5
6354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355   (exit $ac_status); } && {
6356          test -z "$ac_c_werror_flag" ||
6357          test ! -s conftest.err
6358        } && test -s conftest.$ac_objext; then
6359   :
6360 else
6361   echo "$as_me: failed program was:" >&5
6362 sed 's/^/| /' conftest.$ac_ext >&5
6363
6364         ac_c_werror_flag=$ac_save_c_werror_flag
6365          CFLAGS="-g"
6366          cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h.  */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
6371 /* end confdefs.h.  */
6372
6373 int
6374 main ()
6375 {
6376
6377   ;
6378   return 0;
6379 }
6380 _ACEOF
6381 rm -f conftest.$ac_objext
6382 if { (ac_try="$ac_compile"
6383 case "(($ac_try" in
6384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6385   *) ac_try_echo=$ac_try;;
6386 esac
6387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6388   (eval "$ac_compile") 2>conftest.er1
6389   ac_status=$?
6390   grep -v '^ *+' conftest.er1 >conftest.err
6391   rm -f conftest.er1
6392   cat conftest.err >&5
6393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394   (exit $ac_status); } && {
6395          test -z "$ac_c_werror_flag" ||
6396          test ! -s conftest.err
6397        } && test -s conftest.$ac_objext; then
6398   ac_cv_prog_cc_g=yes
6399 else
6400   echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6402
6403
6404 fi
6405
6406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6407 fi
6408
6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410 fi
6411
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6413    ac_c_werror_flag=$ac_save_c_werror_flag
6414 fi
6415 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
6416 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
6417 if test "$ac_test_CFLAGS" = set; then
6418   CFLAGS=$ac_save_CFLAGS
6419 elif test $ac_cv_prog_cc_g = yes; then
6420   if test "$GCC" = yes; then
6421     CFLAGS="-g -O2"
6422   else
6423     CFLAGS="-g"
6424   fi
6425 else
6426   if test "$GCC" = yes; then
6427     CFLAGS="-O2"
6428   else
6429     CFLAGS=
6430   fi
6431 fi
6432 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
6433 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
6434 if test "${ac_cv_prog_cc_c89+set}" = set; then
6435   echo $ECHO_N "(cached) $ECHO_C" >&6
6436 else
6437   ac_cv_prog_cc_c89=no
6438 ac_save_CC=$CC
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h.  */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h.  */
6445 #include <stdarg.h>
6446 #include <stdio.h>
6447 #include <sys/types.h>
6448 #include <sys/stat.h>
6449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6450 struct buf { int x; };
6451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6452 static char *e (p, i)
6453      char **p;
6454      int i;
6455 {
6456   return p[i];
6457 }
6458 static char *f (char * (*g) (char **, int), char **p, ...)
6459 {
6460   char *s;
6461   va_list v;
6462   va_start (v,p);
6463   s = g (p, va_arg (v,int));
6464   va_end (v);
6465   return s;
6466 }
6467
6468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6469    function prototypes and stuff, but not '\xHH' hex character constants.
6470    These don't provoke an error unfortunately, instead are silently treated
6471    as 'x'.  The following induces an error, until -std is added to get
6472    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6473    array size at least.  It's necessary to write '\x00'==0 to get something
6474    that's true only with -std.  */
6475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6476
6477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6478    inside strings and character constants.  */
6479 #define FOO(x) 'x'
6480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6481
6482 int test (int i, double x);
6483 struct s1 {int (*f) (int a);};
6484 struct s2 {int (*f) (double a);};
6485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6486 int argc;
6487 char **argv;
6488 int
6489 main ()
6490 {
6491 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6492   ;
6493   return 0;
6494 }
6495 _ACEOF
6496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6497         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6498 do
6499   CC="$ac_save_CC $ac_arg"
6500   rm -f conftest.$ac_objext
6501 if { (ac_try="$ac_compile"
6502 case "(($ac_try" in
6503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6504   *) ac_try_echo=$ac_try;;
6505 esac
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507   (eval "$ac_compile") 2>conftest.er1
6508   ac_status=$?
6509   grep -v '^ *+' conftest.er1 >conftest.err
6510   rm -f conftest.er1
6511   cat conftest.err >&5
6512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513   (exit $ac_status); } && {
6514          test -z "$ac_c_werror_flag" ||
6515          test ! -s conftest.err
6516        } && test -s conftest.$ac_objext; then
6517   ac_cv_prog_cc_c89=$ac_arg
6518 else
6519   echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6521
6522
6523 fi
6524
6525 rm -f core conftest.err conftest.$ac_objext
6526   test "x$ac_cv_prog_cc_c89" != "xno" && break
6527 done
6528 rm -f conftest.$ac_ext
6529 CC=$ac_save_CC
6530
6531 fi
6532 # AC_CACHE_VAL
6533 case "x$ac_cv_prog_cc_c89" in
6534   x)
6535     { echo "$as_me:$LINENO: result: none needed" >&5
6536 echo "${ECHO_T}none needed" >&6; } ;;
6537   xno)
6538     { echo "$as_me:$LINENO: result: unsupported" >&5
6539 echo "${ECHO_T}unsupported" >&6; } ;;
6540   *)
6541     CC="$CC $ac_cv_prog_cc_c89"
6542     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
6543 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
6544 esac
6545
6546
6547 ac_ext=c
6548 ac_cpp='$CPP $CPPFLAGS'
6549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6552
6553 depcc="$CC"   am_compiler_list=
6554
6555 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6556 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6557 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6558   echo $ECHO_N "(cached) $ECHO_C" >&6
6559 else
6560   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6561   # We make a subdir and do the tests there.  Otherwise we can end up
6562   # making bogus files that we don't know about and never remove.  For
6563   # instance it was reported that on HP-UX the gcc test will end up
6564   # making a dummy file named `D' -- because `-MD' means `put the output
6565   # in D'.
6566   mkdir conftest.dir
6567   # Copy depcomp to subdir because otherwise we won't find it if we're
6568   # using a relative directory.
6569   cp "$am_depcomp" conftest.dir
6570   cd conftest.dir
6571   # We will build objects and dependencies in a subdirectory because
6572   # it helps to detect inapplicable dependency modes.  For instance
6573   # both Tru64's cc and ICC support -MD to output dependencies as a
6574   # side effect of compilation, but ICC will put the dependencies in
6575   # the current directory while Tru64 will put them in the object
6576   # directory.
6577   mkdir sub
6578
6579   am_cv_CC_dependencies_compiler_type=none
6580   if test "$am_compiler_list" = ""; then
6581      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6582   fi
6583   for depmode in $am_compiler_list; do
6584     # Setup a source with many dependencies, because some compilers
6585     # like to wrap large dependency lists on column 80 (with \), and
6586     # we should not choose a depcomp mode which is confused by this.
6587     #
6588     # We need to recreate these files for each test, as the compiler may
6589     # overwrite some of them when testing with obscure command lines.
6590     # This happens at least with the AIX C compiler.
6591     : > sub/conftest.c
6592     for i in 1 2 3 4 5 6; do
6593       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6594       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6595       # Solaris 8's {/usr,}/bin/sh.
6596       touch sub/conftst$i.h
6597     done
6598     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6599
6600     case $depmode in
6601     nosideeffect)
6602       # after this tag, mechanisms are not by side-effect, so they'll
6603       # only be used when explicitly requested
6604       if test "x$enable_dependency_tracking" = xyes; then
6605         continue
6606       else
6607         break
6608       fi
6609       ;;
6610     none) break ;;
6611     esac
6612     # We check with `-c' and `-o' for the sake of the "dashmstdout"
6613     # mode.  It turns out that the SunPro C++ compiler does not properly
6614     # handle `-M -o', and we need to detect this.
6615     if depmode=$depmode \
6616        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6617        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6618        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6619          >/dev/null 2>conftest.err &&
6620        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6621        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6622        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6623        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6624       # icc doesn't choke on unknown options, it will just issue warnings
6625       # or remarks (even with -Werror).  So we grep stderr for any message
6626       # that says an option was ignored or not supported.
6627       # When given -MP, icc 7.0 and 7.1 complain thusly:
6628       #   icc: Command line warning: ignoring option '-M'; no argument required
6629       # The diagnosis changed in icc 8.0:
6630       #   icc: Command line remark: option '-MP' not supported
6631       if (grep 'ignoring option' conftest.err ||
6632           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6633         am_cv_CC_dependencies_compiler_type=$depmode
6634         break
6635       fi
6636     fi
6637   done
6638
6639   cd ..
6640   rm -rf conftest.dir
6641 else
6642   am_cv_CC_dependencies_compiler_type=none
6643 fi
6644
6645 fi
6646 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6647 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
6648 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6649
6650  if
6651   test "x$enable_dependency_tracking" != xno \
6652   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6653   am__fastdepCC_TRUE=
6654   am__fastdepCC_FALSE='#'
6655 else
6656   am__fastdepCC_TRUE='#'
6657   am__fastdepCC_FALSE=
6658 fi
6659
6660
6661
6662 if test -n "$ac_tool_prefix"; then
6663   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6664 set dummy ${ac_tool_prefix}windres; ac_word=$2
6665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6667 if test "${ac_cv_prog_RC+set}" = set; then
6668   echo $ECHO_N "(cached) $ECHO_C" >&6
6669 else
6670   if test -n "$RC"; then
6671   ac_cv_prog_RC="$RC" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6675 do
6676   IFS=$as_save_IFS
6677   test -z "$as_dir" && as_dir=.
6678   for ac_exec_ext in '' $ac_executable_extensions; do
6679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680     ac_cv_prog_RC="${ac_tool_prefix}windres"
6681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6682     break 2
6683   fi
6684 done
6685 done
6686 IFS=$as_save_IFS
6687
6688 fi
6689 fi
6690 RC=$ac_cv_prog_RC
6691 if test -n "$RC"; then
6692   { echo "$as_me:$LINENO: result: $RC" >&5
6693 echo "${ECHO_T}$RC" >&6; }
6694 else
6695   { echo "$as_me:$LINENO: result: no" >&5
6696 echo "${ECHO_T}no" >&6; }
6697 fi
6698
6699
6700 fi
6701 if test -z "$ac_cv_prog_RC"; then
6702   ac_ct_RC=$RC
6703   # Extract the first word of "windres", so it can be a program name with args.
6704 set dummy windres; ac_word=$2
6705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6707 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
6708   echo $ECHO_N "(cached) $ECHO_C" >&6
6709 else
6710   if test -n "$ac_ct_RC"; then
6711   ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
6712 else
6713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714 for as_dir in $PATH
6715 do
6716   IFS=$as_save_IFS
6717   test -z "$as_dir" && as_dir=.
6718   for ac_exec_ext in '' $ac_executable_extensions; do
6719   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720     ac_cv_prog_ac_ct_RC="windres"
6721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6722     break 2
6723   fi
6724 done
6725 done
6726 IFS=$as_save_IFS
6727
6728 fi
6729 fi
6730 ac_ct_RC=$ac_cv_prog_ac_ct_RC
6731 if test -n "$ac_ct_RC"; then
6732   { echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
6733 echo "${ECHO_T}$ac_ct_RC" >&6; }
6734 else
6735   { echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6; }
6737 fi
6738
6739   if test "x$ac_ct_RC" = x; then
6740     RC=""
6741   else
6742     case $cross_compiling:$ac_tool_warned in
6743 yes:)
6744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6745 whose name does not start with the host triplet.  If you think this
6746 configuration is useful to you, please write to autoconf@gnu.org." >&5
6747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6748 whose name does not start with the host triplet.  If you think this
6749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6750 ac_tool_warned=yes ;;
6751 esac
6752     RC=$ac_ct_RC
6753   fi
6754 else
6755   RC="$ac_cv_prog_RC"
6756 fi
6757
6758
6759
6760
6761 ### Checks for libraries
6762
6763 # Evil library for compilation on Windows
6764
6765 case "$host_os" in
6766    mingw32ce*)
6767
6768 pkg_failed=no
6769 { echo "$as_me:$LINENO: checking for EVIL" >&5
6770 echo $ECHO_N "checking for EVIL... $ECHO_C" >&6; }
6771
6772 if test -n "$PKG_CONFIG"; then
6773     if test -n "$EVIL_CFLAGS"; then
6774         pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
6775     else
6776         if test -n "$PKG_CONFIG" && \
6777     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evil\"") >&5
6778   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
6779   ac_status=$?
6780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781   (exit $ac_status); }; then
6782   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
6783 else
6784   pkg_failed=yes
6785 fi
6786     fi
6787 else
6788         pkg_failed=untried
6789 fi
6790 if test -n "$PKG_CONFIG"; then
6791     if test -n "$EVIL_LIBS"; then
6792         pkg_cv_EVIL_LIBS="$EVIL_LIBS"
6793     else
6794         if test -n "$PKG_CONFIG" && \
6795     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evil\"") >&5
6796   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
6797   ac_status=$?
6798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799   (exit $ac_status); }; then
6800   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
6801 else
6802   pkg_failed=yes
6803 fi
6804     fi
6805 else
6806         pkg_failed=untried
6807 fi
6808
6809
6810
6811 if test $pkg_failed = yes; then
6812
6813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6814         _pkg_short_errors_supported=yes
6815 else
6816         _pkg_short_errors_supported=no
6817 fi
6818         if test $_pkg_short_errors_supported = yes; then
6819                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evil"`
6820         else
6821                 EVIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evil"`
6822         fi
6823         # Put the nasty error message in config.log where it belongs
6824         echo "$EVIL_PKG_ERRORS" >&5
6825
6826         { { echo "$as_me:$LINENO: error: Package requirements (evil) were not met:
6827
6828 $EVIL_PKG_ERRORS
6829
6830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6831 installed software in a non-standard prefix.
6832
6833 Alternatively, you may set the environment variables EVIL_CFLAGS
6834 and EVIL_LIBS to avoid the need to call pkg-config.
6835 See the pkg-config man page for more details.
6836 " >&5
6837 echo "$as_me: error: Package requirements (evil) were not met:
6838
6839 $EVIL_PKG_ERRORS
6840
6841 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6842 installed software in a non-standard prefix.
6843
6844 Alternatively, you may set the environment variables EVIL_CFLAGS
6845 and EVIL_LIBS to avoid the need to call pkg-config.
6846 See the pkg-config man page for more details.
6847 " >&2;}
6848    { (exit 1); exit 1; }; }
6849 elif test $pkg_failed = untried; then
6850         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
6851 is in your PATH or set the PKG_CONFIG environment variable to the full
6852 path to pkg-config.
6853
6854 Alternatively, you may set the environment variables EVIL_CFLAGS
6855 and EVIL_LIBS to avoid the need to call pkg-config.
6856 See the pkg-config man page for more details.
6857
6858 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6859 See \`config.log' for more details." >&5
6860 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
6861 is in your PATH or set the PKG_CONFIG environment variable to the full
6862 path to pkg-config.
6863
6864 Alternatively, you may set the environment variables EVIL_CFLAGS
6865 and EVIL_LIBS to avoid the need to call pkg-config.
6866 See the pkg-config man page for more details.
6867
6868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6869 See \`config.log' for more details." >&2;}
6870    { (exit 1); exit 1; }; }
6871 else
6872         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
6873         EVIL_LIBS=$pkg_cv_EVIL_LIBS
6874         { echo "$as_me:$LINENO: result: yes" >&5
6875 echo "${ECHO_T}yes" >&6; }
6876         :
6877 fi
6878
6879 cat >>confdefs.h <<\_ACEOF
6880 #define HAVE_EVIL 1
6881 _ACEOF
6882
6883       ;;
6884 esac
6885
6886 # Eina
6887
6888
6889 pkg_failed=no
6890 { echo "$as_me:$LINENO: checking for EINA" >&5
6891 echo $ECHO_N "checking for EINA... $ECHO_C" >&6; }
6892
6893 if test -n "$PKG_CONFIG"; then
6894     if test -n "$EINA_CFLAGS"; then
6895         pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
6896     else
6897         if test -n "$PKG_CONFIG" && \
6898     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eina-0\"") >&5
6899   ($PKG_CONFIG --exists --print-errors "eina-0") 2>&5
6900   ac_status=$?
6901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902   (exit $ac_status); }; then
6903   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina-0" 2>/dev/null`
6904 else
6905   pkg_failed=yes
6906 fi
6907     fi
6908 else
6909         pkg_failed=untried
6910 fi
6911 if test -n "$PKG_CONFIG"; then
6912     if test -n "$EINA_LIBS"; then
6913         pkg_cv_EINA_LIBS="$EINA_LIBS"
6914     else
6915         if test -n "$PKG_CONFIG" && \
6916     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"eina-0\"") >&5
6917   ($PKG_CONFIG --exists --print-errors "eina-0") 2>&5
6918   ac_status=$?
6919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920   (exit $ac_status); }; then
6921   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina-0" 2>/dev/null`
6922 else
6923   pkg_failed=yes
6924 fi
6925     fi
6926 else
6927         pkg_failed=untried
6928 fi
6929
6930
6931
6932 if test $pkg_failed = yes; then
6933
6934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6935         _pkg_short_errors_supported=yes
6936 else
6937         _pkg_short_errors_supported=no
6938 fi
6939         if test $_pkg_short_errors_supported = yes; then
6940                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "eina-0"`
6941         else
6942                 EINA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "eina-0"`
6943         fi
6944         # Put the nasty error message in config.log where it belongs
6945         echo "$EINA_PKG_ERRORS" >&5
6946
6947         { { echo "$as_me:$LINENO: error: Package requirements (eina-0) were not met:
6948
6949 $EINA_PKG_ERRORS
6950
6951 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6952 installed software in a non-standard prefix.
6953
6954 Alternatively, you may set the environment variables EINA_CFLAGS
6955 and EINA_LIBS to avoid the need to call pkg-config.
6956 See the pkg-config man page for more details.
6957 " >&5
6958 echo "$as_me: error: Package requirements (eina-0) were not met:
6959
6960 $EINA_PKG_ERRORS
6961
6962 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6963 installed software in a non-standard prefix.
6964
6965 Alternatively, you may set the environment variables EINA_CFLAGS
6966 and EINA_LIBS to avoid the need to call pkg-config.
6967 See the pkg-config man page for more details.
6968 " >&2;}
6969    { (exit 1); exit 1; }; }
6970 elif test $pkg_failed = untried; then
6971         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
6972 is in your PATH or set the PKG_CONFIG environment variable to the full
6973 path to pkg-config.
6974
6975 Alternatively, you may set the environment variables EINA_CFLAGS
6976 and EINA_LIBS to avoid the need to call pkg-config.
6977 See the pkg-config man page for more details.
6978
6979 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6980 See \`config.log' for more details." >&5
6981 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
6982 is in your PATH or set the PKG_CONFIG environment variable to the full
6983 path to pkg-config.
6984
6985 Alternatively, you may set the environment variables EINA_CFLAGS
6986 and EINA_LIBS to avoid the need to call pkg-config.
6987 See the pkg-config man page for more details.
6988
6989 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6990 See \`config.log' for more details." >&2;}
6991    { (exit 1); exit 1; }; }
6992 else
6993         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
6994         EINA_LIBS=$pkg_cv_EINA_LIBS
6995         { echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6; }
6997         :
6998 fi
6999
7000 # Evas
7001
7002
7003 pkg_failed=no
7004 { echo "$as_me:$LINENO: checking for EVAS" >&5
7005 echo $ECHO_N "checking for EVAS... $ECHO_C" >&6; }
7006
7007 if test -n "$PKG_CONFIG"; then
7008     if test -n "$EVAS_CFLAGS"; then
7009         pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
7010     else
7011         if test -n "$PKG_CONFIG" && \
7012     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas eet\"") >&5
7013   ($PKG_CONFIG --exists --print-errors "evas eet") 2>&5
7014   ac_status=$?
7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016   (exit $ac_status); }; then
7017   pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas eet" 2>/dev/null`
7018 else
7019   pkg_failed=yes
7020 fi
7021     fi
7022 else
7023         pkg_failed=untried
7024 fi
7025 if test -n "$PKG_CONFIG"; then
7026     if test -n "$EVAS_LIBS"; then
7027         pkg_cv_EVAS_LIBS="$EVAS_LIBS"
7028     else
7029         if test -n "$PKG_CONFIG" && \
7030     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"evas eet\"") >&5
7031   ($PKG_CONFIG --exists --print-errors "evas eet") 2>&5
7032   ac_status=$?
7033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034   (exit $ac_status); }; then
7035   pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas eet" 2>/dev/null`
7036 else
7037   pkg_failed=yes
7038 fi
7039     fi
7040 else
7041         pkg_failed=untried
7042 fi
7043
7044
7045
7046 if test $pkg_failed = yes; then
7047
7048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7049         _pkg_short_errors_supported=yes
7050 else
7051         _pkg_short_errors_supported=no
7052 fi
7053         if test $_pkg_short_errors_supported = yes; then
7054                 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "evas eet"`
7055         else
7056                 EVAS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "evas eet"`
7057         fi
7058         # Put the nasty error message in config.log where it belongs
7059         echo "$EVAS_PKG_ERRORS" >&5
7060
7061         { { echo "$as_me:$LINENO: error: Package requirements (evas eet) were not met:
7062
7063 $EVAS_PKG_ERRORS
7064
7065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7066 installed software in a non-standard prefix.
7067
7068 Alternatively, you may set the environment variables EVAS_CFLAGS
7069 and EVAS_LIBS to avoid the need to call pkg-config.
7070 See the pkg-config man page for more details.
7071 " >&5
7072 echo "$as_me: error: Package requirements (evas eet) were not met:
7073
7074 $EVAS_PKG_ERRORS
7075
7076 Consider adjusting the PKG_CONFIG_PATH environment variable if you
7077 installed software in a non-standard prefix.
7078
7079 Alternatively, you may set the environment variables EVAS_CFLAGS
7080 and EVAS_LIBS to avoid the need to call pkg-config.
7081 See the pkg-config man page for more details.
7082 " >&2;}
7083    { (exit 1); exit 1; }; }
7084 elif test $pkg_failed = untried; then
7085         { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
7086 is in your PATH or set the PKG_CONFIG environment variable to the full
7087 path to pkg-config.
7088
7089 Alternatively, you may set the environment variables EVAS_CFLAGS
7090 and EVAS_LIBS to avoid the need to call pkg-config.
7091 See the pkg-config man page for more details.
7092
7093 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7094 See \`config.log' for more details." >&5
7095 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
7096 is in your PATH or set the PKG_CONFIG environment variable to the full
7097 path to pkg-config.
7098
7099 Alternatively, you may set the environment variables EVAS_CFLAGS
7100 and EVAS_LIBS to avoid the need to call pkg-config.
7101 See the pkg-config man page for more details.
7102
7103 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7104 See \`config.log' for more details." >&2;}
7105    { (exit 1); exit 1; }; }
7106 else
7107         EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
7108         EVAS_LIBS=$pkg_cv_EVAS_LIBS
7109         { echo "$as_me:$LINENO: result: yes" >&5
7110 echo "${ECHO_T}yes" >&6; }
7111         :
7112 fi
7113
7114 # Xlib
7115
7116 if test "x$have_software_xlib" = "xyes" -o "x$have_software_16_x11" = "xyes" -o "x$have_xrender_x11" = "xyes" -o "x$have_opengl_x11" = "xyes"; then
7117    ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7122 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7123 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
7124 # On Suns, sometimes $CPP names a directory.
7125 if test -n "$CPP" && test -d "$CPP"; then
7126   CPP=
7127 fi
7128 if test -z "$CPP"; then
7129   if test "${ac_cv_prog_CPP+set}" = set; then
7130   echo $ECHO_N "(cached) $ECHO_C" >&6
7131 else
7132       # Double quotes because CPP needs to be expanded
7133     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7134     do
7135       ac_preproc_ok=false
7136 for ac_c_preproc_warn_flag in '' yes
7137 do
7138   # Use a header file that comes with gcc, so configuring glibc
7139   # with a fresh cross-compiler works.
7140   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141   # <limits.h> exists even on freestanding compilers.
7142   # On the NeXT, cc -E runs the code through the compiler's parser,
7143   # not just through cpp. "Syntax error" is here to catch this case.
7144   cat >conftest.$ac_ext <<_ACEOF
7145 /* confdefs.h.  */
7146 _ACEOF
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h.  */
7150 #ifdef __STDC__
7151 # include <limits.h>
7152 #else
7153 # include <assert.h>
7154 #endif
7155                      Syntax error
7156 _ACEOF
7157 if { (ac_try="$ac_cpp conftest.$ac_ext"
7158 case "(($ac_try" in
7159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7160   *) ac_try_echo=$ac_try;;
7161 esac
7162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7163   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7164   ac_status=$?
7165   grep -v '^ *+' conftest.er1 >conftest.err
7166   rm -f conftest.er1
7167   cat conftest.err >&5
7168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169   (exit $ac_status); } >/dev/null && {
7170          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7171          test ! -s conftest.err
7172        }; then
7173   :
7174 else
7175   echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7177
7178   # Broken: fails on valid input.
7179 continue
7180 fi
7181
7182 rm -f conftest.err conftest.$ac_ext
7183
7184   # OK, works on sane cases.  Now check whether nonexistent headers
7185   # can be detected and how.
7186   cat >conftest.$ac_ext <<_ACEOF
7187 /* confdefs.h.  */
7188 _ACEOF
7189 cat confdefs.h >>conftest.$ac_ext
7190 cat >>conftest.$ac_ext <<_ACEOF
7191 /* end confdefs.h.  */
7192 #include <ac_nonexistent.h>
7193 _ACEOF
7194 if { (ac_try="$ac_cpp conftest.$ac_ext"
7195 case "(($ac_try" in
7196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197   *) ac_try_echo=$ac_try;;
7198 esac
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7201   ac_status=$?
7202   grep -v '^ *+' conftest.er1 >conftest.err
7203   rm -f conftest.er1
7204   cat conftest.err >&5
7205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206   (exit $ac_status); } >/dev/null && {
7207          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7208          test ! -s conftest.err
7209        }; then
7210   # Broken: success on invalid input.
7211 continue
7212 else
7213   echo "$as_me: failed program was:" >&5
7214 sed 's/^/| /' conftest.$ac_ext >&5
7215
7216   # Passes both tests.
7217 ac_preproc_ok=:
7218 break
7219 fi
7220
7221 rm -f conftest.err conftest.$ac_ext
7222
7223 done
7224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7225 rm -f conftest.err conftest.$ac_ext
7226 if $ac_preproc_ok; then
7227   break
7228 fi
7229
7230     done
7231     ac_cv_prog_CPP=$CPP
7232
7233 fi
7234   CPP=$ac_cv_prog_CPP
7235 else
7236   ac_cv_prog_CPP=$CPP
7237 fi
7238 { echo "$as_me:$LINENO: result: $CPP" >&5
7239 echo "${ECHO_T}$CPP" >&6; }
7240 ac_preproc_ok=false
7241 for ac_c_preproc_warn_flag in '' yes
7242 do
7243   # Use a header file that comes with gcc, so configuring glibc
7244   # with a fresh cross-compiler works.
7245   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7246   # <limits.h> exists even on freestanding compilers.
7247   # On the NeXT, cc -E runs the code through the compiler's parser,
7248   # not just through cpp. "Syntax error" is here to catch this case.
7249   cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h.  */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h.  */
7255 #ifdef __STDC__
7256 # include <limits.h>
7257 #else
7258 # include <assert.h>
7259 #endif
7260                      Syntax error
7261 _ACEOF
7262 if { (ac_try="$ac_cpp conftest.$ac_ext"
7263 case "(($ac_try" in
7264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265   *) ac_try_echo=$ac_try;;
7266 esac
7267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7269   ac_status=$?
7270   grep -v '^ *+' conftest.er1 >conftest.err
7271   rm -f conftest.er1
7272   cat conftest.err >&5
7273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274   (exit $ac_status); } >/dev/null && {
7275          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7276          test ! -s conftest.err
7277        }; then
7278   :
7279 else
7280   echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.$ac_ext >&5
7282
7283   # Broken: fails on valid input.
7284 continue
7285 fi
7286
7287 rm -f conftest.err conftest.$ac_ext
7288
7289   # OK, works on sane cases.  Now check whether nonexistent headers
7290   # can be detected and how.
7291   cat >conftest.$ac_ext <<_ACEOF
7292 /* confdefs.h.  */
7293 _ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h.  */
7297 #include <ac_nonexistent.h>
7298 _ACEOF
7299 if { (ac_try="$ac_cpp conftest.$ac_ext"
7300 case "(($ac_try" in
7301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7302   *) ac_try_echo=$ac_try;;
7303 esac
7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7306   ac_status=$?
7307   grep -v '^ *+' conftest.er1 >conftest.err
7308   rm -f conftest.er1
7309   cat conftest.err >&5
7310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311   (exit $ac_status); } >/dev/null && {
7312          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7313          test ! -s conftest.err
7314        }; then
7315   # Broken: success on invalid input.
7316 continue
7317 else
7318   echo "$as_me: failed program was:" >&5
7319 sed 's/^/| /' conftest.$ac_ext >&5
7320
7321   # Passes both tests.
7322 ac_preproc_ok=:
7323 break
7324 fi
7325
7326 rm -f conftest.err conftest.$ac_ext
7327
7328 done
7329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7330 rm -f conftest.err conftest.$ac_ext
7331 if $ac_preproc_ok; then
7332   :
7333 else
7334   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7335 See \`config.log' for more details." >&5
7336 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7337 See \`config.log' for more details." >&2;}
7338    { (exit 1); exit 1; }; }
7339 fi
7340
7341 ac_ext=c
7342 ac_cpp='$CPP $CPPFLAGS'
7343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7346
7347
7348 { echo "$as_me:$LINENO: checking for X" >&5
7349 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7350
7351
7352 # Check whether --with-x was given.
7353 if test "${with_x+set}" = set; then
7354   withval=$with_x;
7355 fi
7356
7357 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7358 if test "x$with_x" = xno; then
7359   # The user explicitly disabled X.
7360   have_x=disabled
7361 else
7362   case $x_includes,$x_libraries in #(
7363     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
7364 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
7365    { (exit 1); exit 1; }; };; #(
7366     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
7367   echo $ECHO_N "(cached) $ECHO_C" >&6
7368 else
7369   # One or both of the vars are not set, and there is no cached value.
7370 ac_x_includes=no ac_x_libraries=no
7371 rm -f -r conftest.dir
7372 if mkdir conftest.dir; then
7373   cd conftest.dir
7374   cat >Imakefile <<'_ACEOF'
7375 incroot:
7376         @echo incroot='${INCROOT}'
7377 usrlibdir:
7378         @echo usrlibdir='${USRLIBDIR}'
7379 libdir:
7380         @echo libdir='${LIBDIR}'
7381 _ACEOF
7382   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7383     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7384     for ac_var in incroot usrlibdir libdir; do
7385       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7386     done
7387     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7388     for ac_extension in a so sl; do
7389       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7390          test -f "$ac_im_libdir/libX11.$ac_extension"; then
7391         ac_im_usrlibdir=$ac_im_libdir; break
7392       fi
7393     done
7394     # Screen out bogus values from the imake configuration.  They are
7395     # bogus both because they are the default anyway, and because
7396     # using them would break gcc on systems where it needs fixed includes.
7397     case $ac_im_incroot in
7398         /usr/include) ac_x_includes= ;;
7399         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7400     esac
7401     case $ac_im_usrlibdir in
7402         /usr/lib | /lib) ;;
7403         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7404     esac
7405   fi
7406   cd ..
7407   rm -f -r conftest.dir
7408 fi
7409
7410 # Standard set of common directories for X headers.
7411 # Check X11 before X11Rn because it is often a symlink to the current release.
7412 ac_x_header_dirs='
7413 /usr/X11/include
7414 /usr/X11R6/include
7415 /usr/X11R5/include
7416 /usr/X11R4/include
7417
7418 /usr/include/X11
7419 /usr/include/X11R6
7420 /usr/include/X11R5
7421 /usr/include/X11R4
7422
7423 /usr/local/X11/include
7424 /usr/local/X11R6/include
7425 /usr/local/X11R5/include
7426 /usr/local/X11R4/include
7427
7428 /usr/local/include/X11
7429 /usr/local/include/X11R6
7430 /usr/local/include/X11R5
7431 /usr/local/include/X11R4
7432
7433 /usr/X386/include
7434 /usr/x386/include
7435 /usr/XFree86/include/X11
7436
7437 /usr/include
7438 /usr/local/include
7439 /usr/unsupported/include
7440 /usr/athena/include
7441 /usr/local/x11r5/include
7442 /usr/lpp/Xamples/include
7443
7444 /usr/openwin/include
7445 /usr/openwin/share/include'
7446
7447 if test "$ac_x_includes" = no; then
7448   # Guess where to find include files, by looking for Xlib.h.
7449   # First, try using that file with no special directory specified.
7450   cat >conftest.$ac_ext <<_ACEOF
7451 /* confdefs.h.  */
7452 _ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h.  */
7456 #include <X11/Xlib.h>
7457 _ACEOF
7458 if { (ac_try="$ac_cpp conftest.$ac_ext"
7459 case "(($ac_try" in
7460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7461   *) ac_try_echo=$ac_try;;
7462 esac
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7465   ac_status=$?
7466   grep -v '^ *+' conftest.er1 >conftest.err
7467   rm -f conftest.er1
7468   cat conftest.err >&5
7469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470   (exit $ac_status); } >/dev/null && {
7471          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7472          test ! -s conftest.err
7473        }; then
7474   # We can compile using X headers with no special include directory.
7475 ac_x_includes=
7476 else
7477   echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.$ac_ext >&5
7479
7480   for ac_dir in $ac_x_header_dirs; do
7481   if test -r "$ac_dir/X11/Xlib.h"; then
7482     ac_x_includes=$ac_dir
7483     break
7484   fi
7485 done
7486 fi
7487
7488 rm -f conftest.err conftest.$ac_ext
7489 fi # $ac_x_includes = no
7490
7491 if test "$ac_x_libraries" = no; then
7492   # Check for the libraries.
7493   # See if we find them without any special options.
7494   # Don't add to $LIBS permanently.
7495   ac_save_LIBS=$LIBS
7496   LIBS="-lX11 $LIBS"
7497   cat >conftest.$ac_ext <<_ACEOF
7498 /* confdefs.h.  */
7499 _ACEOF
7500 cat confdefs.h >>conftest.$ac_ext
7501 cat >>conftest.$ac_ext <<_ACEOF
7502 /* end confdefs.h.  */
7503 #include <X11/Xlib.h>
7504 int
7505 main ()
7506 {
7507 XrmInitialize ()
7508   ;
7509   return 0;
7510 }
7511 _ACEOF
7512 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (ac_try="$ac_link"
7514 case "(($ac_try" in
7515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7516   *) ac_try_echo=$ac_try;;
7517 esac
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519   (eval "$ac_link") 2>conftest.er1
7520   ac_status=$?
7521   grep -v '^ *+' conftest.er1 >conftest.err
7522   rm -f conftest.er1
7523   cat conftest.err >&5
7524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525   (exit $ac_status); } && {
7526          test -z "$ac_c_werror_flag" ||
7527          test ! -s conftest.err
7528        } && test -s conftest$ac_exeext &&
7529        $as_test_x conftest$ac_exeext; then
7530   LIBS=$ac_save_LIBS
7531 # We can link X programs with no special library path.
7532 ac_x_libraries=
7533 else
7534   echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7536
7537         LIBS=$ac_save_LIBS
7538 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7539 do
7540   # Don't even attempt the hair of trying to link an X program!
7541   for ac_extension in a so sl; do
7542     if test -r "$ac_dir/libX11.$ac_extension"; then
7543       ac_x_libraries=$ac_dir
7544       break 2
7545     fi
7546   done
7547 done
7548 fi
7549
7550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7551       conftest$ac_exeext conftest.$ac_ext
7552 fi # $ac_x_libraries = no
7553
7554 case $ac_x_includes,$ac_x_libraries in #(
7555   no,* | *,no | *\'*)
7556     # Didn't find X, or a directory has "'" in its name.
7557     ac_cv_have_x="have_x=no";; #(
7558   *)
7559     # Record where we found X for the cache.
7560     ac_cv_have_x="have_x=yes\
7561         ac_x_includes='$ac_x_includes'\
7562         ac_x_libraries='$ac_x_libraries'"
7563 esac
7564 fi
7565 ;; #(
7566     *) have_x=yes;;
7567   esac
7568   eval "$ac_cv_have_x"
7569 fi # $with_x != no
7570
7571 if test "$have_x" != yes; then
7572   { echo "$as_me:$LINENO: result: $have_x" >&5
7573 echo "${ECHO_T}$have_x" >&6; }
7574   no_x=yes
7575 else
7576   # If each of the values was on the command line, it overrides each guess.
7577   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7578   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7579   # Update the cache value to reflect the command line values.
7580   ac_cv_have_x="have_x=yes\
7581         ac_x_includes='$x_includes'\
7582         ac_x_libraries='$x_libraries'"
7583   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7584 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
7585 fi
7586
7587 if test "$no_x" = yes; then
7588   # Not all programs may use this symbol, but it does not hurt to define it.
7589
7590 cat >>confdefs.h <<\_ACEOF
7591 #define X_DISPLAY_MISSING 1
7592 _ACEOF
7593
7594   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7595 else
7596   if test -n "$x_includes"; then
7597     X_CFLAGS="$X_CFLAGS -I$x_includes"
7598   fi
7599
7600   # It would also be nice to do this for all -L options, not just this one.
7601   if test -n "$x_libraries"; then
7602     X_LIBS="$X_LIBS -L$x_libraries"
7603     # For Solaris; some versions of Sun CC require a space after -R and
7604     # others require no space.  Words are not sufficient . . . .
7605     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7606 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
7607     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7608     ac_xsave_c_werror_flag=$ac_c_werror_flag
7609     ac_c_werror_flag=yes
7610     cat >conftest.$ac_ext <<_ACEOF
7611 /* confdefs.h.  */
7612 _ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h.  */
7616
7617 int
7618 main ()
7619 {
7620
7621   ;
7622   return 0;
7623 }
7624 _ACEOF
7625 rm -f conftest.$ac_objext conftest$ac_exeext
7626 if { (ac_try="$ac_link"
7627 case "(($ac_try" in
7628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7629   *) ac_try_echo=$ac_try;;
7630 esac
7631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7632   (eval "$ac_link") 2>conftest.er1
7633   ac_status=$?
7634   grep -v '^ *+' conftest.er1 >conftest.err
7635   rm -f conftest.er1
7636   cat conftest.err >&5
7637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638   (exit $ac_status); } && {
7639          test -z "$ac_c_werror_flag" ||
7640          test ! -s conftest.err
7641        } && test -s conftest$ac_exeext &&
7642        $as_test_x conftest$ac_exeext; then
7643   { echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6; }
7645        X_LIBS="$X_LIBS -R$x_libraries"
7646 else
7647   echo "$as_me: failed program was:" >&5
7648 sed 's/^/| /' conftest.$ac_ext >&5
7649
7650         LIBS="$ac_xsave_LIBS -R $x_libraries"
7651        cat >conftest.$ac_ext <<_ACEOF
7652 /* confdefs.h.  */
7653 _ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h.  */
7657
7658 int
7659 main ()
7660 {
7661
7662   ;
7663   return 0;
7664 }
7665 _ACEOF
7666 rm -f conftest.$ac_objext conftest$ac_exeext
7667 if { (ac_try="$ac_link"
7668 case "(($ac_try" in
7669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7670   *) ac_try_echo=$ac_try;;
7671 esac
7672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7673   (eval "$ac_link") 2>conftest.er1
7674   ac_status=$?
7675   grep -v '^ *+' conftest.er1 >conftest.err
7676   rm -f conftest.er1
7677   cat conftest.err >&5
7678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679   (exit $ac_status); } && {
7680          test -z "$ac_c_werror_flag" ||
7681          test ! -s conftest.err
7682        } && test -s conftest$ac_exeext &&
7683        $as_test_x conftest$ac_exeext; then
7684   { echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6; }
7686           X_LIBS="$X_LIBS -R $x_libraries"
7687 else
7688   echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7690
7691         { echo "$as_me:$LINENO: result: neither works" >&5
7692 echo "${ECHO_T}neither works" >&6; }
7693 fi
7694
7695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7696       conftest$ac_exeext conftest.$ac_ext
7697 fi
7698
7699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7700       conftest$ac_exeext conftest.$ac_ext
7701     ac_c_werror_flag=$ac_xsave_c_werror_flag
7702     LIBS=$ac_xsave_LIBS
7703   fi
7704
7705   # Check for system-dependent libraries X programs must link with.
7706   # Do this before checking for the system-independent R6 libraries
7707   # (-lICE), since we may need -lsocket or whatever for X linking.
7708
7709   if test "$ISC" = yes; then
7710     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7711   else
7712     # Martyn Johnson says this is needed for Ultrix, if the X
7713     # libraries were built with DECnet support.  And Karl Berry says
7714     # the Alpha needs dnet_stub (dnet does not exist).
7715     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7716     cat >conftest.$ac_ext <<_ACEOF
7717 /* confdefs.h.  */
7718 _ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h.  */
7722
7723 /* Override any GCC internal prototype to avoid an error.
7724    Use char because int might match the return type of a GCC
7725    builtin and then its argument prototype would still apply.  */
7726 #ifdef __cplusplus
7727 extern "C"
7728 #endif
7729 char XOpenDisplay ();
7730 int
7731 main ()
7732 {
7733 return XOpenDisplay ();
7734   ;
7735   return 0;
7736 }
7737 _ACEOF
7738 rm -f conftest.$ac_objext conftest$ac_exeext
7739 if { (ac_try="$ac_link"
7740 case "(($ac_try" in
7741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7742   *) ac_try_echo=$ac_try;;
7743 esac
7744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7745   (eval "$ac_link") 2>conftest.er1
7746   ac_status=$?
7747   grep -v '^ *+' conftest.er1 >conftest.err
7748   rm -f conftest.er1
7749   cat conftest.err >&5
7750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751   (exit $ac_status); } && {
7752          test -z "$ac_c_werror_flag" ||
7753          test ! -s conftest.err
7754        } && test -s conftest$ac_exeext &&
7755        $as_test_x conftest$ac_exeext; then
7756   :
7757 else
7758   echo "$as_me: failed program was:" >&5
7759 sed 's/^/| /' conftest.$ac_ext >&5
7760
7761         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7762 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
7763 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7764   echo $ECHO_N "(cached) $ECHO_C" >&6
7765 else
7766   ac_check_lib_save_LIBS=$LIBS
7767 LIBS="-ldnet  $LIBS"
7768 cat >conftest.$ac_ext <<_ACEOF
7769 /* confdefs.h.  */
7770 _ACEOF
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h.  */
7774
7775 /* Override any GCC internal prototype to avoid an error.
7776    Use char because int might match the return type of a GCC
7777    builtin and then its argument prototype would still apply.  */
7778 #ifdef __cplusplus
7779 extern "C"
7780 #endif
7781 char dnet_ntoa ();
7782 int
7783 main ()
7784 {
7785 return dnet_ntoa ();
7786   ;
7787   return 0;
7788 }
7789 _ACEOF
7790 rm -f conftest.$ac_objext conftest$ac_exeext
7791 if { (ac_try="$ac_link"
7792 case "(($ac_try" in
7793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7794   *) ac_try_echo=$ac_try;;
7795 esac
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797   (eval "$ac_link") 2>conftest.er1
7798   ac_status=$?
7799   grep -v '^ *+' conftest.er1 >conftest.err
7800   rm -f conftest.er1
7801   cat conftest.err >&5
7802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803   (exit $ac_status); } && {
7804          test -z "$ac_c_werror_flag" ||
7805          test ! -s conftest.err
7806        } && test -s conftest$ac_exeext &&
7807        $as_test_x conftest$ac_exeext; then
7808   ac_cv_lib_dnet_dnet_ntoa=yes
7809 else
7810   echo "$as_me: failed program was:" >&5
7811 sed 's/^/| /' conftest.$ac_ext >&5
7812
7813         ac_cv_lib_dnet_dnet_ntoa=no
7814 fi
7815
7816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7817       conftest$ac_exeext conftest.$ac_ext
7818 LIBS=$ac_check_lib_save_LIBS
7819 fi
7820 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7821 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7822 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7823   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7824 fi
7825
7826     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7827       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7828 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
7829 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7830   echo $ECHO_N "(cached) $ECHO_C" >&6
7831 else
7832   ac_check_lib_save_LIBS=$LIBS
7833 LIBS="-ldnet_stub  $LIBS"
7834 cat >conftest.$ac_ext <<_ACEOF
7835 /* confdefs.h.  */
7836 _ACEOF
7837 cat confdefs.h >>conftest.$ac_ext
7838 cat >>conftest.$ac_ext <<_ACEOF
7839 /* end confdefs.h.  */
7840
7841 /* Override any GCC internal prototype to avoid an error.
7842    Use char because int might match the return type of a GCC
7843    builtin and then its argument prototype would still apply.  */
7844 #ifdef __cplusplus
7845 extern "C"
7846 #endif
7847 char dnet_ntoa ();
7848 int
7849 main ()
7850 {
7851 return dnet_ntoa ();
7852   ;
7853   return 0;
7854 }
7855 _ACEOF
7856 rm -f conftest.$ac_objext conftest$ac_exeext
7857 if { (ac_try="$ac_link"
7858 case "(($ac_try" in
7859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7860   *) ac_try_echo=$ac_try;;
7861 esac
7862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7863   (eval "$ac_link") 2>conftest.er1
7864   ac_status=$?
7865   grep -v '^ *+' conftest.er1 >conftest.err
7866   rm -f conftest.er1
7867   cat conftest.err >&5
7868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869   (exit $ac_status); } && {
7870          test -z "$ac_c_werror_flag" ||
7871          test ! -s conftest.err
7872        } && test -s conftest$ac_exeext &&
7873        $as_test_x conftest$ac_exeext; then
7874   ac_cv_lib_dnet_stub_dnet_ntoa=yes
7875 else
7876   echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7878
7879         ac_cv_lib_dnet_stub_dnet_ntoa=no
7880 fi
7881
7882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7883       conftest$ac_exeext conftest.$ac_ext
7884 LIBS=$ac_check_lib_save_LIBS
7885 fi
7886 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7887 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7888 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7889   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7890 fi
7891
7892     fi
7893 fi
7894
7895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7896       conftest$ac_exeext conftest.$ac_ext
7897     LIBS="$ac_xsave_LIBS"
7898
7899     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7900     # to get the SysV transport functions.
7901     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7902     # needs -lnsl.
7903     # The nsl library prevents programs from opening the X display
7904     # on Irix 5.2, according to T.E. Dickey.
7905     # The functions gethostbyname, getservbyname, and inet_addr are
7906     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7907     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
7908 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
7909 if test "${ac_cv_func_gethostbyname+set}" = set; then
7910   echo $ECHO_N "(cached) $ECHO_C" >&6
7911 else
7912   cat >conftest.$ac_ext <<_ACEOF
7913 /* confdefs.h.  */
7914 _ACEOF
7915 cat confdefs.h >>conftest.$ac_ext
7916 cat >>conftest.$ac_ext <<_ACEOF
7917 /* end confdefs.h.  */
7918 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
7919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7920 #define gethostbyname innocuous_gethostbyname
7921
7922 /* System header to define __stub macros and hopefully few prototypes,
7923     which can conflict with char gethostbyname (); below.
7924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7925     <limits.h> exists even on freestanding compilers.  */
7926
7927 #ifdef __STDC__
7928 # include <limits.h>
7929 #else
7930 # include <assert.h>
7931 #endif
7932
7933 #undef gethostbyname
7934
7935 /* Override any GCC internal prototype to avoid an error.
7936    Use char because int might match the return type of a GCC
7937    builtin and then its argument prototype would still apply.  */
7938 #ifdef __cplusplus
7939 extern "C"
7940 #endif
7941 char gethostbyname ();
7942 /* The GNU C library defines this for functions which it implements
7943     to always fail with ENOSYS.  Some functions are actually named
7944     something starting with __ and the normal name is an alias.  */
7945 #if defined __stub_gethostbyname || defined __stub___gethostbyname
7946 choke me
7947 #endif
7948
7949 int
7950 main ()
7951 {
7952 return gethostbyname ();
7953   ;
7954   return 0;
7955 }
7956 _ACEOF
7957 rm -f conftest.$ac_objext conftest$ac_exeext
7958 if { (ac_try="$ac_link"
7959 case "(($ac_try" in
7960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7961   *) ac_try_echo=$ac_try;;
7962 esac
7963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7964   (eval "$ac_link") 2>conftest.er1
7965   ac_status=$?
7966   grep -v '^ *+' conftest.er1 >conftest.err
7967   rm -f conftest.er1
7968   cat conftest.err >&5
7969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970   (exit $ac_status); } && {
7971          test -z "$ac_c_werror_flag" ||
7972          test ! -s conftest.err
7973        } && test -s conftest$ac_exeext &&
7974        $as_test_x conftest$ac_exeext; then
7975   ac_cv_func_gethostbyname=yes
7976 else
7977   echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.$ac_ext >&5
7979
7980         ac_cv_func_gethostbyname=no
7981 fi
7982
7983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7984       conftest$ac_exeext conftest.$ac_ext
7985 fi
7986 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7987 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
7988
7989     if test $ac_cv_func_gethostbyname = no; then
7990       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7991 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7992 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7993   echo $ECHO_N "(cached) $ECHO_C" >&6
7994 else
7995   ac_check_lib_save_LIBS=$LIBS
7996 LIBS="-lnsl  $LIBS"
7997 cat >conftest.$ac_ext <<_ACEOF
7998 /* confdefs.h.  */
7999 _ACEOF
8000 cat confdefs.h >>conftest.$ac_ext
8001 cat >>conftest.$ac_ext <<_ACEOF
8002 /* end confdefs.h.  */
8003
8004 /* Override any GCC internal prototype to avoid an error.
8005    Use char because int might match the return type of a GCC
8006    builtin and then its argument prototype would still apply.  */
8007 #ifdef __cplusplus
8008 extern "C"
8009 #endif
8010 char gethostbyname ();
8011 int
8012 main ()
8013 {
8014 return gethostbyname ();
8015   ;
8016   return 0;
8017 }
8018 _ACEOF
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (ac_try="$ac_link"
8021 case "(($ac_try" in
8022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8023   *) ac_try_echo=$ac_try;;
8024 esac
8025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8026   (eval "$ac_link") 2>conftest.er1
8027   ac_status=$?
8028   grep -v '^ *+' conftest.er1 >conftest.err
8029   rm -f conftest.er1
8030   cat conftest.err >&5
8031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032   (exit $ac_status); } && {
8033          test -z "$ac_c_werror_flag" ||
8034          test ! -s conftest.err
8035        } && test -s conftest$ac_exeext &&
8036        $as_test_x conftest$ac_exeext; then
8037   ac_cv_lib_nsl_gethostbyname=yes
8038 else
8039   echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8041
8042         ac_cv_lib_nsl_gethostbyname=no
8043 fi
8044
8045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8046       conftest$ac_exeext conftest.$ac_ext
8047 LIBS=$ac_check_lib_save_LIBS
8048 fi
8049 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8050 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
8051 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8052   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8053 fi
8054
8055       if test $ac_cv_lib_nsl_gethostbyname = no; then
8056         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8057 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
8058 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8059   echo $ECHO_N "(cached) $ECHO_C" >&6
8060 else
8061   ac_check_lib_save_LIBS=$LIBS
8062 LIBS="-lbsd  $LIBS"
8063 cat >conftest.$ac_ext <<_ACEOF
8064 /* confdefs.h.  */
8065 _ACEOF
8066 cat confdefs.h >>conftest.$ac_ext
8067 cat >>conftest.$ac_ext <<_ACEOF
8068 /* end confdefs.h.  */
8069
8070 /* Override any GCC internal prototype to avoid an error.
8071    Use char because int might match the return type of a GCC
8072    builtin and then its argument prototype would still apply.  */
8073 #ifdef __cplusplus
8074 extern "C"
8075 #endif
8076 char gethostbyname ();
8077 int
8078 main ()
8079 {
8080 return gethostbyname ();
8081   ;
8082   return 0;
8083 }
8084 _ACEOF
8085 rm -f conftest.$ac_objext conftest$ac_exeext
8086 if { (ac_try="$ac_link"
8087 case "(($ac_try" in
8088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089   *) ac_try_echo=$ac_try;;
8090 esac
8091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8092   (eval "$ac_link") 2>conftest.er1
8093   ac_status=$?
8094   grep -v '^ *+' conftest.er1 >conftest.err
8095   rm -f conftest.er1
8096   cat conftest.err >&5
8097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098   (exit $ac_status); } && {
8099          test -z "$ac_c_werror_flag" ||
8100          test ! -s conftest.err
8101        } && test -s conftest$ac_exeext &&
8102        $as_test_x conftest$ac_exeext; then
8103   ac_cv_lib_bsd_gethostbyname=yes
8104 else
8105   echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.$ac_ext >&5
8107
8108         ac_cv_lib_bsd_gethostbyname=no
8109 fi
8110
8111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8112       conftest$ac_exeext conftest.$ac_ext
8113 LIBS=$ac_check_lib_save_LIBS
8114 fi
8115 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8116 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
8117 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8118   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8119 fi
8120
8121       fi
8122     fi
8123
8124     # lieder@skyler.mavd.honeywell.com says without -lsocket,
8125     # socket/setsockopt and other routines are undefined under SCO ODT
8126     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
8127     # on later versions), says Simon Leinen: it contains gethostby*
8128     # variants that don't use the name server (or something).  -lsocket
8129     # must be given before -lnsl if both are needed.  We assume that
8130     # if connect needs -lnsl, so does gethostbyname.
8131     { echo "$as_me:$LINENO: checking for connect" >&5
8132 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
8133 if test "${ac_cv_func_connect+set}" = set; then
8134   echo $ECHO_N "(cached) $ECHO_C" >&6
8135 else
8136   cat >conftest.$ac_ext <<_ACEOF
8137 /* confdefs.h.  */
8138 _ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h.  */
8142 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
8143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8144 #define connect innocuous_connect
8145
8146 /* System header to define __stub macros and hopefully few prototypes,
8147     which can conflict with char connect (); below.
8148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8149     <limits.h> exists even on freestanding compilers.  */
8150
8151 #ifdef __STDC__
8152 # include <limits.h>
8153 #else
8154 # include <assert.h>
8155 #endif
8156
8157 #undef connect
8158
8159 /* Override any GCC internal prototype to avoid an error.
8160    Use char because int might match the return type of a GCC
8161    builtin and then its argument prototype would still apply.  */
8162 #ifdef __cplusplus
8163 extern "C"
8164 #endif
8165 char connect ();
8166 /* The GNU C library defines this for functions which it implements
8167     to always fail with ENOSYS.  Some functions are actually named
8168     something starting with __ and the normal name is an alias.  */
8169 #if defined __stub_connect || defined __stub___connect
8170 choke me
8171 #endif
8172
8173 int
8174 main ()
8175 {
8176 return connect ();
8177   ;
8178   return 0;
8179 }
8180 _ACEOF
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8183 case "(($ac_try" in
8184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185   *) ac_try_echo=$ac_try;;
8186 esac
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188   (eval "$ac_link") 2>conftest.er1
8189   ac_status=$?
8190   grep -v '^ *+' conftest.er1 >conftest.err
8191   rm -f conftest.er1
8192   cat conftest.err >&5
8193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194   (exit $ac_status); } && {
8195          test -z "$ac_c_werror_flag" ||
8196          test ! -s conftest.err
8197        } && test -s conftest$ac_exeext &&
8198        $as_test_x conftest$ac_exeext; then
8199   ac_cv_func_connect=yes
8200 else
8201   echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8203
8204         ac_cv_func_connect=no
8205 fi
8206
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208       conftest$ac_exeext conftest.$ac_ext
8209 fi
8210 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8211 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
8212
8213     if test $ac_cv_func_connect = no; then
8214       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8215 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
8216 if test "${ac_cv_lib_socket_connect+set}" = set; then
8217   echo $ECHO_N "(cached) $ECHO_C" >&6
8218 else
8219   ac_check_lib_save_LIBS=$LIBS
8220 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8221 cat >conftest.$ac_ext <<_ACEOF
8222 /* confdefs.h.  */
8223 _ACEOF
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h.  */
8227
8228 /* Override any GCC internal prototype to avoid an error.
8229    Use char because int might match the return type of a GCC
8230    builtin and then its argument prototype would still apply.  */
8231 #ifdef __cplusplus
8232 extern "C"
8233 #endif
8234 char connect ();
8235 int
8236 main ()
8237 {
8238 return connect ();
8239   ;
8240   return 0;
8241 }
8242 _ACEOF
8243 rm -f conftest.$ac_objext conftest$ac_exeext
8244 if { (ac_try="$ac_link"
8245 case "(($ac_try" in
8246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247   *) ac_try_echo=$ac_try;;
8248 esac
8249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250   (eval "$ac_link") 2>conftest.er1
8251   ac_status=$?
8252   grep -v '^ *+' conftest.er1 >conftest.err
8253   rm -f conftest.er1
8254   cat conftest.err >&5
8255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256   (exit $ac_status); } && {
8257          test -z "$ac_c_werror_flag" ||
8258          test ! -s conftest.err
8259        } && test -s conftest$ac_exeext &&
8260        $as_test_x conftest$ac_exeext; then
8261   ac_cv_lib_socket_connect=yes
8262 else
8263   echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8265
8266         ac_cv_lib_socket_connect=no
8267 fi
8268
8269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8270       conftest$ac_exeext conftest.$ac_ext
8271 LIBS=$ac_check_lib_save_LIBS
8272 fi
8273 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8274 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
8275 if test $ac_cv_lib_socket_connect = yes; then
8276   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8277 fi
8278
8279     fi
8280
8281     # Guillermo Gomez says -lposix is necessary on A/UX.
8282     { echo "$as_me:$LINENO: checking for remove" >&5
8283 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
8284 if test "${ac_cv_func_remove+set}" = set; then
8285   echo $ECHO_N "(cached) $ECHO_C" >&6
8286 else
8287   cat >conftest.$ac_ext <<_ACEOF
8288 /* confdefs.h.  */
8289 _ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h.  */
8293 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
8294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8295 #define remove innocuous_remove
8296
8297 /* System header to define __stub macros and hopefully few prototypes,
8298     which can conflict with char remove (); below.
8299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8300     <limits.h> exists even on freestanding compilers.  */
8301
8302 #ifdef __STDC__
8303 # include <limits.h>
8304 #else
8305 # include <assert.h>
8306 #endif
8307
8308 #undef remove
8309
8310 /* Override any GCC internal prototype to avoid an error.
8311    Use char because int might match the return type of a GCC
8312    builtin and then its argument prototype would still apply.  */
8313 #ifdef __cplusplus
8314 extern "C"
8315 #endif
8316 char remove ();
8317 /* The GNU C library defines this for functions which it implements
8318     to always fail with ENOSYS.  Some functions are actually named
8319     something starting with __ and the normal name is an alias.  */
8320 #if defined __stub_remove || defined __stub___remove
8321 choke me
8322 #endif
8323
8324 int
8325 main ()
8326 {
8327 return remove ();
8328   ;
8329   return 0;
8330 }
8331 _ACEOF
8332 rm -f conftest.$ac_objext conftest$ac_exeext
8333 if { (ac_try="$ac_link"
8334 case "(($ac_try" in
8335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336   *) ac_try_echo=$ac_try;;
8337 esac
8338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339   (eval "$ac_link") 2>conftest.er1
8340   ac_status=$?
8341   grep -v '^ *+' conftest.er1 >conftest.err
8342   rm -f conftest.er1
8343   cat conftest.err >&5
8344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345   (exit $ac_status); } && {
8346          test -z "$ac_c_werror_flag" ||
8347          test ! -s conftest.err
8348        } && test -s conftest$ac_exeext &&
8349        $as_test_x conftest$ac_exeext; then
8350   ac_cv_func_remove=yes
8351 else
8352   echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.$ac_ext >&5
8354
8355         ac_cv_func_remove=no
8356 fi
8357
8358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8359       conftest$ac_exeext conftest.$ac_ext
8360 fi
8361 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8362 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
8363
8364     if test $ac_cv_func_remove = no; then
8365       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8366 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
8367 if test "${ac_cv_lib_posix_remove+set}" = set; then
8368   echo $ECHO_N "(cached) $ECHO_C" >&6
8369 else
8370   ac_check_lib_save_LIBS=$LIBS
8371 LIBS="-lposix  $LIBS"
8372 cat >conftest.$ac_ext <<_ACEOF
8373 /* confdefs.h.  */
8374 _ACEOF
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h.  */
8378
8379 /* Override any GCC internal prototype to avoid an error.
8380    Use char because int might match the return type of a GCC
8381    builtin and then its argument prototype would still apply.  */
8382 #ifdef __cplusplus
8383 extern "C"
8384 #endif
8385 char remove ();
8386 int
8387 main ()
8388 {
8389 return remove ();
8390   ;
8391   return 0;
8392 }
8393 _ACEOF
8394 rm -f conftest.$ac_objext conftest$ac_exeext
8395 if { (ac_try="$ac_link"
8396 case "(($ac_try" in
8397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8398   *) ac_try_echo=$ac_try;;
8399 esac
8400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8401   (eval "$ac_link") 2>conftest.er1
8402   ac_status=$?
8403   grep -v '^ *+' conftest.er1 >conftest.err
8404   rm -f conftest.er1
8405   cat conftest.err >&5
8406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407   (exit $ac_status); } && {
8408          test -z "$ac_c_werror_flag" ||
8409          test ! -s conftest.err
8410        } && test -s conftest$ac_exeext &&
8411        $as_test_x conftest$ac_exeext; then
8412   ac_cv_lib_posix_remove=yes
8413 else
8414   echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8416
8417         ac_cv_lib_posix_remove=no
8418 fi
8419
8420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8421       conftest$ac_exeext conftest.$ac_ext
8422 LIBS=$ac_check_lib_save_LIBS
8423 fi
8424 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8425 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
8426 if test $ac_cv_lib_posix_remove = yes; then
8427   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8428 fi
8429
8430     fi
8431
8432     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8433     { echo "$as_me:$LINENO: checking for shmat" >&5
8434 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
8435 if test "${ac_cv_func_shmat+set}" = set; then
8436   echo $ECHO_N "(cached) $ECHO_C" >&6
8437 else
8438   cat >conftest.$ac_ext <<_ACEOF
8439 /* confdefs.h.  */
8440 _ACEOF
8441 cat confdefs.h >>conftest.$ac_ext
8442 cat >>conftest.$ac_ext <<_ACEOF
8443 /* end confdefs.h.  */
8444 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
8445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8446 #define shmat innocuous_shmat
8447
8448 /* System header to define __stub macros and hopefully few prototypes,
8449     which can conflict with char shmat (); below.
8450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8451     <limits.h> exists even on freestanding compilers.  */
8452
8453 #ifdef __STDC__
8454 # include <limits.h>
8455 #else
8456 # include <assert.h>
8457 #endif
8458
8459 #undef shmat
8460
8461 /* Override any GCC internal prototype to avoid an error.
8462    Use char because int might match the return type of a GCC
8463    builtin and then its argument prototype would still apply.  */
8464 #ifdef __cplusplus
8465 extern "C"
8466 #endif
8467 char shmat ();
8468 /* The GNU C library defines this for functions which it implements
8469     to always fail with ENOSYS.  Some functions are actually named
8470     something starting with __ and the normal name is an alias.  */
8471 #if defined __stub_shmat || defined __stub___shmat
8472 choke me
8473 #endif
8474
8475 int
8476 main ()
8477 {
8478 return shmat ();
8479   ;
8480   return 0;
8481 }
8482 _ACEOF
8483 rm -f conftest.$ac_objext conftest$ac_exeext
8484 if { (ac_try="$ac_link"
8485 case "(($ac_try" in
8486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487   *) ac_try_echo=$ac_try;;
8488 esac
8489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490   (eval "$ac_link") 2>conftest.er1
8491   ac_status=$?
8492   grep -v '^ *+' conftest.er1 >conftest.err
8493   rm -f conftest.er1
8494   cat conftest.err >&5
8495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496   (exit $ac_status); } && {
8497          test -z "$ac_c_werror_flag" ||
8498          test ! -s conftest.err
8499        } && test -s conftest$ac_exeext &&
8500        $as_test_x conftest$ac_exeext; then
8501   ac_cv_func_shmat=yes
8502 else
8503   echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.$ac_ext >&5
8505
8506         ac_cv_func_shmat=no
8507 fi
8508
8509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8510       conftest$ac_exeext conftest.$ac_ext
8511 fi
8512 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8513 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
8514
8515     if test $ac_cv_func_shmat = no; then
8516       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8517 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
8518 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8519   echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else
8521   ac_check_lib_save_LIBS=$LIBS
8522 LIBS="-lipc  $LIBS"
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h.  */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h.  */
8529
8530 /* Override any GCC internal prototype to avoid an error.
8531    Use char because int might match the return type of a GCC
8532    builtin and then its argument prototype would still apply.  */
8533 #ifdef __cplusplus
8534 extern "C"
8535 #endif
8536 char shmat ();
8537 int
8538 main ()
8539 {
8540 return shmat ();
8541   ;
8542   return 0;
8543 }
8544 _ACEOF
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (ac_try="$ac_link"
8547 case "(($ac_try" in
8548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8549   *) ac_try_echo=$ac_try;;
8550 esac
8551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8552   (eval "$ac_link") 2>conftest.er1
8553   ac_status=$?
8554   grep -v '^ *+' conftest.er1 >conftest.err
8555   rm -f conftest.er1
8556   cat conftest.err >&5
8557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558   (exit $ac_status); } && {
8559          test -z "$ac_c_werror_flag" ||
8560          test ! -s conftest.err
8561        } && test -s conftest$ac_exeext &&
8562        $as_test_x conftest$ac_exeext; then
8563   ac_cv_lib_ipc_shmat=yes
8564 else
8565   echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8567
8568         ac_cv_lib_ipc_shmat=no
8569 fi
8570
8571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8572       conftest$ac_exeext conftest.$ac_ext
8573 LIBS=$ac_check_lib_save_LIBS
8574 fi
8575 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8576 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
8577 if test $ac_cv_lib_ipc_shmat = yes; then
8578   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8579 fi
8580
8581     fi
8582   fi
8583
8584   # Check for libraries that X11R6 Xt/Xaw programs need.
8585   ac_save_LDFLAGS=$LDFLAGS
8586   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8587   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8588   # check for ICE first), but we must link in the order -lSM -lICE or
8589   # we get undefined symbols.  So assume we have SM if we have ICE.
8590   # These have to be linked with before -lX11, unlike the other
8591   # libraries we check for below, so use a different variable.
8592   # John Interrante, Karl Berry
8593   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8594 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
8595 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8596   echo $ECHO_N "(cached) $ECHO_C" >&6
8597 else
8598   ac_check_lib_save_LIBS=$LIBS
8599 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8600 cat >conftest.$ac_ext <<_ACEOF
8601 /* confdefs.h.  */
8602 _ACEOF
8603 cat confdefs.h >>conftest.$ac_ext
8604 cat >>conftest.$ac_ext <<_ACEOF
8605 /* end confdefs.h.  */
8606
8607 /* Override any GCC internal prototype to avoid an error.
8608    Use char because int might match the return type of a GCC
8609    builtin and then its argument prototype would still apply.  */
8610 #ifdef __cplusplus
8611 extern "C"
8612 #endif
8613 char IceConnectionNumber ();
8614 int
8615 main ()
8616 {
8617 return IceConnectionNumber ();
8618   ;
8619   return 0;
8620 }
8621 _ACEOF
8622 rm -f conftest.$ac_objext conftest$ac_exeext
8623 if { (ac_try="$ac_link"
8624 case "(($ac_try" in
8625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8626   *) ac_try_echo=$ac_try;;
8627 esac
8628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8629   (eval "$ac_link") 2>conftest.er1
8630   ac_status=$?
8631   grep -v '^ *+' conftest.er1 >conftest.err
8632   rm -f conftest.er1
8633   cat conftest.err >&5
8634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635   (exit $ac_status); } && {
8636          test -z "$ac_c_werror_flag" ||
8637          test ! -s conftest.err
8638        } && test -s conftest$ac_exeext &&
8639        $as_test_x conftest$ac_exeext; then
8640   ac_cv_lib_ICE_IceConnectionNumber=yes
8641 else
8642   echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.$ac_ext >&5
8644
8645         ac_cv_lib_ICE_IceConnectionNumber=no
8646 fi
8647
8648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8649       conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8651 fi
8652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8653 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8654 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8655   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8656 fi
8657
8658   LDFLAGS=$ac_save_LDFLAGS
8659
8660 fi
8661
8662    { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
8663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
8664 if test "${ac_cv_path_GREP+set}" = set; then
8665   echo $ECHO_N "(cached) $ECHO_C" >&6
8666 else
8667   # Extract the first word of "grep ggrep" to use in msg output
8668 if test -z "$GREP"; then
8669 set dummy grep ggrep; ac_prog_name=$2
8670 if test "${ac_cv_path_GREP+set}" = set; then
8671   echo $ECHO_N "(cached) $ECHO_C" >&6
8672 else
8673   ac_path_GREP_found=false
8674 # Loop through the user's path and test for each of PROGNAME-LIST
8675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8677 do
8678   IFS=$as_save_IFS
8679   test -z "$as_dir" && as_dir=.
8680   for ac_prog in grep ggrep; do
8681   for ac_exec_ext in '' $ac_executable_extensions; do
8682     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8683     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
8684     # Check for GNU ac_path_GREP and select it if it is found.
8685   # Check for GNU $ac_path_GREP
8686 case `"$ac_path_GREP" --version 2>&1` in
8687 *GNU*)
8688   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8689 *)
8690   ac_count=0
8691   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8692   while :
8693   do
8694     cat "conftest.in" "conftest.in" >"conftest.tmp"
8695     mv "conftest.tmp" "conftest.in"
8696     cp "conftest.in" "conftest.nl"
8697     echo 'GREP' >> "conftest.nl"
8698     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8699     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8700     ac_count=`expr $ac_count + 1`
8701     if test $ac_count -gt ${ac_path_GREP_max-0}; then
8702       # Best one so far, save it but keep looking for a better one
8703       ac_cv_path_GREP="$ac_path_GREP"
8704       ac_path_GREP_max=$ac_count
8705     fi
8706     # 10*(2^10) chars as input seems more than enough
8707     test $ac_count -gt 10 && break
8708   done
8709   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8710 esac
8711
8712
8713     $ac_path_GREP_found && break 3
8714   done
8715 done
8716
8717 done
8718 IFS=$as_save_IFS
8719
8720
8721 fi
8722
8723 GREP="$ac_cv_path_GREP"
8724 if test -z "$GREP"; then
8725   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8727    { (exit 1); exit 1; }; }
8728 fi
8729
8730 else
8731   ac_cv_path_GREP=$GREP
8732 fi
8733
8734
8735 fi
8736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
8738  GREP="$ac_cv_path_GREP"
8739
8740
8741 { echo "$as_me:$LINENO: checking for egrep" >&5
8742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
8743 if test "${ac_cv_path_EGREP+set}" = set; then
8744   echo $ECHO_N "(cached) $ECHO_C" >&6
8745 else
8746   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8747    then ac_cv_path_EGREP="$GREP -E"
8748    else
8749      # Extract the first word of "egrep" to use in msg output
8750 if test -z "$EGREP"; then
8751 set dummy egrep; ac_prog_name=$2
8752 if test "${ac_cv_path_EGREP+set}" = set; then
8753   echo $ECHO_N "(cached) $ECHO_C" >&6
8754 else
8755   ac_path_EGREP_found=false
8756 # Loop through the user's path and test for each of PROGNAME-LIST
8757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8759 do
8760   IFS=$as_save_IFS
8761   test -z "$as_dir" && as_dir=.
8762   for ac_prog in egrep; do
8763   for ac_exec_ext in '' $ac_executable_extensions; do
8764     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8765     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8766     # Check for GNU ac_path_EGREP and select it if it is found.
8767   # Check for GNU $ac_path_EGREP
8768 case `"$ac_path_EGREP" --version 2>&1` in
8769 *GNU*)
8770   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8771 *)
8772   ac_count=0
8773   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8774   while :
8775   do
8776     cat "conftest.in" "conftest.in" >"conftest.tmp"
8777     mv "conftest.tmp" "conftest.in"
8778     cp "conftest.in" "conftest.nl"
8779     echo 'EGREP' >> "conftest.nl"
8780     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8781     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8782     ac_count=`expr $ac_count + 1`
8783     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8784       # Best one so far, save it but keep looking for a better one
8785       ac_cv_path_EGREP="$ac_path_EGREP"
8786       ac_path_EGREP_max=$ac_count
8787     fi
8788     # 10*(2^10) chars as input seems more than enough
8789     test $ac_count -gt 10 && break
8790   done
8791   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8792 esac
8793
8794
8795     $ac_path_EGREP_found && break 3
8796   done
8797 done
8798
8799 done
8800 IFS=$as_save_IFS
8801
8802
8803 fi
8804
8805 EGREP="$ac_cv_path_EGREP"
8806 if test -z "$EGREP"; then
8807   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8809    { (exit 1); exit 1; }; }
8810 fi
8811
8812 else
8813   ac_cv_path_EGREP=$EGREP
8814 fi
8815
8816
8817    fi
8818 fi
8819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
8821  EGREP="$ac_cv_path_EGREP"
8822
8823
8824 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8825 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8826 if test "${ac_cv_header_stdc+set}" = set; then
8827   echo $ECHO_N "(cached) $ECHO_C" >&6
8828 else
8829   cat >conftest.$ac_ext <<_ACEOF
8830 /* confdefs.h.  */
8831 _ACEOF
8832 cat confdefs.h >>conftest.$ac_ext
8833 cat >>conftest.$ac_ext <<_ACEOF
8834 /* end confdefs.h.  */
8835 #include <stdlib.h>
8836 #include <stdarg.h>
8837 #include <string.h>
8838 #include <float.h>
8839
8840 int
8841 main ()
8842 {
8843
8844   ;
8845   return 0;
8846 }
8847 _ACEOF
8848 rm -f conftest.$ac_objext
8849 if { (ac_try="$ac_compile"
8850 case "(($ac_try" in
8851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8852   *) ac_try_echo=$ac_try;;
8853 esac
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855   (eval "$ac_compile") 2>conftest.er1
8856   ac_status=$?
8857   grep -v '^ *+' conftest.er1 >conftest.err
8858   rm -f conftest.er1
8859   cat conftest.err >&5
8860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861   (exit $ac_status); } && {
8862          test -z "$ac_c_werror_flag" ||
8863          test ! -s conftest.err
8864        } && test -s conftest.$ac_objext; then
8865   ac_cv_header_stdc=yes
8866 else
8867   echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8869
8870         ac_cv_header_stdc=no
8871 fi
8872
8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8874
8875 if test $ac_cv_header_stdc = yes; then
8876   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8877   cat >conftest.$ac_ext <<_ACEOF
8878 /* confdefs.h.  */
8879 _ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h.  */
8883 #include <string.h>
8884
8885 _ACEOF
8886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8887   $EGREP "memchr" >/dev/null 2>&1; then
8888   :
8889 else
8890   ac_cv_header_stdc=no
8891 fi
8892 rm -f conftest*
8893
8894 fi
8895
8896 if test $ac_cv_header_stdc = yes; then
8897   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8898   cat >conftest.$ac_ext <<_ACEOF
8899 /* confdefs.h.  */
8900 _ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h.  */
8904 #include <stdlib.h>
8905
8906 _ACEOF
8907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8908   $EGREP "free" >/dev/null 2>&1; then
8909   :
8910 else
8911   ac_cv_header_stdc=no
8912 fi
8913 rm -f conftest*
8914
8915 fi
8916
8917 if test $ac_cv_header_stdc = yes; then
8918   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8919   if test "$cross_compiling" = yes; then
8920   :
8921 else
8922   cat >conftest.$ac_ext <<_ACEOF
8923 /* confdefs.h.  */
8924 _ACEOF
8925 cat confdefs.h >>conftest.$ac_ext
8926 cat >>conftest.$ac_ext <<_ACEOF
8927 /* end confdefs.h.  */
8928 #include <ctype.h>
8929 #include <stdlib.h>
8930 #if ((' ' & 0x0FF) == 0x020)
8931 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8932 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8933 #else
8934 # define ISLOWER(c) \
8935                    (('a' <= (c) && (c) <= 'i') \
8936                      || ('j' <= (c) && (c) <= 'r') \
8937                      || ('s' <= (c) && (c) <= 'z'))
8938 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8939 #endif
8940
8941 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8942 int
8943 main ()
8944 {
8945   int i;
8946   for (i = 0; i < 256; i++)
8947     if (XOR (islower (i), ISLOWER (i))
8948         || toupper (i) != TOUPPER (i))
8949       return 2;
8950   return 0;
8951 }
8952 _ACEOF
8953 rm -f conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8955 case "(($ac_try" in
8956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8957   *) ac_try_echo=$ac_try;;
8958 esac
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960   (eval "$ac_link") 2>&5
8961   ac_status=$?
8962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8964   { (case "(($ac_try" in
8965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8966   *) ac_try_echo=$ac_try;;
8967 esac
8968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8969   (eval "$ac_try") 2>&5
8970   ac_status=$?
8971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972   (exit $ac_status); }; }; then
8973   :
8974 else
8975   echo "$as_me: program exited with status $ac_status" >&5
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8978
8979 ( exit $ac_status )
8980 ac_cv_header_stdc=no
8981 fi
8982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8983 fi
8984
8985
8986 fi
8987 fi
8988 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8989 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8990 if test $ac_cv_header_stdc = yes; then
8991
8992 cat >>confdefs.h <<\_ACEOF
8993 #define STDC_HEADERS 1
8994 _ACEOF
8995
8996 fi
8997
8998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9009                   inttypes.h stdint.h unistd.h
9010 do
9011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9015   echo $ECHO_N "(cached) $ECHO_C" >&6
9016 else
9017   cat >conftest.$ac_ext <<_ACEOF
9018 /* confdefs.h.  */
9019 _ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h.  */
9023 $ac_includes_default
9024
9025 #include <$ac_header>
9026 _ACEOF
9027 rm -f conftest.$ac_objext
9028 if { (ac_try="$ac_compile"
9029 case "(($ac_try" in
9030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9031   *) ac_try_echo=$ac_try;;
9032 esac
9033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9034   (eval "$ac_compile") 2>conftest.er1
9035   ac_status=$?
9036   grep -v '^ *+' conftest.er1 >conftest.err
9037   rm -f conftest.er1
9038   cat conftest.err >&5
9039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040   (exit $ac_status); } && {
9041          test -z "$ac_c_werror_flag" ||
9042          test ! -s conftest.err
9043        } && test -s conftest.$ac_objext; then
9044   eval "$as_ac_Header=yes"
9045 else
9046   echo "$as_me: failed program was:" >&5
9047 sed 's/^/| /' conftest.$ac_ext >&5
9048
9049         eval "$as_ac_Header=no"
9050 fi
9051
9052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9053 fi
9054 ac_res=`eval echo '${'$as_ac_Header'}'`
9055                { echo "$as_me:$LINENO: result: $ac_res" >&5
9056 echo "${ECHO_T}$ac_res" >&6; }
9057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9058   cat >>confdefs.h <<_ACEOF
9059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9060 _ACEOF
9061
9062 fi
9063
9064 done
9065
9066
9067
9068
9069 for ac_header in X11/Xlib.h X11/Xutil.h
9070 do
9071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9073   { echo "$as_me:$LINENO: checking for $ac_header" >&5
9074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9076   echo $ECHO_N "(cached) $ECHO_C" >&6
9077 fi
9078 ac_res=`eval echo '${'$as_ac_Header'}'`
9079                { echo "$as_me:$LINENO: result: $ac_res" >&5
9080 echo "${ECHO_T}$ac_res" >&6; }
9081 else
9082   # Is the header compilable?
9083 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9085 cat >conftest.$ac_ext <<_ACEOF
9086 /* confdefs.h.  */
9087 _ACEOF
9088 cat confdefs.h >>conftest.$ac_ext
9089 cat >>conftest.$ac_ext <<_ACEOF
9090 /* end confdefs.h.  */
9091 $ac_includes_default
9092 #include <$ac_header>
9093 _ACEOF
9094 rm -f conftest.$ac_objext
9095 if { (ac_try="$ac_compile"
9096 case "(($ac_try" in
9097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098   *) ac_try_echo=$ac_try;;
9099 esac
9100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101   (eval "$ac_compile") 2>conftest.er1
9102   ac_status=$?
9103   grep -v '^ *+' conftest.er1 >conftest.err
9104   rm -f conftest.er1
9105   cat conftest.err >&5
9106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107   (exit $ac_status); } && {
9108          test -z "$ac_c_werror_flag" ||
9109          test ! -s conftest.err
9110        } && test -s conftest.$ac_objext; then
9111   ac_header_compiler=yes
9112 else
9113   echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9115
9116         ac_header_compiler=no
9117 fi
9118
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9121 echo "${ECHO_T}$ac_header_compiler" >&6; }
9122
9123 # Is the header present?
9124 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9126 cat >conftest.$ac_ext <<_ACEOF
9127 /* confdefs.h.  */
9128 _ACEOF
9129 cat confdefs.h >>conftest.$ac_ext
9130 cat >>conftest.$ac_ext <<_ACEOF
9131 /* end confdefs.h.  */
9132 #include <$ac_header>
9133 _ACEOF
9134 if { (ac_try="$ac_cpp conftest.$ac_ext"
9135 case "(($ac_try" in
9136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9137   *) ac_try_echo=$ac_try;;
9138 esac
9139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9140   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9141   ac_status=$?
9142   grep -v '^ *+' conftest.er1 >conftest.err
9143   rm -f conftest.er1
9144   cat conftest.err >&5
9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146   (exit $ac_status); } >/dev/null && {
9147          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9148          test ! -s conftest.err
9149        }; then
9150   ac_header_preproc=yes
9151 else
9152   echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9154
9155   ac_header_preproc=no
9156 fi
9157
9158 rm -f conftest.err conftest.$ac_ext
9159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9160 echo "${ECHO_T}$ac_header_preproc" >&6; }
9161
9162 # So?  What about this header?
9163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9164   yes:no: )
9165     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9167     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9169     ac_header_preproc=yes
9170     ;;
9171   no:yes:* )
9172     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9174     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9175 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9176     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9178     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9179 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9180     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9182     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9184     ( cat <<\_ASBOX
9185 ## -------------------------------------------------------- ##
9186 ## Report this to enlightenment-devel@lists.sourceforge.net ##
9187 ## -------------------------------------------------------- ##
9188 _ASBOX
9189      ) | sed "s/^/$as_me: WARNING:     /" >&2
9190     ;;
9191 esac
9192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9195   echo $ECHO_N "(cached) $ECHO_C" >&6
9196 else
9197   eval "$as_ac_Header=\$ac_header_preproc"
9198 fi
9199 ac_res=`eval echo '${'$as_ac_Header'}'`
9200                { echo "$as_me:$LINENO: result: $ac_res" >&5
9201 echo "${ECHO_T}$ac_res" >&6; }
9202
9203 fi
9204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9205   cat >>confdefs.h <<_ACEOF
9206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9207 _ACEOF
9208  have_xlib="yes"
9209 else
9210   have_xlib="no"
9211 fi
9212
9213 done
9214
9215    if test "x$want_evas_simple_x11" = "xyes"; then
9216       x_libs="${x_libs} -lX11 -lXext -lXrender"
9217    else
9218       x_dir=${x_dir:-/usr/X11R6}
9219       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
9220       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
9221    fi
9222 fi
9223  if test "x$have_xlib" = "xyes"; then
9224   BUILD_X11_TRUE=
9225   BUILD_X11_FALSE='#'
9226 else
9227   BUILD_X11_TRUE='#'
9228   BUILD_X11_FALSE=
9229 fi
9230
9231
9232
9233
9234
9235 # XCB
9236
9237 if test "x$have_software_xcb" = "xyes"; then
9238
9239 pkg_failed=no
9240 { echo "$as_me:$LINENO: checking for XCB" >&5
9241 echo $ECHO_N "checking for XCB... $ECHO_C" >&6; }
9242
9243 if test -n "$PKG_CONFIG"; then
9244     if test -n "$XCB_CFLAGS"; then
9245         pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
9246     else
9247         if test -n "$PKG_CONFIG" && \
9248     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\"") >&5
9249   ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5
9250   ac_status=$?
9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252   (exit $ac_status); }; then
9253   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-keysyms" 2>/dev/null`
9254 else
9255   pkg_failed=yes
9256 fi
9257     fi
9258 else
9259         pkg_failed=untried
9260 fi
9261 if test -n "$PKG_CONFIG"; then
9262     if test -n "$XCB_LIBS"; then
9263         pkg_cv_XCB_LIBS="$XCB_LIBS"
9264     else
9265         if test -n "$PKG_CONFIG" && \
9266     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xcb xcb-keysyms\"") >&5
9267   ($PKG_CONFIG --exists --print-errors "xcb xcb-keysyms") 2>&5
9268   ac_status=$?
9269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270   (exit $ac_status); }; then
9271   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-keysyms" 2>/dev/null`
9272 else
9273   pkg_failed=yes
9274 fi
9275     fi
9276 else
9277         pkg_failed=untried
9278 fi
9279
9280
9281
9282 if test $pkg_failed = yes; then
9283
9284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9285         _pkg_short_errors_supported=yes
9286 else
9287         _pkg_short_errors_supported=no
9288 fi
9289         if test $_pkg_short_errors_supported = yes; then
9290                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb xcb-keysyms"`
9291         else
9292                 XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb xcb-keysyms"`
9293         fi
9294         # Put the nasty error message in config.log where it belongs
9295         echo "$XCB_PKG_ERRORS" >&5
9296
9297         { echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6; }
9299                 have_xcb="no"
9300 elif test $pkg_failed = untried; then
9301         have_xcb="no"
9302 else
9303         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
9304         XCB_LIBS=$pkg_cv_XCB_LIBS
9305         { echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6; }
9307         have_xcb="yes"
9308 fi
9309 fi
9310  if test "x$have_xcb" = "xyes"; then
9311   BUILD_XCB_TRUE=
9312   BUILD_XCB_FALSE='#'
9313 else
9314   BUILD_XCB_TRUE='#'
9315   BUILD_XCB_FALSE=
9316 fi
9317
9318 if test "x$have_xcb" = "xyes"; then
9319
9320 cat >>confdefs.h <<\_ACEOF
9321 #define BUILD_XCB 1
9322 _ACEOF
9323
9324 fi
9325
9326 # SDL
9327
9328 if test "x$have_software_sdl" = "xyes" -o "x$have_gl_sdl" = "xyes"; then
9329
9330 pkg_failed=no
9331 { echo "$as_me:$LINENO: checking for SDL" >&5
9332 echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
9333
9334 if test -n "$PKG_CONFIG"; then
9335     if test -n "$SDL_CFLAGS"; then
9336         pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
9337     else
9338         if test -n "$PKG_CONFIG" && \
9339     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
9340   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
9341   ac_status=$?
9342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343   (exit $ac_status); }; then
9344   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
9345 else
9346   pkg_failed=yes
9347 fi
9348     fi
9349 else
9350         pkg_failed=untried
9351 fi
9352 if test -n "$PKG_CONFIG"; then
9353     if test -n "$SDL_LIBS"; then
9354         pkg_cv_SDL_LIBS="$SDL_LIBS"
9355     else
9356         if test -n "$PKG_CONFIG" && \
9357     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
9358   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
9359   ac_status=$?
9360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361   (exit $ac_status); }; then
9362   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
9363 else
9364   pkg_failed=yes
9365 fi
9366     fi
9367 else
9368         pkg_failed=untried
9369 fi
9370
9371
9372
9373 if test $pkg_failed = yes; then
9374
9375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9376         _pkg_short_errors_supported=yes
9377 else
9378         _pkg_short_errors_supported=no
9379 fi
9380         if test $_pkg_short_errors_supported = yes; then
9381                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl"`
9382         else
9383                 SDL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl"`
9384         fi
9385         # Put the nasty error message in config.log where it belongs
9386         echo "$SDL_PKG_ERRORS" >&5
9387
9388         { echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6; }
9390                 have_sdl="no"
9391 elif test $pkg_failed = untried; then
9392         have_sdl="no"
9393 else
9394         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
9395         SDL_LIBS=$pkg_cv_SDL_LIBS
9396         { echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6; }
9398         have_sdl="yes"
9399 fi
9400 fi
9401  if test "x$have_sdl" = "xyes"; then
9402   BUILD_SDL_TRUE=
9403   BUILD_SDL_FALSE='#'
9404 else
9405   BUILD_SDL_TRUE='#'
9406   BUILD_SDL_FALSE=
9407 fi
9408
9409
9410 # DirectFB
9411
9412 if test "x$have_directfb" = "xyes"; then
9413
9414 pkg_failed=no
9415 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
9416 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
9417
9418 if test -n "$PKG_CONFIG"; then
9419     if test -n "$DIRECTFB_CFLAGS"; then
9420         pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
9421     else
9422         if test -n "$PKG_CONFIG" && \
9423     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb\"") >&5
9424   ($PKG_CONFIG --exists --print-errors "directfb") 2>&5
9425   ac_status=$?
9426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427   (exit $ac_status); }; then
9428   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb" 2>/dev/null`
9429 else
9430   pkg_failed=yes
9431 fi
9432     fi
9433 else
9434         pkg_failed=untried
9435 fi
9436 if test -n "$PKG_CONFIG"; then
9437     if test -n "$DIRECTFB_LIBS"; then
9438         pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
9439     else
9440         if test -n "$PKG_CONFIG" && \
9441     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb\"") >&5
9442   ($PKG_CONFIG --exists --print-errors "directfb") 2>&5
9443   ac_status=$?
9444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445   (exit $ac_status); }; then
9446   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb" 2>/dev/null`
9447 else
9448   pkg_failed=yes
9449 fi
9450     fi
9451 else
9452         pkg_failed=untried
9453 fi
9454
9455
9456
9457 if test $pkg_failed = yes; then
9458
9459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9460         _pkg_short_errors_supported=yes
9461 else
9462         _pkg_short_errors_supported=no
9463 fi
9464         if test $_pkg_short_errors_supported = yes; then
9465                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb"`
9466         else
9467                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb"`
9468         fi
9469         # Put the nasty error message in config.log where it belongs
9470         echo "$DIRECTFB_PKG_ERRORS" >&5
9471
9472         { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9474                 have_directfb="no"
9475 elif test $pkg_failed = untried; then
9476         have_directfb="no"
9477 else
9478         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
9479         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
9480         { echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6; }
9482         have_directfb="yes"
9483 fi
9484 fi
9485  if test "x$have_directfb" = "xyes"; then
9486   BUILD_DIRECTFB_TRUE=
9487   BUILD_DIRECTFB_FALSE='#'
9488 else
9489   BUILD_DIRECTFB_TRUE='#'
9490   BUILD_DIRECTFB_FALSE=
9491 fi
9492
9493
9494
9495 ### Checks for header files
9496
9497
9498 ### Checks for types
9499
9500
9501 ### Checks for structures
9502
9503
9504 ### Checks for compiler characteristics
9505
9506 ac_ext=c
9507 ac_cpp='$CPP $CPPFLAGS'
9508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9511 if test -n "$ac_tool_prefix"; then
9512   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9516 if test "${ac_cv_prog_CC+set}" = set; then
9517   echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9519   if test -n "$CC"; then
9520   ac_cv_prog_CC="$CC" # Let the user override the test.
9521 else
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9523 for as_dir in $PATH
9524 do
9525   IFS=$as_save_IFS
9526   test -z "$as_dir" && as_dir=.
9527   for ac_exec_ext in '' $ac_executable_extensions; do
9528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529     ac_cv_prog_CC="${ac_tool_prefix}gcc"
9530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9531     break 2
9532   fi
9533 done
9534 done
9535 IFS=$as_save_IFS
9536
9537 fi
9538 fi
9539 CC=$ac_cv_prog_CC
9540 if test -n "$CC"; then
9541   { echo "$as_me:$LINENO: result: $CC" >&5
9542 echo "${ECHO_T}$CC" >&6; }
9543 else
9544   { echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6; }
9546 fi
9547
9548
9549 fi
9550 if test -z "$ac_cv_prog_CC"; then
9551   ac_ct_CC=$CC
9552   # Extract the first word of "gcc", so it can be a program name with args.
9553 set dummy gcc; ac_word=$2
9554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9557   echo $ECHO_N "(cached) $ECHO_C" >&6
9558 else
9559   if test -n "$ac_ct_CC"; then
9560   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9561 else
9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9563 for as_dir in $PATH
9564 do
9565   IFS=$as_save_IFS
9566   test -z "$as_dir" && as_dir=.
9567   for ac_exec_ext in '' $ac_executable_extensions; do
9568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9569     ac_cv_prog_ac_ct_CC="gcc"
9570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9571     break 2
9572   fi
9573 done
9574 done
9575 IFS=$as_save_IFS
9576
9577 fi
9578 fi
9579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9580 if test -n "$ac_ct_CC"; then
9581   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9582 echo "${ECHO_T}$ac_ct_CC" >&6; }
9583 else
9584   { echo "$as_me:$LINENO: result: no" >&5
9585 echo "${ECHO_T}no" >&6; }
9586 fi
9587
9588   if test "x$ac_ct_CC" = x; then
9589     CC=""
9590   else
9591     case $cross_compiling:$ac_tool_warned in
9592 yes:)
9593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9594 whose name does not start with the host triplet.  If you think this
9595 configuration is useful to you, please write to autoconf@gnu.org." >&5
9596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9597 whose name does not start with the host triplet.  If you think this
9598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9599 ac_tool_warned=yes ;;
9600 esac
9601     CC=$ac_ct_CC
9602   fi
9603 else
9604   CC="$ac_cv_prog_CC"
9605 fi
9606
9607 if test -z "$CC"; then
9608           if test -n "$ac_tool_prefix"; then
9609     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9610 set dummy ${ac_tool_prefix}cc; ac_word=$2
9611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9613 if test "${ac_cv_prog_CC+set}" = set; then
9614   echo $ECHO_N "(cached) $ECHO_C" >&6
9615 else
9616   if test -n "$CC"; then
9617   ac_cv_prog_CC="$CC" # Let the user override the test.
9618 else
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 for as_dir in $PATH
9621 do
9622   IFS=$as_save_IFS
9623   test -z "$as_dir" && as_dir=.
9624   for ac_exec_ext in '' $ac_executable_extensions; do
9625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9626     ac_cv_prog_CC="${ac_tool_prefix}cc"
9627     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9628     break 2
9629   fi
9630 done
9631 done
9632 IFS=$as_save_IFS
9633
9634 fi
9635 fi
9636 CC=$ac_cv_prog_CC
9637 if test -n "$CC"; then
9638   { echo "$as_me:$LINENO: result: $CC" >&5
9639 echo "${ECHO_T}$CC" >&6; }
9640 else
9641   { echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6; }
9643 fi
9644
9645
9646   fi
9647 fi
9648 if test -z "$CC"; then
9649   # Extract the first word of "cc", so it can be a program name with args.
9650 set dummy cc; ac_word=$2
9651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9653 if test "${ac_cv_prog_CC+set}" = set; then
9654   echo $ECHO_N "(cached) $ECHO_C" >&6
9655 else
9656   if test -n "$CC"; then
9657   ac_cv_prog_CC="$CC" # Let the user override the test.
9658 else
9659   ac_prog_rejected=no
9660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661 for as_dir in $PATH
9662 do
9663   IFS=$as_save_IFS
9664   test -z "$as_dir" && as_dir=.
9665   for ac_exec_ext in '' $ac_executable_extensions; do
9666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9667     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9668        ac_prog_rejected=yes
9669        continue
9670      fi
9671     ac_cv_prog_CC="cc"
9672     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9673     break 2
9674   fi
9675 done
9676 done
9677 IFS=$as_save_IFS
9678
9679 if test $ac_prog_rejected = yes; then
9680   # We found a bogon in the path, so make sure we never use it.
9681   set dummy $ac_cv_prog_CC
9682   shift
9683   if test $# != 0; then
9684     # We chose a different compiler from the bogus one.
9685     # However, it has the same basename, so the bogon will be chosen
9686     # first if we set CC to just the basename; use the full file name.
9687     shift
9688     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9689   fi
9690 fi
9691 fi
9692 fi
9693 CC=$ac_cv_prog_CC
9694 if test -n "$CC"; then
9695   { echo "$as_me:$LINENO: result: $CC" >&5
9696 echo "${ECHO_T}$CC" >&6; }
9697 else
9698   { echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6; }
9700 fi
9701
9702
9703 fi
9704 if test -z "$CC"; then
9705   if test -n "$ac_tool_prefix"; then
9706   for ac_prog in cl.exe
9707   do
9708     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9712 if test "${ac_cv_prog_CC+set}" = set; then
9713   echo $ECHO_N "(cached) $ECHO_C" >&6
9714 else
9715   if test -n "$CC"; then
9716   ac_cv_prog_CC="$CC" # Let the user override the test.
9717 else
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9719 for as_dir in $PATH
9720 do
9721   IFS=$as_save_IFS
9722   test -z "$as_dir" && as_dir=.
9723   for ac_exec_ext in '' $ac_executable_extensions; do
9724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9727     break 2
9728   fi
9729 done
9730 done
9731 IFS=$as_save_IFS
9732
9733 fi
9734 fi
9735 CC=$ac_cv_prog_CC
9736 if test -n "$CC"; then
9737   { echo "$as_me:$LINENO: result: $CC" >&5
9738 echo "${ECHO_T}$CC" >&6; }
9739 else
9740   { echo "$as_me:$LINENO: result: no" >&5
9741 echo "${ECHO_T}no" >&6; }
9742 fi
9743
9744
9745     test -n "$CC" && break
9746   done
9747 fi
9748 if test -z "$CC"; then
9749   ac_ct_CC=$CC
9750   for ac_prog in cl.exe
9751 do
9752   # Extract the first word of "$ac_prog", so it can be a program name with args.
9753 set dummy $ac_prog; ac_word=$2
9754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9757   echo $ECHO_N "(cached) $ECHO_C" >&6
9758 else
9759   if test -n "$ac_ct_CC"; then
9760   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9761 else
9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9763 for as_dir in $PATH
9764 do
9765   IFS=$as_save_IFS
9766   test -z "$as_dir" && as_dir=.
9767   for ac_exec_ext in '' $ac_executable_extensions; do
9768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769     ac_cv_prog_ac_ct_CC="$ac_prog"
9770     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9771     break 2
9772   fi
9773 done
9774 done
9775 IFS=$as_save_IFS
9776
9777 fi
9778 fi
9779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9780 if test -n "$ac_ct_CC"; then
9781   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9782 echo "${ECHO_T}$ac_ct_CC" >&6; }
9783 else
9784   { echo "$as_me:$LINENO: result: no" >&5
9785 echo "${ECHO_T}no" >&6; }
9786 fi
9787
9788
9789   test -n "$ac_ct_CC" && break
9790 done
9791
9792   if test "x$ac_ct_CC" = x; then
9793     CC=""
9794   else
9795     case $cross_compiling:$ac_tool_warned in
9796 yes:)
9797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9798 whose name does not start with the host triplet.  If you think this
9799 configuration is useful to you, please write to autoconf@gnu.org." >&5
9800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9801 whose name does not start with the host triplet.  If you think this
9802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9803 ac_tool_warned=yes ;;
9804 esac
9805     CC=$ac_ct_CC
9806   fi
9807 fi
9808
9809 fi
9810
9811
9812 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9813 See \`config.log' for more details." >&5
9814 echo "$as_me: error: no acceptable C compiler found in \$PATH
9815 See \`config.log' for more details." >&2;}
9816    { (exit 1); exit 1; }; }
9817
9818 # Provide some information about the compiler.
9819 echo "$as_me:$LINENO: checking for C compiler version" >&5
9820 ac_compiler=`set X $ac_compile; echo $2`
9821 { (ac_try="$ac_compiler --version >&5"
9822 case "(($ac_try" in
9823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824   *) ac_try_echo=$ac_try;;
9825 esac
9826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9827   (eval "$ac_compiler --version >&5") 2>&5
9828   ac_status=$?
9829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830   (exit $ac_status); }
9831 { (ac_try="$ac_compiler -v >&5"
9832 case "(($ac_try" in
9833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834   *) ac_try_echo=$ac_try;;
9835 esac
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837   (eval "$ac_compiler -v >&5") 2>&5
9838   ac_status=$?
9839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840   (exit $ac_status); }
9841 { (ac_try="$ac_compiler -V >&5"
9842 case "(($ac_try" in
9843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9844   *) ac_try_echo=$ac_try;;
9845 esac
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847   (eval "$ac_compiler -V >&5") 2>&5
9848   ac_status=$?
9849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850   (exit $ac_status); }
9851
9852 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9853 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
9854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9855   echo $ECHO_N "(cached) $ECHO_C" >&6
9856 else
9857   cat >conftest.$ac_ext <<_ACEOF
9858 /* confdefs.h.  */
9859 _ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h.  */
9863
9864 int
9865 main ()
9866 {
9867 #ifndef __GNUC__
9868        choke me
9869 #endif
9870
9871   ;
9872   return 0;
9873 }
9874 _ACEOF
9875 rm -f conftest.$ac_objext
9876 if { (ac_try="$ac_compile"
9877 case "(($ac_try" in
9878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879   *) ac_try_echo=$ac_try;;
9880 esac
9881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9882   (eval "$ac_compile") 2>conftest.er1
9883   ac_status=$?
9884   grep -v '^ *+' conftest.er1 >conftest.err
9885   rm -f conftest.er1
9886   cat conftest.err >&5
9887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888   (exit $ac_status); } && {
9889          test -z "$ac_c_werror_flag" ||
9890          test ! -s conftest.err
9891        } && test -s conftest.$ac_objext; then
9892   ac_compiler_gnu=yes
9893 else
9894   echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9896
9897         ac_compiler_gnu=no
9898 fi
9899
9900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9902
9903 fi
9904 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
9906 GCC=`test $ac_compiler_gnu = yes && echo yes`
9907 ac_test_CFLAGS=${CFLAGS+set}
9908 ac_save_CFLAGS=$CFLAGS
9909 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
9911 if test "${ac_cv_prog_cc_g+set}" = set; then
9912   echo $ECHO_N "(cached) $ECHO_C" >&6
9913 else
9914   ac_save_c_werror_flag=$ac_c_werror_flag
9915    ac_c_werror_flag=yes
9916    ac_cv_prog_cc_g=no
9917    CFLAGS="-g"
9918    cat >conftest.$ac_ext <<_ACEOF
9919 /* confdefs.h.  */
9920 _ACEOF
9921 cat confdefs.h >>conftest.$ac_ext
9922 cat >>conftest.$ac_ext <<_ACEOF
9923 /* end confdefs.h.  */
9924
9925 int
9926 main ()
9927 {
9928
9929   ;
9930   return 0;
9931 }
9932 _ACEOF
9933 rm -f conftest.$ac_objext
9934 if { (ac_try="$ac_compile"
9935 case "(($ac_try" in
9936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937   *) ac_try_echo=$ac_try;;
9938 esac
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940   (eval "$ac_compile") 2>conftest.er1
9941   ac_status=$?
9942   grep -v '^ *+' conftest.er1 >conftest.err
9943   rm -f conftest.er1
9944   cat conftest.err >&5
9945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946   (exit $ac_status); } && {
9947          test -z "$ac_c_werror_flag" ||
9948          test ! -s conftest.err
9949        } && test -s conftest.$ac_objext; then
9950   ac_cv_prog_cc_g=yes
9951 else
9952   echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9954
9955         CFLAGS=""
9956       cat >conftest.$ac_ext <<_ACEOF
9957 /* confdefs.h.  */
9958 _ACEOF
9959 cat confdefs.h >>conftest.$ac_ext
9960 cat >>conftest.$ac_ext <<_ACEOF
9961 /* end confdefs.h.  */
9962
9963 int
9964 main ()
9965 {
9966
9967   ;
9968   return 0;
9969 }
9970 _ACEOF
9971 rm -f conftest.$ac_objext
9972 if { (ac_try="$ac_compile"
9973 case "(($ac_try" in
9974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975   *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978   (eval "$ac_compile") 2>conftest.er1
9979   ac_status=$?
9980   grep -v '^ *+' conftest.er1 >conftest.err
9981   rm -f conftest.er1
9982   cat conftest.err >&5
9983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984   (exit $ac_status); } && {
9985          test -z "$ac_c_werror_flag" ||
9986          test ! -s conftest.err
9987        } && test -s conftest.$ac_objext; then
9988   :
9989 else
9990   echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.$ac_ext >&5
9992
9993         ac_c_werror_flag=$ac_save_c_werror_flag
9994          CFLAGS="-g"
9995          cat >conftest.$ac_ext <<_ACEOF
9996 /* confdefs.h.  */
9997 _ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h.  */
10001
10002 int
10003 main ()
10004 {
10005
10006   ;
10007   return 0;
10008 }
10009 _ACEOF
10010 rm -f conftest.$ac_objext
10011 if { (ac_try="$ac_compile"
10012 case "(($ac_try" in
10013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10014   *) ac_try_echo=$ac_try;;
10015 esac
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017   (eval "$ac_compile") 2>conftest.er1
10018   ac_status=$?
10019   grep -v '^ *+' conftest.er1 >conftest.err
10020   rm -f conftest.er1
10021   cat conftest.err >&5
10022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023   (exit $ac_status); } && {
10024          test -z "$ac_c_werror_flag" ||
10025          test ! -s conftest.err
10026        } && test -s conftest.$ac_objext; then
10027   ac_cv_prog_cc_g=yes
10028 else
10029   echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10031
10032
10033 fi
10034
10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10036 fi
10037
10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10039 fi
10040
10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10042    ac_c_werror_flag=$ac_save_c_werror_flag
10043 fi
10044 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10045 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
10046 if test "$ac_test_CFLAGS" = set; then
10047   CFLAGS=$ac_save_CFLAGS
10048 elif test $ac_cv_prog_cc_g = yes; then
10049   if test "$GCC" = yes; then
10050     CFLAGS="-g -O2"
10051   else
10052     CFLAGS="-g"
10053   fi
10054 else
10055   if test "$GCC" = yes; then
10056     CFLAGS="-O2"
10057   else
10058     CFLAGS=
10059   fi
10060 fi
10061 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
10062 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
10063 if test "${ac_cv_prog_cc_c89+set}" = set; then
10064   echo $ECHO_N "(cached) $ECHO_C" >&6
10065 else
10066   ac_cv_prog_cc_c89=no
10067 ac_save_CC=$CC
10068 cat >conftest.$ac_ext <<_ACEOF
10069 /* confdefs.h.  */
10070 _ACEOF
10071 cat confdefs.h >>conftest.$ac_ext
10072 cat >>conftest.$ac_ext <<_ACEOF
10073 /* end confdefs.h.  */
10074 #include <stdarg.h>
10075 #include <stdio.h>
10076 #include <sys/types.h>
10077 #include <sys/stat.h>
10078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
10079 struct buf { int x; };
10080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10081 static char *e (p, i)
10082      char **p;
10083      int i;
10084 {
10085   return p[i];
10086 }
10087 static char *f (char * (*g) (char **, int), char **p, ...)
10088 {
10089   char *s;
10090   va_list v;
10091   va_start (v,p);
10092   s = g (p, va_arg (v,int));
10093   va_end (v);
10094   return s;
10095 }
10096
10097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
10098    function prototypes and stuff, but not '\xHH' hex character constants.
10099    These don't provoke an error unfortunately, instead are silently treated
10100    as 'x'.  The following induces an error, until -std is added to get
10101    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
10102    array size at least.  It's necessary to write '\x00'==0 to get something
10103    that's true only with -std.  */
10104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10105
10106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10107    inside strings and character constants.  */
10108 #define FOO(x) 'x'
10109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10110
10111 int test (int i, double x);
10112 struct s1 {int (*f) (int a);};
10113 struct s2 {int (*f) (double a);};
10114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10115 int argc;
10116 char **argv;
10117 int
10118 main ()
10119 {
10120 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
10121   ;
10122   return 0;
10123 }
10124 _ACEOF
10125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10126         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10127 do
10128   CC="$ac_save_CC $ac_arg"
10129   rm -f conftest.$ac_objext
10130 if { (ac_try="$ac_compile"
10131 case "(($ac_try" in
10132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133   *) ac_try_echo=$ac_try;;
10134 esac
10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136   (eval "$ac_compile") 2>conftest.er1
10137   ac_status=$?
10138   grep -v '^ *+' conftest.er1 >conftest.err
10139   rm -f conftest.er1
10140   cat conftest.err >&5
10141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142   (exit $ac_status); } && {
10143          test -z "$ac_c_werror_flag" ||
10144          test ! -s conftest.err
10145        } && test -s conftest.$ac_objext; then
10146   ac_cv_prog_cc_c89=$ac_arg
10147 else
10148   echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.$ac_ext >&5
10150
10151
10152 fi
10153
10154 rm -f core conftest.err conftest.$ac_objext
10155   test "x$ac_cv_prog_cc_c89" != "xno" && break
10156 done
10157 rm -f conftest.$ac_ext
10158 CC=$ac_save_CC
10159
10160 fi
10161 # AC_CACHE_VAL
10162 case "x$ac_cv_prog_cc_c89" in
10163   x)
10164     { echo "$as_me:$LINENO: result: none needed" >&5
10165 echo "${ECHO_T}none needed" >&6; } ;;
10166   xno)
10167     { echo "$as_me:$LINENO: result: unsupported" >&5
10168 echo "${ECHO_T}unsupported" >&6; } ;;
10169   *)
10170     CC="$CC $ac_cv_prog_cc_c89"
10171     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
10172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
10173 esac
10174
10175
10176 ac_ext=c
10177 ac_cpp='$CPP $CPPFLAGS'
10178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10181
10182 depcc="$CC"   am_compiler_list=
10183
10184 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10185 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
10186 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10187   echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10190   # We make a subdir and do the tests there.  Otherwise we can end up
10191   # making bogus files that we don't know about and never remove.  For
10192   # instance it was reported that on HP-UX the gcc test will end up
10193   # making a dummy file named `D' -- because `-MD' means `put the output
10194   # in D'.
10195   mkdir conftest.dir
10196   # Copy depcomp to subdir because otherwise we won't find it if we're
10197   # using a relative directory.
10198   cp "$am_depcomp" conftest.dir
10199   cd conftest.dir
10200   # We will build objects and dependencies in a subdirectory because
10201   # it helps to detect inapplicable dependency modes.  For instance
10202   # both Tru64's cc and ICC support -MD to output dependencies as a
10203   # side effect of compilation, but ICC will put the dependencies in
10204   # the current directory while Tru64 will put them in the object
10205   # directory.
10206   mkdir sub
10207
10208   am_cv_CC_dependencies_compiler_type=none
10209   if test "$am_compiler_list" = ""; then
10210      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10211   fi
10212   for depmode in $am_compiler_list; do
10213     # Setup a source with many dependencies, because some compilers
10214     # like to wrap large dependency lists on column 80 (with \), and
10215     # we should not choose a depcomp mode which is confused by this.
10216     #
10217     # We need to recreate these files for each test, as the compiler may
10218     # overwrite some of them when testing with obscure command lines.
10219     # This happens at least with the AIX C compiler.
10220     : > sub/conftest.c
10221     for i in 1 2 3 4 5 6; do
10222       echo '#include "conftst'$i'.h"' >> sub/conftest.c
10223       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10224       # Solaris 8's {/usr,}/bin/sh.
10225       touch sub/conftst$i.h
10226     done
10227     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10228
10229     case $depmode in
10230     nosideeffect)
10231       # after this tag, mechanisms are not by side-effect, so they'll
10232       # only be used when explicitly requested
10233       if test "x$enable_dependency_tracking" = xyes; then
10234         continue
10235       else
10236         break
10237       fi
10238       ;;
10239     none) break ;;
10240     esac
10241     # We check with `-c' and `-o' for the sake of the "dashmstdout"
10242     # mode.  It turns out that the SunPro C++ compiler does not properly
10243     # handle `-M -o', and we need to detect this.
10244     if depmode=$depmode \
10245        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
10246        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10247        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
10248          >/dev/null 2>conftest.err &&
10249        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10250        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10251        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
10252        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10253       # icc doesn't choke on unknown options, it will just issue warnings
10254       # or remarks (even with -Werror).  So we grep stderr for any message
10255       # that says an option was ignored or not supported.
10256       # When given -MP, icc 7.0 and 7.1 complain thusly:
10257       #   icc: Command line warning: ignoring option '-M'; no argument required
10258       # The diagnosis changed in icc 8.0:
10259       #   icc: Command line remark: option '-MP' not supported
10260       if (grep 'ignoring option' conftest.err ||
10261           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10262         am_cv_CC_dependencies_compiler_type=$depmode
10263         break
10264       fi
10265     fi
10266   done
10267
10268   cd ..
10269   rm -rf conftest.dir
10270 else
10271   am_cv_CC_dependencies_compiler_type=none
10272 fi
10273
10274 fi
10275 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10276 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
10277 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10278
10279  if
10280   test "x$enable_dependency_tracking" != xno \
10281   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10282   am__fastdepCC_TRUE=
10283   am__fastdepCC_FALSE='#'
10284 else
10285   am__fastdepCC_TRUE='#'
10286   am__fastdepCC_FALSE=
10287 fi
10288
10289
10290
10291 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
10292
10293 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
10295 if test "${ac_cv_header_stdc+set}" = set; then
10296   echo $ECHO_N "(cached) $ECHO_C" >&6
10297 else
10298   cat >conftest.$ac_ext <<_ACEOF
10299 /* confdefs.h.  */
10300 _ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h.  */
10304 #include <stdlib.h>
10305 #include <stdarg.h>
10306 #include <string.h>
10307 #include <float.h>
10308
10309 int
10310 main ()
10311 {
10312
10313   ;
10314   return 0;
10315 }
10316 _ACEOF
10317 rm -f conftest.$ac_objext
10318 if { (ac_try="$ac_compile"
10319 case "(($ac_try" in
10320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321   *) ac_try_echo=$ac_try;;
10322 esac
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324   (eval "$ac_compile") 2>conftest.er1
10325   ac_status=$?
10326   grep -v '^ *+' conftest.er1 >conftest.err
10327   rm -f conftest.er1
10328   cat conftest.err >&5
10329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330   (exit $ac_status); } && {
10331          test -z "$ac_c_werror_flag" ||
10332          test ! -s conftest.err
10333        } && test -s conftest.$ac_objext; then
10334   ac_cv_header_stdc=yes
10335 else
10336   echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.$ac_ext >&5
10338
10339         ac_cv_header_stdc=no
10340 fi
10341
10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10343
10344 if test $ac_cv_header_stdc = yes; then
10345   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10346   cat >conftest.$ac_ext <<_ACEOF
10347 /* confdefs.h.  */
10348 _ACEOF
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h.  */
10352 #include <string.h>
10353
10354 _ACEOF
10355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10356   $EGREP "memchr" >/dev/null 2>&1; then
10357   :
10358 else
10359   ac_cv_header_stdc=no
10360 fi
10361 rm -f conftest*
10362
10363 fi
10364
10365 if test $ac_cv_header_stdc = yes; then
10366   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10367   cat >conftest.$ac_ext <<_ACEOF
10368 /* confdefs.h.  */
10369 _ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h.  */
10373 #include <stdlib.h>
10374
10375 _ACEOF
10376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10377   $EGREP "free" >/dev/null 2>&1; then
10378   :
10379 else
10380   ac_cv_header_stdc=no
10381 fi
10382 rm -f conftest*
10383
10384 fi
10385
10386 if test $ac_cv_header_stdc = yes; then
10387   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10388   if test "$cross_compiling" = yes; then
10389   :
10390 else
10391   cat >conftest.$ac_ext <<_ACEOF
10392 /* confdefs.h.  */
10393 _ACEOF
10394 cat confdefs.h >>conftest.$ac_ext
10395 cat >>conftest.$ac_ext <<_ACEOF
10396 /* end confdefs.h.  */
10397 #include <ctype.h>
10398 #include <stdlib.h>
10399 #if ((' ' & 0x0FF) == 0x020)
10400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10402 #else
10403 # define ISLOWER(c) \
10404                    (('a' <= (c) && (c) <= 'i') \
10405                      || ('j' <= (c) && (c) <= 'r') \
10406                      || ('s' <= (c) && (c) <= 'z'))
10407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10408 #endif
10409
10410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10411 int
10412 main ()
10413 {
10414   int i;
10415   for (i = 0; i < 256; i++)
10416     if (XOR (islower (i), ISLOWER (i))
10417         || toupper (i) != TOUPPER (i))
10418       return 2;
10419   return 0;
10420 }
10421 _ACEOF
10422 rm -f conftest$ac_exeext
10423 if { (ac_try="$ac_link"
10424 case "(($ac_try" in
10425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10426   *) ac_try_echo=$ac_try;;
10427 esac
10428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10429   (eval "$ac_link") 2>&5
10430   ac_status=$?
10431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10433   { (case "(($ac_try" in
10434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10435   *) ac_try_echo=$ac_try;;
10436 esac
10437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10438   (eval "$ac_try") 2>&5
10439   ac_status=$?
10440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441   (exit $ac_status); }; }; then
10442   :
10443 else
10444   echo "$as_me: program exited with status $ac_status" >&5
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 ( exit $ac_status )
10449 ac_cv_header_stdc=no
10450 fi
10451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10452 fi
10453
10454
10455 fi
10456 fi
10457 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10458 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
10459 if test $ac_cv_header_stdc = yes; then
10460
10461 cat >>confdefs.h <<\_ACEOF
10462 #define STDC_HEADERS 1
10463 _ACEOF
10464
10465 fi
10466
10467 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10468 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
10469 if test "${ac_cv_c_const+set}" = set; then
10470   echo $ECHO_N "(cached) $ECHO_C" >&6
10471 else
10472   cat >conftest.$ac_ext <<_ACEOF
10473 /* confdefs.h.  */
10474 _ACEOF
10475 cat confdefs.h >>conftest.$ac_ext
10476 cat >>conftest.$ac_ext <<_ACEOF
10477 /* end confdefs.h.  */
10478
10479 int
10480 main ()
10481 {
10482 /* FIXME: Include the comments suggested by Paul. */
10483 #ifndef __cplusplus
10484   /* Ultrix mips cc rejects this.  */
10485   typedef int charset[2];
10486   const charset cs;
10487   /* SunOS 4.1.1 cc rejects this.  */
10488   char const *const *pcpcc;
10489   char **ppc;
10490   /* NEC SVR4.0.2 mips cc rejects this.  */
10491   struct point {int x, y;};
10492   static struct point const zero = {0,0};
10493   /* AIX XL C 1.02.0.0 rejects this.
10494      It does not let you subtract one const X* pointer from another in
10495      an arm of an if-expression whose if-part is not a constant
10496      expression */
10497   const char *g = "string";
10498   pcpcc = &g + (g ? g-g : 0);
10499   /* HPUX 7.0 cc rejects these. */
10500   ++pcpcc;
10501   ppc = (char**) pcpcc;
10502   pcpcc = (char const *const *) ppc;
10503   { /* SCO 3.2v4 cc rejects this.  */
10504     char *t;
10505     char const *s = 0 ? (char *) 0 : (char const *) 0;
10506
10507     *t++ = 0;
10508     if (s) return 0;
10509   }
10510   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
10511     int x[] = {25, 17};
10512     const int *foo = &x[0];
10513     ++foo;
10514   }
10515   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10516     typedef const int *iptr;
10517     iptr p = 0;
10518     ++p;
10519   }
10520   { /* AIX XL C 1.02.0.0 rejects this saying
10521        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10522     struct s { int j; const int *ap[3]; };
10523     struct s *b; b->j = 5;
10524   }
10525   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10526     const int foo = 10;
10527     if (!foo) return 0;
10528   }
10529   return !cs[0] && !zero.x;
10530 #endif
10531
10532   ;
10533   return 0;
10534 }
10535 _ACEOF
10536 rm -f conftest.$ac_objext
10537 if { (ac_try="$ac_compile"
10538 case "(($ac_try" in
10539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10540   *) ac_try_echo=$ac_try;;
10541 esac
10542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10543   (eval "$ac_compile") 2>conftest.er1
10544   ac_status=$?
10545   grep -v '^ *+' conftest.er1 >conftest.err
10546   rm -f conftest.er1
10547   cat conftest.err >&5
10548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549   (exit $ac_status); } && {
10550          test -z "$ac_c_werror_flag" ||
10551          test ! -s conftest.err
10552        } && test -s conftest.$ac_objext; then
10553   ac_cv_c_const=yes
10554 else
10555   echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10557
10558         ac_cv_c_const=no
10559 fi
10560
10561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10562 fi
10563 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10564 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10565 if test $ac_cv_c_const = no; then
10566
10567 cat >>confdefs.h <<\_ACEOF
10568 #define const
10569 _ACEOF
10570
10571 fi
10572
10573 if test "x$CC" != xcc; then
10574   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
10575 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
10576 else
10577   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
10578 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
10579 fi
10580 set dummy $CC; ac_cc=`echo $2 |
10581                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10582 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
10583   echo $ECHO_N "(cached) $ECHO_C" >&6
10584 else
10585   cat >conftest.$ac_ext <<_ACEOF
10586 /* confdefs.h.  */
10587 _ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h.  */
10591
10592 int
10593 main ()
10594 {
10595
10596   ;
10597   return 0;
10598 }
10599 _ACEOF
10600 # Make sure it works both with $CC and with simple cc.
10601 # We do the test twice because some compilers refuse to overwrite an
10602 # existing .o file with -o, though they will create one.
10603 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10604 rm -f conftest2.*
10605 if { (case "(($ac_try" in
10606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10607   *) ac_try_echo=$ac_try;;
10608 esac
10609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10610   (eval "$ac_try") 2>&5
10611   ac_status=$?
10612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613   (exit $ac_status); } &&
10614    test -f conftest2.$ac_objext && { (case "(($ac_try" in
10615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10616   *) ac_try_echo=$ac_try;;
10617 esac
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10619   (eval "$ac_try") 2>&5
10620   ac_status=$?
10621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622   (exit $ac_status); };
10623 then
10624   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
10625   if test "x$CC" != xcc; then
10626     # Test first that cc exists at all.
10627     if { ac_try='cc -c conftest.$ac_ext >&5'
10628   { (case "(($ac_try" in
10629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10630   *) ac_try_echo=$ac_try;;
10631 esac
10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10633   (eval "$ac_try") 2>&5
10634   ac_status=$?
10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636   (exit $ac_status); }; }; then
10637       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10638       rm -f conftest2.*
10639       if { (case "(($ac_try" in
10640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10641   *) ac_try_echo=$ac_try;;
10642 esac
10643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10644   (eval "$ac_try") 2>&5
10645   ac_status=$?
10646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647   (exit $ac_status); } &&
10648          test -f conftest2.$ac_objext && { (case "(($ac_try" in
10649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650   *) ac_try_echo=$ac_try;;
10651 esac
10652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653   (eval "$ac_try") 2>&5
10654   ac_status=$?
10655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656   (exit $ac_status); };
10657       then
10658         # cc works too.
10659         :
10660       else
10661         # cc exists but doesn't like -o.
10662         eval ac_cv_prog_cc_${ac_cc}_c_o=no
10663       fi
10664     fi
10665   fi
10666 else
10667   eval ac_cv_prog_cc_${ac_cc}_c_o=no
10668 fi
10669 rm -f core conftest*
10670
10671 fi
10672 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
10673   { echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6; }
10675 else
10676   { echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6; }
10678
10679 cat >>confdefs.h <<\_ACEOF
10680 #define NO_MINUS_C_MINUS_O 1
10681 _ACEOF
10682
10683 fi
10684
10685 # FIXME: we rely on the cache variable name because
10686 # there is no other way.
10687 set dummy $CC
10688 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10689 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
10690 if test "$am_t" != yes; then
10691    # Losing compiler, so override with the script.
10692    # FIXME: It is wrong to rewrite CC.
10693    # But if we don't then we get into trouble of one sort or another.
10694    # A longer-term fix would be to have automake use am__CC in this case,
10695    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10696    CC="$am_aux_dir/compile $CC"
10697 fi
10698
10699
10700
10701 WIN32_CFLAGS=""
10702 case "$host_os" in
10703    cegcc*)
10704       WIN32_CFLAGS="-mwin32"
10705       ;;
10706 esac
10707
10708
10709 EXPEDITE_CXXFLAGS=""
10710 ac_ext=cpp
10711 ac_cpp='$CXXCPP $CPPFLAGS'
10712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10715
10716 CXXFLAGS_save="${CXXFLAGS}"
10717 CXXFLAGS="${CXXFLAGS} -fno-rtti -fno-exceptions"
10718
10719 cat >conftest.$ac_ext <<_ACEOF
10720 /* confdefs.h.  */
10721 _ACEOF
10722 cat confdefs.h >>conftest.$ac_ext
10723 cat >>conftest.$ac_ext <<_ACEOF
10724 /* end confdefs.h.  */
10725
10726 int
10727 main ()
10728 {
10729
10730   ;
10731   return 0;
10732 }
10733 _ACEOF
10734 rm -f conftest.$ac_objext conftest$ac_exeext
10735 if { (ac_try="$ac_link"
10736 case "(($ac_try" in
10737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10738   *) ac_try_echo=$ac_try;;
10739 esac
10740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10741   (eval "$ac_link") 2>conftest.er1
10742   ac_status=$?
10743   grep -v '^ *+' conftest.er1 >conftest.err
10744   rm -f conftest.er1
10745   cat conftest.err >&5
10746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747   (exit $ac_status); } && {
10748          test -z "$ac_cxx_werror_flag" ||
10749          test ! -s conftest.err
10750        } && test -s conftest$ac_exeext &&
10751        $as_test_x conftest$ac_exeext; then
10752   have_cxx_flags="yes"
10753 else
10754   echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10756
10757         have_cxx_flags="no"
10758 fi
10759
10760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10761       conftest$ac_exeext conftest.$ac_ext
10762 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-rtti -fno-exceptions" >&5
10763 echo $ECHO_N "checking whether the compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10764 { echo "$as_me:$LINENO: result: ${have_cxx_flags}" >&5
10765 echo "${ECHO_T}${have_cxx_flags}" >&6; }
10766 CXXFLAGS="${CXXFLAGS_save}"
10767 if test "x${have_cxx_flags}" = "xyes" ; then
10768    EXPEDITE_CXXFLAGS="-fno-rtti -fno-exceptions"
10769 fi
10770 ac_ext=c
10771 ac_cpp='$CPP $CPPFLAGS'
10772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10775
10776
10777
10778
10779 ### Checks for linker characteristics
10780
10781 lt_enable_auto_import=""
10782 case "$host_os" in
10783    mingw* | cegcc*)
10784       lt_enable_auto_import="-Wl,--enable-auto-import"
10785       ;;
10786 esac
10787
10788
10789
10790 ### Checks for library functions
10791
10792
10793 ac_config_files="$ac_config_files Makefile src/Makefile src/bin/Makefile data/Makefile"
10794
10795 cat >confcache <<\_ACEOF
10796 # This file is a shell script that caches the results of configure
10797 # tests run on this system so they can be shared between configure
10798 # scripts and configure runs, see configure's option --config-cache.
10799 # It is not useful on other systems.  If it contains results you don't
10800 # want to keep, you may remove or edit it.
10801 #
10802 # config.status only pays attention to the cache file if you give it
10803 # the --recheck option to rerun configure.
10804 #
10805 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10806 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10807 # following values.
10808
10809 _ACEOF
10810
10811 # The following way of writing the cache mishandles newlines in values,
10812 # but we know of no workaround that is simple, portable, and efficient.
10813 # So, we kill variables containing newlines.
10814 # Ultrix sh set writes to stderr and can't be redirected directly,
10815 # and sets the high bit in the cache file unless we assign to the vars.
10816 (
10817   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10818     eval ac_val=\$$ac_var
10819     case $ac_val in #(
10820     *${as_nl}*)
10821       case $ac_var in #(
10822       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10823 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10824       esac
10825       case $ac_var in #(
10826       _ | IFS | as_nl) ;; #(
10827       *) $as_unset $ac_var ;;
10828       esac ;;
10829     esac
10830   done
10831
10832   (set) 2>&1 |
10833     case $as_nl`(ac_space=' '; set) 2>&1` in #(
10834     *${as_nl}ac_space=\ *)
10835       # `set' does not quote correctly, so add quotes (double-quote
10836       # substitution turns \\\\ into \\, and sed turns \\ into \).
10837       sed -n \
10838         "s/'/'\\\\''/g;
10839           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10840       ;; #(
10841     *)
10842       # `set' quotes correctly as required by POSIX, so do not add quotes.
10843       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10844       ;;
10845     esac |
10846     sort
10847 ) |
10848   sed '
10849      /^ac_cv_env_/b end
10850      t clear
10851      :clear
10852      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10853      t end
10854      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10855      :end' >>confcache
10856 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10857   if test -w "$cache_file"; then
10858     test "x$cache_file" != "x/dev/null" &&
10859       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10860 echo "$as_me: updating cache $cache_file" >&6;}
10861     cat confcache >$cache_file
10862   else
10863     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10864 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10865   fi
10866 fi
10867 rm -f confcache
10868
10869 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10870 # Let make expand exec_prefix.
10871 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10872
10873 DEFS=-DHAVE_CONFIG_H
10874
10875 ac_libobjs=
10876 ac_ltlibobjs=
10877 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10878   # 1. Remove the extension, and $U if already installed.
10879   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10880   ac_i=`echo "$ac_i" | sed "$ac_script"`
10881   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10882   #    will be set to the directory where LIBOBJS objects are built.
10883   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10884   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10885 done
10886 LIBOBJS=$ac_libobjs
10887
10888 LTLIBOBJS=$ac_ltlibobjs
10889
10890
10891 if test -z "${BUILD_SOFTWARE_X11_TRUE}" && test -z "${BUILD_SOFTWARE_X11_FALSE}"; then
10892   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_X11\" was never defined.
10893 Usually this means the macro was only invoked conditionally." >&5
10894 echo "$as_me: error: conditional \"BUILD_SOFTWARE_X11\" was never defined.
10895 Usually this means the macro was only invoked conditionally." >&2;}
10896    { (exit 1); exit 1; }; }
10897 fi
10898 if test -z "${BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_SOFTWARE_XLIB_FALSE}"; then
10899   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_XLIB\" was never defined.
10900 Usually this means the macro was only invoked conditionally." >&5
10901 echo "$as_me: error: conditional \"BUILD_SOFTWARE_XLIB\" was never defined.
10902 Usually this means the macro was only invoked conditionally." >&2;}
10903    { (exit 1); exit 1; }; }
10904 fi
10905 if test -z "${BUILD_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_SOFTWARE_XCB_FALSE}"; then
10906   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_XCB\" was never defined.
10907 Usually this means the macro was only invoked conditionally." >&5
10908 echo "$as_me: error: conditional \"BUILD_SOFTWARE_XCB\" was never defined.
10909 Usually this means the macro was only invoked conditionally." >&2;}
10910    { (exit 1); exit 1; }; }
10911 fi
10912 if test -z "${BUILD_XRENDER_X11_TRUE}" && test -z "${BUILD_XRENDER_X11_FALSE}"; then
10913   { { echo "$as_me:$LINENO: error: conditional \"BUILD_XRENDER_X11\" was never defined.
10914 Usually this means the macro was only invoked conditionally." >&5
10915 echo "$as_me: error: conditional \"BUILD_XRENDER_X11\" was never defined.
10916 Usually this means the macro was only invoked conditionally." >&2;}
10917    { (exit 1); exit 1; }; }
10918 fi
10919 if test -z "${BUILD_OPENGL_X11_TRUE}" && test -z "${BUILD_OPENGL_X11_FALSE}"; then
10920   { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_X11\" was never defined.
10921 Usually this means the macro was only invoked conditionally." >&5
10922 echo "$as_me: error: conditional \"BUILD_OPENGL_X11\" was never defined.
10923 Usually this means the macro was only invoked conditionally." >&2;}
10924    { (exit 1); exit 1; }; }
10925 fi
10926 if test -z "${BUILD_XRENDER_XCB_TRUE}" && test -z "${BUILD_XRENDER_XCB_FALSE}"; then
10927   { { echo "$as_me:$LINENO: error: conditional \"BUILD_XRENDER_XCB\" was never defined.
10928 Usually this means the macro was only invoked conditionally." >&5
10929 echo "$as_me: error: conditional \"BUILD_XRENDER_XCB\" was never defined.
10930 Usually this means the macro was only invoked conditionally." >&2;}
10931    { (exit 1); exit 1; }; }
10932 fi
10933 if test -z "${BUILD_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_SOFTWARE_GDI_FALSE}"; then
10934   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_GDI\" was never defined.
10935 Usually this means the macro was only invoked conditionally." >&5
10936 echo "$as_me: error: conditional \"BUILD_SOFTWARE_GDI\" was never defined.
10937 Usually this means the macro was only invoked conditionally." >&2;}
10938    { (exit 1); exit 1; }; }
10939 fi
10940 if test -z "${BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_SOFTWARE_DDRAW_FALSE}"; then
10941   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_DDRAW\" was never defined.
10942 Usually this means the macro was only invoked conditionally." >&5
10943 echo "$as_me: error: conditional \"BUILD_SOFTWARE_DDRAW\" was never defined.
10944 Usually this means the macro was only invoked conditionally." >&2;}
10945    { (exit 1); exit 1; }; }
10946 fi
10947 if test -z "${BUILD_DIRECT3D_TRUE}" && test -z "${BUILD_DIRECT3D_FALSE}"; then
10948   { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECT3D\" was never defined.
10949 Usually this means the macro was only invoked conditionally." >&5
10950 echo "$as_me: error: conditional \"BUILD_DIRECT3D\" was never defined.
10951 Usually this means the macro was only invoked conditionally." >&2;}
10952    { (exit 1); exit 1; }; }
10953 fi
10954 if test -z "${BUILD_OPENGL_GLEW_TRUE}" && test -z "${BUILD_OPENGL_GLEW_FALSE}"; then
10955   { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_GLEW\" was never defined.
10956 Usually this means the macro was only invoked conditionally." >&5
10957 echo "$as_me: error: conditional \"BUILD_OPENGL_GLEW\" was never defined.
10958 Usually this means the macro was only invoked conditionally." >&2;}
10959    { (exit 1); exit 1; }; }
10960 fi
10961 if test -z "${BUILD_SOFTWARE_SDL_TRUE}" && test -z "${BUILD_SOFTWARE_SDL_FALSE}"; then
10962   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_SDL\" was never defined.
10963 Usually this means the macro was only invoked conditionally." >&5
10964 echo "$as_me: error: conditional \"BUILD_SOFTWARE_SDL\" was never defined.
10965 Usually this means the macro was only invoked conditionally." >&2;}
10966    { (exit 1); exit 1; }; }
10967 fi
10968 if test -z "${BUILD_OPENGL_SDL_TRUE}" && test -z "${BUILD_OPENGL_SDL_FALSE}"; then
10969   { { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENGL_SDL\" was never defined.
10970 Usually this means the macro was only invoked conditionally." >&5
10971 echo "$as_me: error: conditional \"BUILD_OPENGL_SDL\" was never defined.
10972 Usually this means the macro was only invoked conditionally." >&2;}
10973    { (exit 1); exit 1; }; }
10974 fi
10975 if test -z "${BUILD_FB_TRUE}" && test -z "${BUILD_FB_FALSE}"; then
10976   { { echo "$as_me:$LINENO: error: conditional \"BUILD_FB\" was never defined.
10977 Usually this means the macro was only invoked conditionally." >&5
10978 echo "$as_me: error: conditional \"BUILD_FB\" was never defined.
10979 Usually this means the macro was only invoked conditionally." >&2;}
10980    { (exit 1); exit 1; }; }
10981 fi
10982 if test -z "${BUILD_DIRECTFB_TRUE}" && test -z "${BUILD_DIRECTFB_FALSE}"; then
10983   { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECTFB\" was never defined.
10984 Usually this means the macro was only invoked conditionally." >&5
10985 echo "$as_me: error: conditional \"BUILD_DIRECTFB\" was never defined.
10986 Usually this means the macro was only invoked conditionally." >&2;}
10987    { (exit 1); exit 1; }; }
10988 fi
10989 if test -z "${BUILD_QUARTZ_TRUE}" && test -z "${BUILD_QUARTZ_FALSE}"; then
10990   { { echo "$as_me:$LINENO: error: conditional \"BUILD_QUARTZ\" was never defined.
10991 Usually this means the macro was only invoked conditionally." >&5
10992 echo "$as_me: error: conditional \"BUILD_QUARTZ\" was never defined.
10993 Usually this means the macro was only invoked conditionally." >&2;}
10994    { (exit 1); exit 1; }; }
10995 fi
10996 if test -z "${BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_SOFTWARE_16_X11_FALSE}"; then
10997   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_X11\" was never defined.
10998 Usually this means the macro was only invoked conditionally." >&5
10999 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_X11\" was never defined.
11000 Usually this means the macro was only invoked conditionally." >&2;}
11001    { (exit 1); exit 1; }; }
11002 fi
11003 if test -z "${BUILD_SOFTWARE_16_DDRAW_TRUE}" && test -z "${BUILD_SOFTWARE_16_DDRAW_FALSE}"; then
11004   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_DDRAW\" was never defined.
11005 Usually this means the macro was only invoked conditionally." >&5
11006 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_DDRAW\" was never defined.
11007 Usually this means the macro was only invoked conditionally." >&2;}
11008    { (exit 1); exit 1; }; }
11009 fi
11010 if test -z "${BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_SOFTWARE_16_WINCE_FALSE}"; then
11011   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOFTWARE_16_WINCE\" was never defined.
11012 Usually this means the macro was only invoked conditionally." >&5
11013 echo "$as_me: error: conditional \"BUILD_SOFTWARE_16_WINCE\" was never defined.
11014 Usually this means the macro was only invoked conditionally." >&2;}
11015    { (exit 1); exit 1; }; }
11016 fi
11017 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11018   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11019 Usually this means the macro was only invoked conditionally." >&5
11020 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11021 Usually this means the macro was only invoked conditionally." >&2;}
11022    { (exit 1); exit 1; }; }
11023 fi
11024 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11025   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11026 Usually this means the macro was only invoked conditionally." >&5
11027 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11028 Usually this means the macro was only invoked conditionally." >&2;}
11029    { (exit 1); exit 1; }; }
11030 fi
11031 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
11032   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
11033 Usually this means the macro was only invoked conditionally." >&5
11034 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
11035 Usually this means the macro was only invoked conditionally." >&2;}
11036    { (exit 1); exit 1; }; }
11037 fi
11038 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
11039   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
11040 Usually this means the macro was only invoked conditionally." >&5
11041 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
11042 Usually this means the macro was only invoked conditionally." >&2;}
11043    { (exit 1); exit 1; }; }
11044 fi
11045 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
11046   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
11047 Usually this means the macro was only invoked conditionally." >&5
11048 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
11049 Usually this means the macro was only invoked conditionally." >&2;}
11050    { (exit 1); exit 1; }; }
11051 fi
11052 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11053   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11054 Usually this means the macro was only invoked conditionally." >&5
11055 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11056 Usually this means the macro was only invoked conditionally." >&2;}
11057    { (exit 1); exit 1; }; }
11058 fi
11059 if test -z "${BUILD_X11_TRUE}" && test -z "${BUILD_X11_FALSE}"; then
11060   { { echo "$as_me:$LINENO: error: conditional \"BUILD_X11\" was never defined.
11061 Usually this means the macro was only invoked conditionally." >&5
11062 echo "$as_me: error: conditional \"BUILD_X11\" was never defined.
11063 Usually this means the macro was only invoked conditionally." >&2;}
11064    { (exit 1); exit 1; }; }
11065 fi
11066 if test -z "${BUILD_XCB_TRUE}" && test -z "${BUILD_XCB_FALSE}"; then
11067   { { echo "$as_me:$LINENO: error: conditional \"BUILD_XCB\" was never defined.
11068 Usually this means the macro was only invoked conditionally." >&5
11069 echo "$as_me: error: conditional \"BUILD_XCB\" was never defined.
11070 Usually this means the macro was only invoked conditionally." >&2;}
11071    { (exit 1); exit 1; }; }
11072 fi
11073 if test -z "${BUILD_SDL_TRUE}" && test -z "${BUILD_SDL_FALSE}"; then
11074   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SDL\" was never defined.
11075 Usually this means the macro was only invoked conditionally." >&5
11076 echo "$as_me: error: conditional \"BUILD_SDL\" was never defined.
11077 Usually this means the macro was only invoked conditionally." >&2;}
11078    { (exit 1); exit 1; }; }
11079 fi
11080 if test -z "${BUILD_DIRECTFB_TRUE}" && test -z "${BUILD_DIRECTFB_FALSE}"; then
11081   { { echo "$as_me:$LINENO: error: conditional \"BUILD_DIRECTFB\" was never defined.
11082 Usually this means the macro was only invoked conditionally." >&5
11083 echo "$as_me: error: conditional \"BUILD_DIRECTFB\" was never defined.
11084 Usually this means the macro was only invoked conditionally." >&2;}
11085    { (exit 1); exit 1; }; }
11086 fi
11087 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11088   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11089 Usually this means the macro was only invoked conditionally." >&5
11090 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11091 Usually this means the macro was only invoked conditionally." >&2;}
11092    { (exit 1); exit 1; }; }
11093 fi
11094
11095 : ${CONFIG_STATUS=./config.status}
11096 ac_clean_files_save=$ac_clean_files
11097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11098 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11099 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11100 cat >$CONFIG_STATUS <<_ACEOF
11101 #! $SHELL
11102 # Generated by $as_me.
11103 # Run this file to recreate the current configuration.
11104 # Compiler output produced by configure, useful for debugging
11105 # configure, is in config.log if it exists.
11106
11107 debug=false
11108 ac_cs_recheck=false
11109 ac_cs_silent=false
11110 SHELL=\${CONFIG_SHELL-$SHELL}
11111 _ACEOF
11112
11113 cat >>$CONFIG_STATUS <<\_ACEOF
11114 ## --------------------- ##
11115 ## M4sh Initialization.  ##
11116 ## --------------------- ##
11117
11118 # Be more Bourne compatible
11119 DUALCASE=1; export DUALCASE # for MKS sh
11120 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11121   emulate sh
11122   NULLCMD=:
11123   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11124   # is contrary to our usage.  Disable this feature.
11125   alias -g '${1+"$@"}'='"$@"'
11126   setopt NO_GLOB_SUBST
11127 else
11128   case `(set -o) 2>/dev/null` in
11129   *posix*) set -o posix ;;
11130 esac
11131
11132 fi
11133
11134
11135
11136
11137 # PATH needs CR
11138 # Avoid depending upon Character Ranges.
11139 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11140 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11141 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11142 as_cr_digits='0123456789'
11143 as_cr_alnum=$as_cr_Letters$as_cr_digits
11144
11145 # The user is always right.
11146 if test "${PATH_SEPARATOR+set}" != set; then
11147   echo "#! /bin/sh" >conf$$.sh
11148   echo  "exit 0"   >>conf$$.sh
11149   chmod +x conf$$.sh
11150   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11151     PATH_SEPARATOR=';'
11152   else
11153     PATH_SEPARATOR=:
11154   fi
11155   rm -f conf$$.sh
11156 fi
11157
11158 # Support unset when possible.
11159 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11160   as_unset=unset
11161 else
11162   as_unset=false
11163 fi
11164
11165
11166 # IFS
11167 # We need space, tab and new line, in precisely that order.  Quoting is
11168 # there to prevent editors from complaining about space-tab.
11169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11170 # splitting by setting IFS to empty value.)
11171 as_nl='
11172 '
11173 IFS=" ""        $as_nl"
11174
11175 # Find who we are.  Look in the path if we contain no directory separator.
11176 case $0 in
11177   *[\\/]* ) as_myself=$0 ;;
11178   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11179 for as_dir in $PATH
11180 do
11181   IFS=$as_save_IFS
11182   test -z "$as_dir" && as_dir=.
11183   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11184 done
11185 IFS=$as_save_IFS
11186
11187      ;;
11188 esac
11189 # We did not find ourselves, most probably we were run as `sh COMMAND'
11190 # in which case we are not to be found in the path.
11191 if test "x$as_myself" = x; then
11192   as_myself=$0
11193 fi
11194 if test ! -f "$as_myself"; then
11195   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11196   { (exit 1); exit 1; }
11197 fi
11198
11199 # Work around bugs in pre-3.0 UWIN ksh.
11200 for as_var in ENV MAIL MAILPATH
11201 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11202 done
11203 PS1='$ '
11204 PS2='> '
11205 PS4='+ '
11206
11207 # NLS nuisances.
11208 for as_var in \
11209   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11210   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11211   LC_TELEPHONE LC_TIME
11212 do
11213   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11214     eval $as_var=C; export $as_var
11215   else
11216     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11217   fi
11218 done
11219
11220 # Required to use basename.
11221 if expr a : '\(a\)' >/dev/null 2>&1 &&
11222    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11223   as_expr=expr
11224 else
11225   as_expr=false
11226 fi
11227
11228 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11229   as_basename=basename
11230 else
11231   as_basename=false
11232 fi
11233
11234
11235 # Name of the executable.
11236 as_me=`$as_basename -- "$0" ||
11237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11238          X"$0" : 'X\(//\)$' \| \
11239          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11240 echo X/"$0" |
11241     sed '/^.*\/\([^/][^/]*\)\/*$/{
11242             s//\1/
11243             q
11244           }
11245           /^X\/\(\/\/\)$/{
11246             s//\1/
11247             q
11248           }
11249           /^X\/\(\/\).*/{
11250             s//\1/
11251             q
11252           }
11253           s/.*/./; q'`
11254
11255 # CDPATH.
11256 $as_unset CDPATH
11257
11258
11259
11260   as_lineno_1=$LINENO
11261   as_lineno_2=$LINENO
11262   test "x$as_lineno_1" != "x$as_lineno_2" &&
11263   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11264
11265   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11266   # uniformly replaced by the line number.  The first 'sed' inserts a
11267   # line-number line after each line using $LINENO; the second 'sed'
11268   # does the real work.  The second script uses 'N' to pair each
11269   # line-number line with the line containing $LINENO, and appends
11270   # trailing '-' during substitution so that $LINENO is not a special
11271   # case at line end.
11272   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11273   # scripts with optimization help from Paolo Bonzini.  Blame Lee
11274   # E. McMahon (1931-1989) for sed's syntax.  :-)
11275   sed -n '
11276     p
11277     /[$]LINENO/=
11278   ' <$as_myself |
11279     sed '
11280       s/[$]LINENO.*/&-/
11281       t lineno
11282       b
11283       :lineno
11284       N
11285       :loop
11286       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11287       t loop
11288       s/-\n.*//
11289     ' >$as_me.lineno &&
11290   chmod +x "$as_me.lineno" ||
11291     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11292    { (exit 1); exit 1; }; }
11293
11294   # Don't try to exec as it changes $[0], causing all sort of problems
11295   # (the dirname of $[0] is not the place where we might find the
11296   # original and so on.  Autoconf is especially sensitive to this).
11297   . "./$as_me.lineno"
11298   # Exit status is that of the last command.
11299   exit
11300 }
11301
11302
11303 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11304   as_dirname=dirname
11305 else
11306   as_dirname=false
11307 fi
11308
11309 ECHO_C= ECHO_N= ECHO_T=
11310 case `echo -n x` in
11311 -n*)
11312   case `echo 'x\c'` in
11313   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
11314   *)   ECHO_C='\c';;
11315   esac;;
11316 *)
11317   ECHO_N='-n';;
11318 esac
11319
11320 if expr a : '\(a\)' >/dev/null 2>&1 &&
11321    test "X`expr 00001 : '.*\(...\)'`" = X001; then
11322   as_expr=expr
11323 else
11324   as_expr=false
11325 fi
11326
11327 rm -f conf$$ conf$$.exe conf$$.file
11328 if test -d conf$$.dir; then
11329   rm -f conf$$.dir/conf$$.file
11330 else
11331   rm -f conf$$.dir
11332   mkdir conf$$.dir
11333 fi
11334 echo >conf$$.file
11335 if ln -s conf$$.file conf$$ 2>/dev/null; then
11336   as_ln_s='ln -s'
11337   # ... but there are two gotchas:
11338   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11339   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11340   # In both cases, we have to default to `cp -p'.
11341   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11342     as_ln_s='cp -p'
11343 elif ln conf$$.file conf$$ 2>/dev/null; then
11344   as_ln_s=ln
11345 else
11346   as_ln_s='cp -p'
11347 fi
11348 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11349 rmdir conf$$.dir 2>/dev/null
11350
11351 if mkdir -p . 2>/dev/null; then
11352   as_mkdir_p=:
11353 else
11354   test -d ./-p && rmdir ./-p
11355   as_mkdir_p=false
11356 fi
11357
11358 if test -x / >/dev/null 2>&1; then
11359   as_test_x='test -x'
11360 else
11361   if ls -dL / >/dev/null 2>&1; then
11362     as_ls_L_option=L
11363   else
11364     as_ls_L_option=
11365   fi
11366   as_test_x='
11367     eval sh -c '\''
11368       if test -d "$1"; then
11369         test -d "$1/.";
11370       else
11371         case $1 in
11372         -*)set "./$1";;
11373         esac;
11374         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11375         ???[sx]*):;;*)false;;esac;fi
11376     '\'' sh
11377   '
11378 fi
11379 as_executable_p=$as_test_x
11380
11381 # Sed expression to map a string onto a valid CPP name.
11382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11383
11384 # Sed expression to map a string onto a valid variable name.
11385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11386
11387
11388 exec 6>&1
11389
11390 # Save the log message, to keep $[0] and so on meaningful, and to
11391 # report actual input values of CONFIG_FILES etc. instead of their
11392 # values after options handling.
11393 ac_log="
11394 This file was extended by expedite $as_me 0.7.0, which was
11395 generated by GNU Autoconf 2.61.  Invocation command line was
11396
11397   CONFIG_FILES    = $CONFIG_FILES
11398   CONFIG_HEADERS  = $CONFIG_HEADERS
11399   CONFIG_LINKS    = $CONFIG_LINKS
11400   CONFIG_COMMANDS = $CONFIG_COMMANDS
11401   $ $0 $@
11402
11403 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11404 "
11405
11406 _ACEOF
11407
11408 cat >>$CONFIG_STATUS <<_ACEOF
11409 # Files that config.status was made for.
11410 config_files="$ac_config_files"
11411 config_headers="$ac_config_headers"
11412 config_commands="$ac_config_commands"
11413
11414 _ACEOF
11415
11416 cat >>$CONFIG_STATUS <<\_ACEOF
11417 ac_cs_usage="\
11418 \`$as_me' instantiates files from templates according to the
11419 current configuration.
11420
11421 Usage: $0 [OPTIONS] [FILE]...
11422
11423   -h, --help       print this help, then exit
11424   -V, --version    print version number and configuration settings, then exit
11425   -q, --quiet      do not print progress messages
11426   -d, --debug      don't remove temporary files
11427       --recheck    update $as_me by reconfiguring in the same conditions
11428   --file=FILE[:TEMPLATE]
11429                    instantiate the configuration file FILE
11430   --header=FILE[:TEMPLATE]
11431                    instantiate the configuration header FILE
11432
11433 Configuration files:
11434 $config_files
11435
11436 Configuration headers:
11437 $config_headers
11438
11439 Configuration commands:
11440 $config_commands
11441
11442 Report bugs to <bug-autoconf@gnu.org>."
11443
11444 _ACEOF
11445 cat >>$CONFIG_STATUS <<_ACEOF
11446 ac_cs_version="\\
11447 expedite config.status 0.7.0
11448 configured by $0, generated by GNU Autoconf 2.61,
11449   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11450
11451 Copyright (C) 2006 Free Software Foundation, Inc.
11452 This config.status script is free software; the Free Software Foundation
11453 gives unlimited permission to copy, distribute and modify it."
11454
11455 ac_pwd='$ac_pwd'
11456 srcdir='$srcdir'
11457 INSTALL='$INSTALL'
11458 MKDIR_P='$MKDIR_P'
11459 _ACEOF
11460
11461 cat >>$CONFIG_STATUS <<\_ACEOF
11462 # If no file are specified by the user, then we need to provide default
11463 # value.  By we need to know if files were specified by the user.
11464 ac_need_defaults=:
11465 while test $# != 0
11466 do
11467   case $1 in
11468   --*=*)
11469     ac_option=`expr "X$1" : 'X\([^=]*\)='`
11470     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11471     ac_shift=:
11472     ;;
11473   *)
11474     ac_option=$1
11475     ac_optarg=$2
11476     ac_shift=shift
11477     ;;
11478   esac
11479
11480   case $ac_option in
11481   # Handling of the options.
11482   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11483     ac_cs_recheck=: ;;
11484   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11485     echo "$ac_cs_version"; exit ;;
11486   --debug | --debu | --deb | --de | --d | -d )
11487     debug=: ;;
11488   --file | --fil | --fi | --f )
11489     $ac_shift
11490     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11491     ac_need_defaults=false;;
11492   --header | --heade | --head | --hea )
11493     $ac_shift
11494     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11495     ac_need_defaults=false;;
11496   --he | --h)
11497     # Conflict between --help and --header
11498     { echo "$as_me: error: ambiguous option: $1
11499 Try \`$0 --help' for more information." >&2
11500    { (exit 1); exit 1; }; };;
11501   --help | --hel | -h )
11502     echo "$ac_cs_usage"; exit ;;
11503   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11504   | -silent | --silent | --silen | --sile | --sil | --si | --s)
11505     ac_cs_silent=: ;;
11506
11507   # This is an error.
11508   -*) { echo "$as_me: error: unrecognized option: $1
11509 Try \`$0 --help' for more information." >&2
11510    { (exit 1); exit 1; }; } ;;
11511
11512   *) ac_config_targets="$ac_config_targets $1"
11513      ac_need_defaults=false ;;
11514
11515   esac
11516   shift
11517 done
11518
11519 ac_configure_extra_args=
11520
11521 if $ac_cs_silent; then
11522   exec 6>/dev/null
11523   ac_configure_extra_args="$ac_configure_extra_args --silent"
11524 fi
11525
11526 _ACEOF
11527 cat >>$CONFIG_STATUS <<_ACEOF
11528 if \$ac_cs_recheck; then
11529   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11530   CONFIG_SHELL=$SHELL
11531   export CONFIG_SHELL
11532   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11533 fi
11534
11535 _ACEOF
11536 cat >>$CONFIG_STATUS <<\_ACEOF
11537 exec 5>>config.log
11538 {
11539   echo
11540   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11541 ## Running $as_me. ##
11542 _ASBOX
11543   echo "$ac_log"
11544 } >&5
11545
11546 _ACEOF
11547 cat >>$CONFIG_STATUS <<_ACEOF
11548 #
11549 # INIT-COMMANDS
11550 #
11551 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11552
11553 _ACEOF
11554
11555 cat >>$CONFIG_STATUS <<\_ACEOF
11556
11557 # Handling of arguments.
11558 for ac_config_target in $ac_config_targets
11559 do
11560   case $ac_config_target in
11561     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11562     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11563     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11564     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
11565     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
11566     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
11567
11568   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11569 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11570    { (exit 1); exit 1; }; };;
11571   esac
11572 done
11573
11574
11575 # If the user did not use the arguments to specify the items to instantiate,
11576 # then the envvar interface is used.  Set only those that are not.
11577 # We use the long form for the default assignment because of an extremely
11578 # bizarre bug on SunOS 4.1.3.
11579 if $ac_need_defaults; then
11580   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11581   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11582   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11583 fi
11584
11585 # Have a temporary directory for convenience.  Make it in the build tree
11586 # simply because there is no reason against having it here, and in addition,
11587 # creating and moving files from /tmp can sometimes cause problems.
11588 # Hook for its removal unless debugging.
11589 # Note that there is a small window in which the directory will not be cleaned:
11590 # after its creation but before its name has been assigned to `$tmp'.
11591 $debug ||
11592 {
11593   tmp=
11594   trap 'exit_status=$?
11595   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11596 ' 0
11597   trap '{ (exit 1); exit 1; }' 1 2 13 15
11598 }
11599 # Create a (secure) tmp directory for tmp files.
11600
11601 {
11602   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11603   test -n "$tmp" && test -d "$tmp"
11604 }  ||
11605 {
11606   tmp=./conf$$-$RANDOM
11607   (umask 077 && mkdir "$tmp")
11608 } ||
11609 {
11610    echo "$me: cannot create a temporary directory in ." >&2
11611    { (exit 1); exit 1; }
11612 }
11613
11614 #
11615 # Set up the sed scripts for CONFIG_FILES section.
11616 #
11617
11618 # No need to generate the scripts if there are no CONFIG_FILES.
11619 # This happens for instance when ./config.status config.h
11620 if test -n "$CONFIG_FILES"; then
11621
11622 _ACEOF
11623
11624
11625
11626 ac_delim='%!_!# '
11627 for ac_last_try in false false false false false :; do
11628   cat >conf$$subs.sed <<_ACEOF
11629 SHELL!$SHELL$ac_delim
11630 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11631 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11632 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11633 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11634 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11635 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11636 exec_prefix!$exec_prefix$ac_delim
11637 prefix!$prefix$ac_delim
11638 program_transform_name!$program_transform_name$ac_delim
11639 bindir!$bindir$ac_delim
11640 sbindir!$sbindir$ac_delim
11641 libexecdir!$libexecdir$ac_delim
11642 datarootdir!$datarootdir$ac_delim
11643 datadir!$datadir$ac_delim
11644 sysconfdir!$sysconfdir$ac_delim
11645 sharedstatedir!$sharedstatedir$ac_delim
11646 localstatedir!$localstatedir$ac_delim
11647 includedir!$includedir$ac_delim
11648 oldincludedir!$oldincludedir$ac_delim
11649 docdir!$docdir$ac_delim
11650 infodir!$infodir$ac_delim
11651 htmldir!$htmldir$ac_delim
11652 dvidir!$dvidir$ac_delim
11653 pdfdir!$pdfdir$ac_delim
11654 psdir!$psdir$ac_delim
11655 libdir!$libdir$ac_delim
11656 localedir!$localedir$ac_delim
11657 mandir!$mandir$ac_delim
11658 DEFS!$DEFS$ac_delim
11659 ECHO_C!$ECHO_C$ac_delim
11660 ECHO_N!$ECHO_N$ac_delim
11661 ECHO_T!$ECHO_T$ac_delim
11662 LIBS!$LIBS$ac_delim
11663 build_alias!$build_alias$ac_delim
11664 host_alias!$host_alias$ac_delim
11665 target_alias!$target_alias$ac_delim
11666 build!$build$ac_delim
11667 build_cpu!$build_cpu$ac_delim
11668 build_vendor!$build_vendor$ac_delim
11669 build_os!$build_os$ac_delim
11670 host!$host$ac_delim
11671 host_cpu!$host_cpu$ac_delim
11672 host_vendor!$host_vendor$ac_delim
11673 host_os!$host_os$ac_delim
11674 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11675 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11676 INSTALL_DATA!$INSTALL_DATA$ac_delim
11677 am__isrc!$am__isrc$ac_delim
11678 CYGPATH_W!$CYGPATH_W$ac_delim
11679 PACKAGE!$PACKAGE$ac_delim
11680 VERSION!$VERSION$ac_delim
11681 ACLOCAL!$ACLOCAL$ac_delim
11682 AUTOCONF!$AUTOCONF$ac_delim
11683 AUTOMAKE!$AUTOMAKE$ac_delim
11684 AUTOHEADER!$AUTOHEADER$ac_delim
11685 MAKEINFO!$MAKEINFO$ac_delim
11686 install_sh!$install_sh$ac_delim
11687 STRIP!$STRIP$ac_delim
11688 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
11689 mkdir_p!$mkdir_p$ac_delim
11690 AWK!$AWK$ac_delim
11691 SET_MAKE!$SET_MAKE$ac_delim
11692 am__leading_dot!$am__leading_dot$ac_delim
11693 AMTAR!$AMTAR$ac_delim
11694 am__tar!$am__tar$ac_delim
11695 am__untar!$am__untar$ac_delim
11696 PKG_CONFIG!$PKG_CONFIG$ac_delim
11697 BUILD_SOFTWARE_X11_TRUE!$BUILD_SOFTWARE_X11_TRUE$ac_delim
11698 BUILD_SOFTWARE_X11_FALSE!$BUILD_SOFTWARE_X11_FALSE$ac_delim
11699 BUILD_SOFTWARE_XLIB_TRUE!$BUILD_SOFTWARE_XLIB_TRUE$ac_delim
11700 BUILD_SOFTWARE_XLIB_FALSE!$BUILD_SOFTWARE_XLIB_FALSE$ac_delim
11701 BUILD_SOFTWARE_XCB_TRUE!$BUILD_SOFTWARE_XCB_TRUE$ac_delim
11702 BUILD_SOFTWARE_XCB_FALSE!$BUILD_SOFTWARE_XCB_FALSE$ac_delim
11703 BUILD_XRENDER_X11_TRUE!$BUILD_XRENDER_X11_TRUE$ac_delim
11704 BUILD_XRENDER_X11_FALSE!$BUILD_XRENDER_X11_FALSE$ac_delim
11705 BUILD_OPENGL_X11_TRUE!$BUILD_OPENGL_X11_TRUE$ac_delim
11706 BUILD_OPENGL_X11_FALSE!$BUILD_OPENGL_X11_FALSE$ac_delim
11707 BUILD_XRENDER_XCB_TRUE!$BUILD_XRENDER_XCB_TRUE$ac_delim
11708 BUILD_XRENDER_XCB_FALSE!$BUILD_XRENDER_XCB_FALSE$ac_delim
11709 BUILD_SOFTWARE_GDI_TRUE!$BUILD_SOFTWARE_GDI_TRUE$ac_delim
11710 BUILD_SOFTWARE_GDI_FALSE!$BUILD_SOFTWARE_GDI_FALSE$ac_delim
11711 gdi_libs!$gdi_libs$ac_delim
11712 BUILD_SOFTWARE_DDRAW_TRUE!$BUILD_SOFTWARE_DDRAW_TRUE$ac_delim
11713 BUILD_SOFTWARE_DDRAW_FALSE!$BUILD_SOFTWARE_DDRAW_FALSE$ac_delim
11714 ddraw_libs!$ddraw_libs$ac_delim
11715 BUILD_DIRECT3D_TRUE!$BUILD_DIRECT3D_TRUE$ac_delim
11716 BUILD_DIRECT3D_FALSE!$BUILD_DIRECT3D_FALSE$ac_delim
11717 d3d_libs!$d3d_libs$ac_delim
11718 BUILD_OPENGL_GLEW_TRUE!$BUILD_OPENGL_GLEW_TRUE$ac_delim
11719 BUILD_OPENGL_GLEW_FALSE!$BUILD_OPENGL_GLEW_FALSE$ac_delim
11720 glew_libs!$glew_libs$ac_delim
11721 BUILD_SOFTWARE_SDL_TRUE!$BUILD_SOFTWARE_SDL_TRUE$ac_delim
11722 BUILD_SOFTWARE_SDL_FALSE!$BUILD_SOFTWARE_SDL_FALSE$ac_delim
11723 BUILD_OPENGL_SDL_TRUE!$BUILD_OPENGL_SDL_TRUE$ac_delim
11724 BUILD_OPENGL_SDL_FALSE!$BUILD_OPENGL_SDL_FALSE$ac_delim
11725 BUILD_FB_TRUE!$BUILD_FB_TRUE$ac_delim
11726 _ACEOF
11727
11728   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11729     break
11730   elif $ac_last_try; then
11731     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11732 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11733    { (exit 1); exit 1; }; }
11734   else
11735     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11736   fi
11737 done
11738
11739 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11740 if test -n "$ac_eof"; then
11741   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11742   ac_eof=`expr $ac_eof + 1`
11743 fi
11744
11745 cat >>$CONFIG_STATUS <<_ACEOF
11746 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11748 _ACEOF
11749 sed '
11750 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11751 s/^/s,@/; s/!/@,|#_!!_#|/
11752 :n
11753 t n
11754 s/'"$ac_delim"'$/,g/; t
11755 s/$/\\/; p
11756 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11757 ' >>$CONFIG_STATUS <conf$$subs.sed
11758 rm -f conf$$subs.sed
11759 cat >>$CONFIG_STATUS <<_ACEOF
11760 CEOF$ac_eof
11761 _ACEOF
11762
11763
11764 ac_delim='%!_!# '
11765 for ac_last_try in false false false false false :; do
11766   cat >conf$$subs.sed <<_ACEOF
11767 BUILD_FB_FALSE!$BUILD_FB_FALSE$ac_delim
11768 BUILD_DIRECTFB_TRUE!$BUILD_DIRECTFB_TRUE$ac_delim
11769 BUILD_DIRECTFB_FALSE!$BUILD_DIRECTFB_FALSE$ac_delim
11770 BUILD_QUARTZ_TRUE!$BUILD_QUARTZ_TRUE$ac_delim
11771 BUILD_QUARTZ_FALSE!$BUILD_QUARTZ_FALSE$ac_delim
11772 quartz_libs!$quartz_libs$ac_delim
11773 BUILD_SOFTWARE_16_X11_TRUE!$BUILD_SOFTWARE_16_X11_TRUE$ac_delim
11774 BUILD_SOFTWARE_16_X11_FALSE!$BUILD_SOFTWARE_16_X11_FALSE$ac_delim
11775 BUILD_SOFTWARE_16_DDRAW_TRUE!$BUILD_SOFTWARE_16_DDRAW_TRUE$ac_delim
11776 BUILD_SOFTWARE_16_DDRAW_FALSE!$BUILD_SOFTWARE_16_DDRAW_FALSE$ac_delim
11777 ddraw_16_libs!$ddraw_16_libs$ac_delim
11778 BUILD_SOFTWARE_16_WINCE_TRUE!$BUILD_SOFTWARE_16_WINCE_TRUE$ac_delim
11779 BUILD_SOFTWARE_16_WINCE_FALSE!$BUILD_SOFTWARE_16_WINCE_FALSE$ac_delim
11780 wince_16_libs!$wince_16_libs$ac_delim
11781 CC!$CC$ac_delim
11782 CFLAGS!$CFLAGS$ac_delim
11783 LDFLAGS!$LDFLAGS$ac_delim
11784 CPPFLAGS!$CPPFLAGS$ac_delim
11785 ac_ct_CC!$ac_ct_CC$ac_delim
11786 EXEEXT!$EXEEXT$ac_delim
11787 OBJEXT!$OBJEXT$ac_delim
11788 DEPDIR!$DEPDIR$ac_delim
11789 am__include!$am__include$ac_delim
11790 am__quote!$am__quote$ac_delim
11791 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
11792 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
11793 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
11794 CCDEPMODE!$CCDEPMODE$ac_delim
11795 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
11796 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
11797 OBJC!$OBJC$ac_delim
11798 OBJCFLAGS!$OBJCFLAGS$ac_delim
11799 ac_ct_OBJC!$ac_ct_OBJC$ac_delim
11800 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
11801 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
11802 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
11803 CXX!$CXX$ac_delim
11804 CXXFLAGS!$CXXFLAGS$ac_delim
11805 ac_ct_CXX!$ac_ct_CXX$ac_delim
11806 CXXDEPMODE!$CXXDEPMODE$ac_delim
11807 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
11808 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
11809 RC!$RC$ac_delim
11810 EVIL_CFLAGS!$EVIL_CFLAGS$ac_delim
11811 EVIL_LIBS!$EVIL_LIBS$ac_delim
11812 EINA_CFLAGS!$EINA_CFLAGS$ac_delim
11813 EINA_LIBS!$EINA_LIBS$ac_delim
11814 EVAS_CFLAGS!$EVAS_CFLAGS$ac_delim
11815 EVAS_LIBS!$EVAS_LIBS$ac_delim
11816 XMKMF!$XMKMF$ac_delim
11817 CPP!$CPP$ac_delim
11818 X_CFLAGS!$X_CFLAGS$ac_delim
11819 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
11820 X_LIBS!$X_LIBS$ac_delim
11821 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
11822 GREP!$GREP$ac_delim
11823 EGREP!$EGREP$ac_delim
11824 BUILD_X11_TRUE!$BUILD_X11_TRUE$ac_delim
11825 BUILD_X11_FALSE!$BUILD_X11_FALSE$ac_delim
11826 x_cflags!$x_cflags$ac_delim
11827 x_libs!$x_libs$ac_delim
11828 XCB_CFLAGS!$XCB_CFLAGS$ac_delim
11829 XCB_LIBS!$XCB_LIBS$ac_delim
11830 BUILD_XCB_TRUE!$BUILD_XCB_TRUE$ac_delim
11831 BUILD_XCB_FALSE!$BUILD_XCB_FALSE$ac_delim
11832 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
11833 SDL_LIBS!$SDL_LIBS$ac_delim
11834 BUILD_SDL_TRUE!$BUILD_SDL_TRUE$ac_delim
11835 BUILD_SDL_FALSE!$BUILD_SDL_FALSE$ac_delim
11836 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
11837 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
11838 WIN32_CFLAGS!$WIN32_CFLAGS$ac_delim
11839 EXPEDITE_CXXFLAGS!$EXPEDITE_CXXFLAGS$ac_delim
11840 lt_enable_auto_import!$lt_enable_auto_import$ac_delim
11841 LIBOBJS!$LIBOBJS$ac_delim
11842 LTLIBOBJS!$LTLIBOBJS$ac_delim
11843 _ACEOF
11844
11845   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
11846     break
11847   elif $ac_last_try; then
11848     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11849 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11850    { (exit 1); exit 1; }; }
11851   else
11852     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11853   fi
11854 done
11855
11856 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11857 if test -n "$ac_eof"; then
11858   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11859   ac_eof=`expr $ac_eof + 1`
11860 fi
11861
11862 cat >>$CONFIG_STATUS <<_ACEOF
11863 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11865 _ACEOF
11866 sed '
11867 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11868 s/^/s,@/; s/!/@,|#_!!_#|/
11869 :n
11870 t n
11871 s/'"$ac_delim"'$/,g/; t
11872 s/$/\\/; p
11873 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11874 ' >>$CONFIG_STATUS <conf$$subs.sed
11875 rm -f conf$$subs.sed
11876 cat >>$CONFIG_STATUS <<_ACEOF
11877 :end
11878 s/|#_!!_#|//g
11879 CEOF$ac_eof
11880 _ACEOF
11881
11882
11883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11885 # trailing colons and then remove the whole line if VPATH becomes empty
11886 # (actually we leave an empty line to preserve line numbers).
11887 if test "x$srcdir" = x.; then
11888   ac_vpsub='/^[  ]*VPATH[        ]*=/{
11889 s/:*\$(srcdir):*/:/
11890 s/:*\${srcdir}:*/:/
11891 s/:*@srcdir@:*/:/
11892 s/^\([^=]*=[     ]*\):*/\1/
11893 s/:*$//
11894 s/^[^=]*=[       ]*$//
11895 }'
11896 fi
11897
11898 cat >>$CONFIG_STATUS <<\_ACEOF
11899 fi # test -n "$CONFIG_FILES"
11900
11901
11902 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
11903 do
11904   case $ac_tag in
11905   :[FHLC]) ac_mode=$ac_tag; continue;;
11906   esac
11907   case $ac_mode$ac_tag in
11908   :[FHL]*:*);;
11909   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11910 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11911    { (exit 1); exit 1; }; };;
11912   :[FH]-) ac_tag=-:-;;
11913   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11914   esac
11915   ac_save_IFS=$IFS
11916   IFS=:
11917   set x $ac_tag
11918   IFS=$ac_save_IFS
11919   shift
11920   ac_file=$1
11921   shift
11922
11923   case $ac_mode in
11924   :L) ac_source=$1;;
11925   :[FH])
11926     ac_file_inputs=
11927     for ac_f
11928     do
11929       case $ac_f in
11930       -) ac_f="$tmp/stdin";;
11931       *) # Look for the file first in the build tree, then in the source tree
11932          # (if the path is not absolute).  The absolute path cannot be DOS-style,
11933          # because $ac_f cannot contain `:'.
11934          test -f "$ac_f" ||
11935            case $ac_f in
11936            [\\/$]*) false;;
11937            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11938            esac ||
11939            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11940 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11941    { (exit 1); exit 1; }; };;
11942       esac
11943       ac_file_inputs="$ac_file_inputs $ac_f"
11944     done
11945
11946     # Let's still pretend it is `configure' which instantiates (i.e., don't
11947     # use $as_me), people would be surprised to read:
11948     #    /* config.h.  Generated by config.status.  */
11949     configure_input="Generated from "`IFS=:
11950           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11951     if test x"$ac_file" != x-; then
11952       configure_input="$ac_file.  $configure_input"
11953       { echo "$as_me:$LINENO: creating $ac_file" >&5
11954 echo "$as_me: creating $ac_file" >&6;}
11955     fi
11956
11957     case $ac_tag in
11958     *:-:* | *:-) cat >"$tmp/stdin";;
11959     esac
11960     ;;
11961   esac
11962
11963   ac_dir=`$as_dirname -- "$ac_file" ||
11964 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11965          X"$ac_file" : 'X\(//\)[^/]' \| \
11966          X"$ac_file" : 'X\(//\)$' \| \
11967          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11968 echo X"$ac_file" |
11969     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11970             s//\1/
11971             q
11972           }
11973           /^X\(\/\/\)[^/].*/{
11974             s//\1/
11975             q
11976           }
11977           /^X\(\/\/\)$/{
11978             s//\1/
11979             q
11980           }
11981           /^X\(\/\).*/{
11982             s//\1/
11983             q
11984           }
11985           s/.*/./; q'`
11986   { as_dir="$ac_dir"
11987   case $as_dir in #(
11988   -*) as_dir=./$as_dir;;
11989   esac
11990   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11991     as_dirs=
11992     while :; do
11993       case $as_dir in #(
11994       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11995       *) as_qdir=$as_dir;;
11996       esac
11997       as_dirs="'$as_qdir' $as_dirs"
11998       as_dir=`$as_dirname -- "$as_dir" ||
11999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12000          X"$as_dir" : 'X\(//\)[^/]' \| \
12001          X"$as_dir" : 'X\(//\)$' \| \
12002          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12003 echo X"$as_dir" |
12004     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12005             s//\1/
12006             q
12007           }
12008           /^X\(\/\/\)[^/].*/{
12009             s//\1/
12010             q
12011           }
12012           /^X\(\/\/\)$/{
12013             s//\1/
12014             q
12015           }
12016           /^X\(\/\).*/{
12017             s//\1/
12018             q
12019           }
12020           s/.*/./; q'`
12021       test -d "$as_dir" && break
12022     done
12023     test -z "$as_dirs" || eval "mkdir $as_dirs"
12024   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12025 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12026    { (exit 1); exit 1; }; }; }
12027   ac_builddir=.
12028
12029 case "$ac_dir" in
12030 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12031 *)
12032   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12033   # A ".." for each directory in $ac_dir_suffix.
12034   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12035   case $ac_top_builddir_sub in
12036   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12037   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12038   esac ;;
12039 esac
12040 ac_abs_top_builddir=$ac_pwd
12041 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12042 # for backward compatibility:
12043 ac_top_builddir=$ac_top_build_prefix
12044
12045 case $srcdir in
12046   .)  # We are building in place.
12047     ac_srcdir=.
12048     ac_top_srcdir=$ac_top_builddir_sub
12049     ac_abs_top_srcdir=$ac_pwd ;;
12050   [\\/]* | ?:[\\/]* )  # Absolute name.
12051     ac_srcdir=$srcdir$ac_dir_suffix;
12052     ac_top_srcdir=$srcdir
12053     ac_abs_top_srcdir=$srcdir ;;
12054   *) # Relative name.
12055     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12056     ac_top_srcdir=$ac_top_build_prefix$srcdir
12057     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12058 esac
12059 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12060
12061
12062   case $ac_mode in
12063   :F)
12064   #
12065   # CONFIG_FILE
12066   #
12067
12068   case $INSTALL in
12069   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12070   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12071   esac
12072   ac_MKDIR_P=$MKDIR_P
12073   case $MKDIR_P in
12074   [\\/$]* | ?:[\\/]* ) ;;
12075   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12076   esac
12077 _ACEOF
12078
12079 cat >>$CONFIG_STATUS <<\_ACEOF
12080 # If the template does not know about datarootdir, expand it.
12081 # FIXME: This hack should be removed a few years after 2.60.
12082 ac_datarootdir_hack=; ac_datarootdir_seen=
12083
12084 case `sed -n '/datarootdir/ {
12085   p
12086   q
12087 }
12088 /@datadir@/p
12089 /@docdir@/p
12090 /@infodir@/p
12091 /@localedir@/p
12092 /@mandir@/p
12093 ' $ac_file_inputs` in
12094 *datarootdir*) ac_datarootdir_seen=yes;;
12095 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12096   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12097 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12098 _ACEOF
12099 cat >>$CONFIG_STATUS <<_ACEOF
12100   ac_datarootdir_hack='
12101   s&@datadir@&$datadir&g
12102   s&@docdir@&$docdir&g
12103   s&@infodir@&$infodir&g
12104   s&@localedir@&$localedir&g
12105   s&@mandir@&$mandir&g
12106     s&\\\${datarootdir}&$datarootdir&g' ;;
12107 esac
12108 _ACEOF
12109
12110 # Neutralize VPATH when `$srcdir' = `.'.
12111 # Shell code in configure.ac might set extrasub.
12112 # FIXME: do we really want to maintain this feature?
12113 cat >>$CONFIG_STATUS <<_ACEOF
12114   sed "$ac_vpsub
12115 $extrasub
12116 _ACEOF
12117 cat >>$CONFIG_STATUS <<\_ACEOF
12118 :t
12119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12120 s&@configure_input@&$configure_input&;t t
12121 s&@top_builddir@&$ac_top_builddir_sub&;t t
12122 s&@srcdir@&$ac_srcdir&;t t
12123 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12124 s&@top_srcdir@&$ac_top_srcdir&;t t
12125 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12126 s&@builddir@&$ac_builddir&;t t
12127 s&@abs_builddir@&$ac_abs_builddir&;t t
12128 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12129 s&@INSTALL@&$ac_INSTALL&;t t
12130 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12131 $ac_datarootdir_hack
12132 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12133
12134 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12135   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12136   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12137   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12138 which seems to be undefined.  Please make sure it is defined." >&5
12139 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12140 which seems to be undefined.  Please make sure it is defined." >&2;}
12141
12142   rm -f "$tmp/stdin"
12143   case $ac_file in
12144   -) cat "$tmp/out"; rm -f "$tmp/out";;
12145   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12146   esac
12147  ;;
12148   :H)
12149   #
12150   # CONFIG_HEADER
12151   #
12152 _ACEOF
12153
12154 # Transform confdefs.h into a sed script `conftest.defines', that
12155 # substitutes the proper values into config.h.in to produce config.h.
12156 rm -f conftest.defines conftest.tail
12157 # First, append a space to every undef/define line, to ease matching.
12158 echo 's/$/ /' >conftest.defines
12159 # Then, protect against being on the right side of a sed subst, or in
12160 # an unquoted here document, in config.status.  If some macros were
12161 # called several times there might be several #defines for the same
12162 # symbol, which is useless.  But do not sort them, since the last
12163 # AC_DEFINE must be honored.
12164 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12165 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12166 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12167 # PARAMS is the parameter list in the macro definition--in most cases, it's
12168 # just an empty string.
12169 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
12170 ac_dB='\\)[      (].*,\\1define\\2'
12171 ac_dC=' '
12172 ac_dD=' ,'
12173
12174 uniq confdefs.h |
12175   sed -n '
12176         t rset
12177         :rset
12178         s/^[     ]*#[    ]*define[       ][      ]*//
12179         t ok
12180         d
12181         :ok
12182         s/[\\&,]/\\&/g
12183         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12184         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12185   ' >>conftest.defines
12186
12187 # Remove the space that was appended to ease matching.
12188 # Then replace #undef with comments.  This is necessary, for
12189 # example, in the case of _POSIX_SOURCE, which is predefined and required
12190 # on some systems where configure will not decide to define it.
12191 # (The regexp can be short, since the line contains either #define or #undef.)
12192 echo 's/ $//
12193 s,^[     #]*u.*,/* & */,' >>conftest.defines
12194
12195 # Break up conftest.defines:
12196 ac_max_sed_lines=50
12197
12198 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12199 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12200 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12201 # et cetera.
12202 ac_in='$ac_file_inputs'
12203 ac_out='"$tmp/out1"'
12204 ac_nxt='"$tmp/out2"'
12205
12206 while :
12207 do
12208   # Write a here document:
12209     cat >>$CONFIG_STATUS <<_ACEOF
12210     # First, check the format of the line:
12211     cat >"\$tmp/defines.sed" <<\\CEOF
12212 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
12213 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
12214 b
12215 :def
12216 _ACEOF
12217   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12218   echo 'CEOF
12219     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12220   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12221   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12222   grep . conftest.tail >/dev/null || break
12223   rm -f conftest.defines
12224   mv conftest.tail conftest.defines
12225 done
12226 rm -f conftest.defines conftest.tail
12227
12228 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12229 cat >>$CONFIG_STATUS <<\_ACEOF
12230   if test x"$ac_file" != x-; then
12231     echo "/* $configure_input  */" >"$tmp/config.h"
12232     cat "$ac_result" >>"$tmp/config.h"
12233     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12234       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12235 echo "$as_me: $ac_file is unchanged" >&6;}
12236     else
12237       rm -f $ac_file
12238       mv "$tmp/config.h" $ac_file
12239     fi
12240   else
12241     echo "/* $configure_input  */"
12242     cat "$ac_result"
12243   fi
12244   rm -f "$tmp/out12"
12245 # Compute $ac_file's index in $config_headers.
12246 _am_arg=$ac_file
12247 _am_stamp_count=1
12248 for _am_header in $config_headers :; do
12249   case $_am_header in
12250     $_am_arg | $_am_arg:* )
12251       break ;;
12252     * )
12253       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12254   esac
12255 done
12256 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12257 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12258          X"$_am_arg" : 'X\(//\)[^/]' \| \
12259          X"$_am_arg" : 'X\(//\)$' \| \
12260          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12261 echo X"$_am_arg" |
12262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12263             s//\1/
12264             q
12265           }
12266           /^X\(\/\/\)[^/].*/{
12267             s//\1/
12268             q
12269           }
12270           /^X\(\/\/\)$/{
12271             s//\1/
12272             q
12273           }
12274           /^X\(\/\).*/{
12275             s//\1/
12276             q
12277           }
12278           s/.*/./; q'`/stamp-h$_am_stamp_count
12279  ;;
12280
12281   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12282 echo "$as_me: executing $ac_file commands" >&6;}
12283  ;;
12284   esac
12285
12286
12287   case $ac_file$ac_mode in
12288     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
12289 # are listed without --file.  Let's play safe and only enable the eval
12290 # if we detect the quoting.
12291 case $CONFIG_FILES in
12292 *\'*) eval set x "$CONFIG_FILES" ;;
12293 *)   set x $CONFIG_FILES ;;
12294 esac
12295 shift
12296 for mf
12297 do
12298   # Strip MF so we end up with the name of the file.
12299   mf=`echo "$mf" | sed -e 's/:.*$//'`
12300   # Check whether this is an Automake generated Makefile or not.
12301   # We used to match only the files named `Makefile.in', but
12302   # some people rename them; so instead we look at the file content.
12303   # Grep'ing the first line is not enough: some people post-process
12304   # each Makefile.in and add a new line on top of each file to say so.
12305   # Grep'ing the whole file is not good either: AIX grep has a line
12306   # limit of 2048, but all sed's we know have understand at least 4000.
12307   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12308     dirpart=`$as_dirname -- "$mf" ||
12309 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12310          X"$mf" : 'X\(//\)[^/]' \| \
12311          X"$mf" : 'X\(//\)$' \| \
12312          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12313 echo X"$mf" |
12314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12315             s//\1/
12316             q
12317           }
12318           /^X\(\/\/\)[^/].*/{
12319             s//\1/
12320             q
12321           }
12322           /^X\(\/\/\)$/{
12323             s//\1/
12324             q
12325           }
12326           /^X\(\/\).*/{
12327             s//\1/
12328             q
12329           }
12330           s/.*/./; q'`
12331   else
12332     continue
12333   fi
12334   # Extract the definition of DEPDIR, am__include, and am__quote
12335   # from the Makefile without running `make'.
12336   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12337   test -z "$DEPDIR" && continue
12338   am__include=`sed -n 's/^am__include = //p' < "$mf"`
12339   test -z "am__include" && continue
12340   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12341   # When using ansi2knr, U may be empty or an underscore; expand it
12342   U=`sed -n 's/^U = //p' < "$mf"`
12343   # Find all dependency output files, they are included files with
12344   # $(DEPDIR) in their names.  We invoke sed twice because it is the
12345   # simplest approach to changing $(DEPDIR) to its actual value in the
12346   # expansion.
12347   for file in `sed -n "
12348     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12349        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12350     # Make sure the directory exists.
12351     test -f "$dirpart/$file" && continue
12352     fdir=`$as_dirname -- "$file" ||
12353 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12354          X"$file" : 'X\(//\)[^/]' \| \
12355          X"$file" : 'X\(//\)$' \| \
12356          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12357 echo X"$file" |
12358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12359             s//\1/
12360             q
12361           }
12362           /^X\(\/\/\)[^/].*/{
12363             s//\1/
12364             q
12365           }
12366           /^X\(\/\/\)$/{
12367             s//\1/
12368             q
12369           }
12370           /^X\(\/\).*/{
12371             s//\1/
12372             q
12373           }
12374           s/.*/./; q'`
12375     { as_dir=$dirpart/$fdir
12376   case $as_dir in #(
12377   -*) as_dir=./$as_dir;;
12378   esac
12379   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12380     as_dirs=
12381     while :; do
12382       case $as_dir in #(
12383       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12384       *) as_qdir=$as_dir;;
12385       esac
12386       as_dirs="'$as_qdir' $as_dirs"
12387       as_dir=`$as_dirname -- "$as_dir" ||
12388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12389          X"$as_dir" : 'X\(//\)[^/]' \| \
12390          X"$as_dir" : 'X\(//\)$' \| \
12391          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12392 echo X"$as_dir" |
12393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12394             s//\1/
12395             q
12396           }
12397           /^X\(\/\/\)[^/].*/{
12398             s//\1/
12399             q
12400           }
12401           /^X\(\/\/\)$/{
12402             s//\1/
12403             q
12404           }
12405           /^X\(\/\).*/{
12406             s//\1/
12407             q
12408           }
12409           s/.*/./; q'`
12410       test -d "$as_dir" && break
12411     done
12412     test -z "$as_dirs" || eval "mkdir $as_dirs"
12413   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12414 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12415    { (exit 1); exit 1; }; }; }
12416     # echo "creating $dirpart/$file"
12417     echo '# dummy' > "$dirpart/$file"
12418   done
12419 done
12420  ;;
12421
12422   esac
12423 done # for ac_tag
12424
12425
12426 { (exit 0); exit 0; }
12427 _ACEOF
12428 chmod +x $CONFIG_STATUS
12429 ac_clean_files=$ac_clean_files_save
12430
12431
12432 # configure is writing to config.log, and then calls config.status.
12433 # config.status does its own redirection, appending to config.log.
12434 # Unfortunately, on DOS this fails, as config.log is still kept open
12435 # by configure, so config.status won't be able to write to it; its
12436 # output is simply discarded.  So we exec the FD to /dev/null,
12437 # effectively closing config.log, so it can be properly (re)opened and
12438 # appended to by config.status.  When coming back to configure, we
12439 # need to make the FD available again.
12440 if test "$no_create" != yes; then
12441   ac_cs_success=:
12442   ac_config_status_args=
12443   test "$silent" = yes &&
12444     ac_config_status_args="$ac_config_status_args --quiet"
12445   exec 5>/dev/null
12446   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12447   exec 5>>config.log
12448   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12449   # would make configure fail if this is the last instruction.
12450   $ac_cs_success || { (exit 1); exit 1; }
12451 fi
12452
12453
12454 echo
12455 echo "  $PACKAGE $VERSION"
12456 echo
12457 echo "  Engines:"
12458 echo "    Software X11.................: ${have_software_x11} (Xlib: ${have_software_xlib}) (XCB: ${have_software_xcb})"
12459 echo "    X Render X11.................: ${have_xrender_x11}"
12460 echo "    Open GL X11..................: ${have_opengl_x11}"
12461 echo "    X Render XCB.................: ${have_xrender_xcb}"
12462 echo "    Software GDI.................: ${have_software_gdi}"
12463 echo "    Software DirectDraw..........: ${have_software_ddraw}"
12464 echo "    Direct3D.....................: ${have_direct3d}"
12465 echo "    Open GL Glew.................: ${have_opengl_glew}"
12466 echo "    Software SDL.................: ${have_software_sdl}"
12467 echo "    Open GL SDL..................: ${have_opengl_sdl}"
12468 echo "    FB...........................: ${have_fb}"
12469 echo "    DirectFB.....................: ${have_directfb}"
12470 echo "    Quartz.......................: ${have_quartz}"
12471 echo "    Software X11 16 bits.........: ${have_software_16_x11}"
12472 echo "    Software DirectDraw 16 bits..: ${have_software_16_ddraw}"
12473 echo "    Software WinCE 16 bits.......: ${have_software_16_wince}"
12474 echo
12475 echo "  Installation:"
12476 echo "    prefix.......................: ${prefix}"
12477 echo