~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/configure

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

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