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