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