configure revision 21298544
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libxcb 1.9.
4#
5# Report bugs to <xcb@lists.freedesktop.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
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
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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  }
81fi
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.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: xcb@lists.freedesktop.org about your system, including
279$0: any error possibly output before this message. Then
280$0: install a modern shell, or manually run the script
281$0: under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='libxcb'
592PACKAGE_TARNAME='libxcb'
593PACKAGE_VERSION='1.9'
594PACKAGE_STRING='libxcb 1.9'
595PACKAGE_BUGREPORT='xcb@lists.freedesktop.org'
596PACKAGE_URL=''
597
598ac_unique_file="xcb.pc.in"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639LAUNCHD
640BUILD_XVMC_FALSE
641BUILD_XVMC_TRUE
642BUILD_XV_FALSE
643BUILD_XV_TRUE
644BUILD_XTEST_FALSE
645BUILD_XTEST_TRUE
646BUILD_SELINUX_FALSE
647BUILD_SELINUX_TRUE
648BUILD_XPRINT_FALSE
649BUILD_XPRINT_TRUE
650BUILD_XKB_FALSE
651BUILD_XKB_TRUE
652BUILD_XINPUT_FALSE
653BUILD_XINPUT_TRUE
654BUILD_XINERAMA_FALSE
655BUILD_XINERAMA_TRUE
656BUILD_XFREE86_DRI_FALSE
657BUILD_XFREE86_DRI_TRUE
658BUILD_XFIXES_FALSE
659BUILD_XFIXES_TRUE
660BUILD_XEVIE_FALSE
661BUILD_XEVIE_TRUE
662BUILD_SYNC_FALSE
663BUILD_SYNC_TRUE
664BUILD_SHM_FALSE
665BUILD_SHM_TRUE
666BUILD_SHAPE_FALSE
667BUILD_SHAPE_TRUE
668BUILD_SCREENSAVER_FALSE
669BUILD_SCREENSAVER_TRUE
670BUILD_RESOURCE_FALSE
671BUILD_RESOURCE_TRUE
672BUILD_RENDER_FALSE
673BUILD_RENDER_TRUE
674BUILD_RECORD_FALSE
675BUILD_RECORD_TRUE
676BUILD_RANDR_FALSE
677BUILD_RANDR_TRUE
678BUILD_GLX_FALSE
679BUILD_GLX_TRUE
680BUILD_DRI2_FALSE
681BUILD_DRI2_TRUE
682BUILD_DPMS_FALSE
683BUILD_DPMS_TRUE
684BUILD_DAMAGE_FALSE
685BUILD_DAMAGE_TRUE
686BUILD_COMPOSITE_FALSE
687BUILD_COMPOSITE_TRUE
688BUILD_DOCS_FALSE
689BUILD_DOCS_TRUE
690DOXYGEN
691DOT
692BUILD_DOCS
693CWARNFLAGS
694xcbincludedir
695XCB_HAVE_WIN32_FALSE
696XCB_HAVE_WIN32_TRUE
697lt_enable_auto_import
698XCBPROTO_XCBPYTHONDIR
699XCBPROTO_VERSION
700XCBPROTO_XCBINCLUDEDIR
701NEEDED
702XDMCP_LIBS
703XDMCP_CFLAGS
704NEEDED_LIBS
705NEEDED_CFLAGS
706XCBPROTO_LIBS
707XCBPROTO_CFLAGS
708HTML_CHECK_RESULT
709XSLTPROC
710OTOOL64
711OTOOL
712LIPO
713NMEDIT
714DSYMUTIL
715MANIFEST_TOOL
716RANLIB
717ac_ct_AR
718AR
719LN_S
720NM
721ac_ct_DUMPBIN
722DUMPBIN
723LD
724FGREP
725SED
726LIBTOOL
727OBJDUMP
728DLLTOOL
729AS
730host_os
731host_vendor
732host_cpu
733host
734build_os
735build_vendor
736build_cpu
737build
738HAVE_CHECK_FALSE
739HAVE_CHECK_TRUE
740CHECK_LIBS
741CHECK_CFLAGS
742PKG_CONFIG_LIBDIR
743PKG_CONFIG_PATH
744PKG_CONFIG
745pkgpyexecdir
746pyexecdir
747pkgpythondir
748pythondir
749PYTHON_PLATFORM
750PYTHON_EXEC_PREFIX
751PYTHON_PREFIX
752PYTHON_VERSION
753PYTHON
754AM_BACKSLASH
755AM_DEFAULT_VERBOSITY
756AM_DEFAULT_V
757AM_V
758am__fastdepCC_FALSE
759am__fastdepCC_TRUE
760CCDEPMODE
761am__nodep
762AMDEPBACKSLASH
763AMDEP_FALSE
764AMDEP_TRUE
765am__quote
766am__include
767DEPDIR
768am__untar
769am__tar
770AMTAR
771am__leading_dot
772SET_MAKE
773AWK
774mkdir_p
775MKDIR_P
776INSTALL_STRIP_PROGRAM
777STRIP
778install_sh
779MAKEINFO
780AUTOHEADER
781AUTOMAKE
782AUTOCONF
783ACLOCAL
784VERSION
785PACKAGE
786CYGPATH_W
787am__isrc
788INSTALL_DATA
789INSTALL_SCRIPT
790INSTALL_PROGRAM
791EGREP
792GREP
793CPP
794OBJEXT
795EXEEXT
796ac_ct_CC
797CPPFLAGS
798LDFLAGS
799CFLAGS
800CC
801target_alias
802host_alias
803build_alias
804LIBS
805ECHO_T
806ECHO_N
807ECHO_C
808DEFS
809mandir
810localedir
811libdir
812psdir
813pdfdir
814dvidir
815htmldir
816infodir
817docdir
818oldincludedir
819includedir
820localstatedir
821sharedstatedir
822sysconfdir
823datadir
824datarootdir
825libexecdir
826sbindir
827bindir
828program_transform_name
829prefix
830exec_prefix
831PACKAGE_URL
832PACKAGE_BUGREPORT
833PACKAGE_STRING
834PACKAGE_VERSION
835PACKAGE_TARNAME
836PACKAGE_NAME
837PATH_SEPARATOR
838SHELL'
839ac_subst_files=''
840ac_user_opts='
841enable_option_checking
842enable_dependency_tracking
843enable_silent_rules
844enable_shared
845enable_static
846with_pic
847enable_fast_install
848with_gnu_ld
849with_sysroot
850enable_libtool_lock
851with_queue_size
852enable_build_docs
853with_doxygen
854enable_composite
855enable_damage
856enable_dpms
857enable_dri2
858enable_glx
859enable_randr
860enable_record
861enable_render
862enable_resource
863enable_screensaver
864enable_shape
865enable_shm
866enable_sync
867enable_xevie
868enable_xfixes
869enable_xfree86_dri
870enable_xinerama
871enable_xinput
872enable_xkb
873enable_xprint
874enable_selinux
875enable_xtest
876enable_xv
877enable_xvmc
878with_launchd
879'
880      ac_precious_vars='build_alias
881host_alias
882target_alias
883CC
884CFLAGS
885LDFLAGS
886LIBS
887CPPFLAGS
888CPP
889PYTHON
890PKG_CONFIG
891PKG_CONFIG_PATH
892PKG_CONFIG_LIBDIR
893CHECK_CFLAGS
894CHECK_LIBS
895XCBPROTO_CFLAGS
896XCBPROTO_LIBS
897NEEDED_CFLAGS
898NEEDED_LIBS
899XDMCP_CFLAGS
900XDMCP_LIBS'
901
902
903# Initialize some variables set by options.
904ac_init_help=
905ac_init_version=false
906ac_unrecognized_opts=
907ac_unrecognized_sep=
908# The variables have the same names as the options, with
909# dashes changed to underlines.
910cache_file=/dev/null
911exec_prefix=NONE
912no_create=
913no_recursion=
914prefix=NONE
915program_prefix=NONE
916program_suffix=NONE
917program_transform_name=s,x,x,
918silent=
919site=
920srcdir=
921verbose=
922x_includes=NONE
923x_libraries=NONE
924
925# Installation directory options.
926# These are left unexpanded so users can "make install exec_prefix=/foo"
927# and all the variables that are supposed to be based on exec_prefix
928# by default will actually change.
929# Use braces instead of parens because sh, perl, etc. also accept them.
930# (The list follows the same order as the GNU Coding Standards.)
931bindir='${exec_prefix}/bin'
932sbindir='${exec_prefix}/sbin'
933libexecdir='${exec_prefix}/libexec'
934datarootdir='${prefix}/share'
935datadir='${datarootdir}'
936sysconfdir='${prefix}/etc'
937sharedstatedir='${prefix}/com'
938localstatedir='${prefix}/var'
939includedir='${prefix}/include'
940oldincludedir='/usr/include'
941docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942infodir='${datarootdir}/info'
943htmldir='${docdir}'
944dvidir='${docdir}'
945pdfdir='${docdir}'
946psdir='${docdir}'
947libdir='${exec_prefix}/lib'
948localedir='${datarootdir}/locale'
949mandir='${datarootdir}/man'
950
951ac_prev=
952ac_dashdash=
953for ac_option
954do
955  # If the previous option needs an argument, assign it.
956  if test -n "$ac_prev"; then
957    eval $ac_prev=\$ac_option
958    ac_prev=
959    continue
960  fi
961
962  case $ac_option in
963  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964  *=)   ac_optarg= ;;
965  *)    ac_optarg=yes ;;
966  esac
967
968  # Accept the important Cygnus configure options, so we can diagnose typos.
969
970  case $ac_dashdash$ac_option in
971  --)
972    ac_dashdash=yes ;;
973
974  -bindir | --bindir | --bindi | --bind | --bin | --bi)
975    ac_prev=bindir ;;
976  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977    bindir=$ac_optarg ;;
978
979  -build | --build | --buil | --bui | --bu)
980    ac_prev=build_alias ;;
981  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
982    build_alias=$ac_optarg ;;
983
984  -cache-file | --cache-file | --cache-fil | --cache-fi \
985  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
986    ac_prev=cache_file ;;
987  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
988  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
989    cache_file=$ac_optarg ;;
990
991  --config-cache | -C)
992    cache_file=config.cache ;;
993
994  -datadir | --datadir | --datadi | --datad)
995    ac_prev=datadir ;;
996  -datadir=* | --datadir=* | --datadi=* | --datad=*)
997    datadir=$ac_optarg ;;
998
999  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1000  | --dataroo | --dataro | --datar)
1001    ac_prev=datarootdir ;;
1002  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1003  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1004    datarootdir=$ac_optarg ;;
1005
1006  -disable-* | --disable-*)
1007    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008    # Reject names that are not valid shell variable names.
1009    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010      as_fn_error $? "invalid feature name: $ac_useropt"
1011    ac_useropt_orig=$ac_useropt
1012    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013    case $ac_user_opts in
1014      *"
1015"enable_$ac_useropt"
1016"*) ;;
1017      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018	 ac_unrecognized_sep=', ';;
1019    esac
1020    eval enable_$ac_useropt=no ;;
1021
1022  -docdir | --docdir | --docdi | --doc | --do)
1023    ac_prev=docdir ;;
1024  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1025    docdir=$ac_optarg ;;
1026
1027  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1028    ac_prev=dvidir ;;
1029  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1030    dvidir=$ac_optarg ;;
1031
1032  -enable-* | --enable-*)
1033    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034    # Reject names that are not valid shell variable names.
1035    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036      as_fn_error $? "invalid feature name: $ac_useropt"
1037    ac_useropt_orig=$ac_useropt
1038    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039    case $ac_user_opts in
1040      *"
1041"enable_$ac_useropt"
1042"*) ;;
1043      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044	 ac_unrecognized_sep=', ';;
1045    esac
1046    eval enable_$ac_useropt=\$ac_optarg ;;
1047
1048  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1049  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1050  | --exec | --exe | --ex)
1051    ac_prev=exec_prefix ;;
1052  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1053  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1054  | --exec=* | --exe=* | --ex=*)
1055    exec_prefix=$ac_optarg ;;
1056
1057  -gas | --gas | --ga | --g)
1058    # Obsolete; use --with-gas.
1059    with_gas=yes ;;
1060
1061  -help | --help | --hel | --he | -h)
1062    ac_init_help=long ;;
1063  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1064    ac_init_help=recursive ;;
1065  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1066    ac_init_help=short ;;
1067
1068  -host | --host | --hos | --ho)
1069    ac_prev=host_alias ;;
1070  -host=* | --host=* | --hos=* | --ho=*)
1071    host_alias=$ac_optarg ;;
1072
1073  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1074    ac_prev=htmldir ;;
1075  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1076  | --ht=*)
1077    htmldir=$ac_optarg ;;
1078
1079  -includedir | --includedir | --includedi | --included | --include \
1080  | --includ | --inclu | --incl | --inc)
1081    ac_prev=includedir ;;
1082  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1083  | --includ=* | --inclu=* | --incl=* | --inc=*)
1084    includedir=$ac_optarg ;;
1085
1086  -infodir | --infodir | --infodi | --infod | --info | --inf)
1087    ac_prev=infodir ;;
1088  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1089    infodir=$ac_optarg ;;
1090
1091  -libdir | --libdir | --libdi | --libd)
1092    ac_prev=libdir ;;
1093  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1094    libdir=$ac_optarg ;;
1095
1096  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1097  | --libexe | --libex | --libe)
1098    ac_prev=libexecdir ;;
1099  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1100  | --libexe=* | --libex=* | --libe=*)
1101    libexecdir=$ac_optarg ;;
1102
1103  -localedir | --localedir | --localedi | --localed | --locale)
1104    ac_prev=localedir ;;
1105  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1106    localedir=$ac_optarg ;;
1107
1108  -localstatedir | --localstatedir | --localstatedi | --localstated \
1109  | --localstate | --localstat | --localsta | --localst | --locals)
1110    ac_prev=localstatedir ;;
1111  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1112  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1113    localstatedir=$ac_optarg ;;
1114
1115  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1116    ac_prev=mandir ;;
1117  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1118    mandir=$ac_optarg ;;
1119
1120  -nfp | --nfp | --nf)
1121    # Obsolete; use --without-fp.
1122    with_fp=no ;;
1123
1124  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1125  | --no-cr | --no-c | -n)
1126    no_create=yes ;;
1127
1128  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1129  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1130    no_recursion=yes ;;
1131
1132  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1133  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1134  | --oldin | --oldi | --old | --ol | --o)
1135    ac_prev=oldincludedir ;;
1136  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1137  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1138  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1139    oldincludedir=$ac_optarg ;;
1140
1141  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1142    ac_prev=prefix ;;
1143  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1144    prefix=$ac_optarg ;;
1145
1146  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1147  | --program-pre | --program-pr | --program-p)
1148    ac_prev=program_prefix ;;
1149  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1150  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1151    program_prefix=$ac_optarg ;;
1152
1153  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1154  | --program-suf | --program-su | --program-s)
1155    ac_prev=program_suffix ;;
1156  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1157  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1158    program_suffix=$ac_optarg ;;
1159
1160  -program-transform-name | --program-transform-name \
1161  | --program-transform-nam | --program-transform-na \
1162  | --program-transform-n | --program-transform- \
1163  | --program-transform | --program-transfor \
1164  | --program-transfo | --program-transf \
1165  | --program-trans | --program-tran \
1166  | --progr-tra | --program-tr | --program-t)
1167    ac_prev=program_transform_name ;;
1168  -program-transform-name=* | --program-transform-name=* \
1169  | --program-transform-nam=* | --program-transform-na=* \
1170  | --program-transform-n=* | --program-transform-=* \
1171  | --program-transform=* | --program-transfor=* \
1172  | --program-transfo=* | --program-transf=* \
1173  | --program-trans=* | --program-tran=* \
1174  | --progr-tra=* | --program-tr=* | --program-t=*)
1175    program_transform_name=$ac_optarg ;;
1176
1177  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1178    ac_prev=pdfdir ;;
1179  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1180    pdfdir=$ac_optarg ;;
1181
1182  -psdir | --psdir | --psdi | --psd | --ps)
1183    ac_prev=psdir ;;
1184  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1185    psdir=$ac_optarg ;;
1186
1187  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1188  | -silent | --silent | --silen | --sile | --sil)
1189    silent=yes ;;
1190
1191  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1192    ac_prev=sbindir ;;
1193  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1194  | --sbi=* | --sb=*)
1195    sbindir=$ac_optarg ;;
1196
1197  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1198  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1199  | --sharedst | --shareds | --shared | --share | --shar \
1200  | --sha | --sh)
1201    ac_prev=sharedstatedir ;;
1202  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1203  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1204  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1205  | --sha=* | --sh=*)
1206    sharedstatedir=$ac_optarg ;;
1207
1208  -site | --site | --sit)
1209    ac_prev=site ;;
1210  -site=* | --site=* | --sit=*)
1211    site=$ac_optarg ;;
1212
1213  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1214    ac_prev=srcdir ;;
1215  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1216    srcdir=$ac_optarg ;;
1217
1218  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1219  | --syscon | --sysco | --sysc | --sys | --sy)
1220    ac_prev=sysconfdir ;;
1221  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1222  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1223    sysconfdir=$ac_optarg ;;
1224
1225  -target | --target | --targe | --targ | --tar | --ta | --t)
1226    ac_prev=target_alias ;;
1227  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1228    target_alias=$ac_optarg ;;
1229
1230  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1231    verbose=yes ;;
1232
1233  -version | --version | --versio | --versi | --vers | -V)
1234    ac_init_version=: ;;
1235
1236  -with-* | --with-*)
1237    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238    # Reject names that are not valid shell variable names.
1239    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240      as_fn_error $? "invalid package name: $ac_useropt"
1241    ac_useropt_orig=$ac_useropt
1242    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243    case $ac_user_opts in
1244      *"
1245"with_$ac_useropt"
1246"*) ;;
1247      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248	 ac_unrecognized_sep=', ';;
1249    esac
1250    eval with_$ac_useropt=\$ac_optarg ;;
1251
1252  -without-* | --without-*)
1253    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254    # Reject names that are not valid shell variable names.
1255    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256      as_fn_error $? "invalid package name: $ac_useropt"
1257    ac_useropt_orig=$ac_useropt
1258    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259    case $ac_user_opts in
1260      *"
1261"with_$ac_useropt"
1262"*) ;;
1263      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264	 ac_unrecognized_sep=', ';;
1265    esac
1266    eval with_$ac_useropt=no ;;
1267
1268  --x)
1269    # Obsolete; use --with-x.
1270    with_x=yes ;;
1271
1272  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1273  | --x-incl | --x-inc | --x-in | --x-i)
1274    ac_prev=x_includes ;;
1275  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1276  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1277    x_includes=$ac_optarg ;;
1278
1279  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1280  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1281    ac_prev=x_libraries ;;
1282  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1283  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1284    x_libraries=$ac_optarg ;;
1285
1286  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1287Try \`$0 --help' for more information"
1288    ;;
1289
1290  *=*)
1291    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1292    # Reject names that are not valid shell variable names.
1293    case $ac_envvar in #(
1294      '' | [0-9]* | *[!_$as_cr_alnum]* )
1295      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1296    esac
1297    eval $ac_envvar=\$ac_optarg
1298    export $ac_envvar ;;
1299
1300  *)
1301    # FIXME: should be removed in autoconf 3.0.
1302    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1304      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1306    ;;
1307
1308  esac
1309done
1310
1311if test -n "$ac_prev"; then
1312  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1313  as_fn_error $? "missing argument to $ac_option"
1314fi
1315
1316if test -n "$ac_unrecognized_opts"; then
1317  case $enable_option_checking in
1318    no) ;;
1319    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1320    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1321  esac
1322fi
1323
1324# Check all directory arguments for consistency.
1325for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326		datadir sysconfdir sharedstatedir localstatedir includedir \
1327		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328		libdir localedir mandir
1329do
1330  eval ac_val=\$$ac_var
1331  # Remove trailing slashes.
1332  case $ac_val in
1333    */ )
1334      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335      eval $ac_var=\$ac_val;;
1336  esac
1337  # Be sure to have absolute directory names.
1338  case $ac_val in
1339    [\\/$]* | ?:[\\/]* )  continue;;
1340    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1341  esac
1342  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1343done
1344
1345# There might be people who depend on the old broken behavior: `$host'
1346# used to hold the argument of --host etc.
1347# FIXME: To remove some day.
1348build=$build_alias
1349host=$host_alias
1350target=$target_alias
1351
1352# FIXME: To remove some day.
1353if test "x$host_alias" != x; then
1354  if test "x$build_alias" = x; then
1355    cross_compiling=maybe
1356  elif test "x$build_alias" != "x$host_alias"; then
1357    cross_compiling=yes
1358  fi
1359fi
1360
1361ac_tool_prefix=
1362test -n "$host_alias" && ac_tool_prefix=$host_alias-
1363
1364test "$silent" = yes && exec 6>/dev/null
1365
1366
1367ac_pwd=`pwd` && test -n "$ac_pwd" &&
1368ac_ls_di=`ls -di .` &&
1369ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1370  as_fn_error $? "working directory cannot be determined"
1371test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1372  as_fn_error $? "pwd does not report name of working directory"
1373
1374
1375# Find the source files, if location was not specified.
1376if test -z "$srcdir"; then
1377  ac_srcdir_defaulted=yes
1378  # Try the directory containing this script, then the parent directory.
1379  ac_confdir=`$as_dirname -- "$as_myself" ||
1380$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1381	 X"$as_myself" : 'X\(//\)[^/]' \| \
1382	 X"$as_myself" : 'X\(//\)$' \| \
1383	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1384$as_echo X"$as_myself" |
1385    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386	    s//\1/
1387	    q
1388	  }
1389	  /^X\(\/\/\)[^/].*/{
1390	    s//\1/
1391	    q
1392	  }
1393	  /^X\(\/\/\)$/{
1394	    s//\1/
1395	    q
1396	  }
1397	  /^X\(\/\).*/{
1398	    s//\1/
1399	    q
1400	  }
1401	  s/.*/./; q'`
1402  srcdir=$ac_confdir
1403  if test ! -r "$srcdir/$ac_unique_file"; then
1404    srcdir=..
1405  fi
1406else
1407  ac_srcdir_defaulted=no
1408fi
1409if test ! -r "$srcdir/$ac_unique_file"; then
1410  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1411  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1412fi
1413ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414ac_abs_confdir=`(
1415	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1416	pwd)`
1417# When building in place, set srcdir=.
1418if test "$ac_abs_confdir" = "$ac_pwd"; then
1419  srcdir=.
1420fi
1421# Remove unnecessary trailing slashes from srcdir.
1422# Double slashes in file names in object file debugging info
1423# mess up M-x gdb in Emacs.
1424case $srcdir in
1425*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426esac
1427for ac_var in $ac_precious_vars; do
1428  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429  eval ac_env_${ac_var}_value=\$${ac_var}
1430  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1432done
1433
1434#
1435# Report the --help message.
1436#
1437if test "$ac_init_help" = "long"; then
1438  # Omit some internal or obsolete options to make the list less imposing.
1439  # This message is too long to be a string in the A/UX 3.1 sh.
1440  cat <<_ACEOF
1441\`configure' configures libxcb 1.9 to adapt to many kinds of systems.
1442
1443Usage: $0 [OPTION]... [VAR=VALUE]...
1444
1445To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446VAR=VALUE.  See below for descriptions of some of the useful variables.
1447
1448Defaults for the options are specified in brackets.
1449
1450Configuration:
1451  -h, --help              display this help and exit
1452      --help=short        display options specific to this package
1453      --help=recursive    display the short help of all the included packages
1454  -V, --version           display version information and exit
1455  -q, --quiet, --silent   do not print \`checking ...' messages
1456      --cache-file=FILE   cache test results in FILE [disabled]
1457  -C, --config-cache      alias for \`--cache-file=config.cache'
1458  -n, --no-create         do not create output files
1459      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1460
1461Installation directories:
1462  --prefix=PREFIX         install architecture-independent files in PREFIX
1463                          [$ac_default_prefix]
1464  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1465                          [PREFIX]
1466
1467By default, \`make install' will install all the files in
1468\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1469an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470for instance \`--prefix=\$HOME'.
1471
1472For better control, use the options below.
1473
1474Fine tuning of the installation directories:
1475  --bindir=DIR            user executables [EPREFIX/bin]
1476  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1477  --libexecdir=DIR        program executables [EPREFIX/libexec]
1478  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1479  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1480  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1481  --libdir=DIR            object code libraries [EPREFIX/lib]
1482  --includedir=DIR        C header files [PREFIX/include]
1483  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1484  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1485  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1486  --infodir=DIR           info documentation [DATAROOTDIR/info]
1487  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1488  --mandir=DIR            man documentation [DATAROOTDIR/man]
1489  --docdir=DIR            documentation root [DATAROOTDIR/doc/libxcb]
1490  --htmldir=DIR           html documentation [DOCDIR]
1491  --dvidir=DIR            dvi documentation [DOCDIR]
1492  --pdfdir=DIR            pdf documentation [DOCDIR]
1493  --psdir=DIR             ps documentation [DOCDIR]
1494_ACEOF
1495
1496  cat <<\_ACEOF
1497
1498Program names:
1499  --program-prefix=PREFIX            prepend PREFIX to installed program names
1500  --program-suffix=SUFFIX            append SUFFIX to installed program names
1501  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1502
1503System types:
1504  --build=BUILD     configure for building on BUILD [guessed]
1505  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1506_ACEOF
1507fi
1508
1509if test -n "$ac_init_help"; then
1510  case $ac_init_help in
1511     short | recursive ) echo "Configuration of libxcb 1.9:";;
1512   esac
1513  cat <<\_ACEOF
1514
1515Optional Features:
1516  --disable-option-checking  ignore unrecognized --enable/--with options
1517  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1518  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1519  --disable-dependency-tracking  speeds up one-time build
1520  --enable-dependency-tracking   do not reject slow dependency extractors
1521  --enable-silent-rules          less verbose build output (undo: `make V=1')
1522  --disable-silent-rules         verbose build output (undo: `make V=0')
1523  --enable-shared[=PKGS]  build shared libraries [default=yes]
1524  --enable-static[=PKGS]  build static libraries [default=yes]
1525  --enable-fast-install[=PKGS]
1526                          optimize for fast installation [default=yes]
1527  --disable-libtool-lock  avoid locking (might break parallel builds)
1528  --disable-build-docs    Disable the build of the documentation
1529  --enable-composite      Build XCB Composite Extension (default: "yes")
1530  --enable-damage         Build XCB Damage Extension (default: "yes")
1531  --enable-dpms           Build XCB DPMS Extension (default: "yes")
1532  --enable-dri2           Build XCB DRI2 Extension (default: "yes")
1533  --enable-glx            Build XCB GLX Extension (default: "yes")
1534  --enable-randr          Build XCB RandR Extension (default: "yes")
1535  --enable-record         Build XCB Record Extension (default: "yes")
1536  --enable-render         Build XCB Render Extension (default: "yes")
1537  --enable-resource       Build XCB Resource Extension (default: "yes")
1538  --enable-screensaver    Build XCB Screensaver Extension (default: "yes")
1539  --enable-shape          Build XCB Shape Extension (default: "yes")
1540  --enable-shm            Build XCB Shm Extension (default: "yes")
1541  --enable-sync           Build XCB Sync Extension (default: "yes")
1542  --enable-xevie          Build XCB Xevie Extension (default: "yes")
1543  --enable-xfixes         Build XCB XFixes Extension (default: "yes")
1544  --enable-xfree86-dri    Build XCB XFree86-DRI Extension (default: "yes")
1545  --enable-xinerama       Build XCB Xinerama Extension (default: "yes")
1546  --enable-xinput         Build XCB XInput Extension (default: "no")
1547  --enable-xkb            Build XCB XKB Extension (default: "no")
1548  --enable-xprint         Build XCB Xprint Extension (default: "yes")
1549  --enable-selinux        Build XCB SELinux Extension (default: "no")
1550  --enable-xtest          Build XCB XTest Extension (default: "yes")
1551  --enable-xv             Build XCB Xv Extension (default: "yes")
1552  --enable-xvmc           Build XCB XvMC Extension (default: "yes")
1553
1554Optional Packages:
1555  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1556  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1557  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1558                          both]
1559  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1560  --with-sysroot=DIR Search for dependent libraries within DIR
1561                        (or the compiler's sysroot if not specified).
1562  --with-queue-size=SIZE  Set the XCB buffer queue size (default is 16384)
1563  --with-doxygen=FILE     doxygen program to use (eg /usr/bin/doxygen)
1564  --with-launchd          Build with support for Apple's launchd (default:
1565                          auto)
1566
1567Some influential environment variables:
1568  CC          C compiler command
1569  CFLAGS      C compiler flags
1570  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1571              nonstandard directory <lib dir>
1572  LIBS        libraries to pass to the linker, e.g. -l<library>
1573  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574              you have headers in a nonstandard directory <include dir>
1575  CPP         C preprocessor
1576  PYTHON      the Python interpreter
1577  PKG_CONFIG  path to pkg-config utility
1578  PKG_CONFIG_PATH
1579              directories to add to pkg-config's search path
1580  PKG_CONFIG_LIBDIR
1581              path overriding pkg-config's built-in search path
1582  CHECK_CFLAGS
1583              C compiler flags for CHECK, overriding pkg-config
1584  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1585  XCBPROTO_CFLAGS
1586              C compiler flags for XCBPROTO, overriding pkg-config
1587  XCBPROTO_LIBS
1588              linker flags for XCBPROTO, overriding pkg-config
1589  NEEDED_CFLAGS
1590              C compiler flags for NEEDED, overriding pkg-config
1591  NEEDED_LIBS linker flags for NEEDED, overriding pkg-config
1592  XDMCP_CFLAGS
1593              C compiler flags for XDMCP, overriding pkg-config
1594  XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
1595
1596Use these variables to override the choices made by `configure' or to help
1597it to find libraries and programs with nonstandard names/locations.
1598
1599Report bugs to <xcb@lists.freedesktop.org>.
1600_ACEOF
1601ac_status=$?
1602fi
1603
1604if test "$ac_init_help" = "recursive"; then
1605  # If there are subdirs, report their specific --help.
1606  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1607    test -d "$ac_dir" ||
1608      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609      continue
1610    ac_builddir=.
1611
1612case "$ac_dir" in
1613.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614*)
1615  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1616  # A ".." for each directory in $ac_dir_suffix.
1617  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1618  case $ac_top_builddir_sub in
1619  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1621  esac ;;
1622esac
1623ac_abs_top_builddir=$ac_pwd
1624ac_abs_builddir=$ac_pwd$ac_dir_suffix
1625# for backward compatibility:
1626ac_top_builddir=$ac_top_build_prefix
1627
1628case $srcdir in
1629  .)  # We are building in place.
1630    ac_srcdir=.
1631    ac_top_srcdir=$ac_top_builddir_sub
1632    ac_abs_top_srcdir=$ac_pwd ;;
1633  [\\/]* | ?:[\\/]* )  # Absolute name.
1634    ac_srcdir=$srcdir$ac_dir_suffix;
1635    ac_top_srcdir=$srcdir
1636    ac_abs_top_srcdir=$srcdir ;;
1637  *) # Relative name.
1638    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1639    ac_top_srcdir=$ac_top_build_prefix$srcdir
1640    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1641esac
1642ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1643
1644    cd "$ac_dir" || { ac_status=$?; continue; }
1645    # Check for guested configure.
1646    if test -f "$ac_srcdir/configure.gnu"; then
1647      echo &&
1648      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1649    elif test -f "$ac_srcdir/configure"; then
1650      echo &&
1651      $SHELL "$ac_srcdir/configure" --help=recursive
1652    else
1653      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1654    fi || ac_status=$?
1655    cd "$ac_pwd" || { ac_status=$?; break; }
1656  done
1657fi
1658
1659test -n "$ac_init_help" && exit $ac_status
1660if $ac_init_version; then
1661  cat <<\_ACEOF
1662libxcb configure 1.9
1663generated by GNU Autoconf 2.69
1664
1665Copyright (C) 2012 Free Software Foundation, Inc.
1666This configure script is free software; the Free Software Foundation
1667gives unlimited permission to copy, distribute and modify it.
1668_ACEOF
1669  exit
1670fi
1671
1672## ------------------------ ##
1673## Autoconf initialization. ##
1674## ------------------------ ##
1675
1676# ac_fn_c_try_compile LINENO
1677# --------------------------
1678# Try to compile conftest.$ac_ext, and return whether this succeeded.
1679ac_fn_c_try_compile ()
1680{
1681  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682  rm -f conftest.$ac_objext
1683  if { { ac_try="$ac_compile"
1684case "(($ac_try" in
1685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686  *) ac_try_echo=$ac_try;;
1687esac
1688eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689$as_echo "$ac_try_echo"; } >&5
1690  (eval "$ac_compile") 2>conftest.err
1691  ac_status=$?
1692  if test -s conftest.err; then
1693    grep -v '^ *+' conftest.err >conftest.er1
1694    cat conftest.er1 >&5
1695    mv -f conftest.er1 conftest.err
1696  fi
1697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698  test $ac_status = 0; } && {
1699	 test -z "$ac_c_werror_flag" ||
1700	 test ! -s conftest.err
1701       } && test -s conftest.$ac_objext; then :
1702  ac_retval=0
1703else
1704  $as_echo "$as_me: failed program was:" >&5
1705sed 's/^/| /' conftest.$ac_ext >&5
1706
1707	ac_retval=1
1708fi
1709  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710  as_fn_set_status $ac_retval
1711
1712} # ac_fn_c_try_compile
1713
1714# ac_fn_c_try_cpp LINENO
1715# ----------------------
1716# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1717ac_fn_c_try_cpp ()
1718{
1719  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720  if { { ac_try="$ac_cpp conftest.$ac_ext"
1721case "(($ac_try" in
1722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723  *) ac_try_echo=$ac_try;;
1724esac
1725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726$as_echo "$ac_try_echo"; } >&5
1727  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1728  ac_status=$?
1729  if test -s conftest.err; then
1730    grep -v '^ *+' conftest.err >conftest.er1
1731    cat conftest.er1 >&5
1732    mv -f conftest.er1 conftest.err
1733  fi
1734  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735  test $ac_status = 0; } > conftest.i && {
1736	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1737	 test ! -s conftest.err
1738       }; then :
1739  ac_retval=0
1740else
1741  $as_echo "$as_me: failed program was:" >&5
1742sed 's/^/| /' conftest.$ac_ext >&5
1743
1744    ac_retval=1
1745fi
1746  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747  as_fn_set_status $ac_retval
1748
1749} # ac_fn_c_try_cpp
1750
1751# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1752# -------------------------------------------------------
1753# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1754# the include files in INCLUDES and setting the cache variable VAR
1755# accordingly.
1756ac_fn_c_check_header_mongrel ()
1757{
1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759  if eval \${$3+:} false; then :
1760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761$as_echo_n "checking for $2... " >&6; }
1762if eval \${$3+:} false; then :
1763  $as_echo_n "(cached) " >&6
1764fi
1765eval ac_res=\$$3
1766	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767$as_echo "$ac_res" >&6; }
1768else
1769  # Is the header compilable?
1770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1771$as_echo_n "checking $2 usability... " >&6; }
1772cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773/* end confdefs.h.  */
1774$4
1775#include <$2>
1776_ACEOF
1777if ac_fn_c_try_compile "$LINENO"; then :
1778  ac_header_compiler=yes
1779else
1780  ac_header_compiler=no
1781fi
1782rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1784$as_echo "$ac_header_compiler" >&6; }
1785
1786# Is the header present?
1787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1788$as_echo_n "checking $2 presence... " >&6; }
1789cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790/* end confdefs.h.  */
1791#include <$2>
1792_ACEOF
1793if ac_fn_c_try_cpp "$LINENO"; then :
1794  ac_header_preproc=yes
1795else
1796  ac_header_preproc=no
1797fi
1798rm -f conftest.err conftest.i conftest.$ac_ext
1799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1800$as_echo "$ac_header_preproc" >&6; }
1801
1802# So?  What about this header?
1803case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1804  yes:no: )
1805    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1806$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1809    ;;
1810  no:yes:* )
1811    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1812$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1813    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1814$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1815    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1816$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1817    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1818$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1819    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1821( $as_echo "## ---------------------------------------- ##
1822## Report this to xcb@lists.freedesktop.org ##
1823## ---------------------------------------- ##"
1824     ) | sed "s/^/$as_me: WARNING:     /" >&2
1825    ;;
1826esac
1827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828$as_echo_n "checking for $2... " >&6; }
1829if eval \${$3+:} false; then :
1830  $as_echo_n "(cached) " >&6
1831else
1832  eval "$3=\$ac_header_compiler"
1833fi
1834eval ac_res=\$$3
1835	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836$as_echo "$ac_res" >&6; }
1837fi
1838  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839
1840} # ac_fn_c_check_header_mongrel
1841
1842# ac_fn_c_try_run LINENO
1843# ----------------------
1844# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1845# that executables *can* be run.
1846ac_fn_c_try_run ()
1847{
1848  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849  if { { ac_try="$ac_link"
1850case "(($ac_try" in
1851  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852  *) ac_try_echo=$ac_try;;
1853esac
1854eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855$as_echo "$ac_try_echo"; } >&5
1856  (eval "$ac_link") 2>&5
1857  ac_status=$?
1858  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1860  { { case "(($ac_try" in
1861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862  *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866  (eval "$ac_try") 2>&5
1867  ac_status=$?
1868  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869  test $ac_status = 0; }; }; then :
1870  ac_retval=0
1871else
1872  $as_echo "$as_me: program exited with status $ac_status" >&5
1873       $as_echo "$as_me: failed program was:" >&5
1874sed 's/^/| /' conftest.$ac_ext >&5
1875
1876       ac_retval=$ac_status
1877fi
1878  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880  as_fn_set_status $ac_retval
1881
1882} # ac_fn_c_try_run
1883
1884# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1885# -------------------------------------------------------
1886# Tests whether HEADER exists and can be compiled using the include files in
1887# INCLUDES, setting the cache variable VAR accordingly.
1888ac_fn_c_check_header_compile ()
1889{
1890  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892$as_echo_n "checking for $2... " >&6; }
1893if eval \${$3+:} false; then :
1894  $as_echo_n "(cached) " >&6
1895else
1896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897/* end confdefs.h.  */
1898$4
1899#include <$2>
1900_ACEOF
1901if ac_fn_c_try_compile "$LINENO"; then :
1902  eval "$3=yes"
1903else
1904  eval "$3=no"
1905fi
1906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907fi
1908eval ac_res=\$$3
1909	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910$as_echo "$ac_res" >&6; }
1911  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1912
1913} # ac_fn_c_check_header_compile
1914
1915# ac_fn_c_try_link LINENO
1916# -----------------------
1917# Try to link conftest.$ac_ext, and return whether this succeeded.
1918ac_fn_c_try_link ()
1919{
1920  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921  rm -f conftest.$ac_objext conftest$ac_exeext
1922  if { { ac_try="$ac_link"
1923case "(($ac_try" in
1924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925  *) ac_try_echo=$ac_try;;
1926esac
1927eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928$as_echo "$ac_try_echo"; } >&5
1929  (eval "$ac_link") 2>conftest.err
1930  ac_status=$?
1931  if test -s conftest.err; then
1932    grep -v '^ *+' conftest.err >conftest.er1
1933    cat conftest.er1 >&5
1934    mv -f conftest.er1 conftest.err
1935  fi
1936  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1937  test $ac_status = 0; } && {
1938	 test -z "$ac_c_werror_flag" ||
1939	 test ! -s conftest.err
1940       } && test -s conftest$ac_exeext && {
1941	 test "$cross_compiling" = yes ||
1942	 test -x conftest$ac_exeext
1943       }; then :
1944  ac_retval=0
1945else
1946  $as_echo "$as_me: failed program was:" >&5
1947sed 's/^/| /' conftest.$ac_ext >&5
1948
1949	ac_retval=1
1950fi
1951  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1952  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1953  # interfere with the next link command; also delete a directory that is
1954  # left behind by Apple's compiler.  We do this before executing the actions.
1955  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1956  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957  as_fn_set_status $ac_retval
1958
1959} # ac_fn_c_try_link
1960
1961# ac_fn_c_check_func LINENO FUNC VAR
1962# ----------------------------------
1963# Tests whether FUNC exists, setting the cache variable VAR accordingly
1964ac_fn_c_check_func ()
1965{
1966  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968$as_echo_n "checking for $2... " >&6; }
1969if eval \${$3+:} false; then :
1970  $as_echo_n "(cached) " >&6
1971else
1972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973/* end confdefs.h.  */
1974/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1975   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1976#define $2 innocuous_$2
1977
1978/* System header to define __stub macros and hopefully few prototypes,
1979    which can conflict with char $2 (); below.
1980    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1981    <limits.h> exists even on freestanding compilers.  */
1982
1983#ifdef __STDC__
1984# include <limits.h>
1985#else
1986# include <assert.h>
1987#endif
1988
1989#undef $2
1990
1991/* Override any GCC internal prototype to avoid an error.
1992   Use char because int might match the return type of a GCC
1993   builtin and then its argument prototype would still apply.  */
1994#ifdef __cplusplus
1995extern "C"
1996#endif
1997char $2 ();
1998/* The GNU C library defines this for functions which it implements
1999    to always fail with ENOSYS.  Some functions are actually named
2000    something starting with __ and the normal name is an alias.  */
2001#if defined __stub_$2 || defined __stub___$2
2002choke me
2003#endif
2004
2005int
2006main ()
2007{
2008return $2 ();
2009  ;
2010  return 0;
2011}
2012_ACEOF
2013if ac_fn_c_try_link "$LINENO"; then :
2014  eval "$3=yes"
2015else
2016  eval "$3=no"
2017fi
2018rm -f core conftest.err conftest.$ac_objext \
2019    conftest$ac_exeext conftest.$ac_ext
2020fi
2021eval ac_res=\$$3
2022	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023$as_echo "$ac_res" >&6; }
2024  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2025
2026} # ac_fn_c_check_func
2027
2028# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2029# ----------------------------------------------------
2030# Tries to find if the field MEMBER exists in type AGGR, after including
2031# INCLUDES, setting cache variable VAR accordingly.
2032ac_fn_c_check_member ()
2033{
2034  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2036$as_echo_n "checking for $2.$3... " >&6; }
2037if eval \${$4+:} false; then :
2038  $as_echo_n "(cached) " >&6
2039else
2040  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041/* end confdefs.h.  */
2042$5
2043int
2044main ()
2045{
2046static $2 ac_aggr;
2047if (ac_aggr.$3)
2048return 0;
2049  ;
2050  return 0;
2051}
2052_ACEOF
2053if ac_fn_c_try_compile "$LINENO"; then :
2054  eval "$4=yes"
2055else
2056  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057/* end confdefs.h.  */
2058$5
2059int
2060main ()
2061{
2062static $2 ac_aggr;
2063if (sizeof ac_aggr.$3)
2064return 0;
2065  ;
2066  return 0;
2067}
2068_ACEOF
2069if ac_fn_c_try_compile "$LINENO"; then :
2070  eval "$4=yes"
2071else
2072  eval "$4=no"
2073fi
2074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075fi
2076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077fi
2078eval ac_res=\$$4
2079	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080$as_echo "$ac_res" >&6; }
2081  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082
2083} # ac_fn_c_check_member
2084
2085# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2086# ---------------------------------------------
2087# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2088# accordingly.
2089ac_fn_c_check_decl ()
2090{
2091  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092  as_decl_name=`echo $2|sed 's/ *(.*//'`
2093  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2095$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2096if eval \${$3+:} false; then :
2097  $as_echo_n "(cached) " >&6
2098else
2099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2100/* end confdefs.h.  */
2101$4
2102int
2103main ()
2104{
2105#ifndef $as_decl_name
2106#ifdef __cplusplus
2107  (void) $as_decl_use;
2108#else
2109  (void) $as_decl_name;
2110#endif
2111#endif
2112
2113  ;
2114  return 0;
2115}
2116_ACEOF
2117if ac_fn_c_try_compile "$LINENO"; then :
2118  eval "$3=yes"
2119else
2120  eval "$3=no"
2121fi
2122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123fi
2124eval ac_res=\$$3
2125	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2126$as_echo "$ac_res" >&6; }
2127  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128
2129} # ac_fn_c_check_decl
2130cat >config.log <<_ACEOF
2131This file contains any messages produced by compilers while
2132running configure, to aid debugging if configure makes a mistake.
2133
2134It was created by libxcb $as_me 1.9, which was
2135generated by GNU Autoconf 2.69.  Invocation command line was
2136
2137  $ $0 $@
2138
2139_ACEOF
2140exec 5>>config.log
2141{
2142cat <<_ASUNAME
2143## --------- ##
2144## Platform. ##
2145## --------- ##
2146
2147hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2148uname -m = `(uname -m) 2>/dev/null || echo unknown`
2149uname -r = `(uname -r) 2>/dev/null || echo unknown`
2150uname -s = `(uname -s) 2>/dev/null || echo unknown`
2151uname -v = `(uname -v) 2>/dev/null || echo unknown`
2152
2153/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2154/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2155
2156/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2157/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2158/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2159/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2160/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2161/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2162/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2163
2164_ASUNAME
2165
2166as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167for as_dir in $PATH
2168do
2169  IFS=$as_save_IFS
2170  test -z "$as_dir" && as_dir=.
2171    $as_echo "PATH: $as_dir"
2172  done
2173IFS=$as_save_IFS
2174
2175} >&5
2176
2177cat >&5 <<_ACEOF
2178
2179
2180## ----------- ##
2181## Core tests. ##
2182## ----------- ##
2183
2184_ACEOF
2185
2186
2187# Keep a trace of the command line.
2188# Strip out --no-create and --no-recursion so they do not pile up.
2189# Strip out --silent because we don't want to record it for future runs.
2190# Also quote any args containing shell meta-characters.
2191# Make two passes to allow for proper duplicate-argument suppression.
2192ac_configure_args=
2193ac_configure_args0=
2194ac_configure_args1=
2195ac_must_keep_next=false
2196for ac_pass in 1 2
2197do
2198  for ac_arg
2199  do
2200    case $ac_arg in
2201    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2202    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2203    | -silent | --silent | --silen | --sile | --sil)
2204      continue ;;
2205    *\'*)
2206      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2207    esac
2208    case $ac_pass in
2209    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2210    2)
2211      as_fn_append ac_configure_args1 " '$ac_arg'"
2212      if test $ac_must_keep_next = true; then
2213	ac_must_keep_next=false # Got value, back to normal.
2214      else
2215	case $ac_arg in
2216	  *=* | --config-cache | -C | -disable-* | --disable-* \
2217	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2218	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2219	  | -with-* | --with-* | -without-* | --without-* | --x)
2220	    case "$ac_configure_args0 " in
2221	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2222	    esac
2223	    ;;
2224	  -* ) ac_must_keep_next=true ;;
2225	esac
2226      fi
2227      as_fn_append ac_configure_args " '$ac_arg'"
2228      ;;
2229    esac
2230  done
2231done
2232{ ac_configure_args0=; unset ac_configure_args0;}
2233{ ac_configure_args1=; unset ac_configure_args1;}
2234
2235# When interrupted or exit'd, cleanup temporary files, and complete
2236# config.log.  We remove comments because anyway the quotes in there
2237# would cause problems or look ugly.
2238# WARNING: Use '\'' to represent an apostrophe within the trap.
2239# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2240trap 'exit_status=$?
2241  # Save into config.log some information that might help in debugging.
2242  {
2243    echo
2244
2245    $as_echo "## ---------------- ##
2246## Cache variables. ##
2247## ---------------- ##"
2248    echo
2249    # The following way of writing the cache mishandles newlines in values,
2250(
2251  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2252    eval ac_val=\$$ac_var
2253    case $ac_val in #(
2254    *${as_nl}*)
2255      case $ac_var in #(
2256      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2257$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2258      esac
2259      case $ac_var in #(
2260      _ | IFS | as_nl) ;; #(
2261      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2262      *) { eval $ac_var=; unset $ac_var;} ;;
2263      esac ;;
2264    esac
2265  done
2266  (set) 2>&1 |
2267    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2268    *${as_nl}ac_space=\ *)
2269      sed -n \
2270	"s/'\''/'\''\\\\'\'''\''/g;
2271	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2272      ;; #(
2273    *)
2274      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2275      ;;
2276    esac |
2277    sort
2278)
2279    echo
2280
2281    $as_echo "## ----------------- ##
2282## Output variables. ##
2283## ----------------- ##"
2284    echo
2285    for ac_var in $ac_subst_vars
2286    do
2287      eval ac_val=\$$ac_var
2288      case $ac_val in
2289      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290      esac
2291      $as_echo "$ac_var='\''$ac_val'\''"
2292    done | sort
2293    echo
2294
2295    if test -n "$ac_subst_files"; then
2296      $as_echo "## ------------------- ##
2297## File substitutions. ##
2298## ------------------- ##"
2299      echo
2300      for ac_var in $ac_subst_files
2301      do
2302	eval ac_val=\$$ac_var
2303	case $ac_val in
2304	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305	esac
2306	$as_echo "$ac_var='\''$ac_val'\''"
2307      done | sort
2308      echo
2309    fi
2310
2311    if test -s confdefs.h; then
2312      $as_echo "## ----------- ##
2313## confdefs.h. ##
2314## ----------- ##"
2315      echo
2316      cat confdefs.h
2317      echo
2318    fi
2319    test "$ac_signal" != 0 &&
2320      $as_echo "$as_me: caught signal $ac_signal"
2321    $as_echo "$as_me: exit $exit_status"
2322  } >&5
2323  rm -f core *.core core.conftest.* &&
2324    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2325    exit $exit_status
2326' 0
2327for ac_signal in 1 2 13 15; do
2328  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2329done
2330ac_signal=0
2331
2332# confdefs.h avoids OS command line length limits that DEFS can exceed.
2333rm -f -r conftest* confdefs.h
2334
2335$as_echo "/* confdefs.h */" > confdefs.h
2336
2337# Predefined preprocessor variables.
2338
2339cat >>confdefs.h <<_ACEOF
2340#define PACKAGE_NAME "$PACKAGE_NAME"
2341_ACEOF
2342
2343cat >>confdefs.h <<_ACEOF
2344#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2345_ACEOF
2346
2347cat >>confdefs.h <<_ACEOF
2348#define PACKAGE_VERSION "$PACKAGE_VERSION"
2349_ACEOF
2350
2351cat >>confdefs.h <<_ACEOF
2352#define PACKAGE_STRING "$PACKAGE_STRING"
2353_ACEOF
2354
2355cat >>confdefs.h <<_ACEOF
2356#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2357_ACEOF
2358
2359cat >>confdefs.h <<_ACEOF
2360#define PACKAGE_URL "$PACKAGE_URL"
2361_ACEOF
2362
2363
2364# Let the site file select an alternate cache file if it wants to.
2365# Prefer an explicitly selected file to automatically selected ones.
2366ac_site_file1=NONE
2367ac_site_file2=NONE
2368if test -n "$CONFIG_SITE"; then
2369  # We do not want a PATH search for config.site.
2370  case $CONFIG_SITE in #((
2371    -*)  ac_site_file1=./$CONFIG_SITE;;
2372    */*) ac_site_file1=$CONFIG_SITE;;
2373    *)   ac_site_file1=./$CONFIG_SITE;;
2374  esac
2375elif test "x$prefix" != xNONE; then
2376  ac_site_file1=$prefix/share/config.site
2377  ac_site_file2=$prefix/etc/config.site
2378else
2379  ac_site_file1=$ac_default_prefix/share/config.site
2380  ac_site_file2=$ac_default_prefix/etc/config.site
2381fi
2382for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2383do
2384  test "x$ac_site_file" = xNONE && continue
2385  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2386    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2387$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2388    sed 's/^/| /' "$ac_site_file" >&5
2389    . "$ac_site_file" \
2390      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392as_fn_error $? "failed to load site script $ac_site_file
2393See \`config.log' for more details" "$LINENO" 5; }
2394  fi
2395done
2396
2397if test -r "$cache_file"; then
2398  # Some versions of bash will fail to source /dev/null (special files
2399  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2400  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2401    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2402$as_echo "$as_me: loading cache $cache_file" >&6;}
2403    case $cache_file in
2404      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2405      *)                      . "./$cache_file";;
2406    esac
2407  fi
2408else
2409  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2410$as_echo "$as_me: creating cache $cache_file" >&6;}
2411  >$cache_file
2412fi
2413
2414# Check that the precious variables saved in the cache have kept the same
2415# value.
2416ac_cache_corrupted=false
2417for ac_var in $ac_precious_vars; do
2418  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2419  eval ac_new_set=\$ac_env_${ac_var}_set
2420  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2421  eval ac_new_val=\$ac_env_${ac_var}_value
2422  case $ac_old_set,$ac_new_set in
2423    set,)
2424      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2425$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2426      ac_cache_corrupted=: ;;
2427    ,set)
2428      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2429$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2430      ac_cache_corrupted=: ;;
2431    ,);;
2432    *)
2433      if test "x$ac_old_val" != "x$ac_new_val"; then
2434	# differences in whitespace do not lead to failure.
2435	ac_old_val_w=`echo x $ac_old_val`
2436	ac_new_val_w=`echo x $ac_new_val`
2437	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2438	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2439$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2440	  ac_cache_corrupted=:
2441	else
2442	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2443$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2444	  eval $ac_var=\$ac_old_val
2445	fi
2446	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2447$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2448	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2449$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2450      fi;;
2451  esac
2452  # Pass precious variables to config.status.
2453  if test "$ac_new_set" = set; then
2454    case $ac_new_val in
2455    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2456    *) ac_arg=$ac_var=$ac_new_val ;;
2457    esac
2458    case " $ac_configure_args " in
2459      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2460      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2461    esac
2462  fi
2463done
2464if $ac_cache_corrupted; then
2465  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2466$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2467  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2468$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2469  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2470fi
2471## -------------------- ##
2472## Main body of script. ##
2473## -------------------- ##
2474
2475ac_ext=c
2476ac_cpp='$CPP $CPPFLAGS'
2477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2479ac_compiler_gnu=$ac_cv_c_compiler_gnu
2480
2481
2482
2483# Set common system defines for POSIX extensions, such as _GNU_SOURCE
2484# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
2485# to avoid autoconf errors.
2486ac_ext=c
2487ac_cpp='$CPP $CPPFLAGS'
2488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490ac_compiler_gnu=$ac_cv_c_compiler_gnu
2491if test -n "$ac_tool_prefix"; then
2492  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2493set dummy ${ac_tool_prefix}gcc; ac_word=$2
2494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495$as_echo_n "checking for $ac_word... " >&6; }
2496if ${ac_cv_prog_CC+:} false; then :
2497  $as_echo_n "(cached) " >&6
2498else
2499  if test -n "$CC"; then
2500  ac_cv_prog_CC="$CC" # Let the user override the test.
2501else
2502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503for as_dir in $PATH
2504do
2505  IFS=$as_save_IFS
2506  test -z "$as_dir" && as_dir=.
2507    for ac_exec_ext in '' $ac_executable_extensions; do
2508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511    break 2
2512  fi
2513done
2514  done
2515IFS=$as_save_IFS
2516
2517fi
2518fi
2519CC=$ac_cv_prog_CC
2520if test -n "$CC"; then
2521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522$as_echo "$CC" >&6; }
2523else
2524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525$as_echo "no" >&6; }
2526fi
2527
2528
2529fi
2530if test -z "$ac_cv_prog_CC"; then
2531  ac_ct_CC=$CC
2532  # Extract the first word of "gcc", so it can be a program name with args.
2533set dummy gcc; ac_word=$2
2534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535$as_echo_n "checking for $ac_word... " >&6; }
2536if ${ac_cv_prog_ac_ct_CC+:} false; then :
2537  $as_echo_n "(cached) " >&6
2538else
2539  if test -n "$ac_ct_CC"; then
2540  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2541else
2542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543for as_dir in $PATH
2544do
2545  IFS=$as_save_IFS
2546  test -z "$as_dir" && as_dir=.
2547    for ac_exec_ext in '' $ac_executable_extensions; do
2548  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2549    ac_cv_prog_ac_ct_CC="gcc"
2550    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551    break 2
2552  fi
2553done
2554  done
2555IFS=$as_save_IFS
2556
2557fi
2558fi
2559ac_ct_CC=$ac_cv_prog_ac_ct_CC
2560if test -n "$ac_ct_CC"; then
2561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2562$as_echo "$ac_ct_CC" >&6; }
2563else
2564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565$as_echo "no" >&6; }
2566fi
2567
2568  if test "x$ac_ct_CC" = x; then
2569    CC=""
2570  else
2571    case $cross_compiling:$ac_tool_warned in
2572yes:)
2573{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2574$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2575ac_tool_warned=yes ;;
2576esac
2577    CC=$ac_ct_CC
2578  fi
2579else
2580  CC="$ac_cv_prog_CC"
2581fi
2582
2583if test -z "$CC"; then
2584          if test -n "$ac_tool_prefix"; then
2585    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2586set dummy ${ac_tool_prefix}cc; ac_word=$2
2587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588$as_echo_n "checking for $ac_word... " >&6; }
2589if ${ac_cv_prog_CC+:} false; then :
2590  $as_echo_n "(cached) " >&6
2591else
2592  if test -n "$CC"; then
2593  ac_cv_prog_CC="$CC" # Let the user override the test.
2594else
2595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596for as_dir in $PATH
2597do
2598  IFS=$as_save_IFS
2599  test -z "$as_dir" && as_dir=.
2600    for ac_exec_ext in '' $ac_executable_extensions; do
2601  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602    ac_cv_prog_CC="${ac_tool_prefix}cc"
2603    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604    break 2
2605  fi
2606done
2607  done
2608IFS=$as_save_IFS
2609
2610fi
2611fi
2612CC=$ac_cv_prog_CC
2613if test -n "$CC"; then
2614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2615$as_echo "$CC" >&6; }
2616else
2617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618$as_echo "no" >&6; }
2619fi
2620
2621
2622  fi
2623fi
2624if test -z "$CC"; then
2625  # Extract the first word of "cc", so it can be a program name with args.
2626set dummy cc; ac_word=$2
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628$as_echo_n "checking for $ac_word... " >&6; }
2629if ${ac_cv_prog_CC+:} false; then :
2630  $as_echo_n "(cached) " >&6
2631else
2632  if test -n "$CC"; then
2633  ac_cv_prog_CC="$CC" # Let the user override the test.
2634else
2635  ac_prog_rejected=no
2636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637for as_dir in $PATH
2638do
2639  IFS=$as_save_IFS
2640  test -z "$as_dir" && as_dir=.
2641    for ac_exec_ext in '' $ac_executable_extensions; do
2642  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2643    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2644       ac_prog_rejected=yes
2645       continue
2646     fi
2647    ac_cv_prog_CC="cc"
2648    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2649    break 2
2650  fi
2651done
2652  done
2653IFS=$as_save_IFS
2654
2655if test $ac_prog_rejected = yes; then
2656  # We found a bogon in the path, so make sure we never use it.
2657  set dummy $ac_cv_prog_CC
2658  shift
2659  if test $# != 0; then
2660    # We chose a different compiler from the bogus one.
2661    # However, it has the same basename, so the bogon will be chosen
2662    # first if we set CC to just the basename; use the full file name.
2663    shift
2664    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2665  fi
2666fi
2667fi
2668fi
2669CC=$ac_cv_prog_CC
2670if test -n "$CC"; then
2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2672$as_echo "$CC" >&6; }
2673else
2674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675$as_echo "no" >&6; }
2676fi
2677
2678
2679fi
2680if test -z "$CC"; then
2681  if test -n "$ac_tool_prefix"; then
2682  for ac_prog in cl.exe
2683  do
2684    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2685set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687$as_echo_n "checking for $ac_word... " >&6; }
2688if ${ac_cv_prog_CC+:} false; then :
2689  $as_echo_n "(cached) " >&6
2690else
2691  if test -n "$CC"; then
2692  ac_cv_prog_CC="$CC" # Let the user override the test.
2693else
2694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695for as_dir in $PATH
2696do
2697  IFS=$as_save_IFS
2698  test -z "$as_dir" && as_dir=.
2699    for ac_exec_ext in '' $ac_executable_extensions; do
2700  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703    break 2
2704  fi
2705done
2706  done
2707IFS=$as_save_IFS
2708
2709fi
2710fi
2711CC=$ac_cv_prog_CC
2712if test -n "$CC"; then
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2714$as_echo "$CC" >&6; }
2715else
2716  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717$as_echo "no" >&6; }
2718fi
2719
2720
2721    test -n "$CC" && break
2722  done
2723fi
2724if test -z "$CC"; then
2725  ac_ct_CC=$CC
2726  for ac_prog in cl.exe
2727do
2728  # Extract the first word of "$ac_prog", so it can be a program name with args.
2729set dummy $ac_prog; ac_word=$2
2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731$as_echo_n "checking for $ac_word... " >&6; }
2732if ${ac_cv_prog_ac_ct_CC+:} false; then :
2733  $as_echo_n "(cached) " >&6
2734else
2735  if test -n "$ac_ct_CC"; then
2736  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2737else
2738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739for as_dir in $PATH
2740do
2741  IFS=$as_save_IFS
2742  test -z "$as_dir" && as_dir=.
2743    for ac_exec_ext in '' $ac_executable_extensions; do
2744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745    ac_cv_prog_ac_ct_CC="$ac_prog"
2746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747    break 2
2748  fi
2749done
2750  done
2751IFS=$as_save_IFS
2752
2753fi
2754fi
2755ac_ct_CC=$ac_cv_prog_ac_ct_CC
2756if test -n "$ac_ct_CC"; then
2757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2758$as_echo "$ac_ct_CC" >&6; }
2759else
2760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761$as_echo "no" >&6; }
2762fi
2763
2764
2765  test -n "$ac_ct_CC" && break
2766done
2767
2768  if test "x$ac_ct_CC" = x; then
2769    CC=""
2770  else
2771    case $cross_compiling:$ac_tool_warned in
2772yes:)
2773{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2774$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2775ac_tool_warned=yes ;;
2776esac
2777    CC=$ac_ct_CC
2778  fi
2779fi
2780
2781fi
2782
2783
2784test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2785$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786as_fn_error $? "no acceptable C compiler found in \$PATH
2787See \`config.log' for more details" "$LINENO" 5; }
2788
2789# Provide some information about the compiler.
2790$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2791set X $ac_compile
2792ac_compiler=$2
2793for ac_option in --version -v -V -qversion; do
2794  { { ac_try="$ac_compiler $ac_option >&5"
2795case "(($ac_try" in
2796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797  *) ac_try_echo=$ac_try;;
2798esac
2799eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800$as_echo "$ac_try_echo"; } >&5
2801  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2802  ac_status=$?
2803  if test -s conftest.err; then
2804    sed '10a\
2805... rest of stderr output deleted ...
2806         10q' conftest.err >conftest.er1
2807    cat conftest.er1 >&5
2808  fi
2809  rm -f conftest.er1 conftest.err
2810  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2811  test $ac_status = 0; }
2812done
2813
2814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815/* end confdefs.h.  */
2816
2817int
2818main ()
2819{
2820
2821  ;
2822  return 0;
2823}
2824_ACEOF
2825ac_clean_files_save=$ac_clean_files
2826ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2827# Try to create an executable without -o first, disregard a.out.
2828# It will help us diagnose broken compilers, and finding out an intuition
2829# of exeext.
2830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2831$as_echo_n "checking whether the C compiler works... " >&6; }
2832ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2833
2834# The possible output files:
2835ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2836
2837ac_rmfiles=
2838for ac_file in $ac_files
2839do
2840  case $ac_file in
2841    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2842    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2843  esac
2844done
2845rm -f $ac_rmfiles
2846
2847if { { ac_try="$ac_link_default"
2848case "(($ac_try" in
2849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850  *) ac_try_echo=$ac_try;;
2851esac
2852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2853$as_echo "$ac_try_echo"; } >&5
2854  (eval "$ac_link_default") 2>&5
2855  ac_status=$?
2856  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857  test $ac_status = 0; }; then :
2858  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2859# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2860# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2861# so that the user can short-circuit this test for compilers unknown to
2862# Autoconf.
2863for ac_file in $ac_files ''
2864do
2865  test -f "$ac_file" || continue
2866  case $ac_file in
2867    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2868	;;
2869    [ab].out )
2870	# We found the default executable, but exeext='' is most
2871	# certainly right.
2872	break;;
2873    *.* )
2874	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2875	then :; else
2876	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2877	fi
2878	# We set ac_cv_exeext here because the later test for it is not
2879	# safe: cross compilers may not add the suffix if given an `-o'
2880	# argument, so we may need to know it at that point already.
2881	# Even if this section looks crufty: it has the advantage of
2882	# actually working.
2883	break;;
2884    * )
2885	break;;
2886  esac
2887done
2888test "$ac_cv_exeext" = no && ac_cv_exeext=
2889
2890else
2891  ac_file=''
2892fi
2893if test -z "$ac_file"; then :
2894  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895$as_echo "no" >&6; }
2896$as_echo "$as_me: failed program was:" >&5
2897sed 's/^/| /' conftest.$ac_ext >&5
2898
2899{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2901as_fn_error 77 "C compiler cannot create executables
2902See \`config.log' for more details" "$LINENO" 5; }
2903else
2904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2905$as_echo "yes" >&6; }
2906fi
2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2908$as_echo_n "checking for C compiler default output file name... " >&6; }
2909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2910$as_echo "$ac_file" >&6; }
2911ac_exeext=$ac_cv_exeext
2912
2913rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2914ac_clean_files=$ac_clean_files_save
2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2916$as_echo_n "checking for suffix of executables... " >&6; }
2917if { { ac_try="$ac_link"
2918case "(($ac_try" in
2919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920  *) ac_try_echo=$ac_try;;
2921esac
2922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923$as_echo "$ac_try_echo"; } >&5
2924  (eval "$ac_link") 2>&5
2925  ac_status=$?
2926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927  test $ac_status = 0; }; then :
2928  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2929# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2930# work properly (i.e., refer to `conftest.exe'), while it won't with
2931# `rm'.
2932for ac_file in conftest.exe conftest conftest.*; do
2933  test -f "$ac_file" || continue
2934  case $ac_file in
2935    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2936    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937	  break;;
2938    * ) break;;
2939  esac
2940done
2941else
2942  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2943$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2944as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2945See \`config.log' for more details" "$LINENO" 5; }
2946fi
2947rm -f conftest conftest$ac_cv_exeext
2948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2949$as_echo "$ac_cv_exeext" >&6; }
2950
2951rm -f conftest.$ac_ext
2952EXEEXT=$ac_cv_exeext
2953ac_exeext=$EXEEXT
2954cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955/* end confdefs.h.  */
2956#include <stdio.h>
2957int
2958main ()
2959{
2960FILE *f = fopen ("conftest.out", "w");
2961 return ferror (f) || fclose (f) != 0;
2962
2963  ;
2964  return 0;
2965}
2966_ACEOF
2967ac_clean_files="$ac_clean_files conftest.out"
2968# Check that the compiler produces executables we can run.  If not, either
2969# the compiler is broken, or we cross compile.
2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2971$as_echo_n "checking whether we are cross compiling... " >&6; }
2972if test "$cross_compiling" != yes; then
2973  { { ac_try="$ac_link"
2974case "(($ac_try" in
2975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976  *) ac_try_echo=$ac_try;;
2977esac
2978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979$as_echo "$ac_try_echo"; } >&5
2980  (eval "$ac_link") 2>&5
2981  ac_status=$?
2982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983  test $ac_status = 0; }
2984  if { ac_try='./conftest$ac_cv_exeext'
2985  { { case "(($ac_try" in
2986  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2987  *) ac_try_echo=$ac_try;;
2988esac
2989eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2990$as_echo "$ac_try_echo"; } >&5
2991  (eval "$ac_try") 2>&5
2992  ac_status=$?
2993  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994  test $ac_status = 0; }; }; then
2995    cross_compiling=no
2996  else
2997    if test "$cross_compiling" = maybe; then
2998	cross_compiling=yes
2999    else
3000	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3002as_fn_error $? "cannot run C compiled programs.
3003If you meant to cross compile, use \`--host'.
3004See \`config.log' for more details" "$LINENO" 5; }
3005    fi
3006  fi
3007fi
3008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3009$as_echo "$cross_compiling" >&6; }
3010
3011rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3012ac_clean_files=$ac_clean_files_save
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3014$as_echo_n "checking for suffix of object files... " >&6; }
3015if ${ac_cv_objext+:} false; then :
3016  $as_echo_n "(cached) " >&6
3017else
3018  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019/* end confdefs.h.  */
3020
3021int
3022main ()
3023{
3024
3025  ;
3026  return 0;
3027}
3028_ACEOF
3029rm -f conftest.o conftest.obj
3030if { { ac_try="$ac_compile"
3031case "(($ac_try" in
3032  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033  *) ac_try_echo=$ac_try;;
3034esac
3035eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036$as_echo "$ac_try_echo"; } >&5
3037  (eval "$ac_compile") 2>&5
3038  ac_status=$?
3039  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040  test $ac_status = 0; }; then :
3041  for ac_file in conftest.o conftest.obj conftest.*; do
3042  test -f "$ac_file" || continue;
3043  case $ac_file in
3044    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3045    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3046       break;;
3047  esac
3048done
3049else
3050  $as_echo "$as_me: failed program was:" >&5
3051sed 's/^/| /' conftest.$ac_ext >&5
3052
3053{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055as_fn_error $? "cannot compute suffix of object files: cannot compile
3056See \`config.log' for more details" "$LINENO" 5; }
3057fi
3058rm -f conftest.$ac_cv_objext conftest.$ac_ext
3059fi
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3061$as_echo "$ac_cv_objext" >&6; }
3062OBJEXT=$ac_cv_objext
3063ac_objext=$OBJEXT
3064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3065$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3066if ${ac_cv_c_compiler_gnu+:} false; then :
3067  $as_echo_n "(cached) " >&6
3068else
3069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070/* end confdefs.h.  */
3071
3072int
3073main ()
3074{
3075#ifndef __GNUC__
3076       choke me
3077#endif
3078
3079  ;
3080  return 0;
3081}
3082_ACEOF
3083if ac_fn_c_try_compile "$LINENO"; then :
3084  ac_compiler_gnu=yes
3085else
3086  ac_compiler_gnu=no
3087fi
3088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089ac_cv_c_compiler_gnu=$ac_compiler_gnu
3090
3091fi
3092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3093$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3094if test $ac_compiler_gnu = yes; then
3095  GCC=yes
3096else
3097  GCC=
3098fi
3099ac_test_CFLAGS=${CFLAGS+set}
3100ac_save_CFLAGS=$CFLAGS
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3102$as_echo_n "checking whether $CC accepts -g... " >&6; }
3103if ${ac_cv_prog_cc_g+:} false; then :
3104  $as_echo_n "(cached) " >&6
3105else
3106  ac_save_c_werror_flag=$ac_c_werror_flag
3107   ac_c_werror_flag=yes
3108   ac_cv_prog_cc_g=no
3109   CFLAGS="-g"
3110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111/* end confdefs.h.  */
3112
3113int
3114main ()
3115{
3116
3117  ;
3118  return 0;
3119}
3120_ACEOF
3121if ac_fn_c_try_compile "$LINENO"; then :
3122  ac_cv_prog_cc_g=yes
3123else
3124  CFLAGS=""
3125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126/* end confdefs.h.  */
3127
3128int
3129main ()
3130{
3131
3132  ;
3133  return 0;
3134}
3135_ACEOF
3136if ac_fn_c_try_compile "$LINENO"; then :
3137
3138else
3139  ac_c_werror_flag=$ac_save_c_werror_flag
3140	 CFLAGS="-g"
3141	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142/* end confdefs.h.  */
3143
3144int
3145main ()
3146{
3147
3148  ;
3149  return 0;
3150}
3151_ACEOF
3152if ac_fn_c_try_compile "$LINENO"; then :
3153  ac_cv_prog_cc_g=yes
3154fi
3155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156fi
3157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158fi
3159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160   ac_c_werror_flag=$ac_save_c_werror_flag
3161fi
3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3163$as_echo "$ac_cv_prog_cc_g" >&6; }
3164if test "$ac_test_CFLAGS" = set; then
3165  CFLAGS=$ac_save_CFLAGS
3166elif test $ac_cv_prog_cc_g = yes; then
3167  if test "$GCC" = yes; then
3168    CFLAGS="-g -O2"
3169  else
3170    CFLAGS="-g"
3171  fi
3172else
3173  if test "$GCC" = yes; then
3174    CFLAGS="-O2"
3175  else
3176    CFLAGS=
3177  fi
3178fi
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3180$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3181if ${ac_cv_prog_cc_c89+:} false; then :
3182  $as_echo_n "(cached) " >&6
3183else
3184  ac_cv_prog_cc_c89=no
3185ac_save_CC=$CC
3186cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187/* end confdefs.h.  */
3188#include <stdarg.h>
3189#include <stdio.h>
3190struct stat;
3191/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3192struct buf { int x; };
3193FILE * (*rcsopen) (struct buf *, struct stat *, int);
3194static char *e (p, i)
3195     char **p;
3196     int i;
3197{
3198  return p[i];
3199}
3200static char *f (char * (*g) (char **, int), char **p, ...)
3201{
3202  char *s;
3203  va_list v;
3204  va_start (v,p);
3205  s = g (p, va_arg (v,int));
3206  va_end (v);
3207  return s;
3208}
3209
3210/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3211   function prototypes and stuff, but not '\xHH' hex character constants.
3212   These don't provoke an error unfortunately, instead are silently treated
3213   as 'x'.  The following induces an error, until -std is added to get
3214   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3215   array size at least.  It's necessary to write '\x00'==0 to get something
3216   that's true only with -std.  */
3217int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3218
3219/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3220   inside strings and character constants.  */
3221#define FOO(x) 'x'
3222int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3223
3224int test (int i, double x);
3225struct s1 {int (*f) (int a);};
3226struct s2 {int (*f) (double a);};
3227int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3228int argc;
3229char **argv;
3230int
3231main ()
3232{
3233return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3234  ;
3235  return 0;
3236}
3237_ACEOF
3238for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3239	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3240do
3241  CC="$ac_save_CC $ac_arg"
3242  if ac_fn_c_try_compile "$LINENO"; then :
3243  ac_cv_prog_cc_c89=$ac_arg
3244fi
3245rm -f core conftest.err conftest.$ac_objext
3246  test "x$ac_cv_prog_cc_c89" != "xno" && break
3247done
3248rm -f conftest.$ac_ext
3249CC=$ac_save_CC
3250
3251fi
3252# AC_CACHE_VAL
3253case "x$ac_cv_prog_cc_c89" in
3254  x)
3255    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3256$as_echo "none needed" >&6; } ;;
3257  xno)
3258    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3259$as_echo "unsupported" >&6; } ;;
3260  *)
3261    CC="$CC $ac_cv_prog_cc_c89"
3262    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3263$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3264esac
3265if test "x$ac_cv_prog_cc_c89" != xno; then :
3266
3267fi
3268
3269ac_ext=c
3270ac_cpp='$CPP $CPPFLAGS'
3271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274
3275
3276ac_ext=c
3277ac_cpp='$CPP $CPPFLAGS'
3278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3282$as_echo_n "checking how to run the C preprocessor... " >&6; }
3283# On Suns, sometimes $CPP names a directory.
3284if test -n "$CPP" && test -d "$CPP"; then
3285  CPP=
3286fi
3287if test -z "$CPP"; then
3288  if ${ac_cv_prog_CPP+:} false; then :
3289  $as_echo_n "(cached) " >&6
3290else
3291      # Double quotes because CPP needs to be expanded
3292    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3293    do
3294      ac_preproc_ok=false
3295for ac_c_preproc_warn_flag in '' yes
3296do
3297  # Use a header file that comes with gcc, so configuring glibc
3298  # with a fresh cross-compiler works.
3299  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3300  # <limits.h> exists even on freestanding compilers.
3301  # On the NeXT, cc -E runs the code through the compiler's parser,
3302  # not just through cpp. "Syntax error" is here to catch this case.
3303  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304/* end confdefs.h.  */
3305#ifdef __STDC__
3306# include <limits.h>
3307#else
3308# include <assert.h>
3309#endif
3310		     Syntax error
3311_ACEOF
3312if ac_fn_c_try_cpp "$LINENO"; then :
3313
3314else
3315  # Broken: fails on valid input.
3316continue
3317fi
3318rm -f conftest.err conftest.i conftest.$ac_ext
3319
3320  # OK, works on sane cases.  Now check whether nonexistent headers
3321  # can be detected and how.
3322  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323/* end confdefs.h.  */
3324#include <ac_nonexistent.h>
3325_ACEOF
3326if ac_fn_c_try_cpp "$LINENO"; then :
3327  # Broken: success on invalid input.
3328continue
3329else
3330  # Passes both tests.
3331ac_preproc_ok=:
3332break
3333fi
3334rm -f conftest.err conftest.i conftest.$ac_ext
3335
3336done
3337# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3338rm -f conftest.i conftest.err conftest.$ac_ext
3339if $ac_preproc_ok; then :
3340  break
3341fi
3342
3343    done
3344    ac_cv_prog_CPP=$CPP
3345
3346fi
3347  CPP=$ac_cv_prog_CPP
3348else
3349  ac_cv_prog_CPP=$CPP
3350fi
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3352$as_echo "$CPP" >&6; }
3353ac_preproc_ok=false
3354for ac_c_preproc_warn_flag in '' yes
3355do
3356  # Use a header file that comes with gcc, so configuring glibc
3357  # with a fresh cross-compiler works.
3358  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3359  # <limits.h> exists even on freestanding compilers.
3360  # On the NeXT, cc -E runs the code through the compiler's parser,
3361  # not just through cpp. "Syntax error" is here to catch this case.
3362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363/* end confdefs.h.  */
3364#ifdef __STDC__
3365# include <limits.h>
3366#else
3367# include <assert.h>
3368#endif
3369		     Syntax error
3370_ACEOF
3371if ac_fn_c_try_cpp "$LINENO"; then :
3372
3373else
3374  # Broken: fails on valid input.
3375continue
3376fi
3377rm -f conftest.err conftest.i conftest.$ac_ext
3378
3379  # OK, works on sane cases.  Now check whether nonexistent headers
3380  # can be detected and how.
3381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382/* end confdefs.h.  */
3383#include <ac_nonexistent.h>
3384_ACEOF
3385if ac_fn_c_try_cpp "$LINENO"; then :
3386  # Broken: success on invalid input.
3387continue
3388else
3389  # Passes both tests.
3390ac_preproc_ok=:
3391break
3392fi
3393rm -f conftest.err conftest.i conftest.$ac_ext
3394
3395done
3396# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3397rm -f conftest.i conftest.err conftest.$ac_ext
3398if $ac_preproc_ok; then :
3399
3400else
3401  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3404See \`config.log' for more details" "$LINENO" 5; }
3405fi
3406
3407ac_ext=c
3408ac_cpp='$CPP $CPPFLAGS'
3409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412
3413
3414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3415$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3416if ${ac_cv_path_GREP+:} false; then :
3417  $as_echo_n "(cached) " >&6
3418else
3419  if test -z "$GREP"; then
3420  ac_path_GREP_found=false
3421  # Loop through the user's path and test for each of PROGNAME-LIST
3422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3424do
3425  IFS=$as_save_IFS
3426  test -z "$as_dir" && as_dir=.
3427    for ac_prog in grep ggrep; do
3428    for ac_exec_ext in '' $ac_executable_extensions; do
3429      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3430      as_fn_executable_p "$ac_path_GREP" || continue
3431# Check for GNU ac_path_GREP and select it if it is found.
3432  # Check for GNU $ac_path_GREP
3433case `"$ac_path_GREP" --version 2>&1` in
3434*GNU*)
3435  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3436*)
3437  ac_count=0
3438  $as_echo_n 0123456789 >"conftest.in"
3439  while :
3440  do
3441    cat "conftest.in" "conftest.in" >"conftest.tmp"
3442    mv "conftest.tmp" "conftest.in"
3443    cp "conftest.in" "conftest.nl"
3444    $as_echo 'GREP' >> "conftest.nl"
3445    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3446    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3447    as_fn_arith $ac_count + 1 && ac_count=$as_val
3448    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3449      # Best one so far, save it but keep looking for a better one
3450      ac_cv_path_GREP="$ac_path_GREP"
3451      ac_path_GREP_max=$ac_count
3452    fi
3453    # 10*(2^10) chars as input seems more than enough
3454    test $ac_count -gt 10 && break
3455  done
3456  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3457esac
3458
3459      $ac_path_GREP_found && break 3
3460    done
3461  done
3462  done
3463IFS=$as_save_IFS
3464  if test -z "$ac_cv_path_GREP"; then
3465    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3466  fi
3467else
3468  ac_cv_path_GREP=$GREP
3469fi
3470
3471fi
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3473$as_echo "$ac_cv_path_GREP" >&6; }
3474 GREP="$ac_cv_path_GREP"
3475
3476
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3478$as_echo_n "checking for egrep... " >&6; }
3479if ${ac_cv_path_EGREP+:} false; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3483   then ac_cv_path_EGREP="$GREP -E"
3484   else
3485     if test -z "$EGREP"; then
3486  ac_path_EGREP_found=false
3487  # Loop through the user's path and test for each of PROGNAME-LIST
3488  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3490do
3491  IFS=$as_save_IFS
3492  test -z "$as_dir" && as_dir=.
3493    for ac_prog in egrep; do
3494    for ac_exec_ext in '' $ac_executable_extensions; do
3495      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3496      as_fn_executable_p "$ac_path_EGREP" || continue
3497# Check for GNU ac_path_EGREP and select it if it is found.
3498  # Check for GNU $ac_path_EGREP
3499case `"$ac_path_EGREP" --version 2>&1` in
3500*GNU*)
3501  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3502*)
3503  ac_count=0
3504  $as_echo_n 0123456789 >"conftest.in"
3505  while :
3506  do
3507    cat "conftest.in" "conftest.in" >"conftest.tmp"
3508    mv "conftest.tmp" "conftest.in"
3509    cp "conftest.in" "conftest.nl"
3510    $as_echo 'EGREP' >> "conftest.nl"
3511    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3512    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3513    as_fn_arith $ac_count + 1 && ac_count=$as_val
3514    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3515      # Best one so far, save it but keep looking for a better one
3516      ac_cv_path_EGREP="$ac_path_EGREP"
3517      ac_path_EGREP_max=$ac_count
3518    fi
3519    # 10*(2^10) chars as input seems more than enough
3520    test $ac_count -gt 10 && break
3521  done
3522  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3523esac
3524
3525      $ac_path_EGREP_found && break 3
3526    done
3527  done
3528  done
3529IFS=$as_save_IFS
3530  if test -z "$ac_cv_path_EGREP"; then
3531    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3532  fi
3533else
3534  ac_cv_path_EGREP=$EGREP
3535fi
3536
3537   fi
3538fi
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3540$as_echo "$ac_cv_path_EGREP" >&6; }
3541 EGREP="$ac_cv_path_EGREP"
3542
3543
3544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3545$as_echo_n "checking for ANSI C header files... " >&6; }
3546if ${ac_cv_header_stdc+:} false; then :
3547  $as_echo_n "(cached) " >&6
3548else
3549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550/* end confdefs.h.  */
3551#include <stdlib.h>
3552#include <stdarg.h>
3553#include <string.h>
3554#include <float.h>
3555
3556int
3557main ()
3558{
3559
3560  ;
3561  return 0;
3562}
3563_ACEOF
3564if ac_fn_c_try_compile "$LINENO"; then :
3565  ac_cv_header_stdc=yes
3566else
3567  ac_cv_header_stdc=no
3568fi
3569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570
3571if test $ac_cv_header_stdc = yes; then
3572  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3573  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574/* end confdefs.h.  */
3575#include <string.h>
3576
3577_ACEOF
3578if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3579  $EGREP "memchr" >/dev/null 2>&1; then :
3580
3581else
3582  ac_cv_header_stdc=no
3583fi
3584rm -f conftest*
3585
3586fi
3587
3588if test $ac_cv_header_stdc = yes; then
3589  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591/* end confdefs.h.  */
3592#include <stdlib.h>
3593
3594_ACEOF
3595if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3596  $EGREP "free" >/dev/null 2>&1; then :
3597
3598else
3599  ac_cv_header_stdc=no
3600fi
3601rm -f conftest*
3602
3603fi
3604
3605if test $ac_cv_header_stdc = yes; then
3606  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3607  if test "$cross_compiling" = yes; then :
3608  :
3609else
3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3611/* end confdefs.h.  */
3612#include <ctype.h>
3613#include <stdlib.h>
3614#if ((' ' & 0x0FF) == 0x020)
3615# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3616# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3617#else
3618# define ISLOWER(c) \
3619		   (('a' <= (c) && (c) <= 'i') \
3620		     || ('j' <= (c) && (c) <= 'r') \
3621		     || ('s' <= (c) && (c) <= 'z'))
3622# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3623#endif
3624
3625#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3626int
3627main ()
3628{
3629  int i;
3630  for (i = 0; i < 256; i++)
3631    if (XOR (islower (i), ISLOWER (i))
3632	|| toupper (i) != TOUPPER (i))
3633      return 2;
3634  return 0;
3635}
3636_ACEOF
3637if ac_fn_c_try_run "$LINENO"; then :
3638
3639else
3640  ac_cv_header_stdc=no
3641fi
3642rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3643  conftest.$ac_objext conftest.beam conftest.$ac_ext
3644fi
3645
3646fi
3647fi
3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3649$as_echo "$ac_cv_header_stdc" >&6; }
3650if test $ac_cv_header_stdc = yes; then
3651
3652$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3653
3654fi
3655
3656# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3657for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3658		  inttypes.h stdint.h unistd.h
3659do :
3660  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3661ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3662"
3663if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3664  cat >>confdefs.h <<_ACEOF
3665#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3666_ACEOF
3667
3668fi
3669
3670done
3671
3672
3673
3674  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3675if test "x$ac_cv_header_minix_config_h" = xyes; then :
3676  MINIX=yes
3677else
3678  MINIX=
3679fi
3680
3681
3682  if test "$MINIX" = yes; then
3683
3684$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3685
3686
3687$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3688
3689
3690$as_echo "#define _MINIX 1" >>confdefs.h
3691
3692  fi
3693
3694
3695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3696$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3697if ${ac_cv_safe_to_define___extensions__+:} false; then :
3698  $as_echo_n "(cached) " >&6
3699else
3700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701/* end confdefs.h.  */
3702
3703#         define __EXTENSIONS__ 1
3704          $ac_includes_default
3705int
3706main ()
3707{
3708
3709  ;
3710  return 0;
3711}
3712_ACEOF
3713if ac_fn_c_try_compile "$LINENO"; then :
3714  ac_cv_safe_to_define___extensions__=yes
3715else
3716  ac_cv_safe_to_define___extensions__=no
3717fi
3718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719fi
3720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3721$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3722  test $ac_cv_safe_to_define___extensions__ = yes &&
3723    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3724
3725  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3726
3727  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3728
3729  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3730
3731  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3732
3733
3734
3735# Initialize Automake
3736am__api_version='1.11'
3737
3738ac_aux_dir=
3739for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3740  if test -f "$ac_dir/install-sh"; then
3741    ac_aux_dir=$ac_dir
3742    ac_install_sh="$ac_aux_dir/install-sh -c"
3743    break
3744  elif test -f "$ac_dir/install.sh"; then
3745    ac_aux_dir=$ac_dir
3746    ac_install_sh="$ac_aux_dir/install.sh -c"
3747    break
3748  elif test -f "$ac_dir/shtool"; then
3749    ac_aux_dir=$ac_dir
3750    ac_install_sh="$ac_aux_dir/shtool install -c"
3751    break
3752  fi
3753done
3754if test -z "$ac_aux_dir"; then
3755  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3756fi
3757
3758# These three variables are undocumented and unsupported,
3759# and are intended to be withdrawn in a future Autoconf release.
3760# They can cause serious problems if a builder's source tree is in a directory
3761# whose full name contains unusual characters.
3762ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3763ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3764ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3765
3766
3767# Find a good install program.  We prefer a C program (faster),
3768# so one script is as good as another.  But avoid the broken or
3769# incompatible versions:
3770# SysV /etc/install, /usr/sbin/install
3771# SunOS /usr/etc/install
3772# IRIX /sbin/install
3773# AIX /bin/install
3774# AmigaOS /C/install, which installs bootblocks on floppy discs
3775# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3776# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3777# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3778# OS/2's system install, which has a completely different semantic
3779# ./install, which can be erroneously created by make from ./install.sh.
3780# Reject install programs that cannot install multiple files.
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3782$as_echo_n "checking for a BSD-compatible install... " >&6; }
3783if test -z "$INSTALL"; then
3784if ${ac_cv_path_install+:} false; then :
3785  $as_echo_n "(cached) " >&6
3786else
3787  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788for as_dir in $PATH
3789do
3790  IFS=$as_save_IFS
3791  test -z "$as_dir" && as_dir=.
3792    # Account for people who put trailing slashes in PATH elements.
3793case $as_dir/ in #((
3794  ./ | .// | /[cC]/* | \
3795  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3796  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3797  /usr/ucb/* ) ;;
3798  *)
3799    # OSF1 and SCO ODT 3.0 have their own names for install.
3800    # Don't use installbsd from OSF since it installs stuff as root
3801    # by default.
3802    for ac_prog in ginstall scoinst install; do
3803      for ac_exec_ext in '' $ac_executable_extensions; do
3804	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3805	  if test $ac_prog = install &&
3806	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3807	    # AIX install.  It has an incompatible calling convention.
3808	    :
3809	  elif test $ac_prog = install &&
3810	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3811	    # program-specific install script used by HP pwplus--don't use.
3812	    :
3813	  else
3814	    rm -rf conftest.one conftest.two conftest.dir
3815	    echo one > conftest.one
3816	    echo two > conftest.two
3817	    mkdir conftest.dir
3818	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3819	      test -s conftest.one && test -s conftest.two &&
3820	      test -s conftest.dir/conftest.one &&
3821	      test -s conftest.dir/conftest.two
3822	    then
3823	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3824	      break 3
3825	    fi
3826	  fi
3827	fi
3828      done
3829    done
3830    ;;
3831esac
3832
3833  done
3834IFS=$as_save_IFS
3835
3836rm -rf conftest.one conftest.two conftest.dir
3837
3838fi
3839  if test "${ac_cv_path_install+set}" = set; then
3840    INSTALL=$ac_cv_path_install
3841  else
3842    # As a last resort, use the slow shell script.  Don't cache a
3843    # value for INSTALL within a source directory, because that will
3844    # break other packages using the cache if that directory is
3845    # removed, or if the value is a relative name.
3846    INSTALL=$ac_install_sh
3847  fi
3848fi
3849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3850$as_echo "$INSTALL" >&6; }
3851
3852# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3853# It thinks the first close brace ends the variable substitution.
3854test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3855
3856test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3857
3858test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3859
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3861$as_echo_n "checking whether build environment is sane... " >&6; }
3862# Just in case
3863sleep 1
3864echo timestamp > conftest.file
3865# Reject unsafe characters in $srcdir or the absolute working directory
3866# name.  Accept space and tab only in the latter.
3867am_lf='
3868'
3869case `pwd` in
3870  *[\\\"\#\$\&\'\`$am_lf]*)
3871    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3872esac
3873case $srcdir in
3874  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
3875    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3876esac
3877
3878# Do `set' in a subshell so we don't clobber the current shell's
3879# arguments.  Must try -L first in case configure is actually a
3880# symlink; some systems play weird games with the mod time of symlinks
3881# (eg FreeBSD returns the mod time of the symlink's containing
3882# directory).
3883if (
3884   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3885   if test "$*" = "X"; then
3886      # -L didn't work.
3887      set X `ls -t "$srcdir/configure" conftest.file`
3888   fi
3889   rm -f conftest.file
3890   if test "$*" != "X $srcdir/configure conftest.file" \
3891      && test "$*" != "X conftest.file $srcdir/configure"; then
3892
3893      # If neither matched, then we have a broken ls.  This can happen
3894      # if, for instance, CONFIG_SHELL is bash and it inherits a
3895      # broken ls alias from the environment.  This has actually
3896      # happened.  Such a system could not be considered "sane".
3897      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3898alias in your environment" "$LINENO" 5
3899   fi
3900
3901   test "$2" = conftest.file
3902   )
3903then
3904   # Ok.
3905   :
3906else
3907   as_fn_error $? "newly created file is older than distributed files!
3908Check your system clock" "$LINENO" 5
3909fi
3910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3911$as_echo "yes" >&6; }
3912test "$program_prefix" != NONE &&
3913  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3914# Use a double $ so make ignores it.
3915test "$program_suffix" != NONE &&
3916  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3917# Double any \ or $.
3918# By default was `s,x,x', remove it if useless.
3919ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3920program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3921
3922# expand $ac_aux_dir to an absolute path
3923am_aux_dir=`cd $ac_aux_dir && pwd`
3924
3925if test x"${MISSING+set}" != xset; then
3926  case $am_aux_dir in
3927  *\ * | *\	*)
3928    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3929  *)
3930    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3931  esac
3932fi
3933# Use eval to expand $SHELL
3934if eval "$MISSING --run true"; then
3935  am_missing_run="$MISSING --run "
3936else
3937  am_missing_run=
3938  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3939$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3940fi
3941
3942if test x"${install_sh}" != xset; then
3943  case $am_aux_dir in
3944  *\ * | *\	*)
3945    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3946  *)
3947    install_sh="\${SHELL} $am_aux_dir/install-sh"
3948  esac
3949fi
3950
3951# Installed binaries are usually stripped using `strip' when the user
3952# run `make install-strip'.  However `strip' might not be the right
3953# tool to use in cross-compilation environments, therefore Automake
3954# will honor the `STRIP' environment variable to overrule this program.
3955if test "$cross_compiling" != no; then
3956  if test -n "$ac_tool_prefix"; then
3957  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3958set dummy ${ac_tool_prefix}strip; ac_word=$2
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960$as_echo_n "checking for $ac_word... " >&6; }
3961if ${ac_cv_prog_STRIP+:} false; then :
3962  $as_echo_n "(cached) " >&6
3963else
3964  if test -n "$STRIP"; then
3965  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3966else
3967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968for as_dir in $PATH
3969do
3970  IFS=$as_save_IFS
3971  test -z "$as_dir" && as_dir=.
3972    for ac_exec_ext in '' $ac_executable_extensions; do
3973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3974    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976    break 2
3977  fi
3978done
3979  done
3980IFS=$as_save_IFS
3981
3982fi
3983fi
3984STRIP=$ac_cv_prog_STRIP
3985if test -n "$STRIP"; then
3986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3987$as_echo "$STRIP" >&6; }
3988else
3989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990$as_echo "no" >&6; }
3991fi
3992
3993
3994fi
3995if test -z "$ac_cv_prog_STRIP"; then
3996  ac_ct_STRIP=$STRIP
3997  # Extract the first word of "strip", so it can be a program name with args.
3998set dummy strip; ac_word=$2
3999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000$as_echo_n "checking for $ac_word... " >&6; }
4001if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4002  $as_echo_n "(cached) " >&6
4003else
4004  if test -n "$ac_ct_STRIP"; then
4005  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4006else
4007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008for as_dir in $PATH
4009do
4010  IFS=$as_save_IFS
4011  test -z "$as_dir" && as_dir=.
4012    for ac_exec_ext in '' $ac_executable_extensions; do
4013  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014    ac_cv_prog_ac_ct_STRIP="strip"
4015    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016    break 2
4017  fi
4018done
4019  done
4020IFS=$as_save_IFS
4021
4022fi
4023fi
4024ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4025if test -n "$ac_ct_STRIP"; then
4026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4027$as_echo "$ac_ct_STRIP" >&6; }
4028else
4029  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030$as_echo "no" >&6; }
4031fi
4032
4033  if test "x$ac_ct_STRIP" = x; then
4034    STRIP=":"
4035  else
4036    case $cross_compiling:$ac_tool_warned in
4037yes:)
4038{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4039$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4040ac_tool_warned=yes ;;
4041esac
4042    STRIP=$ac_ct_STRIP
4043  fi
4044else
4045  STRIP="$ac_cv_prog_STRIP"
4046fi
4047
4048fi
4049INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4050
4051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4052$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4053if test -z "$MKDIR_P"; then
4054  if ${ac_cv_path_mkdir+:} false; then :
4055  $as_echo_n "(cached) " >&6
4056else
4057  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4059do
4060  IFS=$as_save_IFS
4061  test -z "$as_dir" && as_dir=.
4062    for ac_prog in mkdir gmkdir; do
4063	 for ac_exec_ext in '' $ac_executable_extensions; do
4064	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4065	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4066	     'mkdir (GNU coreutils) '* | \
4067	     'mkdir (coreutils) '* | \
4068	     'mkdir (fileutils) '4.1*)
4069	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4070	       break 3;;
4071	   esac
4072	 done
4073       done
4074  done
4075IFS=$as_save_IFS
4076
4077fi
4078
4079  test -d ./--version && rmdir ./--version
4080  if test "${ac_cv_path_mkdir+set}" = set; then
4081    MKDIR_P="$ac_cv_path_mkdir -p"
4082  else
4083    # As a last resort, use the slow shell script.  Don't cache a
4084    # value for MKDIR_P within a source directory, because that will
4085    # break other packages using the cache if that directory is
4086    # removed, or if the value is a relative name.
4087    MKDIR_P="$ac_install_sh -d"
4088  fi
4089fi
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4091$as_echo "$MKDIR_P" >&6; }
4092
4093mkdir_p="$MKDIR_P"
4094case $mkdir_p in
4095  [\\/$]* | ?:[\\/]*) ;;
4096  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4097esac
4098
4099for ac_prog in gawk mawk nawk awk
4100do
4101  # Extract the first word of "$ac_prog", so it can be a program name with args.
4102set dummy $ac_prog; ac_word=$2
4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104$as_echo_n "checking for $ac_word... " >&6; }
4105if ${ac_cv_prog_AWK+:} false; then :
4106  $as_echo_n "(cached) " >&6
4107else
4108  if test -n "$AWK"; then
4109  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4110else
4111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112for as_dir in $PATH
4113do
4114  IFS=$as_save_IFS
4115  test -z "$as_dir" && as_dir=.
4116    for ac_exec_ext in '' $ac_executable_extensions; do
4117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4118    ac_cv_prog_AWK="$ac_prog"
4119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120    break 2
4121  fi
4122done
4123  done
4124IFS=$as_save_IFS
4125
4126fi
4127fi
4128AWK=$ac_cv_prog_AWK
4129if test -n "$AWK"; then
4130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4131$as_echo "$AWK" >&6; }
4132else
4133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134$as_echo "no" >&6; }
4135fi
4136
4137
4138  test -n "$AWK" && break
4139done
4140
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4142$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4143set x ${MAKE-make}
4144ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4145if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4146  $as_echo_n "(cached) " >&6
4147else
4148  cat >conftest.make <<\_ACEOF
4149SHELL = /bin/sh
4150all:
4151	@echo '@@@%%%=$(MAKE)=@@@%%%'
4152_ACEOF
4153# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4154case `${MAKE-make} -f conftest.make 2>/dev/null` in
4155  *@@@%%%=?*=@@@%%%*)
4156    eval ac_cv_prog_make_${ac_make}_set=yes;;
4157  *)
4158    eval ac_cv_prog_make_${ac_make}_set=no;;
4159esac
4160rm -f conftest.make
4161fi
4162if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4164$as_echo "yes" >&6; }
4165  SET_MAKE=
4166else
4167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4168$as_echo "no" >&6; }
4169  SET_MAKE="MAKE=${MAKE-make}"
4170fi
4171
4172rm -rf .tst 2>/dev/null
4173mkdir .tst 2>/dev/null
4174if test -d .tst; then
4175  am__leading_dot=.
4176else
4177  am__leading_dot=_
4178fi
4179rmdir .tst 2>/dev/null
4180
4181DEPDIR="${am__leading_dot}deps"
4182
4183ac_config_commands="$ac_config_commands depfiles"
4184
4185
4186am_make=${MAKE-make}
4187cat > confinc << 'END'
4188am__doit:
4189	@echo this is the am__doit target
4190.PHONY: am__doit
4191END
4192# If we don't find an include directive, just comment out the code.
4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4194$as_echo_n "checking for style of include used by $am_make... " >&6; }
4195am__include="#"
4196am__quote=
4197_am_result=none
4198# First try GNU make style include.
4199echo "include confinc" > confmf
4200# Ignore all kinds of additional output from `make'.
4201case `$am_make -s -f confmf 2> /dev/null` in #(
4202*the\ am__doit\ target*)
4203  am__include=include
4204  am__quote=
4205  _am_result=GNU
4206  ;;
4207esac
4208# Now try BSD make style include.
4209if test "$am__include" = "#"; then
4210   echo '.include "confinc"' > confmf
4211   case `$am_make -s -f confmf 2> /dev/null` in #(
4212   *the\ am__doit\ target*)
4213     am__include=.include
4214     am__quote="\""
4215     _am_result=BSD
4216     ;;
4217   esac
4218fi
4219
4220
4221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4222$as_echo "$_am_result" >&6; }
4223rm -f confinc confmf
4224
4225# Check whether --enable-dependency-tracking was given.
4226if test "${enable_dependency_tracking+set}" = set; then :
4227  enableval=$enable_dependency_tracking;
4228fi
4229
4230if test "x$enable_dependency_tracking" != xno; then
4231  am_depcomp="$ac_aux_dir/depcomp"
4232  AMDEPBACKSLASH='\'
4233  am__nodep='_no'
4234fi
4235 if test "x$enable_dependency_tracking" != xno; then
4236  AMDEP_TRUE=
4237  AMDEP_FALSE='#'
4238else
4239  AMDEP_TRUE='#'
4240  AMDEP_FALSE=
4241fi
4242
4243
4244if test "`cd $srcdir && pwd`" != "`pwd`"; then
4245  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4246  # is not polluted with repeated "-I."
4247  am__isrc=' -I$(srcdir)'
4248  # test to see if srcdir already configured
4249  if test -f $srcdir/config.status; then
4250    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4251  fi
4252fi
4253
4254# test whether we have cygpath
4255if test -z "$CYGPATH_W"; then
4256  if (cygpath --version) >/dev/null 2>/dev/null; then
4257    CYGPATH_W='cygpath -w'
4258  else
4259    CYGPATH_W=echo
4260  fi
4261fi
4262
4263
4264# Define the identity of the package.
4265 PACKAGE='libxcb'
4266 VERSION='1.9'
4267
4268
4269cat >>confdefs.h <<_ACEOF
4270#define PACKAGE "$PACKAGE"
4271_ACEOF
4272
4273
4274cat >>confdefs.h <<_ACEOF
4275#define VERSION "$VERSION"
4276_ACEOF
4277
4278# Some tools Automake needs.
4279
4280ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4281
4282
4283AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4284
4285
4286AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4287
4288
4289AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4290
4291
4292MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4293
4294# We need awk for the "check" target.  The system "awk" is bad on
4295# some platforms.
4296# Always define AMTAR for backward compatibility.  Yes, it's still used
4297# in the wild :-(  We should find a proper way to deprecate it ...
4298AMTAR='$${TAR-tar}'
4299
4300am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4301
4302
4303
4304
4305depcc="$CC"   am_compiler_list=
4306
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4308$as_echo_n "checking dependency style of $depcc... " >&6; }
4309if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4310  $as_echo_n "(cached) " >&6
4311else
4312  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4313  # We make a subdir and do the tests there.  Otherwise we can end up
4314  # making bogus files that we don't know about and never remove.  For
4315  # instance it was reported that on HP-UX the gcc test will end up
4316  # making a dummy file named `D' -- because `-MD' means `put the output
4317  # in D'.
4318  rm -rf conftest.dir
4319  mkdir conftest.dir
4320  # Copy depcomp to subdir because otherwise we won't find it if we're
4321  # using a relative directory.
4322  cp "$am_depcomp" conftest.dir
4323  cd conftest.dir
4324  # We will build objects and dependencies in a subdirectory because
4325  # it helps to detect inapplicable dependency modes.  For instance
4326  # both Tru64's cc and ICC support -MD to output dependencies as a
4327  # side effect of compilation, but ICC will put the dependencies in
4328  # the current directory while Tru64 will put them in the object
4329  # directory.
4330  mkdir sub
4331
4332  am_cv_CC_dependencies_compiler_type=none
4333  if test "$am_compiler_list" = ""; then
4334     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4335  fi
4336  am__universal=false
4337  case " $depcc " in #(
4338     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4339     esac
4340
4341  for depmode in $am_compiler_list; do
4342    # Setup a source with many dependencies, because some compilers
4343    # like to wrap large dependency lists on column 80 (with \), and
4344    # we should not choose a depcomp mode which is confused by this.
4345    #
4346    # We need to recreate these files for each test, as the compiler may
4347    # overwrite some of them when testing with obscure command lines.
4348    # This happens at least with the AIX C compiler.
4349    : > sub/conftest.c
4350    for i in 1 2 3 4 5 6; do
4351      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4352      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4353      # Solaris 8's {/usr,}/bin/sh.
4354      touch sub/conftst$i.h
4355    done
4356    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4357
4358    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4359    # mode.  It turns out that the SunPro C++ compiler does not properly
4360    # handle `-M -o', and we need to detect this.  Also, some Intel
4361    # versions had trouble with output in subdirs
4362    am__obj=sub/conftest.${OBJEXT-o}
4363    am__minus_obj="-o $am__obj"
4364    case $depmode in
4365    gcc)
4366      # This depmode causes a compiler race in universal mode.
4367      test "$am__universal" = false || continue
4368      ;;
4369    nosideeffect)
4370      # after this tag, mechanisms are not by side-effect, so they'll
4371      # only be used when explicitly requested
4372      if test "x$enable_dependency_tracking" = xyes; then
4373	continue
4374      else
4375	break
4376      fi
4377      ;;
4378    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4379      # This compiler won't grok `-c -o', but also, the minuso test has
4380      # not run yet.  These depmodes are late enough in the game, and
4381      # so weak that their functioning should not be impacted.
4382      am__obj=conftest.${OBJEXT-o}
4383      am__minus_obj=
4384      ;;
4385    none) break ;;
4386    esac
4387    if depmode=$depmode \
4388       source=sub/conftest.c object=$am__obj \
4389       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4390       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4391         >/dev/null 2>conftest.err &&
4392       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4393       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4394       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4395       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4396      # icc doesn't choke on unknown options, it will just issue warnings
4397      # or remarks (even with -Werror).  So we grep stderr for any message
4398      # that says an option was ignored or not supported.
4399      # When given -MP, icc 7.0 and 7.1 complain thusly:
4400      #   icc: Command line warning: ignoring option '-M'; no argument required
4401      # The diagnosis changed in icc 8.0:
4402      #   icc: Command line remark: option '-MP' not supported
4403      if (grep 'ignoring option' conftest.err ||
4404          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4405        am_cv_CC_dependencies_compiler_type=$depmode
4406        break
4407      fi
4408    fi
4409  done
4410
4411  cd ..
4412  rm -rf conftest.dir
4413else
4414  am_cv_CC_dependencies_compiler_type=none
4415fi
4416
4417fi
4418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4419$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4420CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4421
4422 if
4423  test "x$enable_dependency_tracking" != xno \
4424  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4425  am__fastdepCC_TRUE=
4426  am__fastdepCC_FALSE='#'
4427else
4428  am__fastdepCC_TRUE='#'
4429  am__fastdepCC_FALSE=
4430fi
4431
4432
4433
4434# Check whether --enable-silent-rules was given.
4435if test "${enable_silent_rules+set}" = set; then :
4436  enableval=$enable_silent_rules;
4437fi
4438
4439case $enable_silent_rules in
4440yes) AM_DEFAULT_VERBOSITY=0;;
4441no)  AM_DEFAULT_VERBOSITY=1;;
4442*)   AM_DEFAULT_VERBOSITY=0;;
4443esac
4444am_make=${MAKE-make}
4445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4446$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4447if ${am_cv_make_support_nested_variables+:} false; then :
4448  $as_echo_n "(cached) " >&6
4449else
4450  if $as_echo 'TRUE=$(BAR$(V))
4451BAR0=false
4452BAR1=true
4453V=1
4454am__doit:
4455	@$(TRUE)
4456.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4457  am_cv_make_support_nested_variables=yes
4458else
4459  am_cv_make_support_nested_variables=no
4460fi
4461fi
4462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4463$as_echo "$am_cv_make_support_nested_variables" >&6; }
4464if test $am_cv_make_support_nested_variables = yes; then
4465    AM_V='$(V)'
4466  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4467else
4468  AM_V=$AM_DEFAULT_VERBOSITY
4469  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4470fi
4471AM_BACKSLASH='\'
4472
4473
4474
4475
4476
4477
4478
4479
4480        if test -n "$PYTHON"; then
4481      # If the user set $PYTHON, use it and don't search something else.
4482      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
4483$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
4484      prog="import sys
4485# split strings by '.' and convert to numeric.  Append some zeros
4486# because we need at least 4 digits for the hex conversion.
4487# map returns an iterator in Python 3.0 and a list in 2.x
4488minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
4489minverhex = 0
4490# xrange is not present in Python 3.0 and range returns an iterator
4491for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4492sys.exit(sys.hexversion < minverhex)"
4493  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4494   ($PYTHON -c "$prog") >&5 2>&5
4495   ac_status=$?
4496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497   (exit $ac_status); }; then :
4498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4499$as_echo "yes" >&6; }
4500else
4501  as_fn_error $? "too old" "$LINENO" 5
4502fi
4503      am_display_PYTHON=$PYTHON
4504    else
4505      # Otherwise, try each interpreter until we find one that satisfies
4506      # VERSION.
4507      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
4508$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
4509if ${am_cv_pathless_PYTHON+:} false; then :
4510  $as_echo_n "(cached) " >&6
4511else
4512
4513	for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
4514	  test "$am_cv_pathless_PYTHON" = none && break
4515	  prog="import sys
4516# split strings by '.' and convert to numeric.  Append some zeros
4517# because we need at least 4 digits for the hex conversion.
4518# map returns an iterator in Python 3.0 and a list in 2.x
4519minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
4520minverhex = 0
4521# xrange is not present in Python 3.0 and range returns an iterator
4522for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
4523sys.exit(sys.hexversion < minverhex)"
4524  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4525   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4526   ac_status=$?
4527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528   (exit $ac_status); }; then :
4529  break
4530fi
4531	done
4532fi
4533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
4534$as_echo "$am_cv_pathless_PYTHON" >&6; }
4535      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4536      if test "$am_cv_pathless_PYTHON" = none; then
4537	PYTHON=:
4538      else
4539        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4540set dummy $am_cv_pathless_PYTHON; ac_word=$2
4541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542$as_echo_n "checking for $ac_word... " >&6; }
4543if ${ac_cv_path_PYTHON+:} false; then :
4544  $as_echo_n "(cached) " >&6
4545else
4546  case $PYTHON in
4547  [\\/]* | ?:[\\/]*)
4548  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
4549  ;;
4550  *)
4551  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552for as_dir in $PATH
4553do
4554  IFS=$as_save_IFS
4555  test -z "$as_dir" && as_dir=.
4556    for ac_exec_ext in '' $ac_executable_extensions; do
4557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
4559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560    break 2
4561  fi
4562done
4563  done
4564IFS=$as_save_IFS
4565
4566  ;;
4567esac
4568fi
4569PYTHON=$ac_cv_path_PYTHON
4570if test -n "$PYTHON"; then
4571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4572$as_echo "$PYTHON" >&6; }
4573else
4574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575$as_echo "no" >&6; }
4576fi
4577
4578
4579      fi
4580      am_display_PYTHON=$am_cv_pathless_PYTHON
4581    fi
4582
4583
4584  if test "$PYTHON" = :; then
4585      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
4586  else
4587
4588
4589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
4590$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
4591if ${am_cv_python_version+:} false; then :
4592  $as_echo_n "(cached) " >&6
4593else
4594  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
4595fi
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
4597$as_echo "$am_cv_python_version" >&6; }
4598  PYTHON_VERSION=$am_cv_python_version
4599
4600
4601
4602  PYTHON_PREFIX='${prefix}'
4603
4604  PYTHON_EXEC_PREFIX='${exec_prefix}'
4605
4606
4607
4608  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
4609$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
4610if ${am_cv_python_platform+:} false; then :
4611  $as_echo_n "(cached) " >&6
4612else
4613  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4614fi
4615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
4616$as_echo "$am_cv_python_platform" >&6; }
4617  PYTHON_PLATFORM=$am_cv_python_platform
4618
4619
4620
4621
4622            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
4623$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
4624if ${am_cv_python_pythondir+:} false; then :
4625  $as_echo_n "(cached) " >&6
4626else
4627  if test "x$prefix" = xNONE
4628     then
4629       am_py_prefix=$ac_default_prefix
4630     else
4631       am_py_prefix=$prefix
4632     fi
4633     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
4634     case $am_cv_python_pythondir in
4635     $am_py_prefix*)
4636       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
4637       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
4638       ;;
4639     *)
4640       case $am_py_prefix in
4641         /usr|/System*) ;;
4642         *)
4643	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
4644	  ;;
4645       esac
4646       ;;
4647     esac
4648
4649fi
4650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
4651$as_echo "$am_cv_python_pythondir" >&6; }
4652  pythondir=$am_cv_python_pythondir
4653
4654
4655
4656  pkgpythondir=\${pythondir}/$PACKAGE
4657
4658
4659        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
4660$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
4661if ${am_cv_python_pyexecdir+:} false; then :
4662  $as_echo_n "(cached) " >&6
4663else
4664  if test "x$exec_prefix" = xNONE
4665     then
4666       am_py_exec_prefix=$am_py_prefix
4667     else
4668       am_py_exec_prefix=$exec_prefix
4669     fi
4670     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
4671     case $am_cv_python_pyexecdir in
4672     $am_py_exec_prefix*)
4673       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
4674       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
4675       ;;
4676     *)
4677       case $am_py_exec_prefix in
4678         /usr|/System*) ;;
4679         *)
4680	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
4681	   ;;
4682       esac
4683       ;;
4684     esac
4685
4686fi
4687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
4688$as_echo "$am_cv_python_pyexecdir" >&6; }
4689  pyexecdir=$am_cv_python_pyexecdir
4690
4691
4692
4693  pkgpyexecdir=\${pyexecdir}/$PACKAGE
4694
4695
4696
4697  fi
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4709	if test -n "$ac_tool_prefix"; then
4710  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4711set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713$as_echo_n "checking for $ac_word... " >&6; }
4714if ${ac_cv_path_PKG_CONFIG+:} false; then :
4715  $as_echo_n "(cached) " >&6
4716else
4717  case $PKG_CONFIG in
4718  [\\/]* | ?:[\\/]*)
4719  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4720  ;;
4721  *)
4722  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723for as_dir in $PATH
4724do
4725  IFS=$as_save_IFS
4726  test -z "$as_dir" && as_dir=.
4727    for ac_exec_ext in '' $ac_executable_extensions; do
4728  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4730    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731    break 2
4732  fi
4733done
4734  done
4735IFS=$as_save_IFS
4736
4737  ;;
4738esac
4739fi
4740PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4741if test -n "$PKG_CONFIG"; then
4742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4743$as_echo "$PKG_CONFIG" >&6; }
4744else
4745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746$as_echo "no" >&6; }
4747fi
4748
4749
4750fi
4751if test -z "$ac_cv_path_PKG_CONFIG"; then
4752  ac_pt_PKG_CONFIG=$PKG_CONFIG
4753  # Extract the first word of "pkg-config", so it can be a program name with args.
4754set dummy pkg-config; ac_word=$2
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756$as_echo_n "checking for $ac_word... " >&6; }
4757if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760  case $ac_pt_PKG_CONFIG in
4761  [\\/]* | ?:[\\/]*)
4762  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4763  ;;
4764  *)
4765  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766for as_dir in $PATH
4767do
4768  IFS=$as_save_IFS
4769  test -z "$as_dir" && as_dir=.
4770    for ac_exec_ext in '' $ac_executable_extensions; do
4771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4772    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4774    break 2
4775  fi
4776done
4777  done
4778IFS=$as_save_IFS
4779
4780  ;;
4781esac
4782fi
4783ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4784if test -n "$ac_pt_PKG_CONFIG"; then
4785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4786$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4787else
4788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789$as_echo "no" >&6; }
4790fi
4791
4792  if test "x$ac_pt_PKG_CONFIG" = x; then
4793    PKG_CONFIG=""
4794  else
4795    case $cross_compiling:$ac_tool_warned in
4796yes:)
4797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799ac_tool_warned=yes ;;
4800esac
4801    PKG_CONFIG=$ac_pt_PKG_CONFIG
4802  fi
4803else
4804  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4805fi
4806
4807fi
4808if test -n "$PKG_CONFIG"; then
4809	_pkg_min_version=0.9.0
4810	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4811$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4812	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4813		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814$as_echo "yes" >&6; }
4815	else
4816		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817$as_echo "no" >&6; }
4818		PKG_CONFIG=""
4819	fi
4820fi
4821
4822pkg_failed=no
4823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
4824$as_echo_n "checking for CHECK... " >&6; }
4825
4826if test -n "$CHECK_CFLAGS"; then
4827    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
4828 elif test -n "$PKG_CONFIG"; then
4829    if test -n "$PKG_CONFIG" && \
4830    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4831  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4832  ac_status=$?
4833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834  test $ac_status = 0; }; then
4835  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
4836		      test "x$?" != "x0" && pkg_failed=yes
4837else
4838  pkg_failed=yes
4839fi
4840 else
4841    pkg_failed=untried
4842fi
4843if test -n "$CHECK_LIBS"; then
4844    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
4845 elif test -n "$PKG_CONFIG"; then
4846    if test -n "$PKG_CONFIG" && \
4847    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
4848  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
4849  ac_status=$?
4850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851  test $ac_status = 0; }; then
4852  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
4853		      test "x$?" != "x0" && pkg_failed=yes
4854else
4855  pkg_failed=yes
4856fi
4857 else
4858    pkg_failed=untried
4859fi
4860
4861
4862
4863if test $pkg_failed = yes; then
4864   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865$as_echo "no" >&6; }
4866
4867if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4868        _pkg_short_errors_supported=yes
4869else
4870        _pkg_short_errors_supported=no
4871fi
4872        if test $_pkg_short_errors_supported = yes; then
4873	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4874        else
4875	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
4876        fi
4877	# Put the nasty error message in config.log where it belongs
4878	echo "$CHECK_PKG_ERRORS" >&5
4879
4880	HAVE_CHECK=no
4881elif test $pkg_failed = untried; then
4882     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4883$as_echo "no" >&6; }
4884	HAVE_CHECK=no
4885else
4886	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
4887	CHECK_LIBS=$pkg_cv_CHECK_LIBS
4888        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4889$as_echo "yes" >&6; }
4890	HAVE_CHECK=yes
4891fi
4892 if test x$HAVE_CHECK = xyes; then
4893  HAVE_CHECK_TRUE=
4894  HAVE_CHECK_FALSE='#'
4895else
4896  HAVE_CHECK_TRUE='#'
4897  HAVE_CHECK_FALSE=
4898fi
4899
4900
4901ac_config_headers="$ac_config_headers src/config.h"
4902
4903
4904# Make sure we can run config.sub.
4905$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4906  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4907
4908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4909$as_echo_n "checking build system type... " >&6; }
4910if ${ac_cv_build+:} false; then :
4911  $as_echo_n "(cached) " >&6
4912else
4913  ac_build_alias=$build_alias
4914test "x$ac_build_alias" = x &&
4915  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4916test "x$ac_build_alias" = x &&
4917  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4918ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4919  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4920
4921fi
4922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4923$as_echo "$ac_cv_build" >&6; }
4924case $ac_cv_build in
4925*-*-*) ;;
4926*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4927esac
4928build=$ac_cv_build
4929ac_save_IFS=$IFS; IFS='-'
4930set x $ac_cv_build
4931shift
4932build_cpu=$1
4933build_vendor=$2
4934shift; shift
4935# Remember, the first character of IFS is used to create $*,
4936# except with old shells:
4937build_os=$*
4938IFS=$ac_save_IFS
4939case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4940
4941
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4943$as_echo_n "checking host system type... " >&6; }
4944if ${ac_cv_host+:} false; then :
4945  $as_echo_n "(cached) " >&6
4946else
4947  if test "x$host_alias" = x; then
4948  ac_cv_host=$ac_cv_build
4949else
4950  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4951    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4952fi
4953
4954fi
4955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4956$as_echo "$ac_cv_host" >&6; }
4957case $ac_cv_host in
4958*-*-*) ;;
4959*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4960esac
4961host=$ac_cv_host
4962ac_save_IFS=$IFS; IFS='-'
4963set x $ac_cv_host
4964shift
4965host_cpu=$1
4966host_vendor=$2
4967shift; shift
4968# Remember, the first character of IFS is used to create $*,
4969# except with old shells:
4970host_os=$*
4971IFS=$ac_save_IFS
4972case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4973
4974
4975enable_win32_dll=yes
4976
4977case $host in
4978*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4979  if test -n "$ac_tool_prefix"; then
4980  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4981set dummy ${ac_tool_prefix}as; ac_word=$2
4982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983$as_echo_n "checking for $ac_word... " >&6; }
4984if ${ac_cv_prog_AS+:} false; then :
4985  $as_echo_n "(cached) " >&6
4986else
4987  if test -n "$AS"; then
4988  ac_cv_prog_AS="$AS" # Let the user override the test.
4989else
4990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991for as_dir in $PATH
4992do
4993  IFS=$as_save_IFS
4994  test -z "$as_dir" && as_dir=.
4995    for ac_exec_ext in '' $ac_executable_extensions; do
4996  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997    ac_cv_prog_AS="${ac_tool_prefix}as"
4998    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999    break 2
5000  fi
5001done
5002  done
5003IFS=$as_save_IFS
5004
5005fi
5006fi
5007AS=$ac_cv_prog_AS
5008if test -n "$AS"; then
5009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5010$as_echo "$AS" >&6; }
5011else
5012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013$as_echo "no" >&6; }
5014fi
5015
5016
5017fi
5018if test -z "$ac_cv_prog_AS"; then
5019  ac_ct_AS=$AS
5020  # Extract the first word of "as", so it can be a program name with args.
5021set dummy as; ac_word=$2
5022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023$as_echo_n "checking for $ac_word... " >&6; }
5024if ${ac_cv_prog_ac_ct_AS+:} false; then :
5025  $as_echo_n "(cached) " >&6
5026else
5027  if test -n "$ac_ct_AS"; then
5028  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5029else
5030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031for as_dir in $PATH
5032do
5033  IFS=$as_save_IFS
5034  test -z "$as_dir" && as_dir=.
5035    for ac_exec_ext in '' $ac_executable_extensions; do
5036  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037    ac_cv_prog_ac_ct_AS="as"
5038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039    break 2
5040  fi
5041done
5042  done
5043IFS=$as_save_IFS
5044
5045fi
5046fi
5047ac_ct_AS=$ac_cv_prog_ac_ct_AS
5048if test -n "$ac_ct_AS"; then
5049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5050$as_echo "$ac_ct_AS" >&6; }
5051else
5052  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053$as_echo "no" >&6; }
5054fi
5055
5056  if test "x$ac_ct_AS" = x; then
5057    AS="false"
5058  else
5059    case $cross_compiling:$ac_tool_warned in
5060yes:)
5061{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063ac_tool_warned=yes ;;
5064esac
5065    AS=$ac_ct_AS
5066  fi
5067else
5068  AS="$ac_cv_prog_AS"
5069fi
5070
5071  if test -n "$ac_tool_prefix"; then
5072  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5073set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075$as_echo_n "checking for $ac_word... " >&6; }
5076if ${ac_cv_prog_DLLTOOL+:} false; then :
5077  $as_echo_n "(cached) " >&6
5078else
5079  if test -n "$DLLTOOL"; then
5080  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5081else
5082as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083for as_dir in $PATH
5084do
5085  IFS=$as_save_IFS
5086  test -z "$as_dir" && as_dir=.
5087    for ac_exec_ext in '' $ac_executable_extensions; do
5088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091    break 2
5092  fi
5093done
5094  done
5095IFS=$as_save_IFS
5096
5097fi
5098fi
5099DLLTOOL=$ac_cv_prog_DLLTOOL
5100if test -n "$DLLTOOL"; then
5101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5102$as_echo "$DLLTOOL" >&6; }
5103else
5104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105$as_echo "no" >&6; }
5106fi
5107
5108
5109fi
5110if test -z "$ac_cv_prog_DLLTOOL"; then
5111  ac_ct_DLLTOOL=$DLLTOOL
5112  # Extract the first word of "dlltool", so it can be a program name with args.
5113set dummy dlltool; ac_word=$2
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115$as_echo_n "checking for $ac_word... " >&6; }
5116if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5117  $as_echo_n "(cached) " >&6
5118else
5119  if test -n "$ac_ct_DLLTOOL"; then
5120  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5121else
5122as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123for as_dir in $PATH
5124do
5125  IFS=$as_save_IFS
5126  test -z "$as_dir" && as_dir=.
5127    for ac_exec_ext in '' $ac_executable_extensions; do
5128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5129    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131    break 2
5132  fi
5133done
5134  done
5135IFS=$as_save_IFS
5136
5137fi
5138fi
5139ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5140if test -n "$ac_ct_DLLTOOL"; then
5141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5142$as_echo "$ac_ct_DLLTOOL" >&6; }
5143else
5144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145$as_echo "no" >&6; }
5146fi
5147
5148  if test "x$ac_ct_DLLTOOL" = x; then
5149    DLLTOOL="false"
5150  else
5151    case $cross_compiling:$ac_tool_warned in
5152yes:)
5153{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5154$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5155ac_tool_warned=yes ;;
5156esac
5157    DLLTOOL=$ac_ct_DLLTOOL
5158  fi
5159else
5160  DLLTOOL="$ac_cv_prog_DLLTOOL"
5161fi
5162
5163  if test -n "$ac_tool_prefix"; then
5164  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5165set dummy ${ac_tool_prefix}objdump; ac_word=$2
5166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167$as_echo_n "checking for $ac_word... " >&6; }
5168if ${ac_cv_prog_OBJDUMP+:} false; then :
5169  $as_echo_n "(cached) " >&6
5170else
5171  if test -n "$OBJDUMP"; then
5172  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5173else
5174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175for as_dir in $PATH
5176do
5177  IFS=$as_save_IFS
5178  test -z "$as_dir" && as_dir=.
5179    for ac_exec_ext in '' $ac_executable_extensions; do
5180  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5182    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183    break 2
5184  fi
5185done
5186  done
5187IFS=$as_save_IFS
5188
5189fi
5190fi
5191OBJDUMP=$ac_cv_prog_OBJDUMP
5192if test -n "$OBJDUMP"; then
5193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5194$as_echo "$OBJDUMP" >&6; }
5195else
5196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197$as_echo "no" >&6; }
5198fi
5199
5200
5201fi
5202if test -z "$ac_cv_prog_OBJDUMP"; then
5203  ac_ct_OBJDUMP=$OBJDUMP
5204  # Extract the first word of "objdump", so it can be a program name with args.
5205set dummy objdump; ac_word=$2
5206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207$as_echo_n "checking for $ac_word... " >&6; }
5208if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5209  $as_echo_n "(cached) " >&6
5210else
5211  if test -n "$ac_ct_OBJDUMP"; then
5212  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5213else
5214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215for as_dir in $PATH
5216do
5217  IFS=$as_save_IFS
5218  test -z "$as_dir" && as_dir=.
5219    for ac_exec_ext in '' $ac_executable_extensions; do
5220  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5222    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223    break 2
5224  fi
5225done
5226  done
5227IFS=$as_save_IFS
5228
5229fi
5230fi
5231ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5232if test -n "$ac_ct_OBJDUMP"; then
5233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5234$as_echo "$ac_ct_OBJDUMP" >&6; }
5235else
5236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237$as_echo "no" >&6; }
5238fi
5239
5240  if test "x$ac_ct_OBJDUMP" = x; then
5241    OBJDUMP="false"
5242  else
5243    case $cross_compiling:$ac_tool_warned in
5244yes:)
5245{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247ac_tool_warned=yes ;;
5248esac
5249    OBJDUMP=$ac_ct_OBJDUMP
5250  fi
5251else
5252  OBJDUMP="$ac_cv_prog_OBJDUMP"
5253fi
5254
5255  ;;
5256esac
5257
5258test -z "$AS" && AS=as
5259
5260
5261
5262
5263
5264test -z "$DLLTOOL" && DLLTOOL=dlltool
5265
5266
5267
5268
5269
5270test -z "$OBJDUMP" && OBJDUMP=objdump
5271
5272
5273
5274
5275
5276
5277
5278case `pwd` in
5279  *\ * | *\	*)
5280    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5281$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5282esac
5283
5284
5285
5286macro_version='2.4.2'
5287macro_revision='1.3337'
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301ltmain="$ac_aux_dir/ltmain.sh"
5302
5303# Backslashify metacharacters that are still active within
5304# double-quoted strings.
5305sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5306
5307# Same as above, but do not quote variable references.
5308double_quote_subst='s/\(["`\\]\)/\\\1/g'
5309
5310# Sed substitution to delay expansion of an escaped shell variable in a
5311# double_quote_subst'ed string.
5312delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5313
5314# Sed substitution to delay expansion of an escaped single quote.
5315delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5316
5317# Sed substitution to avoid accidental globbing in evaled expressions
5318no_glob_subst='s/\*/\\\*/g'
5319
5320ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5321ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5322ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5323
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5325$as_echo_n "checking how to print strings... " >&6; }
5326# Test print first, because it will be a builtin if present.
5327if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5328   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5329  ECHO='print -r --'
5330elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5331  ECHO='printf %s\n'
5332else
5333  # Use this function as a fallback that always works.
5334  func_fallback_echo ()
5335  {
5336    eval 'cat <<_LTECHO_EOF
5337$1
5338_LTECHO_EOF'
5339  }
5340  ECHO='func_fallback_echo'
5341fi
5342
5343# func_echo_all arg...
5344# Invoke $ECHO with all args, space-separated.
5345func_echo_all ()
5346{
5347    $ECHO ""
5348}
5349
5350case "$ECHO" in
5351  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5352$as_echo "printf" >&6; } ;;
5353  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5354$as_echo "print -r" >&6; } ;;
5355  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5356$as_echo "cat" >&6; } ;;
5357esac
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5373$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5374if ${ac_cv_path_SED+:} false; then :
5375  $as_echo_n "(cached) " >&6
5376else
5377            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5378     for ac_i in 1 2 3 4 5 6 7; do
5379       ac_script="$ac_script$as_nl$ac_script"
5380     done
5381     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5382     { ac_script=; unset ac_script;}
5383     if test -z "$SED"; then
5384  ac_path_SED_found=false
5385  # Loop through the user's path and test for each of PROGNAME-LIST
5386  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387for as_dir in $PATH
5388do
5389  IFS=$as_save_IFS
5390  test -z "$as_dir" && as_dir=.
5391    for ac_prog in sed gsed; do
5392    for ac_exec_ext in '' $ac_executable_extensions; do
5393      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5394      as_fn_executable_p "$ac_path_SED" || continue
5395# Check for GNU ac_path_SED and select it if it is found.
5396  # Check for GNU $ac_path_SED
5397case `"$ac_path_SED" --version 2>&1` in
5398*GNU*)
5399  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5400*)
5401  ac_count=0
5402  $as_echo_n 0123456789 >"conftest.in"
5403  while :
5404  do
5405    cat "conftest.in" "conftest.in" >"conftest.tmp"
5406    mv "conftest.tmp" "conftest.in"
5407    cp "conftest.in" "conftest.nl"
5408    $as_echo '' >> "conftest.nl"
5409    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5410    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5411    as_fn_arith $ac_count + 1 && ac_count=$as_val
5412    if test $ac_count -gt ${ac_path_SED_max-0}; then
5413      # Best one so far, save it but keep looking for a better one
5414      ac_cv_path_SED="$ac_path_SED"
5415      ac_path_SED_max=$ac_count
5416    fi
5417    # 10*(2^10) chars as input seems more than enough
5418    test $ac_count -gt 10 && break
5419  done
5420  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421esac
5422
5423      $ac_path_SED_found && break 3
5424    done
5425  done
5426  done
5427IFS=$as_save_IFS
5428  if test -z "$ac_cv_path_SED"; then
5429    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5430  fi
5431else
5432  ac_cv_path_SED=$SED
5433fi
5434
5435fi
5436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5437$as_echo "$ac_cv_path_SED" >&6; }
5438 SED="$ac_cv_path_SED"
5439  rm -f conftest.sed
5440
5441test -z "$SED" && SED=sed
5442Xsed="$SED -e 1s/^X//"
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5455$as_echo_n "checking for fgrep... " >&6; }
5456if ${ac_cv_path_FGREP+:} false; then :
5457  $as_echo_n "(cached) " >&6
5458else
5459  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5460   then ac_cv_path_FGREP="$GREP -F"
5461   else
5462     if test -z "$FGREP"; then
5463  ac_path_FGREP_found=false
5464  # Loop through the user's path and test for each of PROGNAME-LIST
5465  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467do
5468  IFS=$as_save_IFS
5469  test -z "$as_dir" && as_dir=.
5470    for ac_prog in fgrep; do
5471    for ac_exec_ext in '' $ac_executable_extensions; do
5472      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5473      as_fn_executable_p "$ac_path_FGREP" || continue
5474# Check for GNU ac_path_FGREP and select it if it is found.
5475  # Check for GNU $ac_path_FGREP
5476case `"$ac_path_FGREP" --version 2>&1` in
5477*GNU*)
5478  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5479*)
5480  ac_count=0
5481  $as_echo_n 0123456789 >"conftest.in"
5482  while :
5483  do
5484    cat "conftest.in" "conftest.in" >"conftest.tmp"
5485    mv "conftest.tmp" "conftest.in"
5486    cp "conftest.in" "conftest.nl"
5487    $as_echo 'FGREP' >> "conftest.nl"
5488    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490    as_fn_arith $ac_count + 1 && ac_count=$as_val
5491    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5492      # Best one so far, save it but keep looking for a better one
5493      ac_cv_path_FGREP="$ac_path_FGREP"
5494      ac_path_FGREP_max=$ac_count
5495    fi
5496    # 10*(2^10) chars as input seems more than enough
5497    test $ac_count -gt 10 && break
5498  done
5499  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500esac
5501
5502      $ac_path_FGREP_found && break 3
5503    done
5504  done
5505  done
5506IFS=$as_save_IFS
5507  if test -z "$ac_cv_path_FGREP"; then
5508    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509  fi
5510else
5511  ac_cv_path_FGREP=$FGREP
5512fi
5513
5514   fi
5515fi
5516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5517$as_echo "$ac_cv_path_FGREP" >&6; }
5518 FGREP="$ac_cv_path_FGREP"
5519
5520
5521test -z "$GREP" && GREP=grep
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541# Check whether --with-gnu-ld was given.
5542if test "${with_gnu_ld+set}" = set; then :
5543  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5544else
5545  with_gnu_ld=no
5546fi
5547
5548ac_prog=ld
5549if test "$GCC" = yes; then
5550  # Check if gcc -print-prog-name=ld gives a path.
5551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5552$as_echo_n "checking for ld used by $CC... " >&6; }
5553  case $host in
5554  *-*-mingw*)
5555    # gcc leaves a trailing carriage return which upsets mingw
5556    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5557  *)
5558    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5559  esac
5560  case $ac_prog in
5561    # Accept absolute paths.
5562    [\\/]* | ?:[\\/]*)
5563      re_direlt='/[^/][^/]*/\.\./'
5564      # Canonicalize the pathname of ld
5565      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5566      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5567	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5568      done
5569      test -z "$LD" && LD="$ac_prog"
5570      ;;
5571  "")
5572    # If it fails, then pretend we aren't using GCC.
5573    ac_prog=ld
5574    ;;
5575  *)
5576    # If it is relative, then search for the first ld in PATH.
5577    with_gnu_ld=unknown
5578    ;;
5579  esac
5580elif test "$with_gnu_ld" = yes; then
5581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5582$as_echo_n "checking for GNU ld... " >&6; }
5583else
5584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5585$as_echo_n "checking for non-GNU ld... " >&6; }
5586fi
5587if ${lt_cv_path_LD+:} false; then :
5588  $as_echo_n "(cached) " >&6
5589else
5590  if test -z "$LD"; then
5591  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5592  for ac_dir in $PATH; do
5593    IFS="$lt_save_ifs"
5594    test -z "$ac_dir" && ac_dir=.
5595    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5596      lt_cv_path_LD="$ac_dir/$ac_prog"
5597      # Check to see if the program is GNU ld.  I'd rather use --version,
5598      # but apparently some variants of GNU ld only accept -v.
5599      # Break only if it was the GNU/non-GNU ld that we prefer.
5600      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5601      *GNU* | *'with BFD'*)
5602	test "$with_gnu_ld" != no && break
5603	;;
5604      *)
5605	test "$with_gnu_ld" != yes && break
5606	;;
5607      esac
5608    fi
5609  done
5610  IFS="$lt_save_ifs"
5611else
5612  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5613fi
5614fi
5615
5616LD="$lt_cv_path_LD"
5617if test -n "$LD"; then
5618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5619$as_echo "$LD" >&6; }
5620else
5621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622$as_echo "no" >&6; }
5623fi
5624test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5626$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5627if ${lt_cv_prog_gnu_ld+:} false; then :
5628  $as_echo_n "(cached) " >&6
5629else
5630  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5631case `$LD -v 2>&1 </dev/null` in
5632*GNU* | *'with BFD'*)
5633  lt_cv_prog_gnu_ld=yes
5634  ;;
5635*)
5636  lt_cv_prog_gnu_ld=no
5637  ;;
5638esac
5639fi
5640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5641$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5642with_gnu_ld=$lt_cv_prog_gnu_ld
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5653$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5654if ${lt_cv_path_NM+:} false; then :
5655  $as_echo_n "(cached) " >&6
5656else
5657  if test -n "$NM"; then
5658  # Let the user override the test.
5659  lt_cv_path_NM="$NM"
5660else
5661  lt_nm_to_check="${ac_tool_prefix}nm"
5662  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5663    lt_nm_to_check="$lt_nm_to_check nm"
5664  fi
5665  for lt_tmp_nm in $lt_nm_to_check; do
5666    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5667    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5668      IFS="$lt_save_ifs"
5669      test -z "$ac_dir" && ac_dir=.
5670      tmp_nm="$ac_dir/$lt_tmp_nm"
5671      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5672	# Check to see if the nm accepts a BSD-compat flag.
5673	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5674	#   nm: unknown option "B" ignored
5675	# Tru64's nm complains that /dev/null is an invalid object file
5676	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5677	*/dev/null* | *'Invalid file or object type'*)
5678	  lt_cv_path_NM="$tmp_nm -B"
5679	  break
5680	  ;;
5681	*)
5682	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5683	  */dev/null*)
5684	    lt_cv_path_NM="$tmp_nm -p"
5685	    break
5686	    ;;
5687	  *)
5688	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5689	    continue # so that we can try to find one that supports BSD flags
5690	    ;;
5691	  esac
5692	  ;;
5693	esac
5694      fi
5695    done
5696    IFS="$lt_save_ifs"
5697  done
5698  : ${lt_cv_path_NM=no}
5699fi
5700fi
5701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5702$as_echo "$lt_cv_path_NM" >&6; }
5703if test "$lt_cv_path_NM" != "no"; then
5704  NM="$lt_cv_path_NM"
5705else
5706  # Didn't find any BSD compatible name lister, look for dumpbin.
5707  if test -n "$DUMPBIN"; then :
5708    # Let the user override the test.
5709  else
5710    if test -n "$ac_tool_prefix"; then
5711  for ac_prog in dumpbin "link -dump"
5712  do
5713    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5714set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716$as_echo_n "checking for $ac_word... " >&6; }
5717if ${ac_cv_prog_DUMPBIN+:} false; then :
5718  $as_echo_n "(cached) " >&6
5719else
5720  if test -n "$DUMPBIN"; then
5721  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5722else
5723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724for as_dir in $PATH
5725do
5726  IFS=$as_save_IFS
5727  test -z "$as_dir" && as_dir=.
5728    for ac_exec_ext in '' $ac_executable_extensions; do
5729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732    break 2
5733  fi
5734done
5735  done
5736IFS=$as_save_IFS
5737
5738fi
5739fi
5740DUMPBIN=$ac_cv_prog_DUMPBIN
5741if test -n "$DUMPBIN"; then
5742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5743$as_echo "$DUMPBIN" >&6; }
5744else
5745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746$as_echo "no" >&6; }
5747fi
5748
5749
5750    test -n "$DUMPBIN" && break
5751  done
5752fi
5753if test -z "$DUMPBIN"; then
5754  ac_ct_DUMPBIN=$DUMPBIN
5755  for ac_prog in dumpbin "link -dump"
5756do
5757  # Extract the first word of "$ac_prog", so it can be a program name with args.
5758set dummy $ac_prog; ac_word=$2
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760$as_echo_n "checking for $ac_word... " >&6; }
5761if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5762  $as_echo_n "(cached) " >&6
5763else
5764  if test -n "$ac_ct_DUMPBIN"; then
5765  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5766else
5767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768for as_dir in $PATH
5769do
5770  IFS=$as_save_IFS
5771  test -z "$as_dir" && as_dir=.
5772    for ac_exec_ext in '' $ac_executable_extensions; do
5773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776    break 2
5777  fi
5778done
5779  done
5780IFS=$as_save_IFS
5781
5782fi
5783fi
5784ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5785if test -n "$ac_ct_DUMPBIN"; then
5786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5787$as_echo "$ac_ct_DUMPBIN" >&6; }
5788else
5789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790$as_echo "no" >&6; }
5791fi
5792
5793
5794  test -n "$ac_ct_DUMPBIN" && break
5795done
5796
5797  if test "x$ac_ct_DUMPBIN" = x; then
5798    DUMPBIN=":"
5799  else
5800    case $cross_compiling:$ac_tool_warned in
5801yes:)
5802{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5803$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5804ac_tool_warned=yes ;;
5805esac
5806    DUMPBIN=$ac_ct_DUMPBIN
5807  fi
5808fi
5809
5810    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5811    *COFF*)
5812      DUMPBIN="$DUMPBIN -symbols"
5813      ;;
5814    *)
5815      DUMPBIN=:
5816      ;;
5817    esac
5818  fi
5819
5820  if test "$DUMPBIN" != ":"; then
5821    NM="$DUMPBIN"
5822  fi
5823fi
5824test -z "$NM" && NM=nm
5825
5826
5827
5828
5829
5830
5831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5832$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5833if ${lt_cv_nm_interface+:} false; then :
5834  $as_echo_n "(cached) " >&6
5835else
5836  lt_cv_nm_interface="BSD nm"
5837  echo "int some_variable = 0;" > conftest.$ac_ext
5838  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5839  (eval "$ac_compile" 2>conftest.err)
5840  cat conftest.err >&5
5841  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5842  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5843  cat conftest.err >&5
5844  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5845  cat conftest.out >&5
5846  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5847    lt_cv_nm_interface="MS dumpbin"
5848  fi
5849  rm -f conftest*
5850fi
5851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5852$as_echo "$lt_cv_nm_interface" >&6; }
5853
5854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5855$as_echo_n "checking whether ln -s works... " >&6; }
5856LN_S=$as_ln_s
5857if test "$LN_S" = "ln -s"; then
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5859$as_echo "yes" >&6; }
5860else
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5862$as_echo "no, using $LN_S" >&6; }
5863fi
5864
5865# find the maximum length of command line arguments
5866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868if ${lt_cv_sys_max_cmd_len+:} false; then :
5869  $as_echo_n "(cached) " >&6
5870else
5871    i=0
5872  teststring="ABCD"
5873
5874  case $build_os in
5875  msdosdjgpp*)
5876    # On DJGPP, this test can blow up pretty badly due to problems in libc
5877    # (any single argument exceeding 2000 bytes causes a buffer overrun
5878    # during glob expansion).  Even if it were fixed, the result of this
5879    # check would be larger than it should be.
5880    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5881    ;;
5882
5883  gnu*)
5884    # Under GNU Hurd, this test is not required because there is
5885    # no limit to the length of command line arguments.
5886    # Libtool will interpret -1 as no limit whatsoever
5887    lt_cv_sys_max_cmd_len=-1;
5888    ;;
5889
5890  cygwin* | mingw* | cegcc*)
5891    # On Win9x/ME, this test blows up -- it succeeds, but takes
5892    # about 5 minutes as the teststring grows exponentially.
5893    # Worse, since 9x/ME are not pre-emptively multitasking,
5894    # you end up with a "frozen" computer, even though with patience
5895    # the test eventually succeeds (with a max line length of 256k).
5896    # Instead, let's just punt: use the minimum linelength reported by
5897    # all of the supported platforms: 8192 (on NT/2K/XP).
5898    lt_cv_sys_max_cmd_len=8192;
5899    ;;
5900
5901  mint*)
5902    # On MiNT this can take a long time and run out of memory.
5903    lt_cv_sys_max_cmd_len=8192;
5904    ;;
5905
5906  amigaos*)
5907    # On AmigaOS with pdksh, this test takes hours, literally.
5908    # So we just punt and use a minimum line length of 8192.
5909    lt_cv_sys_max_cmd_len=8192;
5910    ;;
5911
5912  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913    # This has been around since 386BSD, at least.  Likely further.
5914    if test -x /sbin/sysctl; then
5915      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916    elif test -x /usr/sbin/sysctl; then
5917      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918    else
5919      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5920    fi
5921    # And add a safety zone
5922    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924    ;;
5925
5926  interix*)
5927    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928    lt_cv_sys_max_cmd_len=196608
5929    ;;
5930
5931  os2*)
5932    # The test takes a long time on OS/2.
5933    lt_cv_sys_max_cmd_len=8192
5934    ;;
5935
5936  osf*)
5937    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5938    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5939    # nice to cause kernel panics so lets avoid the loop below.
5940    # First set a reasonable default.
5941    lt_cv_sys_max_cmd_len=16384
5942    #
5943    if test -x /sbin/sysconfig; then
5944      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5945        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5946      esac
5947    fi
5948    ;;
5949  sco3.2v5*)
5950    lt_cv_sys_max_cmd_len=102400
5951    ;;
5952  sysv5* | sco5v6* | sysv4.2uw2*)
5953    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5954    if test -n "$kargmax"; then
5955      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5956    else
5957      lt_cv_sys_max_cmd_len=32768
5958    fi
5959    ;;
5960  *)
5961    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5962    if test -n "$lt_cv_sys_max_cmd_len"; then
5963      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5964      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5965    else
5966      # Make teststring a little bigger before we do anything with it.
5967      # a 1K string should be a reasonable start.
5968      for i in 1 2 3 4 5 6 7 8 ; do
5969        teststring=$teststring$teststring
5970      done
5971      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5972      # If test is not a shell built-in, we'll probably end up computing a
5973      # maximum length that is only half of the actual maximum length, but
5974      # we can't tell.
5975      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5976	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5977	      test $i != 17 # 1/2 MB should be enough
5978      do
5979        i=`expr $i + 1`
5980        teststring=$teststring$teststring
5981      done
5982      # Only check the string length outside the loop.
5983      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5984      teststring=
5985      # Add a significant safety factor because C++ compilers can tack on
5986      # massive amounts of additional arguments before passing them to the
5987      # linker.  It appears as though 1/2 is a usable value.
5988      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5989    fi
5990    ;;
5991  esac
5992
5993fi
5994
5995if test -n $lt_cv_sys_max_cmd_len ; then
5996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5997$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5998else
5999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6000$as_echo "none" >&6; }
6001fi
6002max_cmd_len=$lt_cv_sys_max_cmd_len
6003
6004
6005
6006
6007
6008
6009: ${CP="cp -f"}
6010: ${MV="mv -f"}
6011: ${RM="rm -f"}
6012
6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6014$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6015# Try some XSI features
6016xsi_shell=no
6017( _lt_dummy="a/b/c"
6018  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6019      = c,a/b,b/c, \
6020    && eval 'test $(( 1 + 1 )) -eq 2 \
6021    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6022  && xsi_shell=yes
6023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6024$as_echo "$xsi_shell" >&6; }
6025
6026
6027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6028$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6029lt_shell_append=no
6030( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6031    >/dev/null 2>&1 \
6032  && lt_shell_append=yes
6033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6034$as_echo "$lt_shell_append" >&6; }
6035
6036
6037if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6038  lt_unset=unset
6039else
6040  lt_unset=false
6041fi
6042
6043
6044
6045
6046
6047# test EBCDIC or ASCII
6048case `echo X|tr X '\101'` in
6049 A) # ASCII based system
6050    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6051  lt_SP2NL='tr \040 \012'
6052  lt_NL2SP='tr \015\012 \040\040'
6053  ;;
6054 *) # EBCDIC based system
6055  lt_SP2NL='tr \100 \n'
6056  lt_NL2SP='tr \r\n \100\100'
6057  ;;
6058esac
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6069$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6070if ${lt_cv_to_host_file_cmd+:} false; then :
6071  $as_echo_n "(cached) " >&6
6072else
6073  case $host in
6074  *-*-mingw* )
6075    case $build in
6076      *-*-mingw* ) # actually msys
6077        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6078        ;;
6079      *-*-cygwin* )
6080        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6081        ;;
6082      * ) # otherwise, assume *nix
6083        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6084        ;;
6085    esac
6086    ;;
6087  *-*-cygwin* )
6088    case $build in
6089      *-*-mingw* ) # actually msys
6090        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6091        ;;
6092      *-*-cygwin* )
6093        lt_cv_to_host_file_cmd=func_convert_file_noop
6094        ;;
6095      * ) # otherwise, assume *nix
6096        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6097        ;;
6098    esac
6099    ;;
6100  * ) # unhandled hosts (and "normal" native builds)
6101    lt_cv_to_host_file_cmd=func_convert_file_noop
6102    ;;
6103esac
6104
6105fi
6106
6107to_host_file_cmd=$lt_cv_to_host_file_cmd
6108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6109$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6110
6111
6112
6113
6114
6115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6116$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6117if ${lt_cv_to_tool_file_cmd+:} false; then :
6118  $as_echo_n "(cached) " >&6
6119else
6120  #assume ordinary cross tools, or native build.
6121lt_cv_to_tool_file_cmd=func_convert_file_noop
6122case $host in
6123  *-*-mingw* )
6124    case $build in
6125      *-*-mingw* ) # actually msys
6126        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6127        ;;
6128    esac
6129    ;;
6130esac
6131
6132fi
6133
6134to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6136$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6137
6138
6139
6140
6141
6142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6143$as_echo_n "checking for $LD option to reload object files... " >&6; }
6144if ${lt_cv_ld_reload_flag+:} false; then :
6145  $as_echo_n "(cached) " >&6
6146else
6147  lt_cv_ld_reload_flag='-r'
6148fi
6149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6150$as_echo "$lt_cv_ld_reload_flag" >&6; }
6151reload_flag=$lt_cv_ld_reload_flag
6152case $reload_flag in
6153"" | " "*) ;;
6154*) reload_flag=" $reload_flag" ;;
6155esac
6156reload_cmds='$LD$reload_flag -o $output$reload_objs'
6157case $host_os in
6158  cygwin* | mingw* | pw32* | cegcc*)
6159    if test "$GCC" != yes; then
6160      reload_cmds=false
6161    fi
6162    ;;
6163  darwin*)
6164    if test "$GCC" = yes; then
6165      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6166    else
6167      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6168    fi
6169    ;;
6170esac
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180if test -n "$ac_tool_prefix"; then
6181  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6182set dummy ${ac_tool_prefix}objdump; ac_word=$2
6183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184$as_echo_n "checking for $ac_word... " >&6; }
6185if ${ac_cv_prog_OBJDUMP+:} false; then :
6186  $as_echo_n "(cached) " >&6
6187else
6188  if test -n "$OBJDUMP"; then
6189  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6190else
6191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192for as_dir in $PATH
6193do
6194  IFS=$as_save_IFS
6195  test -z "$as_dir" && as_dir=.
6196    for ac_exec_ext in '' $ac_executable_extensions; do
6197  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200    break 2
6201  fi
6202done
6203  done
6204IFS=$as_save_IFS
6205
6206fi
6207fi
6208OBJDUMP=$ac_cv_prog_OBJDUMP
6209if test -n "$OBJDUMP"; then
6210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6211$as_echo "$OBJDUMP" >&6; }
6212else
6213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214$as_echo "no" >&6; }
6215fi
6216
6217
6218fi
6219if test -z "$ac_cv_prog_OBJDUMP"; then
6220  ac_ct_OBJDUMP=$OBJDUMP
6221  # Extract the first word of "objdump", so it can be a program name with args.
6222set dummy objdump; ac_word=$2
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224$as_echo_n "checking for $ac_word... " >&6; }
6225if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6226  $as_echo_n "(cached) " >&6
6227else
6228  if test -n "$ac_ct_OBJDUMP"; then
6229  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6230else
6231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232for as_dir in $PATH
6233do
6234  IFS=$as_save_IFS
6235  test -z "$as_dir" && as_dir=.
6236    for ac_exec_ext in '' $ac_executable_extensions; do
6237  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6239    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6240    break 2
6241  fi
6242done
6243  done
6244IFS=$as_save_IFS
6245
6246fi
6247fi
6248ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6249if test -n "$ac_ct_OBJDUMP"; then
6250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6251$as_echo "$ac_ct_OBJDUMP" >&6; }
6252else
6253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254$as_echo "no" >&6; }
6255fi
6256
6257  if test "x$ac_ct_OBJDUMP" = x; then
6258    OBJDUMP="false"
6259  else
6260    case $cross_compiling:$ac_tool_warned in
6261yes:)
6262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264ac_tool_warned=yes ;;
6265esac
6266    OBJDUMP=$ac_ct_OBJDUMP
6267  fi
6268else
6269  OBJDUMP="$ac_cv_prog_OBJDUMP"
6270fi
6271
6272test -z "$OBJDUMP" && OBJDUMP=objdump
6273
6274
6275
6276
6277
6278
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6280$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6281if ${lt_cv_deplibs_check_method+:} false; then :
6282  $as_echo_n "(cached) " >&6
6283else
6284  lt_cv_file_magic_cmd='$MAGIC_CMD'
6285lt_cv_file_magic_test_file=
6286lt_cv_deplibs_check_method='unknown'
6287# Need to set the preceding variable on all platforms that support
6288# interlibrary dependencies.
6289# 'none' -- dependencies not supported.
6290# `unknown' -- same as none, but documents that we really don't know.
6291# 'pass_all' -- all dependencies passed with no checks.
6292# 'test_compile' -- check by making test program.
6293# 'file_magic [[regex]]' -- check by looking for files in library path
6294# which responds to the $file_magic_cmd with a given extended regex.
6295# If you have `file' or equivalent on your system and you're not sure
6296# whether `pass_all' will *always* work, you probably want this one.
6297
6298case $host_os in
6299aix[4-9]*)
6300  lt_cv_deplibs_check_method=pass_all
6301  ;;
6302
6303beos*)
6304  lt_cv_deplibs_check_method=pass_all
6305  ;;
6306
6307bsdi[45]*)
6308  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6309  lt_cv_file_magic_cmd='/usr/bin/file -L'
6310  lt_cv_file_magic_test_file=/shlib/libc.so
6311  ;;
6312
6313cygwin*)
6314  # func_win32_libid is a shell function defined in ltmain.sh
6315  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6316  lt_cv_file_magic_cmd='func_win32_libid'
6317  ;;
6318
6319mingw* | pw32*)
6320  # Base MSYS/MinGW do not provide the 'file' command needed by
6321  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6322  # unless we find 'file', for example because we are cross-compiling.
6323  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6324  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6325    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6326    lt_cv_file_magic_cmd='func_win32_libid'
6327  else
6328    # Keep this pattern in sync with the one in func_win32_libid.
6329    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6330    lt_cv_file_magic_cmd='$OBJDUMP -f'
6331  fi
6332  ;;
6333
6334cegcc*)
6335  # use the weaker test based on 'objdump'. See mingw*.
6336  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6337  lt_cv_file_magic_cmd='$OBJDUMP -f'
6338  ;;
6339
6340darwin* | rhapsody*)
6341  lt_cv_deplibs_check_method=pass_all
6342  ;;
6343
6344freebsd* | dragonfly*)
6345  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346    case $host_cpu in
6347    i*86 )
6348      # Not sure whether the presence of OpenBSD here was a mistake.
6349      # Let's accept both of them until this is cleared up.
6350      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6351      lt_cv_file_magic_cmd=/usr/bin/file
6352      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6353      ;;
6354    esac
6355  else
6356    lt_cv_deplibs_check_method=pass_all
6357  fi
6358  ;;
6359
6360haiku*)
6361  lt_cv_deplibs_check_method=pass_all
6362  ;;
6363
6364hpux10.20* | hpux11*)
6365  lt_cv_file_magic_cmd=/usr/bin/file
6366  case $host_cpu in
6367  ia64*)
6368    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6369    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6370    ;;
6371  hppa*64*)
6372    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6373    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6374    ;;
6375  *)
6376    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6377    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6378    ;;
6379  esac
6380  ;;
6381
6382interix[3-9]*)
6383  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6384  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6385  ;;
6386
6387irix5* | irix6* | nonstopux*)
6388  case $LD in
6389  *-32|*"-32 ") libmagic=32-bit;;
6390  *-n32|*"-n32 ") libmagic=N32;;
6391  *-64|*"-64 ") libmagic=64-bit;;
6392  *) libmagic=never-match;;
6393  esac
6394  lt_cv_deplibs_check_method=pass_all
6395  ;;
6396
6397# This must be glibc/ELF.
6398linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6399  lt_cv_deplibs_check_method=pass_all
6400  ;;
6401
6402netbsd* | netbsdelf*-gnu)
6403  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6404    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6405  else
6406    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6407  fi
6408  ;;
6409
6410newos6*)
6411  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6412  lt_cv_file_magic_cmd=/usr/bin/file
6413  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6414  ;;
6415
6416*nto* | *qnx*)
6417  lt_cv_deplibs_check_method=pass_all
6418  ;;
6419
6420openbsd*)
6421  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6422    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6423  else
6424    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6425  fi
6426  ;;
6427
6428osf3* | osf4* | osf5*)
6429  lt_cv_deplibs_check_method=pass_all
6430  ;;
6431
6432rdos*)
6433  lt_cv_deplibs_check_method=pass_all
6434  ;;
6435
6436solaris*)
6437  lt_cv_deplibs_check_method=pass_all
6438  ;;
6439
6440sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6441  lt_cv_deplibs_check_method=pass_all
6442  ;;
6443
6444sysv4 | sysv4.3*)
6445  case $host_vendor in
6446  motorola)
6447    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6448    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6449    ;;
6450  ncr)
6451    lt_cv_deplibs_check_method=pass_all
6452    ;;
6453  sequent)
6454    lt_cv_file_magic_cmd='/bin/file'
6455    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6456    ;;
6457  sni)
6458    lt_cv_file_magic_cmd='/bin/file'
6459    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6460    lt_cv_file_magic_test_file=/lib/libc.so
6461    ;;
6462  siemens)
6463    lt_cv_deplibs_check_method=pass_all
6464    ;;
6465  pc)
6466    lt_cv_deplibs_check_method=pass_all
6467    ;;
6468  esac
6469  ;;
6470
6471tpf*)
6472  lt_cv_deplibs_check_method=pass_all
6473  ;;
6474esac
6475
6476fi
6477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6478$as_echo "$lt_cv_deplibs_check_method" >&6; }
6479
6480file_magic_glob=
6481want_nocaseglob=no
6482if test "$build" = "$host"; then
6483  case $host_os in
6484  mingw* | pw32*)
6485    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6486      want_nocaseglob=yes
6487    else
6488      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6489    fi
6490    ;;
6491  esac
6492fi
6493
6494file_magic_cmd=$lt_cv_file_magic_cmd
6495deplibs_check_method=$lt_cv_deplibs_check_method
6496test -z "$deplibs_check_method" && deplibs_check_method=unknown
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519if test -n "$ac_tool_prefix"; then
6520  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6521set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6523$as_echo_n "checking for $ac_word... " >&6; }
6524if ${ac_cv_prog_DLLTOOL+:} false; then :
6525  $as_echo_n "(cached) " >&6
6526else
6527  if test -n "$DLLTOOL"; then
6528  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6529else
6530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531for as_dir in $PATH
6532do
6533  IFS=$as_save_IFS
6534  test -z "$as_dir" && as_dir=.
6535    for ac_exec_ext in '' $ac_executable_extensions; do
6536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539    break 2
6540  fi
6541done
6542  done
6543IFS=$as_save_IFS
6544
6545fi
6546fi
6547DLLTOOL=$ac_cv_prog_DLLTOOL
6548if test -n "$DLLTOOL"; then
6549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6550$as_echo "$DLLTOOL" >&6; }
6551else
6552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6553$as_echo "no" >&6; }
6554fi
6555
6556
6557fi
6558if test -z "$ac_cv_prog_DLLTOOL"; then
6559  ac_ct_DLLTOOL=$DLLTOOL
6560  # Extract the first word of "dlltool", so it can be a program name with args.
6561set dummy dlltool; ac_word=$2
6562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563$as_echo_n "checking for $ac_word... " >&6; }
6564if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6565  $as_echo_n "(cached) " >&6
6566else
6567  if test -n "$ac_ct_DLLTOOL"; then
6568  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6569else
6570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571for as_dir in $PATH
6572do
6573  IFS=$as_save_IFS
6574  test -z "$as_dir" && as_dir=.
6575    for ac_exec_ext in '' $ac_executable_extensions; do
6576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579    break 2
6580  fi
6581done
6582  done
6583IFS=$as_save_IFS
6584
6585fi
6586fi
6587ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6588if test -n "$ac_ct_DLLTOOL"; then
6589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6590$as_echo "$ac_ct_DLLTOOL" >&6; }
6591else
6592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593$as_echo "no" >&6; }
6594fi
6595
6596  if test "x$ac_ct_DLLTOOL" = x; then
6597    DLLTOOL="false"
6598  else
6599    case $cross_compiling:$ac_tool_warned in
6600yes:)
6601{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6602$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6603ac_tool_warned=yes ;;
6604esac
6605    DLLTOOL=$ac_ct_DLLTOOL
6606  fi
6607else
6608  DLLTOOL="$ac_cv_prog_DLLTOOL"
6609fi
6610
6611test -z "$DLLTOOL" && DLLTOOL=dlltool
6612
6613
6614
6615
6616
6617
6618
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6620$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6621if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6622  $as_echo_n "(cached) " >&6
6623else
6624  lt_cv_sharedlib_from_linklib_cmd='unknown'
6625
6626case $host_os in
6627cygwin* | mingw* | pw32* | cegcc*)
6628  # two different shell functions defined in ltmain.sh
6629  # decide which to use based on capabilities of $DLLTOOL
6630  case `$DLLTOOL --help 2>&1` in
6631  *--identify-strict*)
6632    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6633    ;;
6634  *)
6635    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6636    ;;
6637  esac
6638  ;;
6639*)
6640  # fallback: assume linklib IS sharedlib
6641  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6642  ;;
6643esac
6644
6645fi
6646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6647$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6648sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6649test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6650
6651
6652
6653
6654
6655
6656
6657if test -n "$ac_tool_prefix"; then
6658  for ac_prog in ar
6659  do
6660    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6661set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663$as_echo_n "checking for $ac_word... " >&6; }
6664if ${ac_cv_prog_AR+:} false; then :
6665  $as_echo_n "(cached) " >&6
6666else
6667  if test -n "$AR"; then
6668  ac_cv_prog_AR="$AR" # Let the user override the test.
6669else
6670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671for as_dir in $PATH
6672do
6673  IFS=$as_save_IFS
6674  test -z "$as_dir" && as_dir=.
6675    for ac_exec_ext in '' $ac_executable_extensions; do
6676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6677    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679    break 2
6680  fi
6681done
6682  done
6683IFS=$as_save_IFS
6684
6685fi
6686fi
6687AR=$ac_cv_prog_AR
6688if test -n "$AR"; then
6689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6690$as_echo "$AR" >&6; }
6691else
6692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693$as_echo "no" >&6; }
6694fi
6695
6696
6697    test -n "$AR" && break
6698  done
6699fi
6700if test -z "$AR"; then
6701  ac_ct_AR=$AR
6702  for ac_prog in ar
6703do
6704  # Extract the first word of "$ac_prog", so it can be a program name with args.
6705set dummy $ac_prog; ac_word=$2
6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707$as_echo_n "checking for $ac_word... " >&6; }
6708if ${ac_cv_prog_ac_ct_AR+:} false; then :
6709  $as_echo_n "(cached) " >&6
6710else
6711  if test -n "$ac_ct_AR"; then
6712  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6713else
6714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715for as_dir in $PATH
6716do
6717  IFS=$as_save_IFS
6718  test -z "$as_dir" && as_dir=.
6719    for ac_exec_ext in '' $ac_executable_extensions; do
6720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721    ac_cv_prog_ac_ct_AR="$ac_prog"
6722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723    break 2
6724  fi
6725done
6726  done
6727IFS=$as_save_IFS
6728
6729fi
6730fi
6731ac_ct_AR=$ac_cv_prog_ac_ct_AR
6732if test -n "$ac_ct_AR"; then
6733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6734$as_echo "$ac_ct_AR" >&6; }
6735else
6736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737$as_echo "no" >&6; }
6738fi
6739
6740
6741  test -n "$ac_ct_AR" && break
6742done
6743
6744  if test "x$ac_ct_AR" = x; then
6745    AR="false"
6746  else
6747    case $cross_compiling:$ac_tool_warned in
6748yes:)
6749{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6750$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6751ac_tool_warned=yes ;;
6752esac
6753    AR=$ac_ct_AR
6754  fi
6755fi
6756
6757: ${AR=ar}
6758: ${AR_FLAGS=cru}
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6771$as_echo_n "checking for archiver @FILE support... " >&6; }
6772if ${lt_cv_ar_at_file+:} false; then :
6773  $as_echo_n "(cached) " >&6
6774else
6775  lt_cv_ar_at_file=no
6776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6777/* end confdefs.h.  */
6778
6779int
6780main ()
6781{
6782
6783  ;
6784  return 0;
6785}
6786_ACEOF
6787if ac_fn_c_try_compile "$LINENO"; then :
6788  echo conftest.$ac_objext > conftest.lst
6789      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6790      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6791  (eval $lt_ar_try) 2>&5
6792  ac_status=$?
6793  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794  test $ac_status = 0; }
6795      if test "$ac_status" -eq 0; then
6796	# Ensure the archiver fails upon bogus file names.
6797	rm -f conftest.$ac_objext libconftest.a
6798	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6799  (eval $lt_ar_try) 2>&5
6800  ac_status=$?
6801  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6802  test $ac_status = 0; }
6803	if test "$ac_status" -ne 0; then
6804          lt_cv_ar_at_file=@
6805        fi
6806      fi
6807      rm -f conftest.* libconftest.a
6808
6809fi
6810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6811
6812fi
6813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6814$as_echo "$lt_cv_ar_at_file" >&6; }
6815
6816if test "x$lt_cv_ar_at_file" = xno; then
6817  archiver_list_spec=
6818else
6819  archiver_list_spec=$lt_cv_ar_at_file
6820fi
6821
6822
6823
6824
6825
6826
6827
6828if test -n "$ac_tool_prefix"; then
6829  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6830set dummy ${ac_tool_prefix}strip; ac_word=$2
6831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832$as_echo_n "checking for $ac_word... " >&6; }
6833if ${ac_cv_prog_STRIP+:} false; then :
6834  $as_echo_n "(cached) " >&6
6835else
6836  if test -n "$STRIP"; then
6837  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6838else
6839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840for as_dir in $PATH
6841do
6842  IFS=$as_save_IFS
6843  test -z "$as_dir" && as_dir=.
6844    for ac_exec_ext in '' $ac_executable_extensions; do
6845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848    break 2
6849  fi
6850done
6851  done
6852IFS=$as_save_IFS
6853
6854fi
6855fi
6856STRIP=$ac_cv_prog_STRIP
6857if test -n "$STRIP"; then
6858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6859$as_echo "$STRIP" >&6; }
6860else
6861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862$as_echo "no" >&6; }
6863fi
6864
6865
6866fi
6867if test -z "$ac_cv_prog_STRIP"; then
6868  ac_ct_STRIP=$STRIP
6869  # Extract the first word of "strip", so it can be a program name with args.
6870set dummy strip; ac_word=$2
6871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6872$as_echo_n "checking for $ac_word... " >&6; }
6873if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6874  $as_echo_n "(cached) " >&6
6875else
6876  if test -n "$ac_ct_STRIP"; then
6877  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6878else
6879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880for as_dir in $PATH
6881do
6882  IFS=$as_save_IFS
6883  test -z "$as_dir" && as_dir=.
6884    for ac_exec_ext in '' $ac_executable_extensions; do
6885  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6886    ac_cv_prog_ac_ct_STRIP="strip"
6887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6888    break 2
6889  fi
6890done
6891  done
6892IFS=$as_save_IFS
6893
6894fi
6895fi
6896ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6897if test -n "$ac_ct_STRIP"; then
6898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6899$as_echo "$ac_ct_STRIP" >&6; }
6900else
6901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6902$as_echo "no" >&6; }
6903fi
6904
6905  if test "x$ac_ct_STRIP" = x; then
6906    STRIP=":"
6907  else
6908    case $cross_compiling:$ac_tool_warned in
6909yes:)
6910{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6911$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6912ac_tool_warned=yes ;;
6913esac
6914    STRIP=$ac_ct_STRIP
6915  fi
6916else
6917  STRIP="$ac_cv_prog_STRIP"
6918fi
6919
6920test -z "$STRIP" && STRIP=:
6921
6922
6923
6924
6925
6926
6927if test -n "$ac_tool_prefix"; then
6928  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6929set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931$as_echo_n "checking for $ac_word... " >&6; }
6932if ${ac_cv_prog_RANLIB+:} false; then :
6933  $as_echo_n "(cached) " >&6
6934else
6935  if test -n "$RANLIB"; then
6936  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6937else
6938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939for as_dir in $PATH
6940do
6941  IFS=$as_save_IFS
6942  test -z "$as_dir" && as_dir=.
6943    for ac_exec_ext in '' $ac_executable_extensions; do
6944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6945    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947    break 2
6948  fi
6949done
6950  done
6951IFS=$as_save_IFS
6952
6953fi
6954fi
6955RANLIB=$ac_cv_prog_RANLIB
6956if test -n "$RANLIB"; then
6957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6958$as_echo "$RANLIB" >&6; }
6959else
6960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6961$as_echo "no" >&6; }
6962fi
6963
6964
6965fi
6966if test -z "$ac_cv_prog_RANLIB"; then
6967  ac_ct_RANLIB=$RANLIB
6968  # Extract the first word of "ranlib", so it can be a program name with args.
6969set dummy ranlib; ac_word=$2
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971$as_echo_n "checking for $ac_word... " >&6; }
6972if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6973  $as_echo_n "(cached) " >&6
6974else
6975  if test -n "$ac_ct_RANLIB"; then
6976  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6977else
6978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979for as_dir in $PATH
6980do
6981  IFS=$as_save_IFS
6982  test -z "$as_dir" && as_dir=.
6983    for ac_exec_ext in '' $ac_executable_extensions; do
6984  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6985    ac_cv_prog_ac_ct_RANLIB="ranlib"
6986    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987    break 2
6988  fi
6989done
6990  done
6991IFS=$as_save_IFS
6992
6993fi
6994fi
6995ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6996if test -n "$ac_ct_RANLIB"; then
6997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6998$as_echo "$ac_ct_RANLIB" >&6; }
6999else
7000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001$as_echo "no" >&6; }
7002fi
7003
7004  if test "x$ac_ct_RANLIB" = x; then
7005    RANLIB=":"
7006  else
7007    case $cross_compiling:$ac_tool_warned in
7008yes:)
7009{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7010$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7011ac_tool_warned=yes ;;
7012esac
7013    RANLIB=$ac_ct_RANLIB
7014  fi
7015else
7016  RANLIB="$ac_cv_prog_RANLIB"
7017fi
7018
7019test -z "$RANLIB" && RANLIB=:
7020
7021
7022
7023
7024
7025
7026# Determine commands to create old-style static archives.
7027old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7028old_postinstall_cmds='chmod 644 $oldlib'
7029old_postuninstall_cmds=
7030
7031if test -n "$RANLIB"; then
7032  case $host_os in
7033  openbsd*)
7034    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7035    ;;
7036  *)
7037    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7038    ;;
7039  esac
7040  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7041fi
7042
7043case $host_os in
7044  darwin*)
7045    lock_old_archive_extraction=yes ;;
7046  *)
7047    lock_old_archive_extraction=no ;;
7048esac
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088# If no C compiler was specified, use CC.
7089LTCC=${LTCC-"$CC"}
7090
7091# If no C compiler flags were specified, use CFLAGS.
7092LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7093
7094# Allow CC to be a program name with arguments.
7095compiler=$CC
7096
7097
7098# Check for command to grab the raw symbol name followed by C symbol from nm.
7099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7100$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7101if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7102  $as_echo_n "(cached) " >&6
7103else
7104
7105# These are sane defaults that work on at least a few old systems.
7106# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7107
7108# Character class describing NM global symbol codes.
7109symcode='[BCDEGRST]'
7110
7111# Regexp to match symbols that can be accessed directly from C.
7112sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7113
7114# Define system-specific variables.
7115case $host_os in
7116aix*)
7117  symcode='[BCDT]'
7118  ;;
7119cygwin* | mingw* | pw32* | cegcc*)
7120  symcode='[ABCDGISTW]'
7121  ;;
7122hpux*)
7123  if test "$host_cpu" = ia64; then
7124    symcode='[ABCDEGRST]'
7125  fi
7126  ;;
7127irix* | nonstopux*)
7128  symcode='[BCDEGRST]'
7129  ;;
7130osf*)
7131  symcode='[BCDEGQRST]'
7132  ;;
7133solaris*)
7134  symcode='[BDRT]'
7135  ;;
7136sco3.2v5*)
7137  symcode='[DT]'
7138  ;;
7139sysv4.2uw2*)
7140  symcode='[DT]'
7141  ;;
7142sysv5* | sco5v6* | unixware* | OpenUNIX*)
7143  symcode='[ABDT]'
7144  ;;
7145sysv4)
7146  symcode='[DFNSTU]'
7147  ;;
7148esac
7149
7150# If we're using GNU nm, then use its standard symbol codes.
7151case `$NM -V 2>&1` in
7152*GNU* | *'with BFD'*)
7153  symcode='[ABCDGIRSTW]' ;;
7154esac
7155
7156# Transform an extracted symbol line into a proper C declaration.
7157# Some systems (esp. on ia64) link data and code symbols differently,
7158# so use this general approach.
7159lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7160
7161# Transform an extracted symbol line into symbol name and symbol address
7162lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7163lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7164
7165# Handle CRLF in mingw tool chain
7166opt_cr=
7167case $build_os in
7168mingw*)
7169  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7170  ;;
7171esac
7172
7173# Try without a prefix underscore, then with it.
7174for ac_symprfx in "" "_"; do
7175
7176  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7177  symxfrm="\\1 $ac_symprfx\\2 \\2"
7178
7179  # Write the raw and C identifiers.
7180  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7181    # Fake it for dumpbin and say T for any non-static function
7182    # and D for any global variable.
7183    # Also find C++ and __fastcall symbols from MSVC++,
7184    # which start with @ or ?.
7185    lt_cv_sys_global_symbol_pipe="$AWK '"\
7186"     {last_section=section; section=\$ 3};"\
7187"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7188"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7189"     \$ 0!~/External *\|/{next};"\
7190"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7191"     {if(hide[section]) next};"\
7192"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7193"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7194"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7195"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7196"     ' prfx=^$ac_symprfx"
7197  else
7198    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7199  fi
7200  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7201
7202  # Check to see that the pipe works correctly.
7203  pipe_works=no
7204
7205  rm -f conftest*
7206  cat > conftest.$ac_ext <<_LT_EOF
7207#ifdef __cplusplus
7208extern "C" {
7209#endif
7210char nm_test_var;
7211void nm_test_func(void);
7212void nm_test_func(void){}
7213#ifdef __cplusplus
7214}
7215#endif
7216int main(){nm_test_var='a';nm_test_func();return(0);}
7217_LT_EOF
7218
7219  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7220  (eval $ac_compile) 2>&5
7221  ac_status=$?
7222  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7223  test $ac_status = 0; }; then
7224    # Now try to grab the symbols.
7225    nlist=conftest.nm
7226    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7227  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7228  ac_status=$?
7229  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7230  test $ac_status = 0; } && test -s "$nlist"; then
7231      # Try sorting and uniquifying the output.
7232      if sort "$nlist" | uniq > "$nlist"T; then
7233	mv -f "$nlist"T "$nlist"
7234      else
7235	rm -f "$nlist"T
7236      fi
7237
7238      # Make sure that we snagged all the symbols we need.
7239      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7240	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7241	  cat <<_LT_EOF > conftest.$ac_ext
7242/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7243#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7244/* DATA imports from DLLs on WIN32 con't be const, because runtime
7245   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7246# define LT_DLSYM_CONST
7247#elif defined(__osf__)
7248/* This system does not cope well with relocations in const data.  */
7249# define LT_DLSYM_CONST
7250#else
7251# define LT_DLSYM_CONST const
7252#endif
7253
7254#ifdef __cplusplus
7255extern "C" {
7256#endif
7257
7258_LT_EOF
7259	  # Now generate the symbol file.
7260	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7261
7262	  cat <<_LT_EOF >> conftest.$ac_ext
7263
7264/* The mapping between symbol names and symbols.  */
7265LT_DLSYM_CONST struct {
7266  const char *name;
7267  void       *address;
7268}
7269lt__PROGRAM__LTX_preloaded_symbols[] =
7270{
7271  { "@PROGRAM@", (void *) 0 },
7272_LT_EOF
7273	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7274	  cat <<\_LT_EOF >> conftest.$ac_ext
7275  {0, (void *) 0}
7276};
7277
7278/* This works around a problem in FreeBSD linker */
7279#ifdef FREEBSD_WORKAROUND
7280static const void *lt_preloaded_setup() {
7281  return lt__PROGRAM__LTX_preloaded_symbols;
7282}
7283#endif
7284
7285#ifdef __cplusplus
7286}
7287#endif
7288_LT_EOF
7289	  # Now try linking the two files.
7290	  mv conftest.$ac_objext conftstm.$ac_objext
7291	  lt_globsym_save_LIBS=$LIBS
7292	  lt_globsym_save_CFLAGS=$CFLAGS
7293	  LIBS="conftstm.$ac_objext"
7294	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7295	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7296  (eval $ac_link) 2>&5
7297  ac_status=$?
7298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7299  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7300	    pipe_works=yes
7301	  fi
7302	  LIBS=$lt_globsym_save_LIBS
7303	  CFLAGS=$lt_globsym_save_CFLAGS
7304	else
7305	  echo "cannot find nm_test_func in $nlist" >&5
7306	fi
7307      else
7308	echo "cannot find nm_test_var in $nlist" >&5
7309      fi
7310    else
7311      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7312    fi
7313  else
7314    echo "$progname: failed program was:" >&5
7315    cat conftest.$ac_ext >&5
7316  fi
7317  rm -rf conftest* conftst*
7318
7319  # Do not use the global_symbol_pipe unless it works.
7320  if test "$pipe_works" = yes; then
7321    break
7322  else
7323    lt_cv_sys_global_symbol_pipe=
7324  fi
7325done
7326
7327fi
7328
7329if test -z "$lt_cv_sys_global_symbol_pipe"; then
7330  lt_cv_sys_global_symbol_to_cdecl=
7331fi
7332if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7334$as_echo "failed" >&6; }
7335else
7336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7337$as_echo "ok" >&6; }
7338fi
7339
7340# Response file support.
7341if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7342  nm_file_list_spec='@'
7343elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7344  nm_file_list_spec='@'
7345fi
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7374$as_echo_n "checking for sysroot... " >&6; }
7375
7376# Check whether --with-sysroot was given.
7377if test "${with_sysroot+set}" = set; then :
7378  withval=$with_sysroot;
7379else
7380  with_sysroot=no
7381fi
7382
7383
7384lt_sysroot=
7385case ${with_sysroot} in #(
7386 yes)
7387   if test "$GCC" = yes; then
7388     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7389   fi
7390   ;; #(
7391 /*)
7392   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7393   ;; #(
7394 no|'')
7395   ;; #(
7396 *)
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7398$as_echo "${with_sysroot}" >&6; }
7399   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7400   ;;
7401esac
7402
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7404$as_echo "${lt_sysroot:-no}" >&6; }
7405
7406
7407
7408
7409
7410# Check whether --enable-libtool-lock was given.
7411if test "${enable_libtool_lock+set}" = set; then :
7412  enableval=$enable_libtool_lock;
7413fi
7414
7415test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7416
7417# Some flags need to be propagated to the compiler or linker for good
7418# libtool support.
7419case $host in
7420ia64-*-hpux*)
7421  # Find out which ABI we are using.
7422  echo 'int i;' > conftest.$ac_ext
7423  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7424  (eval $ac_compile) 2>&5
7425  ac_status=$?
7426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7427  test $ac_status = 0; }; then
7428    case `/usr/bin/file conftest.$ac_objext` in
7429      *ELF-32*)
7430	HPUX_IA64_MODE="32"
7431	;;
7432      *ELF-64*)
7433	HPUX_IA64_MODE="64"
7434	;;
7435    esac
7436  fi
7437  rm -rf conftest*
7438  ;;
7439*-*-irix6*)
7440  # Find out which ABI we are using.
7441  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7442  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7443  (eval $ac_compile) 2>&5
7444  ac_status=$?
7445  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7446  test $ac_status = 0; }; then
7447    if test "$lt_cv_prog_gnu_ld" = yes; then
7448      case `/usr/bin/file conftest.$ac_objext` in
7449	*32-bit*)
7450	  LD="${LD-ld} -melf32bsmip"
7451	  ;;
7452	*N32*)
7453	  LD="${LD-ld} -melf32bmipn32"
7454	  ;;
7455	*64-bit*)
7456	  LD="${LD-ld} -melf64bmip"
7457	;;
7458      esac
7459    else
7460      case `/usr/bin/file conftest.$ac_objext` in
7461	*32-bit*)
7462	  LD="${LD-ld} -32"
7463	  ;;
7464	*N32*)
7465	  LD="${LD-ld} -n32"
7466	  ;;
7467	*64-bit*)
7468	  LD="${LD-ld} -64"
7469	  ;;
7470      esac
7471    fi
7472  fi
7473  rm -rf conftest*
7474  ;;
7475
7476x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7477s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7478  # Find out which ABI we are using.
7479  echo 'int i;' > conftest.$ac_ext
7480  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7481  (eval $ac_compile) 2>&5
7482  ac_status=$?
7483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7484  test $ac_status = 0; }; then
7485    case `/usr/bin/file conftest.o` in
7486      *32-bit*)
7487	case $host in
7488	  x86_64-*kfreebsd*-gnu)
7489	    LD="${LD-ld} -m elf_i386_fbsd"
7490	    ;;
7491	  x86_64-*linux*)
7492	    LD="${LD-ld} -m elf_i386"
7493	    ;;
7494	  ppc64-*linux*|powerpc64-*linux*)
7495	    LD="${LD-ld} -m elf32ppclinux"
7496	    ;;
7497	  s390x-*linux*)
7498	    LD="${LD-ld} -m elf_s390"
7499	    ;;
7500	  sparc64-*linux*)
7501	    LD="${LD-ld} -m elf32_sparc"
7502	    ;;
7503	esac
7504	;;
7505      *64-bit*)
7506	case $host in
7507	  x86_64-*kfreebsd*-gnu)
7508	    LD="${LD-ld} -m elf_x86_64_fbsd"
7509	    ;;
7510	  x86_64-*linux*)
7511	    LD="${LD-ld} -m elf_x86_64"
7512	    ;;
7513	  ppc*-*linux*|powerpc*-*linux*)
7514	    LD="${LD-ld} -m elf64ppc"
7515	    ;;
7516	  s390*-*linux*|s390*-*tpf*)
7517	    LD="${LD-ld} -m elf64_s390"
7518	    ;;
7519	  sparc*-*linux*)
7520	    LD="${LD-ld} -m elf64_sparc"
7521	    ;;
7522	esac
7523	;;
7524    esac
7525  fi
7526  rm -rf conftest*
7527  ;;
7528
7529*-*-sco3.2v5*)
7530  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7531  SAVE_CFLAGS="$CFLAGS"
7532  CFLAGS="$CFLAGS -belf"
7533  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7534$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7535if ${lt_cv_cc_needs_belf+:} false; then :
7536  $as_echo_n "(cached) " >&6
7537else
7538  ac_ext=c
7539ac_cpp='$CPP $CPPFLAGS'
7540ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542ac_compiler_gnu=$ac_cv_c_compiler_gnu
7543
7544     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545/* end confdefs.h.  */
7546
7547int
7548main ()
7549{
7550
7551  ;
7552  return 0;
7553}
7554_ACEOF
7555if ac_fn_c_try_link "$LINENO"; then :
7556  lt_cv_cc_needs_belf=yes
7557else
7558  lt_cv_cc_needs_belf=no
7559fi
7560rm -f core conftest.err conftest.$ac_objext \
7561    conftest$ac_exeext conftest.$ac_ext
7562     ac_ext=c
7563ac_cpp='$CPP $CPPFLAGS'
7564ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7565ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7566ac_compiler_gnu=$ac_cv_c_compiler_gnu
7567
7568fi
7569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7570$as_echo "$lt_cv_cc_needs_belf" >&6; }
7571  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7572    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7573    CFLAGS="$SAVE_CFLAGS"
7574  fi
7575  ;;
7576*-*solaris*)
7577  # Find out which ABI we are using.
7578  echo 'int i;' > conftest.$ac_ext
7579  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7580  (eval $ac_compile) 2>&5
7581  ac_status=$?
7582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7583  test $ac_status = 0; }; then
7584    case `/usr/bin/file conftest.o` in
7585    *64-bit*)
7586      case $lt_cv_prog_gnu_ld in
7587      yes*)
7588        case $host in
7589        i?86-*-solaris*)
7590          LD="${LD-ld} -m elf_x86_64"
7591          ;;
7592        sparc*-*-solaris*)
7593          LD="${LD-ld} -m elf64_sparc"
7594          ;;
7595        esac
7596        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7597        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7598          LD="${LD-ld}_sol2"
7599        fi
7600        ;;
7601      *)
7602	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7603	  LD="${LD-ld} -64"
7604	fi
7605	;;
7606      esac
7607      ;;
7608    esac
7609  fi
7610  rm -rf conftest*
7611  ;;
7612esac
7613
7614need_locks="$enable_libtool_lock"
7615
7616if test -n "$ac_tool_prefix"; then
7617  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7618set dummy ${ac_tool_prefix}mt; ac_word=$2
7619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620$as_echo_n "checking for $ac_word... " >&6; }
7621if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7622  $as_echo_n "(cached) " >&6
7623else
7624  if test -n "$MANIFEST_TOOL"; then
7625  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7626else
7627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628for as_dir in $PATH
7629do
7630  IFS=$as_save_IFS
7631  test -z "$as_dir" && as_dir=.
7632    for ac_exec_ext in '' $ac_executable_extensions; do
7633  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7635    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636    break 2
7637  fi
7638done
7639  done
7640IFS=$as_save_IFS
7641
7642fi
7643fi
7644MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7645if test -n "$MANIFEST_TOOL"; then
7646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7647$as_echo "$MANIFEST_TOOL" >&6; }
7648else
7649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650$as_echo "no" >&6; }
7651fi
7652
7653
7654fi
7655if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7656  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7657  # Extract the first word of "mt", so it can be a program name with args.
7658set dummy mt; ac_word=$2
7659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660$as_echo_n "checking for $ac_word... " >&6; }
7661if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7662  $as_echo_n "(cached) " >&6
7663else
7664  if test -n "$ac_ct_MANIFEST_TOOL"; then
7665  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7666else
7667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7668for as_dir in $PATH
7669do
7670  IFS=$as_save_IFS
7671  test -z "$as_dir" && as_dir=.
7672    for ac_exec_ext in '' $ac_executable_extensions; do
7673  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7675    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676    break 2
7677  fi
7678done
7679  done
7680IFS=$as_save_IFS
7681
7682fi
7683fi
7684ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7685if test -n "$ac_ct_MANIFEST_TOOL"; then
7686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7687$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7688else
7689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690$as_echo "no" >&6; }
7691fi
7692
7693  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7694    MANIFEST_TOOL=":"
7695  else
7696    case $cross_compiling:$ac_tool_warned in
7697yes:)
7698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700ac_tool_warned=yes ;;
7701esac
7702    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7703  fi
7704else
7705  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7706fi
7707
7708test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7710$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7711if ${lt_cv_path_mainfest_tool+:} false; then :
7712  $as_echo_n "(cached) " >&6
7713else
7714  lt_cv_path_mainfest_tool=no
7715  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7716  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7717  cat conftest.err >&5
7718  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7719    lt_cv_path_mainfest_tool=yes
7720  fi
7721  rm -f conftest*
7722fi
7723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7724$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7725if test "x$lt_cv_path_mainfest_tool" != xyes; then
7726  MANIFEST_TOOL=:
7727fi
7728
7729
7730
7731
7732
7733
7734  case $host_os in
7735    rhapsody* | darwin*)
7736    if test -n "$ac_tool_prefix"; then
7737  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7738set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740$as_echo_n "checking for $ac_word... " >&6; }
7741if ${ac_cv_prog_DSYMUTIL+:} false; then :
7742  $as_echo_n "(cached) " >&6
7743else
7744  if test -n "$DSYMUTIL"; then
7745  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7746else
7747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748for as_dir in $PATH
7749do
7750  IFS=$as_save_IFS
7751  test -z "$as_dir" && as_dir=.
7752    for ac_exec_ext in '' $ac_executable_extensions; do
7753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756    break 2
7757  fi
7758done
7759  done
7760IFS=$as_save_IFS
7761
7762fi
7763fi
7764DSYMUTIL=$ac_cv_prog_DSYMUTIL
7765if test -n "$DSYMUTIL"; then
7766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7767$as_echo "$DSYMUTIL" >&6; }
7768else
7769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770$as_echo "no" >&6; }
7771fi
7772
7773
7774fi
7775if test -z "$ac_cv_prog_DSYMUTIL"; then
7776  ac_ct_DSYMUTIL=$DSYMUTIL
7777  # Extract the first word of "dsymutil", so it can be a program name with args.
7778set dummy dsymutil; ac_word=$2
7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7780$as_echo_n "checking for $ac_word... " >&6; }
7781if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7782  $as_echo_n "(cached) " >&6
7783else
7784  if test -n "$ac_ct_DSYMUTIL"; then
7785  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7786else
7787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788for as_dir in $PATH
7789do
7790  IFS=$as_save_IFS
7791  test -z "$as_dir" && as_dir=.
7792    for ac_exec_ext in '' $ac_executable_extensions; do
7793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796    break 2
7797  fi
7798done
7799  done
7800IFS=$as_save_IFS
7801
7802fi
7803fi
7804ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7805if test -n "$ac_ct_DSYMUTIL"; then
7806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7807$as_echo "$ac_ct_DSYMUTIL" >&6; }
7808else
7809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7810$as_echo "no" >&6; }
7811fi
7812
7813  if test "x$ac_ct_DSYMUTIL" = x; then
7814    DSYMUTIL=":"
7815  else
7816    case $cross_compiling:$ac_tool_warned in
7817yes:)
7818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7820ac_tool_warned=yes ;;
7821esac
7822    DSYMUTIL=$ac_ct_DSYMUTIL
7823  fi
7824else
7825  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7826fi
7827
7828    if test -n "$ac_tool_prefix"; then
7829  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7830set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7832$as_echo_n "checking for $ac_word... " >&6; }
7833if ${ac_cv_prog_NMEDIT+:} false; then :
7834  $as_echo_n "(cached) " >&6
7835else
7836  if test -n "$NMEDIT"; then
7837  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7838else
7839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840for as_dir in $PATH
7841do
7842  IFS=$as_save_IFS
7843  test -z "$as_dir" && as_dir=.
7844    for ac_exec_ext in '' $ac_executable_extensions; do
7845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7848    break 2
7849  fi
7850done
7851  done
7852IFS=$as_save_IFS
7853
7854fi
7855fi
7856NMEDIT=$ac_cv_prog_NMEDIT
7857if test -n "$NMEDIT"; then
7858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7859$as_echo "$NMEDIT" >&6; }
7860else
7861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862$as_echo "no" >&6; }
7863fi
7864
7865
7866fi
7867if test -z "$ac_cv_prog_NMEDIT"; then
7868  ac_ct_NMEDIT=$NMEDIT
7869  # Extract the first word of "nmedit", so it can be a program name with args.
7870set dummy nmedit; ac_word=$2
7871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872$as_echo_n "checking for $ac_word... " >&6; }
7873if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7874  $as_echo_n "(cached) " >&6
7875else
7876  if test -n "$ac_ct_NMEDIT"; then
7877  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7878else
7879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880for as_dir in $PATH
7881do
7882  IFS=$as_save_IFS
7883  test -z "$as_dir" && as_dir=.
7884    for ac_exec_ext in '' $ac_executable_extensions; do
7885  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7888    break 2
7889  fi
7890done
7891  done
7892IFS=$as_save_IFS
7893
7894fi
7895fi
7896ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7897if test -n "$ac_ct_NMEDIT"; then
7898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7899$as_echo "$ac_ct_NMEDIT" >&6; }
7900else
7901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7902$as_echo "no" >&6; }
7903fi
7904
7905  if test "x$ac_ct_NMEDIT" = x; then
7906    NMEDIT=":"
7907  else
7908    case $cross_compiling:$ac_tool_warned in
7909yes:)
7910{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7911$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7912ac_tool_warned=yes ;;
7913esac
7914    NMEDIT=$ac_ct_NMEDIT
7915  fi
7916else
7917  NMEDIT="$ac_cv_prog_NMEDIT"
7918fi
7919
7920    if test -n "$ac_tool_prefix"; then
7921  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7922set dummy ${ac_tool_prefix}lipo; ac_word=$2
7923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924$as_echo_n "checking for $ac_word... " >&6; }
7925if ${ac_cv_prog_LIPO+:} false; then :
7926  $as_echo_n "(cached) " >&6
7927else
7928  if test -n "$LIPO"; then
7929  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7930else
7931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932for as_dir in $PATH
7933do
7934  IFS=$as_save_IFS
7935  test -z "$as_dir" && as_dir=.
7936    for ac_exec_ext in '' $ac_executable_extensions; do
7937  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7939    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940    break 2
7941  fi
7942done
7943  done
7944IFS=$as_save_IFS
7945
7946fi
7947fi
7948LIPO=$ac_cv_prog_LIPO
7949if test -n "$LIPO"; then
7950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7951$as_echo "$LIPO" >&6; }
7952else
7953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954$as_echo "no" >&6; }
7955fi
7956
7957
7958fi
7959if test -z "$ac_cv_prog_LIPO"; then
7960  ac_ct_LIPO=$LIPO
7961  # Extract the first word of "lipo", so it can be a program name with args.
7962set dummy lipo; ac_word=$2
7963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964$as_echo_n "checking for $ac_word... " >&6; }
7965if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7966  $as_echo_n "(cached) " >&6
7967else
7968  if test -n "$ac_ct_LIPO"; then
7969  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7970else
7971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972for as_dir in $PATH
7973do
7974  IFS=$as_save_IFS
7975  test -z "$as_dir" && as_dir=.
7976    for ac_exec_ext in '' $ac_executable_extensions; do
7977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978    ac_cv_prog_ac_ct_LIPO="lipo"
7979    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7980    break 2
7981  fi
7982done
7983  done
7984IFS=$as_save_IFS
7985
7986fi
7987fi
7988ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7989if test -n "$ac_ct_LIPO"; then
7990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7991$as_echo "$ac_ct_LIPO" >&6; }
7992else
7993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994$as_echo "no" >&6; }
7995fi
7996
7997  if test "x$ac_ct_LIPO" = x; then
7998    LIPO=":"
7999  else
8000    case $cross_compiling:$ac_tool_warned in
8001yes:)
8002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004ac_tool_warned=yes ;;
8005esac
8006    LIPO=$ac_ct_LIPO
8007  fi
8008else
8009  LIPO="$ac_cv_prog_LIPO"
8010fi
8011
8012    if test -n "$ac_tool_prefix"; then
8013  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8014set dummy ${ac_tool_prefix}otool; ac_word=$2
8015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016$as_echo_n "checking for $ac_word... " >&6; }
8017if ${ac_cv_prog_OTOOL+:} false; then :
8018  $as_echo_n "(cached) " >&6
8019else
8020  if test -n "$OTOOL"; then
8021  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8022else
8023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024for as_dir in $PATH
8025do
8026  IFS=$as_save_IFS
8027  test -z "$as_dir" && as_dir=.
8028    for ac_exec_ext in '' $ac_executable_extensions; do
8029  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8031    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032    break 2
8033  fi
8034done
8035  done
8036IFS=$as_save_IFS
8037
8038fi
8039fi
8040OTOOL=$ac_cv_prog_OTOOL
8041if test -n "$OTOOL"; then
8042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8043$as_echo "$OTOOL" >&6; }
8044else
8045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046$as_echo "no" >&6; }
8047fi
8048
8049
8050fi
8051if test -z "$ac_cv_prog_OTOOL"; then
8052  ac_ct_OTOOL=$OTOOL
8053  # Extract the first word of "otool", so it can be a program name with args.
8054set dummy otool; ac_word=$2
8055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8056$as_echo_n "checking for $ac_word... " >&6; }
8057if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8058  $as_echo_n "(cached) " >&6
8059else
8060  if test -n "$ac_ct_OTOOL"; then
8061  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8062else
8063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064for as_dir in $PATH
8065do
8066  IFS=$as_save_IFS
8067  test -z "$as_dir" && as_dir=.
8068    for ac_exec_ext in '' $ac_executable_extensions; do
8069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070    ac_cv_prog_ac_ct_OTOOL="otool"
8071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8072    break 2
8073  fi
8074done
8075  done
8076IFS=$as_save_IFS
8077
8078fi
8079fi
8080ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8081if test -n "$ac_ct_OTOOL"; then
8082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8083$as_echo "$ac_ct_OTOOL" >&6; }
8084else
8085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086$as_echo "no" >&6; }
8087fi
8088
8089  if test "x$ac_ct_OTOOL" = x; then
8090    OTOOL=":"
8091  else
8092    case $cross_compiling:$ac_tool_warned in
8093yes:)
8094{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8095$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8096ac_tool_warned=yes ;;
8097esac
8098    OTOOL=$ac_ct_OTOOL
8099  fi
8100else
8101  OTOOL="$ac_cv_prog_OTOOL"
8102fi
8103
8104    if test -n "$ac_tool_prefix"; then
8105  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8106set dummy ${ac_tool_prefix}otool64; ac_word=$2
8107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108$as_echo_n "checking for $ac_word... " >&6; }
8109if ${ac_cv_prog_OTOOL64+:} false; then :
8110  $as_echo_n "(cached) " >&6
8111else
8112  if test -n "$OTOOL64"; then
8113  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8114else
8115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116for as_dir in $PATH
8117do
8118  IFS=$as_save_IFS
8119  test -z "$as_dir" && as_dir=.
8120    for ac_exec_ext in '' $ac_executable_extensions; do
8121  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8123    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8124    break 2
8125  fi
8126done
8127  done
8128IFS=$as_save_IFS
8129
8130fi
8131fi
8132OTOOL64=$ac_cv_prog_OTOOL64
8133if test -n "$OTOOL64"; then
8134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8135$as_echo "$OTOOL64" >&6; }
8136else
8137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138$as_echo "no" >&6; }
8139fi
8140
8141
8142fi
8143if test -z "$ac_cv_prog_OTOOL64"; then
8144  ac_ct_OTOOL64=$OTOOL64
8145  # Extract the first word of "otool64", so it can be a program name with args.
8146set dummy otool64; ac_word=$2
8147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148$as_echo_n "checking for $ac_word... " >&6; }
8149if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8150  $as_echo_n "(cached) " >&6
8151else
8152  if test -n "$ac_ct_OTOOL64"; then
8153  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8154else
8155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156for as_dir in $PATH
8157do
8158  IFS=$as_save_IFS
8159  test -z "$as_dir" && as_dir=.
8160    for ac_exec_ext in '' $ac_executable_extensions; do
8161  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162    ac_cv_prog_ac_ct_OTOOL64="otool64"
8163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164    break 2
8165  fi
8166done
8167  done
8168IFS=$as_save_IFS
8169
8170fi
8171fi
8172ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8173if test -n "$ac_ct_OTOOL64"; then
8174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8175$as_echo "$ac_ct_OTOOL64" >&6; }
8176else
8177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178$as_echo "no" >&6; }
8179fi
8180
8181  if test "x$ac_ct_OTOOL64" = x; then
8182    OTOOL64=":"
8183  else
8184    case $cross_compiling:$ac_tool_warned in
8185yes:)
8186{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8187$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8188ac_tool_warned=yes ;;
8189esac
8190    OTOOL64=$ac_ct_OTOOL64
8191  fi
8192else
8193  OTOOL64="$ac_cv_prog_OTOOL64"
8194fi
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8223$as_echo_n "checking for -single_module linker flag... " >&6; }
8224if ${lt_cv_apple_cc_single_mod+:} false; then :
8225  $as_echo_n "(cached) " >&6
8226else
8227  lt_cv_apple_cc_single_mod=no
8228      if test -z "${LT_MULTI_MODULE}"; then
8229	# By default we will add the -single_module flag. You can override
8230	# by either setting the environment variable LT_MULTI_MODULE
8231	# non-empty at configure time, or by adding -multi_module to the
8232	# link flags.
8233	rm -rf libconftest.dylib*
8234	echo "int foo(void){return 1;}" > conftest.c
8235	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8236-dynamiclib -Wl,-single_module conftest.c" >&5
8237	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8238	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8239        _lt_result=$?
8240	# If there is a non-empty error log, and "single_module"
8241	# appears in it, assume the flag caused a linker warning
8242        if test -s conftest.err && $GREP single_module conftest.err; then
8243	  cat conftest.err >&5
8244	# Otherwise, if the output was created with a 0 exit code from
8245	# the compiler, it worked.
8246	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8247	  lt_cv_apple_cc_single_mod=yes
8248	else
8249	  cat conftest.err >&5
8250	fi
8251	rm -rf libconftest.dylib*
8252	rm -f conftest.*
8253      fi
8254fi
8255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8256$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8257
8258    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8259$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8260if ${lt_cv_ld_exported_symbols_list+:} false; then :
8261  $as_echo_n "(cached) " >&6
8262else
8263  lt_cv_ld_exported_symbols_list=no
8264      save_LDFLAGS=$LDFLAGS
8265      echo "_main" > conftest.sym
8266      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8267      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8268/* end confdefs.h.  */
8269
8270int
8271main ()
8272{
8273
8274  ;
8275  return 0;
8276}
8277_ACEOF
8278if ac_fn_c_try_link "$LINENO"; then :
8279  lt_cv_ld_exported_symbols_list=yes
8280else
8281  lt_cv_ld_exported_symbols_list=no
8282fi
8283rm -f core conftest.err conftest.$ac_objext \
8284    conftest$ac_exeext conftest.$ac_ext
8285	LDFLAGS="$save_LDFLAGS"
8286
8287fi
8288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8289$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8290
8291    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8292$as_echo_n "checking for -force_load linker flag... " >&6; }
8293if ${lt_cv_ld_force_load+:} false; then :
8294  $as_echo_n "(cached) " >&6
8295else
8296  lt_cv_ld_force_load=no
8297      cat > conftest.c << _LT_EOF
8298int forced_loaded() { return 2;}
8299_LT_EOF
8300      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8301      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8302      echo "$AR cru libconftest.a conftest.o" >&5
8303      $AR cru libconftest.a conftest.o 2>&5
8304      echo "$RANLIB libconftest.a" >&5
8305      $RANLIB libconftest.a 2>&5
8306      cat > conftest.c << _LT_EOF
8307int main() { return 0;}
8308_LT_EOF
8309      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8310      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8311      _lt_result=$?
8312      if test -s conftest.err && $GREP force_load conftest.err; then
8313	cat conftest.err >&5
8314      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8315	lt_cv_ld_force_load=yes
8316      else
8317	cat conftest.err >&5
8318      fi
8319        rm -f conftest.err libconftest.a conftest conftest.c
8320        rm -rf conftest.dSYM
8321
8322fi
8323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8324$as_echo "$lt_cv_ld_force_load" >&6; }
8325    case $host_os in
8326    rhapsody* | darwin1.[012])
8327      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8328    darwin1.*)
8329      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8330    darwin*) # darwin 5.x on
8331      # if running on 10.5 or later, the deployment target defaults
8332      # to the OS version, if on x86, and 10.4, the deployment
8333      # target defaults to 10.4. Don't you love it?
8334      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8335	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8336	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8337	10.[012]*)
8338	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8339	10.*)
8340	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8341      esac
8342    ;;
8343  esac
8344    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8345      _lt_dar_single_mod='$single_module'
8346    fi
8347    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8348      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8349    else
8350      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8351    fi
8352    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8353      _lt_dsymutil='~$DSYMUTIL $lib || :'
8354    else
8355      _lt_dsymutil=
8356    fi
8357    ;;
8358  esac
8359
8360for ac_header in dlfcn.h
8361do :
8362  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8363"
8364if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8365  cat >>confdefs.h <<_ACEOF
8366#define HAVE_DLFCN_H 1
8367_ACEOF
8368
8369fi
8370
8371done
8372
8373
8374
8375
8376
8377# Set options
8378
8379
8380
8381        enable_dlopen=no
8382
8383
8384
8385            # Check whether --enable-shared was given.
8386if test "${enable_shared+set}" = set; then :
8387  enableval=$enable_shared; p=${PACKAGE-default}
8388    case $enableval in
8389    yes) enable_shared=yes ;;
8390    no) enable_shared=no ;;
8391    *)
8392      enable_shared=no
8393      # Look at the argument we got.  We use all the common list separators.
8394      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8395      for pkg in $enableval; do
8396	IFS="$lt_save_ifs"
8397	if test "X$pkg" = "X$p"; then
8398	  enable_shared=yes
8399	fi
8400      done
8401      IFS="$lt_save_ifs"
8402      ;;
8403    esac
8404else
8405  enable_shared=yes
8406fi
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416  # Check whether --enable-static was given.
8417if test "${enable_static+set}" = set; then :
8418  enableval=$enable_static; p=${PACKAGE-default}
8419    case $enableval in
8420    yes) enable_static=yes ;;
8421    no) enable_static=no ;;
8422    *)
8423     enable_static=no
8424      # Look at the argument we got.  We use all the common list separators.
8425      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8426      for pkg in $enableval; do
8427	IFS="$lt_save_ifs"
8428	if test "X$pkg" = "X$p"; then
8429	  enable_static=yes
8430	fi
8431      done
8432      IFS="$lt_save_ifs"
8433      ;;
8434    esac
8435else
8436  enable_static=yes
8437fi
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448# Check whether --with-pic was given.
8449if test "${with_pic+set}" = set; then :
8450  withval=$with_pic; lt_p=${PACKAGE-default}
8451    case $withval in
8452    yes|no) pic_mode=$withval ;;
8453    *)
8454      pic_mode=default
8455      # Look at the argument we got.  We use all the common list separators.
8456      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8457      for lt_pkg in $withval; do
8458	IFS="$lt_save_ifs"
8459	if test "X$lt_pkg" = "X$lt_p"; then
8460	  pic_mode=yes
8461	fi
8462      done
8463      IFS="$lt_save_ifs"
8464      ;;
8465    esac
8466else
8467  pic_mode=default
8468fi
8469
8470
8471test -z "$pic_mode" && pic_mode=default
8472
8473
8474
8475
8476
8477
8478
8479  # Check whether --enable-fast-install was given.
8480if test "${enable_fast_install+set}" = set; then :
8481  enableval=$enable_fast_install; p=${PACKAGE-default}
8482    case $enableval in
8483    yes) enable_fast_install=yes ;;
8484    no) enable_fast_install=no ;;
8485    *)
8486      enable_fast_install=no
8487      # Look at the argument we got.  We use all the common list separators.
8488      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8489      for pkg in $enableval; do
8490	IFS="$lt_save_ifs"
8491	if test "X$pkg" = "X$p"; then
8492	  enable_fast_install=yes
8493	fi
8494      done
8495      IFS="$lt_save_ifs"
8496      ;;
8497    esac
8498else
8499  enable_fast_install=yes
8500fi
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512# This can be used to rebuild libtool when needed
8513LIBTOOL_DEPS="$ltmain"
8514
8515# Always use our own libtool.
8516LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547test -z "$LN_S" && LN_S="ln -s"
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562if test -n "${ZSH_VERSION+set}" ; then
8563   setopt NO_GLOB_SUBST
8564fi
8565
8566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8567$as_echo_n "checking for objdir... " >&6; }
8568if ${lt_cv_objdir+:} false; then :
8569  $as_echo_n "(cached) " >&6
8570else
8571  rm -f .libs 2>/dev/null
8572mkdir .libs 2>/dev/null
8573if test -d .libs; then
8574  lt_cv_objdir=.libs
8575else
8576  # MS-DOS does not allow filenames that begin with a dot.
8577  lt_cv_objdir=_libs
8578fi
8579rmdir .libs 2>/dev/null
8580fi
8581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8582$as_echo "$lt_cv_objdir" >&6; }
8583objdir=$lt_cv_objdir
8584
8585
8586
8587
8588
8589cat >>confdefs.h <<_ACEOF
8590#define LT_OBJDIR "$lt_cv_objdir/"
8591_ACEOF
8592
8593
8594
8595
8596case $host_os in
8597aix3*)
8598  # AIX sometimes has problems with the GCC collect2 program.  For some
8599  # reason, if we set the COLLECT_NAMES environment variable, the problems
8600  # vanish in a puff of smoke.
8601  if test "X${COLLECT_NAMES+set}" != Xset; then
8602    COLLECT_NAMES=
8603    export COLLECT_NAMES
8604  fi
8605  ;;
8606esac
8607
8608# Global variables:
8609ofile=libtool
8610can_build_shared=yes
8611
8612# All known linkers require a `.a' archive for static linking (except MSVC,
8613# which needs '.lib').
8614libext=a
8615
8616with_gnu_ld="$lt_cv_prog_gnu_ld"
8617
8618old_CC="$CC"
8619old_CFLAGS="$CFLAGS"
8620
8621# Set sane defaults for various variables
8622test -z "$CC" && CC=cc
8623test -z "$LTCC" && LTCC=$CC
8624test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8625test -z "$LD" && LD=ld
8626test -z "$ac_objext" && ac_objext=o
8627
8628for cc_temp in $compiler""; do
8629  case $cc_temp in
8630    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8631    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8632    \-*) ;;
8633    *) break;;
8634  esac
8635done
8636cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8637
8638
8639# Only perform the check for file, if the check method requires it
8640test -z "$MAGIC_CMD" && MAGIC_CMD=file
8641case $deplibs_check_method in
8642file_magic*)
8643  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8644    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8645$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8646if ${lt_cv_path_MAGIC_CMD+:} false; then :
8647  $as_echo_n "(cached) " >&6
8648else
8649  case $MAGIC_CMD in
8650[\\/*] |  ?:[\\/]*)
8651  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8652  ;;
8653*)
8654  lt_save_MAGIC_CMD="$MAGIC_CMD"
8655  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8656  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8657  for ac_dir in $ac_dummy; do
8658    IFS="$lt_save_ifs"
8659    test -z "$ac_dir" && ac_dir=.
8660    if test -f $ac_dir/${ac_tool_prefix}file; then
8661      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8662      if test -n "$file_magic_test_file"; then
8663	case $deplibs_check_method in
8664	"file_magic "*)
8665	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8666	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8667	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8668	    $EGREP "$file_magic_regex" > /dev/null; then
8669	    :
8670	  else
8671	    cat <<_LT_EOF 1>&2
8672
8673*** Warning: the command libtool uses to detect shared libraries,
8674*** $file_magic_cmd, produces output that libtool cannot recognize.
8675*** The result is that libtool may fail to recognize shared libraries
8676*** as such.  This will affect the creation of libtool libraries that
8677*** depend on shared libraries, but programs linked with such libtool
8678*** libraries will work regardless of this problem.  Nevertheless, you
8679*** may want to report the problem to your system manager and/or to
8680*** bug-libtool@gnu.org
8681
8682_LT_EOF
8683	  fi ;;
8684	esac
8685      fi
8686      break
8687    fi
8688  done
8689  IFS="$lt_save_ifs"
8690  MAGIC_CMD="$lt_save_MAGIC_CMD"
8691  ;;
8692esac
8693fi
8694
8695MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8696if test -n "$MAGIC_CMD"; then
8697  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8698$as_echo "$MAGIC_CMD" >&6; }
8699else
8700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8701$as_echo "no" >&6; }
8702fi
8703
8704
8705
8706
8707
8708if test -z "$lt_cv_path_MAGIC_CMD"; then
8709  if test -n "$ac_tool_prefix"; then
8710    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8711$as_echo_n "checking for file... " >&6; }
8712if ${lt_cv_path_MAGIC_CMD+:} false; then :
8713  $as_echo_n "(cached) " >&6
8714else
8715  case $MAGIC_CMD in
8716[\\/*] |  ?:[\\/]*)
8717  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8718  ;;
8719*)
8720  lt_save_MAGIC_CMD="$MAGIC_CMD"
8721  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8722  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8723  for ac_dir in $ac_dummy; do
8724    IFS="$lt_save_ifs"
8725    test -z "$ac_dir" && ac_dir=.
8726    if test -f $ac_dir/file; then
8727      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8728      if test -n "$file_magic_test_file"; then
8729	case $deplibs_check_method in
8730	"file_magic "*)
8731	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8732	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8733	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8734	    $EGREP "$file_magic_regex" > /dev/null; then
8735	    :
8736	  else
8737	    cat <<_LT_EOF 1>&2
8738
8739*** Warning: the command libtool uses to detect shared libraries,
8740*** $file_magic_cmd, produces output that libtool cannot recognize.
8741*** The result is that libtool may fail to recognize shared libraries
8742*** as such.  This will affect the creation of libtool libraries that
8743*** depend on shared libraries, but programs linked with such libtool
8744*** libraries will work regardless of this problem.  Nevertheless, you
8745*** may want to report the problem to your system manager and/or to
8746*** bug-libtool@gnu.org
8747
8748_LT_EOF
8749	  fi ;;
8750	esac
8751      fi
8752      break
8753    fi
8754  done
8755  IFS="$lt_save_ifs"
8756  MAGIC_CMD="$lt_save_MAGIC_CMD"
8757  ;;
8758esac
8759fi
8760
8761MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8762if test -n "$MAGIC_CMD"; then
8763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8764$as_echo "$MAGIC_CMD" >&6; }
8765else
8766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8767$as_echo "no" >&6; }
8768fi
8769
8770
8771  else
8772    MAGIC_CMD=:
8773  fi
8774fi
8775
8776  fi
8777  ;;
8778esac
8779
8780# Use C for the default configuration in the libtool script
8781
8782lt_save_CC="$CC"
8783ac_ext=c
8784ac_cpp='$CPP $CPPFLAGS'
8785ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8786ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8787ac_compiler_gnu=$ac_cv_c_compiler_gnu
8788
8789
8790# Source file extension for C test sources.
8791ac_ext=c
8792
8793# Object file extension for compiled C test sources.
8794objext=o
8795objext=$objext
8796
8797# Code to be used in simple compile tests
8798lt_simple_compile_test_code="int some_variable = 0;"
8799
8800# Code to be used in simple link tests
8801lt_simple_link_test_code='int main(){return(0);}'
8802
8803
8804
8805
8806
8807
8808
8809# If no C compiler was specified, use CC.
8810LTCC=${LTCC-"$CC"}
8811
8812# If no C compiler flags were specified, use CFLAGS.
8813LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8814
8815# Allow CC to be a program name with arguments.
8816compiler=$CC
8817
8818# Save the default compiler, since it gets overwritten when the other
8819# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8820compiler_DEFAULT=$CC
8821
8822# save warnings/boilerplate of simple test code
8823ac_outfile=conftest.$ac_objext
8824echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8825eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8826_lt_compiler_boilerplate=`cat conftest.err`
8827$RM conftest*
8828
8829ac_outfile=conftest.$ac_objext
8830echo "$lt_simple_link_test_code" >conftest.$ac_ext
8831eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8832_lt_linker_boilerplate=`cat conftest.err`
8833$RM -r conftest*
8834
8835
8836if test -n "$compiler"; then
8837
8838lt_prog_compiler_no_builtin_flag=
8839
8840if test "$GCC" = yes; then
8841  case $cc_basename in
8842  nvcc*)
8843    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8844  *)
8845    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8846  esac
8847
8848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8849$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8850if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8851  $as_echo_n "(cached) " >&6
8852else
8853  lt_cv_prog_compiler_rtti_exceptions=no
8854   ac_outfile=conftest.$ac_objext
8855   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8856   lt_compiler_flag="-fno-rtti -fno-exceptions"
8857   # Insert the option either (1) after the last *FLAGS variable, or
8858   # (2) before a word containing "conftest.", or (3) at the end.
8859   # Note that $ac_compile itself does not contain backslashes and begins
8860   # with a dollar sign (not a hyphen), so the echo should work correctly.
8861   # The option is referenced via a variable to avoid confusing sed.
8862   lt_compile=`echo "$ac_compile" | $SED \
8863   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8864   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8865   -e 's:$: $lt_compiler_flag:'`
8866   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8867   (eval "$lt_compile" 2>conftest.err)
8868   ac_status=$?
8869   cat conftest.err >&5
8870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871   if (exit $ac_status) && test -s "$ac_outfile"; then
8872     # The compiler can only warn and ignore the option if not recognized
8873     # So say no if there are warnings other than the usual output.
8874     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8875     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8876     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8877       lt_cv_prog_compiler_rtti_exceptions=yes
8878     fi
8879   fi
8880   $RM conftest*
8881
8882fi
8883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8884$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8885
8886if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8887    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8888else
8889    :
8890fi
8891
8892fi
8893
8894
8895
8896
8897
8898
8899  lt_prog_compiler_wl=
8900lt_prog_compiler_pic=
8901lt_prog_compiler_static=
8902
8903
8904  if test "$GCC" = yes; then
8905    lt_prog_compiler_wl='-Wl,'
8906    lt_prog_compiler_static='-static'
8907
8908    case $host_os in
8909      aix*)
8910      # All AIX code is PIC.
8911      if test "$host_cpu" = ia64; then
8912	# AIX 5 now supports IA64 processor
8913	lt_prog_compiler_static='-Bstatic'
8914      fi
8915      ;;
8916
8917    amigaos*)
8918      case $host_cpu in
8919      powerpc)
8920            # see comment about AmigaOS4 .so support
8921            lt_prog_compiler_pic='-fPIC'
8922        ;;
8923      m68k)
8924            # FIXME: we need at least 68020 code to build shared libraries, but
8925            # adding the `-m68020' flag to GCC prevents building anything better,
8926            # like `-m68040'.
8927            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8928        ;;
8929      esac
8930      ;;
8931
8932    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8933      # PIC is the default for these OSes.
8934      ;;
8935
8936    mingw* | cygwin* | pw32* | os2* | cegcc*)
8937      # This hack is so that the source file can tell whether it is being
8938      # built for inclusion in a dll (and should export symbols for example).
8939      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8940      # (--disable-auto-import) libraries
8941      lt_prog_compiler_pic='-DDLL_EXPORT'
8942      ;;
8943
8944    darwin* | rhapsody*)
8945      # PIC is the default on this platform
8946      # Common symbols not allowed in MH_DYLIB files
8947      lt_prog_compiler_pic='-fno-common'
8948      ;;
8949
8950    haiku*)
8951      # PIC is the default for Haiku.
8952      # The "-static" flag exists, but is broken.
8953      lt_prog_compiler_static=
8954      ;;
8955
8956    hpux*)
8957      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8958      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8959      # sets the default TLS model and affects inlining.
8960      case $host_cpu in
8961      hppa*64*)
8962	# +Z the default
8963	;;
8964      *)
8965	lt_prog_compiler_pic='-fPIC'
8966	;;
8967      esac
8968      ;;
8969
8970    interix[3-9]*)
8971      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8972      # Instead, we relocate shared libraries at runtime.
8973      ;;
8974
8975    msdosdjgpp*)
8976      # Just because we use GCC doesn't mean we suddenly get shared libraries
8977      # on systems that don't support them.
8978      lt_prog_compiler_can_build_shared=no
8979      enable_shared=no
8980      ;;
8981
8982    *nto* | *qnx*)
8983      # QNX uses GNU C++, but need to define -shared option too, otherwise
8984      # it will coredump.
8985      lt_prog_compiler_pic='-fPIC -shared'
8986      ;;
8987
8988    sysv4*MP*)
8989      if test -d /usr/nec; then
8990	lt_prog_compiler_pic=-Kconform_pic
8991      fi
8992      ;;
8993
8994    *)
8995      lt_prog_compiler_pic='-fPIC'
8996      ;;
8997    esac
8998
8999    case $cc_basename in
9000    nvcc*) # Cuda Compiler Driver 2.2
9001      lt_prog_compiler_wl='-Xlinker '
9002      if test -n "$lt_prog_compiler_pic"; then
9003        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9004      fi
9005      ;;
9006    esac
9007  else
9008    # PORTME Check for flag to pass linker flags through the system compiler.
9009    case $host_os in
9010    aix*)
9011      lt_prog_compiler_wl='-Wl,'
9012      if test "$host_cpu" = ia64; then
9013	# AIX 5 now supports IA64 processor
9014	lt_prog_compiler_static='-Bstatic'
9015      else
9016	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9017      fi
9018      ;;
9019
9020    mingw* | cygwin* | pw32* | os2* | cegcc*)
9021      # This hack is so that the source file can tell whether it is being
9022      # built for inclusion in a dll (and should export symbols for example).
9023      lt_prog_compiler_pic='-DDLL_EXPORT'
9024      ;;
9025
9026    hpux9* | hpux10* | hpux11*)
9027      lt_prog_compiler_wl='-Wl,'
9028      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9029      # not for PA HP-UX.
9030      case $host_cpu in
9031      hppa*64*|ia64*)
9032	# +Z the default
9033	;;
9034      *)
9035	lt_prog_compiler_pic='+Z'
9036	;;
9037      esac
9038      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9039      lt_prog_compiler_static='${wl}-a ${wl}archive'
9040      ;;
9041
9042    irix5* | irix6* | nonstopux*)
9043      lt_prog_compiler_wl='-Wl,'
9044      # PIC (with -KPIC) is the default.
9045      lt_prog_compiler_static='-non_shared'
9046      ;;
9047
9048    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9049      case $cc_basename in
9050      # old Intel for x86_64 which still supported -KPIC.
9051      ecc*)
9052	lt_prog_compiler_wl='-Wl,'
9053	lt_prog_compiler_pic='-KPIC'
9054	lt_prog_compiler_static='-static'
9055        ;;
9056      # icc used to be incompatible with GCC.
9057      # ICC 10 doesn't accept -KPIC any more.
9058      icc* | ifort*)
9059	lt_prog_compiler_wl='-Wl,'
9060	lt_prog_compiler_pic='-fPIC'
9061	lt_prog_compiler_static='-static'
9062        ;;
9063      # Lahey Fortran 8.1.
9064      lf95*)
9065	lt_prog_compiler_wl='-Wl,'
9066	lt_prog_compiler_pic='--shared'
9067	lt_prog_compiler_static='--static'
9068	;;
9069      nagfor*)
9070	# NAG Fortran compiler
9071	lt_prog_compiler_wl='-Wl,-Wl,,'
9072	lt_prog_compiler_pic='-PIC'
9073	lt_prog_compiler_static='-Bstatic'
9074	;;
9075      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9076        # Portland Group compilers (*not* the Pentium gcc compiler,
9077	# which looks to be a dead project)
9078	lt_prog_compiler_wl='-Wl,'
9079	lt_prog_compiler_pic='-fpic'
9080	lt_prog_compiler_static='-Bstatic'
9081        ;;
9082      ccc*)
9083        lt_prog_compiler_wl='-Wl,'
9084        # All Alpha code is PIC.
9085        lt_prog_compiler_static='-non_shared'
9086        ;;
9087      xl* | bgxl* | bgf* | mpixl*)
9088	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9089	lt_prog_compiler_wl='-Wl,'
9090	lt_prog_compiler_pic='-qpic'
9091	lt_prog_compiler_static='-qstaticlink'
9092	;;
9093      *)
9094	case `$CC -V 2>&1 | sed 5q` in
9095	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9096	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9097	  lt_prog_compiler_pic='-KPIC'
9098	  lt_prog_compiler_static='-Bstatic'
9099	  lt_prog_compiler_wl=''
9100	  ;;
9101	*Sun\ F* | *Sun*Fortran*)
9102	  lt_prog_compiler_pic='-KPIC'
9103	  lt_prog_compiler_static='-Bstatic'
9104	  lt_prog_compiler_wl='-Qoption ld '
9105	  ;;
9106	*Sun\ C*)
9107	  # Sun C 5.9
9108	  lt_prog_compiler_pic='-KPIC'
9109	  lt_prog_compiler_static='-Bstatic'
9110	  lt_prog_compiler_wl='-Wl,'
9111	  ;;
9112        *Intel*\ [CF]*Compiler*)
9113	  lt_prog_compiler_wl='-Wl,'
9114	  lt_prog_compiler_pic='-fPIC'
9115	  lt_prog_compiler_static='-static'
9116	  ;;
9117	*Portland\ Group*)
9118	  lt_prog_compiler_wl='-Wl,'
9119	  lt_prog_compiler_pic='-fpic'
9120	  lt_prog_compiler_static='-Bstatic'
9121	  ;;
9122	esac
9123	;;
9124      esac
9125      ;;
9126
9127    newsos6)
9128      lt_prog_compiler_pic='-KPIC'
9129      lt_prog_compiler_static='-Bstatic'
9130      ;;
9131
9132    *nto* | *qnx*)
9133      # QNX uses GNU C++, but need to define -shared option too, otherwise
9134      # it will coredump.
9135      lt_prog_compiler_pic='-fPIC -shared'
9136      ;;
9137
9138    osf3* | osf4* | osf5*)
9139      lt_prog_compiler_wl='-Wl,'
9140      # All OSF/1 code is PIC.
9141      lt_prog_compiler_static='-non_shared'
9142      ;;
9143
9144    rdos*)
9145      lt_prog_compiler_static='-non_shared'
9146      ;;
9147
9148    solaris*)
9149      lt_prog_compiler_pic='-KPIC'
9150      lt_prog_compiler_static='-Bstatic'
9151      case $cc_basename in
9152      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9153	lt_prog_compiler_wl='-Qoption ld ';;
9154      *)
9155	lt_prog_compiler_wl='-Wl,';;
9156      esac
9157      ;;
9158
9159    sunos4*)
9160      lt_prog_compiler_wl='-Qoption ld '
9161      lt_prog_compiler_pic='-PIC'
9162      lt_prog_compiler_static='-Bstatic'
9163      ;;
9164
9165    sysv4 | sysv4.2uw2* | sysv4.3*)
9166      lt_prog_compiler_wl='-Wl,'
9167      lt_prog_compiler_pic='-KPIC'
9168      lt_prog_compiler_static='-Bstatic'
9169      ;;
9170
9171    sysv4*MP*)
9172      if test -d /usr/nec ;then
9173	lt_prog_compiler_pic='-Kconform_pic'
9174	lt_prog_compiler_static='-Bstatic'
9175      fi
9176      ;;
9177
9178    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9179      lt_prog_compiler_wl='-Wl,'
9180      lt_prog_compiler_pic='-KPIC'
9181      lt_prog_compiler_static='-Bstatic'
9182      ;;
9183
9184    unicos*)
9185      lt_prog_compiler_wl='-Wl,'
9186      lt_prog_compiler_can_build_shared=no
9187      ;;
9188
9189    uts4*)
9190      lt_prog_compiler_pic='-pic'
9191      lt_prog_compiler_static='-Bstatic'
9192      ;;
9193
9194    *)
9195      lt_prog_compiler_can_build_shared=no
9196      ;;
9197    esac
9198  fi
9199
9200case $host_os in
9201  # For platforms which do not support PIC, -DPIC is meaningless:
9202  *djgpp*)
9203    lt_prog_compiler_pic=
9204    ;;
9205  *)
9206    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9207    ;;
9208esac
9209
9210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9211$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9212if ${lt_cv_prog_compiler_pic+:} false; then :
9213  $as_echo_n "(cached) " >&6
9214else
9215  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9216fi
9217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9218$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9219lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9220
9221#
9222# Check to make sure the PIC flag actually works.
9223#
9224if test -n "$lt_prog_compiler_pic"; then
9225  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9226$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9227if ${lt_cv_prog_compiler_pic_works+:} false; then :
9228  $as_echo_n "(cached) " >&6
9229else
9230  lt_cv_prog_compiler_pic_works=no
9231   ac_outfile=conftest.$ac_objext
9232   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9233   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9234   # Insert the option either (1) after the last *FLAGS variable, or
9235   # (2) before a word containing "conftest.", or (3) at the end.
9236   # Note that $ac_compile itself does not contain backslashes and begins
9237   # with a dollar sign (not a hyphen), so the echo should work correctly.
9238   # The option is referenced via a variable to avoid confusing sed.
9239   lt_compile=`echo "$ac_compile" | $SED \
9240   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9241   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9242   -e 's:$: $lt_compiler_flag:'`
9243   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9244   (eval "$lt_compile" 2>conftest.err)
9245   ac_status=$?
9246   cat conftest.err >&5
9247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248   if (exit $ac_status) && test -s "$ac_outfile"; then
9249     # The compiler can only warn and ignore the option if not recognized
9250     # So say no if there are warnings other than the usual output.
9251     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9252     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9253     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9254       lt_cv_prog_compiler_pic_works=yes
9255     fi
9256   fi
9257   $RM conftest*
9258
9259fi
9260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9261$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9262
9263if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9264    case $lt_prog_compiler_pic in
9265     "" | " "*) ;;
9266     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9267     esac
9268else
9269    lt_prog_compiler_pic=
9270     lt_prog_compiler_can_build_shared=no
9271fi
9272
9273fi
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285#
9286# Check to make sure the static flag actually works.
9287#
9288wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9290$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9291if ${lt_cv_prog_compiler_static_works+:} false; then :
9292  $as_echo_n "(cached) " >&6
9293else
9294  lt_cv_prog_compiler_static_works=no
9295   save_LDFLAGS="$LDFLAGS"
9296   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9297   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9298   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9299     # The linker can only warn and ignore the option if not recognized
9300     # So say no if there are warnings
9301     if test -s conftest.err; then
9302       # Append any errors to the config.log.
9303       cat conftest.err 1>&5
9304       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9305       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9306       if diff conftest.exp conftest.er2 >/dev/null; then
9307         lt_cv_prog_compiler_static_works=yes
9308       fi
9309     else
9310       lt_cv_prog_compiler_static_works=yes
9311     fi
9312   fi
9313   $RM -r conftest*
9314   LDFLAGS="$save_LDFLAGS"
9315
9316fi
9317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9318$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9319
9320if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9321    :
9322else
9323    lt_prog_compiler_static=
9324fi
9325
9326
9327
9328
9329
9330
9331
9332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9333$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9334if ${lt_cv_prog_compiler_c_o+:} false; then :
9335  $as_echo_n "(cached) " >&6
9336else
9337  lt_cv_prog_compiler_c_o=no
9338   $RM -r conftest 2>/dev/null
9339   mkdir conftest
9340   cd conftest
9341   mkdir out
9342   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9343
9344   lt_compiler_flag="-o out/conftest2.$ac_objext"
9345   # Insert the option either (1) after the last *FLAGS variable, or
9346   # (2) before a word containing "conftest.", or (3) at the end.
9347   # Note that $ac_compile itself does not contain backslashes and begins
9348   # with a dollar sign (not a hyphen), so the echo should work correctly.
9349   lt_compile=`echo "$ac_compile" | $SED \
9350   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9351   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9352   -e 's:$: $lt_compiler_flag:'`
9353   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9354   (eval "$lt_compile" 2>out/conftest.err)
9355   ac_status=$?
9356   cat out/conftest.err >&5
9357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9359   then
9360     # The compiler can only warn and ignore the option if not recognized
9361     # So say no if there are warnings
9362     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9363     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9364     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9365       lt_cv_prog_compiler_c_o=yes
9366     fi
9367   fi
9368   chmod u+w . 2>&5
9369   $RM conftest*
9370   # SGI C++ compiler will create directory out/ii_files/ for
9371   # template instantiation
9372   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9373   $RM out/* && rmdir out
9374   cd ..
9375   $RM -r conftest
9376   $RM conftest*
9377
9378fi
9379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9380$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9381
9382
9383
9384
9385
9386
9387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9388$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9389if ${lt_cv_prog_compiler_c_o+:} false; then :
9390  $as_echo_n "(cached) " >&6
9391else
9392  lt_cv_prog_compiler_c_o=no
9393   $RM -r conftest 2>/dev/null
9394   mkdir conftest
9395   cd conftest
9396   mkdir out
9397   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9398
9399   lt_compiler_flag="-o out/conftest2.$ac_objext"
9400   # Insert the option either (1) after the last *FLAGS variable, or
9401   # (2) before a word containing "conftest.", or (3) at the end.
9402   # Note that $ac_compile itself does not contain backslashes and begins
9403   # with a dollar sign (not a hyphen), so the echo should work correctly.
9404   lt_compile=`echo "$ac_compile" | $SED \
9405   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9406   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9407   -e 's:$: $lt_compiler_flag:'`
9408   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9409   (eval "$lt_compile" 2>out/conftest.err)
9410   ac_status=$?
9411   cat out/conftest.err >&5
9412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9414   then
9415     # The compiler can only warn and ignore the option if not recognized
9416     # So say no if there are warnings
9417     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9418     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9419     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9420       lt_cv_prog_compiler_c_o=yes
9421     fi
9422   fi
9423   chmod u+w . 2>&5
9424   $RM conftest*
9425   # SGI C++ compiler will create directory out/ii_files/ for
9426   # template instantiation
9427   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9428   $RM out/* && rmdir out
9429   cd ..
9430   $RM -r conftest
9431   $RM conftest*
9432
9433fi
9434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9435$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9436
9437
9438
9439
9440hard_links="nottested"
9441if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9442  # do not overwrite the value of need_locks provided by the user
9443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9444$as_echo_n "checking if we can lock with hard links... " >&6; }
9445  hard_links=yes
9446  $RM conftest*
9447  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9448  touch conftest.a
9449  ln conftest.a conftest.b 2>&5 || hard_links=no
9450  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9452$as_echo "$hard_links" >&6; }
9453  if test "$hard_links" = no; then
9454    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9455$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9456    need_locks=warn
9457  fi
9458else
9459  need_locks=no
9460fi
9461
9462
9463
9464
9465
9466
9467  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9468$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9469
9470  runpath_var=
9471  allow_undefined_flag=
9472  always_export_symbols=no
9473  archive_cmds=
9474  archive_expsym_cmds=
9475  compiler_needs_object=no
9476  enable_shared_with_static_runtimes=no
9477  export_dynamic_flag_spec=
9478  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9479  hardcode_automatic=no
9480  hardcode_direct=no
9481  hardcode_direct_absolute=no
9482  hardcode_libdir_flag_spec=
9483  hardcode_libdir_separator=
9484  hardcode_minus_L=no
9485  hardcode_shlibpath_var=unsupported
9486  inherit_rpath=no
9487  link_all_deplibs=unknown
9488  module_cmds=
9489  module_expsym_cmds=
9490  old_archive_from_new_cmds=
9491  old_archive_from_expsyms_cmds=
9492  thread_safe_flag_spec=
9493  whole_archive_flag_spec=
9494  # include_expsyms should be a list of space-separated symbols to be *always*
9495  # included in the symbol list
9496  include_expsyms=
9497  # exclude_expsyms can be an extended regexp of symbols to exclude
9498  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9499  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9500  # as well as any symbol that contains `d'.
9501  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9502  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9503  # platforms (ab)use it in PIC code, but their linkers get confused if
9504  # the symbol is explicitly referenced.  Since portable code cannot
9505  # rely on this symbol name, it's probably fine to never include it in
9506  # preloaded symbol tables.
9507  # Exclude shared library initialization/finalization symbols.
9508  extract_expsyms_cmds=
9509
9510  case $host_os in
9511  cygwin* | mingw* | pw32* | cegcc*)
9512    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9513    # When not using gcc, we currently assume that we are using
9514    # Microsoft Visual C++.
9515    if test "$GCC" != yes; then
9516      with_gnu_ld=no
9517    fi
9518    ;;
9519  interix*)
9520    # we just hope/assume this is gcc and not c89 (= MSVC++)
9521    with_gnu_ld=yes
9522    ;;
9523  openbsd*)
9524    with_gnu_ld=no
9525    ;;
9526  linux* | k*bsd*-gnu | gnu*)
9527    link_all_deplibs=no
9528    ;;
9529  esac
9530
9531  ld_shlibs=yes
9532
9533  # On some targets, GNU ld is compatible enough with the native linker
9534  # that we're better off using the native interface for both.
9535  lt_use_gnu_ld_interface=no
9536  if test "$with_gnu_ld" = yes; then
9537    case $host_os in
9538      aix*)
9539	# The AIX port of GNU ld has always aspired to compatibility
9540	# with the native linker.  However, as the warning in the GNU ld
9541	# block says, versions before 2.19.5* couldn't really create working
9542	# shared libraries, regardless of the interface used.
9543	case `$LD -v 2>&1` in
9544	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9545	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9546	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9547	  *)
9548	    lt_use_gnu_ld_interface=yes
9549	    ;;
9550	esac
9551	;;
9552      *)
9553	lt_use_gnu_ld_interface=yes
9554	;;
9555    esac
9556  fi
9557
9558  if test "$lt_use_gnu_ld_interface" = yes; then
9559    # If archive_cmds runs LD, not CC, wlarc should be empty
9560    wlarc='${wl}'
9561
9562    # Set some defaults for GNU ld with shared library support. These
9563    # are reset later if shared libraries are not supported. Putting them
9564    # here allows them to be overridden if necessary.
9565    runpath_var=LD_RUN_PATH
9566    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9567    export_dynamic_flag_spec='${wl}--export-dynamic'
9568    # ancient GNU ld didn't support --whole-archive et. al.
9569    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9570      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9571    else
9572      whole_archive_flag_spec=
9573    fi
9574    supports_anon_versioning=no
9575    case `$LD -v 2>&1` in
9576      *GNU\ gold*) supports_anon_versioning=yes ;;
9577      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9578      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9579      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9580      *\ 2.11.*) ;; # other 2.11 versions
9581      *) supports_anon_versioning=yes ;;
9582    esac
9583
9584    # See if GNU ld supports shared libraries.
9585    case $host_os in
9586    aix[3-9]*)
9587      # On AIX/PPC, the GNU linker is very broken
9588      if test "$host_cpu" != ia64; then
9589	ld_shlibs=no
9590	cat <<_LT_EOF 1>&2
9591
9592*** Warning: the GNU linker, at least up to release 2.19, is reported
9593*** to be unable to reliably create shared libraries on AIX.
9594*** Therefore, libtool is disabling shared libraries support.  If you
9595*** really care for shared libraries, you may want to install binutils
9596*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9597*** You will then need to restart the configuration process.
9598
9599_LT_EOF
9600      fi
9601      ;;
9602
9603    amigaos*)
9604      case $host_cpu in
9605      powerpc)
9606            # see comment about AmigaOS4 .so support
9607            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9608            archive_expsym_cmds=''
9609        ;;
9610      m68k)
9611            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9612            hardcode_libdir_flag_spec='-L$libdir'
9613            hardcode_minus_L=yes
9614        ;;
9615      esac
9616      ;;
9617
9618    beos*)
9619      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9620	allow_undefined_flag=unsupported
9621	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9622	# support --undefined.  This deserves some investigation.  FIXME
9623	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9624      else
9625	ld_shlibs=no
9626      fi
9627      ;;
9628
9629    cygwin* | mingw* | pw32* | cegcc*)
9630      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9631      # as there is no search path for DLLs.
9632      hardcode_libdir_flag_spec='-L$libdir'
9633      export_dynamic_flag_spec='${wl}--export-all-symbols'
9634      allow_undefined_flag=unsupported
9635      always_export_symbols=no
9636      enable_shared_with_static_runtimes=yes
9637      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9638      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9639
9640      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9641        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9642	# If the export-symbols file already is a .def file (1st line
9643	# is EXPORTS), use it as is; otherwise, prepend...
9644	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9645	  cp $export_symbols $output_objdir/$soname.def;
9646	else
9647	  echo EXPORTS > $output_objdir/$soname.def;
9648	  cat $export_symbols >> $output_objdir/$soname.def;
9649	fi~
9650	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9651      else
9652	ld_shlibs=no
9653      fi
9654      ;;
9655
9656    haiku*)
9657      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9658      link_all_deplibs=yes
9659      ;;
9660
9661    interix[3-9]*)
9662      hardcode_direct=no
9663      hardcode_shlibpath_var=no
9664      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9665      export_dynamic_flag_spec='${wl}-E'
9666      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9667      # Instead, shared libraries are loaded at an image base (0x10000000 by
9668      # default) and relocated if they conflict, which is a slow very memory
9669      # consuming and fragmenting process.  To avoid this, we pick a random,
9670      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9671      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9672      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9673      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9674      ;;
9675
9676    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9677      tmp_diet=no
9678      if test "$host_os" = linux-dietlibc; then
9679	case $cc_basename in
9680	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9681	esac
9682      fi
9683      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9684	 && test "$tmp_diet" = no
9685      then
9686	tmp_addflag=' $pic_flag'
9687	tmp_sharedflag='-shared'
9688	case $cc_basename,$host_cpu in
9689        pgcc*)				# Portland Group C compiler
9690	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9691	  tmp_addflag=' $pic_flag'
9692	  ;;
9693	pgf77* | pgf90* | pgf95* | pgfortran*)
9694					# Portland Group f77 and f90 compilers
9695	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9696	  tmp_addflag=' $pic_flag -Mnomain' ;;
9697	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9698	  tmp_addflag=' -i_dynamic' ;;
9699	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9700	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9701	ifc* | ifort*)			# Intel Fortran compiler
9702	  tmp_addflag=' -nofor_main' ;;
9703	lf95*)				# Lahey Fortran 8.1
9704	  whole_archive_flag_spec=
9705	  tmp_sharedflag='--shared' ;;
9706	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9707	  tmp_sharedflag='-qmkshrobj'
9708	  tmp_addflag= ;;
9709	nvcc*)	# Cuda Compiler Driver 2.2
9710	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9711	  compiler_needs_object=yes
9712	  ;;
9713	esac
9714	case `$CC -V 2>&1 | sed 5q` in
9715	*Sun\ C*)			# Sun C 5.9
9716	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9717	  compiler_needs_object=yes
9718	  tmp_sharedflag='-G' ;;
9719	*Sun\ F*)			# Sun Fortran 8.3
9720	  tmp_sharedflag='-G' ;;
9721	esac
9722	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9723
9724        if test "x$supports_anon_versioning" = xyes; then
9725          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9726	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9727	    echo "local: *; };" >> $output_objdir/$libname.ver~
9728	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9729        fi
9730
9731	case $cc_basename in
9732	xlf* | bgf* | bgxlf* | mpixlf*)
9733	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9734	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9735	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9736	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9737	  if test "x$supports_anon_versioning" = xyes; then
9738	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9739	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9740	      echo "local: *; };" >> $output_objdir/$libname.ver~
9741	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9742	  fi
9743	  ;;
9744	esac
9745      else
9746        ld_shlibs=no
9747      fi
9748      ;;
9749
9750    netbsd* | netbsdelf*-gnu)
9751      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9752	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9753	wlarc=
9754      else
9755	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9756	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9757      fi
9758      ;;
9759
9760    solaris*)
9761      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9762	ld_shlibs=no
9763	cat <<_LT_EOF 1>&2
9764
9765*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9766*** create shared libraries on Solaris systems.  Therefore, libtool
9767*** is disabling shared libraries support.  We urge you to upgrade GNU
9768*** binutils to release 2.9.1 or newer.  Another option is to modify
9769*** your PATH or compiler configuration so that the native linker is
9770*** used, and then restart.
9771
9772_LT_EOF
9773      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9774	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9775	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9776      else
9777	ld_shlibs=no
9778      fi
9779      ;;
9780
9781    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9782      case `$LD -v 2>&1` in
9783        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9784	ld_shlibs=no
9785	cat <<_LT_EOF 1>&2
9786
9787*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9788*** reliably create shared libraries on SCO systems.  Therefore, libtool
9789*** is disabling shared libraries support.  We urge you to upgrade GNU
9790*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9791*** your PATH or compiler configuration so that the native linker is
9792*** used, and then restart.
9793
9794_LT_EOF
9795	;;
9796	*)
9797	  # For security reasons, it is highly recommended that you always
9798	  # use absolute paths for naming shared libraries, and exclude the
9799	  # DT_RUNPATH tag from executables and libraries.  But doing so
9800	  # requires that you compile everything twice, which is a pain.
9801	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9802	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9803	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9804	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9805	  else
9806	    ld_shlibs=no
9807	  fi
9808	;;
9809      esac
9810      ;;
9811
9812    sunos4*)
9813      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9814      wlarc=
9815      hardcode_direct=yes
9816      hardcode_shlibpath_var=no
9817      ;;
9818
9819    *)
9820      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9821	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9822	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9823      else
9824	ld_shlibs=no
9825      fi
9826      ;;
9827    esac
9828
9829    if test "$ld_shlibs" = no; then
9830      runpath_var=
9831      hardcode_libdir_flag_spec=
9832      export_dynamic_flag_spec=
9833      whole_archive_flag_spec=
9834    fi
9835  else
9836    # PORTME fill in a description of your system's linker (not GNU ld)
9837    case $host_os in
9838    aix3*)
9839      allow_undefined_flag=unsupported
9840      always_export_symbols=yes
9841      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9842      # Note: this linker hardcodes the directories in LIBPATH if there
9843      # are no directories specified by -L.
9844      hardcode_minus_L=yes
9845      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9846	# Neither direct hardcoding nor static linking is supported with a
9847	# broken collect2.
9848	hardcode_direct=unsupported
9849      fi
9850      ;;
9851
9852    aix[4-9]*)
9853      if test "$host_cpu" = ia64; then
9854	# On IA64, the linker does run time linking by default, so we don't
9855	# have to do anything special.
9856	aix_use_runtimelinking=no
9857	exp_sym_flag='-Bexport'
9858	no_entry_flag=""
9859      else
9860	# If we're using GNU nm, then we don't want the "-C" option.
9861	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9862	# Also, AIX nm treats weak defined symbols like other global
9863	# defined symbols, whereas GNU nm marks them as "W".
9864	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9865	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9866	else
9867	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9868	fi
9869	aix_use_runtimelinking=no
9870
9871	# Test if we are trying to use run time linking or normal
9872	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9873	# need to do runtime linking.
9874	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9875	  for ld_flag in $LDFLAGS; do
9876	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9877	    aix_use_runtimelinking=yes
9878	    break
9879	  fi
9880	  done
9881	  ;;
9882	esac
9883
9884	exp_sym_flag='-bexport'
9885	no_entry_flag='-bnoentry'
9886      fi
9887
9888      # When large executables or shared objects are built, AIX ld can
9889      # have problems creating the table of contents.  If linking a library
9890      # or program results in "error TOC overflow" add -mminimal-toc to
9891      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9892      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9893
9894      archive_cmds=''
9895      hardcode_direct=yes
9896      hardcode_direct_absolute=yes
9897      hardcode_libdir_separator=':'
9898      link_all_deplibs=yes
9899      file_list_spec='${wl}-f,'
9900
9901      if test "$GCC" = yes; then
9902	case $host_os in aix4.[012]|aix4.[012].*)
9903	# We only want to do this on AIX 4.2 and lower, the check
9904	# below for broken collect2 doesn't work under 4.3+
9905	  collect2name=`${CC} -print-prog-name=collect2`
9906	  if test -f "$collect2name" &&
9907	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9908	  then
9909	  # We have reworked collect2
9910	  :
9911	  else
9912	  # We have old collect2
9913	  hardcode_direct=unsupported
9914	  # It fails to find uninstalled libraries when the uninstalled
9915	  # path is not listed in the libpath.  Setting hardcode_minus_L
9916	  # to unsupported forces relinking
9917	  hardcode_minus_L=yes
9918	  hardcode_libdir_flag_spec='-L$libdir'
9919	  hardcode_libdir_separator=
9920	  fi
9921	  ;;
9922	esac
9923	shared_flag='-shared'
9924	if test "$aix_use_runtimelinking" = yes; then
9925	  shared_flag="$shared_flag "'${wl}-G'
9926	fi
9927	link_all_deplibs=no
9928      else
9929	# not using gcc
9930	if test "$host_cpu" = ia64; then
9931	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9932	# chokes on -Wl,-G. The following line is correct:
9933	  shared_flag='-G'
9934	else
9935	  if test "$aix_use_runtimelinking" = yes; then
9936	    shared_flag='${wl}-G'
9937	  else
9938	    shared_flag='${wl}-bM:SRE'
9939	  fi
9940	fi
9941      fi
9942
9943      export_dynamic_flag_spec='${wl}-bexpall'
9944      # It seems that -bexpall does not export symbols beginning with
9945      # underscore (_), so it is better to generate a list of symbols to export.
9946      always_export_symbols=yes
9947      if test "$aix_use_runtimelinking" = yes; then
9948	# Warning - without using the other runtime loading flags (-brtl),
9949	# -berok will link without error, but may produce a broken library.
9950	allow_undefined_flag='-berok'
9951        # Determine the default libpath from the value encoded in an
9952        # empty executable.
9953        if test "${lt_cv_aix_libpath+set}" = set; then
9954  aix_libpath=$lt_cv_aix_libpath
9955else
9956  if ${lt_cv_aix_libpath_+:} false; then :
9957  $as_echo_n "(cached) " >&6
9958else
9959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960/* end confdefs.h.  */
9961
9962int
9963main ()
9964{
9965
9966  ;
9967  return 0;
9968}
9969_ACEOF
9970if ac_fn_c_try_link "$LINENO"; then :
9971
9972  lt_aix_libpath_sed='
9973      /Import File Strings/,/^$/ {
9974	  /^0/ {
9975	      s/^0  *\([^ ]*\) *$/\1/
9976	      p
9977	  }
9978      }'
9979  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9980  # Check for a 64-bit object if we didn't find anything.
9981  if test -z "$lt_cv_aix_libpath_"; then
9982    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9983  fi
9984fi
9985rm -f core conftest.err conftest.$ac_objext \
9986    conftest$ac_exeext conftest.$ac_ext
9987  if test -z "$lt_cv_aix_libpath_"; then
9988    lt_cv_aix_libpath_="/usr/lib:/lib"
9989  fi
9990
9991fi
9992
9993  aix_libpath=$lt_cv_aix_libpath_
9994fi
9995
9996        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9997        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9998      else
9999	if test "$host_cpu" = ia64; then
10000	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10001	  allow_undefined_flag="-z nodefs"
10002	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10003	else
10004	 # Determine the default libpath from the value encoded in an
10005	 # empty executable.
10006	 if test "${lt_cv_aix_libpath+set}" = set; then
10007  aix_libpath=$lt_cv_aix_libpath
10008else
10009  if ${lt_cv_aix_libpath_+:} false; then :
10010  $as_echo_n "(cached) " >&6
10011else
10012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013/* end confdefs.h.  */
10014
10015int
10016main ()
10017{
10018
10019  ;
10020  return 0;
10021}
10022_ACEOF
10023if ac_fn_c_try_link "$LINENO"; then :
10024
10025  lt_aix_libpath_sed='
10026      /Import File Strings/,/^$/ {
10027	  /^0/ {
10028	      s/^0  *\([^ ]*\) *$/\1/
10029	      p
10030	  }
10031      }'
10032  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10033  # Check for a 64-bit object if we didn't find anything.
10034  if test -z "$lt_cv_aix_libpath_"; then
10035    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10036  fi
10037fi
10038rm -f core conftest.err conftest.$ac_objext \
10039    conftest$ac_exeext conftest.$ac_ext
10040  if test -z "$lt_cv_aix_libpath_"; then
10041    lt_cv_aix_libpath_="/usr/lib:/lib"
10042  fi
10043
10044fi
10045
10046  aix_libpath=$lt_cv_aix_libpath_
10047fi
10048
10049	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10050	  # Warning - without using the other run time loading flags,
10051	  # -berok will link without error, but may produce a broken library.
10052	  no_undefined_flag=' ${wl}-bernotok'
10053	  allow_undefined_flag=' ${wl}-berok'
10054	  if test "$with_gnu_ld" = yes; then
10055	    # We only use this code for GNU lds that support --whole-archive.
10056	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10057	  else
10058	    # Exported symbols can be pulled into shared objects from archives
10059	    whole_archive_flag_spec='$convenience'
10060	  fi
10061	  archive_cmds_need_lc=yes
10062	  # This is similar to how AIX traditionally builds its shared libraries.
10063	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10064	fi
10065      fi
10066      ;;
10067
10068    amigaos*)
10069      case $host_cpu in
10070      powerpc)
10071            # see comment about AmigaOS4 .so support
10072            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073            archive_expsym_cmds=''
10074        ;;
10075      m68k)
10076            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10077            hardcode_libdir_flag_spec='-L$libdir'
10078            hardcode_minus_L=yes
10079        ;;
10080      esac
10081      ;;
10082
10083    bsdi[45]*)
10084      export_dynamic_flag_spec=-rdynamic
10085      ;;
10086
10087    cygwin* | mingw* | pw32* | cegcc*)
10088      # When not using gcc, we currently assume that we are using
10089      # Microsoft Visual C++.
10090      # hardcode_libdir_flag_spec is actually meaningless, as there is
10091      # no search path for DLLs.
10092      case $cc_basename in
10093      cl*)
10094	# Native MSVC
10095	hardcode_libdir_flag_spec=' '
10096	allow_undefined_flag=unsupported
10097	always_export_symbols=yes
10098	file_list_spec='@'
10099	# Tell ltmain to make .lib files, not .a files.
10100	libext=lib
10101	# Tell ltmain to make .dll files, not .so files.
10102	shrext_cmds=".dll"
10103	# FIXME: Setting linknames here is a bad hack.
10104	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10105	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10106	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10107	  else
10108	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10109	  fi~
10110	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10111	  linknames='
10112	# The linker will not automatically build a static lib if we build a DLL.
10113	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10114	enable_shared_with_static_runtimes=yes
10115	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10116	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10117	# Don't use ranlib
10118	old_postinstall_cmds='chmod 644 $oldlib'
10119	postlink_cmds='lt_outputfile="@OUTPUT@"~
10120	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10121	  case $lt_outputfile in
10122	    *.exe|*.EXE) ;;
10123	    *)
10124	      lt_outputfile="$lt_outputfile.exe"
10125	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10126	      ;;
10127	  esac~
10128	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10129	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10130	    $RM "$lt_outputfile.manifest";
10131	  fi'
10132	;;
10133      *)
10134	# Assume MSVC wrapper
10135	hardcode_libdir_flag_spec=' '
10136	allow_undefined_flag=unsupported
10137	# Tell ltmain to make .lib files, not .a files.
10138	libext=lib
10139	# Tell ltmain to make .dll files, not .so files.
10140	shrext_cmds=".dll"
10141	# FIXME: Setting linknames here is a bad hack.
10142	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10143	# The linker will automatically build a .lib file if we build a DLL.
10144	old_archive_from_new_cmds='true'
10145	# FIXME: Should let the user specify the lib program.
10146	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10147	enable_shared_with_static_runtimes=yes
10148	;;
10149      esac
10150      ;;
10151
10152    darwin* | rhapsody*)
10153
10154
10155  archive_cmds_need_lc=no
10156  hardcode_direct=no
10157  hardcode_automatic=yes
10158  hardcode_shlibpath_var=unsupported
10159  if test "$lt_cv_ld_force_load" = "yes"; then
10160    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10161
10162  else
10163    whole_archive_flag_spec=''
10164  fi
10165  link_all_deplibs=yes
10166  allow_undefined_flag="$_lt_dar_allow_undefined"
10167  case $cc_basename in
10168     ifort*) _lt_dar_can_shared=yes ;;
10169     *) _lt_dar_can_shared=$GCC ;;
10170  esac
10171  if test "$_lt_dar_can_shared" = "yes"; then
10172    output_verbose_link_cmd=func_echo_all
10173    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10174    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10175    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10176    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10177
10178  else
10179  ld_shlibs=no
10180  fi
10181
10182      ;;
10183
10184    dgux*)
10185      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10186      hardcode_libdir_flag_spec='-L$libdir'
10187      hardcode_shlibpath_var=no
10188      ;;
10189
10190    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10191    # support.  Future versions do this automatically, but an explicit c++rt0.o
10192    # does not break anything, and helps significantly (at the cost of a little
10193    # extra space).
10194    freebsd2.2*)
10195      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10196      hardcode_libdir_flag_spec='-R$libdir'
10197      hardcode_direct=yes
10198      hardcode_shlibpath_var=no
10199      ;;
10200
10201    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10202    freebsd2.*)
10203      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10204      hardcode_direct=yes
10205      hardcode_minus_L=yes
10206      hardcode_shlibpath_var=no
10207      ;;
10208
10209    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10210    freebsd* | dragonfly*)
10211      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10212      hardcode_libdir_flag_spec='-R$libdir'
10213      hardcode_direct=yes
10214      hardcode_shlibpath_var=no
10215      ;;
10216
10217    hpux9*)
10218      if test "$GCC" = yes; then
10219	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10220      else
10221	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10222      fi
10223      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10224      hardcode_libdir_separator=:
10225      hardcode_direct=yes
10226
10227      # hardcode_minus_L: Not really in the search PATH,
10228      # but as the default location of the library.
10229      hardcode_minus_L=yes
10230      export_dynamic_flag_spec='${wl}-E'
10231      ;;
10232
10233    hpux10*)
10234      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10235	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10236      else
10237	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10238      fi
10239      if test "$with_gnu_ld" = no; then
10240	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10241	hardcode_libdir_separator=:
10242	hardcode_direct=yes
10243	hardcode_direct_absolute=yes
10244	export_dynamic_flag_spec='${wl}-E'
10245	# hardcode_minus_L: Not really in the search PATH,
10246	# but as the default location of the library.
10247	hardcode_minus_L=yes
10248      fi
10249      ;;
10250
10251    hpux11*)
10252      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10253	case $host_cpu in
10254	hppa*64*)
10255	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10256	  ;;
10257	ia64*)
10258	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10259	  ;;
10260	*)
10261	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10262	  ;;
10263	esac
10264      else
10265	case $host_cpu in
10266	hppa*64*)
10267	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10268	  ;;
10269	ia64*)
10270	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10271	  ;;
10272	*)
10273
10274	  # Older versions of the 11.00 compiler do not understand -b yet
10275	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10276	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10277$as_echo_n "checking if $CC understands -b... " >&6; }
10278if ${lt_cv_prog_compiler__b+:} false; then :
10279  $as_echo_n "(cached) " >&6
10280else
10281  lt_cv_prog_compiler__b=no
10282   save_LDFLAGS="$LDFLAGS"
10283   LDFLAGS="$LDFLAGS -b"
10284   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10285   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10286     # The linker can only warn and ignore the option if not recognized
10287     # So say no if there are warnings
10288     if test -s conftest.err; then
10289       # Append any errors to the config.log.
10290       cat conftest.err 1>&5
10291       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10292       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10293       if diff conftest.exp conftest.er2 >/dev/null; then
10294         lt_cv_prog_compiler__b=yes
10295       fi
10296     else
10297       lt_cv_prog_compiler__b=yes
10298     fi
10299   fi
10300   $RM -r conftest*
10301   LDFLAGS="$save_LDFLAGS"
10302
10303fi
10304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10305$as_echo "$lt_cv_prog_compiler__b" >&6; }
10306
10307if test x"$lt_cv_prog_compiler__b" = xyes; then
10308    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10309else
10310    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10311fi
10312
10313	  ;;
10314	esac
10315      fi
10316      if test "$with_gnu_ld" = no; then
10317	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10318	hardcode_libdir_separator=:
10319
10320	case $host_cpu in
10321	hppa*64*|ia64*)
10322	  hardcode_direct=no
10323	  hardcode_shlibpath_var=no
10324	  ;;
10325	*)
10326	  hardcode_direct=yes
10327	  hardcode_direct_absolute=yes
10328	  export_dynamic_flag_spec='${wl}-E'
10329
10330	  # hardcode_minus_L: Not really in the search PATH,
10331	  # but as the default location of the library.
10332	  hardcode_minus_L=yes
10333	  ;;
10334	esac
10335      fi
10336      ;;
10337
10338    irix5* | irix6* | nonstopux*)
10339      if test "$GCC" = yes; then
10340	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10341	# Try to use the -exported_symbol ld option, if it does not
10342	# work, assume that -exports_file does not work either and
10343	# implicitly export all symbols.
10344	# This should be the same for all languages, so no per-tag cache variable.
10345	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10346$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10347if ${lt_cv_irix_exported_symbol+:} false; then :
10348  $as_echo_n "(cached) " >&6
10349else
10350  save_LDFLAGS="$LDFLAGS"
10351	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10352	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353/* end confdefs.h.  */
10354int foo (void) { return 0; }
10355_ACEOF
10356if ac_fn_c_try_link "$LINENO"; then :
10357  lt_cv_irix_exported_symbol=yes
10358else
10359  lt_cv_irix_exported_symbol=no
10360fi
10361rm -f core conftest.err conftest.$ac_objext \
10362    conftest$ac_exeext conftest.$ac_ext
10363           LDFLAGS="$save_LDFLAGS"
10364fi
10365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10366$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10367	if test "$lt_cv_irix_exported_symbol" = yes; then
10368          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10369	fi
10370      else
10371	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10372	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10373      fi
10374      archive_cmds_need_lc='no'
10375      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10376      hardcode_libdir_separator=:
10377      inherit_rpath=yes
10378      link_all_deplibs=yes
10379      ;;
10380
10381    netbsd* | netbsdelf*-gnu)
10382      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10383	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10384      else
10385	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10386      fi
10387      hardcode_libdir_flag_spec='-R$libdir'
10388      hardcode_direct=yes
10389      hardcode_shlibpath_var=no
10390      ;;
10391
10392    newsos6)
10393      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394      hardcode_direct=yes
10395      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10396      hardcode_libdir_separator=:
10397      hardcode_shlibpath_var=no
10398      ;;
10399
10400    *nto* | *qnx*)
10401      ;;
10402
10403    openbsd*)
10404      if test -f /usr/libexec/ld.so; then
10405	hardcode_direct=yes
10406	hardcode_shlibpath_var=no
10407	hardcode_direct_absolute=yes
10408	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10409	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10410	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10411	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10412	  export_dynamic_flag_spec='${wl}-E'
10413	else
10414	  case $host_os in
10415	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10416	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10417	     hardcode_libdir_flag_spec='-R$libdir'
10418	     ;;
10419	   *)
10420	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10421	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10422	     ;;
10423	  esac
10424	fi
10425      else
10426	ld_shlibs=no
10427      fi
10428      ;;
10429
10430    os2*)
10431      hardcode_libdir_flag_spec='-L$libdir'
10432      hardcode_minus_L=yes
10433      allow_undefined_flag=unsupported
10434      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10435      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10436      ;;
10437
10438    osf3*)
10439      if test "$GCC" = yes; then
10440	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10441	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10442      else
10443	allow_undefined_flag=' -expect_unresolved \*'
10444	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10445      fi
10446      archive_cmds_need_lc='no'
10447      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10448      hardcode_libdir_separator=:
10449      ;;
10450
10451    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10452      if test "$GCC" = yes; then
10453	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10454	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10455	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456      else
10457	allow_undefined_flag=' -expect_unresolved \*'
10458	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10459	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10460	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10461
10462	# Both c and cxx compiler support -rpath directly
10463	hardcode_libdir_flag_spec='-rpath $libdir'
10464      fi
10465      archive_cmds_need_lc='no'
10466      hardcode_libdir_separator=:
10467      ;;
10468
10469    solaris*)
10470      no_undefined_flag=' -z defs'
10471      if test "$GCC" = yes; then
10472	wlarc='${wl}'
10473	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10474	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10475	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10476      else
10477	case `$CC -V 2>&1` in
10478	*"Compilers 5.0"*)
10479	  wlarc=''
10480	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10481	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10482	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10483	  ;;
10484	*)
10485	  wlarc='${wl}'
10486	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10487	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10488	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10489	  ;;
10490	esac
10491      fi
10492      hardcode_libdir_flag_spec='-R$libdir'
10493      hardcode_shlibpath_var=no
10494      case $host_os in
10495      solaris2.[0-5] | solaris2.[0-5].*) ;;
10496      *)
10497	# The compiler driver will combine and reorder linker options,
10498	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10499	# but is careful enough not to reorder.
10500	# Supported since Solaris 2.6 (maybe 2.5.1?)
10501	if test "$GCC" = yes; then
10502	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10503	else
10504	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10505	fi
10506	;;
10507      esac
10508      link_all_deplibs=yes
10509      ;;
10510
10511    sunos4*)
10512      if test "x$host_vendor" = xsequent; then
10513	# Use $CC to link under sequent, because it throws in some extra .o
10514	# files that make .init and .fini sections work.
10515	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10516      else
10517	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10518      fi
10519      hardcode_libdir_flag_spec='-L$libdir'
10520      hardcode_direct=yes
10521      hardcode_minus_L=yes
10522      hardcode_shlibpath_var=no
10523      ;;
10524
10525    sysv4)
10526      case $host_vendor in
10527	sni)
10528	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529	  hardcode_direct=yes # is this really true???
10530	;;
10531	siemens)
10532	  ## LD is ld it makes a PLAMLIB
10533	  ## CC just makes a GrossModule.
10534	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10535	  reload_cmds='$CC -r -o $output$reload_objs'
10536	  hardcode_direct=no
10537        ;;
10538	motorola)
10539	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10540	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10541	;;
10542      esac
10543      runpath_var='LD_RUN_PATH'
10544      hardcode_shlibpath_var=no
10545      ;;
10546
10547    sysv4.3*)
10548      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10549      hardcode_shlibpath_var=no
10550      export_dynamic_flag_spec='-Bexport'
10551      ;;
10552
10553    sysv4*MP*)
10554      if test -d /usr/nec; then
10555	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10556	hardcode_shlibpath_var=no
10557	runpath_var=LD_RUN_PATH
10558	hardcode_runpath_var=yes
10559	ld_shlibs=yes
10560      fi
10561      ;;
10562
10563    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10564      no_undefined_flag='${wl}-z,text'
10565      archive_cmds_need_lc=no
10566      hardcode_shlibpath_var=no
10567      runpath_var='LD_RUN_PATH'
10568
10569      if test "$GCC" = yes; then
10570	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10571	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10572      else
10573	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10574	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10575      fi
10576      ;;
10577
10578    sysv5* | sco3.2v5* | sco5v6*)
10579      # Note: We can NOT use -z defs as we might desire, because we do not
10580      # link with -lc, and that would cause any symbols used from libc to
10581      # always be unresolved, which means just about no library would
10582      # ever link correctly.  If we're not using GNU ld we use -z text
10583      # though, which does catch some bad symbols but isn't as heavy-handed
10584      # as -z defs.
10585      no_undefined_flag='${wl}-z,text'
10586      allow_undefined_flag='${wl}-z,nodefs'
10587      archive_cmds_need_lc=no
10588      hardcode_shlibpath_var=no
10589      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10590      hardcode_libdir_separator=':'
10591      link_all_deplibs=yes
10592      export_dynamic_flag_spec='${wl}-Bexport'
10593      runpath_var='LD_RUN_PATH'
10594
10595      if test "$GCC" = yes; then
10596	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10597	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10598      else
10599	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10600	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10601      fi
10602      ;;
10603
10604    uts4*)
10605      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606      hardcode_libdir_flag_spec='-L$libdir'
10607      hardcode_shlibpath_var=no
10608      ;;
10609
10610    *)
10611      ld_shlibs=no
10612      ;;
10613    esac
10614
10615    if test x$host_vendor = xsni; then
10616      case $host in
10617      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10618	export_dynamic_flag_spec='${wl}-Blargedynsym'
10619	;;
10620      esac
10621    fi
10622  fi
10623
10624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10625$as_echo "$ld_shlibs" >&6; }
10626test "$ld_shlibs" = no && can_build_shared=no
10627
10628with_gnu_ld=$with_gnu_ld
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644#
10645# Do we need to explicitly link libc?
10646#
10647case "x$archive_cmds_need_lc" in
10648x|xyes)
10649  # Assume -lc should be added
10650  archive_cmds_need_lc=yes
10651
10652  if test "$enable_shared" = yes && test "$GCC" = yes; then
10653    case $archive_cmds in
10654    *'~'*)
10655      # FIXME: we may have to deal with multi-command sequences.
10656      ;;
10657    '$CC '*)
10658      # Test whether the compiler implicitly links with -lc since on some
10659      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10660      # to ld, don't add -lc before -lgcc.
10661      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10662$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10663if ${lt_cv_archive_cmds_need_lc+:} false; then :
10664  $as_echo_n "(cached) " >&6
10665else
10666  $RM conftest*
10667	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10668
10669	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10670  (eval $ac_compile) 2>&5
10671  ac_status=$?
10672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10673  test $ac_status = 0; } 2>conftest.err; then
10674	  soname=conftest
10675	  lib=conftest
10676	  libobjs=conftest.$ac_objext
10677	  deplibs=
10678	  wl=$lt_prog_compiler_wl
10679	  pic_flag=$lt_prog_compiler_pic
10680	  compiler_flags=-v
10681	  linker_flags=-v
10682	  verstring=
10683	  output_objdir=.
10684	  libname=conftest
10685	  lt_save_allow_undefined_flag=$allow_undefined_flag
10686	  allow_undefined_flag=
10687	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10688  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10689  ac_status=$?
10690  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10691  test $ac_status = 0; }
10692	  then
10693	    lt_cv_archive_cmds_need_lc=no
10694	  else
10695	    lt_cv_archive_cmds_need_lc=yes
10696	  fi
10697	  allow_undefined_flag=$lt_save_allow_undefined_flag
10698	else
10699	  cat conftest.err 1>&5
10700	fi
10701	$RM conftest*
10702
10703fi
10704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10705$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10706      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10707      ;;
10708    esac
10709  fi
10710  ;;
10711esac
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10865$as_echo_n "checking dynamic linker characteristics... " >&6; }
10866
10867if test "$GCC" = yes; then
10868  case $host_os in
10869    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10870    *) lt_awk_arg="/^libraries:/" ;;
10871  esac
10872  case $host_os in
10873    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10874    *) lt_sed_strip_eq="s,=/,/,g" ;;
10875  esac
10876  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10877  case $lt_search_path_spec in
10878  *\;*)
10879    # if the path contains ";" then we assume it to be the separator
10880    # otherwise default to the standard path separator (i.e. ":") - it is
10881    # assumed that no part of a normal pathname contains ";" but that should
10882    # okay in the real world where ";" in dirpaths is itself problematic.
10883    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10884    ;;
10885  *)
10886    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10887    ;;
10888  esac
10889  # Ok, now we have the path, separated by spaces, we can step through it
10890  # and add multilib dir if necessary.
10891  lt_tmp_lt_search_path_spec=
10892  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10893  for lt_sys_path in $lt_search_path_spec; do
10894    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10895      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10896    else
10897      test -d "$lt_sys_path" && \
10898	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10899    fi
10900  done
10901  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10902BEGIN {RS=" "; FS="/|\n";} {
10903  lt_foo="";
10904  lt_count=0;
10905  for (lt_i = NF; lt_i > 0; lt_i--) {
10906    if ($lt_i != "" && $lt_i != ".") {
10907      if ($lt_i == "..") {
10908        lt_count++;
10909      } else {
10910        if (lt_count == 0) {
10911          lt_foo="/" $lt_i lt_foo;
10912        } else {
10913          lt_count--;
10914        }
10915      }
10916    }
10917  }
10918  if (lt_foo != "") { lt_freq[lt_foo]++; }
10919  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10920}'`
10921  # AWK program above erroneously prepends '/' to C:/dos/paths
10922  # for these hosts.
10923  case $host_os in
10924    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10925      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10926  esac
10927  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10928else
10929  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10930fi
10931library_names_spec=
10932libname_spec='lib$name'
10933soname_spec=
10934shrext_cmds=".so"
10935postinstall_cmds=
10936postuninstall_cmds=
10937finish_cmds=
10938finish_eval=
10939shlibpath_var=
10940shlibpath_overrides_runpath=unknown
10941version_type=none
10942dynamic_linker="$host_os ld.so"
10943sys_lib_dlsearch_path_spec="/lib /usr/lib"
10944need_lib_prefix=unknown
10945hardcode_into_libs=no
10946
10947# when you set need_version to no, make sure it does not cause -set_version
10948# flags to be left without arguments
10949need_version=unknown
10950
10951case $host_os in
10952aix3*)
10953  version_type=linux # correct to gnu/linux during the next big refactor
10954  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10955  shlibpath_var=LIBPATH
10956
10957  # AIX 3 has no versioning support, so we append a major version to the name.
10958  soname_spec='${libname}${release}${shared_ext}$major'
10959  ;;
10960
10961aix[4-9]*)
10962  version_type=linux # correct to gnu/linux during the next big refactor
10963  need_lib_prefix=no
10964  need_version=no
10965  hardcode_into_libs=yes
10966  if test "$host_cpu" = ia64; then
10967    # AIX 5 supports IA64
10968    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10969    shlibpath_var=LD_LIBRARY_PATH
10970  else
10971    # With GCC up to 2.95.x, collect2 would create an import file
10972    # for dependence libraries.  The import file would start with
10973    # the line `#! .'.  This would cause the generated library to
10974    # depend on `.', always an invalid library.  This was fixed in
10975    # development snapshots of GCC prior to 3.0.
10976    case $host_os in
10977      aix4 | aix4.[01] | aix4.[01].*)
10978      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10979	   echo ' yes '
10980	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10981	:
10982      else
10983	can_build_shared=no
10984      fi
10985      ;;
10986    esac
10987    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10988    # soname into executable. Probably we can add versioning support to
10989    # collect2, so additional links can be useful in future.
10990    if test "$aix_use_runtimelinking" = yes; then
10991      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10992      # instead of lib<name>.a to let people know that these are not
10993      # typical AIX shared libraries.
10994      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995    else
10996      # We preserve .a as extension for shared libraries through AIX4.2
10997      # and later when we are not doing run time linking.
10998      library_names_spec='${libname}${release}.a $libname.a'
10999      soname_spec='${libname}${release}${shared_ext}$major'
11000    fi
11001    shlibpath_var=LIBPATH
11002  fi
11003  ;;
11004
11005amigaos*)
11006  case $host_cpu in
11007  powerpc)
11008    # Since July 2007 AmigaOS4 officially supports .so libraries.
11009    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11010    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11011    ;;
11012  m68k)
11013    library_names_spec='$libname.ixlibrary $libname.a'
11014    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11015    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11016    ;;
11017  esac
11018  ;;
11019
11020beos*)
11021  library_names_spec='${libname}${shared_ext}'
11022  dynamic_linker="$host_os ld.so"
11023  shlibpath_var=LIBRARY_PATH
11024  ;;
11025
11026bsdi[45]*)
11027  version_type=linux # correct to gnu/linux during the next big refactor
11028  need_version=no
11029  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11030  soname_spec='${libname}${release}${shared_ext}$major'
11031  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11032  shlibpath_var=LD_LIBRARY_PATH
11033  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11034  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11035  # the default ld.so.conf also contains /usr/contrib/lib and
11036  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11037  # libtool to hard-code these into programs
11038  ;;
11039
11040cygwin* | mingw* | pw32* | cegcc*)
11041  version_type=windows
11042  shrext_cmds=".dll"
11043  need_version=no
11044  need_lib_prefix=no
11045
11046  case $GCC,$cc_basename in
11047  yes,*)
11048    # gcc
11049    library_names_spec='$libname.dll.a'
11050    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11051    postinstall_cmds='base_file=`basename \${file}`~
11052      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11053      dldir=$destdir/`dirname \$dlpath`~
11054      test -d \$dldir || mkdir -p \$dldir~
11055      $install_prog $dir/$dlname \$dldir/$dlname~
11056      chmod a+x \$dldir/$dlname~
11057      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11058        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11059      fi'
11060    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11061      dlpath=$dir/\$dldll~
11062       $RM \$dlpath'
11063    shlibpath_overrides_runpath=yes
11064
11065    case $host_os in
11066    cygwin*)
11067      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11068      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11069
11070      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11071      ;;
11072    mingw* | cegcc*)
11073      # MinGW DLLs use traditional 'lib' prefix
11074      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11075      ;;
11076    pw32*)
11077      # pw32 DLLs use 'pw' prefix rather than 'lib'
11078      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11079      ;;
11080    esac
11081    dynamic_linker='Win32 ld.exe'
11082    ;;
11083
11084  *,cl*)
11085    # Native MSVC
11086    libname_spec='$name'
11087    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11088    library_names_spec='${libname}.dll.lib'
11089
11090    case $build_os in
11091    mingw*)
11092      sys_lib_search_path_spec=
11093      lt_save_ifs=$IFS
11094      IFS=';'
11095      for lt_path in $LIB
11096      do
11097        IFS=$lt_save_ifs
11098        # Let DOS variable expansion print the short 8.3 style file name.
11099        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11100        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11101      done
11102      IFS=$lt_save_ifs
11103      # Convert to MSYS style.
11104      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11105      ;;
11106    cygwin*)
11107      # Convert to unix form, then to dos form, then back to unix form
11108      # but this time dos style (no spaces!) so that the unix form looks
11109      # like /cygdrive/c/PROGRA~1:/cygdr...
11110      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11111      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11112      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11113      ;;
11114    *)
11115      sys_lib_search_path_spec="$LIB"
11116      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11117        # It is most probably a Windows format PATH.
11118        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11119      else
11120        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11121      fi
11122      # FIXME: find the short name or the path components, as spaces are
11123      # common. (e.g. "Program Files" -> "PROGRA~1")
11124      ;;
11125    esac
11126
11127    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11128    postinstall_cmds='base_file=`basename \${file}`~
11129      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11130      dldir=$destdir/`dirname \$dlpath`~
11131      test -d \$dldir || mkdir -p \$dldir~
11132      $install_prog $dir/$dlname \$dldir/$dlname'
11133    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11134      dlpath=$dir/\$dldll~
11135       $RM \$dlpath'
11136    shlibpath_overrides_runpath=yes
11137    dynamic_linker='Win32 link.exe'
11138    ;;
11139
11140  *)
11141    # Assume MSVC wrapper
11142    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11143    dynamic_linker='Win32 ld.exe'
11144    ;;
11145  esac
11146  # FIXME: first we should search . and the directory the executable is in
11147  shlibpath_var=PATH
11148  ;;
11149
11150darwin* | rhapsody*)
11151  dynamic_linker="$host_os dyld"
11152  version_type=darwin
11153  need_lib_prefix=no
11154  need_version=no
11155  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11156  soname_spec='${libname}${release}${major}$shared_ext'
11157  shlibpath_overrides_runpath=yes
11158  shlibpath_var=DYLD_LIBRARY_PATH
11159  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11160
11161  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11162  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11163  ;;
11164
11165dgux*)
11166  version_type=linux # correct to gnu/linux during the next big refactor
11167  need_lib_prefix=no
11168  need_version=no
11169  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11170  soname_spec='${libname}${release}${shared_ext}$major'
11171  shlibpath_var=LD_LIBRARY_PATH
11172  ;;
11173
11174freebsd* | dragonfly*)
11175  # DragonFly does not have aout.  When/if they implement a new
11176  # versioning mechanism, adjust this.
11177  if test -x /usr/bin/objformat; then
11178    objformat=`/usr/bin/objformat`
11179  else
11180    case $host_os in
11181    freebsd[23].*) objformat=aout ;;
11182    *) objformat=elf ;;
11183    esac
11184  fi
11185  version_type=freebsd-$objformat
11186  case $version_type in
11187    freebsd-elf*)
11188      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11189      need_version=no
11190      need_lib_prefix=no
11191      ;;
11192    freebsd-*)
11193      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11194      need_version=yes
11195      ;;
11196  esac
11197  shlibpath_var=LD_LIBRARY_PATH
11198  case $host_os in
11199  freebsd2.*)
11200    shlibpath_overrides_runpath=yes
11201    ;;
11202  freebsd3.[01]* | freebsdelf3.[01]*)
11203    shlibpath_overrides_runpath=yes
11204    hardcode_into_libs=yes
11205    ;;
11206  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11207  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11208    shlibpath_overrides_runpath=no
11209    hardcode_into_libs=yes
11210    ;;
11211  *) # from 4.6 on, and DragonFly
11212    shlibpath_overrides_runpath=yes
11213    hardcode_into_libs=yes
11214    ;;
11215  esac
11216  ;;
11217
11218haiku*)
11219  version_type=linux # correct to gnu/linux during the next big refactor
11220  need_lib_prefix=no
11221  need_version=no
11222  dynamic_linker="$host_os runtime_loader"
11223  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11224  soname_spec='${libname}${release}${shared_ext}$major'
11225  shlibpath_var=LIBRARY_PATH
11226  shlibpath_overrides_runpath=yes
11227  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11228  hardcode_into_libs=yes
11229  ;;
11230
11231hpux9* | hpux10* | hpux11*)
11232  # Give a soname corresponding to the major version so that dld.sl refuses to
11233  # link against other versions.
11234  version_type=sunos
11235  need_lib_prefix=no
11236  need_version=no
11237  case $host_cpu in
11238  ia64*)
11239    shrext_cmds='.so'
11240    hardcode_into_libs=yes
11241    dynamic_linker="$host_os dld.so"
11242    shlibpath_var=LD_LIBRARY_PATH
11243    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11244    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245    soname_spec='${libname}${release}${shared_ext}$major'
11246    if test "X$HPUX_IA64_MODE" = X32; then
11247      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11248    else
11249      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11250    fi
11251    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11252    ;;
11253  hppa*64*)
11254    shrext_cmds='.sl'
11255    hardcode_into_libs=yes
11256    dynamic_linker="$host_os dld.sl"
11257    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11258    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11259    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260    soname_spec='${libname}${release}${shared_ext}$major'
11261    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11262    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11263    ;;
11264  *)
11265    shrext_cmds='.sl'
11266    dynamic_linker="$host_os dld.sl"
11267    shlibpath_var=SHLIB_PATH
11268    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11269    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270    soname_spec='${libname}${release}${shared_ext}$major'
11271    ;;
11272  esac
11273  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11274  postinstall_cmds='chmod 555 $lib'
11275  # or fails outright, so override atomically:
11276  install_override_mode=555
11277  ;;
11278
11279interix[3-9]*)
11280  version_type=linux # correct to gnu/linux during the next big refactor
11281  need_lib_prefix=no
11282  need_version=no
11283  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11284  soname_spec='${libname}${release}${shared_ext}$major'
11285  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11286  shlibpath_var=LD_LIBRARY_PATH
11287  shlibpath_overrides_runpath=no
11288  hardcode_into_libs=yes
11289  ;;
11290
11291irix5* | irix6* | nonstopux*)
11292  case $host_os in
11293    nonstopux*) version_type=nonstopux ;;
11294    *)
11295	if test "$lt_cv_prog_gnu_ld" = yes; then
11296		version_type=linux # correct to gnu/linux during the next big refactor
11297	else
11298		version_type=irix
11299	fi ;;
11300  esac
11301  need_lib_prefix=no
11302  need_version=no
11303  soname_spec='${libname}${release}${shared_ext}$major'
11304  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11305  case $host_os in
11306  irix5* | nonstopux*)
11307    libsuff= shlibsuff=
11308    ;;
11309  *)
11310    case $LD in # libtool.m4 will add one of these switches to LD
11311    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11312      libsuff= shlibsuff= libmagic=32-bit;;
11313    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11314      libsuff=32 shlibsuff=N32 libmagic=N32;;
11315    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11316      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11317    *) libsuff= shlibsuff= libmagic=never-match;;
11318    esac
11319    ;;
11320  esac
11321  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11322  shlibpath_overrides_runpath=no
11323  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11324  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11325  hardcode_into_libs=yes
11326  ;;
11327
11328# No shared lib support for Linux oldld, aout, or coff.
11329linux*oldld* | linux*aout* | linux*coff*)
11330  dynamic_linker=no
11331  ;;
11332
11333# This must be glibc/ELF.
11334linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11335  version_type=linux # correct to gnu/linux during the next big refactor
11336  need_lib_prefix=no
11337  need_version=no
11338  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339  soname_spec='${libname}${release}${shared_ext}$major'
11340  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11341  shlibpath_var=LD_LIBRARY_PATH
11342  shlibpath_overrides_runpath=no
11343
11344  # Some binutils ld are patched to set DT_RUNPATH
11345  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11346  $as_echo_n "(cached) " >&6
11347else
11348  lt_cv_shlibpath_overrides_runpath=no
11349    save_LDFLAGS=$LDFLAGS
11350    save_libdir=$libdir
11351    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11352	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11353    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354/* end confdefs.h.  */
11355
11356int
11357main ()
11358{
11359
11360  ;
11361  return 0;
11362}
11363_ACEOF
11364if ac_fn_c_try_link "$LINENO"; then :
11365  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11366  lt_cv_shlibpath_overrides_runpath=yes
11367fi
11368fi
11369rm -f core conftest.err conftest.$ac_objext \
11370    conftest$ac_exeext conftest.$ac_ext
11371    LDFLAGS=$save_LDFLAGS
11372    libdir=$save_libdir
11373
11374fi
11375
11376  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11377
11378  # This implies no fast_install, which is unacceptable.
11379  # Some rework will be needed to allow for fast_install
11380  # before this can be enabled.
11381  hardcode_into_libs=yes
11382
11383  # Append ld.so.conf contents to the search path
11384  if test -f /etc/ld.so.conf; then
11385    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11386    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11387  fi
11388
11389  # We used to test for /lib/ld.so.1 and disable shared libraries on
11390  # powerpc, because MkLinux only supported shared libraries with the
11391  # GNU dynamic linker.  Since this was broken with cross compilers,
11392  # most powerpc-linux boxes support dynamic linking these days and
11393  # people can always --disable-shared, the test was removed, and we
11394  # assume the GNU/Linux dynamic linker is in use.
11395  dynamic_linker='GNU/Linux ld.so'
11396  ;;
11397
11398netbsdelf*-gnu)
11399  version_type=linux
11400  need_lib_prefix=no
11401  need_version=no
11402  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11403  soname_spec='${libname}${release}${shared_ext}$major'
11404  shlibpath_var=LD_LIBRARY_PATH
11405  shlibpath_overrides_runpath=no
11406  hardcode_into_libs=yes
11407  dynamic_linker='NetBSD ld.elf_so'
11408  ;;
11409
11410netbsd*)
11411  version_type=sunos
11412  need_lib_prefix=no
11413  need_version=no
11414  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11415    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11416    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11417    dynamic_linker='NetBSD (a.out) ld.so'
11418  else
11419    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11420    soname_spec='${libname}${release}${shared_ext}$major'
11421    dynamic_linker='NetBSD ld.elf_so'
11422  fi
11423  shlibpath_var=LD_LIBRARY_PATH
11424  shlibpath_overrides_runpath=yes
11425  hardcode_into_libs=yes
11426  ;;
11427
11428newsos6)
11429  version_type=linux # correct to gnu/linux during the next big refactor
11430  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431  shlibpath_var=LD_LIBRARY_PATH
11432  shlibpath_overrides_runpath=yes
11433  ;;
11434
11435*nto* | *qnx*)
11436  version_type=qnx
11437  need_lib_prefix=no
11438  need_version=no
11439  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440  soname_spec='${libname}${release}${shared_ext}$major'
11441  shlibpath_var=LD_LIBRARY_PATH
11442  shlibpath_overrides_runpath=no
11443  hardcode_into_libs=yes
11444  dynamic_linker='ldqnx.so'
11445  ;;
11446
11447openbsd*)
11448  version_type=sunos
11449  sys_lib_dlsearch_path_spec="/usr/lib"
11450  need_lib_prefix=no
11451  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11452  case $host_os in
11453    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11454    *)				need_version=no  ;;
11455  esac
11456  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11457  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11458  shlibpath_var=LD_LIBRARY_PATH
11459  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11460    case $host_os in
11461      openbsd2.[89] | openbsd2.[89].*)
11462	shlibpath_overrides_runpath=no
11463	;;
11464      *)
11465	shlibpath_overrides_runpath=yes
11466	;;
11467      esac
11468  else
11469    shlibpath_overrides_runpath=yes
11470  fi
11471  ;;
11472
11473os2*)
11474  libname_spec='$name'
11475  shrext_cmds=".dll"
11476  need_lib_prefix=no
11477  library_names_spec='$libname${shared_ext} $libname.a'
11478  dynamic_linker='OS/2 ld.exe'
11479  shlibpath_var=LIBPATH
11480  ;;
11481
11482osf3* | osf4* | osf5*)
11483  version_type=osf
11484  need_lib_prefix=no
11485  need_version=no
11486  soname_spec='${libname}${release}${shared_ext}$major'
11487  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488  shlibpath_var=LD_LIBRARY_PATH
11489  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11490  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11491  ;;
11492
11493rdos*)
11494  dynamic_linker=no
11495  ;;
11496
11497solaris*)
11498  version_type=linux # correct to gnu/linux during the next big refactor
11499  need_lib_prefix=no
11500  need_version=no
11501  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11502  soname_spec='${libname}${release}${shared_ext}$major'
11503  shlibpath_var=LD_LIBRARY_PATH
11504  shlibpath_overrides_runpath=yes
11505  hardcode_into_libs=yes
11506  # ldd complains unless libraries are executable
11507  postinstall_cmds='chmod +x $lib'
11508  ;;
11509
11510sunos4*)
11511  version_type=sunos
11512  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11513  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11514  shlibpath_var=LD_LIBRARY_PATH
11515  shlibpath_overrides_runpath=yes
11516  if test "$with_gnu_ld" = yes; then
11517    need_lib_prefix=no
11518  fi
11519  need_version=yes
11520  ;;
11521
11522sysv4 | sysv4.3*)
11523  version_type=linux # correct to gnu/linux during the next big refactor
11524  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525  soname_spec='${libname}${release}${shared_ext}$major'
11526  shlibpath_var=LD_LIBRARY_PATH
11527  case $host_vendor in
11528    sni)
11529      shlibpath_overrides_runpath=no
11530      need_lib_prefix=no
11531      runpath_var=LD_RUN_PATH
11532      ;;
11533    siemens)
11534      need_lib_prefix=no
11535      ;;
11536    motorola)
11537      need_lib_prefix=no
11538      need_version=no
11539      shlibpath_overrides_runpath=no
11540      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11541      ;;
11542  esac
11543  ;;
11544
11545sysv4*MP*)
11546  if test -d /usr/nec ;then
11547    version_type=linux # correct to gnu/linux during the next big refactor
11548    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11549    soname_spec='$libname${shared_ext}.$major'
11550    shlibpath_var=LD_LIBRARY_PATH
11551  fi
11552  ;;
11553
11554sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11555  version_type=freebsd-elf
11556  need_lib_prefix=no
11557  need_version=no
11558  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11559  soname_spec='${libname}${release}${shared_ext}$major'
11560  shlibpath_var=LD_LIBRARY_PATH
11561  shlibpath_overrides_runpath=yes
11562  hardcode_into_libs=yes
11563  if test "$with_gnu_ld" = yes; then
11564    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11565  else
11566    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11567    case $host_os in
11568      sco3.2v5*)
11569        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11570	;;
11571    esac
11572  fi
11573  sys_lib_dlsearch_path_spec='/usr/lib'
11574  ;;
11575
11576tpf*)
11577  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11578  version_type=linux # correct to gnu/linux during the next big refactor
11579  need_lib_prefix=no
11580  need_version=no
11581  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582  shlibpath_var=LD_LIBRARY_PATH
11583  shlibpath_overrides_runpath=no
11584  hardcode_into_libs=yes
11585  ;;
11586
11587uts4*)
11588  version_type=linux # correct to gnu/linux during the next big refactor
11589  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590  soname_spec='${libname}${release}${shared_ext}$major'
11591  shlibpath_var=LD_LIBRARY_PATH
11592  ;;
11593
11594*)
11595  dynamic_linker=no
11596  ;;
11597esac
11598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11599$as_echo "$dynamic_linker" >&6; }
11600test "$dynamic_linker" = no && can_build_shared=no
11601
11602variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11603if test "$GCC" = yes; then
11604  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11605fi
11606
11607if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11608  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11609fi
11610if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11611  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11612fi
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11706$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11707hardcode_action=
11708if test -n "$hardcode_libdir_flag_spec" ||
11709   test -n "$runpath_var" ||
11710   test "X$hardcode_automatic" = "Xyes" ; then
11711
11712  # We can hardcode non-existent directories.
11713  if test "$hardcode_direct" != no &&
11714     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11715     # have to relink, otherwise we might link with an installed library
11716     # when we should be linking with a yet-to-be-installed one
11717     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11718     test "$hardcode_minus_L" != no; then
11719    # Linking always hardcodes the temporary library directory.
11720    hardcode_action=relink
11721  else
11722    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11723    hardcode_action=immediate
11724  fi
11725else
11726  # We cannot hardcode anything, or else we can only hardcode existing
11727  # directories.
11728  hardcode_action=unsupported
11729fi
11730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11731$as_echo "$hardcode_action" >&6; }
11732
11733if test "$hardcode_action" = relink ||
11734   test "$inherit_rpath" = yes; then
11735  # Fast installation is not supported
11736  enable_fast_install=no
11737elif test "$shlibpath_overrides_runpath" = yes ||
11738     test "$enable_shared" = no; then
11739  # Fast installation is not necessary
11740  enable_fast_install=needless
11741fi
11742
11743
11744
11745
11746
11747
11748  if test "x$enable_dlopen" != xyes; then
11749  enable_dlopen=unknown
11750  enable_dlopen_self=unknown
11751  enable_dlopen_self_static=unknown
11752else
11753  lt_cv_dlopen=no
11754  lt_cv_dlopen_libs=
11755
11756  case $host_os in
11757  beos*)
11758    lt_cv_dlopen="load_add_on"
11759    lt_cv_dlopen_libs=
11760    lt_cv_dlopen_self=yes
11761    ;;
11762
11763  mingw* | pw32* | cegcc*)
11764    lt_cv_dlopen="LoadLibrary"
11765    lt_cv_dlopen_libs=
11766    ;;
11767
11768  cygwin*)
11769    lt_cv_dlopen="dlopen"
11770    lt_cv_dlopen_libs=
11771    ;;
11772
11773  darwin*)
11774  # if libdl is installed we need to link against it
11775    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11776$as_echo_n "checking for dlopen in -ldl... " >&6; }
11777if ${ac_cv_lib_dl_dlopen+:} false; then :
11778  $as_echo_n "(cached) " >&6
11779else
11780  ac_check_lib_save_LIBS=$LIBS
11781LIBS="-ldl  $LIBS"
11782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783/* end confdefs.h.  */
11784
11785/* Override any GCC internal prototype to avoid an error.
11786   Use char because int might match the return type of a GCC
11787   builtin and then its argument prototype would still apply.  */
11788#ifdef __cplusplus
11789extern "C"
11790#endif
11791char dlopen ();
11792int
11793main ()
11794{
11795return dlopen ();
11796  ;
11797  return 0;
11798}
11799_ACEOF
11800if ac_fn_c_try_link "$LINENO"; then :
11801  ac_cv_lib_dl_dlopen=yes
11802else
11803  ac_cv_lib_dl_dlopen=no
11804fi
11805rm -f core conftest.err conftest.$ac_objext \
11806    conftest$ac_exeext conftest.$ac_ext
11807LIBS=$ac_check_lib_save_LIBS
11808fi
11809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11810$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11811if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11812  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11813else
11814
11815    lt_cv_dlopen="dyld"
11816    lt_cv_dlopen_libs=
11817    lt_cv_dlopen_self=yes
11818
11819fi
11820
11821    ;;
11822
11823  *)
11824    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11825if test "x$ac_cv_func_shl_load" = xyes; then :
11826  lt_cv_dlopen="shl_load"
11827else
11828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11829$as_echo_n "checking for shl_load in -ldld... " >&6; }
11830if ${ac_cv_lib_dld_shl_load+:} false; then :
11831  $as_echo_n "(cached) " >&6
11832else
11833  ac_check_lib_save_LIBS=$LIBS
11834LIBS="-ldld  $LIBS"
11835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836/* end confdefs.h.  */
11837
11838/* Override any GCC internal prototype to avoid an error.
11839   Use char because int might match the return type of a GCC
11840   builtin and then its argument prototype would still apply.  */
11841#ifdef __cplusplus
11842extern "C"
11843#endif
11844char shl_load ();
11845int
11846main ()
11847{
11848return shl_load ();
11849  ;
11850  return 0;
11851}
11852_ACEOF
11853if ac_fn_c_try_link "$LINENO"; then :
11854  ac_cv_lib_dld_shl_load=yes
11855else
11856  ac_cv_lib_dld_shl_load=no
11857fi
11858rm -f core conftest.err conftest.$ac_objext \
11859    conftest$ac_exeext conftest.$ac_ext
11860LIBS=$ac_check_lib_save_LIBS
11861fi
11862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11863$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11864if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11865  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11866else
11867  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11868if test "x$ac_cv_func_dlopen" = xyes; then :
11869  lt_cv_dlopen="dlopen"
11870else
11871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11872$as_echo_n "checking for dlopen in -ldl... " >&6; }
11873if ${ac_cv_lib_dl_dlopen+:} false; then :
11874  $as_echo_n "(cached) " >&6
11875else
11876  ac_check_lib_save_LIBS=$LIBS
11877LIBS="-ldl  $LIBS"
11878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879/* end confdefs.h.  */
11880
11881/* Override any GCC internal prototype to avoid an error.
11882   Use char because int might match the return type of a GCC
11883   builtin and then its argument prototype would still apply.  */
11884#ifdef __cplusplus
11885extern "C"
11886#endif
11887char dlopen ();
11888int
11889main ()
11890{
11891return dlopen ();
11892  ;
11893  return 0;
11894}
11895_ACEOF
11896if ac_fn_c_try_link "$LINENO"; then :
11897  ac_cv_lib_dl_dlopen=yes
11898else
11899  ac_cv_lib_dl_dlopen=no
11900fi
11901rm -f core conftest.err conftest.$ac_objext \
11902    conftest$ac_exeext conftest.$ac_ext
11903LIBS=$ac_check_lib_save_LIBS
11904fi
11905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11906$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11907if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11908  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11909else
11910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11911$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11912if ${ac_cv_lib_svld_dlopen+:} false; then :
11913  $as_echo_n "(cached) " >&6
11914else
11915  ac_check_lib_save_LIBS=$LIBS
11916LIBS="-lsvld  $LIBS"
11917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918/* end confdefs.h.  */
11919
11920/* Override any GCC internal prototype to avoid an error.
11921   Use char because int might match the return type of a GCC
11922   builtin and then its argument prototype would still apply.  */
11923#ifdef __cplusplus
11924extern "C"
11925#endif
11926char dlopen ();
11927int
11928main ()
11929{
11930return dlopen ();
11931  ;
11932  return 0;
11933}
11934_ACEOF
11935if ac_fn_c_try_link "$LINENO"; then :
11936  ac_cv_lib_svld_dlopen=yes
11937else
11938  ac_cv_lib_svld_dlopen=no
11939fi
11940rm -f core conftest.err conftest.$ac_objext \
11941    conftest$ac_exeext conftest.$ac_ext
11942LIBS=$ac_check_lib_save_LIBS
11943fi
11944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11945$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11946if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11947  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11948else
11949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11950$as_echo_n "checking for dld_link in -ldld... " >&6; }
11951if ${ac_cv_lib_dld_dld_link+:} false; then :
11952  $as_echo_n "(cached) " >&6
11953else
11954  ac_check_lib_save_LIBS=$LIBS
11955LIBS="-ldld  $LIBS"
11956cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957/* end confdefs.h.  */
11958
11959/* Override any GCC internal prototype to avoid an error.
11960   Use char because int might match the return type of a GCC
11961   builtin and then its argument prototype would still apply.  */
11962#ifdef __cplusplus
11963extern "C"
11964#endif
11965char dld_link ();
11966int
11967main ()
11968{
11969return dld_link ();
11970  ;
11971  return 0;
11972}
11973_ACEOF
11974if ac_fn_c_try_link "$LINENO"; then :
11975  ac_cv_lib_dld_dld_link=yes
11976else
11977  ac_cv_lib_dld_dld_link=no
11978fi
11979rm -f core conftest.err conftest.$ac_objext \
11980    conftest$ac_exeext conftest.$ac_ext
11981LIBS=$ac_check_lib_save_LIBS
11982fi
11983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11984$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11985if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11986  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11987fi
11988
11989
11990fi
11991
11992
11993fi
11994
11995
11996fi
11997
11998
11999fi
12000
12001
12002fi
12003
12004    ;;
12005  esac
12006
12007  if test "x$lt_cv_dlopen" != xno; then
12008    enable_dlopen=yes
12009  else
12010    enable_dlopen=no
12011  fi
12012
12013  case $lt_cv_dlopen in
12014  dlopen)
12015    save_CPPFLAGS="$CPPFLAGS"
12016    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12017
12018    save_LDFLAGS="$LDFLAGS"
12019    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12020
12021    save_LIBS="$LIBS"
12022    LIBS="$lt_cv_dlopen_libs $LIBS"
12023
12024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12025$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12026if ${lt_cv_dlopen_self+:} false; then :
12027  $as_echo_n "(cached) " >&6
12028else
12029  	  if test "$cross_compiling" = yes; then :
12030  lt_cv_dlopen_self=cross
12031else
12032  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12033  lt_status=$lt_dlunknown
12034  cat > conftest.$ac_ext <<_LT_EOF
12035#line $LINENO "configure"
12036#include "confdefs.h"
12037
12038#if HAVE_DLFCN_H
12039#include <dlfcn.h>
12040#endif
12041
12042#include <stdio.h>
12043
12044#ifdef RTLD_GLOBAL
12045#  define LT_DLGLOBAL		RTLD_GLOBAL
12046#else
12047#  ifdef DL_GLOBAL
12048#    define LT_DLGLOBAL		DL_GLOBAL
12049#  else
12050#    define LT_DLGLOBAL		0
12051#  endif
12052#endif
12053
12054/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12055   find out it does not work in some platform. */
12056#ifndef LT_DLLAZY_OR_NOW
12057#  ifdef RTLD_LAZY
12058#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12059#  else
12060#    ifdef DL_LAZY
12061#      define LT_DLLAZY_OR_NOW		DL_LAZY
12062#    else
12063#      ifdef RTLD_NOW
12064#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12065#      else
12066#        ifdef DL_NOW
12067#          define LT_DLLAZY_OR_NOW	DL_NOW
12068#        else
12069#          define LT_DLLAZY_OR_NOW	0
12070#        endif
12071#      endif
12072#    endif
12073#  endif
12074#endif
12075
12076/* When -fvisbility=hidden is used, assume the code has been annotated
12077   correspondingly for the symbols needed.  */
12078#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12079int fnord () __attribute__((visibility("default")));
12080#endif
12081
12082int fnord () { return 42; }
12083int main ()
12084{
12085  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12086  int status = $lt_dlunknown;
12087
12088  if (self)
12089    {
12090      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12091      else
12092        {
12093	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12094          else puts (dlerror ());
12095	}
12096      /* dlclose (self); */
12097    }
12098  else
12099    puts (dlerror ());
12100
12101  return status;
12102}
12103_LT_EOF
12104  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12105  (eval $ac_link) 2>&5
12106  ac_status=$?
12107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12108  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12109    (./conftest; exit; ) >&5 2>/dev/null
12110    lt_status=$?
12111    case x$lt_status in
12112      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12113      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12114      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12115    esac
12116  else :
12117    # compilation failed
12118    lt_cv_dlopen_self=no
12119  fi
12120fi
12121rm -fr conftest*
12122
12123
12124fi
12125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12126$as_echo "$lt_cv_dlopen_self" >&6; }
12127
12128    if test "x$lt_cv_dlopen_self" = xyes; then
12129      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12130      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12131$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12132if ${lt_cv_dlopen_self_static+:} false; then :
12133  $as_echo_n "(cached) " >&6
12134else
12135  	  if test "$cross_compiling" = yes; then :
12136  lt_cv_dlopen_self_static=cross
12137else
12138  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12139  lt_status=$lt_dlunknown
12140  cat > conftest.$ac_ext <<_LT_EOF
12141#line $LINENO "configure"
12142#include "confdefs.h"
12143
12144#if HAVE_DLFCN_H
12145#include <dlfcn.h>
12146#endif
12147
12148#include <stdio.h>
12149
12150#ifdef RTLD_GLOBAL
12151#  define LT_DLGLOBAL		RTLD_GLOBAL
12152#else
12153#  ifdef DL_GLOBAL
12154#    define LT_DLGLOBAL		DL_GLOBAL
12155#  else
12156#    define LT_DLGLOBAL		0
12157#  endif
12158#endif
12159
12160/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12161   find out it does not work in some platform. */
12162#ifndef LT_DLLAZY_OR_NOW
12163#  ifdef RTLD_LAZY
12164#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12165#  else
12166#    ifdef DL_LAZY
12167#      define LT_DLLAZY_OR_NOW		DL_LAZY
12168#    else
12169#      ifdef RTLD_NOW
12170#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12171#      else
12172#        ifdef DL_NOW
12173#          define LT_DLLAZY_OR_NOW	DL_NOW
12174#        else
12175#          define LT_DLLAZY_OR_NOW	0
12176#        endif
12177#      endif
12178#    endif
12179#  endif
12180#endif
12181
12182/* When -fvisbility=hidden is used, assume the code has been annotated
12183   correspondingly for the symbols needed.  */
12184#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12185int fnord () __attribute__((visibility("default")));
12186#endif
12187
12188int fnord () { return 42; }
12189int main ()
12190{
12191  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12192  int status = $lt_dlunknown;
12193
12194  if (self)
12195    {
12196      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12197      else
12198        {
12199	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12200          else puts (dlerror ());
12201	}
12202      /* dlclose (self); */
12203    }
12204  else
12205    puts (dlerror ());
12206
12207  return status;
12208}
12209_LT_EOF
12210  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12211  (eval $ac_link) 2>&5
12212  ac_status=$?
12213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12215    (./conftest; exit; ) >&5 2>/dev/null
12216    lt_status=$?
12217    case x$lt_status in
12218      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12219      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12220      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12221    esac
12222  else :
12223    # compilation failed
12224    lt_cv_dlopen_self_static=no
12225  fi
12226fi
12227rm -fr conftest*
12228
12229
12230fi
12231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12232$as_echo "$lt_cv_dlopen_self_static" >&6; }
12233    fi
12234
12235    CPPFLAGS="$save_CPPFLAGS"
12236    LDFLAGS="$save_LDFLAGS"
12237    LIBS="$save_LIBS"
12238    ;;
12239  esac
12240
12241  case $lt_cv_dlopen_self in
12242  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12243  *) enable_dlopen_self=unknown ;;
12244  esac
12245
12246  case $lt_cv_dlopen_self_static in
12247  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12248  *) enable_dlopen_self_static=unknown ;;
12249  esac
12250fi
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268striplib=
12269old_striplib=
12270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12271$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12272if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12273  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12274  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12276$as_echo "yes" >&6; }
12277else
12278# FIXME - insert some real tests, host_os isn't really good enough
12279  case $host_os in
12280  darwin*)
12281    if test -n "$STRIP" ; then
12282      striplib="$STRIP -x"
12283      old_striplib="$STRIP -S"
12284      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12285$as_echo "yes" >&6; }
12286    else
12287      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288$as_echo "no" >&6; }
12289    fi
12290    ;;
12291  *)
12292    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293$as_echo "no" >&6; }
12294    ;;
12295  esac
12296fi
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309  # Report which library types will actually be built
12310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12311$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12313$as_echo "$can_build_shared" >&6; }
12314
12315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12316$as_echo_n "checking whether to build shared libraries... " >&6; }
12317  test "$can_build_shared" = "no" && enable_shared=no
12318
12319  # On AIX, shared libraries and static libraries use the same namespace, and
12320  # are all built from PIC.
12321  case $host_os in
12322  aix3*)
12323    test "$enable_shared" = yes && enable_static=no
12324    if test -n "$RANLIB"; then
12325      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12326      postinstall_cmds='$RANLIB $lib'
12327    fi
12328    ;;
12329
12330  aix[4-9]*)
12331    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12332      test "$enable_shared" = yes && enable_static=no
12333    fi
12334    ;;
12335  esac
12336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12337$as_echo "$enable_shared" >&6; }
12338
12339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12340$as_echo_n "checking whether to build static libraries... " >&6; }
12341  # Make sure either enable_shared or enable_static is yes.
12342  test "$enable_shared" = yes || enable_static=yes
12343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12344$as_echo "$enable_static" >&6; }
12345
12346
12347
12348
12349fi
12350ac_ext=c
12351ac_cpp='$CPP $CPPFLAGS'
12352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354ac_compiler_gnu=$ac_cv_c_compiler_gnu
12355
12356CC="$lt_save_CC"
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372        ac_config_commands="$ac_config_commands libtool"
12373
12374
12375
12376
12377# Only expand once:
12378
12379
12380ac_ext=c
12381ac_cpp='$CPP $CPPFLAGS'
12382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12384ac_compiler_gnu=$ac_cv_c_compiler_gnu
12385if test -n "$ac_tool_prefix"; then
12386  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12387set dummy ${ac_tool_prefix}gcc; ac_word=$2
12388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12389$as_echo_n "checking for $ac_word... " >&6; }
12390if ${ac_cv_prog_CC+:} false; then :
12391  $as_echo_n "(cached) " >&6
12392else
12393  if test -n "$CC"; then
12394  ac_cv_prog_CC="$CC" # Let the user override the test.
12395else
12396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12397for as_dir in $PATH
12398do
12399  IFS=$as_save_IFS
12400  test -z "$as_dir" && as_dir=.
12401    for ac_exec_ext in '' $ac_executable_extensions; do
12402  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12403    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12404    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12405    break 2
12406  fi
12407done
12408  done
12409IFS=$as_save_IFS
12410
12411fi
12412fi
12413CC=$ac_cv_prog_CC
12414if test -n "$CC"; then
12415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12416$as_echo "$CC" >&6; }
12417else
12418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12419$as_echo "no" >&6; }
12420fi
12421
12422
12423fi
12424if test -z "$ac_cv_prog_CC"; then
12425  ac_ct_CC=$CC
12426  # Extract the first word of "gcc", so it can be a program name with args.
12427set dummy gcc; ac_word=$2
12428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12429$as_echo_n "checking for $ac_word... " >&6; }
12430if ${ac_cv_prog_ac_ct_CC+:} false; then :
12431  $as_echo_n "(cached) " >&6
12432else
12433  if test -n "$ac_ct_CC"; then
12434  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12435else
12436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437for as_dir in $PATH
12438do
12439  IFS=$as_save_IFS
12440  test -z "$as_dir" && as_dir=.
12441    for ac_exec_ext in '' $ac_executable_extensions; do
12442  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12443    ac_cv_prog_ac_ct_CC="gcc"
12444    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12445    break 2
12446  fi
12447done
12448  done
12449IFS=$as_save_IFS
12450
12451fi
12452fi
12453ac_ct_CC=$ac_cv_prog_ac_ct_CC
12454if test -n "$ac_ct_CC"; then
12455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12456$as_echo "$ac_ct_CC" >&6; }
12457else
12458  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459$as_echo "no" >&6; }
12460fi
12461
12462  if test "x$ac_ct_CC" = x; then
12463    CC=""
12464  else
12465    case $cross_compiling:$ac_tool_warned in
12466yes:)
12467{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12468$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12469ac_tool_warned=yes ;;
12470esac
12471    CC=$ac_ct_CC
12472  fi
12473else
12474  CC="$ac_cv_prog_CC"
12475fi
12476
12477if test -z "$CC"; then
12478          if test -n "$ac_tool_prefix"; then
12479    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12480set dummy ${ac_tool_prefix}cc; ac_word=$2
12481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12482$as_echo_n "checking for $ac_word... " >&6; }
12483if ${ac_cv_prog_CC+:} false; then :
12484  $as_echo_n "(cached) " >&6
12485else
12486  if test -n "$CC"; then
12487  ac_cv_prog_CC="$CC" # Let the user override the test.
12488else
12489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12490for as_dir in $PATH
12491do
12492  IFS=$as_save_IFS
12493  test -z "$as_dir" && as_dir=.
12494    for ac_exec_ext in '' $ac_executable_extensions; do
12495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12496    ac_cv_prog_CC="${ac_tool_prefix}cc"
12497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12498    break 2
12499  fi
12500done
12501  done
12502IFS=$as_save_IFS
12503
12504fi
12505fi
12506CC=$ac_cv_prog_CC
12507if test -n "$CC"; then
12508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12509$as_echo "$CC" >&6; }
12510else
12511  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512$as_echo "no" >&6; }
12513fi
12514
12515
12516  fi
12517fi
12518if test -z "$CC"; then
12519  # Extract the first word of "cc", so it can be a program name with args.
12520set dummy cc; ac_word=$2
12521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12522$as_echo_n "checking for $ac_word... " >&6; }
12523if ${ac_cv_prog_CC+:} false; then :
12524  $as_echo_n "(cached) " >&6
12525else
12526  if test -n "$CC"; then
12527  ac_cv_prog_CC="$CC" # Let the user override the test.
12528else
12529  ac_prog_rejected=no
12530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12531for as_dir in $PATH
12532do
12533  IFS=$as_save_IFS
12534  test -z "$as_dir" && as_dir=.
12535    for ac_exec_ext in '' $ac_executable_extensions; do
12536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12537    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12538       ac_prog_rejected=yes
12539       continue
12540     fi
12541    ac_cv_prog_CC="cc"
12542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12543    break 2
12544  fi
12545done
12546  done
12547IFS=$as_save_IFS
12548
12549if test $ac_prog_rejected = yes; then
12550  # We found a bogon in the path, so make sure we never use it.
12551  set dummy $ac_cv_prog_CC
12552  shift
12553  if test $# != 0; then
12554    # We chose a different compiler from the bogus one.
12555    # However, it has the same basename, so the bogon will be chosen
12556    # first if we set CC to just the basename; use the full file name.
12557    shift
12558    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12559  fi
12560fi
12561fi
12562fi
12563CC=$ac_cv_prog_CC
12564if test -n "$CC"; then
12565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12566$as_echo "$CC" >&6; }
12567else
12568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569$as_echo "no" >&6; }
12570fi
12571
12572
12573fi
12574if test -z "$CC"; then
12575  if test -n "$ac_tool_prefix"; then
12576  for ac_prog in cl.exe
12577  do
12578    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12579set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12581$as_echo_n "checking for $ac_word... " >&6; }
12582if ${ac_cv_prog_CC+:} false; then :
12583  $as_echo_n "(cached) " >&6
12584else
12585  if test -n "$CC"; then
12586  ac_cv_prog_CC="$CC" # Let the user override the test.
12587else
12588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12589for as_dir in $PATH
12590do
12591  IFS=$as_save_IFS
12592  test -z "$as_dir" && as_dir=.
12593    for ac_exec_ext in '' $ac_executable_extensions; do
12594  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12595    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12597    break 2
12598  fi
12599done
12600  done
12601IFS=$as_save_IFS
12602
12603fi
12604fi
12605CC=$ac_cv_prog_CC
12606if test -n "$CC"; then
12607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12608$as_echo "$CC" >&6; }
12609else
12610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611$as_echo "no" >&6; }
12612fi
12613
12614
12615    test -n "$CC" && break
12616  done
12617fi
12618if test -z "$CC"; then
12619  ac_ct_CC=$CC
12620  for ac_prog in cl.exe
12621do
12622  # Extract the first word of "$ac_prog", so it can be a program name with args.
12623set dummy $ac_prog; ac_word=$2
12624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12625$as_echo_n "checking for $ac_word... " >&6; }
12626if ${ac_cv_prog_ac_ct_CC+:} false; then :
12627  $as_echo_n "(cached) " >&6
12628else
12629  if test -n "$ac_ct_CC"; then
12630  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12631else
12632as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12633for as_dir in $PATH
12634do
12635  IFS=$as_save_IFS
12636  test -z "$as_dir" && as_dir=.
12637    for ac_exec_ext in '' $ac_executable_extensions; do
12638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12639    ac_cv_prog_ac_ct_CC="$ac_prog"
12640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12641    break 2
12642  fi
12643done
12644  done
12645IFS=$as_save_IFS
12646
12647fi
12648fi
12649ac_ct_CC=$ac_cv_prog_ac_ct_CC
12650if test -n "$ac_ct_CC"; then
12651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12652$as_echo "$ac_ct_CC" >&6; }
12653else
12654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655$as_echo "no" >&6; }
12656fi
12657
12658
12659  test -n "$ac_ct_CC" && break
12660done
12661
12662  if test "x$ac_ct_CC" = x; then
12663    CC=""
12664  else
12665    case $cross_compiling:$ac_tool_warned in
12666yes:)
12667{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12668$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12669ac_tool_warned=yes ;;
12670esac
12671    CC=$ac_ct_CC
12672  fi
12673fi
12674
12675fi
12676
12677
12678test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12680as_fn_error $? "no acceptable C compiler found in \$PATH
12681See \`config.log' for more details" "$LINENO" 5; }
12682
12683# Provide some information about the compiler.
12684$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12685set X $ac_compile
12686ac_compiler=$2
12687for ac_option in --version -v -V -qversion; do
12688  { { ac_try="$ac_compiler $ac_option >&5"
12689case "(($ac_try" in
12690  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12691  *) ac_try_echo=$ac_try;;
12692esac
12693eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12694$as_echo "$ac_try_echo"; } >&5
12695  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12696  ac_status=$?
12697  if test -s conftest.err; then
12698    sed '10a\
12699... rest of stderr output deleted ...
12700         10q' conftest.err >conftest.er1
12701    cat conftest.er1 >&5
12702  fi
12703  rm -f conftest.er1 conftest.err
12704  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705  test $ac_status = 0; }
12706done
12707
12708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12709$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12710if ${ac_cv_c_compiler_gnu+:} false; then :
12711  $as_echo_n "(cached) " >&6
12712else
12713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714/* end confdefs.h.  */
12715
12716int
12717main ()
12718{
12719#ifndef __GNUC__
12720       choke me
12721#endif
12722
12723  ;
12724  return 0;
12725}
12726_ACEOF
12727if ac_fn_c_try_compile "$LINENO"; then :
12728  ac_compiler_gnu=yes
12729else
12730  ac_compiler_gnu=no
12731fi
12732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12733ac_cv_c_compiler_gnu=$ac_compiler_gnu
12734
12735fi
12736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12737$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12738if test $ac_compiler_gnu = yes; then
12739  GCC=yes
12740else
12741  GCC=
12742fi
12743ac_test_CFLAGS=${CFLAGS+set}
12744ac_save_CFLAGS=$CFLAGS
12745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12746$as_echo_n "checking whether $CC accepts -g... " >&6; }
12747if ${ac_cv_prog_cc_g+:} false; then :
12748  $as_echo_n "(cached) " >&6
12749else
12750  ac_save_c_werror_flag=$ac_c_werror_flag
12751   ac_c_werror_flag=yes
12752   ac_cv_prog_cc_g=no
12753   CFLAGS="-g"
12754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755/* end confdefs.h.  */
12756
12757int
12758main ()
12759{
12760
12761  ;
12762  return 0;
12763}
12764_ACEOF
12765if ac_fn_c_try_compile "$LINENO"; then :
12766  ac_cv_prog_cc_g=yes
12767else
12768  CFLAGS=""
12769      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770/* end confdefs.h.  */
12771
12772int
12773main ()
12774{
12775
12776  ;
12777  return 0;
12778}
12779_ACEOF
12780if ac_fn_c_try_compile "$LINENO"; then :
12781
12782else
12783  ac_c_werror_flag=$ac_save_c_werror_flag
12784	 CFLAGS="-g"
12785	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786/* end confdefs.h.  */
12787
12788int
12789main ()
12790{
12791
12792  ;
12793  return 0;
12794}
12795_ACEOF
12796if ac_fn_c_try_compile "$LINENO"; then :
12797  ac_cv_prog_cc_g=yes
12798fi
12799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12800fi
12801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802fi
12803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804   ac_c_werror_flag=$ac_save_c_werror_flag
12805fi
12806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12807$as_echo "$ac_cv_prog_cc_g" >&6; }
12808if test "$ac_test_CFLAGS" = set; then
12809  CFLAGS=$ac_save_CFLAGS
12810elif test $ac_cv_prog_cc_g = yes; then
12811  if test "$GCC" = yes; then
12812    CFLAGS="-g -O2"
12813  else
12814    CFLAGS="-g"
12815  fi
12816else
12817  if test "$GCC" = yes; then
12818    CFLAGS="-O2"
12819  else
12820    CFLAGS=
12821  fi
12822fi
12823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12824$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12825if ${ac_cv_prog_cc_c89+:} false; then :
12826  $as_echo_n "(cached) " >&6
12827else
12828  ac_cv_prog_cc_c89=no
12829ac_save_CC=$CC
12830cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831/* end confdefs.h.  */
12832#include <stdarg.h>
12833#include <stdio.h>
12834struct stat;
12835/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12836struct buf { int x; };
12837FILE * (*rcsopen) (struct buf *, struct stat *, int);
12838static char *e (p, i)
12839     char **p;
12840     int i;
12841{
12842  return p[i];
12843}
12844static char *f (char * (*g) (char **, int), char **p, ...)
12845{
12846  char *s;
12847  va_list v;
12848  va_start (v,p);
12849  s = g (p, va_arg (v,int));
12850  va_end (v);
12851  return s;
12852}
12853
12854/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12855   function prototypes and stuff, but not '\xHH' hex character constants.
12856   These don't provoke an error unfortunately, instead are silently treated
12857   as 'x'.  The following induces an error, until -std is added to get
12858   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12859   array size at least.  It's necessary to write '\x00'==0 to get something
12860   that's true only with -std.  */
12861int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12862
12863/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12864   inside strings and character constants.  */
12865#define FOO(x) 'x'
12866int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12867
12868int test (int i, double x);
12869struct s1 {int (*f) (int a);};
12870struct s2 {int (*f) (double a);};
12871int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12872int argc;
12873char **argv;
12874int
12875main ()
12876{
12877return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12878  ;
12879  return 0;
12880}
12881_ACEOF
12882for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12883	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12884do
12885  CC="$ac_save_CC $ac_arg"
12886  if ac_fn_c_try_compile "$LINENO"; then :
12887  ac_cv_prog_cc_c89=$ac_arg
12888fi
12889rm -f core conftest.err conftest.$ac_objext
12890  test "x$ac_cv_prog_cc_c89" != "xno" && break
12891done
12892rm -f conftest.$ac_ext
12893CC=$ac_save_CC
12894
12895fi
12896# AC_CACHE_VAL
12897case "x$ac_cv_prog_cc_c89" in
12898  x)
12899    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12900$as_echo "none needed" >&6; } ;;
12901  xno)
12902    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12903$as_echo "unsupported" >&6; } ;;
12904  *)
12905    CC="$CC $ac_cv_prog_cc_c89"
12906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12907$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12908esac
12909if test "x$ac_cv_prog_cc_c89" != xno; then :
12910
12911fi
12912
12913ac_ext=c
12914ac_cpp='$CPP $CPPFLAGS'
12915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12917ac_compiler_gnu=$ac_cv_c_compiler_gnu
12918
12919
12920# Extract the first word of "xsltproc", so it can be a program name with args.
12921set dummy xsltproc; ac_word=$2
12922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923$as_echo_n "checking for $ac_word... " >&6; }
12924if ${ac_cv_path_XSLTPROC+:} false; then :
12925  $as_echo_n "(cached) " >&6
12926else
12927  case $XSLTPROC in
12928  [\\/]* | ?:[\\/]*)
12929  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
12930  ;;
12931  *)
12932  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12933for as_dir in $PATH
12934do
12935  IFS=$as_save_IFS
12936  test -z "$as_dir" && as_dir=.
12937    for ac_exec_ext in '' $ac_executable_extensions; do
12938  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12939    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
12940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12941    break 2
12942  fi
12943done
12944  done
12945IFS=$as_save_IFS
12946
12947  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
12948  ;;
12949esac
12950fi
12951XSLTPROC=$ac_cv_path_XSLTPROC
12952if test -n "$XSLTPROC"; then
12953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
12954$as_echo "$XSLTPROC" >&6; }
12955else
12956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957$as_echo "no" >&6; }
12958fi
12959
12960
12961if test "$XSLTPROC" = "no"; then
12962   as_fn_error $? "XCB requires xsltproc." "$LINENO" 5
12963fi
12964
12965HTML_CHECK_RESULT=false
12966if test x"$HAVE_CHECK" = xyes; then
12967	if test x"$XSLTPROC" != xno; then
12968		HTML_CHECK_RESULT=true
12969	fi
12970fi
12971
12972
12973# Checks for pkg-config packages
12974
12975pkg_failed=no
12976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
12977$as_echo_n "checking for XCBPROTO... " >&6; }
12978
12979if test -n "$XCBPROTO_CFLAGS"; then
12980    pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
12981 elif test -n "$PKG_CONFIG"; then
12982    if test -n "$PKG_CONFIG" && \
12983    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.7\""; } >&5
12984  ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.7") 2>&5
12985  ac_status=$?
12986  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12987  test $ac_status = 0; }; then
12988  pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.7" 2>/dev/null`
12989		      test "x$?" != "x0" && pkg_failed=yes
12990else
12991  pkg_failed=yes
12992fi
12993 else
12994    pkg_failed=untried
12995fi
12996if test -n "$XCBPROTO_LIBS"; then
12997    pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
12998 elif test -n "$PKG_CONFIG"; then
12999    if test -n "$PKG_CONFIG" && \
13000    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.7\""; } >&5
13001  ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.7") 2>&5
13002  ac_status=$?
13003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13004  test $ac_status = 0; }; then
13005  pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.7" 2>/dev/null`
13006		      test "x$?" != "x0" && pkg_failed=yes
13007else
13008  pkg_failed=yes
13009fi
13010 else
13011    pkg_failed=untried
13012fi
13013
13014
13015
13016if test $pkg_failed = yes; then
13017   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13018$as_echo "no" >&6; }
13019
13020if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13021        _pkg_short_errors_supported=yes
13022else
13023        _pkg_short_errors_supported=no
13024fi
13025        if test $_pkg_short_errors_supported = yes; then
13026	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.7" 2>&1`
13027        else
13028	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.7" 2>&1`
13029        fi
13030	# Put the nasty error message in config.log where it belongs
13031	echo "$XCBPROTO_PKG_ERRORS" >&5
13032
13033	as_fn_error $? "Package requirements (xcb-proto >= 1.7) were not met:
13034
13035$XCBPROTO_PKG_ERRORS
13036
13037Consider adjusting the PKG_CONFIG_PATH environment variable if you
13038installed software in a non-standard prefix.
13039
13040Alternatively, you may set the environment variables XCBPROTO_CFLAGS
13041and XCBPROTO_LIBS to avoid the need to call pkg-config.
13042See the pkg-config man page for more details." "$LINENO" 5
13043elif test $pkg_failed = untried; then
13044     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13045$as_echo "no" >&6; }
13046	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13048as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13049is in your PATH or set the PKG_CONFIG environment variable to the full
13050path to pkg-config.
13051
13052Alternatively, you may set the environment variables XCBPROTO_CFLAGS
13053and XCBPROTO_LIBS to avoid the need to call pkg-config.
13054See the pkg-config man page for more details.
13055
13056To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13057See \`config.log' for more details" "$LINENO" 5; }
13058else
13059	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
13060	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
13061        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13062$as_echo "yes" >&6; }
13063
13064fi
13065NEEDED="pthread-stubs xau >= 0.99.2"
13066
13067pkg_failed=no
13068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
13069$as_echo_n "checking for NEEDED... " >&6; }
13070
13071if test -n "$NEEDED_CFLAGS"; then
13072    pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
13073 elif test -n "$PKG_CONFIG"; then
13074    if test -n "$PKG_CONFIG" && \
13075    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
13076  ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
13077  ac_status=$?
13078  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079  test $ac_status = 0; }; then
13080  pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
13081		      test "x$?" != "x0" && pkg_failed=yes
13082else
13083  pkg_failed=yes
13084fi
13085 else
13086    pkg_failed=untried
13087fi
13088if test -n "$NEEDED_LIBS"; then
13089    pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
13090 elif test -n "$PKG_CONFIG"; then
13091    if test -n "$PKG_CONFIG" && \
13092    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
13093  ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
13094  ac_status=$?
13095  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13096  test $ac_status = 0; }; then
13097  pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
13098		      test "x$?" != "x0" && pkg_failed=yes
13099else
13100  pkg_failed=yes
13101fi
13102 else
13103    pkg_failed=untried
13104fi
13105
13106
13107
13108if test $pkg_failed = yes; then
13109   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110$as_echo "no" >&6; }
13111
13112if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13113        _pkg_short_errors_supported=yes
13114else
13115        _pkg_short_errors_supported=no
13116fi
13117        if test $_pkg_short_errors_supported = yes; then
13118	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
13119        else
13120	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
13121        fi
13122	# Put the nasty error message in config.log where it belongs
13123	echo "$NEEDED_PKG_ERRORS" >&5
13124
13125	as_fn_error $? "Package requirements ($NEEDED) were not met:
13126
13127$NEEDED_PKG_ERRORS
13128
13129Consider adjusting the PKG_CONFIG_PATH environment variable if you
13130installed software in a non-standard prefix.
13131
13132Alternatively, you may set the environment variables NEEDED_CFLAGS
13133and NEEDED_LIBS to avoid the need to call pkg-config.
13134See the pkg-config man page for more details." "$LINENO" 5
13135elif test $pkg_failed = untried; then
13136     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13137$as_echo "no" >&6; }
13138	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13140as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13141is in your PATH or set the PKG_CONFIG environment variable to the full
13142path to pkg-config.
13143
13144Alternatively, you may set the environment variables NEEDED_CFLAGS
13145and NEEDED_LIBS to avoid the need to call pkg-config.
13146See the pkg-config man page for more details.
13147
13148To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13149See \`config.log' for more details" "$LINENO" 5; }
13150else
13151	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
13152	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
13153        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13154$as_echo "yes" >&6; }
13155
13156fi
13157
13158have_xdmcp="no"
13159
13160pkg_failed=no
13161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
13162$as_echo_n "checking for XDMCP... " >&6; }
13163
13164if test -n "$XDMCP_CFLAGS"; then
13165    pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
13166 elif test -n "$PKG_CONFIG"; then
13167    if test -n "$PKG_CONFIG" && \
13168    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
13169  ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
13170  ac_status=$?
13171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13172  test $ac_status = 0; }; then
13173  pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
13174		      test "x$?" != "x0" && pkg_failed=yes
13175else
13176  pkg_failed=yes
13177fi
13178 else
13179    pkg_failed=untried
13180fi
13181if test -n "$XDMCP_LIBS"; then
13182    pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
13183 elif test -n "$PKG_CONFIG"; then
13184    if test -n "$PKG_CONFIG" && \
13185    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
13186  ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
13187  ac_status=$?
13188  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13189  test $ac_status = 0; }; then
13190  pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
13191		      test "x$?" != "x0" && pkg_failed=yes
13192else
13193  pkg_failed=yes
13194fi
13195 else
13196    pkg_failed=untried
13197fi
13198
13199
13200
13201if test $pkg_failed = yes; then
13202   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13203$as_echo "no" >&6; }
13204
13205if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13206        _pkg_short_errors_supported=yes
13207else
13208        _pkg_short_errors_supported=no
13209fi
13210        if test $_pkg_short_errors_supported = yes; then
13211	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
13212        else
13213	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
13214        fi
13215	# Put the nasty error message in config.log where it belongs
13216	echo "$XDMCP_PKG_ERRORS" >&5
13217
13218	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13219$as_echo "no" >&6; }
13220elif test $pkg_failed = untried; then
13221     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13222$as_echo "no" >&6; }
13223	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13224$as_echo "no" >&6; }
13225else
13226	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
13227	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
13228        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13229$as_echo "yes" >&6; }
13230	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
13231$as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
13232if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
13233  $as_echo_n "(cached) " >&6
13234else
13235  ac_check_lib_save_LIBS=$LIBS
13236LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
13237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13238/* end confdefs.h.  */
13239
13240/* Override any GCC internal prototype to avoid an error.
13241   Use char because int might match the return type of a GCC
13242   builtin and then its argument prototype would still apply.  */
13243#ifdef __cplusplus
13244extern "C"
13245#endif
13246char XdmcpWrap ();
13247int
13248main ()
13249{
13250return XdmcpWrap ();
13251  ;
13252  return 0;
13253}
13254_ACEOF
13255if ac_fn_c_try_link "$LINENO"; then :
13256  ac_cv_lib_Xdmcp_XdmcpWrap=yes
13257else
13258  ac_cv_lib_Xdmcp_XdmcpWrap=no
13259fi
13260rm -f core conftest.err conftest.$ac_objext \
13261    conftest$ac_exeext conftest.$ac_ext
13262LIBS=$ac_check_lib_save_LIBS
13263fi
13264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
13265$as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
13266if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
13267
13268
13269$as_echo "#define HASXDMAUTH 1" >>confdefs.h
13270
13271		NEEDED="$NEEDED xdmcp"
13272		have_xdmcp="yes"
13273
13274else
13275
13276		XDMCP_CFLAGS=
13277		XDMCP_LIBS=
13278
13279fi
13280
13281fi
13282
13283
13284
13285# Find the xcb-proto protocol descriptions
13286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
13287$as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
13288XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
13289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
13290$as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
13291
13292
13293# Find the xcb-proto version
13294XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
13295
13296
13297# Find the xcbgen Python package
13298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
13299$as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
13300XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
13301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
13302$as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }
13303
13304
13305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13306$as_echo_n "checking for ANSI C header files... " >&6; }
13307if ${ac_cv_header_stdc+:} false; then :
13308  $as_echo_n "(cached) " >&6
13309else
13310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311/* end confdefs.h.  */
13312#include <stdlib.h>
13313#include <stdarg.h>
13314#include <string.h>
13315#include <float.h>
13316
13317int
13318main ()
13319{
13320
13321  ;
13322  return 0;
13323}
13324_ACEOF
13325if ac_fn_c_try_compile "$LINENO"; then :
13326  ac_cv_header_stdc=yes
13327else
13328  ac_cv_header_stdc=no
13329fi
13330rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331
13332if test $ac_cv_header_stdc = yes; then
13333  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13334  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335/* end confdefs.h.  */
13336#include <string.h>
13337
13338_ACEOF
13339if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13340  $EGREP "memchr" >/dev/null 2>&1; then :
13341
13342else
13343  ac_cv_header_stdc=no
13344fi
13345rm -f conftest*
13346
13347fi
13348
13349if test $ac_cv_header_stdc = yes; then
13350  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352/* end confdefs.h.  */
13353#include <stdlib.h>
13354
13355_ACEOF
13356if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13357  $EGREP "free" >/dev/null 2>&1; then :
13358
13359else
13360  ac_cv_header_stdc=no
13361fi
13362rm -f conftest*
13363
13364fi
13365
13366if test $ac_cv_header_stdc = yes; then
13367  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13368  if test "$cross_compiling" = yes; then :
13369  :
13370else
13371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372/* end confdefs.h.  */
13373#include <ctype.h>
13374#include <stdlib.h>
13375#if ((' ' & 0x0FF) == 0x020)
13376# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13377# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13378#else
13379# define ISLOWER(c) \
13380		   (('a' <= (c) && (c) <= 'i') \
13381		     || ('j' <= (c) && (c) <= 'r') \
13382		     || ('s' <= (c) && (c) <= 'z'))
13383# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13384#endif
13385
13386#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13387int
13388main ()
13389{
13390  int i;
13391  for (i = 0; i < 256; i++)
13392    if (XOR (islower (i), ISLOWER (i))
13393	|| toupper (i) != TOUPPER (i))
13394      return 2;
13395  return 0;
13396}
13397_ACEOF
13398if ac_fn_c_try_run "$LINENO"; then :
13399
13400else
13401  ac_cv_header_stdc=no
13402fi
13403rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13404  conftest.$ac_objext conftest.beam conftest.$ac_ext
13405fi
13406
13407fi
13408fi
13409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13410$as_echo "$ac_cv_header_stdc" >&6; }
13411if test $ac_cv_header_stdc = yes; then
13412
13413$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13414
13415fi
13416
13417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13418$as_echo_n "checking for library containing getaddrinfo... " >&6; }
13419if ${ac_cv_search_getaddrinfo+:} false; then :
13420  $as_echo_n "(cached) " >&6
13421else
13422  ac_func_search_save_LIBS=$LIBS
13423cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424/* end confdefs.h.  */
13425
13426/* Override any GCC internal prototype to avoid an error.
13427   Use char because int might match the return type of a GCC
13428   builtin and then its argument prototype would still apply.  */
13429#ifdef __cplusplus
13430extern "C"
13431#endif
13432char getaddrinfo ();
13433int
13434main ()
13435{
13436return getaddrinfo ();
13437  ;
13438  return 0;
13439}
13440_ACEOF
13441for ac_lib in '' socket; do
13442  if test -z "$ac_lib"; then
13443    ac_res="none required"
13444  else
13445    ac_res=-l$ac_lib
13446    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13447  fi
13448  if ac_fn_c_try_link "$LINENO"; then :
13449  ac_cv_search_getaddrinfo=$ac_res
13450fi
13451rm -f core conftest.err conftest.$ac_objext \
13452    conftest$ac_exeext
13453  if ${ac_cv_search_getaddrinfo+:} false; then :
13454  break
13455fi
13456done
13457if ${ac_cv_search_getaddrinfo+:} false; then :
13458
13459else
13460  ac_cv_search_getaddrinfo=no
13461fi
13462rm conftest.$ac_ext
13463LIBS=$ac_func_search_save_LIBS
13464fi
13465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13466$as_echo "$ac_cv_search_getaddrinfo" >&6; }
13467ac_res=$ac_cv_search_getaddrinfo
13468if test "$ac_res" != no; then :
13469  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13470
13471fi
13472
13473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13474$as_echo_n "checking for library containing connect... " >&6; }
13475if ${ac_cv_search_connect+:} false; then :
13476  $as_echo_n "(cached) " >&6
13477else
13478  ac_func_search_save_LIBS=$LIBS
13479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480/* end confdefs.h.  */
13481
13482/* Override any GCC internal prototype to avoid an error.
13483   Use char because int might match the return type of a GCC
13484   builtin and then its argument prototype would still apply.  */
13485#ifdef __cplusplus
13486extern "C"
13487#endif
13488char connect ();
13489int
13490main ()
13491{
13492return connect ();
13493  ;
13494  return 0;
13495}
13496_ACEOF
13497for ac_lib in '' socket; do
13498  if test -z "$ac_lib"; then
13499    ac_res="none required"
13500  else
13501    ac_res=-l$ac_lib
13502    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13503  fi
13504  if ac_fn_c_try_link "$LINENO"; then :
13505  ac_cv_search_connect=$ac_res
13506fi
13507rm -f core conftest.err conftest.$ac_objext \
13508    conftest$ac_exeext
13509  if ${ac_cv_search_connect+:} false; then :
13510  break
13511fi
13512done
13513if ${ac_cv_search_connect+:} false; then :
13514
13515else
13516  ac_cv_search_connect=no
13517fi
13518rm conftest.$ac_ext
13519LIBS=$ac_func_search_save_LIBS
13520fi
13521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13522$as_echo "$ac_cv_search_connect" >&6; }
13523ac_res=$ac_cv_search_connect
13524if test "$ac_res" != no; then :
13525  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13526
13527fi
13528
13529
13530have_win32="no"
13531lt_enable_auto_import=""
13532case $host_os in
13533mingw*)
13534	have_win32="yes"
13535	lt_enable_auto_import="-Wl,--enable-auto-import"
13536 	;;
13537linux*)
13538
13539$as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
13540
13541	;;
13542esac
13543
13544
13545 if test "x${have_win32}" = "xyes"; then
13546  XCB_HAVE_WIN32_TRUE=
13547  XCB_HAVE_WIN32_FALSE='#'
13548else
13549  XCB_HAVE_WIN32_TRUE='#'
13550  XCB_HAVE_WIN32_FALSE=
13551fi
13552
13553
13554
13555# Check whether --with-queue-size was given.
13556if test "${with_queue_size+set}" = set; then :
13557  withval=$with_queue_size; xcb_queue_buffer_size="$withval"
13558else
13559  xcb_queue_buffer_size=16384
13560fi
13561
13562
13563cat >>confdefs.h <<_ACEOF
13564#define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size
13565_ACEOF
13566
13567
13568ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
13569		  #include <sys/un.h>
13570
13571"
13572if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13573
13574$as_echo "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
13575
13576fi
13577
13578
13579for ac_header in tsol/label.h
13580do :
13581  ac_fn_c_check_header_mongrel "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
13582if test "x$ac_cv_header_tsol_label_h" = xyes; then :
13583  cat >>confdefs.h <<_ACEOF
13584#define HAVE_TSOL_LABEL_H 1
13585_ACEOF
13586
13587fi
13588
13589done
13590
13591for ac_func in is_system_labeled
13592do :
13593  ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
13594if test "x$ac_cv_func_is_system_labeled" = xyes; then :
13595  cat >>confdefs.h <<_ACEOF
13596#define HAVE_IS_SYSTEM_LABELED 1
13597_ACEOF
13598
13599fi
13600done
13601
13602
13603ac_fn_c_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
13604"
13605if test "x$ac_cv_have_decl_IOV_MAX" = xyes; then :
13606
13607else
13608  ac_fn_c_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
13609"
13610if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes; then :
13611  $as_echo "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
13612
13613else
13614
13615$as_echo "#define IOV_MAX 16" >>confdefs.h
13616
13617fi
13618
13619fi
13620
13621
13622xcbincludedir='${includedir}/xcb'
13623
13624
13625if  test "x$GCC" = xyes ; then
13626    CWARNFLAGS="-Wall -pedantic -Wpointer-arith \
13627		-Wstrict-prototypes -Wmissing-declarations -Wnested-externs"
13628else
13629    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
13630if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
13631  SUNCC="yes"
13632else
13633  SUNCC="no"
13634fi
13635
13636    if test "x$SUNCC" = "xyes"; then
13637	CWARNFLAGS="-v"
13638    fi
13639fi
13640
13641
13642
13643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
13644$as_echo_n "checking whether ${CC} supports symbol visibility... " >&6; }
13645
13646save_CFLAGS=${CFLAGS}
13647CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
13648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649/* end confdefs.h.  */
13650
13651#pragma GCC visibility push(hidden)
13652extern void f(int);
13653#pragma GCC visibility pop
13654
13655int
13656main ()
13657{
13658
13659
13660  ;
13661  return 0;
13662}
13663_ACEOF
13664if ac_fn_c_try_compile "$LINENO"; then :
13665
13666$as_echo "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
13667
13668    :
13669    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13670$as_echo "yes" >&6; }
13671else
13672  :
13673    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13674$as_echo "no" >&6; }
13675fi
13676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13677
13678CFLAGS=${save_CFLAGS}
13679
13680
13681# htmldir is not defined prior to autoconf 2.59c, so on earlier versions
13682# set an equivalent value.
13683
13684
13685
13686DOXYGEN="doxygen"
13687
13688# Check whether --enable-build_docs was given.
13689if test "${enable_build_docs+set}" = set; then :
13690  enableval=$enable_build_docs; if test x"$enableval" != x"yes" ; then
13691       enable_build_docs="no"
13692    else
13693       enable_build_docs="yes"
13694    fi
13695else
13696  enable_build_docs="yes"
13697fi
13698
13699
13700if test "$enable_build_docs" = "no" ; then
13701    BUILD_DOCS=no
13702else
13703
13704# Check whether --with-doxygen was given.
13705if test "${with_doxygen+set}" = set; then :
13706  withval=$with_doxygen;          DOXYGEN=${withval}
13707    # Extract the first word of "${DOXYGEN}", so it can be a program name with args.
13708set dummy ${DOXYGEN}; ac_word=$2
13709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13710$as_echo_n "checking for $ac_word... " >&6; }
13711if ${ac_cv_prog_BUILD_DOCS+:} false; then :
13712  $as_echo_n "(cached) " >&6
13713else
13714  if test -n "$BUILD_DOCS"; then
13715  ac_cv_prog_BUILD_DOCS="$BUILD_DOCS" # Let the user override the test.
13716else
13717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13718for as_dir in $PATH
13719do
13720  IFS=$as_save_IFS
13721  test -z "$as_dir" && as_dir=.
13722    for ac_exec_ext in '' $ac_executable_extensions; do
13723  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13724    ac_cv_prog_BUILD_DOCS="yes"
13725    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13726    break 2
13727  fi
13728done
13729  done
13730IFS=$as_save_IFS
13731
13732  test -z "$ac_cv_prog_BUILD_DOCS" && ac_cv_prog_BUILD_DOCS="no"
13733fi
13734fi
13735BUILD_DOCS=$ac_cv_prog_BUILD_DOCS
13736if test -n "$BUILD_DOCS"; then
13737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_DOCS" >&5
13738$as_echo "$BUILD_DOCS" >&6; }
13739else
13740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741$as_echo "no" >&6; }
13742fi
13743
13744
13745    if test $BUILD_DOCS = no; then
13746       echo "WARNING:"
13747       echo "The doxygen program you specified:"
13748       echo "$DOXYGEN"
13749       echo "was not found.  Please check the path and make sure "
13750       echo "the program exists and is executable."
13751       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no doxygen detected. Documentation will not be built" >&5
13752$as_echo "$as_me: WARNING: Warning: no doxygen detected. Documentation will not be built" >&2;}
13753    fi
13754else
13755  # Extract the first word of "${DOXYGEN}", so it can be a program name with args.
13756set dummy ${DOXYGEN}; ac_word=$2
13757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13758$as_echo_n "checking for $ac_word... " >&6; }
13759if ${ac_cv_prog_BUILD_DOCS+:} false; then :
13760  $as_echo_n "(cached) " >&6
13761else
13762  if test -n "$BUILD_DOCS"; then
13763  ac_cv_prog_BUILD_DOCS="$BUILD_DOCS" # Let the user override the test.
13764else
13765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13766for as_dir in $PATH
13767do
13768  IFS=$as_save_IFS
13769  test -z "$as_dir" && as_dir=.
13770    for ac_exec_ext in '' $ac_executable_extensions; do
13771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13772    ac_cv_prog_BUILD_DOCS="yes"
13773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13774    break 2
13775  fi
13776done
13777  done
13778IFS=$as_save_IFS
13779
13780  test -z "$ac_cv_prog_BUILD_DOCS" && ac_cv_prog_BUILD_DOCS="no"
13781fi
13782fi
13783BUILD_DOCS=$ac_cv_prog_BUILD_DOCS
13784if test -n "$BUILD_DOCS"; then
13785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_DOCS" >&5
13786$as_echo "$BUILD_DOCS" >&6; }
13787else
13788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13789$as_echo "no" >&6; }
13790fi
13791
13792
13793    if test ${BUILD_DOCS} = no; then
13794       echo "WARNING:"
13795       echo "The doxygen program was not found in your execute"
13796       echo "You may have doxygen installed somewhere not covered by your path."
13797       echo ""
13798       echo "If this is the case make sure you have the packages installed, AND"
13799       echo "that the doxygen program is in your execute path (see your"
13800       echo "shell manual page on setting the \$PATH environment variable), OR"
13801       echo "alternatively, specify the program to use with --with-doxygen."
13802       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no doxygen detected. Documentation will not be built" >&5
13803$as_echo "$as_me: WARNING: Warning: no doxygen detected. Documentation will not be built" >&2;}
13804    fi
13805fi
13806
13807    # Extract the first word of "dot", so it can be a program name with args.
13808set dummy dot; ac_word=$2
13809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13810$as_echo_n "checking for $ac_word... " >&6; }
13811if ${ac_cv_path_DOT+:} false; then :
13812  $as_echo_n "(cached) " >&6
13813else
13814  case $DOT in
13815  [\\/]* | ?:[\\/]*)
13816  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
13817  ;;
13818  *)
13819  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820for as_dir in $PATH
13821do
13822  IFS=$as_save_IFS
13823  test -z "$as_dir" && as_dir=.
13824    for ac_exec_ext in '' $ac_executable_extensions; do
13825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13826    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
13827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13828    break 2
13829  fi
13830done
13831  done
13832IFS=$as_save_IFS
13833
13834  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="no"
13835  ;;
13836esac
13837fi
13838DOT=$ac_cv_path_DOT
13839if test -n "$DOT"; then
13840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
13841$as_echo "$DOT" >&6; }
13842else
13843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13844$as_echo "no" >&6; }
13845fi
13846
13847
13848    if test "$DOT" = "no"; then
13849        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no dot detected. Documentation will not be built" >&5
13850$as_echo "$as_me: WARNING: Warning: no dot detected. Documentation will not be built" >&2;}
13851	BUILD_DOCS="no"
13852    fi
13853fi
13854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation is built" >&5
13855$as_echo_n "checking whether documentation is built... " >&6; }
13856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BUILD_DOCS}" >&5
13857$as_echo "${BUILD_DOCS}" >&6; }
13858
13859
13860
13861 if test "x$BUILD_DOCS" = "xyes"; then
13862  BUILD_DOCS_TRUE=
13863  BUILD_DOCS_FALSE='#'
13864else
13865  BUILD_DOCS_TRUE='#'
13866  BUILD_DOCS_FALSE=
13867fi
13868
13869
13870
13871
13872ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13873if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13874
13875$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
13876
13877fi
13878
13879
13880case $host_os in
13881	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
13882	darwin[789]*|darwin10*) ;;
13883	darwin*)
13884		_ac_xorg_macosx_version_min=""
13885		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
13886			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
13887		else
13888			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
13889		fi
13890		case $_ac_xorg_macosx_version_min in
13891			10.[0123456]|10.[0123456].*) ;;
13892			*)
13893				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
13894if test "x$ac_cv_func_poll" = xyes; then :
13895
13896$as_echo "#define USE_POLL 1" >>confdefs.h
13897
13898fi
13899
13900			;;
13901		esac
13902		unset _ac_xorg_macosx_version_min
13903		;;
13904	*)
13905		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
13906if test "x$ac_cv_func_poll" = xyes; then :
13907
13908$as_echo "#define USE_POLL 1" >>confdefs.h
13909
13910fi
13911
13912	;;
13913esac
13914
13915
13916
13917# Check whether --enable-composite was given.
13918if test "${enable_composite+set}" = set; then :
13919  enableval=$enable_composite; BUILD_COMPOSITE=$enableval
13920else
13921  BUILD_COMPOSITE="yes"
13922fi
13923
13924
13925 if test "x$BUILD_COMPOSITE" = "xyes"; then
13926  BUILD_COMPOSITE_TRUE=
13927  BUILD_COMPOSITE_FALSE='#'
13928else
13929  BUILD_COMPOSITE_TRUE='#'
13930  BUILD_COMPOSITE_FALSE=
13931fi
13932
13933
13934
13935
13936# Check whether --enable-damage was given.
13937if test "${enable_damage+set}" = set; then :
13938  enableval=$enable_damage; BUILD_DAMAGE=$enableval
13939else
13940  BUILD_DAMAGE="yes"
13941fi
13942
13943
13944 if test "x$BUILD_DAMAGE" = "xyes"; then
13945  BUILD_DAMAGE_TRUE=
13946  BUILD_DAMAGE_FALSE='#'
13947else
13948  BUILD_DAMAGE_TRUE='#'
13949  BUILD_DAMAGE_FALSE=
13950fi
13951
13952
13953
13954
13955# Check whether --enable-dpms was given.
13956if test "${enable_dpms+set}" = set; then :
13957  enableval=$enable_dpms; BUILD_DPMS=$enableval
13958else
13959  BUILD_DPMS="yes"
13960fi
13961
13962
13963 if test "x$BUILD_DPMS" = "xyes"; then
13964  BUILD_DPMS_TRUE=
13965  BUILD_DPMS_FALSE='#'
13966else
13967  BUILD_DPMS_TRUE='#'
13968  BUILD_DPMS_FALSE=
13969fi
13970
13971
13972
13973
13974# Check whether --enable-dri2 was given.
13975if test "${enable_dri2+set}" = set; then :
13976  enableval=$enable_dri2; BUILD_DRI2=$enableval
13977else
13978  BUILD_DRI2="yes"
13979fi
13980
13981
13982 if test "x$BUILD_DRI2" = "xyes"; then
13983  BUILD_DRI2_TRUE=
13984  BUILD_DRI2_FALSE='#'
13985else
13986  BUILD_DRI2_TRUE='#'
13987  BUILD_DRI2_FALSE=
13988fi
13989
13990
13991
13992
13993# Check whether --enable-glx was given.
13994if test "${enable_glx+set}" = set; then :
13995  enableval=$enable_glx; BUILD_GLX=$enableval
13996else
13997  BUILD_GLX="yes"
13998fi
13999
14000
14001 if test "x$BUILD_GLX" = "xyes"; then
14002  BUILD_GLX_TRUE=
14003  BUILD_GLX_FALSE='#'
14004else
14005  BUILD_GLX_TRUE='#'
14006  BUILD_GLX_FALSE=
14007fi
14008
14009
14010
14011
14012# Check whether --enable-randr was given.
14013if test "${enable_randr+set}" = set; then :
14014  enableval=$enable_randr; BUILD_RANDR=$enableval
14015else
14016  BUILD_RANDR="yes"
14017fi
14018
14019
14020 if test "x$BUILD_RANDR" = "xyes"; then
14021  BUILD_RANDR_TRUE=
14022  BUILD_RANDR_FALSE='#'
14023else
14024  BUILD_RANDR_TRUE='#'
14025  BUILD_RANDR_FALSE=
14026fi
14027
14028
14029
14030
14031# Check whether --enable-record was given.
14032if test "${enable_record+set}" = set; then :
14033  enableval=$enable_record; BUILD_RECORD=$enableval
14034else
14035  BUILD_RECORD="yes"
14036fi
14037
14038
14039 if test "x$BUILD_RECORD" = "xyes"; then
14040  BUILD_RECORD_TRUE=
14041  BUILD_RECORD_FALSE='#'
14042else
14043  BUILD_RECORD_TRUE='#'
14044  BUILD_RECORD_FALSE=
14045fi
14046
14047
14048
14049
14050# Check whether --enable-render was given.
14051if test "${enable_render+set}" = set; then :
14052  enableval=$enable_render; BUILD_RENDER=$enableval
14053else
14054  BUILD_RENDER="yes"
14055fi
14056
14057
14058 if test "x$BUILD_RENDER" = "xyes"; then
14059  BUILD_RENDER_TRUE=
14060  BUILD_RENDER_FALSE='#'
14061else
14062  BUILD_RENDER_TRUE='#'
14063  BUILD_RENDER_FALSE=
14064fi
14065
14066
14067
14068
14069# Check whether --enable-resource was given.
14070if test "${enable_resource+set}" = set; then :
14071  enableval=$enable_resource; BUILD_RESOURCE=$enableval
14072else
14073  BUILD_RESOURCE="yes"
14074fi
14075
14076
14077 if test "x$BUILD_RESOURCE" = "xyes"; then
14078  BUILD_RESOURCE_TRUE=
14079  BUILD_RESOURCE_FALSE='#'
14080else
14081  BUILD_RESOURCE_TRUE='#'
14082  BUILD_RESOURCE_FALSE=
14083fi
14084
14085
14086
14087
14088# Check whether --enable-screensaver was given.
14089if test "${enable_screensaver+set}" = set; then :
14090  enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
14091else
14092  BUILD_SCREENSAVER="yes"
14093fi
14094
14095
14096 if test "x$BUILD_SCREENSAVER" = "xyes"; then
14097  BUILD_SCREENSAVER_TRUE=
14098  BUILD_SCREENSAVER_FALSE='#'
14099else
14100  BUILD_SCREENSAVER_TRUE='#'
14101  BUILD_SCREENSAVER_FALSE=
14102fi
14103
14104
14105
14106
14107# Check whether --enable-shape was given.
14108if test "${enable_shape+set}" = set; then :
14109  enableval=$enable_shape; BUILD_SHAPE=$enableval
14110else
14111  BUILD_SHAPE="yes"
14112fi
14113
14114
14115 if test "x$BUILD_SHAPE" = "xyes"; then
14116  BUILD_SHAPE_TRUE=
14117  BUILD_SHAPE_FALSE='#'
14118else
14119  BUILD_SHAPE_TRUE='#'
14120  BUILD_SHAPE_FALSE=
14121fi
14122
14123
14124
14125
14126# Check whether --enable-shm was given.
14127if test "${enable_shm+set}" = set; then :
14128  enableval=$enable_shm; BUILD_SHM=$enableval
14129else
14130  BUILD_SHM="yes"
14131fi
14132
14133
14134 if test "x$BUILD_SHM" = "xyes"; then
14135  BUILD_SHM_TRUE=
14136  BUILD_SHM_FALSE='#'
14137else
14138  BUILD_SHM_TRUE='#'
14139  BUILD_SHM_FALSE=
14140fi
14141
14142
14143
14144
14145# Check whether --enable-sync was given.
14146if test "${enable_sync+set}" = set; then :
14147  enableval=$enable_sync; BUILD_SYNC=$enableval
14148else
14149  BUILD_SYNC="yes"
14150fi
14151
14152
14153 if test "x$BUILD_SYNC" = "xyes"; then
14154  BUILD_SYNC_TRUE=
14155  BUILD_SYNC_FALSE='#'
14156else
14157  BUILD_SYNC_TRUE='#'
14158  BUILD_SYNC_FALSE=
14159fi
14160
14161
14162
14163
14164# Check whether --enable-xevie was given.
14165if test "${enable_xevie+set}" = set; then :
14166  enableval=$enable_xevie; BUILD_XEVIE=$enableval
14167else
14168  BUILD_XEVIE="yes"
14169fi
14170
14171
14172 if test "x$BUILD_XEVIE" = "xyes"; then
14173  BUILD_XEVIE_TRUE=
14174  BUILD_XEVIE_FALSE='#'
14175else
14176  BUILD_XEVIE_TRUE='#'
14177  BUILD_XEVIE_FALSE=
14178fi
14179
14180
14181
14182
14183# Check whether --enable-xfixes was given.
14184if test "${enable_xfixes+set}" = set; then :
14185  enableval=$enable_xfixes; BUILD_XFIXES=$enableval
14186else
14187  BUILD_XFIXES="yes"
14188fi
14189
14190
14191 if test "x$BUILD_XFIXES" = "xyes"; then
14192  BUILD_XFIXES_TRUE=
14193  BUILD_XFIXES_FALSE='#'
14194else
14195  BUILD_XFIXES_TRUE='#'
14196  BUILD_XFIXES_FALSE=
14197fi
14198
14199
14200
14201
14202# Check whether --enable-xfree86-dri was given.
14203if test "${enable_xfree86_dri+set}" = set; then :
14204  enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
14205else
14206  BUILD_XFREE86_DRI="yes"
14207fi
14208
14209
14210 if test "x$BUILD_XFREE86_DRI" = "xyes"; then
14211  BUILD_XFREE86_DRI_TRUE=
14212  BUILD_XFREE86_DRI_FALSE='#'
14213else
14214  BUILD_XFREE86_DRI_TRUE='#'
14215  BUILD_XFREE86_DRI_FALSE=
14216fi
14217
14218
14219
14220
14221# Check whether --enable-xinerama was given.
14222if test "${enable_xinerama+set}" = set; then :
14223  enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
14224else
14225  BUILD_XINERAMA="yes"
14226fi
14227
14228
14229 if test "x$BUILD_XINERAMA" = "xyes"; then
14230  BUILD_XINERAMA_TRUE=
14231  BUILD_XINERAMA_FALSE='#'
14232else
14233  BUILD_XINERAMA_TRUE='#'
14234  BUILD_XINERAMA_FALSE=
14235fi
14236
14237
14238
14239
14240# Check whether --enable-xinput was given.
14241if test "${enable_xinput+set}" = set; then :
14242  enableval=$enable_xinput; BUILD_XINPUT=$enableval
14243else
14244  BUILD_XINPUT="no"
14245fi
14246
14247
14248 if test "x$BUILD_XINPUT" = "xyes"; then
14249  BUILD_XINPUT_TRUE=
14250  BUILD_XINPUT_FALSE='#'
14251else
14252  BUILD_XINPUT_TRUE='#'
14253  BUILD_XINPUT_FALSE=
14254fi
14255
14256
14257
14258
14259# Check whether --enable-xkb was given.
14260if test "${enable_xkb+set}" = set; then :
14261  enableval=$enable_xkb; BUILD_XKB=$enableval
14262else
14263  BUILD_XKB="no"
14264fi
14265
14266
14267 if test "x$BUILD_XKB" = "xyes"; then
14268  BUILD_XKB_TRUE=
14269  BUILD_XKB_FALSE='#'
14270else
14271  BUILD_XKB_TRUE='#'
14272  BUILD_XKB_FALSE=
14273fi
14274
14275
14276
14277
14278# Check whether --enable-xprint was given.
14279if test "${enable_xprint+set}" = set; then :
14280  enableval=$enable_xprint; BUILD_XPRINT=$enableval
14281else
14282  BUILD_XPRINT="yes"
14283fi
14284
14285
14286 if test "x$BUILD_XPRINT" = "xyes"; then
14287  BUILD_XPRINT_TRUE=
14288  BUILD_XPRINT_FALSE='#'
14289else
14290  BUILD_XPRINT_TRUE='#'
14291  BUILD_XPRINT_FALSE=
14292fi
14293
14294
14295
14296
14297# Check whether --enable-selinux was given.
14298if test "${enable_selinux+set}" = set; then :
14299  enableval=$enable_selinux; BUILD_SELINUX=$enableval
14300else
14301  BUILD_SELINUX="no"
14302fi
14303
14304
14305 if test "x$BUILD_SELINUX" = "xyes"; then
14306  BUILD_SELINUX_TRUE=
14307  BUILD_SELINUX_FALSE='#'
14308else
14309  BUILD_SELINUX_TRUE='#'
14310  BUILD_SELINUX_FALSE=
14311fi
14312
14313
14314
14315
14316# Check whether --enable-xtest was given.
14317if test "${enable_xtest+set}" = set; then :
14318  enableval=$enable_xtest; BUILD_XTEST=$enableval
14319else
14320  BUILD_XTEST="yes"
14321fi
14322
14323
14324 if test "x$BUILD_XTEST" = "xyes"; then
14325  BUILD_XTEST_TRUE=
14326  BUILD_XTEST_FALSE='#'
14327else
14328  BUILD_XTEST_TRUE='#'
14329  BUILD_XTEST_FALSE=
14330fi
14331
14332
14333
14334
14335# Check whether --enable-xv was given.
14336if test "${enable_xv+set}" = set; then :
14337  enableval=$enable_xv; BUILD_XV=$enableval
14338else
14339  BUILD_XV="yes"
14340fi
14341
14342
14343 if test "x$BUILD_XV" = "xyes"; then
14344  BUILD_XV_TRUE=
14345  BUILD_XV_FALSE='#'
14346else
14347  BUILD_XV_TRUE='#'
14348  BUILD_XV_FALSE=
14349fi
14350
14351
14352
14353
14354# Check whether --enable-xvmc was given.
14355if test "${enable_xvmc+set}" = set; then :
14356  enableval=$enable_xvmc; BUILD_XVMC=$enableval
14357else
14358  BUILD_XVMC="yes"
14359fi
14360
14361
14362 if test "x$BUILD_XVMC" = "xyes"; then
14363  BUILD_XVMC_TRUE=
14364  BUILD_XVMC_FALSE='#'
14365else
14366  BUILD_XVMC_TRUE='#'
14367  BUILD_XVMC_FALSE=
14368fi
14369
14370
14371
14372
14373# Check whether --with-launchd was given.
14374if test "${with_launchd+set}" = set; then :
14375  withval=$with_launchd; LAUNCHD=$withval
14376else
14377  LAUNCHD=auto
14378fi
14379
14380if test "x$LAUNCHD" = xauto; then
14381	unset LAUNCHD
14382	# Extract the first word of "launchd", so it can be a program name with args.
14383set dummy launchd; ac_word=$2
14384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14385$as_echo_n "checking for $ac_word... " >&6; }
14386if ${ac_cv_prog_LAUNCHD+:} false; then :
14387  $as_echo_n "(cached) " >&6
14388else
14389  if test -n "$LAUNCHD"; then
14390  ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
14391else
14392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14393for as_dir in $PATH$PATH_SEPARATOR/sbin
14394do
14395  IFS=$as_save_IFS
14396  test -z "$as_dir" && as_dir=.
14397    for ac_exec_ext in '' $ac_executable_extensions; do
14398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14399    ac_cv_prog_LAUNCHD="yes"
14400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14401    break 2
14402  fi
14403done
14404  done
14405IFS=$as_save_IFS
14406
14407  test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
14408fi
14409fi
14410LAUNCHD=$ac_cv_prog_LAUNCHD
14411if test -n "$LAUNCHD"; then
14412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
14413$as_echo "$LAUNCHD" >&6; }
14414else
14415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14416$as_echo "no" >&6; }
14417fi
14418
14419
14420fi
14421
14422if test "x$LAUNCHD" = xyes ; then
14423
14424$as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
14425
14426fi
14427
14428ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile tests/Makefile"
14429
14430
14431ac_config_files="$ac_config_files xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-dri2.pc xcb-glx.pc xcb-randr.pc xcb-record.pc xcb-render.pc xcb-res.pc xcb-screensaver.pc xcb-shape.pc xcb-shm.pc xcb-sync.pc xcb-xevie.pc xcb-xf86dri.pc xcb-xfixes.pc xcb-xinerama.pc xcb-xinput.pc xcb-xkb.pc xcb-xprint.pc xcb-xselinux.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc"
14432
14433
14434ac_config_files="$ac_config_files doc/xcb.doxygen"
14435
14436
14437cat >confcache <<\_ACEOF
14438# This file is a shell script that caches the results of configure
14439# tests run on this system so they can be shared between configure
14440# scripts and configure runs, see configure's option --config-cache.
14441# It is not useful on other systems.  If it contains results you don't
14442# want to keep, you may remove or edit it.
14443#
14444# config.status only pays attention to the cache file if you give it
14445# the --recheck option to rerun configure.
14446#
14447# `ac_cv_env_foo' variables (set or unset) will be overridden when
14448# loading this file, other *unset* `ac_cv_foo' will be assigned the
14449# following values.
14450
14451_ACEOF
14452
14453# The following way of writing the cache mishandles newlines in values,
14454# but we know of no workaround that is simple, portable, and efficient.
14455# So, we kill variables containing newlines.
14456# Ultrix sh set writes to stderr and can't be redirected directly,
14457# and sets the high bit in the cache file unless we assign to the vars.
14458(
14459  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14460    eval ac_val=\$$ac_var
14461    case $ac_val in #(
14462    *${as_nl}*)
14463      case $ac_var in #(
14464      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14465$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14466      esac
14467      case $ac_var in #(
14468      _ | IFS | as_nl) ;; #(
14469      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14470      *) { eval $ac_var=; unset $ac_var;} ;;
14471      esac ;;
14472    esac
14473  done
14474
14475  (set) 2>&1 |
14476    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14477    *${as_nl}ac_space=\ *)
14478      # `set' does not quote correctly, so add quotes: double-quote
14479      # substitution turns \\\\ into \\, and sed turns \\ into \.
14480      sed -n \
14481	"s/'/'\\\\''/g;
14482	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14483      ;; #(
14484    *)
14485      # `set' quotes correctly as required by POSIX, so do not add quotes.
14486      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14487      ;;
14488    esac |
14489    sort
14490) |
14491  sed '
14492     /^ac_cv_env_/b end
14493     t clear
14494     :clear
14495     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14496     t end
14497     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14498     :end' >>confcache
14499if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14500  if test -w "$cache_file"; then
14501    if test "x$cache_file" != "x/dev/null"; then
14502      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14503$as_echo "$as_me: updating cache $cache_file" >&6;}
14504      if test ! -f "$cache_file" || test -h "$cache_file"; then
14505	cat confcache >"$cache_file"
14506      else
14507        case $cache_file in #(
14508        */* | ?:*)
14509	  mv -f confcache "$cache_file"$$ &&
14510	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14511        *)
14512	  mv -f confcache "$cache_file" ;;
14513	esac
14514      fi
14515    fi
14516  else
14517    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14518$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14519  fi
14520fi
14521rm -f confcache
14522
14523test "x$prefix" = xNONE && prefix=$ac_default_prefix
14524# Let make expand exec_prefix.
14525test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14526
14527DEFS=-DHAVE_CONFIG_H
14528
14529ac_libobjs=
14530ac_ltlibobjs=
14531U=
14532for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14533  # 1. Remove the extension, and $U if already installed.
14534  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14535  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14536  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14537  #    will be set to the directory where LIBOBJS objects are built.
14538  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14539  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14540done
14541LIBOBJS=$ac_libobjs
14542
14543LTLIBOBJS=$ac_ltlibobjs
14544
14545
14546if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14547  as_fn_error $? "conditional \"AMDEP\" was never defined.
14548Usually this means the macro was only invoked conditionally." "$LINENO" 5
14549fi
14550if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14551  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14552Usually this means the macro was only invoked conditionally." "$LINENO" 5
14553fi
14554 if test -n "$EXEEXT"; then
14555  am__EXEEXT_TRUE=
14556  am__EXEEXT_FALSE='#'
14557else
14558  am__EXEEXT_TRUE='#'
14559  am__EXEEXT_FALSE=
14560fi
14561
14562if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
14563  as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
14564Usually this means the macro was only invoked conditionally." "$LINENO" 5
14565fi
14566if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
14567  as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
14568Usually this means the macro was only invoked conditionally." "$LINENO" 5
14569fi
14570if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
14571  as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
14572Usually this means the macro was only invoked conditionally." "$LINENO" 5
14573fi
14574if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
14575  as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
14576Usually this means the macro was only invoked conditionally." "$LINENO" 5
14577fi
14578if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
14579  as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
14580Usually this means the macro was only invoked conditionally." "$LINENO" 5
14581fi
14582if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
14583  as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
14584Usually this means the macro was only invoked conditionally." "$LINENO" 5
14585fi
14586if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
14587  as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
14588Usually this means the macro was only invoked conditionally." "$LINENO" 5
14589fi
14590if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
14591  as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
14592Usually this means the macro was only invoked conditionally." "$LINENO" 5
14593fi
14594if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
14595  as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
14596Usually this means the macro was only invoked conditionally." "$LINENO" 5
14597fi
14598if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
14599  as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
14600Usually this means the macro was only invoked conditionally." "$LINENO" 5
14601fi
14602if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
14603  as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
14604Usually this means the macro was only invoked conditionally." "$LINENO" 5
14605fi
14606if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
14607  as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
14608Usually this means the macro was only invoked conditionally." "$LINENO" 5
14609fi
14610if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
14611  as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
14612Usually this means the macro was only invoked conditionally." "$LINENO" 5
14613fi
14614if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
14615  as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
14616Usually this means the macro was only invoked conditionally." "$LINENO" 5
14617fi
14618if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
14619  as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
14620Usually this means the macro was only invoked conditionally." "$LINENO" 5
14621fi
14622if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
14623  as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
14624Usually this means the macro was only invoked conditionally." "$LINENO" 5
14625fi
14626if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
14627  as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
14628Usually this means the macro was only invoked conditionally." "$LINENO" 5
14629fi
14630if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
14631  as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
14632Usually this means the macro was only invoked conditionally." "$LINENO" 5
14633fi
14634if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
14635  as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
14636Usually this means the macro was only invoked conditionally." "$LINENO" 5
14637fi
14638if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
14639  as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
14640Usually this means the macro was only invoked conditionally." "$LINENO" 5
14641fi
14642if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
14643  as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
14644Usually this means the macro was only invoked conditionally." "$LINENO" 5
14645fi
14646if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
14647  as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
14648Usually this means the macro was only invoked conditionally." "$LINENO" 5
14649fi
14650if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
14651  as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
14652Usually this means the macro was only invoked conditionally." "$LINENO" 5
14653fi
14654if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
14655  as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
14656Usually this means the macro was only invoked conditionally." "$LINENO" 5
14657fi
14658if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
14659  as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
14660Usually this means the macro was only invoked conditionally." "$LINENO" 5
14661fi
14662if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
14663  as_fn_error $? "conditional \"BUILD_XV\" was never defined.
14664Usually this means the macro was only invoked conditionally." "$LINENO" 5
14665fi
14666if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
14667  as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
14668Usually this means the macro was only invoked conditionally." "$LINENO" 5
14669fi
14670
14671: "${CONFIG_STATUS=./config.status}"
14672ac_write_fail=0
14673ac_clean_files_save=$ac_clean_files
14674ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14675{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14676$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14677as_write_fail=0
14678cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14679#! $SHELL
14680# Generated by $as_me.
14681# Run this file to recreate the current configuration.
14682# Compiler output produced by configure, useful for debugging
14683# configure, is in config.log if it exists.
14684
14685debug=false
14686ac_cs_recheck=false
14687ac_cs_silent=false
14688
14689SHELL=\${CONFIG_SHELL-$SHELL}
14690export SHELL
14691_ASEOF
14692cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14693## -------------------- ##
14694## M4sh Initialization. ##
14695## -------------------- ##
14696
14697# Be more Bourne compatible
14698DUALCASE=1; export DUALCASE # for MKS sh
14699if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14700  emulate sh
14701  NULLCMD=:
14702  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14703  # is contrary to our usage.  Disable this feature.
14704  alias -g '${1+"$@"}'='"$@"'
14705  setopt NO_GLOB_SUBST
14706else
14707  case `(set -o) 2>/dev/null` in #(
14708  *posix*) :
14709    set -o posix ;; #(
14710  *) :
14711     ;;
14712esac
14713fi
14714
14715
14716as_nl='
14717'
14718export as_nl
14719# Printing a long string crashes Solaris 7 /usr/bin/printf.
14720as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14721as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14722as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14723# Prefer a ksh shell builtin over an external printf program on Solaris,
14724# but without wasting forks for bash or zsh.
14725if test -z "$BASH_VERSION$ZSH_VERSION" \
14726    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14727  as_echo='print -r --'
14728  as_echo_n='print -rn --'
14729elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14730  as_echo='printf %s\n'
14731  as_echo_n='printf %s'
14732else
14733  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14734    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14735    as_echo_n='/usr/ucb/echo -n'
14736  else
14737    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14738    as_echo_n_body='eval
14739      arg=$1;
14740      case $arg in #(
14741      *"$as_nl"*)
14742	expr "X$arg" : "X\\(.*\\)$as_nl";
14743	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14744      esac;
14745      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14746    '
14747    export as_echo_n_body
14748    as_echo_n='sh -c $as_echo_n_body as_echo'
14749  fi
14750  export as_echo_body
14751  as_echo='sh -c $as_echo_body as_echo'
14752fi
14753
14754# The user is always right.
14755if test "${PATH_SEPARATOR+set}" != set; then
14756  PATH_SEPARATOR=:
14757  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14758    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14759      PATH_SEPARATOR=';'
14760  }
14761fi
14762
14763
14764# IFS
14765# We need space, tab and new line, in precisely that order.  Quoting is
14766# there to prevent editors from complaining about space-tab.
14767# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14768# splitting by setting IFS to empty value.)
14769IFS=" ""	$as_nl"
14770
14771# Find who we are.  Look in the path if we contain no directory separator.
14772as_myself=
14773case $0 in #((
14774  *[\\/]* ) as_myself=$0 ;;
14775  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14776for as_dir in $PATH
14777do
14778  IFS=$as_save_IFS
14779  test -z "$as_dir" && as_dir=.
14780    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14781  done
14782IFS=$as_save_IFS
14783
14784     ;;
14785esac
14786# We did not find ourselves, most probably we were run as `sh COMMAND'
14787# in which case we are not to be found in the path.
14788if test "x$as_myself" = x; then
14789  as_myself=$0
14790fi
14791if test ! -f "$as_myself"; then
14792  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14793  exit 1
14794fi
14795
14796# Unset variables that we do not need and which cause bugs (e.g. in
14797# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14798# suppresses any "Segmentation fault" message there.  '((' could
14799# trigger a bug in pdksh 5.2.14.
14800for as_var in BASH_ENV ENV MAIL MAILPATH
14801do eval test x\${$as_var+set} = xset \
14802  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14803done
14804PS1='$ '
14805PS2='> '
14806PS4='+ '
14807
14808# NLS nuisances.
14809LC_ALL=C
14810export LC_ALL
14811LANGUAGE=C
14812export LANGUAGE
14813
14814# CDPATH.
14815(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14816
14817
14818# as_fn_error STATUS ERROR [LINENO LOG_FD]
14819# ----------------------------------------
14820# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14821# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14822# script with STATUS, using 1 if that was 0.
14823as_fn_error ()
14824{
14825  as_status=$1; test $as_status -eq 0 && as_status=1
14826  if test "$4"; then
14827    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14828    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14829  fi
14830  $as_echo "$as_me: error: $2" >&2
14831  as_fn_exit $as_status
14832} # as_fn_error
14833
14834
14835# as_fn_set_status STATUS
14836# -----------------------
14837# Set $? to STATUS, without forking.
14838as_fn_set_status ()
14839{
14840  return $1
14841} # as_fn_set_status
14842
14843# as_fn_exit STATUS
14844# -----------------
14845# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14846as_fn_exit ()
14847{
14848  set +e
14849  as_fn_set_status $1
14850  exit $1
14851} # as_fn_exit
14852
14853# as_fn_unset VAR
14854# ---------------
14855# Portably unset VAR.
14856as_fn_unset ()
14857{
14858  { eval $1=; unset $1;}
14859}
14860as_unset=as_fn_unset
14861# as_fn_append VAR VALUE
14862# ----------------------
14863# Append the text in VALUE to the end of the definition contained in VAR. Take
14864# advantage of any shell optimizations that allow amortized linear growth over
14865# repeated appends, instead of the typical quadratic growth present in naive
14866# implementations.
14867if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14868  eval 'as_fn_append ()
14869  {
14870    eval $1+=\$2
14871  }'
14872else
14873  as_fn_append ()
14874  {
14875    eval $1=\$$1\$2
14876  }
14877fi # as_fn_append
14878
14879# as_fn_arith ARG...
14880# ------------------
14881# Perform arithmetic evaluation on the ARGs, and store the result in the
14882# global $as_val. Take advantage of shells that can avoid forks. The arguments
14883# must be portable across $(()) and expr.
14884if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14885  eval 'as_fn_arith ()
14886  {
14887    as_val=$(( $* ))
14888  }'
14889else
14890  as_fn_arith ()
14891  {
14892    as_val=`expr "$@" || test $? -eq 1`
14893  }
14894fi # as_fn_arith
14895
14896
14897if expr a : '\(a\)' >/dev/null 2>&1 &&
14898   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14899  as_expr=expr
14900else
14901  as_expr=false
14902fi
14903
14904if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14905  as_basename=basename
14906else
14907  as_basename=false
14908fi
14909
14910if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14911  as_dirname=dirname
14912else
14913  as_dirname=false
14914fi
14915
14916as_me=`$as_basename -- "$0" ||
14917$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14918	 X"$0" : 'X\(//\)$' \| \
14919	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14920$as_echo X/"$0" |
14921    sed '/^.*\/\([^/][^/]*\)\/*$/{
14922	    s//\1/
14923	    q
14924	  }
14925	  /^X\/\(\/\/\)$/{
14926	    s//\1/
14927	    q
14928	  }
14929	  /^X\/\(\/\).*/{
14930	    s//\1/
14931	    q
14932	  }
14933	  s/.*/./; q'`
14934
14935# Avoid depending upon Character Ranges.
14936as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14937as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14938as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14939as_cr_digits='0123456789'
14940as_cr_alnum=$as_cr_Letters$as_cr_digits
14941
14942ECHO_C= ECHO_N= ECHO_T=
14943case `echo -n x` in #(((((
14944-n*)
14945  case `echo 'xy\c'` in
14946  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14947  xy)  ECHO_C='\c';;
14948  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14949       ECHO_T='	';;
14950  esac;;
14951*)
14952  ECHO_N='-n';;
14953esac
14954
14955rm -f conf$$ conf$$.exe conf$$.file
14956if test -d conf$$.dir; then
14957  rm -f conf$$.dir/conf$$.file
14958else
14959  rm -f conf$$.dir
14960  mkdir conf$$.dir 2>/dev/null
14961fi
14962if (echo >conf$$.file) 2>/dev/null; then
14963  if ln -s conf$$.file conf$$ 2>/dev/null; then
14964    as_ln_s='ln -s'
14965    # ... but there are two gotchas:
14966    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14967    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14968    # In both cases, we have to default to `cp -pR'.
14969    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14970      as_ln_s='cp -pR'
14971  elif ln conf$$.file conf$$ 2>/dev/null; then
14972    as_ln_s=ln
14973  else
14974    as_ln_s='cp -pR'
14975  fi
14976else
14977  as_ln_s='cp -pR'
14978fi
14979rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14980rmdir conf$$.dir 2>/dev/null
14981
14982
14983# as_fn_mkdir_p
14984# -------------
14985# Create "$as_dir" as a directory, including parents if necessary.
14986as_fn_mkdir_p ()
14987{
14988
14989  case $as_dir in #(
14990  -*) as_dir=./$as_dir;;
14991  esac
14992  test -d "$as_dir" || eval $as_mkdir_p || {
14993    as_dirs=
14994    while :; do
14995      case $as_dir in #(
14996      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14997      *) as_qdir=$as_dir;;
14998      esac
14999      as_dirs="'$as_qdir' $as_dirs"
15000      as_dir=`$as_dirname -- "$as_dir" ||
15001$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15002	 X"$as_dir" : 'X\(//\)[^/]' \| \
15003	 X"$as_dir" : 'X\(//\)$' \| \
15004	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15005$as_echo X"$as_dir" |
15006    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15007	    s//\1/
15008	    q
15009	  }
15010	  /^X\(\/\/\)[^/].*/{
15011	    s//\1/
15012	    q
15013	  }
15014	  /^X\(\/\/\)$/{
15015	    s//\1/
15016	    q
15017	  }
15018	  /^X\(\/\).*/{
15019	    s//\1/
15020	    q
15021	  }
15022	  s/.*/./; q'`
15023      test -d "$as_dir" && break
15024    done
15025    test -z "$as_dirs" || eval "mkdir $as_dirs"
15026  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15027
15028
15029} # as_fn_mkdir_p
15030if mkdir -p . 2>/dev/null; then
15031  as_mkdir_p='mkdir -p "$as_dir"'
15032else
15033  test -d ./-p && rmdir ./-p
15034  as_mkdir_p=false
15035fi
15036
15037
15038# as_fn_executable_p FILE
15039# -----------------------
15040# Test if FILE is an executable regular file.
15041as_fn_executable_p ()
15042{
15043  test -f "$1" && test -x "$1"
15044} # as_fn_executable_p
15045as_test_x='test -x'
15046as_executable_p=as_fn_executable_p
15047
15048# Sed expression to map a string onto a valid CPP name.
15049as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15050
15051# Sed expression to map a string onto a valid variable name.
15052as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15053
15054
15055exec 6>&1
15056## ----------------------------------- ##
15057## Main body of $CONFIG_STATUS script. ##
15058## ----------------------------------- ##
15059_ASEOF
15060test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15061
15062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15063# Save the log message, to keep $0 and so on meaningful, and to
15064# report actual input values of CONFIG_FILES etc. instead of their
15065# values after options handling.
15066ac_log="
15067This file was extended by libxcb $as_me 1.9, which was
15068generated by GNU Autoconf 2.69.  Invocation command line was
15069
15070  CONFIG_FILES    = $CONFIG_FILES
15071  CONFIG_HEADERS  = $CONFIG_HEADERS
15072  CONFIG_LINKS    = $CONFIG_LINKS
15073  CONFIG_COMMANDS = $CONFIG_COMMANDS
15074  $ $0 $@
15075
15076on `(hostname || uname -n) 2>/dev/null | sed 1q`
15077"
15078
15079_ACEOF
15080
15081case $ac_config_files in *"
15082"*) set x $ac_config_files; shift; ac_config_files=$*;;
15083esac
15084
15085case $ac_config_headers in *"
15086"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15087esac
15088
15089
15090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15091# Files that config.status was made for.
15092config_files="$ac_config_files"
15093config_headers="$ac_config_headers"
15094config_commands="$ac_config_commands"
15095
15096_ACEOF
15097
15098cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15099ac_cs_usage="\
15100\`$as_me' instantiates files and other configuration actions
15101from templates according to the current configuration.  Unless the files
15102and actions are specified as TAGs, all are instantiated by default.
15103
15104Usage: $0 [OPTION]... [TAG]...
15105
15106  -h, --help       print this help, then exit
15107  -V, --version    print version number and configuration settings, then exit
15108      --config     print configuration, then exit
15109  -q, --quiet, --silent
15110                   do not print progress messages
15111  -d, --debug      don't remove temporary files
15112      --recheck    update $as_me by reconfiguring in the same conditions
15113      --file=FILE[:TEMPLATE]
15114                   instantiate the configuration file FILE
15115      --header=FILE[:TEMPLATE]
15116                   instantiate the configuration header FILE
15117
15118Configuration files:
15119$config_files
15120
15121Configuration headers:
15122$config_headers
15123
15124Configuration commands:
15125$config_commands
15126
15127Report bugs to <xcb@lists.freedesktop.org>."
15128
15129_ACEOF
15130cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15131ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15132ac_cs_version="\\
15133libxcb config.status 1.9
15134configured by $0, generated by GNU Autoconf 2.69,
15135  with options \\"\$ac_cs_config\\"
15136
15137Copyright (C) 2012 Free Software Foundation, Inc.
15138This config.status script is free software; the Free Software Foundation
15139gives unlimited permission to copy, distribute and modify it."
15140
15141ac_pwd='$ac_pwd'
15142srcdir='$srcdir'
15143INSTALL='$INSTALL'
15144MKDIR_P='$MKDIR_P'
15145AWK='$AWK'
15146test -n "\$AWK" || AWK=awk
15147_ACEOF
15148
15149cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15150# The default lists apply if the user does not specify any file.
15151ac_need_defaults=:
15152while test $# != 0
15153do
15154  case $1 in
15155  --*=?*)
15156    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15157    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15158    ac_shift=:
15159    ;;
15160  --*=)
15161    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15162    ac_optarg=
15163    ac_shift=:
15164    ;;
15165  *)
15166    ac_option=$1
15167    ac_optarg=$2
15168    ac_shift=shift
15169    ;;
15170  esac
15171
15172  case $ac_option in
15173  # Handling of the options.
15174  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15175    ac_cs_recheck=: ;;
15176  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15177    $as_echo "$ac_cs_version"; exit ;;
15178  --config | --confi | --conf | --con | --co | --c )
15179    $as_echo "$ac_cs_config"; exit ;;
15180  --debug | --debu | --deb | --de | --d | -d )
15181    debug=: ;;
15182  --file | --fil | --fi | --f )
15183    $ac_shift
15184    case $ac_optarg in
15185    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15186    '') as_fn_error $? "missing file argument" ;;
15187    esac
15188    as_fn_append CONFIG_FILES " '$ac_optarg'"
15189    ac_need_defaults=false;;
15190  --header | --heade | --head | --hea )
15191    $ac_shift
15192    case $ac_optarg in
15193    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15194    esac
15195    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15196    ac_need_defaults=false;;
15197  --he | --h)
15198    # Conflict between --help and --header
15199    as_fn_error $? "ambiguous option: \`$1'
15200Try \`$0 --help' for more information.";;
15201  --help | --hel | -h )
15202    $as_echo "$ac_cs_usage"; exit ;;
15203  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15204  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15205    ac_cs_silent=: ;;
15206
15207  # This is an error.
15208  -*) as_fn_error $? "unrecognized option: \`$1'
15209Try \`$0 --help' for more information." ;;
15210
15211  *) as_fn_append ac_config_targets " $1"
15212     ac_need_defaults=false ;;
15213
15214  esac
15215  shift
15216done
15217
15218ac_configure_extra_args=
15219
15220if $ac_cs_silent; then
15221  exec 6>/dev/null
15222  ac_configure_extra_args="$ac_configure_extra_args --silent"
15223fi
15224
15225_ACEOF
15226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15227if \$ac_cs_recheck; then
15228  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15229  shift
15230  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15231  CONFIG_SHELL='$SHELL'
15232  export CONFIG_SHELL
15233  exec "\$@"
15234fi
15235
15236_ACEOF
15237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15238exec 5>>config.log
15239{
15240  echo
15241  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15242## Running $as_me. ##
15243_ASBOX
15244  $as_echo "$ac_log"
15245} >&5
15246
15247_ACEOF
15248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15249#
15250# INIT-COMMANDS
15251#
15252AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15253
15254
15255# The HP-UX ksh and POSIX shell print the target directory to stdout
15256# if CDPATH is set.
15257(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15258
15259sed_quote_subst='$sed_quote_subst'
15260double_quote_subst='$double_quote_subst'
15261delay_variable_subst='$delay_variable_subst'
15262AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15263DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15264OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15265macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15266macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15267enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15268enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15269pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15270enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15271SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15272ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15273PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15274host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15275host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15276host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15277build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15278build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15279build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15280SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15281Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15282GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15283EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15284FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15285LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15286NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15287LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15288max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15289ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15290exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15291lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15292lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15293lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15294lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15295lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15296reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15297reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15298deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15299file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15300file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15301want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15302sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15303AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15304AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15305archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15306STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15307RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15308old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15309old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15310old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15311lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15312CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15313CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15314compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15315GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15316lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15317lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15318lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15319lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15320nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15321lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15322objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15323MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15324lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15325lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15326lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15327lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15328lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15329need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15330MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15331DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15332NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15333LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15334OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15335OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15336libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15337shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15338extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15339archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15340enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15341export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15342whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15343compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15344old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15345old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15346archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15347archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15348module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15349module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15350with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15351allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15352no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15353hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15354hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15355hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15356hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15357hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15358hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15359hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15360inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15361link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15362always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15363export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15364exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15365include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15366prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15367postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15368file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15369variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15370need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15371need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15372version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15373runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15374shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15375shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15376libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15377library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15378soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15379install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15380postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15381postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15382finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15383finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15384hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15385sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15386sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15387hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15388enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15389enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15390enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15391old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15392striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15393
15394LTCC='$LTCC'
15395LTCFLAGS='$LTCFLAGS'
15396compiler='$compiler_DEFAULT'
15397
15398# A function that is used when there is no print builtin or printf.
15399func_fallback_echo ()
15400{
15401  eval 'cat <<_LTECHO_EOF
15402\$1
15403_LTECHO_EOF'
15404}
15405
15406# Quote evaled strings.
15407for var in AS \
15408DLLTOOL \
15409OBJDUMP \
15410SHELL \
15411ECHO \
15412PATH_SEPARATOR \
15413SED \
15414GREP \
15415EGREP \
15416FGREP \
15417LD \
15418NM \
15419LN_S \
15420lt_SP2NL \
15421lt_NL2SP \
15422reload_flag \
15423deplibs_check_method \
15424file_magic_cmd \
15425file_magic_glob \
15426want_nocaseglob \
15427sharedlib_from_linklib_cmd \
15428AR \
15429AR_FLAGS \
15430archiver_list_spec \
15431STRIP \
15432RANLIB \
15433CC \
15434CFLAGS \
15435compiler \
15436lt_cv_sys_global_symbol_pipe \
15437lt_cv_sys_global_symbol_to_cdecl \
15438lt_cv_sys_global_symbol_to_c_name_address \
15439lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15440nm_file_list_spec \
15441lt_prog_compiler_no_builtin_flag \
15442lt_prog_compiler_pic \
15443lt_prog_compiler_wl \
15444lt_prog_compiler_static \
15445lt_cv_prog_compiler_c_o \
15446need_locks \
15447MANIFEST_TOOL \
15448DSYMUTIL \
15449NMEDIT \
15450LIPO \
15451OTOOL \
15452OTOOL64 \
15453shrext_cmds \
15454export_dynamic_flag_spec \
15455whole_archive_flag_spec \
15456compiler_needs_object \
15457with_gnu_ld \
15458allow_undefined_flag \
15459no_undefined_flag \
15460hardcode_libdir_flag_spec \
15461hardcode_libdir_separator \
15462exclude_expsyms \
15463include_expsyms \
15464file_list_spec \
15465variables_saved_for_relink \
15466libname_spec \
15467library_names_spec \
15468soname_spec \
15469install_override_mode \
15470finish_eval \
15471old_striplib \
15472striplib; do
15473    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15474    *[\\\\\\\`\\"\\\$]*)
15475      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15476      ;;
15477    *)
15478      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15479      ;;
15480    esac
15481done
15482
15483# Double-quote double-evaled strings.
15484for var in reload_cmds \
15485old_postinstall_cmds \
15486old_postuninstall_cmds \
15487old_archive_cmds \
15488extract_expsyms_cmds \
15489old_archive_from_new_cmds \
15490old_archive_from_expsyms_cmds \
15491archive_cmds \
15492archive_expsym_cmds \
15493module_cmds \
15494module_expsym_cmds \
15495export_symbols_cmds \
15496prelink_cmds \
15497postlink_cmds \
15498postinstall_cmds \
15499postuninstall_cmds \
15500finish_cmds \
15501sys_lib_search_path_spec \
15502sys_lib_dlsearch_path_spec; do
15503    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15504    *[\\\\\\\`\\"\\\$]*)
15505      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15506      ;;
15507    *)
15508      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15509      ;;
15510    esac
15511done
15512
15513ac_aux_dir='$ac_aux_dir'
15514xsi_shell='$xsi_shell'
15515lt_shell_append='$lt_shell_append'
15516
15517# See if we are running on zsh, and set the options which allow our
15518# commands through without removal of \ escapes INIT.
15519if test -n "\${ZSH_VERSION+set}" ; then
15520   setopt NO_GLOB_SUBST
15521fi
15522
15523
15524    PACKAGE='$PACKAGE'
15525    VERSION='$VERSION'
15526    TIMESTAMP='$TIMESTAMP'
15527    RM='$RM'
15528    ofile='$ofile'
15529
15530
15531
15532
15533_ACEOF
15534
15535cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15536
15537# Handling of arguments.
15538for ac_config_target in $ac_config_targets
15539do
15540  case $ac_config_target in
15541    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15542    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
15543    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15544    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15545    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15546    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15547    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15548    "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
15549    "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
15550    "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
15551    "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
15552    "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
15553    "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
15554    "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
15555    "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
15556    "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
15557    "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
15558    "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
15559    "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
15560    "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
15561    "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
15562    "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
15563    "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
15564    "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
15565    "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
15566    "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
15567    "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
15568    "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
15569    "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
15570    "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
15571    "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
15572    "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
15573    "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
15574
15575  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15576  esac
15577done
15578
15579
15580# If the user did not use the arguments to specify the items to instantiate,
15581# then the envvar interface is used.  Set only those that are not.
15582# We use the long form for the default assignment because of an extremely
15583# bizarre bug on SunOS 4.1.3.
15584if $ac_need_defaults; then
15585  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15586  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15587  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15588fi
15589
15590# Have a temporary directory for convenience.  Make it in the build tree
15591# simply because there is no reason against having it here, and in addition,
15592# creating and moving files from /tmp can sometimes cause problems.
15593# Hook for its removal unless debugging.
15594# Note that there is a small window in which the directory will not be cleaned:
15595# after its creation but before its name has been assigned to `$tmp'.
15596$debug ||
15597{
15598  tmp= ac_tmp=
15599  trap 'exit_status=$?
15600  : "${ac_tmp:=$tmp}"
15601  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15602' 0
15603  trap 'as_fn_exit 1' 1 2 13 15
15604}
15605# Create a (secure) tmp directory for tmp files.
15606
15607{
15608  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15609  test -d "$tmp"
15610}  ||
15611{
15612  tmp=./conf$$-$RANDOM
15613  (umask 077 && mkdir "$tmp")
15614} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15615ac_tmp=$tmp
15616
15617# Set up the scripts for CONFIG_FILES section.
15618# No need to generate them if there are no CONFIG_FILES.
15619# This happens for instance with `./config.status config.h'.
15620if test -n "$CONFIG_FILES"; then
15621
15622
15623ac_cr=`echo X | tr X '\015'`
15624# On cygwin, bash can eat \r inside `` if the user requested igncr.
15625# But we know of no other shell where ac_cr would be empty at this
15626# point, so we can use a bashism as a fallback.
15627if test "x$ac_cr" = x; then
15628  eval ac_cr=\$\'\\r\'
15629fi
15630ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15631if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15632  ac_cs_awk_cr='\\r'
15633else
15634  ac_cs_awk_cr=$ac_cr
15635fi
15636
15637echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15638_ACEOF
15639
15640
15641{
15642  echo "cat >conf$$subs.awk <<_ACEOF" &&
15643  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15644  echo "_ACEOF"
15645} >conf$$subs.sh ||
15646  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15647ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15648ac_delim='%!_!# '
15649for ac_last_try in false false false false false :; do
15650  . ./conf$$subs.sh ||
15651    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15652
15653  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15654  if test $ac_delim_n = $ac_delim_num; then
15655    break
15656  elif $ac_last_try; then
15657    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15658  else
15659    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15660  fi
15661done
15662rm -f conf$$subs.sh
15663
15664cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15665cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15666_ACEOF
15667sed -n '
15668h
15669s/^/S["/; s/!.*/"]=/
15670p
15671g
15672s/^[^!]*!//
15673:repl
15674t repl
15675s/'"$ac_delim"'$//
15676t delim
15677:nl
15678h
15679s/\(.\{148\}\)..*/\1/
15680t more1
15681s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15682p
15683n
15684b repl
15685:more1
15686s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15687p
15688g
15689s/.\{148\}//
15690t nl
15691:delim
15692h
15693s/\(.\{148\}\)..*/\1/
15694t more2
15695s/["\\]/\\&/g; s/^/"/; s/$/"/
15696p
15697b
15698:more2
15699s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15700p
15701g
15702s/.\{148\}//
15703t delim
15704' <conf$$subs.awk | sed '
15705/^[^""]/{
15706  N
15707  s/\n//
15708}
15709' >>$CONFIG_STATUS || ac_write_fail=1
15710rm -f conf$$subs.awk
15711cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15712_ACAWK
15713cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15714  for (key in S) S_is_set[key] = 1
15715  FS = ""
15716
15717}
15718{
15719  line = $ 0
15720  nfields = split(line, field, "@")
15721  substed = 0
15722  len = length(field[1])
15723  for (i = 2; i < nfields; i++) {
15724    key = field[i]
15725    keylen = length(key)
15726    if (S_is_set[key]) {
15727      value = S[key]
15728      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15729      len += length(value) + length(field[++i])
15730      substed = 1
15731    } else
15732      len += 1 + keylen
15733  }
15734
15735  print line
15736}
15737
15738_ACAWK
15739_ACEOF
15740cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15741if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15742  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15743else
15744  cat
15745fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15746  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15747_ACEOF
15748
15749# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15750# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15751# trailing colons and then remove the whole line if VPATH becomes empty
15752# (actually we leave an empty line to preserve line numbers).
15753if test "x$srcdir" = x.; then
15754  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15755h
15756s///
15757s/^/:/
15758s/[	 ]*$/:/
15759s/:\$(srcdir):/:/g
15760s/:\${srcdir}:/:/g
15761s/:@srcdir@:/:/g
15762s/^:*//
15763s/:*$//
15764x
15765s/\(=[	 ]*\).*/\1/
15766G
15767s/\n//
15768s/^[^=]*=[	 ]*$//
15769}'
15770fi
15771
15772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15773fi # test -n "$CONFIG_FILES"
15774
15775# Set up the scripts for CONFIG_HEADERS section.
15776# No need to generate them if there are no CONFIG_HEADERS.
15777# This happens for instance with `./config.status Makefile'.
15778if test -n "$CONFIG_HEADERS"; then
15779cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15780BEGIN {
15781_ACEOF
15782
15783# Transform confdefs.h into an awk script `defines.awk', embedded as
15784# here-document in config.status, that substitutes the proper values into
15785# config.h.in to produce config.h.
15786
15787# Create a delimiter string that does not exist in confdefs.h, to ease
15788# handling of long lines.
15789ac_delim='%!_!# '
15790for ac_last_try in false false :; do
15791  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15792  if test -z "$ac_tt"; then
15793    break
15794  elif $ac_last_try; then
15795    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15796  else
15797    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15798  fi
15799done
15800
15801# For the awk script, D is an array of macro values keyed by name,
15802# likewise P contains macro parameters if any.  Preserve backslash
15803# newline sequences.
15804
15805ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15806sed -n '
15807s/.\{148\}/&'"$ac_delim"'/g
15808t rset
15809:rset
15810s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15811t def
15812d
15813:def
15814s/\\$//
15815t bsnl
15816s/["\\]/\\&/g
15817s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15818D["\1"]=" \3"/p
15819s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15820d
15821:bsnl
15822s/["\\]/\\&/g
15823s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15824D["\1"]=" \3\\\\\\n"\\/p
15825t cont
15826s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15827t cont
15828d
15829:cont
15830n
15831s/.\{148\}/&'"$ac_delim"'/g
15832t clear
15833:clear
15834s/\\$//
15835t bsnlc
15836s/["\\]/\\&/g; s/^/"/; s/$/"/p
15837d
15838:bsnlc
15839s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15840b cont
15841' <confdefs.h | sed '
15842s/'"$ac_delim"'/"\\\
15843"/g' >>$CONFIG_STATUS || ac_write_fail=1
15844
15845cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15846  for (key in D) D_is_set[key] = 1
15847  FS = ""
15848}
15849/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15850  line = \$ 0
15851  split(line, arg, " ")
15852  if (arg[1] == "#") {
15853    defundef = arg[2]
15854    mac1 = arg[3]
15855  } else {
15856    defundef = substr(arg[1], 2)
15857    mac1 = arg[2]
15858  }
15859  split(mac1, mac2, "(") #)
15860  macro = mac2[1]
15861  prefix = substr(line, 1, index(line, defundef) - 1)
15862  if (D_is_set[macro]) {
15863    # Preserve the white space surrounding the "#".
15864    print prefix "define", macro P[macro] D[macro]
15865    next
15866  } else {
15867    # Replace #undef with comments.  This is necessary, for example,
15868    # in the case of _POSIX_SOURCE, which is predefined and required
15869    # on some systems where configure will not decide to define it.
15870    if (defundef == "undef") {
15871      print "/*", prefix defundef, macro, "*/"
15872      next
15873    }
15874  }
15875}
15876{ print }
15877_ACAWK
15878_ACEOF
15879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15880  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15881fi # test -n "$CONFIG_HEADERS"
15882
15883
15884eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15885shift
15886for ac_tag
15887do
15888  case $ac_tag in
15889  :[FHLC]) ac_mode=$ac_tag; continue;;
15890  esac
15891  case $ac_mode$ac_tag in
15892  :[FHL]*:*);;
15893  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15894  :[FH]-) ac_tag=-:-;;
15895  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15896  esac
15897  ac_save_IFS=$IFS
15898  IFS=:
15899  set x $ac_tag
15900  IFS=$ac_save_IFS
15901  shift
15902  ac_file=$1
15903  shift
15904
15905  case $ac_mode in
15906  :L) ac_source=$1;;
15907  :[FH])
15908    ac_file_inputs=
15909    for ac_f
15910    do
15911      case $ac_f in
15912      -) ac_f="$ac_tmp/stdin";;
15913      *) # Look for the file first in the build tree, then in the source tree
15914	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15915	 # because $ac_f cannot contain `:'.
15916	 test -f "$ac_f" ||
15917	   case $ac_f in
15918	   [\\/$]*) false;;
15919	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15920	   esac ||
15921	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15922      esac
15923      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15924      as_fn_append ac_file_inputs " '$ac_f'"
15925    done
15926
15927    # Let's still pretend it is `configure' which instantiates (i.e., don't
15928    # use $as_me), people would be surprised to read:
15929    #    /* config.h.  Generated by config.status.  */
15930    configure_input='Generated from '`
15931	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15932	`' by configure.'
15933    if test x"$ac_file" != x-; then
15934      configure_input="$ac_file.  $configure_input"
15935      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15936$as_echo "$as_me: creating $ac_file" >&6;}
15937    fi
15938    # Neutralize special characters interpreted by sed in replacement strings.
15939    case $configure_input in #(
15940    *\&* | *\|* | *\\* )
15941       ac_sed_conf_input=`$as_echo "$configure_input" |
15942       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15943    *) ac_sed_conf_input=$configure_input;;
15944    esac
15945
15946    case $ac_tag in
15947    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15948      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15949    esac
15950    ;;
15951  esac
15952
15953  ac_dir=`$as_dirname -- "$ac_file" ||
15954$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15955	 X"$ac_file" : 'X\(//\)[^/]' \| \
15956	 X"$ac_file" : 'X\(//\)$' \| \
15957	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15958$as_echo X"$ac_file" |
15959    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15960	    s//\1/
15961	    q
15962	  }
15963	  /^X\(\/\/\)[^/].*/{
15964	    s//\1/
15965	    q
15966	  }
15967	  /^X\(\/\/\)$/{
15968	    s//\1/
15969	    q
15970	  }
15971	  /^X\(\/\).*/{
15972	    s//\1/
15973	    q
15974	  }
15975	  s/.*/./; q'`
15976  as_dir="$ac_dir"; as_fn_mkdir_p
15977  ac_builddir=.
15978
15979case "$ac_dir" in
15980.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15981*)
15982  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15983  # A ".." for each directory in $ac_dir_suffix.
15984  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15985  case $ac_top_builddir_sub in
15986  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15987  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15988  esac ;;
15989esac
15990ac_abs_top_builddir=$ac_pwd
15991ac_abs_builddir=$ac_pwd$ac_dir_suffix
15992# for backward compatibility:
15993ac_top_builddir=$ac_top_build_prefix
15994
15995case $srcdir in
15996  .)  # We are building in place.
15997    ac_srcdir=.
15998    ac_top_srcdir=$ac_top_builddir_sub
15999    ac_abs_top_srcdir=$ac_pwd ;;
16000  [\\/]* | ?:[\\/]* )  # Absolute name.
16001    ac_srcdir=$srcdir$ac_dir_suffix;
16002    ac_top_srcdir=$srcdir
16003    ac_abs_top_srcdir=$srcdir ;;
16004  *) # Relative name.
16005    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16006    ac_top_srcdir=$ac_top_build_prefix$srcdir
16007    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16008esac
16009ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16010
16011
16012  case $ac_mode in
16013  :F)
16014  #
16015  # CONFIG_FILE
16016  #
16017
16018  case $INSTALL in
16019  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16020  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16021  esac
16022  ac_MKDIR_P=$MKDIR_P
16023  case $MKDIR_P in
16024  [\\/$]* | ?:[\\/]* ) ;;
16025  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16026  esac
16027_ACEOF
16028
16029cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16030# If the template does not know about datarootdir, expand it.
16031# FIXME: This hack should be removed a few years after 2.60.
16032ac_datarootdir_hack=; ac_datarootdir_seen=
16033ac_sed_dataroot='
16034/datarootdir/ {
16035  p
16036  q
16037}
16038/@datadir@/p
16039/@docdir@/p
16040/@infodir@/p
16041/@localedir@/p
16042/@mandir@/p'
16043case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16044*datarootdir*) ac_datarootdir_seen=yes;;
16045*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16046  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16047$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16048_ACEOF
16049cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16050  ac_datarootdir_hack='
16051  s&@datadir@&$datadir&g
16052  s&@docdir@&$docdir&g
16053  s&@infodir@&$infodir&g
16054  s&@localedir@&$localedir&g
16055  s&@mandir@&$mandir&g
16056  s&\\\${datarootdir}&$datarootdir&g' ;;
16057esac
16058_ACEOF
16059
16060# Neutralize VPATH when `$srcdir' = `.'.
16061# Shell code in configure.ac might set extrasub.
16062# FIXME: do we really want to maintain this feature?
16063cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16064ac_sed_extra="$ac_vpsub
16065$extrasub
16066_ACEOF
16067cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16068:t
16069/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16070s|@configure_input@|$ac_sed_conf_input|;t t
16071s&@top_builddir@&$ac_top_builddir_sub&;t t
16072s&@top_build_prefix@&$ac_top_build_prefix&;t t
16073s&@srcdir@&$ac_srcdir&;t t
16074s&@abs_srcdir@&$ac_abs_srcdir&;t t
16075s&@top_srcdir@&$ac_top_srcdir&;t t
16076s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16077s&@builddir@&$ac_builddir&;t t
16078s&@abs_builddir@&$ac_abs_builddir&;t t
16079s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16080s&@INSTALL@&$ac_INSTALL&;t t
16081s&@MKDIR_P@&$ac_MKDIR_P&;t t
16082$ac_datarootdir_hack
16083"
16084eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16085  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16086
16087test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16088  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16089  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16090      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16091  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16092which seems to be undefined.  Please make sure it is defined" >&5
16093$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16094which seems to be undefined.  Please make sure it is defined" >&2;}
16095
16096  rm -f "$ac_tmp/stdin"
16097  case $ac_file in
16098  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16099  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16100  esac \
16101  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16102 ;;
16103  :H)
16104  #
16105  # CONFIG_HEADER
16106  #
16107  if test x"$ac_file" != x-; then
16108    {
16109      $as_echo "/* $configure_input  */" \
16110      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16111    } >"$ac_tmp/config.h" \
16112      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16113    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16114      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16115$as_echo "$as_me: $ac_file is unchanged" >&6;}
16116    else
16117      rm -f "$ac_file"
16118      mv "$ac_tmp/config.h" "$ac_file" \
16119	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16120    fi
16121  else
16122    $as_echo "/* $configure_input  */" \
16123      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16124      || as_fn_error $? "could not create -" "$LINENO" 5
16125  fi
16126# Compute "$ac_file"'s index in $config_headers.
16127_am_arg="$ac_file"
16128_am_stamp_count=1
16129for _am_header in $config_headers :; do
16130  case $_am_header in
16131    $_am_arg | $_am_arg:* )
16132      break ;;
16133    * )
16134      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16135  esac
16136done
16137echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16138$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16139	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16140	 X"$_am_arg" : 'X\(//\)$' \| \
16141	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16142$as_echo X"$_am_arg" |
16143    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16144	    s//\1/
16145	    q
16146	  }
16147	  /^X\(\/\/\)[^/].*/{
16148	    s//\1/
16149	    q
16150	  }
16151	  /^X\(\/\/\)$/{
16152	    s//\1/
16153	    q
16154	  }
16155	  /^X\(\/\).*/{
16156	    s//\1/
16157	    q
16158	  }
16159	  s/.*/./; q'`/stamp-h$_am_stamp_count
16160 ;;
16161
16162  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16163$as_echo "$as_me: executing $ac_file commands" >&6;}
16164 ;;
16165  esac
16166
16167
16168  case $ac_file$ac_mode in
16169    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16170  # Autoconf 2.62 quotes --file arguments for eval, but not when files
16171  # are listed without --file.  Let's play safe and only enable the eval
16172  # if we detect the quoting.
16173  case $CONFIG_FILES in
16174  *\'*) eval set x "$CONFIG_FILES" ;;
16175  *)   set x $CONFIG_FILES ;;
16176  esac
16177  shift
16178  for mf
16179  do
16180    # Strip MF so we end up with the name of the file.
16181    mf=`echo "$mf" | sed -e 's/:.*$//'`
16182    # Check whether this is an Automake generated Makefile or not.
16183    # We used to match only the files named `Makefile.in', but
16184    # some people rename them; so instead we look at the file content.
16185    # Grep'ing the first line is not enough: some people post-process
16186    # each Makefile.in and add a new line on top of each file to say so.
16187    # Grep'ing the whole file is not good either: AIX grep has a line
16188    # limit of 2048, but all sed's we know have understand at least 4000.
16189    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16190      dirpart=`$as_dirname -- "$mf" ||
16191$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16192	 X"$mf" : 'X\(//\)[^/]' \| \
16193	 X"$mf" : 'X\(//\)$' \| \
16194	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16195$as_echo X"$mf" |
16196    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16197	    s//\1/
16198	    q
16199	  }
16200	  /^X\(\/\/\)[^/].*/{
16201	    s//\1/
16202	    q
16203	  }
16204	  /^X\(\/\/\)$/{
16205	    s//\1/
16206	    q
16207	  }
16208	  /^X\(\/\).*/{
16209	    s//\1/
16210	    q
16211	  }
16212	  s/.*/./; q'`
16213    else
16214      continue
16215    fi
16216    # Extract the definition of DEPDIR, am__include, and am__quote
16217    # from the Makefile without running `make'.
16218    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16219    test -z "$DEPDIR" && continue
16220    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16221    test -z "am__include" && continue
16222    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16223    # When using ansi2knr, U may be empty or an underscore; expand it
16224    U=`sed -n 's/^U = //p' < "$mf"`
16225    # Find all dependency output files, they are included files with
16226    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16227    # simplest approach to changing $(DEPDIR) to its actual value in the
16228    # expansion.
16229    for file in `sed -n "
16230      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16231	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16232      # Make sure the directory exists.
16233      test -f "$dirpart/$file" && continue
16234      fdir=`$as_dirname -- "$file" ||
16235$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16236	 X"$file" : 'X\(//\)[^/]' \| \
16237	 X"$file" : 'X\(//\)$' \| \
16238	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16239$as_echo X"$file" |
16240    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16241	    s//\1/
16242	    q
16243	  }
16244	  /^X\(\/\/\)[^/].*/{
16245	    s//\1/
16246	    q
16247	  }
16248	  /^X\(\/\/\)$/{
16249	    s//\1/
16250	    q
16251	  }
16252	  /^X\(\/\).*/{
16253	    s//\1/
16254	    q
16255	  }
16256	  s/.*/./; q'`
16257      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16258      # echo "creating $dirpart/$file"
16259      echo '# dummy' > "$dirpart/$file"
16260    done
16261  done
16262}
16263 ;;
16264    "libtool":C)
16265
16266    # See if we are running on zsh, and set the options which allow our
16267    # commands through without removal of \ escapes.
16268    if test -n "${ZSH_VERSION+set}" ; then
16269      setopt NO_GLOB_SUBST
16270    fi
16271
16272    cfgfile="${ofile}T"
16273    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16274    $RM "$cfgfile"
16275
16276    cat <<_LT_EOF >> "$cfgfile"
16277#! $SHELL
16278
16279# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16280# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16281# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16282# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16283#
16284#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16285#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16286#                 Foundation, Inc.
16287#   Written by Gordon Matzigkeit, 1996
16288#
16289#   This file is part of GNU Libtool.
16290#
16291# GNU Libtool is free software; you can redistribute it and/or
16292# modify it under the terms of the GNU General Public License as
16293# published by the Free Software Foundation; either version 2 of
16294# the License, or (at your option) any later version.
16295#
16296# As a special exception to the GNU General Public License,
16297# if you distribute this file as part of a program or library that
16298# is built using GNU Libtool, you may include this file under the
16299# same distribution terms that you use for the rest of that program.
16300#
16301# GNU Libtool is distributed in the hope that it will be useful,
16302# but WITHOUT ANY WARRANTY; without even the implied warranty of
16303# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16304# GNU General Public License for more details.
16305#
16306# You should have received a copy of the GNU General Public License
16307# along with GNU Libtool; see the file COPYING.  If not, a copy
16308# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16309# obtained by writing to the Free Software Foundation, Inc.,
16310# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16311
16312
16313# The names of the tagged configurations supported by this script.
16314available_tags=""
16315
16316# ### BEGIN LIBTOOL CONFIG
16317
16318# Assembler program.
16319AS=$lt_AS
16320
16321# DLL creation program.
16322DLLTOOL=$lt_DLLTOOL
16323
16324# Object dumper program.
16325OBJDUMP=$lt_OBJDUMP
16326
16327# Which release of libtool.m4 was used?
16328macro_version=$macro_version
16329macro_revision=$macro_revision
16330
16331# Whether or not to build shared libraries.
16332build_libtool_libs=$enable_shared
16333
16334# Whether or not to build static libraries.
16335build_old_libs=$enable_static
16336
16337# What type of objects to build.
16338pic_mode=$pic_mode
16339
16340# Whether or not to optimize for fast installation.
16341fast_install=$enable_fast_install
16342
16343# Shell to use when invoking shell scripts.
16344SHELL=$lt_SHELL
16345
16346# An echo program that protects backslashes.
16347ECHO=$lt_ECHO
16348
16349# The PATH separator for the build system.
16350PATH_SEPARATOR=$lt_PATH_SEPARATOR
16351
16352# The host system.
16353host_alias=$host_alias
16354host=$host
16355host_os=$host_os
16356
16357# The build system.
16358build_alias=$build_alias
16359build=$build
16360build_os=$build_os
16361
16362# A sed program that does not truncate output.
16363SED=$lt_SED
16364
16365# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16366Xsed="\$SED -e 1s/^X//"
16367
16368# A grep program that handles long lines.
16369GREP=$lt_GREP
16370
16371# An ERE matcher.
16372EGREP=$lt_EGREP
16373
16374# A literal string matcher.
16375FGREP=$lt_FGREP
16376
16377# A BSD- or MS-compatible name lister.
16378NM=$lt_NM
16379
16380# Whether we need soft or hard links.
16381LN_S=$lt_LN_S
16382
16383# What is the maximum length of a command?
16384max_cmd_len=$max_cmd_len
16385
16386# Object file suffix (normally "o").
16387objext=$ac_objext
16388
16389# Executable file suffix (normally "").
16390exeext=$exeext
16391
16392# whether the shell understands "unset".
16393lt_unset=$lt_unset
16394
16395# turn spaces into newlines.
16396SP2NL=$lt_lt_SP2NL
16397
16398# turn newlines into spaces.
16399NL2SP=$lt_lt_NL2SP
16400
16401# convert \$build file names to \$host format.
16402to_host_file_cmd=$lt_cv_to_host_file_cmd
16403
16404# convert \$build files to toolchain format.
16405to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16406
16407# Method to check whether dependent libraries are shared objects.
16408deplibs_check_method=$lt_deplibs_check_method
16409
16410# Command to use when deplibs_check_method = "file_magic".
16411file_magic_cmd=$lt_file_magic_cmd
16412
16413# How to find potential files when deplibs_check_method = "file_magic".
16414file_magic_glob=$lt_file_magic_glob
16415
16416# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16417want_nocaseglob=$lt_want_nocaseglob
16418
16419# Command to associate shared and link libraries.
16420sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16421
16422# The archiver.
16423AR=$lt_AR
16424
16425# Flags to create an archive.
16426AR_FLAGS=$lt_AR_FLAGS
16427
16428# How to feed a file listing to the archiver.
16429archiver_list_spec=$lt_archiver_list_spec
16430
16431# A symbol stripping program.
16432STRIP=$lt_STRIP
16433
16434# Commands used to install an old-style archive.
16435RANLIB=$lt_RANLIB
16436old_postinstall_cmds=$lt_old_postinstall_cmds
16437old_postuninstall_cmds=$lt_old_postuninstall_cmds
16438
16439# Whether to use a lock for old archive extraction.
16440lock_old_archive_extraction=$lock_old_archive_extraction
16441
16442# A C compiler.
16443LTCC=$lt_CC
16444
16445# LTCC compiler flags.
16446LTCFLAGS=$lt_CFLAGS
16447
16448# Take the output of nm and produce a listing of raw symbols and C names.
16449global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16450
16451# Transform the output of nm in a proper C declaration.
16452global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16453
16454# Transform the output of nm in a C name address pair.
16455global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16456
16457# Transform the output of nm in a C name address pair when lib prefix is needed.
16458global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16459
16460# Specify filename containing input files for \$NM.
16461nm_file_list_spec=$lt_nm_file_list_spec
16462
16463# The root where to search for dependent libraries,and in which our libraries should be installed.
16464lt_sysroot=$lt_sysroot
16465
16466# The name of the directory that contains temporary libtool files.
16467objdir=$objdir
16468
16469# Used to examine libraries when file_magic_cmd begins with "file".
16470MAGIC_CMD=$MAGIC_CMD
16471
16472# Must we lock files when doing compilation?
16473need_locks=$lt_need_locks
16474
16475# Manifest tool.
16476MANIFEST_TOOL=$lt_MANIFEST_TOOL
16477
16478# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16479DSYMUTIL=$lt_DSYMUTIL
16480
16481# Tool to change global to local symbols on Mac OS X.
16482NMEDIT=$lt_NMEDIT
16483
16484# Tool to manipulate fat objects and archives on Mac OS X.
16485LIPO=$lt_LIPO
16486
16487# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16488OTOOL=$lt_OTOOL
16489
16490# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16491OTOOL64=$lt_OTOOL64
16492
16493# Old archive suffix (normally "a").
16494libext=$libext
16495
16496# Shared library suffix (normally ".so").
16497shrext_cmds=$lt_shrext_cmds
16498
16499# The commands to extract the exported symbol list from a shared archive.
16500extract_expsyms_cmds=$lt_extract_expsyms_cmds
16501
16502# Variables whose values should be saved in libtool wrapper scripts and
16503# restored at link time.
16504variables_saved_for_relink=$lt_variables_saved_for_relink
16505
16506# Do we need the "lib" prefix for modules?
16507need_lib_prefix=$need_lib_prefix
16508
16509# Do we need a version for libraries?
16510need_version=$need_version
16511
16512# Library versioning type.
16513version_type=$version_type
16514
16515# Shared library runtime path variable.
16516runpath_var=$runpath_var
16517
16518# Shared library path variable.
16519shlibpath_var=$shlibpath_var
16520
16521# Is shlibpath searched before the hard-coded library search path?
16522shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16523
16524# Format of library name prefix.
16525libname_spec=$lt_libname_spec
16526
16527# List of archive names.  First name is the real one, the rest are links.
16528# The last name is the one that the linker finds with -lNAME
16529library_names_spec=$lt_library_names_spec
16530
16531# The coded name of the library, if different from the real name.
16532soname_spec=$lt_soname_spec
16533
16534# Permission mode override for installation of shared libraries.
16535install_override_mode=$lt_install_override_mode
16536
16537# Command to use after installation of a shared archive.
16538postinstall_cmds=$lt_postinstall_cmds
16539
16540# Command to use after uninstallation of a shared archive.
16541postuninstall_cmds=$lt_postuninstall_cmds
16542
16543# Commands used to finish a libtool library installation in a directory.
16544finish_cmds=$lt_finish_cmds
16545
16546# As "finish_cmds", except a single script fragment to be evaled but
16547# not shown.
16548finish_eval=$lt_finish_eval
16549
16550# Whether we should hardcode library paths into libraries.
16551hardcode_into_libs=$hardcode_into_libs
16552
16553# Compile-time system search path for libraries.
16554sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16555
16556# Run-time system search path for libraries.
16557sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16558
16559# Whether dlopen is supported.
16560dlopen_support=$enable_dlopen
16561
16562# Whether dlopen of programs is supported.
16563dlopen_self=$enable_dlopen_self
16564
16565# Whether dlopen of statically linked programs is supported.
16566dlopen_self_static=$enable_dlopen_self_static
16567
16568# Commands to strip libraries.
16569old_striplib=$lt_old_striplib
16570striplib=$lt_striplib
16571
16572
16573# The linker used to build libraries.
16574LD=$lt_LD
16575
16576# How to create reloadable object files.
16577reload_flag=$lt_reload_flag
16578reload_cmds=$lt_reload_cmds
16579
16580# Commands used to build an old-style archive.
16581old_archive_cmds=$lt_old_archive_cmds
16582
16583# A language specific compiler.
16584CC=$lt_compiler
16585
16586# Is the compiler the GNU compiler?
16587with_gcc=$GCC
16588
16589# Compiler flag to turn off builtin functions.
16590no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16591
16592# Additional compiler flags for building library objects.
16593pic_flag=$lt_lt_prog_compiler_pic
16594
16595# How to pass a linker flag through the compiler.
16596wl=$lt_lt_prog_compiler_wl
16597
16598# Compiler flag to prevent dynamic linking.
16599link_static_flag=$lt_lt_prog_compiler_static
16600
16601# Does compiler simultaneously support -c and -o options?
16602compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16603
16604# Whether or not to add -lc for building shared libraries.
16605build_libtool_need_lc=$archive_cmds_need_lc
16606
16607# Whether or not to disallow shared libs when runtime libs are static.
16608allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16609
16610# Compiler flag to allow reflexive dlopens.
16611export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16612
16613# Compiler flag to generate shared objects directly from archives.
16614whole_archive_flag_spec=$lt_whole_archive_flag_spec
16615
16616# Whether the compiler copes with passing no objects directly.
16617compiler_needs_object=$lt_compiler_needs_object
16618
16619# Create an old-style archive from a shared archive.
16620old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16621
16622# Create a temporary old-style archive to link instead of a shared archive.
16623old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16624
16625# Commands used to build a shared archive.
16626archive_cmds=$lt_archive_cmds
16627archive_expsym_cmds=$lt_archive_expsym_cmds
16628
16629# Commands used to build a loadable module if different from building
16630# a shared archive.
16631module_cmds=$lt_module_cmds
16632module_expsym_cmds=$lt_module_expsym_cmds
16633
16634# Whether we are building with GNU ld or not.
16635with_gnu_ld=$lt_with_gnu_ld
16636
16637# Flag that allows shared libraries with undefined symbols to be built.
16638allow_undefined_flag=$lt_allow_undefined_flag
16639
16640# Flag that enforces no undefined symbols.
16641no_undefined_flag=$lt_no_undefined_flag
16642
16643# Flag to hardcode \$libdir into a binary during linking.
16644# This must work even if \$libdir does not exist
16645hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16646
16647# Whether we need a single "-rpath" flag with a separated argument.
16648hardcode_libdir_separator=$lt_hardcode_libdir_separator
16649
16650# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16651# DIR into the resulting binary.
16652hardcode_direct=$hardcode_direct
16653
16654# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16655# DIR into the resulting binary and the resulting library dependency is
16656# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16657# library is relocated.
16658hardcode_direct_absolute=$hardcode_direct_absolute
16659
16660# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16661# into the resulting binary.
16662hardcode_minus_L=$hardcode_minus_L
16663
16664# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16665# into the resulting binary.
16666hardcode_shlibpath_var=$hardcode_shlibpath_var
16667
16668# Set to "yes" if building a shared library automatically hardcodes DIR
16669# into the library and all subsequent libraries and executables linked
16670# against it.
16671hardcode_automatic=$hardcode_automatic
16672
16673# Set to yes if linker adds runtime paths of dependent libraries
16674# to runtime path list.
16675inherit_rpath=$inherit_rpath
16676
16677# Whether libtool must link a program against all its dependency libraries.
16678link_all_deplibs=$link_all_deplibs
16679
16680# Set to "yes" if exported symbols are required.
16681always_export_symbols=$always_export_symbols
16682
16683# The commands to list exported symbols.
16684export_symbols_cmds=$lt_export_symbols_cmds
16685
16686# Symbols that should not be listed in the preloaded symbols.
16687exclude_expsyms=$lt_exclude_expsyms
16688
16689# Symbols that must always be exported.
16690include_expsyms=$lt_include_expsyms
16691
16692# Commands necessary for linking programs (against libraries) with templates.
16693prelink_cmds=$lt_prelink_cmds
16694
16695# Commands necessary for finishing linking programs.
16696postlink_cmds=$lt_postlink_cmds
16697
16698# Specify filename containing input files.
16699file_list_spec=$lt_file_list_spec
16700
16701# How to hardcode a shared library path into an executable.
16702hardcode_action=$hardcode_action
16703
16704# ### END LIBTOOL CONFIG
16705
16706_LT_EOF
16707
16708  case $host_os in
16709  aix3*)
16710    cat <<\_LT_EOF >> "$cfgfile"
16711# AIX sometimes has problems with the GCC collect2 program.  For some
16712# reason, if we set the COLLECT_NAMES environment variable, the problems
16713# vanish in a puff of smoke.
16714if test "X${COLLECT_NAMES+set}" != Xset; then
16715  COLLECT_NAMES=
16716  export COLLECT_NAMES
16717fi
16718_LT_EOF
16719    ;;
16720  esac
16721
16722
16723ltmain="$ac_aux_dir/ltmain.sh"
16724
16725
16726  # We use sed instead of cat because bash on DJGPP gets confused if
16727  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16728  # text mode, it properly converts lines to CR/LF.  This bash problem
16729  # is reportedly fixed, but why not run on old versions too?
16730  sed '$q' "$ltmain" >> "$cfgfile" \
16731     || (rm -f "$cfgfile"; exit 1)
16732
16733  if test x"$xsi_shell" = xyes; then
16734  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16735func_dirname ()\
16736{\
16737\    case ${1} in\
16738\      */*) func_dirname_result="${1%/*}${2}" ;;\
16739\      *  ) func_dirname_result="${3}" ;;\
16740\    esac\
16741} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16742  && mv -f "$cfgfile.tmp" "$cfgfile" \
16743    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16744test 0 -eq $? || _lt_function_replace_fail=:
16745
16746
16747  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16748func_basename ()\
16749{\
16750\    func_basename_result="${1##*/}"\
16751} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16752  && mv -f "$cfgfile.tmp" "$cfgfile" \
16753    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16754test 0 -eq $? || _lt_function_replace_fail=:
16755
16756
16757  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16758func_dirname_and_basename ()\
16759{\
16760\    case ${1} in\
16761\      */*) func_dirname_result="${1%/*}${2}" ;;\
16762\      *  ) func_dirname_result="${3}" ;;\
16763\    esac\
16764\    func_basename_result="${1##*/}"\
16765} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16766  && mv -f "$cfgfile.tmp" "$cfgfile" \
16767    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16768test 0 -eq $? || _lt_function_replace_fail=:
16769
16770
16771  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16772func_stripname ()\
16773{\
16774\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16775\    # positional parameters, so assign one to ordinary parameter first.\
16776\    func_stripname_result=${3}\
16777\    func_stripname_result=${func_stripname_result#"${1}"}\
16778\    func_stripname_result=${func_stripname_result%"${2}"}\
16779} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16780  && mv -f "$cfgfile.tmp" "$cfgfile" \
16781    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16782test 0 -eq $? || _lt_function_replace_fail=:
16783
16784
16785  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16786func_split_long_opt ()\
16787{\
16788\    func_split_long_opt_name=${1%%=*}\
16789\    func_split_long_opt_arg=${1#*=}\
16790} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16791  && mv -f "$cfgfile.tmp" "$cfgfile" \
16792    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16793test 0 -eq $? || _lt_function_replace_fail=:
16794
16795
16796  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16797func_split_short_opt ()\
16798{\
16799\    func_split_short_opt_arg=${1#??}\
16800\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16801} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16802  && mv -f "$cfgfile.tmp" "$cfgfile" \
16803    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16804test 0 -eq $? || _lt_function_replace_fail=:
16805
16806
16807  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16808func_lo2o ()\
16809{\
16810\    case ${1} in\
16811\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16812\      *)    func_lo2o_result=${1} ;;\
16813\    esac\
16814} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16815  && mv -f "$cfgfile.tmp" "$cfgfile" \
16816    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16817test 0 -eq $? || _lt_function_replace_fail=:
16818
16819
16820  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16821func_xform ()\
16822{\
16823    func_xform_result=${1%.*}.lo\
16824} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16825  && mv -f "$cfgfile.tmp" "$cfgfile" \
16826    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16827test 0 -eq $? || _lt_function_replace_fail=:
16828
16829
16830  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16831func_arith ()\
16832{\
16833    func_arith_result=$(( $* ))\
16834} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16835  && mv -f "$cfgfile.tmp" "$cfgfile" \
16836    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16837test 0 -eq $? || _lt_function_replace_fail=:
16838
16839
16840  sed -e '/^func_len ()$/,/^} # func_len /c\
16841func_len ()\
16842{\
16843    func_len_result=${#1}\
16844} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16845  && mv -f "$cfgfile.tmp" "$cfgfile" \
16846    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16847test 0 -eq $? || _lt_function_replace_fail=:
16848
16849fi
16850
16851if test x"$lt_shell_append" = xyes; then
16852  sed -e '/^func_append ()$/,/^} # func_append /c\
16853func_append ()\
16854{\
16855    eval "${1}+=\\${2}"\
16856} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16857  && mv -f "$cfgfile.tmp" "$cfgfile" \
16858    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16859test 0 -eq $? || _lt_function_replace_fail=:
16860
16861
16862  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16863func_append_quoted ()\
16864{\
16865\    func_quote_for_eval "${2}"\
16866\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16867} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16868  && mv -f "$cfgfile.tmp" "$cfgfile" \
16869    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16870test 0 -eq $? || _lt_function_replace_fail=:
16871
16872
16873  # Save a `func_append' function call where possible by direct use of '+='
16874  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16875    && mv -f "$cfgfile.tmp" "$cfgfile" \
16876      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16877  test 0 -eq $? || _lt_function_replace_fail=:
16878else
16879  # Save a `func_append' function call even when '+=' is not available
16880  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16881    && mv -f "$cfgfile.tmp" "$cfgfile" \
16882      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16883  test 0 -eq $? || _lt_function_replace_fail=:
16884fi
16885
16886if test x"$_lt_function_replace_fail" = x":"; then
16887  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16888$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16889fi
16890
16891
16892   mv -f "$cfgfile" "$ofile" ||
16893    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16894  chmod +x "$ofile"
16895
16896 ;;
16897
16898  esac
16899done # for ac_tag
16900
16901
16902as_fn_exit 0
16903_ACEOF
16904ac_clean_files=$ac_clean_files_save
16905
16906test $ac_write_fail = 0 ||
16907  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16908
16909
16910# configure is writing to config.log, and then calls config.status.
16911# config.status does its own redirection, appending to config.log.
16912# Unfortunately, on DOS this fails, as config.log is still kept open
16913# by configure, so config.status won't be able to write to it; its
16914# output is simply discarded.  So we exec the FD to /dev/null,
16915# effectively closing config.log, so it can be properly (re)opened and
16916# appended to by config.status.  When coming back to configure, we
16917# need to make the FD available again.
16918if test "$no_create" != yes; then
16919  ac_cs_success=:
16920  ac_config_status_args=
16921  test "$silent" = yes &&
16922    ac_config_status_args="$ac_config_status_args --quiet"
16923  exec 5>/dev/null
16924  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16925  exec 5>>config.log
16926  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16927  # would make configure fail if this is the last instruction.
16928  $ac_cs_success || as_fn_exit 1
16929fi
16930if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16931  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16932$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16933fi
16934
16935
16936
16937echo ""
16938echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
16939echo ""
16940echo "  Configuration"
16941echo "    XDM support.........: ${have_xdmcp}"
16942echo "    Build unit tests....: ${HAVE_CHECK}"
16943echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
16944echo ""
16945echo "  X11 extensions"
16946echo "    Composite...........: ${BUILD_COMPOSITE}"
16947echo "    Damage..............: ${BUILD_DAMAGE}"
16948echo "    Dpms................: ${BUILD_DPMS}"
16949echo "    Dri2................: ${BUILD_DRI2}"
16950echo "    Glx.................: ${BUILD_GLX}"
16951echo "    Randr...............: ${BUILD_RANDR}"
16952echo "    Record..............: ${BUILD_RECORD}"
16953echo "    Render..............: ${BUILD_RENDER}"
16954echo "    Resource............: ${BUILD_RESOURCE}"
16955echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
16956echo "    selinux.............: ${BUILD_SELINUX}"
16957echo "    Shape...............: ${BUILD_SHAPE}"
16958echo "    Shm.................: ${BUILD_SHM}"
16959echo "    Sync................: ${BUILD_SYNC}"
16960echo "    Xevie...............: ${BUILD_XEVIE}"
16961echo "    Xfixes..............: ${BUILD_XFIXES}"
16962echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
16963echo "    xinerama............: ${BUILD_XINERAMA}"
16964echo "    xinput..............: ${BUILD_XINPUT}"
16965echo "    xkb.................: ${BUILD_XKB}"
16966echo "    xprint..............: ${BUILD_XPRINT}"
16967echo "    xtest...............: ${BUILD_XTEST}"
16968echo "    xv..................: ${BUILD_XV}"
16969echo "    xvmc................: ${BUILD_XVMC}"
16970echo ""
16971echo "  Used CFLAGS:"
16972echo "    CPPFLAGS............: ${CPPFLAGS}"
16973echo "    CFLAGS..............: ${CFLAGS}"
16974echo "    Warning CFLAGS......: ${CWARNFLAGS}"
16975echo ""
16976echo "  Installation:"
16977echo "    Prefix..............: ${prefix}"
16978echo ""
16979