Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libxcb 1.10.
      4 #
      5 # Report bugs to <xcb (at] 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
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     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
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    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.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    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.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export 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.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $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
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if 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
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -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
    201 test \$(( 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
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    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
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    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
    244 fi; }
    245 IFS=$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.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $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
    267 exit 255
    268 fi
    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 (at] gnu.org and
    278 $0: xcb (at] 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
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_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.
    316 as_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.
    326 as_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.
    374 as_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.
    384 if (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   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # 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.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # 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.
    419 as_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 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_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.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_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 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `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';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (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
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_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.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 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.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='libxcb'
    592 PACKAGE_TARNAME='libxcb'
    593 PACKAGE_VERSION='1.10'
    594 PACKAGE_STRING='libxcb 1.10'
    595 PACKAGE_BUGREPORT='xcb (at] lists.freedesktop.org'
    596 PACKAGE_URL=''
    597 
    598 ac_unique_file="xcb.pc.in"
    599 # Factoring default headers for most tests.
    600 ac_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 
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 LIBOBJS
    639 LAUNCHD
    640 BUILD_XVMC_FALSE
    641 BUILD_XVMC_TRUE
    642 BUILD_XV_FALSE
    643 BUILD_XV_TRUE
    644 BUILD_XTEST_FALSE
    645 BUILD_XTEST_TRUE
    646 BUILD_SELINUX_FALSE
    647 BUILD_SELINUX_TRUE
    648 BUILD_XPRINT_FALSE
    649 BUILD_XPRINT_TRUE
    650 BUILD_XKB_FALSE
    651 BUILD_XKB_TRUE
    652 BUILD_XINPUT_FALSE
    653 BUILD_XINPUT_TRUE
    654 BUILD_XINERAMA_FALSE
    655 BUILD_XINERAMA_TRUE
    656 BUILD_XFREE86_DRI_FALSE
    657 BUILD_XFREE86_DRI_TRUE
    658 BUILD_XFIXES_FALSE
    659 BUILD_XFIXES_TRUE
    660 BUILD_XEVIE_FALSE
    661 BUILD_XEVIE_TRUE
    662 BUILD_SYNC_FALSE
    663 BUILD_SYNC_TRUE
    664 BUILD_SHM_FALSE
    665 BUILD_SHM_TRUE
    666 BUILD_SHAPE_FALSE
    667 BUILD_SHAPE_TRUE
    668 BUILD_SCREENSAVER_FALSE
    669 BUILD_SCREENSAVER_TRUE
    670 BUILD_RESOURCE_FALSE
    671 BUILD_RESOURCE_TRUE
    672 BUILD_RENDER_FALSE
    673 BUILD_RENDER_TRUE
    674 BUILD_RECORD_FALSE
    675 BUILD_RECORD_TRUE
    676 BUILD_RANDR_FALSE
    677 BUILD_RANDR_TRUE
    678 BUILD_PRESENT_FALSE
    679 BUILD_PRESENT_TRUE
    680 BUILD_GLX_FALSE
    681 BUILD_GLX_TRUE
    682 BUILD_DRI3_FALSE
    683 BUILD_DRI3_TRUE
    684 BUILD_DRI2_FALSE
    685 BUILD_DRI2_TRUE
    686 BUILD_DPMS_FALSE
    687 BUILD_DPMS_TRUE
    688 BUILD_DAMAGE_FALSE
    689 BUILD_DAMAGE_TRUE
    690 BUILD_COMPOSITE_FALSE
    691 BUILD_COMPOSITE_TRUE
    692 BUILD_DOCS_FALSE
    693 BUILD_DOCS_TRUE
    694 DOXYGEN
    695 DOT
    696 BUILD_DOCS
    697 CWARNFLAGS
    698 xcbincludedir
    699 XCB_HAVE_WIN32_FALSE
    700 XCB_HAVE_WIN32_TRUE
    701 lt_enable_auto_import
    702 XCBPROTO_XCBPYTHONDIR
    703 XCBPROTO_VERSION
    704 XCBPROTO_XCBINCLUDEDIR
    705 NEEDED
    706 XDMCP_LIBS
    707 XDMCP_CFLAGS
    708 NEEDED_LIBS
    709 NEEDED_CFLAGS
    710 XCBPROTO_LIBS
    711 XCBPROTO_CFLAGS
    712 HTML_CHECK_RESULT
    713 XSLTPROC
    714 OTOOL64
    715 OTOOL
    716 LIPO
    717 NMEDIT
    718 DSYMUTIL
    719 MANIFEST_TOOL
    720 RANLIB
    721 ac_ct_AR
    722 AR
    723 LN_S
    724 NM
    725 ac_ct_DUMPBIN
    726 DUMPBIN
    727 LD
    728 FGREP
    729 SED
    730 LIBTOOL
    731 OBJDUMP
    732 DLLTOOL
    733 AS
    734 host_os
    735 host_vendor
    736 host_cpu
    737 host
    738 build_os
    739 build_vendor
    740 build_cpu
    741 build
    742 HAVE_CHECK_FALSE
    743 HAVE_CHECK_TRUE
    744 CHECK_LIBS
    745 CHECK_CFLAGS
    746 PKG_CONFIG_LIBDIR
    747 PKG_CONFIG_PATH
    748 PKG_CONFIG
    749 pkgpyexecdir
    750 pyexecdir
    751 pkgpythondir
    752 pythondir
    753 PYTHON_PLATFORM
    754 PYTHON_EXEC_PREFIX
    755 PYTHON_PREFIX
    756 PYTHON_VERSION
    757 PYTHON
    758 EGREP
    759 GREP
    760 CPP
    761 am__fastdepCC_FALSE
    762 am__fastdepCC_TRUE
    763 CCDEPMODE
    764 am__nodep
    765 AMDEPBACKSLASH
    766 AMDEP_FALSE
    767 AMDEP_TRUE
    768 am__quote
    769 am__include
    770 DEPDIR
    771 OBJEXT
    772 EXEEXT
    773 ac_ct_CC
    774 CPPFLAGS
    775 LDFLAGS
    776 CFLAGS
    777 CC
    778 AM_BACKSLASH
    779 AM_DEFAULT_VERBOSITY
    780 AM_DEFAULT_V
    781 AM_V
    782 am__untar
    783 am__tar
    784 AMTAR
    785 am__leading_dot
    786 SET_MAKE
    787 AWK
    788 mkdir_p
    789 MKDIR_P
    790 INSTALL_STRIP_PROGRAM
    791 STRIP
    792 install_sh
    793 MAKEINFO
    794 AUTOHEADER
    795 AUTOMAKE
    796 AUTOCONF
    797 ACLOCAL
    798 VERSION
    799 PACKAGE
    800 CYGPATH_W
    801 am__isrc
    802 INSTALL_DATA
    803 INSTALL_SCRIPT
    804 INSTALL_PROGRAM
    805 target_alias
    806 host_alias
    807 build_alias
    808 LIBS
    809 ECHO_T
    810 ECHO_N
    811 ECHO_C
    812 DEFS
    813 mandir
    814 localedir
    815 libdir
    816 psdir
    817 pdfdir
    818 dvidir
    819 htmldir
    820 infodir
    821 docdir
    822 oldincludedir
    823 includedir
    824 localstatedir
    825 sharedstatedir
    826 sysconfdir
    827 datadir
    828 datarootdir
    829 libexecdir
    830 sbindir
    831 bindir
    832 program_transform_name
    833 prefix
    834 exec_prefix
    835 PACKAGE_URL
    836 PACKAGE_BUGREPORT
    837 PACKAGE_STRING
    838 PACKAGE_VERSION
    839 PACKAGE_TARNAME
    840 PACKAGE_NAME
    841 PATH_SEPARATOR
    842 SHELL'
    843 ac_subst_files=''
    844 ac_user_opts='
    845 enable_option_checking
    846 enable_silent_rules
    847 enable_dependency_tracking
    848 enable_shared
    849 enable_static
    850 with_pic
    851 enable_fast_install
    852 with_gnu_ld
    853 with_sysroot
    854 enable_libtool_lock
    855 enable_sendfds
    856 with_queue_size
    857 enable_build_docs
    858 with_doxygen
    859 enable_composite
    860 enable_damage
    861 enable_dpms
    862 enable_dri2
    863 enable_dri3
    864 enable_glx
    865 enable_present
    866 enable_randr
    867 enable_record
    868 enable_render
    869 enable_resource
    870 enable_screensaver
    871 enable_shape
    872 enable_shm
    873 enable_sync
    874 enable_xevie
    875 enable_xfixes
    876 enable_xfree86_dri
    877 enable_xinerama
    878 enable_xinput
    879 enable_xkb
    880 enable_xprint
    881 enable_selinux
    882 enable_xtest
    883 enable_xv
    884 enable_xvmc
    885 with_launchd
    886 '
    887       ac_precious_vars='build_alias
    888 host_alias
    889 target_alias
    890 CC
    891 CFLAGS
    892 LDFLAGS
    893 LIBS
    894 CPPFLAGS
    895 CPP
    896 PYTHON
    897 PKG_CONFIG
    898 PKG_CONFIG_PATH
    899 PKG_CONFIG_LIBDIR
    900 CHECK_CFLAGS
    901 CHECK_LIBS
    902 XCBPROTO_CFLAGS
    903 XCBPROTO_LIBS
    904 NEEDED_CFLAGS
    905 NEEDED_LIBS
    906 XDMCP_CFLAGS
    907 XDMCP_LIBS'
    908 
    909 
    910 # Initialize some variables set by options.
    911 ac_init_help=
    912 ac_init_version=false
    913 ac_unrecognized_opts=
    914 ac_unrecognized_sep=
    915 # The variables have the same names as the options, with
    916 # dashes changed to underlines.
    917 cache_file=/dev/null
    918 exec_prefix=NONE
    919 no_create=
    920 no_recursion=
    921 prefix=NONE
    922 program_prefix=NONE
    923 program_suffix=NONE
    924 program_transform_name=s,x,x,
    925 silent=
    926 site=
    927 srcdir=
    928 verbose=
    929 x_includes=NONE
    930 x_libraries=NONE
    931 
    932 # Installation directory options.
    933 # These are left unexpanded so users can "make install exec_prefix=/foo"
    934 # and all the variables that are supposed to be based on exec_prefix
    935 # by default will actually change.
    936 # Use braces instead of parens because sh, perl, etc. also accept them.
    937 # (The list follows the same order as the GNU Coding Standards.)
    938 bindir='${exec_prefix}/bin'
    939 sbindir='${exec_prefix}/sbin'
    940 libexecdir='${exec_prefix}/libexec'
    941 datarootdir='${prefix}/share'
    942 datadir='${datarootdir}'
    943 sysconfdir='${prefix}/etc'
    944 sharedstatedir='${prefix}/com'
    945 localstatedir='${prefix}/var'
    946 includedir='${prefix}/include'
    947 oldincludedir='/usr/include'
    948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    949 infodir='${datarootdir}/info'
    950 htmldir='${docdir}'
    951 dvidir='${docdir}'
    952 pdfdir='${docdir}'
    953 psdir='${docdir}'
    954 libdir='${exec_prefix}/lib'
    955 localedir='${datarootdir}/locale'
    956 mandir='${datarootdir}/man'
    957 
    958 ac_prev=
    959 ac_dashdash=
    960 for ac_option
    961 do
    962   # If the previous option needs an argument, assign it.
    963   if test -n "$ac_prev"; then
    964     eval $ac_prev=\$ac_option
    965     ac_prev=
    966     continue
    967   fi
    968 
    969   case $ac_option in
    970   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    971   *=)   ac_optarg= ;;
    972   *)    ac_optarg=yes ;;
    973   esac
    974 
    975   # Accept the important Cygnus configure options, so we can diagnose typos.
    976 
    977   case $ac_dashdash$ac_option in
    978   --)
    979     ac_dashdash=yes ;;
    980 
    981   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    982     ac_prev=bindir ;;
    983   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    984     bindir=$ac_optarg ;;
    985 
    986   -build | --build | --buil | --bui | --bu)
    987     ac_prev=build_alias ;;
    988   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    989     build_alias=$ac_optarg ;;
    990 
    991   -cache-file | --cache-file | --cache-fil | --cache-fi \
    992   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    993     ac_prev=cache_file ;;
    994   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    995   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    996     cache_file=$ac_optarg ;;
    997 
    998   --config-cache | -C)
    999     cache_file=config.cache ;;
   1000 
   1001   -datadir | --datadir | --datadi | --datad)
   1002     ac_prev=datadir ;;
   1003   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1004     datadir=$ac_optarg ;;
   1005 
   1006   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1007   | --dataroo | --dataro | --datar)
   1008     ac_prev=datarootdir ;;
   1009   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1010   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1011     datarootdir=$ac_optarg ;;
   1012 
   1013   -disable-* | --disable-*)
   1014     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1015     # Reject names that are not valid shell variable names.
   1016     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1017       as_fn_error $? "invalid feature name: $ac_useropt"
   1018     ac_useropt_orig=$ac_useropt
   1019     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1020     case $ac_user_opts in
   1021       *"
   1022 "enable_$ac_useropt"
   1023 "*) ;;
   1024       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1025 	 ac_unrecognized_sep=', ';;
   1026     esac
   1027     eval enable_$ac_useropt=no ;;
   1028 
   1029   -docdir | --docdir | --docdi | --doc | --do)
   1030     ac_prev=docdir ;;
   1031   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1032     docdir=$ac_optarg ;;
   1033 
   1034   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1035     ac_prev=dvidir ;;
   1036   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1037     dvidir=$ac_optarg ;;
   1038 
   1039   -enable-* | --enable-*)
   1040     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1041     # Reject names that are not valid shell variable names.
   1042     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1043       as_fn_error $? "invalid feature name: $ac_useropt"
   1044     ac_useropt_orig=$ac_useropt
   1045     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1046     case $ac_user_opts in
   1047       *"
   1048 "enable_$ac_useropt"
   1049 "*) ;;
   1050       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1051 	 ac_unrecognized_sep=', ';;
   1052     esac
   1053     eval enable_$ac_useropt=\$ac_optarg ;;
   1054 
   1055   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1056   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1057   | --exec | --exe | --ex)
   1058     ac_prev=exec_prefix ;;
   1059   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1060   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1061   | --exec=* | --exe=* | --ex=*)
   1062     exec_prefix=$ac_optarg ;;
   1063 
   1064   -gas | --gas | --ga | --g)
   1065     # Obsolete; use --with-gas.
   1066     with_gas=yes ;;
   1067 
   1068   -help | --help | --hel | --he | -h)
   1069     ac_init_help=long ;;
   1070   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1071     ac_init_help=recursive ;;
   1072   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1073     ac_init_help=short ;;
   1074 
   1075   -host | --host | --hos | --ho)
   1076     ac_prev=host_alias ;;
   1077   -host=* | --host=* | --hos=* | --ho=*)
   1078     host_alias=$ac_optarg ;;
   1079 
   1080   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1081     ac_prev=htmldir ;;
   1082   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1083   | --ht=*)
   1084     htmldir=$ac_optarg ;;
   1085 
   1086   -includedir | --includedir | --includedi | --included | --include \
   1087   | --includ | --inclu | --incl | --inc)
   1088     ac_prev=includedir ;;
   1089   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1090   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1091     includedir=$ac_optarg ;;
   1092 
   1093   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1094     ac_prev=infodir ;;
   1095   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1096     infodir=$ac_optarg ;;
   1097 
   1098   -libdir | --libdir | --libdi | --libd)
   1099     ac_prev=libdir ;;
   1100   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1101     libdir=$ac_optarg ;;
   1102 
   1103   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1104   | --libexe | --libex | --libe)
   1105     ac_prev=libexecdir ;;
   1106   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1107   | --libexe=* | --libex=* | --libe=*)
   1108     libexecdir=$ac_optarg ;;
   1109 
   1110   -localedir | --localedir | --localedi | --localed | --locale)
   1111     ac_prev=localedir ;;
   1112   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1113     localedir=$ac_optarg ;;
   1114 
   1115   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1116   | --localstate | --localstat | --localsta | --localst | --locals)
   1117     ac_prev=localstatedir ;;
   1118   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1119   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1120     localstatedir=$ac_optarg ;;
   1121 
   1122   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1123     ac_prev=mandir ;;
   1124   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1125     mandir=$ac_optarg ;;
   1126 
   1127   -nfp | --nfp | --nf)
   1128     # Obsolete; use --without-fp.
   1129     with_fp=no ;;
   1130 
   1131   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1132   | --no-cr | --no-c | -n)
   1133     no_create=yes ;;
   1134 
   1135   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1136   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1137     no_recursion=yes ;;
   1138 
   1139   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1140   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1141   | --oldin | --oldi | --old | --ol | --o)
   1142     ac_prev=oldincludedir ;;
   1143   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1144   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1145   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1146     oldincludedir=$ac_optarg ;;
   1147 
   1148   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1149     ac_prev=prefix ;;
   1150   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1151     prefix=$ac_optarg ;;
   1152 
   1153   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1154   | --program-pre | --program-pr | --program-p)
   1155     ac_prev=program_prefix ;;
   1156   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1157   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1158     program_prefix=$ac_optarg ;;
   1159 
   1160   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1161   | --program-suf | --program-su | --program-s)
   1162     ac_prev=program_suffix ;;
   1163   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1164   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1165     program_suffix=$ac_optarg ;;
   1166 
   1167   -program-transform-name | --program-transform-name \
   1168   | --program-transform-nam | --program-transform-na \
   1169   | --program-transform-n | --program-transform- \
   1170   | --program-transform | --program-transfor \
   1171   | --program-transfo | --program-transf \
   1172   | --program-trans | --program-tran \
   1173   | --progr-tra | --program-tr | --program-t)
   1174     ac_prev=program_transform_name ;;
   1175   -program-transform-name=* | --program-transform-name=* \
   1176   | --program-transform-nam=* | --program-transform-na=* \
   1177   | --program-transform-n=* | --program-transform-=* \
   1178   | --program-transform=* | --program-transfor=* \
   1179   | --program-transfo=* | --program-transf=* \
   1180   | --program-trans=* | --program-tran=* \
   1181   | --progr-tra=* | --program-tr=* | --program-t=*)
   1182     program_transform_name=$ac_optarg ;;
   1183 
   1184   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1185     ac_prev=pdfdir ;;
   1186   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1187     pdfdir=$ac_optarg ;;
   1188 
   1189   -psdir | --psdir | --psdi | --psd | --ps)
   1190     ac_prev=psdir ;;
   1191   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1192     psdir=$ac_optarg ;;
   1193 
   1194   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1195   | -silent | --silent | --silen | --sile | --sil)
   1196     silent=yes ;;
   1197 
   1198   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1199     ac_prev=sbindir ;;
   1200   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1201   | --sbi=* | --sb=*)
   1202     sbindir=$ac_optarg ;;
   1203 
   1204   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1205   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1206   | --sharedst | --shareds | --shared | --share | --shar \
   1207   | --sha | --sh)
   1208     ac_prev=sharedstatedir ;;
   1209   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1210   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1211   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1212   | --sha=* | --sh=*)
   1213     sharedstatedir=$ac_optarg ;;
   1214 
   1215   -site | --site | --sit)
   1216     ac_prev=site ;;
   1217   -site=* | --site=* | --sit=*)
   1218     site=$ac_optarg ;;
   1219 
   1220   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1221     ac_prev=srcdir ;;
   1222   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1223     srcdir=$ac_optarg ;;
   1224 
   1225   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1226   | --syscon | --sysco | --sysc | --sys | --sy)
   1227     ac_prev=sysconfdir ;;
   1228   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1229   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1230     sysconfdir=$ac_optarg ;;
   1231 
   1232   -target | --target | --targe | --targ | --tar | --ta | --t)
   1233     ac_prev=target_alias ;;
   1234   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1235     target_alias=$ac_optarg ;;
   1236 
   1237   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1238     verbose=yes ;;
   1239 
   1240   -version | --version | --versio | --versi | --vers | -V)
   1241     ac_init_version=: ;;
   1242 
   1243   -with-* | --with-*)
   1244     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1245     # Reject names that are not valid shell variable names.
   1246     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1247       as_fn_error $? "invalid package name: $ac_useropt"
   1248     ac_useropt_orig=$ac_useropt
   1249     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1250     case $ac_user_opts in
   1251       *"
   1252 "with_$ac_useropt"
   1253 "*) ;;
   1254       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1255 	 ac_unrecognized_sep=', ';;
   1256     esac
   1257     eval with_$ac_useropt=\$ac_optarg ;;
   1258 
   1259   -without-* | --without-*)
   1260     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1261     # Reject names that are not valid shell variable names.
   1262     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1263       as_fn_error $? "invalid package name: $ac_useropt"
   1264     ac_useropt_orig=$ac_useropt
   1265     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1266     case $ac_user_opts in
   1267       *"
   1268 "with_$ac_useropt"
   1269 "*) ;;
   1270       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1271 	 ac_unrecognized_sep=', ';;
   1272     esac
   1273     eval with_$ac_useropt=no ;;
   1274 
   1275   --x)
   1276     # Obsolete; use --with-x.
   1277     with_x=yes ;;
   1278 
   1279   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1280   | --x-incl | --x-inc | --x-in | --x-i)
   1281     ac_prev=x_includes ;;
   1282   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1283   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1284     x_includes=$ac_optarg ;;
   1285 
   1286   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1287   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1288     ac_prev=x_libraries ;;
   1289   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1290   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1291     x_libraries=$ac_optarg ;;
   1292 
   1293   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1294 Try \`$0 --help' for more information"
   1295     ;;
   1296 
   1297   *=*)
   1298     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1299     # Reject names that are not valid shell variable names.
   1300     case $ac_envvar in #(
   1301       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1302       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1303     esac
   1304     eval $ac_envvar=\$ac_optarg
   1305     export $ac_envvar ;;
   1306 
   1307   *)
   1308     # FIXME: should be removed in autoconf 3.0.
   1309     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1310     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1311       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1312     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1313     ;;
   1314 
   1315   esac
   1316 done
   1317 
   1318 if test -n "$ac_prev"; then
   1319   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1320   as_fn_error $? "missing argument to $ac_option"
   1321 fi
   1322 
   1323 if test -n "$ac_unrecognized_opts"; then
   1324   case $enable_option_checking in
   1325     no) ;;
   1326     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1327     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1328   esac
   1329 fi
   1330 
   1331 # Check all directory arguments for consistency.
   1332 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1333 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1334 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1335 		libdir localedir mandir
   1336 do
   1337   eval ac_val=\$$ac_var
   1338   # Remove trailing slashes.
   1339   case $ac_val in
   1340     */ )
   1341       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1342       eval $ac_var=\$ac_val;;
   1343   esac
   1344   # Be sure to have absolute directory names.
   1345   case $ac_val in
   1346     [\\/$]* | ?:[\\/]* )  continue;;
   1347     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1348   esac
   1349   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1350 done
   1351 
   1352 # There might be people who depend on the old broken behavior: `$host'
   1353 # used to hold the argument of --host etc.
   1354 # FIXME: To remove some day.
   1355 build=$build_alias
   1356 host=$host_alias
   1357 target=$target_alias
   1358 
   1359 # FIXME: To remove some day.
   1360 if test "x$host_alias" != x; then
   1361   if test "x$build_alias" = x; then
   1362     cross_compiling=maybe
   1363   elif test "x$build_alias" != "x$host_alias"; then
   1364     cross_compiling=yes
   1365   fi
   1366 fi
   1367 
   1368 ac_tool_prefix=
   1369 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1370 
   1371 test "$silent" = yes && exec 6>/dev/null
   1372 
   1373 
   1374 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1375 ac_ls_di=`ls -di .` &&
   1376 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1377   as_fn_error $? "working directory cannot be determined"
   1378 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1379   as_fn_error $? "pwd does not report name of working directory"
   1380 
   1381 
   1382 # Find the source files, if location was not specified.
   1383 if test -z "$srcdir"; then
   1384   ac_srcdir_defaulted=yes
   1385   # Try the directory containing this script, then the parent directory.
   1386   ac_confdir=`$as_dirname -- "$as_myself" ||
   1387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1388 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1389 	 X"$as_myself" : 'X\(//\)$' \| \
   1390 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1391 $as_echo X"$as_myself" |
   1392     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1393 	    s//\1/
   1394 	    q
   1395 	  }
   1396 	  /^X\(\/\/\)[^/].*/{
   1397 	    s//\1/
   1398 	    q
   1399 	  }
   1400 	  /^X\(\/\/\)$/{
   1401 	    s//\1/
   1402 	    q
   1403 	  }
   1404 	  /^X\(\/\).*/{
   1405 	    s//\1/
   1406 	    q
   1407 	  }
   1408 	  s/.*/./; q'`
   1409   srcdir=$ac_confdir
   1410   if test ! -r "$srcdir/$ac_unique_file"; then
   1411     srcdir=..
   1412   fi
   1413 else
   1414   ac_srcdir_defaulted=no
   1415 fi
   1416 if test ! -r "$srcdir/$ac_unique_file"; then
   1417   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1418   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1419 fi
   1420 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1421 ac_abs_confdir=`(
   1422 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1423 	pwd)`
   1424 # When building in place, set srcdir=.
   1425 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1426   srcdir=.
   1427 fi
   1428 # Remove unnecessary trailing slashes from srcdir.
   1429 # Double slashes in file names in object file debugging info
   1430 # mess up M-x gdb in Emacs.
   1431 case $srcdir in
   1432 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1433 esac
   1434 for ac_var in $ac_precious_vars; do
   1435   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1436   eval ac_env_${ac_var}_value=\$${ac_var}
   1437   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1438   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1439 done
   1440 
   1441 #
   1442 # Report the --help message.
   1443 #
   1444 if test "$ac_init_help" = "long"; then
   1445   # Omit some internal or obsolete options to make the list less imposing.
   1446   # This message is too long to be a string in the A/UX 3.1 sh.
   1447   cat <<_ACEOF
   1448 \`configure' configures libxcb 1.10 to adapt to many kinds of systems.
   1449 
   1450 Usage: $0 [OPTION]... [VAR=VALUE]...
   1451 
   1452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1453 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1454 
   1455 Defaults for the options are specified in brackets.
   1456 
   1457 Configuration:
   1458   -h, --help              display this help and exit
   1459       --help=short        display options specific to this package
   1460       --help=recursive    display the short help of all the included packages
   1461   -V, --version           display version information and exit
   1462   -q, --quiet, --silent   do not print \`checking ...' messages
   1463       --cache-file=FILE   cache test results in FILE [disabled]
   1464   -C, --config-cache      alias for \`--cache-file=config.cache'
   1465   -n, --no-create         do not create output files
   1466       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1467 
   1468 Installation directories:
   1469   --prefix=PREFIX         install architecture-independent files in PREFIX
   1470                           [$ac_default_prefix]
   1471   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1472                           [PREFIX]
   1473 
   1474 By default, \`make install' will install all the files in
   1475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1477 for instance \`--prefix=\$HOME'.
   1478 
   1479 For better control, use the options below.
   1480 
   1481 Fine tuning of the installation directories:
   1482   --bindir=DIR            user executables [EPREFIX/bin]
   1483   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1484   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1485   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1486   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1487   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1488   --libdir=DIR            object code libraries [EPREFIX/lib]
   1489   --includedir=DIR        C header files [PREFIX/include]
   1490   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1491   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1492   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1493   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1494   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1495   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1496   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxcb]
   1497   --htmldir=DIR           html documentation [DOCDIR]
   1498   --dvidir=DIR            dvi documentation [DOCDIR]
   1499   --pdfdir=DIR            pdf documentation [DOCDIR]
   1500   --psdir=DIR             ps documentation [DOCDIR]
   1501 _ACEOF
   1502 
   1503   cat <<\_ACEOF
   1504 
   1505 Program names:
   1506   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1507   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1508   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1509 
   1510 System types:
   1511   --build=BUILD     configure for building on BUILD [guessed]
   1512   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1513 _ACEOF
   1514 fi
   1515 
   1516 if test -n "$ac_init_help"; then
   1517   case $ac_init_help in
   1518      short | recursive ) echo "Configuration of libxcb 1.10:";;
   1519    esac
   1520   cat <<\_ACEOF
   1521 
   1522 Optional Features:
   1523   --disable-option-checking  ignore unrecognized --enable/--with options
   1524   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1525   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1526   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1527   --disable-silent-rules  verbose build output (undo: "make V=0")
   1528   --enable-dependency-tracking
   1529                           do not reject slow dependency extractors
   1530   --disable-dependency-tracking
   1531                           speeds up one-time build
   1532   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1533   --enable-static[=PKGS]  build static libraries [default=yes]
   1534   --enable-fast-install[=PKGS]
   1535                           optimize for fast installation [default=yes]
   1536   --disable-libtool-lock  avoid locking (might break parallel builds)
   1537   --disable-sendfds       Support FD passing (default: auto)
   1538   --disable-build-docs    Disable the build of the documentation
   1539   --enable-composite      Build XCB Composite Extension (default: "yes")
   1540   --enable-damage         Build XCB Damage Extension (default: "yes")
   1541   --enable-dpms           Build XCB DPMS Extension (default: "yes")
   1542   --enable-dri2           Build XCB DRI2 Extension (default: "yes")
   1543   --enable-dri3           Build XCB DRI3 Extension (default: "$sendfds")
   1544   --enable-glx            Build XCB GLX Extension (default: "yes")
   1545   --enable-present        Build XCB Present Extension (default: "yes")
   1546   --enable-randr          Build XCB RandR Extension (default: "yes")
   1547   --enable-record         Build XCB Record Extension (default: "yes")
   1548   --enable-render         Build XCB Render Extension (default: "yes")
   1549   --enable-resource       Build XCB Resource Extension (default: "yes")
   1550   --enable-screensaver    Build XCB Screensaver Extension (default: "yes")
   1551   --enable-shape          Build XCB Shape Extension (default: "yes")
   1552   --enable-shm            Build XCB Shm Extension (default: "yes")
   1553   --enable-sync           Build XCB Sync Extension (default: "yes")
   1554   --enable-xevie          Build XCB Xevie Extension (default: "yes")
   1555   --enable-xfixes         Build XCB XFixes Extension (default: "yes")
   1556   --enable-xfree86-dri    Build XCB XFree86-DRI Extension (default: "yes")
   1557   --enable-xinerama       Build XCB Xinerama Extension (default: "yes")
   1558   --enable-xinput         Build XCB XInput Extension (default: "no")
   1559   --enable-xkb            Build XCB XKB Extension (default: "yes")
   1560   --enable-xprint         Build XCB Xprint Extension (default: "yes")
   1561   --enable-selinux        Build XCB SELinux Extension (default: "no")
   1562   --enable-xtest          Build XCB XTest Extension (default: "yes")
   1563   --enable-xv             Build XCB Xv Extension (default: "yes")
   1564   --enable-xvmc           Build XCB XvMC Extension (default: "yes")
   1565 
   1566 Optional Packages:
   1567   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1568   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1569   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1570                           both]
   1571   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1572   --with-sysroot=DIR Search for dependent libraries within DIR
   1573                         (or the compiler's sysroot if not specified).
   1574   --with-queue-size=SIZE  Set the XCB buffer queue size (default is 16384)
   1575   --with-doxygen=FILE     doxygen program to use (eg /usr/bin/doxygen)
   1576   --with-launchd          Build with support for Apple's launchd (default:
   1577                           auto)
   1578 
   1579 Some influential environment variables:
   1580   CC          C compiler command
   1581   CFLAGS      C compiler flags
   1582   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1583               nonstandard directory <lib dir>
   1584   LIBS        libraries to pass to the linker, e.g. -l<library>
   1585   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1586               you have headers in a nonstandard directory <include dir>
   1587   CPP         C preprocessor
   1588   PYTHON      the Python interpreter
   1589   PKG_CONFIG  path to pkg-config utility
   1590   PKG_CONFIG_PATH
   1591               directories to add to pkg-config's search path
   1592   PKG_CONFIG_LIBDIR
   1593               path overriding pkg-config's built-in search path
   1594   CHECK_CFLAGS
   1595               C compiler flags for CHECK, overriding pkg-config
   1596   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
   1597   XCBPROTO_CFLAGS
   1598               C compiler flags for XCBPROTO, overriding pkg-config
   1599   XCBPROTO_LIBS
   1600               linker flags for XCBPROTO, overriding pkg-config
   1601   NEEDED_CFLAGS
   1602               C compiler flags for NEEDED, overriding pkg-config
   1603   NEEDED_LIBS linker flags for NEEDED, overriding pkg-config
   1604   XDMCP_CFLAGS
   1605               C compiler flags for XDMCP, overriding pkg-config
   1606   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1607 
   1608 Use these variables to override the choices made by `configure' or to help
   1609 it to find libraries and programs with nonstandard names/locations.
   1610 
   1611 Report bugs to <xcb@lists.freedesktop.org>.
   1612 _ACEOF
   1613 ac_status=$?
   1614 fi
   1615 
   1616 if test "$ac_init_help" = "recursive"; then
   1617   # If there are subdirs, report their specific --help.
   1618   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1619     test -d "$ac_dir" ||
   1620       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1621       continue
   1622     ac_builddir=.
   1623 
   1624 case "$ac_dir" in
   1625 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1626 *)
   1627   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1628   # A ".." for each directory in $ac_dir_suffix.
   1629   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1630   case $ac_top_builddir_sub in
   1631   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1632   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1633   esac ;;
   1634 esac
   1635 ac_abs_top_builddir=$ac_pwd
   1636 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1637 # for backward compatibility:
   1638 ac_top_builddir=$ac_top_build_prefix
   1639 
   1640 case $srcdir in
   1641   .)  # We are building in place.
   1642     ac_srcdir=.
   1643     ac_top_srcdir=$ac_top_builddir_sub
   1644     ac_abs_top_srcdir=$ac_pwd ;;
   1645   [\\/]* | ?:[\\/]* )  # Absolute name.
   1646     ac_srcdir=$srcdir$ac_dir_suffix;
   1647     ac_top_srcdir=$srcdir
   1648     ac_abs_top_srcdir=$srcdir ;;
   1649   *) # Relative name.
   1650     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1651     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1652     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1653 esac
   1654 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1655 
   1656     cd "$ac_dir" || { ac_status=$?; continue; }
   1657     # Check for guested configure.
   1658     if test -f "$ac_srcdir/configure.gnu"; then
   1659       echo &&
   1660       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1661     elif test -f "$ac_srcdir/configure"; then
   1662       echo &&
   1663       $SHELL "$ac_srcdir/configure" --help=recursive
   1664     else
   1665       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1666     fi || ac_status=$?
   1667     cd "$ac_pwd" || { ac_status=$?; break; }
   1668   done
   1669 fi
   1670 
   1671 test -n "$ac_init_help" && exit $ac_status
   1672 if $ac_init_version; then
   1673   cat <<\_ACEOF
   1674 libxcb configure 1.10
   1675 generated by GNU Autoconf 2.69
   1676 
   1677 Copyright (C) 2012 Free Software Foundation, Inc.
   1678 This configure script is free software; the Free Software Foundation
   1679 gives unlimited permission to copy, distribute and modify it.
   1680 _ACEOF
   1681   exit
   1682 fi
   1683 
   1684 ## ------------------------ ##
   1685 ## Autoconf initialization. ##
   1686 ## ------------------------ ##
   1687 
   1688 # ac_fn_c_try_compile LINENO
   1689 # --------------------------
   1690 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1691 ac_fn_c_try_compile ()
   1692 {
   1693   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1694   rm -f conftest.$ac_objext
   1695   if { { ac_try="$ac_compile"
   1696 case "(($ac_try" in
   1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1698   *) ac_try_echo=$ac_try;;
   1699 esac
   1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1701 $as_echo "$ac_try_echo"; } >&5
   1702   (eval "$ac_compile") 2>conftest.err
   1703   ac_status=$?
   1704   if test -s conftest.err; then
   1705     grep -v '^ *+' conftest.err >conftest.er1
   1706     cat conftest.er1 >&5
   1707     mv -f conftest.er1 conftest.err
   1708   fi
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; } && {
   1711 	 test -z "$ac_c_werror_flag" ||
   1712 	 test ! -s conftest.err
   1713        } && test -s conftest.$ac_objext; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719 	ac_retval=1
   1720 fi
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722   as_fn_set_status $ac_retval
   1723 
   1724 } # ac_fn_c_try_compile
   1725 
   1726 # ac_fn_c_try_cpp LINENO
   1727 # ----------------------
   1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1729 ac_fn_c_try_cpp ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 $as_echo "$ac_try_echo"; } >&5
   1739   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1740   ac_status=$?
   1741   if test -s conftest.err; then
   1742     grep -v '^ *+' conftest.err >conftest.er1
   1743     cat conftest.er1 >&5
   1744     mv -f conftest.er1 conftest.err
   1745   fi
   1746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1747   test $ac_status = 0; } > conftest.i && {
   1748 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1749 	 test ! -s conftest.err
   1750        }; then :
   1751   ac_retval=0
   1752 else
   1753   $as_echo "$as_me: failed program was:" >&5
   1754 sed 's/^/| /' conftest.$ac_ext >&5
   1755 
   1756     ac_retval=1
   1757 fi
   1758   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1759   as_fn_set_status $ac_retval
   1760 
   1761 } # ac_fn_c_try_cpp
   1762 
   1763 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1764 # -------------------------------------------------------
   1765 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1766 # the include files in INCLUDES and setting the cache variable VAR
   1767 # accordingly.
   1768 ac_fn_c_check_header_mongrel ()
   1769 {
   1770   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1771   if eval \${$3+:} false; then :
   1772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1773 $as_echo_n "checking for $2... " >&6; }
   1774 if eval \${$3+:} false; then :
   1775   $as_echo_n "(cached) " >&6
   1776 fi
   1777 eval ac_res=\$$3
   1778 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1779 $as_echo "$ac_res" >&6; }
   1780 else
   1781   # Is the header compilable?
   1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1783 $as_echo_n "checking $2 usability... " >&6; }
   1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1785 /* end confdefs.h.  */
   1786 $4
   1787 #include <$2>
   1788 _ACEOF
   1789 if ac_fn_c_try_compile "$LINENO"; then :
   1790   ac_header_compiler=yes
   1791 else
   1792   ac_header_compiler=no
   1793 fi
   1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1796 $as_echo "$ac_header_compiler" >&6; }
   1797 
   1798 # Is the header present?
   1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1800 $as_echo_n "checking $2 presence... " >&6; }
   1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1802 /* end confdefs.h.  */
   1803 #include <$2>
   1804 _ACEOF
   1805 if ac_fn_c_try_cpp "$LINENO"; then :
   1806   ac_header_preproc=yes
   1807 else
   1808   ac_header_preproc=no
   1809 fi
   1810 rm -f conftest.err conftest.i conftest.$ac_ext
   1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1812 $as_echo "$ac_header_preproc" >&6; }
   1813 
   1814 # So?  What about this header?
   1815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1816   yes:no: )
   1817     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1818 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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     ;;
   1822   no:yes:* )
   1823     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1824 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1825     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1826 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1827     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1828 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1829     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1830 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1831     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1833 ( $as_echo "## ---------------------------------------- ##
   1834 ## Report this to xcb (at] lists.freedesktop.org ##
   1835 ## ---------------------------------------- ##"
   1836      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1837     ;;
   1838 esac
   1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1840 $as_echo_n "checking for $2... " >&6; }
   1841 if eval \${$3+:} false; then :
   1842   $as_echo_n "(cached) " >&6
   1843 else
   1844   eval "$3=\$ac_header_compiler"
   1845 fi
   1846 eval ac_res=\$$3
   1847 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1848 $as_echo "$ac_res" >&6; }
   1849 fi
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851 
   1852 } # ac_fn_c_check_header_mongrel
   1853 
   1854 # ac_fn_c_try_run LINENO
   1855 # ----------------------
   1856 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1857 # that executables *can* be run.
   1858 ac_fn_c_try_run ()
   1859 {
   1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1861   if { { ac_try="$ac_link"
   1862 case "(($ac_try" in
   1863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1864   *) ac_try_echo=$ac_try;;
   1865 esac
   1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1867 $as_echo "$ac_try_echo"; } >&5
   1868   (eval "$ac_link") 2>&5
   1869   ac_status=$?
   1870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1871   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1872   { { case "(($ac_try" in
   1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1874   *) ac_try_echo=$ac_try;;
   1875 esac
   1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1877 $as_echo "$ac_try_echo"; } >&5
   1878   (eval "$ac_try") 2>&5
   1879   ac_status=$?
   1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1881   test $ac_status = 0; }; }; then :
   1882   ac_retval=0
   1883 else
   1884   $as_echo "$as_me: program exited with status $ac_status" >&5
   1885        $as_echo "$as_me: failed program was:" >&5
   1886 sed 's/^/| /' conftest.$ac_ext >&5
   1887 
   1888        ac_retval=$ac_status
   1889 fi
   1890   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1892   as_fn_set_status $ac_retval
   1893 
   1894 } # ac_fn_c_try_run
   1895 
   1896 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1897 # -------------------------------------------------------
   1898 # Tests whether HEADER exists and can be compiled using the include files in
   1899 # INCLUDES, setting the cache variable VAR accordingly.
   1900 ac_fn_c_check_header_compile ()
   1901 {
   1902   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1904 $as_echo_n "checking for $2... " >&6; }
   1905 if eval \${$3+:} false; then :
   1906   $as_echo_n "(cached) " >&6
   1907 else
   1908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1909 /* end confdefs.h.  */
   1910 $4
   1911 #include <$2>
   1912 _ACEOF
   1913 if ac_fn_c_try_compile "$LINENO"; then :
   1914   eval "$3=yes"
   1915 else
   1916   eval "$3=no"
   1917 fi
   1918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1919 fi
   1920 eval ac_res=\$$3
   1921 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1922 $as_echo "$ac_res" >&6; }
   1923   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1924 
   1925 } # ac_fn_c_check_header_compile
   1926 
   1927 # ac_fn_c_try_link LINENO
   1928 # -----------------------
   1929 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1930 ac_fn_c_try_link ()
   1931 {
   1932   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1933   rm -f conftest.$ac_objext conftest$ac_exeext
   1934   if { { ac_try="$ac_link"
   1935 case "(($ac_try" in
   1936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1937   *) ac_try_echo=$ac_try;;
   1938 esac
   1939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1940 $as_echo "$ac_try_echo"; } >&5
   1941   (eval "$ac_link") 2>conftest.err
   1942   ac_status=$?
   1943   if test -s conftest.err; then
   1944     grep -v '^ *+' conftest.err >conftest.er1
   1945     cat conftest.er1 >&5
   1946     mv -f conftest.er1 conftest.err
   1947   fi
   1948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1949   test $ac_status = 0; } && {
   1950 	 test -z "$ac_c_werror_flag" ||
   1951 	 test ! -s conftest.err
   1952        } && test -s conftest$ac_exeext && {
   1953 	 test "$cross_compiling" = yes ||
   1954 	 test -x conftest$ac_exeext
   1955        }; then :
   1956   ac_retval=0
   1957 else
   1958   $as_echo "$as_me: failed program was:" >&5
   1959 sed 's/^/| /' conftest.$ac_ext >&5
   1960 
   1961 	ac_retval=1
   1962 fi
   1963   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1964   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1965   # interfere with the next link command; also delete a directory that is
   1966   # left behind by Apple's compiler.  We do this before executing the actions.
   1967   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1968   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1969   as_fn_set_status $ac_retval
   1970 
   1971 } # ac_fn_c_try_link
   1972 
   1973 # ac_fn_c_check_func LINENO FUNC VAR
   1974 # ----------------------------------
   1975 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1976 ac_fn_c_check_func ()
   1977 {
   1978   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1980 $as_echo_n "checking for $2... " >&6; }
   1981 if eval \${$3+:} false; then :
   1982   $as_echo_n "(cached) " >&6
   1983 else
   1984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1985 /* end confdefs.h.  */
   1986 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1988 #define $2 innocuous_$2
   1989 
   1990 /* System header to define __stub macros and hopefully few prototypes,
   1991     which can conflict with char $2 (); below.
   1992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1993     <limits.h> exists even on freestanding compilers.  */
   1994 
   1995 #ifdef __STDC__
   1996 # include <limits.h>
   1997 #else
   1998 # include <assert.h>
   1999 #endif
   2000 
   2001 #undef $2
   2002 
   2003 /* Override any GCC internal prototype to avoid an error.
   2004    Use char because int might match the return type of a GCC
   2005    builtin and then its argument prototype would still apply.  */
   2006 #ifdef __cplusplus
   2007 extern "C"
   2008 #endif
   2009 char $2 ();
   2010 /* The GNU C library defines this for functions which it implements
   2011     to always fail with ENOSYS.  Some functions are actually named
   2012     something starting with __ and the normal name is an alias.  */
   2013 #if defined __stub_$2 || defined __stub___$2
   2014 choke me
   2015 #endif
   2016 
   2017 int
   2018 main ()
   2019 {
   2020 return $2 ();
   2021   ;
   2022   return 0;
   2023 }
   2024 _ACEOF
   2025 if ac_fn_c_try_link "$LINENO"; then :
   2026   eval "$3=yes"
   2027 else
   2028   eval "$3=no"
   2029 fi
   2030 rm -f core conftest.err conftest.$ac_objext \
   2031     conftest$ac_exeext conftest.$ac_ext
   2032 fi
   2033 eval ac_res=\$$3
   2034 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2035 $as_echo "$ac_res" >&6; }
   2036   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2037 
   2038 } # ac_fn_c_check_func
   2039 
   2040 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2041 # ----------------------------------------------------
   2042 # Tries to find if the field MEMBER exists in type AGGR, after including
   2043 # INCLUDES, setting cache variable VAR accordingly.
   2044 ac_fn_c_check_member ()
   2045 {
   2046   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2048 $as_echo_n "checking for $2.$3... " >&6; }
   2049 if eval \${$4+:} false; then :
   2050   $as_echo_n "(cached) " >&6
   2051 else
   2052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2053 /* end confdefs.h.  */
   2054 $5
   2055 int
   2056 main ()
   2057 {
   2058 static $2 ac_aggr;
   2059 if (ac_aggr.$3)
   2060 return 0;
   2061   ;
   2062   return 0;
   2063 }
   2064 _ACEOF
   2065 if ac_fn_c_try_compile "$LINENO"; then :
   2066   eval "$4=yes"
   2067 else
   2068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2069 /* end confdefs.h.  */
   2070 $5
   2071 int
   2072 main ()
   2073 {
   2074 static $2 ac_aggr;
   2075 if (sizeof ac_aggr.$3)
   2076 return 0;
   2077   ;
   2078   return 0;
   2079 }
   2080 _ACEOF
   2081 if ac_fn_c_try_compile "$LINENO"; then :
   2082   eval "$4=yes"
   2083 else
   2084   eval "$4=no"
   2085 fi
   2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2087 fi
   2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2089 fi
   2090 eval ac_res=\$$4
   2091 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2092 $as_echo "$ac_res" >&6; }
   2093   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2094 
   2095 } # ac_fn_c_check_member
   2096 
   2097 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2098 # ---------------------------------------------
   2099 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2100 # accordingly.
   2101 ac_fn_c_check_decl ()
   2102 {
   2103   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2104   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2105   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2107 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2108 if eval \${$3+:} false; then :
   2109   $as_echo_n "(cached) " >&6
   2110 else
   2111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2112 /* end confdefs.h.  */
   2113 $4
   2114 int
   2115 main ()
   2116 {
   2117 #ifndef $as_decl_name
   2118 #ifdef __cplusplus
   2119   (void) $as_decl_use;
   2120 #else
   2121   (void) $as_decl_name;
   2122 #endif
   2123 #endif
   2124 
   2125   ;
   2126   return 0;
   2127 }
   2128 _ACEOF
   2129 if ac_fn_c_try_compile "$LINENO"; then :
   2130   eval "$3=yes"
   2131 else
   2132   eval "$3=no"
   2133 fi
   2134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2135 fi
   2136 eval ac_res=\$$3
   2137 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2138 $as_echo "$ac_res" >&6; }
   2139   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2140 
   2141 } # ac_fn_c_check_decl
   2142 cat >config.log <<_ACEOF
   2143 This file contains any messages produced by compilers while
   2144 running configure, to aid debugging if configure makes a mistake.
   2145 
   2146 It was created by libxcb $as_me 1.10, which was
   2147 generated by GNU Autoconf 2.69.  Invocation command line was
   2148 
   2149   $ $0 $@
   2150 
   2151 _ACEOF
   2152 exec 5>>config.log
   2153 {
   2154 cat <<_ASUNAME
   2155 ## --------- ##
   2156 ## Platform. ##
   2157 ## --------- ##
   2158 
   2159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2164 
   2165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2166 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2167 
   2168 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2169 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2171 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2172 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2173 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2174 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2175 
   2176 _ASUNAME
   2177 
   2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2179 for as_dir in $PATH
   2180 do
   2181   IFS=$as_save_IFS
   2182   test -z "$as_dir" && as_dir=.
   2183     $as_echo "PATH: $as_dir"
   2184   done
   2185 IFS=$as_save_IFS
   2186 
   2187 } >&5
   2188 
   2189 cat >&5 <<_ACEOF
   2190 
   2191 
   2192 ## ----------- ##
   2193 ## Core tests. ##
   2194 ## ----------- ##
   2195 
   2196 _ACEOF
   2197 
   2198 
   2199 # Keep a trace of the command line.
   2200 # Strip out --no-create and --no-recursion so they do not pile up.
   2201 # Strip out --silent because we don't want to record it for future runs.
   2202 # Also quote any args containing shell meta-characters.
   2203 # Make two passes to allow for proper duplicate-argument suppression.
   2204 ac_configure_args=
   2205 ac_configure_args0=
   2206 ac_configure_args1=
   2207 ac_must_keep_next=false
   2208 for ac_pass in 1 2
   2209 do
   2210   for ac_arg
   2211   do
   2212     case $ac_arg in
   2213     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2214     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2215     | -silent | --silent | --silen | --sile | --sil)
   2216       continue ;;
   2217     *\'*)
   2218       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2219     esac
   2220     case $ac_pass in
   2221     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2222     2)
   2223       as_fn_append ac_configure_args1 " '$ac_arg'"
   2224       if test $ac_must_keep_next = true; then
   2225 	ac_must_keep_next=false # Got value, back to normal.
   2226       else
   2227 	case $ac_arg in
   2228 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2229 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2230 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2231 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2232 	    case "$ac_configure_args0 " in
   2233 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2234 	    esac
   2235 	    ;;
   2236 	  -* ) ac_must_keep_next=true ;;
   2237 	esac
   2238       fi
   2239       as_fn_append ac_configure_args " '$ac_arg'"
   2240       ;;
   2241     esac
   2242   done
   2243 done
   2244 { ac_configure_args0=; unset ac_configure_args0;}
   2245 { ac_configure_args1=; unset ac_configure_args1;}
   2246 
   2247 # When interrupted or exit'd, cleanup temporary files, and complete
   2248 # config.log.  We remove comments because anyway the quotes in there
   2249 # would cause problems or look ugly.
   2250 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2251 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2252 trap 'exit_status=$?
   2253   # Save into config.log some information that might help in debugging.
   2254   {
   2255     echo
   2256 
   2257     $as_echo "## ---------------- ##
   2258 ## Cache variables. ##
   2259 ## ---------------- ##"
   2260     echo
   2261     # The following way of writing the cache mishandles newlines in values,
   2262 (
   2263   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2264     eval ac_val=\$$ac_var
   2265     case $ac_val in #(
   2266     *${as_nl}*)
   2267       case $ac_var in #(
   2268       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2269 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2270       esac
   2271       case $ac_var in #(
   2272       _ | IFS | as_nl) ;; #(
   2273       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2274       *) { eval $ac_var=; unset $ac_var;} ;;
   2275       esac ;;
   2276     esac
   2277   done
   2278   (set) 2>&1 |
   2279     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2280     *${as_nl}ac_space=\ *)
   2281       sed -n \
   2282 	"s/'\''/'\''\\\\'\'''\''/g;
   2283 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2284       ;; #(
   2285     *)
   2286       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2287       ;;
   2288     esac |
   2289     sort
   2290 )
   2291     echo
   2292 
   2293     $as_echo "## ----------------- ##
   2294 ## Output variables. ##
   2295 ## ----------------- ##"
   2296     echo
   2297     for ac_var in $ac_subst_vars
   2298     do
   2299       eval ac_val=\$$ac_var
   2300       case $ac_val in
   2301       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2302       esac
   2303       $as_echo "$ac_var='\''$ac_val'\''"
   2304     done | sort
   2305     echo
   2306 
   2307     if test -n "$ac_subst_files"; then
   2308       $as_echo "## ------------------- ##
   2309 ## File substitutions. ##
   2310 ## ------------------- ##"
   2311       echo
   2312       for ac_var in $ac_subst_files
   2313       do
   2314 	eval ac_val=\$$ac_var
   2315 	case $ac_val in
   2316 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2317 	esac
   2318 	$as_echo "$ac_var='\''$ac_val'\''"
   2319       done | sort
   2320       echo
   2321     fi
   2322 
   2323     if test -s confdefs.h; then
   2324       $as_echo "## ----------- ##
   2325 ## confdefs.h. ##
   2326 ## ----------- ##"
   2327       echo
   2328       cat confdefs.h
   2329       echo
   2330     fi
   2331     test "$ac_signal" != 0 &&
   2332       $as_echo "$as_me: caught signal $ac_signal"
   2333     $as_echo "$as_me: exit $exit_status"
   2334   } >&5
   2335   rm -f core *.core core.conftest.* &&
   2336     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2337     exit $exit_status
   2338 ' 0
   2339 for ac_signal in 1 2 13 15; do
   2340   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2341 done
   2342 ac_signal=0
   2343 
   2344 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2345 rm -f -r conftest* confdefs.h
   2346 
   2347 $as_echo "/* confdefs.h */" > confdefs.h
   2348 
   2349 # Predefined preprocessor variables.
   2350 
   2351 cat >>confdefs.h <<_ACEOF
   2352 #define PACKAGE_NAME "$PACKAGE_NAME"
   2353 _ACEOF
   2354 
   2355 cat >>confdefs.h <<_ACEOF
   2356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2357 _ACEOF
   2358 
   2359 cat >>confdefs.h <<_ACEOF
   2360 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2361 _ACEOF
   2362 
   2363 cat >>confdefs.h <<_ACEOF
   2364 #define PACKAGE_STRING "$PACKAGE_STRING"
   2365 _ACEOF
   2366 
   2367 cat >>confdefs.h <<_ACEOF
   2368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2369 _ACEOF
   2370 
   2371 cat >>confdefs.h <<_ACEOF
   2372 #define PACKAGE_URL "$PACKAGE_URL"
   2373 _ACEOF
   2374 
   2375 
   2376 # Let the site file select an alternate cache file if it wants to.
   2377 # Prefer an explicitly selected file to automatically selected ones.
   2378 ac_site_file1=NONE
   2379 ac_site_file2=NONE
   2380 if test -n "$CONFIG_SITE"; then
   2381   # We do not want a PATH search for config.site.
   2382   case $CONFIG_SITE in #((
   2383     -*)  ac_site_file1=./$CONFIG_SITE;;
   2384     */*) ac_site_file1=$CONFIG_SITE;;
   2385     *)   ac_site_file1=./$CONFIG_SITE;;
   2386   esac
   2387 elif test "x$prefix" != xNONE; then
   2388   ac_site_file1=$prefix/share/config.site
   2389   ac_site_file2=$prefix/etc/config.site
   2390 else
   2391   ac_site_file1=$ac_default_prefix/share/config.site
   2392   ac_site_file2=$ac_default_prefix/etc/config.site
   2393 fi
   2394 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2395 do
   2396   test "x$ac_site_file" = xNONE && continue
   2397   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2398     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2399 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2400     sed 's/^/| /' "$ac_site_file" >&5
   2401     . "$ac_site_file" \
   2402       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2404 as_fn_error $? "failed to load site script $ac_site_file
   2405 See \`config.log' for more details" "$LINENO" 5; }
   2406   fi
   2407 done
   2408 
   2409 if test -r "$cache_file"; then
   2410   # Some versions of bash will fail to source /dev/null (special files
   2411   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2412   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2413     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2414 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2415     case $cache_file in
   2416       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2417       *)                      . "./$cache_file";;
   2418     esac
   2419   fi
   2420 else
   2421   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2422 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2423   >$cache_file
   2424 fi
   2425 
   2426 # Check that the precious variables saved in the cache have kept the same
   2427 # value.
   2428 ac_cache_corrupted=false
   2429 for ac_var in $ac_precious_vars; do
   2430   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2431   eval ac_new_set=\$ac_env_${ac_var}_set
   2432   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2433   eval ac_new_val=\$ac_env_${ac_var}_value
   2434   case $ac_old_set,$ac_new_set in
   2435     set,)
   2436       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2437 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2438       ac_cache_corrupted=: ;;
   2439     ,set)
   2440       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2441 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2442       ac_cache_corrupted=: ;;
   2443     ,);;
   2444     *)
   2445       if test "x$ac_old_val" != "x$ac_new_val"; then
   2446 	# differences in whitespace do not lead to failure.
   2447 	ac_old_val_w=`echo x $ac_old_val`
   2448 	ac_new_val_w=`echo x $ac_new_val`
   2449 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2450 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2451 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2452 	  ac_cache_corrupted=:
   2453 	else
   2454 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2455 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2456 	  eval $ac_var=\$ac_old_val
   2457 	fi
   2458 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2459 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2460 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2461 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2462       fi;;
   2463   esac
   2464   # Pass precious variables to config.status.
   2465   if test "$ac_new_set" = set; then
   2466     case $ac_new_val in
   2467     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2468     *) ac_arg=$ac_var=$ac_new_val ;;
   2469     esac
   2470     case " $ac_configure_args " in
   2471       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2472       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2473     esac
   2474   fi
   2475 done
   2476 if $ac_cache_corrupted; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2480 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2481   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2482 fi
   2483 ## -------------------- ##
   2484 ## Main body of script. ##
   2485 ## -------------------- ##
   2486 
   2487 ac_ext=c
   2488 ac_cpp='$CPP $CPPFLAGS'
   2489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2492 
   2493 
   2494 ac_aux_dir=
   2495 for ac_dir in build-aux "$srcdir"/build-aux; do
   2496   if test -f "$ac_dir/install-sh"; then
   2497     ac_aux_dir=$ac_dir
   2498     ac_install_sh="$ac_aux_dir/install-sh -c"
   2499     break
   2500   elif test -f "$ac_dir/install.sh"; then
   2501     ac_aux_dir=$ac_dir
   2502     ac_install_sh="$ac_aux_dir/install.sh -c"
   2503     break
   2504   elif test -f "$ac_dir/shtool"; then
   2505     ac_aux_dir=$ac_dir
   2506     ac_install_sh="$ac_aux_dir/shtool install -c"
   2507     break
   2508   fi
   2509 done
   2510 if test -z "$ac_aux_dir"; then
   2511   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2512 fi
   2513 
   2514 # These three variables are undocumented and unsupported,
   2515 # and are intended to be withdrawn in a future Autoconf release.
   2516 # They can cause serious problems if a builder's source tree is in a directory
   2517 # whose full name contains unusual characters.
   2518 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2519 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2520 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2521 
   2522 
   2523 
   2524 
   2525 
   2526 # Initialize Automake
   2527 am__api_version='1.14'
   2528 
   2529 # Find a good install program.  We prefer a C program (faster),
   2530 # so one script is as good as another.  But avoid the broken or
   2531 # incompatible versions:
   2532 # SysV /etc/install, /usr/sbin/install
   2533 # SunOS /usr/etc/install
   2534 # IRIX /sbin/install
   2535 # AIX /bin/install
   2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2540 # OS/2's system install, which has a completely different semantic
   2541 # ./install, which can be erroneously created by make from ./install.sh.
   2542 # Reject install programs that cannot install multiple files.
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2545 if test -z "$INSTALL"; then
   2546 if ${ac_cv_path_install+:} false; then :
   2547   $as_echo_n "(cached) " >&6
   2548 else
   2549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     # Account for people who put trailing slashes in PATH elements.
   2555 case $as_dir/ in #((
   2556   ./ | .// | /[cC]/* | \
   2557   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2558   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2559   /usr/ucb/* ) ;;
   2560   *)
   2561     # OSF1 and SCO ODT 3.0 have their own names for install.
   2562     # Don't use installbsd from OSF since it installs stuff as root
   2563     # by default.
   2564     for ac_prog in ginstall scoinst install; do
   2565       for ac_exec_ext in '' $ac_executable_extensions; do
   2566 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2567 	  if test $ac_prog = install &&
   2568 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2569 	    # AIX install.  It has an incompatible calling convention.
   2570 	    :
   2571 	  elif test $ac_prog = install &&
   2572 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2573 	    # program-specific install script used by HP pwplus--don't use.
   2574 	    :
   2575 	  else
   2576 	    rm -rf conftest.one conftest.two conftest.dir
   2577 	    echo one > conftest.one
   2578 	    echo two > conftest.two
   2579 	    mkdir conftest.dir
   2580 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2581 	      test -s conftest.one && test -s conftest.two &&
   2582 	      test -s conftest.dir/conftest.one &&
   2583 	      test -s conftest.dir/conftest.two
   2584 	    then
   2585 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2586 	      break 3
   2587 	    fi
   2588 	  fi
   2589 	fi
   2590       done
   2591     done
   2592     ;;
   2593 esac
   2594 
   2595   done
   2596 IFS=$as_save_IFS
   2597 
   2598 rm -rf conftest.one conftest.two conftest.dir
   2599 
   2600 fi
   2601   if test "${ac_cv_path_install+set}" = set; then
   2602     INSTALL=$ac_cv_path_install
   2603   else
   2604     # As a last resort, use the slow shell script.  Don't cache a
   2605     # value for INSTALL within a source directory, because that will
   2606     # break other packages using the cache if that directory is
   2607     # removed, or if the value is a relative name.
   2608     INSTALL=$ac_install_sh
   2609   fi
   2610 fi
   2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2612 $as_echo "$INSTALL" >&6; }
   2613 
   2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2615 # It thinks the first close brace ends the variable substitution.
   2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2617 
   2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2619 
   2620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2621 
   2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2623 $as_echo_n "checking whether build environment is sane... " >&6; }
   2624 # Reject unsafe characters in $srcdir or the absolute working directory
   2625 # name.  Accept space and tab only in the latter.
   2626 am_lf='
   2627 '
   2628 case `pwd` in
   2629   *[\\\"\#\$\&\'\`$am_lf]*)
   2630     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2631 esac
   2632 case $srcdir in
   2633   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2634     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2635 esac
   2636 
   2637 # Do 'set' in a subshell so we don't clobber the current shell's
   2638 # arguments.  Must try -L first in case configure is actually a
   2639 # symlink; some systems play weird games with the mod time of symlinks
   2640 # (eg FreeBSD returns the mod time of the symlink's containing
   2641 # directory).
   2642 if (
   2643    am_has_slept=no
   2644    for am_try in 1 2; do
   2645      echo "timestamp, slept: $am_has_slept" > conftest.file
   2646      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2647      if test "$*" = "X"; then
   2648 	# -L didn't work.
   2649 	set X `ls -t "$srcdir/configure" conftest.file`
   2650      fi
   2651      if test "$*" != "X $srcdir/configure conftest.file" \
   2652 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2653 
   2654 	# If neither matched, then we have a broken ls.  This can happen
   2655 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2656 	# broken ls alias from the environment.  This has actually
   2657 	# happened.  Such a system could not be considered "sane".
   2658 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2659   alias in your environment" "$LINENO" 5
   2660      fi
   2661      if test "$2" = conftest.file || test $am_try -eq 2; then
   2662        break
   2663      fi
   2664      # Just in case.
   2665      sleep 1
   2666      am_has_slept=yes
   2667    done
   2668    test "$2" = conftest.file
   2669    )
   2670 then
   2671    # Ok.
   2672    :
   2673 else
   2674    as_fn_error $? "newly created file is older than distributed files!
   2675 Check your system clock" "$LINENO" 5
   2676 fi
   2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2678 $as_echo "yes" >&6; }
   2679 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2680 # generated files are strictly newer.
   2681 am_sleep_pid=
   2682 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2683   ( sleep 1 ) &
   2684   am_sleep_pid=$!
   2685 fi
   2686 
   2687 rm -f conftest.file
   2688 
   2689 test "$program_prefix" != NONE &&
   2690   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2691 # Use a double $ so make ignores it.
   2692 test "$program_suffix" != NONE &&
   2693   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2694 # Double any \ or $.
   2695 # By default was `s,x,x', remove it if useless.
   2696 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2697 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2698 
   2699 # expand $ac_aux_dir to an absolute path
   2700 am_aux_dir=`cd $ac_aux_dir && pwd`
   2701 
   2702 if test x"${MISSING+set}" != xset; then
   2703   case $am_aux_dir in
   2704   *\ * | *\	*)
   2705     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2706   *)
   2707     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2708   esac
   2709 fi
   2710 # Use eval to expand $SHELL
   2711 if eval "$MISSING --is-lightweight"; then
   2712   am_missing_run="$MISSING "
   2713 else
   2714   am_missing_run=
   2715   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2716 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2717 fi
   2718 
   2719 if test x"${install_sh}" != xset; then
   2720   case $am_aux_dir in
   2721   *\ * | *\	*)
   2722     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2723   *)
   2724     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2725   esac
   2726 fi
   2727 
   2728 # Installed binaries are usually stripped using 'strip' when the user
   2729 # run "make install-strip".  However 'strip' might not be the right
   2730 # tool to use in cross-compilation environments, therefore Automake
   2731 # will honor the 'STRIP' environment variable to overrule this program.
   2732 if test "$cross_compiling" != no; then
   2733   if test -n "$ac_tool_prefix"; then
   2734   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2735 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2737 $as_echo_n "checking for $ac_word... " >&6; }
   2738 if ${ac_cv_prog_STRIP+:} false; then :
   2739   $as_echo_n "(cached) " >&6
   2740 else
   2741   if test -n "$STRIP"; then
   2742   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2743 else
   2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2745 for as_dir in $PATH
   2746 do
   2747   IFS=$as_save_IFS
   2748   test -z "$as_dir" && as_dir=.
   2749     for ac_exec_ext in '' $ac_executable_extensions; do
   2750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2751     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2753     break 2
   2754   fi
   2755 done
   2756   done
   2757 IFS=$as_save_IFS
   2758 
   2759 fi
   2760 fi
   2761 STRIP=$ac_cv_prog_STRIP
   2762 if test -n "$STRIP"; then
   2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2764 $as_echo "$STRIP" >&6; }
   2765 else
   2766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2767 $as_echo "no" >&6; }
   2768 fi
   2769 
   2770 
   2771 fi
   2772 if test -z "$ac_cv_prog_STRIP"; then
   2773   ac_ct_STRIP=$STRIP
   2774   # Extract the first word of "strip", so it can be a program name with args.
   2775 set dummy strip; ac_word=$2
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2777 $as_echo_n "checking for $ac_word... " >&6; }
   2778 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2779   $as_echo_n "(cached) " >&6
   2780 else
   2781   if test -n "$ac_ct_STRIP"; then
   2782   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2783 else
   2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2785 for as_dir in $PATH
   2786 do
   2787   IFS=$as_save_IFS
   2788   test -z "$as_dir" && as_dir=.
   2789     for ac_exec_ext in '' $ac_executable_extensions; do
   2790   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2791     ac_cv_prog_ac_ct_STRIP="strip"
   2792     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2793     break 2
   2794   fi
   2795 done
   2796   done
   2797 IFS=$as_save_IFS
   2798 
   2799 fi
   2800 fi
   2801 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2802 if test -n "$ac_ct_STRIP"; then
   2803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2804 $as_echo "$ac_ct_STRIP" >&6; }
   2805 else
   2806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2807 $as_echo "no" >&6; }
   2808 fi
   2809 
   2810   if test "x$ac_ct_STRIP" = x; then
   2811     STRIP=":"
   2812   else
   2813     case $cross_compiling:$ac_tool_warned in
   2814 yes:)
   2815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2817 ac_tool_warned=yes ;;
   2818 esac
   2819     STRIP=$ac_ct_STRIP
   2820   fi
   2821 else
   2822   STRIP="$ac_cv_prog_STRIP"
   2823 fi
   2824 
   2825 fi
   2826 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2827 
   2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2829 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2830 if test -z "$MKDIR_P"; then
   2831   if ${ac_cv_path_mkdir+:} false; then :
   2832   $as_echo_n "(cached) " >&6
   2833 else
   2834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2835 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2836 do
   2837   IFS=$as_save_IFS
   2838   test -z "$as_dir" && as_dir=.
   2839     for ac_prog in mkdir gmkdir; do
   2840 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2841 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2842 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2843 	     'mkdir (GNU coreutils) '* | \
   2844 	     'mkdir (coreutils) '* | \
   2845 	     'mkdir (fileutils) '4.1*)
   2846 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2847 	       break 3;;
   2848 	   esac
   2849 	 done
   2850        done
   2851   done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi
   2855 
   2856   test -d ./--version && rmdir ./--version
   2857   if test "${ac_cv_path_mkdir+set}" = set; then
   2858     MKDIR_P="$ac_cv_path_mkdir -p"
   2859   else
   2860     # As a last resort, use the slow shell script.  Don't cache a
   2861     # value for MKDIR_P within a source directory, because that will
   2862     # break other packages using the cache if that directory is
   2863     # removed, or if the value is a relative name.
   2864     MKDIR_P="$ac_install_sh -d"
   2865   fi
   2866 fi
   2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2868 $as_echo "$MKDIR_P" >&6; }
   2869 
   2870 for ac_prog in gawk mawk nawk awk
   2871 do
   2872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2873 set dummy $ac_prog; ac_word=$2
   2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2875 $as_echo_n "checking for $ac_word... " >&6; }
   2876 if ${ac_cv_prog_AWK+:} false; then :
   2877   $as_echo_n "(cached) " >&6
   2878 else
   2879   if test -n "$AWK"; then
   2880   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2881 else
   2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH
   2884 do
   2885   IFS=$as_save_IFS
   2886   test -z "$as_dir" && as_dir=.
   2887     for ac_exec_ext in '' $ac_executable_extensions; do
   2888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2889     ac_cv_prog_AWK="$ac_prog"
   2890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2891     break 2
   2892   fi
   2893 done
   2894   done
   2895 IFS=$as_save_IFS
   2896 
   2897 fi
   2898 fi
   2899 AWK=$ac_cv_prog_AWK
   2900 if test -n "$AWK"; then
   2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2902 $as_echo "$AWK" >&6; }
   2903 else
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 $as_echo "no" >&6; }
   2906 fi
   2907 
   2908 
   2909   test -n "$AWK" && break
   2910 done
   2911 
   2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2913 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2914 set x ${MAKE-make}
   2915 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2916 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2917   $as_echo_n "(cached) " >&6
   2918 else
   2919   cat >conftest.make <<\_ACEOF
   2920 SHELL = /bin/sh
   2921 all:
   2922 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2923 _ACEOF
   2924 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2925 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2926   *@@@%%%=?*=@@@%%%*)
   2927     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2928   *)
   2929     eval ac_cv_prog_make_${ac_make}_set=no;;
   2930 esac
   2931 rm -f conftest.make
   2932 fi
   2933 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2935 $as_echo "yes" >&6; }
   2936   SET_MAKE=
   2937 else
   2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2939 $as_echo "no" >&6; }
   2940   SET_MAKE="MAKE=${MAKE-make}"
   2941 fi
   2942 
   2943 rm -rf .tst 2>/dev/null
   2944 mkdir .tst 2>/dev/null
   2945 if test -d .tst; then
   2946   am__leading_dot=.
   2947 else
   2948   am__leading_dot=_
   2949 fi
   2950 rmdir .tst 2>/dev/null
   2951 
   2952 # Check whether --enable-silent-rules was given.
   2953 if test "${enable_silent_rules+set}" = set; then :
   2954   enableval=$enable_silent_rules;
   2955 fi
   2956 
   2957 case $enable_silent_rules in # (((
   2958   yes) AM_DEFAULT_VERBOSITY=0;;
   2959    no) AM_DEFAULT_VERBOSITY=1;;
   2960     *) AM_DEFAULT_VERBOSITY=1;;
   2961 esac
   2962 am_make=${MAKE-make}
   2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2964 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2965 if ${am_cv_make_support_nested_variables+:} false; then :
   2966   $as_echo_n "(cached) " >&6
   2967 else
   2968   if $as_echo 'TRUE=$(BAR$(V))
   2969 BAR0=false
   2970 BAR1=true
   2971 V=1
   2972 am__doit:
   2973 	@$(TRUE)
   2974 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2975   am_cv_make_support_nested_variables=yes
   2976 else
   2977   am_cv_make_support_nested_variables=no
   2978 fi
   2979 fi
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2981 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2982 if test $am_cv_make_support_nested_variables = yes; then
   2983     AM_V='$(V)'
   2984   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2985 else
   2986   AM_V=$AM_DEFAULT_VERBOSITY
   2987   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2988 fi
   2989 AM_BACKSLASH='\'
   2990 
   2991 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2992   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2993   # is not polluted with repeated "-I."
   2994   am__isrc=' -I$(srcdir)'
   2995   # test to see if srcdir already configured
   2996   if test -f $srcdir/config.status; then
   2997     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2998   fi
   2999 fi
   3000 
   3001 # test whether we have cygpath
   3002 if test -z "$CYGPATH_W"; then
   3003   if (cygpath --version) >/dev/null 2>/dev/null; then
   3004     CYGPATH_W='cygpath -w'
   3005   else
   3006     CYGPATH_W=echo
   3007   fi
   3008 fi
   3009 
   3010 
   3011 # Define the identity of the package.
   3012  PACKAGE='libxcb'
   3013  VERSION='1.10'
   3014 
   3015 
   3016 cat >>confdefs.h <<_ACEOF
   3017 #define PACKAGE "$PACKAGE"
   3018 _ACEOF
   3019 
   3020 
   3021 cat >>confdefs.h <<_ACEOF
   3022 #define VERSION "$VERSION"
   3023 _ACEOF
   3024 
   3025 # Some tools Automake needs.
   3026 
   3027 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3028 
   3029 
   3030 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3031 
   3032 
   3033 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3034 
   3035 
   3036 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3037 
   3038 
   3039 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3040 
   3041 # For better backward compatibility.  To be removed once Automake 1.9.x
   3042 # dies out for good.  For more background, see:
   3043 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3044 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3045 mkdir_p='$(MKDIR_P)'
   3046 
   3047 # We need awk for the "check" target.  The system "awk" is bad on
   3048 # some platforms.
   3049 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3050 # in the wild :-(  We should find a proper way to deprecate it ...
   3051 AMTAR='$${TAR-tar}'
   3052 
   3053 
   3054 # We'll loop over all known methods to create a tar archive until one works.
   3055 _am_tools='gnutar  pax cpio none'
   3056 
   3057 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3058 
   3059 
   3060 
   3061 
   3062 
   3063 
   3064 # POSIX will say in a future version that running "rm -f" with no argument
   3065 # is OK; and we want to be able to make that assumption in our Makefile
   3066 # recipes.  So use an aggressive probe to check that the usage we want is
   3067 # actually supported "in the wild" to an acceptable degree.
   3068 # See automake bug#10828.
   3069 # To make any issue more visible, cause the running configure to be aborted
   3070 # by default if the 'rm' program in use doesn't match our expectations; the
   3071 # user can still override this though.
   3072 if rm -f && rm -fr && rm -rf; then : OK; else
   3073   cat >&2 <<'END'
   3074 Oops!
   3075 
   3076 Your 'rm' program seems unable to run without file operands specified
   3077 on the command line, even when the '-f' option is present.  This is contrary
   3078 to the behaviour of most rm programs out there, and not conforming with
   3079 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3080 
   3081 Please tell bug-automake@gnu.org about your system, including the value
   3082 of your $PATH and any error possibly output before this message.  This
   3083 can help us improve future automake versions.
   3084 
   3085 END
   3086   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3087     echo 'Configuration will proceed anyway, since you have set the' >&2
   3088     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3089     echo >&2
   3090   else
   3091     cat >&2 <<'END'
   3092 Aborting the configuration process, to ensure you take notice of the issue.
   3093 
   3094 You can download and install GNU coreutils to get an 'rm' implementation
   3095 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3096 
   3097 If you want to complete the configuration process using your problematic
   3098 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3099 to "yes", and re-run configure.
   3100 
   3101 END
   3102     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3103   fi
   3104 fi
   3105 # Check whether --enable-silent-rules was given.
   3106 if test "${enable_silent_rules+set}" = set; then :
   3107   enableval=$enable_silent_rules;
   3108 fi
   3109 
   3110 case $enable_silent_rules in # (((
   3111   yes) AM_DEFAULT_VERBOSITY=0;;
   3112    no) AM_DEFAULT_VERBOSITY=1;;
   3113     *) AM_DEFAULT_VERBOSITY=0;;
   3114 esac
   3115 am_make=${MAKE-make}
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3117 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3118 if ${am_cv_make_support_nested_variables+:} false; then :
   3119   $as_echo_n "(cached) " >&6
   3120 else
   3121   if $as_echo 'TRUE=$(BAR$(V))
   3122 BAR0=false
   3123 BAR1=true
   3124 V=1
   3125 am__doit:
   3126 	@$(TRUE)
   3127 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3128   am_cv_make_support_nested_variables=yes
   3129 else
   3130   am_cv_make_support_nested_variables=no
   3131 fi
   3132 fi
   3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3134 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3135 if test $am_cv_make_support_nested_variables = yes; then
   3136     AM_V='$(V)'
   3137   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3138 else
   3139   AM_V=$AM_DEFAULT_VERBOSITY
   3140   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3141 fi
   3142 AM_BACKSLASH='\'
   3143 
   3144 
   3145 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3146 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   3147 # to avoid autoconf errors.
   3148 DEPDIR="${am__leading_dot}deps"
   3149 
   3150 ac_config_commands="$ac_config_commands depfiles"
   3151 
   3152 
   3153 am_make=${MAKE-make}
   3154 cat > confinc << 'END'
   3155 am__doit:
   3156 	@echo this is the am__doit target
   3157 .PHONY: am__doit
   3158 END
   3159 # If we don't find an include directive, just comment out the code.
   3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3161 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3162 am__include="#"
   3163 am__quote=
   3164 _am_result=none
   3165 # First try GNU make style include.
   3166 echo "include confinc" > confmf
   3167 # Ignore all kinds of additional output from 'make'.
   3168 case `$am_make -s -f confmf 2> /dev/null` in #(
   3169 *the\ am__doit\ target*)
   3170   am__include=include
   3171   am__quote=
   3172   _am_result=GNU
   3173   ;;
   3174 esac
   3175 # Now try BSD make style include.
   3176 if test "$am__include" = "#"; then
   3177    echo '.include "confinc"' > confmf
   3178    case `$am_make -s -f confmf 2> /dev/null` in #(
   3179    *the\ am__doit\ target*)
   3180      am__include=.include
   3181      am__quote="\""
   3182      _am_result=BSD
   3183      ;;
   3184    esac
   3185 fi
   3186 
   3187 
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3189 $as_echo "$_am_result" >&6; }
   3190 rm -f confinc confmf
   3191 
   3192 # Check whether --enable-dependency-tracking was given.
   3193 if test "${enable_dependency_tracking+set}" = set; then :
   3194   enableval=$enable_dependency_tracking;
   3195 fi
   3196 
   3197 if test "x$enable_dependency_tracking" != xno; then
   3198   am_depcomp="$ac_aux_dir/depcomp"
   3199   AMDEPBACKSLASH='\'
   3200   am__nodep='_no'
   3201 fi
   3202  if test "x$enable_dependency_tracking" != xno; then
   3203   AMDEP_TRUE=
   3204   AMDEP_FALSE='#'
   3205 else
   3206   AMDEP_TRUE='#'
   3207   AMDEP_FALSE=
   3208 fi
   3209 
   3210 
   3211 ac_ext=c
   3212 ac_cpp='$CPP $CPPFLAGS'
   3213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3216 if test -n "$ac_tool_prefix"; then
   3217   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3218 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3220 $as_echo_n "checking for $ac_word... " >&6; }
   3221 if ${ac_cv_prog_CC+:} false; then :
   3222   $as_echo_n "(cached) " >&6
   3223 else
   3224   if test -n "$CC"; then
   3225   ac_cv_prog_CC="$CC" # Let the user override the test.
   3226 else
   3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3228 for as_dir in $PATH
   3229 do
   3230   IFS=$as_save_IFS
   3231   test -z "$as_dir" && as_dir=.
   3232     for ac_exec_ext in '' $ac_executable_extensions; do
   3233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3234     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3236     break 2
   3237   fi
   3238 done
   3239   done
   3240 IFS=$as_save_IFS
   3241 
   3242 fi
   3243 fi
   3244 CC=$ac_cv_prog_CC
   3245 if test -n "$CC"; then
   3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3247 $as_echo "$CC" >&6; }
   3248 else
   3249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3250 $as_echo "no" >&6; }
   3251 fi
   3252 
   3253 
   3254 fi
   3255 if test -z "$ac_cv_prog_CC"; then
   3256   ac_ct_CC=$CC
   3257   # Extract the first word of "gcc", so it can be a program name with args.
   3258 set dummy gcc; ac_word=$2
   3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3260 $as_echo_n "checking for $ac_word... " >&6; }
   3261 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3262   $as_echo_n "(cached) " >&6
   3263 else
   3264   if test -n "$ac_ct_CC"; then
   3265   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3266 else
   3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3268 for as_dir in $PATH
   3269 do
   3270   IFS=$as_save_IFS
   3271   test -z "$as_dir" && as_dir=.
   3272     for ac_exec_ext in '' $ac_executable_extensions; do
   3273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3274     ac_cv_prog_ac_ct_CC="gcc"
   3275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3276     break 2
   3277   fi
   3278 done
   3279   done
   3280 IFS=$as_save_IFS
   3281 
   3282 fi
   3283 fi
   3284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3285 if test -n "$ac_ct_CC"; then
   3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3287 $as_echo "$ac_ct_CC" >&6; }
   3288 else
   3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3290 $as_echo "no" >&6; }
   3291 fi
   3292 
   3293   if test "x$ac_ct_CC" = x; then
   3294     CC=""
   3295   else
   3296     case $cross_compiling:$ac_tool_warned in
   3297 yes:)
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3300 ac_tool_warned=yes ;;
   3301 esac
   3302     CC=$ac_ct_CC
   3303   fi
   3304 else
   3305   CC="$ac_cv_prog_CC"
   3306 fi
   3307 
   3308 if test -z "$CC"; then
   3309           if test -n "$ac_tool_prefix"; then
   3310     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3311 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3313 $as_echo_n "checking for $ac_word... " >&6; }
   3314 if ${ac_cv_prog_CC+:} false; then :
   3315   $as_echo_n "(cached) " >&6
   3316 else
   3317   if test -n "$CC"; then
   3318   ac_cv_prog_CC="$CC" # Let the user override the test.
   3319 else
   3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3321 for as_dir in $PATH
   3322 do
   3323   IFS=$as_save_IFS
   3324   test -z "$as_dir" && as_dir=.
   3325     for ac_exec_ext in '' $ac_executable_extensions; do
   3326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3327     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3329     break 2
   3330   fi
   3331 done
   3332   done
   3333 IFS=$as_save_IFS
   3334 
   3335 fi
   3336 fi
   3337 CC=$ac_cv_prog_CC
   3338 if test -n "$CC"; then
   3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3340 $as_echo "$CC" >&6; }
   3341 else
   3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3343 $as_echo "no" >&6; }
   3344 fi
   3345 
   3346 
   3347   fi
   3348 fi
   3349 if test -z "$CC"; then
   3350   # Extract the first word of "cc", so it can be a program name with args.
   3351 set dummy cc; ac_word=$2
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3353 $as_echo_n "checking for $ac_word... " >&6; }
   3354 if ${ac_cv_prog_CC+:} false; then :
   3355   $as_echo_n "(cached) " >&6
   3356 else
   3357   if test -n "$CC"; then
   3358   ac_cv_prog_CC="$CC" # Let the user override the test.
   3359 else
   3360   ac_prog_rejected=no
   3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3362 for as_dir in $PATH
   3363 do
   3364   IFS=$as_save_IFS
   3365   test -z "$as_dir" && as_dir=.
   3366     for ac_exec_ext in '' $ac_executable_extensions; do
   3367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3368     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3369        ac_prog_rejected=yes
   3370        continue
   3371      fi
   3372     ac_cv_prog_CC="cc"
   3373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3374     break 2
   3375   fi
   3376 done
   3377   done
   3378 IFS=$as_save_IFS
   3379 
   3380 if test $ac_prog_rejected = yes; then
   3381   # We found a bogon in the path, so make sure we never use it.
   3382   set dummy $ac_cv_prog_CC
   3383   shift
   3384   if test $# != 0; then
   3385     # We chose a different compiler from the bogus one.
   3386     # However, it has the same basename, so the bogon will be chosen
   3387     # first if we set CC to just the basename; use the full file name.
   3388     shift
   3389     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3390   fi
   3391 fi
   3392 fi
   3393 fi
   3394 CC=$ac_cv_prog_CC
   3395 if test -n "$CC"; then
   3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3397 $as_echo "$CC" >&6; }
   3398 else
   3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3400 $as_echo "no" >&6; }
   3401 fi
   3402 
   3403 
   3404 fi
   3405 if test -z "$CC"; then
   3406   if test -n "$ac_tool_prefix"; then
   3407   for ac_prog in cl.exe
   3408   do
   3409     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3412 $as_echo_n "checking for $ac_word... " >&6; }
   3413 if ${ac_cv_prog_CC+:} false; then :
   3414   $as_echo_n "(cached) " >&6
   3415 else
   3416   if test -n "$CC"; then
   3417   ac_cv_prog_CC="$CC" # Let the user override the test.
   3418 else
   3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3420 for as_dir in $PATH
   3421 do
   3422   IFS=$as_save_IFS
   3423   test -z "$as_dir" && as_dir=.
   3424     for ac_exec_ext in '' $ac_executable_extensions; do
   3425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3426     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3428     break 2
   3429   fi
   3430 done
   3431   done
   3432 IFS=$as_save_IFS
   3433 
   3434 fi
   3435 fi
   3436 CC=$ac_cv_prog_CC
   3437 if test -n "$CC"; then
   3438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3439 $as_echo "$CC" >&6; }
   3440 else
   3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3442 $as_echo "no" >&6; }
   3443 fi
   3444 
   3445 
   3446     test -n "$CC" && break
   3447   done
   3448 fi
   3449 if test -z "$CC"; then
   3450   ac_ct_CC=$CC
   3451   for ac_prog in cl.exe
   3452 do
   3453   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3454 set dummy $ac_prog; ac_word=$2
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3456 $as_echo_n "checking for $ac_word... " >&6; }
   3457 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3458   $as_echo_n "(cached) " >&6
   3459 else
   3460   if test -n "$ac_ct_CC"; then
   3461   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3462 else
   3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3464 for as_dir in $PATH
   3465 do
   3466   IFS=$as_save_IFS
   3467   test -z "$as_dir" && as_dir=.
   3468     for ac_exec_ext in '' $ac_executable_extensions; do
   3469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3470     ac_cv_prog_ac_ct_CC="$ac_prog"
   3471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3472     break 2
   3473   fi
   3474 done
   3475   done
   3476 IFS=$as_save_IFS
   3477 
   3478 fi
   3479 fi
   3480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3481 if test -n "$ac_ct_CC"; then
   3482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3483 $as_echo "$ac_ct_CC" >&6; }
   3484 else
   3485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3486 $as_echo "no" >&6; }
   3487 fi
   3488 
   3489 
   3490   test -n "$ac_ct_CC" && break
   3491 done
   3492 
   3493   if test "x$ac_ct_CC" = x; then
   3494     CC=""
   3495   else
   3496     case $cross_compiling:$ac_tool_warned in
   3497 yes:)
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3500 ac_tool_warned=yes ;;
   3501 esac
   3502     CC=$ac_ct_CC
   3503   fi
   3504 fi
   3505 
   3506 fi
   3507 
   3508 
   3509 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3511 as_fn_error $? "no acceptable C compiler found in \$PATH
   3512 See \`config.log' for more details" "$LINENO" 5; }
   3513 
   3514 # Provide some information about the compiler.
   3515 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3516 set X $ac_compile
   3517 ac_compiler=$2
   3518 for ac_option in --version -v -V -qversion; do
   3519   { { ac_try="$ac_compiler $ac_option >&5"
   3520 case "(($ac_try" in
   3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3522   *) ac_try_echo=$ac_try;;
   3523 esac
   3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3525 $as_echo "$ac_try_echo"; } >&5
   3526   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3527   ac_status=$?
   3528   if test -s conftest.err; then
   3529     sed '10a\
   3530 ... rest of stderr output deleted ...
   3531          10q' conftest.err >conftest.er1
   3532     cat conftest.er1 >&5
   3533   fi
   3534   rm -f conftest.er1 conftest.err
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }
   3537 done
   3538 
   3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3540 /* end confdefs.h.  */
   3541 
   3542 int
   3543 main ()
   3544 {
   3545 
   3546   ;
   3547   return 0;
   3548 }
   3549 _ACEOF
   3550 ac_clean_files_save=$ac_clean_files
   3551 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3552 # Try to create an executable without -o first, disregard a.out.
   3553 # It will help us diagnose broken compilers, and finding out an intuition
   3554 # of exeext.
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3556 $as_echo_n "checking whether the C compiler works... " >&6; }
   3557 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3558 
   3559 # The possible output files:
   3560 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3561 
   3562 ac_rmfiles=
   3563 for ac_file in $ac_files
   3564 do
   3565   case $ac_file in
   3566     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3567     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3568   esac
   3569 done
   3570 rm -f $ac_rmfiles
   3571 
   3572 if { { ac_try="$ac_link_default"
   3573 case "(($ac_try" in
   3574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3575   *) ac_try_echo=$ac_try;;
   3576 esac
   3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3578 $as_echo "$ac_try_echo"; } >&5
   3579   (eval "$ac_link_default") 2>&5
   3580   ac_status=$?
   3581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3582   test $ac_status = 0; }; then :
   3583   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3584 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3585 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3586 # so that the user can short-circuit this test for compilers unknown to
   3587 # Autoconf.
   3588 for ac_file in $ac_files ''
   3589 do
   3590   test -f "$ac_file" || continue
   3591   case $ac_file in
   3592     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3593 	;;
   3594     [ab].out )
   3595 	# We found the default executable, but exeext='' is most
   3596 	# certainly right.
   3597 	break;;
   3598     *.* )
   3599 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3600 	then :; else
   3601 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3602 	fi
   3603 	# We set ac_cv_exeext here because the later test for it is not
   3604 	# safe: cross compilers may not add the suffix if given an `-o'
   3605 	# argument, so we may need to know it at that point already.
   3606 	# Even if this section looks crufty: it has the advantage of
   3607 	# actually working.
   3608 	break;;
   3609     * )
   3610 	break;;
   3611   esac
   3612 done
   3613 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3614 
   3615 else
   3616   ac_file=''
   3617 fi
   3618 if test -z "$ac_file"; then :
   3619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3620 $as_echo "no" >&6; }
   3621 $as_echo "$as_me: failed program was:" >&5
   3622 sed 's/^/| /' conftest.$ac_ext >&5
   3623 
   3624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3626 as_fn_error 77 "C compiler cannot create executables
   3627 See \`config.log' for more details" "$LINENO" 5; }
   3628 else
   3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3630 $as_echo "yes" >&6; }
   3631 fi
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3633 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3635 $as_echo "$ac_file" >&6; }
   3636 ac_exeext=$ac_cv_exeext
   3637 
   3638 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3639 ac_clean_files=$ac_clean_files_save
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3641 $as_echo_n "checking for suffix of executables... " >&6; }
   3642 if { { ac_try="$ac_link"
   3643 case "(($ac_try" in
   3644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3645   *) ac_try_echo=$ac_try;;
   3646 esac
   3647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3648 $as_echo "$ac_try_echo"; } >&5
   3649   (eval "$ac_link") 2>&5
   3650   ac_status=$?
   3651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3652   test $ac_status = 0; }; then :
   3653   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3654 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3655 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3656 # `rm'.
   3657 for ac_file in conftest.exe conftest conftest.*; do
   3658   test -f "$ac_file" || continue
   3659   case $ac_file in
   3660     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3661     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3662 	  break;;
   3663     * ) break;;
   3664   esac
   3665 done
   3666 else
   3667   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3669 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3670 See \`config.log' for more details" "$LINENO" 5; }
   3671 fi
   3672 rm -f conftest conftest$ac_cv_exeext
   3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3674 $as_echo "$ac_cv_exeext" >&6; }
   3675 
   3676 rm -f conftest.$ac_ext
   3677 EXEEXT=$ac_cv_exeext
   3678 ac_exeext=$EXEEXT
   3679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3680 /* end confdefs.h.  */
   3681 #include <stdio.h>
   3682 int
   3683 main ()
   3684 {
   3685 FILE *f = fopen ("conftest.out", "w");
   3686  return ferror (f) || fclose (f) != 0;
   3687 
   3688   ;
   3689   return 0;
   3690 }
   3691 _ACEOF
   3692 ac_clean_files="$ac_clean_files conftest.out"
   3693 # Check that the compiler produces executables we can run.  If not, either
   3694 # the compiler is broken, or we cross compile.
   3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3696 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3697 if test "$cross_compiling" != yes; then
   3698   { { ac_try="$ac_link"
   3699 case "(($ac_try" in
   3700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3701   *) ac_try_echo=$ac_try;;
   3702 esac
   3703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3704 $as_echo "$ac_try_echo"; } >&5
   3705   (eval "$ac_link") 2>&5
   3706   ac_status=$?
   3707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3708   test $ac_status = 0; }
   3709   if { ac_try='./conftest$ac_cv_exeext'
   3710   { { case "(($ac_try" in
   3711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3712   *) ac_try_echo=$ac_try;;
   3713 esac
   3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3715 $as_echo "$ac_try_echo"; } >&5
   3716   (eval "$ac_try") 2>&5
   3717   ac_status=$?
   3718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3719   test $ac_status = 0; }; }; then
   3720     cross_compiling=no
   3721   else
   3722     if test "$cross_compiling" = maybe; then
   3723 	cross_compiling=yes
   3724     else
   3725 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3727 as_fn_error $? "cannot run C compiled programs.
   3728 If you meant to cross compile, use \`--host'.
   3729 See \`config.log' for more details" "$LINENO" 5; }
   3730     fi
   3731   fi
   3732 fi
   3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3734 $as_echo "$cross_compiling" >&6; }
   3735 
   3736 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3737 ac_clean_files=$ac_clean_files_save
   3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3739 $as_echo_n "checking for suffix of object files... " >&6; }
   3740 if ${ac_cv_objext+:} false; then :
   3741   $as_echo_n "(cached) " >&6
   3742 else
   3743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3744 /* end confdefs.h.  */
   3745 
   3746 int
   3747 main ()
   3748 {
   3749 
   3750   ;
   3751   return 0;
   3752 }
   3753 _ACEOF
   3754 rm -f conftest.o conftest.obj
   3755 if { { ac_try="$ac_compile"
   3756 case "(($ac_try" in
   3757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3758   *) ac_try_echo=$ac_try;;
   3759 esac
   3760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3761 $as_echo "$ac_try_echo"; } >&5
   3762   (eval "$ac_compile") 2>&5
   3763   ac_status=$?
   3764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3765   test $ac_status = 0; }; then :
   3766   for ac_file in conftest.o conftest.obj conftest.*; do
   3767   test -f "$ac_file" || continue;
   3768   case $ac_file in
   3769     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3770     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3771        break;;
   3772   esac
   3773 done
   3774 else
   3775   $as_echo "$as_me: failed program was:" >&5
   3776 sed 's/^/| /' conftest.$ac_ext >&5
   3777 
   3778 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3780 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3781 See \`config.log' for more details" "$LINENO" 5; }
   3782 fi
   3783 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3784 fi
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3786 $as_echo "$ac_cv_objext" >&6; }
   3787 OBJEXT=$ac_cv_objext
   3788 ac_objext=$OBJEXT
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3790 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3791 if ${ac_cv_c_compiler_gnu+:} false; then :
   3792   $as_echo_n "(cached) " >&6
   3793 else
   3794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3795 /* end confdefs.h.  */
   3796 
   3797 int
   3798 main ()
   3799 {
   3800 #ifndef __GNUC__
   3801        choke me
   3802 #endif
   3803 
   3804   ;
   3805   return 0;
   3806 }
   3807 _ACEOF
   3808 if ac_fn_c_try_compile "$LINENO"; then :
   3809   ac_compiler_gnu=yes
   3810 else
   3811   ac_compiler_gnu=no
   3812 fi
   3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3814 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3815 
   3816 fi
   3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3818 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3819 if test $ac_compiler_gnu = yes; then
   3820   GCC=yes
   3821 else
   3822   GCC=
   3823 fi
   3824 ac_test_CFLAGS=${CFLAGS+set}
   3825 ac_save_CFLAGS=$CFLAGS
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3827 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3828 if ${ac_cv_prog_cc_g+:} false; then :
   3829   $as_echo_n "(cached) " >&6
   3830 else
   3831   ac_save_c_werror_flag=$ac_c_werror_flag
   3832    ac_c_werror_flag=yes
   3833    ac_cv_prog_cc_g=no
   3834    CFLAGS="-g"
   3835    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3836 /* end confdefs.h.  */
   3837 
   3838 int
   3839 main ()
   3840 {
   3841 
   3842   ;
   3843   return 0;
   3844 }
   3845 _ACEOF
   3846 if ac_fn_c_try_compile "$LINENO"; then :
   3847   ac_cv_prog_cc_g=yes
   3848 else
   3849   CFLAGS=""
   3850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3851 /* end confdefs.h.  */
   3852 
   3853 int
   3854 main ()
   3855 {
   3856 
   3857   ;
   3858   return 0;
   3859 }
   3860 _ACEOF
   3861 if ac_fn_c_try_compile "$LINENO"; then :
   3862 
   3863 else
   3864   ac_c_werror_flag=$ac_save_c_werror_flag
   3865 	 CFLAGS="-g"
   3866 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3867 /* end confdefs.h.  */
   3868 
   3869 int
   3870 main ()
   3871 {
   3872 
   3873   ;
   3874   return 0;
   3875 }
   3876 _ACEOF
   3877 if ac_fn_c_try_compile "$LINENO"; then :
   3878   ac_cv_prog_cc_g=yes
   3879 fi
   3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3881 fi
   3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3883 fi
   3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3885    ac_c_werror_flag=$ac_save_c_werror_flag
   3886 fi
   3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3888 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3889 if test "$ac_test_CFLAGS" = set; then
   3890   CFLAGS=$ac_save_CFLAGS
   3891 elif test $ac_cv_prog_cc_g = yes; then
   3892   if test "$GCC" = yes; then
   3893     CFLAGS="-g -O2"
   3894   else
   3895     CFLAGS="-g"
   3896   fi
   3897 else
   3898   if test "$GCC" = yes; then
   3899     CFLAGS="-O2"
   3900   else
   3901     CFLAGS=
   3902   fi
   3903 fi
   3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3905 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3906 if ${ac_cv_prog_cc_c89+:} false; then :
   3907   $as_echo_n "(cached) " >&6
   3908 else
   3909   ac_cv_prog_cc_c89=no
   3910 ac_save_CC=$CC
   3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3912 /* end confdefs.h.  */
   3913 #include <stdarg.h>
   3914 #include <stdio.h>
   3915 struct stat;
   3916 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3917 struct buf { int x; };
   3918 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3919 static char *e (p, i)
   3920      char **p;
   3921      int i;
   3922 {
   3923   return p[i];
   3924 }
   3925 static char *f (char * (*g) (char **, int), char **p, ...)
   3926 {
   3927   char *s;
   3928   va_list v;
   3929   va_start (v,p);
   3930   s = g (p, va_arg (v,int));
   3931   va_end (v);
   3932   return s;
   3933 }
   3934 
   3935 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3936    function prototypes and stuff, but not '\xHH' hex character constants.
   3937    These don't provoke an error unfortunately, instead are silently treated
   3938    as 'x'.  The following induces an error, until -std is added to get
   3939    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3940    array size at least.  It's necessary to write '\x00'==0 to get something
   3941    that's true only with -std.  */
   3942 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3943 
   3944 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3945    inside strings and character constants.  */
   3946 #define FOO(x) 'x'
   3947 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3948 
   3949 int test (int i, double x);
   3950 struct s1 {int (*f) (int a);};
   3951 struct s2 {int (*f) (double a);};
   3952 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3953 int argc;
   3954 char **argv;
   3955 int
   3956 main ()
   3957 {
   3958 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3959   ;
   3960   return 0;
   3961 }
   3962 _ACEOF
   3963 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3964 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3965 do
   3966   CC="$ac_save_CC $ac_arg"
   3967   if ac_fn_c_try_compile "$LINENO"; then :
   3968   ac_cv_prog_cc_c89=$ac_arg
   3969 fi
   3970 rm -f core conftest.err conftest.$ac_objext
   3971   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3972 done
   3973 rm -f conftest.$ac_ext
   3974 CC=$ac_save_CC
   3975 
   3976 fi
   3977 # AC_CACHE_VAL
   3978 case "x$ac_cv_prog_cc_c89" in
   3979   x)
   3980     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3981 $as_echo "none needed" >&6; } ;;
   3982   xno)
   3983     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3984 $as_echo "unsupported" >&6; } ;;
   3985   *)
   3986     CC="$CC $ac_cv_prog_cc_c89"
   3987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3988 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3989 esac
   3990 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3991 
   3992 fi
   3993 
   3994 ac_ext=c
   3995 ac_cpp='$CPP $CPPFLAGS'
   3996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3999 
   4000 ac_ext=c
   4001 ac_cpp='$CPP $CPPFLAGS'
   4002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4006 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4007 if ${am_cv_prog_cc_c_o+:} false; then :
   4008   $as_echo_n "(cached) " >&6
   4009 else
   4010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4011 /* end confdefs.h.  */
   4012 
   4013 int
   4014 main ()
   4015 {
   4016 
   4017   ;
   4018   return 0;
   4019 }
   4020 _ACEOF
   4021   # Make sure it works both with $CC and with simple cc.
   4022   # Following AC_PROG_CC_C_O, we do the test twice because some
   4023   # compilers refuse to overwrite an existing .o file with -o,
   4024   # though they will create one.
   4025   am_cv_prog_cc_c_o=yes
   4026   for am_i in 1 2; do
   4027     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4028    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4029    ac_status=$?
   4030    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4031    (exit $ac_status); } \
   4032          && test -f conftest2.$ac_objext; then
   4033       : OK
   4034     else
   4035       am_cv_prog_cc_c_o=no
   4036       break
   4037     fi
   4038   done
   4039   rm -f core conftest*
   4040   unset am_i
   4041 fi
   4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4043 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4044 if test "$am_cv_prog_cc_c_o" != yes; then
   4045    # Losing compiler, so override with the script.
   4046    # FIXME: It is wrong to rewrite CC.
   4047    # But if we don't then we get into trouble of one sort or another.
   4048    # A longer-term fix would be to have automake use am__CC in this case,
   4049    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4050    CC="$am_aux_dir/compile $CC"
   4051 fi
   4052 ac_ext=c
   4053 ac_cpp='$CPP $CPPFLAGS'
   4054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4057 
   4058 
   4059 depcc="$CC"   am_compiler_list=
   4060 
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4062 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4063 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4064   $as_echo_n "(cached) " >&6
   4065 else
   4066   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4067   # We make a subdir and do the tests there.  Otherwise we can end up
   4068   # making bogus files that we don't know about and never remove.  For
   4069   # instance it was reported that on HP-UX the gcc test will end up
   4070   # making a dummy file named 'D' -- because '-MD' means "put the output
   4071   # in D".
   4072   rm -rf conftest.dir
   4073   mkdir conftest.dir
   4074   # Copy depcomp to subdir because otherwise we won't find it if we're
   4075   # using a relative directory.
   4076   cp "$am_depcomp" conftest.dir
   4077   cd conftest.dir
   4078   # We will build objects and dependencies in a subdirectory because
   4079   # it helps to detect inapplicable dependency modes.  For instance
   4080   # both Tru64's cc and ICC support -MD to output dependencies as a
   4081   # side effect of compilation, but ICC will put the dependencies in
   4082   # the current directory while Tru64 will put them in the object
   4083   # directory.
   4084   mkdir sub
   4085 
   4086   am_cv_CC_dependencies_compiler_type=none
   4087   if test "$am_compiler_list" = ""; then
   4088      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4089   fi
   4090   am__universal=false
   4091   case " $depcc " in #(
   4092      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4093      esac
   4094 
   4095   for depmode in $am_compiler_list; do
   4096     # Setup a source with many dependencies, because some compilers
   4097     # like to wrap large dependency lists on column 80 (with \), and
   4098     # we should not choose a depcomp mode which is confused by this.
   4099     #
   4100     # We need to recreate these files for each test, as the compiler may
   4101     # overwrite some of them when testing with obscure command lines.
   4102     # This happens at least with the AIX C compiler.
   4103     : > sub/conftest.c
   4104     for i in 1 2 3 4 5 6; do
   4105       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4106       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4107       # Solaris 10 /bin/sh.
   4108       echo '/* dummy */' > sub/conftst$i.h
   4109     done
   4110     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4111 
   4112     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4113     # mode.  It turns out that the SunPro C++ compiler does not properly
   4114     # handle '-M -o', and we need to detect this.  Also, some Intel
   4115     # versions had trouble with output in subdirs.
   4116     am__obj=sub/conftest.${OBJEXT-o}
   4117     am__minus_obj="-o $am__obj"
   4118     case $depmode in
   4119     gcc)
   4120       # This depmode causes a compiler race in universal mode.
   4121       test "$am__universal" = false || continue
   4122       ;;
   4123     nosideeffect)
   4124       # After this tag, mechanisms are not by side-effect, so they'll
   4125       # only be used when explicitly requested.
   4126       if test "x$enable_dependency_tracking" = xyes; then
   4127 	continue
   4128       else
   4129 	break
   4130       fi
   4131       ;;
   4132     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4133       # This compiler won't grok '-c -o', but also, the minuso test has
   4134       # not run yet.  These depmodes are late enough in the game, and
   4135       # so weak that their functioning should not be impacted.
   4136       am__obj=conftest.${OBJEXT-o}
   4137       am__minus_obj=
   4138       ;;
   4139     none) break ;;
   4140     esac
   4141     if depmode=$depmode \
   4142        source=sub/conftest.c object=$am__obj \
   4143        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4144        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4145          >/dev/null 2>conftest.err &&
   4146        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4147        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4148        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4149        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4150       # icc doesn't choke on unknown options, it will just issue warnings
   4151       # or remarks (even with -Werror).  So we grep stderr for any message
   4152       # that says an option was ignored or not supported.
   4153       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4154       #   icc: Command line warning: ignoring option '-M'; no argument required
   4155       # The diagnosis changed in icc 8.0:
   4156       #   icc: Command line remark: option '-MP' not supported
   4157       if (grep 'ignoring option' conftest.err ||
   4158           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4159         am_cv_CC_dependencies_compiler_type=$depmode
   4160         break
   4161       fi
   4162     fi
   4163   done
   4164 
   4165   cd ..
   4166   rm -rf conftest.dir
   4167 else
   4168   am_cv_CC_dependencies_compiler_type=none
   4169 fi
   4170 
   4171 fi
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4173 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4174 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4175 
   4176  if
   4177   test "x$enable_dependency_tracking" != xno \
   4178   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4179   am__fastdepCC_TRUE=
   4180   am__fastdepCC_FALSE='#'
   4181 else
   4182   am__fastdepCC_TRUE='#'
   4183   am__fastdepCC_FALSE=
   4184 fi
   4185 
   4186 
   4187 
   4188 ac_ext=c
   4189 ac_cpp='$CPP $CPPFLAGS'
   4190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4194 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4195 # On Suns, sometimes $CPP names a directory.
   4196 if test -n "$CPP" && test -d "$CPP"; then
   4197   CPP=
   4198 fi
   4199 if test -z "$CPP"; then
   4200   if ${ac_cv_prog_CPP+:} false; then :
   4201   $as_echo_n "(cached) " >&6
   4202 else
   4203       # Double quotes because CPP needs to be expanded
   4204     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4205     do
   4206       ac_preproc_ok=false
   4207 for ac_c_preproc_warn_flag in '' yes
   4208 do
   4209   # Use a header file that comes with gcc, so configuring glibc
   4210   # with a fresh cross-compiler works.
   4211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4212   # <limits.h> exists even on freestanding compilers.
   4213   # On the NeXT, cc -E runs the code through the compiler's parser,
   4214   # not just through cpp. "Syntax error" is here to catch this case.
   4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4216 /* end confdefs.h.  */
   4217 #ifdef __STDC__
   4218 # include <limits.h>
   4219 #else
   4220 # include <assert.h>
   4221 #endif
   4222 		     Syntax error
   4223 _ACEOF
   4224 if ac_fn_c_try_cpp "$LINENO"; then :
   4225 
   4226 else
   4227   # Broken: fails on valid input.
   4228 continue
   4229 fi
   4230 rm -f conftest.err conftest.i conftest.$ac_ext
   4231 
   4232   # OK, works on sane cases.  Now check whether nonexistent headers
   4233   # can be detected and how.
   4234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4235 /* end confdefs.h.  */
   4236 #include <ac_nonexistent.h>
   4237 _ACEOF
   4238 if ac_fn_c_try_cpp "$LINENO"; then :
   4239   # Broken: success on invalid input.
   4240 continue
   4241 else
   4242   # Passes both tests.
   4243 ac_preproc_ok=:
   4244 break
   4245 fi
   4246 rm -f conftest.err conftest.i conftest.$ac_ext
   4247 
   4248 done
   4249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4250 rm -f conftest.i conftest.err conftest.$ac_ext
   4251 if $ac_preproc_ok; then :
   4252   break
   4253 fi
   4254 
   4255     done
   4256     ac_cv_prog_CPP=$CPP
   4257 
   4258 fi
   4259   CPP=$ac_cv_prog_CPP
   4260 else
   4261   ac_cv_prog_CPP=$CPP
   4262 fi
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4264 $as_echo "$CPP" >&6; }
   4265 ac_preproc_ok=false
   4266 for ac_c_preproc_warn_flag in '' yes
   4267 do
   4268   # Use a header file that comes with gcc, so configuring glibc
   4269   # with a fresh cross-compiler works.
   4270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4271   # <limits.h> exists even on freestanding compilers.
   4272   # On the NeXT, cc -E runs the code through the compiler's parser,
   4273   # not just through cpp. "Syntax error" is here to catch this case.
   4274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4275 /* end confdefs.h.  */
   4276 #ifdef __STDC__
   4277 # include <limits.h>
   4278 #else
   4279 # include <assert.h>
   4280 #endif
   4281 		     Syntax error
   4282 _ACEOF
   4283 if ac_fn_c_try_cpp "$LINENO"; then :
   4284 
   4285 else
   4286   # Broken: fails on valid input.
   4287 continue
   4288 fi
   4289 rm -f conftest.err conftest.i conftest.$ac_ext
   4290 
   4291   # OK, works on sane cases.  Now check whether nonexistent headers
   4292   # can be detected and how.
   4293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 #include <ac_nonexistent.h>
   4296 _ACEOF
   4297 if ac_fn_c_try_cpp "$LINENO"; then :
   4298   # Broken: success on invalid input.
   4299 continue
   4300 else
   4301   # Passes both tests.
   4302 ac_preproc_ok=:
   4303 break
   4304 fi
   4305 rm -f conftest.err conftest.i conftest.$ac_ext
   4306 
   4307 done
   4308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4309 rm -f conftest.i conftest.err conftest.$ac_ext
   4310 if $ac_preproc_ok; then :
   4311 
   4312 else
   4313   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4315 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4316 See \`config.log' for more details" "$LINENO" 5; }
   4317 fi
   4318 
   4319 ac_ext=c
   4320 ac_cpp='$CPP $CPPFLAGS'
   4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4324 
   4325 
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4327 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4328 if ${ac_cv_path_GREP+:} false; then :
   4329   $as_echo_n "(cached) " >&6
   4330 else
   4331   if test -z "$GREP"; then
   4332   ac_path_GREP_found=false
   4333   # Loop through the user's path and test for each of PROGNAME-LIST
   4334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4336 do
   4337   IFS=$as_save_IFS
   4338   test -z "$as_dir" && as_dir=.
   4339     for ac_prog in grep ggrep; do
   4340     for ac_exec_ext in '' $ac_executable_extensions; do
   4341       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4342       as_fn_executable_p "$ac_path_GREP" || continue
   4343 # Check for GNU ac_path_GREP and select it if it is found.
   4344   # Check for GNU $ac_path_GREP
   4345 case `"$ac_path_GREP" --version 2>&1` in
   4346 *GNU*)
   4347   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4348 *)
   4349   ac_count=0
   4350   $as_echo_n 0123456789 >"conftest.in"
   4351   while :
   4352   do
   4353     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4354     mv "conftest.tmp" "conftest.in"
   4355     cp "conftest.in" "conftest.nl"
   4356     $as_echo 'GREP' >> "conftest.nl"
   4357     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4358     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4359     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4360     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4361       # Best one so far, save it but keep looking for a better one
   4362       ac_cv_path_GREP="$ac_path_GREP"
   4363       ac_path_GREP_max=$ac_count
   4364     fi
   4365     # 10*(2^10) chars as input seems more than enough
   4366     test $ac_count -gt 10 && break
   4367   done
   4368   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4369 esac
   4370 
   4371       $ac_path_GREP_found && break 3
   4372     done
   4373   done
   4374   done
   4375 IFS=$as_save_IFS
   4376   if test -z "$ac_cv_path_GREP"; then
   4377     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4378   fi
   4379 else
   4380   ac_cv_path_GREP=$GREP
   4381 fi
   4382 
   4383 fi
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4385 $as_echo "$ac_cv_path_GREP" >&6; }
   4386  GREP="$ac_cv_path_GREP"
   4387 
   4388 
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4390 $as_echo_n "checking for egrep... " >&6; }
   4391 if ${ac_cv_path_EGREP+:} false; then :
   4392   $as_echo_n "(cached) " >&6
   4393 else
   4394   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4395    then ac_cv_path_EGREP="$GREP -E"
   4396    else
   4397      if test -z "$EGREP"; then
   4398   ac_path_EGREP_found=false
   4399   # Loop through the user's path and test for each of PROGNAME-LIST
   4400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4401 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4402 do
   4403   IFS=$as_save_IFS
   4404   test -z "$as_dir" && as_dir=.
   4405     for ac_prog in egrep; do
   4406     for ac_exec_ext in '' $ac_executable_extensions; do
   4407       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4408       as_fn_executable_p "$ac_path_EGREP" || continue
   4409 # Check for GNU ac_path_EGREP and select it if it is found.
   4410   # Check for GNU $ac_path_EGREP
   4411 case `"$ac_path_EGREP" --version 2>&1` in
   4412 *GNU*)
   4413   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4414 *)
   4415   ac_count=0
   4416   $as_echo_n 0123456789 >"conftest.in"
   4417   while :
   4418   do
   4419     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4420     mv "conftest.tmp" "conftest.in"
   4421     cp "conftest.in" "conftest.nl"
   4422     $as_echo 'EGREP' >> "conftest.nl"
   4423     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4424     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4425     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4426     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4427       # Best one so far, save it but keep looking for a better one
   4428       ac_cv_path_EGREP="$ac_path_EGREP"
   4429       ac_path_EGREP_max=$ac_count
   4430     fi
   4431     # 10*(2^10) chars as input seems more than enough
   4432     test $ac_count -gt 10 && break
   4433   done
   4434   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4435 esac
   4436 
   4437       $ac_path_EGREP_found && break 3
   4438     done
   4439   done
   4440   done
   4441 IFS=$as_save_IFS
   4442   if test -z "$ac_cv_path_EGREP"; then
   4443     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4444   fi
   4445 else
   4446   ac_cv_path_EGREP=$EGREP
   4447 fi
   4448 
   4449    fi
   4450 fi
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4452 $as_echo "$ac_cv_path_EGREP" >&6; }
   4453  EGREP="$ac_cv_path_EGREP"
   4454 
   4455 
   4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4457 $as_echo_n "checking for ANSI C header files... " >&6; }
   4458 if ${ac_cv_header_stdc+:} false; then :
   4459   $as_echo_n "(cached) " >&6
   4460 else
   4461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4462 /* end confdefs.h.  */
   4463 #include <stdlib.h>
   4464 #include <stdarg.h>
   4465 #include <string.h>
   4466 #include <float.h>
   4467 
   4468 int
   4469 main ()
   4470 {
   4471 
   4472   ;
   4473   return 0;
   4474 }
   4475 _ACEOF
   4476 if ac_fn_c_try_compile "$LINENO"; then :
   4477   ac_cv_header_stdc=yes
   4478 else
   4479   ac_cv_header_stdc=no
   4480 fi
   4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4482 
   4483 if test $ac_cv_header_stdc = yes; then
   4484   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 #include <string.h>
   4488 
   4489 _ACEOF
   4490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4491   $EGREP "memchr" >/dev/null 2>&1; then :
   4492 
   4493 else
   4494   ac_cv_header_stdc=no
   4495 fi
   4496 rm -f conftest*
   4497 
   4498 fi
   4499 
   4500 if test $ac_cv_header_stdc = yes; then
   4501   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4503 /* end confdefs.h.  */
   4504 #include <stdlib.h>
   4505 
   4506 _ACEOF
   4507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4508   $EGREP "free" >/dev/null 2>&1; then :
   4509 
   4510 else
   4511   ac_cv_header_stdc=no
   4512 fi
   4513 rm -f conftest*
   4514 
   4515 fi
   4516 
   4517 if test $ac_cv_header_stdc = yes; then
   4518   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4519   if test "$cross_compiling" = yes; then :
   4520   :
   4521 else
   4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4523 /* end confdefs.h.  */
   4524 #include <ctype.h>
   4525 #include <stdlib.h>
   4526 #if ((' ' & 0x0FF) == 0x020)
   4527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4529 #else
   4530 # define ISLOWER(c) \
   4531 		   (('a' <= (c) && (c) <= 'i') \
   4532 		     || ('j' <= (c) && (c) <= 'r') \
   4533 		     || ('s' <= (c) && (c) <= 'z'))
   4534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4535 #endif
   4536 
   4537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4538 int
   4539 main ()
   4540 {
   4541   int i;
   4542   for (i = 0; i < 256; i++)
   4543     if (XOR (islower (i), ISLOWER (i))
   4544 	|| toupper (i) != TOUPPER (i))
   4545       return 2;
   4546   return 0;
   4547 }
   4548 _ACEOF
   4549 if ac_fn_c_try_run "$LINENO"; then :
   4550 
   4551 else
   4552   ac_cv_header_stdc=no
   4553 fi
   4554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4555   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4556 fi
   4557 
   4558 fi
   4559 fi
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4561 $as_echo "$ac_cv_header_stdc" >&6; }
   4562 if test $ac_cv_header_stdc = yes; then
   4563 
   4564 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4565 
   4566 fi
   4567 
   4568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4569 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4570 		  inttypes.h stdint.h unistd.h
   4571 do :
   4572   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4573 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4574 "
   4575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4576   cat >>confdefs.h <<_ACEOF
   4577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4578 _ACEOF
   4579 
   4580 fi
   4581 
   4582 done
   4583 
   4584 
   4585 
   4586   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4587 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4588   MINIX=yes
   4589 else
   4590   MINIX=
   4591 fi
   4592 
   4593 
   4594   if test "$MINIX" = yes; then
   4595 
   4596 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4597 
   4598 
   4599 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4600 
   4601 
   4602 $as_echo "#define _MINIX 1" >>confdefs.h
   4603 
   4604   fi
   4605 
   4606 
   4607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4608 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4609 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4610   $as_echo_n "(cached) " >&6
   4611 else
   4612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4613 /* end confdefs.h.  */
   4614 
   4615 #         define __EXTENSIONS__ 1
   4616           $ac_includes_default
   4617 int
   4618 main ()
   4619 {
   4620 
   4621   ;
   4622   return 0;
   4623 }
   4624 _ACEOF
   4625 if ac_fn_c_try_compile "$LINENO"; then :
   4626   ac_cv_safe_to_define___extensions__=yes
   4627 else
   4628   ac_cv_safe_to_define___extensions__=no
   4629 fi
   4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4631 fi
   4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4633 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4634   test $ac_cv_safe_to_define___extensions__ = yes &&
   4635     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4636 
   4637   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4638 
   4639   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4640 
   4641   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4642 
   4643   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653         if test -n "$PYTHON"; then
   4654       # If the user set $PYTHON, use it and don't search something else.
   4655       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
   4656 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
   4657       prog="import sys
   4658 # split strings by '.' and convert to numeric.  Append some zeros
   4659 # because we need at least 4 digits for the hex conversion.
   4660 # map returns an iterator in Python 3.0 and a list in 2.x
   4661 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   4662 minverhex = 0
   4663 # xrange is not present in Python 3.0 and range returns an iterator
   4664 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   4665 sys.exit(sys.hexversion < minverhex)"
   4666   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   4667    ($PYTHON -c "$prog") >&5 2>&5
   4668    ac_status=$?
   4669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4670    (exit $ac_status); }; then :
   4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4672 $as_echo "yes" >&6; }
   4673 else
   4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4675 $as_echo "no" >&6; }
   4676 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   4677 fi
   4678       am_display_PYTHON=$PYTHON
   4679     else
   4680       # Otherwise, try each interpreter until we find one that satisfies
   4681       # VERSION.
   4682       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
   4683 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
   4684 if ${am_cv_pathless_PYTHON+:} false; then :
   4685   $as_echo_n "(cached) " >&6
   4686 else
   4687 
   4688 	for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
   4689 	  test "$am_cv_pathless_PYTHON" = none && break
   4690 	  prog="import sys
   4691 # split strings by '.' and convert to numeric.  Append some zeros
   4692 # because we need at least 4 digits for the hex conversion.
   4693 # map returns an iterator in Python 3.0 and a list in 2.x
   4694 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   4695 minverhex = 0
   4696 # xrange is not present in Python 3.0 and range returns an iterator
   4697 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   4698 sys.exit(sys.hexversion < minverhex)"
   4699   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   4700    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   4701    ac_status=$?
   4702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4703    (exit $ac_status); }; then :
   4704   break
   4705 fi
   4706 	done
   4707 fi
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   4709 $as_echo "$am_cv_pathless_PYTHON" >&6; }
   4710       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   4711       if test "$am_cv_pathless_PYTHON" = none; then
   4712 	PYTHON=:
   4713       else
   4714         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   4715 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4717 $as_echo_n "checking for $ac_word... " >&6; }
   4718 if ${ac_cv_path_PYTHON+:} false; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721   case $PYTHON in
   4722   [\\/]* | ?:[\\/]*)
   4723   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   4724   ;;
   4725   *)
   4726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4727 for as_dir in $PATH
   4728 do
   4729   IFS=$as_save_IFS
   4730   test -z "$as_dir" && as_dir=.
   4731     for ac_exec_ext in '' $ac_executable_extensions; do
   4732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4733     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
   4734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4735     break 2
   4736   fi
   4737 done
   4738   done
   4739 IFS=$as_save_IFS
   4740 
   4741   ;;
   4742 esac
   4743 fi
   4744 PYTHON=$ac_cv_path_PYTHON
   4745 if test -n "$PYTHON"; then
   4746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   4747 $as_echo "$PYTHON" >&6; }
   4748 else
   4749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4750 $as_echo "no" >&6; }
   4751 fi
   4752 
   4753 
   4754       fi
   4755       am_display_PYTHON=$am_cv_pathless_PYTHON
   4756     fi
   4757 
   4758 
   4759   if test "$PYTHON" = :; then
   4760       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   4761   else
   4762 
   4763 
   4764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   4765 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
   4766 if ${am_cv_python_version+:} false; then :
   4767   $as_echo_n "(cached) " >&6
   4768 else
   4769   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
   4770 fi
   4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   4772 $as_echo "$am_cv_python_version" >&6; }
   4773   PYTHON_VERSION=$am_cv_python_version
   4774 
   4775 
   4776 
   4777   PYTHON_PREFIX='${prefix}'
   4778 
   4779   PYTHON_EXEC_PREFIX='${exec_prefix}'
   4780 
   4781 
   4782 
   4783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   4784 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
   4785 if ${am_cv_python_platform+:} false; then :
   4786   $as_echo_n "(cached) " >&6
   4787 else
   4788   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   4789 fi
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   4791 $as_echo "$am_cv_python_platform" >&6; }
   4792   PYTHON_PLATFORM=$am_cv_python_platform
   4793 
   4794 
   4795   # Just factor out some code duplication.
   4796   am_python_setup_sysconfig="\
   4797 import sys
   4798 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   4799 # with python 3.x.  See automake bug#10227.
   4800 try:
   4801     import sysconfig
   4802 except ImportError:
   4803     can_use_sysconfig = 0
   4804 else:
   4805     can_use_sysconfig = 1
   4806 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   4807 # <https://github.com/pypa/virtualenv/issues/118>
   4808 try:
   4809     from platform import python_implementation
   4810     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   4811         can_use_sysconfig = 0
   4812 except ImportError:
   4813     pass"
   4814 
   4815 
   4816             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
   4817 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
   4818 if ${am_cv_python_pythondir+:} false; then :
   4819   $as_echo_n "(cached) " >&6
   4820 else
   4821   if test "x$prefix" = xNONE
   4822      then
   4823        am_py_prefix=$ac_default_prefix
   4824      else
   4825        am_py_prefix=$prefix
   4826      fi
   4827      am_cv_python_pythondir=`$PYTHON -c "
   4828 $am_python_setup_sysconfig
   4829 if can_use_sysconfig:
   4830     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   4831 else:
   4832     from distutils import sysconfig
   4833     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   4834 sys.stdout.write(sitedir)"`
   4835      case $am_cv_python_pythondir in
   4836      $am_py_prefix*)
   4837        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   4838        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
   4839        ;;
   4840      *)
   4841        case $am_py_prefix in
   4842          /usr|/System*) ;;
   4843          *)
   4844 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
   4845 	  ;;
   4846        esac
   4847        ;;
   4848      esac
   4849 
   4850 fi
   4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   4852 $as_echo "$am_cv_python_pythondir" >&6; }
   4853   pythondir=$am_cv_python_pythondir
   4854 
   4855 
   4856 
   4857   pkgpythondir=\${pythondir}/$PACKAGE
   4858 
   4859 
   4860         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
   4861 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
   4862 if ${am_cv_python_pyexecdir+:} false; then :
   4863   $as_echo_n "(cached) " >&6
   4864 else
   4865   if test "x$exec_prefix" = xNONE
   4866      then
   4867        am_py_exec_prefix=$am_py_prefix
   4868      else
   4869        am_py_exec_prefix=$exec_prefix
   4870      fi
   4871      am_cv_python_pyexecdir=`$PYTHON -c "
   4872 $am_python_setup_sysconfig
   4873 if can_use_sysconfig:
   4874     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
   4875 else:
   4876     from distutils import sysconfig
   4877     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
   4878 sys.stdout.write(sitedir)"`
   4879      case $am_cv_python_pyexecdir in
   4880      $am_py_exec_prefix*)
   4881        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   4882        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
   4883        ;;
   4884      *)
   4885        case $am_py_exec_prefix in
   4886          /usr|/System*) ;;
   4887          *)
   4888 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
   4889 	   ;;
   4890        esac
   4891        ;;
   4892      esac
   4893 
   4894 fi
   4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   4896 $as_echo "$am_cv_python_pyexecdir" >&6; }
   4897   pyexecdir=$am_cv_python_pyexecdir
   4898 
   4899 
   4900 
   4901   pkgpyexecdir=\${pyexecdir}/$PACKAGE
   4902 
   4903 
   4904 
   4905   fi
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4917 	if test -n "$ac_tool_prefix"; then
   4918   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4921 $as_echo_n "checking for $ac_word... " >&6; }
   4922 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   case $PKG_CONFIG in
   4926   [\\/]* | ?:[\\/]*)
   4927   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4928   ;;
   4929   *)
   4930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4931 for as_dir in $PATH
   4932 do
   4933   IFS=$as_save_IFS
   4934   test -z "$as_dir" && as_dir=.
   4935     for ac_exec_ext in '' $ac_executable_extensions; do
   4936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4937     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4939     break 2
   4940   fi
   4941 done
   4942   done
   4943 IFS=$as_save_IFS
   4944 
   4945   ;;
   4946 esac
   4947 fi
   4948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4949 if test -n "$PKG_CONFIG"; then
   4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4951 $as_echo "$PKG_CONFIG" >&6; }
   4952 else
   4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4954 $as_echo "no" >&6; }
   4955 fi
   4956 
   4957 
   4958 fi
   4959 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4960   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4961   # Extract the first word of "pkg-config", so it can be a program name with args.
   4962 set dummy pkg-config; ac_word=$2
   4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4964 $as_echo_n "checking for $ac_word... " >&6; }
   4965 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4966   $as_echo_n "(cached) " >&6
   4967 else
   4968   case $ac_pt_PKG_CONFIG in
   4969   [\\/]* | ?:[\\/]*)
   4970   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4971   ;;
   4972   *)
   4973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4974 for as_dir in $PATH
   4975 do
   4976   IFS=$as_save_IFS
   4977   test -z "$as_dir" && as_dir=.
   4978     for ac_exec_ext in '' $ac_executable_extensions; do
   4979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4980     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4982     break 2
   4983   fi
   4984 done
   4985   done
   4986 IFS=$as_save_IFS
   4987 
   4988   ;;
   4989 esac
   4990 fi
   4991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4992 if test -n "$ac_pt_PKG_CONFIG"; then
   4993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4994 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4995 else
   4996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4997 $as_echo "no" >&6; }
   4998 fi
   4999 
   5000   if test "x$ac_pt_PKG_CONFIG" = x; then
   5001     PKG_CONFIG=""
   5002   else
   5003     case $cross_compiling:$ac_tool_warned in
   5004 yes:)
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5007 ac_tool_warned=yes ;;
   5008 esac
   5009     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5010   fi
   5011 else
   5012   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5013 fi
   5014 
   5015 fi
   5016 if test -n "$PKG_CONFIG"; then
   5017 	_pkg_min_version=0.9.0
   5018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5019 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5020 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5022 $as_echo "yes" >&6; }
   5023 	else
   5024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5025 $as_echo "no" >&6; }
   5026 		PKG_CONFIG=""
   5027 	fi
   5028 fi
   5029 
   5030 pkg_failed=no
   5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
   5032 $as_echo_n "checking for CHECK... " >&6; }
   5033 
   5034 if test -n "$CHECK_CFLAGS"; then
   5035     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
   5036  elif test -n "$PKG_CONFIG"; then
   5037     if test -n "$PKG_CONFIG" && \
   5038     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   5039   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   5040   ac_status=$?
   5041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5042   test $ac_status = 0; }; then
   5043   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
   5044 		      test "x$?" != "x0" && pkg_failed=yes
   5045 else
   5046   pkg_failed=yes
   5047 fi
   5048  else
   5049     pkg_failed=untried
   5050 fi
   5051 if test -n "$CHECK_LIBS"; then
   5052     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
   5053  elif test -n "$PKG_CONFIG"; then
   5054     if test -n "$PKG_CONFIG" && \
   5055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   5056   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   5057   ac_status=$?
   5058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5059   test $ac_status = 0; }; then
   5060   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
   5061 		      test "x$?" != "x0" && pkg_failed=yes
   5062 else
   5063   pkg_failed=yes
   5064 fi
   5065  else
   5066     pkg_failed=untried
   5067 fi
   5068 
   5069 
   5070 
   5071 if test $pkg_failed = yes; then
   5072    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5073 $as_echo "no" >&6; }
   5074 
   5075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5076         _pkg_short_errors_supported=yes
   5077 else
   5078         _pkg_short_errors_supported=no
   5079 fi
   5080         if test $_pkg_short_errors_supported = yes; then
   5081 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   5082         else
   5083 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   5084         fi
   5085 	# Put the nasty error message in config.log where it belongs
   5086 	echo "$CHECK_PKG_ERRORS" >&5
   5087 
   5088 	HAVE_CHECK=no
   5089 elif test $pkg_failed = untried; then
   5090      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5091 $as_echo "no" >&6; }
   5092 	HAVE_CHECK=no
   5093 else
   5094 	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
   5095 	CHECK_LIBS=$pkg_cv_CHECK_LIBS
   5096         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5097 $as_echo "yes" >&6; }
   5098 	HAVE_CHECK=yes
   5099 fi
   5100  if test x$HAVE_CHECK = xyes; then
   5101   HAVE_CHECK_TRUE=
   5102   HAVE_CHECK_FALSE='#'
   5103 else
   5104   HAVE_CHECK_TRUE='#'
   5105   HAVE_CHECK_FALSE=
   5106 fi
   5107 
   5108 
   5109 ac_config_headers="$ac_config_headers src/config.h"
   5110 
   5111 
   5112 # Make sure we can run config.sub.
   5113 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5114   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5115 
   5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5117 $as_echo_n "checking build system type... " >&6; }
   5118 if ${ac_cv_build+:} false; then :
   5119   $as_echo_n "(cached) " >&6
   5120 else
   5121   ac_build_alias=$build_alias
   5122 test "x$ac_build_alias" = x &&
   5123   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5124 test "x$ac_build_alias" = x &&
   5125   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5127   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5128 
   5129 fi
   5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5131 $as_echo "$ac_cv_build" >&6; }
   5132 case $ac_cv_build in
   5133 *-*-*) ;;
   5134 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5135 esac
   5136 build=$ac_cv_build
   5137 ac_save_IFS=$IFS; IFS='-'
   5138 set x $ac_cv_build
   5139 shift
   5140 build_cpu=$1
   5141 build_vendor=$2
   5142 shift; shift
   5143 # Remember, the first character of IFS is used to create $*,
   5144 # except with old shells:
   5145 build_os=$*
   5146 IFS=$ac_save_IFS
   5147 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5148 
   5149 
   5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5151 $as_echo_n "checking host system type... " >&6; }
   5152 if ${ac_cv_host+:} false; then :
   5153   $as_echo_n "(cached) " >&6
   5154 else
   5155   if test "x$host_alias" = x; then
   5156   ac_cv_host=$ac_cv_build
   5157 else
   5158   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5159     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5160 fi
   5161 
   5162 fi
   5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5164 $as_echo "$ac_cv_host" >&6; }
   5165 case $ac_cv_host in
   5166 *-*-*) ;;
   5167 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5168 esac
   5169 host=$ac_cv_host
   5170 ac_save_IFS=$IFS; IFS='-'
   5171 set x $ac_cv_host
   5172 shift
   5173 host_cpu=$1
   5174 host_vendor=$2
   5175 shift; shift
   5176 # Remember, the first character of IFS is used to create $*,
   5177 # except with old shells:
   5178 host_os=$*
   5179 IFS=$ac_save_IFS
   5180 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5181 
   5182 
   5183 enable_win32_dll=yes
   5184 
   5185 case $host in
   5186 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   5187   if test -n "$ac_tool_prefix"; then
   5188   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   5189 set dummy ${ac_tool_prefix}as; ac_word=$2
   5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5191 $as_echo_n "checking for $ac_word... " >&6; }
   5192 if ${ac_cv_prog_AS+:} false; then :
   5193   $as_echo_n "(cached) " >&6
   5194 else
   5195   if test -n "$AS"; then
   5196   ac_cv_prog_AS="$AS" # Let the user override the test.
   5197 else
   5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5199 for as_dir in $PATH
   5200 do
   5201   IFS=$as_save_IFS
   5202   test -z "$as_dir" && as_dir=.
   5203     for ac_exec_ext in '' $ac_executable_extensions; do
   5204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5205     ac_cv_prog_AS="${ac_tool_prefix}as"
   5206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5207     break 2
   5208   fi
   5209 done
   5210   done
   5211 IFS=$as_save_IFS
   5212 
   5213 fi
   5214 fi
   5215 AS=$ac_cv_prog_AS
   5216 if test -n "$AS"; then
   5217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   5218 $as_echo "$AS" >&6; }
   5219 else
   5220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5221 $as_echo "no" >&6; }
   5222 fi
   5223 
   5224 
   5225 fi
   5226 if test -z "$ac_cv_prog_AS"; then
   5227   ac_ct_AS=$AS
   5228   # Extract the first word of "as", so it can be a program name with args.
   5229 set dummy as; ac_word=$2
   5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5231 $as_echo_n "checking for $ac_word... " >&6; }
   5232 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   5233   $as_echo_n "(cached) " >&6
   5234 else
   5235   if test -n "$ac_ct_AS"; then
   5236   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   5237 else
   5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH
   5240 do
   5241   IFS=$as_save_IFS
   5242   test -z "$as_dir" && as_dir=.
   5243     for ac_exec_ext in '' $ac_executable_extensions; do
   5244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5245     ac_cv_prog_ac_ct_AS="as"
   5246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5247     break 2
   5248   fi
   5249 done
   5250   done
   5251 IFS=$as_save_IFS
   5252 
   5253 fi
   5254 fi
   5255 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   5256 if test -n "$ac_ct_AS"; then
   5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   5258 $as_echo "$ac_ct_AS" >&6; }
   5259 else
   5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5261 $as_echo "no" >&6; }
   5262 fi
   5263 
   5264   if test "x$ac_ct_AS" = x; then
   5265     AS="false"
   5266   else
   5267     case $cross_compiling:$ac_tool_warned in
   5268 yes:)
   5269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5271 ac_tool_warned=yes ;;
   5272 esac
   5273     AS=$ac_ct_AS
   5274   fi
   5275 else
   5276   AS="$ac_cv_prog_AS"
   5277 fi
   5278 
   5279   if test -n "$ac_tool_prefix"; then
   5280   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5281 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5283 $as_echo_n "checking for $ac_word... " >&6; }
   5284 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5285   $as_echo_n "(cached) " >&6
   5286 else
   5287   if test -n "$DLLTOOL"; then
   5288   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5289 else
   5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5291 for as_dir in $PATH
   5292 do
   5293   IFS=$as_save_IFS
   5294   test -z "$as_dir" && as_dir=.
   5295     for ac_exec_ext in '' $ac_executable_extensions; do
   5296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5297     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5299     break 2
   5300   fi
   5301 done
   5302   done
   5303 IFS=$as_save_IFS
   5304 
   5305 fi
   5306 fi
   5307 DLLTOOL=$ac_cv_prog_DLLTOOL
   5308 if test -n "$DLLTOOL"; then
   5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5310 $as_echo "$DLLTOOL" >&6; }
   5311 else
   5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5313 $as_echo "no" >&6; }
   5314 fi
   5315 
   5316 
   5317 fi
   5318 if test -z "$ac_cv_prog_DLLTOOL"; then
   5319   ac_ct_DLLTOOL=$DLLTOOL
   5320   # Extract the first word of "dlltool", so it can be a program name with args.
   5321 set dummy dlltool; ac_word=$2
   5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5323 $as_echo_n "checking for $ac_word... " >&6; }
   5324 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5325   $as_echo_n "(cached) " >&6
   5326 else
   5327   if test -n "$ac_ct_DLLTOOL"; then
   5328   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5329 else
   5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5331 for as_dir in $PATH
   5332 do
   5333   IFS=$as_save_IFS
   5334   test -z "$as_dir" && as_dir=.
   5335     for ac_exec_ext in '' $ac_executable_extensions; do
   5336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5337     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5339     break 2
   5340   fi
   5341 done
   5342   done
   5343 IFS=$as_save_IFS
   5344 
   5345 fi
   5346 fi
   5347 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5348 if test -n "$ac_ct_DLLTOOL"; then
   5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5350 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5351 else
   5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5353 $as_echo "no" >&6; }
   5354 fi
   5355 
   5356   if test "x$ac_ct_DLLTOOL" = x; then
   5357     DLLTOOL="false"
   5358   else
   5359     case $cross_compiling:$ac_tool_warned in
   5360 yes:)
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5363 ac_tool_warned=yes ;;
   5364 esac
   5365     DLLTOOL=$ac_ct_DLLTOOL
   5366   fi
   5367 else
   5368   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5369 fi
   5370 
   5371   if test -n "$ac_tool_prefix"; then
   5372   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5373 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5375 $as_echo_n "checking for $ac_word... " >&6; }
   5376 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5377   $as_echo_n "(cached) " >&6
   5378 else
   5379   if test -n "$OBJDUMP"; then
   5380   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5381 else
   5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5383 for as_dir in $PATH
   5384 do
   5385   IFS=$as_save_IFS
   5386   test -z "$as_dir" && as_dir=.
   5387     for ac_exec_ext in '' $ac_executable_extensions; do
   5388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5389     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5391     break 2
   5392   fi
   5393 done
   5394   done
   5395 IFS=$as_save_IFS
   5396 
   5397 fi
   5398 fi
   5399 OBJDUMP=$ac_cv_prog_OBJDUMP
   5400 if test -n "$OBJDUMP"; then
   5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5402 $as_echo "$OBJDUMP" >&6; }
   5403 else
   5404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5405 $as_echo "no" >&6; }
   5406 fi
   5407 
   5408 
   5409 fi
   5410 if test -z "$ac_cv_prog_OBJDUMP"; then
   5411   ac_ct_OBJDUMP=$OBJDUMP
   5412   # Extract the first word of "objdump", so it can be a program name with args.
   5413 set dummy objdump; ac_word=$2
   5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5415 $as_echo_n "checking for $ac_word... " >&6; }
   5416 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5417   $as_echo_n "(cached) " >&6
   5418 else
   5419   if test -n "$ac_ct_OBJDUMP"; then
   5420   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5421 else
   5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5423 for as_dir in $PATH
   5424 do
   5425   IFS=$as_save_IFS
   5426   test -z "$as_dir" && as_dir=.
   5427     for ac_exec_ext in '' $ac_executable_extensions; do
   5428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5429     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5431     break 2
   5432   fi
   5433 done
   5434   done
   5435 IFS=$as_save_IFS
   5436 
   5437 fi
   5438 fi
   5439 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5440 if test -n "$ac_ct_OBJDUMP"; then
   5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5442 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5443 else
   5444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5445 $as_echo "no" >&6; }
   5446 fi
   5447 
   5448   if test "x$ac_ct_OBJDUMP" = x; then
   5449     OBJDUMP="false"
   5450   else
   5451     case $cross_compiling:$ac_tool_warned in
   5452 yes:)
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5455 ac_tool_warned=yes ;;
   5456 esac
   5457     OBJDUMP=$ac_ct_OBJDUMP
   5458   fi
   5459 else
   5460   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5461 fi
   5462 
   5463   ;;
   5464 esac
   5465 
   5466 test -z "$AS" && AS=as
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 test -z "$OBJDUMP" && OBJDUMP=objdump
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 case `pwd` in
   5487   *\ * | *\	*)
   5488     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5489 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5490 esac
   5491 
   5492 
   5493 
   5494 macro_version='2.4.2'
   5495 macro_revision='1.3337'
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 ltmain="$ac_aux_dir/ltmain.sh"
   5510 
   5511 # Backslashify metacharacters that are still active within
   5512 # double-quoted strings.
   5513 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5514 
   5515 # Same as above, but do not quote variable references.
   5516 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5517 
   5518 # Sed substitution to delay expansion of an escaped shell variable in a
   5519 # double_quote_subst'ed string.
   5520 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5521 
   5522 # Sed substitution to delay expansion of an escaped single quote.
   5523 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5524 
   5525 # Sed substitution to avoid accidental globbing in evaled expressions
   5526 no_glob_subst='s/\*/\\\*/g'
   5527 
   5528 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5529 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5530 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5531 
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5533 $as_echo_n "checking how to print strings... " >&6; }
   5534 # Test print first, because it will be a builtin if present.
   5535 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5536    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5537   ECHO='print -r --'
   5538 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5539   ECHO='printf %s\n'
   5540 else
   5541   # Use this function as a fallback that always works.
   5542   func_fallback_echo ()
   5543   {
   5544     eval 'cat <<_LTECHO_EOF
   5545 $1
   5546 _LTECHO_EOF'
   5547   }
   5548   ECHO='func_fallback_echo'
   5549 fi
   5550 
   5551 # func_echo_all arg...
   5552 # Invoke $ECHO with all args, space-separated.
   5553 func_echo_all ()
   5554 {
   5555     $ECHO ""
   5556 }
   5557 
   5558 case "$ECHO" in
   5559   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5560 $as_echo "printf" >&6; } ;;
   5561   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5562 $as_echo "print -r" >&6; } ;;
   5563   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5564 $as_echo "cat" >&6; } ;;
   5565 esac
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5581 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5582 if ${ac_cv_path_SED+:} false; then :
   5583   $as_echo_n "(cached) " >&6
   5584 else
   5585             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5586      for ac_i in 1 2 3 4 5 6 7; do
   5587        ac_script="$ac_script$as_nl$ac_script"
   5588      done
   5589      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5590      { ac_script=; unset ac_script;}
   5591      if test -z "$SED"; then
   5592   ac_path_SED_found=false
   5593   # Loop through the user's path and test for each of PROGNAME-LIST
   5594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5595 for as_dir in $PATH
   5596 do
   5597   IFS=$as_save_IFS
   5598   test -z "$as_dir" && as_dir=.
   5599     for ac_prog in sed gsed; do
   5600     for ac_exec_ext in '' $ac_executable_extensions; do
   5601       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5602       as_fn_executable_p "$ac_path_SED" || continue
   5603 # Check for GNU ac_path_SED and select it if it is found.
   5604   # Check for GNU $ac_path_SED
   5605 case `"$ac_path_SED" --version 2>&1` in
   5606 *GNU*)
   5607   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5608 *)
   5609   ac_count=0
   5610   $as_echo_n 0123456789 >"conftest.in"
   5611   while :
   5612   do
   5613     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5614     mv "conftest.tmp" "conftest.in"
   5615     cp "conftest.in" "conftest.nl"
   5616     $as_echo '' >> "conftest.nl"
   5617     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5618     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5619     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5620     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5621       # Best one so far, save it but keep looking for a better one
   5622       ac_cv_path_SED="$ac_path_SED"
   5623       ac_path_SED_max=$ac_count
   5624     fi
   5625     # 10*(2^10) chars as input seems more than enough
   5626     test $ac_count -gt 10 && break
   5627   done
   5628   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5629 esac
   5630 
   5631       $ac_path_SED_found && break 3
   5632     done
   5633   done
   5634   done
   5635 IFS=$as_save_IFS
   5636   if test -z "$ac_cv_path_SED"; then
   5637     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5638   fi
   5639 else
   5640   ac_cv_path_SED=$SED
   5641 fi
   5642 
   5643 fi
   5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5645 $as_echo "$ac_cv_path_SED" >&6; }
   5646  SED="$ac_cv_path_SED"
   5647   rm -f conftest.sed
   5648 
   5649 test -z "$SED" && SED=sed
   5650 Xsed="$SED -e 1s/^X//"
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5663 $as_echo_n "checking for fgrep... " >&6; }
   5664 if ${ac_cv_path_FGREP+:} false; then :
   5665   $as_echo_n "(cached) " >&6
   5666 else
   5667   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5668    then ac_cv_path_FGREP="$GREP -F"
   5669    else
   5670      if test -z "$FGREP"; then
   5671   ac_path_FGREP_found=false
   5672   # Loop through the user's path and test for each of PROGNAME-LIST
   5673   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5675 do
   5676   IFS=$as_save_IFS
   5677   test -z "$as_dir" && as_dir=.
   5678     for ac_prog in fgrep; do
   5679     for ac_exec_ext in '' $ac_executable_extensions; do
   5680       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5681       as_fn_executable_p "$ac_path_FGREP" || continue
   5682 # Check for GNU ac_path_FGREP and select it if it is found.
   5683   # Check for GNU $ac_path_FGREP
   5684 case `"$ac_path_FGREP" --version 2>&1` in
   5685 *GNU*)
   5686   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5687 *)
   5688   ac_count=0
   5689   $as_echo_n 0123456789 >"conftest.in"
   5690   while :
   5691   do
   5692     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5693     mv "conftest.tmp" "conftest.in"
   5694     cp "conftest.in" "conftest.nl"
   5695     $as_echo 'FGREP' >> "conftest.nl"
   5696     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5697     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5698     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5699     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5700       # Best one so far, save it but keep looking for a better one
   5701       ac_cv_path_FGREP="$ac_path_FGREP"
   5702       ac_path_FGREP_max=$ac_count
   5703     fi
   5704     # 10*(2^10) chars as input seems more than enough
   5705     test $ac_count -gt 10 && break
   5706   done
   5707   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5708 esac
   5709 
   5710       $ac_path_FGREP_found && break 3
   5711     done
   5712   done
   5713   done
   5714 IFS=$as_save_IFS
   5715   if test -z "$ac_cv_path_FGREP"; then
   5716     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5717   fi
   5718 else
   5719   ac_cv_path_FGREP=$FGREP
   5720 fi
   5721 
   5722    fi
   5723 fi
   5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5725 $as_echo "$ac_cv_path_FGREP" >&6; }
   5726  FGREP="$ac_cv_path_FGREP"
   5727 
   5728 
   5729 test -z "$GREP" && GREP=grep
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 # Check whether --with-gnu-ld was given.
   5750 if test "${with_gnu_ld+set}" = set; then :
   5751   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5752 else
   5753   with_gnu_ld=no
   5754 fi
   5755 
   5756 ac_prog=ld
   5757 if test "$GCC" = yes; then
   5758   # Check if gcc -print-prog-name=ld gives a path.
   5759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5760 $as_echo_n "checking for ld used by $CC... " >&6; }
   5761   case $host in
   5762   *-*-mingw*)
   5763     # gcc leaves a trailing carriage return which upsets mingw
   5764     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5765   *)
   5766     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5767   esac
   5768   case $ac_prog in
   5769     # Accept absolute paths.
   5770     [\\/]* | ?:[\\/]*)
   5771       re_direlt='/[^/][^/]*/\.\./'
   5772       # Canonicalize the pathname of ld
   5773       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5774       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5775 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5776       done
   5777       test -z "$LD" && LD="$ac_prog"
   5778       ;;
   5779   "")
   5780     # If it fails, then pretend we aren't using GCC.
   5781     ac_prog=ld
   5782     ;;
   5783   *)
   5784     # If it is relative, then search for the first ld in PATH.
   5785     with_gnu_ld=unknown
   5786     ;;
   5787   esac
   5788 elif test "$with_gnu_ld" = yes; then
   5789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5790 $as_echo_n "checking for GNU ld... " >&6; }
   5791 else
   5792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5793 $as_echo_n "checking for non-GNU ld... " >&6; }
   5794 fi
   5795 if ${lt_cv_path_LD+:} false; then :
   5796   $as_echo_n "(cached) " >&6
   5797 else
   5798   if test -z "$LD"; then
   5799   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5800   for ac_dir in $PATH; do
   5801     IFS="$lt_save_ifs"
   5802     test -z "$ac_dir" && ac_dir=.
   5803     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5804       lt_cv_path_LD="$ac_dir/$ac_prog"
   5805       # Check to see if the program is GNU ld.  I'd rather use --version,
   5806       # but apparently some variants of GNU ld only accept -v.
   5807       # Break only if it was the GNU/non-GNU ld that we prefer.
   5808       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5809       *GNU* | *'with BFD'*)
   5810 	test "$with_gnu_ld" != no && break
   5811 	;;
   5812       *)
   5813 	test "$with_gnu_ld" != yes && break
   5814 	;;
   5815       esac
   5816     fi
   5817   done
   5818   IFS="$lt_save_ifs"
   5819 else
   5820   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5821 fi
   5822 fi
   5823 
   5824 LD="$lt_cv_path_LD"
   5825 if test -n "$LD"; then
   5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5827 $as_echo "$LD" >&6; }
   5828 else
   5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5830 $as_echo "no" >&6; }
   5831 fi
   5832 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5834 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5835 if ${lt_cv_prog_gnu_ld+:} false; then :
   5836   $as_echo_n "(cached) " >&6
   5837 else
   5838   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5839 case `$LD -v 2>&1 </dev/null` in
   5840 *GNU* | *'with BFD'*)
   5841   lt_cv_prog_gnu_ld=yes
   5842   ;;
   5843 *)
   5844   lt_cv_prog_gnu_ld=no
   5845   ;;
   5846 esac
   5847 fi
   5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5849 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5850 with_gnu_ld=$lt_cv_prog_gnu_ld
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5861 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5862 if ${lt_cv_path_NM+:} false; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   if test -n "$NM"; then
   5866   # Let the user override the test.
   5867   lt_cv_path_NM="$NM"
   5868 else
   5869   lt_nm_to_check="${ac_tool_prefix}nm"
   5870   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5871     lt_nm_to_check="$lt_nm_to_check nm"
   5872   fi
   5873   for lt_tmp_nm in $lt_nm_to_check; do
   5874     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5875     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5876       IFS="$lt_save_ifs"
   5877       test -z "$ac_dir" && ac_dir=.
   5878       tmp_nm="$ac_dir/$lt_tmp_nm"
   5879       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5880 	# Check to see if the nm accepts a BSD-compat flag.
   5881 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5882 	#   nm: unknown option "B" ignored
   5883 	# Tru64's nm complains that /dev/null is an invalid object file
   5884 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5885 	*/dev/null* | *'Invalid file or object type'*)
   5886 	  lt_cv_path_NM="$tmp_nm -B"
   5887 	  break
   5888 	  ;;
   5889 	*)
   5890 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5891 	  */dev/null*)
   5892 	    lt_cv_path_NM="$tmp_nm -p"
   5893 	    break
   5894 	    ;;
   5895 	  *)
   5896 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5897 	    continue # so that we can try to find one that supports BSD flags
   5898 	    ;;
   5899 	  esac
   5900 	  ;;
   5901 	esac
   5902       fi
   5903     done
   5904     IFS="$lt_save_ifs"
   5905   done
   5906   : ${lt_cv_path_NM=no}
   5907 fi
   5908 fi
   5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5910 $as_echo "$lt_cv_path_NM" >&6; }
   5911 if test "$lt_cv_path_NM" != "no"; then
   5912   NM="$lt_cv_path_NM"
   5913 else
   5914   # Didn't find any BSD compatible name lister, look for dumpbin.
   5915   if test -n "$DUMPBIN"; then :
   5916     # Let the user override the test.
   5917   else
   5918     if test -n "$ac_tool_prefix"; then
   5919   for ac_prog in dumpbin "link -dump"
   5920   do
   5921     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5924 $as_echo_n "checking for $ac_word... " >&6; }
   5925 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5926   $as_echo_n "(cached) " >&6
   5927 else
   5928   if test -n "$DUMPBIN"; then
   5929   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5930 else
   5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5932 for as_dir in $PATH
   5933 do
   5934   IFS=$as_save_IFS
   5935   test -z "$as_dir" && as_dir=.
   5936     for ac_exec_ext in '' $ac_executable_extensions; do
   5937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5938     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5940     break 2
   5941   fi
   5942 done
   5943   done
   5944 IFS=$as_save_IFS
   5945 
   5946 fi
   5947 fi
   5948 DUMPBIN=$ac_cv_prog_DUMPBIN
   5949 if test -n "$DUMPBIN"; then
   5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5951 $as_echo "$DUMPBIN" >&6; }
   5952 else
   5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5954 $as_echo "no" >&6; }
   5955 fi
   5956 
   5957 
   5958     test -n "$DUMPBIN" && break
   5959   done
   5960 fi
   5961 if test -z "$DUMPBIN"; then
   5962   ac_ct_DUMPBIN=$DUMPBIN
   5963   for ac_prog in dumpbin "link -dump"
   5964 do
   5965   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5966 set dummy $ac_prog; ac_word=$2
   5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5968 $as_echo_n "checking for $ac_word... " >&6; }
   5969 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5970   $as_echo_n "(cached) " >&6
   5971 else
   5972   if test -n "$ac_ct_DUMPBIN"; then
   5973   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5974 else
   5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5976 for as_dir in $PATH
   5977 do
   5978   IFS=$as_save_IFS
   5979   test -z "$as_dir" && as_dir=.
   5980     for ac_exec_ext in '' $ac_executable_extensions; do
   5981   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5982     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5984     break 2
   5985   fi
   5986 done
   5987   done
   5988 IFS=$as_save_IFS
   5989 
   5990 fi
   5991 fi
   5992 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5993 if test -n "$ac_ct_DUMPBIN"; then
   5994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5995 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5996 else
   5997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5998 $as_echo "no" >&6; }
   5999 fi
   6000 
   6001 
   6002   test -n "$ac_ct_DUMPBIN" && break
   6003 done
   6004 
   6005   if test "x$ac_ct_DUMPBIN" = x; then
   6006     DUMPBIN=":"
   6007   else
   6008     case $cross_compiling:$ac_tool_warned in
   6009 yes:)
   6010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6012 ac_tool_warned=yes ;;
   6013 esac
   6014     DUMPBIN=$ac_ct_DUMPBIN
   6015   fi
   6016 fi
   6017 
   6018     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6019     *COFF*)
   6020       DUMPBIN="$DUMPBIN -symbols"
   6021       ;;
   6022     *)
   6023       DUMPBIN=:
   6024       ;;
   6025     esac
   6026   fi
   6027 
   6028   if test "$DUMPBIN" != ":"; then
   6029     NM="$DUMPBIN"
   6030   fi
   6031 fi
   6032 test -z "$NM" && NM=nm
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6040 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6041 if ${lt_cv_nm_interface+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   lt_cv_nm_interface="BSD nm"
   6045   echo "int some_variable = 0;" > conftest.$ac_ext
   6046   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6047   (eval "$ac_compile" 2>conftest.err)
   6048   cat conftest.err >&5
   6049   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6050   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6051   cat conftest.err >&5
   6052   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6053   cat conftest.out >&5
   6054   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6055     lt_cv_nm_interface="MS dumpbin"
   6056   fi
   6057   rm -f conftest*
   6058 fi
   6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6060 $as_echo "$lt_cv_nm_interface" >&6; }
   6061 
   6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6063 $as_echo_n "checking whether ln -s works... " >&6; }
   6064 LN_S=$as_ln_s
   6065 if test "$LN_S" = "ln -s"; then
   6066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6067 $as_echo "yes" >&6; }
   6068 else
   6069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6070 $as_echo "no, using $LN_S" >&6; }
   6071 fi
   6072 
   6073 # find the maximum length of command line arguments
   6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6075 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6076 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6077   $as_echo_n "(cached) " >&6
   6078 else
   6079     i=0
   6080   teststring="ABCD"
   6081 
   6082   case $build_os in
   6083   msdosdjgpp*)
   6084     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6085     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6086     # during glob expansion).  Even if it were fixed, the result of this
   6087     # check would be larger than it should be.
   6088     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6089     ;;
   6090 
   6091   gnu*)
   6092     # Under GNU Hurd, this test is not required because there is
   6093     # no limit to the length of command line arguments.
   6094     # Libtool will interpret -1 as no limit whatsoever
   6095     lt_cv_sys_max_cmd_len=-1;
   6096     ;;
   6097 
   6098   cygwin* | mingw* | cegcc*)
   6099     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6100     # about 5 minutes as the teststring grows exponentially.
   6101     # Worse, since 9x/ME are not pre-emptively multitasking,
   6102     # you end up with a "frozen" computer, even though with patience
   6103     # the test eventually succeeds (with a max line length of 256k).
   6104     # Instead, let's just punt: use the minimum linelength reported by
   6105     # all of the supported platforms: 8192 (on NT/2K/XP).
   6106     lt_cv_sys_max_cmd_len=8192;
   6107     ;;
   6108 
   6109   mint*)
   6110     # On MiNT this can take a long time and run out of memory.
   6111     lt_cv_sys_max_cmd_len=8192;
   6112     ;;
   6113 
   6114   amigaos*)
   6115     # On AmigaOS with pdksh, this test takes hours, literally.
   6116     # So we just punt and use a minimum line length of 8192.
   6117     lt_cv_sys_max_cmd_len=8192;
   6118     ;;
   6119 
   6120   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6121     # This has been around since 386BSD, at least.  Likely further.
   6122     if test -x /sbin/sysctl; then
   6123       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6124     elif test -x /usr/sbin/sysctl; then
   6125       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6126     else
   6127       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6128     fi
   6129     # And add a safety zone
   6130     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6131     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6132     ;;
   6133 
   6134   interix*)
   6135     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6136     lt_cv_sys_max_cmd_len=196608
   6137     ;;
   6138 
   6139   os2*)
   6140     # The test takes a long time on OS/2.
   6141     lt_cv_sys_max_cmd_len=8192
   6142     ;;
   6143 
   6144   osf*)
   6145     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6146     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6147     # nice to cause kernel panics so lets avoid the loop below.
   6148     # First set a reasonable default.
   6149     lt_cv_sys_max_cmd_len=16384
   6150     #
   6151     if test -x /sbin/sysconfig; then
   6152       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6153         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6154       esac
   6155     fi
   6156     ;;
   6157   sco3.2v5*)
   6158     lt_cv_sys_max_cmd_len=102400
   6159     ;;
   6160   sysv5* | sco5v6* | sysv4.2uw2*)
   6161     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6162     if test -n "$kargmax"; then
   6163       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6164     else
   6165       lt_cv_sys_max_cmd_len=32768
   6166     fi
   6167     ;;
   6168   *)
   6169     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6170     if test -n "$lt_cv_sys_max_cmd_len" && \
   6171 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   6172       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6173       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6174     else
   6175       # Make teststring a little bigger before we do anything with it.
   6176       # a 1K string should be a reasonable start.
   6177       for i in 1 2 3 4 5 6 7 8 ; do
   6178         teststring=$teststring$teststring
   6179       done
   6180       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6181       # If test is not a shell built-in, we'll probably end up computing a
   6182       # maximum length that is only half of the actual maximum length, but
   6183       # we can't tell.
   6184       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   6185 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6186 	      test $i != 17 # 1/2 MB should be enough
   6187       do
   6188         i=`expr $i + 1`
   6189         teststring=$teststring$teststring
   6190       done
   6191       # Only check the string length outside the loop.
   6192       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6193       teststring=
   6194       # Add a significant safety factor because C++ compilers can tack on
   6195       # massive amounts of additional arguments before passing them to the
   6196       # linker.  It appears as though 1/2 is a usable value.
   6197       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6198     fi
   6199     ;;
   6200   esac
   6201 
   6202 fi
   6203 
   6204 if test -n $lt_cv_sys_max_cmd_len ; then
   6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6206 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6207 else
   6208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6209 $as_echo "none" >&6; }
   6210 fi
   6211 max_cmd_len=$lt_cv_sys_max_cmd_len
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 : ${CP="cp -f"}
   6219 : ${MV="mv -f"}
   6220 : ${RM="rm -f"}
   6221 
   6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6223 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6224 # Try some XSI features
   6225 xsi_shell=no
   6226 ( _lt_dummy="a/b/c"
   6227   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   6228       = c,a/b,b/c, \
   6229     && eval 'test $(( 1 + 1 )) -eq 2 \
   6230     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6231   && xsi_shell=yes
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6233 $as_echo "$xsi_shell" >&6; }
   6234 
   6235 
   6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6237 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6238 lt_shell_append=no
   6239 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6240     >/dev/null 2>&1 \
   6241   && lt_shell_append=yes
   6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6243 $as_echo "$lt_shell_append" >&6; }
   6244 
   6245 
   6246 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6247   lt_unset=unset
   6248 else
   6249   lt_unset=false
   6250 fi
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 # test EBCDIC or ASCII
   6257 case `echo X|tr X '\101'` in
   6258  A) # ASCII based system
   6259     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6260   lt_SP2NL='tr \040 \012'
   6261   lt_NL2SP='tr \015\012 \040\040'
   6262   ;;
   6263  *) # EBCDIC based system
   6264   lt_SP2NL='tr \100 \n'
   6265   lt_NL2SP='tr \r\n \100\100'
   6266   ;;
   6267 esac
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6278 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6279 if ${lt_cv_to_host_file_cmd+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   case $host in
   6283   *-*-mingw* )
   6284     case $build in
   6285       *-*-mingw* ) # actually msys
   6286         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6287         ;;
   6288       *-*-cygwin* )
   6289         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6290         ;;
   6291       * ) # otherwise, assume *nix
   6292         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6293         ;;
   6294     esac
   6295     ;;
   6296   *-*-cygwin* )
   6297     case $build in
   6298       *-*-mingw* ) # actually msys
   6299         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6300         ;;
   6301       *-*-cygwin* )
   6302         lt_cv_to_host_file_cmd=func_convert_file_noop
   6303         ;;
   6304       * ) # otherwise, assume *nix
   6305         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6306         ;;
   6307     esac
   6308     ;;
   6309   * ) # unhandled hosts (and "normal" native builds)
   6310     lt_cv_to_host_file_cmd=func_convert_file_noop
   6311     ;;
   6312 esac
   6313 
   6314 fi
   6315 
   6316 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6318 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6325 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6326 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6327   $as_echo_n "(cached) " >&6
   6328 else
   6329   #assume ordinary cross tools, or native build.
   6330 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6331 case $host in
   6332   *-*-mingw* )
   6333     case $build in
   6334       *-*-mingw* ) # actually msys
   6335         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6336         ;;
   6337     esac
   6338     ;;
   6339 esac
   6340 
   6341 fi
   6342 
   6343 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6345 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6352 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6353 if ${lt_cv_ld_reload_flag+:} false; then :
   6354   $as_echo_n "(cached) " >&6
   6355 else
   6356   lt_cv_ld_reload_flag='-r'
   6357 fi
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6359 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6360 reload_flag=$lt_cv_ld_reload_flag
   6361 case $reload_flag in
   6362 "" | " "*) ;;
   6363 *) reload_flag=" $reload_flag" ;;
   6364 esac
   6365 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6366 case $host_os in
   6367   cygwin* | mingw* | pw32* | cegcc*)
   6368     if test "$GCC" != yes; then
   6369       reload_cmds=false
   6370     fi
   6371     ;;
   6372   darwin*)
   6373     if test "$GCC" = yes; then
   6374       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6375     else
   6376       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6377     fi
   6378     ;;
   6379 esac
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 if test -n "$ac_tool_prefix"; then
   6390   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6391 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6393 $as_echo_n "checking for $ac_word... " >&6; }
   6394 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397   if test -n "$OBJDUMP"; then
   6398   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6399 else
   6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6401 for as_dir in $PATH
   6402 do
   6403   IFS=$as_save_IFS
   6404   test -z "$as_dir" && as_dir=.
   6405     for ac_exec_ext in '' $ac_executable_extensions; do
   6406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6407     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6409     break 2
   6410   fi
   6411 done
   6412   done
   6413 IFS=$as_save_IFS
   6414 
   6415 fi
   6416 fi
   6417 OBJDUMP=$ac_cv_prog_OBJDUMP
   6418 if test -n "$OBJDUMP"; then
   6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6420 $as_echo "$OBJDUMP" >&6; }
   6421 else
   6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6423 $as_echo "no" >&6; }
   6424 fi
   6425 
   6426 
   6427 fi
   6428 if test -z "$ac_cv_prog_OBJDUMP"; then
   6429   ac_ct_OBJDUMP=$OBJDUMP
   6430   # Extract the first word of "objdump", so it can be a program name with args.
   6431 set dummy objdump; ac_word=$2
   6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6433 $as_echo_n "checking for $ac_word... " >&6; }
   6434 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6435   $as_echo_n "(cached) " >&6
   6436 else
   6437   if test -n "$ac_ct_OBJDUMP"; then
   6438   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6439 else
   6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6441 for as_dir in $PATH
   6442 do
   6443   IFS=$as_save_IFS
   6444   test -z "$as_dir" && as_dir=.
   6445     for ac_exec_ext in '' $ac_executable_extensions; do
   6446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6447     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6449     break 2
   6450   fi
   6451 done
   6452   done
   6453 IFS=$as_save_IFS
   6454 
   6455 fi
   6456 fi
   6457 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6458 if test -n "$ac_ct_OBJDUMP"; then
   6459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6460 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6461 else
   6462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6463 $as_echo "no" >&6; }
   6464 fi
   6465 
   6466   if test "x$ac_ct_OBJDUMP" = x; then
   6467     OBJDUMP="false"
   6468   else
   6469     case $cross_compiling:$ac_tool_warned in
   6470 yes:)
   6471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6473 ac_tool_warned=yes ;;
   6474 esac
   6475     OBJDUMP=$ac_ct_OBJDUMP
   6476   fi
   6477 else
   6478   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6479 fi
   6480 
   6481 test -z "$OBJDUMP" && OBJDUMP=objdump
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6489 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6490 if ${lt_cv_deplibs_check_method+:} false; then :
   6491   $as_echo_n "(cached) " >&6
   6492 else
   6493   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6494 lt_cv_file_magic_test_file=
   6495 lt_cv_deplibs_check_method='unknown'
   6496 # Need to set the preceding variable on all platforms that support
   6497 # interlibrary dependencies.
   6498 # 'none' -- dependencies not supported.
   6499 # `unknown' -- same as none, but documents that we really don't know.
   6500 # 'pass_all' -- all dependencies passed with no checks.
   6501 # 'test_compile' -- check by making test program.
   6502 # 'file_magic [[regex]]' -- check by looking for files in library path
   6503 # which responds to the $file_magic_cmd with a given extended regex.
   6504 # If you have `file' or equivalent on your system and you're not sure
   6505 # whether `pass_all' will *always* work, you probably want this one.
   6506 
   6507 case $host_os in
   6508 aix[4-9]*)
   6509   lt_cv_deplibs_check_method=pass_all
   6510   ;;
   6511 
   6512 beos*)
   6513   lt_cv_deplibs_check_method=pass_all
   6514   ;;
   6515 
   6516 bsdi[45]*)
   6517   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6518   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6519   lt_cv_file_magic_test_file=/shlib/libc.so
   6520   ;;
   6521 
   6522 cygwin*)
   6523   # func_win32_libid is a shell function defined in ltmain.sh
   6524   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6525   lt_cv_file_magic_cmd='func_win32_libid'
   6526   ;;
   6527 
   6528 mingw* | pw32*)
   6529   # Base MSYS/MinGW do not provide the 'file' command needed by
   6530   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6531   # unless we find 'file', for example because we are cross-compiling.
   6532   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6533   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6534     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6535     lt_cv_file_magic_cmd='func_win32_libid'
   6536   else
   6537     # Keep this pattern in sync with the one in func_win32_libid.
   6538     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6539     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6540   fi
   6541   ;;
   6542 
   6543 cegcc*)
   6544   # use the weaker test based on 'objdump'. See mingw*.
   6545   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6546   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6547   ;;
   6548 
   6549 darwin* | rhapsody*)
   6550   lt_cv_deplibs_check_method=pass_all
   6551   ;;
   6552 
   6553 freebsd* | dragonfly*)
   6554   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6555     case $host_cpu in
   6556     i*86 )
   6557       # Not sure whether the presence of OpenBSD here was a mistake.
   6558       # Let's accept both of them until this is cleared up.
   6559       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6560       lt_cv_file_magic_cmd=/usr/bin/file
   6561       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6562       ;;
   6563     esac
   6564   else
   6565     lt_cv_deplibs_check_method=pass_all
   6566   fi
   6567   ;;
   6568 
   6569 haiku*)
   6570   lt_cv_deplibs_check_method=pass_all
   6571   ;;
   6572 
   6573 hpux10.20* | hpux11*)
   6574   lt_cv_file_magic_cmd=/usr/bin/file
   6575   case $host_cpu in
   6576   ia64*)
   6577     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6578     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6579     ;;
   6580   hppa*64*)
   6581     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]'
   6582     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6583     ;;
   6584   *)
   6585     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6586     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6587     ;;
   6588   esac
   6589   ;;
   6590 
   6591 interix[3-9]*)
   6592   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6593   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6594   ;;
   6595 
   6596 irix5* | irix6* | nonstopux*)
   6597   case $LD in
   6598   *-32|*"-32 ") libmagic=32-bit;;
   6599   *-n32|*"-n32 ") libmagic=N32;;
   6600   *-64|*"-64 ") libmagic=64-bit;;
   6601   *) libmagic=never-match;;
   6602   esac
   6603   lt_cv_deplibs_check_method=pass_all
   6604   ;;
   6605 
   6606 # This must be glibc/ELF.
   6607 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6608   lt_cv_deplibs_check_method=pass_all
   6609   ;;
   6610 
   6611 netbsd* | netbsdelf*-gnu)
   6612   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6614   else
   6615     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6616   fi
   6617   ;;
   6618 
   6619 newos6*)
   6620   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6621   lt_cv_file_magic_cmd=/usr/bin/file
   6622   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6623   ;;
   6624 
   6625 *nto* | *qnx*)
   6626   lt_cv_deplibs_check_method=pass_all
   6627   ;;
   6628 
   6629 openbsd*)
   6630   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6631     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6632   else
   6633     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6634   fi
   6635   ;;
   6636 
   6637 osf3* | osf4* | osf5*)
   6638   lt_cv_deplibs_check_method=pass_all
   6639   ;;
   6640 
   6641 rdos*)
   6642   lt_cv_deplibs_check_method=pass_all
   6643   ;;
   6644 
   6645 solaris*)
   6646   lt_cv_deplibs_check_method=pass_all
   6647   ;;
   6648 
   6649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6650   lt_cv_deplibs_check_method=pass_all
   6651   ;;
   6652 
   6653 sysv4 | sysv4.3*)
   6654   case $host_vendor in
   6655   motorola)
   6656     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]'
   6657     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6658     ;;
   6659   ncr)
   6660     lt_cv_deplibs_check_method=pass_all
   6661     ;;
   6662   sequent)
   6663     lt_cv_file_magic_cmd='/bin/file'
   6664     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6665     ;;
   6666   sni)
   6667     lt_cv_file_magic_cmd='/bin/file'
   6668     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6669     lt_cv_file_magic_test_file=/lib/libc.so
   6670     ;;
   6671   siemens)
   6672     lt_cv_deplibs_check_method=pass_all
   6673     ;;
   6674   pc)
   6675     lt_cv_deplibs_check_method=pass_all
   6676     ;;
   6677   esac
   6678   ;;
   6679 
   6680 tpf*)
   6681   lt_cv_deplibs_check_method=pass_all
   6682   ;;
   6683 esac
   6684 
   6685 fi
   6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6688 
   6689 file_magic_glob=
   6690 want_nocaseglob=no
   6691 if test "$build" = "$host"; then
   6692   case $host_os in
   6693   mingw* | pw32*)
   6694     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6695       want_nocaseglob=yes
   6696     else
   6697       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6698     fi
   6699     ;;
   6700   esac
   6701 fi
   6702 
   6703 file_magic_cmd=$lt_cv_file_magic_cmd
   6704 deplibs_check_method=$lt_cv_deplibs_check_method
   6705 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 if test -n "$ac_tool_prefix"; then
   6729   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6730 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6732 $as_echo_n "checking for $ac_word... " >&6; }
   6733 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6734   $as_echo_n "(cached) " >&6
   6735 else
   6736   if test -n "$DLLTOOL"; then
   6737   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6738 else
   6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6740 for as_dir in $PATH
   6741 do
   6742   IFS=$as_save_IFS
   6743   test -z "$as_dir" && as_dir=.
   6744     for ac_exec_ext in '' $ac_executable_extensions; do
   6745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6746     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6748     break 2
   6749   fi
   6750 done
   6751   done
   6752 IFS=$as_save_IFS
   6753 
   6754 fi
   6755 fi
   6756 DLLTOOL=$ac_cv_prog_DLLTOOL
   6757 if test -n "$DLLTOOL"; then
   6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6759 $as_echo "$DLLTOOL" >&6; }
   6760 else
   6761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6762 $as_echo "no" >&6; }
   6763 fi
   6764 
   6765 
   6766 fi
   6767 if test -z "$ac_cv_prog_DLLTOOL"; then
   6768   ac_ct_DLLTOOL=$DLLTOOL
   6769   # Extract the first word of "dlltool", so it can be a program name with args.
   6770 set dummy dlltool; ac_word=$2
   6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6772 $as_echo_n "checking for $ac_word... " >&6; }
   6773 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6774   $as_echo_n "(cached) " >&6
   6775 else
   6776   if test -n "$ac_ct_DLLTOOL"; then
   6777   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6778 else
   6779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6780 for as_dir in $PATH
   6781 do
   6782   IFS=$as_save_IFS
   6783   test -z "$as_dir" && as_dir=.
   6784     for ac_exec_ext in '' $ac_executable_extensions; do
   6785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6786     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6788     break 2
   6789   fi
   6790 done
   6791   done
   6792 IFS=$as_save_IFS
   6793 
   6794 fi
   6795 fi
   6796 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6797 if test -n "$ac_ct_DLLTOOL"; then
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6799 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6800 else
   6801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6802 $as_echo "no" >&6; }
   6803 fi
   6804 
   6805   if test "x$ac_ct_DLLTOOL" = x; then
   6806     DLLTOOL="false"
   6807   else
   6808     case $cross_compiling:$ac_tool_warned in
   6809 yes:)
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6812 ac_tool_warned=yes ;;
   6813 esac
   6814     DLLTOOL=$ac_ct_DLLTOOL
   6815   fi
   6816 else
   6817   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6818 fi
   6819 
   6820 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6829 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6830 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6831   $as_echo_n "(cached) " >&6
   6832 else
   6833   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6834 
   6835 case $host_os in
   6836 cygwin* | mingw* | pw32* | cegcc*)
   6837   # two different shell functions defined in ltmain.sh
   6838   # decide which to use based on capabilities of $DLLTOOL
   6839   case `$DLLTOOL --help 2>&1` in
   6840   *--identify-strict*)
   6841     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6842     ;;
   6843   *)
   6844     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6845     ;;
   6846   esac
   6847   ;;
   6848 *)
   6849   # fallback: assume linklib IS sharedlib
   6850   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6851   ;;
   6852 esac
   6853 
   6854 fi
   6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6856 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6857 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6858 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 if test -n "$ac_tool_prefix"; then
   6867   for ac_prog in ar
   6868   do
   6869     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6870 set dummy $ac_tool_prefix$ac_prog; 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; }
   6873 if ${ac_cv_prog_AR+:} false; then :
   6874   $as_echo_n "(cached) " >&6
   6875 else
   6876   if test -n "$AR"; then
   6877   ac_cv_prog_AR="$AR" # Let the user override the test.
   6878 else
   6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6880 for as_dir in $PATH
   6881 do
   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_AR="$ac_tool_prefix$ac_prog"
   6887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6888     break 2
   6889   fi
   6890 done
   6891   done
   6892 IFS=$as_save_IFS
   6893 
   6894 fi
   6895 fi
   6896 AR=$ac_cv_prog_AR
   6897 if test -n "$AR"; then
   6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6899 $as_echo "$AR" >&6; }
   6900 else
   6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6902 $as_echo "no" >&6; }
   6903 fi
   6904 
   6905 
   6906     test -n "$AR" && break
   6907   done
   6908 fi
   6909 if test -z "$AR"; then
   6910   ac_ct_AR=$AR
   6911   for ac_prog in ar
   6912 do
   6913   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6914 set dummy $ac_prog; ac_word=$2
   6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6916 $as_echo_n "checking for $ac_word... " >&6; }
   6917 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   if test -n "$ac_ct_AR"; then
   6921   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6922 else
   6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6924 for as_dir in $PATH
   6925 do
   6926   IFS=$as_save_IFS
   6927   test -z "$as_dir" && as_dir=.
   6928     for ac_exec_ext in '' $ac_executable_extensions; do
   6929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6930     ac_cv_prog_ac_ct_AR="$ac_prog"
   6931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6932     break 2
   6933   fi
   6934 done
   6935   done
   6936 IFS=$as_save_IFS
   6937 
   6938 fi
   6939 fi
   6940 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6941 if test -n "$ac_ct_AR"; then
   6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6943 $as_echo "$ac_ct_AR" >&6; }
   6944 else
   6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6946 $as_echo "no" >&6; }
   6947 fi
   6948 
   6949 
   6950   test -n "$ac_ct_AR" && break
   6951 done
   6952 
   6953   if test "x$ac_ct_AR" = x; then
   6954     AR="false"
   6955   else
   6956     case $cross_compiling:$ac_tool_warned in
   6957 yes:)
   6958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6960 ac_tool_warned=yes ;;
   6961 esac
   6962     AR=$ac_ct_AR
   6963   fi
   6964 fi
   6965 
   6966 : ${AR=ar}
   6967 : ${AR_FLAGS=cru}
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6980 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6981 if ${lt_cv_ar_at_file+:} false; then :
   6982   $as_echo_n "(cached) " >&6
   6983 else
   6984   lt_cv_ar_at_file=no
   6985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_compile "$LINENO"; then :
   6997   echo conftest.$ac_objext > conftest.lst
   6998       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6999       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7000   (eval $lt_ar_try) 2>&5
   7001   ac_status=$?
   7002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7003   test $ac_status = 0; }
   7004       if test "$ac_status" -eq 0; then
   7005 	# Ensure the archiver fails upon bogus file names.
   7006 	rm -f conftest.$ac_objext libconftest.a
   7007 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7008   (eval $lt_ar_try) 2>&5
   7009   ac_status=$?
   7010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7011   test $ac_status = 0; }
   7012 	if test "$ac_status" -ne 0; then
   7013           lt_cv_ar_at_file=@
   7014         fi
   7015       fi
   7016       rm -f conftest.* libconftest.a
   7017 
   7018 fi
   7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7020 
   7021 fi
   7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7023 $as_echo "$lt_cv_ar_at_file" >&6; }
   7024 
   7025 if test "x$lt_cv_ar_at_file" = xno; then
   7026   archiver_list_spec=
   7027 else
   7028   archiver_list_spec=$lt_cv_ar_at_file
   7029 fi
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 if test -n "$ac_tool_prefix"; then
   7038   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7039 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7041 $as_echo_n "checking for $ac_word... " >&6; }
   7042 if ${ac_cv_prog_STRIP+:} false; then :
   7043   $as_echo_n "(cached) " >&6
   7044 else
   7045   if test -n "$STRIP"; then
   7046   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7047 else
   7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7049 for as_dir in $PATH
   7050 do
   7051   IFS=$as_save_IFS
   7052   test -z "$as_dir" && as_dir=.
   7053     for ac_exec_ext in '' $ac_executable_extensions; do
   7054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7055     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7057     break 2
   7058   fi
   7059 done
   7060   done
   7061 IFS=$as_save_IFS
   7062 
   7063 fi
   7064 fi
   7065 STRIP=$ac_cv_prog_STRIP
   7066 if test -n "$STRIP"; then
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7068 $as_echo "$STRIP" >&6; }
   7069 else
   7070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7071 $as_echo "no" >&6; }
   7072 fi
   7073 
   7074 
   7075 fi
   7076 if test -z "$ac_cv_prog_STRIP"; then
   7077   ac_ct_STRIP=$STRIP
   7078   # Extract the first word of "strip", so it can be a program name with args.
   7079 set dummy strip; ac_word=$2
   7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7081 $as_echo_n "checking for $ac_word... " >&6; }
   7082 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7083   $as_echo_n "(cached) " >&6
   7084 else
   7085   if test -n "$ac_ct_STRIP"; then
   7086   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7087 else
   7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7089 for as_dir in $PATH
   7090 do
   7091   IFS=$as_save_IFS
   7092   test -z "$as_dir" && as_dir=.
   7093     for ac_exec_ext in '' $ac_executable_extensions; do
   7094   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7095     ac_cv_prog_ac_ct_STRIP="strip"
   7096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7097     break 2
   7098   fi
   7099 done
   7100   done
   7101 IFS=$as_save_IFS
   7102 
   7103 fi
   7104 fi
   7105 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7106 if test -n "$ac_ct_STRIP"; then
   7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7108 $as_echo "$ac_ct_STRIP" >&6; }
   7109 else
   7110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7111 $as_echo "no" >&6; }
   7112 fi
   7113 
   7114   if test "x$ac_ct_STRIP" = x; then
   7115     STRIP=":"
   7116   else
   7117     case $cross_compiling:$ac_tool_warned in
   7118 yes:)
   7119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7121 ac_tool_warned=yes ;;
   7122 esac
   7123     STRIP=$ac_ct_STRIP
   7124   fi
   7125 else
   7126   STRIP="$ac_cv_prog_STRIP"
   7127 fi
   7128 
   7129 test -z "$STRIP" && STRIP=:
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 if test -n "$ac_tool_prefix"; then
   7137   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7138 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7140 $as_echo_n "checking for $ac_word... " >&6; }
   7141 if ${ac_cv_prog_RANLIB+:} false; then :
   7142   $as_echo_n "(cached) " >&6
   7143 else
   7144   if test -n "$RANLIB"; then
   7145   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7146 else
   7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7148 for as_dir in $PATH
   7149 do
   7150   IFS=$as_save_IFS
   7151   test -z "$as_dir" && as_dir=.
   7152     for ac_exec_ext in '' $ac_executable_extensions; do
   7153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7154     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7156     break 2
   7157   fi
   7158 done
   7159   done
   7160 IFS=$as_save_IFS
   7161 
   7162 fi
   7163 fi
   7164 RANLIB=$ac_cv_prog_RANLIB
   7165 if test -n "$RANLIB"; then
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7167 $as_echo "$RANLIB" >&6; }
   7168 else
   7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7170 $as_echo "no" >&6; }
   7171 fi
   7172 
   7173 
   7174 fi
   7175 if test -z "$ac_cv_prog_RANLIB"; then
   7176   ac_ct_RANLIB=$RANLIB
   7177   # Extract the first word of "ranlib", so it can be a program name with args.
   7178 set dummy ranlib; ac_word=$2
   7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7180 $as_echo_n "checking for $ac_word... " >&6; }
   7181 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   if test -n "$ac_ct_RANLIB"; then
   7185   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7186 else
   7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7188 for as_dir in $PATH
   7189 do
   7190   IFS=$as_save_IFS
   7191   test -z "$as_dir" && as_dir=.
   7192     for ac_exec_ext in '' $ac_executable_extensions; do
   7193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7194     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7196     break 2
   7197   fi
   7198 done
   7199   done
   7200 IFS=$as_save_IFS
   7201 
   7202 fi
   7203 fi
   7204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7205 if test -n "$ac_ct_RANLIB"; then
   7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7207 $as_echo "$ac_ct_RANLIB" >&6; }
   7208 else
   7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7210 $as_echo "no" >&6; }
   7211 fi
   7212 
   7213   if test "x$ac_ct_RANLIB" = x; then
   7214     RANLIB=":"
   7215   else
   7216     case $cross_compiling:$ac_tool_warned in
   7217 yes:)
   7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7220 ac_tool_warned=yes ;;
   7221 esac
   7222     RANLIB=$ac_ct_RANLIB
   7223   fi
   7224 else
   7225   RANLIB="$ac_cv_prog_RANLIB"
   7226 fi
   7227 
   7228 test -z "$RANLIB" && RANLIB=:
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 # Determine commands to create old-style static archives.
   7236 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7237 old_postinstall_cmds='chmod 644 $oldlib'
   7238 old_postuninstall_cmds=
   7239 
   7240 if test -n "$RANLIB"; then
   7241   case $host_os in
   7242   openbsd*)
   7243     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7244     ;;
   7245   *)
   7246     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7247     ;;
   7248   esac
   7249   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7250 fi
   7251 
   7252 case $host_os in
   7253   darwin*)
   7254     lock_old_archive_extraction=yes ;;
   7255   *)
   7256     lock_old_archive_extraction=no ;;
   7257 esac
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 # If no C compiler was specified, use CC.
   7298 LTCC=${LTCC-"$CC"}
   7299 
   7300 # If no C compiler flags were specified, use CFLAGS.
   7301 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7302 
   7303 # Allow CC to be a program name with arguments.
   7304 compiler=$CC
   7305 
   7306 
   7307 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7309 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7310 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7311   $as_echo_n "(cached) " >&6
   7312 else
   7313 
   7314 # These are sane defaults that work on at least a few old systems.
   7315 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7316 
   7317 # Character class describing NM global symbol codes.
   7318 symcode='[BCDEGRST]'
   7319 
   7320 # Regexp to match symbols that can be accessed directly from C.
   7321 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7322 
   7323 # Define system-specific variables.
   7324 case $host_os in
   7325 aix*)
   7326   symcode='[BCDT]'
   7327   ;;
   7328 cygwin* | mingw* | pw32* | cegcc*)
   7329   symcode='[ABCDGISTW]'
   7330   ;;
   7331 hpux*)
   7332   if test "$host_cpu" = ia64; then
   7333     symcode='[ABCDEGRST]'
   7334   fi
   7335   ;;
   7336 irix* | nonstopux*)
   7337   symcode='[BCDEGRST]'
   7338   ;;
   7339 osf*)
   7340   symcode='[BCDEGQRST]'
   7341   ;;
   7342 solaris*)
   7343   symcode='[BDRT]'
   7344   ;;
   7345 sco3.2v5*)
   7346   symcode='[DT]'
   7347   ;;
   7348 sysv4.2uw2*)
   7349   symcode='[DT]'
   7350   ;;
   7351 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7352   symcode='[ABDT]'
   7353   ;;
   7354 sysv4)
   7355   symcode='[DFNSTU]'
   7356   ;;
   7357 esac
   7358 
   7359 # If we're using GNU nm, then use its standard symbol codes.
   7360 case `$NM -V 2>&1` in
   7361 *GNU* | *'with BFD'*)
   7362   symcode='[ABCDGIRSTW]' ;;
   7363 esac
   7364 
   7365 # Transform an extracted symbol line into a proper C declaration.
   7366 # Some systems (esp. on ia64) link data and code symbols differently,
   7367 # so use this general approach.
   7368 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7369 
   7370 # Transform an extracted symbol line into symbol name and symbol address
   7371 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7372 lt_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'"
   7373 
   7374 # Handle CRLF in mingw tool chain
   7375 opt_cr=
   7376 case $build_os in
   7377 mingw*)
   7378   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7379   ;;
   7380 esac
   7381 
   7382 # Try without a prefix underscore, then with it.
   7383 for ac_symprfx in "" "_"; do
   7384 
   7385   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7386   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7387 
   7388   # Write the raw and C identifiers.
   7389   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7390     # Fake it for dumpbin and say T for any non-static function
   7391     # and D for any global variable.
   7392     # Also find C++ and __fastcall symbols from MSVC++,
   7393     # which start with @ or ?.
   7394     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7395 "     {last_section=section; section=\$ 3};"\
   7396 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7397 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7398 "     \$ 0!~/External *\|/{next};"\
   7399 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7400 "     {if(hide[section]) next};"\
   7401 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7402 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7403 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7404 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7405 "     ' prfx=^$ac_symprfx"
   7406   else
   7407     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7408   fi
   7409   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7410 
   7411   # Check to see that the pipe works correctly.
   7412   pipe_works=no
   7413 
   7414   rm -f conftest*
   7415   cat > conftest.$ac_ext <<_LT_EOF
   7416 #ifdef __cplusplus
   7417 extern "C" {
   7418 #endif
   7419 char nm_test_var;
   7420 void nm_test_func(void);
   7421 void nm_test_func(void){}
   7422 #ifdef __cplusplus
   7423 }
   7424 #endif
   7425 int main(){nm_test_var='a';nm_test_func();return(0);}
   7426 _LT_EOF
   7427 
   7428   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7429   (eval $ac_compile) 2>&5
   7430   ac_status=$?
   7431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7432   test $ac_status = 0; }; then
   7433     # Now try to grab the symbols.
   7434     nlist=conftest.nm
   7435     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7436   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7437   ac_status=$?
   7438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7439   test $ac_status = 0; } && test -s "$nlist"; then
   7440       # Try sorting and uniquifying the output.
   7441       if sort "$nlist" | uniq > "$nlist"T; then
   7442 	mv -f "$nlist"T "$nlist"
   7443       else
   7444 	rm -f "$nlist"T
   7445       fi
   7446 
   7447       # Make sure that we snagged all the symbols we need.
   7448       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7449 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7450 	  cat <<_LT_EOF > conftest.$ac_ext
   7451 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7452 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   7453 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   7454    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7455 # define LT_DLSYM_CONST
   7456 #elif defined(__osf__)
   7457 /* This system does not cope well with relocations in const data.  */
   7458 # define LT_DLSYM_CONST
   7459 #else
   7460 # define LT_DLSYM_CONST const
   7461 #endif
   7462 
   7463 #ifdef __cplusplus
   7464 extern "C" {
   7465 #endif
   7466 
   7467 _LT_EOF
   7468 	  # Now generate the symbol file.
   7469 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7470 
   7471 	  cat <<_LT_EOF >> conftest.$ac_ext
   7472 
   7473 /* The mapping between symbol names and symbols.  */
   7474 LT_DLSYM_CONST struct {
   7475   const char *name;
   7476   void       *address;
   7477 }
   7478 lt__PROGRAM__LTX_preloaded_symbols[] =
   7479 {
   7480   { "@PROGRAM@", (void *) 0 },
   7481 _LT_EOF
   7482 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7483 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7484   {0, (void *) 0}
   7485 };
   7486 
   7487 /* This works around a problem in FreeBSD linker */
   7488 #ifdef FREEBSD_WORKAROUND
   7489 static const void *lt_preloaded_setup() {
   7490   return lt__PROGRAM__LTX_preloaded_symbols;
   7491 }
   7492 #endif
   7493 
   7494 #ifdef __cplusplus
   7495 }
   7496 #endif
   7497 _LT_EOF
   7498 	  # Now try linking the two files.
   7499 	  mv conftest.$ac_objext conftstm.$ac_objext
   7500 	  lt_globsym_save_LIBS=$LIBS
   7501 	  lt_globsym_save_CFLAGS=$CFLAGS
   7502 	  LIBS="conftstm.$ac_objext"
   7503 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7504 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7505   (eval $ac_link) 2>&5
   7506   ac_status=$?
   7507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7508   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7509 	    pipe_works=yes
   7510 	  fi
   7511 	  LIBS=$lt_globsym_save_LIBS
   7512 	  CFLAGS=$lt_globsym_save_CFLAGS
   7513 	else
   7514 	  echo "cannot find nm_test_func in $nlist" >&5
   7515 	fi
   7516       else
   7517 	echo "cannot find nm_test_var in $nlist" >&5
   7518       fi
   7519     else
   7520       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7521     fi
   7522   else
   7523     echo "$progname: failed program was:" >&5
   7524     cat conftest.$ac_ext >&5
   7525   fi
   7526   rm -rf conftest* conftst*
   7527 
   7528   # Do not use the global_symbol_pipe unless it works.
   7529   if test "$pipe_works" = yes; then
   7530     break
   7531   else
   7532     lt_cv_sys_global_symbol_pipe=
   7533   fi
   7534 done
   7535 
   7536 fi
   7537 
   7538 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7539   lt_cv_sys_global_symbol_to_cdecl=
   7540 fi
   7541 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7543 $as_echo "failed" >&6; }
   7544 else
   7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7546 $as_echo "ok" >&6; }
   7547 fi
   7548 
   7549 # Response file support.
   7550 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7551   nm_file_list_spec='@'
   7552 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7553   nm_file_list_spec='@'
   7554 fi
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7583 $as_echo_n "checking for sysroot... " >&6; }
   7584 
   7585 # Check whether --with-sysroot was given.
   7586 if test "${with_sysroot+set}" = set; then :
   7587   withval=$with_sysroot;
   7588 else
   7589   with_sysroot=no
   7590 fi
   7591 
   7592 
   7593 lt_sysroot=
   7594 case ${with_sysroot} in #(
   7595  yes)
   7596    if test "$GCC" = yes; then
   7597      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7598    fi
   7599    ;; #(
   7600  /*)
   7601    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7602    ;; #(
   7603  no|'')
   7604    ;; #(
   7605  *)
   7606    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   7607 $as_echo "${with_sysroot}" >&6; }
   7608    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7609    ;;
   7610 esac
   7611 
   7612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7613 $as_echo "${lt_sysroot:-no}" >&6; }
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 # Check whether --enable-libtool-lock was given.
   7620 if test "${enable_libtool_lock+set}" = set; then :
   7621   enableval=$enable_libtool_lock;
   7622 fi
   7623 
   7624 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7625 
   7626 # Some flags need to be propagated to the compiler or linker for good
   7627 # libtool support.
   7628 case $host in
   7629 ia64-*-hpux*)
   7630   # Find out which ABI we are using.
   7631   echo 'int i;' > conftest.$ac_ext
   7632   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7633   (eval $ac_compile) 2>&5
   7634   ac_status=$?
   7635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7636   test $ac_status = 0; }; then
   7637     case `/usr/bin/file conftest.$ac_objext` in
   7638       *ELF-32*)
   7639 	HPUX_IA64_MODE="32"
   7640 	;;
   7641       *ELF-64*)
   7642 	HPUX_IA64_MODE="64"
   7643 	;;
   7644     esac
   7645   fi
   7646   rm -rf conftest*
   7647   ;;
   7648 *-*-irix6*)
   7649   # Find out which ABI we are using.
   7650   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7651   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7652   (eval $ac_compile) 2>&5
   7653   ac_status=$?
   7654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7655   test $ac_status = 0; }; then
   7656     if test "$lt_cv_prog_gnu_ld" = yes; then
   7657       case `/usr/bin/file conftest.$ac_objext` in
   7658 	*32-bit*)
   7659 	  LD="${LD-ld} -melf32bsmip"
   7660 	  ;;
   7661 	*N32*)
   7662 	  LD="${LD-ld} -melf32bmipn32"
   7663 	  ;;
   7664 	*64-bit*)
   7665 	  LD="${LD-ld} -melf64bmip"
   7666 	;;
   7667       esac
   7668     else
   7669       case `/usr/bin/file conftest.$ac_objext` in
   7670 	*32-bit*)
   7671 	  LD="${LD-ld} -32"
   7672 	  ;;
   7673 	*N32*)
   7674 	  LD="${LD-ld} -n32"
   7675 	  ;;
   7676 	*64-bit*)
   7677 	  LD="${LD-ld} -64"
   7678 	  ;;
   7679       esac
   7680     fi
   7681   fi
   7682   rm -rf conftest*
   7683   ;;
   7684 
   7685 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7686 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7687   # Find out which ABI we are using.
   7688   echo 'int i;' > conftest.$ac_ext
   7689   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7690   (eval $ac_compile) 2>&5
   7691   ac_status=$?
   7692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7693   test $ac_status = 0; }; then
   7694     case `/usr/bin/file conftest.o` in
   7695       *32-bit*)
   7696 	case $host in
   7697 	  x86_64-*kfreebsd*-gnu)
   7698 	    LD="${LD-ld} -m elf_i386_fbsd"
   7699 	    ;;
   7700 	  x86_64-*linux*)
   7701 	    case `/usr/bin/file conftest.o` in
   7702 	      *x86-64*)
   7703 		LD="${LD-ld} -m elf32_x86_64"
   7704 		;;
   7705 	      *)
   7706 		LD="${LD-ld} -m elf_i386"
   7707 		;;
   7708 	    esac
   7709 	    ;;
   7710 	  ppc64-*linux*|powerpc64-*linux*)
   7711 	    LD="${LD-ld} -m elf32ppclinux"
   7712 	    ;;
   7713 	  s390x-*linux*)
   7714 	    LD="${LD-ld} -m elf_s390"
   7715 	    ;;
   7716 	  sparc64-*linux*)
   7717 	    LD="${LD-ld} -m elf32_sparc"
   7718 	    ;;
   7719 	esac
   7720 	;;
   7721       *64-bit*)
   7722 	case $host in
   7723 	  x86_64-*kfreebsd*-gnu)
   7724 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7725 	    ;;
   7726 	  x86_64-*linux*)
   7727 	    LD="${LD-ld} -m elf_x86_64"
   7728 	    ;;
   7729 	  ppc*-*linux*|powerpc*-*linux*)
   7730 	    LD="${LD-ld} -m elf64ppc"
   7731 	    ;;
   7732 	  s390*-*linux*|s390*-*tpf*)
   7733 	    LD="${LD-ld} -m elf64_s390"
   7734 	    ;;
   7735 	  sparc*-*linux*)
   7736 	    LD="${LD-ld} -m elf64_sparc"
   7737 	    ;;
   7738 	esac
   7739 	;;
   7740     esac
   7741   fi
   7742   rm -rf conftest*
   7743   ;;
   7744 
   7745 *-*-sco3.2v5*)
   7746   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7747   SAVE_CFLAGS="$CFLAGS"
   7748   CFLAGS="$CFLAGS -belf"
   7749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7750 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7751 if ${lt_cv_cc_needs_belf+:} false; then :
   7752   $as_echo_n "(cached) " >&6
   7753 else
   7754   ac_ext=c
   7755 ac_cpp='$CPP $CPPFLAGS'
   7756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7759 
   7760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7761 /* end confdefs.h.  */
   7762 
   7763 int
   7764 main ()
   7765 {
   7766 
   7767   ;
   7768   return 0;
   7769 }
   7770 _ACEOF
   7771 if ac_fn_c_try_link "$LINENO"; then :
   7772   lt_cv_cc_needs_belf=yes
   7773 else
   7774   lt_cv_cc_needs_belf=no
   7775 fi
   7776 rm -f core conftest.err conftest.$ac_objext \
   7777     conftest$ac_exeext conftest.$ac_ext
   7778      ac_ext=c
   7779 ac_cpp='$CPP $CPPFLAGS'
   7780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7783 
   7784 fi
   7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7786 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7787   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7788     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7789     CFLAGS="$SAVE_CFLAGS"
   7790   fi
   7791   ;;
   7792 *-*solaris*)
   7793   # Find out which ABI we are using.
   7794   echo 'int i;' > conftest.$ac_ext
   7795   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7796   (eval $ac_compile) 2>&5
   7797   ac_status=$?
   7798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7799   test $ac_status = 0; }; then
   7800     case `/usr/bin/file conftest.o` in
   7801     *64-bit*)
   7802       case $lt_cv_prog_gnu_ld in
   7803       yes*)
   7804         case $host in
   7805         i?86-*-solaris*)
   7806           LD="${LD-ld} -m elf_x86_64"
   7807           ;;
   7808         sparc*-*-solaris*)
   7809           LD="${LD-ld} -m elf64_sparc"
   7810           ;;
   7811         esac
   7812         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7813         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7814           LD="${LD-ld}_sol2"
   7815         fi
   7816         ;;
   7817       *)
   7818 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7819 	  LD="${LD-ld} -64"
   7820 	fi
   7821 	;;
   7822       esac
   7823       ;;
   7824     esac
   7825   fi
   7826   rm -rf conftest*
   7827   ;;
   7828 esac
   7829 
   7830 need_locks="$enable_libtool_lock"
   7831 
   7832 if test -n "$ac_tool_prefix"; then
   7833   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7834 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7836 $as_echo_n "checking for $ac_word... " >&6; }
   7837 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   if test -n "$MANIFEST_TOOL"; then
   7841   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7842 else
   7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7844 for as_dir in $PATH
   7845 do
   7846   IFS=$as_save_IFS
   7847   test -z "$as_dir" && as_dir=.
   7848     for ac_exec_ext in '' $ac_executable_extensions; do
   7849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7850     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7852     break 2
   7853   fi
   7854 done
   7855   done
   7856 IFS=$as_save_IFS
   7857 
   7858 fi
   7859 fi
   7860 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7861 if test -n "$MANIFEST_TOOL"; then
   7862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7863 $as_echo "$MANIFEST_TOOL" >&6; }
   7864 else
   7865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7866 $as_echo "no" >&6; }
   7867 fi
   7868 
   7869 
   7870 fi
   7871 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7872   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7873   # Extract the first word of "mt", so it can be a program name with args.
   7874 set dummy mt; ac_word=$2
   7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7876 $as_echo_n "checking for $ac_word... " >&6; }
   7877 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7878   $as_echo_n "(cached) " >&6
   7879 else
   7880   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7881   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7882 else
   7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7884 for as_dir in $PATH
   7885 do
   7886   IFS=$as_save_IFS
   7887   test -z "$as_dir" && as_dir=.
   7888     for ac_exec_ext in '' $ac_executable_extensions; do
   7889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7890     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7892     break 2
   7893   fi
   7894 done
   7895   done
   7896 IFS=$as_save_IFS
   7897 
   7898 fi
   7899 fi
   7900 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7901 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7903 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7904 else
   7905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7906 $as_echo "no" >&6; }
   7907 fi
   7908 
   7909   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7910     MANIFEST_TOOL=":"
   7911   else
   7912     case $cross_compiling:$ac_tool_warned in
   7913 yes:)
   7914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7916 ac_tool_warned=yes ;;
   7917 esac
   7918     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7919   fi
   7920 else
   7921   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7922 fi
   7923 
   7924 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7926 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7927 if ${lt_cv_path_mainfest_tool+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   lt_cv_path_mainfest_tool=no
   7931   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7932   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7933   cat conftest.err >&5
   7934   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7935     lt_cv_path_mainfest_tool=yes
   7936   fi
   7937   rm -f conftest*
   7938 fi
   7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7940 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7941 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7942   MANIFEST_TOOL=:
   7943 fi
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950   case $host_os in
   7951     rhapsody* | darwin*)
   7952     if test -n "$ac_tool_prefix"; then
   7953   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7954 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7956 $as_echo_n "checking for $ac_word... " >&6; }
   7957 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7958   $as_echo_n "(cached) " >&6
   7959 else
   7960   if test -n "$DSYMUTIL"; then
   7961   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7962 else
   7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7964 for as_dir in $PATH
   7965 do
   7966   IFS=$as_save_IFS
   7967   test -z "$as_dir" && as_dir=.
   7968     for ac_exec_ext in '' $ac_executable_extensions; do
   7969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7970     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7972     break 2
   7973   fi
   7974 done
   7975   done
   7976 IFS=$as_save_IFS
   7977 
   7978 fi
   7979 fi
   7980 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7981 if test -n "$DSYMUTIL"; then
   7982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7983 $as_echo "$DSYMUTIL" >&6; }
   7984 else
   7985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7986 $as_echo "no" >&6; }
   7987 fi
   7988 
   7989 
   7990 fi
   7991 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7992   ac_ct_DSYMUTIL=$DSYMUTIL
   7993   # Extract the first word of "dsymutil", so it can be a program name with args.
   7994 set dummy dsymutil; ac_word=$2
   7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7996 $as_echo_n "checking for $ac_word... " >&6; }
   7997 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7998   $as_echo_n "(cached) " >&6
   7999 else
   8000   if test -n "$ac_ct_DSYMUTIL"; then
   8001   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8002 else
   8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8004 for as_dir in $PATH
   8005 do
   8006   IFS=$as_save_IFS
   8007   test -z "$as_dir" && as_dir=.
   8008     for ac_exec_ext in '' $ac_executable_extensions; do
   8009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8010     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8012     break 2
   8013   fi
   8014 done
   8015   done
   8016 IFS=$as_save_IFS
   8017 
   8018 fi
   8019 fi
   8020 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8021 if test -n "$ac_ct_DSYMUTIL"; then
   8022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8023 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8024 else
   8025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8026 $as_echo "no" >&6; }
   8027 fi
   8028 
   8029   if test "x$ac_ct_DSYMUTIL" = x; then
   8030     DSYMUTIL=":"
   8031   else
   8032     case $cross_compiling:$ac_tool_warned in
   8033 yes:)
   8034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8036 ac_tool_warned=yes ;;
   8037 esac
   8038     DSYMUTIL=$ac_ct_DSYMUTIL
   8039   fi
   8040 else
   8041   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8042 fi
   8043 
   8044     if test -n "$ac_tool_prefix"; then
   8045   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8046 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8048 $as_echo_n "checking for $ac_word... " >&6; }
   8049 if ${ac_cv_prog_NMEDIT+:} false; then :
   8050   $as_echo_n "(cached) " >&6
   8051 else
   8052   if test -n "$NMEDIT"; then
   8053   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8054 else
   8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8056 for as_dir in $PATH
   8057 do
   8058   IFS=$as_save_IFS
   8059   test -z "$as_dir" && as_dir=.
   8060     for ac_exec_ext in '' $ac_executable_extensions; do
   8061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8062     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8064     break 2
   8065   fi
   8066 done
   8067   done
   8068 IFS=$as_save_IFS
   8069 
   8070 fi
   8071 fi
   8072 NMEDIT=$ac_cv_prog_NMEDIT
   8073 if test -n "$NMEDIT"; then
   8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8075 $as_echo "$NMEDIT" >&6; }
   8076 else
   8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8078 $as_echo "no" >&6; }
   8079 fi
   8080 
   8081 
   8082 fi
   8083 if test -z "$ac_cv_prog_NMEDIT"; then
   8084   ac_ct_NMEDIT=$NMEDIT
   8085   # Extract the first word of "nmedit", so it can be a program name with args.
   8086 set dummy nmedit; ac_word=$2
   8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8088 $as_echo_n "checking for $ac_word... " >&6; }
   8089 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8090   $as_echo_n "(cached) " >&6
   8091 else
   8092   if test -n "$ac_ct_NMEDIT"; then
   8093   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8094 else
   8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8096 for as_dir in $PATH
   8097 do
   8098   IFS=$as_save_IFS
   8099   test -z "$as_dir" && as_dir=.
   8100     for ac_exec_ext in '' $ac_executable_extensions; do
   8101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8102     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8104     break 2
   8105   fi
   8106 done
   8107   done
   8108 IFS=$as_save_IFS
   8109 
   8110 fi
   8111 fi
   8112 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8113 if test -n "$ac_ct_NMEDIT"; then
   8114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8115 $as_echo "$ac_ct_NMEDIT" >&6; }
   8116 else
   8117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8118 $as_echo "no" >&6; }
   8119 fi
   8120 
   8121   if test "x$ac_ct_NMEDIT" = x; then
   8122     NMEDIT=":"
   8123   else
   8124     case $cross_compiling:$ac_tool_warned in
   8125 yes:)
   8126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8128 ac_tool_warned=yes ;;
   8129 esac
   8130     NMEDIT=$ac_ct_NMEDIT
   8131   fi
   8132 else
   8133   NMEDIT="$ac_cv_prog_NMEDIT"
   8134 fi
   8135 
   8136     if test -n "$ac_tool_prefix"; then
   8137   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8138 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8140 $as_echo_n "checking for $ac_word... " >&6; }
   8141 if ${ac_cv_prog_LIPO+:} false; then :
   8142   $as_echo_n "(cached) " >&6
   8143 else
   8144   if test -n "$LIPO"; then
   8145   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8146 else
   8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8148 for as_dir in $PATH
   8149 do
   8150   IFS=$as_save_IFS
   8151   test -z "$as_dir" && as_dir=.
   8152     for ac_exec_ext in '' $ac_executable_extensions; do
   8153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8154     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8156     break 2
   8157   fi
   8158 done
   8159   done
   8160 IFS=$as_save_IFS
   8161 
   8162 fi
   8163 fi
   8164 LIPO=$ac_cv_prog_LIPO
   8165 if test -n "$LIPO"; then
   8166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8167 $as_echo "$LIPO" >&6; }
   8168 else
   8169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8170 $as_echo "no" >&6; }
   8171 fi
   8172 
   8173 
   8174 fi
   8175 if test -z "$ac_cv_prog_LIPO"; then
   8176   ac_ct_LIPO=$LIPO
   8177   # Extract the first word of "lipo", so it can be a program name with args.
   8178 set dummy lipo; ac_word=$2
   8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8180 $as_echo_n "checking for $ac_word... " >&6; }
   8181 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8182   $as_echo_n "(cached) " >&6
   8183 else
   8184   if test -n "$ac_ct_LIPO"; then
   8185   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8186 else
   8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8188 for as_dir in $PATH
   8189 do
   8190   IFS=$as_save_IFS
   8191   test -z "$as_dir" && as_dir=.
   8192     for ac_exec_ext in '' $ac_executable_extensions; do
   8193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8194     ac_cv_prog_ac_ct_LIPO="lipo"
   8195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8196     break 2
   8197   fi
   8198 done
   8199   done
   8200 IFS=$as_save_IFS
   8201 
   8202 fi
   8203 fi
   8204 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8205 if test -n "$ac_ct_LIPO"; then
   8206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8207 $as_echo "$ac_ct_LIPO" >&6; }
   8208 else
   8209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8210 $as_echo "no" >&6; }
   8211 fi
   8212 
   8213   if test "x$ac_ct_LIPO" = x; then
   8214     LIPO=":"
   8215   else
   8216     case $cross_compiling:$ac_tool_warned in
   8217 yes:)
   8218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8220 ac_tool_warned=yes ;;
   8221 esac
   8222     LIPO=$ac_ct_LIPO
   8223   fi
   8224 else
   8225   LIPO="$ac_cv_prog_LIPO"
   8226 fi
   8227 
   8228     if test -n "$ac_tool_prefix"; then
   8229   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8230 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8232 $as_echo_n "checking for $ac_word... " >&6; }
   8233 if ${ac_cv_prog_OTOOL+:} false; then :
   8234   $as_echo_n "(cached) " >&6
   8235 else
   8236   if test -n "$OTOOL"; then
   8237   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8238 else
   8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8240 for as_dir in $PATH
   8241 do
   8242   IFS=$as_save_IFS
   8243   test -z "$as_dir" && as_dir=.
   8244     for ac_exec_ext in '' $ac_executable_extensions; do
   8245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8246     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8248     break 2
   8249   fi
   8250 done
   8251   done
   8252 IFS=$as_save_IFS
   8253 
   8254 fi
   8255 fi
   8256 OTOOL=$ac_cv_prog_OTOOL
   8257 if test -n "$OTOOL"; then
   8258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8259 $as_echo "$OTOOL" >&6; }
   8260 else
   8261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8262 $as_echo "no" >&6; }
   8263 fi
   8264 
   8265 
   8266 fi
   8267 if test -z "$ac_cv_prog_OTOOL"; then
   8268   ac_ct_OTOOL=$OTOOL
   8269   # Extract the first word of "otool", so it can be a program name with args.
   8270 set dummy otool; ac_word=$2
   8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8272 $as_echo_n "checking for $ac_word... " >&6; }
   8273 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8274   $as_echo_n "(cached) " >&6
   8275 else
   8276   if test -n "$ac_ct_OTOOL"; then
   8277   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8278 else
   8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8280 for as_dir in $PATH
   8281 do
   8282   IFS=$as_save_IFS
   8283   test -z "$as_dir" && as_dir=.
   8284     for ac_exec_ext in '' $ac_executable_extensions; do
   8285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8286     ac_cv_prog_ac_ct_OTOOL="otool"
   8287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8288     break 2
   8289   fi
   8290 done
   8291   done
   8292 IFS=$as_save_IFS
   8293 
   8294 fi
   8295 fi
   8296 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8297 if test -n "$ac_ct_OTOOL"; then
   8298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8299 $as_echo "$ac_ct_OTOOL" >&6; }
   8300 else
   8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8302 $as_echo "no" >&6; }
   8303 fi
   8304 
   8305   if test "x$ac_ct_OTOOL" = x; then
   8306     OTOOL=":"
   8307   else
   8308     case $cross_compiling:$ac_tool_warned in
   8309 yes:)
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8312 ac_tool_warned=yes ;;
   8313 esac
   8314     OTOOL=$ac_ct_OTOOL
   8315   fi
   8316 else
   8317   OTOOL="$ac_cv_prog_OTOOL"
   8318 fi
   8319 
   8320     if test -n "$ac_tool_prefix"; then
   8321   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8322 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8324 $as_echo_n "checking for $ac_word... " >&6; }
   8325 if ${ac_cv_prog_OTOOL64+:} false; then :
   8326   $as_echo_n "(cached) " >&6
   8327 else
   8328   if test -n "$OTOOL64"; then
   8329   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8330 else
   8331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8332 for as_dir in $PATH
   8333 do
   8334   IFS=$as_save_IFS
   8335   test -z "$as_dir" && as_dir=.
   8336     for ac_exec_ext in '' $ac_executable_extensions; do
   8337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8338     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8340     break 2
   8341   fi
   8342 done
   8343   done
   8344 IFS=$as_save_IFS
   8345 
   8346 fi
   8347 fi
   8348 OTOOL64=$ac_cv_prog_OTOOL64
   8349 if test -n "$OTOOL64"; then
   8350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8351 $as_echo "$OTOOL64" >&6; }
   8352 else
   8353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8354 $as_echo "no" >&6; }
   8355 fi
   8356 
   8357 
   8358 fi
   8359 if test -z "$ac_cv_prog_OTOOL64"; then
   8360   ac_ct_OTOOL64=$OTOOL64
   8361   # Extract the first word of "otool64", so it can be a program name with args.
   8362 set dummy otool64; ac_word=$2
   8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8364 $as_echo_n "checking for $ac_word... " >&6; }
   8365 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8366   $as_echo_n "(cached) " >&6
   8367 else
   8368   if test -n "$ac_ct_OTOOL64"; then
   8369   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8370 else
   8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8372 for as_dir in $PATH
   8373 do
   8374   IFS=$as_save_IFS
   8375   test -z "$as_dir" && as_dir=.
   8376     for ac_exec_ext in '' $ac_executable_extensions; do
   8377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8378     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8380     break 2
   8381   fi
   8382 done
   8383   done
   8384 IFS=$as_save_IFS
   8385 
   8386 fi
   8387 fi
   8388 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8389 if test -n "$ac_ct_OTOOL64"; then
   8390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8391 $as_echo "$ac_ct_OTOOL64" >&6; }
   8392 else
   8393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8394 $as_echo "no" >&6; }
   8395 fi
   8396 
   8397   if test "x$ac_ct_OTOOL64" = x; then
   8398     OTOOL64=":"
   8399   else
   8400     case $cross_compiling:$ac_tool_warned in
   8401 yes:)
   8402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8404 ac_tool_warned=yes ;;
   8405 esac
   8406     OTOOL64=$ac_ct_OTOOL64
   8407   fi
   8408 else
   8409   OTOOL64="$ac_cv_prog_OTOOL64"
   8410 fi
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8439 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8440 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8441   $as_echo_n "(cached) " >&6
   8442 else
   8443   lt_cv_apple_cc_single_mod=no
   8444       if test -z "${LT_MULTI_MODULE}"; then
   8445 	# By default we will add the -single_module flag. You can override
   8446 	# by either setting the environment variable LT_MULTI_MODULE
   8447 	# non-empty at configure time, or by adding -multi_module to the
   8448 	# link flags.
   8449 	rm -rf libconftest.dylib*
   8450 	echo "int foo(void){return 1;}" > conftest.c
   8451 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8452 -dynamiclib -Wl,-single_module conftest.c" >&5
   8453 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8454 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8455         _lt_result=$?
   8456 	# If there is a non-empty error log, and "single_module"
   8457 	# appears in it, assume the flag caused a linker warning
   8458         if test -s conftest.err && $GREP single_module conftest.err; then
   8459 	  cat conftest.err >&5
   8460 	# Otherwise, if the output was created with a 0 exit code from
   8461 	# the compiler, it worked.
   8462 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   8463 	  lt_cv_apple_cc_single_mod=yes
   8464 	else
   8465 	  cat conftest.err >&5
   8466 	fi
   8467 	rm -rf libconftest.dylib*
   8468 	rm -f conftest.*
   8469       fi
   8470 fi
   8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8472 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8473 
   8474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8475 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8476 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8477   $as_echo_n "(cached) " >&6
   8478 else
   8479   lt_cv_ld_exported_symbols_list=no
   8480       save_LDFLAGS=$LDFLAGS
   8481       echo "_main" > conftest.sym
   8482       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8484 /* end confdefs.h.  */
   8485 
   8486 int
   8487 main ()
   8488 {
   8489 
   8490   ;
   8491   return 0;
   8492 }
   8493 _ACEOF
   8494 if ac_fn_c_try_link "$LINENO"; then :
   8495   lt_cv_ld_exported_symbols_list=yes
   8496 else
   8497   lt_cv_ld_exported_symbols_list=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext \
   8500     conftest$ac_exeext conftest.$ac_ext
   8501 	LDFLAGS="$save_LDFLAGS"
   8502 
   8503 fi
   8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8505 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8506 
   8507     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8508 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8509 if ${lt_cv_ld_force_load+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   lt_cv_ld_force_load=no
   8513       cat > conftest.c << _LT_EOF
   8514 int forced_loaded() { return 2;}
   8515 _LT_EOF
   8516       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8517       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8518       echo "$AR cru libconftest.a conftest.o" >&5
   8519       $AR cru libconftest.a conftest.o 2>&5
   8520       echo "$RANLIB libconftest.a" >&5
   8521       $RANLIB libconftest.a 2>&5
   8522       cat > conftest.c << _LT_EOF
   8523 int main() { return 0;}
   8524 _LT_EOF
   8525       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8526       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8527       _lt_result=$?
   8528       if test -s conftest.err && $GREP force_load conftest.err; then
   8529 	cat conftest.err >&5
   8530       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   8531 	lt_cv_ld_force_load=yes
   8532       else
   8533 	cat conftest.err >&5
   8534       fi
   8535         rm -f conftest.err libconftest.a conftest conftest.c
   8536         rm -rf conftest.dSYM
   8537 
   8538 fi
   8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8540 $as_echo "$lt_cv_ld_force_load" >&6; }
   8541     case $host_os in
   8542     rhapsody* | darwin1.[012])
   8543       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8544     darwin1.*)
   8545       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8546     darwin*) # darwin 5.x on
   8547       # if running on 10.5 or later, the deployment target defaults
   8548       # to the OS version, if on x86, and 10.4, the deployment
   8549       # target defaults to 10.4. Don't you love it?
   8550       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8551 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8552 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8553 	10.[012]*)
   8554 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8555 	10.*)
   8556 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8557       esac
   8558     ;;
   8559   esac
   8560     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8561       _lt_dar_single_mod='$single_module'
   8562     fi
   8563     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8564       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8565     else
   8566       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8567     fi
   8568     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8569       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8570     else
   8571       _lt_dsymutil=
   8572     fi
   8573     ;;
   8574   esac
   8575 
   8576 for ac_header in dlfcn.h
   8577 do :
   8578   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8579 "
   8580 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8581   cat >>confdefs.h <<_ACEOF
   8582 #define HAVE_DLFCN_H 1
   8583 _ACEOF
   8584 
   8585 fi
   8586 
   8587 done
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 # Set options
   8594 
   8595 
   8596 
   8597         enable_dlopen=no
   8598 
   8599 
   8600 
   8601             # Check whether --enable-shared was given.
   8602 if test "${enable_shared+set}" = set; then :
   8603   enableval=$enable_shared; p=${PACKAGE-default}
   8604     case $enableval in
   8605     yes) enable_shared=yes ;;
   8606     no) enable_shared=no ;;
   8607     *)
   8608       enable_shared=no
   8609       # Look at the argument we got.  We use all the common list separators.
   8610       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8611       for pkg in $enableval; do
   8612 	IFS="$lt_save_ifs"
   8613 	if test "X$pkg" = "X$p"; then
   8614 	  enable_shared=yes
   8615 	fi
   8616       done
   8617       IFS="$lt_save_ifs"
   8618       ;;
   8619     esac
   8620 else
   8621   enable_shared=yes
   8622 fi
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632   # Check whether --enable-static was given.
   8633 if test "${enable_static+set}" = set; then :
   8634   enableval=$enable_static; p=${PACKAGE-default}
   8635     case $enableval in
   8636     yes) enable_static=yes ;;
   8637     no) enable_static=no ;;
   8638     *)
   8639      enable_static=no
   8640       # Look at the argument we got.  We use all the common list separators.
   8641       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8642       for pkg in $enableval; do
   8643 	IFS="$lt_save_ifs"
   8644 	if test "X$pkg" = "X$p"; then
   8645 	  enable_static=yes
   8646 	fi
   8647       done
   8648       IFS="$lt_save_ifs"
   8649       ;;
   8650     esac
   8651 else
   8652   enable_static=yes
   8653 fi
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 # Check whether --with-pic was given.
   8665 if test "${with_pic+set}" = set; then :
   8666   withval=$with_pic; lt_p=${PACKAGE-default}
   8667     case $withval in
   8668     yes|no) pic_mode=$withval ;;
   8669     *)
   8670       pic_mode=default
   8671       # Look at the argument we got.  We use all the common list separators.
   8672       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8673       for lt_pkg in $withval; do
   8674 	IFS="$lt_save_ifs"
   8675 	if test "X$lt_pkg" = "X$lt_p"; then
   8676 	  pic_mode=yes
   8677 	fi
   8678       done
   8679       IFS="$lt_save_ifs"
   8680       ;;
   8681     esac
   8682 else
   8683   pic_mode=default
   8684 fi
   8685 
   8686 
   8687 test -z "$pic_mode" && pic_mode=default
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695   # Check whether --enable-fast-install was given.
   8696 if test "${enable_fast_install+set}" = set; then :
   8697   enableval=$enable_fast_install; p=${PACKAGE-default}
   8698     case $enableval in
   8699     yes) enable_fast_install=yes ;;
   8700     no) enable_fast_install=no ;;
   8701     *)
   8702       enable_fast_install=no
   8703       # Look at the argument we got.  We use all the common list separators.
   8704       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8705       for pkg in $enableval; do
   8706 	IFS="$lt_save_ifs"
   8707 	if test "X$pkg" = "X$p"; then
   8708 	  enable_fast_install=yes
   8709 	fi
   8710       done
   8711       IFS="$lt_save_ifs"
   8712       ;;
   8713     esac
   8714 else
   8715   enable_fast_install=yes
   8716 fi
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 # This can be used to rebuild libtool when needed
   8729 LIBTOOL_DEPS="$ltmain"
   8730 
   8731 # Always use our own libtool.
   8732 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 test -z "$LN_S" && LN_S="ln -s"
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 if test -n "${ZSH_VERSION+set}" ; then
   8779    setopt NO_GLOB_SUBST
   8780 fi
   8781 
   8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8783 $as_echo_n "checking for objdir... " >&6; }
   8784 if ${lt_cv_objdir+:} false; then :
   8785   $as_echo_n "(cached) " >&6
   8786 else
   8787   rm -f .libs 2>/dev/null
   8788 mkdir .libs 2>/dev/null
   8789 if test -d .libs; then
   8790   lt_cv_objdir=.libs
   8791 else
   8792   # MS-DOS does not allow filenames that begin with a dot.
   8793   lt_cv_objdir=_libs
   8794 fi
   8795 rmdir .libs 2>/dev/null
   8796 fi
   8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8798 $as_echo "$lt_cv_objdir" >&6; }
   8799 objdir=$lt_cv_objdir
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 cat >>confdefs.h <<_ACEOF
   8806 #define LT_OBJDIR "$lt_cv_objdir/"
   8807 _ACEOF
   8808 
   8809 
   8810 
   8811 
   8812 case $host_os in
   8813 aix3*)
   8814   # AIX sometimes has problems with the GCC collect2 program.  For some
   8815   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8816   # vanish in a puff of smoke.
   8817   if test "X${COLLECT_NAMES+set}" != Xset; then
   8818     COLLECT_NAMES=
   8819     export COLLECT_NAMES
   8820   fi
   8821   ;;
   8822 esac
   8823 
   8824 # Global variables:
   8825 ofile=libtool
   8826 can_build_shared=yes
   8827 
   8828 # All known linkers require a `.a' archive for static linking (except MSVC,
   8829 # which needs '.lib').
   8830 libext=a
   8831 
   8832 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8833 
   8834 old_CC="$CC"
   8835 old_CFLAGS="$CFLAGS"
   8836 
   8837 # Set sane defaults for various variables
   8838 test -z "$CC" && CC=cc
   8839 test -z "$LTCC" && LTCC=$CC
   8840 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8841 test -z "$LD" && LD=ld
   8842 test -z "$ac_objext" && ac_objext=o
   8843 
   8844 for cc_temp in $compiler""; do
   8845   case $cc_temp in
   8846     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8847     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8848     \-*) ;;
   8849     *) break;;
   8850   esac
   8851 done
   8852 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8853 
   8854 
   8855 # Only perform the check for file, if the check method requires it
   8856 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8857 case $deplibs_check_method in
   8858 file_magic*)
   8859   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8860     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8861 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8862 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8863   $as_echo_n "(cached) " >&6
   8864 else
   8865   case $MAGIC_CMD in
   8866 [\\/*] |  ?:[\\/]*)
   8867   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8868   ;;
   8869 *)
   8870   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8871   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8872   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8873   for ac_dir in $ac_dummy; do
   8874     IFS="$lt_save_ifs"
   8875     test -z "$ac_dir" && ac_dir=.
   8876     if test -f $ac_dir/${ac_tool_prefix}file; then
   8877       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8878       if test -n "$file_magic_test_file"; then
   8879 	case $deplibs_check_method in
   8880 	"file_magic "*)
   8881 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8882 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8883 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8884 	    $EGREP "$file_magic_regex" > /dev/null; then
   8885 	    :
   8886 	  else
   8887 	    cat <<_LT_EOF 1>&2
   8888 
   8889 *** Warning: the command libtool uses to detect shared libraries,
   8890 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8891 *** The result is that libtool may fail to recognize shared libraries
   8892 *** as such.  This will affect the creation of libtool libraries that
   8893 *** depend on shared libraries, but programs linked with such libtool
   8894 *** libraries will work regardless of this problem.  Nevertheless, you
   8895 *** may want to report the problem to your system manager and/or to
   8896 *** bug-libtool@gnu.org
   8897 
   8898 _LT_EOF
   8899 	  fi ;;
   8900 	esac
   8901       fi
   8902       break
   8903     fi
   8904   done
   8905   IFS="$lt_save_ifs"
   8906   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8907   ;;
   8908 esac
   8909 fi
   8910 
   8911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8912 if test -n "$MAGIC_CMD"; then
   8913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8914 $as_echo "$MAGIC_CMD" >&6; }
   8915 else
   8916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8917 $as_echo "no" >&6; }
   8918 fi
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8925   if test -n "$ac_tool_prefix"; then
   8926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8927 $as_echo_n "checking for file... " >&6; }
   8928 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   case $MAGIC_CMD in
   8932 [\\/*] |  ?:[\\/]*)
   8933   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8934   ;;
   8935 *)
   8936   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8937   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8938   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8939   for ac_dir in $ac_dummy; do
   8940     IFS="$lt_save_ifs"
   8941     test -z "$ac_dir" && ac_dir=.
   8942     if test -f $ac_dir/file; then
   8943       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8944       if test -n "$file_magic_test_file"; then
   8945 	case $deplibs_check_method in
   8946 	"file_magic "*)
   8947 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8948 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8949 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8950 	    $EGREP "$file_magic_regex" > /dev/null; then
   8951 	    :
   8952 	  else
   8953 	    cat <<_LT_EOF 1>&2
   8954 
   8955 *** Warning: the command libtool uses to detect shared libraries,
   8956 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8957 *** The result is that libtool may fail to recognize shared libraries
   8958 *** as such.  This will affect the creation of libtool libraries that
   8959 *** depend on shared libraries, but programs linked with such libtool
   8960 *** libraries will work regardless of this problem.  Nevertheless, you
   8961 *** may want to report the problem to your system manager and/or to
   8962 *** bug-libtool@gnu.org
   8963 
   8964 _LT_EOF
   8965 	  fi ;;
   8966 	esac
   8967       fi
   8968       break
   8969     fi
   8970   done
   8971   IFS="$lt_save_ifs"
   8972   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8973   ;;
   8974 esac
   8975 fi
   8976 
   8977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8978 if test -n "$MAGIC_CMD"; then
   8979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8980 $as_echo "$MAGIC_CMD" >&6; }
   8981 else
   8982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8983 $as_echo "no" >&6; }
   8984 fi
   8985 
   8986 
   8987   else
   8988     MAGIC_CMD=:
   8989   fi
   8990 fi
   8991 
   8992   fi
   8993   ;;
   8994 esac
   8995 
   8996 # Use C for the default configuration in the libtool script
   8997 
   8998 lt_save_CC="$CC"
   8999 ac_ext=c
   9000 ac_cpp='$CPP $CPPFLAGS'
   9001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9004 
   9005 
   9006 # Source file extension for C test sources.
   9007 ac_ext=c
   9008 
   9009 # Object file extension for compiled C test sources.
   9010 objext=o
   9011 objext=$objext
   9012 
   9013 # Code to be used in simple compile tests
   9014 lt_simple_compile_test_code="int some_variable = 0;"
   9015 
   9016 # Code to be used in simple link tests
   9017 lt_simple_link_test_code='int main(){return(0);}'
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 # If no C compiler was specified, use CC.
   9026 LTCC=${LTCC-"$CC"}
   9027 
   9028 # If no C compiler flags were specified, use CFLAGS.
   9029 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9030 
   9031 # Allow CC to be a program name with arguments.
   9032 compiler=$CC
   9033 
   9034 # Save the default compiler, since it gets overwritten when the other
   9035 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9036 compiler_DEFAULT=$CC
   9037 
   9038 # save warnings/boilerplate of simple test code
   9039 ac_outfile=conftest.$ac_objext
   9040 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9041 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9042 _lt_compiler_boilerplate=`cat conftest.err`
   9043 $RM conftest*
   9044 
   9045 ac_outfile=conftest.$ac_objext
   9046 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9047 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9048 _lt_linker_boilerplate=`cat conftest.err`
   9049 $RM -r conftest*
   9050 
   9051 
   9052 ## CAVEAT EMPTOR:
   9053 ## There is no encapsulation within the following macros, do not change
   9054 ## the running order or otherwise move them around unless you know exactly
   9055 ## what you are doing...
   9056 if test -n "$compiler"; then
   9057 
   9058 lt_prog_compiler_no_builtin_flag=
   9059 
   9060 if test "$GCC" = yes; then
   9061   case $cc_basename in
   9062   nvcc*)
   9063     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9064   *)
   9065     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9066   esac
   9067 
   9068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9069 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9070 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9071   $as_echo_n "(cached) " >&6
   9072 else
   9073   lt_cv_prog_compiler_rtti_exceptions=no
   9074    ac_outfile=conftest.$ac_objext
   9075    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9076    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9077    # Insert the option either (1) after the last *FLAGS variable, or
   9078    # (2) before a word containing "conftest.", or (3) at the end.
   9079    # Note that $ac_compile itself does not contain backslashes and begins
   9080    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9081    # The option is referenced via a variable to avoid confusing sed.
   9082    lt_compile=`echo "$ac_compile" | $SED \
   9083    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9084    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9085    -e 's:$: $lt_compiler_flag:'`
   9086    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9087    (eval "$lt_compile" 2>conftest.err)
   9088    ac_status=$?
   9089    cat conftest.err >&5
   9090    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9091    if (exit $ac_status) && test -s "$ac_outfile"; then
   9092      # The compiler can only warn and ignore the option if not recognized
   9093      # So say no if there are warnings other than the usual output.
   9094      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9095      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9096      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9097        lt_cv_prog_compiler_rtti_exceptions=yes
   9098      fi
   9099    fi
   9100    $RM conftest*
   9101 
   9102 fi
   9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9104 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9105 
   9106 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9107     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9108 else
   9109     :
   9110 fi
   9111 
   9112 fi
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119   lt_prog_compiler_wl=
   9120 lt_prog_compiler_pic=
   9121 lt_prog_compiler_static=
   9122 
   9123 
   9124   if test "$GCC" = yes; then
   9125     lt_prog_compiler_wl='-Wl,'
   9126     lt_prog_compiler_static='-static'
   9127 
   9128     case $host_os in
   9129       aix*)
   9130       # All AIX code is PIC.
   9131       if test "$host_cpu" = ia64; then
   9132 	# AIX 5 now supports IA64 processor
   9133 	lt_prog_compiler_static='-Bstatic'
   9134       fi
   9135       ;;
   9136 
   9137     amigaos*)
   9138       case $host_cpu in
   9139       powerpc)
   9140             # see comment about AmigaOS4 .so support
   9141             lt_prog_compiler_pic='-fPIC'
   9142         ;;
   9143       m68k)
   9144             # FIXME: we need at least 68020 code to build shared libraries, but
   9145             # adding the `-m68020' flag to GCC prevents building anything better,
   9146             # like `-m68040'.
   9147             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9148         ;;
   9149       esac
   9150       ;;
   9151 
   9152     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9153       # PIC is the default for these OSes.
   9154       ;;
   9155 
   9156     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9157       # This hack is so that the source file can tell whether it is being
   9158       # built for inclusion in a dll (and should export symbols for example).
   9159       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9160       # (--disable-auto-import) libraries
   9161       lt_prog_compiler_pic='-DDLL_EXPORT'
   9162       ;;
   9163 
   9164     darwin* | rhapsody*)
   9165       # PIC is the default on this platform
   9166       # Common symbols not allowed in MH_DYLIB files
   9167       lt_prog_compiler_pic='-fno-common'
   9168       ;;
   9169 
   9170     haiku*)
   9171       # PIC is the default for Haiku.
   9172       # The "-static" flag exists, but is broken.
   9173       lt_prog_compiler_static=
   9174       ;;
   9175 
   9176     hpux*)
   9177       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9178       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9179       # sets the default TLS model and affects inlining.
   9180       case $host_cpu in
   9181       hppa*64*)
   9182 	# +Z the default
   9183 	;;
   9184       *)
   9185 	lt_prog_compiler_pic='-fPIC'
   9186 	;;
   9187       esac
   9188       ;;
   9189 
   9190     interix[3-9]*)
   9191       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9192       # Instead, we relocate shared libraries at runtime.
   9193       ;;
   9194 
   9195     msdosdjgpp*)
   9196       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9197       # on systems that don't support them.
   9198       lt_prog_compiler_can_build_shared=no
   9199       enable_shared=no
   9200       ;;
   9201 
   9202     *nto* | *qnx*)
   9203       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9204       # it will coredump.
   9205       lt_prog_compiler_pic='-fPIC -shared'
   9206       ;;
   9207 
   9208     sysv4*MP*)
   9209       if test -d /usr/nec; then
   9210 	lt_prog_compiler_pic=-Kconform_pic
   9211       fi
   9212       ;;
   9213 
   9214     *)
   9215       lt_prog_compiler_pic='-fPIC'
   9216       ;;
   9217     esac
   9218 
   9219     case $cc_basename in
   9220     nvcc*) # Cuda Compiler Driver 2.2
   9221       lt_prog_compiler_wl='-Xlinker '
   9222       if test -n "$lt_prog_compiler_pic"; then
   9223         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9224       fi
   9225       ;;
   9226     esac
   9227   else
   9228     # PORTME Check for flag to pass linker flags through the system compiler.
   9229     case $host_os in
   9230     aix*)
   9231       lt_prog_compiler_wl='-Wl,'
   9232       if test "$host_cpu" = ia64; then
   9233 	# AIX 5 now supports IA64 processor
   9234 	lt_prog_compiler_static='-Bstatic'
   9235       else
   9236 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9237       fi
   9238       ;;
   9239 
   9240     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9241       # This hack is so that the source file can tell whether it is being
   9242       # built for inclusion in a dll (and should export symbols for example).
   9243       lt_prog_compiler_pic='-DDLL_EXPORT'
   9244       ;;
   9245 
   9246     hpux9* | hpux10* | hpux11*)
   9247       lt_prog_compiler_wl='-Wl,'
   9248       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9249       # not for PA HP-UX.
   9250       case $host_cpu in
   9251       hppa*64*|ia64*)
   9252 	# +Z the default
   9253 	;;
   9254       *)
   9255 	lt_prog_compiler_pic='+Z'
   9256 	;;
   9257       esac
   9258       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9259       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9260       ;;
   9261 
   9262     irix5* | irix6* | nonstopux*)
   9263       lt_prog_compiler_wl='-Wl,'
   9264       # PIC (with -KPIC) is the default.
   9265       lt_prog_compiler_static='-non_shared'
   9266       ;;
   9267 
   9268     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9269       case $cc_basename in
   9270       # old Intel for x86_64 which still supported -KPIC.
   9271       ecc*)
   9272 	lt_prog_compiler_wl='-Wl,'
   9273 	lt_prog_compiler_pic='-KPIC'
   9274 	lt_prog_compiler_static='-static'
   9275         ;;
   9276       # icc used to be incompatible with GCC.
   9277       # ICC 10 doesn't accept -KPIC any more.
   9278       icc* | ifort*)
   9279 	lt_prog_compiler_wl='-Wl,'
   9280 	lt_prog_compiler_pic='-fPIC'
   9281 	lt_prog_compiler_static='-static'
   9282         ;;
   9283       # Lahey Fortran 8.1.
   9284       lf95*)
   9285 	lt_prog_compiler_wl='-Wl,'
   9286 	lt_prog_compiler_pic='--shared'
   9287 	lt_prog_compiler_static='--static'
   9288 	;;
   9289       nagfor*)
   9290 	# NAG Fortran compiler
   9291 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9292 	lt_prog_compiler_pic='-PIC'
   9293 	lt_prog_compiler_static='-Bstatic'
   9294 	;;
   9295       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9296         # Portland Group compilers (*not* the Pentium gcc compiler,
   9297 	# which looks to be a dead project)
   9298 	lt_prog_compiler_wl='-Wl,'
   9299 	lt_prog_compiler_pic='-fpic'
   9300 	lt_prog_compiler_static='-Bstatic'
   9301         ;;
   9302       ccc*)
   9303         lt_prog_compiler_wl='-Wl,'
   9304         # All Alpha code is PIC.
   9305         lt_prog_compiler_static='-non_shared'
   9306         ;;
   9307       xl* | bgxl* | bgf* | mpixl*)
   9308 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9309 	lt_prog_compiler_wl='-Wl,'
   9310 	lt_prog_compiler_pic='-qpic'
   9311 	lt_prog_compiler_static='-qstaticlink'
   9312 	;;
   9313       *)
   9314 	case `$CC -V 2>&1 | sed 5q` in
   9315 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9316 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9317 	  lt_prog_compiler_pic='-KPIC'
   9318 	  lt_prog_compiler_static='-Bstatic'
   9319 	  lt_prog_compiler_wl=''
   9320 	  ;;
   9321 	*Sun\ F* | *Sun*Fortran*)
   9322 	  lt_prog_compiler_pic='-KPIC'
   9323 	  lt_prog_compiler_static='-Bstatic'
   9324 	  lt_prog_compiler_wl='-Qoption ld '
   9325 	  ;;
   9326 	*Sun\ C*)
   9327 	  # Sun C 5.9
   9328 	  lt_prog_compiler_pic='-KPIC'
   9329 	  lt_prog_compiler_static='-Bstatic'
   9330 	  lt_prog_compiler_wl='-Wl,'
   9331 	  ;;
   9332         *Intel*\ [CF]*Compiler*)
   9333 	  lt_prog_compiler_wl='-Wl,'
   9334 	  lt_prog_compiler_pic='-fPIC'
   9335 	  lt_prog_compiler_static='-static'
   9336 	  ;;
   9337 	*Portland\ Group*)
   9338 	  lt_prog_compiler_wl='-Wl,'
   9339 	  lt_prog_compiler_pic='-fpic'
   9340 	  lt_prog_compiler_static='-Bstatic'
   9341 	  ;;
   9342 	esac
   9343 	;;
   9344       esac
   9345       ;;
   9346 
   9347     newsos6)
   9348       lt_prog_compiler_pic='-KPIC'
   9349       lt_prog_compiler_static='-Bstatic'
   9350       ;;
   9351 
   9352     *nto* | *qnx*)
   9353       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9354       # it will coredump.
   9355       lt_prog_compiler_pic='-fPIC -shared'
   9356       ;;
   9357 
   9358     osf3* | osf4* | osf5*)
   9359       lt_prog_compiler_wl='-Wl,'
   9360       # All OSF/1 code is PIC.
   9361       lt_prog_compiler_static='-non_shared'
   9362       ;;
   9363 
   9364     rdos*)
   9365       lt_prog_compiler_static='-non_shared'
   9366       ;;
   9367 
   9368     solaris*)
   9369       lt_prog_compiler_pic='-KPIC'
   9370       lt_prog_compiler_static='-Bstatic'
   9371       case $cc_basename in
   9372       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9373 	lt_prog_compiler_wl='-Qoption ld ';;
   9374       *)
   9375 	lt_prog_compiler_wl='-Wl,';;
   9376       esac
   9377       ;;
   9378 
   9379     sunos4*)
   9380       lt_prog_compiler_wl='-Qoption ld '
   9381       lt_prog_compiler_pic='-PIC'
   9382       lt_prog_compiler_static='-Bstatic'
   9383       ;;
   9384 
   9385     sysv4 | sysv4.2uw2* | sysv4.3*)
   9386       lt_prog_compiler_wl='-Wl,'
   9387       lt_prog_compiler_pic='-KPIC'
   9388       lt_prog_compiler_static='-Bstatic'
   9389       ;;
   9390 
   9391     sysv4*MP*)
   9392       if test -d /usr/nec ;then
   9393 	lt_prog_compiler_pic='-Kconform_pic'
   9394 	lt_prog_compiler_static='-Bstatic'
   9395       fi
   9396       ;;
   9397 
   9398     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9399       lt_prog_compiler_wl='-Wl,'
   9400       lt_prog_compiler_pic='-KPIC'
   9401       lt_prog_compiler_static='-Bstatic'
   9402       ;;
   9403 
   9404     unicos*)
   9405       lt_prog_compiler_wl='-Wl,'
   9406       lt_prog_compiler_can_build_shared=no
   9407       ;;
   9408 
   9409     uts4*)
   9410       lt_prog_compiler_pic='-pic'
   9411       lt_prog_compiler_static='-Bstatic'
   9412       ;;
   9413 
   9414     *)
   9415       lt_prog_compiler_can_build_shared=no
   9416       ;;
   9417     esac
   9418   fi
   9419 
   9420 case $host_os in
   9421   # For platforms which do not support PIC, -DPIC is meaningless:
   9422   *djgpp*)
   9423     lt_prog_compiler_pic=
   9424     ;;
   9425   *)
   9426     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9427     ;;
   9428 esac
   9429 
   9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9431 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9432 if ${lt_cv_prog_compiler_pic+:} false; then :
   9433   $as_echo_n "(cached) " >&6
   9434 else
   9435   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9436 fi
   9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9438 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9439 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9440 
   9441 #
   9442 # Check to make sure the PIC flag actually works.
   9443 #
   9444 if test -n "$lt_prog_compiler_pic"; then
   9445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9446 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9447 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9448   $as_echo_n "(cached) " >&6
   9449 else
   9450   lt_cv_prog_compiler_pic_works=no
   9451    ac_outfile=conftest.$ac_objext
   9452    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9453    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9454    # Insert the option either (1) after the last *FLAGS variable, or
   9455    # (2) before a word containing "conftest.", or (3) at the end.
   9456    # Note that $ac_compile itself does not contain backslashes and begins
   9457    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9458    # The option is referenced via a variable to avoid confusing sed.
   9459    lt_compile=`echo "$ac_compile" | $SED \
   9460    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9461    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9462    -e 's:$: $lt_compiler_flag:'`
   9463    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9464    (eval "$lt_compile" 2>conftest.err)
   9465    ac_status=$?
   9466    cat conftest.err >&5
   9467    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9468    if (exit $ac_status) && test -s "$ac_outfile"; then
   9469      # The compiler can only warn and ignore the option if not recognized
   9470      # So say no if there are warnings other than the usual output.
   9471      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9472      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9473      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9474        lt_cv_prog_compiler_pic_works=yes
   9475      fi
   9476    fi
   9477    $RM conftest*
   9478 
   9479 fi
   9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9481 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9482 
   9483 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9484     case $lt_prog_compiler_pic in
   9485      "" | " "*) ;;
   9486      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9487      esac
   9488 else
   9489     lt_prog_compiler_pic=
   9490      lt_prog_compiler_can_build_shared=no
   9491 fi
   9492 
   9493 fi
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 #
   9506 # Check to make sure the static flag actually works.
   9507 #
   9508 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9510 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9511 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   lt_cv_prog_compiler_static_works=no
   9515    save_LDFLAGS="$LDFLAGS"
   9516    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9517    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9518    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9519      # The linker can only warn and ignore the option if not recognized
   9520      # So say no if there are warnings
   9521      if test -s conftest.err; then
   9522        # Append any errors to the config.log.
   9523        cat conftest.err 1>&5
   9524        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9525        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9526        if diff conftest.exp conftest.er2 >/dev/null; then
   9527          lt_cv_prog_compiler_static_works=yes
   9528        fi
   9529      else
   9530        lt_cv_prog_compiler_static_works=yes
   9531      fi
   9532    fi
   9533    $RM -r conftest*
   9534    LDFLAGS="$save_LDFLAGS"
   9535 
   9536 fi
   9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9538 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9539 
   9540 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9541     :
   9542 else
   9543     lt_prog_compiler_static=
   9544 fi
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9553 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9554 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9555   $as_echo_n "(cached) " >&6
   9556 else
   9557   lt_cv_prog_compiler_c_o=no
   9558    $RM -r conftest 2>/dev/null
   9559    mkdir conftest
   9560    cd conftest
   9561    mkdir out
   9562    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9563 
   9564    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9565    # Insert the option either (1) after the last *FLAGS variable, or
   9566    # (2) before a word containing "conftest.", or (3) at the end.
   9567    # Note that $ac_compile itself does not contain backslashes and begins
   9568    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9569    lt_compile=`echo "$ac_compile" | $SED \
   9570    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9571    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9572    -e 's:$: $lt_compiler_flag:'`
   9573    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9574    (eval "$lt_compile" 2>out/conftest.err)
   9575    ac_status=$?
   9576    cat out/conftest.err >&5
   9577    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9578    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9579    then
   9580      # The compiler can only warn and ignore the option if not recognized
   9581      # So say no if there are warnings
   9582      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9583      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9584      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9585        lt_cv_prog_compiler_c_o=yes
   9586      fi
   9587    fi
   9588    chmod u+w . 2>&5
   9589    $RM conftest*
   9590    # SGI C++ compiler will create directory out/ii_files/ for
   9591    # template instantiation
   9592    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9593    $RM out/* && rmdir out
   9594    cd ..
   9595    $RM -r conftest
   9596    $RM conftest*
   9597 
   9598 fi
   9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9600 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9608 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9609 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9610   $as_echo_n "(cached) " >&6
   9611 else
   9612   lt_cv_prog_compiler_c_o=no
   9613    $RM -r conftest 2>/dev/null
   9614    mkdir conftest
   9615    cd conftest
   9616    mkdir out
   9617    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9618 
   9619    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9620    # Insert the option either (1) after the last *FLAGS variable, or
   9621    # (2) before a word containing "conftest.", or (3) at the end.
   9622    # Note that $ac_compile itself does not contain backslashes and begins
   9623    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9624    lt_compile=`echo "$ac_compile" | $SED \
   9625    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9626    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9627    -e 's:$: $lt_compiler_flag:'`
   9628    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9629    (eval "$lt_compile" 2>out/conftest.err)
   9630    ac_status=$?
   9631    cat out/conftest.err >&5
   9632    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9633    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9634    then
   9635      # The compiler can only warn and ignore the option if not recognized
   9636      # So say no if there are warnings
   9637      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9638      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9639      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9640        lt_cv_prog_compiler_c_o=yes
   9641      fi
   9642    fi
   9643    chmod u+w . 2>&5
   9644    $RM conftest*
   9645    # SGI C++ compiler will create directory out/ii_files/ for
   9646    # template instantiation
   9647    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9648    $RM out/* && rmdir out
   9649    cd ..
   9650    $RM -r conftest
   9651    $RM conftest*
   9652 
   9653 fi
   9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9655 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9656 
   9657 
   9658 
   9659 
   9660 hard_links="nottested"
   9661 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9662   # do not overwrite the value of need_locks provided by the user
   9663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9664 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9665   hard_links=yes
   9666   $RM conftest*
   9667   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9668   touch conftest.a
   9669   ln conftest.a conftest.b 2>&5 || hard_links=no
   9670   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9672 $as_echo "$hard_links" >&6; }
   9673   if test "$hard_links" = no; then
   9674     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9675 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9676     need_locks=warn
   9677   fi
   9678 else
   9679   need_locks=no
   9680 fi
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9688 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9689 
   9690   runpath_var=
   9691   allow_undefined_flag=
   9692   always_export_symbols=no
   9693   archive_cmds=
   9694   archive_expsym_cmds=
   9695   compiler_needs_object=no
   9696   enable_shared_with_static_runtimes=no
   9697   export_dynamic_flag_spec=
   9698   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9699   hardcode_automatic=no
   9700   hardcode_direct=no
   9701   hardcode_direct_absolute=no
   9702   hardcode_libdir_flag_spec=
   9703   hardcode_libdir_separator=
   9704   hardcode_minus_L=no
   9705   hardcode_shlibpath_var=unsupported
   9706   inherit_rpath=no
   9707   link_all_deplibs=unknown
   9708   module_cmds=
   9709   module_expsym_cmds=
   9710   old_archive_from_new_cmds=
   9711   old_archive_from_expsyms_cmds=
   9712   thread_safe_flag_spec=
   9713   whole_archive_flag_spec=
   9714   # include_expsyms should be a list of space-separated symbols to be *always*
   9715   # included in the symbol list
   9716   include_expsyms=
   9717   # exclude_expsyms can be an extended regexp of symbols to exclude
   9718   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9719   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9720   # as well as any symbol that contains `d'.
   9721   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9722   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9723   # platforms (ab)use it in PIC code, but their linkers get confused if
   9724   # the symbol is explicitly referenced.  Since portable code cannot
   9725   # rely on this symbol name, it's probably fine to never include it in
   9726   # preloaded symbol tables.
   9727   # Exclude shared library initialization/finalization symbols.
   9728   extract_expsyms_cmds=
   9729 
   9730   case $host_os in
   9731   cygwin* | mingw* | pw32* | cegcc*)
   9732     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9733     # When not using gcc, we currently assume that we are using
   9734     # Microsoft Visual C++.
   9735     if test "$GCC" != yes; then
   9736       with_gnu_ld=no
   9737     fi
   9738     ;;
   9739   interix*)
   9740     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9741     with_gnu_ld=yes
   9742     ;;
   9743   openbsd*)
   9744     with_gnu_ld=no
   9745     ;;
   9746   linux* | k*bsd*-gnu | gnu*)
   9747     link_all_deplibs=no
   9748     ;;
   9749   esac
   9750 
   9751   ld_shlibs=yes
   9752 
   9753   # On some targets, GNU ld is compatible enough with the native linker
   9754   # that we're better off using the native interface for both.
   9755   lt_use_gnu_ld_interface=no
   9756   if test "$with_gnu_ld" = yes; then
   9757     case $host_os in
   9758       aix*)
   9759 	# The AIX port of GNU ld has always aspired to compatibility
   9760 	# with the native linker.  However, as the warning in the GNU ld
   9761 	# block says, versions before 2.19.5* couldn't really create working
   9762 	# shared libraries, regardless of the interface used.
   9763 	case `$LD -v 2>&1` in
   9764 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9765 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9766 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9767 	  *)
   9768 	    lt_use_gnu_ld_interface=yes
   9769 	    ;;
   9770 	esac
   9771 	;;
   9772       *)
   9773 	lt_use_gnu_ld_interface=yes
   9774 	;;
   9775     esac
   9776   fi
   9777 
   9778   if test "$lt_use_gnu_ld_interface" = yes; then
   9779     # If archive_cmds runs LD, not CC, wlarc should be empty
   9780     wlarc='${wl}'
   9781 
   9782     # Set some defaults for GNU ld with shared library support. These
   9783     # are reset later if shared libraries are not supported. Putting them
   9784     # here allows them to be overridden if necessary.
   9785     runpath_var=LD_RUN_PATH
   9786     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9787     export_dynamic_flag_spec='${wl}--export-dynamic'
   9788     # ancient GNU ld didn't support --whole-archive et. al.
   9789     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9790       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9791     else
   9792       whole_archive_flag_spec=
   9793     fi
   9794     supports_anon_versioning=no
   9795     case `$LD -v 2>&1` in
   9796       *GNU\ gold*) supports_anon_versioning=yes ;;
   9797       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9798       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9799       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9800       *\ 2.11.*) ;; # other 2.11 versions
   9801       *) supports_anon_versioning=yes ;;
   9802     esac
   9803 
   9804     # See if GNU ld supports shared libraries.
   9805     case $host_os in
   9806     aix[3-9]*)
   9807       # On AIX/PPC, the GNU linker is very broken
   9808       if test "$host_cpu" != ia64; then
   9809 	ld_shlibs=no
   9810 	cat <<_LT_EOF 1>&2
   9811 
   9812 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9813 *** to be unable to reliably create shared libraries on AIX.
   9814 *** Therefore, libtool is disabling shared libraries support.  If you
   9815 *** really care for shared libraries, you may want to install binutils
   9816 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9817 *** You will then need to restart the configuration process.
   9818 
   9819 _LT_EOF
   9820       fi
   9821       ;;
   9822 
   9823     amigaos*)
   9824       case $host_cpu in
   9825       powerpc)
   9826             # see comment about AmigaOS4 .so support
   9827             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9828             archive_expsym_cmds=''
   9829         ;;
   9830       m68k)
   9831             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)'
   9832             hardcode_libdir_flag_spec='-L$libdir'
   9833             hardcode_minus_L=yes
   9834         ;;
   9835       esac
   9836       ;;
   9837 
   9838     beos*)
   9839       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9840 	allow_undefined_flag=unsupported
   9841 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9842 	# support --undefined.  This deserves some investigation.  FIXME
   9843 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9844       else
   9845 	ld_shlibs=no
   9846       fi
   9847       ;;
   9848 
   9849     cygwin* | mingw* | pw32* | cegcc*)
   9850       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9851       # as there is no search path for DLLs.
   9852       hardcode_libdir_flag_spec='-L$libdir'
   9853       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9854       allow_undefined_flag=unsupported
   9855       always_export_symbols=no
   9856       enable_shared_with_static_runtimes=yes
   9857       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'
   9858       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9859 
   9860       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9861         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9862 	# If the export-symbols file already is a .def file (1st line
   9863 	# is EXPORTS), use it as is; otherwise, prepend...
   9864 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9865 	  cp $export_symbols $output_objdir/$soname.def;
   9866 	else
   9867 	  echo EXPORTS > $output_objdir/$soname.def;
   9868 	  cat $export_symbols >> $output_objdir/$soname.def;
   9869 	fi~
   9870 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9871       else
   9872 	ld_shlibs=no
   9873       fi
   9874       ;;
   9875 
   9876     haiku*)
   9877       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9878       link_all_deplibs=yes
   9879       ;;
   9880 
   9881     interix[3-9]*)
   9882       hardcode_direct=no
   9883       hardcode_shlibpath_var=no
   9884       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9885       export_dynamic_flag_spec='${wl}-E'
   9886       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9887       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9888       # default) and relocated if they conflict, which is a slow very memory
   9889       # consuming and fragmenting process.  To avoid this, we pick a random,
   9890       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9891       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9892       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9893       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'
   9894       ;;
   9895 
   9896     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9897       tmp_diet=no
   9898       if test "$host_os" = linux-dietlibc; then
   9899 	case $cc_basename in
   9900 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9901 	esac
   9902       fi
   9903       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9904 	 && test "$tmp_diet" = no
   9905       then
   9906 	tmp_addflag=' $pic_flag'
   9907 	tmp_sharedflag='-shared'
   9908 	case $cc_basename,$host_cpu in
   9909         pgcc*)				# Portland Group C compiler
   9910 	  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'
   9911 	  tmp_addflag=' $pic_flag'
   9912 	  ;;
   9913 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9914 					# Portland Group f77 and f90 compilers
   9915 	  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'
   9916 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9917 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9918 	  tmp_addflag=' -i_dynamic' ;;
   9919 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9920 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9921 	ifc* | ifort*)			# Intel Fortran compiler
   9922 	  tmp_addflag=' -nofor_main' ;;
   9923 	lf95*)				# Lahey Fortran 8.1
   9924 	  whole_archive_flag_spec=
   9925 	  tmp_sharedflag='--shared' ;;
   9926 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9927 	  tmp_sharedflag='-qmkshrobj'
   9928 	  tmp_addflag= ;;
   9929 	nvcc*)	# Cuda Compiler Driver 2.2
   9930 	  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'
   9931 	  compiler_needs_object=yes
   9932 	  ;;
   9933 	esac
   9934 	case `$CC -V 2>&1 | sed 5q` in
   9935 	*Sun\ C*)			# Sun C 5.9
   9936 	  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'
   9937 	  compiler_needs_object=yes
   9938 	  tmp_sharedflag='-G' ;;
   9939 	*Sun\ F*)			# Sun Fortran 8.3
   9940 	  tmp_sharedflag='-G' ;;
   9941 	esac
   9942 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9943 
   9944         if test "x$supports_anon_versioning" = xyes; then
   9945           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9946 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9947 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9948 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9949         fi
   9950 
   9951 	case $cc_basename in
   9952 	xlf* | bgf* | bgxlf* | mpixlf*)
   9953 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9954 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9955 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9956 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9957 	  if test "x$supports_anon_versioning" = xyes; then
   9958 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9959 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9960 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9961 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9962 	  fi
   9963 	  ;;
   9964 	esac
   9965       else
   9966         ld_shlibs=no
   9967       fi
   9968       ;;
   9969 
   9970     netbsd* | netbsdelf*-gnu)
   9971       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9972 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9973 	wlarc=
   9974       else
   9975 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9976 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9977       fi
   9978       ;;
   9979 
   9980     solaris*)
   9981       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9982 	ld_shlibs=no
   9983 	cat <<_LT_EOF 1>&2
   9984 
   9985 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9986 *** create shared libraries on Solaris systems.  Therefore, libtool
   9987 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9988 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9989 *** your PATH or compiler configuration so that the native linker is
   9990 *** used, and then restart.
   9991 
   9992 _LT_EOF
   9993       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9994 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9995 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9996       else
   9997 	ld_shlibs=no
   9998       fi
   9999       ;;
   10000 
   10001     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10002       case `$LD -v 2>&1` in
   10003         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10004 	ld_shlibs=no
   10005 	cat <<_LT_EOF 1>&2
   10006 
   10007 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10008 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10009 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10010 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10011 *** your PATH or compiler configuration so that the native linker is
   10012 *** used, and then restart.
   10013 
   10014 _LT_EOF
   10015 	;;
   10016 	*)
   10017 	  # For security reasons, it is highly recommended that you always
   10018 	  # use absolute paths for naming shared libraries, and exclude the
   10019 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10020 	  # requires that you compile everything twice, which is a pain.
   10021 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10022 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10023 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10024 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10025 	  else
   10026 	    ld_shlibs=no
   10027 	  fi
   10028 	;;
   10029       esac
   10030       ;;
   10031 
   10032     sunos4*)
   10033       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10034       wlarc=
   10035       hardcode_direct=yes
   10036       hardcode_shlibpath_var=no
   10037       ;;
   10038 
   10039     *)
   10040       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10041 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10042 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10043       else
   10044 	ld_shlibs=no
   10045       fi
   10046       ;;
   10047     esac
   10048 
   10049     if test "$ld_shlibs" = no; then
   10050       runpath_var=
   10051       hardcode_libdir_flag_spec=
   10052       export_dynamic_flag_spec=
   10053       whole_archive_flag_spec=
   10054     fi
   10055   else
   10056     # PORTME fill in a description of your system's linker (not GNU ld)
   10057     case $host_os in
   10058     aix3*)
   10059       allow_undefined_flag=unsupported
   10060       always_export_symbols=yes
   10061       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'
   10062       # Note: this linker hardcodes the directories in LIBPATH if there
   10063       # are no directories specified by -L.
   10064       hardcode_minus_L=yes
   10065       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10066 	# Neither direct hardcoding nor static linking is supported with a
   10067 	# broken collect2.
   10068 	hardcode_direct=unsupported
   10069       fi
   10070       ;;
   10071 
   10072     aix[4-9]*)
   10073       if test "$host_cpu" = ia64; then
   10074 	# On IA64, the linker does run time linking by default, so we don't
   10075 	# have to do anything special.
   10076 	aix_use_runtimelinking=no
   10077 	exp_sym_flag='-Bexport'
   10078 	no_entry_flag=""
   10079       else
   10080 	# If we're using GNU nm, then we don't want the "-C" option.
   10081 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10082 	# Also, AIX nm treats weak defined symbols like other global
   10083 	# defined symbols, whereas GNU nm marks them as "W".
   10084 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10085 	  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'
   10086 	else
   10087 	  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'
   10088 	fi
   10089 	aix_use_runtimelinking=no
   10090 
   10091 	# Test if we are trying to use run time linking or normal
   10092 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10093 	# need to do runtime linking.
   10094 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10095 	  for ld_flag in $LDFLAGS; do
   10096 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10097 	    aix_use_runtimelinking=yes
   10098 	    break
   10099 	  fi
   10100 	  done
   10101 	  ;;
   10102 	esac
   10103 
   10104 	exp_sym_flag='-bexport'
   10105 	no_entry_flag='-bnoentry'
   10106       fi
   10107 
   10108       # When large executables or shared objects are built, AIX ld can
   10109       # have problems creating the table of contents.  If linking a library
   10110       # or program results in "error TOC overflow" add -mminimal-toc to
   10111       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10112       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10113 
   10114       archive_cmds=''
   10115       hardcode_direct=yes
   10116       hardcode_direct_absolute=yes
   10117       hardcode_libdir_separator=':'
   10118       link_all_deplibs=yes
   10119       file_list_spec='${wl}-f,'
   10120 
   10121       if test "$GCC" = yes; then
   10122 	case $host_os in aix4.[012]|aix4.[012].*)
   10123 	# We only want to do this on AIX 4.2 and lower, the check
   10124 	# below for broken collect2 doesn't work under 4.3+
   10125 	  collect2name=`${CC} -print-prog-name=collect2`
   10126 	  if test -f "$collect2name" &&
   10127 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10128 	  then
   10129 	  # We have reworked collect2
   10130 	  :
   10131 	  else
   10132 	  # We have old collect2
   10133 	  hardcode_direct=unsupported
   10134 	  # It fails to find uninstalled libraries when the uninstalled
   10135 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10136 	  # to unsupported forces relinking
   10137 	  hardcode_minus_L=yes
   10138 	  hardcode_libdir_flag_spec='-L$libdir'
   10139 	  hardcode_libdir_separator=
   10140 	  fi
   10141 	  ;;
   10142 	esac
   10143 	shared_flag='-shared'
   10144 	if test "$aix_use_runtimelinking" = yes; then
   10145 	  shared_flag="$shared_flag "'${wl}-G'
   10146 	fi
   10147 	link_all_deplibs=no
   10148       else
   10149 	# not using gcc
   10150 	if test "$host_cpu" = ia64; then
   10151 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10152 	# chokes on -Wl,-G. The following line is correct:
   10153 	  shared_flag='-G'
   10154 	else
   10155 	  if test "$aix_use_runtimelinking" = yes; then
   10156 	    shared_flag='${wl}-G'
   10157 	  else
   10158 	    shared_flag='${wl}-bM:SRE'
   10159 	  fi
   10160 	fi
   10161       fi
   10162 
   10163       export_dynamic_flag_spec='${wl}-bexpall'
   10164       # It seems that -bexpall does not export symbols beginning with
   10165       # underscore (_), so it is better to generate a list of symbols to export.
   10166       always_export_symbols=yes
   10167       if test "$aix_use_runtimelinking" = yes; then
   10168 	# Warning - without using the other runtime loading flags (-brtl),
   10169 	# -berok will link without error, but may produce a broken library.
   10170 	allow_undefined_flag='-berok'
   10171         # Determine the default libpath from the value encoded in an
   10172         # empty executable.
   10173         if test "${lt_cv_aix_libpath+set}" = set; then
   10174   aix_libpath=$lt_cv_aix_libpath
   10175 else
   10176   if ${lt_cv_aix_libpath_+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 
   10182 int
   10183 main ()
   10184 {
   10185 
   10186   ;
   10187   return 0;
   10188 }
   10189 _ACEOF
   10190 if ac_fn_c_try_link "$LINENO"; then :
   10191 
   10192   lt_aix_libpath_sed='
   10193       /Import File Strings/,/^$/ {
   10194 	  /^0/ {
   10195 	      s/^0  *\([^ ]*\) *$/\1/
   10196 	      p
   10197 	  }
   10198       }'
   10199   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10200   # Check for a 64-bit object if we didn't find anything.
   10201   if test -z "$lt_cv_aix_libpath_"; then
   10202     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10203   fi
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext \
   10206     conftest$ac_exeext conftest.$ac_ext
   10207   if test -z "$lt_cv_aix_libpath_"; then
   10208     lt_cv_aix_libpath_="/usr/lib:/lib"
   10209   fi
   10210 
   10211 fi
   10212 
   10213   aix_libpath=$lt_cv_aix_libpath_
   10214 fi
   10215 
   10216         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10217         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"
   10218       else
   10219 	if test "$host_cpu" = ia64; then
   10220 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10221 	  allow_undefined_flag="-z nodefs"
   10222 	  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"
   10223 	else
   10224 	 # Determine the default libpath from the value encoded in an
   10225 	 # empty executable.
   10226 	 if test "${lt_cv_aix_libpath+set}" = set; then
   10227   aix_libpath=$lt_cv_aix_libpath
   10228 else
   10229   if ${lt_cv_aix_libpath_+:} false; then :
   10230   $as_echo_n "(cached) " >&6
   10231 else
   10232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10233 /* end confdefs.h.  */
   10234 
   10235 int
   10236 main ()
   10237 {
   10238 
   10239   ;
   10240   return 0;
   10241 }
   10242 _ACEOF
   10243 if ac_fn_c_try_link "$LINENO"; then :
   10244 
   10245   lt_aix_libpath_sed='
   10246       /Import File Strings/,/^$/ {
   10247 	  /^0/ {
   10248 	      s/^0  *\([^ ]*\) *$/\1/
   10249 	      p
   10250 	  }
   10251       }'
   10252   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10253   # Check for a 64-bit object if we didn't find anything.
   10254   if test -z "$lt_cv_aix_libpath_"; then
   10255     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10256   fi
   10257 fi
   10258 rm -f core conftest.err conftest.$ac_objext \
   10259     conftest$ac_exeext conftest.$ac_ext
   10260   if test -z "$lt_cv_aix_libpath_"; then
   10261     lt_cv_aix_libpath_="/usr/lib:/lib"
   10262   fi
   10263 
   10264 fi
   10265 
   10266   aix_libpath=$lt_cv_aix_libpath_
   10267 fi
   10268 
   10269 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10270 	  # Warning - without using the other run time loading flags,
   10271 	  # -berok will link without error, but may produce a broken library.
   10272 	  no_undefined_flag=' ${wl}-bernotok'
   10273 	  allow_undefined_flag=' ${wl}-berok'
   10274 	  if test "$with_gnu_ld" = yes; then
   10275 	    # We only use this code for GNU lds that support --whole-archive.
   10276 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10277 	  else
   10278 	    # Exported symbols can be pulled into shared objects from archives
   10279 	    whole_archive_flag_spec='$convenience'
   10280 	  fi
   10281 	  archive_cmds_need_lc=yes
   10282 	  # This is similar to how AIX traditionally builds its shared libraries.
   10283 	  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'
   10284 	fi
   10285       fi
   10286       ;;
   10287 
   10288     amigaos*)
   10289       case $host_cpu in
   10290       powerpc)
   10291             # see comment about AmigaOS4 .so support
   10292             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10293             archive_expsym_cmds=''
   10294         ;;
   10295       m68k)
   10296             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)'
   10297             hardcode_libdir_flag_spec='-L$libdir'
   10298             hardcode_minus_L=yes
   10299         ;;
   10300       esac
   10301       ;;
   10302 
   10303     bsdi[45]*)
   10304       export_dynamic_flag_spec=-rdynamic
   10305       ;;
   10306 
   10307     cygwin* | mingw* | pw32* | cegcc*)
   10308       # When not using gcc, we currently assume that we are using
   10309       # Microsoft Visual C++.
   10310       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10311       # no search path for DLLs.
   10312       case $cc_basename in
   10313       cl*)
   10314 	# Native MSVC
   10315 	hardcode_libdir_flag_spec=' '
   10316 	allow_undefined_flag=unsupported
   10317 	always_export_symbols=yes
   10318 	file_list_spec='@'
   10319 	# Tell ltmain to make .lib files, not .a files.
   10320 	libext=lib
   10321 	# Tell ltmain to make .dll files, not .so files.
   10322 	shrext_cmds=".dll"
   10323 	# FIXME: Setting linknames here is a bad hack.
   10324 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   10325 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10326 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   10327 	  else
   10328 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   10329 	  fi~
   10330 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10331 	  linknames='
   10332 	# The linker will not automatically build a static lib if we build a DLL.
   10333 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10334 	enable_shared_with_static_runtimes=yes
   10335 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10336 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10337 	# Don't use ranlib
   10338 	old_postinstall_cmds='chmod 644 $oldlib'
   10339 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10340 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   10341 	  case $lt_outputfile in
   10342 	    *.exe|*.EXE) ;;
   10343 	    *)
   10344 	      lt_outputfile="$lt_outputfile.exe"
   10345 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   10346 	      ;;
   10347 	  esac~
   10348 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   10349 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10350 	    $RM "$lt_outputfile.manifest";
   10351 	  fi'
   10352 	;;
   10353       *)
   10354 	# Assume MSVC wrapper
   10355 	hardcode_libdir_flag_spec=' '
   10356 	allow_undefined_flag=unsupported
   10357 	# Tell ltmain to make .lib files, not .a files.
   10358 	libext=lib
   10359 	# Tell ltmain to make .dll files, not .so files.
   10360 	shrext_cmds=".dll"
   10361 	# FIXME: Setting linknames here is a bad hack.
   10362 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10363 	# The linker will automatically build a .lib file if we build a DLL.
   10364 	old_archive_from_new_cmds='true'
   10365 	# FIXME: Should let the user specify the lib program.
   10366 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10367 	enable_shared_with_static_runtimes=yes
   10368 	;;
   10369       esac
   10370       ;;
   10371 
   10372     darwin* | rhapsody*)
   10373 
   10374 
   10375   archive_cmds_need_lc=no
   10376   hardcode_direct=no
   10377   hardcode_automatic=yes
   10378   hardcode_shlibpath_var=unsupported
   10379   if test "$lt_cv_ld_force_load" = "yes"; then
   10380     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\"`'
   10381 
   10382   else
   10383     whole_archive_flag_spec=''
   10384   fi
   10385   link_all_deplibs=yes
   10386   allow_undefined_flag="$_lt_dar_allow_undefined"
   10387   case $cc_basename in
   10388      ifort*) _lt_dar_can_shared=yes ;;
   10389      *) _lt_dar_can_shared=$GCC ;;
   10390   esac
   10391   if test "$_lt_dar_can_shared" = "yes"; then
   10392     output_verbose_link_cmd=func_echo_all
   10393     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10394     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10395     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}"
   10396     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}"
   10397 
   10398   else
   10399   ld_shlibs=no
   10400   fi
   10401 
   10402       ;;
   10403 
   10404     dgux*)
   10405       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10406       hardcode_libdir_flag_spec='-L$libdir'
   10407       hardcode_shlibpath_var=no
   10408       ;;
   10409 
   10410     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10411     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10412     # does not break anything, and helps significantly (at the cost of a little
   10413     # extra space).
   10414     freebsd2.2*)
   10415       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10416       hardcode_libdir_flag_spec='-R$libdir'
   10417       hardcode_direct=yes
   10418       hardcode_shlibpath_var=no
   10419       ;;
   10420 
   10421     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10422     freebsd2.*)
   10423       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10424       hardcode_direct=yes
   10425       hardcode_minus_L=yes
   10426       hardcode_shlibpath_var=no
   10427       ;;
   10428 
   10429     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10430     freebsd* | dragonfly*)
   10431       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10432       hardcode_libdir_flag_spec='-R$libdir'
   10433       hardcode_direct=yes
   10434       hardcode_shlibpath_var=no
   10435       ;;
   10436 
   10437     hpux9*)
   10438       if test "$GCC" = yes; then
   10439 	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'
   10440       else
   10441 	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'
   10442       fi
   10443       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10444       hardcode_libdir_separator=:
   10445       hardcode_direct=yes
   10446 
   10447       # hardcode_minus_L: Not really in the search PATH,
   10448       # but as the default location of the library.
   10449       hardcode_minus_L=yes
   10450       export_dynamic_flag_spec='${wl}-E'
   10451       ;;
   10452 
   10453     hpux10*)
   10454       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10455 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10456       else
   10457 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10458       fi
   10459       if test "$with_gnu_ld" = no; then
   10460 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10461 	hardcode_libdir_separator=:
   10462 	hardcode_direct=yes
   10463 	hardcode_direct_absolute=yes
   10464 	export_dynamic_flag_spec='${wl}-E'
   10465 	# hardcode_minus_L: Not really in the search PATH,
   10466 	# but as the default location of the library.
   10467 	hardcode_minus_L=yes
   10468       fi
   10469       ;;
   10470 
   10471     hpux11*)
   10472       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10473 	case $host_cpu in
   10474 	hppa*64*)
   10475 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10476 	  ;;
   10477 	ia64*)
   10478 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10479 	  ;;
   10480 	*)
   10481 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10482 	  ;;
   10483 	esac
   10484       else
   10485 	case $host_cpu in
   10486 	hppa*64*)
   10487 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10488 	  ;;
   10489 	ia64*)
   10490 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10491 	  ;;
   10492 	*)
   10493 
   10494 	  # Older versions of the 11.00 compiler do not understand -b yet
   10495 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10496 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10497 $as_echo_n "checking if $CC understands -b... " >&6; }
   10498 if ${lt_cv_prog_compiler__b+:} false; then :
   10499   $as_echo_n "(cached) " >&6
   10500 else
   10501   lt_cv_prog_compiler__b=no
   10502    save_LDFLAGS="$LDFLAGS"
   10503    LDFLAGS="$LDFLAGS -b"
   10504    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10505    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10506      # The linker can only warn and ignore the option if not recognized
   10507      # So say no if there are warnings
   10508      if test -s conftest.err; then
   10509        # Append any errors to the config.log.
   10510        cat conftest.err 1>&5
   10511        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10512        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10513        if diff conftest.exp conftest.er2 >/dev/null; then
   10514          lt_cv_prog_compiler__b=yes
   10515        fi
   10516      else
   10517        lt_cv_prog_compiler__b=yes
   10518      fi
   10519    fi
   10520    $RM -r conftest*
   10521    LDFLAGS="$save_LDFLAGS"
   10522 
   10523 fi
   10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10525 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10526 
   10527 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10528     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10529 else
   10530     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10531 fi
   10532 
   10533 	  ;;
   10534 	esac
   10535       fi
   10536       if test "$with_gnu_ld" = no; then
   10537 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10538 	hardcode_libdir_separator=:
   10539 
   10540 	case $host_cpu in
   10541 	hppa*64*|ia64*)
   10542 	  hardcode_direct=no
   10543 	  hardcode_shlibpath_var=no
   10544 	  ;;
   10545 	*)
   10546 	  hardcode_direct=yes
   10547 	  hardcode_direct_absolute=yes
   10548 	  export_dynamic_flag_spec='${wl}-E'
   10549 
   10550 	  # hardcode_minus_L: Not really in the search PATH,
   10551 	  # but as the default location of the library.
   10552 	  hardcode_minus_L=yes
   10553 	  ;;
   10554 	esac
   10555       fi
   10556       ;;
   10557 
   10558     irix5* | irix6* | nonstopux*)
   10559       if test "$GCC" = yes; then
   10560 	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'
   10561 	# Try to use the -exported_symbol ld option, if it does not
   10562 	# work, assume that -exports_file does not work either and
   10563 	# implicitly export all symbols.
   10564 	# This should be the same for all languages, so no per-tag cache variable.
   10565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10566 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10567 if ${lt_cv_irix_exported_symbol+:} false; then :
   10568   $as_echo_n "(cached) " >&6
   10569 else
   10570   save_LDFLAGS="$LDFLAGS"
   10571 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10572 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10573 /* end confdefs.h.  */
   10574 int foo (void) { return 0; }
   10575 _ACEOF
   10576 if ac_fn_c_try_link "$LINENO"; then :
   10577   lt_cv_irix_exported_symbol=yes
   10578 else
   10579   lt_cv_irix_exported_symbol=no
   10580 fi
   10581 rm -f core conftest.err conftest.$ac_objext \
   10582     conftest$ac_exeext conftest.$ac_ext
   10583            LDFLAGS="$save_LDFLAGS"
   10584 fi
   10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10586 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10587 	if test "$lt_cv_irix_exported_symbol" = yes; then
   10588           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'
   10589 	fi
   10590       else
   10591 	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'
   10592 	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'
   10593       fi
   10594       archive_cmds_need_lc='no'
   10595       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10596       hardcode_libdir_separator=:
   10597       inherit_rpath=yes
   10598       link_all_deplibs=yes
   10599       ;;
   10600 
   10601     netbsd* | netbsdelf*-gnu)
   10602       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10603 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10604       else
   10605 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10606       fi
   10607       hardcode_libdir_flag_spec='-R$libdir'
   10608       hardcode_direct=yes
   10609       hardcode_shlibpath_var=no
   10610       ;;
   10611 
   10612     newsos6)
   10613       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10614       hardcode_direct=yes
   10615       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10616       hardcode_libdir_separator=:
   10617       hardcode_shlibpath_var=no
   10618       ;;
   10619 
   10620     *nto* | *qnx*)
   10621       ;;
   10622 
   10623     openbsd*)
   10624       if test -f /usr/libexec/ld.so; then
   10625 	hardcode_direct=yes
   10626 	hardcode_shlibpath_var=no
   10627 	hardcode_direct_absolute=yes
   10628 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10629 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10630 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10631 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10632 	  export_dynamic_flag_spec='${wl}-E'
   10633 	else
   10634 	  case $host_os in
   10635 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10636 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10637 	     hardcode_libdir_flag_spec='-R$libdir'
   10638 	     ;;
   10639 	   *)
   10640 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10641 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10642 	     ;;
   10643 	  esac
   10644 	fi
   10645       else
   10646 	ld_shlibs=no
   10647       fi
   10648       ;;
   10649 
   10650     os2*)
   10651       hardcode_libdir_flag_spec='-L$libdir'
   10652       hardcode_minus_L=yes
   10653       allow_undefined_flag=unsupported
   10654       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'
   10655       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10656       ;;
   10657 
   10658     osf3*)
   10659       if test "$GCC" = yes; then
   10660 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10661 	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'
   10662       else
   10663 	allow_undefined_flag=' -expect_unresolved \*'
   10664 	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'
   10665       fi
   10666       archive_cmds_need_lc='no'
   10667       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10668       hardcode_libdir_separator=:
   10669       ;;
   10670 
   10671     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10672       if test "$GCC" = yes; then
   10673 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10674 	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'
   10675 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10676       else
   10677 	allow_undefined_flag=' -expect_unresolved \*'
   10678 	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'
   10679 	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~
   10680 	$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'
   10681 
   10682 	# Both c and cxx compiler support -rpath directly
   10683 	hardcode_libdir_flag_spec='-rpath $libdir'
   10684       fi
   10685       archive_cmds_need_lc='no'
   10686       hardcode_libdir_separator=:
   10687       ;;
   10688 
   10689     solaris*)
   10690       no_undefined_flag=' -z defs'
   10691       if test "$GCC" = yes; then
   10692 	wlarc='${wl}'
   10693 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10694 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10695 	  $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'
   10696       else
   10697 	case `$CC -V 2>&1` in
   10698 	*"Compilers 5.0"*)
   10699 	  wlarc=''
   10700 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10701 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10702 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10703 	  ;;
   10704 	*)
   10705 	  wlarc='${wl}'
   10706 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10707 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10708 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10709 	  ;;
   10710 	esac
   10711       fi
   10712       hardcode_libdir_flag_spec='-R$libdir'
   10713       hardcode_shlibpath_var=no
   10714       case $host_os in
   10715       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10716       *)
   10717 	# The compiler driver will combine and reorder linker options,
   10718 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10719 	# but is careful enough not to reorder.
   10720 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10721 	if test "$GCC" = yes; then
   10722 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10723 	else
   10724 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10725 	fi
   10726 	;;
   10727       esac
   10728       link_all_deplibs=yes
   10729       ;;
   10730 
   10731     sunos4*)
   10732       if test "x$host_vendor" = xsequent; then
   10733 	# Use $CC to link under sequent, because it throws in some extra .o
   10734 	# files that make .init and .fini sections work.
   10735 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10736       else
   10737 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10738       fi
   10739       hardcode_libdir_flag_spec='-L$libdir'
   10740       hardcode_direct=yes
   10741       hardcode_minus_L=yes
   10742       hardcode_shlibpath_var=no
   10743       ;;
   10744 
   10745     sysv4)
   10746       case $host_vendor in
   10747 	sni)
   10748 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10749 	  hardcode_direct=yes # is this really true???
   10750 	;;
   10751 	siemens)
   10752 	  ## LD is ld it makes a PLAMLIB
   10753 	  ## CC just makes a GrossModule.
   10754 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10755 	  reload_cmds='$CC -r -o $output$reload_objs'
   10756 	  hardcode_direct=no
   10757         ;;
   10758 	motorola)
   10759 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10760 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10761 	;;
   10762       esac
   10763       runpath_var='LD_RUN_PATH'
   10764       hardcode_shlibpath_var=no
   10765       ;;
   10766 
   10767     sysv4.3*)
   10768       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10769       hardcode_shlibpath_var=no
   10770       export_dynamic_flag_spec='-Bexport'
   10771       ;;
   10772 
   10773     sysv4*MP*)
   10774       if test -d /usr/nec; then
   10775 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10776 	hardcode_shlibpath_var=no
   10777 	runpath_var=LD_RUN_PATH
   10778 	hardcode_runpath_var=yes
   10779 	ld_shlibs=yes
   10780       fi
   10781       ;;
   10782 
   10783     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10784       no_undefined_flag='${wl}-z,text'
   10785       archive_cmds_need_lc=no
   10786       hardcode_shlibpath_var=no
   10787       runpath_var='LD_RUN_PATH'
   10788 
   10789       if test "$GCC" = yes; then
   10790 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10791 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10792       else
   10793 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10794 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10795       fi
   10796       ;;
   10797 
   10798     sysv5* | sco3.2v5* | sco5v6*)
   10799       # Note: We can NOT use -z defs as we might desire, because we do not
   10800       # link with -lc, and that would cause any symbols used from libc to
   10801       # always be unresolved, which means just about no library would
   10802       # ever link correctly.  If we're not using GNU ld we use -z text
   10803       # though, which does catch some bad symbols but isn't as heavy-handed
   10804       # as -z defs.
   10805       no_undefined_flag='${wl}-z,text'
   10806       allow_undefined_flag='${wl}-z,nodefs'
   10807       archive_cmds_need_lc=no
   10808       hardcode_shlibpath_var=no
   10809       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10810       hardcode_libdir_separator=':'
   10811       link_all_deplibs=yes
   10812       export_dynamic_flag_spec='${wl}-Bexport'
   10813       runpath_var='LD_RUN_PATH'
   10814 
   10815       if test "$GCC" = yes; then
   10816 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10817 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10818       else
   10819 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10820 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10821       fi
   10822       ;;
   10823 
   10824     uts4*)
   10825       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10826       hardcode_libdir_flag_spec='-L$libdir'
   10827       hardcode_shlibpath_var=no
   10828       ;;
   10829 
   10830     *)
   10831       ld_shlibs=no
   10832       ;;
   10833     esac
   10834 
   10835     if test x$host_vendor = xsni; then
   10836       case $host in
   10837       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10838 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10839 	;;
   10840       esac
   10841     fi
   10842   fi
   10843 
   10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10845 $as_echo "$ld_shlibs" >&6; }
   10846 test "$ld_shlibs" = no && can_build_shared=no
   10847 
   10848 with_gnu_ld=$with_gnu_ld
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 #
   10865 # Do we need to explicitly link libc?
   10866 #
   10867 case "x$archive_cmds_need_lc" in
   10868 x|xyes)
   10869   # Assume -lc should be added
   10870   archive_cmds_need_lc=yes
   10871 
   10872   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10873     case $archive_cmds in
   10874     *'~'*)
   10875       # FIXME: we may have to deal with multi-command sequences.
   10876       ;;
   10877     '$CC '*)
   10878       # Test whether the compiler implicitly links with -lc since on some
   10879       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10880       # to ld, don't add -lc before -lgcc.
   10881       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10882 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10883 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   $RM conftest*
   10887 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10888 
   10889 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10890   (eval $ac_compile) 2>&5
   10891   ac_status=$?
   10892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10893   test $ac_status = 0; } 2>conftest.err; then
   10894 	  soname=conftest
   10895 	  lib=conftest
   10896 	  libobjs=conftest.$ac_objext
   10897 	  deplibs=
   10898 	  wl=$lt_prog_compiler_wl
   10899 	  pic_flag=$lt_prog_compiler_pic
   10900 	  compiler_flags=-v
   10901 	  linker_flags=-v
   10902 	  verstring=
   10903 	  output_objdir=.
   10904 	  libname=conftest
   10905 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10906 	  allow_undefined_flag=
   10907 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10908   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10909   ac_status=$?
   10910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10911   test $ac_status = 0; }
   10912 	  then
   10913 	    lt_cv_archive_cmds_need_lc=no
   10914 	  else
   10915 	    lt_cv_archive_cmds_need_lc=yes
   10916 	  fi
   10917 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10918 	else
   10919 	  cat conftest.err 1>&5
   10920 	fi
   10921 	$RM conftest*
   10922 
   10923 fi
   10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10925 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10926       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10927       ;;
   10928     esac
   10929   fi
   10930   ;;
   10931 esac
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11085 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11086 
   11087 if test "$GCC" = yes; then
   11088   case $host_os in
   11089     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11090     *) lt_awk_arg="/^libraries:/" ;;
   11091   esac
   11092   case $host_os in
   11093     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11094     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11095   esac
   11096   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11097   case $lt_search_path_spec in
   11098   *\;*)
   11099     # if the path contains ";" then we assume it to be the separator
   11100     # otherwise default to the standard path separator (i.e. ":") - it is
   11101     # assumed that no part of a normal pathname contains ";" but that should
   11102     # okay in the real world where ";" in dirpaths is itself problematic.
   11103     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11104     ;;
   11105   *)
   11106     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11107     ;;
   11108   esac
   11109   # Ok, now we have the path, separated by spaces, we can step through it
   11110   # and add multilib dir if necessary.
   11111   lt_tmp_lt_search_path_spec=
   11112   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11113   for lt_sys_path in $lt_search_path_spec; do
   11114     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11115       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11116     else
   11117       test -d "$lt_sys_path" && \
   11118 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11119     fi
   11120   done
   11121   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11122 BEGIN {RS=" "; FS="/|\n";} {
   11123   lt_foo="";
   11124   lt_count=0;
   11125   for (lt_i = NF; lt_i > 0; lt_i--) {
   11126     if ($lt_i != "" && $lt_i != ".") {
   11127       if ($lt_i == "..") {
   11128         lt_count++;
   11129       } else {
   11130         if (lt_count == 0) {
   11131           lt_foo="/" $lt_i lt_foo;
   11132         } else {
   11133           lt_count--;
   11134         }
   11135       }
   11136     }
   11137   }
   11138   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11139   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11140 }'`
   11141   # AWK program above erroneously prepends '/' to C:/dos/paths
   11142   # for these hosts.
   11143   case $host_os in
   11144     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11145       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11146   esac
   11147   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11148 else
   11149   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11150 fi
   11151 library_names_spec=
   11152 libname_spec='lib$name'
   11153 soname_spec=
   11154 shrext_cmds=".so"
   11155 postinstall_cmds=
   11156 postuninstall_cmds=
   11157 finish_cmds=
   11158 finish_eval=
   11159 shlibpath_var=
   11160 shlibpath_overrides_runpath=unknown
   11161 version_type=none
   11162 dynamic_linker="$host_os ld.so"
   11163 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11164 need_lib_prefix=unknown
   11165 hardcode_into_libs=no
   11166 
   11167 # when you set need_version to no, make sure it does not cause -set_version
   11168 # flags to be left without arguments
   11169 need_version=unknown
   11170 
   11171 case $host_os in
   11172 aix3*)
   11173   version_type=linux # correct to gnu/linux during the next big refactor
   11174   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11175   shlibpath_var=LIBPATH
   11176 
   11177   # AIX 3 has no versioning support, so we append a major version to the name.
   11178   soname_spec='${libname}${release}${shared_ext}$major'
   11179   ;;
   11180 
   11181 aix[4-9]*)
   11182   version_type=linux # correct to gnu/linux during the next big refactor
   11183   need_lib_prefix=no
   11184   need_version=no
   11185   hardcode_into_libs=yes
   11186   if test "$host_cpu" = ia64; then
   11187     # AIX 5 supports IA64
   11188     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11189     shlibpath_var=LD_LIBRARY_PATH
   11190   else
   11191     # With GCC up to 2.95.x, collect2 would create an import file
   11192     # for dependence libraries.  The import file would start with
   11193     # the line `#! .'.  This would cause the generated library to
   11194     # depend on `.', always an invalid library.  This was fixed in
   11195     # development snapshots of GCC prior to 3.0.
   11196     case $host_os in
   11197       aix4 | aix4.[01] | aix4.[01].*)
   11198       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11199 	   echo ' yes '
   11200 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11201 	:
   11202       else
   11203 	can_build_shared=no
   11204       fi
   11205       ;;
   11206     esac
   11207     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11208     # soname into executable. Probably we can add versioning support to
   11209     # collect2, so additional links can be useful in future.
   11210     if test "$aix_use_runtimelinking" = yes; then
   11211       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11212       # instead of lib<name>.a to let people know that these are not
   11213       # typical AIX shared libraries.
   11214       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11215     else
   11216       # We preserve .a as extension for shared libraries through AIX4.2
   11217       # and later when we are not doing run time linking.
   11218       library_names_spec='${libname}${release}.a $libname.a'
   11219       soname_spec='${libname}${release}${shared_ext}$major'
   11220     fi
   11221     shlibpath_var=LIBPATH
   11222   fi
   11223   ;;
   11224 
   11225 amigaos*)
   11226   case $host_cpu in
   11227   powerpc)
   11228     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11229     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11230     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11231     ;;
   11232   m68k)
   11233     library_names_spec='$libname.ixlibrary $libname.a'
   11234     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11235     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'
   11236     ;;
   11237   esac
   11238   ;;
   11239 
   11240 beos*)
   11241   library_names_spec='${libname}${shared_ext}'
   11242   dynamic_linker="$host_os ld.so"
   11243   shlibpath_var=LIBRARY_PATH
   11244   ;;
   11245 
   11246 bsdi[45]*)
   11247   version_type=linux # correct to gnu/linux during the next big refactor
   11248   need_version=no
   11249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11250   soname_spec='${libname}${release}${shared_ext}$major'
   11251   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11252   shlibpath_var=LD_LIBRARY_PATH
   11253   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11254   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11255   # the default ld.so.conf also contains /usr/contrib/lib and
   11256   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11257   # libtool to hard-code these into programs
   11258   ;;
   11259 
   11260 cygwin* | mingw* | pw32* | cegcc*)
   11261   version_type=windows
   11262   shrext_cmds=".dll"
   11263   need_version=no
   11264   need_lib_prefix=no
   11265 
   11266   case $GCC,$cc_basename in
   11267   yes,*)
   11268     # gcc
   11269     library_names_spec='$libname.dll.a'
   11270     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11271     postinstall_cmds='base_file=`basename \${file}`~
   11272       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11273       dldir=$destdir/`dirname \$dlpath`~
   11274       test -d \$dldir || mkdir -p \$dldir~
   11275       $install_prog $dir/$dlname \$dldir/$dlname~
   11276       chmod a+x \$dldir/$dlname~
   11277       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11278         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11279       fi'
   11280     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11281       dlpath=$dir/\$dldll~
   11282        $RM \$dlpath'
   11283     shlibpath_overrides_runpath=yes
   11284 
   11285     case $host_os in
   11286     cygwin*)
   11287       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11288       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11289 
   11290       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11291       ;;
   11292     mingw* | cegcc*)
   11293       # MinGW DLLs use traditional 'lib' prefix
   11294       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11295       ;;
   11296     pw32*)
   11297       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11298       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11299       ;;
   11300     esac
   11301     dynamic_linker='Win32 ld.exe'
   11302     ;;
   11303 
   11304   *,cl*)
   11305     # Native MSVC
   11306     libname_spec='$name'
   11307     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11308     library_names_spec='${libname}.dll.lib'
   11309 
   11310     case $build_os in
   11311     mingw*)
   11312       sys_lib_search_path_spec=
   11313       lt_save_ifs=$IFS
   11314       IFS=';'
   11315       for lt_path in $LIB
   11316       do
   11317         IFS=$lt_save_ifs
   11318         # Let DOS variable expansion print the short 8.3 style file name.
   11319         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11320         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11321       done
   11322       IFS=$lt_save_ifs
   11323       # Convert to MSYS style.
   11324       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11325       ;;
   11326     cygwin*)
   11327       # Convert to unix form, then to dos form, then back to unix form
   11328       # but this time dos style (no spaces!) so that the unix form looks
   11329       # like /cygdrive/c/PROGRA~1:/cygdr...
   11330       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11331       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11332       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11333       ;;
   11334     *)
   11335       sys_lib_search_path_spec="$LIB"
   11336       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11337         # It is most probably a Windows format PATH.
   11338         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11339       else
   11340         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11341       fi
   11342       # FIXME: find the short name or the path components, as spaces are
   11343       # common. (e.g. "Program Files" -> "PROGRA~1")
   11344       ;;
   11345     esac
   11346 
   11347     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11348     postinstall_cmds='base_file=`basename \${file}`~
   11349       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11350       dldir=$destdir/`dirname \$dlpath`~
   11351       test -d \$dldir || mkdir -p \$dldir~
   11352       $install_prog $dir/$dlname \$dldir/$dlname'
   11353     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11354       dlpath=$dir/\$dldll~
   11355        $RM \$dlpath'
   11356     shlibpath_overrides_runpath=yes
   11357     dynamic_linker='Win32 link.exe'
   11358     ;;
   11359 
   11360   *)
   11361     # Assume MSVC wrapper
   11362     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11363     dynamic_linker='Win32 ld.exe'
   11364     ;;
   11365   esac
   11366   # FIXME: first we should search . and the directory the executable is in
   11367   shlibpath_var=PATH
   11368   ;;
   11369 
   11370 darwin* | rhapsody*)
   11371   dynamic_linker="$host_os dyld"
   11372   version_type=darwin
   11373   need_lib_prefix=no
   11374   need_version=no
   11375   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11376   soname_spec='${libname}${release}${major}$shared_ext'
   11377   shlibpath_overrides_runpath=yes
   11378   shlibpath_var=DYLD_LIBRARY_PATH
   11379   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11380 
   11381   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11382   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11383   ;;
   11384 
   11385 dgux*)
   11386   version_type=linux # correct to gnu/linux during the next big refactor
   11387   need_lib_prefix=no
   11388   need_version=no
   11389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11390   soname_spec='${libname}${release}${shared_ext}$major'
   11391   shlibpath_var=LD_LIBRARY_PATH
   11392   ;;
   11393 
   11394 freebsd* | dragonfly*)
   11395   # DragonFly does not have aout.  When/if they implement a new
   11396   # versioning mechanism, adjust this.
   11397   if test -x /usr/bin/objformat; then
   11398     objformat=`/usr/bin/objformat`
   11399   else
   11400     case $host_os in
   11401     freebsd[23].*) objformat=aout ;;
   11402     *) objformat=elf ;;
   11403     esac
   11404   fi
   11405   version_type=freebsd-$objformat
   11406   case $version_type in
   11407     freebsd-elf*)
   11408       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11409       need_version=no
   11410       need_lib_prefix=no
   11411       ;;
   11412     freebsd-*)
   11413       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11414       need_version=yes
   11415       ;;
   11416   esac
   11417   shlibpath_var=LD_LIBRARY_PATH
   11418   case $host_os in
   11419   freebsd2.*)
   11420     shlibpath_overrides_runpath=yes
   11421     ;;
   11422   freebsd3.[01]* | freebsdelf3.[01]*)
   11423     shlibpath_overrides_runpath=yes
   11424     hardcode_into_libs=yes
   11425     ;;
   11426   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11427   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11428     shlibpath_overrides_runpath=no
   11429     hardcode_into_libs=yes
   11430     ;;
   11431   *) # from 4.6 on, and DragonFly
   11432     shlibpath_overrides_runpath=yes
   11433     hardcode_into_libs=yes
   11434     ;;
   11435   esac
   11436   ;;
   11437 
   11438 haiku*)
   11439   version_type=linux # correct to gnu/linux during the next big refactor
   11440   need_lib_prefix=no
   11441   need_version=no
   11442   dynamic_linker="$host_os runtime_loader"
   11443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11444   soname_spec='${libname}${release}${shared_ext}$major'
   11445   shlibpath_var=LIBRARY_PATH
   11446   shlibpath_overrides_runpath=yes
   11447   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11448   hardcode_into_libs=yes
   11449   ;;
   11450 
   11451 hpux9* | hpux10* | hpux11*)
   11452   # Give a soname corresponding to the major version so that dld.sl refuses to
   11453   # link against other versions.
   11454   version_type=sunos
   11455   need_lib_prefix=no
   11456   need_version=no
   11457   case $host_cpu in
   11458   ia64*)
   11459     shrext_cmds='.so'
   11460     hardcode_into_libs=yes
   11461     dynamic_linker="$host_os dld.so"
   11462     shlibpath_var=LD_LIBRARY_PATH
   11463     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11465     soname_spec='${libname}${release}${shared_ext}$major'
   11466     if test "X$HPUX_IA64_MODE" = X32; then
   11467       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11468     else
   11469       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11470     fi
   11471     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11472     ;;
   11473   hppa*64*)
   11474     shrext_cmds='.sl'
   11475     hardcode_into_libs=yes
   11476     dynamic_linker="$host_os dld.sl"
   11477     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11478     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11479     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11480     soname_spec='${libname}${release}${shared_ext}$major'
   11481     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11482     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11483     ;;
   11484   *)
   11485     shrext_cmds='.sl'
   11486     dynamic_linker="$host_os dld.sl"
   11487     shlibpath_var=SHLIB_PATH
   11488     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11490     soname_spec='${libname}${release}${shared_ext}$major'
   11491     ;;
   11492   esac
   11493   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11494   postinstall_cmds='chmod 555 $lib'
   11495   # or fails outright, so override atomically:
   11496   install_override_mode=555
   11497   ;;
   11498 
   11499 interix[3-9]*)
   11500   version_type=linux # correct to gnu/linux during the next big refactor
   11501   need_lib_prefix=no
   11502   need_version=no
   11503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11504   soname_spec='${libname}${release}${shared_ext}$major'
   11505   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11506   shlibpath_var=LD_LIBRARY_PATH
   11507   shlibpath_overrides_runpath=no
   11508   hardcode_into_libs=yes
   11509   ;;
   11510 
   11511 irix5* | irix6* | nonstopux*)
   11512   case $host_os in
   11513     nonstopux*) version_type=nonstopux ;;
   11514     *)
   11515 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11516 		version_type=linux # correct to gnu/linux during the next big refactor
   11517 	else
   11518 		version_type=irix
   11519 	fi ;;
   11520   esac
   11521   need_lib_prefix=no
   11522   need_version=no
   11523   soname_spec='${libname}${release}${shared_ext}$major'
   11524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11525   case $host_os in
   11526   irix5* | nonstopux*)
   11527     libsuff= shlibsuff=
   11528     ;;
   11529   *)
   11530     case $LD in # libtool.m4 will add one of these switches to LD
   11531     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11532       libsuff= shlibsuff= libmagic=32-bit;;
   11533     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11534       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11535     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11536       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11537     *) libsuff= shlibsuff= libmagic=never-match;;
   11538     esac
   11539     ;;
   11540   esac
   11541   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11542   shlibpath_overrides_runpath=no
   11543   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11544   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11545   hardcode_into_libs=yes
   11546   ;;
   11547 
   11548 # No shared lib support for Linux oldld, aout, or coff.
   11549 linux*oldld* | linux*aout* | linux*coff*)
   11550   dynamic_linker=no
   11551   ;;
   11552 
   11553 # This must be glibc/ELF.
   11554 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11555   version_type=linux # correct to gnu/linux during the next big refactor
   11556   need_lib_prefix=no
   11557   need_version=no
   11558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11559   soname_spec='${libname}${release}${shared_ext}$major'
   11560   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11561   shlibpath_var=LD_LIBRARY_PATH
   11562   shlibpath_overrides_runpath=no
   11563 
   11564   # Some binutils ld are patched to set DT_RUNPATH
   11565   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11566   $as_echo_n "(cached) " >&6
   11567 else
   11568   lt_cv_shlibpath_overrides_runpath=no
   11569     save_LDFLAGS=$LDFLAGS
   11570     save_libdir=$libdir
   11571     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11572 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11573     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11574 /* end confdefs.h.  */
   11575 
   11576 int
   11577 main ()
   11578 {
   11579 
   11580   ;
   11581   return 0;
   11582 }
   11583 _ACEOF
   11584 if ac_fn_c_try_link "$LINENO"; then :
   11585   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11586   lt_cv_shlibpath_overrides_runpath=yes
   11587 fi
   11588 fi
   11589 rm -f core conftest.err conftest.$ac_objext \
   11590     conftest$ac_exeext conftest.$ac_ext
   11591     LDFLAGS=$save_LDFLAGS
   11592     libdir=$save_libdir
   11593 
   11594 fi
   11595 
   11596   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11597 
   11598   # This implies no fast_install, which is unacceptable.
   11599   # Some rework will be needed to allow for fast_install
   11600   # before this can be enabled.
   11601   hardcode_into_libs=yes
   11602 
   11603   # Append ld.so.conf contents to the search path
   11604   if test -f /etc/ld.so.conf; then
   11605     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' ' '`
   11606     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11607   fi
   11608 
   11609   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11610   # powerpc, because MkLinux only supported shared libraries with the
   11611   # GNU dynamic linker.  Since this was broken with cross compilers,
   11612   # most powerpc-linux boxes support dynamic linking these days and
   11613   # people can always --disable-shared, the test was removed, and we
   11614   # assume the GNU/Linux dynamic linker is in use.
   11615   dynamic_linker='GNU/Linux ld.so'
   11616   ;;
   11617 
   11618 netbsdelf*-gnu)
   11619   version_type=linux
   11620   need_lib_prefix=no
   11621   need_version=no
   11622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11623   soname_spec='${libname}${release}${shared_ext}$major'
   11624   shlibpath_var=LD_LIBRARY_PATH
   11625   shlibpath_overrides_runpath=no
   11626   hardcode_into_libs=yes
   11627   dynamic_linker='NetBSD ld.elf_so'
   11628   ;;
   11629 
   11630 netbsd*)
   11631   version_type=sunos
   11632   need_lib_prefix=no
   11633   need_version=no
   11634   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11635     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11636     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11637     dynamic_linker='NetBSD (a.out) ld.so'
   11638   else
   11639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11640     soname_spec='${libname}${release}${shared_ext}$major'
   11641     dynamic_linker='NetBSD ld.elf_so'
   11642   fi
   11643   shlibpath_var=LD_LIBRARY_PATH
   11644   shlibpath_overrides_runpath=yes
   11645   hardcode_into_libs=yes
   11646   ;;
   11647 
   11648 newsos6)
   11649   version_type=linux # correct to gnu/linux during the next big refactor
   11650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11651   shlibpath_var=LD_LIBRARY_PATH
   11652   shlibpath_overrides_runpath=yes
   11653   ;;
   11654 
   11655 *nto* | *qnx*)
   11656   version_type=qnx
   11657   need_lib_prefix=no
   11658   need_version=no
   11659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11660   soname_spec='${libname}${release}${shared_ext}$major'
   11661   shlibpath_var=LD_LIBRARY_PATH
   11662   shlibpath_overrides_runpath=no
   11663   hardcode_into_libs=yes
   11664   dynamic_linker='ldqnx.so'
   11665   ;;
   11666 
   11667 openbsd*)
   11668   version_type=sunos
   11669   sys_lib_dlsearch_path_spec="/usr/lib"
   11670   need_lib_prefix=no
   11671   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11672   case $host_os in
   11673     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11674     *)				need_version=no  ;;
   11675   esac
   11676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11677   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11678   shlibpath_var=LD_LIBRARY_PATH
   11679   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11680     case $host_os in
   11681       openbsd2.[89] | openbsd2.[89].*)
   11682 	shlibpath_overrides_runpath=no
   11683 	;;
   11684       *)
   11685 	shlibpath_overrides_runpath=yes
   11686 	;;
   11687       esac
   11688   else
   11689     shlibpath_overrides_runpath=yes
   11690   fi
   11691   ;;
   11692 
   11693 os2*)
   11694   libname_spec='$name'
   11695   shrext_cmds=".dll"
   11696   need_lib_prefix=no
   11697   library_names_spec='$libname${shared_ext} $libname.a'
   11698   dynamic_linker='OS/2 ld.exe'
   11699   shlibpath_var=LIBPATH
   11700   ;;
   11701 
   11702 osf3* | osf4* | osf5*)
   11703   version_type=osf
   11704   need_lib_prefix=no
   11705   need_version=no
   11706   soname_spec='${libname}${release}${shared_ext}$major'
   11707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11708   shlibpath_var=LD_LIBRARY_PATH
   11709   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11710   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11711   ;;
   11712 
   11713 rdos*)
   11714   dynamic_linker=no
   11715   ;;
   11716 
   11717 solaris*)
   11718   version_type=linux # correct to gnu/linux during the next big refactor
   11719   need_lib_prefix=no
   11720   need_version=no
   11721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11722   soname_spec='${libname}${release}${shared_ext}$major'
   11723   shlibpath_var=LD_LIBRARY_PATH
   11724   shlibpath_overrides_runpath=yes
   11725   hardcode_into_libs=yes
   11726   # ldd complains unless libraries are executable
   11727   postinstall_cmds='chmod +x $lib'
   11728   ;;
   11729 
   11730 sunos4*)
   11731   version_type=sunos
   11732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11733   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11734   shlibpath_var=LD_LIBRARY_PATH
   11735   shlibpath_overrides_runpath=yes
   11736   if test "$with_gnu_ld" = yes; then
   11737     need_lib_prefix=no
   11738   fi
   11739   need_version=yes
   11740   ;;
   11741 
   11742 sysv4 | sysv4.3*)
   11743   version_type=linux # correct to gnu/linux during the next big refactor
   11744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11745   soname_spec='${libname}${release}${shared_ext}$major'
   11746   shlibpath_var=LD_LIBRARY_PATH
   11747   case $host_vendor in
   11748     sni)
   11749       shlibpath_overrides_runpath=no
   11750       need_lib_prefix=no
   11751       runpath_var=LD_RUN_PATH
   11752       ;;
   11753     siemens)
   11754       need_lib_prefix=no
   11755       ;;
   11756     motorola)
   11757       need_lib_prefix=no
   11758       need_version=no
   11759       shlibpath_overrides_runpath=no
   11760       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11761       ;;
   11762   esac
   11763   ;;
   11764 
   11765 sysv4*MP*)
   11766   if test -d /usr/nec ;then
   11767     version_type=linux # correct to gnu/linux during the next big refactor
   11768     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11769     soname_spec='$libname${shared_ext}.$major'
   11770     shlibpath_var=LD_LIBRARY_PATH
   11771   fi
   11772   ;;
   11773 
   11774 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11775   version_type=freebsd-elf
   11776   need_lib_prefix=no
   11777   need_version=no
   11778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11779   soname_spec='${libname}${release}${shared_ext}$major'
   11780   shlibpath_var=LD_LIBRARY_PATH
   11781   shlibpath_overrides_runpath=yes
   11782   hardcode_into_libs=yes
   11783   if test "$with_gnu_ld" = yes; then
   11784     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11785   else
   11786     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11787     case $host_os in
   11788       sco3.2v5*)
   11789         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11790 	;;
   11791     esac
   11792   fi
   11793   sys_lib_dlsearch_path_spec='/usr/lib'
   11794   ;;
   11795 
   11796 tpf*)
   11797   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11798   version_type=linux # correct to gnu/linux during the next big refactor
   11799   need_lib_prefix=no
   11800   need_version=no
   11801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11802   shlibpath_var=LD_LIBRARY_PATH
   11803   shlibpath_overrides_runpath=no
   11804   hardcode_into_libs=yes
   11805   ;;
   11806 
   11807 uts4*)
   11808   version_type=linux # correct to gnu/linux during the next big refactor
   11809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11810   soname_spec='${libname}${release}${shared_ext}$major'
   11811   shlibpath_var=LD_LIBRARY_PATH
   11812   ;;
   11813 
   11814 *)
   11815   dynamic_linker=no
   11816   ;;
   11817 esac
   11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11819 $as_echo "$dynamic_linker" >&6; }
   11820 test "$dynamic_linker" = no && can_build_shared=no
   11821 
   11822 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11823 if test "$GCC" = yes; then
   11824   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11825 fi
   11826 
   11827 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11828   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11829 fi
   11830 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11831   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11832 fi
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11926 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11927 hardcode_action=
   11928 if test -n "$hardcode_libdir_flag_spec" ||
   11929    test -n "$runpath_var" ||
   11930    test "X$hardcode_automatic" = "Xyes" ; then
   11931 
   11932   # We can hardcode non-existent directories.
   11933   if test "$hardcode_direct" != no &&
   11934      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11935      # have to relink, otherwise we might link with an installed library
   11936      # when we should be linking with a yet-to-be-installed one
   11937      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11938      test "$hardcode_minus_L" != no; then
   11939     # Linking always hardcodes the temporary library directory.
   11940     hardcode_action=relink
   11941   else
   11942     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11943     hardcode_action=immediate
   11944   fi
   11945 else
   11946   # We cannot hardcode anything, or else we can only hardcode existing
   11947   # directories.
   11948   hardcode_action=unsupported
   11949 fi
   11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11951 $as_echo "$hardcode_action" >&6; }
   11952 
   11953 if test "$hardcode_action" = relink ||
   11954    test "$inherit_rpath" = yes; then
   11955   # Fast installation is not supported
   11956   enable_fast_install=no
   11957 elif test "$shlibpath_overrides_runpath" = yes ||
   11958      test "$enable_shared" = no; then
   11959   # Fast installation is not necessary
   11960   enable_fast_install=needless
   11961 fi
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968   if test "x$enable_dlopen" != xyes; then
   11969   enable_dlopen=unknown
   11970   enable_dlopen_self=unknown
   11971   enable_dlopen_self_static=unknown
   11972 else
   11973   lt_cv_dlopen=no
   11974   lt_cv_dlopen_libs=
   11975 
   11976   case $host_os in
   11977   beos*)
   11978     lt_cv_dlopen="load_add_on"
   11979     lt_cv_dlopen_libs=
   11980     lt_cv_dlopen_self=yes
   11981     ;;
   11982 
   11983   mingw* | pw32* | cegcc*)
   11984     lt_cv_dlopen="LoadLibrary"
   11985     lt_cv_dlopen_libs=
   11986     ;;
   11987 
   11988   cygwin*)
   11989     lt_cv_dlopen="dlopen"
   11990     lt_cv_dlopen_libs=
   11991     ;;
   11992 
   11993   darwin*)
   11994   # if libdl is installed we need to link against it
   11995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11996 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11997 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11998   $as_echo_n "(cached) " >&6
   11999 else
   12000   ac_check_lib_save_LIBS=$LIBS
   12001 LIBS="-ldl  $LIBS"
   12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12003 /* end confdefs.h.  */
   12004 
   12005 /* Override any GCC internal prototype to avoid an error.
   12006    Use char because int might match the return type of a GCC
   12007    builtin and then its argument prototype would still apply.  */
   12008 #ifdef __cplusplus
   12009 extern "C"
   12010 #endif
   12011 char dlopen ();
   12012 int
   12013 main ()
   12014 {
   12015 return dlopen ();
   12016   ;
   12017   return 0;
   12018 }
   12019 _ACEOF
   12020 if ac_fn_c_try_link "$LINENO"; then :
   12021   ac_cv_lib_dl_dlopen=yes
   12022 else
   12023   ac_cv_lib_dl_dlopen=no
   12024 fi
   12025 rm -f core conftest.err conftest.$ac_objext \
   12026     conftest$ac_exeext conftest.$ac_ext
   12027 LIBS=$ac_check_lib_save_LIBS
   12028 fi
   12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12030 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12031 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12032   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12033 else
   12034 
   12035     lt_cv_dlopen="dyld"
   12036     lt_cv_dlopen_libs=
   12037     lt_cv_dlopen_self=yes
   12038 
   12039 fi
   12040 
   12041     ;;
   12042 
   12043   *)
   12044     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12045 if test "x$ac_cv_func_shl_load" = xyes; then :
   12046   lt_cv_dlopen="shl_load"
   12047 else
   12048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12049 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12050 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12051   $as_echo_n "(cached) " >&6
   12052 else
   12053   ac_check_lib_save_LIBS=$LIBS
   12054 LIBS="-ldld  $LIBS"
   12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12056 /* end confdefs.h.  */
   12057 
   12058 /* Override any GCC internal prototype to avoid an error.
   12059    Use char because int might match the return type of a GCC
   12060    builtin and then its argument prototype would still apply.  */
   12061 #ifdef __cplusplus
   12062 extern "C"
   12063 #endif
   12064 char shl_load ();
   12065 int
   12066 main ()
   12067 {
   12068 return shl_load ();
   12069   ;
   12070   return 0;
   12071 }
   12072 _ACEOF
   12073 if ac_fn_c_try_link "$LINENO"; then :
   12074   ac_cv_lib_dld_shl_load=yes
   12075 else
   12076   ac_cv_lib_dld_shl_load=no
   12077 fi
   12078 rm -f core conftest.err conftest.$ac_objext \
   12079     conftest$ac_exeext conftest.$ac_ext
   12080 LIBS=$ac_check_lib_save_LIBS
   12081 fi
   12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12083 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12084 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12085   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12086 else
   12087   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12088 if test "x$ac_cv_func_dlopen" = xyes; then :
   12089   lt_cv_dlopen="dlopen"
   12090 else
   12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12092 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12093 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12094   $as_echo_n "(cached) " >&6
   12095 else
   12096   ac_check_lib_save_LIBS=$LIBS
   12097 LIBS="-ldl  $LIBS"
   12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12099 /* end confdefs.h.  */
   12100 
   12101 /* Override any GCC internal prototype to avoid an error.
   12102    Use char because int might match the return type of a GCC
   12103    builtin and then its argument prototype would still apply.  */
   12104 #ifdef __cplusplus
   12105 extern "C"
   12106 #endif
   12107 char dlopen ();
   12108 int
   12109 main ()
   12110 {
   12111 return dlopen ();
   12112   ;
   12113   return 0;
   12114 }
   12115 _ACEOF
   12116 if ac_fn_c_try_link "$LINENO"; then :
   12117   ac_cv_lib_dl_dlopen=yes
   12118 else
   12119   ac_cv_lib_dl_dlopen=no
   12120 fi
   12121 rm -f core conftest.err conftest.$ac_objext \
   12122     conftest$ac_exeext conftest.$ac_ext
   12123 LIBS=$ac_check_lib_save_LIBS
   12124 fi
   12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12126 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12127 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12128   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12129 else
   12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12131 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12132 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12133   $as_echo_n "(cached) " >&6
   12134 else
   12135   ac_check_lib_save_LIBS=$LIBS
   12136 LIBS="-lsvld  $LIBS"
   12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12138 /* end confdefs.h.  */
   12139 
   12140 /* Override any GCC internal prototype to avoid an error.
   12141    Use char because int might match the return type of a GCC
   12142    builtin and then its argument prototype would still apply.  */
   12143 #ifdef __cplusplus
   12144 extern "C"
   12145 #endif
   12146 char dlopen ();
   12147 int
   12148 main ()
   12149 {
   12150 return dlopen ();
   12151   ;
   12152   return 0;
   12153 }
   12154 _ACEOF
   12155 if ac_fn_c_try_link "$LINENO"; then :
   12156   ac_cv_lib_svld_dlopen=yes
   12157 else
   12158   ac_cv_lib_svld_dlopen=no
   12159 fi
   12160 rm -f core conftest.err conftest.$ac_objext \
   12161     conftest$ac_exeext conftest.$ac_ext
   12162 LIBS=$ac_check_lib_save_LIBS
   12163 fi
   12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12165 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12166 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12167   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12168 else
   12169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12170 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12171 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12172   $as_echo_n "(cached) " >&6
   12173 else
   12174   ac_check_lib_save_LIBS=$LIBS
   12175 LIBS="-ldld  $LIBS"
   12176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12177 /* end confdefs.h.  */
   12178 
   12179 /* Override any GCC internal prototype to avoid an error.
   12180    Use char because int might match the return type of a GCC
   12181    builtin and then its argument prototype would still apply.  */
   12182 #ifdef __cplusplus
   12183 extern "C"
   12184 #endif
   12185 char dld_link ();
   12186 int
   12187 main ()
   12188 {
   12189 return dld_link ();
   12190   ;
   12191   return 0;
   12192 }
   12193 _ACEOF
   12194 if ac_fn_c_try_link "$LINENO"; then :
   12195   ac_cv_lib_dld_dld_link=yes
   12196 else
   12197   ac_cv_lib_dld_dld_link=no
   12198 fi
   12199 rm -f core conftest.err conftest.$ac_objext \
   12200     conftest$ac_exeext conftest.$ac_ext
   12201 LIBS=$ac_check_lib_save_LIBS
   12202 fi
   12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12204 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12205 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12206   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12207 fi
   12208 
   12209 
   12210 fi
   12211 
   12212 
   12213 fi
   12214 
   12215 
   12216 fi
   12217 
   12218 
   12219 fi
   12220 
   12221 
   12222 fi
   12223 
   12224     ;;
   12225   esac
   12226 
   12227   if test "x$lt_cv_dlopen" != xno; then
   12228     enable_dlopen=yes
   12229   else
   12230     enable_dlopen=no
   12231   fi
   12232 
   12233   case $lt_cv_dlopen in
   12234   dlopen)
   12235     save_CPPFLAGS="$CPPFLAGS"
   12236     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12237 
   12238     save_LDFLAGS="$LDFLAGS"
   12239     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12240 
   12241     save_LIBS="$LIBS"
   12242     LIBS="$lt_cv_dlopen_libs $LIBS"
   12243 
   12244     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12245 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12246 if ${lt_cv_dlopen_self+:} false; then :
   12247   $as_echo_n "(cached) " >&6
   12248 else
   12249   	  if test "$cross_compiling" = yes; then :
   12250   lt_cv_dlopen_self=cross
   12251 else
   12252   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12253   lt_status=$lt_dlunknown
   12254   cat > conftest.$ac_ext <<_LT_EOF
   12255 #line $LINENO "configure"
   12256 #include "confdefs.h"
   12257 
   12258 #if HAVE_DLFCN_H
   12259 #include <dlfcn.h>
   12260 #endif
   12261 
   12262 #include <stdio.h>
   12263 
   12264 #ifdef RTLD_GLOBAL
   12265 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12266 #else
   12267 #  ifdef DL_GLOBAL
   12268 #    define LT_DLGLOBAL		DL_GLOBAL
   12269 #  else
   12270 #    define LT_DLGLOBAL		0
   12271 #  endif
   12272 #endif
   12273 
   12274 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12275    find out it does not work in some platform. */
   12276 #ifndef LT_DLLAZY_OR_NOW
   12277 #  ifdef RTLD_LAZY
   12278 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12279 #  else
   12280 #    ifdef DL_LAZY
   12281 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12282 #    else
   12283 #      ifdef RTLD_NOW
   12284 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12285 #      else
   12286 #        ifdef DL_NOW
   12287 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12288 #        else
   12289 #          define LT_DLLAZY_OR_NOW	0
   12290 #        endif
   12291 #      endif
   12292 #    endif
   12293 #  endif
   12294 #endif
   12295 
   12296 /* When -fvisbility=hidden is used, assume the code has been annotated
   12297    correspondingly for the symbols needed.  */
   12298 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12299 int fnord () __attribute__((visibility("default")));
   12300 #endif
   12301 
   12302 int fnord () { return 42; }
   12303 int main ()
   12304 {
   12305   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12306   int status = $lt_dlunknown;
   12307 
   12308   if (self)
   12309     {
   12310       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12311       else
   12312         {
   12313 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12314           else puts (dlerror ());
   12315 	}
   12316       /* dlclose (self); */
   12317     }
   12318   else
   12319     puts (dlerror ());
   12320 
   12321   return status;
   12322 }
   12323 _LT_EOF
   12324   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12325   (eval $ac_link) 2>&5
   12326   ac_status=$?
   12327   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12328   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12329     (./conftest; exit; ) >&5 2>/dev/null
   12330     lt_status=$?
   12331     case x$lt_status in
   12332       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12333       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12334       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12335     esac
   12336   else :
   12337     # compilation failed
   12338     lt_cv_dlopen_self=no
   12339   fi
   12340 fi
   12341 rm -fr conftest*
   12342 
   12343 
   12344 fi
   12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12346 $as_echo "$lt_cv_dlopen_self" >&6; }
   12347 
   12348     if test "x$lt_cv_dlopen_self" = xyes; then
   12349       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12350       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12351 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12352 if ${lt_cv_dlopen_self_static+:} false; then :
   12353   $as_echo_n "(cached) " >&6
   12354 else
   12355   	  if test "$cross_compiling" = yes; then :
   12356   lt_cv_dlopen_self_static=cross
   12357 else
   12358   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12359   lt_status=$lt_dlunknown
   12360   cat > conftest.$ac_ext <<_LT_EOF
   12361 #line $LINENO "configure"
   12362 #include "confdefs.h"
   12363 
   12364 #if HAVE_DLFCN_H
   12365 #include <dlfcn.h>
   12366 #endif
   12367 
   12368 #include <stdio.h>
   12369 
   12370 #ifdef RTLD_GLOBAL
   12371 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12372 #else
   12373 #  ifdef DL_GLOBAL
   12374 #    define LT_DLGLOBAL		DL_GLOBAL
   12375 #  else
   12376 #    define LT_DLGLOBAL		0
   12377 #  endif
   12378 #endif
   12379 
   12380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12381    find out it does not work in some platform. */
   12382 #ifndef LT_DLLAZY_OR_NOW
   12383 #  ifdef RTLD_LAZY
   12384 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12385 #  else
   12386 #    ifdef DL_LAZY
   12387 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12388 #    else
   12389 #      ifdef RTLD_NOW
   12390 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12391 #      else
   12392 #        ifdef DL_NOW
   12393 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12394 #        else
   12395 #          define LT_DLLAZY_OR_NOW	0
   12396 #        endif
   12397 #      endif
   12398 #    endif
   12399 #  endif
   12400 #endif
   12401 
   12402 /* When -fvisbility=hidden is used, assume the code has been annotated
   12403    correspondingly for the symbols needed.  */
   12404 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12405 int fnord () __attribute__((visibility("default")));
   12406 #endif
   12407 
   12408 int fnord () { return 42; }
   12409 int main ()
   12410 {
   12411   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12412   int status = $lt_dlunknown;
   12413 
   12414   if (self)
   12415     {
   12416       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12417       else
   12418         {
   12419 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12420           else puts (dlerror ());
   12421 	}
   12422       /* dlclose (self); */
   12423     }
   12424   else
   12425     puts (dlerror ());
   12426 
   12427   return status;
   12428 }
   12429 _LT_EOF
   12430   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12431   (eval $ac_link) 2>&5
   12432   ac_status=$?
   12433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12434   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12435     (./conftest; exit; ) >&5 2>/dev/null
   12436     lt_status=$?
   12437     case x$lt_status in
   12438       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12439       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12440       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12441     esac
   12442   else :
   12443     # compilation failed
   12444     lt_cv_dlopen_self_static=no
   12445   fi
   12446 fi
   12447 rm -fr conftest*
   12448 
   12449 
   12450 fi
   12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12452 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12453     fi
   12454 
   12455     CPPFLAGS="$save_CPPFLAGS"
   12456     LDFLAGS="$save_LDFLAGS"
   12457     LIBS="$save_LIBS"
   12458     ;;
   12459   esac
   12460 
   12461   case $lt_cv_dlopen_self in
   12462   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12463   *) enable_dlopen_self=unknown ;;
   12464   esac
   12465 
   12466   case $lt_cv_dlopen_self_static in
   12467   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12468   *) enable_dlopen_self_static=unknown ;;
   12469   esac
   12470 fi
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 striplib=
   12489 old_striplib=
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12491 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12492 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12493   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12494   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12496 $as_echo "yes" >&6; }
   12497 else
   12498 # FIXME - insert some real tests, host_os isn't really good enough
   12499   case $host_os in
   12500   darwin*)
   12501     if test -n "$STRIP" ; then
   12502       striplib="$STRIP -x"
   12503       old_striplib="$STRIP -S"
   12504       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12505 $as_echo "yes" >&6; }
   12506     else
   12507       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12508 $as_echo "no" >&6; }
   12509     fi
   12510     ;;
   12511   *)
   12512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12513 $as_echo "no" >&6; }
   12514     ;;
   12515   esac
   12516 fi
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529   # Report which library types will actually be built
   12530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12531 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12533 $as_echo "$can_build_shared" >&6; }
   12534 
   12535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12536 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12537   test "$can_build_shared" = "no" && enable_shared=no
   12538 
   12539   # On AIX, shared libraries and static libraries use the same namespace, and
   12540   # are all built from PIC.
   12541   case $host_os in
   12542   aix3*)
   12543     test "$enable_shared" = yes && enable_static=no
   12544     if test -n "$RANLIB"; then
   12545       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12546       postinstall_cmds='$RANLIB $lib'
   12547     fi
   12548     ;;
   12549 
   12550   aix[4-9]*)
   12551     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12552       test "$enable_shared" = yes && enable_static=no
   12553     fi
   12554     ;;
   12555   esac
   12556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12557 $as_echo "$enable_shared" >&6; }
   12558 
   12559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12560 $as_echo_n "checking whether to build static libraries... " >&6; }
   12561   # Make sure either enable_shared or enable_static is yes.
   12562   test "$enable_shared" = yes || enable_static=yes
   12563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12564 $as_echo "$enable_static" >&6; }
   12565 
   12566 
   12567 
   12568 
   12569 fi
   12570 ac_ext=c
   12571 ac_cpp='$CPP $CPPFLAGS'
   12572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12575 
   12576 CC="$lt_save_CC"
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592         ac_config_commands="$ac_config_commands libtool"
   12593 
   12594 
   12595 
   12596 
   12597 # Only expand once:
   12598 
   12599 
   12600 ac_ext=c
   12601 ac_cpp='$CPP $CPPFLAGS'
   12602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12605 if test -n "$ac_tool_prefix"; then
   12606   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   12607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12609 $as_echo_n "checking for $ac_word... " >&6; }
   12610 if ${ac_cv_prog_CC+:} false; then :
   12611   $as_echo_n "(cached) " >&6
   12612 else
   12613   if test -n "$CC"; then
   12614   ac_cv_prog_CC="$CC" # Let the user override the test.
   12615 else
   12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12617 for as_dir in $PATH
   12618 do
   12619   IFS=$as_save_IFS
   12620   test -z "$as_dir" && as_dir=.
   12621     for ac_exec_ext in '' $ac_executable_extensions; do
   12622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12623     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   12624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12625     break 2
   12626   fi
   12627 done
   12628   done
   12629 IFS=$as_save_IFS
   12630 
   12631 fi
   12632 fi
   12633 CC=$ac_cv_prog_CC
   12634 if test -n "$CC"; then
   12635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   12636 $as_echo "$CC" >&6; }
   12637 else
   12638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12639 $as_echo "no" >&6; }
   12640 fi
   12641 
   12642 
   12643 fi
   12644 if test -z "$ac_cv_prog_CC"; then
   12645   ac_ct_CC=$CC
   12646   # Extract the first word of "gcc", so it can be a program name with args.
   12647 set dummy gcc; ac_word=$2
   12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12649 $as_echo_n "checking for $ac_word... " >&6; }
   12650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   12651   $as_echo_n "(cached) " >&6
   12652 else
   12653   if test -n "$ac_ct_CC"; then
   12654   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12655 else
   12656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12657 for as_dir in $PATH
   12658 do
   12659   IFS=$as_save_IFS
   12660   test -z "$as_dir" && as_dir=.
   12661     for ac_exec_ext in '' $ac_executable_extensions; do
   12662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12663     ac_cv_prog_ac_ct_CC="gcc"
   12664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12665     break 2
   12666   fi
   12667 done
   12668   done
   12669 IFS=$as_save_IFS
   12670 
   12671 fi
   12672 fi
   12673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12674 if test -n "$ac_ct_CC"; then
   12675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   12676 $as_echo "$ac_ct_CC" >&6; }
   12677 else
   12678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12679 $as_echo "no" >&6; }
   12680 fi
   12681 
   12682   if test "x$ac_ct_CC" = x; then
   12683     CC=""
   12684   else
   12685     case $cross_compiling:$ac_tool_warned in
   12686 yes:)
   12687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12689 ac_tool_warned=yes ;;
   12690 esac
   12691     CC=$ac_ct_CC
   12692   fi
   12693 else
   12694   CC="$ac_cv_prog_CC"
   12695 fi
   12696 
   12697 if test -z "$CC"; then
   12698           if test -n "$ac_tool_prefix"; then
   12699     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   12700 set dummy ${ac_tool_prefix}cc; ac_word=$2
   12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12702 $as_echo_n "checking for $ac_word... " >&6; }
   12703 if ${ac_cv_prog_CC+:} false; then :
   12704   $as_echo_n "(cached) " >&6
   12705 else
   12706   if test -n "$CC"; then
   12707   ac_cv_prog_CC="$CC" # Let the user override the test.
   12708 else
   12709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12710 for as_dir in $PATH
   12711 do
   12712   IFS=$as_save_IFS
   12713   test -z "$as_dir" && as_dir=.
   12714     for ac_exec_ext in '' $ac_executable_extensions; do
   12715   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12716     ac_cv_prog_CC="${ac_tool_prefix}cc"
   12717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12718     break 2
   12719   fi
   12720 done
   12721   done
   12722 IFS=$as_save_IFS
   12723 
   12724 fi
   12725 fi
   12726 CC=$ac_cv_prog_CC
   12727 if test -n "$CC"; then
   12728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   12729 $as_echo "$CC" >&6; }
   12730 else
   12731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12732 $as_echo "no" >&6; }
   12733 fi
   12734 
   12735 
   12736   fi
   12737 fi
   12738 if test -z "$CC"; then
   12739   # Extract the first word of "cc", so it can be a program name with args.
   12740 set dummy cc; ac_word=$2
   12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12742 $as_echo_n "checking for $ac_word... " >&6; }
   12743 if ${ac_cv_prog_CC+:} false; then :
   12744   $as_echo_n "(cached) " >&6
   12745 else
   12746   if test -n "$CC"; then
   12747   ac_cv_prog_CC="$CC" # Let the user override the test.
   12748 else
   12749   ac_prog_rejected=no
   12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12751 for as_dir in $PATH
   12752 do
   12753   IFS=$as_save_IFS
   12754   test -z "$as_dir" && as_dir=.
   12755     for ac_exec_ext in '' $ac_executable_extensions; do
   12756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12757     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   12758        ac_prog_rejected=yes
   12759        continue
   12760      fi
   12761     ac_cv_prog_CC="cc"
   12762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12763     break 2
   12764   fi
   12765 done
   12766   done
   12767 IFS=$as_save_IFS
   12768 
   12769 if test $ac_prog_rejected = yes; then
   12770   # We found a bogon in the path, so make sure we never use it.
   12771   set dummy $ac_cv_prog_CC
   12772   shift
   12773   if test $# != 0; then
   12774     # We chose a different compiler from the bogus one.
   12775     # However, it has the same basename, so the bogon will be chosen
   12776     # first if we set CC to just the basename; use the full file name.
   12777     shift
   12778     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   12779   fi
   12780 fi
   12781 fi
   12782 fi
   12783 CC=$ac_cv_prog_CC
   12784 if test -n "$CC"; then
   12785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   12786 $as_echo "$CC" >&6; }
   12787 else
   12788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12789 $as_echo "no" >&6; }
   12790 fi
   12791 
   12792 
   12793 fi
   12794 if test -z "$CC"; then
   12795   if test -n "$ac_tool_prefix"; then
   12796   for ac_prog in cl.exe
   12797   do
   12798     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12801 $as_echo_n "checking for $ac_word... " >&6; }
   12802 if ${ac_cv_prog_CC+:} false; then :
   12803   $as_echo_n "(cached) " >&6
   12804 else
   12805   if test -n "$CC"; then
   12806   ac_cv_prog_CC="$CC" # Let the user override the test.
   12807 else
   12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12809 for as_dir in $PATH
   12810 do
   12811   IFS=$as_save_IFS
   12812   test -z "$as_dir" && as_dir=.
   12813     for ac_exec_ext in '' $ac_executable_extensions; do
   12814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12815     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   12816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12817     break 2
   12818   fi
   12819 done
   12820   done
   12821 IFS=$as_save_IFS
   12822 
   12823 fi
   12824 fi
   12825 CC=$ac_cv_prog_CC
   12826 if test -n "$CC"; then
   12827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   12828 $as_echo "$CC" >&6; }
   12829 else
   12830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12831 $as_echo "no" >&6; }
   12832 fi
   12833 
   12834 
   12835     test -n "$CC" && break
   12836   done
   12837 fi
   12838 if test -z "$CC"; then
   12839   ac_ct_CC=$CC
   12840   for ac_prog in cl.exe
   12841 do
   12842   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12843 set dummy $ac_prog; ac_word=$2
   12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12845 $as_echo_n "checking for $ac_word... " >&6; }
   12846 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   12847   $as_echo_n "(cached) " >&6
   12848 else
   12849   if test -n "$ac_ct_CC"; then
   12850   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   12851 else
   12852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12853 for as_dir in $PATH
   12854 do
   12855   IFS=$as_save_IFS
   12856   test -z "$as_dir" && as_dir=.
   12857     for ac_exec_ext in '' $ac_executable_extensions; do
   12858   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12859     ac_cv_prog_ac_ct_CC="$ac_prog"
   12860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12861     break 2
   12862   fi
   12863 done
   12864   done
   12865 IFS=$as_save_IFS
   12866 
   12867 fi
   12868 fi
   12869 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   12870 if test -n "$ac_ct_CC"; then
   12871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   12872 $as_echo "$ac_ct_CC" >&6; }
   12873 else
   12874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12875 $as_echo "no" >&6; }
   12876 fi
   12877 
   12878 
   12879   test -n "$ac_ct_CC" && break
   12880 done
   12881 
   12882   if test "x$ac_ct_CC" = x; then
   12883     CC=""
   12884   else
   12885     case $cross_compiling:$ac_tool_warned in
   12886 yes:)
   12887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12889 ac_tool_warned=yes ;;
   12890 esac
   12891     CC=$ac_ct_CC
   12892   fi
   12893 fi
   12894 
   12895 fi
   12896 
   12897 
   12898 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12900 as_fn_error $? "no acceptable C compiler found in \$PATH
   12901 See \`config.log' for more details" "$LINENO" 5; }
   12902 
   12903 # Provide some information about the compiler.
   12904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   12905 set X $ac_compile
   12906 ac_compiler=$2
   12907 for ac_option in --version -v -V -qversion; do
   12908   { { ac_try="$ac_compiler $ac_option >&5"
   12909 case "(($ac_try" in
   12910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12911   *) ac_try_echo=$ac_try;;
   12912 esac
   12913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   12914 $as_echo "$ac_try_echo"; } >&5
   12915   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   12916   ac_status=$?
   12917   if test -s conftest.err; then
   12918     sed '10a\
   12919 ... rest of stderr output deleted ...
   12920          10q' conftest.err >conftest.er1
   12921     cat conftest.er1 >&5
   12922   fi
   12923   rm -f conftest.er1 conftest.err
   12924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12925   test $ac_status = 0; }
   12926 done
   12927 
   12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   12929 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   12930 if ${ac_cv_c_compiler_gnu+:} false; then :
   12931   $as_echo_n "(cached) " >&6
   12932 else
   12933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12934 /* end confdefs.h.  */
   12935 
   12936 int
   12937 main ()
   12938 {
   12939 #ifndef __GNUC__
   12940        choke me
   12941 #endif
   12942 
   12943   ;
   12944   return 0;
   12945 }
   12946 _ACEOF
   12947 if ac_fn_c_try_compile "$LINENO"; then :
   12948   ac_compiler_gnu=yes
   12949 else
   12950   ac_compiler_gnu=no
   12951 fi
   12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12953 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   12954 
   12955 fi
   12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   12957 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   12958 if test $ac_compiler_gnu = yes; then
   12959   GCC=yes
   12960 else
   12961   GCC=
   12962 fi
   12963 ac_test_CFLAGS=${CFLAGS+set}
   12964 ac_save_CFLAGS=$CFLAGS
   12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   12966 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   12967 if ${ac_cv_prog_cc_g+:} false; then :
   12968   $as_echo_n "(cached) " >&6
   12969 else
   12970   ac_save_c_werror_flag=$ac_c_werror_flag
   12971    ac_c_werror_flag=yes
   12972    ac_cv_prog_cc_g=no
   12973    CFLAGS="-g"
   12974    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12975 /* end confdefs.h.  */
   12976 
   12977 int
   12978 main ()
   12979 {
   12980 
   12981   ;
   12982   return 0;
   12983 }
   12984 _ACEOF
   12985 if ac_fn_c_try_compile "$LINENO"; then :
   12986   ac_cv_prog_cc_g=yes
   12987 else
   12988   CFLAGS=""
   12989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12990 /* end confdefs.h.  */
   12991 
   12992 int
   12993 main ()
   12994 {
   12995 
   12996   ;
   12997   return 0;
   12998 }
   12999 _ACEOF
   13000 if ac_fn_c_try_compile "$LINENO"; then :
   13001 
   13002 else
   13003   ac_c_werror_flag=$ac_save_c_werror_flag
   13004 	 CFLAGS="-g"
   13005 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13006 /* end confdefs.h.  */
   13007 
   13008 int
   13009 main ()
   13010 {
   13011 
   13012   ;
   13013   return 0;
   13014 }
   13015 _ACEOF
   13016 if ac_fn_c_try_compile "$LINENO"; then :
   13017   ac_cv_prog_cc_g=yes
   13018 fi
   13019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13020 fi
   13021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13022 fi
   13023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13024    ac_c_werror_flag=$ac_save_c_werror_flag
   13025 fi
   13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   13027 $as_echo "$ac_cv_prog_cc_g" >&6; }
   13028 if test "$ac_test_CFLAGS" = set; then
   13029   CFLAGS=$ac_save_CFLAGS
   13030 elif test $ac_cv_prog_cc_g = yes; then
   13031   if test "$GCC" = yes; then
   13032     CFLAGS="-g -O2"
   13033   else
   13034     CFLAGS="-g"
   13035   fi
   13036 else
   13037   if test "$GCC" = yes; then
   13038     CFLAGS="-O2"
   13039   else
   13040     CFLAGS=
   13041   fi
   13042 fi
   13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   13044 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   13045 if ${ac_cv_prog_cc_c89+:} false; then :
   13046   $as_echo_n "(cached) " >&6
   13047 else
   13048   ac_cv_prog_cc_c89=no
   13049 ac_save_CC=$CC
   13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13051 /* end confdefs.h.  */
   13052 #include <stdarg.h>
   13053 #include <stdio.h>
   13054 struct stat;
   13055 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   13056 struct buf { int x; };
   13057 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   13058 static char *e (p, i)
   13059      char **p;
   13060      int i;
   13061 {
   13062   return p[i];
   13063 }
   13064 static char *f (char * (*g) (char **, int), char **p, ...)
   13065 {
   13066   char *s;
   13067   va_list v;
   13068   va_start (v,p);
   13069   s = g (p, va_arg (v,int));
   13070   va_end (v);
   13071   return s;
   13072 }
   13073 
   13074 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   13075    function prototypes and stuff, but not '\xHH' hex character constants.
   13076    These don't provoke an error unfortunately, instead are silently treated
   13077    as 'x'.  The following induces an error, until -std is added to get
   13078    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   13079    array size at least.  It's necessary to write '\x00'==0 to get something
   13080    that's true only with -std.  */
   13081 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   13082 
   13083 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   13084    inside strings and character constants.  */
   13085 #define FOO(x) 'x'
   13086 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   13087 
   13088 int test (int i, double x);
   13089 struct s1 {int (*f) (int a);};
   13090 struct s2 {int (*f) (double a);};
   13091 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   13092 int argc;
   13093 char **argv;
   13094 int
   13095 main ()
   13096 {
   13097 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   13098   ;
   13099   return 0;
   13100 }
   13101 _ACEOF
   13102 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   13103 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   13104 do
   13105   CC="$ac_save_CC $ac_arg"
   13106   if ac_fn_c_try_compile "$LINENO"; then :
   13107   ac_cv_prog_cc_c89=$ac_arg
   13108 fi
   13109 rm -f core conftest.err conftest.$ac_objext
   13110   test "x$ac_cv_prog_cc_c89" != "xno" && break
   13111 done
   13112 rm -f conftest.$ac_ext
   13113 CC=$ac_save_CC
   13114 
   13115 fi
   13116 # AC_CACHE_VAL
   13117 case "x$ac_cv_prog_cc_c89" in
   13118   x)
   13119     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   13120 $as_echo "none needed" >&6; } ;;
   13121   xno)
   13122     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   13123 $as_echo "unsupported" >&6; } ;;
   13124   *)
   13125     CC="$CC $ac_cv_prog_cc_c89"
   13126     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   13127 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   13128 esac
   13129 if test "x$ac_cv_prog_cc_c89" != xno; then :
   13130 
   13131 fi
   13132 
   13133 ac_ext=c
   13134 ac_cpp='$CPP $CPPFLAGS'
   13135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13138 
   13139 ac_ext=c
   13140 ac_cpp='$CPP $CPPFLAGS'
   13141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   13145 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   13146 if ${am_cv_prog_cc_c_o+:} false; then :
   13147   $as_echo_n "(cached) " >&6
   13148 else
   13149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13150 /* end confdefs.h.  */
   13151 
   13152 int
   13153 main ()
   13154 {
   13155 
   13156   ;
   13157   return 0;
   13158 }
   13159 _ACEOF
   13160   # Make sure it works both with $CC and with simple cc.
   13161   # Following AC_PROG_CC_C_O, we do the test twice because some
   13162   # compilers refuse to overwrite an existing .o file with -o,
   13163   # though they will create one.
   13164   am_cv_prog_cc_c_o=yes
   13165   for am_i in 1 2; do
   13166     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   13167    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   13168    ac_status=$?
   13169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13170    (exit $ac_status); } \
   13171          && test -f conftest2.$ac_objext; then
   13172       : OK
   13173     else
   13174       am_cv_prog_cc_c_o=no
   13175       break
   13176     fi
   13177   done
   13178   rm -f core conftest*
   13179   unset am_i
   13180 fi
   13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   13182 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   13183 if test "$am_cv_prog_cc_c_o" != yes; then
   13184    # Losing compiler, so override with the script.
   13185    # FIXME: It is wrong to rewrite CC.
   13186    # But if we don't then we get into trouble of one sort or another.
   13187    # A longer-term fix would be to have automake use am__CC in this case,
   13188    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   13189    CC="$am_aux_dir/compile $CC"
   13190 fi
   13191 ac_ext=c
   13192 ac_cpp='$CPP $CPPFLAGS'
   13193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13196 
   13197 
   13198 depcc="$CC"   am_compiler_list=
   13199 
   13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   13201 $as_echo_n "checking dependency style of $depcc... " >&6; }
   13202 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   13203   $as_echo_n "(cached) " >&6
   13204 else
   13205   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   13206   # We make a subdir and do the tests there.  Otherwise we can end up
   13207   # making bogus files that we don't know about and never remove.  For
   13208   # instance it was reported that on HP-UX the gcc test will end up
   13209   # making a dummy file named 'D' -- because '-MD' means "put the output
   13210   # in D".
   13211   rm -rf conftest.dir
   13212   mkdir conftest.dir
   13213   # Copy depcomp to subdir because otherwise we won't find it if we're
   13214   # using a relative directory.
   13215   cp "$am_depcomp" conftest.dir
   13216   cd conftest.dir
   13217   # We will build objects and dependencies in a subdirectory because
   13218   # it helps to detect inapplicable dependency modes.  For instance
   13219   # both Tru64's cc and ICC support -MD to output dependencies as a
   13220   # side effect of compilation, but ICC will put the dependencies in
   13221   # the current directory while Tru64 will put them in the object
   13222   # directory.
   13223   mkdir sub
   13224 
   13225   am_cv_CC_dependencies_compiler_type=none
   13226   if test "$am_compiler_list" = ""; then
   13227      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   13228   fi
   13229   am__universal=false
   13230   case " $depcc " in #(
   13231      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   13232      esac
   13233 
   13234   for depmode in $am_compiler_list; do
   13235     # Setup a source with many dependencies, because some compilers
   13236     # like to wrap large dependency lists on column 80 (with \), and
   13237     # we should not choose a depcomp mode which is confused by this.
   13238     #
   13239     # We need to recreate these files for each test, as the compiler may
   13240     # overwrite some of them when testing with obscure command lines.
   13241     # This happens at least with the AIX C compiler.
   13242     : > sub/conftest.c
   13243     for i in 1 2 3 4 5 6; do
   13244       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   13245       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   13246       # Solaris 10 /bin/sh.
   13247       echo '/* dummy */' > sub/conftst$i.h
   13248     done
   13249     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   13250 
   13251     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   13252     # mode.  It turns out that the SunPro C++ compiler does not properly
   13253     # handle '-M -o', and we need to detect this.  Also, some Intel
   13254     # versions had trouble with output in subdirs.
   13255     am__obj=sub/conftest.${OBJEXT-o}
   13256     am__minus_obj="-o $am__obj"
   13257     case $depmode in
   13258     gcc)
   13259       # This depmode causes a compiler race in universal mode.
   13260       test "$am__universal" = false || continue
   13261       ;;
   13262     nosideeffect)
   13263       # After this tag, mechanisms are not by side-effect, so they'll
   13264       # only be used when explicitly requested.
   13265       if test "x$enable_dependency_tracking" = xyes; then
   13266 	continue
   13267       else
   13268 	break
   13269       fi
   13270       ;;
   13271     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   13272       # This compiler won't grok '-c -o', but also, the minuso test has
   13273       # not run yet.  These depmodes are late enough in the game, and
   13274       # so weak that their functioning should not be impacted.
   13275       am__obj=conftest.${OBJEXT-o}
   13276       am__minus_obj=
   13277       ;;
   13278     none) break ;;
   13279     esac
   13280     if depmode=$depmode \
   13281        source=sub/conftest.c object=$am__obj \
   13282        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   13283        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   13284          >/dev/null 2>conftest.err &&
   13285        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   13286        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   13287        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   13288        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   13289       # icc doesn't choke on unknown options, it will just issue warnings
   13290       # or remarks (even with -Werror).  So we grep stderr for any message
   13291       # that says an option was ignored or not supported.
   13292       # When given -MP, icc 7.0 and 7.1 complain thusly:
   13293       #   icc: Command line warning: ignoring option '-M'; no argument required
   13294       # The diagnosis changed in icc 8.0:
   13295       #   icc: Command line remark: option '-MP' not supported
   13296       if (grep 'ignoring option' conftest.err ||
   13297           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   13298         am_cv_CC_dependencies_compiler_type=$depmode
   13299         break
   13300       fi
   13301     fi
   13302   done
   13303 
   13304   cd ..
   13305   rm -rf conftest.dir
   13306 else
   13307   am_cv_CC_dependencies_compiler_type=none
   13308 fi
   13309 
   13310 fi
   13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   13312 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   13313 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   13314 
   13315  if
   13316   test "x$enable_dependency_tracking" != xno \
   13317   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   13318   am__fastdepCC_TRUE=
   13319   am__fastdepCC_FALSE='#'
   13320 else
   13321   am__fastdepCC_TRUE='#'
   13322   am__fastdepCC_FALSE=
   13323 fi
   13324 
   13325 
   13326 
   13327 XSLTPROC=no
   13328 HTML_CHECK_RESULT=no
   13329 if test x"$HAVE_CHECK" = xyes; then
   13330 	# Extract the first word of "xsltproc", so it can be a program name with args.
   13331 set dummy xsltproc; ac_word=$2
   13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13333 $as_echo_n "checking for $ac_word... " >&6; }
   13334 if ${ac_cv_path_XSLTPROC+:} false; then :
   13335   $as_echo_n "(cached) " >&6
   13336 else
   13337   case $XSLTPROC in
   13338   [\\/]* | ?:[\\/]*)
   13339   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   13340   ;;
   13341   *)
   13342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13343 for as_dir in $PATH
   13344 do
   13345   IFS=$as_save_IFS
   13346   test -z "$as_dir" && as_dir=.
   13347     for ac_exec_ext in '' $ac_executable_extensions; do
   13348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13349     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   13350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13351     break 2
   13352   fi
   13353 done
   13354   done
   13355 IFS=$as_save_IFS
   13356 
   13357   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
   13358   ;;
   13359 esac
   13360 fi
   13361 XSLTPROC=$ac_cv_path_XSLTPROC
   13362 if test -n "$XSLTPROC"; then
   13363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   13364 $as_echo "$XSLTPROC" >&6; }
   13365 else
   13366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13367 $as_echo "no" >&6; }
   13368 fi
   13369 
   13370 
   13371 	if test x"$XSLTPROC" != xno; then
   13372 		HTML_CHECK_RESULT=yes
   13373 	fi
   13374 fi
   13375 
   13376 
   13377 # Checks for pkg-config packages
   13378 
   13379 pkg_failed=no
   13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
   13381 $as_echo_n "checking for XCBPROTO... " >&6; }
   13382 
   13383 if test -n "$XCBPROTO_CFLAGS"; then
   13384     pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
   13385  elif test -n "$PKG_CONFIG"; then
   13386     if test -n "$PKG_CONFIG" && \
   13387     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.10\""; } >&5
   13388   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.10") 2>&5
   13389   ac_status=$?
   13390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13391   test $ac_status = 0; }; then
   13392   pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.10" 2>/dev/null`
   13393 		      test "x$?" != "x0" && pkg_failed=yes
   13394 else
   13395   pkg_failed=yes
   13396 fi
   13397  else
   13398     pkg_failed=untried
   13399 fi
   13400 if test -n "$XCBPROTO_LIBS"; then
   13401     pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
   13402  elif test -n "$PKG_CONFIG"; then
   13403     if test -n "$PKG_CONFIG" && \
   13404     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.10\""; } >&5
   13405   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.10") 2>&5
   13406   ac_status=$?
   13407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13408   test $ac_status = 0; }; then
   13409   pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.10" 2>/dev/null`
   13410 		      test "x$?" != "x0" && pkg_failed=yes
   13411 else
   13412   pkg_failed=yes
   13413 fi
   13414  else
   13415     pkg_failed=untried
   13416 fi
   13417 
   13418 
   13419 
   13420 if test $pkg_failed = yes; then
   13421    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13422 $as_echo "no" >&6; }
   13423 
   13424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13425         _pkg_short_errors_supported=yes
   13426 else
   13427         _pkg_short_errors_supported=no
   13428 fi
   13429         if test $_pkg_short_errors_supported = yes; then
   13430 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.10" 2>&1`
   13431         else
   13432 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.10" 2>&1`
   13433         fi
   13434 	# Put the nasty error message in config.log where it belongs
   13435 	echo "$XCBPROTO_PKG_ERRORS" >&5
   13436 
   13437 	as_fn_error $? "Package requirements (xcb-proto >= 1.10) were not met:
   13438 
   13439 $XCBPROTO_PKG_ERRORS
   13440 
   13441 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13442 installed software in a non-standard prefix.
   13443 
   13444 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   13445 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   13446 See the pkg-config man page for more details." "$LINENO" 5
   13447 elif test $pkg_failed = untried; then
   13448      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13449 $as_echo "no" >&6; }
   13450 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13452 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   13453 is in your PATH or set the PKG_CONFIG environment variable to the full
   13454 path to pkg-config.
   13455 
   13456 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   13457 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   13458 See the pkg-config man page for more details.
   13459 
   13460 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13461 See \`config.log' for more details" "$LINENO" 5; }
   13462 else
   13463 	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
   13464 	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
   13465         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13466 $as_echo "yes" >&6; }
   13467 
   13468 fi
   13469 NEEDED="pthread-stubs xau >= 0.99.2"
   13470 
   13471 pkg_failed=no
   13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
   13473 $as_echo_n "checking for NEEDED... " >&6; }
   13474 
   13475 if test -n "$NEEDED_CFLAGS"; then
   13476     pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
   13477  elif test -n "$PKG_CONFIG"; then
   13478     if test -n "$PKG_CONFIG" && \
   13479     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   13480   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   13481   ac_status=$?
   13482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13483   test $ac_status = 0; }; then
   13484   pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
   13485 		      test "x$?" != "x0" && pkg_failed=yes
   13486 else
   13487   pkg_failed=yes
   13488 fi
   13489  else
   13490     pkg_failed=untried
   13491 fi
   13492 if test -n "$NEEDED_LIBS"; then
   13493     pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
   13494  elif test -n "$PKG_CONFIG"; then
   13495     if test -n "$PKG_CONFIG" && \
   13496     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   13497   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   13498   ac_status=$?
   13499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13500   test $ac_status = 0; }; then
   13501   pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
   13502 		      test "x$?" != "x0" && pkg_failed=yes
   13503 else
   13504   pkg_failed=yes
   13505 fi
   13506  else
   13507     pkg_failed=untried
   13508 fi
   13509 
   13510 
   13511 
   13512 if test $pkg_failed = yes; then
   13513    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13514 $as_echo "no" >&6; }
   13515 
   13516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13517         _pkg_short_errors_supported=yes
   13518 else
   13519         _pkg_short_errors_supported=no
   13520 fi
   13521         if test $_pkg_short_errors_supported = yes; then
   13522 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
   13523         else
   13524 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
   13525         fi
   13526 	# Put the nasty error message in config.log where it belongs
   13527 	echo "$NEEDED_PKG_ERRORS" >&5
   13528 
   13529 	as_fn_error $? "Package requirements ($NEEDED) were not met:
   13530 
   13531 $NEEDED_PKG_ERRORS
   13532 
   13533 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   13534 installed software in a non-standard prefix.
   13535 
   13536 Alternatively, you may set the environment variables NEEDED_CFLAGS
   13537 and NEEDED_LIBS to avoid the need to call pkg-config.
   13538 See the pkg-config man page for more details." "$LINENO" 5
   13539 elif test $pkg_failed = untried; then
   13540      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13541 $as_echo "no" >&6; }
   13542 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13544 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   13545 is in your PATH or set the PKG_CONFIG environment variable to the full
   13546 path to pkg-config.
   13547 
   13548 Alternatively, you may set the environment variables NEEDED_CFLAGS
   13549 and NEEDED_LIBS to avoid the need to call pkg-config.
   13550 See the pkg-config man page for more details.
   13551 
   13552 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   13553 See \`config.log' for more details" "$LINENO" 5; }
   13554 else
   13555 	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
   13556 	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
   13557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13558 $as_echo "yes" >&6; }
   13559 
   13560 fi
   13561 
   13562 have_xdmcp="no"
   13563 
   13564 pkg_failed=no
   13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   13566 $as_echo_n "checking for XDMCP... " >&6; }
   13567 
   13568 if test -n "$XDMCP_CFLAGS"; then
   13569     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   13570  elif test -n "$PKG_CONFIG"; then
   13571     if test -n "$PKG_CONFIG" && \
   13572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   13573   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   13574   ac_status=$?
   13575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13576   test $ac_status = 0; }; then
   13577   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   13578 		      test "x$?" != "x0" && pkg_failed=yes
   13579 else
   13580   pkg_failed=yes
   13581 fi
   13582  else
   13583     pkg_failed=untried
   13584 fi
   13585 if test -n "$XDMCP_LIBS"; then
   13586     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   13587  elif test -n "$PKG_CONFIG"; then
   13588     if test -n "$PKG_CONFIG" && \
   13589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   13590   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   13591   ac_status=$?
   13592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13593   test $ac_status = 0; }; then
   13594   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   13595 		      test "x$?" != "x0" && pkg_failed=yes
   13596 else
   13597   pkg_failed=yes
   13598 fi
   13599  else
   13600     pkg_failed=untried
   13601 fi
   13602 
   13603 
   13604 
   13605 if test $pkg_failed = yes; then
   13606    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13607 $as_echo "no" >&6; }
   13608 
   13609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13610         _pkg_short_errors_supported=yes
   13611 else
   13612         _pkg_short_errors_supported=no
   13613 fi
   13614         if test $_pkg_short_errors_supported = yes; then
   13615 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   13616         else
   13617 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   13618         fi
   13619 	# Put the nasty error message in config.log where it belongs
   13620 	echo "$XDMCP_PKG_ERRORS" >&5
   13621 
   13622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13623 $as_echo "no" >&6; }
   13624 elif test $pkg_failed = untried; then
   13625      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13626 $as_echo "no" >&6; }
   13627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13628 $as_echo "no" >&6; }
   13629 else
   13630 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   13631 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   13632         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13633 $as_echo "yes" >&6; }
   13634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   13635 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
   13636 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
   13637   $as_echo_n "(cached) " >&6
   13638 else
   13639   ac_check_lib_save_LIBS=$LIBS
   13640 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13642 /* end confdefs.h.  */
   13643 
   13644 /* Override any GCC internal prototype to avoid an error.
   13645    Use char because int might match the return type of a GCC
   13646    builtin and then its argument prototype would still apply.  */
   13647 #ifdef __cplusplus
   13648 extern "C"
   13649 #endif
   13650 char XdmcpWrap ();
   13651 int
   13652 main ()
   13653 {
   13654 return XdmcpWrap ();
   13655   ;
   13656   return 0;
   13657 }
   13658 _ACEOF
   13659 if ac_fn_c_try_link "$LINENO"; then :
   13660   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   13661 else
   13662   ac_cv_lib_Xdmcp_XdmcpWrap=no
   13663 fi
   13664 rm -f core conftest.err conftest.$ac_objext \
   13665     conftest$ac_exeext conftest.$ac_ext
   13666 LIBS=$ac_check_lib_save_LIBS
   13667 fi
   13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   13669 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   13670 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
   13671 
   13672 
   13673 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   13674 
   13675 		NEEDED="$NEEDED xdmcp"
   13676 		have_xdmcp="yes"
   13677 
   13678 else
   13679 
   13680 		XDMCP_CFLAGS=
   13681 		XDMCP_LIBS=
   13682 
   13683 fi
   13684 
   13685 fi
   13686 
   13687 
   13688 
   13689 # Find the xcb-proto protocol descriptions
   13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
   13691 $as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
   13692 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
   13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
   13694 $as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
   13695 
   13696 
   13697 # Find the xcb-proto version
   13698 XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
   13699 
   13700 
   13701 # Find the xcbgen Python package
   13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
   13703 $as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
   13704 XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
   13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
   13706 $as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }
   13707 
   13708 
   13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   13710 $as_echo_n "checking for ANSI C header files... " >&6; }
   13711 if ${ac_cv_header_stdc+:} false; then :
   13712   $as_echo_n "(cached) " >&6
   13713 else
   13714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13715 /* end confdefs.h.  */
   13716 #include <stdlib.h>
   13717 #include <stdarg.h>
   13718 #include <string.h>
   13719 #include <float.h>
   13720 
   13721 int
   13722 main ()
   13723 {
   13724 
   13725   ;
   13726   return 0;
   13727 }
   13728 _ACEOF
   13729 if ac_fn_c_try_compile "$LINENO"; then :
   13730   ac_cv_header_stdc=yes
   13731 else
   13732   ac_cv_header_stdc=no
   13733 fi
   13734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13735 
   13736 if test $ac_cv_header_stdc = yes; then
   13737   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   13738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13739 /* end confdefs.h.  */
   13740 #include <string.h>
   13741 
   13742 _ACEOF
   13743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13744   $EGREP "memchr" >/dev/null 2>&1; then :
   13745 
   13746 else
   13747   ac_cv_header_stdc=no
   13748 fi
   13749 rm -f conftest*
   13750 
   13751 fi
   13752 
   13753 if test $ac_cv_header_stdc = yes; then
   13754   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   13755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13756 /* end confdefs.h.  */
   13757 #include <stdlib.h>
   13758 
   13759 _ACEOF
   13760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13761   $EGREP "free" >/dev/null 2>&1; then :
   13762 
   13763 else
   13764   ac_cv_header_stdc=no
   13765 fi
   13766 rm -f conftest*
   13767 
   13768 fi
   13769 
   13770 if test $ac_cv_header_stdc = yes; then
   13771   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   13772   if test "$cross_compiling" = yes; then :
   13773   :
   13774 else
   13775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13776 /* end confdefs.h.  */
   13777 #include <ctype.h>
   13778 #include <stdlib.h>
   13779 #if ((' ' & 0x0FF) == 0x020)
   13780 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   13781 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   13782 #else
   13783 # define ISLOWER(c) \
   13784 		   (('a' <= (c) && (c) <= 'i') \
   13785 		     || ('j' <= (c) && (c) <= 'r') \
   13786 		     || ('s' <= (c) && (c) <= 'z'))
   13787 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   13788 #endif
   13789 
   13790 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   13791 int
   13792 main ()
   13793 {
   13794   int i;
   13795   for (i = 0; i < 256; i++)
   13796     if (XOR (islower (i), ISLOWER (i))
   13797 	|| toupper (i) != TOUPPER (i))
   13798       return 2;
   13799   return 0;
   13800 }
   13801 _ACEOF
   13802 if ac_fn_c_try_run "$LINENO"; then :
   13803 
   13804 else
   13805   ac_cv_header_stdc=no
   13806 fi
   13807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13808   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13809 fi
   13810 
   13811 fi
   13812 fi
   13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   13814 $as_echo "$ac_cv_header_stdc" >&6; }
   13815 if test $ac_cv_header_stdc = yes; then
   13816 
   13817 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   13818 
   13819 fi
   13820 
   13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
   13822 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
   13823 if ${ac_cv_search_getaddrinfo+:} false; then :
   13824   $as_echo_n "(cached) " >&6
   13825 else
   13826   ac_func_search_save_LIBS=$LIBS
   13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13828 /* end confdefs.h.  */
   13829 
   13830 /* Override any GCC internal prototype to avoid an error.
   13831    Use char because int might match the return type of a GCC
   13832    builtin and then its argument prototype would still apply.  */
   13833 #ifdef __cplusplus
   13834 extern "C"
   13835 #endif
   13836 char getaddrinfo ();
   13837 int
   13838 main ()
   13839 {
   13840 return getaddrinfo ();
   13841   ;
   13842   return 0;
   13843 }
   13844 _ACEOF
   13845 for ac_lib in '' socket; do
   13846   if test -z "$ac_lib"; then
   13847     ac_res="none required"
   13848   else
   13849     ac_res=-l$ac_lib
   13850     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13851   fi
   13852   if ac_fn_c_try_link "$LINENO"; then :
   13853   ac_cv_search_getaddrinfo=$ac_res
   13854 fi
   13855 rm -f core conftest.err conftest.$ac_objext \
   13856     conftest$ac_exeext
   13857   if ${ac_cv_search_getaddrinfo+:} false; then :
   13858   break
   13859 fi
   13860 done
   13861 if ${ac_cv_search_getaddrinfo+:} false; then :
   13862 
   13863 else
   13864   ac_cv_search_getaddrinfo=no
   13865 fi
   13866 rm conftest.$ac_ext
   13867 LIBS=$ac_func_search_save_LIBS
   13868 fi
   13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
   13870 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
   13871 ac_res=$ac_cv_search_getaddrinfo
   13872 if test "$ac_res" != no; then :
   13873   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13874 
   13875 fi
   13876 
   13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   13878 $as_echo_n "checking for library containing connect... " >&6; }
   13879 if ${ac_cv_search_connect+:} false; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   ac_func_search_save_LIBS=$LIBS
   13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13884 /* end confdefs.h.  */
   13885 
   13886 /* Override any GCC internal prototype to avoid an error.
   13887    Use char because int might match the return type of a GCC
   13888    builtin and then its argument prototype would still apply.  */
   13889 #ifdef __cplusplus
   13890 extern "C"
   13891 #endif
   13892 char connect ();
   13893 int
   13894 main ()
   13895 {
   13896 return connect ();
   13897   ;
   13898   return 0;
   13899 }
   13900 _ACEOF
   13901 for ac_lib in '' socket; do
   13902   if test -z "$ac_lib"; then
   13903     ac_res="none required"
   13904   else
   13905     ac_res=-l$ac_lib
   13906     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13907   fi
   13908   if ac_fn_c_try_link "$LINENO"; then :
   13909   ac_cv_search_connect=$ac_res
   13910 fi
   13911 rm -f core conftest.err conftest.$ac_objext \
   13912     conftest$ac_exeext
   13913   if ${ac_cv_search_connect+:} false; then :
   13914   break
   13915 fi
   13916 done
   13917 if ${ac_cv_search_connect+:} false; then :
   13918 
   13919 else
   13920   ac_cv_search_connect=no
   13921 fi
   13922 rm conftest.$ac_ext
   13923 LIBS=$ac_func_search_save_LIBS
   13924 fi
   13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   13926 $as_echo "$ac_cv_search_connect" >&6; }
   13927 ac_res=$ac_cv_search_connect
   13928 if test "$ac_res" != no; then :
   13929   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13930 
   13931 fi
   13932 
   13933 
   13934 # Check whether --enable-sendfds was given.
   13935 if test "${enable_sendfds+set}" = set; then :
   13936   enableval=$enable_sendfds; sendfds=$enableval
   13937 else
   13938   sendfds=auto
   13939 fi
   13940 
   13941 
   13942 case x$sendfds in
   13943 xauto)
   13944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
   13945 $as_echo_n "checking for library containing sendmsg... " >&6; }
   13946 if ${ac_cv_search_sendmsg+:} false; then :
   13947   $as_echo_n "(cached) " >&6
   13948 else
   13949   ac_func_search_save_LIBS=$LIBS
   13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13951 /* end confdefs.h.  */
   13952 
   13953 /* Override any GCC internal prototype to avoid an error.
   13954    Use char because int might match the return type of a GCC
   13955    builtin and then its argument prototype would still apply.  */
   13956 #ifdef __cplusplus
   13957 extern "C"
   13958 #endif
   13959 char sendmsg ();
   13960 int
   13961 main ()
   13962 {
   13963 return sendmsg ();
   13964   ;
   13965   return 0;
   13966 }
   13967 _ACEOF
   13968 for ac_lib in '' socket; do
   13969   if test -z "$ac_lib"; then
   13970     ac_res="none required"
   13971   else
   13972     ac_res=-l$ac_lib
   13973     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   13974   fi
   13975   if ac_fn_c_try_link "$LINENO"; then :
   13976   ac_cv_search_sendmsg=$ac_res
   13977 fi
   13978 rm -f core conftest.err conftest.$ac_objext \
   13979     conftest$ac_exeext
   13980   if ${ac_cv_search_sendmsg+:} false; then :
   13981   break
   13982 fi
   13983 done
   13984 if ${ac_cv_search_sendmsg+:} false; then :
   13985 
   13986 else
   13987   ac_cv_search_sendmsg=no
   13988 fi
   13989 rm conftest.$ac_ext
   13990 LIBS=$ac_func_search_save_LIBS
   13991 fi
   13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
   13993 $as_echo "$ac_cv_search_sendmsg" >&6; }
   13994 ac_res=$ac_cv_search_sendmsg
   13995 if test "$ac_res" != no; then :
   13996   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   13997   sendfds="yes"
   13998 else
   13999   sendfds="no"
   14000 fi
   14001 
   14002 	;;
   14003 esac
   14004 
   14005 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   14006 # _XOPEN_SOURCE to get it (such as on Solaris)
   14007 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   14008 $ac_includes_default
   14009 #include <sys/socket.h>
   14010 
   14011 "
   14012 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   14013 
   14014 fi
   14015 
   14016 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   14017 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   14018     unset ac_cv_member_struct_msghdr_msg_control
   14019     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   14020 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   14021     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   14022 #define _XOPEN_SOURCE 600
   14023 $ac_includes_default
   14024 #include <sys/socket.h>
   14025 
   14026 "
   14027 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   14028 
   14029 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   14030 
   14031 
   14032 fi
   14033 
   14034 fi
   14035 # If that didn't work, fall back to XPG5/UNIX98 with C89
   14036 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   14037     unset ac_cv_member_struct_msghdr_msg_control
   14038     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   14039 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   14040     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   14041 #define _XOPEN_SOURCE 500
   14042 $ac_includes_default
   14043 #include <sys/socket.h>
   14044 
   14045 "
   14046 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   14047 
   14048 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   14049 
   14050 
   14051 else
   14052   sendfds="no"
   14053 fi
   14054 
   14055 fi
   14056 
   14057 case x$sendfds in
   14058 xyes)
   14059 
   14060 $as_echo "#define HAVE_SENDMSG 1" >>confdefs.h
   14061 
   14062         ;;
   14063 esac
   14064 
   14065 have_win32="no"
   14066 lt_enable_auto_import=""
   14067 case $host_os in
   14068 mingw*)
   14069 	have_win32="yes"
   14070 	lt_enable_auto_import="-Wl,--enable-auto-import"
   14071  	;;
   14072 linux*)
   14073 
   14074 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
   14075 
   14076 	;;
   14077 esac
   14078 
   14079 
   14080  if test "x${have_win32}" = "xyes"; then
   14081   XCB_HAVE_WIN32_TRUE=
   14082   XCB_HAVE_WIN32_FALSE='#'
   14083 else
   14084   XCB_HAVE_WIN32_TRUE='#'
   14085   XCB_HAVE_WIN32_FALSE=
   14086 fi
   14087 
   14088 
   14089 
   14090 # Check whether --with-queue-size was given.
   14091 if test "${with_queue_size+set}" = set; then :
   14092   withval=$with_queue_size; xcb_queue_buffer_size="$withval"
   14093 else
   14094   xcb_queue_buffer_size=16384
   14095 fi
   14096 
   14097 
   14098 cat >>confdefs.h <<_ACEOF
   14099 #define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size
   14100 _ACEOF
   14101 
   14102 
   14103 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
   14104 		  #include <sys/un.h>
   14105 
   14106 "
   14107 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
   14108 
   14109 $as_echo "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
   14110 
   14111 fi
   14112 
   14113 
   14114 for ac_header in tsol/label.h
   14115 do :
   14116   ac_fn_c_check_header_mongrel "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
   14117 if test "x$ac_cv_header_tsol_label_h" = xyes; then :
   14118   cat >>confdefs.h <<_ACEOF
   14119 #define HAVE_TSOL_LABEL_H 1
   14120 _ACEOF
   14121 
   14122 fi
   14123 
   14124 done
   14125 
   14126 for ac_func in is_system_labeled
   14127 do :
   14128   ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
   14129 if test "x$ac_cv_func_is_system_labeled" = xyes; then :
   14130   cat >>confdefs.h <<_ACEOF
   14131 #define HAVE_IS_SYSTEM_LABELED 1
   14132 _ACEOF
   14133 
   14134 fi
   14135 done
   14136 
   14137 
   14138 ac_fn_c_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
   14139 "
   14140 if test "x$ac_cv_have_decl_IOV_MAX" = xyes; then :
   14141 
   14142 else
   14143   ac_fn_c_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
   14144 "
   14145 if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes; then :
   14146   $as_echo "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
   14147 
   14148 else
   14149 
   14150 $as_echo "#define IOV_MAX 16" >>confdefs.h
   14151 
   14152 fi
   14153 
   14154 fi
   14155 
   14156 
   14157 xcbincludedir='${includedir}/xcb'
   14158 
   14159 
   14160 if  test "x$GCC" = xyes ; then
   14161     CWARNFLAGS="-Wall -Wpointer-arith -Wold-style-definition \
   14162 		-Wstrict-prototypes -Wmissing-declarations -Wnested-externs"
   14163 else
   14164     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   14165 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   14166   SUNCC="yes"
   14167 else
   14168   SUNCC="no"
   14169 fi
   14170 
   14171     if test "x$SUNCC" = "xyes"; then
   14172 	CWARNFLAGS="-v -fd"
   14173     fi
   14174 fi
   14175 
   14176 
   14177 
   14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
   14179 $as_echo_n "checking whether ${CC} supports symbol visibility... " >&6; }
   14180 
   14181 save_CFLAGS=${CFLAGS}
   14182 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
   14183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14184 /* end confdefs.h.  */
   14185 
   14186 #pragma GCC visibility push(hidden)
   14187 extern void f(int);
   14188 #pragma GCC visibility pop
   14189 
   14190 int
   14191 main ()
   14192 {
   14193 
   14194 
   14195   ;
   14196   return 0;
   14197 }
   14198 _ACEOF
   14199 if ac_fn_c_try_compile "$LINENO"; then :
   14200 
   14201 $as_echo "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
   14202 
   14203     :
   14204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14205 $as_echo "yes" >&6; }
   14206 else
   14207   :
   14208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14209 $as_echo "no" >&6; }
   14210 fi
   14211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14212 
   14213 CFLAGS=${save_CFLAGS}
   14214 
   14215 
   14216 
   14217 DOXYGEN="doxygen"
   14218 
   14219 # Check whether --enable-build_docs was given.
   14220 if test "${enable_build_docs+set}" = set; then :
   14221   enableval=$enable_build_docs; if test x"$enableval" != x"yes" ; then
   14222        enable_build_docs="no"
   14223     else
   14224        enable_build_docs="yes"
   14225     fi
   14226 else
   14227   enable_build_docs="yes"
   14228 fi
   14229 
   14230 
   14231 if test "$enable_build_docs" = "no" ; then
   14232     BUILD_DOCS=no
   14233 else
   14234 
   14235 # Check whether --with-doxygen was given.
   14236 if test "${with_doxygen+set}" = set; then :
   14237   withval=$with_doxygen;          DOXYGEN=${withval}
   14238     # Extract the first word of "${DOXYGEN}", so it can be a program name with args.
   14239 set dummy ${DOXYGEN}; ac_word=$2
   14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14241 $as_echo_n "checking for $ac_word... " >&6; }
   14242 if ${ac_cv_prog_BUILD_DOCS+:} false; then :
   14243   $as_echo_n "(cached) " >&6
   14244 else
   14245   if test -n "$BUILD_DOCS"; then
   14246   ac_cv_prog_BUILD_DOCS="$BUILD_DOCS" # Let the user override the test.
   14247 else
   14248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14249 for as_dir in $PATH
   14250 do
   14251   IFS=$as_save_IFS
   14252   test -z "$as_dir" && as_dir=.
   14253     for ac_exec_ext in '' $ac_executable_extensions; do
   14254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14255     ac_cv_prog_BUILD_DOCS="yes"
   14256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14257     break 2
   14258   fi
   14259 done
   14260   done
   14261 IFS=$as_save_IFS
   14262 
   14263   test -z "$ac_cv_prog_BUILD_DOCS" && ac_cv_prog_BUILD_DOCS="no"
   14264 fi
   14265 fi
   14266 BUILD_DOCS=$ac_cv_prog_BUILD_DOCS
   14267 if test -n "$BUILD_DOCS"; then
   14268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_DOCS" >&5
   14269 $as_echo "$BUILD_DOCS" >&6; }
   14270 else
   14271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14272 $as_echo "no" >&6; }
   14273 fi
   14274 
   14275 
   14276     if test $BUILD_DOCS = no; then
   14277        echo "WARNING:"
   14278        echo "The doxygen program you specified:"
   14279        echo "$DOXYGEN"
   14280        echo "was not found.  Please check the path and make sure "
   14281        echo "the program exists and is executable."
   14282        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no doxygen detected. Documentation will not be built" >&5
   14283 $as_echo "$as_me: WARNING: Warning: no doxygen detected. Documentation will not be built" >&2;}
   14284     fi
   14285 else
   14286   # Extract the first word of "${DOXYGEN}", so it can be a program name with args.
   14287 set dummy ${DOXYGEN}; ac_word=$2
   14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14289 $as_echo_n "checking for $ac_word... " >&6; }
   14290 if ${ac_cv_prog_BUILD_DOCS+:} false; then :
   14291   $as_echo_n "(cached) " >&6
   14292 else
   14293   if test -n "$BUILD_DOCS"; then
   14294   ac_cv_prog_BUILD_DOCS="$BUILD_DOCS" # Let the user override the test.
   14295 else
   14296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14297 for as_dir in $PATH
   14298 do
   14299   IFS=$as_save_IFS
   14300   test -z "$as_dir" && as_dir=.
   14301     for ac_exec_ext in '' $ac_executable_extensions; do
   14302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14303     ac_cv_prog_BUILD_DOCS="yes"
   14304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14305     break 2
   14306   fi
   14307 done
   14308   done
   14309 IFS=$as_save_IFS
   14310 
   14311   test -z "$ac_cv_prog_BUILD_DOCS" && ac_cv_prog_BUILD_DOCS="no"
   14312 fi
   14313 fi
   14314 BUILD_DOCS=$ac_cv_prog_BUILD_DOCS
   14315 if test -n "$BUILD_DOCS"; then
   14316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_DOCS" >&5
   14317 $as_echo "$BUILD_DOCS" >&6; }
   14318 else
   14319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14320 $as_echo "no" >&6; }
   14321 fi
   14322 
   14323 
   14324     if test ${BUILD_DOCS} = no; then
   14325        echo "WARNING:"
   14326        echo "The doxygen program was not found in your execute"
   14327        echo "You may have doxygen installed somewhere not covered by your path."
   14328        echo ""
   14329        echo "If this is the case make sure you have the packages installed, AND"
   14330        echo "that the doxygen program is in your execute path (see your"
   14331        echo "shell manual page on setting the \$PATH environment variable), OR"
   14332        echo "alternatively, specify the program to use with --with-doxygen."
   14333        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no doxygen detected. Documentation will not be built" >&5
   14334 $as_echo "$as_me: WARNING: Warning: no doxygen detected. Documentation will not be built" >&2;}
   14335     fi
   14336 fi
   14337 
   14338     # Extract the first word of "dot", so it can be a program name with args.
   14339 set dummy dot; ac_word=$2
   14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14341 $as_echo_n "checking for $ac_word... " >&6; }
   14342 if ${ac_cv_path_DOT+:} false; then :
   14343   $as_echo_n "(cached) " >&6
   14344 else
   14345   case $DOT in
   14346   [\\/]* | ?:[\\/]*)
   14347   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   14348   ;;
   14349   *)
   14350   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14351 for as_dir in $PATH
   14352 do
   14353   IFS=$as_save_IFS
   14354   test -z "$as_dir" && as_dir=.
   14355     for ac_exec_ext in '' $ac_executable_extensions; do
   14356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14357     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   14358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14359     break 2
   14360   fi
   14361 done
   14362   done
   14363 IFS=$as_save_IFS
   14364 
   14365   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="no"
   14366   ;;
   14367 esac
   14368 fi
   14369 DOT=$ac_cv_path_DOT
   14370 if test -n "$DOT"; then
   14371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   14372 $as_echo "$DOT" >&6; }
   14373 else
   14374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14375 $as_echo "no" >&6; }
   14376 fi
   14377 
   14378 
   14379     if test "$DOT" = "no"; then
   14380         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: no dot detected. Documentation will not be built" >&5
   14381 $as_echo "$as_me: WARNING: Warning: no dot detected. Documentation will not be built" >&2;}
   14382 	BUILD_DOCS="no"
   14383     fi
   14384 fi
   14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation is built" >&5
   14386 $as_echo_n "checking whether documentation is built... " >&6; }
   14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BUILD_DOCS}" >&5
   14388 $as_echo "${BUILD_DOCS}" >&6; }
   14389 
   14390 
   14391 
   14392  if test "x$BUILD_DOCS" = "xyes"; then
   14393   BUILD_DOCS_TRUE=
   14394   BUILD_DOCS_FALSE='#'
   14395 else
   14396   BUILD_DOCS_TRUE='#'
   14397   BUILD_DOCS_FALSE=
   14398 fi
   14399 
   14400 
   14401 
   14402 
   14403 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   14404 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   14405 
   14406 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
   14407 
   14408 fi
   14409 
   14410 
   14411 case $host_os in
   14412 	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
   14413 	darwin[789]*|darwin10*) ;;
   14414 	darwin*)
   14415 		_ac_xorg_macosx_version_min=""
   14416 		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   14417 			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   14418 		else
   14419 			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   14420 		fi
   14421 		case $_ac_xorg_macosx_version_min in
   14422 			10.[0123456]|10.[0123456].*) ;;
   14423 			*)
   14424 				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   14425 if test "x$ac_cv_func_poll" = xyes; then :
   14426 
   14427 $as_echo "#define USE_POLL 1" >>confdefs.h
   14428 
   14429 fi
   14430 
   14431 			;;
   14432 		esac
   14433 		unset _ac_xorg_macosx_version_min
   14434 		;;
   14435 	*)
   14436 		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   14437 if test "x$ac_cv_func_poll" = xyes; then :
   14438 
   14439 $as_echo "#define USE_POLL 1" >>confdefs.h
   14440 
   14441 fi
   14442 
   14443 	;;
   14444 esac
   14445 
   14446 
   14447 
   14448 # Check whether --enable-composite was given.
   14449 if test "${enable_composite+set}" = set; then :
   14450   enableval=$enable_composite; BUILD_COMPOSITE=$enableval
   14451 else
   14452   BUILD_COMPOSITE="yes"
   14453 fi
   14454 
   14455 
   14456  if test "x$BUILD_COMPOSITE" = "xyes"; then
   14457   BUILD_COMPOSITE_TRUE=
   14458   BUILD_COMPOSITE_FALSE='#'
   14459 else
   14460   BUILD_COMPOSITE_TRUE='#'
   14461   BUILD_COMPOSITE_FALSE=
   14462 fi
   14463 
   14464 
   14465 
   14466 
   14467 # Check whether --enable-damage was given.
   14468 if test "${enable_damage+set}" = set; then :
   14469   enableval=$enable_damage; BUILD_DAMAGE=$enableval
   14470 else
   14471   BUILD_DAMAGE="yes"
   14472 fi
   14473 
   14474 
   14475  if test "x$BUILD_DAMAGE" = "xyes"; then
   14476   BUILD_DAMAGE_TRUE=
   14477   BUILD_DAMAGE_FALSE='#'
   14478 else
   14479   BUILD_DAMAGE_TRUE='#'
   14480   BUILD_DAMAGE_FALSE=
   14481 fi
   14482 
   14483 
   14484 
   14485 
   14486 # Check whether --enable-dpms was given.
   14487 if test "${enable_dpms+set}" = set; then :
   14488   enableval=$enable_dpms; BUILD_DPMS=$enableval
   14489 else
   14490   BUILD_DPMS="yes"
   14491 fi
   14492 
   14493 
   14494  if test "x$BUILD_DPMS" = "xyes"; then
   14495   BUILD_DPMS_TRUE=
   14496   BUILD_DPMS_FALSE='#'
   14497 else
   14498   BUILD_DPMS_TRUE='#'
   14499   BUILD_DPMS_FALSE=
   14500 fi
   14501 
   14502 
   14503 
   14504 
   14505 # Check whether --enable-dri2 was given.
   14506 if test "${enable_dri2+set}" = set; then :
   14507   enableval=$enable_dri2; BUILD_DRI2=$enableval
   14508 else
   14509   BUILD_DRI2="yes"
   14510 fi
   14511 
   14512 
   14513  if test "x$BUILD_DRI2" = "xyes"; then
   14514   BUILD_DRI2_TRUE=
   14515   BUILD_DRI2_FALSE='#'
   14516 else
   14517   BUILD_DRI2_TRUE='#'
   14518   BUILD_DRI2_FALSE=
   14519 fi
   14520 
   14521 
   14522 
   14523 
   14524 # Check whether --enable-dri3 was given.
   14525 if test "${enable_dri3+set}" = set; then :
   14526   enableval=$enable_dri3; BUILD_DRI3=$enableval
   14527 else
   14528   BUILD_DRI3="$sendfds"
   14529 fi
   14530 
   14531 
   14532  if test "x$BUILD_DRI3" = "xyes"; then
   14533   BUILD_DRI3_TRUE=
   14534   BUILD_DRI3_FALSE='#'
   14535 else
   14536   BUILD_DRI3_TRUE='#'
   14537   BUILD_DRI3_FALSE=
   14538 fi
   14539 
   14540 
   14541 
   14542 
   14543 # Check whether --enable-glx was given.
   14544 if test "${enable_glx+set}" = set; then :
   14545   enableval=$enable_glx; BUILD_GLX=$enableval
   14546 else
   14547   BUILD_GLX="yes"
   14548 fi
   14549 
   14550 
   14551  if test "x$BUILD_GLX" = "xyes"; then
   14552   BUILD_GLX_TRUE=
   14553   BUILD_GLX_FALSE='#'
   14554 else
   14555   BUILD_GLX_TRUE='#'
   14556   BUILD_GLX_FALSE=
   14557 fi
   14558 
   14559 
   14560 
   14561 
   14562 # Check whether --enable-present was given.
   14563 if test "${enable_present+set}" = set; then :
   14564   enableval=$enable_present; BUILD_PRESENT=$enableval
   14565 else
   14566   BUILD_PRESENT="yes"
   14567 fi
   14568 
   14569 
   14570  if test "x$BUILD_PRESENT" = "xyes"; then
   14571   BUILD_PRESENT_TRUE=
   14572   BUILD_PRESENT_FALSE='#'
   14573 else
   14574   BUILD_PRESENT_TRUE='#'
   14575   BUILD_PRESENT_FALSE=
   14576 fi
   14577 
   14578 
   14579 
   14580 
   14581 # Check whether --enable-randr was given.
   14582 if test "${enable_randr+set}" = set; then :
   14583   enableval=$enable_randr; BUILD_RANDR=$enableval
   14584 else
   14585   BUILD_RANDR="yes"
   14586 fi
   14587 
   14588 
   14589  if test "x$BUILD_RANDR" = "xyes"; then
   14590   BUILD_RANDR_TRUE=
   14591   BUILD_RANDR_FALSE='#'
   14592 else
   14593   BUILD_RANDR_TRUE='#'
   14594   BUILD_RANDR_FALSE=
   14595 fi
   14596 
   14597 
   14598 
   14599 
   14600 # Check whether --enable-record was given.
   14601 if test "${enable_record+set}" = set; then :
   14602   enableval=$enable_record; BUILD_RECORD=$enableval
   14603 else
   14604   BUILD_RECORD="yes"
   14605 fi
   14606 
   14607 
   14608  if test "x$BUILD_RECORD" = "xyes"; then
   14609   BUILD_RECORD_TRUE=
   14610   BUILD_RECORD_FALSE='#'
   14611 else
   14612   BUILD_RECORD_TRUE='#'
   14613   BUILD_RECORD_FALSE=
   14614 fi
   14615 
   14616 
   14617 
   14618 
   14619 # Check whether --enable-render was given.
   14620 if test "${enable_render+set}" = set; then :
   14621   enableval=$enable_render; BUILD_RENDER=$enableval
   14622 else
   14623   BUILD_RENDER="yes"
   14624 fi
   14625 
   14626 
   14627  if test "x$BUILD_RENDER" = "xyes"; then
   14628   BUILD_RENDER_TRUE=
   14629   BUILD_RENDER_FALSE='#'
   14630 else
   14631   BUILD_RENDER_TRUE='#'
   14632   BUILD_RENDER_FALSE=
   14633 fi
   14634 
   14635 
   14636 
   14637 
   14638 # Check whether --enable-resource was given.
   14639 if test "${enable_resource+set}" = set; then :
   14640   enableval=$enable_resource; BUILD_RESOURCE=$enableval
   14641 else
   14642   BUILD_RESOURCE="yes"
   14643 fi
   14644 
   14645 
   14646  if test "x$BUILD_RESOURCE" = "xyes"; then
   14647   BUILD_RESOURCE_TRUE=
   14648   BUILD_RESOURCE_FALSE='#'
   14649 else
   14650   BUILD_RESOURCE_TRUE='#'
   14651   BUILD_RESOURCE_FALSE=
   14652 fi
   14653 
   14654 
   14655 
   14656 
   14657 # Check whether --enable-screensaver was given.
   14658 if test "${enable_screensaver+set}" = set; then :
   14659   enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
   14660 else
   14661   BUILD_SCREENSAVER="yes"
   14662 fi
   14663 
   14664 
   14665  if test "x$BUILD_SCREENSAVER" = "xyes"; then
   14666   BUILD_SCREENSAVER_TRUE=
   14667   BUILD_SCREENSAVER_FALSE='#'
   14668 else
   14669   BUILD_SCREENSAVER_TRUE='#'
   14670   BUILD_SCREENSAVER_FALSE=
   14671 fi
   14672 
   14673 
   14674 
   14675 
   14676 # Check whether --enable-shape was given.
   14677 if test "${enable_shape+set}" = set; then :
   14678   enableval=$enable_shape; BUILD_SHAPE=$enableval
   14679 else
   14680   BUILD_SHAPE="yes"
   14681 fi
   14682 
   14683 
   14684  if test "x$BUILD_SHAPE" = "xyes"; then
   14685   BUILD_SHAPE_TRUE=
   14686   BUILD_SHAPE_FALSE='#'
   14687 else
   14688   BUILD_SHAPE_TRUE='#'
   14689   BUILD_SHAPE_FALSE=
   14690 fi
   14691 
   14692 
   14693 
   14694 
   14695 # Check whether --enable-shm was given.
   14696 if test "${enable_shm+set}" = set; then :
   14697   enableval=$enable_shm; BUILD_SHM=$enableval
   14698 else
   14699   BUILD_SHM="yes"
   14700 fi
   14701 
   14702 
   14703  if test "x$BUILD_SHM" = "xyes"; then
   14704   BUILD_SHM_TRUE=
   14705   BUILD_SHM_FALSE='#'
   14706 else
   14707   BUILD_SHM_TRUE='#'
   14708   BUILD_SHM_FALSE=
   14709 fi
   14710 
   14711 
   14712 
   14713 
   14714 # Check whether --enable-sync was given.
   14715 if test "${enable_sync+set}" = set; then :
   14716   enableval=$enable_sync; BUILD_SYNC=$enableval
   14717 else
   14718   BUILD_SYNC="yes"
   14719 fi
   14720 
   14721 
   14722  if test "x$BUILD_SYNC" = "xyes"; then
   14723   BUILD_SYNC_TRUE=
   14724   BUILD_SYNC_FALSE='#'
   14725 else
   14726   BUILD_SYNC_TRUE='#'
   14727   BUILD_SYNC_FALSE=
   14728 fi
   14729 
   14730 
   14731 
   14732 
   14733 # Check whether --enable-xevie was given.
   14734 if test "${enable_xevie+set}" = set; then :
   14735   enableval=$enable_xevie; BUILD_XEVIE=$enableval
   14736 else
   14737   BUILD_XEVIE="yes"
   14738 fi
   14739 
   14740 
   14741  if test "x$BUILD_XEVIE" = "xyes"; then
   14742   BUILD_XEVIE_TRUE=
   14743   BUILD_XEVIE_FALSE='#'
   14744 else
   14745   BUILD_XEVIE_TRUE='#'
   14746   BUILD_XEVIE_FALSE=
   14747 fi
   14748 
   14749 
   14750 
   14751 
   14752 # Check whether --enable-xfixes was given.
   14753 if test "${enable_xfixes+set}" = set; then :
   14754   enableval=$enable_xfixes; BUILD_XFIXES=$enableval
   14755 else
   14756   BUILD_XFIXES="yes"
   14757 fi
   14758 
   14759 
   14760  if test "x$BUILD_XFIXES" = "xyes"; then
   14761   BUILD_XFIXES_TRUE=
   14762   BUILD_XFIXES_FALSE='#'
   14763 else
   14764   BUILD_XFIXES_TRUE='#'
   14765   BUILD_XFIXES_FALSE=
   14766 fi
   14767 
   14768 
   14769 
   14770 
   14771 # Check whether --enable-xfree86-dri was given.
   14772 if test "${enable_xfree86_dri+set}" = set; then :
   14773   enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
   14774 else
   14775   BUILD_XFREE86_DRI="yes"
   14776 fi
   14777 
   14778 
   14779  if test "x$BUILD_XFREE86_DRI" = "xyes"; then
   14780   BUILD_XFREE86_DRI_TRUE=
   14781   BUILD_XFREE86_DRI_FALSE='#'
   14782 else
   14783   BUILD_XFREE86_DRI_TRUE='#'
   14784   BUILD_XFREE86_DRI_FALSE=
   14785 fi
   14786 
   14787 
   14788 
   14789 
   14790 # Check whether --enable-xinerama was given.
   14791 if test "${enable_xinerama+set}" = set; then :
   14792   enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
   14793 else
   14794   BUILD_XINERAMA="yes"
   14795 fi
   14796 
   14797 
   14798  if test "x$BUILD_XINERAMA" = "xyes"; then
   14799   BUILD_XINERAMA_TRUE=
   14800   BUILD_XINERAMA_FALSE='#'
   14801 else
   14802   BUILD_XINERAMA_TRUE='#'
   14803   BUILD_XINERAMA_FALSE=
   14804 fi
   14805 
   14806 
   14807 
   14808 
   14809 # Check whether --enable-xinput was given.
   14810 if test "${enable_xinput+set}" = set; then :
   14811   enableval=$enable_xinput; BUILD_XINPUT=$enableval
   14812 else
   14813   BUILD_XINPUT="no"
   14814 fi
   14815 
   14816 
   14817  if test "x$BUILD_XINPUT" = "xyes"; then
   14818   BUILD_XINPUT_TRUE=
   14819   BUILD_XINPUT_FALSE='#'
   14820 else
   14821   BUILD_XINPUT_TRUE='#'
   14822   BUILD_XINPUT_FALSE=
   14823 fi
   14824 
   14825 
   14826 
   14827 
   14828 # Check whether --enable-xkb was given.
   14829 if test "${enable_xkb+set}" = set; then :
   14830   enableval=$enable_xkb; BUILD_XKB=$enableval
   14831 else
   14832   BUILD_XKB="yes"
   14833 fi
   14834 
   14835 
   14836  if test "x$BUILD_XKB" = "xyes"; then
   14837   BUILD_XKB_TRUE=
   14838   BUILD_XKB_FALSE='#'
   14839 else
   14840   BUILD_XKB_TRUE='#'
   14841   BUILD_XKB_FALSE=
   14842 fi
   14843 
   14844 
   14845 
   14846 
   14847 # Check whether --enable-xprint was given.
   14848 if test "${enable_xprint+set}" = set; then :
   14849   enableval=$enable_xprint; BUILD_XPRINT=$enableval
   14850 else
   14851   BUILD_XPRINT="yes"
   14852 fi
   14853 
   14854 
   14855  if test "x$BUILD_XPRINT" = "xyes"; then
   14856   BUILD_XPRINT_TRUE=
   14857   BUILD_XPRINT_FALSE='#'
   14858 else
   14859   BUILD_XPRINT_TRUE='#'
   14860   BUILD_XPRINT_FALSE=
   14861 fi
   14862 
   14863 
   14864 
   14865 
   14866 # Check whether --enable-selinux was given.
   14867 if test "${enable_selinux+set}" = set; then :
   14868   enableval=$enable_selinux; BUILD_SELINUX=$enableval
   14869 else
   14870   BUILD_SELINUX="no"
   14871 fi
   14872 
   14873 
   14874  if test "x$BUILD_SELINUX" = "xyes"; then
   14875   BUILD_SELINUX_TRUE=
   14876   BUILD_SELINUX_FALSE='#'
   14877 else
   14878   BUILD_SELINUX_TRUE='#'
   14879   BUILD_SELINUX_FALSE=
   14880 fi
   14881 
   14882 
   14883 
   14884 
   14885 # Check whether --enable-xtest was given.
   14886 if test "${enable_xtest+set}" = set; then :
   14887   enableval=$enable_xtest; BUILD_XTEST=$enableval
   14888 else
   14889   BUILD_XTEST="yes"
   14890 fi
   14891 
   14892 
   14893  if test "x$BUILD_XTEST" = "xyes"; then
   14894   BUILD_XTEST_TRUE=
   14895   BUILD_XTEST_FALSE='#'
   14896 else
   14897   BUILD_XTEST_TRUE='#'
   14898   BUILD_XTEST_FALSE=
   14899 fi
   14900 
   14901 
   14902 
   14903 
   14904 # Check whether --enable-xv was given.
   14905 if test "${enable_xv+set}" = set; then :
   14906   enableval=$enable_xv; BUILD_XV=$enableval
   14907 else
   14908   BUILD_XV="yes"
   14909 fi
   14910 
   14911 
   14912  if test "x$BUILD_XV" = "xyes"; then
   14913   BUILD_XV_TRUE=
   14914   BUILD_XV_FALSE='#'
   14915 else
   14916   BUILD_XV_TRUE='#'
   14917   BUILD_XV_FALSE=
   14918 fi
   14919 
   14920 
   14921 
   14922 
   14923 # Check whether --enable-xvmc was given.
   14924 if test "${enable_xvmc+set}" = set; then :
   14925   enableval=$enable_xvmc; BUILD_XVMC=$enableval
   14926 else
   14927   BUILD_XVMC="yes"
   14928 fi
   14929 
   14930 
   14931  if test "x$BUILD_XVMC" = "xyes"; then
   14932   BUILD_XVMC_TRUE=
   14933   BUILD_XVMC_FALSE='#'
   14934 else
   14935   BUILD_XVMC_TRUE='#'
   14936   BUILD_XVMC_FALSE=
   14937 fi
   14938 
   14939 
   14940 
   14941 
   14942 # Check whether --with-launchd was given.
   14943 if test "${with_launchd+set}" = set; then :
   14944   withval=$with_launchd; LAUNCHD=$withval
   14945 else
   14946   LAUNCHD=auto
   14947 fi
   14948 
   14949 if test "x$LAUNCHD" = xauto; then
   14950 	unset LAUNCHD
   14951 	# Extract the first word of "launchd", so it can be a program name with args.
   14952 set dummy launchd; ac_word=$2
   14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14954 $as_echo_n "checking for $ac_word... " >&6; }
   14955 if ${ac_cv_prog_LAUNCHD+:} false; then :
   14956   $as_echo_n "(cached) " >&6
   14957 else
   14958   if test -n "$LAUNCHD"; then
   14959   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   14960 else
   14961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14962 for as_dir in $PATH$PATH_SEPARATOR/sbin
   14963 do
   14964   IFS=$as_save_IFS
   14965   test -z "$as_dir" && as_dir=.
   14966     for ac_exec_ext in '' $ac_executable_extensions; do
   14967   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14968     ac_cv_prog_LAUNCHD="yes"
   14969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14970     break 2
   14971   fi
   14972 done
   14973   done
   14974 IFS=$as_save_IFS
   14975 
   14976   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   14977 fi
   14978 fi
   14979 LAUNCHD=$ac_cv_prog_LAUNCHD
   14980 if test -n "$LAUNCHD"; then
   14981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   14982 $as_echo "$LAUNCHD" >&6; }
   14983 else
   14984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14985 $as_echo "no" >&6; }
   14986 fi
   14987 
   14988 
   14989 fi
   14990 
   14991 if test "x$LAUNCHD" = xyes ; then
   14992 
   14993 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   14994 
   14995 fi
   14996 
   14997 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile tests/Makefile"
   14998 
   14999 
   15000 ac_config_files="$ac_config_files xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc xcb-glx.pc xcb-present.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"
   15001 
   15002 
   15003 ac_config_files="$ac_config_files doc/xcb.doxygen"
   15004 
   15005 
   15006 cat >confcache <<\_ACEOF
   15007 # This file is a shell script that caches the results of configure
   15008 # tests run on this system so they can be shared between configure
   15009 # scripts and configure runs, see configure's option --config-cache.
   15010 # It is not useful on other systems.  If it contains results you don't
   15011 # want to keep, you may remove or edit it.
   15012 #
   15013 # config.status only pays attention to the cache file if you give it
   15014 # the --recheck option to rerun configure.
   15015 #
   15016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15018 # following values.
   15019 
   15020 _ACEOF
   15021 
   15022 # The following way of writing the cache mishandles newlines in values,
   15023 # but we know of no workaround that is simple, portable, and efficient.
   15024 # So, we kill variables containing newlines.
   15025 # Ultrix sh set writes to stderr and can't be redirected directly,
   15026 # and sets the high bit in the cache file unless we assign to the vars.
   15027 (
   15028   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15029     eval ac_val=\$$ac_var
   15030     case $ac_val in #(
   15031     *${as_nl}*)
   15032       case $ac_var in #(
   15033       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15035       esac
   15036       case $ac_var in #(
   15037       _ | IFS | as_nl) ;; #(
   15038       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15039       *) { eval $ac_var=; unset $ac_var;} ;;
   15040       esac ;;
   15041     esac
   15042   done
   15043 
   15044   (set) 2>&1 |
   15045     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15046     *${as_nl}ac_space=\ *)
   15047       # `set' does not quote correctly, so add quotes: double-quote
   15048       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15049       sed -n \
   15050 	"s/'/'\\\\''/g;
   15051 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15052       ;; #(
   15053     *)
   15054       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15055       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15056       ;;
   15057     esac |
   15058     sort
   15059 ) |
   15060   sed '
   15061      /^ac_cv_env_/b end
   15062      t clear
   15063      :clear
   15064      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15065      t end
   15066      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15067      :end' >>confcache
   15068 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15069   if test -w "$cache_file"; then
   15070     if test "x$cache_file" != "x/dev/null"; then
   15071       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15072 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15073       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15074 	cat confcache >"$cache_file"
   15075       else
   15076         case $cache_file in #(
   15077         */* | ?:*)
   15078 	  mv -f confcache "$cache_file"$$ &&
   15079 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15080         *)
   15081 	  mv -f confcache "$cache_file" ;;
   15082 	esac
   15083       fi
   15084     fi
   15085   else
   15086     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15087 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15088   fi
   15089 fi
   15090 rm -f confcache
   15091 
   15092 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15093 # Let make expand exec_prefix.
   15094 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15095 
   15096 DEFS=-DHAVE_CONFIG_H
   15097 
   15098 ac_libobjs=
   15099 ac_ltlibobjs=
   15100 U=
   15101 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15102   # 1. Remove the extension, and $U if already installed.
   15103   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15104   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15105   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15106   #    will be set to the directory where LIBOBJS objects are built.
   15107   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15108   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15109 done
   15110 LIBOBJS=$ac_libobjs
   15111 
   15112 LTLIBOBJS=$ac_ltlibobjs
   15113 
   15114 
   15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   15116 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   15117    if test -n "$am_sleep_pid"; then
   15118      # Hide warnings about reused PIDs.
   15119      wait $am_sleep_pid 2>/dev/null
   15120    fi
   15121    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   15122 $as_echo "done" >&6; }
   15123  if test -n "$EXEEXT"; then
   15124   am__EXEEXT_TRUE=
   15125   am__EXEEXT_FALSE='#'
   15126 else
   15127   am__EXEEXT_TRUE='#'
   15128   am__EXEEXT_FALSE=
   15129 fi
   15130 
   15131 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15132   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15134 fi
   15135 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15136   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15138 fi
   15139 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
   15140   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
   15141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15142 fi
   15143 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15144   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15146 fi
   15147 if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
   15148   as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
   15149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15150 fi
   15151 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
   15152   as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
   15153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15154 fi
   15155 if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
   15156   as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
   15157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15158 fi
   15159 if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
   15160   as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
   15161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15162 fi
   15163 if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
   15164   as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
   15165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15166 fi
   15167 if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
   15168   as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
   15169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15170 fi
   15171 if test -z "${BUILD_DRI3_TRUE}" && test -z "${BUILD_DRI3_FALSE}"; then
   15172   as_fn_error $? "conditional \"BUILD_DRI3\" was never defined.
   15173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15174 fi
   15175 if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
   15176   as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
   15177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15178 fi
   15179 if test -z "${BUILD_PRESENT_TRUE}" && test -z "${BUILD_PRESENT_FALSE}"; then
   15180   as_fn_error $? "conditional \"BUILD_PRESENT\" was never defined.
   15181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15182 fi
   15183 if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
   15184   as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
   15185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15186 fi
   15187 if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
   15188   as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
   15189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15190 fi
   15191 if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
   15192   as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
   15193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15194 fi
   15195 if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
   15196   as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
   15197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15198 fi
   15199 if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
   15200   as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
   15201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15202 fi
   15203 if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
   15204   as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
   15205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15206 fi
   15207 if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
   15208   as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
   15209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15210 fi
   15211 if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
   15212   as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
   15213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15214 fi
   15215 if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
   15216   as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
   15217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15218 fi
   15219 if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
   15220   as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
   15221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15222 fi
   15223 if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
   15224   as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
   15225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15226 fi
   15227 if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
   15228   as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
   15229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15230 fi
   15231 if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
   15232   as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
   15233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15234 fi
   15235 if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
   15236   as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
   15237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15238 fi
   15239 if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
   15240   as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
   15241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15242 fi
   15243 if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
   15244   as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
   15245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15246 fi
   15247 if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
   15248   as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
   15249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15250 fi
   15251 if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
   15252   as_fn_error $? "conditional \"BUILD_XV\" was never defined.
   15253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15254 fi
   15255 if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
   15256   as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
   15257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15258 fi
   15259 
   15260 : "${CONFIG_STATUS=./config.status}"
   15261 ac_write_fail=0
   15262 ac_clean_files_save=$ac_clean_files
   15263 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15265 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15266 as_write_fail=0
   15267 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15268 #! $SHELL
   15269 # Generated by $as_me.
   15270 # Run this file to recreate the current configuration.
   15271 # Compiler output produced by configure, useful for debugging
   15272 # configure, is in config.log if it exists.
   15273 
   15274 debug=false
   15275 ac_cs_recheck=false
   15276 ac_cs_silent=false
   15277 
   15278 SHELL=\${CONFIG_SHELL-$SHELL}
   15279 export SHELL
   15280 _ASEOF
   15281 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15282 ## -------------------- ##
   15283 ## M4sh Initialization. ##
   15284 ## -------------------- ##
   15285 
   15286 # Be more Bourne compatible
   15287 DUALCASE=1; export DUALCASE # for MKS sh
   15288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15289   emulate sh
   15290   NULLCMD=:
   15291   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15292   # is contrary to our usage.  Disable this feature.
   15293   alias -g '${1+"$@"}'='"$@"'
   15294   setopt NO_GLOB_SUBST
   15295 else
   15296   case `(set -o) 2>/dev/null` in #(
   15297   *posix*) :
   15298     set -o posix ;; #(
   15299   *) :
   15300      ;;
   15301 esac
   15302 fi
   15303 
   15304 
   15305 as_nl='
   15306 '
   15307 export as_nl
   15308 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15309 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15310 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15311 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15312 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15313 # but without wasting forks for bash or zsh.
   15314 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15315     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15316   as_echo='print -r --'
   15317   as_echo_n='print -rn --'
   15318 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15319   as_echo='printf %s\n'
   15320   as_echo_n='printf %s'
   15321 else
   15322   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15323     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15324     as_echo_n='/usr/ucb/echo -n'
   15325   else
   15326     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15327     as_echo_n_body='eval
   15328       arg=$1;
   15329       case $arg in #(
   15330       *"$as_nl"*)
   15331 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15332 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15333       esac;
   15334       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15335     '
   15336     export as_echo_n_body
   15337     as_echo_n='sh -c $as_echo_n_body as_echo'
   15338   fi
   15339   export as_echo_body
   15340   as_echo='sh -c $as_echo_body as_echo'
   15341 fi
   15342 
   15343 # The user is always right.
   15344 if test "${PATH_SEPARATOR+set}" != set; then
   15345   PATH_SEPARATOR=:
   15346   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15347     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15348       PATH_SEPARATOR=';'
   15349   }
   15350 fi
   15351 
   15352 
   15353 # IFS
   15354 # We need space, tab and new line, in precisely that order.  Quoting is
   15355 # there to prevent editors from complaining about space-tab.
   15356 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15357 # splitting by setting IFS to empty value.)
   15358 IFS=" ""	$as_nl"
   15359 
   15360 # Find who we are.  Look in the path if we contain no directory separator.
   15361 as_myself=
   15362 case $0 in #((
   15363   *[\\/]* ) as_myself=$0 ;;
   15364   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15365 for as_dir in $PATH
   15366 do
   15367   IFS=$as_save_IFS
   15368   test -z "$as_dir" && as_dir=.
   15369     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15370   done
   15371 IFS=$as_save_IFS
   15372 
   15373      ;;
   15374 esac
   15375 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15376 # in which case we are not to be found in the path.
   15377 if test "x$as_myself" = x; then
   15378   as_myself=$0
   15379 fi
   15380 if test ! -f "$as_myself"; then
   15381   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15382   exit 1
   15383 fi
   15384 
   15385 # Unset variables that we do not need and which cause bugs (e.g. in
   15386 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15387 # suppresses any "Segmentation fault" message there.  '((' could
   15388 # trigger a bug in pdksh 5.2.14.
   15389 for as_var in BASH_ENV ENV MAIL MAILPATH
   15390 do eval test x\${$as_var+set} = xset \
   15391   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15392 done
   15393 PS1='$ '
   15394 PS2='> '
   15395 PS4='+ '
   15396 
   15397 # NLS nuisances.
   15398 LC_ALL=C
   15399 export LC_ALL
   15400 LANGUAGE=C
   15401 export LANGUAGE
   15402 
   15403 # CDPATH.
   15404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15405 
   15406 
   15407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15408 # ----------------------------------------
   15409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15411 # script with STATUS, using 1 if that was 0.
   15412 as_fn_error ()
   15413 {
   15414   as_status=$1; test $as_status -eq 0 && as_status=1
   15415   if test "$4"; then
   15416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15418   fi
   15419   $as_echo "$as_me: error: $2" >&2
   15420   as_fn_exit $as_status
   15421 } # as_fn_error
   15422 
   15423 
   15424 # as_fn_set_status STATUS
   15425 # -----------------------
   15426 # Set $? to STATUS, without forking.
   15427 as_fn_set_status ()
   15428 {
   15429   return $1
   15430 } # as_fn_set_status
   15431 
   15432 # as_fn_exit STATUS
   15433 # -----------------
   15434 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15435 as_fn_exit ()
   15436 {
   15437   set +e
   15438   as_fn_set_status $1
   15439   exit $1
   15440 } # as_fn_exit
   15441 
   15442 # as_fn_unset VAR
   15443 # ---------------
   15444 # Portably unset VAR.
   15445 as_fn_unset ()
   15446 {
   15447   { eval $1=; unset $1;}
   15448 }
   15449 as_unset=as_fn_unset
   15450 # as_fn_append VAR VALUE
   15451 # ----------------------
   15452 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15453 # advantage of any shell optimizations that allow amortized linear growth over
   15454 # repeated appends, instead of the typical quadratic growth present in naive
   15455 # implementations.
   15456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15457   eval 'as_fn_append ()
   15458   {
   15459     eval $1+=\$2
   15460   }'
   15461 else
   15462   as_fn_append ()
   15463   {
   15464     eval $1=\$$1\$2
   15465   }
   15466 fi # as_fn_append
   15467 
   15468 # as_fn_arith ARG...
   15469 # ------------------
   15470 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15471 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15472 # must be portable across $(()) and expr.
   15473 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15474   eval 'as_fn_arith ()
   15475   {
   15476     as_val=$(( $* ))
   15477   }'
   15478 else
   15479   as_fn_arith ()
   15480   {
   15481     as_val=`expr "$@" || test $? -eq 1`
   15482   }
   15483 fi # as_fn_arith
   15484 
   15485 
   15486 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15487    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15488   as_expr=expr
   15489 else
   15490   as_expr=false
   15491 fi
   15492 
   15493 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15494   as_basename=basename
   15495 else
   15496   as_basename=false
   15497 fi
   15498 
   15499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15500   as_dirname=dirname
   15501 else
   15502   as_dirname=false
   15503 fi
   15504 
   15505 as_me=`$as_basename -- "$0" ||
   15506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15507 	 X"$0" : 'X\(//\)$' \| \
   15508 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15509 $as_echo X/"$0" |
   15510     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15511 	    s//\1/
   15512 	    q
   15513 	  }
   15514 	  /^X\/\(\/\/\)$/{
   15515 	    s//\1/
   15516 	    q
   15517 	  }
   15518 	  /^X\/\(\/\).*/{
   15519 	    s//\1/
   15520 	    q
   15521 	  }
   15522 	  s/.*/./; q'`
   15523 
   15524 # Avoid depending upon Character Ranges.
   15525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15528 as_cr_digits='0123456789'
   15529 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15530 
   15531 ECHO_C= ECHO_N= ECHO_T=
   15532 case `echo -n x` in #(((((
   15533 -n*)
   15534   case `echo 'xy\c'` in
   15535   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15536   xy)  ECHO_C='\c';;
   15537   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15538        ECHO_T='	';;
   15539   esac;;
   15540 *)
   15541   ECHO_N='-n';;
   15542 esac
   15543 
   15544 rm -f conf$$ conf$$.exe conf$$.file
   15545 if test -d conf$$.dir; then
   15546   rm -f conf$$.dir/conf$$.file
   15547 else
   15548   rm -f conf$$.dir
   15549   mkdir conf$$.dir 2>/dev/null
   15550 fi
   15551 if (echo >conf$$.file) 2>/dev/null; then
   15552   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15553     as_ln_s='ln -s'
   15554     # ... but there are two gotchas:
   15555     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15556     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15557     # In both cases, we have to default to `cp -pR'.
   15558     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15559       as_ln_s='cp -pR'
   15560   elif ln conf$$.file conf$$ 2>/dev/null; then
   15561     as_ln_s=ln
   15562   else
   15563     as_ln_s='cp -pR'
   15564   fi
   15565 else
   15566   as_ln_s='cp -pR'
   15567 fi
   15568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15569 rmdir conf$$.dir 2>/dev/null
   15570 
   15571 
   15572 # as_fn_mkdir_p
   15573 # -------------
   15574 # Create "$as_dir" as a directory, including parents if necessary.
   15575 as_fn_mkdir_p ()
   15576 {
   15577 
   15578   case $as_dir in #(
   15579   -*) as_dir=./$as_dir;;
   15580   esac
   15581   test -d "$as_dir" || eval $as_mkdir_p || {
   15582     as_dirs=
   15583     while :; do
   15584       case $as_dir in #(
   15585       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15586       *) as_qdir=$as_dir;;
   15587       esac
   15588       as_dirs="'$as_qdir' $as_dirs"
   15589       as_dir=`$as_dirname -- "$as_dir" ||
   15590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15591 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15592 	 X"$as_dir" : 'X\(//\)$' \| \
   15593 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   15594 $as_echo X"$as_dir" |
   15595     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15596 	    s//\1/
   15597 	    q
   15598 	  }
   15599 	  /^X\(\/\/\)[^/].*/{
   15600 	    s//\1/
   15601 	    q
   15602 	  }
   15603 	  /^X\(\/\/\)$/{
   15604 	    s//\1/
   15605 	    q
   15606 	  }
   15607 	  /^X\(\/\).*/{
   15608 	    s//\1/
   15609 	    q
   15610 	  }
   15611 	  s/.*/./; q'`
   15612       test -d "$as_dir" && break
   15613     done
   15614     test -z "$as_dirs" || eval "mkdir $as_dirs"
   15615   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   15616 
   15617 
   15618 } # as_fn_mkdir_p
   15619 if mkdir -p . 2>/dev/null; then
   15620   as_mkdir_p='mkdir -p "$as_dir"'
   15621 else
   15622   test -d ./-p && rmdir ./-p
   15623   as_mkdir_p=false
   15624 fi
   15625 
   15626 
   15627 # as_fn_executable_p FILE
   15628 # -----------------------
   15629 # Test if FILE is an executable regular file.
   15630 as_fn_executable_p ()
   15631 {
   15632   test -f "$1" && test -x "$1"
   15633 } # as_fn_executable_p
   15634 as_test_x='test -x'
   15635 as_executable_p=as_fn_executable_p
   15636 
   15637 # Sed expression to map a string onto a valid CPP name.
   15638 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15639 
   15640 # Sed expression to map a string onto a valid variable name.
   15641 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15642 
   15643 
   15644 exec 6>&1
   15645 ## ----------------------------------- ##
   15646 ## Main body of $CONFIG_STATUS script. ##
   15647 ## ----------------------------------- ##
   15648 _ASEOF
   15649 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   15650 
   15651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15652 # Save the log message, to keep $0 and so on meaningful, and to
   15653 # report actual input values of CONFIG_FILES etc. instead of their
   15654 # values after options handling.
   15655 ac_log="
   15656 This file was extended by libxcb $as_me 1.10, which was
   15657 generated by GNU Autoconf 2.69.  Invocation command line was
   15658 
   15659   CONFIG_FILES    = $CONFIG_FILES
   15660   CONFIG_HEADERS  = $CONFIG_HEADERS
   15661   CONFIG_LINKS    = $CONFIG_LINKS
   15662   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15663   $ $0 $@
   15664 
   15665 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15666 "
   15667 
   15668 _ACEOF
   15669 
   15670 case $ac_config_files in *"
   15671 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15672 esac
   15673 
   15674 case $ac_config_headers in *"
   15675 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15676 esac
   15677 
   15678 
   15679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15680 # Files that config.status was made for.
   15681 config_files="$ac_config_files"
   15682 config_headers="$ac_config_headers"
   15683 config_commands="$ac_config_commands"
   15684 
   15685 _ACEOF
   15686 
   15687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15688 ac_cs_usage="\
   15689 \`$as_me' instantiates files and other configuration actions
   15690 from templates according to the current configuration.  Unless the files
   15691 and actions are specified as TAGs, all are instantiated by default.
   15692 
   15693 Usage: $0 [OPTION]... [TAG]...
   15694 
   15695   -h, --help       print this help, then exit
   15696   -V, --version    print version number and configuration settings, then exit
   15697       --config     print configuration, then exit
   15698   -q, --quiet, --silent
   15699                    do not print progress messages
   15700   -d, --debug      don't remove temporary files
   15701       --recheck    update $as_me by reconfiguring in the same conditions
   15702       --file=FILE[:TEMPLATE]
   15703                    instantiate the configuration file FILE
   15704       --header=FILE[:TEMPLATE]
   15705                    instantiate the configuration header FILE
   15706 
   15707 Configuration files:
   15708 $config_files
   15709 
   15710 Configuration headers:
   15711 $config_headers
   15712 
   15713 Configuration commands:
   15714 $config_commands
   15715 
   15716 Report bugs to <xcb@lists.freedesktop.org>."
   15717 
   15718 _ACEOF
   15719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15720 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15721 ac_cs_version="\\
   15722 libxcb config.status 1.10
   15723 configured by $0, generated by GNU Autoconf 2.69,
   15724   with options \\"\$ac_cs_config\\"
   15725 
   15726 Copyright (C) 2012 Free Software Foundation, Inc.
   15727 This config.status script is free software; the Free Software Foundation
   15728 gives unlimited permission to copy, distribute and modify it."
   15729 
   15730 ac_pwd='$ac_pwd'
   15731 srcdir='$srcdir'
   15732 INSTALL='$INSTALL'
   15733 MKDIR_P='$MKDIR_P'
   15734 AWK='$AWK'
   15735 test -n "\$AWK" || AWK=awk
   15736 _ACEOF
   15737 
   15738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15739 # The default lists apply if the user does not specify any file.
   15740 ac_need_defaults=:
   15741 while test $# != 0
   15742 do
   15743   case $1 in
   15744   --*=?*)
   15745     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15746     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15747     ac_shift=:
   15748     ;;
   15749   --*=)
   15750     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15751     ac_optarg=
   15752     ac_shift=:
   15753     ;;
   15754   *)
   15755     ac_option=$1
   15756     ac_optarg=$2
   15757     ac_shift=shift
   15758     ;;
   15759   esac
   15760 
   15761   case $ac_option in
   15762   # Handling of the options.
   15763   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15764     ac_cs_recheck=: ;;
   15765   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15766     $as_echo "$ac_cs_version"; exit ;;
   15767   --config | --confi | --conf | --con | --co | --c )
   15768     $as_echo "$ac_cs_config"; exit ;;
   15769   --debug | --debu | --deb | --de | --d | -d )
   15770     debug=: ;;
   15771   --file | --fil | --fi | --f )
   15772     $ac_shift
   15773     case $ac_optarg in
   15774     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15775     '') as_fn_error $? "missing file argument" ;;
   15776     esac
   15777     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15778     ac_need_defaults=false;;
   15779   --header | --heade | --head | --hea )
   15780     $ac_shift
   15781     case $ac_optarg in
   15782     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15783     esac
   15784     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15785     ac_need_defaults=false;;
   15786   --he | --h)
   15787     # Conflict between --help and --header
   15788     as_fn_error $? "ambiguous option: \`$1'
   15789 Try \`$0 --help' for more information.";;
   15790   --help | --hel | -h )
   15791     $as_echo "$ac_cs_usage"; exit ;;
   15792   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15793   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15794     ac_cs_silent=: ;;
   15795 
   15796   # This is an error.
   15797   -*) as_fn_error $? "unrecognized option: \`$1'
   15798 Try \`$0 --help' for more information." ;;
   15799 
   15800   *) as_fn_append ac_config_targets " $1"
   15801      ac_need_defaults=false ;;
   15802 
   15803   esac
   15804   shift
   15805 done
   15806 
   15807 ac_configure_extra_args=
   15808 
   15809 if $ac_cs_silent; then
   15810   exec 6>/dev/null
   15811   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15812 fi
   15813 
   15814 _ACEOF
   15815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15816 if \$ac_cs_recheck; then
   15817   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15818   shift
   15819   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15820   CONFIG_SHELL='$SHELL'
   15821   export CONFIG_SHELL
   15822   exec "\$@"
   15823 fi
   15824 
   15825 _ACEOF
   15826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15827 exec 5>>config.log
   15828 {
   15829   echo
   15830   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15831 ## Running $as_me. ##
   15832 _ASBOX
   15833   $as_echo "$ac_log"
   15834 } >&5
   15835 
   15836 _ACEOF
   15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15838 #
   15839 # INIT-COMMANDS
   15840 #
   15841 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15842 
   15843 
   15844 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15845 # if CDPATH is set.
   15846 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15847 
   15848 sed_quote_subst='$sed_quote_subst'
   15849 double_quote_subst='$double_quote_subst'
   15850 delay_variable_subst='$delay_variable_subst'
   15851 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   15852 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   15853 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15854 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15855 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15856 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15857 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15858 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15859 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15860 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15861 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15862 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   15863 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15864 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15865 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15866 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15867 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15868 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15869 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15870 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15871 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15872 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15873 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15874 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15875 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15876 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15877 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15878 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15879 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15880 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15881 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15882 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15883 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   15884 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   15885 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15886 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15887 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15888 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15889 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   15890 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   15891 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   15892 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15893 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15894 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   15895 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15896 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15897 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15898 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15899 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15900 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15901 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15902 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15903 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15904 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15905 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15906 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15907 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15908 lt_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"`'
   15909 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   15910 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   15911 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15912 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15913 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15914 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15915 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15916 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15917 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15918 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15919 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   15920 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15921 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15922 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15923 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15924 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15925 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15926 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15927 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15928 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15929 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15930 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15931 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15932 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15933 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15934 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15935 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15936 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15937 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15938 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15939 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15940 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15941 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15942 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15943 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15944 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15945 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15946 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15947 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15948 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15949 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15950 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15951 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15952 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15953 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15954 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15955 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15956 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   15957 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15958 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15959 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15960 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15961 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15962 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15963 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15964 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15965 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15966 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15967 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15968 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15969 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15970 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15971 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15972 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15973 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15974 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15975 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15976 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15977 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15978 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15979 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15980 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15981 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15982 
   15983 LTCC='$LTCC'
   15984 LTCFLAGS='$LTCFLAGS'
   15985 compiler='$compiler_DEFAULT'
   15986 
   15987 # A function that is used when there is no print builtin or printf.
   15988 func_fallback_echo ()
   15989 {
   15990   eval 'cat <<_LTECHO_EOF
   15991 \$1
   15992 _LTECHO_EOF'
   15993 }
   15994 
   15995 # Quote evaled strings.
   15996 for var in AS \
   15997 DLLTOOL \
   15998 OBJDUMP \
   15999 SHELL \
   16000 ECHO \
   16001 PATH_SEPARATOR \
   16002 SED \
   16003 GREP \
   16004 EGREP \
   16005 FGREP \
   16006 LD \
   16007 NM \
   16008 LN_S \
   16009 lt_SP2NL \
   16010 lt_NL2SP \
   16011 reload_flag \
   16012 deplibs_check_method \
   16013 file_magic_cmd \
   16014 file_magic_glob \
   16015 want_nocaseglob \
   16016 sharedlib_from_linklib_cmd \
   16017 AR \
   16018 AR_FLAGS \
   16019 archiver_list_spec \
   16020 STRIP \
   16021 RANLIB \
   16022 CC \
   16023 CFLAGS \
   16024 compiler \
   16025 lt_cv_sys_global_symbol_pipe \
   16026 lt_cv_sys_global_symbol_to_cdecl \
   16027 lt_cv_sys_global_symbol_to_c_name_address \
   16028 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16029 nm_file_list_spec \
   16030 lt_prog_compiler_no_builtin_flag \
   16031 lt_prog_compiler_pic \
   16032 lt_prog_compiler_wl \
   16033 lt_prog_compiler_static \
   16034 lt_cv_prog_compiler_c_o \
   16035 need_locks \
   16036 MANIFEST_TOOL \
   16037 DSYMUTIL \
   16038 NMEDIT \
   16039 LIPO \
   16040 OTOOL \
   16041 OTOOL64 \
   16042 shrext_cmds \
   16043 export_dynamic_flag_spec \
   16044 whole_archive_flag_spec \
   16045 compiler_needs_object \
   16046 with_gnu_ld \
   16047 allow_undefined_flag \
   16048 no_undefined_flag \
   16049 hardcode_libdir_flag_spec \
   16050 hardcode_libdir_separator \
   16051 exclude_expsyms \
   16052 include_expsyms \
   16053 file_list_spec \
   16054 variables_saved_for_relink \
   16055 libname_spec \
   16056 library_names_spec \
   16057 soname_spec \
   16058 install_override_mode \
   16059 finish_eval \
   16060 old_striplib \
   16061 striplib; do
   16062     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16063     *[\\\\\\\`\\"\\\$]*)
   16064       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16065       ;;
   16066     *)
   16067       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16068       ;;
   16069     esac
   16070 done
   16071 
   16072 # Double-quote double-evaled strings.
   16073 for var in reload_cmds \
   16074 old_postinstall_cmds \
   16075 old_postuninstall_cmds \
   16076 old_archive_cmds \
   16077 extract_expsyms_cmds \
   16078 old_archive_from_new_cmds \
   16079 old_archive_from_expsyms_cmds \
   16080 archive_cmds \
   16081 archive_expsym_cmds \
   16082 module_cmds \
   16083 module_expsym_cmds \
   16084 export_symbols_cmds \
   16085 prelink_cmds \
   16086 postlink_cmds \
   16087 postinstall_cmds \
   16088 postuninstall_cmds \
   16089 finish_cmds \
   16090 sys_lib_search_path_spec \
   16091 sys_lib_dlsearch_path_spec; do
   16092     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16093     *[\\\\\\\`\\"\\\$]*)
   16094       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16095       ;;
   16096     *)
   16097       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16098       ;;
   16099     esac
   16100 done
   16101 
   16102 ac_aux_dir='$ac_aux_dir'
   16103 xsi_shell='$xsi_shell'
   16104 lt_shell_append='$lt_shell_append'
   16105 
   16106 # See if we are running on zsh, and set the options which allow our
   16107 # commands through without removal of \ escapes INIT.
   16108 if test -n "\${ZSH_VERSION+set}" ; then
   16109    setopt NO_GLOB_SUBST
   16110 fi
   16111 
   16112 
   16113     PACKAGE='$PACKAGE'
   16114     VERSION='$VERSION'
   16115     TIMESTAMP='$TIMESTAMP'
   16116     RM='$RM'
   16117     ofile='$ofile'
   16118 
   16119 
   16120 
   16121 
   16122 _ACEOF
   16123 
   16124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16125 
   16126 # Handling of arguments.
   16127 for ac_config_target in $ac_config_targets
   16128 do
   16129   case $ac_config_target in
   16130     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16131     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   16132     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16133     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16134     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   16135     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   16136     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   16137     "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
   16138     "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
   16139     "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
   16140     "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
   16141     "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
   16142     "xcb-dri3.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri3.pc" ;;
   16143     "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
   16144     "xcb-present.pc") CONFIG_FILES="$CONFIG_FILES xcb-present.pc" ;;
   16145     "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
   16146     "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
   16147     "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
   16148     "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
   16149     "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
   16150     "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
   16151     "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
   16152     "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
   16153     "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
   16154     "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
   16155     "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
   16156     "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
   16157     "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
   16158     "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
   16159     "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
   16160     "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
   16161     "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
   16162     "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
   16163     "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
   16164     "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
   16165 
   16166   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16167   esac
   16168 done
   16169 
   16170 
   16171 # If the user did not use the arguments to specify the items to instantiate,
   16172 # then the envvar interface is used.  Set only those that are not.
   16173 # We use the long form for the default assignment because of an extremely
   16174 # bizarre bug on SunOS 4.1.3.
   16175 if $ac_need_defaults; then
   16176   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16177   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16178   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16179 fi
   16180 
   16181 # Have a temporary directory for convenience.  Make it in the build tree
   16182 # simply because there is no reason against having it here, and in addition,
   16183 # creating and moving files from /tmp can sometimes cause problems.
   16184 # Hook for its removal unless debugging.
   16185 # Note that there is a small window in which the directory will not be cleaned:
   16186 # after its creation but before its name has been assigned to `$tmp'.
   16187 $debug ||
   16188 {
   16189   tmp= ac_tmp=
   16190   trap 'exit_status=$?
   16191   : "${ac_tmp:=$tmp}"
   16192   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16193 ' 0
   16194   trap 'as_fn_exit 1' 1 2 13 15
   16195 }
   16196 # Create a (secure) tmp directory for tmp files.
   16197 
   16198 {
   16199   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16200   test -d "$tmp"
   16201 }  ||
   16202 {
   16203   tmp=./conf$$-$RANDOM
   16204   (umask 077 && mkdir "$tmp")
   16205 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16206 ac_tmp=$tmp
   16207 
   16208 # Set up the scripts for CONFIG_FILES section.
   16209 # No need to generate them if there are no CONFIG_FILES.
   16210 # This happens for instance with `./config.status config.h'.
   16211 if test -n "$CONFIG_FILES"; then
   16212 
   16213 
   16214 ac_cr=`echo X | tr X '\015'`
   16215 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16216 # But we know of no other shell where ac_cr would be empty at this
   16217 # point, so we can use a bashism as a fallback.
   16218 if test "x$ac_cr" = x; then
   16219   eval ac_cr=\$\'\\r\'
   16220 fi
   16221 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16222 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16223   ac_cs_awk_cr='\\r'
   16224 else
   16225   ac_cs_awk_cr=$ac_cr
   16226 fi
   16227 
   16228 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16229 _ACEOF
   16230 
   16231 
   16232 {
   16233   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16234   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16235   echo "_ACEOF"
   16236 } >conf$$subs.sh ||
   16237   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16238 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16239 ac_delim='%!_!# '
   16240 for ac_last_try in false false false false false :; do
   16241   . ./conf$$subs.sh ||
   16242     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16243 
   16244   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16245   if test $ac_delim_n = $ac_delim_num; then
   16246     break
   16247   elif $ac_last_try; then
   16248     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16249   else
   16250     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16251   fi
   16252 done
   16253 rm -f conf$$subs.sh
   16254 
   16255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16256 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16257 _ACEOF
   16258 sed -n '
   16259 h
   16260 s/^/S["/; s/!.*/"]=/
   16261 p
   16262 g
   16263 s/^[^!]*!//
   16264 :repl
   16265 t repl
   16266 s/'"$ac_delim"'$//
   16267 t delim
   16268 :nl
   16269 h
   16270 s/\(.\{148\}\)..*/\1/
   16271 t more1
   16272 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16273 p
   16274 n
   16275 b repl
   16276 :more1
   16277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16278 p
   16279 g
   16280 s/.\{148\}//
   16281 t nl
   16282 :delim
   16283 h
   16284 s/\(.\{148\}\)..*/\1/
   16285 t more2
   16286 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16287 p
   16288 b
   16289 :more2
   16290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16291 p
   16292 g
   16293 s/.\{148\}//
   16294 t delim
   16295 ' <conf$$subs.awk | sed '
   16296 /^[^""]/{
   16297   N
   16298   s/\n//
   16299 }
   16300 ' >>$CONFIG_STATUS || ac_write_fail=1
   16301 rm -f conf$$subs.awk
   16302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16303 _ACAWK
   16304 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16305   for (key in S) S_is_set[key] = 1
   16306   FS = ""
   16307 
   16308 }
   16309 {
   16310   line = $ 0
   16311   nfields = split(line, field, "@")
   16312   substed = 0
   16313   len = length(field[1])
   16314   for (i = 2; i < nfields; i++) {
   16315     key = field[i]
   16316     keylen = length(key)
   16317     if (S_is_set[key]) {
   16318       value = S[key]
   16319       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16320       len += length(value) + length(field[++i])
   16321       substed = 1
   16322     } else
   16323       len += 1 + keylen
   16324   }
   16325 
   16326   print line
   16327 }
   16328 
   16329 _ACAWK
   16330 _ACEOF
   16331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16332 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16333   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16334 else
   16335   cat
   16336 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   16337   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   16338 _ACEOF
   16339 
   16340 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   16341 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   16342 # trailing colons and then remove the whole line if VPATH becomes empty
   16343 # (actually we leave an empty line to preserve line numbers).
   16344 if test "x$srcdir" = x.; then
   16345   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   16346 h
   16347 s///
   16348 s/^/:/
   16349 s/[	 ]*$/:/
   16350 s/:\$(srcdir):/:/g
   16351 s/:\${srcdir}:/:/g
   16352 s/:@srcdir@:/:/g
   16353 s/^:*//
   16354 s/:*$//
   16355 x
   16356 s/\(=[	 ]*\).*/\1/
   16357 G
   16358 s/\n//
   16359 s/^[^=]*=[	 ]*$//
   16360 }'
   16361 fi
   16362 
   16363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16364 fi # test -n "$CONFIG_FILES"
   16365 
   16366 # Set up the scripts for CONFIG_HEADERS section.
   16367 # No need to generate them if there are no CONFIG_HEADERS.
   16368 # This happens for instance with `./config.status Makefile'.
   16369 if test -n "$CONFIG_HEADERS"; then
   16370 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   16371 BEGIN {
   16372 _ACEOF
   16373 
   16374 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16375 # here-document in config.status, that substitutes the proper values into
   16376 # config.h.in to produce config.h.
   16377 
   16378 # Create a delimiter string that does not exist in confdefs.h, to ease
   16379 # handling of long lines.
   16380 ac_delim='%!_!# '
   16381 for ac_last_try in false false :; do
   16382   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   16383   if test -z "$ac_tt"; then
   16384     break
   16385   elif $ac_last_try; then
   16386     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   16387   else
   16388     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16389   fi
   16390 done
   16391 
   16392 # For the awk script, D is an array of macro values keyed by name,
   16393 # likewise P contains macro parameters if any.  Preserve backslash
   16394 # newline sequences.
   16395 
   16396 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16397 sed -n '
   16398 s/.\{148\}/&'"$ac_delim"'/g
   16399 t rset
   16400 :rset
   16401 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16402 t def
   16403 d
   16404 :def
   16405 s/\\$//
   16406 t bsnl
   16407 s/["\\]/\\&/g
   16408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16409 D["\1"]=" \3"/p
   16410 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16411 d
   16412 :bsnl
   16413 s/["\\]/\\&/g
   16414 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16415 D["\1"]=" \3\\\\\\n"\\/p
   16416 t cont
   16417 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16418 t cont
   16419 d
   16420 :cont
   16421 n
   16422 s/.\{148\}/&'"$ac_delim"'/g
   16423 t clear
   16424 :clear
   16425 s/\\$//
   16426 t bsnlc
   16427 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16428 d
   16429 :bsnlc
   16430 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16431 b cont
   16432 ' <confdefs.h | sed '
   16433 s/'"$ac_delim"'/"\\\
   16434 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16435 
   16436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16437   for (key in D) D_is_set[key] = 1
   16438   FS = ""
   16439 }
   16440 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16441   line = \$ 0
   16442   split(line, arg, " ")
   16443   if (arg[1] == "#") {
   16444     defundef = arg[2]
   16445     mac1 = arg[3]
   16446   } else {
   16447     defundef = substr(arg[1], 2)
   16448     mac1 = arg[2]
   16449   }
   16450   split(mac1, mac2, "(") #)
   16451   macro = mac2[1]
   16452   prefix = substr(line, 1, index(line, defundef) - 1)
   16453   if (D_is_set[macro]) {
   16454     # Preserve the white space surrounding the "#".
   16455     print prefix "define", macro P[macro] D[macro]
   16456     next
   16457   } else {
   16458     # Replace #undef with comments.  This is necessary, for example,
   16459     # in the case of _POSIX_SOURCE, which is predefined and required
   16460     # on some systems where configure will not decide to define it.
   16461     if (defundef == "undef") {
   16462       print "/*", prefix defundef, macro, "*/"
   16463       next
   16464     }
   16465   }
   16466 }
   16467 { print }
   16468 _ACAWK
   16469 _ACEOF
   16470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16471   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   16472 fi # test -n "$CONFIG_HEADERS"
   16473 
   16474 
   16475 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16476 shift
   16477 for ac_tag
   16478 do
   16479   case $ac_tag in
   16480   :[FHLC]) ac_mode=$ac_tag; continue;;
   16481   esac
   16482   case $ac_mode$ac_tag in
   16483   :[FHL]*:*);;
   16484   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   16485   :[FH]-) ac_tag=-:-;;
   16486   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16487   esac
   16488   ac_save_IFS=$IFS
   16489   IFS=:
   16490   set x $ac_tag
   16491   IFS=$ac_save_IFS
   16492   shift
   16493   ac_file=$1
   16494   shift
   16495 
   16496   case $ac_mode in
   16497   :L) ac_source=$1;;
   16498   :[FH])
   16499     ac_file_inputs=
   16500     for ac_f
   16501     do
   16502       case $ac_f in
   16503       -) ac_f="$ac_tmp/stdin";;
   16504       *) # Look for the file first in the build tree, then in the source tree
   16505 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16506 	 # because $ac_f cannot contain `:'.
   16507 	 test -f "$ac_f" ||
   16508 	   case $ac_f in
   16509 	   [\\/$]*) false;;
   16510 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16511 	   esac ||
   16512 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   16513       esac
   16514       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   16515       as_fn_append ac_file_inputs " '$ac_f'"
   16516     done
   16517 
   16518     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16519     # use $as_me), people would be surprised to read:
   16520     #    /* config.h.  Generated by config.status.  */
   16521     configure_input='Generated from '`
   16522 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   16523 	`' by configure.'
   16524     if test x"$ac_file" != x-; then
   16525       configure_input="$ac_file.  $configure_input"
   16526       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   16527 $as_echo "$as_me: creating $ac_file" >&6;}
   16528     fi
   16529     # Neutralize special characters interpreted by sed in replacement strings.
   16530     case $configure_input in #(
   16531     *\&* | *\|* | *\\* )
   16532        ac_sed_conf_input=`$as_echo "$configure_input" |
   16533        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   16534     *) ac_sed_conf_input=$configure_input;;
   16535     esac
   16536 
   16537     case $ac_tag in
   16538     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   16539       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   16540     esac
   16541     ;;
   16542   esac
   16543 
   16544   ac_dir=`$as_dirname -- "$ac_file" ||
   16545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16546 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16547 	 X"$ac_file" : 'X\(//\)$' \| \
   16548 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16549 $as_echo X"$ac_file" |
   16550     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16551 	    s//\1/
   16552 	    q
   16553 	  }
   16554 	  /^X\(\/\/\)[^/].*/{
   16555 	    s//\1/
   16556 	    q
   16557 	  }
   16558 	  /^X\(\/\/\)$/{
   16559 	    s//\1/
   16560 	    q
   16561 	  }
   16562 	  /^X\(\/\).*/{
   16563 	    s//\1/
   16564 	    q
   16565 	  }
   16566 	  s/.*/./; q'`
   16567   as_dir="$ac_dir"; as_fn_mkdir_p
   16568   ac_builddir=.
   16569 
   16570 case "$ac_dir" in
   16571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16572 *)
   16573   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16574   # A ".." for each directory in $ac_dir_suffix.
   16575   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16576   case $ac_top_builddir_sub in
   16577   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16578   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16579   esac ;;
   16580 esac
   16581 ac_abs_top_builddir=$ac_pwd
   16582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16583 # for backward compatibility:
   16584 ac_top_builddir=$ac_top_build_prefix
   16585 
   16586 case $srcdir in
   16587   .)  # We are building in place.
   16588     ac_srcdir=.
   16589     ac_top_srcdir=$ac_top_builddir_sub
   16590     ac_abs_top_srcdir=$ac_pwd ;;
   16591   [\\/]* | ?:[\\/]* )  # Absolute name.
   16592     ac_srcdir=$srcdir$ac_dir_suffix;
   16593     ac_top_srcdir=$srcdir
   16594     ac_abs_top_srcdir=$srcdir ;;
   16595   *) # Relative name.
   16596     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16597     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16598     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16599 esac
   16600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16601 
   16602 
   16603   case $ac_mode in
   16604   :F)
   16605   #
   16606   # CONFIG_FILE
   16607   #
   16608 
   16609   case $INSTALL in
   16610   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16611   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16612   esac
   16613   ac_MKDIR_P=$MKDIR_P
   16614   case $MKDIR_P in
   16615   [\\/$]* | ?:[\\/]* ) ;;
   16616   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16617   esac
   16618 _ACEOF
   16619 
   16620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16621 # If the template does not know about datarootdir, expand it.
   16622 # FIXME: This hack should be removed a few years after 2.60.
   16623 ac_datarootdir_hack=; ac_datarootdir_seen=
   16624 ac_sed_dataroot='
   16625 /datarootdir/ {
   16626   p
   16627   q
   16628 }
   16629 /@datadir@/p
   16630 /@docdir@/p
   16631 /@infodir@/p
   16632 /@localedir@/p
   16633 /@mandir@/p'
   16634 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16635 *datarootdir*) ac_datarootdir_seen=yes;;
   16636 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16637   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16638 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16639 _ACEOF
   16640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16641   ac_datarootdir_hack='
   16642   s&@datadir@&$datadir&g
   16643   s&@docdir@&$docdir&g
   16644   s&@infodir@&$infodir&g
   16645   s&@localedir@&$localedir&g
   16646   s&@mandir@&$mandir&g
   16647   s&\\\${datarootdir}&$datarootdir&g' ;;
   16648 esac
   16649 _ACEOF
   16650 
   16651 # Neutralize VPATH when `$srcdir' = `.'.
   16652 # Shell code in configure.ac might set extrasub.
   16653 # FIXME: do we really want to maintain this feature?
   16654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16655 ac_sed_extra="$ac_vpsub
   16656 $extrasub
   16657 _ACEOF
   16658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16659 :t
   16660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16661 s|@configure_input@|$ac_sed_conf_input|;t t
   16662 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16663 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16664 s&@srcdir@&$ac_srcdir&;t t
   16665 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16666 s&@top_srcdir@&$ac_top_srcdir&;t t
   16667 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16668 s&@builddir@&$ac_builddir&;t t
   16669 s&@abs_builddir@&$ac_abs_builddir&;t t
   16670 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16671 s&@INSTALL@&$ac_INSTALL&;t t
   16672 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16673 $ac_datarootdir_hack
   16674 "
   16675 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   16676   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16677 
   16678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16679   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   16680   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   16681       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   16682   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16683 which seems to be undefined.  Please make sure it is defined" >&5
   16684 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16685 which seems to be undefined.  Please make sure it is defined" >&2;}
   16686 
   16687   rm -f "$ac_tmp/stdin"
   16688   case $ac_file in
   16689   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   16690   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   16691   esac \
   16692   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16693  ;;
   16694   :H)
   16695   #
   16696   # CONFIG_HEADER
   16697   #
   16698   if test x"$ac_file" != x-; then
   16699     {
   16700       $as_echo "/* $configure_input  */" \
   16701       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   16702     } >"$ac_tmp/config.h" \
   16703       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16704     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   16705       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   16706 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16707     else
   16708       rm -f "$ac_file"
   16709       mv "$ac_tmp/config.h" "$ac_file" \
   16710 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16711     fi
   16712   else
   16713     $as_echo "/* $configure_input  */" \
   16714       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16715       || as_fn_error $? "could not create -" "$LINENO" 5
   16716   fi
   16717 # Compute "$ac_file"'s index in $config_headers.
   16718 _am_arg="$ac_file"
   16719 _am_stamp_count=1
   16720 for _am_header in $config_headers :; do
   16721   case $_am_header in
   16722     $_am_arg | $_am_arg:* )
   16723       break ;;
   16724     * )
   16725       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16726   esac
   16727 done
   16728 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16729 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16730 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16731 	 X"$_am_arg" : 'X\(//\)$' \| \
   16732 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16733 $as_echo X"$_am_arg" |
   16734     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16735 	    s//\1/
   16736 	    q
   16737 	  }
   16738 	  /^X\(\/\/\)[^/].*/{
   16739 	    s//\1/
   16740 	    q
   16741 	  }
   16742 	  /^X\(\/\/\)$/{
   16743 	    s//\1/
   16744 	    q
   16745 	  }
   16746 	  /^X\(\/\).*/{
   16747 	    s//\1/
   16748 	    q
   16749 	  }
   16750 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16751  ;;
   16752 
   16753   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16754 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16755  ;;
   16756   esac
   16757 
   16758 
   16759   case $ac_file$ac_mode in
   16760     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16761   # Older Autoconf quotes --file arguments for eval, but not when files
   16762   # are listed without --file.  Let's play safe and only enable the eval
   16763   # if we detect the quoting.
   16764   case $CONFIG_FILES in
   16765   *\'*) eval set x "$CONFIG_FILES" ;;
   16766   *)   set x $CONFIG_FILES ;;
   16767   esac
   16768   shift
   16769   for mf
   16770   do
   16771     # Strip MF so we end up with the name of the file.
   16772     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16773     # Check whether this is an Automake generated Makefile or not.
   16774     # We used to match only the files named 'Makefile.in', but
   16775     # some people rename them; so instead we look at the file content.
   16776     # Grep'ing the first line is not enough: some people post-process
   16777     # each Makefile.in and add a new line on top of each file to say so.
   16778     # Grep'ing the whole file is not good either: AIX grep has a line
   16779     # limit of 2048, but all sed's we know have understand at least 4000.
   16780     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16781       dirpart=`$as_dirname -- "$mf" ||
   16782 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16783 	 X"$mf" : 'X\(//\)[^/]' \| \
   16784 	 X"$mf" : 'X\(//\)$' \| \
   16785 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16786 $as_echo X"$mf" |
   16787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16788 	    s//\1/
   16789 	    q
   16790 	  }
   16791 	  /^X\(\/\/\)[^/].*/{
   16792 	    s//\1/
   16793 	    q
   16794 	  }
   16795 	  /^X\(\/\/\)$/{
   16796 	    s//\1/
   16797 	    q
   16798 	  }
   16799 	  /^X\(\/\).*/{
   16800 	    s//\1/
   16801 	    q
   16802 	  }
   16803 	  s/.*/./; q'`
   16804     else
   16805       continue
   16806     fi
   16807     # Extract the definition of DEPDIR, am__include, and am__quote
   16808     # from the Makefile without running 'make'.
   16809     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16810     test -z "$DEPDIR" && continue
   16811     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16812     test -z "$am__include" && continue
   16813     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16814     # Find all dependency output files, they are included files with
   16815     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16816     # simplest approach to changing $(DEPDIR) to its actual value in the
   16817     # expansion.
   16818     for file in `sed -n "
   16819       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16820 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   16821       # Make sure the directory exists.
   16822       test -f "$dirpart/$file" && continue
   16823       fdir=`$as_dirname -- "$file" ||
   16824 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16825 	 X"$file" : 'X\(//\)[^/]' \| \
   16826 	 X"$file" : 'X\(//\)$' \| \
   16827 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16828 $as_echo X"$file" |
   16829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16830 	    s//\1/
   16831 	    q
   16832 	  }
   16833 	  /^X\(\/\/\)[^/].*/{
   16834 	    s//\1/
   16835 	    q
   16836 	  }
   16837 	  /^X\(\/\/\)$/{
   16838 	    s//\1/
   16839 	    q
   16840 	  }
   16841 	  /^X\(\/\).*/{
   16842 	    s//\1/
   16843 	    q
   16844 	  }
   16845 	  s/.*/./; q'`
   16846       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   16847       # echo "creating $dirpart/$file"
   16848       echo '# dummy' > "$dirpart/$file"
   16849     done
   16850   done
   16851 }
   16852  ;;
   16853     "libtool":C)
   16854 
   16855     # See if we are running on zsh, and set the options which allow our
   16856     # commands through without removal of \ escapes.
   16857     if test -n "${ZSH_VERSION+set}" ; then
   16858       setopt NO_GLOB_SUBST
   16859     fi
   16860 
   16861     cfgfile="${ofile}T"
   16862     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16863     $RM "$cfgfile"
   16864 
   16865     cat <<_LT_EOF >> "$cfgfile"
   16866 #! $SHELL
   16867 
   16868 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16869 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16870 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16871 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16872 #
   16873 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16874 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   16875 #                 Foundation, Inc.
   16876 #   Written by Gordon Matzigkeit, 1996
   16877 #
   16878 #   This file is part of GNU Libtool.
   16879 #
   16880 # GNU Libtool is free software; you can redistribute it and/or
   16881 # modify it under the terms of the GNU General Public License as
   16882 # published by the Free Software Foundation; either version 2 of
   16883 # the License, or (at your option) any later version.
   16884 #
   16885 # As a special exception to the GNU General Public License,
   16886 # if you distribute this file as part of a program or library that
   16887 # is built using GNU Libtool, you may include this file under the
   16888 # same distribution terms that you use for the rest of that program.
   16889 #
   16890 # GNU Libtool is distributed in the hope that it will be useful,
   16891 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16893 # GNU General Public License for more details.
   16894 #
   16895 # You should have received a copy of the GNU General Public License
   16896 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16897 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16898 # obtained by writing to the Free Software Foundation, Inc.,
   16899 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16900 
   16901 
   16902 # The names of the tagged configurations supported by this script.
   16903 available_tags=""
   16904 
   16905 # ### BEGIN LIBTOOL CONFIG
   16906 
   16907 # Assembler program.
   16908 AS=$lt_AS
   16909 
   16910 # DLL creation program.
   16911 DLLTOOL=$lt_DLLTOOL
   16912 
   16913 # Object dumper program.
   16914 OBJDUMP=$lt_OBJDUMP
   16915 
   16916 # Which release of libtool.m4 was used?
   16917 macro_version=$macro_version
   16918 macro_revision=$macro_revision
   16919 
   16920 # Whether or not to build shared libraries.
   16921 build_libtool_libs=$enable_shared
   16922 
   16923 # Whether or not to build static libraries.
   16924 build_old_libs=$enable_static
   16925 
   16926 # What type of objects to build.
   16927 pic_mode=$pic_mode
   16928 
   16929 # Whether or not to optimize for fast installation.
   16930 fast_install=$enable_fast_install
   16931 
   16932 # Shell to use when invoking shell scripts.
   16933 SHELL=$lt_SHELL
   16934 
   16935 # An echo program that protects backslashes.
   16936 ECHO=$lt_ECHO
   16937 
   16938 # The PATH separator for the build system.
   16939 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   16940 
   16941 # The host system.
   16942 host_alias=$host_alias
   16943 host=$host
   16944 host_os=$host_os
   16945 
   16946 # The build system.
   16947 build_alias=$build_alias
   16948 build=$build
   16949 build_os=$build_os
   16950 
   16951 # A sed program that does not truncate output.
   16952 SED=$lt_SED
   16953 
   16954 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16955 Xsed="\$SED -e 1s/^X//"
   16956 
   16957 # A grep program that handles long lines.
   16958 GREP=$lt_GREP
   16959 
   16960 # An ERE matcher.
   16961 EGREP=$lt_EGREP
   16962 
   16963 # A literal string matcher.
   16964 FGREP=$lt_FGREP
   16965 
   16966 # A BSD- or MS-compatible name lister.
   16967 NM=$lt_NM
   16968 
   16969 # Whether we need soft or hard links.
   16970 LN_S=$lt_LN_S
   16971 
   16972 # What is the maximum length of a command?
   16973 max_cmd_len=$max_cmd_len
   16974 
   16975 # Object file suffix (normally "o").
   16976 objext=$ac_objext
   16977 
   16978 # Executable file suffix (normally "").
   16979 exeext=$exeext
   16980 
   16981 # whether the shell understands "unset".
   16982 lt_unset=$lt_unset
   16983 
   16984 # turn spaces into newlines.
   16985 SP2NL=$lt_lt_SP2NL
   16986 
   16987 # turn newlines into spaces.
   16988 NL2SP=$lt_lt_NL2SP
   16989 
   16990 # convert \$build file names to \$host format.
   16991 to_host_file_cmd=$lt_cv_to_host_file_cmd
   16992 
   16993 # convert \$build files to toolchain format.
   16994 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   16995 
   16996 # Method to check whether dependent libraries are shared objects.
   16997 deplibs_check_method=$lt_deplibs_check_method
   16998 
   16999 # Command to use when deplibs_check_method = "file_magic".
   17000 file_magic_cmd=$lt_file_magic_cmd
   17001 
   17002 # How to find potential files when deplibs_check_method = "file_magic".
   17003 file_magic_glob=$lt_file_magic_glob
   17004 
   17005 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   17006 want_nocaseglob=$lt_want_nocaseglob
   17007 
   17008 # Command to associate shared and link libraries.
   17009 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   17010 
   17011 # The archiver.
   17012 AR=$lt_AR
   17013 
   17014 # Flags to create an archive.
   17015 AR_FLAGS=$lt_AR_FLAGS
   17016 
   17017 # How to feed a file listing to the archiver.
   17018 archiver_list_spec=$lt_archiver_list_spec
   17019 
   17020 # A symbol stripping program.
   17021 STRIP=$lt_STRIP
   17022 
   17023 # Commands used to install an old-style archive.
   17024 RANLIB=$lt_RANLIB
   17025 old_postinstall_cmds=$lt_old_postinstall_cmds
   17026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17027 
   17028 # Whether to use a lock for old archive extraction.
   17029 lock_old_archive_extraction=$lock_old_archive_extraction
   17030 
   17031 # A C compiler.
   17032 LTCC=$lt_CC
   17033 
   17034 # LTCC compiler flags.
   17035 LTCFLAGS=$lt_CFLAGS
   17036 
   17037 # Take the output of nm and produce a listing of raw symbols and C names.
   17038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17039 
   17040 # Transform the output of nm in a proper C declaration.
   17041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17042 
   17043 # Transform the output of nm in a C name address pair.
   17044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17045 
   17046 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17047 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17048 
   17049 # Specify filename containing input files for \$NM.
   17050 nm_file_list_spec=$lt_nm_file_list_spec
   17051 
   17052 # The root where to search for dependent libraries,and in which our libraries should be installed.
   17053 lt_sysroot=$lt_sysroot
   17054 
   17055 # The name of the directory that contains temporary libtool files.
   17056 objdir=$objdir
   17057 
   17058 # Used to examine libraries when file_magic_cmd begins with "file".
   17059 MAGIC_CMD=$MAGIC_CMD
   17060 
   17061 # Must we lock files when doing compilation?
   17062 need_locks=$lt_need_locks
   17063 
   17064 # Manifest tool.
   17065 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   17066 
   17067 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17068 DSYMUTIL=$lt_DSYMUTIL
   17069 
   17070 # Tool to change global to local symbols on Mac OS X.
   17071 NMEDIT=$lt_NMEDIT
   17072 
   17073 # Tool to manipulate fat objects and archives on Mac OS X.
   17074 LIPO=$lt_LIPO
   17075 
   17076 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17077 OTOOL=$lt_OTOOL
   17078 
   17079 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17080 OTOOL64=$lt_OTOOL64
   17081 
   17082 # Old archive suffix (normally "a").
   17083 libext=$libext
   17084 
   17085 # Shared library suffix (normally ".so").
   17086 shrext_cmds=$lt_shrext_cmds
   17087 
   17088 # The commands to extract the exported symbol list from a shared archive.
   17089 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17090 
   17091 # Variables whose values should be saved in libtool wrapper scripts and
   17092 # restored at link time.
   17093 variables_saved_for_relink=$lt_variables_saved_for_relink
   17094 
   17095 # Do we need the "lib" prefix for modules?
   17096 need_lib_prefix=$need_lib_prefix
   17097 
   17098 # Do we need a version for libraries?
   17099 need_version=$need_version
   17100 
   17101 # Library versioning type.
   17102 version_type=$version_type
   17103 
   17104 # Shared library runtime path variable.
   17105 runpath_var=$runpath_var
   17106 
   17107 # Shared library path variable.
   17108 shlibpath_var=$shlibpath_var
   17109 
   17110 # Is shlibpath searched before the hard-coded library search path?
   17111 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17112 
   17113 # Format of library name prefix.
   17114 libname_spec=$lt_libname_spec
   17115 
   17116 # List of archive names.  First name is the real one, the rest are links.
   17117 # The last name is the one that the linker finds with -lNAME
   17118 library_names_spec=$lt_library_names_spec
   17119 
   17120 # The coded name of the library, if different from the real name.
   17121 soname_spec=$lt_soname_spec
   17122 
   17123 # Permission mode override for installation of shared libraries.
   17124 install_override_mode=$lt_install_override_mode
   17125 
   17126 # Command to use after installation of a shared archive.
   17127 postinstall_cmds=$lt_postinstall_cmds
   17128 
   17129 # Command to use after uninstallation of a shared archive.
   17130 postuninstall_cmds=$lt_postuninstall_cmds
   17131 
   17132 # Commands used to finish a libtool library installation in a directory.
   17133 finish_cmds=$lt_finish_cmds
   17134 
   17135 # As "finish_cmds", except a single script fragment to be evaled but
   17136 # not shown.
   17137 finish_eval=$lt_finish_eval
   17138 
   17139 # Whether we should hardcode library paths into libraries.
   17140 hardcode_into_libs=$hardcode_into_libs
   17141 
   17142 # Compile-time system search path for libraries.
   17143 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17144 
   17145 # Run-time system search path for libraries.
   17146 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17147 
   17148 # Whether dlopen is supported.
   17149 dlopen_support=$enable_dlopen
   17150 
   17151 # Whether dlopen of programs is supported.
   17152 dlopen_self=$enable_dlopen_self
   17153 
   17154 # Whether dlopen of statically linked programs is supported.
   17155 dlopen_self_static=$enable_dlopen_self_static
   17156 
   17157 # Commands to strip libraries.
   17158 old_striplib=$lt_old_striplib
   17159 striplib=$lt_striplib
   17160 
   17161 
   17162 # The linker used to build libraries.
   17163 LD=$lt_LD
   17164 
   17165 # How to create reloadable object files.
   17166 reload_flag=$lt_reload_flag
   17167 reload_cmds=$lt_reload_cmds
   17168 
   17169 # Commands used to build an old-style archive.
   17170 old_archive_cmds=$lt_old_archive_cmds
   17171 
   17172 # A language specific compiler.
   17173 CC=$lt_compiler
   17174 
   17175 # Is the compiler the GNU compiler?
   17176 with_gcc=$GCC
   17177 
   17178 # Compiler flag to turn off builtin functions.
   17179 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17180 
   17181 # Additional compiler flags for building library objects.
   17182 pic_flag=$lt_lt_prog_compiler_pic
   17183 
   17184 # How to pass a linker flag through the compiler.
   17185 wl=$lt_lt_prog_compiler_wl
   17186 
   17187 # Compiler flag to prevent dynamic linking.
   17188 link_static_flag=$lt_lt_prog_compiler_static
   17189 
   17190 # Does compiler simultaneously support -c and -o options?
   17191 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17192 
   17193 # Whether or not to add -lc for building shared libraries.
   17194 build_libtool_need_lc=$archive_cmds_need_lc
   17195 
   17196 # Whether or not to disallow shared libs when runtime libs are static.
   17197 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17198 
   17199 # Compiler flag to allow reflexive dlopens.
   17200 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17201 
   17202 # Compiler flag to generate shared objects directly from archives.
   17203 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17204 
   17205 # Whether the compiler copes with passing no objects directly.
   17206 compiler_needs_object=$lt_compiler_needs_object
   17207 
   17208 # Create an old-style archive from a shared archive.
   17209 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17210 
   17211 # Create a temporary old-style archive to link instead of a shared archive.
   17212 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17213 
   17214 # Commands used to build a shared archive.
   17215 archive_cmds=$lt_archive_cmds
   17216 archive_expsym_cmds=$lt_archive_expsym_cmds
   17217 
   17218 # Commands used to build a loadable module if different from building
   17219 # a shared archive.
   17220 module_cmds=$lt_module_cmds
   17221 module_expsym_cmds=$lt_module_expsym_cmds
   17222 
   17223 # Whether we are building with GNU ld or not.
   17224 with_gnu_ld=$lt_with_gnu_ld
   17225 
   17226 # Flag that allows shared libraries with undefined symbols to be built.
   17227 allow_undefined_flag=$lt_allow_undefined_flag
   17228 
   17229 # Flag that enforces no undefined symbols.
   17230 no_undefined_flag=$lt_no_undefined_flag
   17231 
   17232 # Flag to hardcode \$libdir into a binary during linking.
   17233 # This must work even if \$libdir does not exist
   17234 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17235 
   17236 # Whether we need a single "-rpath" flag with a separated argument.
   17237 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17238 
   17239 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17240 # DIR into the resulting binary.
   17241 hardcode_direct=$hardcode_direct
   17242 
   17243 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17244 # DIR into the resulting binary and the resulting library dependency is
   17245 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17246 # library is relocated.
   17247 hardcode_direct_absolute=$hardcode_direct_absolute
   17248 
   17249 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17250 # into the resulting binary.
   17251 hardcode_minus_L=$hardcode_minus_L
   17252 
   17253 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17254 # into the resulting binary.
   17255 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17256 
   17257 # Set to "yes" if building a shared library automatically hardcodes DIR
   17258 # into the library and all subsequent libraries and executables linked
   17259 # against it.
   17260 hardcode_automatic=$hardcode_automatic
   17261 
   17262 # Set to yes if linker adds runtime paths of dependent libraries
   17263 # to runtime path list.
   17264 inherit_rpath=$inherit_rpath
   17265 
   17266 # Whether libtool must link a program against all its dependency libraries.
   17267 link_all_deplibs=$link_all_deplibs
   17268 
   17269 # Set to "yes" if exported symbols are required.
   17270 always_export_symbols=$always_export_symbols
   17271 
   17272 # The commands to list exported symbols.
   17273 export_symbols_cmds=$lt_export_symbols_cmds
   17274 
   17275 # Symbols that should not be listed in the preloaded symbols.
   17276 exclude_expsyms=$lt_exclude_expsyms
   17277 
   17278 # Symbols that must always be exported.
   17279 include_expsyms=$lt_include_expsyms
   17280 
   17281 # Commands necessary for linking programs (against libraries) with templates.
   17282 prelink_cmds=$lt_prelink_cmds
   17283 
   17284 # Commands necessary for finishing linking programs.
   17285 postlink_cmds=$lt_postlink_cmds
   17286 
   17287 # Specify filename containing input files.
   17288 file_list_spec=$lt_file_list_spec
   17289 
   17290 # How to hardcode a shared library path into an executable.
   17291 hardcode_action=$hardcode_action
   17292 
   17293 # ### END LIBTOOL CONFIG
   17294 
   17295 _LT_EOF
   17296 
   17297   case $host_os in
   17298   aix3*)
   17299     cat <<\_LT_EOF >> "$cfgfile"
   17300 # AIX sometimes has problems with the GCC collect2 program.  For some
   17301 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17302 # vanish in a puff of smoke.
   17303 if test "X${COLLECT_NAMES+set}" != Xset; then
   17304   COLLECT_NAMES=
   17305   export COLLECT_NAMES
   17306 fi
   17307 _LT_EOF
   17308     ;;
   17309   esac
   17310 
   17311 
   17312 ltmain="$ac_aux_dir/ltmain.sh"
   17313 
   17314 
   17315   # We use sed instead of cat because bash on DJGPP gets confused if
   17316   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17317   # text mode, it properly converts lines to CR/LF.  This bash problem
   17318   # is reportedly fixed, but why not run on old versions too?
   17319   sed '$q' "$ltmain" >> "$cfgfile" \
   17320      || (rm -f "$cfgfile"; exit 1)
   17321 
   17322   if test x"$xsi_shell" = xyes; then
   17323   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   17324 func_dirname ()\
   17325 {\
   17326 \    case ${1} in\
   17327 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17328 \      *  ) func_dirname_result="${3}" ;;\
   17329 \    esac\
   17330 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   17331   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17332     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17333 test 0 -eq $? || _lt_function_replace_fail=:
   17334 
   17335 
   17336   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   17337 func_basename ()\
   17338 {\
   17339 \    func_basename_result="${1##*/}"\
   17340 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17341   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17342     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17343 test 0 -eq $? || _lt_function_replace_fail=:
   17344 
   17345 
   17346   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   17347 func_dirname_and_basename ()\
   17348 {\
   17349 \    case ${1} in\
   17350 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17351 \      *  ) func_dirname_result="${3}" ;;\
   17352 \    esac\
   17353 \    func_basename_result="${1##*/}"\
   17354 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17355   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17356     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17357 test 0 -eq $? || _lt_function_replace_fail=:
   17358 
   17359 
   17360   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   17361 func_stripname ()\
   17362 {\
   17363 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   17364 \    # positional parameters, so assign one to ordinary parameter first.\
   17365 \    func_stripname_result=${3}\
   17366 \    func_stripname_result=${func_stripname_result#"${1}"}\
   17367 \    func_stripname_result=${func_stripname_result%"${2}"}\
   17368 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   17369   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17370     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17371 test 0 -eq $? || _lt_function_replace_fail=:
   17372 
   17373 
   17374   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   17375 func_split_long_opt ()\
   17376 {\
   17377 \    func_split_long_opt_name=${1%%=*}\
   17378 \    func_split_long_opt_arg=${1#*=}\
   17379 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17380   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17381     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17382 test 0 -eq $? || _lt_function_replace_fail=:
   17383 
   17384 
   17385   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   17386 func_split_short_opt ()\
   17387 {\
   17388 \    func_split_short_opt_arg=${1#??}\
   17389 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   17390 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17391   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17392     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17393 test 0 -eq $? || _lt_function_replace_fail=:
   17394 
   17395 
   17396   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   17397 func_lo2o ()\
   17398 {\
   17399 \    case ${1} in\
   17400 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   17401 \      *)    func_lo2o_result=${1} ;;\
   17402 \    esac\
   17403 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   17404   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17405     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17406 test 0 -eq $? || _lt_function_replace_fail=:
   17407 
   17408 
   17409   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   17410 func_xform ()\
   17411 {\
   17412     func_xform_result=${1%.*}.lo\
   17413 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   17414   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17415     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17416 test 0 -eq $? || _lt_function_replace_fail=:
   17417 
   17418 
   17419   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   17420 func_arith ()\
   17421 {\
   17422     func_arith_result=$(( $* ))\
   17423 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   17424   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17425     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17426 test 0 -eq $? || _lt_function_replace_fail=:
   17427 
   17428 
   17429   sed -e '/^func_len ()$/,/^} # func_len /c\
   17430 func_len ()\
   17431 {\
   17432     func_len_result=${#1}\
   17433 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   17434   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17435     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17436 test 0 -eq $? || _lt_function_replace_fail=:
   17437 
   17438 fi
   17439 
   17440 if test x"$lt_shell_append" = xyes; then
   17441   sed -e '/^func_append ()$/,/^} # func_append /c\
   17442 func_append ()\
   17443 {\
   17444     eval "${1}+=\\${2}"\
   17445 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   17446   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17447     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17448 test 0 -eq $? || _lt_function_replace_fail=:
   17449 
   17450 
   17451   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   17452 func_append_quoted ()\
   17453 {\
   17454 \    func_quote_for_eval "${2}"\
   17455 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   17456 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   17457   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17458     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17459 test 0 -eq $? || _lt_function_replace_fail=:
   17460 
   17461 
   17462   # Save a `func_append' function call where possible by direct use of '+='
   17463   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   17464     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17465       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17466   test 0 -eq $? || _lt_function_replace_fail=:
   17467 else
   17468   # Save a `func_append' function call even when '+=' is not available
   17469   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   17470     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17471       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17472   test 0 -eq $? || _lt_function_replace_fail=:
   17473 fi
   17474 
   17475 if test x"$_lt_function_replace_fail" = x":"; then
   17476   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   17477 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   17478 fi
   17479 
   17480 
   17481    mv -f "$cfgfile" "$ofile" ||
   17482     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17483   chmod +x "$ofile"
   17484 
   17485  ;;
   17486 
   17487   esac
   17488 done # for ac_tag
   17489 
   17490 
   17491 as_fn_exit 0
   17492 _ACEOF
   17493 ac_clean_files=$ac_clean_files_save
   17494 
   17495 test $ac_write_fail = 0 ||
   17496   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17497 
   17498 
   17499 # configure is writing to config.log, and then calls config.status.
   17500 # config.status does its own redirection, appending to config.log.
   17501 # Unfortunately, on DOS this fails, as config.log is still kept open
   17502 # by configure, so config.status won't be able to write to it; its
   17503 # output is simply discarded.  So we exec the FD to /dev/null,
   17504 # effectively closing config.log, so it can be properly (re)opened and
   17505 # appended to by config.status.  When coming back to configure, we
   17506 # need to make the FD available again.
   17507 if test "$no_create" != yes; then
   17508   ac_cs_success=:
   17509   ac_config_status_args=
   17510   test "$silent" = yes &&
   17511     ac_config_status_args="$ac_config_status_args --quiet"
   17512   exec 5>/dev/null
   17513   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17514   exec 5>>config.log
   17515   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17516   # would make configure fail if this is the last instruction.
   17517   $ac_cs_success || as_fn_exit 1
   17518 fi
   17519 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17520   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17521 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17522 fi
   17523 
   17524 
   17525 
   17526 echo ""
   17527 echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
   17528 echo ""
   17529 echo "  Configuration"
   17530 echo "    XDM support.........: ${have_xdmcp}"
   17531 echo "    sendmsg fd passing..: ${sendfds}"
   17532 echo "    Build unit tests....: ${HAVE_CHECK}"
   17533 echo "      with html results.: ${HTML_CHECK_RESULT}"
   17534 echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
   17535 echo ""
   17536 echo "  X11 extensions"
   17537 echo "    Composite...........: ${BUILD_COMPOSITE}"
   17538 echo "    Damage..............: ${BUILD_DAMAGE}"
   17539 echo "    Dpms................: ${BUILD_DPMS}"
   17540 echo "    Dri2................: ${BUILD_DRI2}"
   17541 echo "    Dri3................: ${BUILD_DRI3}"
   17542 echo "    Glx.................: ${BUILD_GLX}"
   17543 echo "    Randr...............: ${BUILD_RANDR}"
   17544 echo "    Record..............: ${BUILD_RECORD}"
   17545 echo "    Render..............: ${BUILD_RENDER}"
   17546 echo "    Resource............: ${BUILD_RESOURCE}"
   17547 echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
   17548 echo "    selinux.............: ${BUILD_SELINUX}"
   17549 echo "    Shape...............: ${BUILD_SHAPE}"
   17550 echo "    Shm.................: ${BUILD_SHM}"
   17551 echo "    Sync................: ${BUILD_SYNC}"
   17552 echo "    Xevie...............: ${BUILD_XEVIE}"
   17553 echo "    Xfixes..............: ${BUILD_XFIXES}"
   17554 echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
   17555 echo "    xinerama............: ${BUILD_XINERAMA}"
   17556 echo "    xinput..............: ${BUILD_XINPUT}"
   17557 echo "    xkb.................: ${BUILD_XKB}"
   17558 echo "    xprint..............: ${BUILD_XPRINT}"
   17559 echo "    xtest...............: ${BUILD_XTEST}"
   17560 echo "    xv..................: ${BUILD_XV}"
   17561 echo "    xvmc................: ${BUILD_XVMC}"
   17562 echo ""
   17563 echo "  Used CFLAGS:"
   17564 echo "    CPPFLAGS............: ${CPPFLAGS}"
   17565 echo "    CFLAGS..............: ${CFLAGS}"
   17566 echo "    Warning CFLAGS......: ${CWARNFLAGS}"
   17567 echo ""
   17568 echo "  Installation:"
   17569 echo "    Prefix..............: ${prefix}"
   17570 echo ""
   17571