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