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