~ [ 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.21.
  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.21'
600 PACKAGE_STRING='Wine 1.1.21'
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.21 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.21:";;
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.21
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.21, 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   *-darwin*)
3815     if test "x$enable_win64" == "xyes"
3816     then
3817       CC="$CC -m64"
3818       CXX="$CXX -m64"
3819       LD="${LD:-ld} -arch x86_64"
3820       AS="${AS:-as} -arch x86_64"
3821       host_cpu="x86_64"
3822       notice_platform="64-bit "
3823       TARGETFLAGS="-m64"
3824 
3825     else
3826       CC="$CC -m32"
3827       CXX="$CXX -m32"
3828       LD="${LD:-ld} -arch i386"
3829       AS="${AS:-as} -arch i386"
3830       host_cpu="i386"
3831       notice_platform="32-bit "
3832       TARGETFLAGS="-m32"
3833 
3834       enable_win16=${enable_win16:-yes}
3835     fi
3836     ;;
3837   x86_64*)
3838     if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
3839     then
3840       CC="$CC -m32"
3841       CXX="$CXX -m32"
3842       { $as_echo "$as_me:$LINENO: checking whether $CC works" >&5
3843 $as_echo_n "checking whether $CC works... " >&6; }
3844 
3845 cat >conftest.$ac_ext <<_ACEOF
3846 /* confdefs.h.  */
3847 _ACEOF
3848 cat confdefs.h >>conftest.$ac_ext
3849 cat >>conftest.$ac_ext <<_ACEOF
3850 /* end confdefs.h.  */
3851 
3852 int
3853 main ()
3854 {
3855 
3856   ;
3857   return 0;
3858 }
3859 _ACEOF
3860 rm -f conftest.$ac_objext conftest$ac_exeext
3861 if { (ac_try="$ac_link"
3862 case "(($ac_try" in
3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864   *) ac_try_echo=$ac_try;;
3865 esac
3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3867 $as_echo "$ac_try_echo") >&5
3868   (eval "$ac_link") 2>conftest.er1
3869   ac_status=$?
3870   grep -v '^ *+' conftest.er1 >conftest.err
3871   rm -f conftest.er1
3872   cat conftest.err >&5
3873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874   (exit $ac_status); } && {
3875          test -z "$ac_c_werror_flag" ||
3876          test ! -s conftest.err
3877        } && test -s conftest$ac_exeext && {
3878          test "$cross_compiling" = yes ||
3879          $as_test_x conftest$ac_exeext
3880        }; then
3881   { $as_echo "$as_me:$LINENO: result: yes" >&5
3882 $as_echo "yes" >&6; }
3883 else
3884   $as_echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3886 
3887         { $as_echo "$as_me:$LINENO: result: no" >&5
3888 $as_echo "no" >&6; }
3889                       { { $as_echo "$as_me:$LINENO: error: Cannot build a 32-bit program, you need to install 32-bit development libraries." >&5
3890 $as_echo "$as_me: error: Cannot build a 32-bit program, you need to install 32-bit development libraries." >&2;}
3891    { (exit 1); exit 1; }; }
3892 fi
3893 
3894 rm -rf conftest.dSYM
3895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3896       conftest$ac_exeext conftest.$ac_ext
3897       LD="${LD:-ld} -m elf_i386"
3898       AS="${AS:-as} --32"
3899       host_cpu="i386"
3900       notice_platform="32-bit "
3901       TARGETFLAGS="-m32"
3902 
3903       enable_win16=${enable_win16:-yes}
3904     else
3905       TARGETFLAGS="-m64"
3906 
3907     fi
3908     ;;
3909   *-mingw32*|*-cygwin*)
3910     enable_win16=${enable_win16:-no}
3911     ;;
3912   i[3456789]86*)
3913     enable_win16=${enable_win16:-yes}
3914     ;;
3915 esac
3916 
3917 enable_win16=${enable_win16:-no}
3918 
3919 WIN16_FILES="\$(WIN16_FILES)"
3920 
3921 WIN16_INSTALL="\$(WIN16_INSTALL)"
3922 
3923 if test "x$enable_win16" != "xyes"
3924 then
3925     WIN16_FILES=""
3926     WIN16_INSTALL=""
3927     enable_w32skrnl=${enable_w32skrnl:-no}
3928     enable_winedos=${enable_winedos:-no}
3929     enable_winevdm=${enable_winevdm:-no}
3930 fi
3931 
3932 { $as_echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3933 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
3934 if test "${wine_cv_toolsdir+set}" = set; then
3935   $as_echo_n "(cached) " >&6
3936 else
3937   if test -z "$with_wine_tools"; then
3938      if test "$cross_compiling" = "yes"; then
3939        { { $as_echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3940 $as_echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3941    { (exit 1); exit 1; }; }
3942      else
3943        wine_cv_toolsdir="\$(TOPOBJDIR)"
3944      fi
3945    elif test -d "$with_wine_tools/tools/winebuild"; then
3946      case $with_wine_tools in
3947        /*) wine_cv_toolsdir="$with_wine_tools" ;;
3948        *)  wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3949      esac
3950    else
3951      { { $as_echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3952 $as_echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3953    { (exit 1); exit 1; }; }
3954    fi
3955 fi
3956 { $as_echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3957 $as_echo "$wine_cv_toolsdir" >&6; }
3958 TOOLSDIR=$wine_cv_toolsdir
3959 
3960 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
3961 then
3962     TARGETFLAGS="-b $host_alias $TARGETFLAGS"
3963 
3964 fi
3965 
3966 for ac_prog in flex
3967 do
3968   # Extract the first word of "$ac_prog", so it can be a program name with args.
3969 set dummy $ac_prog; ac_word=$2
3970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3971 $as_echo_n "checking for $ac_word... " >&6; }
3972 if test "${ac_cv_prog_FLEX+set}" = set; then
3973   $as_echo_n "(cached) " >&6
3974 else
3975   if test -n "$FLEX"; then
3976   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
3977 else
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 for as_dir in $PATH
3980 do
3981   IFS=$as_save_IFS
3982   test -z "$as_dir" && as_dir=.
3983   for ac_exec_ext in '' $ac_executable_extensions; do
3984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3985     ac_cv_prog_FLEX="$ac_prog"
3986     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987     break 2
3988   fi
3989 done
3990 done
3991 IFS=$as_save_IFS
3992 
3993 fi
3994 fi
3995 FLEX=$ac_cv_prog_FLEX
3996 if test -n "$FLEX"; then
3997   { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
3998 $as_echo "$FLEX" >&6; }
3999 else
4000   { $as_echo "$as_me:$LINENO: result: no" >&5
4001 $as_echo "no" >&6; }
4002 fi
4003 
4004 
4005   test -n "$FLEX" && break
4006 done
4007 test -n "$FLEX" || FLEX="none"
4008 
4009 if test "$FLEX" = "none"
4010 then
4011   { { $as_echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
4012 $as_echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
4013    { (exit 1); exit 1; }; }
4014 fi
4015 
4016 for ac_prog in bison
4017 do
4018   # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy $ac_prog; ac_word=$2
4020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_prog_BISON+set}" = set; then
4023   $as_echo_n "(cached) " >&6
4024 else
4025   if test -n "$BISON"; then
4026   ac_cv_prog_BISON="$BISON" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4030 do
4031   IFS=$as_save_IFS
4032   test -z "$as_dir" && as_dir=.
4033   for ac_exec_ext in '' $ac_executable_extensions; do
4034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035     ac_cv_prog_BISON="$ac_prog"
4036     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037     break 2
4038   fi
4039 done
4040 done
4041 IFS=$as_save_IFS
4042 
4043 fi
4044 fi
4045 BISON=$ac_cv_prog_BISON
4046 if test -n "$BISON"; then
4047   { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4048 $as_echo "$BISON" >&6; }
4049 else
4050   { $as_echo "$as_me:$LINENO: result: no" >&5
4051 $as_echo "no" >&6; }
4052 fi
4053 
4054 
4055   test -n "$BISON" && break
4056 done
4057 test -n "$BISON" || BISON="none"
4058 
4059 if test "$BISON" = "none"
4060 then
4061   { { $as_echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4062 $as_echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4063    { (exit 1); exit 1; }; }
4064 fi
4065 
4066 if test -n "$ac_tool_prefix"; then
4067   for ac_prog in gas as
4068   do
4069     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if test "${ac_cv_prog_AS+set}" = set; then
4074   $as_echo_n "(cached) " >&6
4075 else
4076   if test -n "$AS"; then
4077   ac_cv_prog_AS="$AS" # Let the user override the test.
4078 else
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 for as_dir in $PATH
4081 do
4082   IFS=$as_save_IFS
4083   test -z "$as_dir" && as_dir=.
4084   for ac_exec_ext in '' $ac_executable_extensions; do
4085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4086     ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4088     break 2
4089   fi
4090 done
4091 done
4092 IFS=$as_save_IFS
4093 
4094 fi
4095 fi
4096 AS=$ac_cv_prog_AS
4097 if test -n "$AS"; then
4098   { $as_echo "$as_me:$LINENO: result: $AS" >&5
4099 $as_echo "$AS" >&6; }
4100 else
4101   { $as_echo "$as_me:$LINENO: result: no" >&5
4102 $as_echo "no" >&6; }
4103 fi
4104 
4105 
4106     test -n "$AS" && break
4107   done
4108 fi
4109 if test -z "$AS"; then
4110   ac_ct_AS=$AS
4111   for ac_prog in gas as
4112 do
4113   # Extract the first word of "$ac_prog", so it can be a program name with args.
4114 set dummy $ac_prog; ac_word=$2
4115 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 $as_echo_n "checking for $ac_word... " >&6; }
4117 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4118   $as_echo_n "(cached) " >&6
4119 else
4120   if test -n "$ac_ct_AS"; then
4121   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4122 else
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 for as_dir in $PATH
4125 do
4126   IFS=$as_save_IFS
4127   test -z "$as_dir" && as_dir=.
4128   for ac_exec_ext in '' $ac_executable_extensions; do
4129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4130     ac_cv_prog_ac_ct_AS="$ac_prog"
4131     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132     break 2
4133   fi
4134 done
4135 done
4136 IFS=$as_save_IFS
4137 
4138 fi
4139 fi
4140 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4141 if test -n "$ac_ct_AS"; then
4142   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4143 $as_echo "$ac_ct_AS" >&6; }
4144 else
4145   { $as_echo "$as_me:$LINENO: result: no" >&5
4146 $as_echo "no" >&6; }
4147 fi
4148 
4149 
4150   test -n "$ac_ct_AS" && break
4151 done
4152 
4153   if test "x$ac_ct_AS" = x; then
4154     AS="as"
4155   else
4156     case $cross_compiling:$ac_tool_warned in
4157 yes:)
4158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4160 ac_tool_warned=yes ;;
4161 esac
4162     AS=$ac_ct_AS
4163   fi
4164 fi
4165 
4166 if test -n "$ac_tool_prefix"; then
4167   for ac_prog in ld gld
4168   do
4169     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_prog_LD+set}" = set; then
4174   $as_echo_n "(cached) " >&6
4175 else
4176   if test -n "$LD"; then
4177   ac_cv_prog_LD="$LD" # Let the user override the test.
4178 else
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in $PATH
4181 do
4182   IFS=$as_save_IFS
4183   test -z "$as_dir" && as_dir=.
4184   for ac_exec_ext in '' $ac_executable_extensions; do
4185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186     ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
4187     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4188     break 2
4189   fi
4190 done
4191 done
4192 IFS=$as_save_IFS
4193 
4194 fi
4195 fi
4196 LD=$ac_cv_prog_LD
4197 if test -n "$LD"; then
4198   { $as_echo "$as_me:$LINENO: result: $LD" >&5
4199 $as_echo "$LD" >&6; }
4200 else
4201   { $as_echo "$as_me:$LINENO: result: no" >&5
4202 $as_echo "no" >&6; }
4203 fi
4204 
4205 
4206     test -n "$LD" && break
4207   done
4208 fi
4209 if test -z "$LD"; then
4210   ac_ct_LD=$LD
4211   for ac_prog in ld gld
4212 do
4213   # Extract the first word of "$ac_prog", so it can be a program name with args.
4214 set dummy $ac_prog; ac_word=$2
4215 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4218   $as_echo_n "(cached) " >&6
4219 else
4220   if test -n "$ac_ct_LD"; then
4221   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4222 else
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 for as_dir in $PATH
4225 do
4226   IFS=$as_save_IFS
4227   test -z "$as_dir" && as_dir=.
4228   for ac_exec_ext in '' $ac_executable_extensions; do
4229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4230     ac_cv_prog_ac_ct_LD="$ac_prog"
4231     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4232     break 2
4233   fi
4234 done
4235 done
4236 IFS=$as_save_IFS
4237 
4238 fi
4239 fi
4240 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4241 if test -n "$ac_ct_LD"; then
4242   { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4243 $as_echo "$ac_ct_LD" >&6; }
4244 else
4245   { $as_echo "$as_me:$LINENO: result: no" >&5
4246 $as_echo "no" >&6; }
4247 fi
4248 
4249 
4250   test -n "$ac_ct_LD" && break
4251 done
4252 
4253   if test "x$ac_ct_LD" = x; then
4254     LD="ld"
4255   else
4256     case $cross_compiling:$ac_tool_warned in
4257 yes:)
4258 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4261 esac
4262     LD=$ac_ct_LD
4263   fi
4264 fi
4265 
4266 if test -n "$ac_tool_prefix"; then
4267   for ac_prog in nm gnm
4268   do
4269     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if test "${ac_cv_prog_NM+set}" = set; then
4274   $as_echo_n "(cached) " >&6
4275 else
4276   if test -n "$NM"; then
4277   ac_cv_prog_NM="$NM" # Let the user override the test.
4278 else
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH
4281 do
4282   IFS=$as_save_IFS
4283   test -z "$as_dir" && as_dir=.
4284   for ac_exec_ext in '' $ac_executable_extensions; do
4285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4286     ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
4287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4288     break 2
4289   fi
4290 done
4291 done
4292 IFS=$as_save_IFS
4293 
4294 fi
4295 fi
4296 NM=$ac_cv_prog_NM
4297 if test -n "$NM"; then
4298   { $as_echo "$as_me:$LINENO: result: $NM" >&5
4299 $as_echo "$NM" >&6; }
4300 else
4301   { $as_echo "$as_me:$LINENO: result: no" >&5
4302 $as_echo "no" >&6; }
4303 fi
4304 
4305 
4306     test -n "$NM" && break
4307   done
4308 fi
4309 if test -z "$NM"; then
4310   ac_ct_NM=$NM
4311   for ac_prog in nm gnm
4312 do
4313   # Extract the first word of "$ac_prog", so it can be a program name with args.
4314 set dummy $ac_prog; ac_word=$2
4315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
4318   $as_echo_n "(cached) " >&6
4319 else
4320   if test -n "$ac_ct_NM"; then
4321   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
4322 else
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 for as_dir in $PATH
4325 do
4326   IFS=$as_save_IFS
4327   test -z "$as_dir" && as_dir=.
4328   for ac_exec_ext in '' $ac_executable_extensions; do
4329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330     ac_cv_prog_ac_ct_NM="$ac_prog"
4331     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4332     break 2
4333   fi
4334 done
4335 done
4336 IFS=$as_save_IFS
4337 
4338 fi
4339 fi
4340 ac_ct_NM=$ac_cv_prog_ac_ct_NM
4341 if test -n "$ac_ct_NM"; then
4342   { $as_echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
4343 $as_echo "$ac_ct_NM" >&6; }
4344 else
4345   { $as_echo "$as_me:$LINENO: result: no" >&5
4346 $as_echo "no" >&6; }
4347 fi
4348 
4349 
4350   test -n "$ac_ct_NM" && break
4351 done
4352 
4353   if test "x$ac_ct_NM" = x; then
4354     NM="nm"
4355   else
4356     case $cross_compiling:$ac_tool_warned in
4357 yes:)
4358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4360 ac_tool_warned=yes ;;
4361 esac
4362     NM=$ac_ct_NM
4363   fi
4364 fi
4365 
4366 if test -n "$ac_tool_prefix"; then
4367   for ac_prog in ar gar
4368   do
4369     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_AR+set}" = set; then
4374   $as_echo_n "(cached) " >&6
4375 else
4376   if test -n "$AR"; then
4377   ac_cv_prog_AR="$AR" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4381 do
4382   IFS=$as_save_IFS
4383   test -z "$as_dir" && as_dir=.
4384   for ac_exec_ext in '' $ac_executable_extensions; do
4385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4387     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4388     break 2
4389   fi
4390 done
4391 done
4392 IFS=$as_save_IFS
4393 
4394 fi
4395 fi
4396 AR=$ac_cv_prog_AR
4397 if test -n "$AR"; then
4398   { $as_echo "$as_me:$LINENO: result: $AR" >&5
4399 $as_echo "$AR" >&6; }
4400 else
4401   { $as_echo "$as_me:$LINENO: result: no" >&5
4402 $as_echo "no" >&6; }
4403 fi
4404 
4405 
4406     test -n "$AR" && break
4407   done
4408 fi
4409 if test -z "$AR"; then
4410   ac_ct_AR=$AR
4411   for ac_prog in ar gar
4412 do
4413   # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4418   $as_echo_n "(cached) " >&6
4419 else
4420   if test -n "$ac_ct_AR"; then
4421   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4425 do
4426   IFS=$as_save_IFS
4427   test -z "$as_dir" && as_dir=.
4428   for ac_exec_ext in '' $ac_executable_extensions; do
4429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430     ac_cv_prog_ac_ct_AR="$ac_prog"
4431     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432     break 2
4433   fi
4434 done
4435 done
4436 IFS=$as_save_IFS
4437 
4438 fi
4439 fi
4440 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4441 if test -n "$ac_ct_AR"; then
4442   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4443 $as_echo "$ac_ct_AR" >&6; }
4444 else
4445   { $as_echo "$as_me:$LINENO: result: no" >&5
4446 $as_echo "no" >&6; }
4447 fi
4448 
4449 
4450   test -n "$ac_ct_AR" && break
4451 done
4452 
4453   if test "x$ac_ct_AR" = x; then
4454     AR="ar"
4455   else
4456     case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462     AR=$ac_ct_AR
4463   fi
4464 fi
4465 
4466 ARFLAGS=rc
4467 
4468 if test -n "$ac_tool_prefix"; then
4469   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4470 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if test "${ac_cv_prog_RANLIB+set}" = set; then
4474   $as_echo_n "(cached) " >&6
4475 else
4476   if test -n "$RANLIB"; then
4477   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4481 do
4482   IFS=$as_save_IFS
4483   test -z "$as_dir" && as_dir=.
4484   for ac_exec_ext in '' $ac_executable_extensions; do
4485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4487     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4488     break 2
4489   fi
4490 done
4491 done
4492 IFS=$as_save_IFS
4493 
4494 fi
4495 fi
4496 RANLIB=$ac_cv_prog_RANLIB
4497 if test -n "$RANLIB"; then
4498   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4499 $as_echo "$RANLIB" >&6; }
4500 else
4501   { $as_echo "$as_me:$LINENO: result: no" >&5
4502 $as_echo "no" >&6; }
4503 fi
4504 
4505 
4506 fi
4507 if test -z "$ac_cv_prog_RANLIB"; then
4508   ac_ct_RANLIB=$RANLIB
4509   # Extract the first word of "ranlib", so it can be a program name with args.
4510 set dummy ranlib; ac_word=$2
4511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4514   $as_echo_n "(cached) " >&6
4515 else
4516   if test -n "$ac_ct_RANLIB"; then
4517   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4518 else
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH
4521 do
4522   IFS=$as_save_IFS
4523   test -z "$as_dir" && as_dir=.
4524   for ac_exec_ext in '' $ac_executable_extensions; do
4525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526     ac_cv_prog_ac_ct_RANLIB="ranlib"
4527     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528     break 2
4529   fi
4530 done
4531 done
4532 IFS=$as_save_IFS
4533 
4534 fi
4535 fi
4536 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4537 if test -n "$ac_ct_RANLIB"; then
4538   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4539 $as_echo "$ac_ct_RANLIB" >&6; }
4540 else
4541   { $as_echo "$as_me:$LINENO: result: no" >&5
4542 $as_echo "no" >&6; }
4543 fi
4544 
4545   if test "x$ac_ct_RANLIB" = x; then
4546     RANLIB=":"
4547   else
4548     case $cross_compiling:$ac_tool_warned in
4549 yes:)
4550 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4553 esac
4554     RANLIB=$ac_ct_RANLIB
4555   fi
4556 else
4557   RANLIB="$ac_cv_prog_RANLIB"
4558 fi
4559 
4560 if test -n "$ac_tool_prefix"; then
4561   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4562 set dummy ${ac_tool_prefix}strip; ac_word=$2
4563 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if test "${ac_cv_prog_STRIP+set}" = set; then
4566   $as_echo_n "(cached) " >&6
4567 else
4568   if test -n "$STRIP"; then
4569   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4570 else
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 for as_dir in $PATH
4573 do
4574   IFS=$as_save_IFS
4575   test -z "$as_dir" && as_dir=.
4576   for ac_exec_ext in '' $ac_executable_extensions; do
4577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4578     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4579     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580     break 2
4581   fi
4582 done
4583 done
4584 IFS=$as_save_IFS
4585 
4586 fi
4587 fi
4588 STRIP=$ac_cv_prog_STRIP
4589 if test -n "$STRIP"; then
4590   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4591 $as_echo "$STRIP" >&6; }
4592 else
4593   { $as_echo "$as_me:$LINENO: result: no" >&5
4594 $as_echo "no" >&6; }
4595 fi
4596 
4597 
4598 fi
4599 if test -z "$ac_cv_prog_STRIP"; then
4600   ac_ct_STRIP=$STRIP
4601   # Extract the first word of "strip", so it can be a program name with args.
4602 set dummy strip; ac_word=$2
4603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4604 $as_echo_n "checking for $ac_word... " >&6; }
4605 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4606   $as_echo_n "(cached) " >&6
4607 else
4608   if test -n "$ac_ct_STRIP"; then
4609   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4613 do
4614   IFS=$as_save_IFS
4615   test -z "$as_dir" && as_dir=.
4616   for ac_exec_ext in '' $ac_executable_extensions; do
4617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4618     ac_cv_prog_ac_ct_STRIP="strip"
4619     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620     break 2
4621   fi
4622 done
4623 done
4624 IFS=$as_save_IFS
4625 
4626 fi
4627 fi
4628 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4629 if test -n "$ac_ct_STRIP"; then
4630   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4631 $as_echo "$ac_ct_STRIP" >&6; }
4632 else
4633   { $as_echo "$as_me:$LINENO: result: no" >&5
4634 $as_echo "no" >&6; }
4635 fi
4636 
4637   if test "x$ac_ct_STRIP" = x; then
4638     STRIP="strip"
4639   else
4640     case $cross_compiling:$ac_tool_warned in
4641 yes:)
4642 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned=yes ;;
4645 esac
4646     STRIP=$ac_ct_STRIP
4647   fi
4648 else
4649   STRIP="$ac_cv_prog_STRIP"
4650 fi
4651 
4652 if test -n "$ac_tool_prefix"; then
4653   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4654 set dummy ${ac_tool_prefix}windres; ac_word=$2
4655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if test "${ac_cv_prog_WINDRES+set}" = set; then
4658   $as_echo_n "(cached) " >&6
4659 else
4660   if test -n "$WINDRES"; then
4661   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4665 do
4666   IFS=$as_save_IFS
4667   test -z "$as_dir" && as_dir=.
4668   for ac_exec_ext in '' $ac_executable_extensions; do
4669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4671     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4672     break 2
4673   fi
4674 done
4675 done
4676 IFS=$as_save_IFS
4677 
4678 fi
4679 fi
4680 WINDRES=$ac_cv_prog_WINDRES
4681 if test -n "$WINDRES"; then
4682   { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
4683 $as_echo "$WINDRES" >&6; }
4684 else
4685   { $as_echo "$as_me:$LINENO: result: no" >&5
4686 $as_echo "no" >&6; }
4687 fi
4688 
4689 
4690 fi
4691 if test -z "$ac_cv_prog_WINDRES"; then
4692   ac_ct_WINDRES=$WINDRES
4693   # Extract the first word of "windres", so it can be a program name with args.
4694 set dummy windres; ac_word=$2
4695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4698   $as_echo_n "(cached) " >&6
4699 else
4700   if test -n "$ac_ct_WINDRES"; then
4701   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4705 do
4706   IFS=$as_save_IFS
4707   test -z "$as_dir" && as_dir=.
4708   for ac_exec_ext in '' $ac_executable_extensions; do
4709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710     ac_cv_prog_ac_ct_WINDRES="windres"
4711     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4712     break 2
4713   fi
4714 done
4715 done
4716 IFS=$as_save_IFS
4717 
4718 fi
4719 fi
4720 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4721 if test -n "$ac_ct_WINDRES"; then
4722   { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4723 $as_echo "$ac_ct_WINDRES" >&6; }
4724 else
4725   { $as_echo "$as_me:$LINENO: result: no" >&5
4726 $as_echo "no" >&6; }
4727 fi
4728 
4729   if test "x$ac_ct_WINDRES" = x; then
4730     WINDRES="false"
4731   else
4732     case $cross_compiling:$ac_tool_warned in
4733 yes:)
4734 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4736 ac_tool_warned=yes ;;
4737 esac
4738     WINDRES=$ac_ct_WINDRES
4739   fi
4740 else
4741   WINDRES="$ac_cv_prog_WINDRES"
4742 fi
4743 
4744 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4745 $as_echo_n "checking whether ln -s works... " >&6; }
4746 LN_S=$as_ln_s
4747 if test "$LN_S" = "ln -s"; then
4748   { $as_echo "$as_me:$LINENO: result: yes" >&5
4749 $as_echo "yes" >&6; }
4750 else
4751   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4752 $as_echo "no, using $LN_S" >&6; }
4753 fi
4754 
4755 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
4756 $as_echo_n "checking whether ln works... " >&6; }
4757 rm -f conf$$ conf$$.file
4758 echo >conf$$.file
4759 if ln conf$$.file conf$$ 2>/dev/null; then
4760   LN=ln
4761 
4762   { $as_echo "$as_me:$LINENO: result: yes" >&5
4763 $as_echo "yes" >&6; }
4764 else
4765   LN="cp -p"
4766 
4767   { $as_echo "$as_me:$LINENO: result: no, using $LN" >&5
4768 $as_echo "no, using $LN" >&6; }
4769 fi
4770 rm -f conf$$ conf$$.file
4771 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4773 if test "${ac_cv_path_GREP+set}" = set; then
4774   $as_echo_n "(cached) " >&6
4775 else
4776   if test -z "$GREP"; then
4777   ac_path_GREP_found=false
4778   # Loop through the user's path and test for each of PROGNAME-LIST
4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 do
4782   IFS=$as_save_IFS
4783   test -z "$as_dir" && as_dir=.
4784   for ac_prog in grep ggrep; do
4785     for ac_exec_ext in '' $ac_executable_extensions; do
4786       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4787       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4788 # Check for GNU ac_path_GREP and select it if it is found.
4789   # Check for GNU $ac_path_GREP
4790 case `"$ac_path_GREP" --version 2>&1` in
4791 *GNU*)
4792   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4793 *)
4794   ac_count=0
4795   $as_echo_n 0123456789 >"conftest.in"
4796   while :
4797   do
4798     cat "conftest.in" "conftest.in" >"conftest.tmp"
4799     mv "conftest.tmp" "conftest.in"
4800     cp "conftest.in" "conftest.nl"
4801     $as_echo 'GREP' >> "conftest.nl"
4802     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804     ac_count=`expr $ac_count + 1`
4805     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4806       # Best one so far, save it but keep looking for a better one
4807       ac_cv_path_GREP="$ac_path_GREP"
4808       ac_path_GREP_max=$ac_count
4809     fi
4810     # 10*(2^10) chars as input seems more than enough
4811     test $ac_count -gt 10 && break
4812   done
4813   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 esac
4815 
4816       $ac_path_GREP_found && break 3
4817     done
4818   done
4819 done
4820 IFS=$as_save_IFS
4821   if test -z "$ac_cv_path_GREP"; then
4822     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4823 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4824    { (exit 1); exit 1; }; }
4825   fi
4826 else
4827   ac_cv_path_GREP=$GREP
4828 fi
4829 
4830 fi
4831 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4832 $as_echo "$ac_cv_path_GREP" >&6; }
4833  GREP="$ac_cv_path_GREP"
4834 
4835 
4836 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4837 $as_echo_n "checking for egrep... " >&6; }
4838 if test "${ac_cv_path_EGREP+set}" = set; then
4839   $as_echo_n "(cached) " >&6
4840 else
4841   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4842    then ac_cv_path_EGREP="$GREP -E"
4843    else
4844      if test -z "$EGREP"; then
4845   ac_path_EGREP_found=false
4846   # Loop through the user's path and test for each of PROGNAME-LIST
4847   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4848 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4849 do
4850   IFS=$as_save_IFS
4851   test -z "$as_dir" && as_dir=.
4852   for ac_prog in egrep; do
4853     for ac_exec_ext in '' $ac_executable_extensions; do
4854       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4855       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4856 # Check for GNU ac_path_EGREP and select it if it is found.
4857   # Check for GNU $ac_path_EGREP
4858 case `"$ac_path_EGREP" --version 2>&1` in
4859 *GNU*)
4860   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4861 *)
4862   ac_count=0
4863   $as_echo_n 0123456789 >"conftest.in"
4864   while :
4865   do
4866     cat "conftest.in" "conftest.in" >"conftest.tmp"
4867     mv "conftest.tmp" "conftest.in"
4868     cp "conftest.in" "conftest.nl"
4869     $as_echo 'EGREP' >> "conftest.nl"
4870     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4871     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4872     ac_count=`expr $ac_count + 1`
4873     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4874       # Best one so far, save it but keep looking for a better one
4875       ac_cv_path_EGREP="$ac_path_EGREP"
4876       ac_path_EGREP_max=$ac_count
4877     fi
4878     # 10*(2^10) chars as input seems more than enough
4879     test $ac_count -gt 10 && break
4880   done
4881   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4882 esac
4883 
4884       $ac_path_EGREP_found && break 3
4885     done
4886   done
4887 done
4888 IFS=$as_save_IFS
4889   if test -z "$ac_cv_path_EGREP"; then
4890     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4891 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4892    { (exit 1); exit 1; }; }
4893   fi
4894 else
4895   ac_cv_path_EGREP=$EGREP
4896 fi
4897 
4898    fi
4899 fi
4900 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4901 $as_echo "$ac_cv_path_EGREP" >&6; }
4902  EGREP="$ac_cv_path_EGREP"
4903 
4904 
4905 # Extract the first word of "ldconfig", so it can be a program name with args.
4906 set dummy ldconfig; ac_word=$2
4907 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4910   $as_echo_n "(cached) " >&6
4911 else
4912   case $LDCONFIG in
4913   [\\/]* | ?:[\\/]*)
4914   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4915   ;;
4916   *)
4917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918 for as_dir in /sbin /usr/sbin $PATH
4919 do
4920   IFS=$as_save_IFS
4921   test -z "$as_dir" && as_dir=.
4922   for ac_exec_ext in '' $ac_executable_extensions; do
4923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4925     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4926     break 2
4927   fi
4928 done
4929 done
4930 IFS=$as_save_IFS
4931 
4932   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4933   ;;
4934 esac
4935 fi
4936 LDCONFIG=$ac_cv_path_LDCONFIG
4937 if test -n "$LDCONFIG"; then
4938   { $as_echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4939 $as_echo "$LDCONFIG" >&6; }
4940 else
4941   { $as_echo "$as_me:$LINENO: result: no" >&5
4942 $as_echo "no" >&6; }
4943 fi
4944 
4945 
4946 # Find a good install program.  We prefer a C program (faster),
4947 # so one script is as good as another.  But avoid the broken or
4948 # incompatible versions:
4949 # SysV /etc/install, /usr/sbin/install
4950 # SunOS /usr/etc/install
4951 # IRIX /sbin/install
4952 # AIX /bin/install
4953 # AmigaOS /C/install, which installs bootblocks on floppy discs
4954 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4955 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4956 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4957 # OS/2's system install, which has a completely different semantic
4958 # ./install, which can be erroneously created by make from ./install.sh.
4959 # Reject install programs that cannot install multiple files.
4960 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4961 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4962 if test -z "$INSTALL"; then
4963 if test "${ac_cv_path_install+set}" = set; then
4964   $as_echo_n "(cached) " >&6
4965 else
4966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4968 do
4969   IFS=$as_save_IFS
4970   test -z "$as_dir" && as_dir=.
4971   # Account for people who put trailing slashes in PATH elements.
4972 case $as_dir/ in
4973   ./ | .// | /cC/* | \
4974   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4975   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4976   /usr/ucb/* ) ;;
4977   *)
4978     # OSF1 and SCO ODT 3.0 have their own names for install.
4979     # Don't use installbsd from OSF since it installs stuff as root
4980     # by default.
4981     for ac_prog in ginstall scoinst install; do
4982       for ac_exec_ext in '' $ac_executable_extensions; do
4983         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4984           if test $ac_prog = install &&
4985             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4986             # AIX install.  It has an incompatible calling convention.
4987             :
4988           elif test $ac_prog = install &&
4989             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4990             # program-specific install script used by HP pwplus--don't use.
4991             :
4992           else
4993             rm -rf conftest.one conftest.two conftest.dir
4994             echo one > conftest.one
4995             echo two > conftest.two
4996             mkdir conftest.dir
4997             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4998               test -s conftest.one && test -s conftest.two &&
4999               test -s conftest.dir/conftest.one &&
5000               test -s conftest.dir/conftest.two
5001             then
5002               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5003               break 3
5004             fi
5005           fi
5006         fi
5007       done
5008     done
5009     ;;
5010 esac
5011 
5012 done
5013 IFS=$as_save_IFS
5014 
5015 rm -rf conftest.one conftest.two conftest.dir
5016 
5017 fi
5018   if test "${ac_cv_path_install+set}" = set; then
5019     INSTALL=$ac_cv_path_install
5020   else
5021     # As a last resort, use the slow shell script.  Don't cache a
5022     # value for INSTALL within a source directory, because that will
5023     # break other packages using the cache if that directory is
5024     # removed, or if the value is a relative name.
5025     INSTALL=$ac_install_sh
5026   fi
5027 fi
5028 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5029 $as_echo "$INSTALL" >&6; }
5030 
5031 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5032 # It thinks the first close brace ends the variable substitution.
5033 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5034 
5035 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5036 
5037 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5038 
5039 case "$INSTALL" in
5040   [\\/$]* | ?:[\\/]* ) ;;
5041   *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5042 esac
5043 
5044 for ac_prog in lclint lint
5045 do
5046   # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_LINT+set}" = set; then
5051   $as_echo_n "(cached) " >&6
5052 else
5053   if test -n "$LINT"; then
5054   ac_cv_prog_LINT="$LINT" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5058 do
5059   IFS=$as_save_IFS
5060   test -z "$as_dir" && as_dir=.
5061   for ac_exec_ext in '' $ac_executable_extensions; do
5062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063     ac_cv_prog_LINT="$ac_prog"
5064     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065     break 2
5066   fi
5067 done
5068 done
5069 IFS=$as_save_IFS
5070 
5071 fi
5072 fi
5073 LINT=$ac_cv_prog_LINT
5074 if test -n "$LINT"; then
5075   { $as_echo "$as_me:$LINENO: result: $LINT" >&5
5076 $as_echo "$LINT" >&6; }
5077 else
5078   { $as_echo "$as_me:$LINENO: result: no" >&5
5079 $as_echo "no" >&6; }
5080 fi
5081 
5082 
5083   test -n "$LINT" && break
5084 done
5085 
5086 if test "$LINT" = "lint"
5087 then
5088   LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5089   fi
5090 
5091 
5092 
5093 for ac_prog in fontforge
5094 do
5095   # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy $ac_prog; ac_word=$2
5097 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5100   $as_echo_n "(cached) " >&6
5101 else
5102   if test -n "$FONTFORGE"; then
5103   ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5107 do
5108   IFS=$as_save_IFS
5109   test -z "$as_dir" && as_dir=.
5110   for ac_exec_ext in '' $ac_executable_extensions; do
5111   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5112     ac_cv_prog_FONTFORGE="$ac_prog"
5113     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5114     break 2
5115   fi
5116 done
5117 done
5118 IFS=$as_save_IFS
5119 
5120 fi
5121 fi
5122 FONTFORGE=$ac_cv_prog_FONTFORGE
5123 if test -n "$FONTFORGE"; then
5124   { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5125 $as_echo "$FONTFORGE" >&6; }
5126 else
5127   { $as_echo "$as_me:$LINENO: result: no" >&5
5128 $as_echo "no" >&6; }
5129 fi
5130 
5131 
5132   test -n "$FONTFORGE" && break
5133 done
5134 test -n "$FONTFORGE" || FONTFORGE="false"
5135 
5136 for ac_prog in pkg-config
5137 do
5138   # Extract the first word of "$ac_prog", so it can be a program name with args.
5139 set dummy $ac_prog; ac_word=$2
5140 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5143   $as_echo_n "(cached) " >&6
5144 else
5145   if test -n "$PKG_CONFIG"; then
5146   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5150 do
5151   IFS=$as_save_IFS
5152   test -z "$as_dir" && as_dir=.
5153   for ac_exec_ext in '' $ac_executable_extensions; do
5154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155     ac_cv_prog_PKG_CONFIG="$ac_prog"
5156     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5157     break 2
5158   fi
5159 done
5160 done
5161 IFS=$as_save_IFS
5162 
5163 fi
5164 fi
5165 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5166 if test -n "$PKG_CONFIG"; then
5167   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5168 $as_echo "$PKG_CONFIG" >&6; }
5169 else
5170   { $as_echo "$as_me:$LINENO: result: no" >&5
5171 $as_echo "no" >&6; }
5172 fi
5173 
5174 
5175   test -n "$PKG_CONFIG" && break
5176 done
5177 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5178 
5179 for ac_prog in rsvg
5180 do
5181   # Extract the first word of "$ac_prog", so it can be a program name with args.
5182 set dummy $ac_prog; ac_word=$2
5183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if test "${ac_cv_prog_RSVG+set}" = set; then
5186   $as_echo_n "(cached) " >&6
5187 else
5188   if test -n "$RSVG"; then
5189   ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5193 do
5194   IFS=$as_save_IFS
5195   test -z "$as_dir" && as_dir=.
5196   for ac_exec_ext in '' $ac_executable_extensions; do
5197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198     ac_cv_prog_RSVG="$ac_prog"
5199     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5200     break 2
5201   fi
5202 done
5203 done
5204 IFS=$as_save_IFS
5205 
5206 fi
5207 fi
5208 RSVG=$ac_cv_prog_RSVG
5209 if test -n "$RSVG"; then
5210   { $as_echo "$as_me:$LINENO: result: $RSVG" >&5
5211 $as_echo "$RSVG" >&6; }
5212 else
5213   { $as_echo "$as_me:$LINENO: result: no" >&5
5214 $as_echo "no" >&6; }
5215 fi
5216 
5217 
5218   test -n "$RSVG" && break
5219 done
5220 test -n "$RSVG" || RSVG="false"
5221 
5222 for ac_prog in icotool
5223 do
5224   # Extract the first word of "$ac_prog", so it can be a program name with args.
5225 set dummy $ac_prog; ac_word=$2
5226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
5229   $as_echo_n "(cached) " >&6
5230 else
5231   if test -n "$ICOTOOL"; then
5232   ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5233 else
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 for as_dir in $PATH
5236 do
5237   IFS=$as_save_IFS
5238   test -z "$as_dir" && as_dir=.
5239   for ac_exec_ext in '' $ac_executable_extensions; do
5240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241     ac_cv_prog_ICOTOOL="$ac_prog"
5242     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5243     break 2
5244   fi
5245 done
5246 done
5247 IFS=$as_save_IFS
5248 
5249 fi
5250 fi
5251 ICOTOOL=$ac_cv_prog_ICOTOOL
5252 if test -n "$ICOTOOL"; then
5253   { $as_echo "$as_me:$LINENO: result: $ICOTOOL" >&5
5254 $as_echo "$ICOTOOL" >&6; }
5255 else
5256   { $as_echo "$as_me:$LINENO: result: no" >&5
5257 $as_echo "no" >&6; }
5258 fi
5259 
5260 
5261   test -n "$ICOTOOL" && break
5262 done
5263 test -n "$ICOTOOL" || ICOTOOL="false"
5264 
5265 
5266 if test "${enable_maintainer_mode+set}" = set
5267 then
5268   if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
5269   if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
5270   if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
5271 fi
5272 
5273 case $host_cpu in
5274   *i[3456789]86*)
5275     # Extract the first word of "prelink", so it can be a program name with args.
5276 set dummy prelink; ac_word=$2
5277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if test "${ac_cv_path_PRELINK+set}" = set; then
5280   $as_echo_n "(cached) " >&6
5281 else
5282   case $PRELINK in
5283   [\\/]* | ?:[\\/]*)
5284   ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
5285   ;;
5286   *)
5287   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in /sbin /usr/sbin $PATH
5289 do
5290   IFS=$as_save_IFS
5291   test -z "$as_dir" && as_dir=.
5292   for ac_exec_ext in '' $ac_executable_extensions; do
5293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294     ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
5295     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5296     break 2
5297   fi
5298 done
5299 done
5300 IFS=$as_save_IFS
5301 
5302   test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
5303   ;;
5304 esac
5305 fi
5306 PRELINK=$ac_cv_path_PRELINK
5307 if test -n "$PRELINK"; then
5308   { $as_echo "$as_me:$LINENO: result: $PRELINK" >&5
5309 $as_echo "$PRELINK" >&6; }
5310 else
5311   { $as_echo "$as_me:$LINENO: result: no" >&5
5312 $as_echo "no" >&6; }
5313 fi
5314 
5315 
5316     ;;
5317 esac
5318 
5319 
5320 
5321 { $as_echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5322 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5323 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5324   $as_echo_n "(cached) " >&6
5325 else
5326   ac_check_lib_save_LIBS=$LIBS
5327 LIBS="-li386  $LIBS"
5328 cat >conftest.$ac_ext <<_ACEOF
5329 /* confdefs.h.  */
5330 _ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h.  */
5334 
5335 /* Override any GCC internal prototype to avoid an error.
5336    Use char because int might match the return type of a GCC
5337    builtin and then its argument prototype would still apply.  */
5338 #ifdef __cplusplus
5339 extern "C"
5340 #endif
5341 char i386_set_ldt ();
5342 int
5343 main ()
5344 {
5345 return i386_set_ldt ();
5346   ;
5347   return 0;
5348 }
5349 _ACEOF
5350 rm -f conftest.$ac_objext conftest$ac_exeext
5351 if { (ac_try="$ac_link"
5352 case "(($ac_try" in
5353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354   *) ac_try_echo=$ac_try;;
5355 esac
5356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5357 $as_echo "$ac_try_echo") >&5
5358   (eval "$ac_link") 2>conftest.er1
5359   ac_status=$?
5360   grep -v '^ *+' conftest.er1 >conftest.err
5361   rm -f conftest.er1
5362   cat conftest.err >&5
5363   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364   (exit $ac_status); } && {
5365          test -z "$ac_c_werror_flag" ||
5366          test ! -s conftest.err
5367        } && test -s conftest$ac_exeext && {
5368          test "$cross_compiling" = yes ||
5369          $as_test_x conftest$ac_exeext
5370        }; then
5371   ac_cv_lib_i386_i386_set_ldt=yes
5372 else
5373   $as_echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5375 
5376         ac_cv_lib_i386_i386_set_ldt=no
5377 fi
5378 
5379 rm -rf conftest.dSYM
5380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5381       conftest$ac_exeext conftest.$ac_ext
5382 LIBS=$ac_check_lib_save_LIBS
5383 fi
5384 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5385 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5386 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then
5387   cat >>confdefs.h <<_ACEOF
5388 #define HAVE_LIBI386 1
5389 _ACEOF
5390 
5391   LIBS="-li386 $LIBS"
5392 
5393 fi
5394 
5395 
5396 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5397 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5398 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5399   $as_echo_n "(cached) " >&6
5400 else
5401   ac_check_lib_save_LIBS=$LIBS
5402 LIBS="-lossaudio  $LIBS"
5403 cat >conftest.$ac_ext <<_ACEOF
5404 /* confdefs.h.  */
5405 _ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h.  */
5409 
5410 /* Override any GCC internal prototype to avoid an error.
5411    Use char because int might match the return type of a GCC
5412    builtin and then its argument prototype would still apply.  */
5413 #ifdef __cplusplus
5414 extern "C"
5415 #endif
5416 char _oss_ioctl ();
5417 int
5418 main ()
5419 {
5420 return _oss_ioctl ();
5421   ;
5422   return 0;
5423 }
5424 _ACEOF
5425 rm -f conftest.$ac_objext conftest$ac_exeext
5426 if { (ac_try="$ac_link"
5427 case "(($ac_try" in
5428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429   *) ac_try_echo=$ac_try;;
5430 esac
5431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5432 $as_echo "$ac_try_echo") >&5
5433   (eval "$ac_link")