Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libxcb 1.12.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xcb>.
      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: https://bugs.freedesktop.org/enter_bug.cgi?product=xcb
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libxcb'
    593 PACKAGE_TARNAME='libxcb'
    594 PACKAGE_VERSION='1.12'
    595 PACKAGE_STRING='libxcb 1.12'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xcb'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="xcb.pc.in"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 XCB_SERVERSIDE_SUPPORT_FALSE
    641 XCB_SERVERSIDE_SUPPORT_TRUE
    642 LAUNCHD
    643 BUILD_XVMC_FALSE
    644 BUILD_XVMC_TRUE
    645 BUILD_XV_FALSE
    646 BUILD_XV_TRUE
    647 BUILD_XTEST_FALSE
    648 BUILD_XTEST_TRUE
    649 BUILD_SELINUX_FALSE
    650 BUILD_SELINUX_TRUE
    651 BUILD_XPRINT_FALSE
    652 BUILD_XPRINT_TRUE
    653 BUILD_XKB_FALSE
    654 BUILD_XKB_TRUE
    655 BUILD_XINPUT_FALSE
    656 BUILD_XINPUT_TRUE
    657 BUILD_XINERAMA_FALSE
    658 BUILD_XINERAMA_TRUE
    659 BUILD_XFREE86_DRI_FALSE
    660 BUILD_XFREE86_DRI_TRUE
    661 BUILD_XFIXES_FALSE
    662 BUILD_XFIXES_TRUE
    663 BUILD_XEVIE_FALSE
    664 BUILD_XEVIE_TRUE
    665 BUILD_SYNC_FALSE
    666 BUILD_SYNC_TRUE
    667 BUILD_SHM_FALSE
    668 BUILD_SHM_TRUE
    669 BUILD_SHAPE_FALSE
    670 BUILD_SHAPE_TRUE
    671 BUILD_SCREENSAVER_FALSE
    672 BUILD_SCREENSAVER_TRUE
    673 BUILD_RESOURCE_FALSE
    674 BUILD_RESOURCE_TRUE
    675 BUILD_RENDER_FALSE
    676 BUILD_RENDER_TRUE
    677 BUILD_RECORD_FALSE
    678 BUILD_RECORD_TRUE
    679 BUILD_RANDR_FALSE
    680 BUILD_RANDR_TRUE
    681 BUILD_PRESENT_FALSE
    682 BUILD_PRESENT_TRUE
    683 BUILD_GLX_FALSE
    684 BUILD_GLX_TRUE
    685 BUILD_DRI3_FALSE
    686 BUILD_DRI3_TRUE
    687 BUILD_DRI2_FALSE
    688 BUILD_DRI2_TRUE
    689 BUILD_DPMS_FALSE
    690 BUILD_DPMS_TRUE
    691 BUILD_DAMAGE_FALSE
    692 BUILD_DAMAGE_TRUE
    693 BUILD_COMPOSITE_FALSE
    694 BUILD_COMPOSITE_TRUE
    695 xcbincludedir
    696 XCB_HAVE_WIN32_FALSE
    697 XCB_HAVE_WIN32_TRUE
    698 lt_enable_auto_import
    699 XCBPROTO_XCBPYTHONDIR
    700 XCBPROTO_VERSION
    701 XCBPROTO_XCBINCLUDEDIR
    702 NEEDED
    703 XDMCP_LIBS
    704 XDMCP_CFLAGS
    705 NEEDED_LIBS
    706 NEEDED_CFLAGS
    707 XCBPROTO_LIBS
    708 XCBPROTO_CFLAGS
    709 HTML_CHECK_RESULT
    710 XSLTPROC
    711 HAVE_CHECK_FALSE
    712 HAVE_CHECK_TRUE
    713 CHECK_LIBS
    714 CHECK_CFLAGS
    715 HAVE_DOXYGEN_FALSE
    716 HAVE_DOXYGEN_TRUE
    717 HAVE_DOT_FALSE
    718 HAVE_DOT_TRUE
    719 HAVE_DOT
    720 DOT
    721 DOXYGEN
    722 ENABLE_DEVEL_DOCS_FALSE
    723 ENABLE_DEVEL_DOCS_TRUE
    724 MAN_SUBSTS
    725 XORG_MAN_PAGE
    726 ADMIN_MAN_DIR
    727 DRIVER_MAN_DIR
    728 MISC_MAN_DIR
    729 FILE_MAN_DIR
    730 LIB_MAN_DIR
    731 APP_MAN_DIR
    732 ADMIN_MAN_SUFFIX
    733 DRIVER_MAN_SUFFIX
    734 MISC_MAN_SUFFIX
    735 FILE_MAN_SUFFIX
    736 LIB_MAN_SUFFIX
    737 APP_MAN_SUFFIX
    738 INSTALL_CMD
    739 PKG_CONFIG_LIBDIR
    740 PKG_CONFIG_PATH
    741 PKG_CONFIG
    742 CHANGELOG_CMD
    743 STRICT_CFLAGS
    744 CWARNFLAGS
    745 BASE_CFLAGS
    746 LT_SYS_LIBRARY_PATH
    747 OTOOL64
    748 OTOOL
    749 LIPO
    750 NMEDIT
    751 DSYMUTIL
    752 MANIFEST_TOOL
    753 RANLIB
    754 ac_ct_AR
    755 AR
    756 LN_S
    757 NM
    758 ac_ct_DUMPBIN
    759 DUMPBIN
    760 LD
    761 FGREP
    762 SED
    763 host_os
    764 host_vendor
    765 host_cpu
    766 host
    767 build_os
    768 build_vendor
    769 build_cpu
    770 build
    771 LIBTOOL
    772 OBJDUMP
    773 DLLTOOL
    774 AS
    775 EGREP
    776 GREP
    777 CPP
    778 am__fastdepCC_FALSE
    779 am__fastdepCC_TRUE
    780 CCDEPMODE
    781 am__nodep
    782 AMDEPBACKSLASH
    783 AMDEP_FALSE
    784 AMDEP_TRUE
    785 am__quote
    786 am__include
    787 DEPDIR
    788 OBJEXT
    789 EXEEXT
    790 ac_ct_CC
    791 CPPFLAGS
    792 LDFLAGS
    793 CFLAGS
    794 CC
    795 pkgpyexecdir
    796 pyexecdir
    797 pkgpythondir
    798 pythondir
    799 PYTHON_PLATFORM
    800 PYTHON_EXEC_PREFIX
    801 PYTHON_PREFIX
    802 PYTHON_VERSION
    803 PYTHON
    804 AM_BACKSLASH
    805 AM_DEFAULT_VERBOSITY
    806 AM_DEFAULT_V
    807 AM_V
    808 am__untar
    809 am__tar
    810 AMTAR
    811 am__leading_dot
    812 SET_MAKE
    813 AWK
    814 mkdir_p
    815 MKDIR_P
    816 INSTALL_STRIP_PROGRAM
    817 STRIP
    818 install_sh
    819 MAKEINFO
    820 AUTOHEADER
    821 AUTOMAKE
    822 AUTOCONF
    823 ACLOCAL
    824 VERSION
    825 PACKAGE
    826 CYGPATH_W
    827 am__isrc
    828 INSTALL_DATA
    829 INSTALL_SCRIPT
    830 INSTALL_PROGRAM
    831 target_alias
    832 host_alias
    833 build_alias
    834 LIBS
    835 ECHO_T
    836 ECHO_N
    837 ECHO_C
    838 DEFS
    839 mandir
    840 localedir
    841 libdir
    842 psdir
    843 pdfdir
    844 dvidir
    845 htmldir
    846 infodir
    847 docdir
    848 oldincludedir
    849 includedir
    850 runstatedir
    851 localstatedir
    852 sharedstatedir
    853 sysconfdir
    854 datadir
    855 datarootdir
    856 libexecdir
    857 sbindir
    858 bindir
    859 program_transform_name
    860 prefix
    861 exec_prefix
    862 PACKAGE_URL
    863 PACKAGE_BUGREPORT
    864 PACKAGE_STRING
    865 PACKAGE_VERSION
    866 PACKAGE_TARNAME
    867 PACKAGE_NAME
    868 PATH_SEPARATOR
    869 SHELL'
    870 ac_subst_files=''
    871 ac_user_opts='
    872 enable_option_checking
    873 enable_silent_rules
    874 enable_dependency_tracking
    875 enable_shared
    876 enable_static
    877 with_pic
    878 enable_fast_install
    879 with_aix_soname
    880 with_gnu_ld
    881 with_sysroot
    882 enable_libtool_lock
    883 enable_selective_werror
    884 enable_strict_compilation
    885 enable_devel_docs
    886 with_doxygen
    887 with_queue_size
    888 enable_composite
    889 enable_damage
    890 enable_dpms
    891 enable_dri2
    892 enable_dri3
    893 enable_glx
    894 enable_present
    895 enable_randr
    896 enable_record
    897 enable_render
    898 enable_resource
    899 enable_screensaver
    900 enable_shape
    901 enable_shm
    902 enable_sync
    903 enable_xevie
    904 enable_xfixes
    905 enable_xfree86_dri
    906 enable_xinerama
    907 enable_xinput
    908 enable_xkb
    909 enable_xprint
    910 enable_selinux
    911 enable_xtest
    912 enable_xv
    913 enable_xvmc
    914 with_launchd
    915 with_serverside_support
    916 '
    917       ac_precious_vars='build_alias
    918 host_alias
    919 target_alias
    920 PYTHON
    921 CC
    922 CFLAGS
    923 LDFLAGS
    924 LIBS
    925 CPPFLAGS
    926 CPP
    927 LT_SYS_LIBRARY_PATH
    928 PKG_CONFIG
    929 PKG_CONFIG_PATH
    930 PKG_CONFIG_LIBDIR
    931 DOXYGEN
    932 DOT
    933 CHECK_CFLAGS
    934 CHECK_LIBS
    935 XCBPROTO_CFLAGS
    936 XCBPROTO_LIBS
    937 NEEDED_CFLAGS
    938 NEEDED_LIBS
    939 XDMCP_CFLAGS
    940 XDMCP_LIBS'
    941 
    942 
    943 # Initialize some variables set by options.
    944 ac_init_help=
    945 ac_init_version=false
    946 ac_unrecognized_opts=
    947 ac_unrecognized_sep=
    948 # The variables have the same names as the options, with
    949 # dashes changed to underlines.
    950 cache_file=/dev/null
    951 exec_prefix=NONE
    952 no_create=
    953 no_recursion=
    954 prefix=NONE
    955 program_prefix=NONE
    956 program_suffix=NONE
    957 program_transform_name=s,x,x,
    958 silent=
    959 site=
    960 srcdir=
    961 verbose=
    962 x_includes=NONE
    963 x_libraries=NONE
    964 
    965 # Installation directory options.
    966 # These are left unexpanded so users can "make install exec_prefix=/foo"
    967 # and all the variables that are supposed to be based on exec_prefix
    968 # by default will actually change.
    969 # Use braces instead of parens because sh, perl, etc. also accept them.
    970 # (The list follows the same order as the GNU Coding Standards.)
    971 bindir='${exec_prefix}/bin'
    972 sbindir='${exec_prefix}/sbin'
    973 libexecdir='${exec_prefix}/libexec'
    974 datarootdir='${prefix}/share'
    975 datadir='${datarootdir}'
    976 sysconfdir='${prefix}/etc'
    977 sharedstatedir='${prefix}/com'
    978 localstatedir='${prefix}/var'
    979 runstatedir='${localstatedir}/run'
    980 includedir='${prefix}/include'
    981 oldincludedir='/usr/include'
    982 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    983 infodir='${datarootdir}/info'
    984 htmldir='${docdir}'
    985 dvidir='${docdir}'
    986 pdfdir='${docdir}'
    987 psdir='${docdir}'
    988 libdir='${exec_prefix}/lib'
    989 localedir='${datarootdir}/locale'
    990 mandir='${datarootdir}/man'
    991 
    992 ac_prev=
    993 ac_dashdash=
    994 for ac_option
    995 do
    996   # If the previous option needs an argument, assign it.
    997   if test -n "$ac_prev"; then
    998     eval $ac_prev=\$ac_option
    999     ac_prev=
   1000     continue
   1001   fi
   1002 
   1003   case $ac_option in
   1004   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1005   *=)   ac_optarg= ;;
   1006   *)    ac_optarg=yes ;;
   1007   esac
   1008 
   1009   # Accept the important Cygnus configure options, so we can diagnose typos.
   1010 
   1011   case $ac_dashdash$ac_option in
   1012   --)
   1013     ac_dashdash=yes ;;
   1014 
   1015   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1016     ac_prev=bindir ;;
   1017   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1018     bindir=$ac_optarg ;;
   1019 
   1020   -build | --build | --buil | --bui | --bu)
   1021     ac_prev=build_alias ;;
   1022   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1023     build_alias=$ac_optarg ;;
   1024 
   1025   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1026   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1027     ac_prev=cache_file ;;
   1028   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1029   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1030     cache_file=$ac_optarg ;;
   1031 
   1032   --config-cache | -C)
   1033     cache_file=config.cache ;;
   1034 
   1035   -datadir | --datadir | --datadi | --datad)
   1036     ac_prev=datadir ;;
   1037   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1038     datadir=$ac_optarg ;;
   1039 
   1040   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1041   | --dataroo | --dataro | --datar)
   1042     ac_prev=datarootdir ;;
   1043   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1044   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1045     datarootdir=$ac_optarg ;;
   1046 
   1047   -disable-* | --disable-*)
   1048     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1049     # Reject names that are not valid shell variable names.
   1050     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1051       as_fn_error $? "invalid feature name: $ac_useropt"
   1052     ac_useropt_orig=$ac_useropt
   1053     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1054     case $ac_user_opts in
   1055       *"
   1056 "enable_$ac_useropt"
   1057 "*) ;;
   1058       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1059 	 ac_unrecognized_sep=', ';;
   1060     esac
   1061     eval enable_$ac_useropt=no ;;
   1062 
   1063   -docdir | --docdir | --docdi | --doc | --do)
   1064     ac_prev=docdir ;;
   1065   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1066     docdir=$ac_optarg ;;
   1067 
   1068   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1069     ac_prev=dvidir ;;
   1070   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1071     dvidir=$ac_optarg ;;
   1072 
   1073   -enable-* | --enable-*)
   1074     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1075     # Reject names that are not valid shell variable names.
   1076     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1077       as_fn_error $? "invalid feature name: $ac_useropt"
   1078     ac_useropt_orig=$ac_useropt
   1079     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1080     case $ac_user_opts in
   1081       *"
   1082 "enable_$ac_useropt"
   1083 "*) ;;
   1084       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1085 	 ac_unrecognized_sep=', ';;
   1086     esac
   1087     eval enable_$ac_useropt=\$ac_optarg ;;
   1088 
   1089   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1090   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1091   | --exec | --exe | --ex)
   1092     ac_prev=exec_prefix ;;
   1093   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1094   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1095   | --exec=* | --exe=* | --ex=*)
   1096     exec_prefix=$ac_optarg ;;
   1097 
   1098   -gas | --gas | --ga | --g)
   1099     # Obsolete; use --with-gas.
   1100     with_gas=yes ;;
   1101 
   1102   -help | --help | --hel | --he | -h)
   1103     ac_init_help=long ;;
   1104   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1105     ac_init_help=recursive ;;
   1106   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1107     ac_init_help=short ;;
   1108 
   1109   -host | --host | --hos | --ho)
   1110     ac_prev=host_alias ;;
   1111   -host=* | --host=* | --hos=* | --ho=*)
   1112     host_alias=$ac_optarg ;;
   1113 
   1114   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1115     ac_prev=htmldir ;;
   1116   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1117   | --ht=*)
   1118     htmldir=$ac_optarg ;;
   1119 
   1120   -includedir | --includedir | --includedi | --included | --include \
   1121   | --includ | --inclu | --incl | --inc)
   1122     ac_prev=includedir ;;
   1123   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1124   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1125     includedir=$ac_optarg ;;
   1126 
   1127   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1128     ac_prev=infodir ;;
   1129   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1130     infodir=$ac_optarg ;;
   1131 
   1132   -libdir | --libdir | --libdi | --libd)
   1133     ac_prev=libdir ;;
   1134   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1135     libdir=$ac_optarg ;;
   1136 
   1137   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1138   | --libexe | --libex | --libe)
   1139     ac_prev=libexecdir ;;
   1140   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1141   | --libexe=* | --libex=* | --libe=*)
   1142     libexecdir=$ac_optarg ;;
   1143 
   1144   -localedir | --localedir | --localedi | --localed | --locale)
   1145     ac_prev=localedir ;;
   1146   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1147     localedir=$ac_optarg ;;
   1148 
   1149   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1150   | --localstate | --localstat | --localsta | --localst | --locals)
   1151     ac_prev=localstatedir ;;
   1152   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1153   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1154     localstatedir=$ac_optarg ;;
   1155 
   1156   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1157     ac_prev=mandir ;;
   1158   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1159     mandir=$ac_optarg ;;
   1160 
   1161   -nfp | --nfp | --nf)
   1162     # Obsolete; use --without-fp.
   1163     with_fp=no ;;
   1164 
   1165   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1166   | --no-cr | --no-c | -n)
   1167     no_create=yes ;;
   1168 
   1169   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1170   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1171     no_recursion=yes ;;
   1172 
   1173   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1174   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1175   | --oldin | --oldi | --old | --ol | --o)
   1176     ac_prev=oldincludedir ;;
   1177   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1178   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1179   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1180     oldincludedir=$ac_optarg ;;
   1181 
   1182   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1183     ac_prev=prefix ;;
   1184   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1185     prefix=$ac_optarg ;;
   1186 
   1187   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1188   | --program-pre | --program-pr | --program-p)
   1189     ac_prev=program_prefix ;;
   1190   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1191   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1192     program_prefix=$ac_optarg ;;
   1193 
   1194   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1195   | --program-suf | --program-su | --program-s)
   1196     ac_prev=program_suffix ;;
   1197   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1198   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1199     program_suffix=$ac_optarg ;;
   1200 
   1201   -program-transform-name | --program-transform-name \
   1202   | --program-transform-nam | --program-transform-na \
   1203   | --program-transform-n | --program-transform- \
   1204   | --program-transform | --program-transfor \
   1205   | --program-transfo | --program-transf \
   1206   | --program-trans | --program-tran \
   1207   | --progr-tra | --program-tr | --program-t)
   1208     ac_prev=program_transform_name ;;
   1209   -program-transform-name=* | --program-transform-name=* \
   1210   | --program-transform-nam=* | --program-transform-na=* \
   1211   | --program-transform-n=* | --program-transform-=* \
   1212   | --program-transform=* | --program-transfor=* \
   1213   | --program-transfo=* | --program-transf=* \
   1214   | --program-trans=* | --program-tran=* \
   1215   | --progr-tra=* | --program-tr=* | --program-t=*)
   1216     program_transform_name=$ac_optarg ;;
   1217 
   1218   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1219     ac_prev=pdfdir ;;
   1220   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1221     pdfdir=$ac_optarg ;;
   1222 
   1223   -psdir | --psdir | --psdi | --psd | --ps)
   1224     ac_prev=psdir ;;
   1225   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1226     psdir=$ac_optarg ;;
   1227 
   1228   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1229   | -silent | --silent | --silen | --sile | --sil)
   1230     silent=yes ;;
   1231 
   1232   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1233   | --runstate | --runstat | --runsta | --runst | --runs \
   1234   | --run | --ru | --r)
   1235     ac_prev=runstatedir ;;
   1236   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1237   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1238   | --run=* | --ru=* | --r=*)
   1239     runstatedir=$ac_optarg ;;
   1240 
   1241   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1242     ac_prev=sbindir ;;
   1243   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1244   | --sbi=* | --sb=*)
   1245     sbindir=$ac_optarg ;;
   1246 
   1247   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1248   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1249   | --sharedst | --shareds | --shared | --share | --shar \
   1250   | --sha | --sh)
   1251     ac_prev=sharedstatedir ;;
   1252   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1253   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1254   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1255   | --sha=* | --sh=*)
   1256     sharedstatedir=$ac_optarg ;;
   1257 
   1258   -site | --site | --sit)
   1259     ac_prev=site ;;
   1260   -site=* | --site=* | --sit=*)
   1261     site=$ac_optarg ;;
   1262 
   1263   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1264     ac_prev=srcdir ;;
   1265   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1266     srcdir=$ac_optarg ;;
   1267 
   1268   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1269   | --syscon | --sysco | --sysc | --sys | --sy)
   1270     ac_prev=sysconfdir ;;
   1271   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1272   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1273     sysconfdir=$ac_optarg ;;
   1274 
   1275   -target | --target | --targe | --targ | --tar | --ta | --t)
   1276     ac_prev=target_alias ;;
   1277   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1278     target_alias=$ac_optarg ;;
   1279 
   1280   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1281     verbose=yes ;;
   1282 
   1283   -version | --version | --versio | --versi | --vers | -V)
   1284     ac_init_version=: ;;
   1285 
   1286   -with-* | --with-*)
   1287     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1288     # Reject names that are not valid shell variable names.
   1289     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1290       as_fn_error $? "invalid package name: $ac_useropt"
   1291     ac_useropt_orig=$ac_useropt
   1292     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1293     case $ac_user_opts in
   1294       *"
   1295 "with_$ac_useropt"
   1296 "*) ;;
   1297       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1298 	 ac_unrecognized_sep=', ';;
   1299     esac
   1300     eval with_$ac_useropt=\$ac_optarg ;;
   1301 
   1302   -without-* | --without-*)
   1303     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1304     # Reject names that are not valid shell variable names.
   1305     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1306       as_fn_error $? "invalid package name: $ac_useropt"
   1307     ac_useropt_orig=$ac_useropt
   1308     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1309     case $ac_user_opts in
   1310       *"
   1311 "with_$ac_useropt"
   1312 "*) ;;
   1313       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1314 	 ac_unrecognized_sep=', ';;
   1315     esac
   1316     eval with_$ac_useropt=no ;;
   1317 
   1318   --x)
   1319     # Obsolete; use --with-x.
   1320     with_x=yes ;;
   1321 
   1322   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1323   | --x-incl | --x-inc | --x-in | --x-i)
   1324     ac_prev=x_includes ;;
   1325   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1326   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1327     x_includes=$ac_optarg ;;
   1328 
   1329   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1330   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1331     ac_prev=x_libraries ;;
   1332   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1333   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1334     x_libraries=$ac_optarg ;;
   1335 
   1336   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1337 Try \`$0 --help' for more information"
   1338     ;;
   1339 
   1340   *=*)
   1341     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1342     # Reject names that are not valid shell variable names.
   1343     case $ac_envvar in #(
   1344       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1345       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1346     esac
   1347     eval $ac_envvar=\$ac_optarg
   1348     export $ac_envvar ;;
   1349 
   1350   *)
   1351     # FIXME: should be removed in autoconf 3.0.
   1352     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1353     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1354       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1355     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1356     ;;
   1357 
   1358   esac
   1359 done
   1360 
   1361 if test -n "$ac_prev"; then
   1362   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1363   as_fn_error $? "missing argument to $ac_option"
   1364 fi
   1365 
   1366 if test -n "$ac_unrecognized_opts"; then
   1367   case $enable_option_checking in
   1368     no) ;;
   1369     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1370     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1371   esac
   1372 fi
   1373 
   1374 # Check all directory arguments for consistency.
   1375 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1376 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1377 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1378 		libdir localedir mandir runstatedir
   1379 do
   1380   eval ac_val=\$$ac_var
   1381   # Remove trailing slashes.
   1382   case $ac_val in
   1383     */ )
   1384       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1385       eval $ac_var=\$ac_val;;
   1386   esac
   1387   # Be sure to have absolute directory names.
   1388   case $ac_val in
   1389     [\\/$]* | ?:[\\/]* )  continue;;
   1390     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1391   esac
   1392   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1393 done
   1394 
   1395 # There might be people who depend on the old broken behavior: `$host'
   1396 # used to hold the argument of --host etc.
   1397 # FIXME: To remove some day.
   1398 build=$build_alias
   1399 host=$host_alias
   1400 target=$target_alias
   1401 
   1402 # FIXME: To remove some day.
   1403 if test "x$host_alias" != x; then
   1404   if test "x$build_alias" = x; then
   1405     cross_compiling=maybe
   1406   elif test "x$build_alias" != "x$host_alias"; then
   1407     cross_compiling=yes
   1408   fi
   1409 fi
   1410 
   1411 ac_tool_prefix=
   1412 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1413 
   1414 test "$silent" = yes && exec 6>/dev/null
   1415 
   1416 
   1417 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1418 ac_ls_di=`ls -di .` &&
   1419 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1420   as_fn_error $? "working directory cannot be determined"
   1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1422   as_fn_error $? "pwd does not report name of working directory"
   1423 
   1424 
   1425 # Find the source files, if location was not specified.
   1426 if test -z "$srcdir"; then
   1427   ac_srcdir_defaulted=yes
   1428   # Try the directory containing this script, then the parent directory.
   1429   ac_confdir=`$as_dirname -- "$as_myself" ||
   1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1431 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1432 	 X"$as_myself" : 'X\(//\)$' \| \
   1433 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1434 $as_echo X"$as_myself" |
   1435     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1436 	    s//\1/
   1437 	    q
   1438 	  }
   1439 	  /^X\(\/\/\)[^/].*/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  /^X\(\/\/\)$/{
   1444 	    s//\1/
   1445 	    q
   1446 	  }
   1447 	  /^X\(\/\).*/{
   1448 	    s//\1/
   1449 	    q
   1450 	  }
   1451 	  s/.*/./; q'`
   1452   srcdir=$ac_confdir
   1453   if test ! -r "$srcdir/$ac_unique_file"; then
   1454     srcdir=..
   1455   fi
   1456 else
   1457   ac_srcdir_defaulted=no
   1458 fi
   1459 if test ! -r "$srcdir/$ac_unique_file"; then
   1460   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1461   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1462 fi
   1463 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1464 ac_abs_confdir=`(
   1465 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1466 	pwd)`
   1467 # When building in place, set srcdir=.
   1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1469   srcdir=.
   1470 fi
   1471 # Remove unnecessary trailing slashes from srcdir.
   1472 # Double slashes in file names in object file debugging info
   1473 # mess up M-x gdb in Emacs.
   1474 case $srcdir in
   1475 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1476 esac
   1477 for ac_var in $ac_precious_vars; do
   1478   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1479   eval ac_env_${ac_var}_value=\$${ac_var}
   1480   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1481   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1482 done
   1483 
   1484 #
   1485 # Report the --help message.
   1486 #
   1487 if test "$ac_init_help" = "long"; then
   1488   # Omit some internal or obsolete options to make the list less imposing.
   1489   # This message is too long to be a string in the A/UX 3.1 sh.
   1490   cat <<_ACEOF
   1491 \`configure' configures libxcb 1.12 to adapt to many kinds of systems.
   1492 
   1493 Usage: $0 [OPTION]... [VAR=VALUE]...
   1494 
   1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1496 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1497 
   1498 Defaults for the options are specified in brackets.
   1499 
   1500 Configuration:
   1501   -h, --help              display this help and exit
   1502       --help=short        display options specific to this package
   1503       --help=recursive    display the short help of all the included packages
   1504   -V, --version           display version information and exit
   1505   -q, --quiet, --silent   do not print \`checking ...' messages
   1506       --cache-file=FILE   cache test results in FILE [disabled]
   1507   -C, --config-cache      alias for \`--cache-file=config.cache'
   1508   -n, --no-create         do not create output files
   1509       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1510 
   1511 Installation directories:
   1512   --prefix=PREFIX         install architecture-independent files in PREFIX
   1513                           [$ac_default_prefix]
   1514   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1515                           [PREFIX]
   1516 
   1517 By default, \`make install' will install all the files in
   1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1520 for instance \`--prefix=\$HOME'.
   1521 
   1522 For better control, use the options below.
   1523 
   1524 Fine tuning of the installation directories:
   1525   --bindir=DIR            user executables [EPREFIX/bin]
   1526   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1527   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1528   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1529   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1530   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1531   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1532   --libdir=DIR            object code libraries [EPREFIX/lib]
   1533   --includedir=DIR        C header files [PREFIX/include]
   1534   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1535   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1536   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1537   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1538   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1539   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1540   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxcb]
   1541   --htmldir=DIR           html documentation [DOCDIR]
   1542   --dvidir=DIR            dvi documentation [DOCDIR]
   1543   --pdfdir=DIR            pdf documentation [DOCDIR]
   1544   --psdir=DIR             ps documentation [DOCDIR]
   1545 _ACEOF
   1546 
   1547   cat <<\_ACEOF
   1548 
   1549 Program names:
   1550   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1551   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1552   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1553 
   1554 System types:
   1555   --build=BUILD     configure for building on BUILD [guessed]
   1556   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1557 _ACEOF
   1558 fi
   1559 
   1560 if test -n "$ac_init_help"; then
   1561   case $ac_init_help in
   1562      short | recursive ) echo "Configuration of libxcb 1.12:";;
   1563    esac
   1564   cat <<\_ACEOF
   1565 
   1566 Optional Features:
   1567   --disable-option-checking  ignore unrecognized --enable/--with options
   1568   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1569   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1570   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1571   --disable-silent-rules  verbose build output (undo: "make V=0")
   1572   --enable-dependency-tracking
   1573                           do not reject slow dependency extractors
   1574   --disable-dependency-tracking
   1575                           speeds up one-time build
   1576   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1577   --enable-static[=PKGS]  build static libraries [default=yes]
   1578   --enable-fast-install[=PKGS]
   1579                           optimize for fast installation [default=yes]
   1580   --disable-libtool-lock  avoid locking (might break parallel builds)
   1581   --disable-selective-werror
   1582                           Turn off selective compiler errors. (default:
   1583                           enabled)
   1584   --enable-strict-compilation
   1585                           Enable all warnings from compiler and make them
   1586                           errors (default: disabled)
   1587   --enable-devel-docs     Enable building the developer documentation
   1588                           (default: yes)
   1589   --enable-composite      Build XCB Composite Extension (default: yes)
   1590   --enable-damage         Build XCB Damage Extension (default: yes)
   1591   --enable-dpms           Build XCB DPMS Extension (default: yes)
   1592   --enable-dri2           Build XCB DRI2 Extension (default: yes)
   1593   --enable-dri3           Build XCB DRI3 Extension (default: auto)
   1594   --enable-glx            Build XCB GLX Extension (default: yes)
   1595   --enable-present        Build XCB Present Extension (default: yes)
   1596   --enable-randr          Build XCB RandR Extension (default: yes)
   1597   --enable-record         Build XCB Record Extension (default: yes)
   1598   --enable-render         Build XCB Render Extension (default: yes)
   1599   --enable-resource       Build XCB Resource Extension (default: yes)
   1600   --enable-screensaver    Build XCB Screensaver Extension (default: yes)
   1601   --enable-shape          Build XCB Shape Extension (default: yes)
   1602   --enable-shm            Build XCB Shm Extension (default: yes)
   1603   --enable-sync           Build XCB Sync Extension (default: yes)
   1604   --enable-xevie          Build XCB Xevie Extension (default: no)
   1605   --enable-xfixes         Build XCB XFixes Extension (default: yes)
   1606   --enable-xfree86-dri    Build XCB XFree86-DRI Extension (default: yes)
   1607   --enable-xinerama       Build XCB Xinerama Extension (default: yes)
   1608   --enable-xinput         Build XCB XInput Extension (default: no)
   1609   --enable-xkb            Build XCB XKB Extension (default: yes)
   1610   --enable-xprint         Build XCB Xprint Extension (default: no)
   1611   --enable-selinux        Build XCB SELinux Extension (default: no)
   1612   --enable-xtest          Build XCB XTest Extension (default: yes)
   1613   --enable-xv             Build XCB Xv Extension (default: yes)
   1614   --enable-xvmc           Build XCB XvMC Extension (default: yes)
   1615 
   1616 Optional Packages:
   1617   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1618   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1619   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1620                           both]
   1621   --with-aix-soname=aix|svr4|both
   1622                           shared library versioning (aka "SONAME") variant to
   1623                           provide on AIX, [default=aix].
   1624   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1625   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1626                           compiler's sysroot if not specified).
   1627   --with-doxygen          Use doxygen to regenerate documentation (default:
   1628                           auto)
   1629   --with-queue-size=SIZE  Set the XCB buffer queue size (default is 16384)
   1630   --with-launchd          Build with support for Apple's launchd (default:
   1631                           auto)
   1632   --with-serverside-support
   1633                           Build with support for server-side usage of xcb.
   1634                           This is still EXPERIMENTAL! ABI/API may change!
   1635                           (default: no)
   1636 
   1637 Some influential environment variables:
   1638   PYTHON      the Python interpreter
   1639   CC          C compiler command
   1640   CFLAGS      C compiler flags
   1641   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1642               nonstandard directory <lib dir>
   1643   LIBS        libraries to pass to the linker, e.g. -l<library>
   1644   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1645               you have headers in a nonstandard directory <include dir>
   1646   CPP         C preprocessor
   1647   LT_SYS_LIBRARY_PATH
   1648               User-defined run-time library search path.
   1649   PKG_CONFIG  path to pkg-config utility
   1650   PKG_CONFIG_PATH
   1651               directories to add to pkg-config's search path
   1652   PKG_CONFIG_LIBDIR
   1653               path overriding pkg-config's built-in search path
   1654   DOXYGEN     Path to doxygen command
   1655   DOT         Path to the dot graphics utility
   1656   CHECK_CFLAGS
   1657               C compiler flags for CHECK, overriding pkg-config
   1658   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
   1659   XCBPROTO_CFLAGS
   1660               C compiler flags for XCBPROTO, overriding pkg-config
   1661   XCBPROTO_LIBS
   1662               linker flags for XCBPROTO, overriding pkg-config
   1663   NEEDED_CFLAGS
   1664               C compiler flags for NEEDED, overriding pkg-config
   1665   NEEDED_LIBS linker flags for NEEDED, overriding pkg-config
   1666   XDMCP_CFLAGS
   1667               C compiler flags for XDMCP, overriding pkg-config
   1668   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1669 
   1670 Use these variables to override the choices made by `configure' or to help
   1671 it to find libraries and programs with nonstandard names/locations.
   1672 
   1673 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xcb>.
   1674 _ACEOF
   1675 ac_status=$?
   1676 fi
   1677 
   1678 if test "$ac_init_help" = "recursive"; then
   1679   # If there are subdirs, report their specific --help.
   1680   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1681     test -d "$ac_dir" ||
   1682       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1683       continue
   1684     ac_builddir=.
   1685 
   1686 case "$ac_dir" in
   1687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1688 *)
   1689   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1690   # A ".." for each directory in $ac_dir_suffix.
   1691   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1692   case $ac_top_builddir_sub in
   1693   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1694   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1695   esac ;;
   1696 esac
   1697 ac_abs_top_builddir=$ac_pwd
   1698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1699 # for backward compatibility:
   1700 ac_top_builddir=$ac_top_build_prefix
   1701 
   1702 case $srcdir in
   1703   .)  # We are building in place.
   1704     ac_srcdir=.
   1705     ac_top_srcdir=$ac_top_builddir_sub
   1706     ac_abs_top_srcdir=$ac_pwd ;;
   1707   [\\/]* | ?:[\\/]* )  # Absolute name.
   1708     ac_srcdir=$srcdir$ac_dir_suffix;
   1709     ac_top_srcdir=$srcdir
   1710     ac_abs_top_srcdir=$srcdir ;;
   1711   *) # Relative name.
   1712     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1713     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1714     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1715 esac
   1716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1717 
   1718     cd "$ac_dir" || { ac_status=$?; continue; }
   1719     # Check for guested configure.
   1720     if test -f "$ac_srcdir/configure.gnu"; then
   1721       echo &&
   1722       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1723     elif test -f "$ac_srcdir/configure"; then
   1724       echo &&
   1725       $SHELL "$ac_srcdir/configure" --help=recursive
   1726     else
   1727       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1728     fi || ac_status=$?
   1729     cd "$ac_pwd" || { ac_status=$?; break; }
   1730   done
   1731 fi
   1732 
   1733 test -n "$ac_init_help" && exit $ac_status
   1734 if $ac_init_version; then
   1735   cat <<\_ACEOF
   1736 libxcb configure 1.12
   1737 generated by GNU Autoconf 2.69
   1738 
   1739 Copyright (C) 2012 Free Software Foundation, Inc.
   1740 This configure script is free software; the Free Software Foundation
   1741 gives unlimited permission to copy, distribute and modify it.
   1742 _ACEOF
   1743   exit
   1744 fi
   1745 
   1746 ## ------------------------ ##
   1747 ## Autoconf initialization. ##
   1748 ## ------------------------ ##
   1749 
   1750 # ac_fn_c_try_compile LINENO
   1751 # --------------------------
   1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1753 ac_fn_c_try_compile ()
   1754 {
   1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1756   rm -f conftest.$ac_objext
   1757   if { { ac_try="$ac_compile"
   1758 case "(($ac_try" in
   1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1760   *) ac_try_echo=$ac_try;;
   1761 esac
   1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1763 $as_echo "$ac_try_echo"; } >&5
   1764   (eval "$ac_compile") 2>conftest.err
   1765   ac_status=$?
   1766   if test -s conftest.err; then
   1767     grep -v '^ *+' conftest.err >conftest.er1
   1768     cat conftest.er1 >&5
   1769     mv -f conftest.er1 conftest.err
   1770   fi
   1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1772   test $ac_status = 0; } && {
   1773 	 test -z "$ac_c_werror_flag" ||
   1774 	 test ! -s conftest.err
   1775        } && test -s conftest.$ac_objext; then :
   1776   ac_retval=0
   1777 else
   1778   $as_echo "$as_me: failed program was:" >&5
   1779 sed 's/^/| /' conftest.$ac_ext >&5
   1780 
   1781 	ac_retval=1
   1782 fi
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784   as_fn_set_status $ac_retval
   1785 
   1786 } # ac_fn_c_try_compile
   1787 
   1788 # ac_fn_c_try_cpp LINENO
   1789 # ----------------------
   1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1791 ac_fn_c_try_cpp ()
   1792 {
   1793   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1794   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1795 case "(($ac_try" in
   1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1797   *) ac_try_echo=$ac_try;;
   1798 esac
   1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1800 $as_echo "$ac_try_echo"; } >&5
   1801   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1802   ac_status=$?
   1803   if test -s conftest.err; then
   1804     grep -v '^ *+' conftest.err >conftest.er1
   1805     cat conftest.er1 >&5
   1806     mv -f conftest.er1 conftest.err
   1807   fi
   1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1809   test $ac_status = 0; } > conftest.i && {
   1810 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1811 	 test ! -s conftest.err
   1812        }; then :
   1813   ac_retval=0
   1814 else
   1815   $as_echo "$as_me: failed program was:" >&5
   1816 sed 's/^/| /' conftest.$ac_ext >&5
   1817 
   1818     ac_retval=1
   1819 fi
   1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1821   as_fn_set_status $ac_retval
   1822 
   1823 } # ac_fn_c_try_cpp
   1824 
   1825 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1826 # -------------------------------------------------------
   1827 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1828 # the include files in INCLUDES and setting the cache variable VAR
   1829 # accordingly.
   1830 ac_fn_c_check_header_mongrel ()
   1831 {
   1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1833   if eval \${$3+:} false; then :
   1834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1835 $as_echo_n "checking for $2... " >&6; }
   1836 if eval \${$3+:} false; then :
   1837   $as_echo_n "(cached) " >&6
   1838 fi
   1839 eval ac_res=\$$3
   1840 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1841 $as_echo "$ac_res" >&6; }
   1842 else
   1843   # Is the header compilable?
   1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1845 $as_echo_n "checking $2 usability... " >&6; }
   1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1847 /* end confdefs.h.  */
   1848 $4
   1849 #include <$2>
   1850 _ACEOF
   1851 if ac_fn_c_try_compile "$LINENO"; then :
   1852   ac_header_compiler=yes
   1853 else
   1854   ac_header_compiler=no
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1858 $as_echo "$ac_header_compiler" >&6; }
   1859 
   1860 # Is the header present?
   1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1862 $as_echo_n "checking $2 presence... " >&6; }
   1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1864 /* end confdefs.h.  */
   1865 #include <$2>
   1866 _ACEOF
   1867 if ac_fn_c_try_cpp "$LINENO"; then :
   1868   ac_header_preproc=yes
   1869 else
   1870   ac_header_preproc=no
   1871 fi
   1872 rm -f conftest.err conftest.i conftest.$ac_ext
   1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1874 $as_echo "$ac_header_preproc" >&6; }
   1875 
   1876 # So?  What about this header?
   1877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1878   yes:no: )
   1879     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1880 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1881     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1882 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1883     ;;
   1884   no:yes:* )
   1885     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1886 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1887     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1888 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1889     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1890 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1891     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1892 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1893     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1894 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1895 ( $as_echo "## --------------------------------------------------------------------- ##
   1896 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xcb ##
   1897 ## --------------------------------------------------------------------- ##"
   1898      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1899     ;;
   1900 esac
   1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1902 $as_echo_n "checking for $2... " >&6; }
   1903 if eval \${$3+:} false; then :
   1904   $as_echo_n "(cached) " >&6
   1905 else
   1906   eval "$3=\$ac_header_compiler"
   1907 fi
   1908 eval ac_res=\$$3
   1909 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1910 $as_echo "$ac_res" >&6; }
   1911 fi
   1912   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1913 
   1914 } # ac_fn_c_check_header_mongrel
   1915 
   1916 # ac_fn_c_try_run LINENO
   1917 # ----------------------
   1918 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1919 # that executables *can* be run.
   1920 ac_fn_c_try_run ()
   1921 {
   1922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1923   if { { ac_try="$ac_link"
   1924 case "(($ac_try" in
   1925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1926   *) ac_try_echo=$ac_try;;
   1927 esac
   1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1929 $as_echo "$ac_try_echo"; } >&5
   1930   (eval "$ac_link") 2>&5
   1931   ac_status=$?
   1932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1933   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1934   { { case "(($ac_try" in
   1935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1936   *) ac_try_echo=$ac_try;;
   1937 esac
   1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1939 $as_echo "$ac_try_echo"; } >&5
   1940   (eval "$ac_try") 2>&5
   1941   ac_status=$?
   1942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1943   test $ac_status = 0; }; }; then :
   1944   ac_retval=0
   1945 else
   1946   $as_echo "$as_me: program exited with status $ac_status" >&5
   1947        $as_echo "$as_me: failed program was:" >&5
   1948 sed 's/^/| /' conftest.$ac_ext >&5
   1949 
   1950        ac_retval=$ac_status
   1951 fi
   1952   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1953   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1954   as_fn_set_status $ac_retval
   1955 
   1956 } # ac_fn_c_try_run
   1957 
   1958 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1959 # -------------------------------------------------------
   1960 # Tests whether HEADER exists and can be compiled using the include files in
   1961 # INCLUDES, setting the cache variable VAR accordingly.
   1962 ac_fn_c_check_header_compile ()
   1963 {
   1964   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1966 $as_echo_n "checking for $2... " >&6; }
   1967 if eval \${$3+:} false; then :
   1968   $as_echo_n "(cached) " >&6
   1969 else
   1970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1971 /* end confdefs.h.  */
   1972 $4
   1973 #include <$2>
   1974 _ACEOF
   1975 if ac_fn_c_try_compile "$LINENO"; then :
   1976   eval "$3=yes"
   1977 else
   1978   eval "$3=no"
   1979 fi
   1980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1981 fi
   1982 eval ac_res=\$$3
   1983 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1984 $as_echo "$ac_res" >&6; }
   1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1986 
   1987 } # ac_fn_c_check_header_compile
   1988 
   1989 # ac_fn_c_try_link LINENO
   1990 # -----------------------
   1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1992 ac_fn_c_try_link ()
   1993 {
   1994   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1995   rm -f conftest.$ac_objext conftest$ac_exeext
   1996   if { { ac_try="$ac_link"
   1997 case "(($ac_try" in
   1998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1999   *) ac_try_echo=$ac_try;;
   2000 esac
   2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2002 $as_echo "$ac_try_echo"; } >&5
   2003   (eval "$ac_link") 2>conftest.err
   2004   ac_status=$?
   2005   if test -s conftest.err; then
   2006     grep -v '^ *+' conftest.err >conftest.er1
   2007     cat conftest.er1 >&5
   2008     mv -f conftest.er1 conftest.err
   2009   fi
   2010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2011   test $ac_status = 0; } && {
   2012 	 test -z "$ac_c_werror_flag" ||
   2013 	 test ! -s conftest.err
   2014        } && test -s conftest$ac_exeext && {
   2015 	 test "$cross_compiling" = yes ||
   2016 	 test -x conftest$ac_exeext
   2017        }; then :
   2018   ac_retval=0
   2019 else
   2020   $as_echo "$as_me: failed program was:" >&5
   2021 sed 's/^/| /' conftest.$ac_ext >&5
   2022 
   2023 	ac_retval=1
   2024 fi
   2025   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2026   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2027   # interfere with the next link command; also delete a directory that is
   2028   # left behind by Apple's compiler.  We do this before executing the actions.
   2029   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2030   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2031   as_fn_set_status $ac_retval
   2032 
   2033 } # ac_fn_c_try_link
   2034 
   2035 # ac_fn_c_check_func LINENO FUNC VAR
   2036 # ----------------------------------
   2037 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2038 ac_fn_c_check_func ()
   2039 {
   2040   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2042 $as_echo_n "checking for $2... " >&6; }
   2043 if eval \${$3+:} false; then :
   2044   $as_echo_n "(cached) " >&6
   2045 else
   2046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2047 /* end confdefs.h.  */
   2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2050 #define $2 innocuous_$2
   2051 
   2052 /* System header to define __stub macros and hopefully few prototypes,
   2053     which can conflict with char $2 (); below.
   2054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2055     <limits.h> exists even on freestanding compilers.  */
   2056 
   2057 #ifdef __STDC__
   2058 # include <limits.h>
   2059 #else
   2060 # include <assert.h>
   2061 #endif
   2062 
   2063 #undef $2
   2064 
   2065 /* Override any GCC internal prototype to avoid an error.
   2066    Use char because int might match the return type of a GCC
   2067    builtin and then its argument prototype would still apply.  */
   2068 #ifdef __cplusplus
   2069 extern "C"
   2070 #endif
   2071 char $2 ();
   2072 /* The GNU C library defines this for functions which it implements
   2073     to always fail with ENOSYS.  Some functions are actually named
   2074     something starting with __ and the normal name is an alias.  */
   2075 #if defined __stub_$2 || defined __stub___$2
   2076 choke me
   2077 #endif
   2078 
   2079 int
   2080 main ()
   2081 {
   2082 return $2 ();
   2083   ;
   2084   return 0;
   2085 }
   2086 _ACEOF
   2087 if ac_fn_c_try_link "$LINENO"; then :
   2088   eval "$3=yes"
   2089 else
   2090   eval "$3=no"
   2091 fi
   2092 rm -f core conftest.err conftest.$ac_objext \
   2093     conftest$ac_exeext conftest.$ac_ext
   2094 fi
   2095 eval ac_res=\$$3
   2096 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2097 $as_echo "$ac_res" >&6; }
   2098   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2099 
   2100 } # ac_fn_c_check_func
   2101 
   2102 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2103 # ---------------------------------------------
   2104 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2105 # accordingly.
   2106 ac_fn_c_check_decl ()
   2107 {
   2108   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2109   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2110   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2112 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2113 if eval \${$3+:} false; then :
   2114   $as_echo_n "(cached) " >&6
   2115 else
   2116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2117 /* end confdefs.h.  */
   2118 $4
   2119 int
   2120 main ()
   2121 {
   2122 #ifndef $as_decl_name
   2123 #ifdef __cplusplus
   2124   (void) $as_decl_use;
   2125 #else
   2126   (void) $as_decl_name;
   2127 #endif
   2128 #endif
   2129 
   2130   ;
   2131   return 0;
   2132 }
   2133 _ACEOF
   2134 if ac_fn_c_try_compile "$LINENO"; then :
   2135   eval "$3=yes"
   2136 else
   2137   eval "$3=no"
   2138 fi
   2139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2140 fi
   2141 eval ac_res=\$$3
   2142 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2143 $as_echo "$ac_res" >&6; }
   2144   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2145 
   2146 } # ac_fn_c_check_decl
   2147 
   2148 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2149 # ----------------------------------------------------
   2150 # Tries to find if the field MEMBER exists in type AGGR, after including
   2151 # INCLUDES, setting cache variable VAR accordingly.
   2152 ac_fn_c_check_member ()
   2153 {
   2154   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2156 $as_echo_n "checking for $2.$3... " >&6; }
   2157 if eval \${$4+:} false; then :
   2158   $as_echo_n "(cached) " >&6
   2159 else
   2160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2161 /* end confdefs.h.  */
   2162 $5
   2163 int
   2164 main ()
   2165 {
   2166 static $2 ac_aggr;
   2167 if (ac_aggr.$3)
   2168 return 0;
   2169   ;
   2170   return 0;
   2171 }
   2172 _ACEOF
   2173 if ac_fn_c_try_compile "$LINENO"; then :
   2174   eval "$4=yes"
   2175 else
   2176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2177 /* end confdefs.h.  */
   2178 $5
   2179 int
   2180 main ()
   2181 {
   2182 static $2 ac_aggr;
   2183 if (sizeof ac_aggr.$3)
   2184 return 0;
   2185   ;
   2186   return 0;
   2187 }
   2188 _ACEOF
   2189 if ac_fn_c_try_compile "$LINENO"; then :
   2190   eval "$4=yes"
   2191 else
   2192   eval "$4=no"
   2193 fi
   2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2195 fi
   2196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2197 fi
   2198 eval ac_res=\$$4
   2199 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2200 $as_echo "$ac_res" >&6; }
   2201   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2202 
   2203 } # ac_fn_c_check_member
   2204 cat >config.log <<_ACEOF
   2205 This file contains any messages produced by compilers while
   2206 running configure, to aid debugging if configure makes a mistake.
   2207 
   2208 It was created by libxcb $as_me 1.12, which was
   2209 generated by GNU Autoconf 2.69.  Invocation command line was
   2210 
   2211   $ $0 $@
   2212 
   2213 _ACEOF
   2214 exec 5>>config.log
   2215 {
   2216 cat <<_ASUNAME
   2217 ## --------- ##
   2218 ## Platform. ##
   2219 ## --------- ##
   2220 
   2221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2226 
   2227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2228 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2229 
   2230 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2231 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2233 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2234 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2235 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2236 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2237 
   2238 _ASUNAME
   2239 
   2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2241 for as_dir in $PATH
   2242 do
   2243   IFS=$as_save_IFS
   2244   test -z "$as_dir" && as_dir=.
   2245     $as_echo "PATH: $as_dir"
   2246   done
   2247 IFS=$as_save_IFS
   2248 
   2249 } >&5
   2250 
   2251 cat >&5 <<_ACEOF
   2252 
   2253 
   2254 ## ----------- ##
   2255 ## Core tests. ##
   2256 ## ----------- ##
   2257 
   2258 _ACEOF
   2259 
   2260 
   2261 # Keep a trace of the command line.
   2262 # Strip out --no-create and --no-recursion so they do not pile up.
   2263 # Strip out --silent because we don't want to record it for future runs.
   2264 # Also quote any args containing shell meta-characters.
   2265 # Make two passes to allow for proper duplicate-argument suppression.
   2266 ac_configure_args=
   2267 ac_configure_args0=
   2268 ac_configure_args1=
   2269 ac_must_keep_next=false
   2270 for ac_pass in 1 2
   2271 do
   2272   for ac_arg
   2273   do
   2274     case $ac_arg in
   2275     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2276     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2277     | -silent | --silent | --silen | --sile | --sil)
   2278       continue ;;
   2279     *\'*)
   2280       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2281     esac
   2282     case $ac_pass in
   2283     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2284     2)
   2285       as_fn_append ac_configure_args1 " '$ac_arg'"
   2286       if test $ac_must_keep_next = true; then
   2287 	ac_must_keep_next=false # Got value, back to normal.
   2288       else
   2289 	case $ac_arg in
   2290 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2291 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2292 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2293 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2294 	    case "$ac_configure_args0 " in
   2295 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2296 	    esac
   2297 	    ;;
   2298 	  -* ) ac_must_keep_next=true ;;
   2299 	esac
   2300       fi
   2301       as_fn_append ac_configure_args " '$ac_arg'"
   2302       ;;
   2303     esac
   2304   done
   2305 done
   2306 { ac_configure_args0=; unset ac_configure_args0;}
   2307 { ac_configure_args1=; unset ac_configure_args1;}
   2308 
   2309 # When interrupted or exit'd, cleanup temporary files, and complete
   2310 # config.log.  We remove comments because anyway the quotes in there
   2311 # would cause problems or look ugly.
   2312 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2313 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2314 trap 'exit_status=$?
   2315   # Save into config.log some information that might help in debugging.
   2316   {
   2317     echo
   2318 
   2319     $as_echo "## ---------------- ##
   2320 ## Cache variables. ##
   2321 ## ---------------- ##"
   2322     echo
   2323     # The following way of writing the cache mishandles newlines in values,
   2324 (
   2325   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2326     eval ac_val=\$$ac_var
   2327     case $ac_val in #(
   2328     *${as_nl}*)
   2329       case $ac_var in #(
   2330       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2331 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2332       esac
   2333       case $ac_var in #(
   2334       _ | IFS | as_nl) ;; #(
   2335       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2336       *) { eval $ac_var=; unset $ac_var;} ;;
   2337       esac ;;
   2338     esac
   2339   done
   2340   (set) 2>&1 |
   2341     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2342     *${as_nl}ac_space=\ *)
   2343       sed -n \
   2344 	"s/'\''/'\''\\\\'\'''\''/g;
   2345 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2346       ;; #(
   2347     *)
   2348       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2349       ;;
   2350     esac |
   2351     sort
   2352 )
   2353     echo
   2354 
   2355     $as_echo "## ----------------- ##
   2356 ## Output variables. ##
   2357 ## ----------------- ##"
   2358     echo
   2359     for ac_var in $ac_subst_vars
   2360     do
   2361       eval ac_val=\$$ac_var
   2362       case $ac_val in
   2363       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2364       esac
   2365       $as_echo "$ac_var='\''$ac_val'\''"
   2366     done | sort
   2367     echo
   2368 
   2369     if test -n "$ac_subst_files"; then
   2370       $as_echo "## ------------------- ##
   2371 ## File substitutions. ##
   2372 ## ------------------- ##"
   2373       echo
   2374       for ac_var in $ac_subst_files
   2375       do
   2376 	eval ac_val=\$$ac_var
   2377 	case $ac_val in
   2378 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2379 	esac
   2380 	$as_echo "$ac_var='\''$ac_val'\''"
   2381       done | sort
   2382       echo
   2383     fi
   2384 
   2385     if test -s confdefs.h; then
   2386       $as_echo "## ----------- ##
   2387 ## confdefs.h. ##
   2388 ## ----------- ##"
   2389       echo
   2390       cat confdefs.h
   2391       echo
   2392     fi
   2393     test "$ac_signal" != 0 &&
   2394       $as_echo "$as_me: caught signal $ac_signal"
   2395     $as_echo "$as_me: exit $exit_status"
   2396   } >&5
   2397   rm -f core *.core core.conftest.* &&
   2398     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2399     exit $exit_status
   2400 ' 0
   2401 for ac_signal in 1 2 13 15; do
   2402   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2403 done
   2404 ac_signal=0
   2405 
   2406 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2407 rm -f -r conftest* confdefs.h
   2408 
   2409 $as_echo "/* confdefs.h */" > confdefs.h
   2410 
   2411 # Predefined preprocessor variables.
   2412 
   2413 cat >>confdefs.h <<_ACEOF
   2414 #define PACKAGE_NAME "$PACKAGE_NAME"
   2415 _ACEOF
   2416 
   2417 cat >>confdefs.h <<_ACEOF
   2418 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2419 _ACEOF
   2420 
   2421 cat >>confdefs.h <<_ACEOF
   2422 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2423 _ACEOF
   2424 
   2425 cat >>confdefs.h <<_ACEOF
   2426 #define PACKAGE_STRING "$PACKAGE_STRING"
   2427 _ACEOF
   2428 
   2429 cat >>confdefs.h <<_ACEOF
   2430 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2431 _ACEOF
   2432 
   2433 cat >>confdefs.h <<_ACEOF
   2434 #define PACKAGE_URL "$PACKAGE_URL"
   2435 _ACEOF
   2436 
   2437 
   2438 # Let the site file select an alternate cache file if it wants to.
   2439 # Prefer an explicitly selected file to automatically selected ones.
   2440 ac_site_file1=NONE
   2441 ac_site_file2=NONE
   2442 if test -n "$CONFIG_SITE"; then
   2443   # We do not want a PATH search for config.site.
   2444   case $CONFIG_SITE in #((
   2445     -*)  ac_site_file1=./$CONFIG_SITE;;
   2446     */*) ac_site_file1=$CONFIG_SITE;;
   2447     *)   ac_site_file1=./$CONFIG_SITE;;
   2448   esac
   2449 elif test "x$prefix" != xNONE; then
   2450   ac_site_file1=$prefix/share/config.site
   2451   ac_site_file2=$prefix/etc/config.site
   2452 else
   2453   ac_site_file1=$ac_default_prefix/share/config.site
   2454   ac_site_file2=$ac_default_prefix/etc/config.site
   2455 fi
   2456 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2457 do
   2458   test "x$ac_site_file" = xNONE && continue
   2459   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2460     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2461 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2462     sed 's/^/| /' "$ac_site_file" >&5
   2463     . "$ac_site_file" \
   2464       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2466 as_fn_error $? "failed to load site script $ac_site_file
   2467 See \`config.log' for more details" "$LINENO" 5; }
   2468   fi
   2469 done
   2470 
   2471 if test -r "$cache_file"; then
   2472   # Some versions of bash will fail to source /dev/null (special files
   2473   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2474   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2475     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2476 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2477     case $cache_file in
   2478       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2479       *)                      . "./$cache_file";;
   2480     esac
   2481   fi
   2482 else
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2484 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2485   >$cache_file
   2486 fi
   2487 
   2488 # Check that the precious variables saved in the cache have kept the same
   2489 # value.
   2490 ac_cache_corrupted=false
   2491 for ac_var in $ac_precious_vars; do
   2492   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2493   eval ac_new_set=\$ac_env_${ac_var}_set
   2494   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2495   eval ac_new_val=\$ac_env_${ac_var}_value
   2496   case $ac_old_set,$ac_new_set in
   2497     set,)
   2498       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2499 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2500       ac_cache_corrupted=: ;;
   2501     ,set)
   2502       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2503 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2504       ac_cache_corrupted=: ;;
   2505     ,);;
   2506     *)
   2507       if test "x$ac_old_val" != "x$ac_new_val"; then
   2508 	# differences in whitespace do not lead to failure.
   2509 	ac_old_val_w=`echo x $ac_old_val`
   2510 	ac_new_val_w=`echo x $ac_new_val`
   2511 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2512 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2513 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2514 	  ac_cache_corrupted=:
   2515 	else
   2516 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2517 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2518 	  eval $ac_var=\$ac_old_val
   2519 	fi
   2520 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2521 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2522 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2523 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2524       fi;;
   2525   esac
   2526   # Pass precious variables to config.status.
   2527   if test "$ac_new_set" = set; then
   2528     case $ac_new_val in
   2529     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2530     *) ac_arg=$ac_var=$ac_new_val ;;
   2531     esac
   2532     case " $ac_configure_args " in
   2533       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2534       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2535     esac
   2536   fi
   2537 done
   2538 if $ac_cache_corrupted; then
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2541   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2542 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2543   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2544 fi
   2545 ## -------------------- ##
   2546 ## Main body of script. ##
   2547 ## -------------------- ##
   2548 
   2549 ac_ext=c
   2550 ac_cpp='$CPP $CPPFLAGS'
   2551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2554 
   2555 
   2556 ac_aux_dir=
   2557 for ac_dir in build-aux "$srcdir"/build-aux; do
   2558   if test -f "$ac_dir/install-sh"; then
   2559     ac_aux_dir=$ac_dir
   2560     ac_install_sh="$ac_aux_dir/install-sh -c"
   2561     break
   2562   elif test -f "$ac_dir/install.sh"; then
   2563     ac_aux_dir=$ac_dir
   2564     ac_install_sh="$ac_aux_dir/install.sh -c"
   2565     break
   2566   elif test -f "$ac_dir/shtool"; then
   2567     ac_aux_dir=$ac_dir
   2568     ac_install_sh="$ac_aux_dir/shtool install -c"
   2569     break
   2570   fi
   2571 done
   2572 if test -z "$ac_aux_dir"; then
   2573   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2574 fi
   2575 
   2576 # These three variables are undocumented and unsupported,
   2577 # and are intended to be withdrawn in a future Autoconf release.
   2578 # They can cause serious problems if a builder's source tree is in a directory
   2579 # whose full name contains unusual characters.
   2580 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2581 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2582 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2583 
   2584 
   2585 
   2586 
   2587 ac_config_headers="$ac_config_headers src/config.h"
   2588 
   2589 
   2590 # Initialize Automake
   2591 am__api_version='1.15'
   2592 
   2593 # Find a good install program.  We prefer a C program (faster),
   2594 # so one script is as good as another.  But avoid the broken or
   2595 # incompatible versions:
   2596 # SysV /etc/install, /usr/sbin/install
   2597 # SunOS /usr/etc/install
   2598 # IRIX /sbin/install
   2599 # AIX /bin/install
   2600 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2604 # OS/2's system install, which has a completely different semantic
   2605 # ./install, which can be erroneously created by make from ./install.sh.
   2606 # Reject install programs that cannot install multiple files.
   2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2608 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2609 if test -z "$INSTALL"; then
   2610 if ${ac_cv_path_install+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2614 for as_dir in $PATH
   2615 do
   2616   IFS=$as_save_IFS
   2617   test -z "$as_dir" && as_dir=.
   2618     # Account for people who put trailing slashes in PATH elements.
   2619 case $as_dir/ in #((
   2620   ./ | .// | /[cC]/* | \
   2621   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2622   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2623   /usr/ucb/* ) ;;
   2624   *)
   2625     # OSF1 and SCO ODT 3.0 have their own names for install.
   2626     # Don't use installbsd from OSF since it installs stuff as root
   2627     # by default.
   2628     for ac_prog in ginstall scoinst install; do
   2629       for ac_exec_ext in '' $ac_executable_extensions; do
   2630 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2631 	  if test $ac_prog = install &&
   2632 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2633 	    # AIX install.  It has an incompatible calling convention.
   2634 	    :
   2635 	  elif test $ac_prog = install &&
   2636 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2637 	    # program-specific install script used by HP pwplus--don't use.
   2638 	    :
   2639 	  else
   2640 	    rm -rf conftest.one conftest.two conftest.dir
   2641 	    echo one > conftest.one
   2642 	    echo two > conftest.two
   2643 	    mkdir conftest.dir
   2644 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2645 	      test -s conftest.one && test -s conftest.two &&
   2646 	      test -s conftest.dir/conftest.one &&
   2647 	      test -s conftest.dir/conftest.two
   2648 	    then
   2649 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2650 	      break 3
   2651 	    fi
   2652 	  fi
   2653 	fi
   2654       done
   2655     done
   2656     ;;
   2657 esac
   2658 
   2659   done
   2660 IFS=$as_save_IFS
   2661 
   2662 rm -rf conftest.one conftest.two conftest.dir
   2663 
   2664 fi
   2665   if test "${ac_cv_path_install+set}" = set; then
   2666     INSTALL=$ac_cv_path_install
   2667   else
   2668     # As a last resort, use the slow shell script.  Don't cache a
   2669     # value for INSTALL within a source directory, because that will
   2670     # break other packages using the cache if that directory is
   2671     # removed, or if the value is a relative name.
   2672     INSTALL=$ac_install_sh
   2673   fi
   2674 fi
   2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2676 $as_echo "$INSTALL" >&6; }
   2677 
   2678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2679 # It thinks the first close brace ends the variable substitution.
   2680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2681 
   2682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2683 
   2684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2685 
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2687 $as_echo_n "checking whether build environment is sane... " >&6; }
   2688 # Reject unsafe characters in $srcdir or the absolute working directory
   2689 # name.  Accept space and tab only in the latter.
   2690 am_lf='
   2691 '
   2692 case `pwd` in
   2693   *[\\\"\#\$\&\'\`$am_lf]*)
   2694     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2695 esac
   2696 case $srcdir in
   2697   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2698     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2699 esac
   2700 
   2701 # Do 'set' in a subshell so we don't clobber the current shell's
   2702 # arguments.  Must try -L first in case configure is actually a
   2703 # symlink; some systems play weird games with the mod time of symlinks
   2704 # (eg FreeBSD returns the mod time of the symlink's containing
   2705 # directory).
   2706 if (
   2707    am_has_slept=no
   2708    for am_try in 1 2; do
   2709      echo "timestamp, slept: $am_has_slept" > conftest.file
   2710      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2711      if test "$*" = "X"; then
   2712 	# -L didn't work.
   2713 	set X `ls -t "$srcdir/configure" conftest.file`
   2714      fi
   2715      if test "$*" != "X $srcdir/configure conftest.file" \
   2716 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2717 
   2718 	# If neither matched, then we have a broken ls.  This can happen
   2719 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2720 	# broken ls alias from the environment.  This has actually
   2721 	# happened.  Such a system could not be considered "sane".
   2722 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2723   alias in your environment" "$LINENO" 5
   2724      fi
   2725      if test "$2" = conftest.file || test $am_try -eq 2; then
   2726        break
   2727      fi
   2728      # Just in case.
   2729      sleep 1
   2730      am_has_slept=yes
   2731    done
   2732    test "$2" = conftest.file
   2733    )
   2734 then
   2735    # Ok.
   2736    :
   2737 else
   2738    as_fn_error $? "newly created file is older than distributed files!
   2739 Check your system clock" "$LINENO" 5
   2740 fi
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2742 $as_echo "yes" >&6; }
   2743 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2744 # generated files are strictly newer.
   2745 am_sleep_pid=
   2746 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2747   ( sleep 1 ) &
   2748   am_sleep_pid=$!
   2749 fi
   2750 
   2751 rm -f conftest.file
   2752 
   2753 test "$program_prefix" != NONE &&
   2754   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2755 # Use a double $ so make ignores it.
   2756 test "$program_suffix" != NONE &&
   2757   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2758 # Double any \ or $.
   2759 # By default was `s,x,x', remove it if useless.
   2760 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2761 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2762 
   2763 # Expand $ac_aux_dir to an absolute path.
   2764 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2765 
   2766 if test x"${MISSING+set}" != xset; then
   2767   case $am_aux_dir in
   2768   *\ * | *\	*)
   2769     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2770   *)
   2771     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2772   esac
   2773 fi
   2774 # Use eval to expand $SHELL
   2775 if eval "$MISSING --is-lightweight"; then
   2776   am_missing_run="$MISSING "
   2777 else
   2778   am_missing_run=
   2779   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2780 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2781 fi
   2782 
   2783 if test x"${install_sh+set}" != xset; then
   2784   case $am_aux_dir in
   2785   *\ * | *\	*)
   2786     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2787   *)
   2788     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2789   esac
   2790 fi
   2791 
   2792 # Installed binaries are usually stripped using 'strip' when the user
   2793 # run "make install-strip".  However 'strip' might not be the right
   2794 # tool to use in cross-compilation environments, therefore Automake
   2795 # will honor the 'STRIP' environment variable to overrule this program.
   2796 if test "$cross_compiling" != no; then
   2797   if test -n "$ac_tool_prefix"; then
   2798   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2799 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2801 $as_echo_n "checking for $ac_word... " >&6; }
   2802 if ${ac_cv_prog_STRIP+:} false; then :
   2803   $as_echo_n "(cached) " >&6
   2804 else
   2805   if test -n "$STRIP"; then
   2806   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2807 else
   2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2809 for as_dir in $PATH
   2810 do
   2811   IFS=$as_save_IFS
   2812   test -z "$as_dir" && as_dir=.
   2813     for ac_exec_ext in '' $ac_executable_extensions; do
   2814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2815     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2817     break 2
   2818   fi
   2819 done
   2820   done
   2821 IFS=$as_save_IFS
   2822 
   2823 fi
   2824 fi
   2825 STRIP=$ac_cv_prog_STRIP
   2826 if test -n "$STRIP"; then
   2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2828 $as_echo "$STRIP" >&6; }
   2829 else
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2831 $as_echo "no" >&6; }
   2832 fi
   2833 
   2834 
   2835 fi
   2836 if test -z "$ac_cv_prog_STRIP"; then
   2837   ac_ct_STRIP=$STRIP
   2838   # Extract the first word of "strip", so it can be a program name with args.
   2839 set dummy strip; ac_word=$2
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2841 $as_echo_n "checking for $ac_word... " >&6; }
   2842 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   if test -n "$ac_ct_STRIP"; then
   2846   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2847 else
   2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2849 for as_dir in $PATH
   2850 do
   2851   IFS=$as_save_IFS
   2852   test -z "$as_dir" && as_dir=.
   2853     for ac_exec_ext in '' $ac_executable_extensions; do
   2854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2855     ac_cv_prog_ac_ct_STRIP="strip"
   2856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2857     break 2
   2858   fi
   2859 done
   2860   done
   2861 IFS=$as_save_IFS
   2862 
   2863 fi
   2864 fi
   2865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2866 if test -n "$ac_ct_STRIP"; then
   2867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2868 $as_echo "$ac_ct_STRIP" >&6; }
   2869 else
   2870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2871 $as_echo "no" >&6; }
   2872 fi
   2873 
   2874   if test "x$ac_ct_STRIP" = x; then
   2875     STRIP=":"
   2876   else
   2877     case $cross_compiling:$ac_tool_warned in
   2878 yes:)
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2881 ac_tool_warned=yes ;;
   2882 esac
   2883     STRIP=$ac_ct_STRIP
   2884   fi
   2885 else
   2886   STRIP="$ac_cv_prog_STRIP"
   2887 fi
   2888 
   2889 fi
   2890 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2891 
   2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2893 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2894 if test -z "$MKDIR_P"; then
   2895   if ${ac_cv_path_mkdir+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2899 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2900 do
   2901   IFS=$as_save_IFS
   2902   test -z "$as_dir" && as_dir=.
   2903     for ac_prog in mkdir gmkdir; do
   2904 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2905 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2906 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2907 	     'mkdir (GNU coreutils) '* | \
   2908 	     'mkdir (coreutils) '* | \
   2909 	     'mkdir (fileutils) '4.1*)
   2910 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2911 	       break 3;;
   2912 	   esac
   2913 	 done
   2914        done
   2915   done
   2916 IFS=$as_save_IFS
   2917 
   2918 fi
   2919 
   2920   test -d ./--version && rmdir ./--version
   2921   if test "${ac_cv_path_mkdir+set}" = set; then
   2922     MKDIR_P="$ac_cv_path_mkdir -p"
   2923   else
   2924     # As a last resort, use the slow shell script.  Don't cache a
   2925     # value for MKDIR_P within a source directory, because that will
   2926     # break other packages using the cache if that directory is
   2927     # removed, or if the value is a relative name.
   2928     MKDIR_P="$ac_install_sh -d"
   2929   fi
   2930 fi
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2932 $as_echo "$MKDIR_P" >&6; }
   2933 
   2934 for ac_prog in gawk mawk nawk awk
   2935 do
   2936   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2937 set dummy $ac_prog; ac_word=$2
   2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2939 $as_echo_n "checking for $ac_word... " >&6; }
   2940 if ${ac_cv_prog_AWK+:} false; then :
   2941   $as_echo_n "(cached) " >&6
   2942 else
   2943   if test -n "$AWK"; then
   2944   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2945 else
   2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2947 for as_dir in $PATH
   2948 do
   2949   IFS=$as_save_IFS
   2950   test -z "$as_dir" && as_dir=.
   2951     for ac_exec_ext in '' $ac_executable_extensions; do
   2952   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2953     ac_cv_prog_AWK="$ac_prog"
   2954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2955     break 2
   2956   fi
   2957 done
   2958   done
   2959 IFS=$as_save_IFS
   2960 
   2961 fi
   2962 fi
   2963 AWK=$ac_cv_prog_AWK
   2964 if test -n "$AWK"; then
   2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2966 $as_echo "$AWK" >&6; }
   2967 else
   2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2969 $as_echo "no" >&6; }
   2970 fi
   2971 
   2972 
   2973   test -n "$AWK" && break
   2974 done
   2975 
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2977 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2978 set x ${MAKE-make}
   2979 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2980 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2981   $as_echo_n "(cached) " >&6
   2982 else
   2983   cat >conftest.make <<\_ACEOF
   2984 SHELL = /bin/sh
   2985 all:
   2986 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2987 _ACEOF
   2988 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2989 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2990   *@@@%%%=?*=@@@%%%*)
   2991     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2992   *)
   2993     eval ac_cv_prog_make_${ac_make}_set=no;;
   2994 esac
   2995 rm -f conftest.make
   2996 fi
   2997 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2999 $as_echo "yes" >&6; }
   3000   SET_MAKE=
   3001 else
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3003 $as_echo "no" >&6; }
   3004   SET_MAKE="MAKE=${MAKE-make}"
   3005 fi
   3006 
   3007 rm -rf .tst 2>/dev/null
   3008 mkdir .tst 2>/dev/null
   3009 if test -d .tst; then
   3010   am__leading_dot=.
   3011 else
   3012   am__leading_dot=_
   3013 fi
   3014 rmdir .tst 2>/dev/null
   3015 
   3016 # Check whether --enable-silent-rules was given.
   3017 if test "${enable_silent_rules+set}" = set; then :
   3018   enableval=$enable_silent_rules;
   3019 fi
   3020 
   3021 case $enable_silent_rules in # (((
   3022   yes) AM_DEFAULT_VERBOSITY=0;;
   3023    no) AM_DEFAULT_VERBOSITY=1;;
   3024     *) AM_DEFAULT_VERBOSITY=1;;
   3025 esac
   3026 am_make=${MAKE-make}
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3028 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3029 if ${am_cv_make_support_nested_variables+:} false; then :
   3030   $as_echo_n "(cached) " >&6
   3031 else
   3032   if $as_echo 'TRUE=$(BAR$(V))
   3033 BAR0=false
   3034 BAR1=true
   3035 V=1
   3036 am__doit:
   3037 	@$(TRUE)
   3038 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3039   am_cv_make_support_nested_variables=yes
   3040 else
   3041   am_cv_make_support_nested_variables=no
   3042 fi
   3043 fi
   3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3045 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3046 if test $am_cv_make_support_nested_variables = yes; then
   3047     AM_V='$(V)'
   3048   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3049 else
   3050   AM_V=$AM_DEFAULT_VERBOSITY
   3051   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3052 fi
   3053 AM_BACKSLASH='\'
   3054 
   3055 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3056   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3057   # is not polluted with repeated "-I."
   3058   am__isrc=' -I$(srcdir)'
   3059   # test to see if srcdir already configured
   3060   if test -f $srcdir/config.status; then
   3061     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3062   fi
   3063 fi
   3064 
   3065 # test whether we have cygpath
   3066 if test -z "$CYGPATH_W"; then
   3067   if (cygpath --version) >/dev/null 2>/dev/null; then
   3068     CYGPATH_W='cygpath -w'
   3069   else
   3070     CYGPATH_W=echo
   3071   fi
   3072 fi
   3073 
   3074 
   3075 # Define the identity of the package.
   3076  PACKAGE='libxcb'
   3077  VERSION='1.12'
   3078 
   3079 
   3080 cat >>confdefs.h <<_ACEOF
   3081 #define PACKAGE "$PACKAGE"
   3082 _ACEOF
   3083 
   3084 
   3085 cat >>confdefs.h <<_ACEOF
   3086 #define VERSION "$VERSION"
   3087 _ACEOF
   3088 
   3089 # Some tools Automake needs.
   3090 
   3091 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3092 
   3093 
   3094 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3095 
   3096 
   3097 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3098 
   3099 
   3100 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3101 
   3102 
   3103 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3104 
   3105 # For better backward compatibility.  To be removed once Automake 1.9.x
   3106 # dies out for good.  For more background, see:
   3107 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3108 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3109 mkdir_p='$(MKDIR_P)'
   3110 
   3111 # We need awk for the "check" target (and possibly the TAP driver).  The
   3112 # system "awk" is bad on some platforms.
   3113 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3114 # in the wild :-(  We should find a proper way to deprecate it ...
   3115 AMTAR='$${TAR-tar}'
   3116 
   3117 
   3118 # We'll loop over all known methods to create a tar archive until one works.
   3119 _am_tools='gnutar  pax cpio none'
   3120 
   3121 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 # POSIX will say in a future version that running "rm -f" with no argument
   3129 # is OK; and we want to be able to make that assumption in our Makefile
   3130 # recipes.  So use an aggressive probe to check that the usage we want is
   3131 # actually supported "in the wild" to an acceptable degree.
   3132 # See automake bug#10828.
   3133 # To make any issue more visible, cause the running configure to be aborted
   3134 # by default if the 'rm' program in use doesn't match our expectations; the
   3135 # user can still override this though.
   3136 if rm -f && rm -fr && rm -rf; then : OK; else
   3137   cat >&2 <<'END'
   3138 Oops!
   3139 
   3140 Your 'rm' program seems unable to run without file operands specified
   3141 on the command line, even when the '-f' option is present.  This is contrary
   3142 to the behaviour of most rm programs out there, and not conforming with
   3143 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3144 
   3145 Please tell bug-automake@gnu.org about your system, including the value
   3146 of your $PATH and any error possibly output before this message.  This
   3147 can help us improve future automake versions.
   3148 
   3149 END
   3150   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3151     echo 'Configuration will proceed anyway, since you have set the' >&2
   3152     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3153     echo >&2
   3154   else
   3155     cat >&2 <<'END'
   3156 Aborting the configuration process, to ensure you take notice of the issue.
   3157 
   3158 You can download and install GNU coreutils to get an 'rm' implementation
   3159 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3160 
   3161 If you want to complete the configuration process using your problematic
   3162 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3163 to "yes", and re-run configure.
   3164 
   3165 END
   3166     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3167   fi
   3168 fi
   3169 
   3170 
   3171 
   3172 
   3173 
   3174 
   3175 
   3176         if test -n "$PYTHON"; then
   3177       # If the user set $PYTHON, use it and don't search something else.
   3178       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
   3179 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
   3180       prog="import sys
   3181 # split strings by '.' and convert to numeric.  Append some zeros
   3182 # because we need at least 4 digits for the hex conversion.
   3183 # map returns an iterator in Python 3.0 and a list in 2.x
   3184 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3185 minverhex = 0
   3186 # xrange is not present in Python 3.0 and range returns an iterator
   3187 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3188 sys.exit(sys.hexversion < minverhex)"
   3189   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   3190    ($PYTHON -c "$prog") >&5 2>&5
   3191    ac_status=$?
   3192    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3193    (exit $ac_status); }; then :
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3195 $as_echo "yes" >&6; }
   3196 else
   3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 $as_echo "no" >&6; }
   3199 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   3200 fi
   3201       am_display_PYTHON=$PYTHON
   3202     else
   3203       # Otherwise, try each interpreter until we find one that satisfies
   3204       # VERSION.
   3205       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
   3206 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
   3207 if ${am_cv_pathless_PYTHON+:} false; then :
   3208   $as_echo_n "(cached) " >&6
   3209 else
   3210 
   3211 	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
   3212 	  test "$am_cv_pathless_PYTHON" = none && break
   3213 	  prog="import sys
   3214 # split strings by '.' and convert to numeric.  Append some zeros
   3215 # because we need at least 4 digits for the hex conversion.
   3216 # map returns an iterator in Python 3.0 and a list in 2.x
   3217 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3218 minverhex = 0
   3219 # xrange is not present in Python 3.0 and range returns an iterator
   3220 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3221 sys.exit(sys.hexversion < minverhex)"
   3222   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   3223    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   3224    ac_status=$?
   3225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3226    (exit $ac_status); }; then :
   3227   break
   3228 fi
   3229 	done
   3230 fi
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   3232 $as_echo "$am_cv_pathless_PYTHON" >&6; }
   3233       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   3234       if test "$am_cv_pathless_PYTHON" = none; then
   3235 	PYTHON=:
   3236       else
   3237         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   3238 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3240 $as_echo_n "checking for $ac_word... " >&6; }
   3241 if ${ac_cv_path_PYTHON+:} false; then :
   3242   $as_echo_n "(cached) " >&6
   3243 else
   3244   case $PYTHON in
   3245   [\\/]* | ?:[\\/]*)
   3246   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   3247   ;;
   3248   *)
   3249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3250 for as_dir in $PATH
   3251 do
   3252   IFS=$as_save_IFS
   3253   test -z "$as_dir" && as_dir=.
   3254     for ac_exec_ext in '' $ac_executable_extensions; do
   3255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3256     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
   3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3258     break 2
   3259   fi
   3260 done
   3261   done
   3262 IFS=$as_save_IFS
   3263 
   3264   ;;
   3265 esac
   3266 fi
   3267 PYTHON=$ac_cv_path_PYTHON
   3268 if test -n "$PYTHON"; then
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   3270 $as_echo "$PYTHON" >&6; }
   3271 else
   3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3273 $as_echo "no" >&6; }
   3274 fi
   3275 
   3276 
   3277       fi
   3278       am_display_PYTHON=$am_cv_pathless_PYTHON
   3279     fi
   3280 
   3281 
   3282   if test "$PYTHON" = :; then
   3283       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   3284   else
   3285 
   3286 
   3287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   3288 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
   3289 if ${am_cv_python_version+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
   3293 fi
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   3295 $as_echo "$am_cv_python_version" >&6; }
   3296   PYTHON_VERSION=$am_cv_python_version
   3297 
   3298 
   3299 
   3300   PYTHON_PREFIX='${prefix}'
   3301 
   3302   PYTHON_EXEC_PREFIX='${exec_prefix}'
   3303 
   3304 
   3305 
   3306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   3307 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
   3308 if ${am_cv_python_platform+:} false; then :
   3309   $as_echo_n "(cached) " >&6
   3310 else
   3311   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   3312 fi
   3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   3314 $as_echo "$am_cv_python_platform" >&6; }
   3315   PYTHON_PLATFORM=$am_cv_python_platform
   3316 
   3317 
   3318   # Just factor out some code duplication.
   3319   am_python_setup_sysconfig="\
   3320 import sys
   3321 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   3322 # with python 3.x.  See automake bug#10227.
   3323 try:
   3324     import sysconfig
   3325 except ImportError:
   3326     can_use_sysconfig = 0
   3327 else:
   3328     can_use_sysconfig = 1
   3329 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   3330 # <https://github.com/pypa/virtualenv/issues/118>
   3331 try:
   3332     from platform import python_implementation
   3333     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   3334         can_use_sysconfig = 0
   3335 except ImportError:
   3336     pass"
   3337 
   3338 
   3339             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
   3340 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
   3341 if ${am_cv_python_pythondir+:} false; then :
   3342   $as_echo_n "(cached) " >&6
   3343 else
   3344   if test "x$prefix" = xNONE
   3345      then
   3346        am_py_prefix=$ac_default_prefix
   3347      else
   3348        am_py_prefix=$prefix
   3349      fi
   3350      am_cv_python_pythondir=`$PYTHON -c "
   3351 $am_python_setup_sysconfig
   3352 if can_use_sysconfig:
   3353     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   3354 else:
   3355     from distutils import sysconfig
   3356     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   3357 sys.stdout.write(sitedir)"`
   3358      case $am_cv_python_pythondir in
   3359      $am_py_prefix*)
   3360        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   3361        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
   3362        ;;
   3363      *)
   3364        case $am_py_prefix in
   3365          /usr|/System*) ;;
   3366          *)
   3367 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
   3368 	  ;;
   3369        esac
   3370        ;;
   3371      esac
   3372 
   3373 fi
   3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   3375 $as_echo "$am_cv_python_pythondir" >&6; }
   3376   pythondir=$am_cv_python_pythondir
   3377 
   3378 
   3379 
   3380   pkgpythondir=\${pythondir}/$PACKAGE
   3381 
   3382 
   3383         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
   3384 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
   3385 if ${am_cv_python_pyexecdir+:} false; then :
   3386   $as_echo_n "(cached) " >&6
   3387 else
   3388   if test "x$exec_prefix" = xNONE
   3389      then
   3390        am_py_exec_prefix=$am_py_prefix
   3391      else
   3392        am_py_exec_prefix=$exec_prefix
   3393      fi
   3394      am_cv_python_pyexecdir=`$PYTHON -c "
   3395 $am_python_setup_sysconfig
   3396 if can_use_sysconfig:
   3397     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
   3398 else:
   3399     from distutils import sysconfig
   3400     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
   3401 sys.stdout.write(sitedir)"`
   3402      case $am_cv_python_pyexecdir in
   3403      $am_py_exec_prefix*)
   3404        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   3405        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
   3406        ;;
   3407      *)
   3408        case $am_py_exec_prefix in
   3409          /usr|/System*) ;;
   3410          *)
   3411 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
   3412 	   ;;
   3413        esac
   3414        ;;
   3415      esac
   3416 
   3417 fi
   3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   3419 $as_echo "$am_cv_python_pyexecdir" >&6; }
   3420   pyexecdir=$am_cv_python_pyexecdir
   3421 
   3422 
   3423 
   3424   pkgpyexecdir=\${pyexecdir}/$PACKAGE
   3425 
   3426 
   3427 
   3428   fi
   3429 
   3430 
   3431 
   3432 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3433 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   3434 # to avoid autoconf errors.
   3435 DEPDIR="${am__leading_dot}deps"
   3436 
   3437 ac_config_commands="$ac_config_commands depfiles"
   3438 
   3439 
   3440 am_make=${MAKE-make}
   3441 cat > confinc << 'END'
   3442 am__doit:
   3443 	@echo this is the am__doit target
   3444 .PHONY: am__doit
   3445 END
   3446 # If we don't find an include directive, just comment out the code.
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3448 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3449 am__include="#"
   3450 am__quote=
   3451 _am_result=none
   3452 # First try GNU make style include.
   3453 echo "include confinc" > confmf
   3454 # Ignore all kinds of additional output from 'make'.
   3455 case `$am_make -s -f confmf 2> /dev/null` in #(
   3456 *the\ am__doit\ target*)
   3457   am__include=include
   3458   am__quote=
   3459   _am_result=GNU
   3460   ;;
   3461 esac
   3462 # Now try BSD make style include.
   3463 if test "$am__include" = "#"; then
   3464    echo '.include "confinc"' > confmf
   3465    case `$am_make -s -f confmf 2> /dev/null` in #(
   3466    *the\ am__doit\ target*)
   3467      am__include=.include
   3468      am__quote="\""
   3469      _am_result=BSD
   3470      ;;
   3471    esac
   3472 fi
   3473 
   3474 
   3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3476 $as_echo "$_am_result" >&6; }
   3477 rm -f confinc confmf
   3478 
   3479 # Check whether --enable-dependency-tracking was given.
   3480 if test "${enable_dependency_tracking+set}" = set; then :
   3481   enableval=$enable_dependency_tracking;
   3482 fi
   3483 
   3484 if test "x$enable_dependency_tracking" != xno; then
   3485   am_depcomp="$ac_aux_dir/depcomp"
   3486   AMDEPBACKSLASH='\'
   3487   am__nodep='_no'
   3488 fi
   3489  if test "x$enable_dependency_tracking" != xno; then
   3490   AMDEP_TRUE=
   3491   AMDEP_FALSE='#'
   3492 else
   3493   AMDEP_TRUE='#'
   3494   AMDEP_FALSE=
   3495 fi
   3496 
   3497 
   3498 ac_ext=c
   3499 ac_cpp='$CPP $CPPFLAGS'
   3500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3503 if test -n "$ac_tool_prefix"; then
   3504   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3505 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3507 $as_echo_n "checking for $ac_word... " >&6; }
   3508 if ${ac_cv_prog_CC+:} false; then :
   3509   $as_echo_n "(cached) " >&6
   3510 else
   3511   if test -n "$CC"; then
   3512   ac_cv_prog_CC="$CC" # Let the user override the test.
   3513 else
   3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3515 for as_dir in $PATH
   3516 do
   3517   IFS=$as_save_IFS
   3518   test -z "$as_dir" && as_dir=.
   3519     for ac_exec_ext in '' $ac_executable_extensions; do
   3520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3521     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3523     break 2
   3524   fi
   3525 done
   3526   done
   3527 IFS=$as_save_IFS
   3528 
   3529 fi
   3530 fi
   3531 CC=$ac_cv_prog_CC
   3532 if test -n "$CC"; then
   3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3534 $as_echo "$CC" >&6; }
   3535 else
   3536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3537 $as_echo "no" >&6; }
   3538 fi
   3539 
   3540 
   3541 fi
   3542 if test -z "$ac_cv_prog_CC"; then
   3543   ac_ct_CC=$CC
   3544   # Extract the first word of "gcc", so it can be a program name with args.
   3545 set dummy gcc; ac_word=$2
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3547 $as_echo_n "checking for $ac_word... " >&6; }
   3548 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3549   $as_echo_n "(cached) " >&6
   3550 else
   3551   if test -n "$ac_ct_CC"; then
   3552   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3553 else
   3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3555 for as_dir in $PATH
   3556 do
   3557   IFS=$as_save_IFS
   3558   test -z "$as_dir" && as_dir=.
   3559     for ac_exec_ext in '' $ac_executable_extensions; do
   3560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3561     ac_cv_prog_ac_ct_CC="gcc"
   3562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3563     break 2
   3564   fi
   3565 done
   3566   done
   3567 IFS=$as_save_IFS
   3568 
   3569 fi
   3570 fi
   3571 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3572 if test -n "$ac_ct_CC"; then
   3573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3574 $as_echo "$ac_ct_CC" >&6; }
   3575 else
   3576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3577 $as_echo "no" >&6; }
   3578 fi
   3579 
   3580   if test "x$ac_ct_CC" = x; then
   3581     CC=""
   3582   else
   3583     case $cross_compiling:$ac_tool_warned in
   3584 yes:)
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3587 ac_tool_warned=yes ;;
   3588 esac
   3589     CC=$ac_ct_CC
   3590   fi
   3591 else
   3592   CC="$ac_cv_prog_CC"
   3593 fi
   3594 
   3595 if test -z "$CC"; then
   3596           if test -n "$ac_tool_prefix"; then
   3597     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3598 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3600 $as_echo_n "checking for $ac_word... " >&6; }
   3601 if ${ac_cv_prog_CC+:} false; then :
   3602   $as_echo_n "(cached) " >&6
   3603 else
   3604   if test -n "$CC"; then
   3605   ac_cv_prog_CC="$CC" # Let the user override the test.
   3606 else
   3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3608 for as_dir in $PATH
   3609 do
   3610   IFS=$as_save_IFS
   3611   test -z "$as_dir" && as_dir=.
   3612     for ac_exec_ext in '' $ac_executable_extensions; do
   3613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3614     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3616     break 2
   3617   fi
   3618 done
   3619   done
   3620 IFS=$as_save_IFS
   3621 
   3622 fi
   3623 fi
   3624 CC=$ac_cv_prog_CC
   3625 if test -n "$CC"; then
   3626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3627 $as_echo "$CC" >&6; }
   3628 else
   3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3630 $as_echo "no" >&6; }
   3631 fi
   3632 
   3633 
   3634   fi
   3635 fi
   3636 if test -z "$CC"; then
   3637   # Extract the first word of "cc", so it can be a program name with args.
   3638 set dummy cc; ac_word=$2
   3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3640 $as_echo_n "checking for $ac_word... " >&6; }
   3641 if ${ac_cv_prog_CC+:} false; then :
   3642   $as_echo_n "(cached) " >&6
   3643 else
   3644   if test -n "$CC"; then
   3645   ac_cv_prog_CC="$CC" # Let the user override the test.
   3646 else
   3647   ac_prog_rejected=no
   3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3649 for as_dir in $PATH
   3650 do
   3651   IFS=$as_save_IFS
   3652   test -z "$as_dir" && as_dir=.
   3653     for ac_exec_ext in '' $ac_executable_extensions; do
   3654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3655     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3656        ac_prog_rejected=yes
   3657        continue
   3658      fi
   3659     ac_cv_prog_CC="cc"
   3660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3661     break 2
   3662   fi
   3663 done
   3664   done
   3665 IFS=$as_save_IFS
   3666 
   3667 if test $ac_prog_rejected = yes; then
   3668   # We found a bogon in the path, so make sure we never use it.
   3669   set dummy $ac_cv_prog_CC
   3670   shift
   3671   if test $# != 0; then
   3672     # We chose a different compiler from the bogus one.
   3673     # However, it has the same basename, so the bogon will be chosen
   3674     # first if we set CC to just the basename; use the full file name.
   3675     shift
   3676     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3677   fi
   3678 fi
   3679 fi
   3680 fi
   3681 CC=$ac_cv_prog_CC
   3682 if test -n "$CC"; then
   3683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3684 $as_echo "$CC" >&6; }
   3685 else
   3686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3687 $as_echo "no" >&6; }
   3688 fi
   3689 
   3690 
   3691 fi
   3692 if test -z "$CC"; then
   3693   if test -n "$ac_tool_prefix"; then
   3694   for ac_prog in cl.exe
   3695   do
   3696     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3697 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3699 $as_echo_n "checking for $ac_word... " >&6; }
   3700 if ${ac_cv_prog_CC+:} false; then :
   3701   $as_echo_n "(cached) " >&6
   3702 else
   3703   if test -n "$CC"; then
   3704   ac_cv_prog_CC="$CC" # Let the user override the test.
   3705 else
   3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3707 for as_dir in $PATH
   3708 do
   3709   IFS=$as_save_IFS
   3710   test -z "$as_dir" && as_dir=.
   3711     for ac_exec_ext in '' $ac_executable_extensions; do
   3712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3713     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3715     break 2
   3716   fi
   3717 done
   3718   done
   3719 IFS=$as_save_IFS
   3720 
   3721 fi
   3722 fi
   3723 CC=$ac_cv_prog_CC
   3724 if test -n "$CC"; then
   3725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3726 $as_echo "$CC" >&6; }
   3727 else
   3728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3729 $as_echo "no" >&6; }
   3730 fi
   3731 
   3732 
   3733     test -n "$CC" && break
   3734   done
   3735 fi
   3736 if test -z "$CC"; then
   3737   ac_ct_CC=$CC
   3738   for ac_prog in cl.exe
   3739 do
   3740   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3741 set dummy $ac_prog; ac_word=$2
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3743 $as_echo_n "checking for $ac_word... " >&6; }
   3744 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3745   $as_echo_n "(cached) " >&6
   3746 else
   3747   if test -n "$ac_ct_CC"; then
   3748   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3749 else
   3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH
   3752 do
   3753   IFS=$as_save_IFS
   3754   test -z "$as_dir" && as_dir=.
   3755     for ac_exec_ext in '' $ac_executable_extensions; do
   3756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3757     ac_cv_prog_ac_ct_CC="$ac_prog"
   3758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3759     break 2
   3760   fi
   3761 done
   3762   done
   3763 IFS=$as_save_IFS
   3764 
   3765 fi
   3766 fi
   3767 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3768 if test -n "$ac_ct_CC"; then
   3769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3770 $as_echo "$ac_ct_CC" >&6; }
   3771 else
   3772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3773 $as_echo "no" >&6; }
   3774 fi
   3775 
   3776 
   3777   test -n "$ac_ct_CC" && break
   3778 done
   3779 
   3780   if test "x$ac_ct_CC" = x; then
   3781     CC=""
   3782   else
   3783     case $cross_compiling:$ac_tool_warned in
   3784 yes:)
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3787 ac_tool_warned=yes ;;
   3788 esac
   3789     CC=$ac_ct_CC
   3790   fi
   3791 fi
   3792 
   3793 fi
   3794 
   3795 
   3796 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3798 as_fn_error $? "no acceptable C compiler found in \$PATH
   3799 See \`config.log' for more details" "$LINENO" 5; }
   3800 
   3801 # Provide some information about the compiler.
   3802 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3803 set X $ac_compile
   3804 ac_compiler=$2
   3805 for ac_option in --version -v -V -qversion; do
   3806   { { ac_try="$ac_compiler $ac_option >&5"
   3807 case "(($ac_try" in
   3808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3809   *) ac_try_echo=$ac_try;;
   3810 esac
   3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3812 $as_echo "$ac_try_echo"; } >&5
   3813   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3814   ac_status=$?
   3815   if test -s conftest.err; then
   3816     sed '10a\
   3817 ... rest of stderr output deleted ...
   3818          10q' conftest.err >conftest.er1
   3819     cat conftest.er1 >&5
   3820   fi
   3821   rm -f conftest.er1 conftest.err
   3822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3823   test $ac_status = 0; }
   3824 done
   3825 
   3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3827 /* end confdefs.h.  */
   3828 
   3829 int
   3830 main ()
   3831 {
   3832 
   3833   ;
   3834   return 0;
   3835 }
   3836 _ACEOF
   3837 ac_clean_files_save=$ac_clean_files
   3838 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3839 # Try to create an executable without -o first, disregard a.out.
   3840 # It will help us diagnose broken compilers, and finding out an intuition
   3841 # of exeext.
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3843 $as_echo_n "checking whether the C compiler works... " >&6; }
   3844 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3845 
   3846 # The possible output files:
   3847 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3848 
   3849 ac_rmfiles=
   3850 for ac_file in $ac_files
   3851 do
   3852   case $ac_file in
   3853     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3854     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3855   esac
   3856 done
   3857 rm -f $ac_rmfiles
   3858 
   3859 if { { ac_try="$ac_link_default"
   3860 case "(($ac_try" in
   3861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3862   *) ac_try_echo=$ac_try;;
   3863 esac
   3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3865 $as_echo "$ac_try_echo"; } >&5
   3866   (eval "$ac_link_default") 2>&5
   3867   ac_status=$?
   3868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3869   test $ac_status = 0; }; then :
   3870   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3871 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3872 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3873 # so that the user can short-circuit this test for compilers unknown to
   3874 # Autoconf.
   3875 for ac_file in $ac_files ''
   3876 do
   3877   test -f "$ac_file" || continue
   3878   case $ac_file in
   3879     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3880 	;;
   3881     [ab].out )
   3882 	# We found the default executable, but exeext='' is most
   3883 	# certainly right.
   3884 	break;;
   3885     *.* )
   3886 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3887 	then :; else
   3888 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3889 	fi
   3890 	# We set ac_cv_exeext here because the later test for it is not
   3891 	# safe: cross compilers may not add the suffix if given an `-o'
   3892 	# argument, so we may need to know it at that point already.
   3893 	# Even if this section looks crufty: it has the advantage of
   3894 	# actually working.
   3895 	break;;
   3896     * )
   3897 	break;;
   3898   esac
   3899 done
   3900 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3901 
   3902 else
   3903   ac_file=''
   3904 fi
   3905 if test -z "$ac_file"; then :
   3906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3907 $as_echo "no" >&6; }
   3908 $as_echo "$as_me: failed program was:" >&5
   3909 sed 's/^/| /' conftest.$ac_ext >&5
   3910 
   3911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3913 as_fn_error 77 "C compiler cannot create executables
   3914 See \`config.log' for more details" "$LINENO" 5; }
   3915 else
   3916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3917 $as_echo "yes" >&6; }
   3918 fi
   3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3922 $as_echo "$ac_file" >&6; }
   3923 ac_exeext=$ac_cv_exeext
   3924 
   3925 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3926 ac_clean_files=$ac_clean_files_save
   3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3928 $as_echo_n "checking for suffix of executables... " >&6; }
   3929 if { { ac_try="$ac_link"
   3930 case "(($ac_try" in
   3931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3932   *) ac_try_echo=$ac_try;;
   3933 esac
   3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3935 $as_echo "$ac_try_echo"; } >&5
   3936   (eval "$ac_link") 2>&5
   3937   ac_status=$?
   3938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3939   test $ac_status = 0; }; then :
   3940   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3941 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3942 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3943 # `rm'.
   3944 for ac_file in conftest.exe conftest conftest.*; do
   3945   test -f "$ac_file" || continue
   3946   case $ac_file in
   3947     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3948     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3949 	  break;;
   3950     * ) break;;
   3951   esac
   3952 done
   3953 else
   3954   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3956 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3957 See \`config.log' for more details" "$LINENO" 5; }
   3958 fi
   3959 rm -f conftest conftest$ac_cv_exeext
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3961 $as_echo "$ac_cv_exeext" >&6; }
   3962 
   3963 rm -f conftest.$ac_ext
   3964 EXEEXT=$ac_cv_exeext
   3965 ac_exeext=$EXEEXT
   3966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3967 /* end confdefs.h.  */
   3968 #include <stdio.h>
   3969 int
   3970 main ()
   3971 {
   3972 FILE *f = fopen ("conftest.out", "w");
   3973  return ferror (f) || fclose (f) != 0;
   3974 
   3975   ;
   3976   return 0;
   3977 }
   3978 _ACEOF
   3979 ac_clean_files="$ac_clean_files conftest.out"
   3980 # Check that the compiler produces executables we can run.  If not, either
   3981 # the compiler is broken, or we cross compile.
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3983 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3984 if test "$cross_compiling" != yes; then
   3985   { { ac_try="$ac_link"
   3986 case "(($ac_try" in
   3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3988   *) ac_try_echo=$ac_try;;
   3989 esac
   3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3991 $as_echo "$ac_try_echo"; } >&5
   3992   (eval "$ac_link") 2>&5
   3993   ac_status=$?
   3994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3995   test $ac_status = 0; }
   3996   if { ac_try='./conftest$ac_cv_exeext'
   3997   { { case "(($ac_try" in
   3998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3999   *) ac_try_echo=$ac_try;;
   4000 esac
   4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4002 $as_echo "$ac_try_echo"; } >&5
   4003   (eval "$ac_try") 2>&5
   4004   ac_status=$?
   4005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4006   test $ac_status = 0; }; }; then
   4007     cross_compiling=no
   4008   else
   4009     if test "$cross_compiling" = maybe; then
   4010 	cross_compiling=yes
   4011     else
   4012 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4014 as_fn_error $? "cannot run C compiled programs.
   4015 If you meant to cross compile, use \`--host'.
   4016 See \`config.log' for more details" "$LINENO" 5; }
   4017     fi
   4018   fi
   4019 fi
   4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4021 $as_echo "$cross_compiling" >&6; }
   4022 
   4023 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4024 ac_clean_files=$ac_clean_files_save
   4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4026 $as_echo_n "checking for suffix of object files... " >&6; }
   4027 if ${ac_cv_objext+:} false; then :
   4028   $as_echo_n "(cached) " >&6
   4029 else
   4030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4031 /* end confdefs.h.  */
   4032 
   4033 int
   4034 main ()
   4035 {
   4036 
   4037   ;
   4038   return 0;
   4039 }
   4040 _ACEOF
   4041 rm -f conftest.o conftest.obj
   4042 if { { ac_try="$ac_compile"
   4043 case "(($ac_try" in
   4044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4045   *) ac_try_echo=$ac_try;;
   4046 esac
   4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4048 $as_echo "$ac_try_echo"; } >&5
   4049   (eval "$ac_compile") 2>&5
   4050   ac_status=$?
   4051   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4052   test $ac_status = 0; }; then :
   4053   for ac_file in conftest.o conftest.obj conftest.*; do
   4054   test -f "$ac_file" || continue;
   4055   case $ac_file in
   4056     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4057     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4058        break;;
   4059   esac
   4060 done
   4061 else
   4062   $as_echo "$as_me: failed program was:" >&5
   4063 sed 's/^/| /' conftest.$ac_ext >&5
   4064 
   4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4067 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4068 See \`config.log' for more details" "$LINENO" 5; }
   4069 fi
   4070 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4071 fi
   4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4073 $as_echo "$ac_cv_objext" >&6; }
   4074 OBJEXT=$ac_cv_objext
   4075 ac_objext=$OBJEXT
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4077 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4078 if ${ac_cv_c_compiler_gnu+:} false; then :
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4082 /* end confdefs.h.  */
   4083 
   4084 int
   4085 main ()
   4086 {
   4087 #ifndef __GNUC__
   4088        choke me
   4089 #endif
   4090 
   4091   ;
   4092   return 0;
   4093 }
   4094 _ACEOF
   4095 if ac_fn_c_try_compile "$LINENO"; then :
   4096   ac_compiler_gnu=yes
   4097 else
   4098   ac_compiler_gnu=no
   4099 fi
   4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4101 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4102 
   4103 fi
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4105 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4106 if test $ac_compiler_gnu = yes; then
   4107   GCC=yes
   4108 else
   4109   GCC=
   4110 fi
   4111 ac_test_CFLAGS=${CFLAGS+set}
   4112 ac_save_CFLAGS=$CFLAGS
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4114 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4115 if ${ac_cv_prog_cc_g+:} false; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118   ac_save_c_werror_flag=$ac_c_werror_flag
   4119    ac_c_werror_flag=yes
   4120    ac_cv_prog_cc_g=no
   4121    CFLAGS="-g"
   4122    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 
   4125 int
   4126 main ()
   4127 {
   4128 
   4129   ;
   4130   return 0;
   4131 }
   4132 _ACEOF
   4133 if ac_fn_c_try_compile "$LINENO"; then :
   4134   ac_cv_prog_cc_g=yes
   4135 else
   4136   CFLAGS=""
   4137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4138 /* end confdefs.h.  */
   4139 
   4140 int
   4141 main ()
   4142 {
   4143 
   4144   ;
   4145   return 0;
   4146 }
   4147 _ACEOF
   4148 if ac_fn_c_try_compile "$LINENO"; then :
   4149 
   4150 else
   4151   ac_c_werror_flag=$ac_save_c_werror_flag
   4152 	 CFLAGS="-g"
   4153 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4154 /* end confdefs.h.  */
   4155 
   4156 int
   4157 main ()
   4158 {
   4159 
   4160   ;
   4161   return 0;
   4162 }
   4163 _ACEOF
   4164 if ac_fn_c_try_compile "$LINENO"; then :
   4165   ac_cv_prog_cc_g=yes
   4166 fi
   4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4168 fi
   4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4170 fi
   4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4172    ac_c_werror_flag=$ac_save_c_werror_flag
   4173 fi
   4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4175 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4176 if test "$ac_test_CFLAGS" = set; then
   4177   CFLAGS=$ac_save_CFLAGS
   4178 elif test $ac_cv_prog_cc_g = yes; then
   4179   if test "$GCC" = yes; then
   4180     CFLAGS="-g -O2"
   4181   else
   4182     CFLAGS="-g"
   4183   fi
   4184 else
   4185   if test "$GCC" = yes; then
   4186     CFLAGS="-O2"
   4187   else
   4188     CFLAGS=
   4189   fi
   4190 fi
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4192 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4193 if ${ac_cv_prog_cc_c89+:} false; then :
   4194   $as_echo_n "(cached) " >&6
   4195 else
   4196   ac_cv_prog_cc_c89=no
   4197 ac_save_CC=$CC
   4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4199 /* end confdefs.h.  */
   4200 #include <stdarg.h>
   4201 #include <stdio.h>
   4202 struct stat;
   4203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4204 struct buf { int x; };
   4205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4206 static char *e (p, i)
   4207      char **p;
   4208      int i;
   4209 {
   4210   return p[i];
   4211 }
   4212 static char *f (char * (*g) (char **, int), char **p, ...)
   4213 {
   4214   char *s;
   4215   va_list v;
   4216   va_start (v,p);
   4217   s = g (p, va_arg (v,int));
   4218   va_end (v);
   4219   return s;
   4220 }
   4221 
   4222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4223    function prototypes and stuff, but not '\xHH' hex character constants.
   4224    These don't provoke an error unfortunately, instead are silently treated
   4225    as 'x'.  The following induces an error, until -std is added to get
   4226    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4227    array size at least.  It's necessary to write '\x00'==0 to get something
   4228    that's true only with -std.  */
   4229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4230 
   4231 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4232    inside strings and character constants.  */
   4233 #define FOO(x) 'x'
   4234 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4235 
   4236 int test (int i, double x);
   4237 struct s1 {int (*f) (int a);};
   4238 struct s2 {int (*f) (double a);};
   4239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4240 int argc;
   4241 char **argv;
   4242 int
   4243 main ()
   4244 {
   4245 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4246   ;
   4247   return 0;
   4248 }
   4249 _ACEOF
   4250 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4251 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4252 do
   4253   CC="$ac_save_CC $ac_arg"
   4254   if ac_fn_c_try_compile "$LINENO"; then :
   4255   ac_cv_prog_cc_c89=$ac_arg
   4256 fi
   4257 rm -f core conftest.err conftest.$ac_objext
   4258   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4259 done
   4260 rm -f conftest.$ac_ext
   4261 CC=$ac_save_CC
   4262 
   4263 fi
   4264 # AC_CACHE_VAL
   4265 case "x$ac_cv_prog_cc_c89" in
   4266   x)
   4267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4268 $as_echo "none needed" >&6; } ;;
   4269   xno)
   4270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4271 $as_echo "unsupported" >&6; } ;;
   4272   *)
   4273     CC="$CC $ac_cv_prog_cc_c89"
   4274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4275 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4276 esac
   4277 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4278 
   4279 fi
   4280 
   4281 ac_ext=c
   4282 ac_cpp='$CPP $CPPFLAGS'
   4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4286 
   4287 ac_ext=c
   4288 ac_cpp='$CPP $CPPFLAGS'
   4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4293 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4294 if ${am_cv_prog_cc_c_o+:} false; then :
   4295   $as_echo_n "(cached) " >&6
   4296 else
   4297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4298 /* end confdefs.h.  */
   4299 
   4300 int
   4301 main ()
   4302 {
   4303 
   4304   ;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308   # Make sure it works both with $CC and with simple cc.
   4309   # Following AC_PROG_CC_C_O, we do the test twice because some
   4310   # compilers refuse to overwrite an existing .o file with -o,
   4311   # though they will create one.
   4312   am_cv_prog_cc_c_o=yes
   4313   for am_i in 1 2; do
   4314     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4315    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4316    ac_status=$?
   4317    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4318    (exit $ac_status); } \
   4319          && test -f conftest2.$ac_objext; then
   4320       : OK
   4321     else
   4322       am_cv_prog_cc_c_o=no
   4323       break
   4324     fi
   4325   done
   4326   rm -f core conftest*
   4327   unset am_i
   4328 fi
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4330 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4331 if test "$am_cv_prog_cc_c_o" != yes; then
   4332    # Losing compiler, so override with the script.
   4333    # FIXME: It is wrong to rewrite CC.
   4334    # But if we don't then we get into trouble of one sort or another.
   4335    # A longer-term fix would be to have automake use am__CC in this case,
   4336    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4337    CC="$am_aux_dir/compile $CC"
   4338 fi
   4339 ac_ext=c
   4340 ac_cpp='$CPP $CPPFLAGS'
   4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4344 
   4345 
   4346 depcc="$CC"   am_compiler_list=
   4347 
   4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4349 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4350 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4351   $as_echo_n "(cached) " >&6
   4352 else
   4353   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4354   # We make a subdir and do the tests there.  Otherwise we can end up
   4355   # making bogus files that we don't know about and never remove.  For
   4356   # instance it was reported that on HP-UX the gcc test will end up
   4357   # making a dummy file named 'D' -- because '-MD' means "put the output
   4358   # in D".
   4359   rm -rf conftest.dir
   4360   mkdir conftest.dir
   4361   # Copy depcomp to subdir because otherwise we won't find it if we're
   4362   # using a relative directory.
   4363   cp "$am_depcomp" conftest.dir
   4364   cd conftest.dir
   4365   # We will build objects and dependencies in a subdirectory because
   4366   # it helps to detect inapplicable dependency modes.  For instance
   4367   # both Tru64's cc and ICC support -MD to output dependencies as a
   4368   # side effect of compilation, but ICC will put the dependencies in
   4369   # the current directory while Tru64 will put them in the object
   4370   # directory.
   4371   mkdir sub
   4372 
   4373   am_cv_CC_dependencies_compiler_type=none
   4374   if test "$am_compiler_list" = ""; then
   4375      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4376   fi
   4377   am__universal=false
   4378   case " $depcc " in #(
   4379      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4380      esac
   4381 
   4382   for depmode in $am_compiler_list; do
   4383     # Setup a source with many dependencies, because some compilers
   4384     # like to wrap large dependency lists on column 80 (with \), and
   4385     # we should not choose a depcomp mode which is confused by this.
   4386     #
   4387     # We need to recreate these files for each test, as the compiler may
   4388     # overwrite some of them when testing with obscure command lines.
   4389     # This happens at least with the AIX C compiler.
   4390     : > sub/conftest.c
   4391     for i in 1 2 3 4 5 6; do
   4392       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4393       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4394       # Solaris 10 /bin/sh.
   4395       echo '/* dummy */' > sub/conftst$i.h
   4396     done
   4397     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4398 
   4399     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4400     # mode.  It turns out that the SunPro C++ compiler does not properly
   4401     # handle '-M -o', and we need to detect this.  Also, some Intel
   4402     # versions had trouble with output in subdirs.
   4403     am__obj=sub/conftest.${OBJEXT-o}
   4404     am__minus_obj="-o $am__obj"
   4405     case $depmode in
   4406     gcc)
   4407       # This depmode causes a compiler race in universal mode.
   4408       test "$am__universal" = false || continue
   4409       ;;
   4410     nosideeffect)
   4411       # After this tag, mechanisms are not by side-effect, so they'll
   4412       # only be used when explicitly requested.
   4413       if test "x$enable_dependency_tracking" = xyes; then
   4414 	continue
   4415       else
   4416 	break
   4417       fi
   4418       ;;
   4419     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4420       # This compiler won't grok '-c -o', but also, the minuso test has
   4421       # not run yet.  These depmodes are late enough in the game, and
   4422       # so weak that their functioning should not be impacted.
   4423       am__obj=conftest.${OBJEXT-o}
   4424       am__minus_obj=
   4425       ;;
   4426     none) break ;;
   4427     esac
   4428     if depmode=$depmode \
   4429        source=sub/conftest.c object=$am__obj \
   4430        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4431        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4432          >/dev/null 2>conftest.err &&
   4433        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4434        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4435        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4436        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4437       # icc doesn't choke on unknown options, it will just issue warnings
   4438       # or remarks (even with -Werror).  So we grep stderr for any message
   4439       # that says an option was ignored or not supported.
   4440       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4441       #   icc: Command line warning: ignoring option '-M'; no argument required
   4442       # The diagnosis changed in icc 8.0:
   4443       #   icc: Command line remark: option '-MP' not supported
   4444       if (grep 'ignoring option' conftest.err ||
   4445           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4446         am_cv_CC_dependencies_compiler_type=$depmode
   4447         break
   4448       fi
   4449     fi
   4450   done
   4451 
   4452   cd ..
   4453   rm -rf conftest.dir
   4454 else
   4455   am_cv_CC_dependencies_compiler_type=none
   4456 fi
   4457 
   4458 fi
   4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4460 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4461 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4462 
   4463  if
   4464   test "x$enable_dependency_tracking" != xno \
   4465   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4466   am__fastdepCC_TRUE=
   4467   am__fastdepCC_FALSE='#'
   4468 else
   4469   am__fastdepCC_TRUE='#'
   4470   am__fastdepCC_FALSE=
   4471 fi
   4472 
   4473 
   4474 
   4475 ac_ext=c
   4476 ac_cpp='$CPP $CPPFLAGS'
   4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4481 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4482 # On Suns, sometimes $CPP names a directory.
   4483 if test -n "$CPP" && test -d "$CPP"; then
   4484   CPP=
   4485 fi
   4486 if test -z "$CPP"; then
   4487   if ${ac_cv_prog_CPP+:} false; then :
   4488   $as_echo_n "(cached) " >&6
   4489 else
   4490       # Double quotes because CPP needs to be expanded
   4491     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4492     do
   4493       ac_preproc_ok=false
   4494 for ac_c_preproc_warn_flag in '' yes
   4495 do
   4496   # Use a header file that comes with gcc, so configuring glibc
   4497   # with a fresh cross-compiler works.
   4498   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4499   # <limits.h> exists even on freestanding compilers.
   4500   # On the NeXT, cc -E runs the code through the compiler's parser,
   4501   # not just through cpp. "Syntax error" is here to catch this case.
   4502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4503 /* end confdefs.h.  */
   4504 #ifdef __STDC__
   4505 # include <limits.h>
   4506 #else
   4507 # include <assert.h>
   4508 #endif
   4509 		     Syntax error
   4510 _ACEOF
   4511 if ac_fn_c_try_cpp "$LINENO"; then :
   4512 
   4513 else
   4514   # Broken: fails on valid input.
   4515 continue
   4516 fi
   4517 rm -f conftest.err conftest.i conftest.$ac_ext
   4518 
   4519   # OK, works on sane cases.  Now check whether nonexistent headers
   4520   # can be detected and how.
   4521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4522 /* end confdefs.h.  */
   4523 #include <ac_nonexistent.h>
   4524 _ACEOF
   4525 if ac_fn_c_try_cpp "$LINENO"; then :
   4526   # Broken: success on invalid input.
   4527 continue
   4528 else
   4529   # Passes both tests.
   4530 ac_preproc_ok=:
   4531 break
   4532 fi
   4533 rm -f conftest.err conftest.i conftest.$ac_ext
   4534 
   4535 done
   4536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4537 rm -f conftest.i conftest.err conftest.$ac_ext
   4538 if $ac_preproc_ok; then :
   4539   break
   4540 fi
   4541 
   4542     done
   4543     ac_cv_prog_CPP=$CPP
   4544 
   4545 fi
   4546   CPP=$ac_cv_prog_CPP
   4547 else
   4548   ac_cv_prog_CPP=$CPP
   4549 fi
   4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4551 $as_echo "$CPP" >&6; }
   4552 ac_preproc_ok=false
   4553 for ac_c_preproc_warn_flag in '' yes
   4554 do
   4555   # Use a header file that comes with gcc, so configuring glibc
   4556   # with a fresh cross-compiler works.
   4557   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4558   # <limits.h> exists even on freestanding compilers.
   4559   # On the NeXT, cc -E runs the code through the compiler's parser,
   4560   # not just through cpp. "Syntax error" is here to catch this case.
   4561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4562 /* end confdefs.h.  */
   4563 #ifdef __STDC__
   4564 # include <limits.h>
   4565 #else
   4566 # include <assert.h>
   4567 #endif
   4568 		     Syntax error
   4569 _ACEOF
   4570 if ac_fn_c_try_cpp "$LINENO"; then :
   4571 
   4572 else
   4573   # Broken: fails on valid input.
   4574 continue
   4575 fi
   4576 rm -f conftest.err conftest.i conftest.$ac_ext
   4577 
   4578   # OK, works on sane cases.  Now check whether nonexistent headers
   4579   # can be detected and how.
   4580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4581 /* end confdefs.h.  */
   4582 #include <ac_nonexistent.h>
   4583 _ACEOF
   4584 if ac_fn_c_try_cpp "$LINENO"; then :
   4585   # Broken: success on invalid input.
   4586 continue
   4587 else
   4588   # Passes both tests.
   4589 ac_preproc_ok=:
   4590 break
   4591 fi
   4592 rm -f conftest.err conftest.i conftest.$ac_ext
   4593 
   4594 done
   4595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4596 rm -f conftest.i conftest.err conftest.$ac_ext
   4597 if $ac_preproc_ok; then :
   4598 
   4599 else
   4600   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4602 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4603 See \`config.log' for more details" "$LINENO" 5; }
   4604 fi
   4605 
   4606 ac_ext=c
   4607 ac_cpp='$CPP $CPPFLAGS'
   4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4611 
   4612 
   4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4615 if ${ac_cv_path_GREP+:} false; then :
   4616   $as_echo_n "(cached) " >&6
   4617 else
   4618   if test -z "$GREP"; then
   4619   ac_path_GREP_found=false
   4620   # Loop through the user's path and test for each of PROGNAME-LIST
   4621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4623 do
   4624   IFS=$as_save_IFS
   4625   test -z "$as_dir" && as_dir=.
   4626     for ac_prog in grep ggrep; do
   4627     for ac_exec_ext in '' $ac_executable_extensions; do
   4628       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4629       as_fn_executable_p "$ac_path_GREP" || continue
   4630 # Check for GNU ac_path_GREP and select it if it is found.
   4631   # Check for GNU $ac_path_GREP
   4632 case `"$ac_path_GREP" --version 2>&1` in
   4633 *GNU*)
   4634   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4635 *)
   4636   ac_count=0
   4637   $as_echo_n 0123456789 >"conftest.in"
   4638   while :
   4639   do
   4640     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4641     mv "conftest.tmp" "conftest.in"
   4642     cp "conftest.in" "conftest.nl"
   4643     $as_echo 'GREP' >> "conftest.nl"
   4644     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4645     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4646     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4647     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4648       # Best one so far, save it but keep looking for a better one
   4649       ac_cv_path_GREP="$ac_path_GREP"
   4650       ac_path_GREP_max=$ac_count
   4651     fi
   4652     # 10*(2^10) chars as input seems more than enough
   4653     test $ac_count -gt 10 && break
   4654   done
   4655   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4656 esac
   4657 
   4658       $ac_path_GREP_found && break 3
   4659     done
   4660   done
   4661   done
   4662 IFS=$as_save_IFS
   4663   if test -z "$ac_cv_path_GREP"; then
   4664     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4665   fi
   4666 else
   4667   ac_cv_path_GREP=$GREP
   4668 fi
   4669 
   4670 fi
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4672 $as_echo "$ac_cv_path_GREP" >&6; }
   4673  GREP="$ac_cv_path_GREP"
   4674 
   4675 
   4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4677 $as_echo_n "checking for egrep... " >&6; }
   4678 if ${ac_cv_path_EGREP+:} false; then :
   4679   $as_echo_n "(cached) " >&6
   4680 else
   4681   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4682    then ac_cv_path_EGREP="$GREP -E"
   4683    else
   4684      if test -z "$EGREP"; then
   4685   ac_path_EGREP_found=false
   4686   # Loop through the user's path and test for each of PROGNAME-LIST
   4687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4688 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4689 do
   4690   IFS=$as_save_IFS
   4691   test -z "$as_dir" && as_dir=.
   4692     for ac_prog in egrep; do
   4693     for ac_exec_ext in '' $ac_executable_extensions; do
   4694       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4695       as_fn_executable_p "$ac_path_EGREP" || continue
   4696 # Check for GNU ac_path_EGREP and select it if it is found.
   4697   # Check for GNU $ac_path_EGREP
   4698 case `"$ac_path_EGREP" --version 2>&1` in
   4699 *GNU*)
   4700   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4701 *)
   4702   ac_count=0
   4703   $as_echo_n 0123456789 >"conftest.in"
   4704   while :
   4705   do
   4706     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4707     mv "conftest.tmp" "conftest.in"
   4708     cp "conftest.in" "conftest.nl"
   4709     $as_echo 'EGREP' >> "conftest.nl"
   4710     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4711     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4712     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4713     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4714       # Best one so far, save it but keep looking for a better one
   4715       ac_cv_path_EGREP="$ac_path_EGREP"
   4716       ac_path_EGREP_max=$ac_count
   4717     fi
   4718     # 10*(2^10) chars as input seems more than enough
   4719     test $ac_count -gt 10 && break
   4720   done
   4721   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4722 esac
   4723 
   4724       $ac_path_EGREP_found && break 3
   4725     done
   4726   done
   4727   done
   4728 IFS=$as_save_IFS
   4729   if test -z "$ac_cv_path_EGREP"; then
   4730     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4731   fi
   4732 else
   4733   ac_cv_path_EGREP=$EGREP
   4734 fi
   4735 
   4736    fi
   4737 fi
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4739 $as_echo "$ac_cv_path_EGREP" >&6; }
   4740  EGREP="$ac_cv_path_EGREP"
   4741 
   4742 
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4744 $as_echo_n "checking for ANSI C header files... " >&6; }
   4745 if ${ac_cv_header_stdc+:} false; then :
   4746   $as_echo_n "(cached) " >&6
   4747 else
   4748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4749 /* end confdefs.h.  */
   4750 #include <stdlib.h>
   4751 #include <stdarg.h>
   4752 #include <string.h>
   4753 #include <float.h>
   4754 
   4755 int
   4756 main ()
   4757 {
   4758 
   4759   ;
   4760   return 0;
   4761 }
   4762 _ACEOF
   4763 if ac_fn_c_try_compile "$LINENO"; then :
   4764   ac_cv_header_stdc=yes
   4765 else
   4766   ac_cv_header_stdc=no
   4767 fi
   4768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4769 
   4770 if test $ac_cv_header_stdc = yes; then
   4771   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4773 /* end confdefs.h.  */
   4774 #include <string.h>
   4775 
   4776 _ACEOF
   4777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4778   $EGREP "memchr" >/dev/null 2>&1; then :
   4779 
   4780 else
   4781   ac_cv_header_stdc=no
   4782 fi
   4783 rm -f conftest*
   4784 
   4785 fi
   4786 
   4787 if test $ac_cv_header_stdc = yes; then
   4788   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4790 /* end confdefs.h.  */
   4791 #include <stdlib.h>
   4792 
   4793 _ACEOF
   4794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4795   $EGREP "free" >/dev/null 2>&1; then :
   4796 
   4797 else
   4798   ac_cv_header_stdc=no
   4799 fi
   4800 rm -f conftest*
   4801 
   4802 fi
   4803 
   4804 if test $ac_cv_header_stdc = yes; then
   4805   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4806   if test "$cross_compiling" = yes; then :
   4807   :
   4808 else
   4809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4810 /* end confdefs.h.  */
   4811 #include <ctype.h>
   4812 #include <stdlib.h>
   4813 #if ((' ' & 0x0FF) == 0x020)
   4814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4816 #else
   4817 # define ISLOWER(c) \
   4818 		   (('a' <= (c) && (c) <= 'i') \
   4819 		     || ('j' <= (c) && (c) <= 'r') \
   4820 		     || ('s' <= (c) && (c) <= 'z'))
   4821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4822 #endif
   4823 
   4824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4825 int
   4826 main ()
   4827 {
   4828   int i;
   4829   for (i = 0; i < 256; i++)
   4830     if (XOR (islower (i), ISLOWER (i))
   4831 	|| toupper (i) != TOUPPER (i))
   4832       return 2;
   4833   return 0;
   4834 }
   4835 _ACEOF
   4836 if ac_fn_c_try_run "$LINENO"; then :
   4837 
   4838 else
   4839   ac_cv_header_stdc=no
   4840 fi
   4841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4842   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4843 fi
   4844 
   4845 fi
   4846 fi
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4848 $as_echo "$ac_cv_header_stdc" >&6; }
   4849 if test $ac_cv_header_stdc = yes; then
   4850 
   4851 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4852 
   4853 fi
   4854 
   4855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4857 		  inttypes.h stdint.h unistd.h
   4858 do :
   4859   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4860 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4861 "
   4862 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4863   cat >>confdefs.h <<_ACEOF
   4864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4865 _ACEOF
   4866 
   4867 fi
   4868 
   4869 done
   4870 
   4871 
   4872 
   4873   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4874 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4875   MINIX=yes
   4876 else
   4877   MINIX=
   4878 fi
   4879 
   4880 
   4881   if test "$MINIX" = yes; then
   4882 
   4883 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4884 
   4885 
   4886 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4887 
   4888 
   4889 $as_echo "#define _MINIX 1" >>confdefs.h
   4890 
   4891   fi
   4892 
   4893 
   4894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4895 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4896 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4897   $as_echo_n "(cached) " >&6
   4898 else
   4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4900 /* end confdefs.h.  */
   4901 
   4902 #         define __EXTENSIONS__ 1
   4903           $ac_includes_default
   4904 int
   4905 main ()
   4906 {
   4907 
   4908   ;
   4909   return 0;
   4910 }
   4911 _ACEOF
   4912 if ac_fn_c_try_compile "$LINENO"; then :
   4913   ac_cv_safe_to_define___extensions__=yes
   4914 else
   4915   ac_cv_safe_to_define___extensions__=no
   4916 fi
   4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4918 fi
   4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4920 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4921   test $ac_cv_safe_to_define___extensions__ = yes &&
   4922     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4923 
   4924   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4925 
   4926   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4927 
   4928   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4929 
   4930   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4931 
   4932 
   4933 
   4934 # Initialize libtool
   4935 
   4936 case `pwd` in
   4937   *\ * | *\	*)
   4938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4939 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4940 esac
   4941 
   4942 
   4943 
   4944 macro_version='2.4.6'
   4945 macro_revision='2.4.6'
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 ltmain=$ac_aux_dir/ltmain.sh
   4960 
   4961 # Make sure we can run config.sub.
   4962 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4963   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4964 
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4966 $as_echo_n "checking build system type... " >&6; }
   4967 if ${ac_cv_build+:} false; then :
   4968   $as_echo_n "(cached) " >&6
   4969 else
   4970   ac_build_alias=$build_alias
   4971 test "x$ac_build_alias" = x &&
   4972   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4973 test "x$ac_build_alias" = x &&
   4974   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4975 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4976   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4977 
   4978 fi
   4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4980 $as_echo "$ac_cv_build" >&6; }
   4981 case $ac_cv_build in
   4982 *-*-*) ;;
   4983 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4984 esac
   4985 build=$ac_cv_build
   4986 ac_save_IFS=$IFS; IFS='-'
   4987 set x $ac_cv_build
   4988 shift
   4989 build_cpu=$1
   4990 build_vendor=$2
   4991 shift; shift
   4992 # Remember, the first character of IFS is used to create $*,
   4993 # except with old shells:
   4994 build_os=$*
   4995 IFS=$ac_save_IFS
   4996 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4997 
   4998 
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5000 $as_echo_n "checking host system type... " >&6; }
   5001 if ${ac_cv_host+:} false; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   if test "x$host_alias" = x; then
   5005   ac_cv_host=$ac_cv_build
   5006 else
   5007   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5008     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5009 fi
   5010 
   5011 fi
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5013 $as_echo "$ac_cv_host" >&6; }
   5014 case $ac_cv_host in
   5015 *-*-*) ;;
   5016 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5017 esac
   5018 host=$ac_cv_host
   5019 ac_save_IFS=$IFS; IFS='-'
   5020 set x $ac_cv_host
   5021 shift
   5022 host_cpu=$1
   5023 host_vendor=$2
   5024 shift; shift
   5025 # Remember, the first character of IFS is used to create $*,
   5026 # except with old shells:
   5027 host_os=$*
   5028 IFS=$ac_save_IFS
   5029 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5030 
   5031 
   5032 # Backslashify metacharacters that are still active within
   5033 # double-quoted strings.
   5034 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5035 
   5036 # Same as above, but do not quote variable references.
   5037 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5038 
   5039 # Sed substitution to delay expansion of an escaped shell variable in a
   5040 # double_quote_subst'ed string.
   5041 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5042 
   5043 # Sed substitution to delay expansion of an escaped single quote.
   5044 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5045 
   5046 # Sed substitution to avoid accidental globbing in evaled expressions
   5047 no_glob_subst='s/\*/\\\*/g'
   5048 
   5049 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5050 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5051 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5052 
   5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5054 $as_echo_n "checking how to print strings... " >&6; }
   5055 # Test print first, because it will be a builtin if present.
   5056 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5057    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5058   ECHO='print -r --'
   5059 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5060   ECHO='printf %s\n'
   5061 else
   5062   # Use this function as a fallback that always works.
   5063   func_fallback_echo ()
   5064   {
   5065     eval 'cat <<_LTECHO_EOF
   5066 $1
   5067 _LTECHO_EOF'
   5068   }
   5069   ECHO='func_fallback_echo'
   5070 fi
   5071 
   5072 # func_echo_all arg...
   5073 # Invoke $ECHO with all args, space-separated.
   5074 func_echo_all ()
   5075 {
   5076     $ECHO ""
   5077 }
   5078 
   5079 case $ECHO in
   5080   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5081 $as_echo "printf" >&6; } ;;
   5082   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5083 $as_echo "print -r" >&6; } ;;
   5084   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5085 $as_echo "cat" >&6; } ;;
   5086 esac
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5102 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5103 if ${ac_cv_path_SED+:} false; then :
   5104   $as_echo_n "(cached) " >&6
   5105 else
   5106             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5107      for ac_i in 1 2 3 4 5 6 7; do
   5108        ac_script="$ac_script$as_nl$ac_script"
   5109      done
   5110      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5111      { ac_script=; unset ac_script;}
   5112      if test -z "$SED"; then
   5113   ac_path_SED_found=false
   5114   # Loop through the user's path and test for each of PROGNAME-LIST
   5115   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5116 for as_dir in $PATH
   5117 do
   5118   IFS=$as_save_IFS
   5119   test -z "$as_dir" && as_dir=.
   5120     for ac_prog in sed gsed; do
   5121     for ac_exec_ext in '' $ac_executable_extensions; do
   5122       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5123       as_fn_executable_p "$ac_path_SED" || continue
   5124 # Check for GNU ac_path_SED and select it if it is found.
   5125   # Check for GNU $ac_path_SED
   5126 case `"$ac_path_SED" --version 2>&1` in
   5127 *GNU*)
   5128   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5129 *)
   5130   ac_count=0
   5131   $as_echo_n 0123456789 >"conftest.in"
   5132   while :
   5133   do
   5134     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5135     mv "conftest.tmp" "conftest.in"
   5136     cp "conftest.in" "conftest.nl"
   5137     $as_echo '' >> "conftest.nl"
   5138     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5139     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5140     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5141     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5142       # Best one so far, save it but keep looking for a better one
   5143       ac_cv_path_SED="$ac_path_SED"
   5144       ac_path_SED_max=$ac_count
   5145     fi
   5146     # 10*(2^10) chars as input seems more than enough
   5147     test $ac_count -gt 10 && break
   5148   done
   5149   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5150 esac
   5151 
   5152       $ac_path_SED_found && break 3
   5153     done
   5154   done
   5155   done
   5156 IFS=$as_save_IFS
   5157   if test -z "$ac_cv_path_SED"; then
   5158     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5159   fi
   5160 else
   5161   ac_cv_path_SED=$SED
   5162 fi
   5163 
   5164 fi
   5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5166 $as_echo "$ac_cv_path_SED" >&6; }
   5167  SED="$ac_cv_path_SED"
   5168   rm -f conftest.sed
   5169 
   5170 test -z "$SED" && SED=sed
   5171 Xsed="$SED -e 1s/^X//"
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5184 $as_echo_n "checking for fgrep... " >&6; }
   5185 if ${ac_cv_path_FGREP+:} false; then :
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5189    then ac_cv_path_FGREP="$GREP -F"
   5190    else
   5191      if test -z "$FGREP"; then
   5192   ac_path_FGREP_found=false
   5193   # Loop through the user's path and test for each of PROGNAME-LIST
   5194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5196 do
   5197   IFS=$as_save_IFS
   5198   test -z "$as_dir" && as_dir=.
   5199     for ac_prog in fgrep; do
   5200     for ac_exec_ext in '' $ac_executable_extensions; do
   5201       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5202       as_fn_executable_p "$ac_path_FGREP" || continue
   5203 # Check for GNU ac_path_FGREP and select it if it is found.
   5204   # Check for GNU $ac_path_FGREP
   5205 case `"$ac_path_FGREP" --version 2>&1` in
   5206 *GNU*)
   5207   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5208 *)
   5209   ac_count=0
   5210   $as_echo_n 0123456789 >"conftest.in"
   5211   while :
   5212   do
   5213     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5214     mv "conftest.tmp" "conftest.in"
   5215     cp "conftest.in" "conftest.nl"
   5216     $as_echo 'FGREP' >> "conftest.nl"
   5217     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5218     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5219     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5220     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5221       # Best one so far, save it but keep looking for a better one
   5222       ac_cv_path_FGREP="$ac_path_FGREP"
   5223       ac_path_FGREP_max=$ac_count
   5224     fi
   5225     # 10*(2^10) chars as input seems more than enough
   5226     test $ac_count -gt 10 && break
   5227   done
   5228   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5229 esac
   5230 
   5231       $ac_path_FGREP_found && break 3
   5232     done
   5233   done
   5234   done
   5235 IFS=$as_save_IFS
   5236   if test -z "$ac_cv_path_FGREP"; then
   5237     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5238   fi
   5239 else
   5240   ac_cv_path_FGREP=$FGREP
   5241 fi
   5242 
   5243    fi
   5244 fi
   5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5246 $as_echo "$ac_cv_path_FGREP" >&6; }
   5247  FGREP="$ac_cv_path_FGREP"
   5248 
   5249 
   5250 test -z "$GREP" && GREP=grep
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 # Check whether --with-gnu-ld was given.
   5271 if test "${with_gnu_ld+set}" = set; then :
   5272   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5273 else
   5274   with_gnu_ld=no
   5275 fi
   5276 
   5277 ac_prog=ld
   5278 if test yes = "$GCC"; then
   5279   # Check if gcc -print-prog-name=ld gives a path.
   5280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5281 $as_echo_n "checking for ld used by $CC... " >&6; }
   5282   case $host in
   5283   *-*-mingw*)
   5284     # gcc leaves a trailing carriage return, which upsets mingw
   5285     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5286   *)
   5287     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5288   esac
   5289   case $ac_prog in
   5290     # Accept absolute paths.
   5291     [\\/]* | ?:[\\/]*)
   5292       re_direlt='/[^/][^/]*/\.\./'
   5293       # Canonicalize the pathname of ld
   5294       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5295       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5296 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5297       done
   5298       test -z "$LD" && LD=$ac_prog
   5299       ;;
   5300   "")
   5301     # If it fails, then pretend we aren't using GCC.
   5302     ac_prog=ld
   5303     ;;
   5304   *)
   5305     # If it is relative, then search for the first ld in PATH.
   5306     with_gnu_ld=unknown
   5307     ;;
   5308   esac
   5309 elif test yes = "$with_gnu_ld"; then
   5310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5311 $as_echo_n "checking for GNU ld... " >&6; }
   5312 else
   5313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5314 $as_echo_n "checking for non-GNU ld... " >&6; }
   5315 fi
   5316 if ${lt_cv_path_LD+:} false; then :
   5317   $as_echo_n "(cached) " >&6
   5318 else
   5319   if test -z "$LD"; then
   5320   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5321   for ac_dir in $PATH; do
   5322     IFS=$lt_save_ifs
   5323     test -z "$ac_dir" && ac_dir=.
   5324     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5325       lt_cv_path_LD=$ac_dir/$ac_prog
   5326       # Check to see if the program is GNU ld.  I'd rather use --version,
   5327       # but apparently some variants of GNU ld only accept -v.
   5328       # Break only if it was the GNU/non-GNU ld that we prefer.
   5329       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5330       *GNU* | *'with BFD'*)
   5331 	test no != "$with_gnu_ld" && break
   5332 	;;
   5333       *)
   5334 	test yes != "$with_gnu_ld" && break
   5335 	;;
   5336       esac
   5337     fi
   5338   done
   5339   IFS=$lt_save_ifs
   5340 else
   5341   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5342 fi
   5343 fi
   5344 
   5345 LD=$lt_cv_path_LD
   5346 if test -n "$LD"; then
   5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5348 $as_echo "$LD" >&6; }
   5349 else
   5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5351 $as_echo "no" >&6; }
   5352 fi
   5353 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5355 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5356 if ${lt_cv_prog_gnu_ld+:} false; then :
   5357   $as_echo_n "(cached) " >&6
   5358 else
   5359   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5360 case `$LD -v 2>&1 </dev/null` in
   5361 *GNU* | *'with BFD'*)
   5362   lt_cv_prog_gnu_ld=yes
   5363   ;;
   5364 *)
   5365   lt_cv_prog_gnu_ld=no
   5366   ;;
   5367 esac
   5368 fi
   5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5370 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5371 with_gnu_ld=$lt_cv_prog_gnu_ld
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5382 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5383 if ${lt_cv_path_NM+:} false; then :
   5384   $as_echo_n "(cached) " >&6
   5385 else
   5386   if test -n "$NM"; then
   5387   # Let the user override the test.
   5388   lt_cv_path_NM=$NM
   5389 else
   5390   lt_nm_to_check=${ac_tool_prefix}nm
   5391   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5392     lt_nm_to_check="$lt_nm_to_check nm"
   5393   fi
   5394   for lt_tmp_nm in $lt_nm_to_check; do
   5395     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5396     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5397       IFS=$lt_save_ifs
   5398       test -z "$ac_dir" && ac_dir=.
   5399       tmp_nm=$ac_dir/$lt_tmp_nm
   5400       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5401 	# Check to see if the nm accepts a BSD-compat flag.
   5402 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5403 	#   nm: unknown option "B" ignored
   5404 	# Tru64's nm complains that /dev/null is an invalid object file
   5405 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5406 	case $build_os in
   5407 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5408 	*) lt_bad_file=/dev/null ;;
   5409 	esac
   5410 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5411 	*$lt_bad_file* | *'Invalid file or object type'*)
   5412 	  lt_cv_path_NM="$tmp_nm -B"
   5413 	  break 2
   5414 	  ;;
   5415 	*)
   5416 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5417 	  */dev/null*)
   5418 	    lt_cv_path_NM="$tmp_nm -p"
   5419 	    break 2
   5420 	    ;;
   5421 	  *)
   5422 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5423 	    continue # so that we can try to find one that supports BSD flags
   5424 	    ;;
   5425 	  esac
   5426 	  ;;
   5427 	esac
   5428       fi
   5429     done
   5430     IFS=$lt_save_ifs
   5431   done
   5432   : ${lt_cv_path_NM=no}
   5433 fi
   5434 fi
   5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5436 $as_echo "$lt_cv_path_NM" >&6; }
   5437 if test no != "$lt_cv_path_NM"; then
   5438   NM=$lt_cv_path_NM
   5439 else
   5440   # Didn't find any BSD compatible name lister, look for dumpbin.
   5441   if test -n "$DUMPBIN"; then :
   5442     # Let the user override the test.
   5443   else
   5444     if test -n "$ac_tool_prefix"; then
   5445   for ac_prog in dumpbin "link -dump"
   5446   do
   5447     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5450 $as_echo_n "checking for $ac_word... " >&6; }
   5451 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5452   $as_echo_n "(cached) " >&6
   5453 else
   5454   if test -n "$DUMPBIN"; then
   5455   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5456 else
   5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5458 for as_dir in $PATH
   5459 do
   5460   IFS=$as_save_IFS
   5461   test -z "$as_dir" && as_dir=.
   5462     for ac_exec_ext in '' $ac_executable_extensions; do
   5463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5464     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5466     break 2
   5467   fi
   5468 done
   5469   done
   5470 IFS=$as_save_IFS
   5471 
   5472 fi
   5473 fi
   5474 DUMPBIN=$ac_cv_prog_DUMPBIN
   5475 if test -n "$DUMPBIN"; then
   5476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5477 $as_echo "$DUMPBIN" >&6; }
   5478 else
   5479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5480 $as_echo "no" >&6; }
   5481 fi
   5482 
   5483 
   5484     test -n "$DUMPBIN" && break
   5485   done
   5486 fi
   5487 if test -z "$DUMPBIN"; then
   5488   ac_ct_DUMPBIN=$DUMPBIN
   5489   for ac_prog in dumpbin "link -dump"
   5490 do
   5491   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5492 set dummy $ac_prog; ac_word=$2
   5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5494 $as_echo_n "checking for $ac_word... " >&6; }
   5495 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5496   $as_echo_n "(cached) " >&6
   5497 else
   5498   if test -n "$ac_ct_DUMPBIN"; then
   5499   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5500 else
   5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5502 for as_dir in $PATH
   5503 do
   5504   IFS=$as_save_IFS
   5505   test -z "$as_dir" && as_dir=.
   5506     for ac_exec_ext in '' $ac_executable_extensions; do
   5507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5508     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5510     break 2
   5511   fi
   5512 done
   5513   done
   5514 IFS=$as_save_IFS
   5515 
   5516 fi
   5517 fi
   5518 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5519 if test -n "$ac_ct_DUMPBIN"; then
   5520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5521 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5522 else
   5523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5524 $as_echo "no" >&6; }
   5525 fi
   5526 
   5527 
   5528   test -n "$ac_ct_DUMPBIN" && break
   5529 done
   5530 
   5531   if test "x$ac_ct_DUMPBIN" = x; then
   5532     DUMPBIN=":"
   5533   else
   5534     case $cross_compiling:$ac_tool_warned in
   5535 yes:)
   5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5538 ac_tool_warned=yes ;;
   5539 esac
   5540     DUMPBIN=$ac_ct_DUMPBIN
   5541   fi
   5542 fi
   5543 
   5544     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5545     *COFF*)
   5546       DUMPBIN="$DUMPBIN -symbols -headers"
   5547       ;;
   5548     *)
   5549       DUMPBIN=:
   5550       ;;
   5551     esac
   5552   fi
   5553 
   5554   if test : != "$DUMPBIN"; then
   5555     NM=$DUMPBIN
   5556   fi
   5557 fi
   5558 test -z "$NM" && NM=nm
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5566 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5567 if ${lt_cv_nm_interface+:} false; then :
   5568   $as_echo_n "(cached) " >&6
   5569 else
   5570   lt_cv_nm_interface="BSD nm"
   5571   echo "int some_variable = 0;" > conftest.$ac_ext
   5572   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5573   (eval "$ac_compile" 2>conftest.err)
   5574   cat conftest.err >&5
   5575   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5576   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5577   cat conftest.err >&5
   5578   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5579   cat conftest.out >&5
   5580   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5581     lt_cv_nm_interface="MS dumpbin"
   5582   fi
   5583   rm -f conftest*
   5584 fi
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5586 $as_echo "$lt_cv_nm_interface" >&6; }
   5587 
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5589 $as_echo_n "checking whether ln -s works... " >&6; }
   5590 LN_S=$as_ln_s
   5591 if test "$LN_S" = "ln -s"; then
   5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5593 $as_echo "yes" >&6; }
   5594 else
   5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5596 $as_echo "no, using $LN_S" >&6; }
   5597 fi
   5598 
   5599 # find the maximum length of command line arguments
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5601 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5602 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605     i=0
   5606   teststring=ABCD
   5607 
   5608   case $build_os in
   5609   msdosdjgpp*)
   5610     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5611     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5612     # during glob expansion).  Even if it were fixed, the result of this
   5613     # check would be larger than it should be.
   5614     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5615     ;;
   5616 
   5617   gnu*)
   5618     # Under GNU Hurd, this test is not required because there is
   5619     # no limit to the length of command line arguments.
   5620     # Libtool will interpret -1 as no limit whatsoever
   5621     lt_cv_sys_max_cmd_len=-1;
   5622     ;;
   5623 
   5624   cygwin* | mingw* | cegcc*)
   5625     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5626     # about 5 minutes as the teststring grows exponentially.
   5627     # Worse, since 9x/ME are not pre-emptively multitasking,
   5628     # you end up with a "frozen" computer, even though with patience
   5629     # the test eventually succeeds (with a max line length of 256k).
   5630     # Instead, let's just punt: use the minimum linelength reported by
   5631     # all of the supported platforms: 8192 (on NT/2K/XP).
   5632     lt_cv_sys_max_cmd_len=8192;
   5633     ;;
   5634 
   5635   mint*)
   5636     # On MiNT this can take a long time and run out of memory.
   5637     lt_cv_sys_max_cmd_len=8192;
   5638     ;;
   5639 
   5640   amigaos*)
   5641     # On AmigaOS with pdksh, this test takes hours, literally.
   5642     # So we just punt and use a minimum line length of 8192.
   5643     lt_cv_sys_max_cmd_len=8192;
   5644     ;;
   5645 
   5646   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5647     # This has been around since 386BSD, at least.  Likely further.
   5648     if test -x /sbin/sysctl; then
   5649       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5650     elif test -x /usr/sbin/sysctl; then
   5651       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5652     else
   5653       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5654     fi
   5655     # And add a safety zone
   5656     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5657     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5658     ;;
   5659 
   5660   interix*)
   5661     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5662     lt_cv_sys_max_cmd_len=196608
   5663     ;;
   5664 
   5665   os2*)
   5666     # The test takes a long time on OS/2.
   5667     lt_cv_sys_max_cmd_len=8192
   5668     ;;
   5669 
   5670   osf*)
   5671     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5672     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5673     # nice to cause kernel panics so lets avoid the loop below.
   5674     # First set a reasonable default.
   5675     lt_cv_sys_max_cmd_len=16384
   5676     #
   5677     if test -x /sbin/sysconfig; then
   5678       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5679         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5680       esac
   5681     fi
   5682     ;;
   5683   sco3.2v5*)
   5684     lt_cv_sys_max_cmd_len=102400
   5685     ;;
   5686   sysv5* | sco5v6* | sysv4.2uw2*)
   5687     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5688     if test -n "$kargmax"; then
   5689       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5690     else
   5691       lt_cv_sys_max_cmd_len=32768
   5692     fi
   5693     ;;
   5694   *)
   5695     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5696     if test -n "$lt_cv_sys_max_cmd_len" && \
   5697        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5698       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5699       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5700     else
   5701       # Make teststring a little bigger before we do anything with it.
   5702       # a 1K string should be a reasonable start.
   5703       for i in 1 2 3 4 5 6 7 8; do
   5704         teststring=$teststring$teststring
   5705       done
   5706       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5707       # If test is not a shell built-in, we'll probably end up computing a
   5708       # maximum length that is only half of the actual maximum length, but
   5709       # we can't tell.
   5710       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5711 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5712 	      test 17 != "$i" # 1/2 MB should be enough
   5713       do
   5714         i=`expr $i + 1`
   5715         teststring=$teststring$teststring
   5716       done
   5717       # Only check the string length outside the loop.
   5718       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5719       teststring=
   5720       # Add a significant safety factor because C++ compilers can tack on
   5721       # massive amounts of additional arguments before passing them to the
   5722       # linker.  It appears as though 1/2 is a usable value.
   5723       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5724     fi
   5725     ;;
   5726   esac
   5727 
   5728 fi
   5729 
   5730 if test -n "$lt_cv_sys_max_cmd_len"; then
   5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5732 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5733 else
   5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5735 $as_echo "none" >&6; }
   5736 fi
   5737 max_cmd_len=$lt_cv_sys_max_cmd_len
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 : ${CP="cp -f"}
   5745 : ${MV="mv -f"}
   5746 : ${RM="rm -f"}
   5747 
   5748 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5749   lt_unset=unset
   5750 else
   5751   lt_unset=false
   5752 fi
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 # test EBCDIC or ASCII
   5759 case `echo X|tr X '\101'` in
   5760  A) # ASCII based system
   5761     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5762   lt_SP2NL='tr \040 \012'
   5763   lt_NL2SP='tr \015\012 \040\040'
   5764   ;;
   5765  *) # EBCDIC based system
   5766   lt_SP2NL='tr \100 \n'
   5767   lt_NL2SP='tr \r\n \100\100'
   5768   ;;
   5769 esac
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5780 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5781 if ${lt_cv_to_host_file_cmd+:} false; then :
   5782   $as_echo_n "(cached) " >&6
   5783 else
   5784   case $host in
   5785   *-*-mingw* )
   5786     case $build in
   5787       *-*-mingw* ) # actually msys
   5788         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5789         ;;
   5790       *-*-cygwin* )
   5791         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5792         ;;
   5793       * ) # otherwise, assume *nix
   5794         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5795         ;;
   5796     esac
   5797     ;;
   5798   *-*-cygwin* )
   5799     case $build in
   5800       *-*-mingw* ) # actually msys
   5801         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5802         ;;
   5803       *-*-cygwin* )
   5804         lt_cv_to_host_file_cmd=func_convert_file_noop
   5805         ;;
   5806       * ) # otherwise, assume *nix
   5807         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5808         ;;
   5809     esac
   5810     ;;
   5811   * ) # unhandled hosts (and "normal" native builds)
   5812     lt_cv_to_host_file_cmd=func_convert_file_noop
   5813     ;;
   5814 esac
   5815 
   5816 fi
   5817 
   5818 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5820 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5827 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5828 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5829   $as_echo_n "(cached) " >&6
   5830 else
   5831   #assume ordinary cross tools, or native build.
   5832 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5833 case $host in
   5834   *-*-mingw* )
   5835     case $build in
   5836       *-*-mingw* ) # actually msys
   5837         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5838         ;;
   5839     esac
   5840     ;;
   5841 esac
   5842 
   5843 fi
   5844 
   5845 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5847 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5854 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5855 if ${lt_cv_ld_reload_flag+:} false; then :
   5856   $as_echo_n "(cached) " >&6
   5857 else
   5858   lt_cv_ld_reload_flag='-r'
   5859 fi
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5861 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5862 reload_flag=$lt_cv_ld_reload_flag
   5863 case $reload_flag in
   5864 "" | " "*) ;;
   5865 *) reload_flag=" $reload_flag" ;;
   5866 esac
   5867 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5868 case $host_os in
   5869   cygwin* | mingw* | pw32* | cegcc*)
   5870     if test yes != "$GCC"; then
   5871       reload_cmds=false
   5872     fi
   5873     ;;
   5874   darwin*)
   5875     if test yes = "$GCC"; then
   5876       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5877     else
   5878       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5879     fi
   5880     ;;
   5881 esac
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 if test -n "$ac_tool_prefix"; then
   5892   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5893 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5895 $as_echo_n "checking for $ac_word... " >&6; }
   5896 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5897   $as_echo_n "(cached) " >&6
   5898 else
   5899   if test -n "$OBJDUMP"; then
   5900   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5901 else
   5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5903 for as_dir in $PATH
   5904 do
   5905   IFS=$as_save_IFS
   5906   test -z "$as_dir" && as_dir=.
   5907     for ac_exec_ext in '' $ac_executable_extensions; do
   5908   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5909     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5911     break 2
   5912   fi
   5913 done
   5914   done
   5915 IFS=$as_save_IFS
   5916 
   5917 fi
   5918 fi
   5919 OBJDUMP=$ac_cv_prog_OBJDUMP
   5920 if test -n "$OBJDUMP"; then
   5921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5922 $as_echo "$OBJDUMP" >&6; }
   5923 else
   5924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5925 $as_echo "no" >&6; }
   5926 fi
   5927 
   5928 
   5929 fi
   5930 if test -z "$ac_cv_prog_OBJDUMP"; then
   5931   ac_ct_OBJDUMP=$OBJDUMP
   5932   # Extract the first word of "objdump", so it can be a program name with args.
   5933 set dummy objdump; ac_word=$2
   5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5935 $as_echo_n "checking for $ac_word... " >&6; }
   5936 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5937   $as_echo_n "(cached) " >&6
   5938 else
   5939   if test -n "$ac_ct_OBJDUMP"; then
   5940   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5941 else
   5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5943 for as_dir in $PATH
   5944 do
   5945   IFS=$as_save_IFS
   5946   test -z "$as_dir" && as_dir=.
   5947     for ac_exec_ext in '' $ac_executable_extensions; do
   5948   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5949     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5951     break 2
   5952   fi
   5953 done
   5954   done
   5955 IFS=$as_save_IFS
   5956 
   5957 fi
   5958 fi
   5959 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5960 if test -n "$ac_ct_OBJDUMP"; then
   5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5962 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5963 else
   5964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5965 $as_echo "no" >&6; }
   5966 fi
   5967 
   5968   if test "x$ac_ct_OBJDUMP" = x; then
   5969     OBJDUMP="false"
   5970   else
   5971     case $cross_compiling:$ac_tool_warned in
   5972 yes:)
   5973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5975 ac_tool_warned=yes ;;
   5976 esac
   5977     OBJDUMP=$ac_ct_OBJDUMP
   5978   fi
   5979 else
   5980   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5981 fi
   5982 
   5983 test -z "$OBJDUMP" && OBJDUMP=objdump
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5991 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5992 if ${lt_cv_deplibs_check_method+:} false; then :
   5993   $as_echo_n "(cached) " >&6
   5994 else
   5995   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5996 lt_cv_file_magic_test_file=
   5997 lt_cv_deplibs_check_method='unknown'
   5998 # Need to set the preceding variable on all platforms that support
   5999 # interlibrary dependencies.
   6000 # 'none' -- dependencies not supported.
   6001 # 'unknown' -- same as none, but documents that we really don't know.
   6002 # 'pass_all' -- all dependencies passed with no checks.
   6003 # 'test_compile' -- check by making test program.
   6004 # 'file_magic [[regex]]' -- check by looking for files in library path
   6005 # that responds to the $file_magic_cmd with a given extended regex.
   6006 # If you have 'file' or equivalent on your system and you're not sure
   6007 # whether 'pass_all' will *always* work, you probably want this one.
   6008 
   6009 case $host_os in
   6010 aix[4-9]*)
   6011   lt_cv_deplibs_check_method=pass_all
   6012   ;;
   6013 
   6014 beos*)
   6015   lt_cv_deplibs_check_method=pass_all
   6016   ;;
   6017 
   6018 bsdi[45]*)
   6019   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6020   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6021   lt_cv_file_magic_test_file=/shlib/libc.so
   6022   ;;
   6023 
   6024 cygwin*)
   6025   # func_win32_libid is a shell function defined in ltmain.sh
   6026   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6027   lt_cv_file_magic_cmd='func_win32_libid'
   6028   ;;
   6029 
   6030 mingw* | pw32*)
   6031   # Base MSYS/MinGW do not provide the 'file' command needed by
   6032   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6033   # unless we find 'file', for example because we are cross-compiling.
   6034   if ( file / ) >/dev/null 2>&1; then
   6035     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6036     lt_cv_file_magic_cmd='func_win32_libid'
   6037   else
   6038     # Keep this pattern in sync with the one in func_win32_libid.
   6039     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6040     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6041   fi
   6042   ;;
   6043 
   6044 cegcc*)
   6045   # use the weaker test based on 'objdump'. See mingw*.
   6046   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6047   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6048   ;;
   6049 
   6050 darwin* | rhapsody*)
   6051   lt_cv_deplibs_check_method=pass_all
   6052   ;;
   6053 
   6054 freebsd* | dragonfly*)
   6055   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6056     case $host_cpu in
   6057     i*86 )
   6058       # Not sure whether the presence of OpenBSD here was a mistake.
   6059       # Let's accept both of them until this is cleared up.
   6060       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6061       lt_cv_file_magic_cmd=/usr/bin/file
   6062       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6063       ;;
   6064     esac
   6065   else
   6066     lt_cv_deplibs_check_method=pass_all
   6067   fi
   6068   ;;
   6069 
   6070 haiku*)
   6071   lt_cv_deplibs_check_method=pass_all
   6072   ;;
   6073 
   6074 hpux10.20* | hpux11*)
   6075   lt_cv_file_magic_cmd=/usr/bin/file
   6076   case $host_cpu in
   6077   ia64*)
   6078     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6079     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6080     ;;
   6081   hppa*64*)
   6082     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]'
   6083     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6084     ;;
   6085   *)
   6086     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6087     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6088     ;;
   6089   esac
   6090   ;;
   6091 
   6092 interix[3-9]*)
   6093   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6094   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6095   ;;
   6096 
   6097 irix5* | irix6* | nonstopux*)
   6098   case $LD in
   6099   *-32|*"-32 ") libmagic=32-bit;;
   6100   *-n32|*"-n32 ") libmagic=N32;;
   6101   *-64|*"-64 ") libmagic=64-bit;;
   6102   *) libmagic=never-match;;
   6103   esac
   6104   lt_cv_deplibs_check_method=pass_all
   6105   ;;
   6106 
   6107 # This must be glibc/ELF.
   6108 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6109   lt_cv_deplibs_check_method=pass_all
   6110   ;;
   6111 
   6112 netbsd* | netbsdelf*-gnu)
   6113   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6114     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6115   else
   6116     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6117   fi
   6118   ;;
   6119 
   6120 newos6*)
   6121   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6122   lt_cv_file_magic_cmd=/usr/bin/file
   6123   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6124   ;;
   6125 
   6126 *nto* | *qnx*)
   6127   lt_cv_deplibs_check_method=pass_all
   6128   ;;
   6129 
   6130 openbsd* | bitrig*)
   6131   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6132     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6133   else
   6134     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6135   fi
   6136   ;;
   6137 
   6138 osf3* | osf4* | osf5*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 rdos*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 
   6146 solaris*)
   6147   lt_cv_deplibs_check_method=pass_all
   6148   ;;
   6149 
   6150 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6151   lt_cv_deplibs_check_method=pass_all
   6152   ;;
   6153 
   6154 sysv4 | sysv4.3*)
   6155   case $host_vendor in
   6156   motorola)
   6157     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]'
   6158     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6159     ;;
   6160   ncr)
   6161     lt_cv_deplibs_check_method=pass_all
   6162     ;;
   6163   sequent)
   6164     lt_cv_file_magic_cmd='/bin/file'
   6165     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6166     ;;
   6167   sni)
   6168     lt_cv_file_magic_cmd='/bin/file'
   6169     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6170     lt_cv_file_magic_test_file=/lib/libc.so
   6171     ;;
   6172   siemens)
   6173     lt_cv_deplibs_check_method=pass_all
   6174     ;;
   6175   pc)
   6176     lt_cv_deplibs_check_method=pass_all
   6177     ;;
   6178   esac
   6179   ;;
   6180 
   6181 tpf*)
   6182   lt_cv_deplibs_check_method=pass_all
   6183   ;;
   6184 os2*)
   6185   lt_cv_deplibs_check_method=pass_all
   6186   ;;
   6187 esac
   6188 
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6191 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6192 
   6193 file_magic_glob=
   6194 want_nocaseglob=no
   6195 if test "$build" = "$host"; then
   6196   case $host_os in
   6197   mingw* | pw32*)
   6198     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6199       want_nocaseglob=yes
   6200     else
   6201       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6202     fi
   6203     ;;
   6204   esac
   6205 fi
   6206 
   6207 file_magic_cmd=$lt_cv_file_magic_cmd
   6208 deplibs_check_method=$lt_cv_deplibs_check_method
   6209 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 if test -n "$ac_tool_prefix"; then
   6233   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6234 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6236 $as_echo_n "checking for $ac_word... " >&6; }
   6237 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6238   $as_echo_n "(cached) " >&6
   6239 else
   6240   if test -n "$DLLTOOL"; then
   6241   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6242 else
   6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6244 for as_dir in $PATH
   6245 do
   6246   IFS=$as_save_IFS
   6247   test -z "$as_dir" && as_dir=.
   6248     for ac_exec_ext in '' $ac_executable_extensions; do
   6249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6250     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6252     break 2
   6253   fi
   6254 done
   6255   done
   6256 IFS=$as_save_IFS
   6257 
   6258 fi
   6259 fi
   6260 DLLTOOL=$ac_cv_prog_DLLTOOL
   6261 if test -n "$DLLTOOL"; then
   6262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6263 $as_echo "$DLLTOOL" >&6; }
   6264 else
   6265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6266 $as_echo "no" >&6; }
   6267 fi
   6268 
   6269 
   6270 fi
   6271 if test -z "$ac_cv_prog_DLLTOOL"; then
   6272   ac_ct_DLLTOOL=$DLLTOOL
   6273   # Extract the first word of "dlltool", so it can be a program name with args.
   6274 set dummy dlltool; ac_word=$2
   6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6276 $as_echo_n "checking for $ac_word... " >&6; }
   6277 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6278   $as_echo_n "(cached) " >&6
   6279 else
   6280   if test -n "$ac_ct_DLLTOOL"; then
   6281   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6282 else
   6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6284 for as_dir in $PATH
   6285 do
   6286   IFS=$as_save_IFS
   6287   test -z "$as_dir" && as_dir=.
   6288     for ac_exec_ext in '' $ac_executable_extensions; do
   6289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6290     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6292     break 2
   6293   fi
   6294 done
   6295   done
   6296 IFS=$as_save_IFS
   6297 
   6298 fi
   6299 fi
   6300 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6301 if test -n "$ac_ct_DLLTOOL"; then
   6302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6303 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6304 else
   6305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6306 $as_echo "no" >&6; }
   6307 fi
   6308 
   6309   if test "x$ac_ct_DLLTOOL" = x; then
   6310     DLLTOOL="false"
   6311   else
   6312     case $cross_compiling:$ac_tool_warned in
   6313 yes:)
   6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6316 ac_tool_warned=yes ;;
   6317 esac
   6318     DLLTOOL=$ac_ct_DLLTOOL
   6319   fi
   6320 else
   6321   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6322 fi
   6323 
   6324 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6333 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6334 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6335   $as_echo_n "(cached) " >&6
   6336 else
   6337   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6338 
   6339 case $host_os in
   6340 cygwin* | mingw* | pw32* | cegcc*)
   6341   # two different shell functions defined in ltmain.sh;
   6342   # decide which one to use based on capabilities of $DLLTOOL
   6343   case `$DLLTOOL --help 2>&1` in
   6344   *--identify-strict*)
   6345     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6346     ;;
   6347   *)
   6348     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6349     ;;
   6350   esac
   6351   ;;
   6352 *)
   6353   # fallback: assume linklib IS sharedlib
   6354   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6355   ;;
   6356 esac
   6357 
   6358 fi
   6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6360 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6361 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6362 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 if test -n "$ac_tool_prefix"; then
   6371   for ac_prog in ar
   6372   do
   6373     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6376 $as_echo_n "checking for $ac_word... " >&6; }
   6377 if ${ac_cv_prog_AR+:} false; then :
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   if test -n "$AR"; then
   6381   ac_cv_prog_AR="$AR" # Let the user override the test.
   6382 else
   6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6384 for as_dir in $PATH
   6385 do
   6386   IFS=$as_save_IFS
   6387   test -z "$as_dir" && as_dir=.
   6388     for ac_exec_ext in '' $ac_executable_extensions; do
   6389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6390     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6392     break 2
   6393   fi
   6394 done
   6395   done
   6396 IFS=$as_save_IFS
   6397 
   6398 fi
   6399 fi
   6400 AR=$ac_cv_prog_AR
   6401 if test -n "$AR"; then
   6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6403 $as_echo "$AR" >&6; }
   6404 else
   6405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6406 $as_echo "no" >&6; }
   6407 fi
   6408 
   6409 
   6410     test -n "$AR" && break
   6411   done
   6412 fi
   6413 if test -z "$AR"; then
   6414   ac_ct_AR=$AR
   6415   for ac_prog in ar
   6416 do
   6417   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6418 set dummy $ac_prog; ac_word=$2
   6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6420 $as_echo_n "checking for $ac_word... " >&6; }
   6421 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6422   $as_echo_n "(cached) " >&6
   6423 else
   6424   if test -n "$ac_ct_AR"; then
   6425   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6426 else
   6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6428 for as_dir in $PATH
   6429 do
   6430   IFS=$as_save_IFS
   6431   test -z "$as_dir" && as_dir=.
   6432     for ac_exec_ext in '' $ac_executable_extensions; do
   6433   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6434     ac_cv_prog_ac_ct_AR="$ac_prog"
   6435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6436     break 2
   6437   fi
   6438 done
   6439   done
   6440 IFS=$as_save_IFS
   6441 
   6442 fi
   6443 fi
   6444 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6445 if test -n "$ac_ct_AR"; then
   6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6447 $as_echo "$ac_ct_AR" >&6; }
   6448 else
   6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6450 $as_echo "no" >&6; }
   6451 fi
   6452 
   6453 
   6454   test -n "$ac_ct_AR" && break
   6455 done
   6456 
   6457   if test "x$ac_ct_AR" = x; then
   6458     AR="false"
   6459   else
   6460     case $cross_compiling:$ac_tool_warned in
   6461 yes:)
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6464 ac_tool_warned=yes ;;
   6465 esac
   6466     AR=$ac_ct_AR
   6467   fi
   6468 fi
   6469 
   6470 : ${AR=ar}
   6471 : ${AR_FLAGS=cru}
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6484 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6485 if ${lt_cv_ar_at_file+:} false; then :
   6486   $as_echo_n "(cached) " >&6
   6487 else
   6488   lt_cv_ar_at_file=no
   6489    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 
   6492 int
   6493 main ()
   6494 {
   6495 
   6496   ;
   6497   return 0;
   6498 }
   6499 _ACEOF
   6500 if ac_fn_c_try_compile "$LINENO"; then :
   6501   echo conftest.$ac_objext > conftest.lst
   6502       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6503       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6504   (eval $lt_ar_try) 2>&5
   6505   ac_status=$?
   6506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6507   test $ac_status = 0; }
   6508       if test 0 -eq "$ac_status"; then
   6509 	# Ensure the archiver fails upon bogus file names.
   6510 	rm -f conftest.$ac_objext libconftest.a
   6511 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6512   (eval $lt_ar_try) 2>&5
   6513   ac_status=$?
   6514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6515   test $ac_status = 0; }
   6516 	if test 0 -ne "$ac_status"; then
   6517           lt_cv_ar_at_file=@
   6518         fi
   6519       fi
   6520       rm -f conftest.* libconftest.a
   6521 
   6522 fi
   6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6524 
   6525 fi
   6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6527 $as_echo "$lt_cv_ar_at_file" >&6; }
   6528 
   6529 if test no = "$lt_cv_ar_at_file"; then
   6530   archiver_list_spec=
   6531 else
   6532   archiver_list_spec=$lt_cv_ar_at_file
   6533 fi
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 if test -n "$ac_tool_prefix"; then
   6542   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6543 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6545 $as_echo_n "checking for $ac_word... " >&6; }
   6546 if ${ac_cv_prog_STRIP+:} false; then :
   6547   $as_echo_n "(cached) " >&6
   6548 else
   6549   if test -n "$STRIP"; then
   6550   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6551 else
   6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6553 for as_dir in $PATH
   6554 do
   6555   IFS=$as_save_IFS
   6556   test -z "$as_dir" && as_dir=.
   6557     for ac_exec_ext in '' $ac_executable_extensions; do
   6558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6559     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6561     break 2
   6562   fi
   6563 done
   6564   done
   6565 IFS=$as_save_IFS
   6566 
   6567 fi
   6568 fi
   6569 STRIP=$ac_cv_prog_STRIP
   6570 if test -n "$STRIP"; then
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6572 $as_echo "$STRIP" >&6; }
   6573 else
   6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6575 $as_echo "no" >&6; }
   6576 fi
   6577 
   6578 
   6579 fi
   6580 if test -z "$ac_cv_prog_STRIP"; then
   6581   ac_ct_STRIP=$STRIP
   6582   # Extract the first word of "strip", so it can be a program name with args.
   6583 set dummy strip; ac_word=$2
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6585 $as_echo_n "checking for $ac_word... " >&6; }
   6586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6587   $as_echo_n "(cached) " >&6
   6588 else
   6589   if test -n "$ac_ct_STRIP"; then
   6590   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6591 else
   6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6593 for as_dir in $PATH
   6594 do
   6595   IFS=$as_save_IFS
   6596   test -z "$as_dir" && as_dir=.
   6597     for ac_exec_ext in '' $ac_executable_extensions; do
   6598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6599     ac_cv_prog_ac_ct_STRIP="strip"
   6600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6601     break 2
   6602   fi
   6603 done
   6604   done
   6605 IFS=$as_save_IFS
   6606 
   6607 fi
   6608 fi
   6609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6610 if test -n "$ac_ct_STRIP"; then
   6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6612 $as_echo "$ac_ct_STRIP" >&6; }
   6613 else
   6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6615 $as_echo "no" >&6; }
   6616 fi
   6617 
   6618   if test "x$ac_ct_STRIP" = x; then
   6619     STRIP=":"
   6620   else
   6621     case $cross_compiling:$ac_tool_warned in
   6622 yes:)
   6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6625 ac_tool_warned=yes ;;
   6626 esac
   6627     STRIP=$ac_ct_STRIP
   6628   fi
   6629 else
   6630   STRIP="$ac_cv_prog_STRIP"
   6631 fi
   6632 
   6633 test -z "$STRIP" && STRIP=:
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 if test -n "$ac_tool_prefix"; then
   6641   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 $as_echo_n "checking for $ac_word... " >&6; }
   6645 if ${ac_cv_prog_RANLIB+:} false; then :
   6646   $as_echo_n "(cached) " >&6
   6647 else
   6648   if test -n "$RANLIB"; then
   6649   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6650 else
   6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6652 for as_dir in $PATH
   6653 do
   6654   IFS=$as_save_IFS
   6655   test -z "$as_dir" && as_dir=.
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6658     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6660     break 2
   6661   fi
   6662 done
   6663   done
   6664 IFS=$as_save_IFS
   6665 
   6666 fi
   6667 fi
   6668 RANLIB=$ac_cv_prog_RANLIB
   6669 if test -n "$RANLIB"; then
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6671 $as_echo "$RANLIB" >&6; }
   6672 else
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6674 $as_echo "no" >&6; }
   6675 fi
   6676 
   6677 
   6678 fi
   6679 if test -z "$ac_cv_prog_RANLIB"; then
   6680   ac_ct_RANLIB=$RANLIB
   6681   # Extract the first word of "ranlib", so it can be a program name with args.
   6682 set dummy ranlib; ac_word=$2
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6684 $as_echo_n "checking for $ac_word... " >&6; }
   6685 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   if test -n "$ac_ct_RANLIB"; then
   6689   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6690 else
   6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6692 for as_dir in $PATH
   6693 do
   6694   IFS=$as_save_IFS
   6695   test -z "$as_dir" && as_dir=.
   6696     for ac_exec_ext in '' $ac_executable_extensions; do
   6697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6698     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6700     break 2
   6701   fi
   6702 done
   6703   done
   6704 IFS=$as_save_IFS
   6705 
   6706 fi
   6707 fi
   6708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6709 if test -n "$ac_ct_RANLIB"; then
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6711 $as_echo "$ac_ct_RANLIB" >&6; }
   6712 else
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6714 $as_echo "no" >&6; }
   6715 fi
   6716 
   6717   if test "x$ac_ct_RANLIB" = x; then
   6718     RANLIB=":"
   6719   else
   6720     case $cross_compiling:$ac_tool_warned in
   6721 yes:)
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6724 ac_tool_warned=yes ;;
   6725 esac
   6726     RANLIB=$ac_ct_RANLIB
   6727   fi
   6728 else
   6729   RANLIB="$ac_cv_prog_RANLIB"
   6730 fi
   6731 
   6732 test -z "$RANLIB" && RANLIB=:
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 # Determine commands to create old-style static archives.
   6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6741 old_postinstall_cmds='chmod 644 $oldlib'
   6742 old_postuninstall_cmds=
   6743 
   6744 if test -n "$RANLIB"; then
   6745   case $host_os in
   6746   bitrig* | openbsd*)
   6747     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6748     ;;
   6749   *)
   6750     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6751     ;;
   6752   esac
   6753   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6754 fi
   6755 
   6756 case $host_os in
   6757   darwin*)
   6758     lock_old_archive_extraction=yes ;;
   6759   *)
   6760     lock_old_archive_extraction=no ;;
   6761 esac
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 # If no C compiler was specified, use CC.
   6802 LTCC=${LTCC-"$CC"}
   6803 
   6804 # If no C compiler flags were specified, use CFLAGS.
   6805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6806 
   6807 # Allow CC to be a program name with arguments.
   6808 compiler=$CC
   6809 
   6810 
   6811 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6813 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6814 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6815   $as_echo_n "(cached) " >&6
   6816 else
   6817 
   6818 # These are sane defaults that work on at least a few old systems.
   6819 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6820 
   6821 # Character class describing NM global symbol codes.
   6822 symcode='[BCDEGRST]'
   6823 
   6824 # Regexp to match symbols that can be accessed directly from C.
   6825 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6826 
   6827 # Define system-specific variables.
   6828 case $host_os in
   6829 aix*)
   6830   symcode='[BCDT]'
   6831   ;;
   6832 cygwin* | mingw* | pw32* | cegcc*)
   6833   symcode='[ABCDGISTW]'
   6834   ;;
   6835 hpux*)
   6836   if test ia64 = "$host_cpu"; then
   6837     symcode='[ABCDEGRST]'
   6838   fi
   6839   ;;
   6840 irix* | nonstopux*)
   6841   symcode='[BCDEGRST]'
   6842   ;;
   6843 osf*)
   6844   symcode='[BCDEGQRST]'
   6845   ;;
   6846 solaris*)
   6847   symcode='[BDRT]'
   6848   ;;
   6849 sco3.2v5*)
   6850   symcode='[DT]'
   6851   ;;
   6852 sysv4.2uw2*)
   6853   symcode='[DT]'
   6854   ;;
   6855 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6856   symcode='[ABDT]'
   6857   ;;
   6858 sysv4)
   6859   symcode='[DFNSTU]'
   6860   ;;
   6861 esac
   6862 
   6863 # If we're using GNU nm, then use its standard symbol codes.
   6864 case `$NM -V 2>&1` in
   6865 *GNU* | *'with BFD'*)
   6866   symcode='[ABCDGIRSTW]' ;;
   6867 esac
   6868 
   6869 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6870   # Gets list of data symbols to import.
   6871   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6872   # Adjust the below global symbol transforms to fixup imported variables.
   6873   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6874   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6875   lt_c_name_lib_hook="\
   6876   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6877   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6878 else
   6879   # Disable hooks by default.
   6880   lt_cv_sys_global_symbol_to_import=
   6881   lt_cdecl_hook=
   6882   lt_c_name_hook=
   6883   lt_c_name_lib_hook=
   6884 fi
   6885 
   6886 # Transform an extracted symbol line into a proper C declaration.
   6887 # Some systems (esp. on ia64) link data and code symbols differently,
   6888 # so use this general approach.
   6889 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6890 $lt_cdecl_hook\
   6891 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6892 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6893 
   6894 # Transform an extracted symbol line into symbol name and symbol address
   6895 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6896 $lt_c_name_hook\
   6897 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6898 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6899 
   6900 # Transform an extracted symbol line into symbol name with lib prefix and
   6901 # symbol address.
   6902 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6903 $lt_c_name_lib_hook\
   6904 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6905 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6906 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6907 
   6908 # Handle CRLF in mingw tool chain
   6909 opt_cr=
   6910 case $build_os in
   6911 mingw*)
   6912   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6913   ;;
   6914 esac
   6915 
   6916 # Try without a prefix underscore, then with it.
   6917 for ac_symprfx in "" "_"; do
   6918 
   6919   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6920   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6921 
   6922   # Write the raw and C identifiers.
   6923   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6924     # Fake it for dumpbin and say T for any non-static function,
   6925     # D for any global variable and I for any imported variable.
   6926     # Also find C++ and __fastcall symbols from MSVC++,
   6927     # which start with @ or ?.
   6928     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6929 "     {last_section=section; section=\$ 3};"\
   6930 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6931 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6932 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6933 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6934 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6935 "     \$ 0!~/External *\|/{next};"\
   6936 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6937 "     {if(hide[section]) next};"\
   6938 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6939 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6940 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6941 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6942 "     ' prfx=^$ac_symprfx"
   6943   else
   6944     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6945   fi
   6946   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6947 
   6948   # Check to see that the pipe works correctly.
   6949   pipe_works=no
   6950 
   6951   rm -f conftest*
   6952   cat > conftest.$ac_ext <<_LT_EOF
   6953 #ifdef __cplusplus
   6954 extern "C" {
   6955 #endif
   6956 char nm_test_var;
   6957 void nm_test_func(void);
   6958 void nm_test_func(void){}
   6959 #ifdef __cplusplus
   6960 }
   6961 #endif
   6962 int main(){nm_test_var='a';nm_test_func();return(0);}
   6963 _LT_EOF
   6964 
   6965   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6966   (eval $ac_compile) 2>&5
   6967   ac_status=$?
   6968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6969   test $ac_status = 0; }; then
   6970     # Now try to grab the symbols.
   6971     nlist=conftest.nm
   6972     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6973   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6974   ac_status=$?
   6975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6976   test $ac_status = 0; } && test -s "$nlist"; then
   6977       # Try sorting and uniquifying the output.
   6978       if sort "$nlist" | uniq > "$nlist"T; then
   6979 	mv -f "$nlist"T "$nlist"
   6980       else
   6981 	rm -f "$nlist"T
   6982       fi
   6983 
   6984       # Make sure that we snagged all the symbols we need.
   6985       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6986 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6987 	  cat <<_LT_EOF > conftest.$ac_ext
   6988 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6989 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6990 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6991    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6992 # define LT_DLSYM_CONST
   6993 #elif defined __osf__
   6994 /* This system does not cope well with relocations in const data.  */
   6995 # define LT_DLSYM_CONST
   6996 #else
   6997 # define LT_DLSYM_CONST const
   6998 #endif
   6999 
   7000 #ifdef __cplusplus
   7001 extern "C" {
   7002 #endif
   7003 
   7004 _LT_EOF
   7005 	  # Now generate the symbol file.
   7006 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7007 
   7008 	  cat <<_LT_EOF >> conftest.$ac_ext
   7009 
   7010 /* The mapping between symbol names and symbols.  */
   7011 LT_DLSYM_CONST struct {
   7012   const char *name;
   7013   void       *address;
   7014 }
   7015 lt__PROGRAM__LTX_preloaded_symbols[] =
   7016 {
   7017   { "@PROGRAM@", (void *) 0 },
   7018 _LT_EOF
   7019 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7020 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7021   {0, (void *) 0}
   7022 };
   7023 
   7024 /* This works around a problem in FreeBSD linker */
   7025 #ifdef FREEBSD_WORKAROUND
   7026 static const void *lt_preloaded_setup() {
   7027   return lt__PROGRAM__LTX_preloaded_symbols;
   7028 }
   7029 #endif
   7030 
   7031 #ifdef __cplusplus
   7032 }
   7033 #endif
   7034 _LT_EOF
   7035 	  # Now try linking the two files.
   7036 	  mv conftest.$ac_objext conftstm.$ac_objext
   7037 	  lt_globsym_save_LIBS=$LIBS
   7038 	  lt_globsym_save_CFLAGS=$CFLAGS
   7039 	  LIBS=conftstm.$ac_objext
   7040 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7041 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7042   (eval $ac_link) 2>&5
   7043   ac_status=$?
   7044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7045   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7046 	    pipe_works=yes
   7047 	  fi
   7048 	  LIBS=$lt_globsym_save_LIBS
   7049 	  CFLAGS=$lt_globsym_save_CFLAGS
   7050 	else
   7051 	  echo "cannot find nm_test_func in $nlist" >&5
   7052 	fi
   7053       else
   7054 	echo "cannot find nm_test_var in $nlist" >&5
   7055       fi
   7056     else
   7057       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7058     fi
   7059   else
   7060     echo "$progname: failed program was:" >&5
   7061     cat conftest.$ac_ext >&5
   7062   fi
   7063   rm -rf conftest* conftst*
   7064 
   7065   # Do not use the global_symbol_pipe unless it works.
   7066   if test yes = "$pipe_works"; then
   7067     break
   7068   else
   7069     lt_cv_sys_global_symbol_pipe=
   7070   fi
   7071 done
   7072 
   7073 fi
   7074 
   7075 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7076   lt_cv_sys_global_symbol_to_cdecl=
   7077 fi
   7078 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7080 $as_echo "failed" >&6; }
   7081 else
   7082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7083 $as_echo "ok" >&6; }
   7084 fi
   7085 
   7086 # Response file support.
   7087 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7088   nm_file_list_spec='@'
   7089 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7090   nm_file_list_spec='@'
   7091 fi
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7130 $as_echo_n "checking for sysroot... " >&6; }
   7131 
   7132 # Check whether --with-sysroot was given.
   7133 if test "${with_sysroot+set}" = set; then :
   7134   withval=$with_sysroot;
   7135 else
   7136   with_sysroot=no
   7137 fi
   7138 
   7139 
   7140 lt_sysroot=
   7141 case $with_sysroot in #(
   7142  yes)
   7143    if test yes = "$GCC"; then
   7144      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7145    fi
   7146    ;; #(
   7147  /*)
   7148    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7149    ;; #(
   7150  no|'')
   7151    ;; #(
   7152  *)
   7153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7154 $as_echo "$with_sysroot" >&6; }
   7155    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7156    ;;
   7157 esac
   7158 
   7159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7160 $as_echo "${lt_sysroot:-no}" >&6; }
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7167 $as_echo_n "checking for a working dd... " >&6; }
   7168 if ${ac_cv_path_lt_DD+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   printf 0123456789abcdef0123456789abcdef >conftest.i
   7172 cat conftest.i conftest.i >conftest2.i
   7173 : ${lt_DD:=$DD}
   7174 if test -z "$lt_DD"; then
   7175   ac_path_lt_DD_found=false
   7176   # Loop through the user's path and test for each of PROGNAME-LIST
   7177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7178 for as_dir in $PATH
   7179 do
   7180   IFS=$as_save_IFS
   7181   test -z "$as_dir" && as_dir=.
   7182     for ac_prog in dd; do
   7183     for ac_exec_ext in '' $ac_executable_extensions; do
   7184       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   7185       as_fn_executable_p "$ac_path_lt_DD" || continue
   7186 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7187   cmp -s conftest.i conftest.out \
   7188   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7189 fi
   7190       $ac_path_lt_DD_found && break 3
   7191     done
   7192   done
   7193   done
   7194 IFS=$as_save_IFS
   7195   if test -z "$ac_cv_path_lt_DD"; then
   7196     :
   7197   fi
   7198 else
   7199   ac_cv_path_lt_DD=$lt_DD
   7200 fi
   7201 
   7202 rm -f conftest.i conftest2.i conftest.out
   7203 fi
   7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7205 $as_echo "$ac_cv_path_lt_DD" >&6; }
   7206 
   7207 
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7209 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   7210 if ${lt_cv_truncate_bin+:} false; then :
   7211   $as_echo_n "(cached) " >&6
   7212 else
   7213   printf 0123456789abcdef0123456789abcdef >conftest.i
   7214 cat conftest.i conftest.i >conftest2.i
   7215 lt_cv_truncate_bin=
   7216 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7217   cmp -s conftest.i conftest.out \
   7218   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7219 fi
   7220 rm -f conftest.i conftest2.i conftest.out
   7221 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7222 fi
   7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7224 $as_echo "$lt_cv_truncate_bin" >&6; }
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7233 func_cc_basename ()
   7234 {
   7235     for cc_temp in $*""; do
   7236       case $cc_temp in
   7237         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7238         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7239         \-*) ;;
   7240         *) break;;
   7241       esac
   7242     done
   7243     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7244 }
   7245 
   7246 # Check whether --enable-libtool-lock was given.
   7247 if test "${enable_libtool_lock+set}" = set; then :
   7248   enableval=$enable_libtool_lock;
   7249 fi
   7250 
   7251 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7252 
   7253 # Some flags need to be propagated to the compiler or linker for good
   7254 # libtool support.
   7255 case $host in
   7256 ia64-*-hpux*)
   7257   # Find out what ABI is being produced by ac_compile, and set mode
   7258   # options accordingly.
   7259   echo 'int i;' > conftest.$ac_ext
   7260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7261   (eval $ac_compile) 2>&5
   7262   ac_status=$?
   7263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7264   test $ac_status = 0; }; then
   7265     case `/usr/bin/file conftest.$ac_objext` in
   7266       *ELF-32*)
   7267 	HPUX_IA64_MODE=32
   7268 	;;
   7269       *ELF-64*)
   7270 	HPUX_IA64_MODE=64
   7271 	;;
   7272     esac
   7273   fi
   7274   rm -rf conftest*
   7275   ;;
   7276 *-*-irix6*)
   7277   # Find out what ABI is being produced by ac_compile, and set linker
   7278   # options accordingly.
   7279   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7280   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7281   (eval $ac_compile) 2>&5
   7282   ac_status=$?
   7283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7284   test $ac_status = 0; }; then
   7285     if test yes = "$lt_cv_prog_gnu_ld"; then
   7286       case `/usr/bin/file conftest.$ac_objext` in
   7287 	*32-bit*)
   7288 	  LD="${LD-ld} -melf32bsmip"
   7289 	  ;;
   7290 	*N32*)
   7291 	  LD="${LD-ld} -melf32bmipn32"
   7292 	  ;;
   7293 	*64-bit*)
   7294 	  LD="${LD-ld} -melf64bmip"
   7295 	;;
   7296       esac
   7297     else
   7298       case `/usr/bin/file conftest.$ac_objext` in
   7299 	*32-bit*)
   7300 	  LD="${LD-ld} -32"
   7301 	  ;;
   7302 	*N32*)
   7303 	  LD="${LD-ld} -n32"
   7304 	  ;;
   7305 	*64-bit*)
   7306 	  LD="${LD-ld} -64"
   7307 	  ;;
   7308       esac
   7309     fi
   7310   fi
   7311   rm -rf conftest*
   7312   ;;
   7313 
   7314 mips64*-*linux*)
   7315   # Find out what ABI is being produced by ac_compile, and set linker
   7316   # options accordingly.
   7317   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7318   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7319   (eval $ac_compile) 2>&5
   7320   ac_status=$?
   7321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7322   test $ac_status = 0; }; then
   7323     emul=elf
   7324     case `/usr/bin/file conftest.$ac_objext` in
   7325       *32-bit*)
   7326 	emul="${emul}32"
   7327 	;;
   7328       *64-bit*)
   7329 	emul="${emul}64"
   7330 	;;
   7331     esac
   7332     case `/usr/bin/file conftest.$ac_objext` in
   7333       *MSB*)
   7334 	emul="${emul}btsmip"
   7335 	;;
   7336       *LSB*)
   7337 	emul="${emul}ltsmip"
   7338 	;;
   7339     esac
   7340     case `/usr/bin/file conftest.$ac_objext` in
   7341       *N32*)
   7342 	emul="${emul}n32"
   7343 	;;
   7344     esac
   7345     LD="${LD-ld} -m $emul"
   7346   fi
   7347   rm -rf conftest*
   7348   ;;
   7349 
   7350 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7351 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7352   # Find out what ABI is being produced by ac_compile, and set linker
   7353   # options accordingly.  Note that the listed cases only cover the
   7354   # situations where additional linker options are needed (such as when
   7355   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7356   # vice versa); the common cases where no linker options are needed do
   7357   # not appear in the list.
   7358   echo 'int i;' > conftest.$ac_ext
   7359   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7360   (eval $ac_compile) 2>&5
   7361   ac_status=$?
   7362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7363   test $ac_status = 0; }; then
   7364     case `/usr/bin/file conftest.o` in
   7365       *32-bit*)
   7366 	case $host in
   7367 	  x86_64-*kfreebsd*-gnu)
   7368 	    LD="${LD-ld} -m elf_i386_fbsd"
   7369 	    ;;
   7370 	  x86_64-*linux*)
   7371 	    case `/usr/bin/file conftest.o` in
   7372 	      *x86-64*)
   7373 		LD="${LD-ld} -m elf32_x86_64"
   7374 		;;
   7375 	      *)
   7376 		LD="${LD-ld} -m elf_i386"
   7377 		;;
   7378 	    esac
   7379 	    ;;
   7380 	  powerpc64le-*linux*)
   7381 	    LD="${LD-ld} -m elf32lppclinux"
   7382 	    ;;
   7383 	  powerpc64-*linux*)
   7384 	    LD="${LD-ld} -m elf32ppclinux"
   7385 	    ;;
   7386 	  s390x-*linux*)
   7387 	    LD="${LD-ld} -m elf_s390"
   7388 	    ;;
   7389 	  sparc64-*linux*)
   7390 	    LD="${LD-ld} -m elf32_sparc"
   7391 	    ;;
   7392 	esac
   7393 	;;
   7394       *64-bit*)
   7395 	case $host in
   7396 	  x86_64-*kfreebsd*-gnu)
   7397 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7398 	    ;;
   7399 	  x86_64-*linux*)
   7400 	    LD="${LD-ld} -m elf_x86_64"
   7401 	    ;;
   7402 	  powerpcle-*linux*)
   7403 	    LD="${LD-ld} -m elf64lppc"
   7404 	    ;;
   7405 	  powerpc-*linux*)
   7406 	    LD="${LD-ld} -m elf64ppc"
   7407 	    ;;
   7408 	  s390*-*linux*|s390*-*tpf*)
   7409 	    LD="${LD-ld} -m elf64_s390"
   7410 	    ;;
   7411 	  sparc*-*linux*)
   7412 	    LD="${LD-ld} -m elf64_sparc"
   7413 	    ;;
   7414 	esac
   7415 	;;
   7416     esac
   7417   fi
   7418   rm -rf conftest*
   7419   ;;
   7420 
   7421 *-*-sco3.2v5*)
   7422   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7423   SAVE_CFLAGS=$CFLAGS
   7424   CFLAGS="$CFLAGS -belf"
   7425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7426 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7427 if ${lt_cv_cc_needs_belf+:} false; then :
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   ac_ext=c
   7431 ac_cpp='$CPP $CPPFLAGS'
   7432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7435 
   7436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 
   7439 int
   7440 main ()
   7441 {
   7442 
   7443   ;
   7444   return 0;
   7445 }
   7446 _ACEOF
   7447 if ac_fn_c_try_link "$LINENO"; then :
   7448   lt_cv_cc_needs_belf=yes
   7449 else
   7450   lt_cv_cc_needs_belf=no
   7451 fi
   7452 rm -f core conftest.err conftest.$ac_objext \
   7453     conftest$ac_exeext conftest.$ac_ext
   7454      ac_ext=c
   7455 ac_cpp='$CPP $CPPFLAGS'
   7456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7459 
   7460 fi
   7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7462 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7463   if test yes != "$lt_cv_cc_needs_belf"; then
   7464     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7465     CFLAGS=$SAVE_CFLAGS
   7466   fi
   7467   ;;
   7468 *-*solaris*)
   7469   # Find out what ABI is being produced by ac_compile, and set linker
   7470   # options accordingly.
   7471   echo 'int i;' > conftest.$ac_ext
   7472   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7473   (eval $ac_compile) 2>&5
   7474   ac_status=$?
   7475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7476   test $ac_status = 0; }; then
   7477     case `/usr/bin/file conftest.o` in
   7478     *64-bit*)
   7479       case $lt_cv_prog_gnu_ld in
   7480       yes*)
   7481         case $host in
   7482         i?86-*-solaris*|x86_64-*-solaris*)
   7483           LD="${LD-ld} -m elf_x86_64"
   7484           ;;
   7485         sparc*-*-solaris*)
   7486           LD="${LD-ld} -m elf64_sparc"
   7487           ;;
   7488         esac
   7489         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7490         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7491           LD=${LD-ld}_sol2
   7492         fi
   7493         ;;
   7494       *)
   7495 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7496 	  LD="${LD-ld} -64"
   7497 	fi
   7498 	;;
   7499       esac
   7500       ;;
   7501     esac
   7502   fi
   7503   rm -rf conftest*
   7504   ;;
   7505 esac
   7506 
   7507 need_locks=$enable_libtool_lock
   7508 
   7509 if test -n "$ac_tool_prefix"; then
   7510   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7511 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7513 $as_echo_n "checking for $ac_word... " >&6; }
   7514 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7515   $as_echo_n "(cached) " >&6
   7516 else
   7517   if test -n "$MANIFEST_TOOL"; then
   7518   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7519 else
   7520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7521 for as_dir in $PATH
   7522 do
   7523   IFS=$as_save_IFS
   7524   test -z "$as_dir" && as_dir=.
   7525     for ac_exec_ext in '' $ac_executable_extensions; do
   7526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7527     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7529     break 2
   7530   fi
   7531 done
   7532   done
   7533 IFS=$as_save_IFS
   7534 
   7535 fi
   7536 fi
   7537 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7538 if test -n "$MANIFEST_TOOL"; then
   7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7540 $as_echo "$MANIFEST_TOOL" >&6; }
   7541 else
   7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7543 $as_echo "no" >&6; }
   7544 fi
   7545 
   7546 
   7547 fi
   7548 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7549   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7550   # Extract the first word of "mt", so it can be a program name with args.
   7551 set dummy mt; ac_word=$2
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7553 $as_echo_n "checking for $ac_word... " >&6; }
   7554 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7558   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7559 else
   7560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7561 for as_dir in $PATH
   7562 do
   7563   IFS=$as_save_IFS
   7564   test -z "$as_dir" && as_dir=.
   7565     for ac_exec_ext in '' $ac_executable_extensions; do
   7566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7567     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7569     break 2
   7570   fi
   7571 done
   7572   done
   7573 IFS=$as_save_IFS
   7574 
   7575 fi
   7576 fi
   7577 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7578 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7580 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7581 else
   7582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7583 $as_echo "no" >&6; }
   7584 fi
   7585 
   7586   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7587     MANIFEST_TOOL=":"
   7588   else
   7589     case $cross_compiling:$ac_tool_warned in
   7590 yes:)
   7591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7593 ac_tool_warned=yes ;;
   7594 esac
   7595     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7596   fi
   7597 else
   7598   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7599 fi
   7600 
   7601 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7603 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7604 if ${lt_cv_path_mainfest_tool+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   lt_cv_path_mainfest_tool=no
   7608   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7609   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7610   cat conftest.err >&5
   7611   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7612     lt_cv_path_mainfest_tool=yes
   7613   fi
   7614   rm -f conftest*
   7615 fi
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7617 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7618 if test yes != "$lt_cv_path_mainfest_tool"; then
   7619   MANIFEST_TOOL=:
   7620 fi
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627   case $host_os in
   7628     rhapsody* | darwin*)
   7629     if test -n "$ac_tool_prefix"; then
   7630   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7631 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7633 $as_echo_n "checking for $ac_word... " >&6; }
   7634 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7635   $as_echo_n "(cached) " >&6
   7636 else
   7637   if test -n "$DSYMUTIL"; then
   7638   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7639 else
   7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7641 for as_dir in $PATH
   7642 do
   7643   IFS=$as_save_IFS
   7644   test -z "$as_dir" && as_dir=.
   7645     for ac_exec_ext in '' $ac_executable_extensions; do
   7646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7647     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7649     break 2
   7650   fi
   7651 done
   7652   done
   7653 IFS=$as_save_IFS
   7654 
   7655 fi
   7656 fi
   7657 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7658 if test -n "$DSYMUTIL"; then
   7659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7660 $as_echo "$DSYMUTIL" >&6; }
   7661 else
   7662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7663 $as_echo "no" >&6; }
   7664 fi
   7665 
   7666 
   7667 fi
   7668 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7669   ac_ct_DSYMUTIL=$DSYMUTIL
   7670   # Extract the first word of "dsymutil", so it can be a program name with args.
   7671 set dummy dsymutil; ac_word=$2
   7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7673 $as_echo_n "checking for $ac_word... " >&6; }
   7674 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   if test -n "$ac_ct_DSYMUTIL"; then
   7678   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7679 else
   7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7681 for as_dir in $PATH
   7682 do
   7683   IFS=$as_save_IFS
   7684   test -z "$as_dir" && as_dir=.
   7685     for ac_exec_ext in '' $ac_executable_extensions; do
   7686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7687     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7689     break 2
   7690   fi
   7691 done
   7692   done
   7693 IFS=$as_save_IFS
   7694 
   7695 fi
   7696 fi
   7697 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7698 if test -n "$ac_ct_DSYMUTIL"; then
   7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7700 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7701 else
   7702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7703 $as_echo "no" >&6; }
   7704 fi
   7705 
   7706   if test "x$ac_ct_DSYMUTIL" = x; then
   7707     DSYMUTIL=":"
   7708   else
   7709     case $cross_compiling:$ac_tool_warned in
   7710 yes:)
   7711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7713 ac_tool_warned=yes ;;
   7714 esac
   7715     DSYMUTIL=$ac_ct_DSYMUTIL
   7716   fi
   7717 else
   7718   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7719 fi
   7720 
   7721     if test -n "$ac_tool_prefix"; then
   7722   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7723 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7725 $as_echo_n "checking for $ac_word... " >&6; }
   7726 if ${ac_cv_prog_NMEDIT+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   if test -n "$NMEDIT"; then
   7730   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7731 else
   7732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7733 for as_dir in $PATH
   7734 do
   7735   IFS=$as_save_IFS
   7736   test -z "$as_dir" && as_dir=.
   7737     for ac_exec_ext in '' $ac_executable_extensions; do
   7738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7739     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7741     break 2
   7742   fi
   7743 done
   7744   done
   7745 IFS=$as_save_IFS
   7746 
   7747 fi
   7748 fi
   7749 NMEDIT=$ac_cv_prog_NMEDIT
   7750 if test -n "$NMEDIT"; then
   7751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7752 $as_echo "$NMEDIT" >&6; }
   7753 else
   7754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7755 $as_echo "no" >&6; }
   7756 fi
   7757 
   7758 
   7759 fi
   7760 if test -z "$ac_cv_prog_NMEDIT"; then
   7761   ac_ct_NMEDIT=$NMEDIT
   7762   # Extract the first word of "nmedit", so it can be a program name with args.
   7763 set dummy nmedit; ac_word=$2
   7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7765 $as_echo_n "checking for $ac_word... " >&6; }
   7766 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7767   $as_echo_n "(cached) " >&6
   7768 else
   7769   if test -n "$ac_ct_NMEDIT"; then
   7770   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7771 else
   7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7773 for as_dir in $PATH
   7774 do
   7775   IFS=$as_save_IFS
   7776   test -z "$as_dir" && as_dir=.
   7777     for ac_exec_ext in '' $ac_executable_extensions; do
   7778   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7779     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7781     break 2
   7782   fi
   7783 done
   7784   done
   7785 IFS=$as_save_IFS
   7786 
   7787 fi
   7788 fi
   7789 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7790 if test -n "$ac_ct_NMEDIT"; then
   7791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7792 $as_echo "$ac_ct_NMEDIT" >&6; }
   7793 else
   7794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7795 $as_echo "no" >&6; }
   7796 fi
   7797 
   7798   if test "x$ac_ct_NMEDIT" = x; then
   7799     NMEDIT=":"
   7800   else
   7801     case $cross_compiling:$ac_tool_warned in
   7802 yes:)
   7803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7805 ac_tool_warned=yes ;;
   7806 esac
   7807     NMEDIT=$ac_ct_NMEDIT
   7808   fi
   7809 else
   7810   NMEDIT="$ac_cv_prog_NMEDIT"
   7811 fi
   7812 
   7813     if test -n "$ac_tool_prefix"; then
   7814   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7815 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7817 $as_echo_n "checking for $ac_word... " >&6; }
   7818 if ${ac_cv_prog_LIPO+:} false; then :
   7819   $as_echo_n "(cached) " >&6
   7820 else
   7821   if test -n "$LIPO"; then
   7822   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7823 else
   7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7825 for as_dir in $PATH
   7826 do
   7827   IFS=$as_save_IFS
   7828   test -z "$as_dir" && as_dir=.
   7829     for ac_exec_ext in '' $ac_executable_extensions; do
   7830   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7831     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7833     break 2
   7834   fi
   7835 done
   7836   done
   7837 IFS=$as_save_IFS
   7838 
   7839 fi
   7840 fi
   7841 LIPO=$ac_cv_prog_LIPO
   7842 if test -n "$LIPO"; then
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7844 $as_echo "$LIPO" >&6; }
   7845 else
   7846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7847 $as_echo "no" >&6; }
   7848 fi
   7849 
   7850 
   7851 fi
   7852 if test -z "$ac_cv_prog_LIPO"; then
   7853   ac_ct_LIPO=$LIPO
   7854   # Extract the first word of "lipo", so it can be a program name with args.
   7855 set dummy lipo; ac_word=$2
   7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7857 $as_echo_n "checking for $ac_word... " >&6; }
   7858 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7859   $as_echo_n "(cached) " >&6
   7860 else
   7861   if test -n "$ac_ct_LIPO"; then
   7862   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7863 else
   7864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7865 for as_dir in $PATH
   7866 do
   7867   IFS=$as_save_IFS
   7868   test -z "$as_dir" && as_dir=.
   7869     for ac_exec_ext in '' $ac_executable_extensions; do
   7870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7871     ac_cv_prog_ac_ct_LIPO="lipo"
   7872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7873     break 2
   7874   fi
   7875 done
   7876   done
   7877 IFS=$as_save_IFS
   7878 
   7879 fi
   7880 fi
   7881 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7882 if test -n "$ac_ct_LIPO"; then
   7883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7884 $as_echo "$ac_ct_LIPO" >&6; }
   7885 else
   7886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7887 $as_echo "no" >&6; }
   7888 fi
   7889 
   7890   if test "x$ac_ct_LIPO" = x; then
   7891     LIPO=":"
   7892   else
   7893     case $cross_compiling:$ac_tool_warned in
   7894 yes:)
   7895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7897 ac_tool_warned=yes ;;
   7898 esac
   7899     LIPO=$ac_ct_LIPO
   7900   fi
   7901 else
   7902   LIPO="$ac_cv_prog_LIPO"
   7903 fi
   7904 
   7905     if test -n "$ac_tool_prefix"; then
   7906   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7907 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7909 $as_echo_n "checking for $ac_word... " >&6; }
   7910 if ${ac_cv_prog_OTOOL+:} false; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   if test -n "$OTOOL"; then
   7914   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7915 else
   7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7917 for as_dir in $PATH
   7918 do
   7919   IFS=$as_save_IFS
   7920   test -z "$as_dir" && as_dir=.
   7921     for ac_exec_ext in '' $ac_executable_extensions; do
   7922   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7923     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7925     break 2
   7926   fi
   7927 done
   7928   done
   7929 IFS=$as_save_IFS
   7930 
   7931 fi
   7932 fi
   7933 OTOOL=$ac_cv_prog_OTOOL
   7934 if test -n "$OTOOL"; then
   7935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7936 $as_echo "$OTOOL" >&6; }
   7937 else
   7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7939 $as_echo "no" >&6; }
   7940 fi
   7941 
   7942 
   7943 fi
   7944 if test -z "$ac_cv_prog_OTOOL"; then
   7945   ac_ct_OTOOL=$OTOOL
   7946   # Extract the first word of "otool", so it can be a program name with args.
   7947 set dummy otool; ac_word=$2
   7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7949 $as_echo_n "checking for $ac_word... " >&6; }
   7950 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7951   $as_echo_n "(cached) " >&6
   7952 else
   7953   if test -n "$ac_ct_OTOOL"; then
   7954   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7955 else
   7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7957 for as_dir in $PATH
   7958 do
   7959   IFS=$as_save_IFS
   7960   test -z "$as_dir" && as_dir=.
   7961     for ac_exec_ext in '' $ac_executable_extensions; do
   7962   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7963     ac_cv_prog_ac_ct_OTOOL="otool"
   7964     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7965     break 2
   7966   fi
   7967 done
   7968   done
   7969 IFS=$as_save_IFS
   7970 
   7971 fi
   7972 fi
   7973 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7974 if test -n "$ac_ct_OTOOL"; then
   7975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7976 $as_echo "$ac_ct_OTOOL" >&6; }
   7977 else
   7978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7979 $as_echo "no" >&6; }
   7980 fi
   7981 
   7982   if test "x$ac_ct_OTOOL" = x; then
   7983     OTOOL=":"
   7984   else
   7985     case $cross_compiling:$ac_tool_warned in
   7986 yes:)
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7989 ac_tool_warned=yes ;;
   7990 esac
   7991     OTOOL=$ac_ct_OTOOL
   7992   fi
   7993 else
   7994   OTOOL="$ac_cv_prog_OTOOL"
   7995 fi
   7996 
   7997     if test -n "$ac_tool_prefix"; then
   7998   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7999 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8001 $as_echo_n "checking for $ac_word... " >&6; }
   8002 if ${ac_cv_prog_OTOOL64+:} false; then :
   8003   $as_echo_n "(cached) " >&6
   8004 else
   8005   if test -n "$OTOOL64"; then
   8006   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8007 else
   8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8009 for as_dir in $PATH
   8010 do
   8011   IFS=$as_save_IFS
   8012   test -z "$as_dir" && as_dir=.
   8013     for ac_exec_ext in '' $ac_executable_extensions; do
   8014   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8015     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8017     break 2
   8018   fi
   8019 done
   8020   done
   8021 IFS=$as_save_IFS
   8022 
   8023 fi
   8024 fi
   8025 OTOOL64=$ac_cv_prog_OTOOL64
   8026 if test -n "$OTOOL64"; then
   8027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8028 $as_echo "$OTOOL64" >&6; }
   8029 else
   8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8031 $as_echo "no" >&6; }
   8032 fi
   8033 
   8034 
   8035 fi
   8036 if test -z "$ac_cv_prog_OTOOL64"; then
   8037   ac_ct_OTOOL64=$OTOOL64
   8038   # Extract the first word of "otool64", so it can be a program name with args.
   8039 set dummy otool64; ac_word=$2
   8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8041 $as_echo_n "checking for $ac_word... " >&6; }
   8042 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8043   $as_echo_n "(cached) " >&6
   8044 else
   8045   if test -n "$ac_ct_OTOOL64"; then
   8046   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8047 else
   8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8049 for as_dir in $PATH
   8050 do
   8051   IFS=$as_save_IFS
   8052   test -z "$as_dir" && as_dir=.
   8053     for ac_exec_ext in '' $ac_executable_extensions; do
   8054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8055     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8057     break 2
   8058   fi
   8059 done
   8060   done
   8061 IFS=$as_save_IFS
   8062 
   8063 fi
   8064 fi
   8065 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8066 if test -n "$ac_ct_OTOOL64"; then
   8067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8068 $as_echo "$ac_ct_OTOOL64" >&6; }
   8069 else
   8070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8071 $as_echo "no" >&6; }
   8072 fi
   8073 
   8074   if test "x$ac_ct_OTOOL64" = x; then
   8075     OTOOL64=":"
   8076   else
   8077     case $cross_compiling:$ac_tool_warned in
   8078 yes:)
   8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8081 ac_tool_warned=yes ;;
   8082 esac
   8083     OTOOL64=$ac_ct_OTOOL64
   8084   fi
   8085 else
   8086   OTOOL64="$ac_cv_prog_OTOOL64"
   8087 fi
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8116 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8117 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8118   $as_echo_n "(cached) " >&6
   8119 else
   8120   lt_cv_apple_cc_single_mod=no
   8121       if test -z "$LT_MULTI_MODULE"; then
   8122 	# By default we will add the -single_module flag. You can override
   8123 	# by either setting the environment variable LT_MULTI_MODULE
   8124 	# non-empty at configure time, or by adding -multi_module to the
   8125 	# link flags.
   8126 	rm -rf libconftest.dylib*
   8127 	echo "int foo(void){return 1;}" > conftest.c
   8128 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8129 -dynamiclib -Wl,-single_module conftest.c" >&5
   8130 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8131 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8132         _lt_result=$?
   8133 	# If there is a non-empty error log, and "single_module"
   8134 	# appears in it, assume the flag caused a linker warning
   8135         if test -s conftest.err && $GREP single_module conftest.err; then
   8136 	  cat conftest.err >&5
   8137 	# Otherwise, if the output was created with a 0 exit code from
   8138 	# the compiler, it worked.
   8139 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8140 	  lt_cv_apple_cc_single_mod=yes
   8141 	else
   8142 	  cat conftest.err >&5
   8143 	fi
   8144 	rm -rf libconftest.dylib*
   8145 	rm -f conftest.*
   8146       fi
   8147 fi
   8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8149 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8150 
   8151     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8152 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8153 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8154   $as_echo_n "(cached) " >&6
   8155 else
   8156   lt_cv_ld_exported_symbols_list=no
   8157       save_LDFLAGS=$LDFLAGS
   8158       echo "_main" > conftest.sym
   8159       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 
   8163 int
   8164 main ()
   8165 {
   8166 
   8167   ;
   8168   return 0;
   8169 }
   8170 _ACEOF
   8171 if ac_fn_c_try_link "$LINENO"; then :
   8172   lt_cv_ld_exported_symbols_list=yes
   8173 else
   8174   lt_cv_ld_exported_symbols_list=no
   8175 fi
   8176 rm -f core conftest.err conftest.$ac_objext \
   8177     conftest$ac_exeext conftest.$ac_ext
   8178 	LDFLAGS=$save_LDFLAGS
   8179 
   8180 fi
   8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8182 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8183 
   8184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8185 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8186 if ${lt_cv_ld_force_load+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   lt_cv_ld_force_load=no
   8190       cat > conftest.c << _LT_EOF
   8191 int forced_loaded() { return 2;}
   8192 _LT_EOF
   8193       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8194       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8195       echo "$AR cru libconftest.a conftest.o" >&5
   8196       $AR cru libconftest.a conftest.o 2>&5
   8197       echo "$RANLIB libconftest.a" >&5
   8198       $RANLIB libconftest.a 2>&5
   8199       cat > conftest.c << _LT_EOF
   8200 int main() { return 0;}
   8201 _LT_EOF
   8202       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8203       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8204       _lt_result=$?
   8205       if test -s conftest.err && $GREP force_load conftest.err; then
   8206 	cat conftest.err >&5
   8207       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8208 	lt_cv_ld_force_load=yes
   8209       else
   8210 	cat conftest.err >&5
   8211       fi
   8212         rm -f conftest.err libconftest.a conftest conftest.c
   8213         rm -rf conftest.dSYM
   8214 
   8215 fi
   8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8217 $as_echo "$lt_cv_ld_force_load" >&6; }
   8218     case $host_os in
   8219     rhapsody* | darwin1.[012])
   8220       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8221     darwin1.*)
   8222       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8223     darwin*) # darwin 5.x on
   8224       # if running on 10.5 or later, the deployment target defaults
   8225       # to the OS version, if on x86, and 10.4, the deployment
   8226       # target defaults to 10.4. Don't you love it?
   8227       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8228 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8229 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8230 	10.[012][,.]*)
   8231 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8232 	10.*)
   8233 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8234       esac
   8235     ;;
   8236   esac
   8237     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8238       _lt_dar_single_mod='$single_module'
   8239     fi
   8240     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8241       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8242     else
   8243       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8244     fi
   8245     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8246       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8247     else
   8248       _lt_dsymutil=
   8249     fi
   8250     ;;
   8251   esac
   8252 
   8253 # func_munge_path_list VARIABLE PATH
   8254 # -----------------------------------
   8255 # VARIABLE is name of variable containing _space_ separated list of
   8256 # directories to be munged by the contents of PATH, which is string
   8257 # having a format:
   8258 # "DIR[:DIR]:"
   8259 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8260 # ":DIR[:DIR]"
   8261 #       string "DIR[ DIR]" will be appended to VARIABLE
   8262 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8263 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8264 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8265 # "DIR[:DIR]"
   8266 #       VARIABLE will be replaced by "DIR[ DIR]"
   8267 func_munge_path_list ()
   8268 {
   8269     case x$2 in
   8270     x)
   8271         ;;
   8272     *:)
   8273         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8274         ;;
   8275     x:*)
   8276         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8277         ;;
   8278     *::*)
   8279         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8280         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8281         ;;
   8282     *)
   8283         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8284         ;;
   8285     esac
   8286 }
   8287 
   8288 for ac_header in dlfcn.h
   8289 do :
   8290   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8291 "
   8292 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8293   cat >>confdefs.h <<_ACEOF
   8294 #define HAVE_DLFCN_H 1
   8295 _ACEOF
   8296 
   8297 fi
   8298 
   8299 done
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 # Set options
   8306 enable_win32_dll=yes
   8307 
   8308 case $host in
   8309 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   8310   if test -n "$ac_tool_prefix"; then
   8311   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   8312 set dummy ${ac_tool_prefix}as; ac_word=$2
   8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8314 $as_echo_n "checking for $ac_word... " >&6; }
   8315 if ${ac_cv_prog_AS+:} false; then :
   8316   $as_echo_n "(cached) " >&6
   8317 else
   8318   if test -n "$AS"; then
   8319   ac_cv_prog_AS="$AS" # Let the user override the test.
   8320 else
   8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8322 for as_dir in $PATH
   8323 do
   8324   IFS=$as_save_IFS
   8325   test -z "$as_dir" && as_dir=.
   8326     for ac_exec_ext in '' $ac_executable_extensions; do
   8327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8328     ac_cv_prog_AS="${ac_tool_prefix}as"
   8329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8330     break 2
   8331   fi
   8332 done
   8333   done
   8334 IFS=$as_save_IFS
   8335 
   8336 fi
   8337 fi
   8338 AS=$ac_cv_prog_AS
   8339 if test -n "$AS"; then
   8340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8341 $as_echo "$AS" >&6; }
   8342 else
   8343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8344 $as_echo "no" >&6; }
   8345 fi
   8346 
   8347 
   8348 fi
   8349 if test -z "$ac_cv_prog_AS"; then
   8350   ac_ct_AS=$AS
   8351   # Extract the first word of "as", so it can be a program name with args.
   8352 set dummy as; ac_word=$2
   8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8354 $as_echo_n "checking for $ac_word... " >&6; }
   8355 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   8356   $as_echo_n "(cached) " >&6
   8357 else
   8358   if test -n "$ac_ct_AS"; then
   8359   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   8360 else
   8361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8362 for as_dir in $PATH
   8363 do
   8364   IFS=$as_save_IFS
   8365   test -z "$as_dir" && as_dir=.
   8366     for ac_exec_ext in '' $ac_executable_extensions; do
   8367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8368     ac_cv_prog_ac_ct_AS="as"
   8369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8370     break 2
   8371   fi
   8372 done
   8373   done
   8374 IFS=$as_save_IFS
   8375 
   8376 fi
   8377 fi
   8378 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   8379 if test -n "$ac_ct_AS"; then
   8380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   8381 $as_echo "$ac_ct_AS" >&6; }
   8382 else
   8383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8384 $as_echo "no" >&6; }
   8385 fi
   8386 
   8387   if test "x$ac_ct_AS" = x; then
   8388     AS="false"
   8389   else
   8390     case $cross_compiling:$ac_tool_warned in
   8391 yes:)
   8392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8394 ac_tool_warned=yes ;;
   8395 esac
   8396     AS=$ac_ct_AS
   8397   fi
   8398 else
   8399   AS="$ac_cv_prog_AS"
   8400 fi
   8401 
   8402   if test -n "$ac_tool_prefix"; then
   8403   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   8404 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8406 $as_echo_n "checking for $ac_word... " >&6; }
   8407 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8408   $as_echo_n "(cached) " >&6
   8409 else
   8410   if test -n "$DLLTOOL"; then
   8411   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8412 else
   8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8414 for as_dir in $PATH
   8415 do
   8416   IFS=$as_save_IFS
   8417   test -z "$as_dir" && as_dir=.
   8418     for ac_exec_ext in '' $ac_executable_extensions; do
   8419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8420     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   8421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8422     break 2
   8423   fi
   8424 done
   8425   done
   8426 IFS=$as_save_IFS
   8427 
   8428 fi
   8429 fi
   8430 DLLTOOL=$ac_cv_prog_DLLTOOL
   8431 if test -n "$DLLTOOL"; then
   8432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8433 $as_echo "$DLLTOOL" >&6; }
   8434 else
   8435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8436 $as_echo "no" >&6; }
   8437 fi
   8438 
   8439 
   8440 fi
   8441 if test -z "$ac_cv_prog_DLLTOOL"; then
   8442   ac_ct_DLLTOOL=$DLLTOOL
   8443   # Extract the first word of "dlltool", so it can be a program name with args.
   8444 set dummy dlltool; ac_word=$2
   8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8446 $as_echo_n "checking for $ac_word... " >&6; }
   8447 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   8448   $as_echo_n "(cached) " >&6
   8449 else
   8450   if test -n "$ac_ct_DLLTOOL"; then
   8451   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8452 else
   8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8454 for as_dir in $PATH
   8455 do
   8456   IFS=$as_save_IFS
   8457   test -z "$as_dir" && as_dir=.
   8458     for ac_exec_ext in '' $ac_executable_extensions; do
   8459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8460     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8462     break 2
   8463   fi
   8464 done
   8465   done
   8466 IFS=$as_save_IFS
   8467 
   8468 fi
   8469 fi
   8470 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8471 if test -n "$ac_ct_DLLTOOL"; then
   8472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8473 $as_echo "$ac_ct_DLLTOOL" >&6; }
   8474 else
   8475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8476 $as_echo "no" >&6; }
   8477 fi
   8478 
   8479   if test "x$ac_ct_DLLTOOL" = x; then
   8480     DLLTOOL="false"
   8481   else
   8482     case $cross_compiling:$ac_tool_warned in
   8483 yes:)
   8484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8486 ac_tool_warned=yes ;;
   8487 esac
   8488     DLLTOOL=$ac_ct_DLLTOOL
   8489   fi
   8490 else
   8491   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8492 fi
   8493 
   8494   if test -n "$ac_tool_prefix"; then
   8495   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   8496 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8498 $as_echo_n "checking for $ac_word... " >&6; }
   8499 if ${ac_cv_prog_OBJDUMP+:} false; then :
   8500   $as_echo_n "(cached) " >&6
   8501 else
   8502   if test -n "$OBJDUMP"; then
   8503   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   8504 else
   8505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8506 for as_dir in $PATH
   8507 do
   8508   IFS=$as_save_IFS
   8509   test -z "$as_dir" && as_dir=.
   8510     for ac_exec_ext in '' $ac_executable_extensions; do
   8511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8512     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8514     break 2
   8515   fi
   8516 done
   8517   done
   8518 IFS=$as_save_IFS
   8519 
   8520 fi
   8521 fi
   8522 OBJDUMP=$ac_cv_prog_OBJDUMP
   8523 if test -n "$OBJDUMP"; then
   8524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8525 $as_echo "$OBJDUMP" >&6; }
   8526 else
   8527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8528 $as_echo "no" >&6; }
   8529 fi
   8530 
   8531 
   8532 fi
   8533 if test -z "$ac_cv_prog_OBJDUMP"; then
   8534   ac_ct_OBJDUMP=$OBJDUMP
   8535   # Extract the first word of "objdump", so it can be a program name with args.
   8536 set dummy objdump; ac_word=$2
   8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8538 $as_echo_n "checking for $ac_word... " >&6; }
   8539 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   8540   $as_echo_n "(cached) " >&6
   8541 else
   8542   if test -n "$ac_ct_OBJDUMP"; then
   8543   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8544 else
   8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8546 for as_dir in $PATH
   8547 do
   8548   IFS=$as_save_IFS
   8549   test -z "$as_dir" && as_dir=.
   8550     for ac_exec_ext in '' $ac_executable_extensions; do
   8551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8552     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8554     break 2
   8555   fi
   8556 done
   8557   done
   8558 IFS=$as_save_IFS
   8559 
   8560 fi
   8561 fi
   8562 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8563 if test -n "$ac_ct_OBJDUMP"; then
   8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8565 $as_echo "$ac_ct_OBJDUMP" >&6; }
   8566 else
   8567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8568 $as_echo "no" >&6; }
   8569 fi
   8570 
   8571   if test "x$ac_ct_OBJDUMP" = x; then
   8572     OBJDUMP="false"
   8573   else
   8574     case $cross_compiling:$ac_tool_warned in
   8575 yes:)
   8576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8578 ac_tool_warned=yes ;;
   8579 esac
   8580     OBJDUMP=$ac_ct_OBJDUMP
   8581   fi
   8582 else
   8583   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8584 fi
   8585 
   8586   ;;
   8587 esac
   8588 
   8589 test -z "$AS" && AS=as
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 test -z "$DLLTOOL" && DLLTOOL=dlltool
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 test -z "$OBJDUMP" && OBJDUMP=objdump
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609         enable_dlopen=no
   8610 
   8611 
   8612 
   8613             # Check whether --enable-shared was given.
   8614 if test "${enable_shared+set}" = set; then :
   8615   enableval=$enable_shared; p=${PACKAGE-default}
   8616     case $enableval in
   8617     yes) enable_shared=yes ;;
   8618     no) enable_shared=no ;;
   8619     *)
   8620       enable_shared=no
   8621       # Look at the argument we got.  We use all the common list separators.
   8622       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8623       for pkg in $enableval; do
   8624 	IFS=$lt_save_ifs
   8625 	if test "X$pkg" = "X$p"; then
   8626 	  enable_shared=yes
   8627 	fi
   8628       done
   8629       IFS=$lt_save_ifs
   8630       ;;
   8631     esac
   8632 else
   8633   enable_shared=yes
   8634 fi
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644   # Check whether --enable-static was given.
   8645 if test "${enable_static+set}" = set; then :
   8646   enableval=$enable_static; p=${PACKAGE-default}
   8647     case $enableval in
   8648     yes) enable_static=yes ;;
   8649     no) enable_static=no ;;
   8650     *)
   8651      enable_static=no
   8652       # Look at the argument we got.  We use all the common list separators.
   8653       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8654       for pkg in $enableval; do
   8655 	IFS=$lt_save_ifs
   8656 	if test "X$pkg" = "X$p"; then
   8657 	  enable_static=yes
   8658 	fi
   8659       done
   8660       IFS=$lt_save_ifs
   8661       ;;
   8662     esac
   8663 else
   8664   enable_static=yes
   8665 fi
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 # Check whether --with-pic was given.
   8677 if test "${with_pic+set}" = set; then :
   8678   withval=$with_pic; lt_p=${PACKAGE-default}
   8679     case $withval in
   8680     yes|no) pic_mode=$withval ;;
   8681     *)
   8682       pic_mode=default
   8683       # Look at the argument we got.  We use all the common list separators.
   8684       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8685       for lt_pkg in $withval; do
   8686 	IFS=$lt_save_ifs
   8687 	if test "X$lt_pkg" = "X$lt_p"; then
   8688 	  pic_mode=yes
   8689 	fi
   8690       done
   8691       IFS=$lt_save_ifs
   8692       ;;
   8693     esac
   8694 else
   8695   pic_mode=default
   8696 fi
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705   # Check whether --enable-fast-install was given.
   8706 if test "${enable_fast_install+set}" = set; then :
   8707   enableval=$enable_fast_install; p=${PACKAGE-default}
   8708     case $enableval in
   8709     yes) enable_fast_install=yes ;;
   8710     no) enable_fast_install=no ;;
   8711     *)
   8712       enable_fast_install=no
   8713       # Look at the argument we got.  We use all the common list separators.
   8714       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8715       for pkg in $enableval; do
   8716 	IFS=$lt_save_ifs
   8717 	if test "X$pkg" = "X$p"; then
   8718 	  enable_fast_install=yes
   8719 	fi
   8720       done
   8721       IFS=$lt_save_ifs
   8722       ;;
   8723     esac
   8724 else
   8725   enable_fast_install=yes
   8726 fi
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735   shared_archive_member_spec=
   8736 case $host,$enable_shared in
   8737 power*-*-aix[5-9]*,yes)
   8738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8739 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8740 
   8741 # Check whether --with-aix-soname was given.
   8742 if test "${with_aix_soname+set}" = set; then :
   8743   withval=$with_aix_soname; case $withval in
   8744     aix|svr4|both)
   8745       ;;
   8746     *)
   8747       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8748       ;;
   8749     esac
   8750     lt_cv_with_aix_soname=$with_aix_soname
   8751 else
   8752   if ${lt_cv_with_aix_soname+:} false; then :
   8753   $as_echo_n "(cached) " >&6
   8754 else
   8755   lt_cv_with_aix_soname=aix
   8756 fi
   8757 
   8758     with_aix_soname=$lt_cv_with_aix_soname
   8759 fi
   8760 
   8761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8762 $as_echo "$with_aix_soname" >&6; }
   8763   if test aix != "$with_aix_soname"; then
   8764     # For the AIX way of multilib, we name the shared archive member
   8765     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8766     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8767     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8768     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8769     if test 64 = "${OBJECT_MODE-32}"; then
   8770       shared_archive_member_spec=shr_64
   8771     else
   8772       shared_archive_member_spec=shr
   8773     fi
   8774   fi
   8775   ;;
   8776 *)
   8777   with_aix_soname=aix
   8778   ;;
   8779 esac
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 # This can be used to rebuild libtool when needed
   8791 LIBTOOL_DEPS=$ltmain
   8792 
   8793 # Always use our own libtool.
   8794 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 test -z "$LN_S" && LN_S="ln -s"
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 if test -n "${ZSH_VERSION+set}"; then
   8841    setopt NO_GLOB_SUBST
   8842 fi
   8843 
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8845 $as_echo_n "checking for objdir... " >&6; }
   8846 if ${lt_cv_objdir+:} false; then :
   8847   $as_echo_n "(cached) " >&6
   8848 else
   8849   rm -f .libs 2>/dev/null
   8850 mkdir .libs 2>/dev/null
   8851 if test -d .libs; then
   8852   lt_cv_objdir=.libs
   8853 else
   8854   # MS-DOS does not allow filenames that begin with a dot.
   8855   lt_cv_objdir=_libs
   8856 fi
   8857 rmdir .libs 2>/dev/null
   8858 fi
   8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8860 $as_echo "$lt_cv_objdir" >&6; }
   8861 objdir=$lt_cv_objdir
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 cat >>confdefs.h <<_ACEOF
   8868 #define LT_OBJDIR "$lt_cv_objdir/"
   8869 _ACEOF
   8870 
   8871 
   8872 
   8873 
   8874 case $host_os in
   8875 aix3*)
   8876   # AIX sometimes has problems with the GCC collect2 program.  For some
   8877   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8878   # vanish in a puff of smoke.
   8879   if test set != "${COLLECT_NAMES+set}"; then
   8880     COLLECT_NAMES=
   8881     export COLLECT_NAMES
   8882   fi
   8883   ;;
   8884 esac
   8885 
   8886 # Global variables:
   8887 ofile=libtool
   8888 can_build_shared=yes
   8889 
   8890 # All known linkers require a '.a' archive for static linking (except MSVC,
   8891 # which needs '.lib').
   8892 libext=a
   8893 
   8894 with_gnu_ld=$lt_cv_prog_gnu_ld
   8895 
   8896 old_CC=$CC
   8897 old_CFLAGS=$CFLAGS
   8898 
   8899 # Set sane defaults for various variables
   8900 test -z "$CC" && CC=cc
   8901 test -z "$LTCC" && LTCC=$CC
   8902 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8903 test -z "$LD" && LD=ld
   8904 test -z "$ac_objext" && ac_objext=o
   8905 
   8906 func_cc_basename $compiler
   8907 cc_basename=$func_cc_basename_result
   8908 
   8909 
   8910 # Only perform the check for file, if the check method requires it
   8911 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8912 case $deplibs_check_method in
   8913 file_magic*)
   8914   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8916 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8917 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8918   $as_echo_n "(cached) " >&6
   8919 else
   8920   case $MAGIC_CMD in
   8921 [\\/*] |  ?:[\\/]*)
   8922   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8923   ;;
   8924 *)
   8925   lt_save_MAGIC_CMD=$MAGIC_CMD
   8926   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8927   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8928   for ac_dir in $ac_dummy; do
   8929     IFS=$lt_save_ifs
   8930     test -z "$ac_dir" && ac_dir=.
   8931     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8932       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8933       if test -n "$file_magic_test_file"; then
   8934 	case $deplibs_check_method in
   8935 	"file_magic "*)
   8936 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8937 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8938 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8939 	    $EGREP "$file_magic_regex" > /dev/null; then
   8940 	    :
   8941 	  else
   8942 	    cat <<_LT_EOF 1>&2
   8943 
   8944 *** Warning: the command libtool uses to detect shared libraries,
   8945 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8946 *** The result is that libtool may fail to recognize shared libraries
   8947 *** as such.  This will affect the creation of libtool libraries that
   8948 *** depend on shared libraries, but programs linked with such libtool
   8949 *** libraries will work regardless of this problem.  Nevertheless, you
   8950 *** may want to report the problem to your system manager and/or to
   8951 *** bug-libtool (at] gnu.org
   8952 
   8953 _LT_EOF
   8954 	  fi ;;
   8955 	esac
   8956       fi
   8957       break
   8958     fi
   8959   done
   8960   IFS=$lt_save_ifs
   8961   MAGIC_CMD=$lt_save_MAGIC_CMD
   8962   ;;
   8963 esac
   8964 fi
   8965 
   8966 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8967 if test -n "$MAGIC_CMD"; then
   8968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8969 $as_echo "$MAGIC_CMD" >&6; }
   8970 else
   8971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8972 $as_echo "no" >&6; }
   8973 fi
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8980   if test -n "$ac_tool_prefix"; then
   8981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8982 $as_echo_n "checking for file... " >&6; }
   8983 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8984   $as_echo_n "(cached) " >&6
   8985 else
   8986   case $MAGIC_CMD in
   8987 [\\/*] |  ?:[\\/]*)
   8988   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8989   ;;
   8990 *)
   8991   lt_save_MAGIC_CMD=$MAGIC_CMD
   8992   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8993   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8994   for ac_dir in $ac_dummy; do
   8995     IFS=$lt_save_ifs
   8996     test -z "$ac_dir" && ac_dir=.
   8997     if test -f "$ac_dir/file"; then
   8998       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8999       if test -n "$file_magic_test_file"; then
   9000 	case $deplibs_check_method in
   9001 	"file_magic "*)
   9002 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9003 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9004 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9005 	    $EGREP "$file_magic_regex" > /dev/null; then
   9006 	    :
   9007 	  else
   9008 	    cat <<_LT_EOF 1>&2
   9009 
   9010 *** Warning: the command libtool uses to detect shared libraries,
   9011 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9012 *** The result is that libtool may fail to recognize shared libraries
   9013 *** as such.  This will affect the creation of libtool libraries that
   9014 *** depend on shared libraries, but programs linked with such libtool
   9015 *** libraries will work regardless of this problem.  Nevertheless, you
   9016 *** may want to report the problem to your system manager and/or to
   9017 *** bug-libtool (at] gnu.org
   9018 
   9019 _LT_EOF
   9020 	  fi ;;
   9021 	esac
   9022       fi
   9023       break
   9024     fi
   9025   done
   9026   IFS=$lt_save_ifs
   9027   MAGIC_CMD=$lt_save_MAGIC_CMD
   9028   ;;
   9029 esac
   9030 fi
   9031 
   9032 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9033 if test -n "$MAGIC_CMD"; then
   9034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9035 $as_echo "$MAGIC_CMD" >&6; }
   9036 else
   9037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9038 $as_echo "no" >&6; }
   9039 fi
   9040 
   9041 
   9042   else
   9043     MAGIC_CMD=:
   9044   fi
   9045 fi
   9046 
   9047   fi
   9048   ;;
   9049 esac
   9050 
   9051 # Use C for the default configuration in the libtool script
   9052 
   9053 lt_save_CC=$CC
   9054 ac_ext=c
   9055 ac_cpp='$CPP $CPPFLAGS'
   9056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9059 
   9060 
   9061 # Source file extension for C test sources.
   9062 ac_ext=c
   9063 
   9064 # Object file extension for compiled C test sources.
   9065 objext=o
   9066 objext=$objext
   9067 
   9068 # Code to be used in simple compile tests
   9069 lt_simple_compile_test_code="int some_variable = 0;"
   9070 
   9071 # Code to be used in simple link tests
   9072 lt_simple_link_test_code='int main(){return(0);}'
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 # If no C compiler was specified, use CC.
   9081 LTCC=${LTCC-"$CC"}
   9082 
   9083 # If no C compiler flags were specified, use CFLAGS.
   9084 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9085 
   9086 # Allow CC to be a program name with arguments.
   9087 compiler=$CC
   9088 
   9089 # Save the default compiler, since it gets overwritten when the other
   9090 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9091 compiler_DEFAULT=$CC
   9092 
   9093 # save warnings/boilerplate of simple test code
   9094 ac_outfile=conftest.$ac_objext
   9095 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9096 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9097 _lt_compiler_boilerplate=`cat conftest.err`
   9098 $RM conftest*
   9099 
   9100 ac_outfile=conftest.$ac_objext
   9101 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9102 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9103 _lt_linker_boilerplate=`cat conftest.err`
   9104 $RM -r conftest*
   9105 
   9106 
   9107 ## CAVEAT EMPTOR:
   9108 ## There is no encapsulation within the following macros, do not change
   9109 ## the running order or otherwise move them around unless you know exactly
   9110 ## what you are doing...
   9111 if test -n "$compiler"; then
   9112 
   9113 lt_prog_compiler_no_builtin_flag=
   9114 
   9115 if test yes = "$GCC"; then
   9116   case $cc_basename in
   9117   nvcc*)
   9118     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9119   *)
   9120     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9121   esac
   9122 
   9123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9124 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9125 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9126   $as_echo_n "(cached) " >&6
   9127 else
   9128   lt_cv_prog_compiler_rtti_exceptions=no
   9129    ac_outfile=conftest.$ac_objext
   9130    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9131    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9132    # Insert the option either (1) after the last *FLAGS variable, or
   9133    # (2) before a word containing "conftest.", or (3) at the end.
   9134    # Note that $ac_compile itself does not contain backslashes and begins
   9135    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9136    # The option is referenced via a variable to avoid confusing sed.
   9137    lt_compile=`echo "$ac_compile" | $SED \
   9138    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9139    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9140    -e 's:$: $lt_compiler_flag:'`
   9141    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9142    (eval "$lt_compile" 2>conftest.err)
   9143    ac_status=$?
   9144    cat conftest.err >&5
   9145    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9146    if (exit $ac_status) && test -s "$ac_outfile"; then
   9147      # The compiler can only warn and ignore the option if not recognized
   9148      # So say no if there are warnings other than the usual output.
   9149      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9150      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9151      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9152        lt_cv_prog_compiler_rtti_exceptions=yes
   9153      fi
   9154    fi
   9155    $RM conftest*
   9156 
   9157 fi
   9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9159 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9160 
   9161 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9162     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9163 else
   9164     :
   9165 fi
   9166 
   9167 fi
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174   lt_prog_compiler_wl=
   9175 lt_prog_compiler_pic=
   9176 lt_prog_compiler_static=
   9177 
   9178 
   9179   if test yes = "$GCC"; then
   9180     lt_prog_compiler_wl='-Wl,'
   9181     lt_prog_compiler_static='-static'
   9182 
   9183     case $host_os in
   9184       aix*)
   9185       # All AIX code is PIC.
   9186       if test ia64 = "$host_cpu"; then
   9187 	# AIX 5 now supports IA64 processor
   9188 	lt_prog_compiler_static='-Bstatic'
   9189       fi
   9190       lt_prog_compiler_pic='-fPIC'
   9191       ;;
   9192 
   9193     amigaos*)
   9194       case $host_cpu in
   9195       powerpc)
   9196             # see comment about AmigaOS4 .so support
   9197             lt_prog_compiler_pic='-fPIC'
   9198         ;;
   9199       m68k)
   9200             # FIXME: we need at least 68020 code to build shared libraries, but
   9201             # adding the '-m68020' flag to GCC prevents building anything better,
   9202             # like '-m68040'.
   9203             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9204         ;;
   9205       esac
   9206       ;;
   9207 
   9208     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9209       # PIC is the default for these OSes.
   9210       ;;
   9211 
   9212     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9213       # This hack is so that the source file can tell whether it is being
   9214       # built for inclusion in a dll (and should export symbols for example).
   9215       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9216       # (--disable-auto-import) libraries
   9217       lt_prog_compiler_pic='-DDLL_EXPORT'
   9218       case $host_os in
   9219       os2*)
   9220 	lt_prog_compiler_static='$wl-static'
   9221 	;;
   9222       esac
   9223       ;;
   9224 
   9225     darwin* | rhapsody*)
   9226       # PIC is the default on this platform
   9227       # Common symbols not allowed in MH_DYLIB files
   9228       lt_prog_compiler_pic='-fno-common'
   9229       ;;
   9230 
   9231     haiku*)
   9232       # PIC is the default for Haiku.
   9233       # The "-static" flag exists, but is broken.
   9234       lt_prog_compiler_static=
   9235       ;;
   9236 
   9237     hpux*)
   9238       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9239       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9240       # sets the default TLS model and affects inlining.
   9241       case $host_cpu in
   9242       hppa*64*)
   9243 	# +Z the default
   9244 	;;
   9245       *)
   9246 	lt_prog_compiler_pic='-fPIC'
   9247 	;;
   9248       esac
   9249       ;;
   9250 
   9251     interix[3-9]*)
   9252       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9253       # Instead, we relocate shared libraries at runtime.
   9254       ;;
   9255 
   9256     msdosdjgpp*)
   9257       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9258       # on systems that don't support them.
   9259       lt_prog_compiler_can_build_shared=no
   9260       enable_shared=no
   9261       ;;
   9262 
   9263     *nto* | *qnx*)
   9264       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9265       # it will coredump.
   9266       lt_prog_compiler_pic='-fPIC -shared'
   9267       ;;
   9268 
   9269     sysv4*MP*)
   9270       if test -d /usr/nec; then
   9271 	lt_prog_compiler_pic=-Kconform_pic
   9272       fi
   9273       ;;
   9274 
   9275     *)
   9276       lt_prog_compiler_pic='-fPIC'
   9277       ;;
   9278     esac
   9279 
   9280     case $cc_basename in
   9281     nvcc*) # Cuda Compiler Driver 2.2
   9282       lt_prog_compiler_wl='-Xlinker '
   9283       if test -n "$lt_prog_compiler_pic"; then
   9284         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9285       fi
   9286       ;;
   9287     esac
   9288   else
   9289     # PORTME Check for flag to pass linker flags through the system compiler.
   9290     case $host_os in
   9291     aix*)
   9292       lt_prog_compiler_wl='-Wl,'
   9293       if test ia64 = "$host_cpu"; then
   9294 	# AIX 5 now supports IA64 processor
   9295 	lt_prog_compiler_static='-Bstatic'
   9296       else
   9297 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9298       fi
   9299       ;;
   9300 
   9301     darwin* | rhapsody*)
   9302       # PIC is the default on this platform
   9303       # Common symbols not allowed in MH_DYLIB files
   9304       lt_prog_compiler_pic='-fno-common'
   9305       case $cc_basename in
   9306       nagfor*)
   9307         # NAG Fortran compiler
   9308         lt_prog_compiler_wl='-Wl,-Wl,,'
   9309         lt_prog_compiler_pic='-PIC'
   9310         lt_prog_compiler_static='-Bstatic'
   9311         ;;
   9312       esac
   9313       ;;
   9314 
   9315     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9316       # This hack is so that the source file can tell whether it is being
   9317       # built for inclusion in a dll (and should export symbols for example).
   9318       lt_prog_compiler_pic='-DDLL_EXPORT'
   9319       case $host_os in
   9320       os2*)
   9321 	lt_prog_compiler_static='$wl-static'
   9322 	;;
   9323       esac
   9324       ;;
   9325 
   9326     hpux9* | hpux10* | hpux11*)
   9327       lt_prog_compiler_wl='-Wl,'
   9328       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9329       # not for PA HP-UX.
   9330       case $host_cpu in
   9331       hppa*64*|ia64*)
   9332 	# +Z the default
   9333 	;;
   9334       *)
   9335 	lt_prog_compiler_pic='+Z'
   9336 	;;
   9337       esac
   9338       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9339       lt_prog_compiler_static='$wl-a ${wl}archive'
   9340       ;;
   9341 
   9342     irix5* | irix6* | nonstopux*)
   9343       lt_prog_compiler_wl='-Wl,'
   9344       # PIC (with -KPIC) is the default.
   9345       lt_prog_compiler_static='-non_shared'
   9346       ;;
   9347 
   9348     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9349       case $cc_basename in
   9350       # old Intel for x86_64, which still supported -KPIC.
   9351       ecc*)
   9352 	lt_prog_compiler_wl='-Wl,'
   9353 	lt_prog_compiler_pic='-KPIC'
   9354 	lt_prog_compiler_static='-static'
   9355         ;;
   9356       # icc used to be incompatible with GCC.
   9357       # ICC 10 doesn't accept -KPIC any more.
   9358       icc* | ifort*)
   9359 	lt_prog_compiler_wl='-Wl,'
   9360 	lt_prog_compiler_pic='-fPIC'
   9361 	lt_prog_compiler_static='-static'
   9362         ;;
   9363       # Lahey Fortran 8.1.
   9364       lf95*)
   9365 	lt_prog_compiler_wl='-Wl,'
   9366 	lt_prog_compiler_pic='--shared'
   9367 	lt_prog_compiler_static='--static'
   9368 	;;
   9369       nagfor*)
   9370 	# NAG Fortran compiler
   9371 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9372 	lt_prog_compiler_pic='-PIC'
   9373 	lt_prog_compiler_static='-Bstatic'
   9374 	;;
   9375       tcc*)
   9376 	# Fabrice Bellard et al's Tiny C Compiler
   9377 	lt_prog_compiler_wl='-Wl,'
   9378 	lt_prog_compiler_pic='-fPIC'
   9379 	lt_prog_compiler_static='-static'
   9380 	;;
   9381       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9382         # Portland Group compilers (*not* the Pentium gcc compiler,
   9383 	# which looks to be a dead project)
   9384 	lt_prog_compiler_wl='-Wl,'
   9385 	lt_prog_compiler_pic='-fpic'
   9386 	lt_prog_compiler_static='-Bstatic'
   9387         ;;
   9388       ccc*)
   9389         lt_prog_compiler_wl='-Wl,'
   9390         # All Alpha code is PIC.
   9391         lt_prog_compiler_static='-non_shared'
   9392         ;;
   9393       xl* | bgxl* | bgf* | mpixl*)
   9394 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9395 	lt_prog_compiler_wl='-Wl,'
   9396 	lt_prog_compiler_pic='-qpic'
   9397 	lt_prog_compiler_static='-qstaticlink'
   9398 	;;
   9399       *)
   9400 	case `$CC -V 2>&1 | sed 5q` in
   9401 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9402 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9403 	  lt_prog_compiler_pic='-KPIC'
   9404 	  lt_prog_compiler_static='-Bstatic'
   9405 	  lt_prog_compiler_wl=''
   9406 	  ;;
   9407 	*Sun\ F* | *Sun*Fortran*)
   9408 	  lt_prog_compiler_pic='-KPIC'
   9409 	  lt_prog_compiler_static='-Bstatic'
   9410 	  lt_prog_compiler_wl='-Qoption ld '
   9411 	  ;;
   9412 	*Sun\ C*)
   9413 	  # Sun C 5.9
   9414 	  lt_prog_compiler_pic='-KPIC'
   9415 	  lt_prog_compiler_static='-Bstatic'
   9416 	  lt_prog_compiler_wl='-Wl,'
   9417 	  ;;
   9418         *Intel*\ [CF]*Compiler*)
   9419 	  lt_prog_compiler_wl='-Wl,'
   9420 	  lt_prog_compiler_pic='-fPIC'
   9421 	  lt_prog_compiler_static='-static'
   9422 	  ;;
   9423 	*Portland\ Group*)
   9424 	  lt_prog_compiler_wl='-Wl,'
   9425 	  lt_prog_compiler_pic='-fpic'
   9426 	  lt_prog_compiler_static='-Bstatic'
   9427 	  ;;
   9428 	esac
   9429 	;;
   9430       esac
   9431       ;;
   9432 
   9433     newsos6)
   9434       lt_prog_compiler_pic='-KPIC'
   9435       lt_prog_compiler_static='-Bstatic'
   9436       ;;
   9437 
   9438     *nto* | *qnx*)
   9439       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9440       # it will coredump.
   9441       lt_prog_compiler_pic='-fPIC -shared'
   9442       ;;
   9443 
   9444     osf3* | osf4* | osf5*)
   9445       lt_prog_compiler_wl='-Wl,'
   9446       # All OSF/1 code is PIC.
   9447       lt_prog_compiler_static='-non_shared'
   9448       ;;
   9449 
   9450     rdos*)
   9451       lt_prog_compiler_static='-non_shared'
   9452       ;;
   9453 
   9454     solaris*)
   9455       lt_prog_compiler_pic='-KPIC'
   9456       lt_prog_compiler_static='-Bstatic'
   9457       case $cc_basename in
   9458       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9459 	lt_prog_compiler_wl='-Qoption ld ';;
   9460       *)
   9461 	lt_prog_compiler_wl='-Wl,';;
   9462       esac
   9463       ;;
   9464 
   9465     sunos4*)
   9466       lt_prog_compiler_wl='-Qoption ld '
   9467       lt_prog_compiler_pic='-PIC'
   9468       lt_prog_compiler_static='-Bstatic'
   9469       ;;
   9470 
   9471     sysv4 | sysv4.2uw2* | sysv4.3*)
   9472       lt_prog_compiler_wl='-Wl,'
   9473       lt_prog_compiler_pic='-KPIC'
   9474       lt_prog_compiler_static='-Bstatic'
   9475       ;;
   9476 
   9477     sysv4*MP*)
   9478       if test -d /usr/nec; then
   9479 	lt_prog_compiler_pic='-Kconform_pic'
   9480 	lt_prog_compiler_static='-Bstatic'
   9481       fi
   9482       ;;
   9483 
   9484     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9485       lt_prog_compiler_wl='-Wl,'
   9486       lt_prog_compiler_pic='-KPIC'
   9487       lt_prog_compiler_static='-Bstatic'
   9488       ;;
   9489 
   9490     unicos*)
   9491       lt_prog_compiler_wl='-Wl,'
   9492       lt_prog_compiler_can_build_shared=no
   9493       ;;
   9494 
   9495     uts4*)
   9496       lt_prog_compiler_pic='-pic'
   9497       lt_prog_compiler_static='-Bstatic'
   9498       ;;
   9499 
   9500     *)
   9501       lt_prog_compiler_can_build_shared=no
   9502       ;;
   9503     esac
   9504   fi
   9505 
   9506 case $host_os in
   9507   # For platforms that do not support PIC, -DPIC is meaningless:
   9508   *djgpp*)
   9509     lt_prog_compiler_pic=
   9510     ;;
   9511   *)
   9512     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9513     ;;
   9514 esac
   9515 
   9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9517 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9518 if ${lt_cv_prog_compiler_pic+:} false; then :
   9519   $as_echo_n "(cached) " >&6
   9520 else
   9521   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9522 fi
   9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9524 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9525 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9526 
   9527 #
   9528 # Check to make sure the PIC flag actually works.
   9529 #
   9530 if test -n "$lt_prog_compiler_pic"; then
   9531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9532 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9533 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9534   $as_echo_n "(cached) " >&6
   9535 else
   9536   lt_cv_prog_compiler_pic_works=no
   9537    ac_outfile=conftest.$ac_objext
   9538    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9539    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9540    # Insert the option either (1) after the last *FLAGS variable, or
   9541    # (2) before a word containing "conftest.", or (3) at the end.
   9542    # Note that $ac_compile itself does not contain backslashes and begins
   9543    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9544    # The option is referenced via a variable to avoid confusing sed.
   9545    lt_compile=`echo "$ac_compile" | $SED \
   9546    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9547    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9548    -e 's:$: $lt_compiler_flag:'`
   9549    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9550    (eval "$lt_compile" 2>conftest.err)
   9551    ac_status=$?
   9552    cat conftest.err >&5
   9553    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9554    if (exit $ac_status) && test -s "$ac_outfile"; then
   9555      # The compiler can only warn and ignore the option if not recognized
   9556      # So say no if there are warnings other than the usual output.
   9557      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9558      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9559      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9560        lt_cv_prog_compiler_pic_works=yes
   9561      fi
   9562    fi
   9563    $RM conftest*
   9564 
   9565 fi
   9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9567 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9568 
   9569 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9570     case $lt_prog_compiler_pic in
   9571      "" | " "*) ;;
   9572      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9573      esac
   9574 else
   9575     lt_prog_compiler_pic=
   9576      lt_prog_compiler_can_build_shared=no
   9577 fi
   9578 
   9579 fi
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 #
   9592 # Check to make sure the static flag actually works.
   9593 #
   9594 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9596 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9597 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9598   $as_echo_n "(cached) " >&6
   9599 else
   9600   lt_cv_prog_compiler_static_works=no
   9601    save_LDFLAGS=$LDFLAGS
   9602    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9603    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9604    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9605      # The linker can only warn and ignore the option if not recognized
   9606      # So say no if there are warnings
   9607      if test -s conftest.err; then
   9608        # Append any errors to the config.log.
   9609        cat conftest.err 1>&5
   9610        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9611        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9612        if diff conftest.exp conftest.er2 >/dev/null; then
   9613          lt_cv_prog_compiler_static_works=yes
   9614        fi
   9615      else
   9616        lt_cv_prog_compiler_static_works=yes
   9617      fi
   9618    fi
   9619    $RM -r conftest*
   9620    LDFLAGS=$save_LDFLAGS
   9621 
   9622 fi
   9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9624 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9625 
   9626 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9627     :
   9628 else
   9629     lt_prog_compiler_static=
   9630 fi
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9639 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9640 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9641   $as_echo_n "(cached) " >&6
   9642 else
   9643   lt_cv_prog_compiler_c_o=no
   9644    $RM -r conftest 2>/dev/null
   9645    mkdir conftest
   9646    cd conftest
   9647    mkdir out
   9648    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9649 
   9650    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9651    # Insert the option either (1) after the last *FLAGS variable, or
   9652    # (2) before a word containing "conftest.", or (3) at the end.
   9653    # Note that $ac_compile itself does not contain backslashes and begins
   9654    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9655    lt_compile=`echo "$ac_compile" | $SED \
   9656    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9657    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9658    -e 's:$: $lt_compiler_flag:'`
   9659    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9660    (eval "$lt_compile" 2>out/conftest.err)
   9661    ac_status=$?
   9662    cat out/conftest.err >&5
   9663    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9664    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9665    then
   9666      # The compiler can only warn and ignore the option if not recognized
   9667      # So say no if there are warnings
   9668      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9669      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9670      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9671        lt_cv_prog_compiler_c_o=yes
   9672      fi
   9673    fi
   9674    chmod u+w . 2>&5
   9675    $RM conftest*
   9676    # SGI C++ compiler will create directory out/ii_files/ for
   9677    # template instantiation
   9678    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9679    $RM out/* && rmdir out
   9680    cd ..
   9681    $RM -r conftest
   9682    $RM conftest*
   9683 
   9684 fi
   9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9686 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9694 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9695 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9696   $as_echo_n "(cached) " >&6
   9697 else
   9698   lt_cv_prog_compiler_c_o=no
   9699    $RM -r conftest 2>/dev/null
   9700    mkdir conftest
   9701    cd conftest
   9702    mkdir out
   9703    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9704 
   9705    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9706    # Insert the option either (1) after the last *FLAGS variable, or
   9707    # (2) before a word containing "conftest.", or (3) at the end.
   9708    # Note that $ac_compile itself does not contain backslashes and begins
   9709    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9710    lt_compile=`echo "$ac_compile" | $SED \
   9711    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9712    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9713    -e 's:$: $lt_compiler_flag:'`
   9714    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9715    (eval "$lt_compile" 2>out/conftest.err)
   9716    ac_status=$?
   9717    cat out/conftest.err >&5
   9718    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9719    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9720    then
   9721      # The compiler can only warn and ignore the option if not recognized
   9722      # So say no if there are warnings
   9723      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9724      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9725      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9726        lt_cv_prog_compiler_c_o=yes
   9727      fi
   9728    fi
   9729    chmod u+w . 2>&5
   9730    $RM conftest*
   9731    # SGI C++ compiler will create directory out/ii_files/ for
   9732    # template instantiation
   9733    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9734    $RM out/* && rmdir out
   9735    cd ..
   9736    $RM -r conftest
   9737    $RM conftest*
   9738 
   9739 fi
   9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9741 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9742 
   9743 
   9744 
   9745 
   9746 hard_links=nottested
   9747 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9748   # do not overwrite the value of need_locks provided by the user
   9749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9750 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9751   hard_links=yes
   9752   $RM conftest*
   9753   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9754   touch conftest.a
   9755   ln conftest.a conftest.b 2>&5 || hard_links=no
   9756   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9758 $as_echo "$hard_links" >&6; }
   9759   if test no = "$hard_links"; then
   9760     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9761 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9762     need_locks=warn
   9763   fi
   9764 else
   9765   need_locks=no
   9766 fi
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9774 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9775 
   9776   runpath_var=
   9777   allow_undefined_flag=
   9778   always_export_symbols=no
   9779   archive_cmds=
   9780   archive_expsym_cmds=
   9781   compiler_needs_object=no
   9782   enable_shared_with_static_runtimes=no
   9783   export_dynamic_flag_spec=
   9784   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9785   hardcode_automatic=no
   9786   hardcode_direct=no
   9787   hardcode_direct_absolute=no
   9788   hardcode_libdir_flag_spec=
   9789   hardcode_libdir_separator=
   9790   hardcode_minus_L=no
   9791   hardcode_shlibpath_var=unsupported
   9792   inherit_rpath=no
   9793   link_all_deplibs=unknown
   9794   module_cmds=
   9795   module_expsym_cmds=
   9796   old_archive_from_new_cmds=
   9797   old_archive_from_expsyms_cmds=
   9798   thread_safe_flag_spec=
   9799   whole_archive_flag_spec=
   9800   # include_expsyms should be a list of space-separated symbols to be *always*
   9801   # included in the symbol list
   9802   include_expsyms=
   9803   # exclude_expsyms can be an extended regexp of symbols to exclude
   9804   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9805   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9806   # as well as any symbol that contains 'd'.
   9807   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9808   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9809   # platforms (ab)use it in PIC code, but their linkers get confused if
   9810   # the symbol is explicitly referenced.  Since portable code cannot
   9811   # rely on this symbol name, it's probably fine to never include it in
   9812   # preloaded symbol tables.
   9813   # Exclude shared library initialization/finalization symbols.
   9814   extract_expsyms_cmds=
   9815 
   9816   case $host_os in
   9817   cygwin* | mingw* | pw32* | cegcc*)
   9818     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9819     # When not using gcc, we currently assume that we are using
   9820     # Microsoft Visual C++.
   9821     if test yes != "$GCC"; then
   9822       with_gnu_ld=no
   9823     fi
   9824     ;;
   9825   interix*)
   9826     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9827     with_gnu_ld=yes
   9828     ;;
   9829   openbsd* | bitrig*)
   9830     with_gnu_ld=no
   9831     ;;
   9832   linux* | k*bsd*-gnu | gnu*)
   9833     link_all_deplibs=no
   9834     ;;
   9835   esac
   9836 
   9837   ld_shlibs=yes
   9838 
   9839   # On some targets, GNU ld is compatible enough with the native linker
   9840   # that we're better off using the native interface for both.
   9841   lt_use_gnu_ld_interface=no
   9842   if test yes = "$with_gnu_ld"; then
   9843     case $host_os in
   9844       aix*)
   9845 	# The AIX port of GNU ld has always aspired to compatibility
   9846 	# with the native linker.  However, as the warning in the GNU ld
   9847 	# block says, versions before 2.19.5* couldn't really create working
   9848 	# shared libraries, regardless of the interface used.
   9849 	case `$LD -v 2>&1` in
   9850 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9851 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9852 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9853 	  *)
   9854 	    lt_use_gnu_ld_interface=yes
   9855 	    ;;
   9856 	esac
   9857 	;;
   9858       *)
   9859 	lt_use_gnu_ld_interface=yes
   9860 	;;
   9861     esac
   9862   fi
   9863 
   9864   if test yes = "$lt_use_gnu_ld_interface"; then
   9865     # If archive_cmds runs LD, not CC, wlarc should be empty
   9866     wlarc='$wl'
   9867 
   9868     # Set some defaults for GNU ld with shared library support. These
   9869     # are reset later if shared libraries are not supported. Putting them
   9870     # here allows them to be overridden if necessary.
   9871     runpath_var=LD_RUN_PATH
   9872     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9873     export_dynamic_flag_spec='$wl--export-dynamic'
   9874     # ancient GNU ld didn't support --whole-archive et. al.
   9875     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9876       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9877     else
   9878       whole_archive_flag_spec=
   9879     fi
   9880     supports_anon_versioning=no
   9881     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9882       *GNU\ gold*) supports_anon_versioning=yes ;;
   9883       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9884       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9885       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9886       *\ 2.11.*) ;; # other 2.11 versions
   9887       *) supports_anon_versioning=yes ;;
   9888     esac
   9889 
   9890     # See if GNU ld supports shared libraries.
   9891     case $host_os in
   9892     aix[3-9]*)
   9893       # On AIX/PPC, the GNU linker is very broken
   9894       if test ia64 != "$host_cpu"; then
   9895 	ld_shlibs=no
   9896 	cat <<_LT_EOF 1>&2
   9897 
   9898 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9899 *** to be unable to reliably create shared libraries on AIX.
   9900 *** Therefore, libtool is disabling shared libraries support.  If you
   9901 *** really care for shared libraries, you may want to install binutils
   9902 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9903 *** You will then need to restart the configuration process.
   9904 
   9905 _LT_EOF
   9906       fi
   9907       ;;
   9908 
   9909     amigaos*)
   9910       case $host_cpu in
   9911       powerpc)
   9912             # see comment about AmigaOS4 .so support
   9913             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9914             archive_expsym_cmds=''
   9915         ;;
   9916       m68k)
   9917             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)'
   9918             hardcode_libdir_flag_spec='-L$libdir'
   9919             hardcode_minus_L=yes
   9920         ;;
   9921       esac
   9922       ;;
   9923 
   9924     beos*)
   9925       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9926 	allow_undefined_flag=unsupported
   9927 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9928 	# support --undefined.  This deserves some investigation.  FIXME
   9929 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9930       else
   9931 	ld_shlibs=no
   9932       fi
   9933       ;;
   9934 
   9935     cygwin* | mingw* | pw32* | cegcc*)
   9936       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9937       # as there is no search path for DLLs.
   9938       hardcode_libdir_flag_spec='-L$libdir'
   9939       export_dynamic_flag_spec='$wl--export-all-symbols'
   9940       allow_undefined_flag=unsupported
   9941       always_export_symbols=no
   9942       enable_shared_with_static_runtimes=yes
   9943       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'
   9944       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9945 
   9946       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9947         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9948 	# If the export-symbols file already is a .def file, use it as
   9949 	# is; otherwise, prepend EXPORTS...
   9950 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9951           cp $export_symbols $output_objdir/$soname.def;
   9952         else
   9953           echo EXPORTS > $output_objdir/$soname.def;
   9954           cat $export_symbols >> $output_objdir/$soname.def;
   9955         fi~
   9956         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9957       else
   9958 	ld_shlibs=no
   9959       fi
   9960       ;;
   9961 
   9962     haiku*)
   9963       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9964       link_all_deplibs=yes
   9965       ;;
   9966 
   9967     os2*)
   9968       hardcode_libdir_flag_spec='-L$libdir'
   9969       hardcode_minus_L=yes
   9970       allow_undefined_flag=unsupported
   9971       shrext_cmds=.dll
   9972       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9973 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9974 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9975 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9976 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9977 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9978 	emximp -o $lib $output_objdir/$libname.def'
   9979       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9980 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9981 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9982 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9983 	prefix_cmds="$SED"~
   9984 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9985 	  prefix_cmds="$prefix_cmds -e 1d";
   9986 	fi~
   9987 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9988 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9989 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9990 	emximp -o $lib $output_objdir/$libname.def'
   9991       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9992       enable_shared_with_static_runtimes=yes
   9993       ;;
   9994 
   9995     interix[3-9]*)
   9996       hardcode_direct=no
   9997       hardcode_shlibpath_var=no
   9998       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9999       export_dynamic_flag_spec='$wl-E'
   10000       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10001       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10002       # default) and relocated if they conflict, which is a slow very memory
   10003       # consuming and fragmenting process.  To avoid this, we pick a random,
   10004       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10005       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10006       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10007       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'
   10008       ;;
   10009 
   10010     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10011       tmp_diet=no
   10012       if test linux-dietlibc = "$host_os"; then
   10013 	case $cc_basename in
   10014 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10015 	esac
   10016       fi
   10017       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10018 	 && test no = "$tmp_diet"
   10019       then
   10020 	tmp_addflag=' $pic_flag'
   10021 	tmp_sharedflag='-shared'
   10022 	case $cc_basename,$host_cpu in
   10023         pgcc*)				# Portland Group C compiler
   10024 	  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'
   10025 	  tmp_addflag=' $pic_flag'
   10026 	  ;;
   10027 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10028 					# Portland Group f77 and f90 compilers
   10029 	  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'
   10030 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10031 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10032 	  tmp_addflag=' -i_dynamic' ;;
   10033 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10034 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10035 	ifc* | ifort*)			# Intel Fortran compiler
   10036 	  tmp_addflag=' -nofor_main' ;;
   10037 	lf95*)				# Lahey Fortran 8.1
   10038 	  whole_archive_flag_spec=
   10039 	  tmp_sharedflag='--shared' ;;
   10040         nagfor*)                        # NAGFOR 5.3
   10041           tmp_sharedflag='-Wl,-shared' ;;
   10042 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10043 	  tmp_sharedflag='-qmkshrobj'
   10044 	  tmp_addflag= ;;
   10045 	nvcc*)	# Cuda Compiler Driver 2.2
   10046 	  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'
   10047 	  compiler_needs_object=yes
   10048 	  ;;
   10049 	esac
   10050 	case `$CC -V 2>&1 | sed 5q` in
   10051 	*Sun\ C*)			# Sun C 5.9
   10052 	  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'
   10053 	  compiler_needs_object=yes
   10054 	  tmp_sharedflag='-G' ;;
   10055 	*Sun\ F*)			# Sun Fortran 8.3
   10056 	  tmp_sharedflag='-G' ;;
   10057 	esac
   10058 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10059 
   10060         if test yes = "$supports_anon_versioning"; then
   10061           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10062             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10063             echo "local: *; };" >> $output_objdir/$libname.ver~
   10064             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10065         fi
   10066 
   10067 	case $cc_basename in
   10068 	tcc*)
   10069 	  export_dynamic_flag_spec='-rdynamic'
   10070 	  ;;
   10071 	xlf* | bgf* | bgxlf* | mpixlf*)
   10072 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10073 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10074 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10075 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10076 	  if test yes = "$supports_anon_versioning"; then
   10077 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10078               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10079               echo "local: *; };" >> $output_objdir/$libname.ver~
   10080               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10081 	  fi
   10082 	  ;;
   10083 	esac
   10084       else
   10085         ld_shlibs=no
   10086       fi
   10087       ;;
   10088 
   10089     netbsd* | netbsdelf*-gnu)
   10090       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10091 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10092 	wlarc=
   10093       else
   10094 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10095 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10096       fi
   10097       ;;
   10098 
   10099     solaris*)
   10100       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10101 	ld_shlibs=no
   10102 	cat <<_LT_EOF 1>&2
   10103 
   10104 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10105 *** create shared libraries on Solaris systems.  Therefore, libtool
   10106 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10107 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10108 *** your PATH or compiler configuration so that the native linker is
   10109 *** used, and then restart.
   10110 
   10111 _LT_EOF
   10112       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10113 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10114 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10115       else
   10116 	ld_shlibs=no
   10117       fi
   10118       ;;
   10119 
   10120     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10121       case `$LD -v 2>&1` in
   10122         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10123 	ld_shlibs=no
   10124 	cat <<_LT_EOF 1>&2
   10125 
   10126 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10127 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10128 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10129 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10130 *** your PATH or compiler configuration so that the native linker is
   10131 *** used, and then restart.
   10132 
   10133 _LT_EOF
   10134 	;;
   10135 	*)
   10136 	  # For security reasons, it is highly recommended that you always
   10137 	  # use absolute paths for naming shared libraries, and exclude the
   10138 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10139 	  # requires that you compile everything twice, which is a pain.
   10140 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10141 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10142 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10143 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10144 	  else
   10145 	    ld_shlibs=no
   10146 	  fi
   10147 	;;
   10148       esac
   10149       ;;
   10150 
   10151     sunos4*)
   10152       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10153       wlarc=
   10154       hardcode_direct=yes
   10155       hardcode_shlibpath_var=no
   10156       ;;
   10157 
   10158     *)
   10159       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10160 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10161 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10162       else
   10163 	ld_shlibs=no
   10164       fi
   10165       ;;
   10166     esac
   10167 
   10168     if test no = "$ld_shlibs"; then
   10169       runpath_var=
   10170       hardcode_libdir_flag_spec=
   10171       export_dynamic_flag_spec=
   10172       whole_archive_flag_spec=
   10173     fi
   10174   else
   10175     # PORTME fill in a description of your system's linker (not GNU ld)
   10176     case $host_os in
   10177     aix3*)
   10178       allow_undefined_flag=unsupported
   10179       always_export_symbols=yes
   10180       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'
   10181       # Note: this linker hardcodes the directories in LIBPATH if there
   10182       # are no directories specified by -L.
   10183       hardcode_minus_L=yes
   10184       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10185 	# Neither direct hardcoding nor static linking is supported with a
   10186 	# broken collect2.
   10187 	hardcode_direct=unsupported
   10188       fi
   10189       ;;
   10190 
   10191     aix[4-9]*)
   10192       if test ia64 = "$host_cpu"; then
   10193 	# On IA64, the linker does run time linking by default, so we don't
   10194 	# have to do anything special.
   10195 	aix_use_runtimelinking=no
   10196 	exp_sym_flag='-Bexport'
   10197 	no_entry_flag=
   10198       else
   10199 	# If we're using GNU nm, then we don't want the "-C" option.
   10200 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10201 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10202 	# weak defined symbols like other global defined symbols, whereas
   10203 	# GNU nm marks them as "W".
   10204 	# While the 'weak' keyword is ignored in the Export File, we need
   10205 	# it in the Import File for the 'aix-soname' feature, so we have
   10206 	# to replace the "-B" option with "-P" for AIX nm.
   10207 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10208 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   10209 	else
   10210 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   10211 	fi
   10212 	aix_use_runtimelinking=no
   10213 
   10214 	# Test if we are trying to use run time linking or normal
   10215 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10216 	# have runtime linking enabled, and use it for executables.
   10217 	# For shared libraries, we enable/disable runtime linking
   10218 	# depending on the kind of the shared library created -
   10219 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10220 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10221 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10222 	#            lib.a           static archive
   10223 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10224 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10225 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10226 	#            lib.a(lib.so.V) shared, rtl:no
   10227 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10228 	#            lib.a           static archive
   10229 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10230 	  for ld_flag in $LDFLAGS; do
   10231 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10232 	    aix_use_runtimelinking=yes
   10233 	    break
   10234 	  fi
   10235 	  done
   10236 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10237 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10238 	    # so we don't have lib.a shared libs to link our executables.
   10239 	    # We have to force runtime linking in this case.
   10240 	    aix_use_runtimelinking=yes
   10241 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10242 	  fi
   10243 	  ;;
   10244 	esac
   10245 
   10246 	exp_sym_flag='-bexport'
   10247 	no_entry_flag='-bnoentry'
   10248       fi
   10249 
   10250       # When large executables or shared objects are built, AIX ld can
   10251       # have problems creating the table of contents.  If linking a library
   10252       # or program results in "error TOC overflow" add -mminimal-toc to
   10253       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10254       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10255 
   10256       archive_cmds=''
   10257       hardcode_direct=yes
   10258       hardcode_direct_absolute=yes
   10259       hardcode_libdir_separator=':'
   10260       link_all_deplibs=yes
   10261       file_list_spec='$wl-f,'
   10262       case $with_aix_soname,$aix_use_runtimelinking in
   10263       aix,*) ;; # traditional, no import file
   10264       svr4,* | *,yes) # use import file
   10265 	# The Import File defines what to hardcode.
   10266 	hardcode_direct=no
   10267 	hardcode_direct_absolute=no
   10268 	;;
   10269       esac
   10270 
   10271       if test yes = "$GCC"; then
   10272 	case $host_os in aix4.[012]|aix4.[012].*)
   10273 	# We only want to do this on AIX 4.2 and lower, the check
   10274 	# below for broken collect2 doesn't work under 4.3+
   10275 	  collect2name=`$CC -print-prog-name=collect2`
   10276 	  if test -f "$collect2name" &&
   10277 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10278 	  then
   10279 	  # We have reworked collect2
   10280 	  :
   10281 	  else
   10282 	  # We have old collect2
   10283 	  hardcode_direct=unsupported
   10284 	  # It fails to find uninstalled libraries when the uninstalled
   10285 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10286 	  # to unsupported forces relinking
   10287 	  hardcode_minus_L=yes
   10288 	  hardcode_libdir_flag_spec='-L$libdir'
   10289 	  hardcode_libdir_separator=
   10290 	  fi
   10291 	  ;;
   10292 	esac
   10293 	shared_flag='-shared'
   10294 	if test yes = "$aix_use_runtimelinking"; then
   10295 	  shared_flag="$shared_flag "'$wl-G'
   10296 	fi
   10297 	# Need to ensure runtime linking is disabled for the traditional
   10298 	# shared library, or the linker may eventually find shared libraries
   10299 	# /with/ Import File - we do not want to mix them.
   10300 	shared_flag_aix='-shared'
   10301 	shared_flag_svr4='-shared $wl-G'
   10302       else
   10303 	# not using gcc
   10304 	if test ia64 = "$host_cpu"; then
   10305 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10306 	# chokes on -Wl,-G. The following line is correct:
   10307 	  shared_flag='-G'
   10308 	else
   10309 	  if test yes = "$aix_use_runtimelinking"; then
   10310 	    shared_flag='$wl-G'
   10311 	  else
   10312 	    shared_flag='$wl-bM:SRE'
   10313 	  fi
   10314 	  shared_flag_aix='$wl-bM:SRE'
   10315 	  shared_flag_svr4='$wl-G'
   10316 	fi
   10317       fi
   10318 
   10319       export_dynamic_flag_spec='$wl-bexpall'
   10320       # It seems that -bexpall does not export symbols beginning with
   10321       # underscore (_), so it is better to generate a list of symbols to export.
   10322       always_export_symbols=yes
   10323       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10324 	# Warning - without using the other runtime loading flags (-brtl),
   10325 	# -berok will link without error, but may produce a broken library.
   10326 	allow_undefined_flag='-berok'
   10327         # Determine the default libpath from the value encoded in an
   10328         # empty executable.
   10329         if test set = "${lt_cv_aix_libpath+set}"; then
   10330   aix_libpath=$lt_cv_aix_libpath
   10331 else
   10332   if ${lt_cv_aix_libpath_+:} false; then :
   10333   $as_echo_n "(cached) " >&6
   10334 else
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347 
   10348   lt_aix_libpath_sed='
   10349       /Import File Strings/,/^$/ {
   10350 	  /^0/ {
   10351 	      s/^0  *\([^ ]*\) *$/\1/
   10352 	      p
   10353 	  }
   10354       }'
   10355   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10356   # Check for a 64-bit object if we didn't find anything.
   10357   if test -z "$lt_cv_aix_libpath_"; then
   10358     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10359   fi
   10360 fi
   10361 rm -f core conftest.err conftest.$ac_objext \
   10362     conftest$ac_exeext conftest.$ac_ext
   10363   if test -z "$lt_cv_aix_libpath_"; then
   10364     lt_cv_aix_libpath_=/usr/lib:/lib
   10365   fi
   10366 
   10367 fi
   10368 
   10369   aix_libpath=$lt_cv_aix_libpath_
   10370 fi
   10371 
   10372         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10373         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   10374       else
   10375 	if test ia64 = "$host_cpu"; then
   10376 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10377 	  allow_undefined_flag="-z nodefs"
   10378 	  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"
   10379 	else
   10380 	 # Determine the default libpath from the value encoded in an
   10381 	 # empty executable.
   10382 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10383   aix_libpath=$lt_cv_aix_libpath
   10384 else
   10385   if ${lt_cv_aix_libpath_+:} false; then :
   10386   $as_echo_n "(cached) " >&6
   10387 else
   10388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10389 /* end confdefs.h.  */
   10390 
   10391 int
   10392 main ()
   10393 {
   10394 
   10395   ;
   10396   return 0;
   10397 }
   10398 _ACEOF
   10399 if ac_fn_c_try_link "$LINENO"; then :
   10400 
   10401   lt_aix_libpath_sed='
   10402       /Import File Strings/,/^$/ {
   10403 	  /^0/ {
   10404 	      s/^0  *\([^ ]*\) *$/\1/
   10405 	      p
   10406 	  }
   10407       }'
   10408   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10409   # Check for a 64-bit object if we didn't find anything.
   10410   if test -z "$lt_cv_aix_libpath_"; then
   10411     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10412   fi
   10413 fi
   10414 rm -f core conftest.err conftest.$ac_objext \
   10415     conftest$ac_exeext conftest.$ac_ext
   10416   if test -z "$lt_cv_aix_libpath_"; then
   10417     lt_cv_aix_libpath_=/usr/lib:/lib
   10418   fi
   10419 
   10420 fi
   10421 
   10422   aix_libpath=$lt_cv_aix_libpath_
   10423 fi
   10424 
   10425 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10426 	  # Warning - without using the other run time loading flags,
   10427 	  # -berok will link without error, but may produce a broken library.
   10428 	  no_undefined_flag=' $wl-bernotok'
   10429 	  allow_undefined_flag=' $wl-berok'
   10430 	  if test yes = "$with_gnu_ld"; then
   10431 	    # We only use this code for GNU lds that support --whole-archive.
   10432 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10433 	  else
   10434 	    # Exported symbols can be pulled into shared objects from archives
   10435 	    whole_archive_flag_spec='$convenience'
   10436 	  fi
   10437 	  archive_cmds_need_lc=yes
   10438 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10439 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10440 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10441 	  if test svr4 != "$with_aix_soname"; then
   10442 	    # This is similar to how AIX traditionally builds its shared libraries.
   10443 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   10444 	  fi
   10445 	  if test aix != "$with_aix_soname"; then
   10446 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   10447 	  else
   10448 	    # used by -dlpreopen to get the symbols
   10449 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10450 	  fi
   10451 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10452 	fi
   10453       fi
   10454       ;;
   10455 
   10456     amigaos*)
   10457       case $host_cpu in
   10458       powerpc)
   10459             # see comment about AmigaOS4 .so support
   10460             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10461             archive_expsym_cmds=''
   10462         ;;
   10463       m68k)
   10464             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)'
   10465             hardcode_libdir_flag_spec='-L$libdir'
   10466             hardcode_minus_L=yes
   10467         ;;
   10468       esac
   10469       ;;
   10470 
   10471     bsdi[45]*)
   10472       export_dynamic_flag_spec=-rdynamic
   10473       ;;
   10474 
   10475     cygwin* | mingw* | pw32* | cegcc*)
   10476       # When not using gcc, we currently assume that we are using
   10477       # Microsoft Visual C++.
   10478       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10479       # no search path for DLLs.
   10480       case $cc_basename in
   10481       cl*)
   10482 	# Native MSVC
   10483 	hardcode_libdir_flag_spec=' '
   10484 	allow_undefined_flag=unsupported
   10485 	always_export_symbols=yes
   10486 	file_list_spec='@'
   10487 	# Tell ltmain to make .lib files, not .a files.
   10488 	libext=lib
   10489 	# Tell ltmain to make .dll files, not .so files.
   10490 	shrext_cmds=.dll
   10491 	# FIXME: Setting linknames here is a bad hack.
   10492 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10493 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10494             cp "$export_symbols" "$output_objdir/$soname.def";
   10495             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10496           else
   10497             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10498           fi~
   10499           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10500           linknames='
   10501 	# The linker will not automatically build a static lib if we build a DLL.
   10502 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10503 	enable_shared_with_static_runtimes=yes
   10504 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10505 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10506 	# Don't use ranlib
   10507 	old_postinstall_cmds='chmod 644 $oldlib'
   10508 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10509           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10510           case $lt_outputfile in
   10511             *.exe|*.EXE) ;;
   10512             *)
   10513               lt_outputfile=$lt_outputfile.exe
   10514               lt_tool_outputfile=$lt_tool_outputfile.exe
   10515               ;;
   10516           esac~
   10517           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10518             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10519             $RM "$lt_outputfile.manifest";
   10520           fi'
   10521 	;;
   10522       *)
   10523 	# Assume MSVC wrapper
   10524 	hardcode_libdir_flag_spec=' '
   10525 	allow_undefined_flag=unsupported
   10526 	# Tell ltmain to make .lib files, not .a files.
   10527 	libext=lib
   10528 	# Tell ltmain to make .dll files, not .so files.
   10529 	shrext_cmds=.dll
   10530 	# FIXME: Setting linknames here is a bad hack.
   10531 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10532 	# The linker will automatically build a .lib file if we build a DLL.
   10533 	old_archive_from_new_cmds='true'
   10534 	# FIXME: Should let the user specify the lib program.
   10535 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10536 	enable_shared_with_static_runtimes=yes
   10537 	;;
   10538       esac
   10539       ;;
   10540 
   10541     darwin* | rhapsody*)
   10542 
   10543 
   10544   archive_cmds_need_lc=no
   10545   hardcode_direct=no
   10546   hardcode_automatic=yes
   10547   hardcode_shlibpath_var=unsupported
   10548   if test yes = "$lt_cv_ld_force_load"; then
   10549     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\"`'
   10550 
   10551   else
   10552     whole_archive_flag_spec=''
   10553   fi
   10554   link_all_deplibs=yes
   10555   allow_undefined_flag=$_lt_dar_allow_undefined
   10556   case $cc_basename in
   10557      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10558      *) _lt_dar_can_shared=$GCC ;;
   10559   esac
   10560   if test yes = "$_lt_dar_can_shared"; then
   10561     output_verbose_link_cmd=func_echo_all
   10562     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10563     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10564     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"
   10565     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"
   10566 
   10567   else
   10568   ld_shlibs=no
   10569   fi
   10570 
   10571       ;;
   10572 
   10573     dgux*)
   10574       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10575       hardcode_libdir_flag_spec='-L$libdir'
   10576       hardcode_shlibpath_var=no
   10577       ;;
   10578 
   10579     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10580     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10581     # does not break anything, and helps significantly (at the cost of a little
   10582     # extra space).
   10583     freebsd2.2*)
   10584       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10585       hardcode_libdir_flag_spec='-R$libdir'
   10586       hardcode_direct=yes
   10587       hardcode_shlibpath_var=no
   10588       ;;
   10589 
   10590     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10591     freebsd2.*)
   10592       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10593       hardcode_direct=yes
   10594       hardcode_minus_L=yes
   10595       hardcode_shlibpath_var=no
   10596       ;;
   10597 
   10598     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10599     freebsd* | dragonfly*)
   10600       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10601       hardcode_libdir_flag_spec='-R$libdir'
   10602       hardcode_direct=yes
   10603       hardcode_shlibpath_var=no
   10604       ;;
   10605 
   10606     hpux9*)
   10607       if test yes = "$GCC"; then
   10608 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   10609       else
   10610 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   10611       fi
   10612       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10613       hardcode_libdir_separator=:
   10614       hardcode_direct=yes
   10615 
   10616       # hardcode_minus_L: Not really in the search PATH,
   10617       # but as the default location of the library.
   10618       hardcode_minus_L=yes
   10619       export_dynamic_flag_spec='$wl-E'
   10620       ;;
   10621 
   10622     hpux10*)
   10623       if test yes,no = "$GCC,$with_gnu_ld"; then
   10624 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10625       else
   10626 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10627       fi
   10628       if test no = "$with_gnu_ld"; then
   10629 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10630 	hardcode_libdir_separator=:
   10631 	hardcode_direct=yes
   10632 	hardcode_direct_absolute=yes
   10633 	export_dynamic_flag_spec='$wl-E'
   10634 	# hardcode_minus_L: Not really in the search PATH,
   10635 	# but as the default location of the library.
   10636 	hardcode_minus_L=yes
   10637       fi
   10638       ;;
   10639 
   10640     hpux11*)
   10641       if test yes,no = "$GCC,$with_gnu_ld"; then
   10642 	case $host_cpu in
   10643 	hppa*64*)
   10644 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10645 	  ;;
   10646 	ia64*)
   10647 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10648 	  ;;
   10649 	*)
   10650 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10651 	  ;;
   10652 	esac
   10653       else
   10654 	case $host_cpu in
   10655 	hppa*64*)
   10656 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10657 	  ;;
   10658 	ia64*)
   10659 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10660 	  ;;
   10661 	*)
   10662 
   10663 	  # Older versions of the 11.00 compiler do not understand -b yet
   10664 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10665 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10666 $as_echo_n "checking if $CC understands -b... " >&6; }
   10667 if ${lt_cv_prog_compiler__b+:} false; then :
   10668   $as_echo_n "(cached) " >&6
   10669 else
   10670   lt_cv_prog_compiler__b=no
   10671    save_LDFLAGS=$LDFLAGS
   10672    LDFLAGS="$LDFLAGS -b"
   10673    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10674    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10675      # The linker can only warn and ignore the option if not recognized
   10676      # So say no if there are warnings
   10677      if test -s conftest.err; then
   10678        # Append any errors to the config.log.
   10679        cat conftest.err 1>&5
   10680        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10681        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10682        if diff conftest.exp conftest.er2 >/dev/null; then
   10683          lt_cv_prog_compiler__b=yes
   10684        fi
   10685      else
   10686        lt_cv_prog_compiler__b=yes
   10687      fi
   10688    fi
   10689    $RM -r conftest*
   10690    LDFLAGS=$save_LDFLAGS
   10691 
   10692 fi
   10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10694 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10695 
   10696 if test yes = "$lt_cv_prog_compiler__b"; then
   10697     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10698 else
   10699     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10700 fi
   10701 
   10702 	  ;;
   10703 	esac
   10704       fi
   10705       if test no = "$with_gnu_ld"; then
   10706 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10707 	hardcode_libdir_separator=:
   10708 
   10709 	case $host_cpu in
   10710 	hppa*64*|ia64*)
   10711 	  hardcode_direct=no
   10712 	  hardcode_shlibpath_var=no
   10713 	  ;;
   10714 	*)
   10715 	  hardcode_direct=yes
   10716 	  hardcode_direct_absolute=yes
   10717 	  export_dynamic_flag_spec='$wl-E'
   10718 
   10719 	  # hardcode_minus_L: Not really in the search PATH,
   10720 	  # but as the default location of the library.
   10721 	  hardcode_minus_L=yes
   10722 	  ;;
   10723 	esac
   10724       fi
   10725       ;;
   10726 
   10727     irix5* | irix6* | nonstopux*)
   10728       if test yes = "$GCC"; then
   10729 	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'
   10730 	# Try to use the -exported_symbol ld option, if it does not
   10731 	# work, assume that -exports_file does not work either and
   10732 	# implicitly export all symbols.
   10733 	# This should be the same for all languages, so no per-tag cache variable.
   10734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10735 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10736 if ${lt_cv_irix_exported_symbol+:} false; then :
   10737   $as_echo_n "(cached) " >&6
   10738 else
   10739   save_LDFLAGS=$LDFLAGS
   10740 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10741 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10742 /* end confdefs.h.  */
   10743 int foo (void) { return 0; }
   10744 _ACEOF
   10745 if ac_fn_c_try_link "$LINENO"; then :
   10746   lt_cv_irix_exported_symbol=yes
   10747 else
   10748   lt_cv_irix_exported_symbol=no
   10749 fi
   10750 rm -f core conftest.err conftest.$ac_objext \
   10751     conftest$ac_exeext conftest.$ac_ext
   10752            LDFLAGS=$save_LDFLAGS
   10753 fi
   10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10755 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10756 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10757           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'
   10758 	fi
   10759 	link_all_deplibs=no
   10760       else
   10761 	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'
   10762 	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'
   10763       fi
   10764       archive_cmds_need_lc='no'
   10765       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10766       hardcode_libdir_separator=:
   10767       inherit_rpath=yes
   10768       link_all_deplibs=yes
   10769       ;;
   10770 
   10771     linux*)
   10772       case $cc_basename in
   10773       tcc*)
   10774 	# Fabrice Bellard et al's Tiny C Compiler
   10775 	ld_shlibs=yes
   10776 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10777 	;;
   10778       esac
   10779       ;;
   10780 
   10781     netbsd* | netbsdelf*-gnu)
   10782       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10783 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10784       else
   10785 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10786       fi
   10787       hardcode_libdir_flag_spec='-R$libdir'
   10788       hardcode_direct=yes
   10789       hardcode_shlibpath_var=no
   10790       ;;
   10791 
   10792     newsos6)
   10793       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10794       hardcode_direct=yes
   10795       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10796       hardcode_libdir_separator=:
   10797       hardcode_shlibpath_var=no
   10798       ;;
   10799 
   10800     *nto* | *qnx*)
   10801       ;;
   10802 
   10803     openbsd* | bitrig*)
   10804       if test -f /usr/libexec/ld.so; then
   10805 	hardcode_direct=yes
   10806 	hardcode_shlibpath_var=no
   10807 	hardcode_direct_absolute=yes
   10808 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10809 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10810 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10811 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10812 	  export_dynamic_flag_spec='$wl-E'
   10813 	else
   10814 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10815 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10816 	fi
   10817       else
   10818 	ld_shlibs=no
   10819       fi
   10820       ;;
   10821 
   10822     os2*)
   10823       hardcode_libdir_flag_spec='-L$libdir'
   10824       hardcode_minus_L=yes
   10825       allow_undefined_flag=unsupported
   10826       shrext_cmds=.dll
   10827       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10828 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10829 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10830 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10831 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10832 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10833 	emximp -o $lib $output_objdir/$libname.def'
   10834       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10835 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10836 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10837 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10838 	prefix_cmds="$SED"~
   10839 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10840 	  prefix_cmds="$prefix_cmds -e 1d";
   10841 	fi~
   10842 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10843 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10844 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10845 	emximp -o $lib $output_objdir/$libname.def'
   10846       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10847       enable_shared_with_static_runtimes=yes
   10848       ;;
   10849 
   10850     osf3*)
   10851       if test yes = "$GCC"; then
   10852 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10853 	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'
   10854       else
   10855 	allow_undefined_flag=' -expect_unresolved \*'
   10856 	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'
   10857       fi
   10858       archive_cmds_need_lc='no'
   10859       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10860       hardcode_libdir_separator=:
   10861       ;;
   10862 
   10863     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10864       if test yes = "$GCC"; then
   10865 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10866 	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'
   10867 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10868       else
   10869 	allow_undefined_flag=' -expect_unresolved \*'
   10870 	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'
   10871 	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~
   10872           $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'
   10873 
   10874 	# Both c and cxx compiler support -rpath directly
   10875 	hardcode_libdir_flag_spec='-rpath $libdir'
   10876       fi
   10877       archive_cmds_need_lc='no'
   10878       hardcode_libdir_separator=:
   10879       ;;
   10880 
   10881     solaris*)
   10882       no_undefined_flag=' -z defs'
   10883       if test yes = "$GCC"; then
   10884 	wlarc='$wl'
   10885 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10886 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10887           $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'
   10888       else
   10889 	case `$CC -V 2>&1` in
   10890 	*"Compilers 5.0"*)
   10891 	  wlarc=''
   10892 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10893 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10894             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10895 	  ;;
   10896 	*)
   10897 	  wlarc='$wl'
   10898 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10899 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10900             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10901 	  ;;
   10902 	esac
   10903       fi
   10904       hardcode_libdir_flag_spec='-R$libdir'
   10905       hardcode_shlibpath_var=no
   10906       case $host_os in
   10907       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10908       *)
   10909 	# The compiler driver will combine and reorder linker options,
   10910 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10911 	# but is careful enough not to reorder.
   10912 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10913 	if test yes = "$GCC"; then
   10914 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10915 	else
   10916 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10917 	fi
   10918 	;;
   10919       esac
   10920       link_all_deplibs=yes
   10921       ;;
   10922 
   10923     sunos4*)
   10924       if test sequent = "$host_vendor"; then
   10925 	# Use $CC to link under sequent, because it throws in some extra .o
   10926 	# files that make .init and .fini sections work.
   10927 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10928       else
   10929 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10930       fi
   10931       hardcode_libdir_flag_spec='-L$libdir'
   10932       hardcode_direct=yes
   10933       hardcode_minus_L=yes
   10934       hardcode_shlibpath_var=no
   10935       ;;
   10936 
   10937     sysv4)
   10938       case $host_vendor in
   10939 	sni)
   10940 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10941 	  hardcode_direct=yes # is this really true???
   10942 	;;
   10943 	siemens)
   10944 	  ## LD is ld it makes a PLAMLIB
   10945 	  ## CC just makes a GrossModule.
   10946 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10947 	  reload_cmds='$CC -r -o $output$reload_objs'
   10948 	  hardcode_direct=no
   10949         ;;
   10950 	motorola)
   10951 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10952 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10953 	;;
   10954       esac
   10955       runpath_var='LD_RUN_PATH'
   10956       hardcode_shlibpath_var=no
   10957       ;;
   10958 
   10959     sysv4.3*)
   10960       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10961       hardcode_shlibpath_var=no
   10962       export_dynamic_flag_spec='-Bexport'
   10963       ;;
   10964 
   10965     sysv4*MP*)
   10966       if test -d /usr/nec; then
   10967 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10968 	hardcode_shlibpath_var=no
   10969 	runpath_var=LD_RUN_PATH
   10970 	hardcode_runpath_var=yes
   10971 	ld_shlibs=yes
   10972       fi
   10973       ;;
   10974 
   10975     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10976       no_undefined_flag='$wl-z,text'
   10977       archive_cmds_need_lc=no
   10978       hardcode_shlibpath_var=no
   10979       runpath_var='LD_RUN_PATH'
   10980 
   10981       if test yes = "$GCC"; then
   10982 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10983 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10984       else
   10985 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10986 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10987       fi
   10988       ;;
   10989 
   10990     sysv5* | sco3.2v5* | sco5v6*)
   10991       # Note: We CANNOT use -z defs as we might desire, because we do not
   10992       # link with -lc, and that would cause any symbols used from libc to
   10993       # always be unresolved, which means just about no library would
   10994       # ever link correctly.  If we're not using GNU ld we use -z text
   10995       # though, which does catch some bad symbols but isn't as heavy-handed
   10996       # as -z defs.
   10997       no_undefined_flag='$wl-z,text'
   10998       allow_undefined_flag='$wl-z,nodefs'
   10999       archive_cmds_need_lc=no
   11000       hardcode_shlibpath_var=no
   11001       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11002       hardcode_libdir_separator=':'
   11003       link_all_deplibs=yes
   11004       export_dynamic_flag_spec='$wl-Bexport'
   11005       runpath_var='LD_RUN_PATH'
   11006 
   11007       if test yes = "$GCC"; then
   11008 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11009 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11010       else
   11011 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11012 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11013       fi
   11014       ;;
   11015 
   11016     uts4*)
   11017       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11018       hardcode_libdir_flag_spec='-L$libdir'
   11019       hardcode_shlibpath_var=no
   11020       ;;
   11021 
   11022     *)
   11023       ld_shlibs=no
   11024       ;;
   11025     esac
   11026 
   11027     if test sni = "$host_vendor"; then
   11028       case $host in
   11029       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11030 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11031 	;;
   11032       esac
   11033     fi
   11034   fi
   11035 
   11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11037 $as_echo "$ld_shlibs" >&6; }
   11038 test no = "$ld_shlibs" && can_build_shared=no
   11039 
   11040 with_gnu_ld=$with_gnu_ld
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 #
   11057 # Do we need to explicitly link libc?
   11058 #
   11059 case "x$archive_cmds_need_lc" in
   11060 x|xyes)
   11061   # Assume -lc should be added
   11062   archive_cmds_need_lc=yes
   11063 
   11064   if test yes,yes = "$GCC,$enable_shared"; then
   11065     case $archive_cmds in
   11066     *'~'*)
   11067       # FIXME: we may have to deal with multi-command sequences.
   11068       ;;
   11069     '$CC '*)
   11070       # Test whether the compiler implicitly links with -lc since on some
   11071       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11072       # to ld, don't add -lc before -lgcc.
   11073       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11074 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11075 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11076   $as_echo_n "(cached) " >&6
   11077 else
   11078   $RM conftest*
   11079 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11080 
   11081 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11082   (eval $ac_compile) 2>&5
   11083   ac_status=$?
   11084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11085   test $ac_status = 0; } 2>conftest.err; then
   11086 	  soname=conftest
   11087 	  lib=conftest
   11088 	  libobjs=conftest.$ac_objext
   11089 	  deplibs=
   11090 	  wl=$lt_prog_compiler_wl
   11091 	  pic_flag=$lt_prog_compiler_pic
   11092 	  compiler_flags=-v
   11093 	  linker_flags=-v
   11094 	  verstring=
   11095 	  output_objdir=.
   11096 	  libname=conftest
   11097 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11098 	  allow_undefined_flag=
   11099 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11100   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11101   ac_status=$?
   11102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11103   test $ac_status = 0; }
   11104 	  then
   11105 	    lt_cv_archive_cmds_need_lc=no
   11106 	  else
   11107 	    lt_cv_archive_cmds_need_lc=yes
   11108 	  fi
   11109 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11110 	else
   11111 	  cat conftest.err 1>&5
   11112 	fi
   11113 	$RM conftest*
   11114 
   11115 fi
   11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11117 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11118       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11119       ;;
   11120     esac
   11121   fi
   11122   ;;
   11123 esac
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11277 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11278 
   11279 if test yes = "$GCC"; then
   11280   case $host_os in
   11281     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11282     *) lt_awk_arg='/^libraries:/' ;;
   11283   esac
   11284   case $host_os in
   11285     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11286     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11287   esac
   11288   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11289   case $lt_search_path_spec in
   11290   *\;*)
   11291     # if the path contains ";" then we assume it to be the separator
   11292     # otherwise default to the standard path separator (i.e. ":") - it is
   11293     # assumed that no part of a normal pathname contains ";" but that should
   11294     # okay in the real world where ";" in dirpaths is itself problematic.
   11295     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11296     ;;
   11297   *)
   11298     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11299     ;;
   11300   esac
   11301   # Ok, now we have the path, separated by spaces, we can step through it
   11302   # and add multilib dir if necessary...
   11303   lt_tmp_lt_search_path_spec=
   11304   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11305   # ...but if some path component already ends with the multilib dir we assume
   11306   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11307   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11308   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11309     lt_multi_os_dir=
   11310     ;;
   11311   esac
   11312   for lt_sys_path in $lt_search_path_spec; do
   11313     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11314       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11315     elif test -n "$lt_multi_os_dir"; then
   11316       test -d "$lt_sys_path" && \
   11317 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11318     fi
   11319   done
   11320   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11321 BEGIN {RS = " "; FS = "/|\n";} {
   11322   lt_foo = "";
   11323   lt_count = 0;
   11324   for (lt_i = NF; lt_i > 0; lt_i--) {
   11325     if ($lt_i != "" && $lt_i != ".") {
   11326       if ($lt_i == "..") {
   11327         lt_count++;
   11328       } else {
   11329         if (lt_count == 0) {
   11330           lt_foo = "/" $lt_i lt_foo;
   11331         } else {
   11332           lt_count--;
   11333         }
   11334       }
   11335     }
   11336   }
   11337   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11338   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11339 }'`
   11340   # AWK program above erroneously prepends '/' to C:/dos/paths
   11341   # for these hosts.
   11342   case $host_os in
   11343     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11344       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11345   esac
   11346   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11347 else
   11348   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11349 fi
   11350 library_names_spec=
   11351 libname_spec='lib$name'
   11352 soname_spec=
   11353 shrext_cmds=.so
   11354 postinstall_cmds=
   11355 postuninstall_cmds=
   11356 finish_cmds=
   11357 finish_eval=
   11358 shlibpath_var=
   11359 shlibpath_overrides_runpath=unknown
   11360 version_type=none
   11361 dynamic_linker="$host_os ld.so"
   11362 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11363 need_lib_prefix=unknown
   11364 hardcode_into_libs=no
   11365 
   11366 # when you set need_version to no, make sure it does not cause -set_version
   11367 # flags to be left without arguments
   11368 need_version=unknown
   11369 
   11370 
   11371 
   11372 case $host_os in
   11373 aix3*)
   11374   version_type=linux # correct to gnu/linux during the next big refactor
   11375   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11376   shlibpath_var=LIBPATH
   11377 
   11378   # AIX 3 has no versioning support, so we append a major version to the name.
   11379   soname_spec='$libname$release$shared_ext$major'
   11380   ;;
   11381 
   11382 aix[4-9]*)
   11383   version_type=linux # correct to gnu/linux during the next big refactor
   11384   need_lib_prefix=no
   11385   need_version=no
   11386   hardcode_into_libs=yes
   11387   if test ia64 = "$host_cpu"; then
   11388     # AIX 5 supports IA64
   11389     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11390     shlibpath_var=LD_LIBRARY_PATH
   11391   else
   11392     # With GCC up to 2.95.x, collect2 would create an import file
   11393     # for dependence libraries.  The import file would start with
   11394     # the line '#! .'.  This would cause the generated library to
   11395     # depend on '.', always an invalid library.  This was fixed in
   11396     # development snapshots of GCC prior to 3.0.
   11397     case $host_os in
   11398       aix4 | aix4.[01] | aix4.[01].*)
   11399       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11400 	   echo ' yes '
   11401 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11402 	:
   11403       else
   11404 	can_build_shared=no
   11405       fi
   11406       ;;
   11407     esac
   11408     # Using Import Files as archive members, it is possible to support
   11409     # filename-based versioning of shared library archives on AIX. While
   11410     # this would work for both with and without runtime linking, it will
   11411     # prevent static linking of such archives. So we do filename-based
   11412     # shared library versioning with .so extension only, which is used
   11413     # when both runtime linking and shared linking is enabled.
   11414     # Unfortunately, runtime linking may impact performance, so we do
   11415     # not want this to be the default eventually. Also, we use the
   11416     # versioned .so libs for executables only if there is the -brtl
   11417     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11418     # To allow for filename-based versioning support, we need to create
   11419     # libNAME.so.V as an archive file, containing:
   11420     # *) an Import File, referring to the versioned filename of the
   11421     #    archive as well as the shared archive member, telling the
   11422     #    bitwidth (32 or 64) of that shared object, and providing the
   11423     #    list of exported symbols of that shared object, eventually
   11424     #    decorated with the 'weak' keyword
   11425     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11426     #    it being seen by the linker.
   11427     # At run time we better use the real file rather than another symlink,
   11428     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11429 
   11430     case $with_aix_soname,$aix_use_runtimelinking in
   11431     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11432     # soname into executable. Probably we can add versioning support to
   11433     # collect2, so additional links can be useful in future.
   11434     aix,yes) # traditional libtool
   11435       dynamic_linker='AIX unversionable lib.so'
   11436       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11437       # instead of lib<name>.a to let people know that these are not
   11438       # typical AIX shared libraries.
   11439       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11440       ;;
   11441     aix,no) # traditional AIX only
   11442       dynamic_linker='AIX lib.a(lib.so.V)'
   11443       # We preserve .a as extension for shared libraries through AIX4.2
   11444       # and later when we are not doing run time linking.
   11445       library_names_spec='$libname$release.a $libname.a'
   11446       soname_spec='$libname$release$shared_ext$major'
   11447       ;;
   11448     svr4,*) # full svr4 only
   11449       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11450       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11451       # We do not specify a path in Import Files, so LIBPATH fires.
   11452       shlibpath_overrides_runpath=yes
   11453       ;;
   11454     *,yes) # both, prefer svr4
   11455       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11456       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11457       # unpreferred sharedlib libNAME.a needs extra handling
   11458       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   11459       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   11460       # We do not specify a path in Import Files, so LIBPATH fires.
   11461       shlibpath_overrides_runpath=yes
   11462       ;;
   11463     *,no) # both, prefer aix
   11464       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11465       library_names_spec='$libname$release.a $libname.a'
   11466       soname_spec='$libname$release$shared_ext$major'
   11467       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11468       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   11469       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   11470       ;;
   11471     esac
   11472     shlibpath_var=LIBPATH
   11473   fi
   11474   ;;
   11475 
   11476 amigaos*)
   11477   case $host_cpu in
   11478   powerpc)
   11479     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11480     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11481     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11482     ;;
   11483   m68k)
   11484     library_names_spec='$libname.ixlibrary $libname.a'
   11485     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11486     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   11487     ;;
   11488   esac
   11489   ;;
   11490 
   11491 beos*)
   11492   library_names_spec='$libname$shared_ext'
   11493   dynamic_linker="$host_os ld.so"
   11494   shlibpath_var=LIBRARY_PATH
   11495   ;;
   11496 
   11497 bsdi[45]*)
   11498   version_type=linux # correct to gnu/linux during the next big refactor
   11499   need_version=no
   11500   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11501   soname_spec='$libname$release$shared_ext$major'
   11502   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11503   shlibpath_var=LD_LIBRARY_PATH
   11504   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11505   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11506   # the default ld.so.conf also contains /usr/contrib/lib and
   11507   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11508   # libtool to hard-code these into programs
   11509   ;;
   11510 
   11511 cygwin* | mingw* | pw32* | cegcc*)
   11512   version_type=windows
   11513   shrext_cmds=.dll
   11514   need_version=no
   11515   need_lib_prefix=no
   11516 
   11517   case $GCC,$cc_basename in
   11518   yes,*)
   11519     # gcc
   11520     library_names_spec='$libname.dll.a'
   11521     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11522     postinstall_cmds='base_file=`basename \$file`~
   11523       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11524       dldir=$destdir/`dirname \$dlpath`~
   11525       test -d \$dldir || mkdir -p \$dldir~
   11526       $install_prog $dir/$dlname \$dldir/$dlname~
   11527       chmod a+x \$dldir/$dlname~
   11528       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11529         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11530       fi'
   11531     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11532       dlpath=$dir/\$dldll~
   11533        $RM \$dlpath'
   11534     shlibpath_overrides_runpath=yes
   11535 
   11536     case $host_os in
   11537     cygwin*)
   11538       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11539       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11540 
   11541       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11542       ;;
   11543     mingw* | cegcc*)
   11544       # MinGW DLLs use traditional 'lib' prefix
   11545       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11546       ;;
   11547     pw32*)
   11548       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11549       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11550       ;;
   11551     esac
   11552     dynamic_linker='Win32 ld.exe'
   11553     ;;
   11554 
   11555   *,cl*)
   11556     # Native MSVC
   11557     libname_spec='$name'
   11558     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11559     library_names_spec='$libname.dll.lib'
   11560 
   11561     case $build_os in
   11562     mingw*)
   11563       sys_lib_search_path_spec=
   11564       lt_save_ifs=$IFS
   11565       IFS=';'
   11566       for lt_path in $LIB
   11567       do
   11568         IFS=$lt_save_ifs
   11569         # Let DOS variable expansion print the short 8.3 style file name.
   11570         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11571         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11572       done
   11573       IFS=$lt_save_ifs
   11574       # Convert to MSYS style.
   11575       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11576       ;;
   11577     cygwin*)
   11578       # Convert to unix form, then to dos form, then back to unix form
   11579       # but this time dos style (no spaces!) so that the unix form looks
   11580       # like /cygdrive/c/PROGRA~1:/cygdr...
   11581       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11582       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11583       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11584       ;;
   11585     *)
   11586       sys_lib_search_path_spec=$LIB
   11587       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11588         # It is most probably a Windows format PATH.
   11589         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11590       else
   11591         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11592       fi
   11593       # FIXME: find the short name or the path components, as spaces are
   11594       # common. (e.g. "Program Files" -> "PROGRA~1")
   11595       ;;
   11596     esac
   11597 
   11598     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11599     postinstall_cmds='base_file=`basename \$file`~
   11600       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11601       dldir=$destdir/`dirname \$dlpath`~
   11602       test -d \$dldir || mkdir -p \$dldir~
   11603       $install_prog $dir/$dlname \$dldir/$dlname'
   11604     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11605       dlpath=$dir/\$dldll~
   11606        $RM \$dlpath'
   11607     shlibpath_overrides_runpath=yes
   11608     dynamic_linker='Win32 link.exe'
   11609     ;;
   11610 
   11611   *)
   11612     # Assume MSVC wrapper
   11613     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11614     dynamic_linker='Win32 ld.exe'
   11615     ;;
   11616   esac
   11617   # FIXME: first we should search . and the directory the executable is in
   11618   shlibpath_var=PATH
   11619   ;;
   11620 
   11621 darwin* | rhapsody*)
   11622   dynamic_linker="$host_os dyld"
   11623   version_type=darwin
   11624   need_lib_prefix=no
   11625   need_version=no
   11626   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11627   soname_spec='$libname$release$major$shared_ext'
   11628   shlibpath_overrides_runpath=yes
   11629   shlibpath_var=DYLD_LIBRARY_PATH
   11630   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11631 
   11632   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11633   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11634   ;;
   11635 
   11636 dgux*)
   11637   version_type=linux # correct to gnu/linux during the next big refactor
   11638   need_lib_prefix=no
   11639   need_version=no
   11640   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11641   soname_spec='$libname$release$shared_ext$major'
   11642   shlibpath_var=LD_LIBRARY_PATH
   11643   ;;
   11644 
   11645 freebsd* | dragonfly*)
   11646   # DragonFly does not have aout.  When/if they implement a new
   11647   # versioning mechanism, adjust this.
   11648   if test -x /usr/bin/objformat; then
   11649     objformat=`/usr/bin/objformat`
   11650   else
   11651     case $host_os in
   11652     freebsd[23].*) objformat=aout ;;
   11653     *) objformat=elf ;;
   11654     esac
   11655   fi
   11656   version_type=freebsd-$objformat
   11657   case $version_type in
   11658     freebsd-elf*)
   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       need_version=no
   11662       need_lib_prefix=no
   11663       ;;
   11664     freebsd-*)
   11665       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11666       need_version=yes
   11667       ;;
   11668   esac
   11669   shlibpath_var=LD_LIBRARY_PATH
   11670   case $host_os in
   11671   freebsd2.*)
   11672     shlibpath_overrides_runpath=yes
   11673     ;;
   11674   freebsd3.[01]* | freebsdelf3.[01]*)
   11675     shlibpath_overrides_runpath=yes
   11676     hardcode_into_libs=yes
   11677     ;;
   11678   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11679   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11680     shlibpath_overrides_runpath=no
   11681     hardcode_into_libs=yes
   11682     ;;
   11683   *) # from 4.6 on, and DragonFly
   11684     shlibpath_overrides_runpath=yes
   11685     hardcode_into_libs=yes
   11686     ;;
   11687   esac
   11688   ;;
   11689 
   11690 haiku*)
   11691   version_type=linux # correct to gnu/linux during the next big refactor
   11692   need_lib_prefix=no
   11693   need_version=no
   11694   dynamic_linker="$host_os runtime_loader"
   11695   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11696   soname_spec='$libname$release$shared_ext$major'
   11697   shlibpath_var=LIBRARY_PATH
   11698   shlibpath_overrides_runpath=no
   11699   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11700   hardcode_into_libs=yes
   11701   ;;
   11702 
   11703 hpux9* | hpux10* | hpux11*)
   11704   # Give a soname corresponding to the major version so that dld.sl refuses to
   11705   # link against other versions.
   11706   version_type=sunos
   11707   need_lib_prefix=no
   11708   need_version=no
   11709   case $host_cpu in
   11710   ia64*)
   11711     shrext_cmds='.so'
   11712     hardcode_into_libs=yes
   11713     dynamic_linker="$host_os dld.so"
   11714     shlibpath_var=LD_LIBRARY_PATH
   11715     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11716     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11717     soname_spec='$libname$release$shared_ext$major'
   11718     if test 32 = "$HPUX_IA64_MODE"; then
   11719       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11720       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11721     else
   11722       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11723       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11724     fi
   11725     ;;
   11726   hppa*64*)
   11727     shrext_cmds='.sl'
   11728     hardcode_into_libs=yes
   11729     dynamic_linker="$host_os dld.sl"
   11730     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11731     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11732     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11733     soname_spec='$libname$release$shared_ext$major'
   11734     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11735     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11736     ;;
   11737   *)
   11738     shrext_cmds='.sl'
   11739     dynamic_linker="$host_os dld.sl"
   11740     shlibpath_var=SHLIB_PATH
   11741     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11742     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11743     soname_spec='$libname$release$shared_ext$major'
   11744     ;;
   11745   esac
   11746   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11747   postinstall_cmds='chmod 555 $lib'
   11748   # or fails outright, so override atomically:
   11749   install_override_mode=555
   11750   ;;
   11751 
   11752 interix[3-9]*)
   11753   version_type=linux # correct to gnu/linux during the next big refactor
   11754   need_lib_prefix=no
   11755   need_version=no
   11756   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11757   soname_spec='$libname$release$shared_ext$major'
   11758   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11759   shlibpath_var=LD_LIBRARY_PATH
   11760   shlibpath_overrides_runpath=no
   11761   hardcode_into_libs=yes
   11762   ;;
   11763 
   11764 irix5* | irix6* | nonstopux*)
   11765   case $host_os in
   11766     nonstopux*) version_type=nonstopux ;;
   11767     *)
   11768 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11769 		version_type=linux # correct to gnu/linux during the next big refactor
   11770 	else
   11771 		version_type=irix
   11772 	fi ;;
   11773   esac
   11774   need_lib_prefix=no
   11775   need_version=no
   11776   soname_spec='$libname$release$shared_ext$major'
   11777   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11778   case $host_os in
   11779   irix5* | nonstopux*)
   11780     libsuff= shlibsuff=
   11781     ;;
   11782   *)
   11783     case $LD in # libtool.m4 will add one of these switches to LD
   11784     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11785       libsuff= shlibsuff= libmagic=32-bit;;
   11786     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11787       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11788     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11789       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11790     *) libsuff= shlibsuff= libmagic=never-match;;
   11791     esac
   11792     ;;
   11793   esac
   11794   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11795   shlibpath_overrides_runpath=no
   11796   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11797   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11798   hardcode_into_libs=yes
   11799   ;;
   11800 
   11801 # No shared lib support for Linux oldld, aout, or coff.
   11802 linux*oldld* | linux*aout* | linux*coff*)
   11803   dynamic_linker=no
   11804   ;;
   11805 
   11806 linux*android*)
   11807   version_type=none # Android doesn't support versioned libraries.
   11808   need_lib_prefix=no
   11809   need_version=no
   11810   library_names_spec='$libname$release$shared_ext'
   11811   soname_spec='$libname$release$shared_ext'
   11812   finish_cmds=
   11813   shlibpath_var=LD_LIBRARY_PATH
   11814   shlibpath_overrides_runpath=yes
   11815 
   11816   # This implies no fast_install, which is unacceptable.
   11817   # Some rework will be needed to allow for fast_install
   11818   # before this can be enabled.
   11819   hardcode_into_libs=yes
   11820 
   11821   dynamic_linker='Android linker'
   11822   # Don't embed -rpath directories since the linker doesn't support them.
   11823   hardcode_libdir_flag_spec='-L$libdir'
   11824   ;;
   11825 
   11826 # This must be glibc/ELF.
   11827 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11828   version_type=linux # correct to gnu/linux during the next big refactor
   11829   need_lib_prefix=no
   11830   need_version=no
   11831   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11832   soname_spec='$libname$release$shared_ext$major'
   11833   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11834   shlibpath_var=LD_LIBRARY_PATH
   11835   shlibpath_overrides_runpath=no
   11836 
   11837   # Some binutils ld are patched to set DT_RUNPATH
   11838   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11839   $as_echo_n "(cached) " >&6
   11840 else
   11841   lt_cv_shlibpath_overrides_runpath=no
   11842     save_LDFLAGS=$LDFLAGS
   11843     save_libdir=$libdir
   11844     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11845 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11846     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11847 /* end confdefs.h.  */
   11848 
   11849 int
   11850 main ()
   11851 {
   11852 
   11853   ;
   11854   return 0;
   11855 }
   11856 _ACEOF
   11857 if ac_fn_c_try_link "$LINENO"; then :
   11858   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11859   lt_cv_shlibpath_overrides_runpath=yes
   11860 fi
   11861 fi
   11862 rm -f core conftest.err conftest.$ac_objext \
   11863     conftest$ac_exeext conftest.$ac_ext
   11864     LDFLAGS=$save_LDFLAGS
   11865     libdir=$save_libdir
   11866 
   11867 fi
   11868 
   11869   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11870 
   11871   # This implies no fast_install, which is unacceptable.
   11872   # Some rework will be needed to allow for fast_install
   11873   # before this can be enabled.
   11874   hardcode_into_libs=yes
   11875 
   11876   # Ideally, we could use ldconfig to report *all* directores which are
   11877   # searched for libraries, however this is still not possible.  Aside from not
   11878   # being certain /sbin/ldconfig is available, command
   11879   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11880   # even though it is searched at run-time.  Try to do the best guess by
   11881   # appending ld.so.conf contents (and includes) to the search path.
   11882   if test -f /etc/ld.so.conf; then
   11883     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' ' '`
   11884     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11885   fi
   11886 
   11887   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11888   # powerpc, because MkLinux only supported shared libraries with the
   11889   # GNU dynamic linker.  Since this was broken with cross compilers,
   11890   # most powerpc-linux boxes support dynamic linking these days and
   11891   # people can always --disable-shared, the test was removed, and we
   11892   # assume the GNU/Linux dynamic linker is in use.
   11893   dynamic_linker='GNU/Linux ld.so'
   11894   ;;
   11895 
   11896 netbsdelf*-gnu)
   11897   version_type=linux
   11898   need_lib_prefix=no
   11899   need_version=no
   11900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11901   soname_spec='${libname}${release}${shared_ext}$major'
   11902   shlibpath_var=LD_LIBRARY_PATH
   11903   shlibpath_overrides_runpath=no
   11904   hardcode_into_libs=yes
   11905   dynamic_linker='NetBSD ld.elf_so'
   11906   ;;
   11907 
   11908 netbsd*)
   11909   version_type=sunos
   11910   need_lib_prefix=no
   11911   need_version=no
   11912   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11913     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11914     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11915     dynamic_linker='NetBSD (a.out) ld.so'
   11916   else
   11917     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11918     soname_spec='$libname$release$shared_ext$major'
   11919     dynamic_linker='NetBSD ld.elf_so'
   11920   fi
   11921   shlibpath_var=LD_LIBRARY_PATH
   11922   shlibpath_overrides_runpath=yes
   11923   hardcode_into_libs=yes
   11924   ;;
   11925 
   11926 newsos6)
   11927   version_type=linux # correct to gnu/linux during the next big refactor
   11928   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11929   shlibpath_var=LD_LIBRARY_PATH
   11930   shlibpath_overrides_runpath=yes
   11931   ;;
   11932 
   11933 *nto* | *qnx*)
   11934   version_type=qnx
   11935   need_lib_prefix=no
   11936   need_version=no
   11937   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11938   soname_spec='$libname$release$shared_ext$major'
   11939   shlibpath_var=LD_LIBRARY_PATH
   11940   shlibpath_overrides_runpath=no
   11941   hardcode_into_libs=yes
   11942   dynamic_linker='ldqnx.so'
   11943   ;;
   11944 
   11945 openbsd* | bitrig*)
   11946   version_type=sunos
   11947   sys_lib_dlsearch_path_spec=/usr/lib
   11948   need_lib_prefix=no
   11949   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11950     need_version=no
   11951   else
   11952     need_version=yes
   11953   fi
   11954   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11955   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11956   shlibpath_var=LD_LIBRARY_PATH
   11957   shlibpath_overrides_runpath=yes
   11958   ;;
   11959 
   11960 os2*)
   11961   libname_spec='$name'
   11962   version_type=windows
   11963   shrext_cmds=.dll
   11964   need_version=no
   11965   need_lib_prefix=no
   11966   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11967   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11968     v=$($ECHO $release$versuffix | tr -d .-);
   11969     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11970     $ECHO $n$v`$shared_ext'
   11971   library_names_spec='${libname}_dll.$libext'
   11972   dynamic_linker='OS/2 ld.exe'
   11973   shlibpath_var=BEGINLIBPATH
   11974   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11975   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11976   postinstall_cmds='base_file=`basename \$file`~
   11977     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11978     dldir=$destdir/`dirname \$dlpath`~
   11979     test -d \$dldir || mkdir -p \$dldir~
   11980     $install_prog $dir/$dlname \$dldir/$dlname~
   11981     chmod a+x \$dldir/$dlname~
   11982     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11983       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11984     fi'
   11985   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11986     dlpath=$dir/\$dldll~
   11987     $RM \$dlpath'
   11988   ;;
   11989 
   11990 osf3* | osf4* | osf5*)
   11991   version_type=osf
   11992   need_lib_prefix=no
   11993   need_version=no
   11994   soname_spec='$libname$release$shared_ext$major'
   11995   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11996   shlibpath_var=LD_LIBRARY_PATH
   11997   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11998   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11999   ;;
   12000 
   12001 rdos*)
   12002   dynamic_linker=no
   12003   ;;
   12004 
   12005 solaris*)
   12006   version_type=linux # correct to gnu/linux during the next big refactor
   12007   need_lib_prefix=no
   12008   need_version=no
   12009   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12010   soname_spec='$libname$release$shared_ext$major'
   12011   shlibpath_var=LD_LIBRARY_PATH
   12012   shlibpath_overrides_runpath=yes
   12013   hardcode_into_libs=yes
   12014   # ldd complains unless libraries are executable
   12015   postinstall_cmds='chmod +x $lib'
   12016   ;;
   12017 
   12018 sunos4*)
   12019   version_type=sunos
   12020   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12021   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12022   shlibpath_var=LD_LIBRARY_PATH
   12023   shlibpath_overrides_runpath=yes
   12024   if test yes = "$with_gnu_ld"; then
   12025     need_lib_prefix=no
   12026   fi
   12027   need_version=yes
   12028   ;;
   12029 
   12030 sysv4 | sysv4.3*)
   12031   version_type=linux # correct to gnu/linux during the next big refactor
   12032   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12033   soname_spec='$libname$release$shared_ext$major'
   12034   shlibpath_var=LD_LIBRARY_PATH
   12035   case $host_vendor in
   12036     sni)
   12037       shlibpath_overrides_runpath=no
   12038       need_lib_prefix=no
   12039       runpath_var=LD_RUN_PATH
   12040       ;;
   12041     siemens)
   12042       need_lib_prefix=no
   12043       ;;
   12044     motorola)
   12045       need_lib_prefix=no
   12046       need_version=no
   12047       shlibpath_overrides_runpath=no
   12048       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12049       ;;
   12050   esac
   12051   ;;
   12052 
   12053 sysv4*MP*)
   12054   if test -d /usr/nec; then
   12055     version_type=linux # correct to gnu/linux during the next big refactor
   12056     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12057     soname_spec='$libname$shared_ext.$major'
   12058     shlibpath_var=LD_LIBRARY_PATH
   12059   fi
   12060   ;;
   12061 
   12062 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12063   version_type=sco
   12064   need_lib_prefix=no
   12065   need_version=no
   12066   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12067   soname_spec='$libname$release$shared_ext$major'
   12068   shlibpath_var=LD_LIBRARY_PATH
   12069   shlibpath_overrides_runpath=yes
   12070   hardcode_into_libs=yes
   12071   if test yes = "$with_gnu_ld"; then
   12072     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12073   else
   12074     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12075     case $host_os in
   12076       sco3.2v5*)
   12077         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12078 	;;
   12079     esac
   12080   fi
   12081   sys_lib_dlsearch_path_spec='/usr/lib'
   12082   ;;
   12083 
   12084 tpf*)
   12085   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12086   version_type=linux # correct to gnu/linux during the next big refactor
   12087   need_lib_prefix=no
   12088   need_version=no
   12089   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12090   shlibpath_var=LD_LIBRARY_PATH
   12091   shlibpath_overrides_runpath=no
   12092   hardcode_into_libs=yes
   12093   ;;
   12094 
   12095 uts4*)
   12096   version_type=linux # correct to gnu/linux during the next big refactor
   12097   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12098   soname_spec='$libname$release$shared_ext$major'
   12099   shlibpath_var=LD_LIBRARY_PATH
   12100   ;;
   12101 
   12102 *)
   12103   dynamic_linker=no
   12104   ;;
   12105 esac
   12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12107 $as_echo "$dynamic_linker" >&6; }
   12108 test no = "$dynamic_linker" && can_build_shared=no
   12109 
   12110 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12111 if test yes = "$GCC"; then
   12112   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12113 fi
   12114 
   12115 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12116   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12117 fi
   12118 
   12119 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12120   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12121 fi
   12122 
   12123 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12124 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12125 
   12126 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12127 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12128 
   12129 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12130 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12229 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12230 hardcode_action=
   12231 if test -n "$hardcode_libdir_flag_spec" ||
   12232    test -n "$runpath_var" ||
   12233    test yes = "$hardcode_automatic"; then
   12234 
   12235   # We can hardcode non-existent directories.
   12236   if test no != "$hardcode_direct" &&
   12237      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12238      # have to relink, otherwise we might link with an installed library
   12239      # when we should be linking with a yet-to-be-installed one
   12240      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12241      test no != "$hardcode_minus_L"; then
   12242     # Linking always hardcodes the temporary library directory.
   12243     hardcode_action=relink
   12244   else
   12245     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12246     hardcode_action=immediate
   12247   fi
   12248 else
   12249   # We cannot hardcode anything, or else we can only hardcode existing
   12250   # directories.
   12251   hardcode_action=unsupported
   12252 fi
   12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12254 $as_echo "$hardcode_action" >&6; }
   12255 
   12256 if test relink = "$hardcode_action" ||
   12257    test yes = "$inherit_rpath"; then
   12258   # Fast installation is not supported
   12259   enable_fast_install=no
   12260 elif test yes = "$shlibpath_overrides_runpath" ||
   12261      test no = "$enable_shared"; then
   12262   # Fast installation is not necessary
   12263   enable_fast_install=needless
   12264 fi
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271   if test yes != "$enable_dlopen"; then
   12272   enable_dlopen=unknown
   12273   enable_dlopen_self=unknown
   12274   enable_dlopen_self_static=unknown
   12275 else
   12276   lt_cv_dlopen=no
   12277   lt_cv_dlopen_libs=
   12278 
   12279   case $host_os in
   12280   beos*)
   12281     lt_cv_dlopen=load_add_on
   12282     lt_cv_dlopen_libs=
   12283     lt_cv_dlopen_self=yes
   12284     ;;
   12285 
   12286   mingw* | pw32* | cegcc*)
   12287     lt_cv_dlopen=LoadLibrary
   12288     lt_cv_dlopen_libs=
   12289     ;;
   12290 
   12291   cygwin*)
   12292     lt_cv_dlopen=dlopen
   12293     lt_cv_dlopen_libs=
   12294     ;;
   12295 
   12296   darwin*)
   12297     # if libdl is installed we need to link against it
   12298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12299 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12300 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12301   $as_echo_n "(cached) " >&6
   12302 else
   12303   ac_check_lib_save_LIBS=$LIBS
   12304 LIBS="-ldl  $LIBS"
   12305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12306 /* end confdefs.h.  */
   12307 
   12308 /* Override any GCC internal prototype to avoid an error.
   12309    Use char because int might match the return type of a GCC
   12310    builtin and then its argument prototype would still apply.  */
   12311 #ifdef __cplusplus
   12312 extern "C"
   12313 #endif
   12314 char dlopen ();
   12315 int
   12316 main ()
   12317 {
   12318 return dlopen ();
   12319   ;
   12320   return 0;
   12321 }
   12322 _ACEOF
   12323 if ac_fn_c_try_link "$LINENO"; then :
   12324   ac_cv_lib_dl_dlopen=yes
   12325 else
   12326   ac_cv_lib_dl_dlopen=no
   12327 fi
   12328 rm -f core conftest.err conftest.$ac_objext \
   12329     conftest$ac_exeext conftest.$ac_ext
   12330 LIBS=$ac_check_lib_save_LIBS
   12331 fi
   12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12333 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12334 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12335   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12336 else
   12337 
   12338     lt_cv_dlopen=dyld
   12339     lt_cv_dlopen_libs=
   12340     lt_cv_dlopen_self=yes
   12341 
   12342 fi
   12343 
   12344     ;;
   12345 
   12346   tpf*)
   12347     # Don't try to run any link tests for TPF.  We know it's impossible
   12348     # because TPF is a cross-compiler, and we know how we open DSOs.
   12349     lt_cv_dlopen=dlopen
   12350     lt_cv_dlopen_libs=
   12351     lt_cv_dlopen_self=no
   12352     ;;
   12353 
   12354   *)
   12355     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12356 if test "x$ac_cv_func_shl_load" = xyes; then :
   12357   lt_cv_dlopen=shl_load
   12358 else
   12359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12360 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12361 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12362   $as_echo_n "(cached) " >&6
   12363 else
   12364   ac_check_lib_save_LIBS=$LIBS
   12365 LIBS="-ldld  $LIBS"
   12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12367 /* end confdefs.h.  */
   12368 
   12369 /* Override any GCC internal prototype to avoid an error.
   12370    Use char because int might match the return type of a GCC
   12371    builtin and then its argument prototype would still apply.  */
   12372 #ifdef __cplusplus
   12373 extern "C"
   12374 #endif
   12375 char shl_load ();
   12376 int
   12377 main ()
   12378 {
   12379 return shl_load ();
   12380   ;
   12381   return 0;
   12382 }
   12383 _ACEOF
   12384 if ac_fn_c_try_link "$LINENO"; then :
   12385   ac_cv_lib_dld_shl_load=yes
   12386 else
   12387   ac_cv_lib_dld_shl_load=no
   12388 fi
   12389 rm -f core conftest.err conftest.$ac_objext \
   12390     conftest$ac_exeext conftest.$ac_ext
   12391 LIBS=$ac_check_lib_save_LIBS
   12392 fi
   12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12394 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12395 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12396   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12397 else
   12398   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12399 if test "x$ac_cv_func_dlopen" = xyes; then :
   12400   lt_cv_dlopen=dlopen
   12401 else
   12402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12404 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12405   $as_echo_n "(cached) " >&6
   12406 else
   12407   ac_check_lib_save_LIBS=$LIBS
   12408 LIBS="-ldl  $LIBS"
   12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12410 /* end confdefs.h.  */
   12411 
   12412 /* Override any GCC internal prototype to avoid an error.
   12413    Use char because int might match the return type of a GCC
   12414    builtin and then its argument prototype would still apply.  */
   12415 #ifdef __cplusplus
   12416 extern "C"
   12417 #endif
   12418 char dlopen ();
   12419 int
   12420 main ()
   12421 {
   12422 return dlopen ();
   12423   ;
   12424   return 0;
   12425 }
   12426 _ACEOF
   12427 if ac_fn_c_try_link "$LINENO"; then :
   12428   ac_cv_lib_dl_dlopen=yes
   12429 else
   12430   ac_cv_lib_dl_dlopen=no
   12431 fi
   12432 rm -f core conftest.err conftest.$ac_objext \
   12433     conftest$ac_exeext conftest.$ac_ext
   12434 LIBS=$ac_check_lib_save_LIBS
   12435 fi
   12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12438 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12439   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12440 else
   12441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12442 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12443 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12444   $as_echo_n "(cached) " >&6
   12445 else
   12446   ac_check_lib_save_LIBS=$LIBS
   12447 LIBS="-lsvld  $LIBS"
   12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12449 /* end confdefs.h.  */
   12450 
   12451 /* Override any GCC internal prototype to avoid an error.
   12452    Use char because int might match the return type of a GCC
   12453    builtin and then its argument prototype would still apply.  */
   12454 #ifdef __cplusplus
   12455 extern "C"
   12456 #endif
   12457 char dlopen ();
   12458 int
   12459 main ()
   12460 {
   12461 return dlopen ();
   12462   ;
   12463   return 0;
   12464 }
   12465 _ACEOF
   12466 if ac_fn_c_try_link "$LINENO"; then :
   12467   ac_cv_lib_svld_dlopen=yes
   12468 else
   12469   ac_cv_lib_svld_dlopen=no
   12470 fi
   12471 rm -f core conftest.err conftest.$ac_objext \
   12472     conftest$ac_exeext conftest.$ac_ext
   12473 LIBS=$ac_check_lib_save_LIBS
   12474 fi
   12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12476 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12477 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12478   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12479 else
   12480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12481 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12482 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12483   $as_echo_n "(cached) " >&6
   12484 else
   12485   ac_check_lib_save_LIBS=$LIBS
   12486 LIBS="-ldld  $LIBS"
   12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12488 /* end confdefs.h.  */
   12489 
   12490 /* Override any GCC internal prototype to avoid an error.
   12491    Use char because int might match the return type of a GCC
   12492    builtin and then its argument prototype would still apply.  */
   12493 #ifdef __cplusplus
   12494 extern "C"
   12495 #endif
   12496 char dld_link ();
   12497 int
   12498 main ()
   12499 {
   12500 return dld_link ();
   12501   ;
   12502   return 0;
   12503 }
   12504 _ACEOF
   12505 if ac_fn_c_try_link "$LINENO"; then :
   12506   ac_cv_lib_dld_dld_link=yes
   12507 else
   12508   ac_cv_lib_dld_dld_link=no
   12509 fi
   12510 rm -f core conftest.err conftest.$ac_objext \
   12511     conftest$ac_exeext conftest.$ac_ext
   12512 LIBS=$ac_check_lib_save_LIBS
   12513 fi
   12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12515 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12516 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12517   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12518 fi
   12519 
   12520 
   12521 fi
   12522 
   12523 
   12524 fi
   12525 
   12526 
   12527 fi
   12528 
   12529 
   12530 fi
   12531 
   12532 
   12533 fi
   12534 
   12535     ;;
   12536   esac
   12537 
   12538   if test no = "$lt_cv_dlopen"; then
   12539     enable_dlopen=no
   12540   else
   12541     enable_dlopen=yes
   12542   fi
   12543 
   12544   case $lt_cv_dlopen in
   12545   dlopen)
   12546     save_CPPFLAGS=$CPPFLAGS
   12547     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12548 
   12549     save_LDFLAGS=$LDFLAGS
   12550     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12551 
   12552     save_LIBS=$LIBS
   12553     LIBS="$lt_cv_dlopen_libs $LIBS"
   12554 
   12555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12556 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12557 if ${lt_cv_dlopen_self+:} false; then :
   12558   $as_echo_n "(cached) " >&6
   12559 else
   12560   	  if test yes = "$cross_compiling"; then :
   12561   lt_cv_dlopen_self=cross
   12562 else
   12563   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12564   lt_status=$lt_dlunknown
   12565   cat > conftest.$ac_ext <<_LT_EOF
   12566 #line $LINENO "configure"
   12567 #include "confdefs.h"
   12568 
   12569 #if HAVE_DLFCN_H
   12570 #include <dlfcn.h>
   12571 #endif
   12572 
   12573 #include <stdio.h>
   12574 
   12575 #ifdef RTLD_GLOBAL
   12576 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12577 #else
   12578 #  ifdef DL_GLOBAL
   12579 #    define LT_DLGLOBAL		DL_GLOBAL
   12580 #  else
   12581 #    define LT_DLGLOBAL		0
   12582 #  endif
   12583 #endif
   12584 
   12585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12586    find out it does not work in some platform. */
   12587 #ifndef LT_DLLAZY_OR_NOW
   12588 #  ifdef RTLD_LAZY
   12589 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12590 #  else
   12591 #    ifdef DL_LAZY
   12592 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12593 #    else
   12594 #      ifdef RTLD_NOW
   12595 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12596 #      else
   12597 #        ifdef DL_NOW
   12598 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12599 #        else
   12600 #          define LT_DLLAZY_OR_NOW	0
   12601 #        endif
   12602 #      endif
   12603 #    endif
   12604 #  endif
   12605 #endif
   12606 
   12607 /* When -fvisibility=hidden is used, assume the code has been annotated
   12608    correspondingly for the symbols needed.  */
   12609 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12610 int fnord () __attribute__((visibility("default")));
   12611 #endif
   12612 
   12613 int fnord () { return 42; }
   12614 int main ()
   12615 {
   12616   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12617   int status = $lt_dlunknown;
   12618 
   12619   if (self)
   12620     {
   12621       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12622       else
   12623         {
   12624 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12625           else puts (dlerror ());
   12626 	}
   12627       /* dlclose (self); */
   12628     }
   12629   else
   12630     puts (dlerror ());
   12631 
   12632   return status;
   12633 }
   12634 _LT_EOF
   12635   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12636   (eval $ac_link) 2>&5
   12637   ac_status=$?
   12638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12639   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12640     (./conftest; exit; ) >&5 2>/dev/null
   12641     lt_status=$?
   12642     case x$lt_status in
   12643       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12644       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12645       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12646     esac
   12647   else :
   12648     # compilation failed
   12649     lt_cv_dlopen_self=no
   12650   fi
   12651 fi
   12652 rm -fr conftest*
   12653 
   12654 
   12655 fi
   12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12657 $as_echo "$lt_cv_dlopen_self" >&6; }
   12658 
   12659     if test yes = "$lt_cv_dlopen_self"; then
   12660       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12661       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12662 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12663 if ${lt_cv_dlopen_self_static+:} false; then :
   12664   $as_echo_n "(cached) " >&6
   12665 else
   12666   	  if test yes = "$cross_compiling"; then :
   12667   lt_cv_dlopen_self_static=cross
   12668 else
   12669   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12670   lt_status=$lt_dlunknown
   12671   cat > conftest.$ac_ext <<_LT_EOF
   12672 #line $LINENO "configure"
   12673 #include "confdefs.h"
   12674 
   12675 #if HAVE_DLFCN_H
   12676 #include <dlfcn.h>
   12677 #endif
   12678 
   12679 #include <stdio.h>
   12680 
   12681 #ifdef RTLD_GLOBAL
   12682 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12683 #else
   12684 #  ifdef DL_GLOBAL
   12685 #    define LT_DLGLOBAL		DL_GLOBAL
   12686 #  else
   12687 #    define LT_DLGLOBAL		0
   12688 #  endif
   12689 #endif
   12690 
   12691 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12692    find out it does not work in some platform. */
   12693 #ifndef LT_DLLAZY_OR_NOW
   12694 #  ifdef RTLD_LAZY
   12695 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12696 #  else
   12697 #    ifdef DL_LAZY
   12698 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12699 #    else
   12700 #      ifdef RTLD_NOW
   12701 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12702 #      else
   12703 #        ifdef DL_NOW
   12704 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12705 #        else
   12706 #          define LT_DLLAZY_OR_NOW	0
   12707 #        endif
   12708 #      endif
   12709 #    endif
   12710 #  endif
   12711 #endif
   12712 
   12713 /* When -fvisibility=hidden is used, assume the code has been annotated
   12714    correspondingly for the symbols needed.  */
   12715 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12716 int fnord () __attribute__((visibility("default")));
   12717 #endif
   12718 
   12719 int fnord () { return 42; }
   12720 int main ()
   12721 {
   12722   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12723   int status = $lt_dlunknown;
   12724 
   12725   if (self)
   12726     {
   12727       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12728       else
   12729         {
   12730 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12731           else puts (dlerror ());
   12732 	}
   12733       /* dlclose (self); */
   12734     }
   12735   else
   12736     puts (dlerror ());
   12737 
   12738   return status;
   12739 }
   12740 _LT_EOF
   12741   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12742   (eval $ac_link) 2>&5
   12743   ac_status=$?
   12744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12745   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12746     (./conftest; exit; ) >&5 2>/dev/null
   12747     lt_status=$?
   12748     case x$lt_status in
   12749       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12750       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12751       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12752     esac
   12753   else :
   12754     # compilation failed
   12755     lt_cv_dlopen_self_static=no
   12756   fi
   12757 fi
   12758 rm -fr conftest*
   12759 
   12760 
   12761 fi
   12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12763 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12764     fi
   12765 
   12766     CPPFLAGS=$save_CPPFLAGS
   12767     LDFLAGS=$save_LDFLAGS
   12768     LIBS=$save_LIBS
   12769     ;;
   12770   esac
   12771 
   12772   case $lt_cv_dlopen_self in
   12773   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12774   *) enable_dlopen_self=unknown ;;
   12775   esac
   12776 
   12777   case $lt_cv_dlopen_self_static in
   12778   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12779   *) enable_dlopen_self_static=unknown ;;
   12780   esac
   12781 fi
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 striplib=
   12800 old_striplib=
   12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12802 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12803 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12804   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12805   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12807 $as_echo "yes" >&6; }
   12808 else
   12809 # FIXME - insert some real tests, host_os isn't really good enough
   12810   case $host_os in
   12811   darwin*)
   12812     if test -n "$STRIP"; then
   12813       striplib="$STRIP -x"
   12814       old_striplib="$STRIP -S"
   12815       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12816 $as_echo "yes" >&6; }
   12817     else
   12818       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12819 $as_echo "no" >&6; }
   12820     fi
   12821     ;;
   12822   *)
   12823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12824 $as_echo "no" >&6; }
   12825     ;;
   12826   esac
   12827 fi
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840   # Report what library types will actually be built
   12841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12842 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12844 $as_echo "$can_build_shared" >&6; }
   12845 
   12846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12847 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12848   test no = "$can_build_shared" && enable_shared=no
   12849 
   12850   # On AIX, shared libraries and static libraries use the same namespace, and
   12851   # are all built from PIC.
   12852   case $host_os in
   12853   aix3*)
   12854     test yes = "$enable_shared" && enable_static=no
   12855     if test -n "$RANLIB"; then
   12856       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12857       postinstall_cmds='$RANLIB $lib'
   12858     fi
   12859     ;;
   12860 
   12861   aix[4-9]*)
   12862     if test ia64 != "$host_cpu"; then
   12863       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12864       yes,aix,yes) ;;			# shared object as lib.so file only
   12865       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12866       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12867       esac
   12868     fi
   12869     ;;
   12870   esac
   12871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12872 $as_echo "$enable_shared" >&6; }
   12873 
   12874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12875 $as_echo_n "checking whether to build static libraries... " >&6; }
   12876   # Make sure either enable_shared or enable_static is yes.
   12877   test yes = "$enable_shared" || enable_static=yes
   12878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12879 $as_echo "$enable_static" >&6; }
   12880 
   12881 
   12882 
   12883 
   12884 fi
   12885 ac_ext=c
   12886 ac_cpp='$CPP $CPPFLAGS'
   12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12890 
   12891 CC=$lt_save_CC
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907         ac_config_commands="$ac_config_commands libtool"
   12908 
   12909 
   12910 
   12911 
   12912 # Only expand once:
   12913 
   12914 
   12915 
   12916 # Require xorg-macros minimum of 1.18 - Initial version
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12929 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12930 if ${ac_cv_prog_cc_c99+:} false; then :
   12931   $as_echo_n "(cached) " >&6
   12932 else
   12933   ac_cv_prog_cc_c99=no
   12934 ac_save_CC=$CC
   12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12936 /* end confdefs.h.  */
   12937 #include <stdarg.h>
   12938 #include <stdbool.h>
   12939 #include <stdlib.h>
   12940 #include <wchar.h>
   12941 #include <stdio.h>
   12942 
   12943 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12944 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12945 #define showlist(...) puts (#__VA_ARGS__)
   12946 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12947 static void
   12948 test_varargs_macros (void)
   12949 {
   12950   int x = 1234;
   12951   int y = 5678;
   12952   debug ("Flag");
   12953   debug ("X = %d\n", x);
   12954   showlist (The first, second, and third items.);
   12955   report (x>y, "x is %d but y is %d", x, y);
   12956 }
   12957 
   12958 // Check long long types.
   12959 #define BIG64 18446744073709551615ull
   12960 #define BIG32 4294967295ul
   12961 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12962 #if !BIG_OK
   12963   your preprocessor is broken;
   12964 #endif
   12965 #if BIG_OK
   12966 #else
   12967   your preprocessor is broken;
   12968 #endif
   12969 static long long int bignum = -9223372036854775807LL;
   12970 static unsigned long long int ubignum = BIG64;
   12971 
   12972 struct incomplete_array
   12973 {
   12974   int datasize;
   12975   double data[];
   12976 };
   12977 
   12978 struct named_init {
   12979   int number;
   12980   const wchar_t *name;
   12981   double average;
   12982 };
   12983 
   12984 typedef const char *ccp;
   12985 
   12986 static inline int
   12987 test_restrict (ccp restrict text)
   12988 {
   12989   // See if C++-style comments work.
   12990   // Iterate through items via the restricted pointer.
   12991   // Also check for declarations in for loops.
   12992   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12993     continue;
   12994   return 0;
   12995 }
   12996 
   12997 // Check varargs and va_copy.
   12998 static void
   12999 test_varargs (const char *format, ...)
   13000 {
   13001   va_list args;
   13002   va_start (args, format);
   13003   va_list args_copy;
   13004   va_copy (args_copy, args);
   13005 
   13006   const char *str;
   13007   int number;
   13008   float fnumber;
   13009 
   13010   while (*format)
   13011     {
   13012       switch (*format++)
   13013 	{
   13014 	case 's': // string
   13015 	  str = va_arg (args_copy, const char *);
   13016 	  break;
   13017 	case 'd': // int
   13018 	  number = va_arg (args_copy, int);
   13019 	  break;
   13020 	case 'f': // float
   13021 	  fnumber = va_arg (args_copy, double);
   13022 	  break;
   13023 	default:
   13024 	  break;
   13025 	}
   13026     }
   13027   va_end (args_copy);
   13028   va_end (args);
   13029 }
   13030 
   13031 int
   13032 main ()
   13033 {
   13034 
   13035   // Check bool.
   13036   _Bool success = false;
   13037 
   13038   // Check restrict.
   13039   if (test_restrict ("String literal") == 0)
   13040     success = true;
   13041   char *restrict newvar = "Another string";
   13042 
   13043   // Check varargs.
   13044   test_varargs ("s, d' f .", "string", 65, 34.234);
   13045   test_varargs_macros ();
   13046 
   13047   // Check flexible array members.
   13048   struct incomplete_array *ia =
   13049     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   13050   ia->datasize = 10;
   13051   for (int i = 0; i < ia->datasize; ++i)
   13052     ia->data[i] = i * 1.234;
   13053 
   13054   // Check named initializers.
   13055   struct named_init ni = {
   13056     .number = 34,
   13057     .name = L"Test wide string",
   13058     .average = 543.34343,
   13059   };
   13060 
   13061   ni.number = 58;
   13062 
   13063   int dynamic_array[ni.number];
   13064   dynamic_array[ni.number - 1] = 543;
   13065 
   13066   // work around unused variable warnings
   13067   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   13068 	  || dynamic_array[ni.number - 1] != 543);
   13069 
   13070   ;
   13071   return 0;
   13072 }
   13073 _ACEOF
   13074 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   13075 do
   13076   CC="$ac_save_CC $ac_arg"
   13077   if ac_fn_c_try_compile "$LINENO"; then :
   13078   ac_cv_prog_cc_c99=$ac_arg
   13079 fi
   13080 rm -f core conftest.err conftest.$ac_objext
   13081   test "x$ac_cv_prog_cc_c99" != "xno" && break
   13082 done
   13083 rm -f conftest.$ac_ext
   13084 CC=$ac_save_CC
   13085 
   13086 fi
   13087 # AC_CACHE_VAL
   13088 case "x$ac_cv_prog_cc_c99" in
   13089   x)
   13090     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   13091 $as_echo "none needed" >&6; } ;;
   13092   xno)
   13093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   13094 $as_echo "unsupported" >&6; } ;;
   13095   *)
   13096     CC="$CC $ac_cv_prog_cc_c99"
   13097     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   13098 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   13099 esac
   13100 if test "x$ac_cv_prog_cc_c99" != xno; then :
   13101 
   13102 fi
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   13110 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   13111   CLANGCC="yes"
   13112 else
   13113   CLANGCC="no"
   13114 fi
   13115 
   13116 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   13117 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   13118   INTELCC="yes"
   13119 else
   13120   INTELCC="no"
   13121 fi
   13122 
   13123 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   13124 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   13125   SUNCC="yes"
   13126 else
   13127   SUNCC="no"
   13128 fi
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13139 	if test -n "$ac_tool_prefix"; then
   13140   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13141 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13143 $as_echo_n "checking for $ac_word... " >&6; }
   13144 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   13145   $as_echo_n "(cached) " >&6
   13146 else
   13147   case $PKG_CONFIG in
   13148   [\\/]* | ?:[\\/]*)
   13149   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13150   ;;
   13151   *)
   13152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13153 for as_dir in $PATH
   13154 do
   13155   IFS=$as_save_IFS
   13156   test -z "$as_dir" && as_dir=.
   13157     for ac_exec_ext in '' $ac_executable_extensions; do
   13158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13159     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13161     break 2
   13162   fi
   13163 done
   13164   done
   13165 IFS=$as_save_IFS
   13166 
   13167   ;;
   13168 esac
   13169 fi
   13170 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13171 if test -n "$PKG_CONFIG"; then
   13172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13173 $as_echo "$PKG_CONFIG" >&6; }
   13174 else
   13175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13176 $as_echo "no" >&6; }
   13177 fi
   13178 
   13179 
   13180 fi
   13181 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13182   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13183   # Extract the first word of "pkg-config", so it can be a program name with args.
   13184 set dummy pkg-config; ac_word=$2
   13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13186 $as_echo_n "checking for $ac_word... " >&6; }
   13187 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   13188   $as_echo_n "(cached) " >&6
   13189 else
   13190   case $ac_pt_PKG_CONFIG in
   13191   [\\/]* | ?:[\\/]*)
   13192   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13193   ;;
   13194   *)
   13195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13196 for as_dir in $PATH
   13197 do
   13198   IFS=$as_save_IFS
   13199   test -z "$as_dir" && as_dir=.
   13200     for ac_exec_ext in '' $ac_executable_extensions; do
   13201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13202     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13204     break 2
   13205   fi
   13206 done
   13207   done
   13208 IFS=$as_save_IFS
   13209 
   13210   ;;
   13211 esac
   13212 fi
   13213 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13214 if test -n "$ac_pt_PKG_CONFIG"; then
   13215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13216 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   13217 else
   13218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13219 $as_echo "no" >&6; }
   13220 fi
   13221 
   13222   if test "x$ac_pt_PKG_CONFIG" = x; then
   13223     PKG_CONFIG=""
   13224   else
   13225     case $cross_compiling:$ac_tool_warned in
   13226 yes:)
   13227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13229 ac_tool_warned=yes ;;
   13230 esac
   13231     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13232   fi
   13233 else
   13234   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13235 fi
   13236 
   13237 fi
   13238 if test -n "$PKG_CONFIG"; then
   13239 	_pkg_min_version=0.9.0
   13240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13241 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13242 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13244 $as_echo "yes" >&6; }
   13245 	else
   13246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13247 $as_echo "no" >&6; }
   13248 		PKG_CONFIG=""
   13249 	fi
   13250 fi
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 # Check whether --enable-selective-werror was given.
   13257 if test "${enable_selective_werror+set}" = set; then :
   13258   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13259 else
   13260   SELECTIVE_WERROR=yes
   13261 fi
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13268 if test "x$SUNCC" = "xyes"; then
   13269     BASE_CFLAGS="-v"
   13270 else
   13271     BASE_CFLAGS=""
   13272 fi
   13273 
   13274 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 xorg_testset_save_CFLAGS="$CFLAGS"
   13289 
   13290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13295   $as_echo_n "(cached) " >&6
   13296 else
   13297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13298 /* end confdefs.h.  */
   13299 int i;
   13300 _ACEOF
   13301 if ac_fn_c_try_compile "$LINENO"; then :
   13302   xorg_cv_cc_flag_unknown_warning_option=yes
   13303 else
   13304   xorg_cv_cc_flag_unknown_warning_option=no
   13305 fi
   13306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13307 fi
   13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13311 	CFLAGS="$xorg_testset_save_CFLAGS"
   13312 fi
   13313 
   13314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13317 	fi
   13318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13322   $as_echo_n "(cached) " >&6
   13323 else
   13324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13325 /* end confdefs.h.  */
   13326 int i;
   13327 _ACEOF
   13328 if ac_fn_c_try_compile "$LINENO"; then :
   13329   xorg_cv_cc_flag_unused_command_line_argument=yes
   13330 else
   13331   xorg_cv_cc_flag_unused_command_line_argument=no
   13332 fi
   13333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13334 fi
   13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13338 	CFLAGS="$xorg_testset_save_CFLAGS"
   13339 fi
   13340 
   13341 found="no"
   13342 
   13343 	if test $found = "no" ; then
   13344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13346 		fi
   13347 
   13348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13350 		fi
   13351 
   13352 		CFLAGS="$CFLAGS -Wall"
   13353 
   13354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13355 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   13356 		cacheid=xorg_cv_cc_flag__Wall
   13357 		if eval \${$cacheid+:} false; then :
   13358   $as_echo_n "(cached) " >&6
   13359 else
   13360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13361 /* end confdefs.h.  */
   13362 int i;
   13363 int
   13364 main ()
   13365 {
   13366 
   13367   ;
   13368   return 0;
   13369 }
   13370 _ACEOF
   13371 if ac_fn_c_try_link "$LINENO"; then :
   13372   eval $cacheid=yes
   13373 else
   13374   eval $cacheid=no
   13375 fi
   13376 rm -f core conftest.err conftest.$ac_objext \
   13377     conftest$ac_exeext conftest.$ac_ext
   13378 fi
   13379 
   13380 
   13381 		CFLAGS="$xorg_testset_save_CFLAGS"
   13382 
   13383 		eval supported=\$$cacheid
   13384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13385 $as_echo "$supported" >&6; }
   13386 		if test "$supported" = "yes" ; then
   13387 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13388 			found="yes"
   13389 		fi
   13390 	fi
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 xorg_testset_save_CFLAGS="$CFLAGS"
   13407 
   13408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13413   $as_echo_n "(cached) " >&6
   13414 else
   13415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13416 /* end confdefs.h.  */
   13417 int i;
   13418 _ACEOF
   13419 if ac_fn_c_try_compile "$LINENO"; then :
   13420   xorg_cv_cc_flag_unknown_warning_option=yes
   13421 else
   13422   xorg_cv_cc_flag_unknown_warning_option=no
   13423 fi
   13424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13425 fi
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13429 	CFLAGS="$xorg_testset_save_CFLAGS"
   13430 fi
   13431 
   13432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13435 	fi
   13436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13440   $as_echo_n "(cached) " >&6
   13441 else
   13442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13443 /* end confdefs.h.  */
   13444 int i;
   13445 _ACEOF
   13446 if ac_fn_c_try_compile "$LINENO"; then :
   13447   xorg_cv_cc_flag_unused_command_line_argument=yes
   13448 else
   13449   xorg_cv_cc_flag_unused_command_line_argument=no
   13450 fi
   13451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13452 fi
   13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13456 	CFLAGS="$xorg_testset_save_CFLAGS"
   13457 fi
   13458 
   13459 found="no"
   13460 
   13461 	if test $found = "no" ; then
   13462 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 		fi
   13465 
   13466 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13468 		fi
   13469 
   13470 		CFLAGS="$CFLAGS -Wpointer-arith"
   13471 
   13472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13473 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   13474 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13475 		if eval \${$cacheid+:} false; then :
   13476   $as_echo_n "(cached) " >&6
   13477 else
   13478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13479 /* end confdefs.h.  */
   13480 int i;
   13481 int
   13482 main ()
   13483 {
   13484 
   13485   ;
   13486   return 0;
   13487 }
   13488 _ACEOF
   13489 if ac_fn_c_try_link "$LINENO"; then :
   13490   eval $cacheid=yes
   13491 else
   13492   eval $cacheid=no
   13493 fi
   13494 rm -f core conftest.err conftest.$ac_objext \
   13495     conftest$ac_exeext conftest.$ac_ext
   13496 fi
   13497 
   13498 
   13499 		CFLAGS="$xorg_testset_save_CFLAGS"
   13500 
   13501 		eval supported=\$$cacheid
   13502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13503 $as_echo "$supported" >&6; }
   13504 		if test "$supported" = "yes" ; then
   13505 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13506 			found="yes"
   13507 		fi
   13508 	fi
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 xorg_testset_save_CFLAGS="$CFLAGS"
   13525 
   13526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13531   $as_echo_n "(cached) " >&6
   13532 else
   13533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13534 /* end confdefs.h.  */
   13535 int i;
   13536 _ACEOF
   13537 if ac_fn_c_try_compile "$LINENO"; then :
   13538   xorg_cv_cc_flag_unknown_warning_option=yes
   13539 else
   13540   xorg_cv_cc_flag_unknown_warning_option=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13543 fi
   13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13547 	CFLAGS="$xorg_testset_save_CFLAGS"
   13548 fi
   13549 
   13550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13553 	fi
   13554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13558   $as_echo_n "(cached) " >&6
   13559 else
   13560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13561 /* end confdefs.h.  */
   13562 int i;
   13563 _ACEOF
   13564 if ac_fn_c_try_compile "$LINENO"; then :
   13565   xorg_cv_cc_flag_unused_command_line_argument=yes
   13566 else
   13567   xorg_cv_cc_flag_unused_command_line_argument=no
   13568 fi
   13569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13570 fi
   13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13574 	CFLAGS="$xorg_testset_save_CFLAGS"
   13575 fi
   13576 
   13577 found="no"
   13578 
   13579 	if test $found = "no" ; then
   13580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13582 		fi
   13583 
   13584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13586 		fi
   13587 
   13588 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13589 
   13590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13591 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   13592 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13593 		if eval \${$cacheid+:} false; then :
   13594   $as_echo_n "(cached) " >&6
   13595 else
   13596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13597 /* end confdefs.h.  */
   13598 int i;
   13599 int
   13600 main ()
   13601 {
   13602 
   13603   ;
   13604   return 0;
   13605 }
   13606 _ACEOF
   13607 if ac_fn_c_try_link "$LINENO"; then :
   13608   eval $cacheid=yes
   13609 else
   13610   eval $cacheid=no
   13611 fi
   13612 rm -f core conftest.err conftest.$ac_objext \
   13613     conftest$ac_exeext conftest.$ac_ext
   13614 fi
   13615 
   13616 
   13617 		CFLAGS="$xorg_testset_save_CFLAGS"
   13618 
   13619 		eval supported=\$$cacheid
   13620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13621 $as_echo "$supported" >&6; }
   13622 		if test "$supported" = "yes" ; then
   13623 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13624 			found="yes"
   13625 		fi
   13626 	fi
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 xorg_testset_save_CFLAGS="$CFLAGS"
   13643 
   13644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13649   $as_echo_n "(cached) " >&6
   13650 else
   13651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13652 /* end confdefs.h.  */
   13653 int i;
   13654 _ACEOF
   13655 if ac_fn_c_try_compile "$LINENO"; then :
   13656   xorg_cv_cc_flag_unknown_warning_option=yes
   13657 else
   13658   xorg_cv_cc_flag_unknown_warning_option=no
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13661 fi
   13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13665 	CFLAGS="$xorg_testset_save_CFLAGS"
   13666 fi
   13667 
   13668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 	fi
   13672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13676   $as_echo_n "(cached) " >&6
   13677 else
   13678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13679 /* end confdefs.h.  */
   13680 int i;
   13681 _ACEOF
   13682 if ac_fn_c_try_compile "$LINENO"; then :
   13683   xorg_cv_cc_flag_unused_command_line_argument=yes
   13684 else
   13685   xorg_cv_cc_flag_unused_command_line_argument=no
   13686 fi
   13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13688 fi
   13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13692 	CFLAGS="$xorg_testset_save_CFLAGS"
   13693 fi
   13694 
   13695 found="no"
   13696 
   13697 	if test $found = "no" ; then
   13698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 		fi
   13701 
   13702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13704 		fi
   13705 
   13706 		CFLAGS="$CFLAGS -Wformat=2"
   13707 
   13708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13709 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13710 		cacheid=xorg_cv_cc_flag__Wformat_2
   13711 		if eval \${$cacheid+:} false; then :
   13712   $as_echo_n "(cached) " >&6
   13713 else
   13714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13715 /* end confdefs.h.  */
   13716 int i;
   13717 int
   13718 main ()
   13719 {
   13720 
   13721   ;
   13722   return 0;
   13723 }
   13724 _ACEOF
   13725 if ac_fn_c_try_link "$LINENO"; then :
   13726   eval $cacheid=yes
   13727 else
   13728   eval $cacheid=no
   13729 fi
   13730 rm -f core conftest.err conftest.$ac_objext \
   13731     conftest$ac_exeext conftest.$ac_ext
   13732 fi
   13733 
   13734 
   13735 		CFLAGS="$xorg_testset_save_CFLAGS"
   13736 
   13737 		eval supported=\$$cacheid
   13738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13739 $as_echo "$supported" >&6; }
   13740 		if test "$supported" = "yes" ; then
   13741 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13742 			found="yes"
   13743 		fi
   13744 	fi
   13745 
   13746 	if test $found = "no" ; then
   13747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13749 		fi
   13750 
   13751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13753 		fi
   13754 
   13755 		CFLAGS="$CFLAGS -Wformat"
   13756 
   13757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13758 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13759 		cacheid=xorg_cv_cc_flag__Wformat
   13760 		if eval \${$cacheid+:} false; then :
   13761   $as_echo_n "(cached) " >&6
   13762 else
   13763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13764 /* end confdefs.h.  */
   13765 int i;
   13766 int
   13767 main ()
   13768 {
   13769 
   13770   ;
   13771   return 0;
   13772 }
   13773 _ACEOF
   13774 if ac_fn_c_try_link "$LINENO"; then :
   13775   eval $cacheid=yes
   13776 else
   13777   eval $cacheid=no
   13778 fi
   13779 rm -f core conftest.err conftest.$ac_objext \
   13780     conftest$ac_exeext conftest.$ac_ext
   13781 fi
   13782 
   13783 
   13784 		CFLAGS="$xorg_testset_save_CFLAGS"
   13785 
   13786 		eval supported=\$$cacheid
   13787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13788 $as_echo "$supported" >&6; }
   13789 		if test "$supported" = "yes" ; then
   13790 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13791 			found="yes"
   13792 		fi
   13793 	fi
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 xorg_testset_save_CFLAGS="$CFLAGS"
   13812 
   13813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13818   $as_echo_n "(cached) " >&6
   13819 else
   13820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13821 /* end confdefs.h.  */
   13822 int i;
   13823 _ACEOF
   13824 if ac_fn_c_try_compile "$LINENO"; then :
   13825   xorg_cv_cc_flag_unknown_warning_option=yes
   13826 else
   13827   xorg_cv_cc_flag_unknown_warning_option=no
   13828 fi
   13829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13830 fi
   13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13834 	CFLAGS="$xorg_testset_save_CFLAGS"
   13835 fi
   13836 
   13837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13840 	fi
   13841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13845   $as_echo_n "(cached) " >&6
   13846 else
   13847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13848 /* end confdefs.h.  */
   13849 int i;
   13850 _ACEOF
   13851 if ac_fn_c_try_compile "$LINENO"; then :
   13852   xorg_cv_cc_flag_unused_command_line_argument=yes
   13853 else
   13854   xorg_cv_cc_flag_unused_command_line_argument=no
   13855 fi
   13856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13857 fi
   13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13861 	CFLAGS="$xorg_testset_save_CFLAGS"
   13862 fi
   13863 
   13864 found="no"
   13865 
   13866 	if test $found = "no" ; then
   13867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13869 		fi
   13870 
   13871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13873 		fi
   13874 
   13875 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13876 
   13877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13878 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13879 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13880 		if eval \${$cacheid+:} false; then :
   13881   $as_echo_n "(cached) " >&6
   13882 else
   13883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13884 /* end confdefs.h.  */
   13885 int i;
   13886 int
   13887 main ()
   13888 {
   13889 
   13890   ;
   13891   return 0;
   13892 }
   13893 _ACEOF
   13894 if ac_fn_c_try_link "$LINENO"; then :
   13895   eval $cacheid=yes
   13896 else
   13897   eval $cacheid=no
   13898 fi
   13899 rm -f core conftest.err conftest.$ac_objext \
   13900     conftest$ac_exeext conftest.$ac_ext
   13901 fi
   13902 
   13903 
   13904 		CFLAGS="$xorg_testset_save_CFLAGS"
   13905 
   13906 		eval supported=\$$cacheid
   13907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13908 $as_echo "$supported" >&6; }
   13909 		if test "$supported" = "yes" ; then
   13910 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13911 			found="yes"
   13912 		fi
   13913 	fi
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 xorg_testset_save_CFLAGS="$CFLAGS"
   13930 
   13931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13936   $as_echo_n "(cached) " >&6
   13937 else
   13938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13939 /* end confdefs.h.  */
   13940 int i;
   13941 _ACEOF
   13942 if ac_fn_c_try_compile "$LINENO"; then :
   13943   xorg_cv_cc_flag_unknown_warning_option=yes
   13944 else
   13945   xorg_cv_cc_flag_unknown_warning_option=no
   13946 fi
   13947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13948 fi
   13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13952 	CFLAGS="$xorg_testset_save_CFLAGS"
   13953 fi
   13954 
   13955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13958 	fi
   13959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13963   $as_echo_n "(cached) " >&6
   13964 else
   13965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13966 /* end confdefs.h.  */
   13967 int i;
   13968 _ACEOF
   13969 if ac_fn_c_try_compile "$LINENO"; then :
   13970   xorg_cv_cc_flag_unused_command_line_argument=yes
   13971 else
   13972   xorg_cv_cc_flag_unused_command_line_argument=no
   13973 fi
   13974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13975 fi
   13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13979 	CFLAGS="$xorg_testset_save_CFLAGS"
   13980 fi
   13981 
   13982 found="no"
   13983 
   13984 	if test $found = "no" ; then
   13985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13987 		fi
   13988 
   13989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13991 		fi
   13992 
   13993 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13994 
   13995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13996 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13997 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13998 		if eval \${$cacheid+:} false; then :
   13999   $as_echo_n "(cached) " >&6
   14000 else
   14001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14002 /* end confdefs.h.  */
   14003 int i;
   14004 int
   14005 main ()
   14006 {
   14007 
   14008   ;
   14009   return 0;
   14010 }
   14011 _ACEOF
   14012 if ac_fn_c_try_link "$LINENO"; then :
   14013   eval $cacheid=yes
   14014 else
   14015   eval $cacheid=no
   14016 fi
   14017 rm -f core conftest.err conftest.$ac_objext \
   14018     conftest$ac_exeext conftest.$ac_ext
   14019 fi
   14020 
   14021 
   14022 		CFLAGS="$xorg_testset_save_CFLAGS"
   14023 
   14024 		eval supported=\$$cacheid
   14025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14026 $as_echo "$supported" >&6; }
   14027 		if test "$supported" = "yes" ; then
   14028 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14029 			found="yes"
   14030 		fi
   14031 	fi
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 xorg_testset_save_CFLAGS="$CFLAGS"
   14048 
   14049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14054   $as_echo_n "(cached) " >&6
   14055 else
   14056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14057 /* end confdefs.h.  */
   14058 int i;
   14059 _ACEOF
   14060 if ac_fn_c_try_compile "$LINENO"; then :
   14061   xorg_cv_cc_flag_unknown_warning_option=yes
   14062 else
   14063   xorg_cv_cc_flag_unknown_warning_option=no
   14064 fi
   14065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14066 fi
   14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14070 	CFLAGS="$xorg_testset_save_CFLAGS"
   14071 fi
   14072 
   14073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14076 	fi
   14077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14081   $as_echo_n "(cached) " >&6
   14082 else
   14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14084 /* end confdefs.h.  */
   14085 int i;
   14086 _ACEOF
   14087 if ac_fn_c_try_compile "$LINENO"; then :
   14088   xorg_cv_cc_flag_unused_command_line_argument=yes
   14089 else
   14090   xorg_cv_cc_flag_unused_command_line_argument=no
   14091 fi
   14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14093 fi
   14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14097 	CFLAGS="$xorg_testset_save_CFLAGS"
   14098 fi
   14099 
   14100 found="no"
   14101 
   14102 	if test $found = "no" ; then
   14103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14105 		fi
   14106 
   14107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14109 		fi
   14110 
   14111 		CFLAGS="$CFLAGS -Wnested-externs"
   14112 
   14113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14114 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   14115 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14116 		if eval \${$cacheid+:} false; then :
   14117   $as_echo_n "(cached) " >&6
   14118 else
   14119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14120 /* end confdefs.h.  */
   14121 int i;
   14122 int
   14123 main ()
   14124 {
   14125 
   14126   ;
   14127   return 0;
   14128 }
   14129 _ACEOF
   14130 if ac_fn_c_try_link "$LINENO"; then :
   14131   eval $cacheid=yes
   14132 else
   14133   eval $cacheid=no
   14134 fi
   14135 rm -f core conftest.err conftest.$ac_objext \
   14136     conftest$ac_exeext conftest.$ac_ext
   14137 fi
   14138 
   14139 
   14140 		CFLAGS="$xorg_testset_save_CFLAGS"
   14141 
   14142 		eval supported=\$$cacheid
   14143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14144 $as_echo "$supported" >&6; }
   14145 		if test "$supported" = "yes" ; then
   14146 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14147 			found="yes"
   14148 		fi
   14149 	fi
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 xorg_testset_save_CFLAGS="$CFLAGS"
   14166 
   14167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14169 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14170 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14171 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14172   $as_echo_n "(cached) " >&6
   14173 else
   14174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14175 /* end confdefs.h.  */
   14176 int i;
   14177 _ACEOF
   14178 if ac_fn_c_try_compile "$LINENO"; then :
   14179   xorg_cv_cc_flag_unknown_warning_option=yes
   14180 else
   14181   xorg_cv_cc_flag_unknown_warning_option=no
   14182 fi
   14183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14184 fi
   14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14186 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14187 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14188 	CFLAGS="$xorg_testset_save_CFLAGS"
   14189 fi
   14190 
   14191 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14192 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14194 	fi
   14195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14198 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14199   $as_echo_n "(cached) " >&6
   14200 else
   14201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14202 /* end confdefs.h.  */
   14203 int i;
   14204 _ACEOF
   14205 if ac_fn_c_try_compile "$LINENO"; then :
   14206   xorg_cv_cc_flag_unused_command_line_argument=yes
   14207 else
   14208   xorg_cv_cc_flag_unused_command_line_argument=no
   14209 fi
   14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14211 fi
   14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14213 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14215 	CFLAGS="$xorg_testset_save_CFLAGS"
   14216 fi
   14217 
   14218 found="no"
   14219 
   14220 	if test $found = "no" ; then
   14221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14223 		fi
   14224 
   14225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14227 		fi
   14228 
   14229 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14230 
   14231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14232 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   14233 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14234 		if eval \${$cacheid+:} false; then :
   14235   $as_echo_n "(cached) " >&6
   14236 else
   14237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14238 /* end confdefs.h.  */
   14239 int i;
   14240 int
   14241 main ()
   14242 {
   14243 
   14244   ;
   14245   return 0;
   14246 }
   14247 _ACEOF
   14248 if ac_fn_c_try_link "$LINENO"; then :
   14249   eval $cacheid=yes
   14250 else
   14251   eval $cacheid=no
   14252 fi
   14253 rm -f core conftest.err conftest.$ac_objext \
   14254     conftest$ac_exeext conftest.$ac_ext
   14255 fi
   14256 
   14257 
   14258 		CFLAGS="$xorg_testset_save_CFLAGS"
   14259 
   14260 		eval supported=\$$cacheid
   14261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14262 $as_echo "$supported" >&6; }
   14263 		if test "$supported" = "yes" ; then
   14264 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14265 			found="yes"
   14266 		fi
   14267 	fi
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 xorg_testset_save_CFLAGS="$CFLAGS"
   14284 
   14285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14288 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14289 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14290   $as_echo_n "(cached) " >&6
   14291 else
   14292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14293 /* end confdefs.h.  */
   14294 int i;
   14295 _ACEOF
   14296 if ac_fn_c_try_compile "$LINENO"; then :
   14297   xorg_cv_cc_flag_unknown_warning_option=yes
   14298 else
   14299   xorg_cv_cc_flag_unknown_warning_option=no
   14300 fi
   14301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14302 fi
   14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14304 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14306 	CFLAGS="$xorg_testset_save_CFLAGS"
   14307 fi
   14308 
   14309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14312 	fi
   14313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14315 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14316 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14317   $as_echo_n "(cached) " >&6
   14318 else
   14319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14320 /* end confdefs.h.  */
   14321 int i;
   14322 _ACEOF
   14323 if ac_fn_c_try_compile "$LINENO"; then :
   14324   xorg_cv_cc_flag_unused_command_line_argument=yes
   14325 else
   14326   xorg_cv_cc_flag_unused_command_line_argument=no
   14327 fi
   14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14329 fi
   14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14331 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14332 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14333 	CFLAGS="$xorg_testset_save_CFLAGS"
   14334 fi
   14335 
   14336 found="no"
   14337 
   14338 	if test $found = "no" ; then
   14339 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14341 		fi
   14342 
   14343 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14345 		fi
   14346 
   14347 		CFLAGS="$CFLAGS -Wold-style-definition"
   14348 
   14349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14350 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   14351 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14352 		if eval \${$cacheid+:} false; then :
   14353   $as_echo_n "(cached) " >&6
   14354 else
   14355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14356 /* end confdefs.h.  */
   14357 int i;
   14358 int
   14359 main ()
   14360 {
   14361 
   14362   ;
   14363   return 0;
   14364 }
   14365 _ACEOF
   14366 if ac_fn_c_try_link "$LINENO"; then :
   14367   eval $cacheid=yes
   14368 else
   14369   eval $cacheid=no
   14370 fi
   14371 rm -f core conftest.err conftest.$ac_objext \
   14372     conftest$ac_exeext conftest.$ac_ext
   14373 fi
   14374 
   14375 
   14376 		CFLAGS="$xorg_testset_save_CFLAGS"
   14377 
   14378 		eval supported=\$$cacheid
   14379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14380 $as_echo "$supported" >&6; }
   14381 		if test "$supported" = "yes" ; then
   14382 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14383 			found="yes"
   14384 		fi
   14385 	fi
   14386 
   14387 	if test $found = "no" ; then
   14388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14390 		fi
   14391 
   14392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14394 		fi
   14395 
   14396 		CFLAGS="$CFLAGS -fd"
   14397 
   14398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14399 $as_echo_n "checking if $CC supports -fd... " >&6; }
   14400 		cacheid=xorg_cv_cc_flag__fd
   14401 		if eval \${$cacheid+:} false; then :
   14402   $as_echo_n "(cached) " >&6
   14403 else
   14404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14405 /* end confdefs.h.  */
   14406 int i;
   14407 int
   14408 main ()
   14409 {
   14410 
   14411   ;
   14412   return 0;
   14413 }
   14414 _ACEOF
   14415 if ac_fn_c_try_link "$LINENO"; then :
   14416   eval $cacheid=yes
   14417 else
   14418   eval $cacheid=no
   14419 fi
   14420 rm -f core conftest.err conftest.$ac_objext \
   14421     conftest$ac_exeext conftest.$ac_ext
   14422 fi
   14423 
   14424 
   14425 		CFLAGS="$xorg_testset_save_CFLAGS"
   14426 
   14427 		eval supported=\$$cacheid
   14428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14429 $as_echo "$supported" >&6; }
   14430 		if test "$supported" = "yes" ; then
   14431 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14432 			found="yes"
   14433 		fi
   14434 	fi
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 xorg_testset_save_CFLAGS="$CFLAGS"
   14451 
   14452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14457   $as_echo_n "(cached) " >&6
   14458 else
   14459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14460 /* end confdefs.h.  */
   14461 int i;
   14462 _ACEOF
   14463 if ac_fn_c_try_compile "$LINENO"; then :
   14464   xorg_cv_cc_flag_unknown_warning_option=yes
   14465 else
   14466   xorg_cv_cc_flag_unknown_warning_option=no
   14467 fi
   14468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14469 fi
   14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14473 	CFLAGS="$xorg_testset_save_CFLAGS"
   14474 fi
   14475 
   14476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14479 	fi
   14480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14484   $as_echo_n "(cached) " >&6
   14485 else
   14486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14487 /* end confdefs.h.  */
   14488 int i;
   14489 _ACEOF
   14490 if ac_fn_c_try_compile "$LINENO"; then :
   14491   xorg_cv_cc_flag_unused_command_line_argument=yes
   14492 else
   14493   xorg_cv_cc_flag_unused_command_line_argument=no
   14494 fi
   14495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14496 fi
   14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14500 	CFLAGS="$xorg_testset_save_CFLAGS"
   14501 fi
   14502 
   14503 found="no"
   14504 
   14505 	if test $found = "no" ; then
   14506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14508 		fi
   14509 
   14510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14512 		fi
   14513 
   14514 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14515 
   14516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14517 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14518 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14519 		if eval \${$cacheid+:} false; then :
   14520   $as_echo_n "(cached) " >&6
   14521 else
   14522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14523 /* end confdefs.h.  */
   14524 int i;
   14525 int
   14526 main ()
   14527 {
   14528 
   14529   ;
   14530   return 0;
   14531 }
   14532 _ACEOF
   14533 if ac_fn_c_try_link "$LINENO"; then :
   14534   eval $cacheid=yes
   14535 else
   14536   eval $cacheid=no
   14537 fi
   14538 rm -f core conftest.err conftest.$ac_objext \
   14539     conftest$ac_exeext conftest.$ac_ext
   14540 fi
   14541 
   14542 
   14543 		CFLAGS="$xorg_testset_save_CFLAGS"
   14544 
   14545 		eval supported=\$$cacheid
   14546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14547 $as_echo "$supported" >&6; }
   14548 		if test "$supported" = "yes" ; then
   14549 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14550 			found="yes"
   14551 		fi
   14552 	fi
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 # This chunk adds additional warnings that could catch undesired effects.
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 xorg_testset_save_CFLAGS="$CFLAGS"
   14573 
   14574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14579   $as_echo_n "(cached) " >&6
   14580 else
   14581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14582 /* end confdefs.h.  */
   14583 int i;
   14584 _ACEOF
   14585 if ac_fn_c_try_compile "$LINENO"; then :
   14586   xorg_cv_cc_flag_unknown_warning_option=yes
   14587 else
   14588   xorg_cv_cc_flag_unknown_warning_option=no
   14589 fi
   14590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14591 fi
   14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14595 	CFLAGS="$xorg_testset_save_CFLAGS"
   14596 fi
   14597 
   14598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14601 	fi
   14602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14606   $as_echo_n "(cached) " >&6
   14607 else
   14608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14609 /* end confdefs.h.  */
   14610 int i;
   14611 _ACEOF
   14612 if ac_fn_c_try_compile "$LINENO"; then :
   14613   xorg_cv_cc_flag_unused_command_line_argument=yes
   14614 else
   14615   xorg_cv_cc_flag_unused_command_line_argument=no
   14616 fi
   14617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14618 fi
   14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14622 	CFLAGS="$xorg_testset_save_CFLAGS"
   14623 fi
   14624 
   14625 found="no"
   14626 
   14627 	if test $found = "no" ; then
   14628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14630 		fi
   14631 
   14632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14634 		fi
   14635 
   14636 		CFLAGS="$CFLAGS -Wunused"
   14637 
   14638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14639 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   14640 		cacheid=xorg_cv_cc_flag__Wunused
   14641 		if eval \${$cacheid+:} false; then :
   14642   $as_echo_n "(cached) " >&6
   14643 else
   14644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14645 /* end confdefs.h.  */
   14646 int i;
   14647 int
   14648 main ()
   14649 {
   14650 
   14651   ;
   14652   return 0;
   14653 }
   14654 _ACEOF
   14655 if ac_fn_c_try_link "$LINENO"; then :
   14656   eval $cacheid=yes
   14657 else
   14658   eval $cacheid=no
   14659 fi
   14660 rm -f core conftest.err conftest.$ac_objext \
   14661     conftest$ac_exeext conftest.$ac_ext
   14662 fi
   14663 
   14664 
   14665 		CFLAGS="$xorg_testset_save_CFLAGS"
   14666 
   14667 		eval supported=\$$cacheid
   14668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14669 $as_echo "$supported" >&6; }
   14670 		if test "$supported" = "yes" ; then
   14671 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14672 			found="yes"
   14673 		fi
   14674 	fi
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 xorg_testset_save_CFLAGS="$CFLAGS"
   14691 
   14692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14697   $as_echo_n "(cached) " >&6
   14698 else
   14699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14700 /* end confdefs.h.  */
   14701 int i;
   14702 _ACEOF
   14703 if ac_fn_c_try_compile "$LINENO"; then :
   14704   xorg_cv_cc_flag_unknown_warning_option=yes
   14705 else
   14706   xorg_cv_cc_flag_unknown_warning_option=no
   14707 fi
   14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14709 fi
   14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14713 	CFLAGS="$xorg_testset_save_CFLAGS"
   14714 fi
   14715 
   14716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14719 	fi
   14720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14724   $as_echo_n "(cached) " >&6
   14725 else
   14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14727 /* end confdefs.h.  */
   14728 int i;
   14729 _ACEOF
   14730 if ac_fn_c_try_compile "$LINENO"; then :
   14731   xorg_cv_cc_flag_unused_command_line_argument=yes
   14732 else
   14733   xorg_cv_cc_flag_unused_command_line_argument=no
   14734 fi
   14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14736 fi
   14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14740 	CFLAGS="$xorg_testset_save_CFLAGS"
   14741 fi
   14742 
   14743 found="no"
   14744 
   14745 	if test $found = "no" ; then
   14746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14748 		fi
   14749 
   14750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14752 		fi
   14753 
   14754 		CFLAGS="$CFLAGS -Wuninitialized"
   14755 
   14756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14757 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14758 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14759 		if eval \${$cacheid+:} false; then :
   14760   $as_echo_n "(cached) " >&6
   14761 else
   14762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14763 /* end confdefs.h.  */
   14764 int i;
   14765 int
   14766 main ()
   14767 {
   14768 
   14769   ;
   14770   return 0;
   14771 }
   14772 _ACEOF
   14773 if ac_fn_c_try_link "$LINENO"; then :
   14774   eval $cacheid=yes
   14775 else
   14776   eval $cacheid=no
   14777 fi
   14778 rm -f core conftest.err conftest.$ac_objext \
   14779     conftest$ac_exeext conftest.$ac_ext
   14780 fi
   14781 
   14782 
   14783 		CFLAGS="$xorg_testset_save_CFLAGS"
   14784 
   14785 		eval supported=\$$cacheid
   14786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14787 $as_echo "$supported" >&6; }
   14788 		if test "$supported" = "yes" ; then
   14789 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14790 			found="yes"
   14791 		fi
   14792 	fi
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 xorg_testset_save_CFLAGS="$CFLAGS"
   14809 
   14810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14815   $as_echo_n "(cached) " >&6
   14816 else
   14817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14818 /* end confdefs.h.  */
   14819 int i;
   14820 _ACEOF
   14821 if ac_fn_c_try_compile "$LINENO"; then :
   14822   xorg_cv_cc_flag_unknown_warning_option=yes
   14823 else
   14824   xorg_cv_cc_flag_unknown_warning_option=no
   14825 fi
   14826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14827 fi
   14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14831 	CFLAGS="$xorg_testset_save_CFLAGS"
   14832 fi
   14833 
   14834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14837 	fi
   14838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14842   $as_echo_n "(cached) " >&6
   14843 else
   14844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14845 /* end confdefs.h.  */
   14846 int i;
   14847 _ACEOF
   14848 if ac_fn_c_try_compile "$LINENO"; then :
   14849   xorg_cv_cc_flag_unused_command_line_argument=yes
   14850 else
   14851   xorg_cv_cc_flag_unused_command_line_argument=no
   14852 fi
   14853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14854 fi
   14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14858 	CFLAGS="$xorg_testset_save_CFLAGS"
   14859 fi
   14860 
   14861 found="no"
   14862 
   14863 	if test $found = "no" ; then
   14864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14866 		fi
   14867 
   14868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14870 		fi
   14871 
   14872 		CFLAGS="$CFLAGS -Wshadow"
   14873 
   14874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14875 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14876 		cacheid=xorg_cv_cc_flag__Wshadow
   14877 		if eval \${$cacheid+:} false; then :
   14878   $as_echo_n "(cached) " >&6
   14879 else
   14880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14881 /* end confdefs.h.  */
   14882 int i;
   14883 int
   14884 main ()
   14885 {
   14886 
   14887   ;
   14888   return 0;
   14889 }
   14890 _ACEOF
   14891 if ac_fn_c_try_link "$LINENO"; then :
   14892   eval $cacheid=yes
   14893 else
   14894   eval $cacheid=no
   14895 fi
   14896 rm -f core conftest.err conftest.$ac_objext \
   14897     conftest$ac_exeext conftest.$ac_ext
   14898 fi
   14899 
   14900 
   14901 		CFLAGS="$xorg_testset_save_CFLAGS"
   14902 
   14903 		eval supported=\$$cacheid
   14904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14905 $as_echo "$supported" >&6; }
   14906 		if test "$supported" = "yes" ; then
   14907 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14908 			found="yes"
   14909 		fi
   14910 	fi
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 xorg_testset_save_CFLAGS="$CFLAGS"
   14927 
   14928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14933   $as_echo_n "(cached) " >&6
   14934 else
   14935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14936 /* end confdefs.h.  */
   14937 int i;
   14938 _ACEOF
   14939 if ac_fn_c_try_compile "$LINENO"; then :
   14940   xorg_cv_cc_flag_unknown_warning_option=yes
   14941 else
   14942   xorg_cv_cc_flag_unknown_warning_option=no
   14943 fi
   14944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14945 fi
   14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14949 	CFLAGS="$xorg_testset_save_CFLAGS"
   14950 fi
   14951 
   14952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14955 	fi
   14956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14960   $as_echo_n "(cached) " >&6
   14961 else
   14962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14963 /* end confdefs.h.  */
   14964 int i;
   14965 _ACEOF
   14966 if ac_fn_c_try_compile "$LINENO"; then :
   14967   xorg_cv_cc_flag_unused_command_line_argument=yes
   14968 else
   14969   xorg_cv_cc_flag_unused_command_line_argument=no
   14970 fi
   14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14972 fi
   14973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14976 	CFLAGS="$xorg_testset_save_CFLAGS"
   14977 fi
   14978 
   14979 found="no"
   14980 
   14981 	if test $found = "no" ; then
   14982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14984 		fi
   14985 
   14986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14988 		fi
   14989 
   14990 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14991 
   14992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14993 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14994 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14995 		if eval \${$cacheid+:} false; then :
   14996   $as_echo_n "(cached) " >&6
   14997 else
   14998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14999 /* end confdefs.h.  */
   15000 int i;
   15001 int
   15002 main ()
   15003 {
   15004 
   15005   ;
   15006   return 0;
   15007 }
   15008 _ACEOF
   15009 if ac_fn_c_try_link "$LINENO"; then :
   15010   eval $cacheid=yes
   15011 else
   15012   eval $cacheid=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext \
   15015     conftest$ac_exeext conftest.$ac_ext
   15016 fi
   15017 
   15018 
   15019 		CFLAGS="$xorg_testset_save_CFLAGS"
   15020 
   15021 		eval supported=\$$cacheid
   15022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15023 $as_echo "$supported" >&6; }
   15024 		if test "$supported" = "yes" ; then
   15025 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15026 			found="yes"
   15027 		fi
   15028 	fi
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 xorg_testset_save_CFLAGS="$CFLAGS"
   15045 
   15046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15051   $as_echo_n "(cached) " >&6
   15052 else
   15053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"; then :
   15058   xorg_cv_cc_flag_unknown_warning_option=yes
   15059 else
   15060   xorg_cv_cc_flag_unknown_warning_option=no
   15061 fi
   15062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15063 fi
   15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15067 	CFLAGS="$xorg_testset_save_CFLAGS"
   15068 fi
   15069 
   15070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15073 	fi
   15074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15078   $as_echo_n "(cached) " >&6
   15079 else
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"; then :
   15085   xorg_cv_cc_flag_unused_command_line_argument=yes
   15086 else
   15087   xorg_cv_cc_flag_unused_command_line_argument=no
   15088 fi
   15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15090 fi
   15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15094 	CFLAGS="$xorg_testset_save_CFLAGS"
   15095 fi
   15096 
   15097 found="no"
   15098 
   15099 	if test $found = "no" ; then
   15100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15102 		fi
   15103 
   15104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15106 		fi
   15107 
   15108 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15109 
   15110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15111 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15112 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15113 		if eval \${$cacheid+:} false; then :
   15114   $as_echo_n "(cached) " >&6
   15115 else
   15116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15117 /* end confdefs.h.  */
   15118 int i;
   15119 int
   15120 main ()
   15121 {
   15122 
   15123   ;
   15124   return 0;
   15125 }
   15126 _ACEOF
   15127 if ac_fn_c_try_link "$LINENO"; then :
   15128   eval $cacheid=yes
   15129 else
   15130   eval $cacheid=no
   15131 fi
   15132 rm -f core conftest.err conftest.$ac_objext \
   15133     conftest$ac_exeext conftest.$ac_ext
   15134 fi
   15135 
   15136 
   15137 		CFLAGS="$xorg_testset_save_CFLAGS"
   15138 
   15139 		eval supported=\$$cacheid
   15140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15141 $as_echo "$supported" >&6; }
   15142 		if test "$supported" = "yes" ; then
   15143 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15144 			found="yes"
   15145 		fi
   15146 	fi
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 xorg_testset_save_CFLAGS="$CFLAGS"
   15163 
   15164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15169   $as_echo_n "(cached) " >&6
   15170 else
   15171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15172 /* end confdefs.h.  */
   15173 int i;
   15174 _ACEOF
   15175 if ac_fn_c_try_compile "$LINENO"; then :
   15176   xorg_cv_cc_flag_unknown_warning_option=yes
   15177 else
   15178   xorg_cv_cc_flag_unknown_warning_option=no
   15179 fi
   15180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15181 fi
   15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15185 	CFLAGS="$xorg_testset_save_CFLAGS"
   15186 fi
   15187 
   15188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15191 	fi
   15192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15196   $as_echo_n "(cached) " >&6
   15197 else
   15198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 int i;
   15201 _ACEOF
   15202 if ac_fn_c_try_compile "$LINENO"; then :
   15203   xorg_cv_cc_flag_unused_command_line_argument=yes
   15204 else
   15205   xorg_cv_cc_flag_unused_command_line_argument=no
   15206 fi
   15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15208 fi
   15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15212 	CFLAGS="$xorg_testset_save_CFLAGS"
   15213 fi
   15214 
   15215 found="no"
   15216 
   15217 	if test $found = "no" ; then
   15218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15220 		fi
   15221 
   15222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15224 		fi
   15225 
   15226 		CFLAGS="$CFLAGS -Wredundant-decls"
   15227 
   15228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15229 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   15230 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15231 		if eval \${$cacheid+:} false; then :
   15232   $as_echo_n "(cached) " >&6
   15233 else
   15234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15235 /* end confdefs.h.  */
   15236 int i;
   15237 int
   15238 main ()
   15239 {
   15240 
   15241   ;
   15242   return 0;
   15243 }
   15244 _ACEOF
   15245 if ac_fn_c_try_link "$LINENO"; then :
   15246   eval $cacheid=yes
   15247 else
   15248   eval $cacheid=no
   15249 fi
   15250 rm -f core conftest.err conftest.$ac_objext \
   15251     conftest$ac_exeext conftest.$ac_ext
   15252 fi
   15253 
   15254 
   15255 		CFLAGS="$xorg_testset_save_CFLAGS"
   15256 
   15257 		eval supported=\$$cacheid
   15258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15259 $as_echo "$supported" >&6; }
   15260 		if test "$supported" = "yes" ; then
   15261 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15262 			found="yes"
   15263 		fi
   15264 	fi
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 xorg_testset_save_CFLAGS="$CFLAGS"
   15281 
   15282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15287   $as_echo_n "(cached) " >&6
   15288 else
   15289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15290 /* end confdefs.h.  */
   15291 int i;
   15292 _ACEOF
   15293 if ac_fn_c_try_compile "$LINENO"; then :
   15294   xorg_cv_cc_flag_unknown_warning_option=yes
   15295 else
   15296   xorg_cv_cc_flag_unknown_warning_option=no
   15297 fi
   15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15299 fi
   15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15303 	CFLAGS="$xorg_testset_save_CFLAGS"
   15304 fi
   15305 
   15306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15309 	fi
   15310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15314   $as_echo_n "(cached) " >&6
   15315 else
   15316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15317 /* end confdefs.h.  */
   15318 int i;
   15319 _ACEOF
   15320 if ac_fn_c_try_compile "$LINENO"; then :
   15321   xorg_cv_cc_flag_unused_command_line_argument=yes
   15322 else
   15323   xorg_cv_cc_flag_unused_command_line_argument=no
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15326 fi
   15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15330 	CFLAGS="$xorg_testset_save_CFLAGS"
   15331 fi
   15332 
   15333 found="no"
   15334 
   15335 	if test $found = "no" ; then
   15336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15338 		fi
   15339 
   15340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15342 		fi
   15343 
   15344 		CFLAGS="$CFLAGS -Wlogical-op"
   15345 
   15346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15347 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   15348 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15349 		if eval \${$cacheid+:} false; then :
   15350   $as_echo_n "(cached) " >&6
   15351 else
   15352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15353 /* end confdefs.h.  */
   15354 int i;
   15355 int
   15356 main ()
   15357 {
   15358 
   15359   ;
   15360   return 0;
   15361 }
   15362 _ACEOF
   15363 if ac_fn_c_try_link "$LINENO"; then :
   15364   eval $cacheid=yes
   15365 else
   15366   eval $cacheid=no
   15367 fi
   15368 rm -f core conftest.err conftest.$ac_objext \
   15369     conftest$ac_exeext conftest.$ac_ext
   15370 fi
   15371 
   15372 
   15373 		CFLAGS="$xorg_testset_save_CFLAGS"
   15374 
   15375 		eval supported=\$$cacheid
   15376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15377 $as_echo "$supported" >&6; }
   15378 		if test "$supported" = "yes" ; then
   15379 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15380 			found="yes"
   15381 		fi
   15382 	fi
   15383 
   15384 
   15385 
   15386 # These are currently disabled because they are noisy.  They will be enabled
   15387 # in the future once the codebase is sufficiently modernized to silence
   15388 # them.  For now, I don't want them to drown out the other warnings.
   15389 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15390 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15391 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15392 
   15393 # Turn some warnings into errors, so we don't accidently get successful builds
   15394 # when there are problems that should be fixed.
   15395 
   15396 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 xorg_testset_save_CFLAGS="$CFLAGS"
   15411 
   15412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15417   $as_echo_n "(cached) " >&6
   15418 else
   15419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15420 /* end confdefs.h.  */
   15421 int i;
   15422 _ACEOF
   15423 if ac_fn_c_try_compile "$LINENO"; then :
   15424   xorg_cv_cc_flag_unknown_warning_option=yes
   15425 else
   15426   xorg_cv_cc_flag_unknown_warning_option=no
   15427 fi
   15428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15429 fi
   15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15433 	CFLAGS="$xorg_testset_save_CFLAGS"
   15434 fi
   15435 
   15436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15439 	fi
   15440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15444   $as_echo_n "(cached) " >&6
   15445 else
   15446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15447 /* end confdefs.h.  */
   15448 int i;
   15449 _ACEOF
   15450 if ac_fn_c_try_compile "$LINENO"; then :
   15451   xorg_cv_cc_flag_unused_command_line_argument=yes
   15452 else
   15453   xorg_cv_cc_flag_unused_command_line_argument=no
   15454 fi
   15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15456 fi
   15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15460 	CFLAGS="$xorg_testset_save_CFLAGS"
   15461 fi
   15462 
   15463 found="no"
   15464 
   15465 	if test $found = "no" ; then
   15466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15468 		fi
   15469 
   15470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15472 		fi
   15473 
   15474 		CFLAGS="$CFLAGS -Werror=implicit"
   15475 
   15476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15477 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   15478 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15479 		if eval \${$cacheid+:} false; then :
   15480   $as_echo_n "(cached) " >&6
   15481 else
   15482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15483 /* end confdefs.h.  */
   15484 int i;
   15485 int
   15486 main ()
   15487 {
   15488 
   15489   ;
   15490   return 0;
   15491 }
   15492 _ACEOF
   15493 if ac_fn_c_try_link "$LINENO"; then :
   15494   eval $cacheid=yes
   15495 else
   15496   eval $cacheid=no
   15497 fi
   15498 rm -f core conftest.err conftest.$ac_objext \
   15499     conftest$ac_exeext conftest.$ac_ext
   15500 fi
   15501 
   15502 
   15503 		CFLAGS="$xorg_testset_save_CFLAGS"
   15504 
   15505 		eval supported=\$$cacheid
   15506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15507 $as_echo "$supported" >&6; }
   15508 		if test "$supported" = "yes" ; then
   15509 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15510 			found="yes"
   15511 		fi
   15512 	fi
   15513 
   15514 	if test $found = "no" ; then
   15515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15517 		fi
   15518 
   15519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15521 		fi
   15522 
   15523 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15524 
   15525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   15526 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15527 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15528 		if eval \${$cacheid+:} false; then :
   15529   $as_echo_n "(cached) " >&6
   15530 else
   15531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15532 /* end confdefs.h.  */
   15533 int i;
   15534 int
   15535 main ()
   15536 {
   15537 
   15538   ;
   15539   return 0;
   15540 }
   15541 _ACEOF
   15542 if ac_fn_c_try_link "$LINENO"; then :
   15543   eval $cacheid=yes
   15544 else
   15545   eval $cacheid=no
   15546 fi
   15547 rm -f core conftest.err conftest.$ac_objext \
   15548     conftest$ac_exeext conftest.$ac_ext
   15549 fi
   15550 
   15551 
   15552 		CFLAGS="$xorg_testset_save_CFLAGS"
   15553 
   15554 		eval supported=\$$cacheid
   15555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15556 $as_echo "$supported" >&6; }
   15557 		if test "$supported" = "yes" ; then
   15558 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15559 			found="yes"
   15560 		fi
   15561 	fi
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 xorg_testset_save_CFLAGS="$CFLAGS"
   15578 
   15579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15584   $as_echo_n "(cached) " >&6
   15585 else
   15586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15587 /* end confdefs.h.  */
   15588 int i;
   15589 _ACEOF
   15590 if ac_fn_c_try_compile "$LINENO"; then :
   15591   xorg_cv_cc_flag_unknown_warning_option=yes
   15592 else
   15593   xorg_cv_cc_flag_unknown_warning_option=no
   15594 fi
   15595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15596 fi
   15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15600 	CFLAGS="$xorg_testset_save_CFLAGS"
   15601 fi
   15602 
   15603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15606 	fi
   15607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15611   $as_echo_n "(cached) " >&6
   15612 else
   15613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15614 /* end confdefs.h.  */
   15615 int i;
   15616 _ACEOF
   15617 if ac_fn_c_try_compile "$LINENO"; then :
   15618   xorg_cv_cc_flag_unused_command_line_argument=yes
   15619 else
   15620   xorg_cv_cc_flag_unused_command_line_argument=no
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15623 fi
   15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15627 	CFLAGS="$xorg_testset_save_CFLAGS"
   15628 fi
   15629 
   15630 found="no"
   15631 
   15632 	if test $found = "no" ; then
   15633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15635 		fi
   15636 
   15637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15639 		fi
   15640 
   15641 		CFLAGS="$CFLAGS -Werror=nonnull"
   15642 
   15643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15644 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   15645 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15646 		if eval \${$cacheid+:} false; then :
   15647   $as_echo_n "(cached) " >&6
   15648 else
   15649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15650 /* end confdefs.h.  */
   15651 int i;
   15652 int
   15653 main ()
   15654 {
   15655 
   15656   ;
   15657   return 0;
   15658 }
   15659 _ACEOF
   15660 if ac_fn_c_try_link "$LINENO"; then :
   15661   eval $cacheid=yes
   15662 else
   15663   eval $cacheid=no
   15664 fi
   15665 rm -f core conftest.err conftest.$ac_objext \
   15666     conftest$ac_exeext conftest.$ac_ext
   15667 fi
   15668 
   15669 
   15670 		CFLAGS="$xorg_testset_save_CFLAGS"
   15671 
   15672 		eval supported=\$$cacheid
   15673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15674 $as_echo "$supported" >&6; }
   15675 		if test "$supported" = "yes" ; then
   15676 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15677 			found="yes"
   15678 		fi
   15679 	fi
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 xorg_testset_save_CFLAGS="$CFLAGS"
   15696 
   15697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15702   $as_echo_n "(cached) " >&6
   15703 else
   15704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15705 /* end confdefs.h.  */
   15706 int i;
   15707 _ACEOF
   15708 if ac_fn_c_try_compile "$LINENO"; then :
   15709   xorg_cv_cc_flag_unknown_warning_option=yes
   15710 else
   15711   xorg_cv_cc_flag_unknown_warning_option=no
   15712 fi
   15713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15714 fi
   15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15718 	CFLAGS="$xorg_testset_save_CFLAGS"
   15719 fi
   15720 
   15721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15724 	fi
   15725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15729   $as_echo_n "(cached) " >&6
   15730 else
   15731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15732 /* end confdefs.h.  */
   15733 int i;
   15734 _ACEOF
   15735 if ac_fn_c_try_compile "$LINENO"; then :
   15736   xorg_cv_cc_flag_unused_command_line_argument=yes
   15737 else
   15738   xorg_cv_cc_flag_unused_command_line_argument=no
   15739 fi
   15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15741 fi
   15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15745 	CFLAGS="$xorg_testset_save_CFLAGS"
   15746 fi
   15747 
   15748 found="no"
   15749 
   15750 	if test $found = "no" ; then
   15751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 		fi
   15754 
   15755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15757 		fi
   15758 
   15759 		CFLAGS="$CFLAGS -Werror=init-self"
   15760 
   15761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15762 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15763 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15764 		if eval \${$cacheid+:} false; then :
   15765   $as_echo_n "(cached) " >&6
   15766 else
   15767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15768 /* end confdefs.h.  */
   15769 int i;
   15770 int
   15771 main ()
   15772 {
   15773 
   15774   ;
   15775   return 0;
   15776 }
   15777 _ACEOF
   15778 if ac_fn_c_try_link "$LINENO"; then :
   15779   eval $cacheid=yes
   15780 else
   15781   eval $cacheid=no
   15782 fi
   15783 rm -f core conftest.err conftest.$ac_objext \
   15784     conftest$ac_exeext conftest.$ac_ext
   15785 fi
   15786 
   15787 
   15788 		CFLAGS="$xorg_testset_save_CFLAGS"
   15789 
   15790 		eval supported=\$$cacheid
   15791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15792 $as_echo "$supported" >&6; }
   15793 		if test "$supported" = "yes" ; then
   15794 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15795 			found="yes"
   15796 		fi
   15797 	fi
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 xorg_testset_save_CFLAGS="$CFLAGS"
   15814 
   15815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15820   $as_echo_n "(cached) " >&6
   15821 else
   15822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15823 /* end confdefs.h.  */
   15824 int i;
   15825 _ACEOF
   15826 if ac_fn_c_try_compile "$LINENO"; then :
   15827   xorg_cv_cc_flag_unknown_warning_option=yes
   15828 else
   15829   xorg_cv_cc_flag_unknown_warning_option=no
   15830 fi
   15831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15832 fi
   15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15836 	CFLAGS="$xorg_testset_save_CFLAGS"
   15837 fi
   15838 
   15839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15842 	fi
   15843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15847   $as_echo_n "(cached) " >&6
   15848 else
   15849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15850 /* end confdefs.h.  */
   15851 int i;
   15852 _ACEOF
   15853 if ac_fn_c_try_compile "$LINENO"; then :
   15854   xorg_cv_cc_flag_unused_command_line_argument=yes
   15855 else
   15856   xorg_cv_cc_flag_unused_command_line_argument=no
   15857 fi
   15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15859 fi
   15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15863 	CFLAGS="$xorg_testset_save_CFLAGS"
   15864 fi
   15865 
   15866 found="no"
   15867 
   15868 	if test $found = "no" ; then
   15869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15871 		fi
   15872 
   15873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15875 		fi
   15876 
   15877 		CFLAGS="$CFLAGS -Werror=main"
   15878 
   15879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15880 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15881 		cacheid=xorg_cv_cc_flag__Werror_main
   15882 		if eval \${$cacheid+:} false; then :
   15883   $as_echo_n "(cached) " >&6
   15884 else
   15885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15886 /* end confdefs.h.  */
   15887 int i;
   15888 int
   15889 main ()
   15890 {
   15891 
   15892   ;
   15893   return 0;
   15894 }
   15895 _ACEOF
   15896 if ac_fn_c_try_link "$LINENO"; then :
   15897   eval $cacheid=yes
   15898 else
   15899   eval $cacheid=no
   15900 fi
   15901 rm -f core conftest.err conftest.$ac_objext \
   15902     conftest$ac_exeext conftest.$ac_ext
   15903 fi
   15904 
   15905 
   15906 		CFLAGS="$xorg_testset_save_CFLAGS"
   15907 
   15908 		eval supported=\$$cacheid
   15909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15910 $as_echo "$supported" >&6; }
   15911 		if test "$supported" = "yes" ; then
   15912 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15913 			found="yes"
   15914 		fi
   15915 	fi
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 xorg_testset_save_CFLAGS="$CFLAGS"
   15932 
   15933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15938   $as_echo_n "(cached) " >&6
   15939 else
   15940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15941 /* end confdefs.h.  */
   15942 int i;
   15943 _ACEOF
   15944 if ac_fn_c_try_compile "$LINENO"; then :
   15945   xorg_cv_cc_flag_unknown_warning_option=yes
   15946 else
   15947   xorg_cv_cc_flag_unknown_warning_option=no
   15948 fi
   15949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15950 fi
   15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15954 	CFLAGS="$xorg_testset_save_CFLAGS"
   15955 fi
   15956 
   15957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15960 	fi
   15961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15965   $as_echo_n "(cached) " >&6
   15966 else
   15967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15968 /* end confdefs.h.  */
   15969 int i;
   15970 _ACEOF
   15971 if ac_fn_c_try_compile "$LINENO"; then :
   15972   xorg_cv_cc_flag_unused_command_line_argument=yes
   15973 else
   15974   xorg_cv_cc_flag_unused_command_line_argument=no
   15975 fi
   15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15977 fi
   15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15981 	CFLAGS="$xorg_testset_save_CFLAGS"
   15982 fi
   15983 
   15984 found="no"
   15985 
   15986 	if test $found = "no" ; then
   15987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15989 		fi
   15990 
   15991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15993 		fi
   15994 
   15995 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15996 
   15997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15998 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15999 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16000 		if eval \${$cacheid+:} false; then :
   16001   $as_echo_n "(cached) " >&6
   16002 else
   16003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16004 /* end confdefs.h.  */
   16005 int i;
   16006 int
   16007 main ()
   16008 {
   16009 
   16010   ;
   16011   return 0;
   16012 }
   16013 _ACEOF
   16014 if ac_fn_c_try_link "$LINENO"; then :
   16015   eval $cacheid=yes
   16016 else
   16017   eval $cacheid=no
   16018 fi
   16019 rm -f core conftest.err conftest.$ac_objext \
   16020     conftest$ac_exeext conftest.$ac_ext
   16021 fi
   16022 
   16023 
   16024 		CFLAGS="$xorg_testset_save_CFLAGS"
   16025 
   16026 		eval supported=\$$cacheid
   16027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16028 $as_echo "$supported" >&6; }
   16029 		if test "$supported" = "yes" ; then
   16030 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16031 			found="yes"
   16032 		fi
   16033 	fi
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 xorg_testset_save_CFLAGS="$CFLAGS"
   16050 
   16051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16054 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16055 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16056   $as_echo_n "(cached) " >&6
   16057 else
   16058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16059 /* end confdefs.h.  */
   16060 int i;
   16061 _ACEOF
   16062 if ac_fn_c_try_compile "$LINENO"; then :
   16063   xorg_cv_cc_flag_unknown_warning_option=yes
   16064 else
   16065   xorg_cv_cc_flag_unknown_warning_option=no
   16066 fi
   16067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16068 fi
   16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16070 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16072 	CFLAGS="$xorg_testset_save_CFLAGS"
   16073 fi
   16074 
   16075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16078 	fi
   16079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16081 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16082 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16083   $as_echo_n "(cached) " >&6
   16084 else
   16085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16086 /* end confdefs.h.  */
   16087 int i;
   16088 _ACEOF
   16089 if ac_fn_c_try_compile "$LINENO"; then :
   16090   xorg_cv_cc_flag_unused_command_line_argument=yes
   16091 else
   16092   xorg_cv_cc_flag_unused_command_line_argument=no
   16093 fi
   16094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16095 fi
   16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16097 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16099 	CFLAGS="$xorg_testset_save_CFLAGS"
   16100 fi
   16101 
   16102 found="no"
   16103 
   16104 	if test $found = "no" ; then
   16105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16107 		fi
   16108 
   16109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16111 		fi
   16112 
   16113 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16114 
   16115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16116 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   16117 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16118 		if eval \${$cacheid+:} false; then :
   16119   $as_echo_n "(cached) " >&6
   16120 else
   16121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16122 /* end confdefs.h.  */
   16123 int i;
   16124 int
   16125 main ()
   16126 {
   16127 
   16128   ;
   16129   return 0;
   16130 }
   16131 _ACEOF
   16132 if ac_fn_c_try_link "$LINENO"; then :
   16133   eval $cacheid=yes
   16134 else
   16135   eval $cacheid=no
   16136 fi
   16137 rm -f core conftest.err conftest.$ac_objext \
   16138     conftest$ac_exeext conftest.$ac_ext
   16139 fi
   16140 
   16141 
   16142 		CFLAGS="$xorg_testset_save_CFLAGS"
   16143 
   16144 		eval supported=\$$cacheid
   16145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16146 $as_echo "$supported" >&6; }
   16147 		if test "$supported" = "yes" ; then
   16148 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16149 			found="yes"
   16150 		fi
   16151 	fi
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 xorg_testset_save_CFLAGS="$CFLAGS"
   16168 
   16169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16172 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16173 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16174   $as_echo_n "(cached) " >&6
   16175 else
   16176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16177 /* end confdefs.h.  */
   16178 int i;
   16179 _ACEOF
   16180 if ac_fn_c_try_compile "$LINENO"; then :
   16181   xorg_cv_cc_flag_unknown_warning_option=yes
   16182 else
   16183   xorg_cv_cc_flag_unknown_warning_option=no
   16184 fi
   16185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16186 fi
   16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16188 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16190 	CFLAGS="$xorg_testset_save_CFLAGS"
   16191 fi
   16192 
   16193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16196 	fi
   16197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16199 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16200 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16201   $as_echo_n "(cached) " >&6
   16202 else
   16203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16204 /* end confdefs.h.  */
   16205 int i;
   16206 _ACEOF
   16207 if ac_fn_c_try_compile "$LINENO"; then :
   16208   xorg_cv_cc_flag_unused_command_line_argument=yes
   16209 else
   16210   xorg_cv_cc_flag_unused_command_line_argument=no
   16211 fi
   16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16213 fi
   16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16215 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16217 	CFLAGS="$xorg_testset_save_CFLAGS"
   16218 fi
   16219 
   16220 found="no"
   16221 
   16222 	if test $found = "no" ; then
   16223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16225 		fi
   16226 
   16227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16229 		fi
   16230 
   16231 		CFLAGS="$CFLAGS -Werror=return-type"
   16232 
   16233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16234 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   16235 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16236 		if eval \${$cacheid+:} false; then :
   16237   $as_echo_n "(cached) " >&6
   16238 else
   16239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16240 /* end confdefs.h.  */
   16241 int i;
   16242 int
   16243 main ()
   16244 {
   16245 
   16246   ;
   16247   return 0;
   16248 }
   16249 _ACEOF
   16250 if ac_fn_c_try_link "$LINENO"; then :
   16251   eval $cacheid=yes
   16252 else
   16253   eval $cacheid=no
   16254 fi
   16255 rm -f core conftest.err conftest.$ac_objext \
   16256     conftest$ac_exeext conftest.$ac_ext
   16257 fi
   16258 
   16259 
   16260 		CFLAGS="$xorg_testset_save_CFLAGS"
   16261 
   16262 		eval supported=\$$cacheid
   16263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16264 $as_echo "$supported" >&6; }
   16265 		if test "$supported" = "yes" ; then
   16266 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16267 			found="yes"
   16268 		fi
   16269 	fi
   16270 
   16271 	if test $found = "no" ; then
   16272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16274 		fi
   16275 
   16276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16278 		fi
   16279 
   16280 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16281 
   16282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16283 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16284 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16285 		if eval \${$cacheid+:} false; then :
   16286   $as_echo_n "(cached) " >&6
   16287 else
   16288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16289 /* end confdefs.h.  */
   16290 int i;
   16291 int
   16292 main ()
   16293 {
   16294 
   16295   ;
   16296   return 0;
   16297 }
   16298 _ACEOF
   16299 if ac_fn_c_try_link "$LINENO"; then :
   16300   eval $cacheid=yes
   16301 else
   16302   eval $cacheid=no
   16303 fi
   16304 rm -f core conftest.err conftest.$ac_objext \
   16305     conftest$ac_exeext conftest.$ac_ext
   16306 fi
   16307 
   16308 
   16309 		CFLAGS="$xorg_testset_save_CFLAGS"
   16310 
   16311 		eval supported=\$$cacheid
   16312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16313 $as_echo "$supported" >&6; }
   16314 		if test "$supported" = "yes" ; then
   16315 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16316 			found="yes"
   16317 		fi
   16318 	fi
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 xorg_testset_save_CFLAGS="$CFLAGS"
   16335 
   16336 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16339 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16340 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16341   $as_echo_n "(cached) " >&6
   16342 else
   16343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16344 /* end confdefs.h.  */
   16345 int i;
   16346 _ACEOF
   16347 if ac_fn_c_try_compile "$LINENO"; then :
   16348   xorg_cv_cc_flag_unknown_warning_option=yes
   16349 else
   16350   xorg_cv_cc_flag_unknown_warning_option=no
   16351 fi
   16352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16353 fi
   16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16355 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16356 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16357 	CFLAGS="$xorg_testset_save_CFLAGS"
   16358 fi
   16359 
   16360 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16361 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16363 	fi
   16364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16366 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16367 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16368   $as_echo_n "(cached) " >&6
   16369 else
   16370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16371 /* end confdefs.h.  */
   16372 int i;
   16373 _ACEOF
   16374 if ac_fn_c_try_compile "$LINENO"; then :
   16375   xorg_cv_cc_flag_unused_command_line_argument=yes
   16376 else
   16377   xorg_cv_cc_flag_unused_command_line_argument=no
   16378 fi
   16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16380 fi
   16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16382 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16384 	CFLAGS="$xorg_testset_save_CFLAGS"
   16385 fi
   16386 
   16387 found="no"
   16388 
   16389 	if test $found = "no" ; then
   16390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16392 		fi
   16393 
   16394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16396 		fi
   16397 
   16398 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16399 
   16400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16401 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   16402 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16403 		if eval \${$cacheid+:} false; then :
   16404   $as_echo_n "(cached) " >&6
   16405 else
   16406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16407 /* end confdefs.h.  */
   16408 int i;
   16409 int
   16410 main ()
   16411 {
   16412 
   16413   ;
   16414   return 0;
   16415 }
   16416 _ACEOF
   16417 if ac_fn_c_try_link "$LINENO"; then :
   16418   eval $cacheid=yes
   16419 else
   16420   eval $cacheid=no
   16421 fi
   16422 rm -f core conftest.err conftest.$ac_objext \
   16423     conftest$ac_exeext conftest.$ac_ext
   16424 fi
   16425 
   16426 
   16427 		CFLAGS="$xorg_testset_save_CFLAGS"
   16428 
   16429 		eval supported=\$$cacheid
   16430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16431 $as_echo "$supported" >&6; }
   16432 		if test "$supported" = "yes" ; then
   16433 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16434 			found="yes"
   16435 		fi
   16436 	fi
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 xorg_testset_save_CFLAGS="$CFLAGS"
   16453 
   16454 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16455 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16457 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16458 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16459   $as_echo_n "(cached) " >&6
   16460 else
   16461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16462 /* end confdefs.h.  */
   16463 int i;
   16464 _ACEOF
   16465 if ac_fn_c_try_compile "$LINENO"; then :
   16466   xorg_cv_cc_flag_unknown_warning_option=yes
   16467 else
   16468   xorg_cv_cc_flag_unknown_warning_option=no
   16469 fi
   16470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16471 fi
   16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16473 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16475 	CFLAGS="$xorg_testset_save_CFLAGS"
   16476 fi
   16477 
   16478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16481 	fi
   16482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16484 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16485 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16486   $as_echo_n "(cached) " >&6
   16487 else
   16488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16489 /* end confdefs.h.  */
   16490 int i;
   16491 _ACEOF
   16492 if ac_fn_c_try_compile "$LINENO"; then :
   16493   xorg_cv_cc_flag_unused_command_line_argument=yes
   16494 else
   16495   xorg_cv_cc_flag_unused_command_line_argument=no
   16496 fi
   16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16498 fi
   16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16500 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16502 	CFLAGS="$xorg_testset_save_CFLAGS"
   16503 fi
   16504 
   16505 found="no"
   16506 
   16507 	if test $found = "no" ; then
   16508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16510 		fi
   16511 
   16512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16514 		fi
   16515 
   16516 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16517 
   16518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16519 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   16520 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16521 		if eval \${$cacheid+:} false; then :
   16522   $as_echo_n "(cached) " >&6
   16523 else
   16524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16525 /* end confdefs.h.  */
   16526 int i;
   16527 int
   16528 main ()
   16529 {
   16530 
   16531   ;
   16532   return 0;
   16533 }
   16534 _ACEOF
   16535 if ac_fn_c_try_link "$LINENO"; then :
   16536   eval $cacheid=yes
   16537 else
   16538   eval $cacheid=no
   16539 fi
   16540 rm -f core conftest.err conftest.$ac_objext \
   16541     conftest$ac_exeext conftest.$ac_ext
   16542 fi
   16543 
   16544 
   16545 		CFLAGS="$xorg_testset_save_CFLAGS"
   16546 
   16547 		eval supported=\$$cacheid
   16548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16549 $as_echo "$supported" >&6; }
   16550 		if test "$supported" = "yes" ; then
   16551 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16552 			found="yes"
   16553 		fi
   16554 	fi
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 xorg_testset_save_CFLAGS="$CFLAGS"
   16571 
   16572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16577   $as_echo_n "(cached) " >&6
   16578 else
   16579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16580 /* end confdefs.h.  */
   16581 int i;
   16582 _ACEOF
   16583 if ac_fn_c_try_compile "$LINENO"; then :
   16584   xorg_cv_cc_flag_unknown_warning_option=yes
   16585 else
   16586   xorg_cv_cc_flag_unknown_warning_option=no
   16587 fi
   16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16589 fi
   16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16593 	CFLAGS="$xorg_testset_save_CFLAGS"
   16594 fi
   16595 
   16596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16599 	fi
   16600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16604   $as_echo_n "(cached) " >&6
   16605 else
   16606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16607 /* end confdefs.h.  */
   16608 int i;
   16609 _ACEOF
   16610 if ac_fn_c_try_compile "$LINENO"; then :
   16611   xorg_cv_cc_flag_unused_command_line_argument=yes
   16612 else
   16613   xorg_cv_cc_flag_unused_command_line_argument=no
   16614 fi
   16615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16616 fi
   16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16620 	CFLAGS="$xorg_testset_save_CFLAGS"
   16621 fi
   16622 
   16623 found="no"
   16624 
   16625 	if test $found = "no" ; then
   16626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16628 		fi
   16629 
   16630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16632 		fi
   16633 
   16634 		CFLAGS="$CFLAGS -Werror=write-strings"
   16635 
   16636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16637 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   16638 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16639 		if eval \${$cacheid+:} false; then :
   16640   $as_echo_n "(cached) " >&6
   16641 else
   16642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16643 /* end confdefs.h.  */
   16644 int i;
   16645 int
   16646 main ()
   16647 {
   16648 
   16649   ;
   16650   return 0;
   16651 }
   16652 _ACEOF
   16653 if ac_fn_c_try_link "$LINENO"; then :
   16654   eval $cacheid=yes
   16655 else
   16656   eval $cacheid=no
   16657 fi
   16658 rm -f core conftest.err conftest.$ac_objext \
   16659     conftest$ac_exeext conftest.$ac_ext
   16660 fi
   16661 
   16662 
   16663 		CFLAGS="$xorg_testset_save_CFLAGS"
   16664 
   16665 		eval supported=\$$cacheid
   16666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16667 $as_echo "$supported" >&6; }
   16668 		if test "$supported" = "yes" ; then
   16669 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16670 			found="yes"
   16671 		fi
   16672 	fi
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 xorg_testset_save_CFLAGS="$CFLAGS"
   16689 
   16690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16693 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16694 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16695   $as_echo_n "(cached) " >&6
   16696 else
   16697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16698 /* end confdefs.h.  */
   16699 int i;
   16700 _ACEOF
   16701 if ac_fn_c_try_compile "$LINENO"; then :
   16702   xorg_cv_cc_flag_unknown_warning_option=yes
   16703 else
   16704   xorg_cv_cc_flag_unknown_warning_option=no
   16705 fi
   16706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16707 fi
   16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16709 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16711 	CFLAGS="$xorg_testset_save_CFLAGS"
   16712 fi
   16713 
   16714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16717 	fi
   16718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16720 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16721 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16722   $as_echo_n "(cached) " >&6
   16723 else
   16724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16725 /* end confdefs.h.  */
   16726 int i;
   16727 _ACEOF
   16728 if ac_fn_c_try_compile "$LINENO"; then :
   16729   xorg_cv_cc_flag_unused_command_line_argument=yes
   16730 else
   16731   xorg_cv_cc_flag_unused_command_line_argument=no
   16732 fi
   16733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16734 fi
   16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16736 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16738 	CFLAGS="$xorg_testset_save_CFLAGS"
   16739 fi
   16740 
   16741 found="no"
   16742 
   16743 	if test $found = "no" ; then
   16744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16746 		fi
   16747 
   16748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16750 		fi
   16751 
   16752 		CFLAGS="$CFLAGS -Werror=address"
   16753 
   16754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16755 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16756 		cacheid=xorg_cv_cc_flag__Werror_address
   16757 		if eval \${$cacheid+:} false; then :
   16758   $as_echo_n "(cached) " >&6
   16759 else
   16760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16761 /* end confdefs.h.  */
   16762 int i;
   16763 int
   16764 main ()
   16765 {
   16766 
   16767   ;
   16768   return 0;
   16769 }
   16770 _ACEOF
   16771 if ac_fn_c_try_link "$LINENO"; then :
   16772   eval $cacheid=yes
   16773 else
   16774   eval $cacheid=no
   16775 fi
   16776 rm -f core conftest.err conftest.$ac_objext \
   16777     conftest$ac_exeext conftest.$ac_ext
   16778 fi
   16779 
   16780 
   16781 		CFLAGS="$xorg_testset_save_CFLAGS"
   16782 
   16783 		eval supported=\$$cacheid
   16784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16785 $as_echo "$supported" >&6; }
   16786 		if test "$supported" = "yes" ; then
   16787 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16788 			found="yes"
   16789 		fi
   16790 	fi
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 xorg_testset_save_CFLAGS="$CFLAGS"
   16807 
   16808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16811 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16812 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16813   $as_echo_n "(cached) " >&6
   16814 else
   16815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16816 /* end confdefs.h.  */
   16817 int i;
   16818 _ACEOF
   16819 if ac_fn_c_try_compile "$LINENO"; then :
   16820   xorg_cv_cc_flag_unknown_warning_option=yes
   16821 else
   16822   xorg_cv_cc_flag_unknown_warning_option=no
   16823 fi
   16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16825 fi
   16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16827 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16829 	CFLAGS="$xorg_testset_save_CFLAGS"
   16830 fi
   16831 
   16832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16835 	fi
   16836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16838 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16839 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16840   $as_echo_n "(cached) " >&6
   16841 else
   16842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16843 /* end confdefs.h.  */
   16844 int i;
   16845 _ACEOF
   16846 if ac_fn_c_try_compile "$LINENO"; then :
   16847   xorg_cv_cc_flag_unused_command_line_argument=yes
   16848 else
   16849   xorg_cv_cc_flag_unused_command_line_argument=no
   16850 fi
   16851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16852 fi
   16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16854 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16856 	CFLAGS="$xorg_testset_save_CFLAGS"
   16857 fi
   16858 
   16859 found="no"
   16860 
   16861 	if test $found = "no" ; then
   16862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16864 		fi
   16865 
   16866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16868 		fi
   16869 
   16870 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16871 
   16872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16873 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16874 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16875 		if eval \${$cacheid+:} false; then :
   16876   $as_echo_n "(cached) " >&6
   16877 else
   16878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16879 /* end confdefs.h.  */
   16880 int i;
   16881 int
   16882 main ()
   16883 {
   16884 
   16885   ;
   16886   return 0;
   16887 }
   16888 _ACEOF
   16889 if ac_fn_c_try_link "$LINENO"; then :
   16890   eval $cacheid=yes
   16891 else
   16892   eval $cacheid=no
   16893 fi
   16894 rm -f core conftest.err conftest.$ac_objext \
   16895     conftest$ac_exeext conftest.$ac_ext
   16896 fi
   16897 
   16898 
   16899 		CFLAGS="$xorg_testset_save_CFLAGS"
   16900 
   16901 		eval supported=\$$cacheid
   16902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16903 $as_echo "$supported" >&6; }
   16904 		if test "$supported" = "yes" ; then
   16905 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16906 			found="yes"
   16907 		fi
   16908 	fi
   16909 
   16910 	if test $found = "no" ; then
   16911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16913 		fi
   16914 
   16915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16917 		fi
   16918 
   16919 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16920 
   16921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16922 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16923 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16924 		if eval \${$cacheid+:} false; then :
   16925   $as_echo_n "(cached) " >&6
   16926 else
   16927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16928 /* end confdefs.h.  */
   16929 int i;
   16930 int
   16931 main ()
   16932 {
   16933 
   16934   ;
   16935   return 0;
   16936 }
   16937 _ACEOF
   16938 if ac_fn_c_try_link "$LINENO"; then :
   16939   eval $cacheid=yes
   16940 else
   16941   eval $cacheid=no
   16942 fi
   16943 rm -f core conftest.err conftest.$ac_objext \
   16944     conftest$ac_exeext conftest.$ac_ext
   16945 fi
   16946 
   16947 
   16948 		CFLAGS="$xorg_testset_save_CFLAGS"
   16949 
   16950 		eval supported=\$$cacheid
   16951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16952 $as_echo "$supported" >&6; }
   16953 		if test "$supported" = "yes" ; then
   16954 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16955 			found="yes"
   16956 		fi
   16957 	fi
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 xorg_testset_save_CFLAGS="$CFLAGS"
   16974 
   16975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16980   $as_echo_n "(cached) " >&6
   16981 else
   16982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16983 /* end confdefs.h.  */
   16984 int i;
   16985 _ACEOF
   16986 if ac_fn_c_try_compile "$LINENO"; then :
   16987   xorg_cv_cc_flag_unknown_warning_option=yes
   16988 else
   16989   xorg_cv_cc_flag_unknown_warning_option=no
   16990 fi
   16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16992 fi
   16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16996 	CFLAGS="$xorg_testset_save_CFLAGS"
   16997 fi
   16998 
   16999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17002 	fi
   17003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17007   $as_echo_n "(cached) " >&6
   17008 else
   17009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17010 /* end confdefs.h.  */
   17011 int i;
   17012 _ACEOF
   17013 if ac_fn_c_try_compile "$LINENO"; then :
   17014   xorg_cv_cc_flag_unused_command_line_argument=yes
   17015 else
   17016   xorg_cv_cc_flag_unused_command_line_argument=no
   17017 fi
   17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17019 fi
   17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17023 	CFLAGS="$xorg_testset_save_CFLAGS"
   17024 fi
   17025 
   17026 found="no"
   17027 
   17028 	if test $found = "no" ; then
   17029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17031 		fi
   17032 
   17033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17035 		fi
   17036 
   17037 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17038 
   17039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17040 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17041 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17042 		if eval \${$cacheid+:} false; then :
   17043   $as_echo_n "(cached) " >&6
   17044 else
   17045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17046 /* end confdefs.h.  */
   17047 int i;
   17048 int
   17049 main ()
   17050 {
   17051 
   17052   ;
   17053   return 0;
   17054 }
   17055 _ACEOF
   17056 if ac_fn_c_try_link "$LINENO"; then :
   17057   eval $cacheid=yes
   17058 else
   17059   eval $cacheid=no
   17060 fi
   17061 rm -f core conftest.err conftest.$ac_objext \
   17062     conftest$ac_exeext conftest.$ac_ext
   17063 fi
   17064 
   17065 
   17066 		CFLAGS="$xorg_testset_save_CFLAGS"
   17067 
   17068 		eval supported=\$$cacheid
   17069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17070 $as_echo "$supported" >&6; }
   17071 		if test "$supported" = "yes" ; then
   17072 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17073 			found="yes"
   17074 		fi
   17075 	fi
   17076 
   17077  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17078 else
   17079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   17080 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 xorg_testset_save_CFLAGS="$CFLAGS"
   17095 
   17096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17101   $as_echo_n "(cached) " >&6
   17102 else
   17103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17104 /* end confdefs.h.  */
   17105 int i;
   17106 _ACEOF
   17107 if ac_fn_c_try_compile "$LINENO"; then :
   17108   xorg_cv_cc_flag_unknown_warning_option=yes
   17109 else
   17110   xorg_cv_cc_flag_unknown_warning_option=no
   17111 fi
   17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17113 fi
   17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17117 	CFLAGS="$xorg_testset_save_CFLAGS"
   17118 fi
   17119 
   17120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17123 	fi
   17124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17128   $as_echo_n "(cached) " >&6
   17129 else
   17130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17131 /* end confdefs.h.  */
   17132 int i;
   17133 _ACEOF
   17134 if ac_fn_c_try_compile "$LINENO"; then :
   17135   xorg_cv_cc_flag_unused_command_line_argument=yes
   17136 else
   17137   xorg_cv_cc_flag_unused_command_line_argument=no
   17138 fi
   17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17140 fi
   17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17144 	CFLAGS="$xorg_testset_save_CFLAGS"
   17145 fi
   17146 
   17147 found="no"
   17148 
   17149 	if test $found = "no" ; then
   17150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17152 		fi
   17153 
   17154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17156 		fi
   17157 
   17158 		CFLAGS="$CFLAGS -Wimplicit"
   17159 
   17160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17161 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   17162 		cacheid=xorg_cv_cc_flag__Wimplicit
   17163 		if eval \${$cacheid+:} false; then :
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17167 /* end confdefs.h.  */
   17168 int i;
   17169 int
   17170 main ()
   17171 {
   17172 
   17173   ;
   17174   return 0;
   17175 }
   17176 _ACEOF
   17177 if ac_fn_c_try_link "$LINENO"; then :
   17178   eval $cacheid=yes
   17179 else
   17180   eval $cacheid=no
   17181 fi
   17182 rm -f core conftest.err conftest.$ac_objext \
   17183     conftest$ac_exeext conftest.$ac_ext
   17184 fi
   17185 
   17186 
   17187 		CFLAGS="$xorg_testset_save_CFLAGS"
   17188 
   17189 		eval supported=\$$cacheid
   17190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17191 $as_echo "$supported" >&6; }
   17192 		if test "$supported" = "yes" ; then
   17193 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17194 			found="yes"
   17195 		fi
   17196 	fi
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 xorg_testset_save_CFLAGS="$CFLAGS"
   17213 
   17214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17217 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17218 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17219   $as_echo_n "(cached) " >&6
   17220 else
   17221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17222 /* end confdefs.h.  */
   17223 int i;
   17224 _ACEOF
   17225 if ac_fn_c_try_compile "$LINENO"; then :
   17226   xorg_cv_cc_flag_unknown_warning_option=yes
   17227 else
   17228   xorg_cv_cc_flag_unknown_warning_option=no
   17229 fi
   17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17231 fi
   17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17233 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17235 	CFLAGS="$xorg_testset_save_CFLAGS"
   17236 fi
   17237 
   17238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17241 	fi
   17242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17244 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17245 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17246   $as_echo_n "(cached) " >&6
   17247 else
   17248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17249 /* end confdefs.h.  */
   17250 int i;
   17251 _ACEOF
   17252 if ac_fn_c_try_compile "$LINENO"; then :
   17253   xorg_cv_cc_flag_unused_command_line_argument=yes
   17254 else
   17255   xorg_cv_cc_flag_unused_command_line_argument=no
   17256 fi
   17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17258 fi
   17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17260 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17262 	CFLAGS="$xorg_testset_save_CFLAGS"
   17263 fi
   17264 
   17265 found="no"
   17266 
   17267 	if test $found = "no" ; then
   17268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17270 		fi
   17271 
   17272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17274 		fi
   17275 
   17276 		CFLAGS="$CFLAGS -Wnonnull"
   17277 
   17278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17279 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   17280 		cacheid=xorg_cv_cc_flag__Wnonnull
   17281 		if eval \${$cacheid+:} false; then :
   17282   $as_echo_n "(cached) " >&6
   17283 else
   17284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17285 /* end confdefs.h.  */
   17286 int i;
   17287 int
   17288 main ()
   17289 {
   17290 
   17291   ;
   17292   return 0;
   17293 }
   17294 _ACEOF
   17295 if ac_fn_c_try_link "$LINENO"; then :
   17296   eval $cacheid=yes
   17297 else
   17298   eval $cacheid=no
   17299 fi
   17300 rm -f core conftest.err conftest.$ac_objext \
   17301     conftest$ac_exeext conftest.$ac_ext
   17302 fi
   17303 
   17304 
   17305 		CFLAGS="$xorg_testset_save_CFLAGS"
   17306 
   17307 		eval supported=\$$cacheid
   17308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17309 $as_echo "$supported" >&6; }
   17310 		if test "$supported" = "yes" ; then
   17311 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17312 			found="yes"
   17313 		fi
   17314 	fi
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 xorg_testset_save_CFLAGS="$CFLAGS"
   17331 
   17332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17337   $as_echo_n "(cached) " >&6
   17338 else
   17339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17340 /* end confdefs.h.  */
   17341 int i;
   17342 _ACEOF
   17343 if ac_fn_c_try_compile "$LINENO"; then :
   17344   xorg_cv_cc_flag_unknown_warning_option=yes
   17345 else
   17346   xorg_cv_cc_flag_unknown_warning_option=no
   17347 fi
   17348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17349 fi
   17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17353 	CFLAGS="$xorg_testset_save_CFLAGS"
   17354 fi
   17355 
   17356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17359 	fi
   17360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17364   $as_echo_n "(cached) " >&6
   17365 else
   17366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17367 /* end confdefs.h.  */
   17368 int i;
   17369 _ACEOF
   17370 if ac_fn_c_try_compile "$LINENO"; then :
   17371   xorg_cv_cc_flag_unused_command_line_argument=yes
   17372 else
   17373   xorg_cv_cc_flag_unused_command_line_argument=no
   17374 fi
   17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17376 fi
   17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17380 	CFLAGS="$xorg_testset_save_CFLAGS"
   17381 fi
   17382 
   17383 found="no"
   17384 
   17385 	if test $found = "no" ; then
   17386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17388 		fi
   17389 
   17390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17392 		fi
   17393 
   17394 		CFLAGS="$CFLAGS -Winit-self"
   17395 
   17396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17397 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   17398 		cacheid=xorg_cv_cc_flag__Winit_self
   17399 		if eval \${$cacheid+:} false; then :
   17400   $as_echo_n "(cached) " >&6
   17401 else
   17402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17403 /* end confdefs.h.  */
   17404 int i;
   17405 int
   17406 main ()
   17407 {
   17408 
   17409   ;
   17410   return 0;
   17411 }
   17412 _ACEOF
   17413 if ac_fn_c_try_link "$LINENO"; then :
   17414   eval $cacheid=yes
   17415 else
   17416   eval $cacheid=no
   17417 fi
   17418 rm -f core conftest.err conftest.$ac_objext \
   17419     conftest$ac_exeext conftest.$ac_ext
   17420 fi
   17421 
   17422 
   17423 		CFLAGS="$xorg_testset_save_CFLAGS"
   17424 
   17425 		eval supported=\$$cacheid
   17426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17427 $as_echo "$supported" >&6; }
   17428 		if test "$supported" = "yes" ; then
   17429 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17430 			found="yes"
   17431 		fi
   17432 	fi
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 xorg_testset_save_CFLAGS="$CFLAGS"
   17449 
   17450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17453 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17454 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17455   $as_echo_n "(cached) " >&6
   17456 else
   17457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17458 /* end confdefs.h.  */
   17459 int i;
   17460 _ACEOF
   17461 if ac_fn_c_try_compile "$LINENO"; then :
   17462   xorg_cv_cc_flag_unknown_warning_option=yes
   17463 else
   17464   xorg_cv_cc_flag_unknown_warning_option=no
   17465 fi
   17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17467 fi
   17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17469 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17471 	CFLAGS="$xorg_testset_save_CFLAGS"
   17472 fi
   17473 
   17474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17477 	fi
   17478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17480 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17481 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17482   $as_echo_n "(cached) " >&6
   17483 else
   17484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17485 /* end confdefs.h.  */
   17486 int i;
   17487 _ACEOF
   17488 if ac_fn_c_try_compile "$LINENO"; then :
   17489   xorg_cv_cc_flag_unused_command_line_argument=yes
   17490 else
   17491   xorg_cv_cc_flag_unused_command_line_argument=no
   17492 fi
   17493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17494 fi
   17495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17496 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17498 	CFLAGS="$xorg_testset_save_CFLAGS"
   17499 fi
   17500 
   17501 found="no"
   17502 
   17503 	if test $found = "no" ; then
   17504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17506 		fi
   17507 
   17508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17510 		fi
   17511 
   17512 		CFLAGS="$CFLAGS -Wmain"
   17513 
   17514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17515 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   17516 		cacheid=xorg_cv_cc_flag__Wmain
   17517 		if eval \${$cacheid+:} false; then :
   17518   $as_echo_n "(cached) " >&6
   17519 else
   17520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17521 /* end confdefs.h.  */
   17522 int i;
   17523 int
   17524 main ()
   17525 {
   17526 
   17527   ;
   17528   return 0;
   17529 }
   17530 _ACEOF
   17531 if ac_fn_c_try_link "$LINENO"; then :
   17532   eval $cacheid=yes
   17533 else
   17534   eval $cacheid=no
   17535 fi
   17536 rm -f core conftest.err conftest.$ac_objext \
   17537     conftest$ac_exeext conftest.$ac_ext
   17538 fi
   17539 
   17540 
   17541 		CFLAGS="$xorg_testset_save_CFLAGS"
   17542 
   17543 		eval supported=\$$cacheid
   17544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17545 $as_echo "$supported" >&6; }
   17546 		if test "$supported" = "yes" ; then
   17547 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17548 			found="yes"
   17549 		fi
   17550 	fi
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 xorg_testset_save_CFLAGS="$CFLAGS"
   17567 
   17568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17571 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17572 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17573   $as_echo_n "(cached) " >&6
   17574 else
   17575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17576 /* end confdefs.h.  */
   17577 int i;
   17578 _ACEOF
   17579 if ac_fn_c_try_compile "$LINENO"; then :
   17580   xorg_cv_cc_flag_unknown_warning_option=yes
   17581 else
   17582   xorg_cv_cc_flag_unknown_warning_option=no
   17583 fi
   17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17585 fi
   17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17587 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17589 	CFLAGS="$xorg_testset_save_CFLAGS"
   17590 fi
   17591 
   17592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17595 	fi
   17596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17598 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17599 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17600   $as_echo_n "(cached) " >&6
   17601 else
   17602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17603 /* end confdefs.h.  */
   17604 int i;
   17605 _ACEOF
   17606 if ac_fn_c_try_compile "$LINENO"; then :
   17607   xorg_cv_cc_flag_unused_command_line_argument=yes
   17608 else
   17609   xorg_cv_cc_flag_unused_command_line_argument=no
   17610 fi
   17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17612 fi
   17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17614 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17616 	CFLAGS="$xorg_testset_save_CFLAGS"
   17617 fi
   17618 
   17619 found="no"
   17620 
   17621 	if test $found = "no" ; then
   17622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17624 		fi
   17625 
   17626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17628 		fi
   17629 
   17630 		CFLAGS="$CFLAGS -Wmissing-braces"
   17631 
   17632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17633 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   17634 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17635 		if eval \${$cacheid+:} false; then :
   17636   $as_echo_n "(cached) " >&6
   17637 else
   17638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17639 /* end confdefs.h.  */
   17640 int i;
   17641 int
   17642 main ()
   17643 {
   17644 
   17645   ;
   17646   return 0;
   17647 }
   17648 _ACEOF
   17649 if ac_fn_c_try_link "$LINENO"; then :
   17650   eval $cacheid=yes
   17651 else
   17652   eval $cacheid=no
   17653 fi
   17654 rm -f core conftest.err conftest.$ac_objext \
   17655     conftest$ac_exeext conftest.$ac_ext
   17656 fi
   17657 
   17658 
   17659 		CFLAGS="$xorg_testset_save_CFLAGS"
   17660 
   17661 		eval supported=\$$cacheid
   17662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17663 $as_echo "$supported" >&6; }
   17664 		if test "$supported" = "yes" ; then
   17665 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17666 			found="yes"
   17667 		fi
   17668 	fi
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 xorg_testset_save_CFLAGS="$CFLAGS"
   17685 
   17686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17691   $as_echo_n "(cached) " >&6
   17692 else
   17693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17694 /* end confdefs.h.  */
   17695 int i;
   17696 _ACEOF
   17697 if ac_fn_c_try_compile "$LINENO"; then :
   17698   xorg_cv_cc_flag_unknown_warning_option=yes
   17699 else
   17700   xorg_cv_cc_flag_unknown_warning_option=no
   17701 fi
   17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17703 fi
   17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17707 	CFLAGS="$xorg_testset_save_CFLAGS"
   17708 fi
   17709 
   17710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17713 	fi
   17714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17718   $as_echo_n "(cached) " >&6
   17719 else
   17720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17721 /* end confdefs.h.  */
   17722 int i;
   17723 _ACEOF
   17724 if ac_fn_c_try_compile "$LINENO"; then :
   17725   xorg_cv_cc_flag_unused_command_line_argument=yes
   17726 else
   17727   xorg_cv_cc_flag_unused_command_line_argument=no
   17728 fi
   17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17730 fi
   17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17734 	CFLAGS="$xorg_testset_save_CFLAGS"
   17735 fi
   17736 
   17737 found="no"
   17738 
   17739 	if test $found = "no" ; then
   17740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17742 		fi
   17743 
   17744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17746 		fi
   17747 
   17748 		CFLAGS="$CFLAGS -Wsequence-point"
   17749 
   17750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17751 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17752 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17753 		if eval \${$cacheid+:} false; then :
   17754   $as_echo_n "(cached) " >&6
   17755 else
   17756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17757 /* end confdefs.h.  */
   17758 int i;
   17759 int
   17760 main ()
   17761 {
   17762 
   17763   ;
   17764   return 0;
   17765 }
   17766 _ACEOF
   17767 if ac_fn_c_try_link "$LINENO"; then :
   17768   eval $cacheid=yes
   17769 else
   17770   eval $cacheid=no
   17771 fi
   17772 rm -f core conftest.err conftest.$ac_objext \
   17773     conftest$ac_exeext conftest.$ac_ext
   17774 fi
   17775 
   17776 
   17777 		CFLAGS="$xorg_testset_save_CFLAGS"
   17778 
   17779 		eval supported=\$$cacheid
   17780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17781 $as_echo "$supported" >&6; }
   17782 		if test "$supported" = "yes" ; then
   17783 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17784 			found="yes"
   17785 		fi
   17786 	fi
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 xorg_testset_save_CFLAGS="$CFLAGS"
   17803 
   17804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17809   $as_echo_n "(cached) " >&6
   17810 else
   17811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17812 /* end confdefs.h.  */
   17813 int i;
   17814 _ACEOF
   17815 if ac_fn_c_try_compile "$LINENO"; then :
   17816   xorg_cv_cc_flag_unknown_warning_option=yes
   17817 else
   17818   xorg_cv_cc_flag_unknown_warning_option=no
   17819 fi
   17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17821 fi
   17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17825 	CFLAGS="$xorg_testset_save_CFLAGS"
   17826 fi
   17827 
   17828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17831 	fi
   17832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17836   $as_echo_n "(cached) " >&6
   17837 else
   17838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17839 /* end confdefs.h.  */
   17840 int i;
   17841 _ACEOF
   17842 if ac_fn_c_try_compile "$LINENO"; then :
   17843   xorg_cv_cc_flag_unused_command_line_argument=yes
   17844 else
   17845   xorg_cv_cc_flag_unused_command_line_argument=no
   17846 fi
   17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17848 fi
   17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17852 	CFLAGS="$xorg_testset_save_CFLAGS"
   17853 fi
   17854 
   17855 found="no"
   17856 
   17857 	if test $found = "no" ; then
   17858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17860 		fi
   17861 
   17862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17864 		fi
   17865 
   17866 		CFLAGS="$CFLAGS -Wreturn-type"
   17867 
   17868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17869 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17870 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17871 		if eval \${$cacheid+:} false; then :
   17872   $as_echo_n "(cached) " >&6
   17873 else
   17874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17875 /* end confdefs.h.  */
   17876 int i;
   17877 int
   17878 main ()
   17879 {
   17880 
   17881   ;
   17882   return 0;
   17883 }
   17884 _ACEOF
   17885 if ac_fn_c_try_link "$LINENO"; then :
   17886   eval $cacheid=yes
   17887 else
   17888   eval $cacheid=no
   17889 fi
   17890 rm -f core conftest.err conftest.$ac_objext \
   17891     conftest$ac_exeext conftest.$ac_ext
   17892 fi
   17893 
   17894 
   17895 		CFLAGS="$xorg_testset_save_CFLAGS"
   17896 
   17897 		eval supported=\$$cacheid
   17898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17899 $as_echo "$supported" >&6; }
   17900 		if test "$supported" = "yes" ; then
   17901 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17902 			found="yes"
   17903 		fi
   17904 	fi
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 
   17920 xorg_testset_save_CFLAGS="$CFLAGS"
   17921 
   17922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17927   $as_echo_n "(cached) " >&6
   17928 else
   17929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17930 /* end confdefs.h.  */
   17931 int i;
   17932 _ACEOF
   17933 if ac_fn_c_try_compile "$LINENO"; then :
   17934   xorg_cv_cc_flag_unknown_warning_option=yes
   17935 else
   17936   xorg_cv_cc_flag_unknown_warning_option=no
   17937 fi
   17938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17939 fi
   17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17943 	CFLAGS="$xorg_testset_save_CFLAGS"
   17944 fi
   17945 
   17946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17949 	fi
   17950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17954   $as_echo_n "(cached) " >&6
   17955 else
   17956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17957 /* end confdefs.h.  */
   17958 int i;
   17959 _ACEOF
   17960 if ac_fn_c_try_compile "$LINENO"; then :
   17961   xorg_cv_cc_flag_unused_command_line_argument=yes
   17962 else
   17963   xorg_cv_cc_flag_unused_command_line_argument=no
   17964 fi
   17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17966 fi
   17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17970 	CFLAGS="$xorg_testset_save_CFLAGS"
   17971 fi
   17972 
   17973 found="no"
   17974 
   17975 	if test $found = "no" ; then
   17976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17978 		fi
   17979 
   17980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17982 		fi
   17983 
   17984 		CFLAGS="$CFLAGS -Wtrigraphs"
   17985 
   17986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17987 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17988 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17989 		if eval \${$cacheid+:} false; then :
   17990   $as_echo_n "(cached) " >&6
   17991 else
   17992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17993 /* end confdefs.h.  */
   17994 int i;
   17995 int
   17996 main ()
   17997 {
   17998 
   17999   ;
   18000   return 0;
   18001 }
   18002 _ACEOF
   18003 if ac_fn_c_try_link "$LINENO"; then :
   18004   eval $cacheid=yes
   18005 else
   18006   eval $cacheid=no
   18007 fi
   18008 rm -f core conftest.err conftest.$ac_objext \
   18009     conftest$ac_exeext conftest.$ac_ext
   18010 fi
   18011 
   18012 
   18013 		CFLAGS="$xorg_testset_save_CFLAGS"
   18014 
   18015 		eval supported=\$$cacheid
   18016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18017 $as_echo "$supported" >&6; }
   18018 		if test "$supported" = "yes" ; then
   18019 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18020 			found="yes"
   18021 		fi
   18022 	fi
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 xorg_testset_save_CFLAGS="$CFLAGS"
   18039 
   18040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18045   $as_echo_n "(cached) " >&6
   18046 else
   18047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18048 /* end confdefs.h.  */
   18049 int i;
   18050 _ACEOF
   18051 if ac_fn_c_try_compile "$LINENO"; then :
   18052   xorg_cv_cc_flag_unknown_warning_option=yes
   18053 else
   18054   xorg_cv_cc_flag_unknown_warning_option=no
   18055 fi
   18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18057 fi
   18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18061 	CFLAGS="$xorg_testset_save_CFLAGS"
   18062 fi
   18063 
   18064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18067 	fi
   18068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18072   $as_echo_n "(cached) " >&6
   18073 else
   18074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18075 /* end confdefs.h.  */
   18076 int i;
   18077 _ACEOF
   18078 if ac_fn_c_try_compile "$LINENO"; then :
   18079   xorg_cv_cc_flag_unused_command_line_argument=yes
   18080 else
   18081   xorg_cv_cc_flag_unused_command_line_argument=no
   18082 fi
   18083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18084 fi
   18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18088 	CFLAGS="$xorg_testset_save_CFLAGS"
   18089 fi
   18090 
   18091 found="no"
   18092 
   18093 	if test $found = "no" ; then
   18094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18096 		fi
   18097 
   18098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18100 		fi
   18101 
   18102 		CFLAGS="$CFLAGS -Warray-bounds"
   18103 
   18104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18105 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   18106 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18107 		if eval \${$cacheid+:} false; then :
   18108   $as_echo_n "(cached) " >&6
   18109 else
   18110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18111 /* end confdefs.h.  */
   18112 int i;
   18113 int
   18114 main ()
   18115 {
   18116 
   18117   ;
   18118   return 0;
   18119 }
   18120 _ACEOF
   18121 if ac_fn_c_try_link "$LINENO"; then :
   18122   eval $cacheid=yes
   18123 else
   18124   eval $cacheid=no
   18125 fi
   18126 rm -f core conftest.err conftest.$ac_objext \
   18127     conftest$ac_exeext conftest.$ac_ext
   18128 fi
   18129 
   18130 
   18131 		CFLAGS="$xorg_testset_save_CFLAGS"
   18132 
   18133 		eval supported=\$$cacheid
   18134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18135 $as_echo "$supported" >&6; }
   18136 		if test "$supported" = "yes" ; then
   18137 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18138 			found="yes"
   18139 		fi
   18140 	fi
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 
   18151 
   18152 
   18153 
   18154 
   18155 
   18156 xorg_testset_save_CFLAGS="$CFLAGS"
   18157 
   18158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18161 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18162 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18163   $as_echo_n "(cached) " >&6
   18164 else
   18165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18166 /* end confdefs.h.  */
   18167 int i;
   18168 _ACEOF
   18169 if ac_fn_c_try_compile "$LINENO"; then :
   18170   xorg_cv_cc_flag_unknown_warning_option=yes
   18171 else
   18172   xorg_cv_cc_flag_unknown_warning_option=no
   18173 fi
   18174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18175 fi
   18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18177 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18179 	CFLAGS="$xorg_testset_save_CFLAGS"
   18180 fi
   18181 
   18182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18185 	fi
   18186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18188 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18189 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18190   $as_echo_n "(cached) " >&6
   18191 else
   18192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18193 /* end confdefs.h.  */
   18194 int i;
   18195 _ACEOF
   18196 if ac_fn_c_try_compile "$LINENO"; then :
   18197   xorg_cv_cc_flag_unused_command_line_argument=yes
   18198 else
   18199   xorg_cv_cc_flag_unused_command_line_argument=no
   18200 fi
   18201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18202 fi
   18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18204 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18206 	CFLAGS="$xorg_testset_save_CFLAGS"
   18207 fi
   18208 
   18209 found="no"
   18210 
   18211 	if test $found = "no" ; then
   18212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18214 		fi
   18215 
   18216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18218 		fi
   18219 
   18220 		CFLAGS="$CFLAGS -Wwrite-strings"
   18221 
   18222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18223 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   18224 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18225 		if eval \${$cacheid+:} false; then :
   18226   $as_echo_n "(cached) " >&6
   18227 else
   18228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18229 /* end confdefs.h.  */
   18230 int i;
   18231 int
   18232 main ()
   18233 {
   18234 
   18235   ;
   18236   return 0;
   18237 }
   18238 _ACEOF
   18239 if ac_fn_c_try_link "$LINENO"; then :
   18240   eval $cacheid=yes
   18241 else
   18242   eval $cacheid=no
   18243 fi
   18244 rm -f core conftest.err conftest.$ac_objext \
   18245     conftest$ac_exeext conftest.$ac_ext
   18246 fi
   18247 
   18248 
   18249 		CFLAGS="$xorg_testset_save_CFLAGS"
   18250 
   18251 		eval supported=\$$cacheid
   18252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18253 $as_echo "$supported" >&6; }
   18254 		if test "$supported" = "yes" ; then
   18255 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18256 			found="yes"
   18257 		fi
   18258 	fi
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 
   18274 xorg_testset_save_CFLAGS="$CFLAGS"
   18275 
   18276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18281   $as_echo_n "(cached) " >&6
   18282 else
   18283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18284 /* end confdefs.h.  */
   18285 int i;
   18286 _ACEOF
   18287 if ac_fn_c_try_compile "$LINENO"; then :
   18288   xorg_cv_cc_flag_unknown_warning_option=yes
   18289 else
   18290   xorg_cv_cc_flag_unknown_warning_option=no
   18291 fi
   18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18293 fi
   18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18297 	CFLAGS="$xorg_testset_save_CFLAGS"
   18298 fi
   18299 
   18300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18303 	fi
   18304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18308   $as_echo_n "(cached) " >&6
   18309 else
   18310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18311 /* end confdefs.h.  */
   18312 int i;
   18313 _ACEOF
   18314 if ac_fn_c_try_compile "$LINENO"; then :
   18315   xorg_cv_cc_flag_unused_command_line_argument=yes
   18316 else
   18317   xorg_cv_cc_flag_unused_command_line_argument=no
   18318 fi
   18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18320 fi
   18321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18324 	CFLAGS="$xorg_testset_save_CFLAGS"
   18325 fi
   18326 
   18327 found="no"
   18328 
   18329 	if test $found = "no" ; then
   18330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18332 		fi
   18333 
   18334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18336 		fi
   18337 
   18338 		CFLAGS="$CFLAGS -Waddress"
   18339 
   18340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18341 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   18342 		cacheid=xorg_cv_cc_flag__Waddress
   18343 		if eval \${$cacheid+:} false; then :
   18344   $as_echo_n "(cached) " >&6
   18345 else
   18346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18347 /* end confdefs.h.  */
   18348 int i;
   18349 int
   18350 main ()
   18351 {
   18352 
   18353   ;
   18354   return 0;
   18355 }
   18356 _ACEOF
   18357 if ac_fn_c_try_link "$LINENO"; then :
   18358   eval $cacheid=yes
   18359 else
   18360   eval $cacheid=no
   18361 fi
   18362 rm -f core conftest.err conftest.$ac_objext \
   18363     conftest$ac_exeext conftest.$ac_ext
   18364 fi
   18365 
   18366 
   18367 		CFLAGS="$xorg_testset_save_CFLAGS"
   18368 
   18369 		eval supported=\$$cacheid
   18370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18371 $as_echo "$supported" >&6; }
   18372 		if test "$supported" = "yes" ; then
   18373 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18374 			found="yes"
   18375 		fi
   18376 	fi
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 xorg_testset_save_CFLAGS="$CFLAGS"
   18393 
   18394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18399   $as_echo_n "(cached) " >&6
   18400 else
   18401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18402 /* end confdefs.h.  */
   18403 int i;
   18404 _ACEOF
   18405 if ac_fn_c_try_compile "$LINENO"; then :
   18406   xorg_cv_cc_flag_unknown_warning_option=yes
   18407 else
   18408   xorg_cv_cc_flag_unknown_warning_option=no
   18409 fi
   18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18411 fi
   18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18415 	CFLAGS="$xorg_testset_save_CFLAGS"
   18416 fi
   18417 
   18418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18421 	fi
   18422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18426   $as_echo_n "(cached) " >&6
   18427 else
   18428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18429 /* end confdefs.h.  */
   18430 int i;
   18431 _ACEOF
   18432 if ac_fn_c_try_compile "$LINENO"; then :
   18433   xorg_cv_cc_flag_unused_command_line_argument=yes
   18434 else
   18435   xorg_cv_cc_flag_unused_command_line_argument=no
   18436 fi
   18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18438 fi
   18439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18442 	CFLAGS="$xorg_testset_save_CFLAGS"
   18443 fi
   18444 
   18445 found="no"
   18446 
   18447 	if test $found = "no" ; then
   18448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18450 		fi
   18451 
   18452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18454 		fi
   18455 
   18456 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18457 
   18458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18459 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18460 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18461 		if eval \${$cacheid+:} false; then :
   18462   $as_echo_n "(cached) " >&6
   18463 else
   18464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18465 /* end confdefs.h.  */
   18466 int i;
   18467 int
   18468 main ()
   18469 {
   18470 
   18471   ;
   18472   return 0;
   18473 }
   18474 _ACEOF
   18475 if ac_fn_c_try_link "$LINENO"; then :
   18476   eval $cacheid=yes
   18477 else
   18478   eval $cacheid=no
   18479 fi
   18480 rm -f core conftest.err conftest.$ac_objext \
   18481     conftest$ac_exeext conftest.$ac_ext
   18482 fi
   18483 
   18484 
   18485 		CFLAGS="$xorg_testset_save_CFLAGS"
   18486 
   18487 		eval supported=\$$cacheid
   18488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18489 $as_echo "$supported" >&6; }
   18490 		if test "$supported" = "yes" ; then
   18491 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18492 			found="yes"
   18493 		fi
   18494 	fi
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 xorg_testset_save_CFLAGS="$CFLAGS"
   18511 
   18512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18517   $as_echo_n "(cached) " >&6
   18518 else
   18519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18520 /* end confdefs.h.  */
   18521 int i;
   18522 _ACEOF
   18523 if ac_fn_c_try_compile "$LINENO"; then :
   18524   xorg_cv_cc_flag_unknown_warning_option=yes
   18525 else
   18526   xorg_cv_cc_flag_unknown_warning_option=no
   18527 fi
   18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18529 fi
   18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18533 	CFLAGS="$xorg_testset_save_CFLAGS"
   18534 fi
   18535 
   18536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18539 	fi
   18540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18544   $as_echo_n "(cached) " >&6
   18545 else
   18546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18547 /* end confdefs.h.  */
   18548 int i;
   18549 _ACEOF
   18550 if ac_fn_c_try_compile "$LINENO"; then :
   18551   xorg_cv_cc_flag_unused_command_line_argument=yes
   18552 else
   18553   xorg_cv_cc_flag_unused_command_line_argument=no
   18554 fi
   18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18556 fi
   18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18560 	CFLAGS="$xorg_testset_save_CFLAGS"
   18561 fi
   18562 
   18563 found="no"
   18564 
   18565 	if test $found = "no" ; then
   18566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18568 		fi
   18569 
   18570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18572 		fi
   18573 
   18574 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18575 
   18576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18577 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18578 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18579 		if eval \${$cacheid+:} false; then :
   18580   $as_echo_n "(cached) " >&6
   18581 else
   18582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18583 /* end confdefs.h.  */
   18584 int i;
   18585 int
   18586 main ()
   18587 {
   18588 
   18589   ;
   18590   return 0;
   18591 }
   18592 _ACEOF
   18593 if ac_fn_c_try_link "$LINENO"; then :
   18594   eval $cacheid=yes
   18595 else
   18596   eval $cacheid=no
   18597 fi
   18598 rm -f core conftest.err conftest.$ac_objext \
   18599     conftest$ac_exeext conftest.$ac_ext
   18600 fi
   18601 
   18602 
   18603 		CFLAGS="$xorg_testset_save_CFLAGS"
   18604 
   18605 		eval supported=\$$cacheid
   18606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18607 $as_echo "$supported" >&6; }
   18608 		if test "$supported" = "yes" ; then
   18609 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18610 			found="yes"
   18611 		fi
   18612 	fi
   18613 
   18614 
   18615 fi
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 		CWARNFLAGS="$BASE_CFLAGS"
   18624 		if  test "x$GCC" = xyes ; then
   18625 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18626 		fi
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 # Check whether --enable-strict-compilation was given.
   18636 if test "${enable_strict_compilation+set}" = set; then :
   18637   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18638 else
   18639   STRICT_COMPILE=no
   18640 fi
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 STRICT_CFLAGS=""
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 
   18654 
   18655 
   18656 
   18657 
   18658 
   18659 
   18660 
   18661 xorg_testset_save_CFLAGS="$CFLAGS"
   18662 
   18663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18668   $as_echo_n "(cached) " >&6
   18669 else
   18670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18671 /* end confdefs.h.  */
   18672 int i;
   18673 _ACEOF
   18674 if ac_fn_c_try_compile "$LINENO"; then :
   18675   xorg_cv_cc_flag_unknown_warning_option=yes
   18676 else
   18677   xorg_cv_cc_flag_unknown_warning_option=no
   18678 fi
   18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18680 fi
   18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18684 	CFLAGS="$xorg_testset_save_CFLAGS"
   18685 fi
   18686 
   18687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18690 	fi
   18691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18695   $as_echo_n "(cached) " >&6
   18696 else
   18697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18698 /* end confdefs.h.  */
   18699 int i;
   18700 _ACEOF
   18701 if ac_fn_c_try_compile "$LINENO"; then :
   18702   xorg_cv_cc_flag_unused_command_line_argument=yes
   18703 else
   18704   xorg_cv_cc_flag_unused_command_line_argument=no
   18705 fi
   18706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18707 fi
   18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18711 	CFLAGS="$xorg_testset_save_CFLAGS"
   18712 fi
   18713 
   18714 found="no"
   18715 
   18716 	if test $found = "no" ; then
   18717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18719 		fi
   18720 
   18721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18723 		fi
   18724 
   18725 		CFLAGS="$CFLAGS -pedantic"
   18726 
   18727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18728 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18729 		cacheid=xorg_cv_cc_flag__pedantic
   18730 		if eval \${$cacheid+:} false; then :
   18731   $as_echo_n "(cached) " >&6
   18732 else
   18733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18734 /* end confdefs.h.  */
   18735 int i;
   18736 int
   18737 main ()
   18738 {
   18739 
   18740   ;
   18741   return 0;
   18742 }
   18743 _ACEOF
   18744 if ac_fn_c_try_link "$LINENO"; then :
   18745   eval $cacheid=yes
   18746 else
   18747   eval $cacheid=no
   18748 fi
   18749 rm -f core conftest.err conftest.$ac_objext \
   18750     conftest$ac_exeext conftest.$ac_ext
   18751 fi
   18752 
   18753 
   18754 		CFLAGS="$xorg_testset_save_CFLAGS"
   18755 
   18756 		eval supported=\$$cacheid
   18757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18758 $as_echo "$supported" >&6; }
   18759 		if test "$supported" = "yes" ; then
   18760 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18761 			found="yes"
   18762 		fi
   18763 	fi
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 
   18776 
   18777 
   18778 
   18779 xorg_testset_save_CFLAGS="$CFLAGS"
   18780 
   18781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18785 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18786   $as_echo_n "(cached) " >&6
   18787 else
   18788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18789 /* end confdefs.h.  */
   18790 int i;
   18791 _ACEOF
   18792 if ac_fn_c_try_compile "$LINENO"; then :
   18793   xorg_cv_cc_flag_unknown_warning_option=yes
   18794 else
   18795   xorg_cv_cc_flag_unknown_warning_option=no
   18796 fi
   18797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18798 fi
   18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18800 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18802 	CFLAGS="$xorg_testset_save_CFLAGS"
   18803 fi
   18804 
   18805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18808 	fi
   18809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18811 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18812 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18813   $as_echo_n "(cached) " >&6
   18814 else
   18815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18816 /* end confdefs.h.  */
   18817 int i;
   18818 _ACEOF
   18819 if ac_fn_c_try_compile "$LINENO"; then :
   18820   xorg_cv_cc_flag_unused_command_line_argument=yes
   18821 else
   18822   xorg_cv_cc_flag_unused_command_line_argument=no
   18823 fi
   18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18825 fi
   18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18827 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18829 	CFLAGS="$xorg_testset_save_CFLAGS"
   18830 fi
   18831 
   18832 found="no"
   18833 
   18834 	if test $found = "no" ; then
   18835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18837 		fi
   18838 
   18839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18841 		fi
   18842 
   18843 		CFLAGS="$CFLAGS -Werror"
   18844 
   18845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18846 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18847 		cacheid=xorg_cv_cc_flag__Werror
   18848 		if eval \${$cacheid+:} false; then :
   18849   $as_echo_n "(cached) " >&6
   18850 else
   18851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18852 /* end confdefs.h.  */
   18853 int i;
   18854 int
   18855 main ()
   18856 {
   18857 
   18858   ;
   18859   return 0;
   18860 }
   18861 _ACEOF
   18862 if ac_fn_c_try_link "$LINENO"; then :
   18863   eval $cacheid=yes
   18864 else
   18865   eval $cacheid=no
   18866 fi
   18867 rm -f core conftest.err conftest.$ac_objext \
   18868     conftest$ac_exeext conftest.$ac_ext
   18869 fi
   18870 
   18871 
   18872 		CFLAGS="$xorg_testset_save_CFLAGS"
   18873 
   18874 		eval supported=\$$cacheid
   18875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18876 $as_echo "$supported" >&6; }
   18877 		if test "$supported" = "yes" ; then
   18878 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18879 			found="yes"
   18880 		fi
   18881 	fi
   18882 
   18883 	if test $found = "no" ; then
   18884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18886 		fi
   18887 
   18888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18890 		fi
   18891 
   18892 		CFLAGS="$CFLAGS -errwarn"
   18893 
   18894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18895 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18896 		cacheid=xorg_cv_cc_flag__errwarn
   18897 		if eval \${$cacheid+:} false; then :
   18898   $as_echo_n "(cached) " >&6
   18899 else
   18900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18901 /* end confdefs.h.  */
   18902 int i;
   18903 int
   18904 main ()
   18905 {
   18906 
   18907   ;
   18908   return 0;
   18909 }
   18910 _ACEOF
   18911 if ac_fn_c_try_link "$LINENO"; then :
   18912   eval $cacheid=yes
   18913 else
   18914   eval $cacheid=no
   18915 fi
   18916 rm -f core conftest.err conftest.$ac_objext \
   18917     conftest$ac_exeext conftest.$ac_ext
   18918 fi
   18919 
   18920 
   18921 		CFLAGS="$xorg_testset_save_CFLAGS"
   18922 
   18923 		eval supported=\$$cacheid
   18924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18925 $as_echo "$supported" >&6; }
   18926 		if test "$supported" = "yes" ; then
   18927 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18928 			found="yes"
   18929 		fi
   18930 	fi
   18931 
   18932 
   18933 
   18934 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18935 # activate it with -Werror, so we add it here explicitly.
   18936 
   18937 
   18938 
   18939 
   18940 
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 xorg_testset_save_CFLAGS="$CFLAGS"
   18950 
   18951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18956   $as_echo_n "(cached) " >&6
   18957 else
   18958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18959 /* end confdefs.h.  */
   18960 int i;
   18961 _ACEOF
   18962 if ac_fn_c_try_compile "$LINENO"; then :
   18963   xorg_cv_cc_flag_unknown_warning_option=yes
   18964 else
   18965   xorg_cv_cc_flag_unknown_warning_option=no
   18966 fi
   18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18968 fi
   18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18972 	CFLAGS="$xorg_testset_save_CFLAGS"
   18973 fi
   18974 
   18975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18978 	fi
   18979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18983   $as_echo_n "(cached) " >&6
   18984 else
   18985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18986 /* end confdefs.h.  */
   18987 int i;
   18988 _ACEOF
   18989 if ac_fn_c_try_compile "$LINENO"; then :
   18990   xorg_cv_cc_flag_unused_command_line_argument=yes
   18991 else
   18992   xorg_cv_cc_flag_unused_command_line_argument=no
   18993 fi
   18994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18995 fi
   18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18999 	CFLAGS="$xorg_testset_save_CFLAGS"
   19000 fi
   19001 
   19002 found="no"
   19003 
   19004 	if test $found = "no" ; then
   19005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19007 		fi
   19008 
   19009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19011 		fi
   19012 
   19013 		CFLAGS="$CFLAGS -Werror=attributes"
   19014 
   19015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19016 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   19017 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19018 		if eval \${$cacheid+:} false; then :
   19019   $as_echo_n "(cached) " >&6
   19020 else
   19021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19022 /* end confdefs.h.  */
   19023 int i;
   19024 int
   19025 main ()
   19026 {
   19027 
   19028   ;
   19029   return 0;
   19030 }
   19031 _ACEOF
   19032 if ac_fn_c_try_link "$LINENO"; then :
   19033   eval $cacheid=yes
   19034 else
   19035   eval $cacheid=no
   19036 fi
   19037 rm -f core conftest.err conftest.$ac_objext \
   19038     conftest$ac_exeext conftest.$ac_ext
   19039 fi
   19040 
   19041 
   19042 		CFLAGS="$xorg_testset_save_CFLAGS"
   19043 
   19044 		eval supported=\$$cacheid
   19045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19046 $as_echo "$supported" >&6; }
   19047 		if test "$supported" = "yes" ; then
   19048 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19049 			found="yes"
   19050 		fi
   19051 	fi
   19052 
   19053 
   19054 
   19055 if test "x$STRICT_COMPILE" = "xyes"; then
   19056     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19057     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19058 fi
   19059 
   19060 
   19061 
   19062 
   19063 
   19064 
   19065 cat >>confdefs.h <<_ACEOF
   19066 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19067 _ACEOF
   19068 
   19069 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19070 	if test "x$PVM" = "x"; then
   19071 		PVM="0"
   19072 	fi
   19073 
   19074 cat >>confdefs.h <<_ACEOF
   19075 #define PACKAGE_VERSION_MINOR $PVM
   19076 _ACEOF
   19077 
   19078 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19079 	if test "x$PVP" = "x"; then
   19080 		PVP="0"
   19081 	fi
   19082 
   19083 cat >>confdefs.h <<_ACEOF
   19084 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19085 _ACEOF
   19086 
   19087 
   19088 
   19089 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   19090 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19091 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   19092 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   19093 
   19094 
   19095 
   19096 
   19097 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19098 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19099 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19100 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   19101 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   19102 
   19103 
   19104 
   19105 
   19106 
   19107 
   19108 if test x$APP_MAN_SUFFIX = x    ; then
   19109     APP_MAN_SUFFIX=1
   19110 fi
   19111 if test x$APP_MAN_DIR = x    ; then
   19112     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19113 fi
   19114 
   19115 if test x$LIB_MAN_SUFFIX = x    ; then
   19116     LIB_MAN_SUFFIX=3
   19117 fi
   19118 if test x$LIB_MAN_DIR = x    ; then
   19119     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19120 fi
   19121 
   19122 if test x$FILE_MAN_SUFFIX = x    ; then
   19123     case $host_os in
   19124 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   19125 	*)		FILE_MAN_SUFFIX=5  ;;
   19126     esac
   19127 fi
   19128 if test x$FILE_MAN_DIR = x    ; then
   19129     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19130 fi
   19131 
   19132 if test x$MISC_MAN_SUFFIX = x    ; then
   19133     case $host_os in
   19134 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   19135 	*)		MISC_MAN_SUFFIX=7  ;;
   19136     esac
   19137 fi
   19138 if test x$MISC_MAN_DIR = x    ; then
   19139     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19140 fi
   19141 
   19142 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19143     case $host_os in
   19144 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   19145 	*)		DRIVER_MAN_SUFFIX=4  ;;
   19146     esac
   19147 fi
   19148 if test x$DRIVER_MAN_DIR = x    ; then
   19149     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19150 fi
   19151 
   19152 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19153     case $host_os in
   19154 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   19155 	*)		ADMIN_MAN_SUFFIX=8  ;;
   19156     esac
   19157 fi
   19158 if test x$ADMIN_MAN_DIR = x    ; then
   19159     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19160 fi
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 
   19176 XORG_MAN_PAGE="X Version 11"
   19177 
   19178 MAN_SUBSTS="\
   19179 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19180 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19181 	-e 's|__xservername__|Xorg|g' \
   19182 	-e 's|__xconfigfile__|xorg.conf|g' \
   19183 	-e 's|__projectroot__|\$(prefix)|g' \
   19184 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19185 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19186 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19187 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19188 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19189 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19190 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19191 
   19192 
   19193 
   19194 # Check whether --enable-silent-rules was given.
   19195 if test "${enable_silent_rules+set}" = set; then :
   19196   enableval=$enable_silent_rules;
   19197 fi
   19198 
   19199 case $enable_silent_rules in # (((
   19200   yes) AM_DEFAULT_VERBOSITY=0;;
   19201    no) AM_DEFAULT_VERBOSITY=1;;
   19202     *) AM_DEFAULT_VERBOSITY=0;;
   19203 esac
   19204 am_make=${MAKE-make}
   19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19206 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   19207 if ${am_cv_make_support_nested_variables+:} false; then :
   19208   $as_echo_n "(cached) " >&6
   19209 else
   19210   if $as_echo 'TRUE=$(BAR$(V))
   19211 BAR0=false
   19212 BAR1=true
   19213 V=1
   19214 am__doit:
   19215 	@$(TRUE)
   19216 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19217   am_cv_make_support_nested_variables=yes
   19218 else
   19219   am_cv_make_support_nested_variables=no
   19220 fi
   19221 fi
   19222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19223 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   19224 if test $am_cv_make_support_nested_variables = yes; then
   19225     AM_V='$(V)'
   19226   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19227 else
   19228   AM_V=$AM_DEFAULT_VERBOSITY
   19229   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19230 fi
   19231 AM_BACKSLASH='\'
   19232 
   19233 
   19234 
   19235 
   19236 # Check whether --enable-devel-docs was given.
   19237 if test "${enable_devel_docs+set}" = set; then :
   19238   enableval=$enable_devel_docs; build_devel_docs=$enableval
   19239 else
   19240   build_devel_docs=yes
   19241 fi
   19242 
   19243 
   19244  if test x$build_devel_docs = xyes; then
   19245   ENABLE_DEVEL_DOCS_TRUE=
   19246   ENABLE_DEVEL_DOCS_FALSE='#'
   19247 else
   19248   ENABLE_DEVEL_DOCS_TRUE='#'
   19249   ENABLE_DEVEL_DOCS_FALSE=
   19250 fi
   19251 
   19252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   19253 $as_echo_n "checking whether to build developer documentation... " >&6; }
   19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   19255 $as_echo "$build_devel_docs" >&6; }
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 # Check whether --with-doxygen was given.
   19263 if test "${with_doxygen+set}" = set; then :
   19264   withval=$with_doxygen; use_doxygen=$withval
   19265 else
   19266   use_doxygen=auto
   19267 fi
   19268 
   19269 
   19270 
   19271 if test "x$use_doxygen" = x"auto"; then
   19272    # Extract the first word of "doxygen", so it can be a program name with args.
   19273 set dummy doxygen; ac_word=$2
   19274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19275 $as_echo_n "checking for $ac_word... " >&6; }
   19276 if ${ac_cv_path_DOXYGEN+:} false; then :
   19277   $as_echo_n "(cached) " >&6
   19278 else
   19279   case $DOXYGEN in
   19280   [\\/]* | ?:[\\/]*)
   19281   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19282   ;;
   19283   *)
   19284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19285 for as_dir in $PATH
   19286 do
   19287   IFS=$as_save_IFS
   19288   test -z "$as_dir" && as_dir=.
   19289     for ac_exec_ext in '' $ac_executable_extensions; do
   19290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19291     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19293     break 2
   19294   fi
   19295 done
   19296   done
   19297 IFS=$as_save_IFS
   19298 
   19299   ;;
   19300 esac
   19301 fi
   19302 DOXYGEN=$ac_cv_path_DOXYGEN
   19303 if test -n "$DOXYGEN"; then
   19304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19305 $as_echo "$DOXYGEN" >&6; }
   19306 else
   19307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19308 $as_echo "no" >&6; }
   19309 fi
   19310 
   19311 
   19312    if test "x$DOXYGEN" = "x"; then
   19313         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
   19314 $as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
   19315 	have_doxygen=no
   19316    else
   19317         have_doxygen=yes
   19318    fi
   19319 elif test "x$use_doxygen" = x"yes" ; then
   19320    # Extract the first word of "doxygen", so it can be a program name with args.
   19321 set dummy doxygen; ac_word=$2
   19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19323 $as_echo_n "checking for $ac_word... " >&6; }
   19324 if ${ac_cv_path_DOXYGEN+:} false; then :
   19325   $as_echo_n "(cached) " >&6
   19326 else
   19327   case $DOXYGEN in
   19328   [\\/]* | ?:[\\/]*)
   19329   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19330   ;;
   19331   *)
   19332   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19333 for as_dir in $PATH
   19334 do
   19335   IFS=$as_save_IFS
   19336   test -z "$as_dir" && as_dir=.
   19337     for ac_exec_ext in '' $ac_executable_extensions; do
   19338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19339     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19341     break 2
   19342   fi
   19343 done
   19344   done
   19345 IFS=$as_save_IFS
   19346 
   19347   ;;
   19348 esac
   19349 fi
   19350 DOXYGEN=$ac_cv_path_DOXYGEN
   19351 if test -n "$DOXYGEN"; then
   19352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19353 $as_echo "$DOXYGEN" >&6; }
   19354 else
   19355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19356 $as_echo "no" >&6; }
   19357 fi
   19358 
   19359 
   19360    if test "x$DOXYGEN" = "x"; then
   19361         as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
   19362    fi
   19363    have_doxygen=yes
   19364 elif test "x$use_doxygen" = x"no" ; then
   19365    if test "x$DOXYGEN" != "x"; then
   19366       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
   19367 $as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
   19368    fi
   19369    have_doxygen=no
   19370 else
   19371    as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
   19372 fi
   19373 
   19374 
   19375 HAVE_DOT=no
   19376 if test "x$have_doxygen" = "xyes"; then
   19377   # Extract the first word of "dot", so it can be a program name with args.
   19378 set dummy dot; ac_word=$2
   19379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19380 $as_echo_n "checking for $ac_word... " >&6; }
   19381 if ${ac_cv_path_DOT+:} false; then :
   19382   $as_echo_n "(cached) " >&6
   19383 else
   19384   case $DOT in
   19385   [\\/]* | ?:[\\/]*)
   19386   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   19387   ;;
   19388   *)
   19389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19390 for as_dir in $PATH
   19391 do
   19392   IFS=$as_save_IFS
   19393   test -z "$as_dir" && as_dir=.
   19394     for ac_exec_ext in '' $ac_executable_extensions; do
   19395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19396     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   19397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19398     break 2
   19399   fi
   19400 done
   19401   done
   19402 IFS=$as_save_IFS
   19403 
   19404   ;;
   19405 esac
   19406 fi
   19407 DOT=$ac_cv_path_DOT
   19408 if test -n "$DOT"; then
   19409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   19410 $as_echo "$DOT" >&6; }
   19411 else
   19412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19413 $as_echo "no" >&6; }
   19414 fi
   19415 
   19416 
   19417     if test "x$DOT" != "x"; then
   19418       HAVE_DOT=yes
   19419     fi
   19420 fi
   19421 
   19422 
   19423  if test "$HAVE_DOT" = "yes"; then
   19424   HAVE_DOT_TRUE=
   19425   HAVE_DOT_FALSE='#'
   19426 else
   19427   HAVE_DOT_TRUE='#'
   19428   HAVE_DOT_FALSE=
   19429 fi
   19430 
   19431  if test "$have_doxygen" = yes; then
   19432   HAVE_DOXYGEN_TRUE=
   19433   HAVE_DOXYGEN_FALSE='#'
   19434 else
   19435   HAVE_DOXYGEN_TRUE='#'
   19436   HAVE_DOXYGEN_FALSE=
   19437 fi
   19438 
   19439 
   19440 
   19441 # The dot drawing tool is checked by XORG_WITH_DOXYGEN, needed for xcb manual
   19442 if test x"$HAVE_DOT" = xno; then
   19443     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - doxygen targets will be skipped" >&5
   19444 $as_echo "$as_me: WARNING: dot not found - doxygen targets will be skipped" >&2;}
   19445 fi
   19446 
   19447 
   19448 pkg_failed=no
   19449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
   19450 $as_echo_n "checking for CHECK... " >&6; }
   19451 
   19452 if test -n "$CHECK_CFLAGS"; then
   19453     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
   19454  elif test -n "$PKG_CONFIG"; then
   19455     if test -n "$PKG_CONFIG" && \
   19456     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19457   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19458   ac_status=$?
   19459   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19460   test $ac_status = 0; }; then
   19461   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
   19462 		      test "x$?" != "x0" && pkg_failed=yes
   19463 else
   19464   pkg_failed=yes
   19465 fi
   19466  else
   19467     pkg_failed=untried
   19468 fi
   19469 if test -n "$CHECK_LIBS"; then
   19470     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
   19471  elif test -n "$PKG_CONFIG"; then
   19472     if test -n "$PKG_CONFIG" && \
   19473     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19474   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19475   ac_status=$?
   19476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19477   test $ac_status = 0; }; then
   19478   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
   19479 		      test "x$?" != "x0" && pkg_failed=yes
   19480 else
   19481   pkg_failed=yes
   19482 fi
   19483  else
   19484     pkg_failed=untried
   19485 fi
   19486 
   19487 
   19488 
   19489 if test $pkg_failed = yes; then
   19490    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19491 $as_echo "no" >&6; }
   19492 
   19493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19494         _pkg_short_errors_supported=yes
   19495 else
   19496         _pkg_short_errors_supported=no
   19497 fi
   19498         if test $_pkg_short_errors_supported = yes; then
   19499 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19500         else
   19501 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19502         fi
   19503 	# Put the nasty error message in config.log where it belongs
   19504 	echo "$CHECK_PKG_ERRORS" >&5
   19505 
   19506 	HAVE_CHECK=no
   19507 elif test $pkg_failed = untried; then
   19508      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19509 $as_echo "no" >&6; }
   19510 	HAVE_CHECK=no
   19511 else
   19512 	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
   19513 	CHECK_LIBS=$pkg_cv_CHECK_LIBS
   19514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19515 $as_echo "yes" >&6; }
   19516 	HAVE_CHECK=yes
   19517 fi
   19518  if test x$HAVE_CHECK = xyes; then
   19519   HAVE_CHECK_TRUE=
   19520   HAVE_CHECK_FALSE='#'
   19521 else
   19522   HAVE_CHECK_TRUE='#'
   19523   HAVE_CHECK_FALSE=
   19524 fi
   19525 
   19526 
   19527 XSLTPROC=no
   19528 HTML_CHECK_RESULT=no
   19529 if test x"$HAVE_CHECK" = xyes; then
   19530         # Extract the first word of "xsltproc", so it can be a program name with args.
   19531 set dummy xsltproc; ac_word=$2
   19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19533 $as_echo_n "checking for $ac_word... " >&6; }
   19534 if ${ac_cv_path_XSLTPROC+:} false; then :
   19535   $as_echo_n "(cached) " >&6
   19536 else
   19537   case $XSLTPROC in
   19538   [\\/]* | ?:[\\/]*)
   19539   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19540   ;;
   19541   *)
   19542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19543 for as_dir in $PATH
   19544 do
   19545   IFS=$as_save_IFS
   19546   test -z "$as_dir" && as_dir=.
   19547     for ac_exec_ext in '' $ac_executable_extensions; do
   19548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19549     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   19550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19551     break 2
   19552   fi
   19553 done
   19554   done
   19555 IFS=$as_save_IFS
   19556 
   19557   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
   19558   ;;
   19559 esac
   19560 fi
   19561 XSLTPROC=$ac_cv_path_XSLTPROC
   19562 if test -n "$XSLTPROC"; then
   19563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19564 $as_echo "$XSLTPROC" >&6; }
   19565 else
   19566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19567 $as_echo "no" >&6; }
   19568 fi
   19569 
   19570 
   19571         if test x"$XSLTPROC" != xno; then
   19572                 HTML_CHECK_RESULT=yes
   19573         fi
   19574 fi
   19575 
   19576 
   19577 # Checks for pkg-config packages
   19578 
   19579 pkg_failed=no
   19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
   19581 $as_echo_n "checking for XCBPROTO... " >&6; }
   19582 
   19583 if test -n "$XCBPROTO_CFLAGS"; then
   19584     pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
   19585  elif test -n "$PKG_CONFIG"; then
   19586     if test -n "$PKG_CONFIG" && \
   19587     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.12\""; } >&5
   19588   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.12") 2>&5
   19589   ac_status=$?
   19590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19591   test $ac_status = 0; }; then
   19592   pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.12" 2>/dev/null`
   19593 		      test "x$?" != "x0" && pkg_failed=yes
   19594 else
   19595   pkg_failed=yes
   19596 fi
   19597  else
   19598     pkg_failed=untried
   19599 fi
   19600 if test -n "$XCBPROTO_LIBS"; then
   19601     pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
   19602  elif test -n "$PKG_CONFIG"; then
   19603     if test -n "$PKG_CONFIG" && \
   19604     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.12\""; } >&5
   19605   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.12") 2>&5
   19606   ac_status=$?
   19607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19608   test $ac_status = 0; }; then
   19609   pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.12" 2>/dev/null`
   19610 		      test "x$?" != "x0" && pkg_failed=yes
   19611 else
   19612   pkg_failed=yes
   19613 fi
   19614  else
   19615     pkg_failed=untried
   19616 fi
   19617 
   19618 
   19619 
   19620 if test $pkg_failed = yes; then
   19621    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19622 $as_echo "no" >&6; }
   19623 
   19624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19625         _pkg_short_errors_supported=yes
   19626 else
   19627         _pkg_short_errors_supported=no
   19628 fi
   19629         if test $_pkg_short_errors_supported = yes; then
   19630 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.12" 2>&1`
   19631         else
   19632 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.12" 2>&1`
   19633         fi
   19634 	# Put the nasty error message in config.log where it belongs
   19635 	echo "$XCBPROTO_PKG_ERRORS" >&5
   19636 
   19637 	as_fn_error $? "Package requirements (xcb-proto >= 1.12) were not met:
   19638 
   19639 $XCBPROTO_PKG_ERRORS
   19640 
   19641 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19642 installed software in a non-standard prefix.
   19643 
   19644 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19645 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19646 See the pkg-config man page for more details." "$LINENO" 5
   19647 elif test $pkg_failed = untried; then
   19648      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19649 $as_echo "no" >&6; }
   19650 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19652 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19653 is in your PATH or set the PKG_CONFIG environment variable to the full
   19654 path to pkg-config.
   19655 
   19656 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19657 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19658 See the pkg-config man page for more details.
   19659 
   19660 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19661 See \`config.log' for more details" "$LINENO" 5; }
   19662 else
   19663 	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
   19664 	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
   19665         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19666 $as_echo "yes" >&6; }
   19667 
   19668 fi
   19669 NEEDED="pthread-stubs xau >= 0.99.2"
   19670 
   19671 pkg_failed=no
   19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
   19673 $as_echo_n "checking for NEEDED... " >&6; }
   19674 
   19675 if test -n "$NEEDED_CFLAGS"; then
   19676     pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
   19677  elif test -n "$PKG_CONFIG"; then
   19678     if test -n "$PKG_CONFIG" && \
   19679     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19680   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19681   ac_status=$?
   19682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19683   test $ac_status = 0; }; then
   19684   pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
   19685 		      test "x$?" != "x0" && pkg_failed=yes
   19686 else
   19687   pkg_failed=yes
   19688 fi
   19689  else
   19690     pkg_failed=untried
   19691 fi
   19692 if test -n "$NEEDED_LIBS"; then
   19693     pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
   19694  elif test -n "$PKG_CONFIG"; then
   19695     if test -n "$PKG_CONFIG" && \
   19696     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19697   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19698   ac_status=$?
   19699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19700   test $ac_status = 0; }; then
   19701   pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
   19702 		      test "x$?" != "x0" && pkg_failed=yes
   19703 else
   19704   pkg_failed=yes
   19705 fi
   19706  else
   19707     pkg_failed=untried
   19708 fi
   19709 
   19710 
   19711 
   19712 if test $pkg_failed = yes; then
   19713    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19714 $as_echo "no" >&6; }
   19715 
   19716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19717         _pkg_short_errors_supported=yes
   19718 else
   19719         _pkg_short_errors_supported=no
   19720 fi
   19721         if test $_pkg_short_errors_supported = yes; then
   19722 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
   19723         else
   19724 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
   19725         fi
   19726 	# Put the nasty error message in config.log where it belongs
   19727 	echo "$NEEDED_PKG_ERRORS" >&5
   19728 
   19729 	as_fn_error $? "Package requirements ($NEEDED) were not met:
   19730 
   19731 $NEEDED_PKG_ERRORS
   19732 
   19733 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19734 installed software in a non-standard prefix.
   19735 
   19736 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19737 and NEEDED_LIBS to avoid the need to call pkg-config.
   19738 See the pkg-config man page for more details." "$LINENO" 5
   19739 elif test $pkg_failed = untried; then
   19740      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19741 $as_echo "no" >&6; }
   19742 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19744 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19745 is in your PATH or set the PKG_CONFIG environment variable to the full
   19746 path to pkg-config.
   19747 
   19748 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19749 and NEEDED_LIBS to avoid the need to call pkg-config.
   19750 See the pkg-config man page for more details.
   19751 
   19752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19753 See \`config.log' for more details" "$LINENO" 5; }
   19754 else
   19755 	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
   19756 	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
   19757         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19758 $as_echo "yes" >&6; }
   19759 
   19760 fi
   19761 
   19762 have_xdmcp="no"
   19763 
   19764 pkg_failed=no
   19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   19766 $as_echo_n "checking for XDMCP... " >&6; }
   19767 
   19768 if test -n "$XDMCP_CFLAGS"; then
   19769     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   19770  elif test -n "$PKG_CONFIG"; then
   19771     if test -n "$PKG_CONFIG" && \
   19772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19773   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19774   ac_status=$?
   19775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19776   test $ac_status = 0; }; then
   19777   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   19778 		      test "x$?" != "x0" && pkg_failed=yes
   19779 else
   19780   pkg_failed=yes
   19781 fi
   19782  else
   19783     pkg_failed=untried
   19784 fi
   19785 if test -n "$XDMCP_LIBS"; then
   19786     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   19787  elif test -n "$PKG_CONFIG"; then
   19788     if test -n "$PKG_CONFIG" && \
   19789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19790   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19791   ac_status=$?
   19792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19793   test $ac_status = 0; }; then
   19794   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   19795 		      test "x$?" != "x0" && pkg_failed=yes
   19796 else
   19797   pkg_failed=yes
   19798 fi
   19799  else
   19800     pkg_failed=untried
   19801 fi
   19802 
   19803 
   19804 
   19805 if test $pkg_failed = yes; then
   19806    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19807 $as_echo "no" >&6; }
   19808 
   19809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19810         _pkg_short_errors_supported=yes
   19811 else
   19812         _pkg_short_errors_supported=no
   19813 fi
   19814         if test $_pkg_short_errors_supported = yes; then
   19815 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   19816         else
   19817 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   19818         fi
   19819 	# Put the nasty error message in config.log where it belongs
   19820 	echo "$XDMCP_PKG_ERRORS" >&5
   19821 
   19822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19823 $as_echo "no" >&6; }
   19824 elif test $pkg_failed = untried; then
   19825      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19826 $as_echo "no" >&6; }
   19827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19828 $as_echo "no" >&6; }
   19829 else
   19830 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19831 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19832         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19833 $as_echo "yes" >&6; }
   19834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   19835 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
   19836 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
   19837   $as_echo_n "(cached) " >&6
   19838 else
   19839   ac_check_lib_save_LIBS=$LIBS
   19840 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   19841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19842 /* end confdefs.h.  */
   19843 
   19844 /* Override any GCC internal prototype to avoid an error.
   19845    Use char because int might match the return type of a GCC
   19846    builtin and then its argument prototype would still apply.  */
   19847 #ifdef __cplusplus
   19848 extern "C"
   19849 #endif
   19850 char XdmcpWrap ();
   19851 int
   19852 main ()
   19853 {
   19854 return XdmcpWrap ();
   19855   ;
   19856   return 0;
   19857 }
   19858 _ACEOF
   19859 if ac_fn_c_try_link "$LINENO"; then :
   19860   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   19861 else
   19862   ac_cv_lib_Xdmcp_XdmcpWrap=no
   19863 fi
   19864 rm -f core conftest.err conftest.$ac_objext \
   19865     conftest$ac_exeext conftest.$ac_ext
   19866 LIBS=$ac_check_lib_save_LIBS
   19867 fi
   19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   19869 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   19870 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
   19871 
   19872 
   19873 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   19874 
   19875                 NEEDED="$NEEDED xdmcp"
   19876                 have_xdmcp="yes"
   19877 
   19878 else
   19879 
   19880                 XDMCP_CFLAGS=
   19881                 XDMCP_LIBS=
   19882 
   19883 fi
   19884 
   19885 fi
   19886 
   19887 
   19888 
   19889 # Find the xcb-proto protocol descriptions
   19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
   19891 $as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
   19892 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
   19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
   19894 $as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
   19895 
   19896 
   19897 # Find the xcb-proto version
   19898 XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
   19899 
   19900 
   19901 # Find the xcbgen Python package
   19902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
   19903 $as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
   19904 XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
   19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
   19906 $as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }
   19907 
   19908 
   19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   19910 $as_echo_n "checking for ANSI C header files... " >&6; }
   19911 if ${ac_cv_header_stdc+:} false; then :
   19912   $as_echo_n "(cached) " >&6
   19913 else
   19914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19915 /* end confdefs.h.  */
   19916 #include <stdlib.h>
   19917 #include <stdarg.h>
   19918 #include <string.h>
   19919 #include <float.h>
   19920 
   19921 int
   19922 main ()
   19923 {
   19924 
   19925   ;
   19926   return 0;
   19927 }
   19928 _ACEOF
   19929 if ac_fn_c_try_compile "$LINENO"; then :
   19930   ac_cv_header_stdc=yes
   19931 else
   19932   ac_cv_header_stdc=no
   19933 fi
   19934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19935 
   19936 if test $ac_cv_header_stdc = yes; then
   19937   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   19938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19939 /* end confdefs.h.  */
   19940 #include <string.h>
   19941 
   19942 _ACEOF
   19943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19944   $EGREP "memchr" >/dev/null 2>&1; then :
   19945 
   19946 else
   19947   ac_cv_header_stdc=no
   19948 fi
   19949 rm -f conftest*
   19950 
   19951 fi
   19952 
   19953 if test $ac_cv_header_stdc = yes; then
   19954   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   19955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19956 /* end confdefs.h.  */
   19957 #include <stdlib.h>
   19958 
   19959 _ACEOF
   19960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19961   $EGREP "free" >/dev/null 2>&1; then :
   19962 
   19963 else
   19964   ac_cv_header_stdc=no
   19965 fi
   19966 rm -f conftest*
   19967 
   19968 fi
   19969 
   19970 if test $ac_cv_header_stdc = yes; then
   19971   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   19972   if test "$cross_compiling" = yes; then :
   19973   :
   19974 else
   19975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19976 /* end confdefs.h.  */
   19977 #include <ctype.h>
   19978 #include <stdlib.h>
   19979 #if ((' ' & 0x0FF) == 0x020)
   19980 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   19981 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   19982 #else
   19983 # define ISLOWER(c) \
   19984 		   (('a' <= (c) && (c) <= 'i') \
   19985 		     || ('j' <= (c) && (c) <= 'r') \
   19986 		     || ('s' <= (c) && (c) <= 'z'))
   19987 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   19988 #endif
   19989 
   19990 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   19991 int
   19992 main ()
   19993 {
   19994   int i;
   19995   for (i = 0; i < 256; i++)
   19996     if (XOR (islower (i), ISLOWER (i))
   19997 	|| toupper (i) != TOUPPER (i))
   19998       return 2;
   19999   return 0;
   20000 }
   20001 _ACEOF
   20002 if ac_fn_c_try_run "$LINENO"; then :
   20003 
   20004 else
   20005   ac_cv_header_stdc=no
   20006 fi
   20007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20008   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20009 fi
   20010 
   20011 fi
   20012 fi
   20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   20014 $as_echo "$ac_cv_header_stdc" >&6; }
   20015 if test $ac_cv_header_stdc = yes; then
   20016 
   20017 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   20018 
   20019 fi
   20020 
   20021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
   20022 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
   20023 if ${ac_cv_search_getaddrinfo+:} false; then :
   20024   $as_echo_n "(cached) " >&6
   20025 else
   20026   ac_func_search_save_LIBS=$LIBS
   20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20028 /* end confdefs.h.  */
   20029 
   20030 /* Override any GCC internal prototype to avoid an error.
   20031    Use char because int might match the return type of a GCC
   20032    builtin and then its argument prototype would still apply.  */
   20033 #ifdef __cplusplus
   20034 extern "C"
   20035 #endif
   20036 char getaddrinfo ();
   20037 int
   20038 main ()
   20039 {
   20040 return getaddrinfo ();
   20041   ;
   20042   return 0;
   20043 }
   20044 _ACEOF
   20045 for ac_lib in '' socket; do
   20046   if test -z "$ac_lib"; then
   20047     ac_res="none required"
   20048   else
   20049     ac_res=-l$ac_lib
   20050     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20051   fi
   20052   if ac_fn_c_try_link "$LINENO"; then :
   20053   ac_cv_search_getaddrinfo=$ac_res
   20054 fi
   20055 rm -f core conftest.err conftest.$ac_objext \
   20056     conftest$ac_exeext
   20057   if ${ac_cv_search_getaddrinfo+:} false; then :
   20058   break
   20059 fi
   20060 done
   20061 if ${ac_cv_search_getaddrinfo+:} false; then :
   20062 
   20063 else
   20064   ac_cv_search_getaddrinfo=no
   20065 fi
   20066 rm conftest.$ac_ext
   20067 LIBS=$ac_func_search_save_LIBS
   20068 fi
   20069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
   20070 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
   20071 ac_res=$ac_cv_search_getaddrinfo
   20072 if test "$ac_res" != no; then :
   20073   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20074 
   20075 fi
   20076 
   20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   20078 $as_echo_n "checking for library containing connect... " >&6; }
   20079 if ${ac_cv_search_connect+:} false; then :
   20080   $as_echo_n "(cached) " >&6
   20081 else
   20082   ac_func_search_save_LIBS=$LIBS
   20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20084 /* end confdefs.h.  */
   20085 
   20086 /* Override any GCC internal prototype to avoid an error.
   20087    Use char because int might match the return type of a GCC
   20088    builtin and then its argument prototype would still apply.  */
   20089 #ifdef __cplusplus
   20090 extern "C"
   20091 #endif
   20092 char connect ();
   20093 int
   20094 main ()
   20095 {
   20096 return connect ();
   20097   ;
   20098   return 0;
   20099 }
   20100 _ACEOF
   20101 for ac_lib in '' socket; do
   20102   if test -z "$ac_lib"; then
   20103     ac_res="none required"
   20104   else
   20105     ac_res=-l$ac_lib
   20106     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20107   fi
   20108   if ac_fn_c_try_link "$LINENO"; then :
   20109   ac_cv_search_connect=$ac_res
   20110 fi
   20111 rm -f core conftest.err conftest.$ac_objext \
   20112     conftest$ac_exeext
   20113   if ${ac_cv_search_connect+:} false; then :
   20114   break
   20115 fi
   20116 done
   20117 if ${ac_cv_search_connect+:} false; then :
   20118 
   20119 else
   20120   ac_cv_search_connect=no
   20121 fi
   20122 rm conftest.$ac_ext
   20123 LIBS=$ac_func_search_save_LIBS
   20124 fi
   20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   20126 $as_echo "$ac_cv_search_connect" >&6; }
   20127 ac_res=$ac_cv_search_connect
   20128 if test "$ac_res" != no; then :
   20129   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20130 
   20131 fi
   20132 
   20133 
   20134 # Find support for sending a message from a socket
   20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
   20136 $as_echo_n "checking for library containing sendmsg... " >&6; }
   20137 if ${ac_cv_search_sendmsg+:} false; then :
   20138   $as_echo_n "(cached) " >&6
   20139 else
   20140   ac_func_search_save_LIBS=$LIBS
   20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20142 /* end confdefs.h.  */
   20143 
   20144 /* Override any GCC internal prototype to avoid an error.
   20145    Use char because int might match the return type of a GCC
   20146    builtin and then its argument prototype would still apply.  */
   20147 #ifdef __cplusplus
   20148 extern "C"
   20149 #endif
   20150 char sendmsg ();
   20151 int
   20152 main ()
   20153 {
   20154 return sendmsg ();
   20155   ;
   20156   return 0;
   20157 }
   20158 _ACEOF
   20159 for ac_lib in '' socket; do
   20160   if test -z "$ac_lib"; then
   20161     ac_res="none required"
   20162   else
   20163     ac_res=-l$ac_lib
   20164     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20165   fi
   20166   if ac_fn_c_try_link "$LINENO"; then :
   20167   ac_cv_search_sendmsg=$ac_res
   20168 fi
   20169 rm -f core conftest.err conftest.$ac_objext \
   20170     conftest$ac_exeext
   20171   if ${ac_cv_search_sendmsg+:} false; then :
   20172   break
   20173 fi
   20174 done
   20175 if ${ac_cv_search_sendmsg+:} false; then :
   20176 
   20177 else
   20178   ac_cv_search_sendmsg=no
   20179 fi
   20180 rm conftest.$ac_ext
   20181 LIBS=$ac_func_search_save_LIBS
   20182 fi
   20183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
   20184 $as_echo "$ac_cv_search_sendmsg" >&6; }
   20185 ac_res=$ac_cv_search_sendmsg
   20186 if test "$ac_res" != no; then :
   20187   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20188   have_sendmsg="yes"
   20189 else
   20190   have_sendmsg="no"
   20191 fi
   20192 
   20193 
   20194 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20195 # _XOPEN_SOURCE to get it (such as on Solaris)
   20196 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20197 $ac_includes_default
   20198 #include <sys/socket.h>
   20199 
   20200 "
   20201 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20202 
   20203 fi
   20204 
   20205 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20206 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20207     unset ac_cv_member_struct_msghdr_msg_control
   20208     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20209 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20210     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20211 #define _XOPEN_SOURCE 600
   20212 $ac_includes_default
   20213 #include <sys/socket.h>
   20214 
   20215 "
   20216 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20217 
   20218 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   20219 
   20220 
   20221 fi
   20222 
   20223 fi
   20224 # If that didn't work, fall back to XPG5/UNIX98 with C89
   20225 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20226     unset ac_cv_member_struct_msghdr_msg_control
   20227     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20228 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20229     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20230 #define _XOPEN_SOURCE 500
   20231 $ac_includes_default
   20232 #include <sys/socket.h>
   20233 
   20234 "
   20235 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20236 
   20237 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   20238 
   20239 
   20240 else
   20241   have_sendmsg="no"
   20242 fi
   20243 
   20244 fi
   20245 
   20246 case x$have_sendmsg in
   20247 xyes)
   20248 
   20249 $as_echo "#define HAVE_SENDMSG 1" >>confdefs.h
   20250 
   20251         ;;
   20252 esac
   20253 
   20254 have_win32="no"
   20255 lt_enable_auto_import=""
   20256 case $host_os in
   20257 mingw*)
   20258         have_win32="yes"
   20259         lt_enable_auto_import="-Wl,--enable-auto-import"
   20260         ;;
   20261 linux*)
   20262 
   20263 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
   20264 
   20265         ;;
   20266 esac
   20267 
   20268 
   20269  if test "x${have_win32}" = "xyes"; then
   20270   XCB_HAVE_WIN32_TRUE=
   20271   XCB_HAVE_WIN32_FALSE='#'
   20272 else
   20273   XCB_HAVE_WIN32_TRUE='#'
   20274   XCB_HAVE_WIN32_FALSE=
   20275 fi
   20276 
   20277 
   20278 
   20279 # Check whether --with-queue-size was given.
   20280 if test "${with_queue_size+set}" = set; then :
   20281   withval=$with_queue_size; xcb_queue_buffer_size="$withval"
   20282 else
   20283   xcb_queue_buffer_size=16384
   20284 fi
   20285 
   20286 
   20287 cat >>confdefs.h <<_ACEOF
   20288 #define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size
   20289 _ACEOF
   20290 
   20291 
   20292 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
   20293                   #include <sys/un.h>
   20294 
   20295 "
   20296 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
   20297 
   20298 $as_echo "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
   20299 
   20300 fi
   20301 
   20302 
   20303 for ac_header in tsol/label.h
   20304 do :
   20305   ac_fn_c_check_header_mongrel "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
   20306 if test "x$ac_cv_header_tsol_label_h" = xyes; then :
   20307   cat >>confdefs.h <<_ACEOF
   20308 #define HAVE_TSOL_LABEL_H 1
   20309 _ACEOF
   20310 
   20311 fi
   20312 
   20313 done
   20314 
   20315 for ac_func in is_system_labeled
   20316 do :
   20317   ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
   20318 if test "x$ac_cv_func_is_system_labeled" = xyes; then :
   20319   cat >>confdefs.h <<_ACEOF
   20320 #define HAVE_IS_SYSTEM_LABELED 1
   20321 _ACEOF
   20322 
   20323 fi
   20324 done
   20325 
   20326 
   20327 ac_fn_c_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
   20328 "
   20329 if test "x$ac_cv_have_decl_IOV_MAX" = xyes; then :
   20330 
   20331 else
   20332   ac_fn_c_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
   20333 "
   20334 if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes; then :
   20335   $as_echo "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
   20336 
   20337 else
   20338 
   20339 $as_echo "#define IOV_MAX 16" >>confdefs.h
   20340 
   20341 fi
   20342 
   20343 fi
   20344 
   20345 
   20346 xcbincludedir='${includedir}/xcb'
   20347 
   20348 
   20349 
   20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
   20351 $as_echo_n "checking whether ${CC} supports symbol visibility... " >&6; }
   20352 
   20353 save_CFLAGS=${CFLAGS}
   20354 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
   20355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20356 /* end confdefs.h.  */
   20357 
   20358 #pragma GCC visibility push(hidden)
   20359 extern void f(int);
   20360 #pragma GCC visibility pop
   20361 
   20362 int
   20363 main ()
   20364 {
   20365 
   20366 
   20367   ;
   20368   return 0;
   20369 }
   20370 _ACEOF
   20371 if ac_fn_c_try_compile "$LINENO"; then :
   20372 
   20373 $as_echo "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
   20374 
   20375     :
   20376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20377 $as_echo "yes" >&6; }
   20378 else
   20379   :
   20380     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20381 $as_echo "no" >&6; }
   20382 fi
   20383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20384 
   20385 CFLAGS=${save_CFLAGS}
   20386 
   20387 
   20388 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20389 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   20390 
   20391 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
   20392 
   20393 fi
   20394 
   20395 
   20396 case $host_os in
   20397         # darwin through Snow Leopard has poll() but can't be used to poll character devices.
   20398         darwin[789]*|darwin10*) ;;
   20399         darwin*)
   20400                 _ac_xorg_macosx_version_min=""
   20401                 if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   20402                         _ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   20403                 else
   20404                         _ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   20405                 fi
   20406                 case $_ac_xorg_macosx_version_min in
   20407                         10.[0123456]|10.[0123456].*) ;;
   20408                         *)
   20409                                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20410 if test "x$ac_cv_func_poll" = xyes; then :
   20411 
   20412 $as_echo "#define USE_POLL 1" >>confdefs.h
   20413 
   20414 fi
   20415 
   20416                         ;;
   20417                 esac
   20418                 unset _ac_xorg_macosx_version_min
   20419                 ;;
   20420         *)
   20421                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20422 if test "x$ac_cv_func_poll" = xyes; then :
   20423 
   20424 $as_echo "#define USE_POLL 1" >>confdefs.h
   20425 
   20426 fi
   20427 
   20428         ;;
   20429 esac
   20430 
   20431 case $host_os in
   20432         *mingw*)
   20433                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20434 $as_echo_n "checking for main in -lws2_32... " >&6; }
   20435 if ${ac_cv_lib_ws2_32_main+:} false; then :
   20436   $as_echo_n "(cached) " >&6
   20437 else
   20438   ac_check_lib_save_LIBS=$LIBS
   20439 LIBS="-lws2_32  $LIBS"
   20440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20441 /* end confdefs.h.  */
   20442 
   20443 
   20444 int
   20445 main ()
   20446 {
   20447 return main ();
   20448   ;
   20449   return 0;
   20450 }
   20451 _ACEOF
   20452 if ac_fn_c_try_link "$LINENO"; then :
   20453   ac_cv_lib_ws2_32_main=yes
   20454 else
   20455   ac_cv_lib_ws2_32_main=no
   20456 fi
   20457 rm -f core conftest.err conftest.$ac_objext \
   20458     conftest$ac_exeext conftest.$ac_ext
   20459 LIBS=$ac_check_lib_save_LIBS
   20460 fi
   20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20462 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   20463 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   20464   cat >>confdefs.h <<_ACEOF
   20465 #define HAVE_LIBWS2_32 1
   20466 _ACEOF
   20467 
   20468   LIBS="-lws2_32 $LIBS"
   20469 
   20470 fi
   20471 
   20472                 ;;
   20473         *)
   20474                 ;;
   20475 esac
   20476 
   20477 
   20478 # Check whether --enable-composite was given.
   20479 if test "${enable_composite+set}" = set; then :
   20480   enableval=$enable_composite; BUILD_COMPOSITE=$enableval
   20481 else
   20482   BUILD_COMPOSITE=yes
   20483 fi
   20484 
   20485 
   20486 
   20487  if test "x$BUILD_COMPOSITE" = "xyes"; then
   20488   BUILD_COMPOSITE_TRUE=
   20489   BUILD_COMPOSITE_FALSE='#'
   20490 else
   20491   BUILD_COMPOSITE_TRUE='#'
   20492   BUILD_COMPOSITE_FALSE=
   20493 fi
   20494 
   20495 
   20496 
   20497 # Check whether --enable-damage was given.
   20498 if test "${enable_damage+set}" = set; then :
   20499   enableval=$enable_damage; BUILD_DAMAGE=$enableval
   20500 else
   20501   BUILD_DAMAGE=yes
   20502 fi
   20503 
   20504 
   20505 
   20506  if test "x$BUILD_DAMAGE" = "xyes"; then
   20507   BUILD_DAMAGE_TRUE=
   20508   BUILD_DAMAGE_FALSE='#'
   20509 else
   20510   BUILD_DAMAGE_TRUE='#'
   20511   BUILD_DAMAGE_FALSE=
   20512 fi
   20513 
   20514 
   20515 
   20516 # Check whether --enable-dpms was given.
   20517 if test "${enable_dpms+set}" = set; then :
   20518   enableval=$enable_dpms; BUILD_DPMS=$enableval
   20519 else
   20520   BUILD_DPMS=yes
   20521 fi
   20522 
   20523 
   20524 
   20525  if test "x$BUILD_DPMS" = "xyes"; then
   20526   BUILD_DPMS_TRUE=
   20527   BUILD_DPMS_FALSE='#'
   20528 else
   20529   BUILD_DPMS_TRUE='#'
   20530   BUILD_DPMS_FALSE=
   20531 fi
   20532 
   20533 
   20534 
   20535 # Check whether --enable-dri2 was given.
   20536 if test "${enable_dri2+set}" = set; then :
   20537   enableval=$enable_dri2; BUILD_DRI2=$enableval
   20538 else
   20539   BUILD_DRI2=yes
   20540 fi
   20541 
   20542 
   20543 
   20544  if test "x$BUILD_DRI2" = "xyes"; then
   20545   BUILD_DRI2_TRUE=
   20546   BUILD_DRI2_FALSE='#'
   20547 else
   20548   BUILD_DRI2_TRUE='#'
   20549   BUILD_DRI2_FALSE=
   20550 fi
   20551 
   20552 
   20553 
   20554 # Check whether --enable-dri3 was given.
   20555 if test "${enable_dri3+set}" = set; then :
   20556   enableval=$enable_dri3; BUILD_DRI3=$enableval
   20557 else
   20558   BUILD_DRI3=auto
   20559 fi
   20560 
   20561 
   20562 # This extension has a default value of "auto" and depends on the value of $have_sendmsg
   20563 if test "x$BUILD_DRI3" = "xauto" ; then
   20564     BUILD_DRI3=$have_sendmsg
   20565 fi
   20566 if test "x$BUILD_DRI3" = "xyes" ; then
   20567     if test "x$have_sendmsg" = "xno" ; then
   20568       as_fn_error $? "Extension DRI3 requested, but dependencies are not met" "$LINENO" 5
   20569     fi
   20570 fi
   20571 
   20572  if test "x$BUILD_DRI3" = "xyes"; then
   20573   BUILD_DRI3_TRUE=
   20574   BUILD_DRI3_FALSE='#'
   20575 else
   20576   BUILD_DRI3_TRUE='#'
   20577   BUILD_DRI3_FALSE=
   20578 fi
   20579 
   20580 
   20581 
   20582 # Check whether --enable-glx was given.
   20583 if test "${enable_glx+set}" = set; then :
   20584   enableval=$enable_glx; BUILD_GLX=$enableval
   20585 else
   20586   BUILD_GLX=yes
   20587 fi
   20588 
   20589 
   20590 
   20591  if test "x$BUILD_GLX" = "xyes"; then
   20592   BUILD_GLX_TRUE=
   20593   BUILD_GLX_FALSE='#'
   20594 else
   20595   BUILD_GLX_TRUE='#'
   20596   BUILD_GLX_FALSE=
   20597 fi
   20598 
   20599 
   20600 
   20601 # Check whether --enable-present was given.
   20602 if test "${enable_present+set}" = set; then :
   20603   enableval=$enable_present; BUILD_PRESENT=$enableval
   20604 else
   20605   BUILD_PRESENT=yes
   20606 fi
   20607 
   20608 
   20609 
   20610  if test "x$BUILD_PRESENT" = "xyes"; then
   20611   BUILD_PRESENT_TRUE=
   20612   BUILD_PRESENT_FALSE='#'
   20613 else
   20614   BUILD_PRESENT_TRUE='#'
   20615   BUILD_PRESENT_FALSE=
   20616 fi
   20617 
   20618 
   20619 
   20620 # Check whether --enable-randr was given.
   20621 if test "${enable_randr+set}" = set; then :
   20622   enableval=$enable_randr; BUILD_RANDR=$enableval
   20623 else
   20624   BUILD_RANDR=yes
   20625 fi
   20626 
   20627 
   20628 
   20629  if test "x$BUILD_RANDR" = "xyes"; then
   20630   BUILD_RANDR_TRUE=
   20631   BUILD_RANDR_FALSE='#'
   20632 else
   20633   BUILD_RANDR_TRUE='#'
   20634   BUILD_RANDR_FALSE=
   20635 fi
   20636 
   20637 
   20638 
   20639 # Check whether --enable-record was given.
   20640 if test "${enable_record+set}" = set; then :
   20641   enableval=$enable_record; BUILD_RECORD=$enableval
   20642 else
   20643   BUILD_RECORD=yes
   20644 fi
   20645 
   20646 
   20647 
   20648  if test "x$BUILD_RECORD" = "xyes"; then
   20649   BUILD_RECORD_TRUE=
   20650   BUILD_RECORD_FALSE='#'
   20651 else
   20652   BUILD_RECORD_TRUE='#'
   20653   BUILD_RECORD_FALSE=
   20654 fi
   20655 
   20656 
   20657 
   20658 # Check whether --enable-render was given.
   20659 if test "${enable_render+set}" = set; then :
   20660   enableval=$enable_render; BUILD_RENDER=$enableval
   20661 else
   20662   BUILD_RENDER=yes
   20663 fi
   20664 
   20665 
   20666 
   20667  if test "x$BUILD_RENDER" = "xyes"; then
   20668   BUILD_RENDER_TRUE=
   20669   BUILD_RENDER_FALSE='#'
   20670 else
   20671   BUILD_RENDER_TRUE='#'
   20672   BUILD_RENDER_FALSE=
   20673 fi
   20674 
   20675 
   20676 
   20677 # Check whether --enable-resource was given.
   20678 if test "${enable_resource+set}" = set; then :
   20679   enableval=$enable_resource; BUILD_RESOURCE=$enableval
   20680 else
   20681   BUILD_RESOURCE=yes
   20682 fi
   20683 
   20684 
   20685 
   20686  if test "x$BUILD_RESOURCE" = "xyes"; then
   20687   BUILD_RESOURCE_TRUE=
   20688   BUILD_RESOURCE_FALSE='#'
   20689 else
   20690   BUILD_RESOURCE_TRUE='#'
   20691   BUILD_RESOURCE_FALSE=
   20692 fi
   20693 
   20694 
   20695 
   20696 # Check whether --enable-screensaver was given.
   20697 if test "${enable_screensaver+set}" = set; then :
   20698   enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
   20699 else
   20700   BUILD_SCREENSAVER=yes
   20701 fi
   20702 
   20703 
   20704 
   20705  if test "x$BUILD_SCREENSAVER" = "xyes"; then
   20706   BUILD_SCREENSAVER_TRUE=
   20707   BUILD_SCREENSAVER_FALSE='#'
   20708 else
   20709   BUILD_SCREENSAVER_TRUE='#'
   20710   BUILD_SCREENSAVER_FALSE=
   20711 fi
   20712 
   20713 
   20714 
   20715 # Check whether --enable-shape was given.
   20716 if test "${enable_shape+set}" = set; then :
   20717   enableval=$enable_shape; BUILD_SHAPE=$enableval
   20718 else
   20719   BUILD_SHAPE=yes
   20720 fi
   20721 
   20722 
   20723 
   20724  if test "x$BUILD_SHAPE" = "xyes"; then
   20725   BUILD_SHAPE_TRUE=
   20726   BUILD_SHAPE_FALSE='#'
   20727 else
   20728   BUILD_SHAPE_TRUE='#'
   20729   BUILD_SHAPE_FALSE=
   20730 fi
   20731 
   20732 
   20733 
   20734 # Check whether --enable-shm was given.
   20735 if test "${enable_shm+set}" = set; then :
   20736   enableval=$enable_shm; BUILD_SHM=$enableval
   20737 else
   20738   BUILD_SHM=yes
   20739 fi
   20740 
   20741 
   20742 
   20743  if test "x$BUILD_SHM" = "xyes"; then
   20744   BUILD_SHM_TRUE=
   20745   BUILD_SHM_FALSE='#'
   20746 else
   20747   BUILD_SHM_TRUE='#'
   20748   BUILD_SHM_FALSE=
   20749 fi
   20750 
   20751 
   20752 
   20753 # Check whether --enable-sync was given.
   20754 if test "${enable_sync+set}" = set; then :
   20755   enableval=$enable_sync; BUILD_SYNC=$enableval
   20756 else
   20757   BUILD_SYNC=yes
   20758 fi
   20759 
   20760 
   20761 
   20762  if test "x$BUILD_SYNC" = "xyes"; then
   20763   BUILD_SYNC_TRUE=
   20764   BUILD_SYNC_FALSE='#'
   20765 else
   20766   BUILD_SYNC_TRUE='#'
   20767   BUILD_SYNC_FALSE=
   20768 fi
   20769 
   20770 
   20771 
   20772 # Check whether --enable-xevie was given.
   20773 if test "${enable_xevie+set}" = set; then :
   20774   enableval=$enable_xevie; BUILD_XEVIE=$enableval
   20775 else
   20776   BUILD_XEVIE=no
   20777 fi
   20778 
   20779 
   20780 
   20781  if test "x$BUILD_XEVIE" = "xyes"; then
   20782   BUILD_XEVIE_TRUE=
   20783   BUILD_XEVIE_FALSE='#'
   20784 else
   20785   BUILD_XEVIE_TRUE='#'
   20786   BUILD_XEVIE_FALSE=
   20787 fi
   20788 
   20789 
   20790 
   20791 # Check whether --enable-xfixes was given.
   20792 if test "${enable_xfixes+set}" = set; then :
   20793   enableval=$enable_xfixes; BUILD_XFIXES=$enableval
   20794 else
   20795   BUILD_XFIXES=yes
   20796 fi
   20797 
   20798 
   20799 
   20800  if test "x$BUILD_XFIXES" = "xyes"; then
   20801   BUILD_XFIXES_TRUE=
   20802   BUILD_XFIXES_FALSE='#'
   20803 else
   20804   BUILD_XFIXES_TRUE='#'
   20805   BUILD_XFIXES_FALSE=
   20806 fi
   20807 
   20808 
   20809 
   20810 # Check whether --enable-xfree86-dri was given.
   20811 if test "${enable_xfree86_dri+set}" = set; then :
   20812   enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
   20813 else
   20814   BUILD_XFREE86_DRI=yes
   20815 fi
   20816 
   20817 
   20818 
   20819  if test "x$BUILD_XFREE86_DRI" = "xyes"; then
   20820   BUILD_XFREE86_DRI_TRUE=
   20821   BUILD_XFREE86_DRI_FALSE='#'
   20822 else
   20823   BUILD_XFREE86_DRI_TRUE='#'
   20824   BUILD_XFREE86_DRI_FALSE=
   20825 fi
   20826 
   20827 
   20828 
   20829 # Check whether --enable-xinerama was given.
   20830 if test "${enable_xinerama+set}" = set; then :
   20831   enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
   20832 else
   20833   BUILD_XINERAMA=yes
   20834 fi
   20835 
   20836 
   20837 
   20838  if test "x$BUILD_XINERAMA" = "xyes"; then
   20839   BUILD_XINERAMA_TRUE=
   20840   BUILD_XINERAMA_FALSE='#'
   20841 else
   20842   BUILD_XINERAMA_TRUE='#'
   20843   BUILD_XINERAMA_FALSE=
   20844 fi
   20845 
   20846 
   20847 
   20848 # Check whether --enable-xinput was given.
   20849 if test "${enable_xinput+set}" = set; then :
   20850   enableval=$enable_xinput; BUILD_XINPUT=$enableval
   20851 else
   20852   BUILD_XINPUT=no
   20853 fi
   20854 
   20855 
   20856 
   20857  if test "x$BUILD_XINPUT" = "xyes"; then
   20858   BUILD_XINPUT_TRUE=
   20859   BUILD_XINPUT_FALSE='#'
   20860 else
   20861   BUILD_XINPUT_TRUE='#'
   20862   BUILD_XINPUT_FALSE=
   20863 fi
   20864 
   20865 
   20866 
   20867 # Check whether --enable-xkb was given.
   20868 if test "${enable_xkb+set}" = set; then :
   20869   enableval=$enable_xkb; BUILD_XKB=$enableval
   20870 else
   20871   BUILD_XKB=yes
   20872 fi
   20873 
   20874 
   20875 
   20876  if test "x$BUILD_XKB" = "xyes"; then
   20877   BUILD_XKB_TRUE=
   20878   BUILD_XKB_FALSE='#'
   20879 else
   20880   BUILD_XKB_TRUE='#'
   20881   BUILD_XKB_FALSE=
   20882 fi
   20883 
   20884 
   20885 
   20886 # Check whether --enable-xprint was given.
   20887 if test "${enable_xprint+set}" = set; then :
   20888   enableval=$enable_xprint; BUILD_XPRINT=$enableval
   20889 else
   20890   BUILD_XPRINT=no
   20891 fi
   20892 
   20893 
   20894 
   20895  if test "x$BUILD_XPRINT" = "xyes"; then
   20896   BUILD_XPRINT_TRUE=
   20897   BUILD_XPRINT_FALSE='#'
   20898 else
   20899   BUILD_XPRINT_TRUE='#'
   20900   BUILD_XPRINT_FALSE=
   20901 fi
   20902 
   20903 
   20904 
   20905 # Check whether --enable-selinux was given.
   20906 if test "${enable_selinux+set}" = set; then :
   20907   enableval=$enable_selinux; BUILD_SELINUX=$enableval
   20908 else
   20909   BUILD_SELINUX=no
   20910 fi
   20911 
   20912 
   20913 
   20914  if test "x$BUILD_SELINUX" = "xyes"; then
   20915   BUILD_SELINUX_TRUE=
   20916   BUILD_SELINUX_FALSE='#'
   20917 else
   20918   BUILD_SELINUX_TRUE='#'
   20919   BUILD_SELINUX_FALSE=
   20920 fi
   20921 
   20922 
   20923 
   20924 # Check whether --enable-xtest was given.
   20925 if test "${enable_xtest+set}" = set; then :
   20926   enableval=$enable_xtest; BUILD_XTEST=$enableval
   20927 else
   20928   BUILD_XTEST=yes
   20929 fi
   20930 
   20931 
   20932 
   20933  if test "x$BUILD_XTEST" = "xyes"; then
   20934   BUILD_XTEST_TRUE=
   20935   BUILD_XTEST_FALSE='#'
   20936 else
   20937   BUILD_XTEST_TRUE='#'
   20938   BUILD_XTEST_FALSE=
   20939 fi
   20940 
   20941 
   20942 
   20943 # Check whether --enable-xv was given.
   20944 if test "${enable_xv+set}" = set; then :
   20945   enableval=$enable_xv; BUILD_XV=$enableval
   20946 else
   20947   BUILD_XV=yes
   20948 fi
   20949 
   20950 
   20951 
   20952  if test "x$BUILD_XV" = "xyes"; then
   20953   BUILD_XV_TRUE=
   20954   BUILD_XV_FALSE='#'
   20955 else
   20956   BUILD_XV_TRUE='#'
   20957   BUILD_XV_FALSE=
   20958 fi
   20959 
   20960 
   20961 
   20962 # Check whether --enable-xvmc was given.
   20963 if test "${enable_xvmc+set}" = set; then :
   20964   enableval=$enable_xvmc; BUILD_XVMC=$enableval
   20965 else
   20966   BUILD_XVMC=yes
   20967 fi
   20968 
   20969 
   20970 
   20971  if test "x$BUILD_XVMC" = "xyes"; then
   20972   BUILD_XVMC_TRUE=
   20973   BUILD_XVMC_FALSE='#'
   20974 else
   20975   BUILD_XVMC_TRUE='#'
   20976   BUILD_XVMC_FALSE=
   20977 fi
   20978 
   20979 
   20980 
   20981 
   20982 # Check whether --with-launchd was given.
   20983 if test "${with_launchd+set}" = set; then :
   20984   withval=$with_launchd; LAUNCHD=$withval
   20985 else
   20986   LAUNCHD=auto
   20987 fi
   20988 
   20989 if test "x$LAUNCHD" = xauto; then
   20990         unset LAUNCHD
   20991         # Extract the first word of "launchd", so it can be a program name with args.
   20992 set dummy launchd; ac_word=$2
   20993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20994 $as_echo_n "checking for $ac_word... " >&6; }
   20995 if ${ac_cv_prog_LAUNCHD+:} false; then :
   20996   $as_echo_n "(cached) " >&6
   20997 else
   20998   if test -n "$LAUNCHD"; then
   20999   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   21000 else
   21001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21002 for as_dir in $PATH$PATH_SEPARATOR/sbin
   21003 do
   21004   IFS=$as_save_IFS
   21005   test -z "$as_dir" && as_dir=.
   21006     for ac_exec_ext in '' $ac_executable_extensions; do
   21007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   21008     ac_cv_prog_LAUNCHD="yes"
   21009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   21010     break 2
   21011   fi
   21012 done
   21013   done
   21014 IFS=$as_save_IFS
   21015 
   21016   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   21017 fi
   21018 fi
   21019 LAUNCHD=$ac_cv_prog_LAUNCHD
   21020 if test -n "$LAUNCHD"; then
   21021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   21022 $as_echo "$LAUNCHD" >&6; }
   21023 else
   21024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21025 $as_echo "no" >&6; }
   21026 fi
   21027 
   21028 
   21029 fi
   21030 
   21031 if test "x$LAUNCHD" = xyes ; then
   21032 
   21033 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   21034 
   21035 fi
   21036 
   21037 
   21038 # Check whether --with-serverside-support was given.
   21039 if test "${with_serverside_support+set}" = set; then :
   21040   withval=$with_serverside_support; XCB_SERVERSIDE_SUPPORT=$withval
   21041 else
   21042   XCB_SERVERSIDE_SUPPORT=no
   21043 fi
   21044 
   21045 
   21046  if test "x$XCB_SERVERSIDE_SUPPORT" = "xyes"; then
   21047   XCB_SERVERSIDE_SUPPORT_TRUE=
   21048   XCB_SERVERSIDE_SUPPORT_FALSE='#'
   21049 else
   21050   XCB_SERVERSIDE_SUPPORT_TRUE='#'
   21051   XCB_SERVERSIDE_SUPPORT_FALSE=
   21052 fi
   21053 
   21054 
   21055 ac_config_files="$ac_config_files Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile"
   21056 
   21057 
   21058 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"
   21059 
   21060 
   21061 ac_config_files="$ac_config_files doc/xcb.doxygen"
   21062 
   21063 
   21064 cat >confcache <<\_ACEOF
   21065 # This file is a shell script that caches the results of configure
   21066 # tests run on this system so they can be shared between configure
   21067 # scripts and configure runs, see configure's option --config-cache.
   21068 # It is not useful on other systems.  If it contains results you don't
   21069 # want to keep, you may remove or edit it.
   21070 #
   21071 # config.status only pays attention to the cache file if you give it
   21072 # the --recheck option to rerun configure.
   21073 #
   21074 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21075 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21076 # following values.
   21077 
   21078 _ACEOF
   21079 
   21080 # The following way of writing the cache mishandles newlines in values,
   21081 # but we know of no workaround that is simple, portable, and efficient.
   21082 # So, we kill variables containing newlines.
   21083 # Ultrix sh set writes to stderr and can't be redirected directly,
   21084 # and sets the high bit in the cache file unless we assign to the vars.
   21085 (
   21086   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21087     eval ac_val=\$$ac_var
   21088     case $ac_val in #(
   21089     *${as_nl}*)
   21090       case $ac_var in #(
   21091       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21092 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21093       esac
   21094       case $ac_var in #(
   21095       _ | IFS | as_nl) ;; #(
   21096       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21097       *) { eval $ac_var=; unset $ac_var;} ;;
   21098       esac ;;
   21099     esac
   21100   done
   21101 
   21102   (set) 2>&1 |
   21103     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21104     *${as_nl}ac_space=\ *)
   21105       # `set' does not quote correctly, so add quotes: double-quote
   21106       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21107       sed -n \
   21108 	"s/'/'\\\\''/g;
   21109 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21110       ;; #(
   21111     *)
   21112       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21113       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21114       ;;
   21115     esac |
   21116     sort
   21117 ) |
   21118   sed '
   21119      /^ac_cv_env_/b end
   21120      t clear
   21121      :clear
   21122      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21123      t end
   21124      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21125      :end' >>confcache
   21126 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21127   if test -w "$cache_file"; then
   21128     if test "x$cache_file" != "x/dev/null"; then
   21129       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21130 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21131       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21132 	cat confcache >"$cache_file"
   21133       else
   21134         case $cache_file in #(
   21135         */* | ?:*)
   21136 	  mv -f confcache "$cache_file"$$ &&
   21137 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21138         *)
   21139 	  mv -f confcache "$cache_file" ;;
   21140 	esac
   21141       fi
   21142     fi
   21143   else
   21144     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21145 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21146   fi
   21147 fi
   21148 rm -f confcache
   21149 
   21150 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21151 # Let make expand exec_prefix.
   21152 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21153 
   21154 DEFS=-DHAVE_CONFIG_H
   21155 
   21156 ac_libobjs=
   21157 ac_ltlibobjs=
   21158 U=
   21159 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21160   # 1. Remove the extension, and $U if already installed.
   21161   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21162   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21163   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21164   #    will be set to the directory where LIBOBJS objects are built.
   21165   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21166   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21167 done
   21168 LIBOBJS=$ac_libobjs
   21169 
   21170 LTLIBOBJS=$ac_ltlibobjs
   21171 
   21172 
   21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21174 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   21175    if test -n "$am_sleep_pid"; then
   21176      # Hide warnings about reused PIDs.
   21177      wait $am_sleep_pid 2>/dev/null
   21178    fi
   21179    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21180 $as_echo "done" >&6; }
   21181  if test -n "$EXEEXT"; then
   21182   am__EXEEXT_TRUE=
   21183   am__EXEEXT_FALSE='#'
   21184 else
   21185   am__EXEEXT_TRUE='#'
   21186   am__EXEEXT_FALSE=
   21187 fi
   21188 
   21189 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21190   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21192 fi
   21193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21194   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21196 fi
   21197 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   21198   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   21199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21200 fi
   21201 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
   21202   as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
   21203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21204 fi
   21205 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   21206   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   21207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21208 fi
   21209 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
   21210   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
   21211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21212 fi
   21213 if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
   21214   as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
   21215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21216 fi
   21217 if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
   21218   as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
   21219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21220 fi
   21221 if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
   21222   as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
   21223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21224 fi
   21225 if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
   21226   as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
   21227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21228 fi
   21229 if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
   21230   as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
   21231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21232 fi
   21233 if test -z "${BUILD_DRI3_TRUE}" && test -z "${BUILD_DRI3_FALSE}"; then
   21234   as_fn_error $? "conditional \"BUILD_DRI3\" was never defined.
   21235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21236 fi
   21237 if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
   21238   as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
   21239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21240 fi
   21241 if test -z "${BUILD_PRESENT_TRUE}" && test -z "${BUILD_PRESENT_FALSE}"; then
   21242   as_fn_error $? "conditional \"BUILD_PRESENT\" was never defined.
   21243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21244 fi
   21245 if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
   21246   as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
   21247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21248 fi
   21249 if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
   21250   as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
   21251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21252 fi
   21253 if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
   21254   as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
   21255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21256 fi
   21257 if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
   21258   as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
   21259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21260 fi
   21261 if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
   21262   as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
   21263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21264 fi
   21265 if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
   21266   as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
   21267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21268 fi
   21269 if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
   21270   as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
   21271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21272 fi
   21273 if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
   21274   as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
   21275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21276 fi
   21277 if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
   21278   as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
   21279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21280 fi
   21281 if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
   21282   as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
   21283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21284 fi
   21285 if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
   21286   as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
   21287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21288 fi
   21289 if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
   21290   as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
   21291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21292 fi
   21293 if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
   21294   as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
   21295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21296 fi
   21297 if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
   21298   as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
   21299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21300 fi
   21301 if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
   21302   as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
   21303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21304 fi
   21305 if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
   21306   as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
   21307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21308 fi
   21309 if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
   21310   as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
   21311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21312 fi
   21313 if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
   21314   as_fn_error $? "conditional \"BUILD_XV\" was never defined.
   21315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21316 fi
   21317 if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
   21318   as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
   21319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21320 fi
   21321 if test -z "${XCB_SERVERSIDE_SUPPORT_TRUE}" && test -z "${XCB_SERVERSIDE_SUPPORT_FALSE}"; then
   21322   as_fn_error $? "conditional \"XCB_SERVERSIDE_SUPPORT\" was never defined.
   21323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21324 fi
   21325 
   21326 : "${CONFIG_STATUS=./config.status}"
   21327 ac_write_fail=0
   21328 ac_clean_files_save=$ac_clean_files
   21329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21332 as_write_fail=0
   21333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21334 #! $SHELL
   21335 # Generated by $as_me.
   21336 # Run this file to recreate the current configuration.
   21337 # Compiler output produced by configure, useful for debugging
   21338 # configure, is in config.log if it exists.
   21339 
   21340 debug=false
   21341 ac_cs_recheck=false
   21342 ac_cs_silent=false
   21343 
   21344 SHELL=\${CONFIG_SHELL-$SHELL}
   21345 export SHELL
   21346 _ASEOF
   21347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21348 ## -------------------- ##
   21349 ## M4sh Initialization. ##
   21350 ## -------------------- ##
   21351 
   21352 # Be more Bourne compatible
   21353 DUALCASE=1; export DUALCASE # for MKS sh
   21354 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21355   emulate sh
   21356   NULLCMD=:
   21357   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21358   # is contrary to our usage.  Disable this feature.
   21359   alias -g '${1+"$@"}'='"$@"'
   21360   setopt NO_GLOB_SUBST
   21361 else
   21362   case `(set -o) 2>/dev/null` in #(
   21363   *posix*) :
   21364     set -o posix ;; #(
   21365   *) :
   21366      ;;
   21367 esac
   21368 fi
   21369 
   21370 
   21371 as_nl='
   21372 '
   21373 export as_nl
   21374 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21375 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21376 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21378 # Prefer a ksh shell builtin over an external printf program on Solaris,
   21379 # but without wasting forks for bash or zsh.
   21380 if test -z "$BASH_VERSION$ZSH_VERSION" \
   21381     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   21382   as_echo='print -r --'
   21383   as_echo_n='print -rn --'
   21384 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21385   as_echo='printf %s\n'
   21386   as_echo_n='printf %s'
   21387 else
   21388   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21389     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21390     as_echo_n='/usr/ucb/echo -n'
   21391   else
   21392     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21393     as_echo_n_body='eval
   21394       arg=$1;
   21395       case $arg in #(
   21396       *"$as_nl"*)
   21397 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21398 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21399       esac;
   21400       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21401     '
   21402     export as_echo_n_body
   21403     as_echo_n='sh -c $as_echo_n_body as_echo'
   21404   fi
   21405   export as_echo_body
   21406   as_echo='sh -c $as_echo_body as_echo'
   21407 fi
   21408 
   21409 # The user is always right.
   21410 if test "${PATH_SEPARATOR+set}" != set; then
   21411   PATH_SEPARATOR=:
   21412   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21413     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21414       PATH_SEPARATOR=';'
   21415   }
   21416 fi
   21417 
   21418 
   21419 # IFS
   21420 # We need space, tab and new line, in precisely that order.  Quoting is
   21421 # there to prevent editors from complaining about space-tab.
   21422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21423 # splitting by setting IFS to empty value.)
   21424 IFS=" ""	$as_nl"
   21425 
   21426 # Find who we are.  Look in the path if we contain no directory separator.
   21427 as_myself=
   21428 case $0 in #((
   21429   *[\\/]* ) as_myself=$0 ;;
   21430   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21431 for as_dir in $PATH
   21432 do
   21433   IFS=$as_save_IFS
   21434   test -z "$as_dir" && as_dir=.
   21435     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21436   done
   21437 IFS=$as_save_IFS
   21438 
   21439      ;;
   21440 esac
   21441 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21442 # in which case we are not to be found in the path.
   21443 if test "x$as_myself" = x; then
   21444   as_myself=$0
   21445 fi
   21446 if test ! -f "$as_myself"; then
   21447   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21448   exit 1
   21449 fi
   21450 
   21451 # Unset variables that we do not need and which cause bugs (e.g. in
   21452 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   21453 # suppresses any "Segmentation fault" message there.  '((' could
   21454 # trigger a bug in pdksh 5.2.14.
   21455 for as_var in BASH_ENV ENV MAIL MAILPATH
   21456 do eval test x\${$as_var+set} = xset \
   21457   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21458 done
   21459 PS1='$ '
   21460 PS2='> '
   21461 PS4='+ '
   21462 
   21463 # NLS nuisances.
   21464 LC_ALL=C
   21465 export LC_ALL
   21466 LANGUAGE=C
   21467 export LANGUAGE
   21468 
   21469 # CDPATH.
   21470 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21471 
   21472 
   21473 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21474 # ----------------------------------------
   21475 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21476 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21477 # script with STATUS, using 1 if that was 0.
   21478 as_fn_error ()
   21479 {
   21480   as_status=$1; test $as_status -eq 0 && as_status=1
   21481   if test "$4"; then
   21482     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21483     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21484   fi
   21485   $as_echo "$as_me: error: $2" >&2
   21486   as_fn_exit $as_status
   21487 } # as_fn_error
   21488 
   21489 
   21490 # as_fn_set_status STATUS
   21491 # -----------------------
   21492 # Set $? to STATUS, without forking.
   21493 as_fn_set_status ()
   21494 {
   21495   return $1
   21496 } # as_fn_set_status
   21497 
   21498 # as_fn_exit STATUS
   21499 # -----------------
   21500 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21501 as_fn_exit ()
   21502 {
   21503   set +e
   21504   as_fn_set_status $1
   21505   exit $1
   21506 } # as_fn_exit
   21507 
   21508 # as_fn_unset VAR
   21509 # ---------------
   21510 # Portably unset VAR.
   21511 as_fn_unset ()
   21512 {
   21513   { eval $1=; unset $1;}
   21514 }
   21515 as_unset=as_fn_unset
   21516 # as_fn_append VAR VALUE
   21517 # ----------------------
   21518 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21519 # advantage of any shell optimizations that allow amortized linear growth over
   21520 # repeated appends, instead of the typical quadratic growth present in naive
   21521 # implementations.
   21522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   21523   eval 'as_fn_append ()
   21524   {
   21525     eval $1+=\$2
   21526   }'
   21527 else
   21528   as_fn_append ()
   21529   {
   21530     eval $1=\$$1\$2
   21531   }
   21532 fi # as_fn_append
   21533 
   21534 # as_fn_arith ARG...
   21535 # ------------------
   21536 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21537 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21538 # must be portable across $(()) and expr.
   21539 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   21540   eval 'as_fn_arith ()
   21541   {
   21542     as_val=$(( $* ))
   21543   }'
   21544 else
   21545   as_fn_arith ()
   21546   {
   21547     as_val=`expr "$@" || test $? -eq 1`
   21548   }
   21549 fi # as_fn_arith
   21550 
   21551 
   21552 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21553    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21554   as_expr=expr
   21555 else
   21556   as_expr=false
   21557 fi
   21558 
   21559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21560   as_basename=basename
   21561 else
   21562   as_basename=false
   21563 fi
   21564 
   21565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21566   as_dirname=dirname
   21567 else
   21568   as_dirname=false
   21569 fi
   21570 
   21571 as_me=`$as_basename -- "$0" ||
   21572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21573 	 X"$0" : 'X\(//\)$' \| \
   21574 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21575 $as_echo X/"$0" |
   21576     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21577 	    s//\1/
   21578 	    q
   21579 	  }
   21580 	  /^X\/\(\/\/\)$/{
   21581 	    s//\1/
   21582 	    q
   21583 	  }
   21584 	  /^X\/\(\/\).*/{
   21585 	    s//\1/
   21586 	    q
   21587 	  }
   21588 	  s/.*/./; q'`
   21589 
   21590 # Avoid depending upon Character Ranges.
   21591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21594 as_cr_digits='0123456789'
   21595 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21596 
   21597 ECHO_C= ECHO_N= ECHO_T=
   21598 case `echo -n x` in #(((((
   21599 -n*)
   21600   case `echo 'xy\c'` in
   21601   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21602   xy)  ECHO_C='\c';;
   21603   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21604        ECHO_T='	';;
   21605   esac;;
   21606 *)
   21607   ECHO_N='-n';;
   21608 esac
   21609 
   21610 rm -f conf$$ conf$$.exe conf$$.file
   21611 if test -d conf$$.dir; then
   21612   rm -f conf$$.dir/conf$$.file
   21613 else
   21614   rm -f conf$$.dir
   21615   mkdir conf$$.dir 2>/dev/null
   21616 fi
   21617 if (echo >conf$$.file) 2>/dev/null; then
   21618   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21619     as_ln_s='ln -s'
   21620     # ... but there are two gotchas:
   21621     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21622     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21623     # In both cases, we have to default to `cp -pR'.
   21624     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21625       as_ln_s='cp -pR'
   21626   elif ln conf$$.file conf$$ 2>/dev/null; then
   21627     as_ln_s=ln
   21628   else
   21629     as_ln_s='cp -pR'
   21630   fi
   21631 else
   21632   as_ln_s='cp -pR'
   21633 fi
   21634 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21635 rmdir conf$$.dir 2>/dev/null
   21636 
   21637 
   21638 # as_fn_mkdir_p
   21639 # -------------
   21640 # Create "$as_dir" as a directory, including parents if necessary.
   21641 as_fn_mkdir_p ()
   21642 {
   21643 
   21644   case $as_dir in #(
   21645   -*) as_dir=./$as_dir;;
   21646   esac
   21647   test -d "$as_dir" || eval $as_mkdir_p || {
   21648     as_dirs=
   21649     while :; do
   21650       case $as_dir in #(
   21651       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21652       *) as_qdir=$as_dir;;
   21653       esac
   21654       as_dirs="'$as_qdir' $as_dirs"
   21655       as_dir=`$as_dirname -- "$as_dir" ||
   21656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21657 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21658 	 X"$as_dir" : 'X\(//\)$' \| \
   21659 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21660 $as_echo X"$as_dir" |
   21661     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21662 	    s//\1/
   21663 	    q
   21664 	  }
   21665 	  /^X\(\/\/\)[^/].*/{
   21666 	    s//\1/
   21667 	    q
   21668 	  }
   21669 	  /^X\(\/\/\)$/{
   21670 	    s//\1/
   21671 	    q
   21672 	  }
   21673 	  /^X\(\/\).*/{
   21674 	    s//\1/
   21675 	    q
   21676 	  }
   21677 	  s/.*/./; q'`
   21678       test -d "$as_dir" && break
   21679     done
   21680     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21681   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21682 
   21683 
   21684 } # as_fn_mkdir_p
   21685 if mkdir -p . 2>/dev/null; then
   21686   as_mkdir_p='mkdir -p "$as_dir"'
   21687 else
   21688   test -d ./-p && rmdir ./-p
   21689   as_mkdir_p=false
   21690 fi
   21691 
   21692 
   21693 # as_fn_executable_p FILE
   21694 # -----------------------
   21695 # Test if FILE is an executable regular file.
   21696 as_fn_executable_p ()
   21697 {
   21698   test -f "$1" && test -x "$1"
   21699 } # as_fn_executable_p
   21700 as_test_x='test -x'
   21701 as_executable_p=as_fn_executable_p
   21702 
   21703 # Sed expression to map a string onto a valid CPP name.
   21704 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21705 
   21706 # Sed expression to map a string onto a valid variable name.
   21707 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21708 
   21709 
   21710 exec 6>&1
   21711 ## ----------------------------------- ##
   21712 ## Main body of $CONFIG_STATUS script. ##
   21713 ## ----------------------------------- ##
   21714 _ASEOF
   21715 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21716 
   21717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21718 # Save the log message, to keep $0 and so on meaningful, and to
   21719 # report actual input values of CONFIG_FILES etc. instead of their
   21720 # values after options handling.
   21721 ac_log="
   21722 This file was extended by libxcb $as_me 1.12, which was
   21723 generated by GNU Autoconf 2.69.  Invocation command line was
   21724 
   21725   CONFIG_FILES    = $CONFIG_FILES
   21726   CONFIG_HEADERS  = $CONFIG_HEADERS
   21727   CONFIG_LINKS    = $CONFIG_LINKS
   21728   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21729   $ $0 $@
   21730 
   21731 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21732 "
   21733 
   21734 _ACEOF
   21735 
   21736 case $ac_config_files in *"
   21737 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21738 esac
   21739 
   21740 case $ac_config_headers in *"
   21741 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21742 esac
   21743 
   21744 
   21745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21746 # Files that config.status was made for.
   21747 config_files="$ac_config_files"
   21748 config_headers="$ac_config_headers"
   21749 config_commands="$ac_config_commands"
   21750 
   21751 _ACEOF
   21752 
   21753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21754 ac_cs_usage="\
   21755 \`$as_me' instantiates files and other configuration actions
   21756 from templates according to the current configuration.  Unless the files
   21757 and actions are specified as TAGs, all are instantiated by default.
   21758 
   21759 Usage: $0 [OPTION]... [TAG]...
   21760 
   21761   -h, --help       print this help, then exit
   21762   -V, --version    print version number and configuration settings, then exit
   21763       --config     print configuration, then exit
   21764   -q, --quiet, --silent
   21765                    do not print progress messages
   21766   -d, --debug      don't remove temporary files
   21767       --recheck    update $as_me by reconfiguring in the same conditions
   21768       --file=FILE[:TEMPLATE]
   21769                    instantiate the configuration file FILE
   21770       --header=FILE[:TEMPLATE]
   21771                    instantiate the configuration header FILE
   21772 
   21773 Configuration files:
   21774 $config_files
   21775 
   21776 Configuration headers:
   21777 $config_headers
   21778 
   21779 Configuration commands:
   21780 $config_commands
   21781 
   21782 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xcb>."
   21783 
   21784 _ACEOF
   21785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21786 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   21787 ac_cs_version="\\
   21788 libxcb config.status 1.12
   21789 configured by $0, generated by GNU Autoconf 2.69,
   21790   with options \\"\$ac_cs_config\\"
   21791 
   21792 Copyright (C) 2012 Free Software Foundation, Inc.
   21793 This config.status script is free software; the Free Software Foundation
   21794 gives unlimited permission to copy, distribute and modify it."
   21795 
   21796 ac_pwd='$ac_pwd'
   21797 srcdir='$srcdir'
   21798 INSTALL='$INSTALL'
   21799 MKDIR_P='$MKDIR_P'
   21800 AWK='$AWK'
   21801 test -n "\$AWK" || AWK=awk
   21802 _ACEOF
   21803 
   21804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21805 # The default lists apply if the user does not specify any file.
   21806 ac_need_defaults=:
   21807 while test $# != 0
   21808 do
   21809   case $1 in
   21810   --*=?*)
   21811     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21812     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21813     ac_shift=:
   21814     ;;
   21815   --*=)
   21816     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21817     ac_optarg=
   21818     ac_shift=:
   21819     ;;
   21820   *)
   21821     ac_option=$1
   21822     ac_optarg=$2
   21823     ac_shift=shift
   21824     ;;
   21825   esac
   21826 
   21827   case $ac_option in
   21828   # Handling of the options.
   21829   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21830     ac_cs_recheck=: ;;
   21831   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21832     $as_echo "$ac_cs_version"; exit ;;
   21833   --config | --confi | --conf | --con | --co | --c )
   21834     $as_echo "$ac_cs_config"; exit ;;
   21835   --debug | --debu | --deb | --de | --d | -d )
   21836     debug=: ;;
   21837   --file | --fil | --fi | --f )
   21838     $ac_shift
   21839     case $ac_optarg in
   21840     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21841     '') as_fn_error $? "missing file argument" ;;
   21842     esac
   21843     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21844     ac_need_defaults=false;;
   21845   --header | --heade | --head | --hea )
   21846     $ac_shift
   21847     case $ac_optarg in
   21848     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21849     esac
   21850     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21851     ac_need_defaults=false;;
   21852   --he | --h)
   21853     # Conflict between --help and --header
   21854     as_fn_error $? "ambiguous option: \`$1'
   21855 Try \`$0 --help' for more information.";;
   21856   --help | --hel | -h )
   21857     $as_echo "$ac_cs_usage"; exit ;;
   21858   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21859   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21860     ac_cs_silent=: ;;
   21861 
   21862   # This is an error.
   21863   -*) as_fn_error $? "unrecognized option: \`$1'
   21864 Try \`$0 --help' for more information." ;;
   21865 
   21866   *) as_fn_append ac_config_targets " $1"
   21867      ac_need_defaults=false ;;
   21868 
   21869   esac
   21870   shift
   21871 done
   21872 
   21873 ac_configure_extra_args=
   21874 
   21875 if $ac_cs_silent; then
   21876   exec 6>/dev/null
   21877   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21878 fi
   21879 
   21880 _ACEOF
   21881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21882 if \$ac_cs_recheck; then
   21883   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21884   shift
   21885   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21886   CONFIG_SHELL='$SHELL'
   21887   export CONFIG_SHELL
   21888   exec "\$@"
   21889 fi
   21890 
   21891 _ACEOF
   21892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21893 exec 5>>config.log
   21894 {
   21895   echo
   21896   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21897 ## Running $as_me. ##
   21898 _ASBOX
   21899   $as_echo "$ac_log"
   21900 } >&5
   21901 
   21902 _ACEOF
   21903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21904 #
   21905 # INIT-COMMANDS
   21906 #
   21907 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21908 
   21909 
   21910 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21911 # if CDPATH is set.
   21912 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21913 
   21914 sed_quote_subst='$sed_quote_subst'
   21915 double_quote_subst='$double_quote_subst'
   21916 delay_variable_subst='$delay_variable_subst'
   21917 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21918 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21919 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21920 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21921 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21922 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21923 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21924 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21925 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21926 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21927 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21928 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21929 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21930 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21931 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21932 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21933 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21934 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21935 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21936 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21937 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21938 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21939 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21940 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21941 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21942 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21943 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21944 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21945 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21946 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21947 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21948 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21949 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21950 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21951 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21952 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21953 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21954 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21955 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21956 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21957 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21958 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21959 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21960 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21961 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21962 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21963 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21964 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21965 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21966 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21967 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21968 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21969 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21970 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21971 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21972 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21973 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21974 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21975 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21976 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"`'
   21977 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21978 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21979 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21980 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21981 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21982 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21983 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21984 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21985 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21986 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21987 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21988 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21989 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21990 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21991 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21992 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21993 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21994 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21995 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21996 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21997 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21998 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21999 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22000 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22001 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22002 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22003 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22004 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22005 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22006 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22007 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22008 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22009 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22010 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22011 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22012 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22013 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22014 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22015 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22016 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22017 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22018 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22019 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22020 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22021 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22022 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22023 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22024 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22025 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22026 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22027 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22028 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22029 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22030 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22031 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22032 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22033 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22034 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22035 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22036 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22037 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22038 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22039 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22040 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22041 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22042 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22043 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22044 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22045 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22046 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22047 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22048 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22049 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22050 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22051 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22052 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22053 
   22054 LTCC='$LTCC'
   22055 LTCFLAGS='$LTCFLAGS'
   22056 compiler='$compiler_DEFAULT'
   22057 
   22058 # A function that is used when there is no print builtin or printf.
   22059 func_fallback_echo ()
   22060 {
   22061   eval 'cat <<_LTECHO_EOF
   22062 \$1
   22063 _LTECHO_EOF'
   22064 }
   22065 
   22066 # Quote evaled strings.
   22067 for var in AS \
   22068 DLLTOOL \
   22069 OBJDUMP \
   22070 SHELL \
   22071 ECHO \
   22072 PATH_SEPARATOR \
   22073 SED \
   22074 GREP \
   22075 EGREP \
   22076 FGREP \
   22077 LD \
   22078 NM \
   22079 LN_S \
   22080 lt_SP2NL \
   22081 lt_NL2SP \
   22082 reload_flag \
   22083 deplibs_check_method \
   22084 file_magic_cmd \
   22085 file_magic_glob \
   22086 want_nocaseglob \
   22087 sharedlib_from_linklib_cmd \
   22088 AR \
   22089 AR_FLAGS \
   22090 archiver_list_spec \
   22091 STRIP \
   22092 RANLIB \
   22093 CC \
   22094 CFLAGS \
   22095 compiler \
   22096 lt_cv_sys_global_symbol_pipe \
   22097 lt_cv_sys_global_symbol_to_cdecl \
   22098 lt_cv_sys_global_symbol_to_import \
   22099 lt_cv_sys_global_symbol_to_c_name_address \
   22100 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22101 lt_cv_nm_interface \
   22102 nm_file_list_spec \
   22103 lt_cv_truncate_bin \
   22104 lt_prog_compiler_no_builtin_flag \
   22105 lt_prog_compiler_pic \
   22106 lt_prog_compiler_wl \
   22107 lt_prog_compiler_static \
   22108 lt_cv_prog_compiler_c_o \
   22109 need_locks \
   22110 MANIFEST_TOOL \
   22111 DSYMUTIL \
   22112 NMEDIT \
   22113 LIPO \
   22114 OTOOL \
   22115 OTOOL64 \
   22116 shrext_cmds \
   22117 export_dynamic_flag_spec \
   22118 whole_archive_flag_spec \
   22119 compiler_needs_object \
   22120 with_gnu_ld \
   22121 allow_undefined_flag \
   22122 no_undefined_flag \
   22123 hardcode_libdir_flag_spec \
   22124 hardcode_libdir_separator \
   22125 exclude_expsyms \
   22126 include_expsyms \
   22127 file_list_spec \
   22128 variables_saved_for_relink \
   22129 libname_spec \
   22130 library_names_spec \
   22131 soname_spec \
   22132 install_override_mode \
   22133 finish_eval \
   22134 old_striplib \
   22135 striplib; do
   22136     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22137     *[\\\\\\\`\\"\\\$]*)
   22138       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22139       ;;
   22140     *)
   22141       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22142       ;;
   22143     esac
   22144 done
   22145 
   22146 # Double-quote double-evaled strings.
   22147 for var in reload_cmds \
   22148 old_postinstall_cmds \
   22149 old_postuninstall_cmds \
   22150 old_archive_cmds \
   22151 extract_expsyms_cmds \
   22152 old_archive_from_new_cmds \
   22153 old_archive_from_expsyms_cmds \
   22154 archive_cmds \
   22155 archive_expsym_cmds \
   22156 module_cmds \
   22157 module_expsym_cmds \
   22158 export_symbols_cmds \
   22159 prelink_cmds \
   22160 postlink_cmds \
   22161 postinstall_cmds \
   22162 postuninstall_cmds \
   22163 finish_cmds \
   22164 sys_lib_search_path_spec \
   22165 configure_time_dlsearch_path \
   22166 configure_time_lt_sys_library_path; do
   22167     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22168     *[\\\\\\\`\\"\\\$]*)
   22169       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22170       ;;
   22171     *)
   22172       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22173       ;;
   22174     esac
   22175 done
   22176 
   22177 ac_aux_dir='$ac_aux_dir'
   22178 
   22179 # See if we are running on zsh, and set the options that allow our
   22180 # commands through without removal of \ escapes INIT.
   22181 if test -n "\${ZSH_VERSION+set}"; then
   22182    setopt NO_GLOB_SUBST
   22183 fi
   22184 
   22185 
   22186     PACKAGE='$PACKAGE'
   22187     VERSION='$VERSION'
   22188     RM='$RM'
   22189     ofile='$ofile'
   22190 
   22191 
   22192 
   22193 
   22194 _ACEOF
   22195 
   22196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22197 
   22198 # Handling of arguments.
   22199 for ac_config_target in $ac_config_targets
   22200 do
   22201   case $ac_config_target in
   22202     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   22203     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22204     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22205     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22206     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22207     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22208     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22209     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22210     "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
   22211     "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
   22212     "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
   22213     "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
   22214     "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
   22215     "xcb-dri3.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri3.pc" ;;
   22216     "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
   22217     "xcb-present.pc") CONFIG_FILES="$CONFIG_FILES xcb-present.pc" ;;
   22218     "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
   22219     "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
   22220     "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
   22221     "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
   22222     "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
   22223     "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
   22224     "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
   22225     "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
   22226     "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
   22227     "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
   22228     "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
   22229     "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
   22230     "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
   22231     "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
   22232     "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
   22233     "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
   22234     "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
   22235     "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
   22236     "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
   22237     "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
   22238 
   22239   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22240   esac
   22241 done
   22242 
   22243 
   22244 # If the user did not use the arguments to specify the items to instantiate,
   22245 # then the envvar interface is used.  Set only those that are not.
   22246 # We use the long form for the default assignment because of an extremely
   22247 # bizarre bug on SunOS 4.1.3.
   22248 if $ac_need_defaults; then
   22249   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22250   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22251   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22252 fi
   22253 
   22254 # Have a temporary directory for convenience.  Make it in the build tree
   22255 # simply because there is no reason against having it here, and in addition,
   22256 # creating and moving files from /tmp can sometimes cause problems.
   22257 # Hook for its removal unless debugging.
   22258 # Note that there is a small window in which the directory will not be cleaned:
   22259 # after its creation but before its name has been assigned to `$tmp'.
   22260 $debug ||
   22261 {
   22262   tmp= ac_tmp=
   22263   trap 'exit_status=$?
   22264   : "${ac_tmp:=$tmp}"
   22265   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22266 ' 0
   22267   trap 'as_fn_exit 1' 1 2 13 15
   22268 }
   22269 # Create a (secure) tmp directory for tmp files.
   22270 
   22271 {
   22272   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22273   test -d "$tmp"
   22274 }  ||
   22275 {
   22276   tmp=./conf$$-$RANDOM
   22277   (umask 077 && mkdir "$tmp")
   22278 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22279 ac_tmp=$tmp
   22280 
   22281 # Set up the scripts for CONFIG_FILES section.
   22282 # No need to generate them if there are no CONFIG_FILES.
   22283 # This happens for instance with `./config.status config.h'.
   22284 if test -n "$CONFIG_FILES"; then
   22285 
   22286 
   22287 ac_cr=`echo X | tr X '\015'`
   22288 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22289 # But we know of no other shell where ac_cr would be empty at this
   22290 # point, so we can use a bashism as a fallback.
   22291 if test "x$ac_cr" = x; then
   22292   eval ac_cr=\$\'\\r\'
   22293 fi
   22294 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22295 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22296   ac_cs_awk_cr='\\r'
   22297 else
   22298   ac_cs_awk_cr=$ac_cr
   22299 fi
   22300 
   22301 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22302 _ACEOF
   22303 
   22304 
   22305 {
   22306   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22307   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22308   echo "_ACEOF"
   22309 } >conf$$subs.sh ||
   22310   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22311 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22312 ac_delim='%!_!# '
   22313 for ac_last_try in false false false false false :; do
   22314   . ./conf$$subs.sh ||
   22315     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22316 
   22317   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22318   if test $ac_delim_n = $ac_delim_num; then
   22319     break
   22320   elif $ac_last_try; then
   22321     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22322   else
   22323     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22324   fi
   22325 done
   22326 rm -f conf$$subs.sh
   22327 
   22328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22329 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22330 _ACEOF
   22331 sed -n '
   22332 h
   22333 s/^/S["/; s/!.*/"]=/
   22334 p
   22335 g
   22336 s/^[^!]*!//
   22337 :repl
   22338 t repl
   22339 s/'"$ac_delim"'$//
   22340 t delim
   22341 :nl
   22342 h
   22343 s/\(.\{148\}\)..*/\1/
   22344 t more1
   22345 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22346 p
   22347 n
   22348 b repl
   22349 :more1
   22350 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22351 p
   22352 g
   22353 s/.\{148\}//
   22354 t nl
   22355 :delim
   22356 h
   22357 s/\(.\{148\}\)..*/\1/
   22358 t more2
   22359 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22360 p
   22361 b
   22362 :more2
   22363 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22364 p
   22365 g
   22366 s/.\{148\}//
   22367 t delim
   22368 ' <conf$$subs.awk | sed '
   22369 /^[^""]/{
   22370   N
   22371   s/\n//
   22372 }
   22373 ' >>$CONFIG_STATUS || ac_write_fail=1
   22374 rm -f conf$$subs.awk
   22375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22376 _ACAWK
   22377 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22378   for (key in S) S_is_set[key] = 1
   22379   FS = ""
   22380 
   22381 }
   22382 {
   22383   line = $ 0
   22384   nfields = split(line, field, "@")
   22385   substed = 0
   22386   len = length(field[1])
   22387   for (i = 2; i < nfields; i++) {
   22388     key = field[i]
   22389     keylen = length(key)
   22390     if (S_is_set[key]) {
   22391       value = S[key]
   22392       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22393       len += length(value) + length(field[++i])
   22394       substed = 1
   22395     } else
   22396       len += 1 + keylen
   22397   }
   22398 
   22399   print line
   22400 }
   22401 
   22402 _ACAWK
   22403 _ACEOF
   22404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22405 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22406   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22407 else
   22408   cat
   22409 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22410   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22411 _ACEOF
   22412 
   22413 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22414 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22415 # trailing colons and then remove the whole line if VPATH becomes empty
   22416 # (actually we leave an empty line to preserve line numbers).
   22417 if test "x$srcdir" = x.; then
   22418   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22419 h
   22420 s///
   22421 s/^/:/
   22422 s/[	 ]*$/:/
   22423 s/:\$(srcdir):/:/g
   22424 s/:\${srcdir}:/:/g
   22425 s/:@srcdir@:/:/g
   22426 s/^:*//
   22427 s/:*$//
   22428 x
   22429 s/\(=[	 ]*\).*/\1/
   22430 G
   22431 s/\n//
   22432 s/^[^=]*=[	 ]*$//
   22433 }'
   22434 fi
   22435 
   22436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22437 fi # test -n "$CONFIG_FILES"
   22438 
   22439 # Set up the scripts for CONFIG_HEADERS section.
   22440 # No need to generate them if there are no CONFIG_HEADERS.
   22441 # This happens for instance with `./config.status Makefile'.
   22442 if test -n "$CONFIG_HEADERS"; then
   22443 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22444 BEGIN {
   22445 _ACEOF
   22446 
   22447 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22448 # here-document in config.status, that substitutes the proper values into
   22449 # config.h.in to produce config.h.
   22450 
   22451 # Create a delimiter string that does not exist in confdefs.h, to ease
   22452 # handling of long lines.
   22453 ac_delim='%!_!# '
   22454 for ac_last_try in false false :; do
   22455   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22456   if test -z "$ac_tt"; then
   22457     break
   22458   elif $ac_last_try; then
   22459     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22460   else
   22461     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22462   fi
   22463 done
   22464 
   22465 # For the awk script, D is an array of macro values keyed by name,
   22466 # likewise P contains macro parameters if any.  Preserve backslash
   22467 # newline sequences.
   22468 
   22469 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22470 sed -n '
   22471 s/.\{148\}/&'"$ac_delim"'/g
   22472 t rset
   22473 :rset
   22474 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22475 t def
   22476 d
   22477 :def
   22478 s/\\$//
   22479 t bsnl
   22480 s/["\\]/\\&/g
   22481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22482 D["\1"]=" \3"/p
   22483 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22484 d
   22485 :bsnl
   22486 s/["\\]/\\&/g
   22487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22488 D["\1"]=" \3\\\\\\n"\\/p
   22489 t cont
   22490 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22491 t cont
   22492 d
   22493 :cont
   22494 n
   22495 s/.\{148\}/&'"$ac_delim"'/g
   22496 t clear
   22497 :clear
   22498 s/\\$//
   22499 t bsnlc
   22500 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22501 d
   22502 :bsnlc
   22503 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22504 b cont
   22505 ' <confdefs.h | sed '
   22506 s/'"$ac_delim"'/"\\\
   22507 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22508 
   22509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22510   for (key in D) D_is_set[key] = 1
   22511   FS = ""
   22512 }
   22513 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22514   line = \$ 0
   22515   split(line, arg, " ")
   22516   if (arg[1] == "#") {
   22517     defundef = arg[2]
   22518     mac1 = arg[3]
   22519   } else {
   22520     defundef = substr(arg[1], 2)
   22521     mac1 = arg[2]
   22522   }
   22523   split(mac1, mac2, "(") #)
   22524   macro = mac2[1]
   22525   prefix = substr(line, 1, index(line, defundef) - 1)
   22526   if (D_is_set[macro]) {
   22527     # Preserve the white space surrounding the "#".
   22528     print prefix "define", macro P[macro] D[macro]
   22529     next
   22530   } else {
   22531     # Replace #undef with comments.  This is necessary, for example,
   22532     # in the case of _POSIX_SOURCE, which is predefined and required
   22533     # on some systems where configure will not decide to define it.
   22534     if (defundef == "undef") {
   22535       print "/*", prefix defundef, macro, "*/"
   22536       next
   22537     }
   22538   }
   22539 }
   22540 { print }
   22541 _ACAWK
   22542 _ACEOF
   22543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22544   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22545 fi # test -n "$CONFIG_HEADERS"
   22546 
   22547 
   22548 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22549 shift
   22550 for ac_tag
   22551 do
   22552   case $ac_tag in
   22553   :[FHLC]) ac_mode=$ac_tag; continue;;
   22554   esac
   22555   case $ac_mode$ac_tag in
   22556   :[FHL]*:*);;
   22557   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22558   :[FH]-) ac_tag=-:-;;
   22559   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22560   esac
   22561   ac_save_IFS=$IFS
   22562   IFS=:
   22563   set x $ac_tag
   22564   IFS=$ac_save_IFS
   22565   shift
   22566   ac_file=$1
   22567   shift
   22568 
   22569   case $ac_mode in
   22570   :L) ac_source=$1;;
   22571   :[FH])
   22572     ac_file_inputs=
   22573     for ac_f
   22574     do
   22575       case $ac_f in
   22576       -) ac_f="$ac_tmp/stdin";;
   22577       *) # Look for the file first in the build tree, then in the source tree
   22578 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22579 	 # because $ac_f cannot contain `:'.
   22580 	 test -f "$ac_f" ||
   22581 	   case $ac_f in
   22582 	   [\\/$]*) false;;
   22583 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22584 	   esac ||
   22585 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22586       esac
   22587       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22588       as_fn_append ac_file_inputs " '$ac_f'"
   22589     done
   22590 
   22591     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22592     # use $as_me), people would be surprised to read:
   22593     #    /* config.h.  Generated by config.status.  */
   22594     configure_input='Generated from '`
   22595 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22596 	`' by configure.'
   22597     if test x"$ac_file" != x-; then
   22598       configure_input="$ac_file.  $configure_input"
   22599       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22600 $as_echo "$as_me: creating $ac_file" >&6;}
   22601     fi
   22602     # Neutralize special characters interpreted by sed in replacement strings.
   22603     case $configure_input in #(
   22604     *\&* | *\|* | *\\* )
   22605        ac_sed_conf_input=`$as_echo "$configure_input" |
   22606        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22607     *) ac_sed_conf_input=$configure_input;;
   22608     esac
   22609 
   22610     case $ac_tag in
   22611     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22612       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22613     esac
   22614     ;;
   22615   esac
   22616 
   22617   ac_dir=`$as_dirname -- "$ac_file" ||
   22618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22619 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22620 	 X"$ac_file" : 'X\(//\)$' \| \
   22621 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22622 $as_echo X"$ac_file" |
   22623     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22624 	    s//\1/
   22625 	    q
   22626 	  }
   22627 	  /^X\(\/\/\)[^/].*/{
   22628 	    s//\1/
   22629 	    q
   22630 	  }
   22631 	  /^X\(\/\/\)$/{
   22632 	    s//\1/
   22633 	    q
   22634 	  }
   22635 	  /^X\(\/\).*/{
   22636 	    s//\1/
   22637 	    q
   22638 	  }
   22639 	  s/.*/./; q'`
   22640   as_dir="$ac_dir"; as_fn_mkdir_p
   22641   ac_builddir=.
   22642 
   22643 case "$ac_dir" in
   22644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22645 *)
   22646   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22647   # A ".." for each directory in $ac_dir_suffix.
   22648   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22649   case $ac_top_builddir_sub in
   22650   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22651   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22652   esac ;;
   22653 esac
   22654 ac_abs_top_builddir=$ac_pwd
   22655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22656 # for backward compatibility:
   22657 ac_top_builddir=$ac_top_build_prefix
   22658 
   22659 case $srcdir in
   22660   .)  # We are building in place.
   22661     ac_srcdir=.
   22662     ac_top_srcdir=$ac_top_builddir_sub
   22663     ac_abs_top_srcdir=$ac_pwd ;;
   22664   [\\/]* | ?:[\\/]* )  # Absolute name.
   22665     ac_srcdir=$srcdir$ac_dir_suffix;
   22666     ac_top_srcdir=$srcdir
   22667     ac_abs_top_srcdir=$srcdir ;;
   22668   *) # Relative name.
   22669     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22670     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22671     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22672 esac
   22673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22674 
   22675 
   22676   case $ac_mode in
   22677   :F)
   22678   #
   22679   # CONFIG_FILE
   22680   #
   22681 
   22682   case $INSTALL in
   22683   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22684   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22685   esac
   22686   ac_MKDIR_P=$MKDIR_P
   22687   case $MKDIR_P in
   22688   [\\/$]* | ?:[\\/]* ) ;;
   22689   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22690   esac
   22691 _ACEOF
   22692 
   22693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22694 # If the template does not know about datarootdir, expand it.
   22695 # FIXME: This hack should be removed a few years after 2.60.
   22696 ac_datarootdir_hack=; ac_datarootdir_seen=
   22697 ac_sed_dataroot='
   22698 /datarootdir/ {
   22699   p
   22700   q
   22701 }
   22702 /@datadir@/p
   22703 /@docdir@/p
   22704 /@infodir@/p
   22705 /@localedir@/p
   22706 /@mandir@/p'
   22707 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22708 *datarootdir*) ac_datarootdir_seen=yes;;
   22709 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22710   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22711 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22712 _ACEOF
   22713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22714   ac_datarootdir_hack='
   22715   s&@datadir@&$datadir&g
   22716   s&@docdir@&$docdir&g
   22717   s&@infodir@&$infodir&g
   22718   s&@localedir@&$localedir&g
   22719   s&@mandir@&$mandir&g
   22720   s&\\\${datarootdir}&$datarootdir&g' ;;
   22721 esac
   22722 _ACEOF
   22723 
   22724 # Neutralize VPATH when `$srcdir' = `.'.
   22725 # Shell code in configure.ac might set extrasub.
   22726 # FIXME: do we really want to maintain this feature?
   22727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22728 ac_sed_extra="$ac_vpsub
   22729 $extrasub
   22730 _ACEOF
   22731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22732 :t
   22733 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22734 s|@configure_input@|$ac_sed_conf_input|;t t
   22735 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22736 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22737 s&@srcdir@&$ac_srcdir&;t t
   22738 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22739 s&@top_srcdir@&$ac_top_srcdir&;t t
   22740 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22741 s&@builddir@&$ac_builddir&;t t
   22742 s&@abs_builddir@&$ac_abs_builddir&;t t
   22743 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22744 s&@INSTALL@&$ac_INSTALL&;t t
   22745 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22746 $ac_datarootdir_hack
   22747 "
   22748 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22749   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22750 
   22751 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22752   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22753   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22754       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22755   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22756 which seems to be undefined.  Please make sure it is defined" >&5
   22757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22758 which seems to be undefined.  Please make sure it is defined" >&2;}
   22759 
   22760   rm -f "$ac_tmp/stdin"
   22761   case $ac_file in
   22762   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22763   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22764   esac \
   22765   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22766  ;;
   22767   :H)
   22768   #
   22769   # CONFIG_HEADER
   22770   #
   22771   if test x"$ac_file" != x-; then
   22772     {
   22773       $as_echo "/* $configure_input  */" \
   22774       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22775     } >"$ac_tmp/config.h" \
   22776       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22777     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22778       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22779 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22780     else
   22781       rm -f "$ac_file"
   22782       mv "$ac_tmp/config.h" "$ac_file" \
   22783 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22784     fi
   22785   else
   22786     $as_echo "/* $configure_input  */" \
   22787       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22788       || as_fn_error $? "could not create -" "$LINENO" 5
   22789   fi
   22790 # Compute "$ac_file"'s index in $config_headers.
   22791 _am_arg="$ac_file"
   22792 _am_stamp_count=1
   22793 for _am_header in $config_headers :; do
   22794   case $_am_header in
   22795     $_am_arg | $_am_arg:* )
   22796       break ;;
   22797     * )
   22798       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22799   esac
   22800 done
   22801 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22802 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22803 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22804 	 X"$_am_arg" : 'X\(//\)$' \| \
   22805 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22806 $as_echo X"$_am_arg" |
   22807     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22808 	    s//\1/
   22809 	    q
   22810 	  }
   22811 	  /^X\(\/\/\)[^/].*/{
   22812 	    s//\1/
   22813 	    q
   22814 	  }
   22815 	  /^X\(\/\/\)$/{
   22816 	    s//\1/
   22817 	    q
   22818 	  }
   22819 	  /^X\(\/\).*/{
   22820 	    s//\1/
   22821 	    q
   22822 	  }
   22823 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22824  ;;
   22825 
   22826   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22827 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22828  ;;
   22829   esac
   22830 
   22831 
   22832   case $ac_file$ac_mode in
   22833     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22834   # Older Autoconf quotes --file arguments for eval, but not when files
   22835   # are listed without --file.  Let's play safe and only enable the eval
   22836   # if we detect the quoting.
   22837   case $CONFIG_FILES in
   22838   *\'*) eval set x "$CONFIG_FILES" ;;
   22839   *)   set x $CONFIG_FILES ;;
   22840   esac
   22841   shift
   22842   for mf
   22843   do
   22844     # Strip MF so we end up with the name of the file.
   22845     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22846     # Check whether this is an Automake generated Makefile or not.
   22847     # We used to match only the files named 'Makefile.in', but
   22848     # some people rename them; so instead we look at the file content.
   22849     # Grep'ing the first line is not enough: some people post-process
   22850     # each Makefile.in and add a new line on top of each file to say so.
   22851     # Grep'ing the whole file is not good either: AIX grep has a line
   22852     # limit of 2048, but all sed's we know have understand at least 4000.
   22853     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22854       dirpart=`$as_dirname -- "$mf" ||
   22855 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22856 	 X"$mf" : 'X\(//\)[^/]' \| \
   22857 	 X"$mf" : 'X\(//\)$' \| \
   22858 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22859 $as_echo X"$mf" |
   22860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22861 	    s//\1/
   22862 	    q
   22863 	  }
   22864 	  /^X\(\/\/\)[^/].*/{
   22865 	    s//\1/
   22866 	    q
   22867 	  }
   22868 	  /^X\(\/\/\)$/{
   22869 	    s//\1/
   22870 	    q
   22871 	  }
   22872 	  /^X\(\/\).*/{
   22873 	    s//\1/
   22874 	    q
   22875 	  }
   22876 	  s/.*/./; q'`
   22877     else
   22878       continue
   22879     fi
   22880     # Extract the definition of DEPDIR, am__include, and am__quote
   22881     # from the Makefile without running 'make'.
   22882     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22883     test -z "$DEPDIR" && continue
   22884     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22885     test -z "$am__include" && continue
   22886     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22887     # Find all dependency output files, they are included files with
   22888     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22889     # simplest approach to changing $(DEPDIR) to its actual value in the
   22890     # expansion.
   22891     for file in `sed -n "
   22892       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22893 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   22894       # Make sure the directory exists.
   22895       test -f "$dirpart/$file" && continue
   22896       fdir=`$as_dirname -- "$file" ||
   22897 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22898 	 X"$file" : 'X\(//\)[^/]' \| \
   22899 	 X"$file" : 'X\(//\)$' \| \
   22900 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22901 $as_echo X"$file" |
   22902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22903 	    s//\1/
   22904 	    q
   22905 	  }
   22906 	  /^X\(\/\/\)[^/].*/{
   22907 	    s//\1/
   22908 	    q
   22909 	  }
   22910 	  /^X\(\/\/\)$/{
   22911 	    s//\1/
   22912 	    q
   22913 	  }
   22914 	  /^X\(\/\).*/{
   22915 	    s//\1/
   22916 	    q
   22917 	  }
   22918 	  s/.*/./; q'`
   22919       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   22920       # echo "creating $dirpart/$file"
   22921       echo '# dummy' > "$dirpart/$file"
   22922     done
   22923   done
   22924 }
   22925  ;;
   22926     "libtool":C)
   22927 
   22928     # See if we are running on zsh, and set the options that allow our
   22929     # commands through without removal of \ escapes.
   22930     if test -n "${ZSH_VERSION+set}"; then
   22931       setopt NO_GLOB_SUBST
   22932     fi
   22933 
   22934     cfgfile=${ofile}T
   22935     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22936     $RM "$cfgfile"
   22937 
   22938     cat <<_LT_EOF >> "$cfgfile"
   22939 #! $SHELL
   22940 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22941 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22942 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22943 
   22944 # Provide generalized library-building support services.
   22945 # Written by Gordon Matzigkeit, 1996
   22946 
   22947 # Copyright (C) 2014 Free Software Foundation, Inc.
   22948 # This is free software; see the source for copying conditions.  There is NO
   22949 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22950 
   22951 # GNU Libtool is free software; you can redistribute it and/or modify
   22952 # it under the terms of the GNU General Public License as published by
   22953 # the Free Software Foundation; either version 2 of of the License, or
   22954 # (at your option) any later version.
   22955 #
   22956 # As a special exception to the GNU General Public License, if you
   22957 # distribute this file as part of a program or library that is built
   22958 # using GNU Libtool, you may include this file under the  same
   22959 # distribution terms that you use for the rest of that program.
   22960 #
   22961 # GNU Libtool is distributed in the hope that it will be useful, but
   22962 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22963 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22964 # GNU General Public License for more details.
   22965 #
   22966 # You should have received a copy of the GNU General Public License
   22967 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22968 
   22969 
   22970 # The names of the tagged configurations supported by this script.
   22971 available_tags=''
   22972 
   22973 # Configured defaults for sys_lib_dlsearch_path munging.
   22974 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22975 
   22976 # ### BEGIN LIBTOOL CONFIG
   22977 
   22978 # Which release of libtool.m4 was used?
   22979 macro_version=$macro_version
   22980 macro_revision=$macro_revision
   22981 
   22982 # Assembler program.
   22983 AS=$lt_AS
   22984 
   22985 # DLL creation program.
   22986 DLLTOOL=$lt_DLLTOOL
   22987 
   22988 # Object dumper program.
   22989 OBJDUMP=$lt_OBJDUMP
   22990 
   22991 # Whether or not to build shared libraries.
   22992 build_libtool_libs=$enable_shared
   22993 
   22994 # Whether or not to build static libraries.
   22995 build_old_libs=$enable_static
   22996 
   22997 # What type of objects to build.
   22998 pic_mode=$pic_mode
   22999 
   23000 # Whether or not to optimize for fast installation.
   23001 fast_install=$enable_fast_install
   23002 
   23003 # Shared archive member basename,for filename based shared library versioning on AIX.
   23004 shared_archive_member_spec=$shared_archive_member_spec
   23005 
   23006 # Shell to use when invoking shell scripts.
   23007 SHELL=$lt_SHELL
   23008 
   23009 # An echo program that protects backslashes.
   23010 ECHO=$lt_ECHO
   23011 
   23012 # The PATH separator for the build system.
   23013 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23014 
   23015 # The host system.
   23016 host_alias=$host_alias
   23017 host=$host
   23018 host_os=$host_os
   23019 
   23020 # The build system.
   23021 build_alias=$build_alias
   23022 build=$build
   23023 build_os=$build_os
   23024 
   23025 # A sed program that does not truncate output.
   23026 SED=$lt_SED
   23027 
   23028 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23029 Xsed="\$SED -e 1s/^X//"
   23030 
   23031 # A grep program that handles long lines.
   23032 GREP=$lt_GREP
   23033 
   23034 # An ERE matcher.
   23035 EGREP=$lt_EGREP
   23036 
   23037 # A literal string matcher.
   23038 FGREP=$lt_FGREP
   23039 
   23040 # A BSD- or MS-compatible name lister.
   23041 NM=$lt_NM
   23042 
   23043 # Whether we need soft or hard links.
   23044 LN_S=$lt_LN_S
   23045 
   23046 # What is the maximum length of a command?
   23047 max_cmd_len=$max_cmd_len
   23048 
   23049 # Object file suffix (normally "o").
   23050 objext=$ac_objext
   23051 
   23052 # Executable file suffix (normally "").
   23053 exeext=$exeext
   23054 
   23055 # whether the shell understands "unset".
   23056 lt_unset=$lt_unset
   23057 
   23058 # turn spaces into newlines.
   23059 SP2NL=$lt_lt_SP2NL
   23060 
   23061 # turn newlines into spaces.
   23062 NL2SP=$lt_lt_NL2SP
   23063 
   23064 # convert \$build file names to \$host format.
   23065 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23066 
   23067 # convert \$build files to toolchain format.
   23068 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23069 
   23070 # Method to check whether dependent libraries are shared objects.
   23071 deplibs_check_method=$lt_deplibs_check_method
   23072 
   23073 # Command to use when deplibs_check_method = "file_magic".
   23074 file_magic_cmd=$lt_file_magic_cmd
   23075 
   23076 # How to find potential files when deplibs_check_method = "file_magic".
   23077 file_magic_glob=$lt_file_magic_glob
   23078 
   23079 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23080 want_nocaseglob=$lt_want_nocaseglob
   23081 
   23082 # Command to associate shared and link libraries.
   23083 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23084 
   23085 # The archiver.
   23086 AR=$lt_AR
   23087 
   23088 # Flags to create an archive.
   23089 AR_FLAGS=$lt_AR_FLAGS
   23090 
   23091 # How to feed a file listing to the archiver.
   23092 archiver_list_spec=$lt_archiver_list_spec
   23093 
   23094 # A symbol stripping program.
   23095 STRIP=$lt_STRIP
   23096 
   23097 # Commands used to install an old-style archive.
   23098 RANLIB=$lt_RANLIB
   23099 old_postinstall_cmds=$lt_old_postinstall_cmds
   23100 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23101 
   23102 # Whether to use a lock for old archive extraction.
   23103 lock_old_archive_extraction=$lock_old_archive_extraction
   23104 
   23105 # A C compiler.
   23106 LTCC=$lt_CC
   23107 
   23108 # LTCC compiler flags.
   23109 LTCFLAGS=$lt_CFLAGS
   23110 
   23111 # Take the output of nm and produce a listing of raw symbols and C names.
   23112 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23113 
   23114 # Transform the output of nm in a proper C declaration.
   23115 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23116 
   23117 # Transform the output of nm into a list of symbols to manually relocate.
   23118 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23119 
   23120 # Transform the output of nm in a C name address pair.
   23121 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23122 
   23123 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23124 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23125 
   23126 # The name lister interface.
   23127 nm_interface=$lt_lt_cv_nm_interface
   23128 
   23129 # Specify filename containing input files for \$NM.
   23130 nm_file_list_spec=$lt_nm_file_list_spec
   23131 
   23132 # The root where to search for dependent libraries,and where our libraries should be installed.
   23133 lt_sysroot=$lt_sysroot
   23134 
   23135 # Command to truncate a binary pipe.
   23136 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23137 
   23138 # The name of the directory that contains temporary libtool files.
   23139 objdir=$objdir
   23140 
   23141 # Used to examine libraries when file_magic_cmd begins with "file".
   23142 MAGIC_CMD=$MAGIC_CMD
   23143 
   23144 # Must we lock files when doing compilation?
   23145 need_locks=$lt_need_locks
   23146 
   23147 # Manifest tool.
   23148 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23149 
   23150 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23151 DSYMUTIL=$lt_DSYMUTIL
   23152 
   23153 # Tool to change global to local symbols on Mac OS X.
   23154 NMEDIT=$lt_NMEDIT
   23155 
   23156 # Tool to manipulate fat objects and archives on Mac OS X.
   23157 LIPO=$lt_LIPO
   23158 
   23159 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23160 OTOOL=$lt_OTOOL
   23161 
   23162 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23163 OTOOL64=$lt_OTOOL64
   23164 
   23165 # Old archive suffix (normally "a").
   23166 libext=$libext
   23167 
   23168 # Shared library suffix (normally ".so").
   23169 shrext_cmds=$lt_shrext_cmds
   23170 
   23171 # The commands to extract the exported symbol list from a shared archive.
   23172 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23173 
   23174 # Variables whose values should be saved in libtool wrapper scripts and
   23175 # restored at link time.
   23176 variables_saved_for_relink=$lt_variables_saved_for_relink
   23177 
   23178 # Do we need the "lib" prefix for modules?
   23179 need_lib_prefix=$need_lib_prefix
   23180 
   23181 # Do we need a version for libraries?
   23182 need_version=$need_version
   23183 
   23184 # Library versioning type.
   23185 version_type=$version_type
   23186 
   23187 # Shared library runtime path variable.
   23188 runpath_var=$runpath_var
   23189 
   23190 # Shared library path variable.
   23191 shlibpath_var=$shlibpath_var
   23192 
   23193 # Is shlibpath searched before the hard-coded library search path?
   23194 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23195 
   23196 # Format of library name prefix.
   23197 libname_spec=$lt_libname_spec
   23198 
   23199 # List of archive names.  First name is the real one, the rest are links.
   23200 # The last name is the one that the linker finds with -lNAME
   23201 library_names_spec=$lt_library_names_spec
   23202 
   23203 # The coded name of the library, if different from the real name.
   23204 soname_spec=$lt_soname_spec
   23205 
   23206 # Permission mode override for installation of shared libraries.
   23207 install_override_mode=$lt_install_override_mode
   23208 
   23209 # Command to use after installation of a shared archive.
   23210 postinstall_cmds=$lt_postinstall_cmds
   23211 
   23212 # Command to use after uninstallation of a shared archive.
   23213 postuninstall_cmds=$lt_postuninstall_cmds
   23214 
   23215 # Commands used to finish a libtool library installation in a directory.
   23216 finish_cmds=$lt_finish_cmds
   23217 
   23218 # As "finish_cmds", except a single script fragment to be evaled but
   23219 # not shown.
   23220 finish_eval=$lt_finish_eval
   23221 
   23222 # Whether we should hardcode library paths into libraries.
   23223 hardcode_into_libs=$hardcode_into_libs
   23224 
   23225 # Compile-time system search path for libraries.
   23226 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23227 
   23228 # Detected run-time system search path for libraries.
   23229 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23230 
   23231 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23232 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23233 
   23234 # Whether dlopen is supported.
   23235 dlopen_support=$enable_dlopen
   23236 
   23237 # Whether dlopen of programs is supported.
   23238 dlopen_self=$enable_dlopen_self
   23239 
   23240 # Whether dlopen of statically linked programs is supported.
   23241 dlopen_self_static=$enable_dlopen_self_static
   23242 
   23243 # Commands to strip libraries.
   23244 old_striplib=$lt_old_striplib
   23245 striplib=$lt_striplib
   23246 
   23247 
   23248 # The linker used to build libraries.
   23249 LD=$lt_LD
   23250 
   23251 # How to create reloadable object files.
   23252 reload_flag=$lt_reload_flag
   23253 reload_cmds=$lt_reload_cmds
   23254 
   23255 # Commands used to build an old-style archive.
   23256 old_archive_cmds=$lt_old_archive_cmds
   23257 
   23258 # A language specific compiler.
   23259 CC=$lt_compiler
   23260 
   23261 # Is the compiler the GNU compiler?
   23262 with_gcc=$GCC
   23263 
   23264 # Compiler flag to turn off builtin functions.
   23265 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23266 
   23267 # Additional compiler flags for building library objects.
   23268 pic_flag=$lt_lt_prog_compiler_pic
   23269 
   23270 # How to pass a linker flag through the compiler.
   23271 wl=$lt_lt_prog_compiler_wl
   23272 
   23273 # Compiler flag to prevent dynamic linking.
   23274 link_static_flag=$lt_lt_prog_compiler_static
   23275 
   23276 # Does compiler simultaneously support -c and -o options?
   23277 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23278 
   23279 # Whether or not to add -lc for building shared libraries.
   23280 build_libtool_need_lc=$archive_cmds_need_lc
   23281 
   23282 # Whether or not to disallow shared libs when runtime libs are static.
   23283 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23284 
   23285 # Compiler flag to allow reflexive dlopens.
   23286 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23287 
   23288 # Compiler flag to generate shared objects directly from archives.
   23289 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23290 
   23291 # Whether the compiler copes with passing no objects directly.
   23292 compiler_needs_object=$lt_compiler_needs_object
   23293 
   23294 # Create an old-style archive from a shared archive.
   23295 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23296 
   23297 # Create a temporary old-style archive to link instead of a shared archive.
   23298 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23299 
   23300 # Commands used to build a shared archive.
   23301 archive_cmds=$lt_archive_cmds
   23302 archive_expsym_cmds=$lt_archive_expsym_cmds
   23303 
   23304 # Commands used to build a loadable module if different from building
   23305 # a shared archive.
   23306 module_cmds=$lt_module_cmds
   23307 module_expsym_cmds=$lt_module_expsym_cmds
   23308 
   23309 # Whether we are building with GNU ld or not.
   23310 with_gnu_ld=$lt_with_gnu_ld
   23311 
   23312 # Flag that allows shared libraries with undefined symbols to be built.
   23313 allow_undefined_flag=$lt_allow_undefined_flag
   23314 
   23315 # Flag that enforces no undefined symbols.
   23316 no_undefined_flag=$lt_no_undefined_flag
   23317 
   23318 # Flag to hardcode \$libdir into a binary during linking.
   23319 # This must work even if \$libdir does not exist
   23320 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23321 
   23322 # Whether we need a single "-rpath" flag with a separated argument.
   23323 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23324 
   23325 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23326 # DIR into the resulting binary.
   23327 hardcode_direct=$hardcode_direct
   23328 
   23329 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23330 # DIR into the resulting binary and the resulting library dependency is
   23331 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23332 # library is relocated.
   23333 hardcode_direct_absolute=$hardcode_direct_absolute
   23334 
   23335 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23336 # into the resulting binary.
   23337 hardcode_minus_L=$hardcode_minus_L
   23338 
   23339 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23340 # into the resulting binary.
   23341 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23342 
   23343 # Set to "yes" if building a shared library automatically hardcodes DIR
   23344 # into the library and all subsequent libraries and executables linked
   23345 # against it.
   23346 hardcode_automatic=$hardcode_automatic
   23347 
   23348 # Set to yes if linker adds runtime paths of dependent libraries
   23349 # to runtime path list.
   23350 inherit_rpath=$inherit_rpath
   23351 
   23352 # Whether libtool must link a program against all its dependency libraries.
   23353 link_all_deplibs=$link_all_deplibs
   23354 
   23355 # Set to "yes" if exported symbols are required.
   23356 always_export_symbols=$always_export_symbols
   23357 
   23358 # The commands to list exported symbols.
   23359 export_symbols_cmds=$lt_export_symbols_cmds
   23360 
   23361 # Symbols that should not be listed in the preloaded symbols.
   23362 exclude_expsyms=$lt_exclude_expsyms
   23363 
   23364 # Symbols that must always be exported.
   23365 include_expsyms=$lt_include_expsyms
   23366 
   23367 # Commands necessary for linking programs (against libraries) with templates.
   23368 prelink_cmds=$lt_prelink_cmds
   23369 
   23370 # Commands necessary for finishing linking programs.
   23371 postlink_cmds=$lt_postlink_cmds
   23372 
   23373 # Specify filename containing input files.
   23374 file_list_spec=$lt_file_list_spec
   23375 
   23376 # How to hardcode a shared library path into an executable.
   23377 hardcode_action=$hardcode_action
   23378 
   23379 # ### END LIBTOOL CONFIG
   23380 
   23381 _LT_EOF
   23382 
   23383     cat <<'_LT_EOF' >> "$cfgfile"
   23384 
   23385 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23386 
   23387 # func_munge_path_list VARIABLE PATH
   23388 # -----------------------------------
   23389 # VARIABLE is name of variable containing _space_ separated list of
   23390 # directories to be munged by the contents of PATH, which is string
   23391 # having a format:
   23392 # "DIR[:DIR]:"
   23393 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23394 # ":DIR[:DIR]"
   23395 #       string "DIR[ DIR]" will be appended to VARIABLE
   23396 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23397 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23398 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23399 # "DIR[:DIR]"
   23400 #       VARIABLE will be replaced by "DIR[ DIR]"
   23401 func_munge_path_list ()
   23402 {
   23403     case x$2 in
   23404     x)
   23405         ;;
   23406     *:)
   23407         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23408         ;;
   23409     x:*)
   23410         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23411         ;;
   23412     *::*)
   23413         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23414         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23415         ;;
   23416     *)
   23417         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23418         ;;
   23419     esac
   23420 }
   23421 
   23422 
   23423 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23424 func_cc_basename ()
   23425 {
   23426     for cc_temp in $*""; do
   23427       case $cc_temp in
   23428         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23429         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23430         \-*) ;;
   23431         *) break;;
   23432       esac
   23433     done
   23434     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23435 }
   23436 
   23437 
   23438 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23439 
   23440 _LT_EOF
   23441 
   23442   case $host_os in
   23443   aix3*)
   23444     cat <<\_LT_EOF >> "$cfgfile"
   23445 # AIX sometimes has problems with the GCC collect2 program.  For some
   23446 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23447 # vanish in a puff of smoke.
   23448 if test set != "${COLLECT_NAMES+set}"; then
   23449   COLLECT_NAMES=
   23450   export COLLECT_NAMES
   23451 fi
   23452 _LT_EOF
   23453     ;;
   23454   esac
   23455 
   23456 
   23457 ltmain=$ac_aux_dir/ltmain.sh
   23458 
   23459 
   23460   # We use sed instead of cat because bash on DJGPP gets confused if
   23461   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23462   # text mode, it properly converts lines to CR/LF.  This bash problem
   23463   # is reportedly fixed, but why not run on old versions too?
   23464   sed '$q' "$ltmain" >> "$cfgfile" \
   23465      || (rm -f "$cfgfile"; exit 1)
   23466 
   23467    mv -f "$cfgfile" "$ofile" ||
   23468     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23469   chmod +x "$ofile"
   23470 
   23471  ;;
   23472 
   23473   esac
   23474 done # for ac_tag
   23475 
   23476 
   23477 as_fn_exit 0
   23478 _ACEOF
   23479 ac_clean_files=$ac_clean_files_save
   23480 
   23481 test $ac_write_fail = 0 ||
   23482   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23483 
   23484 
   23485 # configure is writing to config.log, and then calls config.status.
   23486 # config.status does its own redirection, appending to config.log.
   23487 # Unfortunately, on DOS this fails, as config.log is still kept open
   23488 # by configure, so config.status won't be able to write to it; its
   23489 # output is simply discarded.  So we exec the FD to /dev/null,
   23490 # effectively closing config.log, so it can be properly (re)opened and
   23491 # appended to by config.status.  When coming back to configure, we
   23492 # need to make the FD available again.
   23493 if test "$no_create" != yes; then
   23494   ac_cs_success=:
   23495   ac_config_status_args=
   23496   test "$silent" = yes &&
   23497     ac_config_status_args="$ac_config_status_args --quiet"
   23498   exec 5>/dev/null
   23499   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23500   exec 5>>config.log
   23501   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23502   # would make configure fail if this is the last instruction.
   23503   $ac_cs_success || as_fn_exit 1
   23504 fi
   23505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23506   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23508 fi
   23509 
   23510 
   23511 
   23512 echo ""
   23513 echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
   23514 echo ""
   23515 echo "  Configuration"
   23516 echo "    XDM support.........: ${have_xdmcp}"
   23517 echo "    sendmsg fd passing..: ${have_sendmsg}"
   23518 echo "    Build unit tests....: ${HAVE_CHECK}"
   23519 echo "      with html results.: ${HTML_CHECK_RESULT}"
   23520 echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
   23521 echo ""
   23522 echo "  X11 extensions"
   23523 echo "    Composite...........: ${BUILD_COMPOSITE}"
   23524 echo "    Damage..............: ${BUILD_DAMAGE}"
   23525 echo "    Dpms................: ${BUILD_DPMS}"
   23526 echo "    Dri2................: ${BUILD_DRI2}"
   23527 echo "    Dri3................: ${BUILD_DRI3}"
   23528 echo "    Glx.................: ${BUILD_GLX}"
   23529 echo "    Randr...............: ${BUILD_RANDR}"
   23530 echo "    Record..............: ${BUILD_RECORD}"
   23531 echo "    Render..............: ${BUILD_RENDER}"
   23532 echo "    Resource............: ${BUILD_RESOURCE}"
   23533 echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
   23534 echo "    selinux.............: ${BUILD_SELINUX}"
   23535 echo "    Shape...............: ${BUILD_SHAPE}"
   23536 echo "    Shm.................: ${BUILD_SHM}"
   23537 echo "    Sync................: ${BUILD_SYNC}"
   23538 echo "    Xevie...............: ${BUILD_XEVIE}"
   23539 echo "    Xfixes..............: ${BUILD_XFIXES}"
   23540 echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
   23541 echo "    xinerama............: ${BUILD_XINERAMA}"
   23542 echo "    xinput..............: ${BUILD_XINPUT}"
   23543 echo "    xkb.................: ${BUILD_XKB}"
   23544 echo "    xprint..............: ${BUILD_XPRINT}"
   23545 echo "    xtest...............: ${BUILD_XTEST}"
   23546 echo "    xv..................: ${BUILD_XV}"
   23547 echo "    xvmc................: ${BUILD_XVMC}"
   23548 echo ""
   23549 echo "  Used CFLAGS:"
   23550 echo "    CPPFLAGS............: ${CPPFLAGS}"
   23551 echo "    CFLAGS..............: ${CFLAGS}"
   23552 echo ""
   23553 echo "  Installation:"
   23554 echo "    Prefix..............: ${prefix}"
   23555 echo ""
   23556