~ [ 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.16.
  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.16'
600 PACKAGE_STRING='Wine 1.1.16'
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 MAIN_BINARY
659 SOCKETLIBS
660 CRTLIBS
661 LDPATH
662 BUILTINFLAG
663 EXTRACFLAGS
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.16 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.16:";;
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.16
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.16, which was
1643 generated by GNU Autoconf 2.63.  Invocation command line was
1644 
1645   $ $0 $@
1646 
1647 _ACEOF
1648 exec 5>>config.log
1649 {
1650 cat <<_ASUNAME
1651 ## --------- ##
1652 ## Platform. ##
1653 ## --------- ##
1654 
1655 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1656 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1657 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1658 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1659 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1660 
1661 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1662 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1663 
1664 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1665 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1666 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1667 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1668 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1669 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1670 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1671 
1672 _ASUNAME
1673 
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 for as_dir in $PATH
1676 do
1677   IFS=$as_save_IFS
1678   test -z "$as_dir" && as_dir=.
1679   $as_echo "PATH: $as_dir"
1680 done
1681 IFS=$as_save_IFS
1682 
1683 } >&5
1684 
1685 cat >&5 <<_ACEOF
1686 
1687 
1688 ## ----------- ##
1689 ## Core tests. ##
1690 ## ----------- ##
1691 
1692 _ACEOF
1693 
1694 
1695 # Keep a trace of the command line.
1696 # Strip out --no-create and --no-recursion so they do not pile up.
1697 # Strip out --silent because we don't want to record it for future runs.
1698 # Also quote any args containing shell meta-characters.
1699 # Make two passes to allow for proper duplicate-argument suppression.
1700 ac_configure_args=
1701 ac_configure_args0=
1702 ac_configure_args1=
1703 ac_must_keep_next=false
1704 for ac_pass in 1 2
1705 do
1706   for ac_arg
1707   do
1708     case $ac_arg in
1709     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1710     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1711     | -silent | --silent | --silen | --sile | --sil)
1712       continue ;;
1713     *\'*)
1714       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1715     esac
1716     case $ac_pass in
1717     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1718     2)
1719       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1720       if test $ac_must_keep_next = true; then
1721         ac_must_keep_next=false # Got value, back to normal.
1722       else
1723         case $ac_arg in
1724           *=* | --config-cache | -C | -disable-* | --disable-* \
1725           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1726           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1727           | -with-* | --with-* | -without-* | --without-* | --x)
1728             case "$ac_configure_args0 " in
1729               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1730             esac
1731             ;;
1732           -* ) ac_must_keep_next=true ;;
1733         esac
1734       fi
1735       ac_configure_args="$ac_configure_args '$ac_arg'"
1736       ;;
1737     esac
1738   done
1739 done
1740 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1741 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1742 
1743 # When interrupted or exit'd, cleanup temporary files, and complete
1744 # config.log.  We remove comments because anyway the quotes in there
1745 # would cause problems or look ugly.
1746 # WARNING: Use '\'' to represent an apostrophe within the trap.
1747 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1748 trap 'exit_status=$?
1749   # Save into config.log some information that might help in debugging.
1750   {
1751     echo
1752 
1753     cat <<\_ASBOX
1754 ## ---------------- ##
1755 ## Cache variables. ##
1756 ## ---------------- ##
1757 _ASBOX
1758     echo
1759     # The following way of writing the cache mishandles newlines in values,
1760 (
1761   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1762     eval ac_val=\$$ac_var
1763     case $ac_val in #(
1764     *${as_nl}*)
1765       case $ac_var in #(
1766       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1768       esac
1769       case $ac_var in #(
1770       _ | IFS | as_nl) ;; #(
1771       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1772       *) $as_unset $ac_var ;;
1773       esac ;;
1774     esac
1775   done
1776   (set) 2>&1 |
1777     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1778     *${as_nl}ac_space=\ *)
1779       sed -n \
1780         "s/'\''/'\''\\\\'\'''\''/g;
1781           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1782       ;; #(
1783     *)
1784       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1785       ;;
1786     esac |
1787     sort
1788 )
1789     echo
1790 
1791     cat <<\_ASBOX
1792 ## ----------------- ##
1793 ## Output variables. ##
1794 ## ----------------- ##
1795 _ASBOX
1796     echo
1797     for ac_var in $ac_subst_vars
1798     do
1799       eval ac_val=\$$ac_var
1800       case $ac_val in
1801       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802       esac
1803       $as_echo "$ac_var='\''$ac_val'\''"
1804     done | sort
1805     echo
1806 
1807     if test -n "$ac_subst_files"; then
1808       cat <<\_ASBOX
1809 ## ------------------- ##
1810 ## File substitutions. ##
1811 ## ------------------- ##
1812 _ASBOX
1813       echo
1814       for ac_var in $ac_subst_files
1815       do
1816         eval ac_val=\$$ac_var
1817         case $ac_val in
1818         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1819         esac
1820         $as_echo "$ac_var='\''$ac_val'\''"
1821       done | sort
1822       echo
1823     fi
1824 
1825     if test -s confdefs.h; then
1826       cat <<\_ASBOX
1827 ## ----------- ##
1828 ## confdefs.h. ##
1829 ## ----------- ##
1830 _ASBOX
1831       echo
1832       cat confdefs.h
1833       echo
1834     fi
1835     test "$ac_signal" != 0 &&
1836       $as_echo "$as_me: caught signal $ac_signal"
1837     $as_echo "$as_me: exit $exit_status"
1838   } >&5
1839   rm -f core *.core core.conftest.* &&
1840     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1841     exit $exit_status
1842 ' 0
1843 for ac_signal in 1 2 13 15; do
1844   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1845 done
1846 ac_signal=0
1847 
1848 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1849 rm -f -r conftest* confdefs.h
1850 
1851 # Predefined preprocessor variables.
1852 
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_NAME "$PACKAGE_NAME"
1855 _ACEOF
1856 
1857 
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1860 _ACEOF
1861 
1862 
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1865 _ACEOF
1866 
1867 
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_STRING "$PACKAGE_STRING"
1870 _ACEOF
1871 
1872 
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1875 _ACEOF
1876 
1877 
1878 # Let the site file select an alternate cache file if it wants to.
1879 # Prefer an explicitly selected file to automatically selected ones.
1880 ac_site_file1=NONE
1881 ac_site_file2=NONE
1882 if test -n "$CONFIG_SITE"; then
1883   ac_site_file1=$CONFIG_SITE
1884 elif test "x$prefix" != xNONE; then
1885   ac_site_file1=$prefix/share/config.site
1886   ac_site_file2=$prefix/etc/config.site
1887 else
1888   ac_site_file1=$ac_default_prefix/share/config.site
1889   ac_site_file2=$ac_default_prefix/etc/config.site
1890 fi
1891 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1892 do
1893   test "x$ac_site_file" = xNONE && continue
1894   if test -r "$ac_site_file"; then
1895     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1897     sed 's/^/| /' "$ac_site_file" >&5
1898     . "$ac_site_file"
1899   fi
1900 done
1901 
1902 if test -r "$cache_file"; then
1903   # Some versions of bash will fail to source /dev/null (special
1904   # files actually), so we avoid doing that.
1905   if test -f "$cache_file"; then
1906     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1907 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908     case $cache_file in
1909       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1910       *)                      . "./$cache_file";;
1911     esac
1912   fi
1913 else
1914   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1915 $as_echo "$as_me: creating cache $cache_file" >&6;}
1916   >$cache_file
1917 fi
1918 
1919 # Check that the precious variables saved in the cache have kept the same
1920 # value.
1921 ac_cache_corrupted=false
1922 for ac_var in $ac_precious_vars; do
1923   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1924   eval ac_new_set=\$ac_env_${ac_var}_set
1925   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1926   eval ac_new_val=\$ac_env_${ac_var}_value
1927   case $ac_old_set,$ac_new_set in
1928     set,)
1929       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1930 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1931       ac_cache_corrupted=: ;;
1932     ,set)
1933       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1934 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1935       ac_cache_corrupted=: ;;
1936     ,);;
1937     *)
1938       if test "x$ac_old_val" != "x$ac_new_val"; then
1939         # differences in whitespace do not lead to failure.
1940         ac_old_val_w=`echo x $ac_old_val`
1941         ac_new_val_w=`echo x $ac_new_val`
1942         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1943           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1944 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1945           ac_cache_corrupted=:
1946         else
1947           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1948 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1949           eval $ac_var=\$ac_old_val
1950         fi
1951         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1952 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1953         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1954 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1955       fi;;
1956   esac
1957   # Pass precious variables to config.status.
1958   if test "$ac_new_set" = set; then
1959     case $ac_new_val in
1960     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1961     *) ac_arg=$ac_var=$ac_new_val ;;
1962     esac
1963     case " $ac_configure_args " in
1964       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1965       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1966     esac
1967   fi
1968 done
1969 if $ac_cache_corrupted; then
1970   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1972   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1973 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1974   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1975 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1976    { (exit 1); exit 1; }; }
1977 fi
1978 
1979 
1980 
1981 
1982 
1983 
1984 
1985 
1986 
1987 
1988 
1989 
1990 
1991 
1992 
1993 
1994 
1995 
1996 
1997 
1998 
1999 
2000 
2001 
2002 
2003 ac_ext=c
2004 ac_cpp='$CPP $CPPFLAGS'
2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 
2009 
2010 
2011 ac_config_headers="$ac_config_headers include/config.h"
2012 
2013 ac_aux_dir=
2014 for ac_dir in tools "$srcdir"/tools; do
2015   if test -f "$ac_dir/install-sh"; then
2016     ac_aux_dir=$ac_dir
2017     ac_install_sh="$ac_aux_dir/install-sh -c"
2018     break
2019   elif test -f "$ac_dir/install.sh"; then
2020     ac_aux_dir=$ac_dir
2021     ac_install_sh="$ac_aux_dir/install.sh -c"
2022     break
2023   elif test -f "$ac_dir/shtool"; then
2024     ac_aux_dir=$ac_dir
2025     ac_install_sh="$ac_aux_dir/shtool install -c"
2026     break
2027   fi
2028 done
2029 if test -z "$ac_aux_dir"; then
2030   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
2031 $as_echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
2032    { (exit 1); exit 1; }; }
2033 fi
2034 
2035 # These three variables are undocumented and unsupported,
2036 # and are intended to be withdrawn in a future Autoconf release.
2037 # They can cause serious problems if a builder's source tree is in a directory
2038 # whose full name contains unusual characters.
2039 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2040 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2041 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2042 
2043 
2044 
2045 
2046 # Check whether --enable-win16 was given.
2047 if test "${enable_win16+set}" = set; then
2048   enableval=$enable_win16;
2049 fi
2050 
2051 # Check whether --enable-win64 was given.
2052 if test "${enable_win64+set}" = set; then
2053   enableval=$enable_win64;
2054 fi
2055 
2056 # Check whether --enable-tests was given.
2057 if test "${enable_tests+set}" = set; then
2058   enableval=$enable_tests;
2059 fi
2060 
2061 # Check whether --enable-maintainer-mode was given.
2062 if test "${enable_maintainer_mode+set}" = set; then
2063   enableval=$enable_maintainer_mode;
2064 else
2065   MAINTAINER_MODE=\#
2066 
2067 fi
2068 
2069 
2070 
2071 # Check whether --with-alsa was given.
2072 if test "${with_alsa+set}" = set; then
2073   withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2074 fi
2075 
2076 
2077 # Check whether --with-audioio was given.
2078 if test "${with_audioio+set}" = set; then
2079   withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
2080 fi
2081 
2082 
2083 # Check whether --with-capi was given.
2084 if test "${with_capi+set}" = set; then
2085   withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2086 fi
2087 
2088 
2089 # Check whether --with-cms was given.
2090 if test "${with_cms+set}" = set; then
2091   withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2092 fi
2093 
2094 
2095 # Check whether --with-coreaudio was given.
2096 if test "${with_coreaudio+set}" = set; then
2097   withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2098 fi
2099 
2100 
2101 # Check whether --with-cups was given.
2102 if test "${with_cups+set}" = set; then
2103   withval=$with_cups;
2104 fi
2105 
2106 
2107 # Check whether --with-curses was given.
2108 if test "${with_curses+set}" = set; then
2109   withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2110 fi
2111 
2112 
2113 # Check whether --with-esd was given.
2114 if test "${with_esd+set}" = set; then
2115   withval=$with_esd;
2116 fi
2117 
2118 
2119 # Check whether --with-fontconfig was given.
2120 if test "${with_fontconfig+set}" = set; then
2121   withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2122 fi
2123 
2124 
2125 # Check whether --with-freetype was given.
2126 if test "${with_freetype+set}" = set; then
2127   withval=$with_freetype;
2128 fi
2129 
2130 
2131 # Check whether --with-gphoto was given.
2132 if test "${with_gphoto+set}" = set; then
2133   withval=$with_gphoto;
2134 fi
2135 
2136 
2137 # Check whether --with-glu was given.
2138 if test "${with_glu+set}" = set; then
2139   withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2140 fi
2141 
2142 
2143 # Check whether --with-gnutls was given.
2144 if test "${with_gnutls+set}" = set; then
2145   withval=$with_gnutls;
2146 fi
2147 
2148 
2149 # Check whether --with-hal was given.
2150 if test "${with_hal+set}" = set; then
2151   withval=$with_hal;
2152 fi
2153 
2154 
2155 # Check whether --with-jack was given.
2156 if test "${with_jack+set}" = set; then
2157   withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2158 fi
2159 
2160 
2161 # Check whether --with-jpeg was given.
2162 if test "${with_jpeg+set}" = set; then
2163   withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2164 fi
2165 
2166 
2167 # Check whether --with-ldap was given.
2168 if test "${with_ldap+set}" = set; then
2169   withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2170 fi
2171 
2172 
2173 # Check whether --with-nas was given.
2174 if test "${with_nas+set}" = set; then
2175   withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2176 fi
2177 
2178 
2179 # Check whether --with-opengl was given.
2180 if test "${with_opengl+set}" = set; then
2181   withval=$with_opengl;
2182 fi
2183 
2184 
2185 # Check whether --with-openssl was given.
2186 if test "${with_openssl+set}" = set; then
2187   withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2188 fi
2189 
2190 
2191 # Check whether --with-oss was given.
2192 if test "${with_oss+set}" = set; then
2193   withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2194 fi
2195 
2196 
2197 # Check whether --with-png was given.
2198 if test "${with_png+set}" = set; then
2199   withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2200 fi
2201 
2202 
2203 # Check whether --with-pthread was given.
2204 if test "${with_pthread+set}" = set; then
2205   withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2206 fi
2207 
2208 
2209 # Check whether --with-sane was given.
2210 if test "${with_sane+set}" = set; then
2211   withval=$with_sane;
2212 fi
2213 
2214 
2215 # Check whether --with-xcomposite was given.
2216 if test "${with_xcomposite+set}" = set; then
2217   withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2218 fi
2219 
2220 
2221 # Check whether --with-xcursor was given.
2222 if test "${with_xcursor+set}" = set; then
2223   withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2224 fi
2225 
2226 
2227 # Check whether --with-xinerama was given.
2228 if test "${with_xinerama+set}" = set; then
2229   withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2230 fi
2231 
2232 
2233 # Check whether --with-xinput was given.
2234 if test "${with_xinput+set}" = set; then
2235   withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2236 fi
2237 
2238 
2239 # Check whether --with-xml was given.
2240 if test "${with_xml+set}" = set; then
2241   withval=$with_xml;
2242 fi
2243 
2244 
2245 # Check whether --with-xrandr was given.
2246 if test "${with_xrandr+set}" = set; then
2247   withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2248 fi
2249 
2250 
2251 # Check whether --with-xrender was given.
2252 if test "${with_xrender+set}" = set; then
2253   withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2254 fi
2255 
2256 
2257 # Check whether --with-xshape was given.
2258 if test "${with_xshape+set}" = set; then
2259   withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2260 fi
2261 
2262 
2263 # Check whether --with-xshm was given.
2264 if test "${with_xshm+set}" = set; then
2265   withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2266 fi
2267 
2268 
2269 # Check whether --with-xslt was given.
2270 if test "${with_xslt+set}" = set; then
2271   withval=$with_xslt;
2272 fi
2273 
2274 
2275 # Check whether --with-xxf86vm was given.
2276 if test "${with_xxf86vm+set}" = set; then
2277   withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2278 fi
2279 
2280 
2281 
2282 # Check whether --with-wine-tools was given.
2283 if test "${with_wine_tools+set}" = set; then
2284   withval=$with_wine_tools;
2285 fi
2286 
2287 
2288 # Make sure we can run config.sub.
2289 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2290   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2291 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2292    { (exit 1); exit 1; }; }
2293 
2294 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2295 $as_echo_n "checking build system type... " >&6; }
2296 if test "${ac_cv_build+set}" = set; then
2297   $as_echo_n "(cached) " >&6
2298 else
2299   ac_build_alias=$build_alias
2300 test "x$ac_build_alias" = x &&
2301   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2302 test "x$ac_build_alias" = x &&
2303   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2304 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2305    { (exit 1); exit 1; }; }
2306 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2307   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2308 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2309    { (exit 1); exit 1; }; }
2310 
2311 fi
2312 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2313 $as_echo "$ac_cv_build" >&6; }
2314 case $ac_cv_build in
2315 *-*-*) ;;
2316 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2317 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2318    { (exit 1); exit 1; }; };;
2319 esac
2320 build=$ac_cv_build
2321 ac_save_IFS=$IFS; IFS='-'
2322 set x $ac_cv_build
2323 shift
2324 build_cpu=$1
2325 build_vendor=$2
2326 shift; shift
2327 # Remember, the first character of IFS is used to create $*,
2328 # except with old shells:
2329 build_os=$*
2330 IFS=$ac_save_IFS
2331 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2332 
2333 
2334 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2335 $as_echo_n "checking host system type... " >&6; }
2336 if test "${ac_cv_host+set}" = set; then
2337   $as_echo_n "(cached) " >&6
2338 else
2339   if test "x$host_alias" = x; then
2340   ac_cv_host=$ac_cv_build
2341 else
2342   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2343     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2344 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2345    { (exit 1); exit 1; }; }
2346 fi
2347 
2348 fi
2349 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2350 $as_echo "$ac_cv_host" >&6; }
2351 case $ac_cv_host in
2352 *-*-*) ;;
2353 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2354 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2355    { (exit 1); exit 1; }; };;
2356 esac
2357 host=$ac_cv_host
2358 ac_save_IFS=$IFS; IFS='-'
2359 set x $ac_cv_host
2360 shift
2361 host_cpu=$1
2362 host_vendor=$2
2363 shift; shift
2364 # Remember, the first character of IFS is used to create $*,
2365 # except with old shells:
2366 host_os=$*
2367 IFS=$ac_save_IFS
2368 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2369 
2370 
2371 
2372 case "$srcdir" in
2373  .) ;;
2374  *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2375       { { $as_echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2376 You need to run 'make distclean' in the source tree first." >&5
2377 $as_echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2378 You need to run 'make distclean' in the source tree first." >&2;}
2379    { (exit 1); exit 1; }; }
2380     fi ;;
2381 esac
2382 
2383 
2384 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2385 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2386 set x ${MAKE-make}
2387 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2388 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2389   $as_echo_n "(cached) " >&6
2390 else
2391   cat >conftest.make <<\_ACEOF
2392 SHELL = /bin/sh
2393 all:
2394         @echo '@@@%%%=$(MAKE)=@@@%%%'
2395 _ACEOF
2396 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2397 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2398   *@@@%%%=?*=@@@%%%*)
2399     eval ac_cv_prog_make_${ac_make}_set=yes;;
2400   *)
2401     eval ac_cv_prog_make_${ac_make}_set=no;;
2402 esac
2403 rm -f conftest.make
2404 fi
2405 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2406   { $as_echo "$as_me:$LINENO: result: yes" >&5
2407 $as_echo "yes" >&6; }
2408   SET_MAKE=
2409 else
2410   { $as_echo "$as_me:$LINENO: result: no" >&5
2411 $as_echo "no" >&6; }
2412   SET_MAKE="MAKE=${MAKE-make}"
2413 fi
2414 
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420 if test -n "$ac_tool_prefix"; then
2421   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2423 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if test "${ac_cv_prog_CC+set}" = set; then
2426   $as_echo_n "(cached) " >&6
2427 else
2428   if test -n "$CC"; then
2429   ac_cv_prog_CC="$CC" # Let the user override the test.
2430 else
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH
2433 do
2434   IFS=$as_save_IFS
2435   test -z "$as_dir" && as_dir=.
2436   for ac_exec_ext in '' $ac_executable_extensions; do
2437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2439     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440     break 2
2441   fi
2442 done
2443 done
2444 IFS=$as_save_IFS
2445 
2446 fi
2447 fi
2448 CC=$ac_cv_prog_CC
2449 if test -n "$CC"; then
2450   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2451 $as_echo "$CC" >&6; }
2452 else
2453   { $as_echo "$as_me:$LINENO: result: no" >&5
2454 $as_echo "no" >&6; }
2455 fi
2456 
2457 
2458 fi
2459 if test -z "$ac_cv_prog_CC"; then
2460   ac_ct_CC=$CC
2461   # Extract the first word of "gcc", so it can be a program name with args.
2462 set dummy gcc; ac_word=$2
2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2466   $as_echo_n "(cached) " >&6
2467 else
2468   if test -n "$ac_ct_CC"; then
2469   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474   IFS=$as_save_IFS
2475   test -z "$as_dir" && as_dir=.
2476   for ac_exec_ext in '' $ac_executable_extensions; do
2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478     ac_cv_prog_ac_ct_CC="gcc"
2479     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480     break 2
2481   fi
2482 done
2483 done
2484 IFS=$as_save_IFS
2485 
2486 fi
2487 fi
2488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then
2490   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2491 $as_echo "$ac_ct_CC" >&6; }
2492 else
2493   { $as_echo "$as_me:$LINENO: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496 
2497   if test "x$ac_ct_CC" = x; then
2498     CC=""
2499   else
2500     case $cross_compiling:$ac_tool_warned in
2501 yes:)
2502 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2504 ac_tool_warned=yes ;;
2505 esac
2506     CC=$ac_ct_CC
2507   fi
2508 else
2509   CC="$ac_cv_prog_CC"
2510 fi
2511 
2512 if test -z "$CC"; then
2513           if test -n "$ac_tool_prefix"; then
2514     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2515 set dummy ${ac_tool_prefix}cc; ac_word=$2
2516 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if test "${ac_cv_prog_CC+set}" = set; then
2519   $as_echo_n "(cached) " >&6
2520 else
2521   if test -n "$CC"; then
2522   ac_cv_prog_CC="$CC" # Let the user override the test.
2523 else
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527   IFS=$as_save_IFS
2528   test -z "$as_dir" && as_dir=.
2529   for ac_exec_ext in '' $ac_executable_extensions; do
2530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2531     ac_cv_prog_CC="${ac_tool_prefix}cc"
2532     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533     break 2
2534   fi
2535 done
2536 done
2537 IFS=$as_save_IFS
2538 
2539 fi
2540 fi
2541 CC=$ac_cv_prog_CC
2542 if test -n "$CC"; then
2543   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2544 $as_echo "$CC" >&6; }
2545 else
2546   { $as_echo "$as_me:$LINENO: result: no" >&5
2547 $as_echo "no" >&6; }
2548 fi
2549 
2550 
2551   fi
2552 fi
2553 if test -z "$CC"; then
2554   # Extract the first word of "cc", so it can be a program name with args.
2555 set dummy cc; ac_word=$2
2556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559   $as_echo_n "(cached) " >&6
2560 else
2561   if test -n "$CC"; then
2562   ac_cv_prog_CC="$CC" # Let the user override the test.
2563 else
2564   ac_prog_rejected=no
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH
2567 do
2568   IFS=$as_save_IFS
2569   test -z "$as_dir" && as_dir=.
2570   for ac_exec_ext in '' $ac_executable_extensions; do
2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2573        ac_prog_rejected=yes
2574        continue
2575      fi
2576     ac_cv_prog_CC="cc"
2577     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578     break 2
2579   fi
2580 done
2581 done
2582 IFS=$as_save_IFS
2583 
2584 if test $ac_prog_rejected = yes; then
2585   # We found a bogon in the path, so make sure we never use it.
2586   set dummy $ac_cv_prog_CC
2587   shift
2588   if test $# != 0; then
2589     # We chose a different compiler from the bogus one.
2590     # However, it has the same basename, so the bogon will be chosen
2591     # first if we set CC to just the basename; use the full file name.
2592     shift
2593     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2594   fi
2595 fi
2596 fi
2597 fi
2598 CC=$ac_cv_prog_CC
2599 if test -n "$CC"; then
2600   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2601 $as_echo "$CC" >&6; }
2602 else
2603   { $as_echo "$as_me:$LINENO: result: no" >&5
2604 $as_echo "no" >&6; }
2605 fi
2606 
2607 
2608 fi
2609 if test -z "$CC"; then
2610   if test -n "$ac_tool_prefix"; then
2611   for ac_prog in cl.exe
2612   do
2613     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 $as_echo_n "checking for $ac_word... " >&6; }
2617 if test "${ac_cv_prog_CC+set}" = set; then
2618   $as_echo_n "(cached) " >&6
2619 else
2620   if test -n "$CC"; then
2621   ac_cv_prog_CC="$CC" # Let the user override the test.
2622 else
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 for as_dir in $PATH
2625 do
2626   IFS=$as_save_IFS
2627   test -z "$as_dir" && as_dir=.
2628   for ac_exec_ext in '' $ac_executable_extensions; do
2629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2630     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2631     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632     break 2
2633   fi
2634 done
2635 done
2636 IFS=$as_save_IFS
2637 
2638 fi
2639 fi
2640 CC=$ac_cv_prog_CC
2641 if test -n "$CC"; then
2642   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2643 $as_echo "$CC" >&6; }
2644 else
2645   { $as_echo "$as_me:$LINENO: result: no" >&5
2646 $as_echo "no" >&6; }
2647 fi
2648 
2649 
2650     test -n "$CC" && break
2651   done
2652 fi
2653 if test -z "$CC"; then
2654   ac_ct_CC=$CC
2655   for ac_prog in cl.exe
2656 do
2657   # Extract the first word of "$ac_prog", so it can be a program name with args.
2658 set dummy $ac_prog; ac_word=$2
2659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2662   $as_echo_n "(cached) " >&6
2663 else
2664   if test -n "$ac_ct_CC"; then
2665   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2666 else
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2669 do
2670   IFS=$as_save_IFS
2671   test -z "$as_dir" && as_dir=.
2672   for ac_exec_ext in '' $ac_executable_extensions; do
2673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2674     ac_cv_prog_ac_ct_CC="$ac_prog"
2675     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2676     break 2
2677   fi
2678 done
2679 done
2680 IFS=$as_save_IFS
2681 
2682 fi
2683 fi
2684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2685 if test -n "$ac_ct_CC"; then
2686   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2687 $as_echo "$ac_ct_CC" >&6; }
2688 else
2689   { $as_echo "$as_me:$LINENO: result: no" >&5
2690 $as_echo "no" >&6; }
2691 fi
2692 
2693 
2694   test -n "$ac_ct_CC" && break
2695 done
2696 
2697   if test "x$ac_ct_CC" = x; then
2698     CC=""
2699   else
2700     case $cross_compiling:$ac_tool_warned in
2701 yes:)
2702 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704 ac_tool_warned=yes ;;
2705 esac
2706     CC=$ac_ct_CC
2707   fi
2708 fi
2709 
2710 fi
2711 
2712 
2713 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2715 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2716 See \`config.log' for more details." >&5
2717 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2718 See \`config.log' for more details." >&2;}
2719    { (exit 1); exit 1; }; }; }
2720 
2721 # Provide some information about the compiler.
2722 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2723 set X $ac_compile
2724 ac_compiler=$2
2725 { (ac_try="$ac_compiler --version >&5"
2726 case "(($ac_try" in
2727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728   *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2731 $as_echo "$ac_try_echo") >&5
2732   (eval "$ac_compiler --version >&5") 2>&5
2733   ac_status=$?
2734   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735   (exit $ac_status); }
2736 { (ac_try="$ac_compiler -v >&5"
2737 case "(($ac_try" in
2738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739   *) ac_try_echo=$ac_try;;
2740 esac
2741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2742 $as_echo "$ac_try_echo") >&5
2743   (eval "$ac_compiler -v >&5") 2>&5
2744   ac_status=$?
2745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746   (exit $ac_status); }
2747 { (ac_try="$ac_compiler -V >&5"
2748 case "(($ac_try" in
2749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750   *) ac_try_echo=$ac_try;;
2751 esac
2752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2753 $as_echo "$ac_try_echo") >&5
2754   (eval "$ac_compiler -V >&5") 2>&5
2755   ac_status=$?
2756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757   (exit $ac_status); }
2758 
2759 cat >conftest.$ac_ext <<_ACEOF
2760 /* confdefs.h.  */
2761 _ACEOF
2762 cat confdefs.h >>conftest.$ac_ext
2763 cat >>conftest.$ac_ext <<_ACEOF
2764 /* end confdefs.h.  */
2765 
2766 int
2767 main ()
2768 {
2769 
2770   ;
2771   return 0;
2772 }
2773 _ACEOF
2774 ac_clean_files_save=$ac_clean_files
2775 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2776 # Try to create an executable without -o first, disregard a.out.
2777 # It will help us diagnose broken compilers, and finding out an intuition
2778 # of exeext.
2779 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2780 $as_echo_n "checking for C compiler default output file name... " >&6; }
2781 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2782 
2783 # The possible output files:
2784 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2785 
2786 ac_rmfiles=
2787 for ac_file in $ac_files
2788 do
2789   case $ac_file in
2790     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2791     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2792   esac
2793 done
2794 rm -f $ac_rmfiles
2795 
2796 if { (ac_try="$ac_link_default"
2797 case "(($ac_try" in
2798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799   *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2802 $as_echo "$ac_try_echo") >&5
2803   (eval "$ac_link_default") 2>&5
2804   ac_status=$?
2805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806   (exit $ac_status); }; then
2807   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2808 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2809 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2810 # so that the user can short-circuit this test for compilers unknown to
2811 # Autoconf.
2812 for ac_file in $ac_files ''
2813 do
2814   test -f "$ac_file" || continue
2815   case $ac_file in
2816     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2817         ;;
2818     [ab].out )
2819         # We found the default executable, but exeext='' is most
2820         # certainly right.
2821         break;;
2822     *.* )
2823         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2824         then :; else
2825            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2826         fi
2827         # We set ac_cv_exeext here because the later test for it is not
2828         # safe: cross compilers may not add the suffix if given an `-o'
2829         # argument, so we may need to know it at that point already.
2830         # Even if this section looks crufty: it has the advantage of
2831         # actually working.
2832         break;;
2833     * )
2834         break;;
2835   esac
2836 done
2837 test "$ac_cv_exeext" = no && ac_cv_exeext=
2838 
2839 else
2840   ac_file=''
2841 fi
2842 
2843 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2844 $as_echo "$ac_file" >&6; }
2845 if test -z "$ac_file"; then
2846   $as_echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2848 
2849 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2851 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2852 See \`config.log' for more details." >&5
2853 $as_echo "$as_me: error: C compiler cannot create executables
2854 See \`config.log' for more details." >&2;}
2855    { (exit 77); exit 77; }; }; }
2856 fi
2857 
2858 ac_exeext=$ac_cv_exeext
2859 
2860 # Check that the compiler produces executables we can run.  If not, either
2861 # the compiler is broken, or we cross compile.
2862 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2863 $as_echo_n "checking whether the C compiler works... " >&6; }
2864 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2865 # If not cross compiling, check that we can run a simple program.
2866 if test "$cross_compiling" != yes; then
2867   if { ac_try='./$ac_file'
2868   { (case "(($ac_try" in
2869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870   *) ac_try_echo=$ac_try;;
2871 esac
2872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2873 $as_echo "$ac_try_echo") >&5
2874   (eval "$ac_try") 2>&5
2875   ac_status=$?
2876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877   (exit $ac_status); }; }; then
2878     cross_compiling=no
2879   else
2880     if test "$cross_compiling" = maybe; then
2881         cross_compiling=yes
2882     else
2883         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2885 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2886 If you meant to cross compile, use \`--host'.
2887 See \`config.log' for more details." >&5
2888 $as_echo "$as_me: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details." >&2;}
2891    { (exit 1); exit 1; }; }; }
2892     fi
2893   fi
2894 fi
2895 { $as_echo "$as_me:$LINENO: result: yes" >&5
2896 $as_echo "yes" >&6; }
2897 
2898 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2899 ac_clean_files=$ac_clean_files_save
2900 # Check that the compiler produces executables we can run.  If not, either
2901 # the compiler is broken, or we cross compile.
2902 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2903 $as_echo_n "checking whether we are cross compiling... " >&6; }
2904 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2905 $as_echo "$cross_compiling" >&6; }
2906 
2907 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2908 $as_echo_n "checking for suffix of executables... " >&6; }
2909 if { (ac_try="$ac_link"
2910 case "(($ac_try" in
2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912   *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2915 $as_echo "$ac_try_echo") >&5
2916   (eval "$ac_link") 2>&5
2917   ac_status=$?
2918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919   (exit $ac_status); }; then
2920   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2921 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2922 # work properly (i.e., refer to `conftest.exe'), while it won't with
2923 # `rm'.
2924 for ac_file in conftest.exe conftest conftest.*; do
2925   test -f "$ac_file" || continue
2926   case $ac_file in
2927     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2928     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2929           break;;
2930     * ) break;;
2931   esac
2932 done
2933 else
2934   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940    { (exit 1); exit 1; }; }; }
2941 fi
2942 
2943 rm -f conftest$ac_cv_exeext
2944 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 $as_echo "$ac_cv_exeext" >&6; }
2946 
2947 rm -f conftest.$ac_ext
2948 EXEEXT=$ac_cv_exeext
2949 ac_exeext=$EXEEXT
2950 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 $as_echo_n "checking for suffix of object files... " >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953   $as_echo_n "(cached) " >&6
2954 else
2955   cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h.  */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h.  */
2961 
2962 int
2963 main ()
2964 {
2965 
2966   ;
2967   return 0;
2968 }
2969 _ACEOF
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try="$ac_compile"
2972 case "(($ac_try" in
2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974   *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2977 $as_echo "$ac_try_echo") >&5
2978   (eval "$ac_compile") 2>&5
2979   ac_status=$?
2980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981   (exit $ac_status); }; then
2982   for ac_file in conftest.o conftest.obj conftest.*; do
2983   test -f "$ac_file" || continue;
2984   case $ac_file in
2985     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2986     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2987        break;;
2988   esac
2989 done
2990 else
2991   $as_echo "$as_me: failed program was:" >&5
2992 sed 's/^/| /' conftest.$ac_ext >&5
2993 
2994 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2996 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2997 See \`config.log' for more details." >&5
2998 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2999 See \`config.log' for more details." >&2;}
3000    { (exit 1); exit 1; }; }; }
3001 fi
3002 
3003 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3004 fi
3005 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3006 $as_echo "$ac_cv_objext" >&6; }
3007 OBJEXT=$ac_cv_objext
3008 ac_objext=$OBJEXT
3009 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3010 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3011 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3012   $as_echo_n "(cached) " >&6
3013 else
3014   cat >conftest.$ac_ext <<_ACEOF
3015 /* confdefs.h.  */
3016 _ACEOF
3017 cat confdefs.h >>conftest.$ac_ext
3018 cat >>conftest.$ac_ext <<_ACEOF
3019 /* end confdefs.h.  */
3020 
3021 int
3022 main ()
3023 {
3024 #ifndef __GNUC__
3025        choke me
3026 #endif
3027 
3028   ;
3029   return 0;
3030 }
3031 _ACEOF
3032 rm -f conftest.$ac_objext
3033 if { (ac_try="$ac_compile"
3034 case "(($ac_try" in
3035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036   *) ac_try_echo=$ac_try;;
3037 esac
3038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3039 $as_echo "$ac_try_echo") >&5
3040   (eval "$ac_compile") 2>conftest.er1
3041   ac_status=$?
3042   grep -v '^ *+' conftest.er1 >conftest.err
3043   rm -f conftest.er1
3044   cat conftest.err >&5
3045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046   (exit $ac_status); } && {
3047          test -z "$ac_c_werror_flag" ||
3048          test ! -s conftest.err
3049        } && test -s conftest.$ac_objext; then
3050   ac_compiler_gnu=yes
3051 else
3052   $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3054 
3055         ac_compiler_gnu=no
3056 fi
3057 
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3060 
3061 fi
3062 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3063 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3064 if test $ac_compiler_gnu = yes; then
3065   GCC=yes
3066 else
3067   GCC=
3068 fi
3069 ac_test_CFLAGS=${CFLAGS+set}
3070 ac_save_CFLAGS=$CFLAGS
3071 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3072 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3073 if test "${ac_cv_prog_cc_g+set}" = set; then
3074   $as_echo_n "(cached) " >&6
3075 else
3076   ac_save_c_werror_flag=$ac_c_werror_flag
3077    ac_c_werror_flag=yes
3078    ac_cv_prog_cc_g=no
3079    CFLAGS="-g"
3080    cat >conftest.$ac_ext <<_ACEOF
3081 /* confdefs.h.  */
3082 _ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h.  */
3086 
3087 int
3088 main ()
3089 {
3090 
3091   ;
3092   return 0;
3093 }
3094 _ACEOF
3095 rm -f conftest.$ac_objext
3096 if { (ac_try="$ac_compile"
3097 case "(($ac_try" in
3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099   *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3102 $as_echo "$ac_try_echo") >&5
3103   (eval "$ac_compile") 2>conftest.er1
3104   ac_status=$?
3105   grep -v '^ *+' conftest.er1 >conftest.err
3106   rm -f conftest.er1
3107   cat conftest.err >&5
3108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109   (exit $ac_status); } && {
3110          test -z "$ac_c_werror_flag" ||
3111          test ! -s conftest.err
3112        } && test -s conftest.$ac_objext; then
3113   ac_cv_prog_cc_g=yes
3114 else
3115   $as_echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3117 
3118         CFLAGS=""
3119       cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h.  */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h.  */
3125 
3126 int
3127 main ()
3128 {
3129 
3130   ;
3131   return 0;
3132 }
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3136 case "(($ac_try" in
3137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138   *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3141 $as_echo "$ac_try_echo") >&5
3142   (eval "$ac_compile") 2>conftest.er1
3143   ac_status=$?
3144   grep -v '^ *+' conftest.er1 >conftest.err
3145   rm -f conftest.er1
3146   cat conftest.err >&5
3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148   (exit $ac_status); } && {
3149          test -z "$ac_c_werror_flag" ||
3150          test ! -s conftest.err
3151        } && test -s conftest.$ac_objext; then
3152   :
3153 else
3154   $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3156 
3157         ac_c_werror_flag=$ac_save_c_werror_flag
3158          CFLAGS="-g"
3159          cat >conftest.$ac_ext <<_ACEOF
3160 /* confdefs.h.  */
3161 _ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h.  */
3165 
3166 int
3167 main ()
3168 {
3169 
3170   ;
3171   return 0;
3172 }
3173 _ACEOF
3174 rm -f conftest.$ac_objext
3175 if { (ac_try="$ac_compile"
3176 case "(($ac_try" in
3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178   *) ac_try_echo=$ac_try;;
3179 esac
3180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181 $as_echo "$ac_try_echo") >&5
3182   (eval "$ac_compile") 2>conftest.er1
3183   ac_status=$?
3184   grep -v '^ *+' conftest.er1 >conftest.err
3185   rm -f conftest.er1
3186   cat conftest.err >&5
3187   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188   (exit $ac_status); } && {
3189          test -z "$ac_c_werror_flag" ||
3190          test ! -s conftest.err
3191        } && test -s conftest.$ac_objext; then
3192   ac_cv_prog_cc_g=yes
3193 else
3194   $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3196 
3197 
3198 fi
3199 
3200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3201 fi
3202 
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 fi
3205 
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207    ac_c_werror_flag=$ac_save_c_werror_flag
3208 fi
3209 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 $as_echo "$ac_cv_prog_cc_g" >&6; }
3211 if test "$ac_test_CFLAGS" = set; then
3212   CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214   if test "$GCC" = yes; then
3215     CFLAGS="-g -O2"
3216   else
3217     CFLAGS="-g"
3218   fi
3219 else
3220   if test "$GCC" = yes; then
3221     CFLAGS="-O2"
3222   else
3223     CFLAGS=
3224   fi
3225 fi
3226 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3227 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3228 if test "${ac_cv_prog_cc_c89+set}" = set; then
3229   $as_echo_n "(cached) " >&6
3230 else
3231   ac_cv_prog_cc_c89=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h.  */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h.  */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247      char **p;
3248      int i;
3249 {
3250   return p[i];
3251 }
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3253 {
3254   char *s;
3255   va_list v;
3256   va_start (v,p);
3257   s = g (p, va_arg (v,int));
3258   va_end (v);
3259   return s;
3260 }
3261 
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3263    function prototypes and stuff, but not '\xHH' hex character constants.
3264    These don't provoke an error unfortunately, instead are silently treated
3265    as 'x'.  The following induces an error, until -std is added to get
3266    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3267    array size at least.  It's necessary to write '\x00'==0 to get something
3268    that's true only with -std.  */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270 
3271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3272    inside strings and character constants.  */
3273 #define FOO(x) 'x'
3274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3275 
3276 int test (int i, double x);
3277 struct s1 {int (*f) (int a);};
3278 struct s2 {int (*f) (double a);};
3279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3280 int argc;
3281 char **argv;
3282 int
3283 main ()
3284 {
3285 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3286   ;
3287   return 0;
3288 }
3289 _ACEOF
3290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3291         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3292 do
3293   CC="$ac_save_CC $ac_arg"
3294   rm -f conftest.$ac_objext
3295 if { (ac_try="$ac_compile"
3296 case "(($ac_try" in
3297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298   *) ac_try_echo=$ac_try;;
3299 esac
3300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3301 $as_echo "$ac_try_echo") >&5
3302   (eval "$ac_compile") 2>conftest.er1
3303   ac_status=$?
3304   grep -v '^ *+' conftest.er1 >conftest.err
3305   rm -f conftest.er1
3306   cat conftest.err >&5
3307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308   (exit $ac_status); } && {
3309          test -z "$ac_c_werror_flag" ||
3310          test ! -s conftest.err
3311        } && test -s conftest.$ac_objext; then
3312   ac_cv_prog_cc_c89=$ac_arg
3313 else
3314   $as_echo "$as_me: failed program was:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3316 
3317 
3318 fi
3319 
3320 rm -f core conftest.err conftest.$ac_objext
3321   test "x$ac_cv_prog_cc_c89" != "xno" && break
3322 done
3323 rm -f conftest.$ac_ext
3324 CC=$ac_save_CC
3325 
3326 fi
3327 # AC_CACHE_VAL
3328 case "x$ac_cv_prog_cc_c89" in
3329   x)
3330     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3331 $as_echo "none needed" >&6; } ;;
3332   xno)
3333     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3334 $as_echo "unsupported" >&6; } ;;
3335   *)
3336     CC="$CC $ac_cv_prog_cc_c89"
3337     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3338 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3339 esac
3340 
3341 
3342 ac_ext=c
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347 
3348 ac_ext=cpp
3349 ac_cpp='$CXXCPP $CPPFLAGS'
3350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3353 if test -z "$CXX"; then
3354   if test -n "$CCC"; then
3355     CXX=$CCC
3356   else
3357     if test -n "$ac_tool_prefix"; then
3358   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3359   do
3360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if test "${ac_cv_prog_CXX+set}" = set; then
3365   $as_echo_n "(cached) " >&6
3366 else
3367   if test -n "$CXX"; then
3368   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3369 else
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH
3372 do
3373   IFS=$as_save_IFS
3374   test -z "$as_dir" && as_dir=.
3375   for ac_exec_ext in '' $ac_executable_extensions; do
3376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3378     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3379     break 2
3380   fi
3381 done
3382 done
3383 IFS=$as_save_IFS
3384 
3385 fi
3386 fi
3387 CXX=$ac_cv_prog_CXX
3388 if test -n "$CXX"; then
3389   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3390 $as_echo "$CXX" >&6; }
3391 else
3392   { $as_echo "$as_me:$LINENO: result: no" >&5
3393 $as_echo "no" >&6; }
3394 fi
3395 
3396 
3397     test -n "$CXX" && break
3398   done
3399 fi
3400 if test -z "$CXX"; then
3401   ac_ct_CXX=$CXX
3402   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3403 do
3404   # Extract the first word of "$ac_prog", so it can be a program name with args.
3405 set dummy $ac_prog; ac_word=$2
3406 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3409   $as_echo_n "(cached) " >&6
3410 else
3411   if test -n "$ac_ct_CXX"; then
3412   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3413 else
3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415 for as_dir in $PATH
3416 do
3417   IFS=$as_save_IFS
3418   test -z "$as_dir" && as_dir=.
3419   for ac_exec_ext in '' $ac_executable_extensions; do
3420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421     ac_cv_prog_ac_ct_CXX="$ac_prog"
3422     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3423     break 2
3424   fi
3425 done
3426 done
3427 IFS=$as_save_IFS
3428 
3429 fi
3430 fi
3431 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3432 if test -n "$ac_ct_CXX"; then
3433   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3434 $as_echo "$ac_ct_CXX" >&6; }
3435 else
3436   { $as_echo "$as_me:$LINENO: result: no" >&5
3437 $as_echo "no" >&6; }
3438 fi
3439 
3440 
3441   test -n "$ac_ct_CXX" && break
3442 done
3443 
3444   if test "x$ac_ct_CXX" = x; then
3445     CXX="g++"
3446   else
3447     case $cross_compiling:$ac_tool_warned in
3448 yes:)
3449 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3451 ac_tool_warned=yes ;;
3452 esac
3453     CXX=$ac_ct_CXX
3454   fi
3455 fi
3456 
3457   fi
3458 fi
3459 # Provide some information about the compiler.
3460 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3461 set X $ac_compile
3462 ac_compiler=$2
3463 { (ac_try="$ac_compiler --version >&5"
3464 case "(($ac_try" in
3465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466   *) ac_try_echo=$ac_try;;
3467 esac
3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3469 $as_echo "$ac_try_echo") >&5
3470   (eval "$ac_compiler --version >&5") 2>&5
3471   ac_status=$?
3472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473   (exit $ac_status); }
3474 { (ac_try="$ac_compiler -v >&5"
3475 case "(($ac_try" in
3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477   *) ac_try_echo=$ac_try;;
3478 esac
3479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3480 $as_echo "$ac_try_echo") >&5
3481   (eval "$ac_compiler -v >&5") 2>&5
3482   ac_status=$?
3483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484   (exit $ac_status); }
3485 { (ac_try="$ac_compiler -V >&5"
3486 case "(($ac_try" in
3487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488   *) ac_try_echo=$ac_try;;
3489 esac
3490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3491 $as_echo "$ac_try_echo") >&5
3492   (eval "$ac_compiler -V >&5") 2>&5
3493   ac_status=$?
3494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495   (exit $ac_status); }
3496 
3497 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3498 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3499 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3500   $as_echo_n "(cached) " >&6
3501 else
3502   cat >conftest.$ac_ext <<_ACEOF
3503 /* confdefs.h.  */
3504 _ACEOF
3505 cat confdefs.h >>conftest.$ac_ext
3506 cat >>conftest.$ac_ext <<_ACEOF
3507 /* end confdefs.h.  */
3508 
3509 int
3510 main ()
3511 {
3512 #ifndef __GNUC__
3513        choke me
3514 #endif
3515 
3516   ;
3517   return 0;
3518 }
3519 _ACEOF
3520 rm -f conftest.$ac_objext
3521 if { (ac_try="$ac_compile"
3522 case "(($ac_try" in
3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524   *) ac_try_echo=$ac_try;;
3525 esac
3526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3527 $as_echo "$ac_try_echo") >&5
3528   (eval "$ac_compile") 2>conftest.er1
3529   ac_status=$?
3530   grep -v '^ *+' conftest.er1 >conftest.err
3531   rm -f conftest.er1
3532   cat conftest.err >&5
3533   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534   (exit $ac_status); } && {
3535          test -z "$ac_cxx_werror_flag" ||
3536          test ! -s conftest.err
3537        } && test -s conftest.$ac_objext; then
3538   ac_compiler_gnu=yes
3539 else
3540   $as_echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.$ac_ext >&5
3542 
3543         ac_compiler_gnu=no
3544 fi
3545 
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3548 
3549 fi
3550 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3551 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3552 if test $ac_compiler_gnu = yes; then
3553   GXX=yes
3554 else
3555   GXX=
3556 fi
3557 ac_test_CXXFLAGS=${CXXFLAGS+set}
3558 ac_save_CXXFLAGS=$CXXFLAGS
3559 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3560 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3561 if test "${ac_cv_prog_cxx_g+set}" = set; then
3562   $as_echo_n "(cached) " >&6
3563 else
3564   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3565    ac_cxx_werror_flag=yes
3566    ac_cv_prog_cxx_g=no
3567    CXXFLAGS="-g"
3568    cat >conftest.$ac_ext <<_ACEOF
3569 /* confdefs.h.  */
3570 _ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h.  */
3574 
3575 int
3576 main ()
3577 {
3578 
3579   ;
3580   return 0;
3581 }
3582 _ACEOF
3583 rm -f conftest.$ac_objext
3584 if { (ac_try="$ac_compile"
3585 case "(($ac_try" in
3586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587   *) ac_try_echo=$ac_try;;
3588 esac
3589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590 $as_echo "$ac_try_echo") >&5
3591   (eval "$ac_compile") 2>conftest.er1
3592   ac_status=$?
3593   grep -v '^ *+' conftest.er1 >conftest.err
3594   rm -f conftest.er1
3595   cat conftest.err >&5
3596   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597   (exit $ac_status); } && {
3598          test -z "$ac_cxx_werror_flag" ||
3599          test ! -s conftest.err
3600        } && test -s conftest.$ac_objext; then
3601   ac_cv_prog_cxx_g=yes
3602 else
3603   $as_echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3605 
3606         CXXFLAGS=""
3607       cat >conftest.$ac_ext <<_ACEOF
3608 /* confdefs.h.  */
3609 _ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h.  */
3613 
3614 int
3615 main ()
3616 {
3617 
3618   ;
3619   return 0;
3620 }
3621 _ACEOF
3622 rm -f conftest.$ac_objext
3623 if { (ac_try="$ac_compile"
3624 case "(($ac_try" in
3625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626   *) ac_try_echo=$ac_try;;
3627 esac
3628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3629 $as_echo "$ac_try_echo") >&5
3630   (eval "$ac_compile") 2>conftest.er1
3631   ac_status=$?
3632   grep -v '^ *+' conftest.er1 >conftest.err
3633   rm -f conftest.er1
3634   cat conftest.err >&5
3635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636   (exit $ac_status); } && {
3637          test -z "$ac_cxx_werror_flag" ||
3638          test ! -s conftest.err
3639        } && test -s conftest.$ac_objext; then
3640   :
3641 else
3642   $as_echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.$ac_ext >&5
3644 
3645         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3646          CXXFLAGS="-g"
3647          cat >conftest.$ac_ext <<_ACEOF
3648 /* confdefs.h.  */
3649 _ACEOF
3650 cat confdefs.h >>conftest.$ac_ext
3651 cat >>conftest.$ac_ext <<_ACEOF
3652 /* end confdefs.h.  */
3653 
3654 int
3655 main ()
3656 {
3657 
3658   ;
3659   return 0;
3660 }
3661 _ACEOF
3662 rm -f conftest.$ac_objext
3663 if { (ac_try="$ac_compile"
3664 case "(($ac_try" in
3665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666   *) ac_try_echo=$ac_try;;
3667 esac
3668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3669 $as_echo "$ac_try_echo") >&5
3670   (eval "$ac_compile") 2>conftest.er1
3671   ac_status=$?
3672   grep -v '^ *+' conftest.er1 >conftest.err
3673   rm -f conftest.er1
3674   cat conftest.err >&5
3675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676   (exit $ac_status); } && {
3677          test -z "$ac_cxx_werror_flag" ||
3678          test ! -s conftest.err
3679        } && test -s conftest.$ac_objext; then
3680   ac_cv_prog_cxx_g=yes
3681 else
3682   $as_echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.$ac_ext >&5
3684 
3685 
3686 fi
3687 
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 fi
3690 
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 fi
3693 
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3696 fi
3697 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3698 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3699 if test "$ac_test_CXXFLAGS" = set; then
3700   CXXFLAGS=$ac_save_CXXFLAGS
3701 elif test $ac_cv_prog_cxx_g = yes; then
3702   if test "$GXX" = yes; then
3703     CXXFLAGS="-g -O2"
3704   else
3705     CXXFLAGS="-g"
3706   fi
3707 else
3708   if test "$GXX" = yes; then
3709     CXXFLAGS="-O2"
3710   else
3711     CXXFLAGS=
3712   fi
3713 fi
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 
3720 if test -n "$ac_tool_prefix"; then
3721   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3722 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3726   $as_echo_n "(cached) " >&6
3727 else
3728   if test -n "$CPPBIN"; then
3729   ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3730 else
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 for as_dir in $PATH
3733 do
3734   IFS=$as_save_IFS
3735   test -z "$as_dir" && as_dir=.
3736   for ac_exec_ext in '' $ac_executable_extensions; do
3737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3738     ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3739     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3740     break 2
3741   fi
3742 done
3743 done
3744 IFS=$as_save_IFS
3745 
3746 fi
3747 fi
3748 CPPBIN=$ac_cv_prog_CPPBIN
3749 if test -n "$CPPBIN"; then
3750   { $as_echo "$as_me:$LINENO: result: $CPPBIN" >&5
3751 $as_echo "$CPPBIN" >&6; }
3752 else
3753   { $as_echo "$as_me:$LINENO: result: no" >&5
3754 $as_echo "no" >&6; }
3755 fi
3756 
3757 
3758 fi
3759 if test -z "$ac_cv_prog_CPPBIN"; then
3760   ac_ct_CPPBIN=$CPPBIN
3761   # Extract the first word of "cpp", so it can be a program name with args.
3762 set dummy cpp; ac_word=$2
3763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3766   $as_echo_n "(cached) " >&6
3767 else
3768   if test -n "$ac_ct_CPPBIN"; then
3769   ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3773 do
3774   IFS=$as_save_IFS
3775   test -z "$as_dir" && as_dir=.
3776   for ac_exec_ext in '' $ac_executable_extensions; do
3777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778     ac_cv_prog_ac_ct_CPPBIN="cpp"
3779     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780     break 2
3781   fi
3782 done
3783 done
3784 IFS=$as_save_IFS
3785 
3786 fi
3787 fi
3788 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3789 if test -n "$ac_ct_CPPBIN"; then
3790   { $as_echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3791 $as_echo "$ac_ct_CPPBIN" >&6; }
3792 else
3793   { $as_echo "$as_me:$LINENO: result: no" >&5
3794 $as_echo "no" >&6; }
3795 fi
3796 
3797   if test "x$ac_ct_CPPBIN" = x; then
3798     CPPBIN="cpp"
3799   else
3800     case $cross_compiling:$ac_tool_warned in
3801 yes:)
3802 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3804 ac_tool_warned=yes ;;
3805 esac
3806     CPPBIN=$ac_ct_CPPBIN
3807   fi
3808 else
3809   CPPBIN="$ac_cv_prog_CPPBIN"
3810 fi
3811 
3812 
3813 case $host in
3814   x86_64*)
3815     if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
3816     then
3817       CC="$CC -m32"
3818       CXX="$CXX -m32"
3819       { $as_echo "$as_me:$LINENO: checking whether $CC works" >&5
3820 $as_echo_n "checking whether $CC works... " >&6; }
3821 
3822 cat >conftest.$ac_ext <<_ACEOF
3823 /* confdefs.h.  */
3824 _ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h.  */
3828 
3829 int
3830 main ()
3831 {
3832 
3833   ;
3834   return 0;
3835 }
3836 _ACEOF
3837 rm -f conftest.$ac_objext conftest$ac_exeext
3838 if { (ac_try="$ac_link"
3839 case "(($ac_try" in
3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841   *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3844 $as_echo "$ac_try_echo") >&5
3845   (eval "$ac_link") 2>conftest.er1
3846   ac_status=$?
3847   grep -v '^ *+' conftest.er1 >conftest.err
3848   rm -f conftest.er1
3849   cat conftest.err >&5
3850   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851   (exit $ac_status); } && {
3852          test -z "$ac_c_werror_flag" ||
3853          test ! -s conftest.err
3854        } && test -s conftest$ac_exeext && {
3855          test "$cross_compiling" = yes ||
3856          $as_test_x conftest$ac_exeext
3857        }; then
3858   { $as_echo "$as_me:$LINENO: result: yes" >&5
3859 $as_echo "yes" >&6; }
3860 else
3861   $as_echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3863 
3864         { $as_echo "$as_me:$LINENO: result: no" >&5
3865 $as_echo "no" >&6; }
3866                       { { $as_echo "$as_me:$LINENO: error: Cannot build a 32-bit program, you need to install 32-bit development libraries." >&5
3867 $as_echo "$as_me: error: Cannot build a 32-bit program, you need to install 32-bit development libraries." >&2;}
3868    { (exit 1); exit 1; }; }
3869 fi
3870 
3871 rm -rf conftest.dSYM
3872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3873       conftest$ac_exeext conftest.$ac_ext
3874       LD="${LD:-ld} -m elf_i386"
3875       AS="${AS:-as} --32"
3876       host_cpu="i386"
3877       notice_platform="32-bit "
3878       TARGETFLAGS="-m32"
3879 
3880       enable_win16=${enable_win16:-yes}
3881     else
3882       TARGETFLAGS="-m64"
3883 
3884     fi
3885     ;;
3886   *-mingw32*)
3887     enable_win16=${enable_win16:-no}
3888     ;;
3889   i[3456789]86*)
3890     enable_win16=${enable_win16:-yes}
3891     ;;
3892 esac
3893 
3894 enable_win16=${enable_win16:-no}
3895 
3896 WIN16_FILES="\$(WIN16_FILES)"
3897 
3898 WIN16_INSTALL="\$(WIN16_INSTALL)"
3899 
3900 if test "x$enable_win16" != "xyes"
3901 then
3902     WIN16_FILES=""
3903     WIN16_INSTALL=""
3904     enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
3905     enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
3906     enable_monodebg_vxd=${enable_monodebg_vxd:-no}
3907     enable_vdhcp_vxd=${enable_vdhcp_vxd:-no}
3908     enable_vmm_vxd=${enable_vmm_vxd:-no}
3909     enable_vnbt_vxd=${enable_vnbt_vxd:-no}
3910     enable_vnetbios_vxd=${enable_vnetbios_vxd:-no}
3911     enable_vtdapi_vxd=${enable_vtdapi_vxd:-no}
3912     enable_vwin32_vxd=${enable_vwin32_vxd:-no}
3913     enable_w32skrnl=${enable_w32skrnl:-no}
3914     enable_winedos=${enable_winedos:-no}
3915     enable_winevdm=${enable_winevdm:-no}
3916     enable_winhelp_exe16=${enable_winhelp_exe16:-no}
3917     enable_winoldap_mod16=${enable_winoldap_mod16:-no}
3918 fi
3919 
3920 { $as_echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3921 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
3922 if test "${wine_cv_toolsdir+set}" = set; then
3923   $as_echo_n "(cached) " >&6
3924 else
3925   if test -z "$with_wine_tools"; then
3926      if test "$cross_compiling" = "yes"; then
3927        { { $as_echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3928 $as_echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3929    { (exit 1); exit 1; }; }
3930      else
3931        wine_cv_toolsdir="\$(TOPOBJDIR)"
3932      fi
3933    elif test -d "$with_wine_tools/tools/winebuild"; then
3934      case $with_wine_tools in
3935        /*) wine_cv_toolsdir="$with_wine_tools" ;;
3936        *)  wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3937      esac
3938    else
3939      { { $as_echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3940 $as_echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3941    { (exit 1); exit 1; }; }
3942    fi
3943 fi
3944 { $as_echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3945 $as_echo "$wine_cv_toolsdir" >&6; }
3946 TOOLSDIR=$wine_cv_toolsdir
3947 
3948 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
3949 then
3950     TARGETFLAGS="-b $host_alias $TARGETFLAGS"
3951 
3952 fi
3953 
3954 for ac_prog in flex
3955 do
3956   # Extract the first word of "$ac_prog", so it can be a program name with args.
3957 set dummy $ac_prog; ac_word=$2
3958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if test "${ac_cv_prog_FLEX+set}" = set; then
3961   $as_echo_n "(cached) " >&6
3962 else
3963   if test -n "$FLEX"; then
3964   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
3965 else
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967 for as_dir in $PATH
3968 do
3969   IFS=$as_save_IFS
3970   test -z "$as_dir" && as_dir=.
3971   for ac_exec_ext in '' $ac_executable_extensions; do
3972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973     ac_cv_prog_FLEX="$ac_prog"
3974     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975     break 2
3976   fi
3977 done
3978 done
3979 IFS=$as_save_IFS
3980 
3981 fi
3982 fi
3983 FLEX=$ac_cv_prog_FLEX
3984 if test -n "$FLEX"; then
3985   { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
3986 $as_echo "$FLEX" >&6; }
3987 else
3988   { $as_echo "$as_me:$LINENO: result: no" >&5
3989 $as_echo "no" >&6; }
3990 fi
3991 
3992 
3993   test -n "$FLEX" && break
3994 done
3995 test -n "$FLEX" || FLEX="none"
3996 
3997 if test "$FLEX" = "none"
3998 then
3999   { { $as_echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
4000 $as_echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
4001    { (exit 1); exit 1; }; }
4002 fi
4003 
4004 for ac_prog in bison
4005 do
4006   # Extract the first word of "$ac_prog", so it can be a program name with args.
4007 set dummy $ac_prog; ac_word=$2
4008 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if test "${ac_cv_prog_BISON+set}" = set; then
4011   $as_echo_n "(cached) " >&6
4012 else
4013   if test -n "$BISON"; then
4014   ac_cv_prog_BISON="$BISON" # Let the user override the test.
4015 else
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4018 do
4019   IFS=$as_save_IFS
4020   test -z "$as_dir" && as_dir=.
4021   for ac_exec_ext in '' $ac_executable_extensions; do
4022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4023     ac_cv_prog_BISON="$ac_prog"
4024     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4025     break 2
4026   fi
4027 done
4028 done
4029 IFS=$as_save_IFS
4030 
4031 fi
4032 fi
4033 BISON=$ac_cv_prog_BISON
4034 if test -n "$BISON"; then
4035   { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4036 $as_echo "$BISON" >&6; }
4037 else
4038   { $as_echo "$as_me:$LINENO: result: no" >&5
4039 $as_echo "no" >&6; }
4040 fi
4041 
4042 
4043   test -n "$BISON" && break
4044 done
4045 test -n "$BISON" || BISON="none"
4046 
4047 if test "$BISON" = "none"
4048 then
4049   { { $as_echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4050 $as_echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4051    { (exit 1); exit 1; }; }
4052 fi
4053 
4054 if test -n "$ac_tool_prefix"; then
4055   for ac_prog in gas as
4056   do
4057     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if test "${ac_cv_prog_AS+set}" = set; then
4062   $as_echo_n "(cached) " >&6
4063 else
4064   if test -n "$AS"; then
4065   ac_cv_prog_AS="$AS" # Let the user override the test.
4066 else
4067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH
4069 do
4070   IFS=$as_save_IFS
4071   test -z "$as_dir" && as_dir=.
4072   for ac_exec_ext in '' $ac_executable_extensions; do
4073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074     ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4075     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4076     break 2
4077   fi
4078 done
4079 done
4080 IFS=$as_save_IFS
4081 
4082 fi
4083 fi
4084 AS=$ac_cv_prog_AS
4085 if test -n "$AS"; then
4086   { $as_echo "$as_me:$LINENO: result: $AS" >&5
4087 $as_echo "$AS" >&6; }
4088 else
4089   { $as_echo "$as_me:$LINENO: result: no" >&5
4090 $as_echo "no" >&6; }
4091 fi
4092 
4093 
4094     test -n "$AS" && break
4095   done
4096 fi
4097 if test -z "$AS"; then
4098   ac_ct_AS=$AS
4099   for ac_prog in gas as
4100 do
4101   # Extract the first word of "$ac_prog", so it can be a program name with args.
4102 set dummy $ac_prog; ac_word=$2
4103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4106   $as_echo_n "(cached) " >&6
4107 else
4108   if test -n "$ac_ct_AS"; then
4109   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4110 else
4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112 for as_dir in $PATH
4113 do
4114   IFS=$as_save_IFS
4115   test -z "$as_dir" && as_dir=.
4116   for ac_exec_ext in '' $ac_executable_extensions; do
4117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118     ac_cv_prog_ac_ct_AS="$ac_prog"
4119     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4120     break 2
4121   fi
4122 done
4123 done
4124 IFS=$as_save_IFS
4125 
4126 fi
4127 fi
4128 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4129 if test -n "$ac_ct_AS"; then
4130   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4131 $as_echo "$ac_ct_AS" >&6; }
4132 else
4133   { $as_echo "$as_me:$LINENO: result: no" >&5
4134 $as_echo "no" >&6; }
4135 fi
4136 
4137 
4138   test -n "$ac_ct_AS" && break
4139 done
4140 
4141   if test "x$ac_ct_AS" = x; then
4142     AS="as"
4143   else
4144     case $cross_compiling:$ac_tool_warned in
4145 yes:)
4146 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4148 ac_tool_warned=yes ;;
4149 esac
4150     AS=$ac_ct_AS
4151   fi
4152 fi
4153 
4154 if test -n "$ac_tool_prefix"; then
4155   for ac_prog in ld gld
4156   do
4157     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if test "${ac_cv_prog_LD+set}" = set; then
4162   $as_echo_n "(cached) " >&6
4163 else
4164   if test -n "$LD"; then
4165   ac_cv_prog_LD="$LD" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4169 do
4170   IFS=$as_save_IFS
4171   test -z "$as_dir" && as_dir=.
4172   for ac_exec_ext in '' $ac_executable_extensions; do
4173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174     ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
4175     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176     break 2
4177   fi
4178 done
4179 done
4180 IFS=$as_save_IFS
4181 
4182 fi
4183 fi
4184 LD=$ac_cv_prog_LD
4185 if test -n "$LD"; then
4186   { $as_echo "$as_me:$LINENO: result: $LD" >&5
4187 $as_echo "$LD" >&6; }
4188 else
4189   { $as_echo "$as_me:$LINENO: result: no" >&5
4190 $as_echo "no" >&6; }
4191 fi
4192 
4193 
4194     test -n "$LD" && break
4195   done
4196 fi
4197 if test -z "$LD"; then
4198   ac_ct_LD=$LD
4199   for ac_prog in ld gld
4200 do
4201   # Extract the first word of "$ac_prog", so it can be a program name with args.
4202 set dummy $ac_prog; ac_word=$2
4203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4206   $as_echo_n "(cached) " >&6
4207 else
4208   if test -n "$ac_ct_LD"; then
4209   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4210 else
4211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 for as_dir in $PATH
4213 do
4214   IFS=$as_save_IFS
4215   test -z "$as_dir" && as_dir=.
4216   for ac_exec_ext in '' $ac_executable_extensions; do
4217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218     ac_cv_prog_ac_ct_LD="$ac_prog"
4219     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220     break 2
4221   fi
4222 done
4223 done
4224 IFS=$as_save_IFS
4225 
4226 fi
4227 fi
4228 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4229 if test -n "$ac_ct_LD"; then
4230   { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4231 $as_echo "$ac_ct_LD" >&6; }
4232 else
4233   { $as_echo "$as_me:$LINENO: result: no" >&5
4234 $as_echo "no" >&6; }
4235 fi
4236 
4237 
4238   test -n "$ac_ct_LD" && break
4239 done
4240 
4241   if test "x$ac_ct_LD" = x; then
4242     LD="ld"
4243   else
4244     case $cross_compiling:$ac_tool_warned in
4245 yes:)
4246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4249 esac
4250     LD=$ac_ct_LD
4251   fi
4252 fi
4253 
4254 if test -n "$ac_tool_prefix"; then
4255   for ac_prog in nm gnm
4256   do
4257     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if test "${ac_cv_prog_NM+set}" = set; then
4262   $as_echo_n "(cached) " >&6
4263 else
4264   if test -n "$NM"; then
4265   ac_cv_prog_NM="$NM" # Let the user override the test.
4266 else
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 for as_dir in $PATH
4269 do
4270   IFS=$as_save_IFS
4271   test -z "$as_dir" && as_dir=.
4272   for ac_exec_ext in '' $ac_executable_extensions; do
4273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274     ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
4275     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4276     break 2
4277   fi
4278 done
4279 done
4280 IFS=$as_save_IFS
4281 
4282 fi
4283 fi
4284 NM=$ac_cv_prog_NM
4285 if test -n "$NM"; then
4286   { $as_echo "$as_me:$LINENO: result: $NM" >&5
4287 $as_echo "$NM" >&6; }
4288 else
4289   { $as_echo "$as_me:$LINENO: result: no" >&5
4290 $as_echo "no" >&6; }
4291 fi
4292 
4293 
4294     test -n "$NM" && break
4295   done
4296 fi
4297 if test -z "$NM"; then
4298   ac_ct_NM=$NM
4299   for ac_prog in nm gnm
4300 do
4301   # Extract the first word of "$ac_prog", so it can be a program name with args.
4302 set dummy $ac_prog; ac_word=$2
4303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
4306   $as_echo_n "(cached) " >&6
4307 else
4308   if test -n "$ac_ct_NM"; then
4309   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
4310 else
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH
4313 do
4314   IFS=$as_save_IFS
4315   test -z "$as_dir" && as_dir=.
4316   for ac_exec_ext in '' $ac_executable_extensions; do
4317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318     ac_cv_prog_ac_ct_NM="$ac_prog"
4319     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4320     break 2
4321   fi
4322 done
4323 done
4324 IFS=$as_save_IFS
4325 
4326 fi
4327 fi
4328 ac_ct_NM=$ac_cv_prog_ac_ct_NM
4329 if test -n "$ac_ct_NM"; then
4330   { $as_echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
4331 $as_echo "$ac_ct_NM" >&6; }
4332 else
4333   { $as_echo "$as_me:$LINENO: result: no" >&5
4334 $as_echo "no" >&6; }
4335 fi
4336 
4337 
4338   test -n "$ac_ct_NM" && break
4339 done
4340 
4341   if test "x$ac_ct_NM" = x; then
4342     NM="nm"
4343   else
4344     case $cross_compiling:$ac_tool_warned in
4345 yes:)
4346 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4348 ac_tool_warned=yes ;;
4349 esac
4350     NM=$ac_ct_NM
4351   fi
4352 fi
4353 
4354 if test -n "$ac_tool_prefix"; then
4355   for ac_prog in ar gar
4356   do
4357     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_AR+set}" = set; then
4362   $as_echo_n "(cached) " >&6
4363 else
4364   if test -n "$AR"; then
4365   ac_cv_prog_AR="$AR" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370   IFS=$as_save_IFS
4371   test -z "$as_dir" && as_dir=.
4372   for ac_exec_ext in '' $ac_executable_extensions; do
4373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4375     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4376     break 2
4377   fi
4378 done
4379 done
4380 IFS=$as_save_IFS
4381 
4382 fi
4383 fi
4384 AR=$ac_cv_prog_AR
4385 if test -n "$AR"; then
4386   { $as_echo "$as_me:$LINENO: result: $AR" >&5
4387 $as_echo "$AR" >&6; }
4388 else
4389   { $as_echo "$as_me:$LINENO: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392 
4393 
4394     test -n "$AR" && break
4395   done
4396 fi
4397 if test -z "$AR"; then
4398   ac_ct_AR=$AR
4399   for ac_prog in ar gar
4400 do
4401   # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if test -n "$ac_ct_AR"; then
4409   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414   IFS=$as_save_IFS
4415   test -z "$as_dir" && as_dir=.
4416   for ac_exec_ext in '' $ac_executable_extensions; do
4417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418     ac_cv_prog_ac_ct_AR="$ac_prog"
4419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420     break 2
4421   fi
4422 done
4423 done
4424 IFS=$as_save_IFS
4425 
4426 fi
4427 fi
4428 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4429 if test -n "$ac_ct_AR"; then
4430   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4431 $as_echo "$ac_ct_AR" >&6; }
4432 else
4433   { $as_echo "$as_me:$LINENO: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436 
4437 
4438   test -n "$ac_ct_AR" && break
4439 done
4440 
4441   if test "x$ac_ct_AR" = x; then
4442     AR="ar"
4443   else
4444     case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450     AR=$ac_ct_AR
4451   fi
4452 fi
4453 
4454 ARFLAGS=rc
4455 
4456 if test -n "$ac_tool_prefix"; then
4457   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4458 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4459 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4460 $as_echo_n "checking for $ac_word... " >&6; }
4461 if test "${ac_cv_prog_RANLIB+set}" = set; then
4462   $as_echo_n "(cached) " >&6
4463 else
4464   if test -n "$RANLIB"; then
4465   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4466 else
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH
4469 do
4470   IFS=$as_save_IFS
4471   test -z "$as_dir" && as_dir=.
4472   for ac_exec_ext in '' $ac_executable_extensions; do
4473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4475     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4476     break 2
4477   fi
4478 done
4479 done
4480 IFS=$as_save_IFS
4481 
4482 fi
4483 fi
4484 RANLIB=$ac_cv_prog_RANLIB
4485 if test -n "$RANLIB"; then
4486   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4487 $as_echo "$RANLIB" >&6; }
4488 else
4489   { $as_echo "$as_me:$LINENO: result: no" >&5
4490 $as_echo "no" >&6; }
4491 fi
4492 
4493 
4494 fi
4495 if test -z "$ac_cv_prog_RANLIB"; then
4496   ac_ct_RANLIB=$RANLIB
4497   # Extract the first word of "ranlib", so it can be a program name with args.
4498 set dummy ranlib; ac_word=$2
4499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4502   $as_echo_n "(cached) " >&6
4503 else
4504   if test -n "$ac_ct_RANLIB"; then
4505   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4506 else
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH
4509 do
4510   IFS=$as_save_IFS
4511   test -z "$as_dir" && as_dir=.
4512   for ac_exec_ext in '' $ac_executable_extensions; do
4513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514     ac_cv_prog_ac_ct_RANLIB="ranlib"
4515     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4516     break 2
4517   fi
4518 done
4519 done
4520 IFS=$as_save_IFS
4521 
4522 fi
4523 fi
4524 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4525 if test -n "$ac_ct_RANLIB"; then
4526   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4527 $as_echo "$ac_ct_RANLIB" >&6; }
4528 else
4529   { $as_echo "$as_me:$LINENO: result: no" >&5
4530 $as_echo "no" >&6; }
4531 fi
4532 
4533   if test "x$ac_ct_RANLIB" = x; then
4534     RANLIB=":"
4535   else
4536     case $cross_compiling:$ac_tool_warned in
4537 yes:)
4538 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4541 esac
4542     RANLIB=$ac_ct_RANLIB
4543   fi
4544 else
4545   RANLIB="$ac_cv_prog_RANLIB"
4546 fi
4547 
4548 if test -n "$ac_tool_prefix"; then
4549   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}strip; ac_word=$2
4551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if test "${ac_cv_prog_STRIP+set}" = set; then
4554   $as_echo_n "(cached) " >&6
4555 else
4556   if test -n "$STRIP"; then
4557   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4561 do
4562   IFS=$as_save_IFS
4563   test -z "$as_dir" && as_dir=.
4564   for ac_exec_ext in '' $ac_executable_extensions; do
4565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4566     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4567     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568     break 2
4569   fi
4570 done
4571 done
4572 IFS=$as_save_IFS
4573 
4574 fi
4575 fi
4576 STRIP=$ac_cv_prog_STRIP
4577 if test -n "$STRIP"; then
4578   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4579 $as_echo "$STRIP" >&6; }
4580 else
4581   { $as_echo "$as_me:$LINENO: result: no" >&5
4582 $as_echo "no" >&6; }
4583 fi
4584 
4585 
4586 fi
4587 if test -z "$ac_cv_prog_STRIP"; then
4588   ac_ct_STRIP=$STRIP
4589   # Extract the first word of "strip", so it can be a program name with args.
4590 set dummy strip; ac_word=$2
4591 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4594   $as_echo_n "(cached) " >&6
4595 else
4596   if test -n "$ac_ct_STRIP"; then
4597   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4601 do
4602   IFS=$as_save_IFS
4603   test -z "$as_dir" && as_dir=.
4604   for ac_exec_ext in '' $ac_executable_extensions; do
4605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606     ac_cv_prog_ac_ct_STRIP="strip"
4607     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608     break 2
4609   fi
4610 done
4611 done
4612 IFS=$as_save_IFS
4613 
4614 fi
4615 fi
4616 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4617 if test -n "$ac_ct_STRIP"; then
4618   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4619 $as_echo "$ac_ct_STRIP" >&6; }
4620 else
4621   { $as_echo "$as_me:$LINENO: result: no" >&5
4622 $as_echo "no" >&6; }
4623 fi
4624 
4625   if test "x$ac_ct_STRIP" = x; then
4626     STRIP="strip"
4627   else
4628     case $cross_compiling:$ac_tool_warned in
4629 yes:)
4630 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4632 ac_tool_warned=yes ;;
4633 esac
4634     STRIP=$ac_ct_STRIP
4635   fi
4636 else
4637   STRIP="$ac_cv_prog_STRIP"
4638 fi
4639 
4640 if test -n "$ac_tool_prefix"; then
4641   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4642 set dummy ${ac_tool_prefix}windres; ac_word=$2
4643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if test "${ac_cv_prog_WINDRES+set}" = set; then
4646   $as_echo_n "(cached) " >&6
4647 else
4648   if test -n "$WINDRES"; then
4649   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4650 else
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH
4653 do
4654   IFS=$as_save_IFS
4655   test -z "$as_dir" && as_dir=.
4656   for ac_exec_ext in '' $ac_executable_extensions; do
4657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4659     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660     break 2
4661   fi
4662 done
4663 done
4664 IFS=$as_save_IFS
4665 
4666 fi
4667 fi
4668 WINDRES=$ac_cv_prog_WINDRES
4669 if test -n "$WINDRES"; then
4670   { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
4671 $as_echo "$WINDRES" >&6; }
4672 else
4673   { $as_echo "$as_me:$LINENO: result: no" >&5
4674 $as_echo "no" >&6; }
4675 fi
4676 
4677 
4678 fi
4679 if test -z "$ac_cv_prog_WINDRES"; then
4680   ac_ct_WINDRES=$WINDRES
4681   # Extract the first word of "windres", so it can be a program name with args.
4682 set dummy windres; ac_word=$2
4683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4686   $as_echo_n "(cached) " >&6
4687 else
4688   if test -n "$ac_ct_WINDRES"; then
4689   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4693 do
4694   IFS=$as_save_IFS
4695   test -z "$as_dir" && as_dir=.
4696   for ac_exec_ext in '' $ac_executable_extensions; do
4697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4698     ac_cv_prog_ac_ct_WINDRES="windres"
4699     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700     break 2
4701   fi
4702 done
4703 done
4704 IFS=$as_save_IFS
4705 
4706 fi
4707 fi
4708 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4709 if test -n "$ac_ct_WINDRES"; then
4710   { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4711 $as_echo "$ac_ct_WINDRES" >&6; }
4712 else
4713   { $as_echo "$as_me:$LINENO: result: no" >&5
4714 $as_echo "no" >&6; }
4715 fi
4716 
4717   if test "x$ac_ct_WINDRES" = x; then
4718     WINDRES="false"
4719   else
4720     case $cross_compiling:$ac_tool_warned in
4721 yes:)
4722 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4724 ac_tool_warned=yes ;;
4725 esac
4726     WINDRES=$ac_ct_WINDRES
4727   fi
4728 else
4729   WINDRES="$ac_cv_prog_WINDRES"
4730 fi
4731 
4732 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4733 $as_echo_n "checking whether ln -s works... " >&6; }
4734 LN_S=$as_ln_s
4735 if test "$LN_S" = "ln -s"; then
4736   { $as_echo "$as_me:$LINENO: result: yes" >&5
4737 $as_echo "yes" >&6; }
4738 else
4739   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4740 $as_echo "no, using $LN_S" >&6; }
4741 fi
4742 
4743 { $as_echo "$as_me:$LINENO: checking whether ln works" >&5
4744 $as_echo_n "checking whether ln works... " >&6; }
4745 rm -f conf$$ conf$$.file
4746 echo >conf$$.file
4747 if ln conf$$.file conf$$ 2>/dev/null; then
4748   LN=ln
4749 
4750   { $as_echo "$as_me:$LINENO: result: yes" >&5
4751 $as_echo "yes" >&6; }
4752 else
4753   LN="cp -p"
4754 
4755   { $as_echo "$as_me:$LINENO: result: no, using $LN" >&5
4756 $as_echo "no, using $LN" >&6; }
4757 fi
4758 rm -f conf$$ conf$$.file
4759 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4760 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4761 if test "${ac_cv_path_GREP+set}" = set; then
4762   $as_echo_n "(cached) " >&6
4763 else
4764   if test -z "$GREP"; then
4765   ac_path_GREP_found=false
4766   # Loop through the user's path and test for each of PROGNAME-LIST
4767   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4769 do
4770   IFS=$as_save_IFS
4771   test -z "$as_dir" && as_dir=.
4772   for ac_prog in grep ggrep; do
4773     for ac_exec_ext in '' $ac_executable_extensions; do
4774       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4775       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4776 # Check for GNU ac_path_GREP and select it if it is found.
4777   # Check for GNU $ac_path_GREP
4778 case `"$ac_path_GREP" --version 2>&1` in
4779 *GNU*)
4780   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4781 *)
4782   ac_count=0
4783   $as_echo_n 0123456789 >"conftest.in"
4784   while :
4785   do
4786     cat "conftest.in" "conftest.in" >"conftest.tmp"
4787     mv "conftest.tmp" "conftest.in"
4788     cp "conftest.in" "conftest.nl"
4789     $as_echo 'GREP' >> "conftest.nl"
4790     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4791     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4792     ac_count=`expr $ac_count + 1`
4793     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4794       # Best one so far, save it but keep looking for a better one
4795       ac_cv_path_GREP="$ac_path_GREP"
4796       ac_path_GREP_max=$ac_count
4797     fi
4798     # 10*(2^10) chars as input seems more than enough
4799     test $ac_count -gt 10 && break
4800   done
4801   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4802 esac
4803 
4804       $ac_path_GREP_found && break 3
4805     done
4806   done
4807 done
4808 IFS=$as_save_IFS
4809   if test -z "$ac_cv_path_GREP"; then
4810     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4811 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4812    { (exit 1); exit 1; }; }
4813   fi
4814 else
4815   ac_cv_path_GREP=$GREP
4816 fi
4817 
4818 fi
4819 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4820 $as_echo "$ac_cv_path_GREP" >&6; }
4821  GREP="$ac_cv_path_GREP"
4822 
4823 
4824 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4825 $as_echo_n "checking for egrep... " >&6; }
4826 if test "${ac_cv_path_EGREP+set}" = set; then
4827   $as_echo_n "(cached) " >&6
4828 else
4829   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4830    then ac_cv_path_EGREP="$GREP -E"
4831    else
4832      if test -z "$EGREP"; then
4833   ac_path_EGREP_found=false
4834   # Loop through the user's path and test for each of PROGNAME-LIST
4835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4837 do
4838   IFS=$as_save_IFS
4839   test -z "$as_dir" && as_dir=.
4840   for ac_prog in egrep; do
4841     for ac_exec_ext in '' $ac_executable_extensions; do
4842       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4843       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4844 # Check for GNU ac_path_EGREP and select it if it is found.
4845   # Check for GNU $ac_path_EGREP
4846 case `"$ac_path_EGREP" --version 2>&1` in
4847 *GNU*)
4848   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4849 *)
4850   ac_count=0
4851   $as_echo_n 0123456789 >"conftest.in"
4852   while :
4853   do
4854     cat "conftest.in" "conftest.in" >"conftest.tmp"
4855     mv "conftest.tmp" "conftest.in"
4856     cp "conftest.in" "conftest.nl"
4857     $as_echo 'EGREP' >> "conftest.nl"
4858     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4859     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4860     ac_count=`expr $ac_count + 1`
4861     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4862       # Best one so far, save it but keep looking for a better one
4863       ac_cv_path_EGREP="$ac_path_EGREP"
4864       ac_path_EGREP_max=$ac_count
4865     fi
4866     # 10*(2^10) chars as input seems more than enough
4867     test $ac_count -gt 10 && break
4868   done
4869   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4870 esac
4871 
4872       $ac_path_EGREP_found && break 3
4873     done
4874   done
4875 done
4876 IFS=$as_save_IFS
4877   if test -z "$ac_cv_path_EGREP"; then
4878     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4879 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4880    { (exit 1); exit 1; }; }
4881   fi
4882 else
4883   ac_cv_path_EGREP=$EGREP
4884 fi
4885 
4886    fi
4887 fi
4888 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4889 $as_echo "$ac_cv_path_EGREP" >&6; }
4890  EGREP="$ac_cv_path_EGREP"
4891 
4892 
4893 # Extract the first word of "ldconfig", so it can be a program name with args.
4894 set dummy ldconfig; ac_word=$2
4895 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4898   $as_echo_n "(cached) " >&6
4899 else
4900   case $LDCONFIG in
4901   [\\/]* | ?:[\\/]*)
4902   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4903   ;;
4904   *)
4905   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in /sbin /usr/sbin $PATH
4907 do
4908   IFS=$as_save_IFS
4909   test -z "$as_dir" && as_dir=.
4910   for ac_exec_ext in '' $ac_executable_extensions; do
4911   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4913     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4914     break 2
4915   fi
4916 done
4917 done
4918 IFS=$as_save_IFS
4919 
4920   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4921   ;;
4922 esac
4923 fi
4924 LDCONFIG=$ac_cv_path_LDCONFIG
4925 if test -n "$LDCONFIG"; then
4926   { $as_echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4927 $as_echo "$LDCONFIG" >&6; }
4928 else
4929   { $as_echo "$as_me:$LINENO: result: no" >&5
4930 $as_echo "no" >&6; }
4931 fi
4932 
4933 
4934 # Find a good install program.  We prefer a C program (faster),
4935 # so one script is as good as another.  But avoid the broken or
4936 # incompatible versions:
4937 # SysV /etc/install, /usr/sbin/install
4938 # SunOS /usr/etc/install
4939 # IRIX /sbin/install
4940 # AIX /bin/install
4941 # AmigaOS /C/install, which installs bootblocks on floppy discs
4942 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4943 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4944 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4945 # OS/2's system install, which has a completely different semantic
4946 # ./install, which can be erroneously created by make from ./install.sh.
4947 # Reject install programs that cannot install multiple files.
4948 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4949 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4950 if test -z "$INSTALL"; then
4951 if test "${ac_cv_path_install+set}" = set; then
4952   $as_echo_n "(cached) " >&6
4953 else
4954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4956 do
4957   IFS=$as_save_IFS
4958   test -z "$as_dir" && as_dir=.
4959   # Account for people who put trailing slashes in PATH elements.
4960 case $as_dir/ in
4961   ./ | .// | /cC/* | \
4962   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4963   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4964   /usr/ucb/* ) ;;
4965   *)
4966     # OSF1 and SCO ODT 3.0 have their own names for install.
4967     # Don't use installbsd from OSF since it installs stuff as root
4968     # by default.
4969     for ac_prog in ginstall scoinst install; do
4970       for ac_exec_ext in '' $ac_executable_extensions; do
4971         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4972           if test $ac_prog = install &&
4973             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4974             # AIX install.  It has an incompatible calling convention.
4975             :
4976           elif test $ac_prog = install &&
4977             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4978             # program-specific install script used by HP pwplus--don't use.
4979             :
4980           else
4981             rm -rf conftest.one conftest.two conftest.dir
4982             echo one > conftest.one
4983             echo two > conftest.two
4984             mkdir conftest.dir
4985             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4986               test -s conftest.one && test -s conftest.two &&
4987               test -s conftest.dir/conftest.one &&
4988               test -s conftest.dir/conftest.two
4989             then
4990               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4991               break 3
4992             fi
4993           fi
4994         fi
4995       done
4996     done
4997     ;;
4998 esac
4999 
5000 done
5001 IFS=$as_save_IFS
5002 
5003 rm -rf conftest.one conftest.two conftest.dir
5004 
5005 fi
5006   if test "${ac_cv_path_install+set}" = set; then
5007     INSTALL=$ac_cv_path_install
5008   else
5009     # As a last resort, use the slow shell script.  Don't cache a
5010     # value for INSTALL within a source directory, because that will
5011     # break other packages using the cache if that directory is
5012     # removed, or if the value is a relative name.
5013     INSTALL=$ac_install_sh
5014   fi
5015 fi
5016 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5017 $as_echo "$INSTALL" >&6; }
5018 
5019 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5020 # It thinks the first close brace ends the variable substitution.
5021 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5022 
5023 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5024 
5025 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5026 
5027 case "$INSTALL" in
5028   [\\/$]* | ?:[\\/]* ) ;;
5029   *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5030 esac
5031 
5032 for ac_prog in lclint lint
5033 do
5034   # Extract the first word of "$ac_prog", so it can be a program name with args.
5035 set dummy $ac_prog; ac_word=$2
5036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if test "${ac_cv_prog_LINT+set}" = set; then
5039   $as_echo_n "(cached) " >&6
5040 else
5041   if test -n "$LINT"; then
5042   ac_cv_prog_LINT="$LINT" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5046 do
5047   IFS=$as_save_IFS
5048   test -z "$as_dir" && as_dir=.
5049   for ac_exec_ext in '' $ac_executable_extensions; do
5050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051     ac_cv_prog_LINT="$ac_prog"
5052     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5053     break 2
5054   fi
5055 done
5056 done
5057 IFS=$as_save_IFS
5058 
5059 fi
5060 fi
5061 LINT=$ac_cv_prog_LINT
5062 if test -n "$LINT"; then
5063   { $as_echo "$as_me:$LINENO: result: $LINT" >&5
5064 $as_echo "$LINT" >&6; }
5065 else
5066   { $as_echo "$as_me:$LINENO: result: no" >&5
5067 $as_echo "no" >&6; }
5068 fi
5069 
5070 
5071   test -n "$LINT" && break
5072 done
5073 
5074 if test "$LINT" = "lint"
5075 then
5076   LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5077   fi
5078 
5079 
5080 
5081 for ac_prog in fontforge
5082 do
5083   # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy $ac_prog; ac_word=$2
5085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5088   $as_echo_n "(cached) " >&6
5089 else
5090   if test -n "$FONTFORGE"; then
5091   ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5095 do
5096   IFS=$as_save_IFS
5097   test -z "$as_dir" && as_dir=.
5098   for ac_exec_ext in '' $ac_executable_extensions; do
5099   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5100     ac_cv_prog_FONTFORGE="$ac_prog"
5101     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5102     break 2
5103   fi
5104 done
5105 done
5106 IFS=$as_save_IFS
5107 
5108 fi
5109 fi
5110 FONTFORGE=$ac_cv_prog_FONTFORGE
5111 if test -n "$FONTFORGE"; then
5112   { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5113 $as_echo "$FONTFORGE" >&6; }
5114 else
5115   { $as_echo "$as_me:$LINENO: result: no" >&5
5116 $as_echo "no" >&6; }
5117 fi
5118 
5119 
5120   test -n "$FONTFORGE" && break
5121 done
5122 test -n "$FONTFORGE" || FONTFORGE="false"
5123 
5124 for ac_prog in pkg-config
5125 do
5126   # Extract the first word of "$ac_prog", so it can be a program name with args.
5127 set dummy $ac_prog; ac_word=$2
5128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5131   $as_echo_n "(cached) " >&6
5132 else
5133   if test -n "$PKG_CONFIG"; then
5134   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5138 do
5139   IFS=$as_save_IFS
5140   test -z "$as_dir" && as_dir=.
5141   for ac_exec_ext in '' $ac_executable_extensions; do
5142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143     ac_cv_prog_PKG_CONFIG="$ac_prog"
5144     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145     break 2
5146   fi
5147 done
5148 done
5149 IFS=$as_save_IFS
5150 
5151 fi
5152 fi
5153 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5154 if test -n "$PKG_CONFIG"; then
5155   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5156 $as_echo "$PKG_CONFIG" >&6; }
5157 else
5158   { $as_echo "$as_me:$LINENO: result: no" >&5
5159 $as_echo "no" >&6; }
5160 fi
5161 
5162 
5163   test -n "$PKG_CONFIG" && break
5164 done
5165 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5166 
5167 for ac_prog in rsvg
5168 do
5169   # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_RSVG+set}" = set; then
5174   $as_echo_n "(cached) " >&6
5175 else
5176   if test -n "$RSVG"; then
5177   ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5181 do
5182   IFS=$as_save_IFS
5183   test -z "$as_dir" && as_dir=.
5184   for ac_exec_ext in '' $ac_executable_extensions; do
5185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186     ac_cv_prog_RSVG="$ac_prog"
5187     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5188     break 2
5189   fi
5190 done
5191 done
5192 IFS=$as_save_IFS
5193 
5194 fi
5195 fi
5196 RSVG=$ac_cv_prog_RSVG
5197 if test -n "$RSVG"; then
5198   { $as_echo "$as_me:$LINENO: result: $RSVG" >&5
5199 $as_echo "$RSVG" >&6; }
5200 else
5201   { $as_echo "$as_me:$LINENO: result: no" >&5
5202 $as_echo "no" >&6; }
5203 fi
5204 
5205 
5206   test -n "$RSVG" && break
5207 done
5208 test -n "$RSVG" || RSVG="false"
5209 
5210 for ac_prog in icotool
5211 do
5212   # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
5217   $as_echo_n "(cached) " >&6
5218 else
5219   if test -n "$ICOTOOL"; then
5220   ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5224 do
5225   IFS=$as_save_IFS
5226   test -z "$as_dir" && as_dir=.
5227   for ac_exec_ext in '' $ac_executable_extensions; do
5228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5229     ac_cv_prog_ICOTOOL="$ac_prog"
5230     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231     break 2
5232   fi
5233 done
5234 done
5235 IFS=$as_save_IFS
5236 
5237 fi
5238 fi
5239 ICOTOOL=$ac_cv_prog_ICOTOOL
5240 if test -n "$ICOTOOL"; then
5241   { $as_echo "$as_me:$LINENO: result: $ICOTOOL" >&5
5242 $as_echo "$ICOTOOL" >&6; }
5243 else
5244   { $as_echo "$as_me:$LINENO: result: no" >&5
5245 $as_echo "no" >&6; }
5246 fi
5247 
5248 
5249   test -n "$ICOTOOL" && break
5250 done
5251 test -n "$ICOTOOL" || ICOTOOL="false"
5252 
5253 
5254 if test "${enable_maintainer_mode+set}" = set
5255 then
5256   if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
5257   if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
5258   if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
5259 fi
5260 
5261 case $host_cpu in
5262   *i[3456789]86*)
5263     # Extract the first word of "prelink", so it can be a program name with args.
5264 set dummy prelink; ac_word=$2
5265 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if test "${ac_cv_path_PRELINK+set}" = set; then
5268   $as_echo_n "(cached) " >&6
5269 else
5270   case $PRELINK in
5271   [\\/]* | ?:[\\/]*)
5272   ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
5273   ;;
5274   *)
5275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in /sbin /usr/sbin $PATH
5277 do
5278   IFS=$as_save_IFS
5279   test -z "$as_dir" && as_dir=.
5280   for ac_exec_ext in '' $ac_executable_extensions; do
5281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282     ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
5283     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5284     break 2
5285   fi
5286 done
5287 done
5288 IFS=$as_save_IFS
5289 
5290   test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
5291   ;;
5292 esac
5293 fi
5294 PRELINK=$ac_cv_path_PRELINK
5295 if test -n "$PRELINK"; then
5296   { $as_echo "$as_me:$LINENO: result: $PRELINK" >&5
5297 $as_echo "$PRELINK" >&6; }
5298 else
5299   { $as_echo "$as_me:$LINENO: result: no" >&5
5300 $as_echo "no" >&6; }
5301 fi
5302 
5303 
5304     ;;
5305 esac
5306 
5307 
5308 
5309 { $as_echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5310 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5311 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5312   $as_echo_n "(cached) " >&6
5313 else
5314   ac_check_lib_save_LIBS=$LIBS
5315 LIBS="-li386  $LIBS"
5316 cat >conftest.$ac_ext <<_ACEOF
5317 /* confdefs.h.  */
5318 _ACEOF
5319 cat confdefs.h >>conftest.$ac_ext
5320 cat >>conftest.$ac_ext <<_ACEOF
5321 /* end confdefs.h.  */
5322 
5323 /* Override any GCC internal prototype to avoid an error.
5324    Use char because int might match the return type of a GCC
5325    builtin and then its argument prototype would still apply.  */
5326 #ifdef __cplusplus
5327 extern "C"
5328 #endif
5329 char i386_set_ldt ();
5330 int
5331 main ()
5332 {
5333 return i386_set_ldt ();
5334   ;
5335   return 0;
5336 }
5337 _ACEOF
5338 rm -f conftest.$ac_objext conftest$ac_exeext
5339 if { (ac_try="$ac_link"
5340 case "(($ac_try" in
5341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342   *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5345 $as_echo "$ac_try_echo") >&5
5346   (eval "$ac_link") 2>conftest.er1
5347   ac_status=$?
5348   grep -v '^ *+' conftest.er1 >conftest.err
5349   rm -f conftest.er1
5350   cat conftest.err >&5
5351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352   (exit $ac_status); } && {
5353          test -z "$ac_c_werror_flag" ||
5354          test ! -s conftest.err
5355        } && test -s conftest$ac_exeext && {
5356          test "$cross_compiling" = yes ||
5357          $as_test_x conftest$ac_exeext
5358        }; then
5359   ac_cv_lib_i386_i386_set_ldt=yes
5360 else
5361   $as_echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.$ac_ext >&5
5363 
5364         ac_cv_lib_i386_i386_set_ldt=no
5365 fi
5366 
5367 rm -rf conftest.dSYM
5368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5369       conftest$ac_exeext conftest.$ac_ext
5370 LIBS=$ac_check_lib_save_LIBS
5371 fi
5372 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5373 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5374 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then
5375   cat >>confdefs.h <<_ACEOF
5376 #define HAVE_LIBI386 1
5377 _ACEOF
5378 
5379   LIBS="-li386 $LIBS"
5380 
5381 fi
5382 
5383 
5384 { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5385 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5386 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5387   $as_echo_n "(cached) " >&6
5388 else
5389   ac_check_lib_save_LIBS=$LIBS
5390 LIBS="-lossaudio  $LIBS"
5391 cat >conftest.$ac_ext <<_ACEOF
5392 /* confdefs.h.  */
5393 _ACEOF
5394 cat confdefs.h >>conftest.$ac_ext
5395 cat >>conftest.$ac_ext <<_ACEOF
5396 /* end confdefs.h.  */
5397 
5398 /* Override any GCC internal prototype to avoid an error.
5399    Use char because int might match the return type of a GCC
5400    builtin and then its argument prototype would still apply.  */
5401 #ifdef __cplusplus
5402 extern "C"
5403 #endif
5404 char _oss_ioctl ();
5405 int
5406 main ()
5407 {
5408 return _oss_ioctl ();
5409   ;
5410   return 0;
5411 }
5412 _ACEOF
5413 rm -f conftest.$ac_objext conftest$ac_exeext
5414 if { (ac_try="$ac_link"
5415 case "(($ac_try" in
5416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5417   *) ac_try_echo=$ac_try;;
5418 esac
5419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5420 $as_echo "$ac_try_echo") >&5
5421   (eval "$ac_link") 2>conftest.er1
5422   ac_status=$?
5423   grep -v '^ *+' conftest.er1 >conftest.err
5424   rm -f conftest.er1
5425   cat conftest.err >&5
5426   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427   (exit $ac_status); } && {
5428          test -z "$ac_c_werror_flag" ||