Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libxcb 1.13.
      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.13'
    595 PACKAGE_STRING='libxcb 1.13'
    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_GE_FALSE
    686 BUILD_GE_TRUE
    687 BUILD_DRI3_FALSE
    688 BUILD_DRI3_TRUE
    689 BUILD_DRI2_FALSE
    690 BUILD_DRI2_TRUE
    691 BUILD_DPMS_FALSE
    692 BUILD_DPMS_TRUE
    693 BUILD_DAMAGE_FALSE
    694 BUILD_DAMAGE_TRUE
    695 BUILD_COMPOSITE_FALSE
    696 BUILD_COMPOSITE_TRUE
    697 xcbincludedir
    698 XCB_HAVE_WIN32_FALSE
    699 XCB_HAVE_WIN32_TRUE
    700 lt_enable_auto_import
    701 XCBPROTO_XCBPYTHONDIR
    702 XCBPROTO_VERSION
    703 XCBPROTO_XCBINCLUDEDIR
    704 NEEDED
    705 XDMCP_LIBS
    706 XDMCP_CFLAGS
    707 NEEDED_LIBS
    708 NEEDED_CFLAGS
    709 XCBPROTO_LIBS
    710 XCBPROTO_CFLAGS
    711 HTML_CHECK_RESULT
    712 XSLTPROC
    713 HAVE_CHECK_FALSE
    714 HAVE_CHECK_TRUE
    715 CHECK_LIBS
    716 CHECK_CFLAGS
    717 HAVE_DOXYGEN_FALSE
    718 HAVE_DOXYGEN_TRUE
    719 HAVE_DOT_FALSE
    720 HAVE_DOT_TRUE
    721 HAVE_DOT
    722 DOT
    723 DOXYGEN
    724 ENABLE_DEVEL_DOCS_FALSE
    725 ENABLE_DEVEL_DOCS_TRUE
    726 MAN_SUBSTS
    727 XORG_MAN_PAGE
    728 ADMIN_MAN_DIR
    729 DRIVER_MAN_DIR
    730 MISC_MAN_DIR
    731 FILE_MAN_DIR
    732 LIB_MAN_DIR
    733 APP_MAN_DIR
    734 ADMIN_MAN_SUFFIX
    735 DRIVER_MAN_SUFFIX
    736 MISC_MAN_SUFFIX
    737 FILE_MAN_SUFFIX
    738 LIB_MAN_SUFFIX
    739 APP_MAN_SUFFIX
    740 INSTALL_CMD
    741 PKG_CONFIG_LIBDIR
    742 PKG_CONFIG_PATH
    743 PKG_CONFIG
    744 CHANGELOG_CMD
    745 STRICT_CFLAGS
    746 CWARNFLAGS
    747 BASE_CFLAGS
    748 LT_SYS_LIBRARY_PATH
    749 OTOOL64
    750 OTOOL
    751 LIPO
    752 NMEDIT
    753 DSYMUTIL
    754 MANIFEST_TOOL
    755 RANLIB
    756 ac_ct_AR
    757 AR
    758 LN_S
    759 NM
    760 ac_ct_DUMPBIN
    761 DUMPBIN
    762 LD
    763 FGREP
    764 SED
    765 host_os
    766 host_vendor
    767 host_cpu
    768 host
    769 build_os
    770 build_vendor
    771 build_cpu
    772 build
    773 LIBTOOL
    774 OBJDUMP
    775 DLLTOOL
    776 AS
    777 EGREP
    778 GREP
    779 CPP
    780 am__fastdepCC_FALSE
    781 am__fastdepCC_TRUE
    782 CCDEPMODE
    783 am__nodep
    784 AMDEPBACKSLASH
    785 AMDEP_FALSE
    786 AMDEP_TRUE
    787 am__quote
    788 am__include
    789 DEPDIR
    790 OBJEXT
    791 EXEEXT
    792 ac_ct_CC
    793 CPPFLAGS
    794 LDFLAGS
    795 CFLAGS
    796 CC
    797 pkgpyexecdir
    798 pyexecdir
    799 pkgpythondir
    800 pythondir
    801 PYTHON_PLATFORM
    802 PYTHON_EXEC_PREFIX
    803 PYTHON_PREFIX
    804 PYTHON_VERSION
    805 PYTHON
    806 AM_BACKSLASH
    807 AM_DEFAULT_VERBOSITY
    808 AM_DEFAULT_V
    809 AM_V
    810 am__untar
    811 am__tar
    812 AMTAR
    813 am__leading_dot
    814 SET_MAKE
    815 AWK
    816 mkdir_p
    817 MKDIR_P
    818 INSTALL_STRIP_PROGRAM
    819 STRIP
    820 install_sh
    821 MAKEINFO
    822 AUTOHEADER
    823 AUTOMAKE
    824 AUTOCONF
    825 ACLOCAL
    826 VERSION
    827 PACKAGE
    828 CYGPATH_W
    829 am__isrc
    830 INSTALL_DATA
    831 INSTALL_SCRIPT
    832 INSTALL_PROGRAM
    833 target_alias
    834 host_alias
    835 build_alias
    836 LIBS
    837 ECHO_T
    838 ECHO_N
    839 ECHO_C
    840 DEFS
    841 mandir
    842 localedir
    843 libdir
    844 psdir
    845 pdfdir
    846 dvidir
    847 htmldir
    848 infodir
    849 docdir
    850 oldincludedir
    851 includedir
    852 localstatedir
    853 sharedstatedir
    854 sysconfdir
    855 datadir
    856 datarootdir
    857 libexecdir
    858 sbindir
    859 bindir
    860 program_transform_name
    861 prefix
    862 exec_prefix
    863 PACKAGE_URL
    864 PACKAGE_BUGREPORT
    865 PACKAGE_STRING
    866 PACKAGE_VERSION
    867 PACKAGE_TARNAME
    868 PACKAGE_NAME
    869 PATH_SEPARATOR
    870 SHELL'
    871 ac_subst_files=''
    872 ac_user_opts='
    873 enable_option_checking
    874 enable_silent_rules
    875 enable_dependency_tracking
    876 enable_shared
    877 enable_static
    878 with_pic
    879 enable_fast_install
    880 with_aix_soname
    881 with_gnu_ld
    882 with_sysroot
    883 enable_libtool_lock
    884 enable_selective_werror
    885 enable_strict_compilation
    886 enable_devel_docs
    887 with_doxygen
    888 with_queue_size
    889 enable_composite
    890 enable_damage
    891 enable_dpms
    892 enable_dri2
    893 enable_dri3
    894 enable_ge
    895 enable_glx
    896 enable_present
    897 enable_randr
    898 enable_record
    899 enable_render
    900 enable_resource
    901 enable_screensaver
    902 enable_shape
    903 enable_shm
    904 enable_sync
    905 enable_xevie
    906 enable_xfixes
    907 enable_xfree86_dri
    908 enable_xinerama
    909 enable_xinput
    910 enable_xkb
    911 enable_xprint
    912 enable_selinux
    913 enable_xtest
    914 enable_xv
    915 enable_xvmc
    916 with_launchd
    917 with_serverside_support
    918 '
    919       ac_precious_vars='build_alias
    920 host_alias
    921 target_alias
    922 PYTHON
    923 CC
    924 CFLAGS
    925 LDFLAGS
    926 LIBS
    927 CPPFLAGS
    928 CPP
    929 LT_SYS_LIBRARY_PATH
    930 PKG_CONFIG
    931 PKG_CONFIG_PATH
    932 PKG_CONFIG_LIBDIR
    933 DOXYGEN
    934 DOT
    935 CHECK_CFLAGS
    936 CHECK_LIBS
    937 XCBPROTO_CFLAGS
    938 XCBPROTO_LIBS
    939 NEEDED_CFLAGS
    940 NEEDED_LIBS
    941 XDMCP_CFLAGS
    942 XDMCP_LIBS'
    943 
    944 
    945 # Initialize some variables set by options.
    946 ac_init_help=
    947 ac_init_version=false
    948 ac_unrecognized_opts=
    949 ac_unrecognized_sep=
    950 # The variables have the same names as the options, with
    951 # dashes changed to underlines.
    952 cache_file=/dev/null
    953 exec_prefix=NONE
    954 no_create=
    955 no_recursion=
    956 prefix=NONE
    957 program_prefix=NONE
    958 program_suffix=NONE
    959 program_transform_name=s,x,x,
    960 silent=
    961 site=
    962 srcdir=
    963 verbose=
    964 x_includes=NONE
    965 x_libraries=NONE
    966 
    967 # Installation directory options.
    968 # These are left unexpanded so users can "make install exec_prefix=/foo"
    969 # and all the variables that are supposed to be based on exec_prefix
    970 # by default will actually change.
    971 # Use braces instead of parens because sh, perl, etc. also accept them.
    972 # (The list follows the same order as the GNU Coding Standards.)
    973 bindir='${exec_prefix}/bin'
    974 sbindir='${exec_prefix}/sbin'
    975 libexecdir='${exec_prefix}/libexec'
    976 datarootdir='${prefix}/share'
    977 datadir='${datarootdir}'
    978 sysconfdir='${prefix}/etc'
    979 sharedstatedir='${prefix}/com'
    980 localstatedir='${prefix}/var'
    981 includedir='${prefix}/include'
    982 oldincludedir='/usr/include'
    983 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    984 infodir='${datarootdir}/info'
    985 htmldir='${docdir}'
    986 dvidir='${docdir}'
    987 pdfdir='${docdir}'
    988 psdir='${docdir}'
    989 libdir='${exec_prefix}/lib'
    990 localedir='${datarootdir}/locale'
    991 mandir='${datarootdir}/man'
    992 
    993 ac_prev=
    994 ac_dashdash=
    995 for ac_option
    996 do
    997   # If the previous option needs an argument, assign it.
    998   if test -n "$ac_prev"; then
    999     eval $ac_prev=\$ac_option
   1000     ac_prev=
   1001     continue
   1002   fi
   1003 
   1004   case $ac_option in
   1005   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1006   *=)   ac_optarg= ;;
   1007   *)    ac_optarg=yes ;;
   1008   esac
   1009 
   1010   # Accept the important Cygnus configure options, so we can diagnose typos.
   1011 
   1012   case $ac_dashdash$ac_option in
   1013   --)
   1014     ac_dashdash=yes ;;
   1015 
   1016   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1017     ac_prev=bindir ;;
   1018   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1019     bindir=$ac_optarg ;;
   1020 
   1021   -build | --build | --buil | --bui | --bu)
   1022     ac_prev=build_alias ;;
   1023   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1024     build_alias=$ac_optarg ;;
   1025 
   1026   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1027   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1028     ac_prev=cache_file ;;
   1029   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1030   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1031     cache_file=$ac_optarg ;;
   1032 
   1033   --config-cache | -C)
   1034     cache_file=config.cache ;;
   1035 
   1036   -datadir | --datadir | --datadi | --datad)
   1037     ac_prev=datadir ;;
   1038   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1039     datadir=$ac_optarg ;;
   1040 
   1041   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1042   | --dataroo | --dataro | --datar)
   1043     ac_prev=datarootdir ;;
   1044   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1045   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1046     datarootdir=$ac_optarg ;;
   1047 
   1048   -disable-* | --disable-*)
   1049     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1050     # Reject names that are not valid shell variable names.
   1051     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1052       as_fn_error $? "invalid feature name: $ac_useropt"
   1053     ac_useropt_orig=$ac_useropt
   1054     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1055     case $ac_user_opts in
   1056       *"
   1057 "enable_$ac_useropt"
   1058 "*) ;;
   1059       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1060 	 ac_unrecognized_sep=', ';;
   1061     esac
   1062     eval enable_$ac_useropt=no ;;
   1063 
   1064   -docdir | --docdir | --docdi | --doc | --do)
   1065     ac_prev=docdir ;;
   1066   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1067     docdir=$ac_optarg ;;
   1068 
   1069   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1070     ac_prev=dvidir ;;
   1071   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1072     dvidir=$ac_optarg ;;
   1073 
   1074   -enable-* | --enable-*)
   1075     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1076     # Reject names that are not valid shell variable names.
   1077     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1078       as_fn_error $? "invalid feature name: $ac_useropt"
   1079     ac_useropt_orig=$ac_useropt
   1080     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1081     case $ac_user_opts in
   1082       *"
   1083 "enable_$ac_useropt"
   1084 "*) ;;
   1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1086 	 ac_unrecognized_sep=', ';;
   1087     esac
   1088     eval enable_$ac_useropt=\$ac_optarg ;;
   1089 
   1090   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1091   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1092   | --exec | --exe | --ex)
   1093     ac_prev=exec_prefix ;;
   1094   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1095   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1096   | --exec=* | --exe=* | --ex=*)
   1097     exec_prefix=$ac_optarg ;;
   1098 
   1099   -gas | --gas | --ga | --g)
   1100     # Obsolete; use --with-gas.
   1101     with_gas=yes ;;
   1102 
   1103   -help | --help | --hel | --he | -h)
   1104     ac_init_help=long ;;
   1105   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1106     ac_init_help=recursive ;;
   1107   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1108     ac_init_help=short ;;
   1109 
   1110   -host | --host | --hos | --ho)
   1111     ac_prev=host_alias ;;
   1112   -host=* | --host=* | --hos=* | --ho=*)
   1113     host_alias=$ac_optarg ;;
   1114 
   1115   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1116     ac_prev=htmldir ;;
   1117   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1118   | --ht=*)
   1119     htmldir=$ac_optarg ;;
   1120 
   1121   -includedir | --includedir | --includedi | --included | --include \
   1122   | --includ | --inclu | --incl | --inc)
   1123     ac_prev=includedir ;;
   1124   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1125   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1126     includedir=$ac_optarg ;;
   1127 
   1128   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1129     ac_prev=infodir ;;
   1130   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1131     infodir=$ac_optarg ;;
   1132 
   1133   -libdir | --libdir | --libdi | --libd)
   1134     ac_prev=libdir ;;
   1135   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1136     libdir=$ac_optarg ;;
   1137 
   1138   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1139   | --libexe | --libex | --libe)
   1140     ac_prev=libexecdir ;;
   1141   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1142   | --libexe=* | --libex=* | --libe=*)
   1143     libexecdir=$ac_optarg ;;
   1144 
   1145   -localedir | --localedir | --localedi | --localed | --locale)
   1146     ac_prev=localedir ;;
   1147   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1148     localedir=$ac_optarg ;;
   1149 
   1150   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1151   | --localstate | --localstat | --localsta | --localst | --locals)
   1152     ac_prev=localstatedir ;;
   1153   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1154   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1155     localstatedir=$ac_optarg ;;
   1156 
   1157   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1158     ac_prev=mandir ;;
   1159   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1160     mandir=$ac_optarg ;;
   1161 
   1162   -nfp | --nfp | --nf)
   1163     # Obsolete; use --without-fp.
   1164     with_fp=no ;;
   1165 
   1166   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1167   | --no-cr | --no-c | -n)
   1168     no_create=yes ;;
   1169 
   1170   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1171   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1172     no_recursion=yes ;;
   1173 
   1174   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1175   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1176   | --oldin | --oldi | --old | --ol | --o)
   1177     ac_prev=oldincludedir ;;
   1178   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1179   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1180   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1181     oldincludedir=$ac_optarg ;;
   1182 
   1183   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1184     ac_prev=prefix ;;
   1185   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1186     prefix=$ac_optarg ;;
   1187 
   1188   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1189   | --program-pre | --program-pr | --program-p)
   1190     ac_prev=program_prefix ;;
   1191   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1192   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1193     program_prefix=$ac_optarg ;;
   1194 
   1195   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1196   | --program-suf | --program-su | --program-s)
   1197     ac_prev=program_suffix ;;
   1198   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1199   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1200     program_suffix=$ac_optarg ;;
   1201 
   1202   -program-transform-name | --program-transform-name \
   1203   | --program-transform-nam | --program-transform-na \
   1204   | --program-transform-n | --program-transform- \
   1205   | --program-transform | --program-transfor \
   1206   | --program-transfo | --program-transf \
   1207   | --program-trans | --program-tran \
   1208   | --progr-tra | --program-tr | --program-t)
   1209     ac_prev=program_transform_name ;;
   1210   -program-transform-name=* | --program-transform-name=* \
   1211   | --program-transform-nam=* | --program-transform-na=* \
   1212   | --program-transform-n=* | --program-transform-=* \
   1213   | --program-transform=* | --program-transfor=* \
   1214   | --program-transfo=* | --program-transf=* \
   1215   | --program-trans=* | --program-tran=* \
   1216   | --progr-tra=* | --program-tr=* | --program-t=*)
   1217     program_transform_name=$ac_optarg ;;
   1218 
   1219   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1220     ac_prev=pdfdir ;;
   1221   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1222     pdfdir=$ac_optarg ;;
   1223 
   1224   -psdir | --psdir | --psdi | --psd | --ps)
   1225     ac_prev=psdir ;;
   1226   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1227     psdir=$ac_optarg ;;
   1228 
   1229   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1230   | -silent | --silent | --silen | --sile | --sil)
   1231     silent=yes ;;
   1232 
   1233   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1234     ac_prev=sbindir ;;
   1235   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1236   | --sbi=* | --sb=*)
   1237     sbindir=$ac_optarg ;;
   1238 
   1239   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1240   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1241   | --sharedst | --shareds | --shared | --share | --shar \
   1242   | --sha | --sh)
   1243     ac_prev=sharedstatedir ;;
   1244   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1245   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1246   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1247   | --sha=* | --sh=*)
   1248     sharedstatedir=$ac_optarg ;;
   1249 
   1250   -site | --site | --sit)
   1251     ac_prev=site ;;
   1252   -site=* | --site=* | --sit=*)
   1253     site=$ac_optarg ;;
   1254 
   1255   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1256     ac_prev=srcdir ;;
   1257   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1258     srcdir=$ac_optarg ;;
   1259 
   1260   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1261   | --syscon | --sysco | --sysc | --sys | --sy)
   1262     ac_prev=sysconfdir ;;
   1263   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1264   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1265     sysconfdir=$ac_optarg ;;
   1266 
   1267   -target | --target | --targe | --targ | --tar | --ta | --t)
   1268     ac_prev=target_alias ;;
   1269   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1270     target_alias=$ac_optarg ;;
   1271 
   1272   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1273     verbose=yes ;;
   1274 
   1275   -version | --version | --versio | --versi | --vers | -V)
   1276     ac_init_version=: ;;
   1277 
   1278   -with-* | --with-*)
   1279     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1280     # Reject names that are not valid shell variable names.
   1281     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1282       as_fn_error $? "invalid package name: $ac_useropt"
   1283     ac_useropt_orig=$ac_useropt
   1284     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1285     case $ac_user_opts in
   1286       *"
   1287 "with_$ac_useropt"
   1288 "*) ;;
   1289       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1290 	 ac_unrecognized_sep=', ';;
   1291     esac
   1292     eval with_$ac_useropt=\$ac_optarg ;;
   1293 
   1294   -without-* | --without-*)
   1295     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1296     # Reject names that are not valid shell variable names.
   1297     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1298       as_fn_error $? "invalid package name: $ac_useropt"
   1299     ac_useropt_orig=$ac_useropt
   1300     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1301     case $ac_user_opts in
   1302       *"
   1303 "with_$ac_useropt"
   1304 "*) ;;
   1305       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1306 	 ac_unrecognized_sep=', ';;
   1307     esac
   1308     eval with_$ac_useropt=no ;;
   1309 
   1310   --x)
   1311     # Obsolete; use --with-x.
   1312     with_x=yes ;;
   1313 
   1314   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1315   | --x-incl | --x-inc | --x-in | --x-i)
   1316     ac_prev=x_includes ;;
   1317   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1318   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1319     x_includes=$ac_optarg ;;
   1320 
   1321   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1322   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1323     ac_prev=x_libraries ;;
   1324   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1325   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1326     x_libraries=$ac_optarg ;;
   1327 
   1328   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1329 Try \`$0 --help' for more information"
   1330     ;;
   1331 
   1332   *=*)
   1333     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1334     # Reject names that are not valid shell variable names.
   1335     case $ac_envvar in #(
   1336       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1337       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1338     esac
   1339     eval $ac_envvar=\$ac_optarg
   1340     export $ac_envvar ;;
   1341 
   1342   *)
   1343     # FIXME: should be removed in autoconf 3.0.
   1344     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1345     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1346       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1347     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1348     ;;
   1349 
   1350   esac
   1351 done
   1352 
   1353 if test -n "$ac_prev"; then
   1354   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1355   as_fn_error $? "missing argument to $ac_option"
   1356 fi
   1357 
   1358 if test -n "$ac_unrecognized_opts"; then
   1359   case $enable_option_checking in
   1360     no) ;;
   1361     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1362     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1363   esac
   1364 fi
   1365 
   1366 # Check all directory arguments for consistency.
   1367 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1368 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1369 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1370 		libdir localedir mandir
   1371 do
   1372   eval ac_val=\$$ac_var
   1373   # Remove trailing slashes.
   1374   case $ac_val in
   1375     */ )
   1376       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1377       eval $ac_var=\$ac_val;;
   1378   esac
   1379   # Be sure to have absolute directory names.
   1380   case $ac_val in
   1381     [\\/$]* | ?:[\\/]* )  continue;;
   1382     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1383   esac
   1384   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1385 done
   1386 
   1387 # There might be people who depend on the old broken behavior: `$host'
   1388 # used to hold the argument of --host etc.
   1389 # FIXME: To remove some day.
   1390 build=$build_alias
   1391 host=$host_alias
   1392 target=$target_alias
   1393 
   1394 # FIXME: To remove some day.
   1395 if test "x$host_alias" != x; then
   1396   if test "x$build_alias" = x; then
   1397     cross_compiling=maybe
   1398   elif test "x$build_alias" != "x$host_alias"; then
   1399     cross_compiling=yes
   1400   fi
   1401 fi
   1402 
   1403 ac_tool_prefix=
   1404 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1405 
   1406 test "$silent" = yes && exec 6>/dev/null
   1407 
   1408 
   1409 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1410 ac_ls_di=`ls -di .` &&
   1411 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1412   as_fn_error $? "working directory cannot be determined"
   1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1414   as_fn_error $? "pwd does not report name of working directory"
   1415 
   1416 
   1417 # Find the source files, if location was not specified.
   1418 if test -z "$srcdir"; then
   1419   ac_srcdir_defaulted=yes
   1420   # Try the directory containing this script, then the parent directory.
   1421   ac_confdir=`$as_dirname -- "$as_myself" ||
   1422 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1423 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1424 	 X"$as_myself" : 'X\(//\)$' \| \
   1425 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1426 $as_echo X"$as_myself" |
   1427     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1428 	    s//\1/
   1429 	    q
   1430 	  }
   1431 	  /^X\(\/\/\)[^/].*/{
   1432 	    s//\1/
   1433 	    q
   1434 	  }
   1435 	  /^X\(\/\/\)$/{
   1436 	    s//\1/
   1437 	    q
   1438 	  }
   1439 	  /^X\(\/\).*/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  s/.*/./; q'`
   1444   srcdir=$ac_confdir
   1445   if test ! -r "$srcdir/$ac_unique_file"; then
   1446     srcdir=..
   1447   fi
   1448 else
   1449   ac_srcdir_defaulted=no
   1450 fi
   1451 if test ! -r "$srcdir/$ac_unique_file"; then
   1452   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1453   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1454 fi
   1455 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1456 ac_abs_confdir=`(
   1457 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1458 	pwd)`
   1459 # When building in place, set srcdir=.
   1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1461   srcdir=.
   1462 fi
   1463 # Remove unnecessary trailing slashes from srcdir.
   1464 # Double slashes in file names in object file debugging info
   1465 # mess up M-x gdb in Emacs.
   1466 case $srcdir in
   1467 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1468 esac
   1469 for ac_var in $ac_precious_vars; do
   1470   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1471   eval ac_env_${ac_var}_value=\$${ac_var}
   1472   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1473   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1474 done
   1475 
   1476 #
   1477 # Report the --help message.
   1478 #
   1479 if test "$ac_init_help" = "long"; then
   1480   # Omit some internal or obsolete options to make the list less imposing.
   1481   # This message is too long to be a string in the A/UX 3.1 sh.
   1482   cat <<_ACEOF
   1483 \`configure' configures libxcb 1.13 to adapt to many kinds of systems.
   1484 
   1485 Usage: $0 [OPTION]... [VAR=VALUE]...
   1486 
   1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1488 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1489 
   1490 Defaults for the options are specified in brackets.
   1491 
   1492 Configuration:
   1493   -h, --help              display this help and exit
   1494       --help=short        display options specific to this package
   1495       --help=recursive    display the short help of all the included packages
   1496   -V, --version           display version information and exit
   1497   -q, --quiet, --silent   do not print \`checking ...' messages
   1498       --cache-file=FILE   cache test results in FILE [disabled]
   1499   -C, --config-cache      alias for \`--cache-file=config.cache'
   1500   -n, --no-create         do not create output files
   1501       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1502 
   1503 Installation directories:
   1504   --prefix=PREFIX         install architecture-independent files in PREFIX
   1505                           [$ac_default_prefix]
   1506   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1507                           [PREFIX]
   1508 
   1509 By default, \`make install' will install all the files in
   1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1512 for instance \`--prefix=\$HOME'.
   1513 
   1514 For better control, use the options below.
   1515 
   1516 Fine tuning of the installation directories:
   1517   --bindir=DIR            user executables [EPREFIX/bin]
   1518   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1519   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1520   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1521   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1522   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1523   --libdir=DIR            object code libraries [EPREFIX/lib]
   1524   --includedir=DIR        C header files [PREFIX/include]
   1525   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1526   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1527   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1528   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1529   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1530   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1531   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxcb]
   1532   --htmldir=DIR           html documentation [DOCDIR]
   1533   --dvidir=DIR            dvi documentation [DOCDIR]
   1534   --pdfdir=DIR            pdf documentation [DOCDIR]
   1535   --psdir=DIR             ps documentation [DOCDIR]
   1536 _ACEOF
   1537 
   1538   cat <<\_ACEOF
   1539 
   1540 Program names:
   1541   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1542   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1543   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1544 
   1545 System types:
   1546   --build=BUILD     configure for building on BUILD [guessed]
   1547   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1548 _ACEOF
   1549 fi
   1550 
   1551 if test -n "$ac_init_help"; then
   1552   case $ac_init_help in
   1553      short | recursive ) echo "Configuration of libxcb 1.13:";;
   1554    esac
   1555   cat <<\_ACEOF
   1556 
   1557 Optional Features:
   1558   --disable-option-checking  ignore unrecognized --enable/--with options
   1559   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1560   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1561   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1562   --disable-silent-rules  verbose build output (undo: "make V=0")
   1563   --enable-dependency-tracking
   1564                           do not reject slow dependency extractors
   1565   --disable-dependency-tracking
   1566                           speeds up one-time build
   1567   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1568   --enable-static[=PKGS]  build static libraries [default=yes]
   1569   --enable-fast-install[=PKGS]
   1570                           optimize for fast installation [default=yes]
   1571   --disable-libtool-lock  avoid locking (might break parallel builds)
   1572   --disable-selective-werror
   1573                           Turn off selective compiler errors. (default:
   1574                           enabled)
   1575   --enable-strict-compilation
   1576                           Enable all warnings from compiler and make them
   1577                           errors (default: disabled)
   1578   --enable-devel-docs     Enable building the developer documentation
   1579                           (default: yes)
   1580   --enable-composite      Build XCB Composite Extension (default: yes)
   1581   --enable-damage         Build XCB Damage Extension (default: yes)
   1582   --enable-dpms           Build XCB DPMS Extension (default: yes)
   1583   --enable-dri2           Build XCB DRI2 Extension (default: yes)
   1584   --enable-dri3           Build XCB DRI3 Extension (default: auto)
   1585   --enable-ge             Build XCB GE Extension (default: no)
   1586   --enable-glx            Build XCB GLX Extension (default: yes)
   1587   --enable-present        Build XCB Present Extension (default: yes)
   1588   --enable-randr          Build XCB RandR Extension (default: yes)
   1589   --enable-record         Build XCB Record Extension (default: yes)
   1590   --enable-render         Build XCB Render Extension (default: yes)
   1591   --enable-resource       Build XCB Resource Extension (default: yes)
   1592   --enable-screensaver    Build XCB Screensaver Extension (default: yes)
   1593   --enable-shape          Build XCB Shape Extension (default: yes)
   1594   --enable-shm            Build XCB Shm Extension (default: yes)
   1595   --enable-sync           Build XCB Sync Extension (default: yes)
   1596   --enable-xevie          Build XCB Xevie Extension (default: no)
   1597   --enable-xfixes         Build XCB XFixes Extension (default: yes)
   1598   --enable-xfree86-dri    Build XCB XFree86-DRI Extension (default: yes)
   1599   --enable-xinerama       Build XCB Xinerama Extension (default: yes)
   1600   --enable-xinput         Build XCB XInput Extension (default: yes)
   1601   --enable-xkb            Build XCB XKB Extension (default: yes)
   1602   --enable-xprint         Build XCB Xprint Extension (default: no)
   1603   --enable-selinux        Build XCB SELinux Extension (default: no)
   1604   --enable-xtest          Build XCB XTest Extension (default: yes)
   1605   --enable-xv             Build XCB Xv Extension (default: yes)
   1606   --enable-xvmc           Build XCB XvMC Extension (default: yes)
   1607 
   1608 Optional Packages:
   1609   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1610   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1611   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1612                           both]
   1613   --with-aix-soname=aix|svr4|both
   1614                           shared library versioning (aka "SONAME") variant to
   1615                           provide on AIX, [default=aix].
   1616   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1617   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1618                           compiler's sysroot if not specified).
   1619   --with-doxygen          Use doxygen to regenerate documentation (default:
   1620                           auto)
   1621   --with-queue-size=SIZE  Set the XCB buffer queue size (default is 16384)
   1622   --with-launchd          Build with support for Apple's launchd (default:
   1623                           auto)
   1624   --with-serverside-support
   1625                           Build with support for server-side usage of xcb.
   1626                           This is still EXPERIMENTAL! ABI/API may change!
   1627                           (default: no)
   1628 
   1629 Some influential environment variables:
   1630   PYTHON      the Python interpreter
   1631   CC          C compiler command
   1632   CFLAGS      C compiler flags
   1633   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1634               nonstandard directory <lib dir>
   1635   LIBS        libraries to pass to the linker, e.g. -l<library>
   1636   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1637               you have headers in a nonstandard directory <include dir>
   1638   CPP         C preprocessor
   1639   LT_SYS_LIBRARY_PATH
   1640               User-defined run-time library search path.
   1641   PKG_CONFIG  path to pkg-config utility
   1642   PKG_CONFIG_PATH
   1643               directories to add to pkg-config's search path
   1644   PKG_CONFIG_LIBDIR
   1645               path overriding pkg-config's built-in search path
   1646   DOXYGEN     Path to doxygen command
   1647   DOT         Path to the dot graphics utility
   1648   CHECK_CFLAGS
   1649               C compiler flags for CHECK, overriding pkg-config
   1650   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
   1651   XCBPROTO_CFLAGS
   1652               C compiler flags for XCBPROTO, overriding pkg-config
   1653   XCBPROTO_LIBS
   1654               linker flags for XCBPROTO, overriding pkg-config
   1655   NEEDED_CFLAGS
   1656               C compiler flags for NEEDED, overriding pkg-config
   1657   NEEDED_LIBS linker flags for NEEDED, overriding pkg-config
   1658   XDMCP_CFLAGS
   1659               C compiler flags for XDMCP, overriding pkg-config
   1660   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1661 
   1662 Use these variables to override the choices made by `configure' or to help
   1663 it to find libraries and programs with nonstandard names/locations.
   1664 
   1665 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xcb>.
   1666 _ACEOF
   1667 ac_status=$?
   1668 fi
   1669 
   1670 if test "$ac_init_help" = "recursive"; then
   1671   # If there are subdirs, report their specific --help.
   1672   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1673     test -d "$ac_dir" ||
   1674       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1675       continue
   1676     ac_builddir=.
   1677 
   1678 case "$ac_dir" in
   1679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1680 *)
   1681   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1682   # A ".." for each directory in $ac_dir_suffix.
   1683   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1684   case $ac_top_builddir_sub in
   1685   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1686   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1687   esac ;;
   1688 esac
   1689 ac_abs_top_builddir=$ac_pwd
   1690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1691 # for backward compatibility:
   1692 ac_top_builddir=$ac_top_build_prefix
   1693 
   1694 case $srcdir in
   1695   .)  # We are building in place.
   1696     ac_srcdir=.
   1697     ac_top_srcdir=$ac_top_builddir_sub
   1698     ac_abs_top_srcdir=$ac_pwd ;;
   1699   [\\/]* | ?:[\\/]* )  # Absolute name.
   1700     ac_srcdir=$srcdir$ac_dir_suffix;
   1701     ac_top_srcdir=$srcdir
   1702     ac_abs_top_srcdir=$srcdir ;;
   1703   *) # Relative name.
   1704     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1705     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1706     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1707 esac
   1708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1709 
   1710     cd "$ac_dir" || { ac_status=$?; continue; }
   1711     # Check for guested configure.
   1712     if test -f "$ac_srcdir/configure.gnu"; then
   1713       echo &&
   1714       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1715     elif test -f "$ac_srcdir/configure"; then
   1716       echo &&
   1717       $SHELL "$ac_srcdir/configure" --help=recursive
   1718     else
   1719       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1720     fi || ac_status=$?
   1721     cd "$ac_pwd" || { ac_status=$?; break; }
   1722   done
   1723 fi
   1724 
   1725 test -n "$ac_init_help" && exit $ac_status
   1726 if $ac_init_version; then
   1727   cat <<\_ACEOF
   1728 libxcb configure 1.13
   1729 generated by GNU Autoconf 2.69
   1730 
   1731 Copyright (C) 2012 Free Software Foundation, Inc.
   1732 This configure script is free software; the Free Software Foundation
   1733 gives unlimited permission to copy, distribute and modify it.
   1734 _ACEOF
   1735   exit
   1736 fi
   1737 
   1738 ## ------------------------ ##
   1739 ## Autoconf initialization. ##
   1740 ## ------------------------ ##
   1741 
   1742 # ac_fn_c_try_compile LINENO
   1743 # --------------------------
   1744 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1745 ac_fn_c_try_compile ()
   1746 {
   1747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1748   rm -f conftest.$ac_objext
   1749   if { { ac_try="$ac_compile"
   1750 case "(($ac_try" in
   1751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1752   *) ac_try_echo=$ac_try;;
   1753 esac
   1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1755 $as_echo "$ac_try_echo"; } >&5
   1756   (eval "$ac_compile") 2>conftest.err
   1757   ac_status=$?
   1758   if test -s conftest.err; then
   1759     grep -v '^ *+' conftest.err >conftest.er1
   1760     cat conftest.er1 >&5
   1761     mv -f conftest.er1 conftest.err
   1762   fi
   1763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1764   test $ac_status = 0; } && {
   1765 	 test -z "$ac_c_werror_flag" ||
   1766 	 test ! -s conftest.err
   1767        } && test -s conftest.$ac_objext; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: failed program was:" >&5
   1771 sed 's/^/| /' conftest.$ac_ext >&5
   1772 
   1773 	ac_retval=1
   1774 fi
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_compile
   1779 
   1780 # ac_fn_c_try_cpp LINENO
   1781 # ----------------------
   1782 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1783 ac_fn_c_try_cpp ()
   1784 {
   1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1786   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1787 case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 $as_echo "$ac_try_echo"; } >&5
   1793   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1794   ac_status=$?
   1795   if test -s conftest.err; then
   1796     grep -v '^ *+' conftest.err >conftest.er1
   1797     cat conftest.er1 >&5
   1798     mv -f conftest.er1 conftest.err
   1799   fi
   1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; } > conftest.i && {
   1802 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1803 	 test ! -s conftest.err
   1804        }; then :
   1805   ac_retval=0
   1806 else
   1807   $as_echo "$as_me: failed program was:" >&5
   1808 sed 's/^/| /' conftest.$ac_ext >&5
   1809 
   1810     ac_retval=1
   1811 fi
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813   as_fn_set_status $ac_retval
   1814 
   1815 } # ac_fn_c_try_cpp
   1816 
   1817 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1818 # -------------------------------------------------------
   1819 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1820 # the include files in INCLUDES and setting the cache variable VAR
   1821 # accordingly.
   1822 ac_fn_c_check_header_mongrel ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   if eval \${$3+:} false; then :
   1826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1827 $as_echo_n "checking for $2... " >&6; }
   1828 if eval \${$3+:} false; then :
   1829   $as_echo_n "(cached) " >&6
   1830 fi
   1831 eval ac_res=\$$3
   1832 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1833 $as_echo "$ac_res" >&6; }
   1834 else
   1835   # Is the header compilable?
   1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1837 $as_echo_n "checking $2 usability... " >&6; }
   1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1839 /* end confdefs.h.  */
   1840 $4
   1841 #include <$2>
   1842 _ACEOF
   1843 if ac_fn_c_try_compile "$LINENO"; then :
   1844   ac_header_compiler=yes
   1845 else
   1846   ac_header_compiler=no
   1847 fi
   1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1850 $as_echo "$ac_header_compiler" >&6; }
   1851 
   1852 # Is the header present?
   1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1854 $as_echo_n "checking $2 presence... " >&6; }
   1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1856 /* end confdefs.h.  */
   1857 #include <$2>
   1858 _ACEOF
   1859 if ac_fn_c_try_cpp "$LINENO"; then :
   1860   ac_header_preproc=yes
   1861 else
   1862   ac_header_preproc=no
   1863 fi
   1864 rm -f conftest.err conftest.i conftest.$ac_ext
   1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1866 $as_echo "$ac_header_preproc" >&6; }
   1867 
   1868 # So?  What about this header?
   1869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1870   yes:no: )
   1871     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1872 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1873     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1874 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1875     ;;
   1876   no:yes:* )
   1877     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1878 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1879     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1880 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1881     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1882 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1883     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1884 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1885     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1886 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1887 ( $as_echo "## --------------------------------------------------------------------- ##
   1888 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xcb ##
   1889 ## --------------------------------------------------------------------- ##"
   1890      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1891     ;;
   1892 esac
   1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1894 $as_echo_n "checking for $2... " >&6; }
   1895 if eval \${$3+:} false; then :
   1896   $as_echo_n "(cached) " >&6
   1897 else
   1898   eval "$3=\$ac_header_compiler"
   1899 fi
   1900 eval ac_res=\$$3
   1901 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1902 $as_echo "$ac_res" >&6; }
   1903 fi
   1904   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1905 
   1906 } # ac_fn_c_check_header_mongrel
   1907 
   1908 # ac_fn_c_try_run LINENO
   1909 # ----------------------
   1910 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1911 # that executables *can* be run.
   1912 ac_fn_c_try_run ()
   1913 {
   1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1915   if { { ac_try="$ac_link"
   1916 case "(($ac_try" in
   1917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1918   *) ac_try_echo=$ac_try;;
   1919 esac
   1920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1921 $as_echo "$ac_try_echo"; } >&5
   1922   (eval "$ac_link") 2>&5
   1923   ac_status=$?
   1924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1925   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1926   { { case "(($ac_try" in
   1927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1928   *) ac_try_echo=$ac_try;;
   1929 esac
   1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1931 $as_echo "$ac_try_echo"; } >&5
   1932   (eval "$ac_try") 2>&5
   1933   ac_status=$?
   1934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1935   test $ac_status = 0; }; }; then :
   1936   ac_retval=0
   1937 else
   1938   $as_echo "$as_me: program exited with status $ac_status" >&5
   1939        $as_echo "$as_me: failed program was:" >&5
   1940 sed 's/^/| /' conftest.$ac_ext >&5
   1941 
   1942        ac_retval=$ac_status
   1943 fi
   1944   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1945   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1946   as_fn_set_status $ac_retval
   1947 
   1948 } # ac_fn_c_try_run
   1949 
   1950 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1951 # -------------------------------------------------------
   1952 # Tests whether HEADER exists and can be compiled using the include files in
   1953 # INCLUDES, setting the cache variable VAR accordingly.
   1954 ac_fn_c_check_header_compile ()
   1955 {
   1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1958 $as_echo_n "checking for $2... " >&6; }
   1959 if eval \${$3+:} false; then :
   1960   $as_echo_n "(cached) " >&6
   1961 else
   1962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 $4
   1965 #include <$2>
   1966 _ACEOF
   1967 if ac_fn_c_try_compile "$LINENO"; then :
   1968   eval "$3=yes"
   1969 else
   1970   eval "$3=no"
   1971 fi
   1972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1973 fi
   1974 eval ac_res=\$$3
   1975 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1976 $as_echo "$ac_res" >&6; }
   1977   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1978 
   1979 } # ac_fn_c_check_header_compile
   1980 
   1981 # ac_fn_c_try_link LINENO
   1982 # -----------------------
   1983 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1984 ac_fn_c_try_link ()
   1985 {
   1986   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1987   rm -f conftest.$ac_objext conftest$ac_exeext
   1988   if { { ac_try="$ac_link"
   1989 case "(($ac_try" in
   1990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1991   *) ac_try_echo=$ac_try;;
   1992 esac
   1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1994 $as_echo "$ac_try_echo"; } >&5
   1995   (eval "$ac_link") 2>conftest.err
   1996   ac_status=$?
   1997   if test -s conftest.err; then
   1998     grep -v '^ *+' conftest.err >conftest.er1
   1999     cat conftest.er1 >&5
   2000     mv -f conftest.er1 conftest.err
   2001   fi
   2002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2003   test $ac_status = 0; } && {
   2004 	 test -z "$ac_c_werror_flag" ||
   2005 	 test ! -s conftest.err
   2006        } && test -s conftest$ac_exeext && {
   2007 	 test "$cross_compiling" = yes ||
   2008 	 test -x conftest$ac_exeext
   2009        }; then :
   2010   ac_retval=0
   2011 else
   2012   $as_echo "$as_me: failed program was:" >&5
   2013 sed 's/^/| /' conftest.$ac_ext >&5
   2014 
   2015 	ac_retval=1
   2016 fi
   2017   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2018   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2019   # interfere with the next link command; also delete a directory that is
   2020   # left behind by Apple's compiler.  We do this before executing the actions.
   2021   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2022   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2023   as_fn_set_status $ac_retval
   2024 
   2025 } # ac_fn_c_try_link
   2026 
   2027 # ac_fn_c_check_func LINENO FUNC VAR
   2028 # ----------------------------------
   2029 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2030 ac_fn_c_check_func ()
   2031 {
   2032   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2034 $as_echo_n "checking for $2... " >&6; }
   2035 if eval \${$3+:} false; then :
   2036   $as_echo_n "(cached) " >&6
   2037 else
   2038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2039 /* end confdefs.h.  */
   2040 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2042 #define $2 innocuous_$2
   2043 
   2044 /* System header to define __stub macros and hopefully few prototypes,
   2045     which can conflict with char $2 (); below.
   2046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2047     <limits.h> exists even on freestanding compilers.  */
   2048 
   2049 #ifdef __STDC__
   2050 # include <limits.h>
   2051 #else
   2052 # include <assert.h>
   2053 #endif
   2054 
   2055 #undef $2
   2056 
   2057 /* Override any GCC internal prototype to avoid an error.
   2058    Use char because int might match the return type of a GCC
   2059    builtin and then its argument prototype would still apply.  */
   2060 #ifdef __cplusplus
   2061 extern "C"
   2062 #endif
   2063 char $2 ();
   2064 /* The GNU C library defines this for functions which it implements
   2065     to always fail with ENOSYS.  Some functions are actually named
   2066     something starting with __ and the normal name is an alias.  */
   2067 #if defined __stub_$2 || defined __stub___$2
   2068 choke me
   2069 #endif
   2070 
   2071 int
   2072 main ()
   2073 {
   2074 return $2 ();
   2075   ;
   2076   return 0;
   2077 }
   2078 _ACEOF
   2079 if ac_fn_c_try_link "$LINENO"; then :
   2080   eval "$3=yes"
   2081 else
   2082   eval "$3=no"
   2083 fi
   2084 rm -f core conftest.err conftest.$ac_objext \
   2085     conftest$ac_exeext conftest.$ac_ext
   2086 fi
   2087 eval ac_res=\$$3
   2088 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2089 $as_echo "$ac_res" >&6; }
   2090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2091 
   2092 } # ac_fn_c_check_func
   2093 
   2094 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2095 # ---------------------------------------------
   2096 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2097 # accordingly.
   2098 ac_fn_c_check_decl ()
   2099 {
   2100   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2101   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2102   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2104 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2105 if eval \${$3+:} false; then :
   2106   $as_echo_n "(cached) " >&6
   2107 else
   2108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2109 /* end confdefs.h.  */
   2110 $4
   2111 int
   2112 main ()
   2113 {
   2114 #ifndef $as_decl_name
   2115 #ifdef __cplusplus
   2116   (void) $as_decl_use;
   2117 #else
   2118   (void) $as_decl_name;
   2119 #endif
   2120 #endif
   2121 
   2122   ;
   2123   return 0;
   2124 }
   2125 _ACEOF
   2126 if ac_fn_c_try_compile "$LINENO"; then :
   2127   eval "$3=yes"
   2128 else
   2129   eval "$3=no"
   2130 fi
   2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2132 fi
   2133 eval ac_res=\$$3
   2134 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2135 $as_echo "$ac_res" >&6; }
   2136   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2137 
   2138 } # ac_fn_c_check_decl
   2139 
   2140 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2141 # ----------------------------------------------------
   2142 # Tries to find if the field MEMBER exists in type AGGR, after including
   2143 # INCLUDES, setting cache variable VAR accordingly.
   2144 ac_fn_c_check_member ()
   2145 {
   2146   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2148 $as_echo_n "checking for $2.$3... " >&6; }
   2149 if eval \${$4+:} false; then :
   2150   $as_echo_n "(cached) " >&6
   2151 else
   2152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2153 /* end confdefs.h.  */
   2154 $5
   2155 int
   2156 main ()
   2157 {
   2158 static $2 ac_aggr;
   2159 if (ac_aggr.$3)
   2160 return 0;
   2161   ;
   2162   return 0;
   2163 }
   2164 _ACEOF
   2165 if ac_fn_c_try_compile "$LINENO"; then :
   2166   eval "$4=yes"
   2167 else
   2168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2169 /* end confdefs.h.  */
   2170 $5
   2171 int
   2172 main ()
   2173 {
   2174 static $2 ac_aggr;
   2175 if (sizeof ac_aggr.$3)
   2176 return 0;
   2177   ;
   2178   return 0;
   2179 }
   2180 _ACEOF
   2181 if ac_fn_c_try_compile "$LINENO"; then :
   2182   eval "$4=yes"
   2183 else
   2184   eval "$4=no"
   2185 fi
   2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2187 fi
   2188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2189 fi
   2190 eval ac_res=\$$4
   2191 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2192 $as_echo "$ac_res" >&6; }
   2193   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2194 
   2195 } # ac_fn_c_check_member
   2196 cat >config.log <<_ACEOF
   2197 This file contains any messages produced by compilers while
   2198 running configure, to aid debugging if configure makes a mistake.
   2199 
   2200 It was created by libxcb $as_me 1.13, which was
   2201 generated by GNU Autoconf 2.69.  Invocation command line was
   2202 
   2203   $ $0 $@
   2204 
   2205 _ACEOF
   2206 exec 5>>config.log
   2207 {
   2208 cat <<_ASUNAME
   2209 ## --------- ##
   2210 ## Platform. ##
   2211 ## --------- ##
   2212 
   2213 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2214 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2215 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2216 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2217 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2218 
   2219 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2220 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2221 
   2222 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2223 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2224 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2225 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2226 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2227 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2228 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2229 
   2230 _ASUNAME
   2231 
   2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2233 for as_dir in $PATH
   2234 do
   2235   IFS=$as_save_IFS
   2236   test -z "$as_dir" && as_dir=.
   2237     $as_echo "PATH: $as_dir"
   2238   done
   2239 IFS=$as_save_IFS
   2240 
   2241 } >&5
   2242 
   2243 cat >&5 <<_ACEOF
   2244 
   2245 
   2246 ## ----------- ##
   2247 ## Core tests. ##
   2248 ## ----------- ##
   2249 
   2250 _ACEOF
   2251 
   2252 
   2253 # Keep a trace of the command line.
   2254 # Strip out --no-create and --no-recursion so they do not pile up.
   2255 # Strip out --silent because we don't want to record it for future runs.
   2256 # Also quote any args containing shell meta-characters.
   2257 # Make two passes to allow for proper duplicate-argument suppression.
   2258 ac_configure_args=
   2259 ac_configure_args0=
   2260 ac_configure_args1=
   2261 ac_must_keep_next=false
   2262 for ac_pass in 1 2
   2263 do
   2264   for ac_arg
   2265   do
   2266     case $ac_arg in
   2267     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2268     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2269     | -silent | --silent | --silen | --sile | --sil)
   2270       continue ;;
   2271     *\'*)
   2272       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2273     esac
   2274     case $ac_pass in
   2275     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2276     2)
   2277       as_fn_append ac_configure_args1 " '$ac_arg'"
   2278       if test $ac_must_keep_next = true; then
   2279 	ac_must_keep_next=false # Got value, back to normal.
   2280       else
   2281 	case $ac_arg in
   2282 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2283 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2284 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2285 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2286 	    case "$ac_configure_args0 " in
   2287 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2288 	    esac
   2289 	    ;;
   2290 	  -* ) ac_must_keep_next=true ;;
   2291 	esac
   2292       fi
   2293       as_fn_append ac_configure_args " '$ac_arg'"
   2294       ;;
   2295     esac
   2296   done
   2297 done
   2298 { ac_configure_args0=; unset ac_configure_args0;}
   2299 { ac_configure_args1=; unset ac_configure_args1;}
   2300 
   2301 # When interrupted or exit'd, cleanup temporary files, and complete
   2302 # config.log.  We remove comments because anyway the quotes in there
   2303 # would cause problems or look ugly.
   2304 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2305 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2306 trap 'exit_status=$?
   2307   # Save into config.log some information that might help in debugging.
   2308   {
   2309     echo
   2310 
   2311     $as_echo "## ---------------- ##
   2312 ## Cache variables. ##
   2313 ## ---------------- ##"
   2314     echo
   2315     # The following way of writing the cache mishandles newlines in values,
   2316 (
   2317   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2318     eval ac_val=\$$ac_var
   2319     case $ac_val in #(
   2320     *${as_nl}*)
   2321       case $ac_var in #(
   2322       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2323 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2324       esac
   2325       case $ac_var in #(
   2326       _ | IFS | as_nl) ;; #(
   2327       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2328       *) { eval $ac_var=; unset $ac_var;} ;;
   2329       esac ;;
   2330     esac
   2331   done
   2332   (set) 2>&1 |
   2333     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2334     *${as_nl}ac_space=\ *)
   2335       sed -n \
   2336 	"s/'\''/'\''\\\\'\'''\''/g;
   2337 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2338       ;; #(
   2339     *)
   2340       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2341       ;;
   2342     esac |
   2343     sort
   2344 )
   2345     echo
   2346 
   2347     $as_echo "## ----------------- ##
   2348 ## Output variables. ##
   2349 ## ----------------- ##"
   2350     echo
   2351     for ac_var in $ac_subst_vars
   2352     do
   2353       eval ac_val=\$$ac_var
   2354       case $ac_val in
   2355       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2356       esac
   2357       $as_echo "$ac_var='\''$ac_val'\''"
   2358     done | sort
   2359     echo
   2360 
   2361     if test -n "$ac_subst_files"; then
   2362       $as_echo "## ------------------- ##
   2363 ## File substitutions. ##
   2364 ## ------------------- ##"
   2365       echo
   2366       for ac_var in $ac_subst_files
   2367       do
   2368 	eval ac_val=\$$ac_var
   2369 	case $ac_val in
   2370 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2371 	esac
   2372 	$as_echo "$ac_var='\''$ac_val'\''"
   2373       done | sort
   2374       echo
   2375     fi
   2376 
   2377     if test -s confdefs.h; then
   2378       $as_echo "## ----------- ##
   2379 ## confdefs.h. ##
   2380 ## ----------- ##"
   2381       echo
   2382       cat confdefs.h
   2383       echo
   2384     fi
   2385     test "$ac_signal" != 0 &&
   2386       $as_echo "$as_me: caught signal $ac_signal"
   2387     $as_echo "$as_me: exit $exit_status"
   2388   } >&5
   2389   rm -f core *.core core.conftest.* &&
   2390     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2391     exit $exit_status
   2392 ' 0
   2393 for ac_signal in 1 2 13 15; do
   2394   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2395 done
   2396 ac_signal=0
   2397 
   2398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2399 rm -f -r conftest* confdefs.h
   2400 
   2401 $as_echo "/* confdefs.h */" > confdefs.h
   2402 
   2403 # Predefined preprocessor variables.
   2404 
   2405 cat >>confdefs.h <<_ACEOF
   2406 #define PACKAGE_NAME "$PACKAGE_NAME"
   2407 _ACEOF
   2408 
   2409 cat >>confdefs.h <<_ACEOF
   2410 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2411 _ACEOF
   2412 
   2413 cat >>confdefs.h <<_ACEOF
   2414 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2415 _ACEOF
   2416 
   2417 cat >>confdefs.h <<_ACEOF
   2418 #define PACKAGE_STRING "$PACKAGE_STRING"
   2419 _ACEOF
   2420 
   2421 cat >>confdefs.h <<_ACEOF
   2422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2423 _ACEOF
   2424 
   2425 cat >>confdefs.h <<_ACEOF
   2426 #define PACKAGE_URL "$PACKAGE_URL"
   2427 _ACEOF
   2428 
   2429 
   2430 # Let the site file select an alternate cache file if it wants to.
   2431 # Prefer an explicitly selected file to automatically selected ones.
   2432 ac_site_file1=NONE
   2433 ac_site_file2=NONE
   2434 if test -n "$CONFIG_SITE"; then
   2435   # We do not want a PATH search for config.site.
   2436   case $CONFIG_SITE in #((
   2437     -*)  ac_site_file1=./$CONFIG_SITE;;
   2438     */*) ac_site_file1=$CONFIG_SITE;;
   2439     *)   ac_site_file1=./$CONFIG_SITE;;
   2440   esac
   2441 elif test "x$prefix" != xNONE; then
   2442   ac_site_file1=$prefix/share/config.site
   2443   ac_site_file2=$prefix/etc/config.site
   2444 else
   2445   ac_site_file1=$ac_default_prefix/share/config.site
   2446   ac_site_file2=$ac_default_prefix/etc/config.site
   2447 fi
   2448 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2449 do
   2450   test "x$ac_site_file" = xNONE && continue
   2451   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2452     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2453 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2454     sed 's/^/| /' "$ac_site_file" >&5
   2455     . "$ac_site_file" \
   2456       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2458 as_fn_error $? "failed to load site script $ac_site_file
   2459 See \`config.log' for more details" "$LINENO" 5; }
   2460   fi
   2461 done
   2462 
   2463 if test -r "$cache_file"; then
   2464   # Some versions of bash will fail to source /dev/null (special files
   2465   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2466   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2467     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2468 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2469     case $cache_file in
   2470       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2471       *)                      . "./$cache_file";;
   2472     esac
   2473   fi
   2474 else
   2475   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2476 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2477   >$cache_file
   2478 fi
   2479 
   2480 # Check that the precious variables saved in the cache have kept the same
   2481 # value.
   2482 ac_cache_corrupted=false
   2483 for ac_var in $ac_precious_vars; do
   2484   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2485   eval ac_new_set=\$ac_env_${ac_var}_set
   2486   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2487   eval ac_new_val=\$ac_env_${ac_var}_value
   2488   case $ac_old_set,$ac_new_set in
   2489     set,)
   2490       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2491 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2492       ac_cache_corrupted=: ;;
   2493     ,set)
   2494       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2495 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2496       ac_cache_corrupted=: ;;
   2497     ,);;
   2498     *)
   2499       if test "x$ac_old_val" != "x$ac_new_val"; then
   2500 	# differences in whitespace do not lead to failure.
   2501 	ac_old_val_w=`echo x $ac_old_val`
   2502 	ac_new_val_w=`echo x $ac_new_val`
   2503 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2504 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2505 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2506 	  ac_cache_corrupted=:
   2507 	else
   2508 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2509 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2510 	  eval $ac_var=\$ac_old_val
   2511 	fi
   2512 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2513 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2514 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2515 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2516       fi;;
   2517   esac
   2518   # Pass precious variables to config.status.
   2519   if test "$ac_new_set" = set; then
   2520     case $ac_new_val in
   2521     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2522     *) ac_arg=$ac_var=$ac_new_val ;;
   2523     esac
   2524     case " $ac_configure_args " in
   2525       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2526       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2527     esac
   2528   fi
   2529 done
   2530 if $ac_cache_corrupted; then
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2534 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2535   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2536 fi
   2537 ## -------------------- ##
   2538 ## Main body of script. ##
   2539 ## -------------------- ##
   2540 
   2541 ac_ext=c
   2542 ac_cpp='$CPP $CPPFLAGS'
   2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2546 
   2547 
   2548 ac_aux_dir=
   2549 for ac_dir in build-aux "$srcdir"/build-aux; do
   2550   if test -f "$ac_dir/install-sh"; then
   2551     ac_aux_dir=$ac_dir
   2552     ac_install_sh="$ac_aux_dir/install-sh -c"
   2553     break
   2554   elif test -f "$ac_dir/install.sh"; then
   2555     ac_aux_dir=$ac_dir
   2556     ac_install_sh="$ac_aux_dir/install.sh -c"
   2557     break
   2558   elif test -f "$ac_dir/shtool"; then
   2559     ac_aux_dir=$ac_dir
   2560     ac_install_sh="$ac_aux_dir/shtool install -c"
   2561     break
   2562   fi
   2563 done
   2564 if test -z "$ac_aux_dir"; then
   2565   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2566 fi
   2567 
   2568 # These three variables are undocumented and unsupported,
   2569 # and are intended to be withdrawn in a future Autoconf release.
   2570 # They can cause serious problems if a builder's source tree is in a directory
   2571 # whose full name contains unusual characters.
   2572 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2573 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2574 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2575 
   2576 
   2577 
   2578 
   2579 ac_config_headers="$ac_config_headers src/config.h"
   2580 
   2581 
   2582 # Initialize Automake
   2583 am__api_version='1.15'
   2584 
   2585 # Find a good install program.  We prefer a C program (faster),
   2586 # so one script is as good as another.  But avoid the broken or
   2587 # incompatible versions:
   2588 # SysV /etc/install, /usr/sbin/install
   2589 # SunOS /usr/etc/install
   2590 # IRIX /sbin/install
   2591 # AIX /bin/install
   2592 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2596 # OS/2's system install, which has a completely different semantic
   2597 # ./install, which can be erroneously created by make from ./install.sh.
   2598 # Reject install programs that cannot install multiple files.
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2600 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2601 if test -z "$INSTALL"; then
   2602 if ${ac_cv_path_install+:} false; then :
   2603   $as_echo_n "(cached) " >&6
   2604 else
   2605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2606 for as_dir in $PATH
   2607 do
   2608   IFS=$as_save_IFS
   2609   test -z "$as_dir" && as_dir=.
   2610     # Account for people who put trailing slashes in PATH elements.
   2611 case $as_dir/ in #((
   2612   ./ | .// | /[cC]/* | \
   2613   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2614   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2615   /usr/ucb/* ) ;;
   2616   *)
   2617     # OSF1 and SCO ODT 3.0 have their own names for install.
   2618     # Don't use installbsd from OSF since it installs stuff as root
   2619     # by default.
   2620     for ac_prog in ginstall scoinst install; do
   2621       for ac_exec_ext in '' $ac_executable_extensions; do
   2622 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2623 	  if test $ac_prog = install &&
   2624 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2625 	    # AIX install.  It has an incompatible calling convention.
   2626 	    :
   2627 	  elif test $ac_prog = install &&
   2628 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2629 	    # program-specific install script used by HP pwplus--don't use.
   2630 	    :
   2631 	  else
   2632 	    rm -rf conftest.one conftest.two conftest.dir
   2633 	    echo one > conftest.one
   2634 	    echo two > conftest.two
   2635 	    mkdir conftest.dir
   2636 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2637 	      test -s conftest.one && test -s conftest.two &&
   2638 	      test -s conftest.dir/conftest.one &&
   2639 	      test -s conftest.dir/conftest.two
   2640 	    then
   2641 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2642 	      break 3
   2643 	    fi
   2644 	  fi
   2645 	fi
   2646       done
   2647     done
   2648     ;;
   2649 esac
   2650 
   2651   done
   2652 IFS=$as_save_IFS
   2653 
   2654 rm -rf conftest.one conftest.two conftest.dir
   2655 
   2656 fi
   2657   if test "${ac_cv_path_install+set}" = set; then
   2658     INSTALL=$ac_cv_path_install
   2659   else
   2660     # As a last resort, use the slow shell script.  Don't cache a
   2661     # value for INSTALL within a source directory, because that will
   2662     # break other packages using the cache if that directory is
   2663     # removed, or if the value is a relative name.
   2664     INSTALL=$ac_install_sh
   2665   fi
   2666 fi
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2668 $as_echo "$INSTALL" >&6; }
   2669 
   2670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2671 # It thinks the first close brace ends the variable substitution.
   2672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2673 
   2674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2675 
   2676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2677 
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2679 $as_echo_n "checking whether build environment is sane... " >&6; }
   2680 # Reject unsafe characters in $srcdir or the absolute working directory
   2681 # name.  Accept space and tab only in the latter.
   2682 am_lf='
   2683 '
   2684 case `pwd` in
   2685   *[\\\"\#\$\&\'\`$am_lf]*)
   2686     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2687 esac
   2688 case $srcdir in
   2689   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2690     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2691 esac
   2692 
   2693 # Do 'set' in a subshell so we don't clobber the current shell's
   2694 # arguments.  Must try -L first in case configure is actually a
   2695 # symlink; some systems play weird games with the mod time of symlinks
   2696 # (eg FreeBSD returns the mod time of the symlink's containing
   2697 # directory).
   2698 if (
   2699    am_has_slept=no
   2700    for am_try in 1 2; do
   2701      echo "timestamp, slept: $am_has_slept" > conftest.file
   2702      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2703      if test "$*" = "X"; then
   2704 	# -L didn't work.
   2705 	set X `ls -t "$srcdir/configure" conftest.file`
   2706      fi
   2707      if test "$*" != "X $srcdir/configure conftest.file" \
   2708 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2709 
   2710 	# If neither matched, then we have a broken ls.  This can happen
   2711 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2712 	# broken ls alias from the environment.  This has actually
   2713 	# happened.  Such a system could not be considered "sane".
   2714 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2715   alias in your environment" "$LINENO" 5
   2716      fi
   2717      if test "$2" = conftest.file || test $am_try -eq 2; then
   2718        break
   2719      fi
   2720      # Just in case.
   2721      sleep 1
   2722      am_has_slept=yes
   2723    done
   2724    test "$2" = conftest.file
   2725    )
   2726 then
   2727    # Ok.
   2728    :
   2729 else
   2730    as_fn_error $? "newly created file is older than distributed files!
   2731 Check your system clock" "$LINENO" 5
   2732 fi
   2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2734 $as_echo "yes" >&6; }
   2735 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2736 # generated files are strictly newer.
   2737 am_sleep_pid=
   2738 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2739   ( sleep 1 ) &
   2740   am_sleep_pid=$!
   2741 fi
   2742 
   2743 rm -f conftest.file
   2744 
   2745 test "$program_prefix" != NONE &&
   2746   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2747 # Use a double $ so make ignores it.
   2748 test "$program_suffix" != NONE &&
   2749   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2750 # Double any \ or $.
   2751 # By default was `s,x,x', remove it if useless.
   2752 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2753 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2754 
   2755 # Expand $ac_aux_dir to an absolute path.
   2756 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2757 
   2758 if test x"${MISSING+set}" != xset; then
   2759   case $am_aux_dir in
   2760   *\ * | *\	*)
   2761     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2762   *)
   2763     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2764   esac
   2765 fi
   2766 # Use eval to expand $SHELL
   2767 if eval "$MISSING --is-lightweight"; then
   2768   am_missing_run="$MISSING "
   2769 else
   2770   am_missing_run=
   2771   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2772 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2773 fi
   2774 
   2775 if test x"${install_sh+set}" != xset; then
   2776   case $am_aux_dir in
   2777   *\ * | *\	*)
   2778     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2779   *)
   2780     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2781   esac
   2782 fi
   2783 
   2784 # Installed binaries are usually stripped using 'strip' when the user
   2785 # run "make install-strip".  However 'strip' might not be the right
   2786 # tool to use in cross-compilation environments, therefore Automake
   2787 # will honor the 'STRIP' environment variable to overrule this program.
   2788 if test "$cross_compiling" != no; then
   2789   if test -n "$ac_tool_prefix"; then
   2790   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2791 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2793 $as_echo_n "checking for $ac_word... " >&6; }
   2794 if ${ac_cv_prog_STRIP+:} false; then :
   2795   $as_echo_n "(cached) " >&6
   2796 else
   2797   if test -n "$STRIP"; then
   2798   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805     for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2807     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812   done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi
   2816 fi
   2817 STRIP=$ac_cv_prog_STRIP
   2818 if test -n "$STRIP"; then
   2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2820 $as_echo "$STRIP" >&6; }
   2821 else
   2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2823 $as_echo "no" >&6; }
   2824 fi
   2825 
   2826 
   2827 fi
   2828 if test -z "$ac_cv_prog_STRIP"; then
   2829   ac_ct_STRIP=$STRIP
   2830   # Extract the first word of "strip", so it can be a program name with args.
   2831 set dummy strip; ac_word=$2
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2833 $as_echo_n "checking for $ac_word... " >&6; }
   2834 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   if test -n "$ac_ct_STRIP"; then
   2838   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2839 else
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   test -z "$as_dir" && as_dir=.
   2845     for ac_exec_ext in '' $ac_executable_extensions; do
   2846   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2847     ac_cv_prog_ac_ct_STRIP="strip"
   2848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2849     break 2
   2850   fi
   2851 done
   2852   done
   2853 IFS=$as_save_IFS
   2854 
   2855 fi
   2856 fi
   2857 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2858 if test -n "$ac_ct_STRIP"; then
   2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2860 $as_echo "$ac_ct_STRIP" >&6; }
   2861 else
   2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2863 $as_echo "no" >&6; }
   2864 fi
   2865 
   2866   if test "x$ac_ct_STRIP" = x; then
   2867     STRIP=":"
   2868   else
   2869     case $cross_compiling:$ac_tool_warned in
   2870 yes:)
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2873 ac_tool_warned=yes ;;
   2874 esac
   2875     STRIP=$ac_ct_STRIP
   2876   fi
   2877 else
   2878   STRIP="$ac_cv_prog_STRIP"
   2879 fi
   2880 
   2881 fi
   2882 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2883 
   2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2885 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2886 if test -z "$MKDIR_P"; then
   2887   if ${ac_cv_path_mkdir+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895     for ac_prog in mkdir gmkdir; do
   2896 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2897 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2898 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2899 	     'mkdir (GNU coreutils) '* | \
   2900 	     'mkdir (coreutils) '* | \
   2901 	     'mkdir (fileutils) '4.1*)
   2902 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2903 	       break 3;;
   2904 	   esac
   2905 	 done
   2906        done
   2907   done
   2908 IFS=$as_save_IFS
   2909 
   2910 fi
   2911 
   2912   test -d ./--version && rmdir ./--version
   2913   if test "${ac_cv_path_mkdir+set}" = set; then
   2914     MKDIR_P="$ac_cv_path_mkdir -p"
   2915   else
   2916     # As a last resort, use the slow shell script.  Don't cache a
   2917     # value for MKDIR_P within a source directory, because that will
   2918     # break other packages using the cache if that directory is
   2919     # removed, or if the value is a relative name.
   2920     MKDIR_P="$ac_install_sh -d"
   2921   fi
   2922 fi
   2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2924 $as_echo "$MKDIR_P" >&6; }
   2925 
   2926 for ac_prog in gawk mawk nawk awk
   2927 do
   2928   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2929 set dummy $ac_prog; ac_word=$2
   2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2931 $as_echo_n "checking for $ac_word... " >&6; }
   2932 if ${ac_cv_prog_AWK+:} false; then :
   2933   $as_echo_n "(cached) " >&6
   2934 else
   2935   if test -n "$AWK"; then
   2936   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2937 else
   2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2939 for as_dir in $PATH
   2940 do
   2941   IFS=$as_save_IFS
   2942   test -z "$as_dir" && as_dir=.
   2943     for ac_exec_ext in '' $ac_executable_extensions; do
   2944   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2945     ac_cv_prog_AWK="$ac_prog"
   2946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2947     break 2
   2948   fi
   2949 done
   2950   done
   2951 IFS=$as_save_IFS
   2952 
   2953 fi
   2954 fi
   2955 AWK=$ac_cv_prog_AWK
   2956 if test -n "$AWK"; then
   2957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2958 $as_echo "$AWK" >&6; }
   2959 else
   2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2961 $as_echo "no" >&6; }
   2962 fi
   2963 
   2964 
   2965   test -n "$AWK" && break
   2966 done
   2967 
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2969 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2970 set x ${MAKE-make}
   2971 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2972 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2973   $as_echo_n "(cached) " >&6
   2974 else
   2975   cat >conftest.make <<\_ACEOF
   2976 SHELL = /bin/sh
   2977 all:
   2978 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2979 _ACEOF
   2980 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2981 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2982   *@@@%%%=?*=@@@%%%*)
   2983     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2984   *)
   2985     eval ac_cv_prog_make_${ac_make}_set=no;;
   2986 esac
   2987 rm -f conftest.make
   2988 fi
   2989 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2991 $as_echo "yes" >&6; }
   2992   SET_MAKE=
   2993 else
   2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2995 $as_echo "no" >&6; }
   2996   SET_MAKE="MAKE=${MAKE-make}"
   2997 fi
   2998 
   2999 rm -rf .tst 2>/dev/null
   3000 mkdir .tst 2>/dev/null
   3001 if test -d .tst; then
   3002   am__leading_dot=.
   3003 else
   3004   am__leading_dot=_
   3005 fi
   3006 rmdir .tst 2>/dev/null
   3007 
   3008 # Check whether --enable-silent-rules was given.
   3009 if test "${enable_silent_rules+set}" = set; then :
   3010   enableval=$enable_silent_rules;
   3011 fi
   3012 
   3013 case $enable_silent_rules in # (((
   3014   yes) AM_DEFAULT_VERBOSITY=0;;
   3015    no) AM_DEFAULT_VERBOSITY=1;;
   3016     *) AM_DEFAULT_VERBOSITY=1;;
   3017 esac
   3018 am_make=${MAKE-make}
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3020 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3021 if ${am_cv_make_support_nested_variables+:} false; then :
   3022   $as_echo_n "(cached) " >&6
   3023 else
   3024   if $as_echo 'TRUE=$(BAR$(V))
   3025 BAR0=false
   3026 BAR1=true
   3027 V=1
   3028 am__doit:
   3029 	@$(TRUE)
   3030 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3031   am_cv_make_support_nested_variables=yes
   3032 else
   3033   am_cv_make_support_nested_variables=no
   3034 fi
   3035 fi
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3037 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3038 if test $am_cv_make_support_nested_variables = yes; then
   3039     AM_V='$(V)'
   3040   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3041 else
   3042   AM_V=$AM_DEFAULT_VERBOSITY
   3043   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3044 fi
   3045 AM_BACKSLASH='\'
   3046 
   3047 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3048   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3049   # is not polluted with repeated "-I."
   3050   am__isrc=' -I$(srcdir)'
   3051   # test to see if srcdir already configured
   3052   if test -f $srcdir/config.status; then
   3053     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3054   fi
   3055 fi
   3056 
   3057 # test whether we have cygpath
   3058 if test -z "$CYGPATH_W"; then
   3059   if (cygpath --version) >/dev/null 2>/dev/null; then
   3060     CYGPATH_W='cygpath -w'
   3061   else
   3062     CYGPATH_W=echo
   3063   fi
   3064 fi
   3065 
   3066 
   3067 # Define the identity of the package.
   3068  PACKAGE='libxcb'
   3069  VERSION='1.13'
   3070 
   3071 
   3072 cat >>confdefs.h <<_ACEOF
   3073 #define PACKAGE "$PACKAGE"
   3074 _ACEOF
   3075 
   3076 
   3077 cat >>confdefs.h <<_ACEOF
   3078 #define VERSION "$VERSION"
   3079 _ACEOF
   3080 
   3081 # Some tools Automake needs.
   3082 
   3083 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3084 
   3085 
   3086 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3087 
   3088 
   3089 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3090 
   3091 
   3092 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3093 
   3094 
   3095 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3096 
   3097 # For better backward compatibility.  To be removed once Automake 1.9.x
   3098 # dies out for good.  For more background, see:
   3099 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3100 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3101 mkdir_p='$(MKDIR_P)'
   3102 
   3103 # We need awk for the "check" target (and possibly the TAP driver).  The
   3104 # system "awk" is bad on some platforms.
   3105 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3106 # in the wild :-(  We should find a proper way to deprecate it ...
   3107 AMTAR='$${TAR-tar}'
   3108 
   3109 
   3110 # We'll loop over all known methods to create a tar archive until one works.
   3111 _am_tools='gnutar  pax cpio none'
   3112 
   3113 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 # POSIX will say in a future version that running "rm -f" with no argument
   3121 # is OK; and we want to be able to make that assumption in our Makefile
   3122 # recipes.  So use an aggressive probe to check that the usage we want is
   3123 # actually supported "in the wild" to an acceptable degree.
   3124 # See automake bug#10828.
   3125 # To make any issue more visible, cause the running configure to be aborted
   3126 # by default if the 'rm' program in use doesn't match our expectations; the
   3127 # user can still override this though.
   3128 if rm -f && rm -fr && rm -rf; then : OK; else
   3129   cat >&2 <<'END'
   3130 Oops!
   3131 
   3132 Your 'rm' program seems unable to run without file operands specified
   3133 on the command line, even when the '-f' option is present.  This is contrary
   3134 to the behaviour of most rm programs out there, and not conforming with
   3135 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3136 
   3137 Please tell bug-automake@gnu.org about your system, including the value
   3138 of your $PATH and any error possibly output before this message.  This
   3139 can help us improve future automake versions.
   3140 
   3141 END
   3142   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3143     echo 'Configuration will proceed anyway, since you have set the' >&2
   3144     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3145     echo >&2
   3146   else
   3147     cat >&2 <<'END'
   3148 Aborting the configuration process, to ensure you take notice of the issue.
   3149 
   3150 You can download and install GNU coreutils to get an 'rm' implementation
   3151 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3152 
   3153 If you want to complete the configuration process using your problematic
   3154 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3155 to "yes", and re-run configure.
   3156 
   3157 END
   3158     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3159   fi
   3160 fi
   3161 
   3162 
   3163 
   3164 
   3165 
   3166 
   3167 
   3168         if test -n "$PYTHON"; then
   3169       # If the user set $PYTHON, use it and don't search something else.
   3170       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
   3171 $as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
   3172       prog="import sys
   3173 # split strings by '.' and convert to numeric.  Append some zeros
   3174 # because we need at least 4 digits for the hex conversion.
   3175 # map returns an iterator in Python 3.0 and a list in 2.x
   3176 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3177 minverhex = 0
   3178 # xrange is not present in Python 3.0 and range returns an iterator
   3179 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3180 sys.exit(sys.hexversion < minverhex)"
   3181   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   3182    ($PYTHON -c "$prog") >&5 2>&5
   3183    ac_status=$?
   3184    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3185    (exit $ac_status); }; then :
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3187 $as_echo "yes" >&6; }
   3188 else
   3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3190 $as_echo "no" >&6; }
   3191 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   3192 fi
   3193       am_display_PYTHON=$PYTHON
   3194     else
   3195       # Otherwise, try each interpreter until we find one that satisfies
   3196       # VERSION.
   3197       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
   3198 $as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
   3199 if ${am_cv_pathless_PYTHON+:} false; then :
   3200   $as_echo_n "(cached) " >&6
   3201 else
   3202 
   3203 	for am_cv_pathless_PYTHON in python python2 python3 python3.5 python3.4 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
   3204 	  test "$am_cv_pathless_PYTHON" = none && break
   3205 	  prog="import sys
   3206 # split strings by '.' and convert to numeric.  Append some zeros
   3207 # because we need at least 4 digits for the hex conversion.
   3208 # map returns an iterator in Python 3.0 and a list in 2.x
   3209 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3210 minverhex = 0
   3211 # xrange is not present in Python 3.0 and range returns an iterator
   3212 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3213 sys.exit(sys.hexversion < minverhex)"
   3214   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   3215    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   3216    ac_status=$?
   3217    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3218    (exit $ac_status); }; then :
   3219   break
   3220 fi
   3221 	done
   3222 fi
   3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   3224 $as_echo "$am_cv_pathless_PYTHON" >&6; }
   3225       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   3226       if test "$am_cv_pathless_PYTHON" = none; then
   3227 	PYTHON=:
   3228       else
   3229         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   3230 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3232 $as_echo_n "checking for $ac_word... " >&6; }
   3233 if ${ac_cv_path_PYTHON+:} false; then :
   3234   $as_echo_n "(cached) " >&6
   3235 else
   3236   case $PYTHON in
   3237   [\\/]* | ?:[\\/]*)
   3238   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   3239   ;;
   3240   *)
   3241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3242 for as_dir in $PATH
   3243 do
   3244   IFS=$as_save_IFS
   3245   test -z "$as_dir" && as_dir=.
   3246     for ac_exec_ext in '' $ac_executable_extensions; do
   3247   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3248     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
   3249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3250     break 2
   3251   fi
   3252 done
   3253   done
   3254 IFS=$as_save_IFS
   3255 
   3256   ;;
   3257 esac
   3258 fi
   3259 PYTHON=$ac_cv_path_PYTHON
   3260 if test -n "$PYTHON"; then
   3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   3262 $as_echo "$PYTHON" >&6; }
   3263 else
   3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3265 $as_echo "no" >&6; }
   3266 fi
   3267 
   3268 
   3269       fi
   3270       am_display_PYTHON=$am_cv_pathless_PYTHON
   3271     fi
   3272 
   3273 
   3274   if test "$PYTHON" = :; then
   3275       as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   3276   else
   3277 
   3278 
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   3280 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
   3281 if ${am_cv_python_version+:} false; then :
   3282   $as_echo_n "(cached) " >&6
   3283 else
   3284   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
   3285 fi
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   3287 $as_echo "$am_cv_python_version" >&6; }
   3288   PYTHON_VERSION=$am_cv_python_version
   3289 
   3290 
   3291 
   3292   PYTHON_PREFIX='${prefix}'
   3293 
   3294   PYTHON_EXEC_PREFIX='${exec_prefix}'
   3295 
   3296 
   3297 
   3298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   3299 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
   3300 if ${am_cv_python_platform+:} false; then :
   3301   $as_echo_n "(cached) " >&6
   3302 else
   3303   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   3304 fi
   3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   3306 $as_echo "$am_cv_python_platform" >&6; }
   3307   PYTHON_PLATFORM=$am_cv_python_platform
   3308 
   3309 
   3310   # Just factor out some code duplication.
   3311   am_python_setup_sysconfig="\
   3312 import sys
   3313 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   3314 # with python 3.x.  See automake bug#10227.
   3315 try:
   3316     import sysconfig
   3317 except ImportError:
   3318     can_use_sysconfig = 0
   3319 else:
   3320     can_use_sysconfig = 1
   3321 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   3322 # <https://github.com/pypa/virtualenv/issues/118>
   3323 try:
   3324     from platform import python_implementation
   3325     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   3326         can_use_sysconfig = 0
   3327 except ImportError:
   3328     pass"
   3329 
   3330 
   3331             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
   3332 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
   3333 if ${am_cv_python_pythondir+:} false; then :
   3334   $as_echo_n "(cached) " >&6
   3335 else
   3336   if test "x$prefix" = xNONE
   3337      then
   3338        am_py_prefix=$ac_default_prefix
   3339      else
   3340        am_py_prefix=$prefix
   3341      fi
   3342      am_cv_python_pythondir=`$PYTHON -c "
   3343 $am_python_setup_sysconfig
   3344 if can_use_sysconfig:
   3345     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   3346 else:
   3347     from distutils import sysconfig
   3348     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   3349 sys.stdout.write(sitedir)"`
   3350      case $am_cv_python_pythondir in
   3351      $am_py_prefix*)
   3352        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   3353        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
   3354        ;;
   3355      *)
   3356        case $am_py_prefix in
   3357          /usr|/System*) ;;
   3358          *)
   3359 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
   3360 	  ;;
   3361        esac
   3362        ;;
   3363      esac
   3364 
   3365 fi
   3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   3367 $as_echo "$am_cv_python_pythondir" >&6; }
   3368   pythondir=$am_cv_python_pythondir
   3369 
   3370 
   3371 
   3372   pkgpythondir=\${pythondir}/$PACKAGE
   3373 
   3374 
   3375         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
   3376 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
   3377 if ${am_cv_python_pyexecdir+:} false; then :
   3378   $as_echo_n "(cached) " >&6
   3379 else
   3380   if test "x$exec_prefix" = xNONE
   3381      then
   3382        am_py_exec_prefix=$am_py_prefix
   3383      else
   3384        am_py_exec_prefix=$exec_prefix
   3385      fi
   3386      am_cv_python_pyexecdir=`$PYTHON -c "
   3387 $am_python_setup_sysconfig
   3388 if can_use_sysconfig:
   3389     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
   3390 else:
   3391     from distutils import sysconfig
   3392     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
   3393 sys.stdout.write(sitedir)"`
   3394      case $am_cv_python_pyexecdir in
   3395      $am_py_exec_prefix*)
   3396        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   3397        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
   3398        ;;
   3399      *)
   3400        case $am_py_exec_prefix in
   3401          /usr|/System*) ;;
   3402          *)
   3403 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
   3404 	   ;;
   3405        esac
   3406        ;;
   3407      esac
   3408 
   3409 fi
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   3411 $as_echo "$am_cv_python_pyexecdir" >&6; }
   3412   pyexecdir=$am_cv_python_pyexecdir
   3413 
   3414 
   3415 
   3416   pkgpyexecdir=\${pyexecdir}/$PACKAGE
   3417 
   3418 
   3419 
   3420   fi
   3421 
   3422 
   3423 
   3424 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3425 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   3426 # to avoid autoconf errors.
   3427 DEPDIR="${am__leading_dot}deps"
   3428 
   3429 ac_config_commands="$ac_config_commands depfiles"
   3430 
   3431 
   3432 am_make=${MAKE-make}
   3433 cat > confinc << 'END'
   3434 am__doit:
   3435 	@echo this is the am__doit target
   3436 .PHONY: am__doit
   3437 END
   3438 # If we don't find an include directive, just comment out the code.
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3440 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3441 am__include="#"
   3442 am__quote=
   3443 _am_result=none
   3444 # First try GNU make style include.
   3445 echo "include confinc" > confmf
   3446 # Ignore all kinds of additional output from 'make'.
   3447 case `$am_make -s -f confmf 2> /dev/null` in #(
   3448 *the\ am__doit\ target*)
   3449   am__include=include
   3450   am__quote=
   3451   _am_result=GNU
   3452   ;;
   3453 esac
   3454 # Now try BSD make style include.
   3455 if test "$am__include" = "#"; then
   3456    echo '.include "confinc"' > confmf
   3457    case `$am_make -s -f confmf 2> /dev/null` in #(
   3458    *the\ am__doit\ target*)
   3459      am__include=.include
   3460      am__quote="\""
   3461      _am_result=BSD
   3462      ;;
   3463    esac
   3464 fi
   3465 
   3466 
   3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3468 $as_echo "$_am_result" >&6; }
   3469 rm -f confinc confmf
   3470 
   3471 # Check whether --enable-dependency-tracking was given.
   3472 if test "${enable_dependency_tracking+set}" = set; then :
   3473   enableval=$enable_dependency_tracking;
   3474 fi
   3475 
   3476 if test "x$enable_dependency_tracking" != xno; then
   3477   am_depcomp="$ac_aux_dir/depcomp"
   3478   AMDEPBACKSLASH='\'
   3479   am__nodep='_no'
   3480 fi
   3481  if test "x$enable_dependency_tracking" != xno; then
   3482   AMDEP_TRUE=
   3483   AMDEP_FALSE='#'
   3484 else
   3485   AMDEP_TRUE='#'
   3486   AMDEP_FALSE=
   3487 fi
   3488 
   3489 
   3490 ac_ext=c
   3491 ac_cpp='$CPP $CPPFLAGS'
   3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3495 if test -n "$ac_tool_prefix"; then
   3496   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3497 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3499 $as_echo_n "checking for $ac_word... " >&6; }
   3500 if ${ac_cv_prog_CC+:} false; then :
   3501   $as_echo_n "(cached) " >&6
   3502 else
   3503   if test -n "$CC"; then
   3504   ac_cv_prog_CC="$CC" # Let the user override the test.
   3505 else
   3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3507 for as_dir in $PATH
   3508 do
   3509   IFS=$as_save_IFS
   3510   test -z "$as_dir" && as_dir=.
   3511     for ac_exec_ext in '' $ac_executable_extensions; do
   3512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3513     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3515     break 2
   3516   fi
   3517 done
   3518   done
   3519 IFS=$as_save_IFS
   3520 
   3521 fi
   3522 fi
   3523 CC=$ac_cv_prog_CC
   3524 if test -n "$CC"; then
   3525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3526 $as_echo "$CC" >&6; }
   3527 else
   3528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3529 $as_echo "no" >&6; }
   3530 fi
   3531 
   3532 
   3533 fi
   3534 if test -z "$ac_cv_prog_CC"; then
   3535   ac_ct_CC=$CC
   3536   # Extract the first word of "gcc", so it can be a program name with args.
   3537 set dummy gcc; ac_word=$2
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3539 $as_echo_n "checking for $ac_word... " >&6; }
   3540 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3541   $as_echo_n "(cached) " >&6
   3542 else
   3543   if test -n "$ac_ct_CC"; then
   3544   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3545 else
   3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3547 for as_dir in $PATH
   3548 do
   3549   IFS=$as_save_IFS
   3550   test -z "$as_dir" && as_dir=.
   3551     for ac_exec_ext in '' $ac_executable_extensions; do
   3552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3553     ac_cv_prog_ac_ct_CC="gcc"
   3554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3555     break 2
   3556   fi
   3557 done
   3558   done
   3559 IFS=$as_save_IFS
   3560 
   3561 fi
   3562 fi
   3563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3564 if test -n "$ac_ct_CC"; then
   3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3566 $as_echo "$ac_ct_CC" >&6; }
   3567 else
   3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3569 $as_echo "no" >&6; }
   3570 fi
   3571 
   3572   if test "x$ac_ct_CC" = x; then
   3573     CC=""
   3574   else
   3575     case $cross_compiling:$ac_tool_warned in
   3576 yes:)
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3579 ac_tool_warned=yes ;;
   3580 esac
   3581     CC=$ac_ct_CC
   3582   fi
   3583 else
   3584   CC="$ac_cv_prog_CC"
   3585 fi
   3586 
   3587 if test -z "$CC"; then
   3588           if test -n "$ac_tool_prefix"; then
   3589     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3590 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3592 $as_echo_n "checking for $ac_word... " >&6; }
   3593 if ${ac_cv_prog_CC+:} false; then :
   3594   $as_echo_n "(cached) " >&6
   3595 else
   3596   if test -n "$CC"; then
   3597   ac_cv_prog_CC="$CC" # Let the user override the test.
   3598 else
   3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3600 for as_dir in $PATH
   3601 do
   3602   IFS=$as_save_IFS
   3603   test -z "$as_dir" && as_dir=.
   3604     for ac_exec_ext in '' $ac_executable_extensions; do
   3605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3606     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3608     break 2
   3609   fi
   3610 done
   3611   done
   3612 IFS=$as_save_IFS
   3613 
   3614 fi
   3615 fi
   3616 CC=$ac_cv_prog_CC
   3617 if test -n "$CC"; then
   3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3619 $as_echo "$CC" >&6; }
   3620 else
   3621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3622 $as_echo "no" >&6; }
   3623 fi
   3624 
   3625 
   3626   fi
   3627 fi
   3628 if test -z "$CC"; then
   3629   # Extract the first word of "cc", so it can be a program name with args.
   3630 set dummy cc; ac_word=$2
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3632 $as_echo_n "checking for $ac_word... " >&6; }
   3633 if ${ac_cv_prog_CC+:} false; then :
   3634   $as_echo_n "(cached) " >&6
   3635 else
   3636   if test -n "$CC"; then
   3637   ac_cv_prog_CC="$CC" # Let the user override the test.
   3638 else
   3639   ac_prog_rejected=no
   3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3641 for as_dir in $PATH
   3642 do
   3643   IFS=$as_save_IFS
   3644   test -z "$as_dir" && as_dir=.
   3645     for ac_exec_ext in '' $ac_executable_extensions; do
   3646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3647     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3648        ac_prog_rejected=yes
   3649        continue
   3650      fi
   3651     ac_cv_prog_CC="cc"
   3652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3653     break 2
   3654   fi
   3655 done
   3656   done
   3657 IFS=$as_save_IFS
   3658 
   3659 if test $ac_prog_rejected = yes; then
   3660   # We found a bogon in the path, so make sure we never use it.
   3661   set dummy $ac_cv_prog_CC
   3662   shift
   3663   if test $# != 0; then
   3664     # We chose a different compiler from the bogus one.
   3665     # However, it has the same basename, so the bogon will be chosen
   3666     # first if we set CC to just the basename; use the full file name.
   3667     shift
   3668     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3669   fi
   3670 fi
   3671 fi
   3672 fi
   3673 CC=$ac_cv_prog_CC
   3674 if test -n "$CC"; then
   3675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3676 $as_echo "$CC" >&6; }
   3677 else
   3678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3679 $as_echo "no" >&6; }
   3680 fi
   3681 
   3682 
   3683 fi
   3684 if test -z "$CC"; then
   3685   if test -n "$ac_tool_prefix"; then
   3686   for ac_prog in cl.exe
   3687   do
   3688     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3691 $as_echo_n "checking for $ac_word... " >&6; }
   3692 if ${ac_cv_prog_CC+:} false; then :
   3693   $as_echo_n "(cached) " >&6
   3694 else
   3695   if test -n "$CC"; then
   3696   ac_cv_prog_CC="$CC" # Let the user override the test.
   3697 else
   3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3699 for as_dir in $PATH
   3700 do
   3701   IFS=$as_save_IFS
   3702   test -z "$as_dir" && as_dir=.
   3703     for ac_exec_ext in '' $ac_executable_extensions; do
   3704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3705     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3707     break 2
   3708   fi
   3709 done
   3710   done
   3711 IFS=$as_save_IFS
   3712 
   3713 fi
   3714 fi
   3715 CC=$ac_cv_prog_CC
   3716 if test -n "$CC"; then
   3717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3718 $as_echo "$CC" >&6; }
   3719 else
   3720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3721 $as_echo "no" >&6; }
   3722 fi
   3723 
   3724 
   3725     test -n "$CC" && break
   3726   done
   3727 fi
   3728 if test -z "$CC"; then
   3729   ac_ct_CC=$CC
   3730   for ac_prog in cl.exe
   3731 do
   3732   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3733 set dummy $ac_prog; ac_word=$2
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3735 $as_echo_n "checking for $ac_word... " >&6; }
   3736 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3737   $as_echo_n "(cached) " >&6
   3738 else
   3739   if test -n "$ac_ct_CC"; then
   3740   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3741 else
   3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3743 for as_dir in $PATH
   3744 do
   3745   IFS=$as_save_IFS
   3746   test -z "$as_dir" && as_dir=.
   3747     for ac_exec_ext in '' $ac_executable_extensions; do
   3748   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3749     ac_cv_prog_ac_ct_CC="$ac_prog"
   3750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3751     break 2
   3752   fi
   3753 done
   3754   done
   3755 IFS=$as_save_IFS
   3756 
   3757 fi
   3758 fi
   3759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3760 if test -n "$ac_ct_CC"; then
   3761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3762 $as_echo "$ac_ct_CC" >&6; }
   3763 else
   3764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3765 $as_echo "no" >&6; }
   3766 fi
   3767 
   3768 
   3769   test -n "$ac_ct_CC" && break
   3770 done
   3771 
   3772   if test "x$ac_ct_CC" = x; then
   3773     CC=""
   3774   else
   3775     case $cross_compiling:$ac_tool_warned in
   3776 yes:)
   3777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3779 ac_tool_warned=yes ;;
   3780 esac
   3781     CC=$ac_ct_CC
   3782   fi
   3783 fi
   3784 
   3785 fi
   3786 
   3787 
   3788 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3790 as_fn_error $? "no acceptable C compiler found in \$PATH
   3791 See \`config.log' for more details" "$LINENO" 5; }
   3792 
   3793 # Provide some information about the compiler.
   3794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3795 set X $ac_compile
   3796 ac_compiler=$2
   3797 for ac_option in --version -v -V -qversion; do
   3798   { { ac_try="$ac_compiler $ac_option >&5"
   3799 case "(($ac_try" in
   3800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3801   *) ac_try_echo=$ac_try;;
   3802 esac
   3803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3804 $as_echo "$ac_try_echo"; } >&5
   3805   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3806   ac_status=$?
   3807   if test -s conftest.err; then
   3808     sed '10a\
   3809 ... rest of stderr output deleted ...
   3810          10q' conftest.err >conftest.er1
   3811     cat conftest.er1 >&5
   3812   fi
   3813   rm -f conftest.er1 conftest.err
   3814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3815   test $ac_status = 0; }
   3816 done
   3817 
   3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3819 /* end confdefs.h.  */
   3820 
   3821 int
   3822 main ()
   3823 {
   3824 
   3825   ;
   3826   return 0;
   3827 }
   3828 _ACEOF
   3829 ac_clean_files_save=$ac_clean_files
   3830 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3831 # Try to create an executable without -o first, disregard a.out.
   3832 # It will help us diagnose broken compilers, and finding out an intuition
   3833 # of exeext.
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3835 $as_echo_n "checking whether the C compiler works... " >&6; }
   3836 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3837 
   3838 # The possible output files:
   3839 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3840 
   3841 ac_rmfiles=
   3842 for ac_file in $ac_files
   3843 do
   3844   case $ac_file in
   3845     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3846     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3847   esac
   3848 done
   3849 rm -f $ac_rmfiles
   3850 
   3851 if { { ac_try="$ac_link_default"
   3852 case "(($ac_try" in
   3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3854   *) ac_try_echo=$ac_try;;
   3855 esac
   3856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3857 $as_echo "$ac_try_echo"; } >&5
   3858   (eval "$ac_link_default") 2>&5
   3859   ac_status=$?
   3860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3861   test $ac_status = 0; }; then :
   3862   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3863 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3864 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3865 # so that the user can short-circuit this test for compilers unknown to
   3866 # Autoconf.
   3867 for ac_file in $ac_files ''
   3868 do
   3869   test -f "$ac_file" || continue
   3870   case $ac_file in
   3871     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3872 	;;
   3873     [ab].out )
   3874 	# We found the default executable, but exeext='' is most
   3875 	# certainly right.
   3876 	break;;
   3877     *.* )
   3878 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3879 	then :; else
   3880 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3881 	fi
   3882 	# We set ac_cv_exeext here because the later test for it is not
   3883 	# safe: cross compilers may not add the suffix if given an `-o'
   3884 	# argument, so we may need to know it at that point already.
   3885 	# Even if this section looks crufty: it has the advantage of
   3886 	# actually working.
   3887 	break;;
   3888     * )
   3889 	break;;
   3890   esac
   3891 done
   3892 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3893 
   3894 else
   3895   ac_file=''
   3896 fi
   3897 if test -z "$ac_file"; then :
   3898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3899 $as_echo "no" >&6; }
   3900 $as_echo "$as_me: failed program was:" >&5
   3901 sed 's/^/| /' conftest.$ac_ext >&5
   3902 
   3903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3905 as_fn_error 77 "C compiler cannot create executables
   3906 See \`config.log' for more details" "$LINENO" 5; }
   3907 else
   3908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3909 $as_echo "yes" >&6; }
   3910 fi
   3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3912 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3914 $as_echo "$ac_file" >&6; }
   3915 ac_exeext=$ac_cv_exeext
   3916 
   3917 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3918 ac_clean_files=$ac_clean_files_save
   3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3920 $as_echo_n "checking for suffix of executables... " >&6; }
   3921 if { { ac_try="$ac_link"
   3922 case "(($ac_try" in
   3923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3924   *) ac_try_echo=$ac_try;;
   3925 esac
   3926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3927 $as_echo "$ac_try_echo"; } >&5
   3928   (eval "$ac_link") 2>&5
   3929   ac_status=$?
   3930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3931   test $ac_status = 0; }; then :
   3932   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3933 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3934 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3935 # `rm'.
   3936 for ac_file in conftest.exe conftest conftest.*; do
   3937   test -f "$ac_file" || continue
   3938   case $ac_file in
   3939     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3940     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3941 	  break;;
   3942     * ) break;;
   3943   esac
   3944 done
   3945 else
   3946   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3948 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3949 See \`config.log' for more details" "$LINENO" 5; }
   3950 fi
   3951 rm -f conftest conftest$ac_cv_exeext
   3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3953 $as_echo "$ac_cv_exeext" >&6; }
   3954 
   3955 rm -f conftest.$ac_ext
   3956 EXEEXT=$ac_cv_exeext
   3957 ac_exeext=$EXEEXT
   3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3959 /* end confdefs.h.  */
   3960 #include <stdio.h>
   3961 int
   3962 main ()
   3963 {
   3964 FILE *f = fopen ("conftest.out", "w");
   3965  return ferror (f) || fclose (f) != 0;
   3966 
   3967   ;
   3968   return 0;
   3969 }
   3970 _ACEOF
   3971 ac_clean_files="$ac_clean_files conftest.out"
   3972 # Check that the compiler produces executables we can run.  If not, either
   3973 # the compiler is broken, or we cross compile.
   3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3975 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3976 if test "$cross_compiling" != yes; then
   3977   { { ac_try="$ac_link"
   3978 case "(($ac_try" in
   3979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3980   *) ac_try_echo=$ac_try;;
   3981 esac
   3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3983 $as_echo "$ac_try_echo"; } >&5
   3984   (eval "$ac_link") 2>&5
   3985   ac_status=$?
   3986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3987   test $ac_status = 0; }
   3988   if { ac_try='./conftest$ac_cv_exeext'
   3989   { { case "(($ac_try" in
   3990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3991   *) ac_try_echo=$ac_try;;
   3992 esac
   3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3994 $as_echo "$ac_try_echo"; } >&5
   3995   (eval "$ac_try") 2>&5
   3996   ac_status=$?
   3997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3998   test $ac_status = 0; }; }; then
   3999     cross_compiling=no
   4000   else
   4001     if test "$cross_compiling" = maybe; then
   4002 	cross_compiling=yes
   4003     else
   4004 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4006 as_fn_error $? "cannot run C compiled programs.
   4007 If you meant to cross compile, use \`--host'.
   4008 See \`config.log' for more details" "$LINENO" 5; }
   4009     fi
   4010   fi
   4011 fi
   4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4013 $as_echo "$cross_compiling" >&6; }
   4014 
   4015 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4016 ac_clean_files=$ac_clean_files_save
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4018 $as_echo_n "checking for suffix of object files... " >&6; }
   4019 if ${ac_cv_objext+:} false; then :
   4020   $as_echo_n "(cached) " >&6
   4021 else
   4022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4023 /* end confdefs.h.  */
   4024 
   4025 int
   4026 main ()
   4027 {
   4028 
   4029   ;
   4030   return 0;
   4031 }
   4032 _ACEOF
   4033 rm -f conftest.o conftest.obj
   4034 if { { ac_try="$ac_compile"
   4035 case "(($ac_try" in
   4036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4037   *) ac_try_echo=$ac_try;;
   4038 esac
   4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4040 $as_echo "$ac_try_echo"; } >&5
   4041   (eval "$ac_compile") 2>&5
   4042   ac_status=$?
   4043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4044   test $ac_status = 0; }; then :
   4045   for ac_file in conftest.o conftest.obj conftest.*; do
   4046   test -f "$ac_file" || continue;
   4047   case $ac_file in
   4048     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4049     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4050        break;;
   4051   esac
   4052 done
   4053 else
   4054   $as_echo "$as_me: failed program was:" >&5
   4055 sed 's/^/| /' conftest.$ac_ext >&5
   4056 
   4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4059 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4060 See \`config.log' for more details" "$LINENO" 5; }
   4061 fi
   4062 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4063 fi
   4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4065 $as_echo "$ac_cv_objext" >&6; }
   4066 OBJEXT=$ac_cv_objext
   4067 ac_objext=$OBJEXT
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4069 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4070 if ${ac_cv_c_compiler_gnu+:} false; then :
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4074 /* end confdefs.h.  */
   4075 
   4076 int
   4077 main ()
   4078 {
   4079 #ifndef __GNUC__
   4080        choke me
   4081 #endif
   4082 
   4083   ;
   4084   return 0;
   4085 }
   4086 _ACEOF
   4087 if ac_fn_c_try_compile "$LINENO"; then :
   4088   ac_compiler_gnu=yes
   4089 else
   4090   ac_compiler_gnu=no
   4091 fi
   4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4093 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4094 
   4095 fi
   4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4097 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4098 if test $ac_compiler_gnu = yes; then
   4099   GCC=yes
   4100 else
   4101   GCC=
   4102 fi
   4103 ac_test_CFLAGS=${CFLAGS+set}
   4104 ac_save_CFLAGS=$CFLAGS
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4106 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4107 if ${ac_cv_prog_cc_g+:} false; then :
   4108   $as_echo_n "(cached) " >&6
   4109 else
   4110   ac_save_c_werror_flag=$ac_c_werror_flag
   4111    ac_c_werror_flag=yes
   4112    ac_cv_prog_cc_g=no
   4113    CFLAGS="-g"
   4114    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4115 /* end confdefs.h.  */
   4116 
   4117 int
   4118 main ()
   4119 {
   4120 
   4121   ;
   4122   return 0;
   4123 }
   4124 _ACEOF
   4125 if ac_fn_c_try_compile "$LINENO"; then :
   4126   ac_cv_prog_cc_g=yes
   4127 else
   4128   CFLAGS=""
   4129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4130 /* end confdefs.h.  */
   4131 
   4132 int
   4133 main ()
   4134 {
   4135 
   4136   ;
   4137   return 0;
   4138 }
   4139 _ACEOF
   4140 if ac_fn_c_try_compile "$LINENO"; then :
   4141 
   4142 else
   4143   ac_c_werror_flag=$ac_save_c_werror_flag
   4144 	 CFLAGS="-g"
   4145 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4146 /* end confdefs.h.  */
   4147 
   4148 int
   4149 main ()
   4150 {
   4151 
   4152   ;
   4153   return 0;
   4154 }
   4155 _ACEOF
   4156 if ac_fn_c_try_compile "$LINENO"; then :
   4157   ac_cv_prog_cc_g=yes
   4158 fi
   4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4160 fi
   4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4162 fi
   4163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4164    ac_c_werror_flag=$ac_save_c_werror_flag
   4165 fi
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4167 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4168 if test "$ac_test_CFLAGS" = set; then
   4169   CFLAGS=$ac_save_CFLAGS
   4170 elif test $ac_cv_prog_cc_g = yes; then
   4171   if test "$GCC" = yes; then
   4172     CFLAGS="-g -O2"
   4173   else
   4174     CFLAGS="-g"
   4175   fi
   4176 else
   4177   if test "$GCC" = yes; then
   4178     CFLAGS="-O2"
   4179   else
   4180     CFLAGS=
   4181   fi
   4182 fi
   4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4184 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4185 if ${ac_cv_prog_cc_c89+:} false; then :
   4186   $as_echo_n "(cached) " >&6
   4187 else
   4188   ac_cv_prog_cc_c89=no
   4189 ac_save_CC=$CC
   4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4191 /* end confdefs.h.  */
   4192 #include <stdarg.h>
   4193 #include <stdio.h>
   4194 struct stat;
   4195 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4196 struct buf { int x; };
   4197 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4198 static char *e (p, i)
   4199      char **p;
   4200      int i;
   4201 {
   4202   return p[i];
   4203 }
   4204 static char *f (char * (*g) (char **, int), char **p, ...)
   4205 {
   4206   char *s;
   4207   va_list v;
   4208   va_start (v,p);
   4209   s = g (p, va_arg (v,int));
   4210   va_end (v);
   4211   return s;
   4212 }
   4213 
   4214 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4215    function prototypes and stuff, but not '\xHH' hex character constants.
   4216    These don't provoke an error unfortunately, instead are silently treated
   4217    as 'x'.  The following induces an error, until -std is added to get
   4218    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4219    array size at least.  It's necessary to write '\x00'==0 to get something
   4220    that's true only with -std.  */
   4221 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4222 
   4223 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4224    inside strings and character constants.  */
   4225 #define FOO(x) 'x'
   4226 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4227 
   4228 int test (int i, double x);
   4229 struct s1 {int (*f) (int a);};
   4230 struct s2 {int (*f) (double a);};
   4231 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4232 int argc;
   4233 char **argv;
   4234 int
   4235 main ()
   4236 {
   4237 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4238   ;
   4239   return 0;
   4240 }
   4241 _ACEOF
   4242 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4243 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4244 do
   4245   CC="$ac_save_CC $ac_arg"
   4246   if ac_fn_c_try_compile "$LINENO"; then :
   4247   ac_cv_prog_cc_c89=$ac_arg
   4248 fi
   4249 rm -f core conftest.err conftest.$ac_objext
   4250   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4251 done
   4252 rm -f conftest.$ac_ext
   4253 CC=$ac_save_CC
   4254 
   4255 fi
   4256 # AC_CACHE_VAL
   4257 case "x$ac_cv_prog_cc_c89" in
   4258   x)
   4259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4260 $as_echo "none needed" >&6; } ;;
   4261   xno)
   4262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4263 $as_echo "unsupported" >&6; } ;;
   4264   *)
   4265     CC="$CC $ac_cv_prog_cc_c89"
   4266     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4267 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4268 esac
   4269 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4270 
   4271 fi
   4272 
   4273 ac_ext=c
   4274 ac_cpp='$CPP $CPPFLAGS'
   4275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4278 
   4279 ac_ext=c
   4280 ac_cpp='$CPP $CPPFLAGS'
   4281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4285 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4286 if ${am_cv_prog_cc_c_o+:} false; then :
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4290 /* end confdefs.h.  */
   4291 
   4292 int
   4293 main ()
   4294 {
   4295 
   4296   ;
   4297   return 0;
   4298 }
   4299 _ACEOF
   4300   # Make sure it works both with $CC and with simple cc.
   4301   # Following AC_PROG_CC_C_O, we do the test twice because some
   4302   # compilers refuse to overwrite an existing .o file with -o,
   4303   # though they will create one.
   4304   am_cv_prog_cc_c_o=yes
   4305   for am_i in 1 2; do
   4306     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4307    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4308    ac_status=$?
   4309    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4310    (exit $ac_status); } \
   4311          && test -f conftest2.$ac_objext; then
   4312       : OK
   4313     else
   4314       am_cv_prog_cc_c_o=no
   4315       break
   4316     fi
   4317   done
   4318   rm -f core conftest*
   4319   unset am_i
   4320 fi
   4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4322 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4323 if test "$am_cv_prog_cc_c_o" != yes; then
   4324    # Losing compiler, so override with the script.
   4325    # FIXME: It is wrong to rewrite CC.
   4326    # But if we don't then we get into trouble of one sort or another.
   4327    # A longer-term fix would be to have automake use am__CC in this case,
   4328    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4329    CC="$am_aux_dir/compile $CC"
   4330 fi
   4331 ac_ext=c
   4332 ac_cpp='$CPP $CPPFLAGS'
   4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4336 
   4337 
   4338 depcc="$CC"   am_compiler_list=
   4339 
   4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4341 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4342 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4343   $as_echo_n "(cached) " >&6
   4344 else
   4345   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4346   # We make a subdir and do the tests there.  Otherwise we can end up
   4347   # making bogus files that we don't know about and never remove.  For
   4348   # instance it was reported that on HP-UX the gcc test will end up
   4349   # making a dummy file named 'D' -- because '-MD' means "put the output
   4350   # in D".
   4351   rm -rf conftest.dir
   4352   mkdir conftest.dir
   4353   # Copy depcomp to subdir because otherwise we won't find it if we're
   4354   # using a relative directory.
   4355   cp "$am_depcomp" conftest.dir
   4356   cd conftest.dir
   4357   # We will build objects and dependencies in a subdirectory because
   4358   # it helps to detect inapplicable dependency modes.  For instance
   4359   # both Tru64's cc and ICC support -MD to output dependencies as a
   4360   # side effect of compilation, but ICC will put the dependencies in
   4361   # the current directory while Tru64 will put them in the object
   4362   # directory.
   4363   mkdir sub
   4364 
   4365   am_cv_CC_dependencies_compiler_type=none
   4366   if test "$am_compiler_list" = ""; then
   4367      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4368   fi
   4369   am__universal=false
   4370   case " $depcc " in #(
   4371      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4372      esac
   4373 
   4374   for depmode in $am_compiler_list; do
   4375     # Setup a source with many dependencies, because some compilers
   4376     # like to wrap large dependency lists on column 80 (with \), and
   4377     # we should not choose a depcomp mode which is confused by this.
   4378     #
   4379     # We need to recreate these files for each test, as the compiler may
   4380     # overwrite some of them when testing with obscure command lines.
   4381     # This happens at least with the AIX C compiler.
   4382     : > sub/conftest.c
   4383     for i in 1 2 3 4 5 6; do
   4384       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4385       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4386       # Solaris 10 /bin/sh.
   4387       echo '/* dummy */' > sub/conftst$i.h
   4388     done
   4389     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4390 
   4391     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4392     # mode.  It turns out that the SunPro C++ compiler does not properly
   4393     # handle '-M -o', and we need to detect this.  Also, some Intel
   4394     # versions had trouble with output in subdirs.
   4395     am__obj=sub/conftest.${OBJEXT-o}
   4396     am__minus_obj="-o $am__obj"
   4397     case $depmode in
   4398     gcc)
   4399       # This depmode causes a compiler race in universal mode.
   4400       test "$am__universal" = false || continue
   4401       ;;
   4402     nosideeffect)
   4403       # After this tag, mechanisms are not by side-effect, so they'll
   4404       # only be used when explicitly requested.
   4405       if test "x$enable_dependency_tracking" = xyes; then
   4406 	continue
   4407       else
   4408 	break
   4409       fi
   4410       ;;
   4411     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4412       # This compiler won't grok '-c -o', but also, the minuso test has
   4413       # not run yet.  These depmodes are late enough in the game, and
   4414       # so weak that their functioning should not be impacted.
   4415       am__obj=conftest.${OBJEXT-o}
   4416       am__minus_obj=
   4417       ;;
   4418     none) break ;;
   4419     esac
   4420     if depmode=$depmode \
   4421        source=sub/conftest.c object=$am__obj \
   4422        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4423        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4424          >/dev/null 2>conftest.err &&
   4425        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4426        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4427        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4428        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4429       # icc doesn't choke on unknown options, it will just issue warnings
   4430       # or remarks (even with -Werror).  So we grep stderr for any message
   4431       # that says an option was ignored or not supported.
   4432       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4433       #   icc: Command line warning: ignoring option '-M'; no argument required
   4434       # The diagnosis changed in icc 8.0:
   4435       #   icc: Command line remark: option '-MP' not supported
   4436       if (grep 'ignoring option' conftest.err ||
   4437           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4438         am_cv_CC_dependencies_compiler_type=$depmode
   4439         break
   4440       fi
   4441     fi
   4442   done
   4443 
   4444   cd ..
   4445   rm -rf conftest.dir
   4446 else
   4447   am_cv_CC_dependencies_compiler_type=none
   4448 fi
   4449 
   4450 fi
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4452 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4454 
   4455  if
   4456   test "x$enable_dependency_tracking" != xno \
   4457   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4458   am__fastdepCC_TRUE=
   4459   am__fastdepCC_FALSE='#'
   4460 else
   4461   am__fastdepCC_TRUE='#'
   4462   am__fastdepCC_FALSE=
   4463 fi
   4464 
   4465 
   4466 
   4467 ac_ext=c
   4468 ac_cpp='$CPP $CPPFLAGS'
   4469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4474 # On Suns, sometimes $CPP names a directory.
   4475 if test -n "$CPP" && test -d "$CPP"; then
   4476   CPP=
   4477 fi
   4478 if test -z "$CPP"; then
   4479   if ${ac_cv_prog_CPP+:} false; then :
   4480   $as_echo_n "(cached) " >&6
   4481 else
   4482       # Double quotes because CPP needs to be expanded
   4483     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4484     do
   4485       ac_preproc_ok=false
   4486 for ac_c_preproc_warn_flag in '' yes
   4487 do
   4488   # Use a header file that comes with gcc, so configuring glibc
   4489   # with a fresh cross-compiler works.
   4490   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4491   # <limits.h> exists even on freestanding compilers.
   4492   # On the NeXT, cc -E runs the code through the compiler's parser,
   4493   # not just through cpp. "Syntax error" is here to catch this case.
   4494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4495 /* end confdefs.h.  */
   4496 #ifdef __STDC__
   4497 # include <limits.h>
   4498 #else
   4499 # include <assert.h>
   4500 #endif
   4501 		     Syntax error
   4502 _ACEOF
   4503 if ac_fn_c_try_cpp "$LINENO"; then :
   4504 
   4505 else
   4506   # Broken: fails on valid input.
   4507 continue
   4508 fi
   4509 rm -f conftest.err conftest.i conftest.$ac_ext
   4510 
   4511   # OK, works on sane cases.  Now check whether nonexistent headers
   4512   # can be detected and how.
   4513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4514 /* end confdefs.h.  */
   4515 #include <ac_nonexistent.h>
   4516 _ACEOF
   4517 if ac_fn_c_try_cpp "$LINENO"; then :
   4518   # Broken: success on invalid input.
   4519 continue
   4520 else
   4521   # Passes both tests.
   4522 ac_preproc_ok=:
   4523 break
   4524 fi
   4525 rm -f conftest.err conftest.i conftest.$ac_ext
   4526 
   4527 done
   4528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4529 rm -f conftest.i conftest.err conftest.$ac_ext
   4530 if $ac_preproc_ok; then :
   4531   break
   4532 fi
   4533 
   4534     done
   4535     ac_cv_prog_CPP=$CPP
   4536 
   4537 fi
   4538   CPP=$ac_cv_prog_CPP
   4539 else
   4540   ac_cv_prog_CPP=$CPP
   4541 fi
   4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4543 $as_echo "$CPP" >&6; }
   4544 ac_preproc_ok=false
   4545 for ac_c_preproc_warn_flag in '' yes
   4546 do
   4547   # Use a header file that comes with gcc, so configuring glibc
   4548   # with a fresh cross-compiler works.
   4549   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4550   # <limits.h> exists even on freestanding compilers.
   4551   # On the NeXT, cc -E runs the code through the compiler's parser,
   4552   # not just through cpp. "Syntax error" is here to catch this case.
   4553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4554 /* end confdefs.h.  */
   4555 #ifdef __STDC__
   4556 # include <limits.h>
   4557 #else
   4558 # include <assert.h>
   4559 #endif
   4560 		     Syntax error
   4561 _ACEOF
   4562 if ac_fn_c_try_cpp "$LINENO"; then :
   4563 
   4564 else
   4565   # Broken: fails on valid input.
   4566 continue
   4567 fi
   4568 rm -f conftest.err conftest.i conftest.$ac_ext
   4569 
   4570   # OK, works on sane cases.  Now check whether nonexistent headers
   4571   # can be detected and how.
   4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4573 /* end confdefs.h.  */
   4574 #include <ac_nonexistent.h>
   4575 _ACEOF
   4576 if ac_fn_c_try_cpp "$LINENO"; then :
   4577   # Broken: success on invalid input.
   4578 continue
   4579 else
   4580   # Passes both tests.
   4581 ac_preproc_ok=:
   4582 break
   4583 fi
   4584 rm -f conftest.err conftest.i conftest.$ac_ext
   4585 
   4586 done
   4587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4588 rm -f conftest.i conftest.err conftest.$ac_ext
   4589 if $ac_preproc_ok; then :
   4590 
   4591 else
   4592   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4595 See \`config.log' for more details" "$LINENO" 5; }
   4596 fi
   4597 
   4598 ac_ext=c
   4599 ac_cpp='$CPP $CPPFLAGS'
   4600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4603 
   4604 
   4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4607 if ${ac_cv_path_GREP+:} false; then :
   4608   $as_echo_n "(cached) " >&6
   4609 else
   4610   if test -z "$GREP"; then
   4611   ac_path_GREP_found=false
   4612   # Loop through the user's path and test for each of PROGNAME-LIST
   4613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4615 do
   4616   IFS=$as_save_IFS
   4617   test -z "$as_dir" && as_dir=.
   4618     for ac_prog in grep ggrep; do
   4619     for ac_exec_ext in '' $ac_executable_extensions; do
   4620       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4621       as_fn_executable_p "$ac_path_GREP" || continue
   4622 # Check for GNU ac_path_GREP and select it if it is found.
   4623   # Check for GNU $ac_path_GREP
   4624 case `"$ac_path_GREP" --version 2>&1` in
   4625 *GNU*)
   4626   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4627 *)
   4628   ac_count=0
   4629   $as_echo_n 0123456789 >"conftest.in"
   4630   while :
   4631   do
   4632     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4633     mv "conftest.tmp" "conftest.in"
   4634     cp "conftest.in" "conftest.nl"
   4635     $as_echo 'GREP' >> "conftest.nl"
   4636     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4637     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4638     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4639     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4640       # Best one so far, save it but keep looking for a better one
   4641       ac_cv_path_GREP="$ac_path_GREP"
   4642       ac_path_GREP_max=$ac_count
   4643     fi
   4644     # 10*(2^10) chars as input seems more than enough
   4645     test $ac_count -gt 10 && break
   4646   done
   4647   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4648 esac
   4649 
   4650       $ac_path_GREP_found && break 3
   4651     done
   4652   done
   4653   done
   4654 IFS=$as_save_IFS
   4655   if test -z "$ac_cv_path_GREP"; then
   4656     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4657   fi
   4658 else
   4659   ac_cv_path_GREP=$GREP
   4660 fi
   4661 
   4662 fi
   4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4664 $as_echo "$ac_cv_path_GREP" >&6; }
   4665  GREP="$ac_cv_path_GREP"
   4666 
   4667 
   4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4669 $as_echo_n "checking for egrep... " >&6; }
   4670 if ${ac_cv_path_EGREP+:} false; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4674    then ac_cv_path_EGREP="$GREP -E"
   4675    else
   4676      if test -z "$EGREP"; then
   4677   ac_path_EGREP_found=false
   4678   # Loop through the user's path and test for each of PROGNAME-LIST
   4679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4680 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4681 do
   4682   IFS=$as_save_IFS
   4683   test -z "$as_dir" && as_dir=.
   4684     for ac_prog in egrep; do
   4685     for ac_exec_ext in '' $ac_executable_extensions; do
   4686       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4687       as_fn_executable_p "$ac_path_EGREP" || continue
   4688 # Check for GNU ac_path_EGREP and select it if it is found.
   4689   # Check for GNU $ac_path_EGREP
   4690 case `"$ac_path_EGREP" --version 2>&1` in
   4691 *GNU*)
   4692   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4693 *)
   4694   ac_count=0
   4695   $as_echo_n 0123456789 >"conftest.in"
   4696   while :
   4697   do
   4698     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4699     mv "conftest.tmp" "conftest.in"
   4700     cp "conftest.in" "conftest.nl"
   4701     $as_echo 'EGREP' >> "conftest.nl"
   4702     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4703     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4704     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4705     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4706       # Best one so far, save it but keep looking for a better one
   4707       ac_cv_path_EGREP="$ac_path_EGREP"
   4708       ac_path_EGREP_max=$ac_count
   4709     fi
   4710     # 10*(2^10) chars as input seems more than enough
   4711     test $ac_count -gt 10 && break
   4712   done
   4713   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4714 esac
   4715 
   4716       $ac_path_EGREP_found && break 3
   4717     done
   4718   done
   4719   done
   4720 IFS=$as_save_IFS
   4721   if test -z "$ac_cv_path_EGREP"; then
   4722     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4723   fi
   4724 else
   4725   ac_cv_path_EGREP=$EGREP
   4726 fi
   4727 
   4728    fi
   4729 fi
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4731 $as_echo "$ac_cv_path_EGREP" >&6; }
   4732  EGREP="$ac_cv_path_EGREP"
   4733 
   4734 
   4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4736 $as_echo_n "checking for ANSI C header files... " >&6; }
   4737 if ${ac_cv_header_stdc+:} false; then :
   4738   $as_echo_n "(cached) " >&6
   4739 else
   4740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4741 /* end confdefs.h.  */
   4742 #include <stdlib.h>
   4743 #include <stdarg.h>
   4744 #include <string.h>
   4745 #include <float.h>
   4746 
   4747 int
   4748 main ()
   4749 {
   4750 
   4751   ;
   4752   return 0;
   4753 }
   4754 _ACEOF
   4755 if ac_fn_c_try_compile "$LINENO"; then :
   4756   ac_cv_header_stdc=yes
   4757 else
   4758   ac_cv_header_stdc=no
   4759 fi
   4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4761 
   4762 if test $ac_cv_header_stdc = yes; then
   4763   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4765 /* end confdefs.h.  */
   4766 #include <string.h>
   4767 
   4768 _ACEOF
   4769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4770   $EGREP "memchr" >/dev/null 2>&1; then :
   4771 
   4772 else
   4773   ac_cv_header_stdc=no
   4774 fi
   4775 rm -f conftest*
   4776 
   4777 fi
   4778 
   4779 if test $ac_cv_header_stdc = yes; then
   4780   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4782 /* end confdefs.h.  */
   4783 #include <stdlib.h>
   4784 
   4785 _ACEOF
   4786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4787   $EGREP "free" >/dev/null 2>&1; then :
   4788 
   4789 else
   4790   ac_cv_header_stdc=no
   4791 fi
   4792 rm -f conftest*
   4793 
   4794 fi
   4795 
   4796 if test $ac_cv_header_stdc = yes; then
   4797   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4798   if test "$cross_compiling" = yes; then :
   4799   :
   4800 else
   4801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4802 /* end confdefs.h.  */
   4803 #include <ctype.h>
   4804 #include <stdlib.h>
   4805 #if ((' ' & 0x0FF) == 0x020)
   4806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4807 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4808 #else
   4809 # define ISLOWER(c) \
   4810 		   (('a' <= (c) && (c) <= 'i') \
   4811 		     || ('j' <= (c) && (c) <= 'r') \
   4812 		     || ('s' <= (c) && (c) <= 'z'))
   4813 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4814 #endif
   4815 
   4816 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4817 int
   4818 main ()
   4819 {
   4820   int i;
   4821   for (i = 0; i < 256; i++)
   4822     if (XOR (islower (i), ISLOWER (i))
   4823 	|| toupper (i) != TOUPPER (i))
   4824       return 2;
   4825   return 0;
   4826 }
   4827 _ACEOF
   4828 if ac_fn_c_try_run "$LINENO"; then :
   4829 
   4830 else
   4831   ac_cv_header_stdc=no
   4832 fi
   4833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4834   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4835 fi
   4836 
   4837 fi
   4838 fi
   4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4840 $as_echo "$ac_cv_header_stdc" >&6; }
   4841 if test $ac_cv_header_stdc = yes; then
   4842 
   4843 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4844 
   4845 fi
   4846 
   4847 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4848 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4849 		  inttypes.h stdint.h unistd.h
   4850 do :
   4851   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4852 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4853 "
   4854 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4855   cat >>confdefs.h <<_ACEOF
   4856 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4857 _ACEOF
   4858 
   4859 fi
   4860 
   4861 done
   4862 
   4863 
   4864 
   4865   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4866 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4867   MINIX=yes
   4868 else
   4869   MINIX=
   4870 fi
   4871 
   4872 
   4873   if test "$MINIX" = yes; then
   4874 
   4875 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4876 
   4877 
   4878 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4879 
   4880 
   4881 $as_echo "#define _MINIX 1" >>confdefs.h
   4882 
   4883   fi
   4884 
   4885 
   4886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4887 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4888 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4889   $as_echo_n "(cached) " >&6
   4890 else
   4891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4892 /* end confdefs.h.  */
   4893 
   4894 #         define __EXTENSIONS__ 1
   4895           $ac_includes_default
   4896 int
   4897 main ()
   4898 {
   4899 
   4900   ;
   4901   return 0;
   4902 }
   4903 _ACEOF
   4904 if ac_fn_c_try_compile "$LINENO"; then :
   4905   ac_cv_safe_to_define___extensions__=yes
   4906 else
   4907   ac_cv_safe_to_define___extensions__=no
   4908 fi
   4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4910 fi
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4912 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4913   test $ac_cv_safe_to_define___extensions__ = yes &&
   4914     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4915 
   4916   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4917 
   4918   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4919 
   4920   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4921 
   4922   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4923 
   4924 
   4925 
   4926 # Initialize libtool
   4927 
   4928 case `pwd` in
   4929   *\ * | *\	*)
   4930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4931 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4932 esac
   4933 
   4934 
   4935 
   4936 macro_version='2.4.6'
   4937 macro_revision='2.4.6'
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 ltmain=$ac_aux_dir/ltmain.sh
   4952 
   4953 # Make sure we can run config.sub.
   4954 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4955   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4956 
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4958 $as_echo_n "checking build system type... " >&6; }
   4959 if ${ac_cv_build+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   ac_build_alias=$build_alias
   4963 test "x$ac_build_alias" = x &&
   4964   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4965 test "x$ac_build_alias" = x &&
   4966   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4967 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4968   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4969 
   4970 fi
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4972 $as_echo "$ac_cv_build" >&6; }
   4973 case $ac_cv_build in
   4974 *-*-*) ;;
   4975 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4976 esac
   4977 build=$ac_cv_build
   4978 ac_save_IFS=$IFS; IFS='-'
   4979 set x $ac_cv_build
   4980 shift
   4981 build_cpu=$1
   4982 build_vendor=$2
   4983 shift; shift
   4984 # Remember, the first character of IFS is used to create $*,
   4985 # except with old shells:
   4986 build_os=$*
   4987 IFS=$ac_save_IFS
   4988 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4989 
   4990 
   4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4992 $as_echo_n "checking host system type... " >&6; }
   4993 if ${ac_cv_host+:} false; then :
   4994   $as_echo_n "(cached) " >&6
   4995 else
   4996   if test "x$host_alias" = x; then
   4997   ac_cv_host=$ac_cv_build
   4998 else
   4999   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5000     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5001 fi
   5002 
   5003 fi
   5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5005 $as_echo "$ac_cv_host" >&6; }
   5006 case $ac_cv_host in
   5007 *-*-*) ;;
   5008 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5009 esac
   5010 host=$ac_cv_host
   5011 ac_save_IFS=$IFS; IFS='-'
   5012 set x $ac_cv_host
   5013 shift
   5014 host_cpu=$1
   5015 host_vendor=$2
   5016 shift; shift
   5017 # Remember, the first character of IFS is used to create $*,
   5018 # except with old shells:
   5019 host_os=$*
   5020 IFS=$ac_save_IFS
   5021 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5022 
   5023 
   5024 # Backslashify metacharacters that are still active within
   5025 # double-quoted strings.
   5026 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5027 
   5028 # Same as above, but do not quote variable references.
   5029 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5030 
   5031 # Sed substitution to delay expansion of an escaped shell variable in a
   5032 # double_quote_subst'ed string.
   5033 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5034 
   5035 # Sed substitution to delay expansion of an escaped single quote.
   5036 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5037 
   5038 # Sed substitution to avoid accidental globbing in evaled expressions
   5039 no_glob_subst='s/\*/\\\*/g'
   5040 
   5041 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5043 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5044 
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5046 $as_echo_n "checking how to print strings... " >&6; }
   5047 # Test print first, because it will be a builtin if present.
   5048 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5049    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5050   ECHO='print -r --'
   5051 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5052   ECHO='printf %s\n'
   5053 else
   5054   # Use this function as a fallback that always works.
   5055   func_fallback_echo ()
   5056   {
   5057     eval 'cat <<_LTECHO_EOF
   5058 $1
   5059 _LTECHO_EOF'
   5060   }
   5061   ECHO='func_fallback_echo'
   5062 fi
   5063 
   5064 # func_echo_all arg...
   5065 # Invoke $ECHO with all args, space-separated.
   5066 func_echo_all ()
   5067 {
   5068     $ECHO ""
   5069 }
   5070 
   5071 case $ECHO in
   5072   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5073 $as_echo "printf" >&6; } ;;
   5074   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5075 $as_echo "print -r" >&6; } ;;
   5076   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5077 $as_echo "cat" >&6; } ;;
   5078 esac
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5094 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5095 if ${ac_cv_path_SED+:} false; then :
   5096   $as_echo_n "(cached) " >&6
   5097 else
   5098             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5099      for ac_i in 1 2 3 4 5 6 7; do
   5100        ac_script="$ac_script$as_nl$ac_script"
   5101      done
   5102      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5103      { ac_script=; unset ac_script;}
   5104      if test -z "$SED"; then
   5105   ac_path_SED_found=false
   5106   # Loop through the user's path and test for each of PROGNAME-LIST
   5107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5108 for as_dir in $PATH
   5109 do
   5110   IFS=$as_save_IFS
   5111   test -z "$as_dir" && as_dir=.
   5112     for ac_prog in sed gsed; do
   5113     for ac_exec_ext in '' $ac_executable_extensions; do
   5114       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5115       as_fn_executable_p "$ac_path_SED" || continue
   5116 # Check for GNU ac_path_SED and select it if it is found.
   5117   # Check for GNU $ac_path_SED
   5118 case `"$ac_path_SED" --version 2>&1` in
   5119 *GNU*)
   5120   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5121 *)
   5122   ac_count=0
   5123   $as_echo_n 0123456789 >"conftest.in"
   5124   while :
   5125   do
   5126     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5127     mv "conftest.tmp" "conftest.in"
   5128     cp "conftest.in" "conftest.nl"
   5129     $as_echo '' >> "conftest.nl"
   5130     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5131     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5132     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5133     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5134       # Best one so far, save it but keep looking for a better one
   5135       ac_cv_path_SED="$ac_path_SED"
   5136       ac_path_SED_max=$ac_count
   5137     fi
   5138     # 10*(2^10) chars as input seems more than enough
   5139     test $ac_count -gt 10 && break
   5140   done
   5141   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5142 esac
   5143 
   5144       $ac_path_SED_found && break 3
   5145     done
   5146   done
   5147   done
   5148 IFS=$as_save_IFS
   5149   if test -z "$ac_cv_path_SED"; then
   5150     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5151   fi
   5152 else
   5153   ac_cv_path_SED=$SED
   5154 fi
   5155 
   5156 fi
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5158 $as_echo "$ac_cv_path_SED" >&6; }
   5159  SED="$ac_cv_path_SED"
   5160   rm -f conftest.sed
   5161 
   5162 test -z "$SED" && SED=sed
   5163 Xsed="$SED -e 1s/^X//"
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5176 $as_echo_n "checking for fgrep... " >&6; }
   5177 if ${ac_cv_path_FGREP+:} false; then :
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5181    then ac_cv_path_FGREP="$GREP -F"
   5182    else
   5183      if test -z "$FGREP"; then
   5184   ac_path_FGREP_found=false
   5185   # Loop through the user's path and test for each of PROGNAME-LIST
   5186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5188 do
   5189   IFS=$as_save_IFS
   5190   test -z "$as_dir" && as_dir=.
   5191     for ac_prog in fgrep; do
   5192     for ac_exec_ext in '' $ac_executable_extensions; do
   5193       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5194       as_fn_executable_p "$ac_path_FGREP" || continue
   5195 # Check for GNU ac_path_FGREP and select it if it is found.
   5196   # Check for GNU $ac_path_FGREP
   5197 case `"$ac_path_FGREP" --version 2>&1` in
   5198 *GNU*)
   5199   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5200 *)
   5201   ac_count=0
   5202   $as_echo_n 0123456789 >"conftest.in"
   5203   while :
   5204   do
   5205     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5206     mv "conftest.tmp" "conftest.in"
   5207     cp "conftest.in" "conftest.nl"
   5208     $as_echo 'FGREP' >> "conftest.nl"
   5209     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5210     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5211     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5212     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5213       # Best one so far, save it but keep looking for a better one
   5214       ac_cv_path_FGREP="$ac_path_FGREP"
   5215       ac_path_FGREP_max=$ac_count
   5216     fi
   5217     # 10*(2^10) chars as input seems more than enough
   5218     test $ac_count -gt 10 && break
   5219   done
   5220   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5221 esac
   5222 
   5223       $ac_path_FGREP_found && break 3
   5224     done
   5225   done
   5226   done
   5227 IFS=$as_save_IFS
   5228   if test -z "$ac_cv_path_FGREP"; then
   5229     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5230   fi
   5231 else
   5232   ac_cv_path_FGREP=$FGREP
   5233 fi
   5234 
   5235    fi
   5236 fi
   5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5238 $as_echo "$ac_cv_path_FGREP" >&6; }
   5239  FGREP="$ac_cv_path_FGREP"
   5240 
   5241 
   5242 test -z "$GREP" && GREP=grep
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 # Check whether --with-gnu-ld was given.
   5263 if test "${with_gnu_ld+set}" = set; then :
   5264   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5265 else
   5266   with_gnu_ld=no
   5267 fi
   5268 
   5269 ac_prog=ld
   5270 if test yes = "$GCC"; then
   5271   # Check if gcc -print-prog-name=ld gives a path.
   5272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5273 $as_echo_n "checking for ld used by $CC... " >&6; }
   5274   case $host in
   5275   *-*-mingw*)
   5276     # gcc leaves a trailing carriage return, which upsets mingw
   5277     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5278   *)
   5279     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5280   esac
   5281   case $ac_prog in
   5282     # Accept absolute paths.
   5283     [\\/]* | ?:[\\/]*)
   5284       re_direlt='/[^/][^/]*/\.\./'
   5285       # Canonicalize the pathname of ld
   5286       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5287       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5288 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5289       done
   5290       test -z "$LD" && LD=$ac_prog
   5291       ;;
   5292   "")
   5293     # If it fails, then pretend we aren't using GCC.
   5294     ac_prog=ld
   5295     ;;
   5296   *)
   5297     # If it is relative, then search for the first ld in PATH.
   5298     with_gnu_ld=unknown
   5299     ;;
   5300   esac
   5301 elif test yes = "$with_gnu_ld"; then
   5302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5303 $as_echo_n "checking for GNU ld... " >&6; }
   5304 else
   5305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5306 $as_echo_n "checking for non-GNU ld... " >&6; }
   5307 fi
   5308 if ${lt_cv_path_LD+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   if test -z "$LD"; then
   5312   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5313   for ac_dir in $PATH; do
   5314     IFS=$lt_save_ifs
   5315     test -z "$ac_dir" && ac_dir=.
   5316     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5317       lt_cv_path_LD=$ac_dir/$ac_prog
   5318       # Check to see if the program is GNU ld.  I'd rather use --version,
   5319       # but apparently some variants of GNU ld only accept -v.
   5320       # Break only if it was the GNU/non-GNU ld that we prefer.
   5321       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5322       *GNU* | *'with BFD'*)
   5323 	test no != "$with_gnu_ld" && break
   5324 	;;
   5325       *)
   5326 	test yes != "$with_gnu_ld" && break
   5327 	;;
   5328       esac
   5329     fi
   5330   done
   5331   IFS=$lt_save_ifs
   5332 else
   5333   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5334 fi
   5335 fi
   5336 
   5337 LD=$lt_cv_path_LD
   5338 if test -n "$LD"; then
   5339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5340 $as_echo "$LD" >&6; }
   5341 else
   5342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5343 $as_echo "no" >&6; }
   5344 fi
   5345 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5347 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5348 if ${lt_cv_prog_gnu_ld+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5352 case `$LD -v 2>&1 </dev/null` in
   5353 *GNU* | *'with BFD'*)
   5354   lt_cv_prog_gnu_ld=yes
   5355   ;;
   5356 *)
   5357   lt_cv_prog_gnu_ld=no
   5358   ;;
   5359 esac
   5360 fi
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5362 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5363 with_gnu_ld=$lt_cv_prog_gnu_ld
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5374 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5375 if ${lt_cv_path_NM+:} false; then :
   5376   $as_echo_n "(cached) " >&6
   5377 else
   5378   if test -n "$NM"; then
   5379   # Let the user override the test.
   5380   lt_cv_path_NM=$NM
   5381 else
   5382   lt_nm_to_check=${ac_tool_prefix}nm
   5383   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5384     lt_nm_to_check="$lt_nm_to_check nm"
   5385   fi
   5386   for lt_tmp_nm in $lt_nm_to_check; do
   5387     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5388     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5389       IFS=$lt_save_ifs
   5390       test -z "$ac_dir" && ac_dir=.
   5391       tmp_nm=$ac_dir/$lt_tmp_nm
   5392       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5393 	# Check to see if the nm accepts a BSD-compat flag.
   5394 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5395 	#   nm: unknown option "B" ignored
   5396 	# Tru64's nm complains that /dev/null is an invalid object file
   5397 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5398 	case $build_os in
   5399 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5400 	*) lt_bad_file=/dev/null ;;
   5401 	esac
   5402 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5403 	*$lt_bad_file* | *'Invalid file or object type'*)
   5404 	  lt_cv_path_NM="$tmp_nm -B"
   5405 	  break 2
   5406 	  ;;
   5407 	*)
   5408 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5409 	  */dev/null*)
   5410 	    lt_cv_path_NM="$tmp_nm -p"
   5411 	    break 2
   5412 	    ;;
   5413 	  *)
   5414 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5415 	    continue # so that we can try to find one that supports BSD flags
   5416 	    ;;
   5417 	  esac
   5418 	  ;;
   5419 	esac
   5420       fi
   5421     done
   5422     IFS=$lt_save_ifs
   5423   done
   5424   : ${lt_cv_path_NM=no}
   5425 fi
   5426 fi
   5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5428 $as_echo "$lt_cv_path_NM" >&6; }
   5429 if test no != "$lt_cv_path_NM"; then
   5430   NM=$lt_cv_path_NM
   5431 else
   5432   # Didn't find any BSD compatible name lister, look for dumpbin.
   5433   if test -n "$DUMPBIN"; then :
   5434     # Let the user override the test.
   5435   else
   5436     if test -n "$ac_tool_prefix"; then
   5437   for ac_prog in dumpbin "link -dump"
   5438   do
   5439     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5442 $as_echo_n "checking for $ac_word... " >&6; }
   5443 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5444   $as_echo_n "(cached) " >&6
   5445 else
   5446   if test -n "$DUMPBIN"; then
   5447   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5448 else
   5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5450 for as_dir in $PATH
   5451 do
   5452   IFS=$as_save_IFS
   5453   test -z "$as_dir" && as_dir=.
   5454     for ac_exec_ext in '' $ac_executable_extensions; do
   5455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5456     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5458     break 2
   5459   fi
   5460 done
   5461   done
   5462 IFS=$as_save_IFS
   5463 
   5464 fi
   5465 fi
   5466 DUMPBIN=$ac_cv_prog_DUMPBIN
   5467 if test -n "$DUMPBIN"; then
   5468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5469 $as_echo "$DUMPBIN" >&6; }
   5470 else
   5471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5472 $as_echo "no" >&6; }
   5473 fi
   5474 
   5475 
   5476     test -n "$DUMPBIN" && break
   5477   done
   5478 fi
   5479 if test -z "$DUMPBIN"; then
   5480   ac_ct_DUMPBIN=$DUMPBIN
   5481   for ac_prog in dumpbin "link -dump"
   5482 do
   5483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5484 set dummy $ac_prog; ac_word=$2
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5486 $as_echo_n "checking for $ac_word... " >&6; }
   5487 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   if test -n "$ac_ct_DUMPBIN"; then
   5491   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5492 else
   5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5494 for as_dir in $PATH
   5495 do
   5496   IFS=$as_save_IFS
   5497   test -z "$as_dir" && as_dir=.
   5498     for ac_exec_ext in '' $ac_executable_extensions; do
   5499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5500     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5502     break 2
   5503   fi
   5504 done
   5505   done
   5506 IFS=$as_save_IFS
   5507 
   5508 fi
   5509 fi
   5510 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5511 if test -n "$ac_ct_DUMPBIN"; then
   5512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5513 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5514 else
   5515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5516 $as_echo "no" >&6; }
   5517 fi
   5518 
   5519 
   5520   test -n "$ac_ct_DUMPBIN" && break
   5521 done
   5522 
   5523   if test "x$ac_ct_DUMPBIN" = x; then
   5524     DUMPBIN=":"
   5525   else
   5526     case $cross_compiling:$ac_tool_warned in
   5527 yes:)
   5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5530 ac_tool_warned=yes ;;
   5531 esac
   5532     DUMPBIN=$ac_ct_DUMPBIN
   5533   fi
   5534 fi
   5535 
   5536     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5537     *COFF*)
   5538       DUMPBIN="$DUMPBIN -symbols -headers"
   5539       ;;
   5540     *)
   5541       DUMPBIN=:
   5542       ;;
   5543     esac
   5544   fi
   5545 
   5546   if test : != "$DUMPBIN"; then
   5547     NM=$DUMPBIN
   5548   fi
   5549 fi
   5550 test -z "$NM" && NM=nm
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5558 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5559 if ${lt_cv_nm_interface+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   lt_cv_nm_interface="BSD nm"
   5563   echo "int some_variable = 0;" > conftest.$ac_ext
   5564   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5565   (eval "$ac_compile" 2>conftest.err)
   5566   cat conftest.err >&5
   5567   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5568   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5569   cat conftest.err >&5
   5570   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5571   cat conftest.out >&5
   5572   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5573     lt_cv_nm_interface="MS dumpbin"
   5574   fi
   5575   rm -f conftest*
   5576 fi
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5578 $as_echo "$lt_cv_nm_interface" >&6; }
   5579 
   5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5581 $as_echo_n "checking whether ln -s works... " >&6; }
   5582 LN_S=$as_ln_s
   5583 if test "$LN_S" = "ln -s"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5585 $as_echo "yes" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5588 $as_echo "no, using $LN_S" >&6; }
   5589 fi
   5590 
   5591 # find the maximum length of command line arguments
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5593 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5594 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5595   $as_echo_n "(cached) " >&6
   5596 else
   5597     i=0
   5598   teststring=ABCD
   5599 
   5600   case $build_os in
   5601   msdosdjgpp*)
   5602     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5603     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5604     # during glob expansion).  Even if it were fixed, the result of this
   5605     # check would be larger than it should be.
   5606     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5607     ;;
   5608 
   5609   gnu*)
   5610     # Under GNU Hurd, this test is not required because there is
   5611     # no limit to the length of command line arguments.
   5612     # Libtool will interpret -1 as no limit whatsoever
   5613     lt_cv_sys_max_cmd_len=-1;
   5614     ;;
   5615 
   5616   cygwin* | mingw* | cegcc*)
   5617     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5618     # about 5 minutes as the teststring grows exponentially.
   5619     # Worse, since 9x/ME are not pre-emptively multitasking,
   5620     # you end up with a "frozen" computer, even though with patience
   5621     # the test eventually succeeds (with a max line length of 256k).
   5622     # Instead, let's just punt: use the minimum linelength reported by
   5623     # all of the supported platforms: 8192 (on NT/2K/XP).
   5624     lt_cv_sys_max_cmd_len=8192;
   5625     ;;
   5626 
   5627   mint*)
   5628     # On MiNT this can take a long time and run out of memory.
   5629     lt_cv_sys_max_cmd_len=8192;
   5630     ;;
   5631 
   5632   amigaos*)
   5633     # On AmigaOS with pdksh, this test takes hours, literally.
   5634     # So we just punt and use a minimum line length of 8192.
   5635     lt_cv_sys_max_cmd_len=8192;
   5636     ;;
   5637 
   5638   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5639     # This has been around since 386BSD, at least.  Likely further.
   5640     if test -x /sbin/sysctl; then
   5641       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5642     elif test -x /usr/sbin/sysctl; then
   5643       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5644     else
   5645       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5646     fi
   5647     # And add a safety zone
   5648     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5649     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5650     ;;
   5651 
   5652   interix*)
   5653     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5654     lt_cv_sys_max_cmd_len=196608
   5655     ;;
   5656 
   5657   os2*)
   5658     # The test takes a long time on OS/2.
   5659     lt_cv_sys_max_cmd_len=8192
   5660     ;;
   5661 
   5662   osf*)
   5663     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5664     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5665     # nice to cause kernel panics so lets avoid the loop below.
   5666     # First set a reasonable default.
   5667     lt_cv_sys_max_cmd_len=16384
   5668     #
   5669     if test -x /sbin/sysconfig; then
   5670       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5671         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5672       esac
   5673     fi
   5674     ;;
   5675   sco3.2v5*)
   5676     lt_cv_sys_max_cmd_len=102400
   5677     ;;
   5678   sysv5* | sco5v6* | sysv4.2uw2*)
   5679     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5680     if test -n "$kargmax"; then
   5681       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5682     else
   5683       lt_cv_sys_max_cmd_len=32768
   5684     fi
   5685     ;;
   5686   *)
   5687     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5688     if test -n "$lt_cv_sys_max_cmd_len" && \
   5689        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5690       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5691       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5692     else
   5693       # Make teststring a little bigger before we do anything with it.
   5694       # a 1K string should be a reasonable start.
   5695       for i in 1 2 3 4 5 6 7 8; do
   5696         teststring=$teststring$teststring
   5697       done
   5698       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5699       # If test is not a shell built-in, we'll probably end up computing a
   5700       # maximum length that is only half of the actual maximum length, but
   5701       # we can't tell.
   5702       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5703 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5704 	      test 17 != "$i" # 1/2 MB should be enough
   5705       do
   5706         i=`expr $i + 1`
   5707         teststring=$teststring$teststring
   5708       done
   5709       # Only check the string length outside the loop.
   5710       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5711       teststring=
   5712       # Add a significant safety factor because C++ compilers can tack on
   5713       # massive amounts of additional arguments before passing them to the
   5714       # linker.  It appears as though 1/2 is a usable value.
   5715       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5716     fi
   5717     ;;
   5718   esac
   5719 
   5720 fi
   5721 
   5722 if test -n "$lt_cv_sys_max_cmd_len"; then
   5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5724 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5725 else
   5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5727 $as_echo "none" >&6; }
   5728 fi
   5729 max_cmd_len=$lt_cv_sys_max_cmd_len
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 : ${CP="cp -f"}
   5737 : ${MV="mv -f"}
   5738 : ${RM="rm -f"}
   5739 
   5740 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5741   lt_unset=unset
   5742 else
   5743   lt_unset=false
   5744 fi
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 # test EBCDIC or ASCII
   5751 case `echo X|tr X '\101'` in
   5752  A) # ASCII based system
   5753     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5754   lt_SP2NL='tr \040 \012'
   5755   lt_NL2SP='tr \015\012 \040\040'
   5756   ;;
   5757  *) # EBCDIC based system
   5758   lt_SP2NL='tr \100 \n'
   5759   lt_NL2SP='tr \r\n \100\100'
   5760   ;;
   5761 esac
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5772 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5773 if ${lt_cv_to_host_file_cmd+:} false; then :
   5774   $as_echo_n "(cached) " >&6
   5775 else
   5776   case $host in
   5777   *-*-mingw* )
   5778     case $build in
   5779       *-*-mingw* ) # actually msys
   5780         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5781         ;;
   5782       *-*-cygwin* )
   5783         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5784         ;;
   5785       * ) # otherwise, assume *nix
   5786         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5787         ;;
   5788     esac
   5789     ;;
   5790   *-*-cygwin* )
   5791     case $build in
   5792       *-*-mingw* ) # actually msys
   5793         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5794         ;;
   5795       *-*-cygwin* )
   5796         lt_cv_to_host_file_cmd=func_convert_file_noop
   5797         ;;
   5798       * ) # otherwise, assume *nix
   5799         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5800         ;;
   5801     esac
   5802     ;;
   5803   * ) # unhandled hosts (and "normal" native builds)
   5804     lt_cv_to_host_file_cmd=func_convert_file_noop
   5805     ;;
   5806 esac
   5807 
   5808 fi
   5809 
   5810 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5812 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5819 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5820 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   #assume ordinary cross tools, or native build.
   5824 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5825 case $host in
   5826   *-*-mingw* )
   5827     case $build in
   5828       *-*-mingw* ) # actually msys
   5829         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5830         ;;
   5831     esac
   5832     ;;
   5833 esac
   5834 
   5835 fi
   5836 
   5837 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5839 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5846 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5847 if ${lt_cv_ld_reload_flag+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   lt_cv_ld_reload_flag='-r'
   5851 fi
   5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5853 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5854 reload_flag=$lt_cv_ld_reload_flag
   5855 case $reload_flag in
   5856 "" | " "*) ;;
   5857 *) reload_flag=" $reload_flag" ;;
   5858 esac
   5859 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5860 case $host_os in
   5861   cygwin* | mingw* | pw32* | cegcc*)
   5862     if test yes != "$GCC"; then
   5863       reload_cmds=false
   5864     fi
   5865     ;;
   5866   darwin*)
   5867     if test yes = "$GCC"; then
   5868       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5869     else
   5870       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5871     fi
   5872     ;;
   5873 esac
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 if test -n "$ac_tool_prefix"; then
   5884   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5885 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5887 $as_echo_n "checking for $ac_word... " >&6; }
   5888 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5889   $as_echo_n "(cached) " >&6
   5890 else
   5891   if test -n "$OBJDUMP"; then
   5892   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5893 else
   5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5895 for as_dir in $PATH
   5896 do
   5897   IFS=$as_save_IFS
   5898   test -z "$as_dir" && as_dir=.
   5899     for ac_exec_ext in '' $ac_executable_extensions; do
   5900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5901     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5903     break 2
   5904   fi
   5905 done
   5906   done
   5907 IFS=$as_save_IFS
   5908 
   5909 fi
   5910 fi
   5911 OBJDUMP=$ac_cv_prog_OBJDUMP
   5912 if test -n "$OBJDUMP"; then
   5913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5914 $as_echo "$OBJDUMP" >&6; }
   5915 else
   5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5917 $as_echo "no" >&6; }
   5918 fi
   5919 
   5920 
   5921 fi
   5922 if test -z "$ac_cv_prog_OBJDUMP"; then
   5923   ac_ct_OBJDUMP=$OBJDUMP
   5924   # Extract the first word of "objdump", so it can be a program name with args.
   5925 set dummy objdump; ac_word=$2
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5927 $as_echo_n "checking for $ac_word... " >&6; }
   5928 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5929   $as_echo_n "(cached) " >&6
   5930 else
   5931   if test -n "$ac_ct_OBJDUMP"; then
   5932   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5933 else
   5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5935 for as_dir in $PATH
   5936 do
   5937   IFS=$as_save_IFS
   5938   test -z "$as_dir" && as_dir=.
   5939     for ac_exec_ext in '' $ac_executable_extensions; do
   5940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5941     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5943     break 2
   5944   fi
   5945 done
   5946   done
   5947 IFS=$as_save_IFS
   5948 
   5949 fi
   5950 fi
   5951 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5952 if test -n "$ac_ct_OBJDUMP"; then
   5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5954 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5955 else
   5956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5957 $as_echo "no" >&6; }
   5958 fi
   5959 
   5960   if test "x$ac_ct_OBJDUMP" = x; then
   5961     OBJDUMP="false"
   5962   else
   5963     case $cross_compiling:$ac_tool_warned in
   5964 yes:)
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5967 ac_tool_warned=yes ;;
   5968 esac
   5969     OBJDUMP=$ac_ct_OBJDUMP
   5970   fi
   5971 else
   5972   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5973 fi
   5974 
   5975 test -z "$OBJDUMP" && OBJDUMP=objdump
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5983 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5984 if ${lt_cv_deplibs_check_method+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5988 lt_cv_file_magic_test_file=
   5989 lt_cv_deplibs_check_method='unknown'
   5990 # Need to set the preceding variable on all platforms that support
   5991 # interlibrary dependencies.
   5992 # 'none' -- dependencies not supported.
   5993 # 'unknown' -- same as none, but documents that we really don't know.
   5994 # 'pass_all' -- all dependencies passed with no checks.
   5995 # 'test_compile' -- check by making test program.
   5996 # 'file_magic [[regex]]' -- check by looking for files in library path
   5997 # that responds to the $file_magic_cmd with a given extended regex.
   5998 # If you have 'file' or equivalent on your system and you're not sure
   5999 # whether 'pass_all' will *always* work, you probably want this one.
   6000 
   6001 case $host_os in
   6002 aix[4-9]*)
   6003   lt_cv_deplibs_check_method=pass_all
   6004   ;;
   6005 
   6006 beos*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 bsdi[45]*)
   6011   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6012   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6013   lt_cv_file_magic_test_file=/shlib/libc.so
   6014   ;;
   6015 
   6016 cygwin*)
   6017   # func_win32_libid is a shell function defined in ltmain.sh
   6018   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6019   lt_cv_file_magic_cmd='func_win32_libid'
   6020   ;;
   6021 
   6022 mingw* | pw32*)
   6023   # Base MSYS/MinGW do not provide the 'file' command needed by
   6024   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6025   # unless we find 'file', for example because we are cross-compiling.
   6026   if ( file / ) >/dev/null 2>&1; then
   6027     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6028     lt_cv_file_magic_cmd='func_win32_libid'
   6029   else
   6030     # Keep this pattern in sync with the one in func_win32_libid.
   6031     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6032     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6033   fi
   6034   ;;
   6035 
   6036 cegcc*)
   6037   # use the weaker test based on 'objdump'. See mingw*.
   6038   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6039   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6040   ;;
   6041 
   6042 darwin* | rhapsody*)
   6043   lt_cv_deplibs_check_method=pass_all
   6044   ;;
   6045 
   6046 freebsd* | dragonfly*)
   6047   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6048     case $host_cpu in
   6049     i*86 )
   6050       # Not sure whether the presence of OpenBSD here was a mistake.
   6051       # Let's accept both of them until this is cleared up.
   6052       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6053       lt_cv_file_magic_cmd=/usr/bin/file
   6054       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6055       ;;
   6056     esac
   6057   else
   6058     lt_cv_deplibs_check_method=pass_all
   6059   fi
   6060   ;;
   6061 
   6062 haiku*)
   6063   lt_cv_deplibs_check_method=pass_all
   6064   ;;
   6065 
   6066 hpux10.20* | hpux11*)
   6067   lt_cv_file_magic_cmd=/usr/bin/file
   6068   case $host_cpu in
   6069   ia64*)
   6070     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6071     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6072     ;;
   6073   hppa*64*)
   6074     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]'
   6075     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6076     ;;
   6077   *)
   6078     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6079     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6080     ;;
   6081   esac
   6082   ;;
   6083 
   6084 interix[3-9]*)
   6085   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6086   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6087   ;;
   6088 
   6089 irix5* | irix6* | nonstopux*)
   6090   case $LD in
   6091   *-32|*"-32 ") libmagic=32-bit;;
   6092   *-n32|*"-n32 ") libmagic=N32;;
   6093   *-64|*"-64 ") libmagic=64-bit;;
   6094   *) libmagic=never-match;;
   6095   esac
   6096   lt_cv_deplibs_check_method=pass_all
   6097   ;;
   6098 
   6099 # This must be glibc/ELF.
   6100 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6101   lt_cv_deplibs_check_method=pass_all
   6102   ;;
   6103 
   6104 netbsd*)
   6105   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6106     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6107   else
   6108     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6109   fi
   6110   ;;
   6111 
   6112 newos6*)
   6113   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6114   lt_cv_file_magic_cmd=/usr/bin/file
   6115   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6116   ;;
   6117 
   6118 *nto* | *qnx*)
   6119   lt_cv_deplibs_check_method=pass_all
   6120   ;;
   6121 
   6122 openbsd* | bitrig*)
   6123   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6124     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6125   else
   6126     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6127   fi
   6128   ;;
   6129 
   6130 osf3* | osf4* | osf5*)
   6131   lt_cv_deplibs_check_method=pass_all
   6132   ;;
   6133 
   6134 rdos*)
   6135   lt_cv_deplibs_check_method=pass_all
   6136   ;;
   6137 
   6138 solaris*)
   6139   lt_cv_deplibs_check_method=pass_all
   6140   ;;
   6141 
   6142 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 
   6146 sysv4 | sysv4.3*)
   6147   case $host_vendor in
   6148   motorola)
   6149     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]'
   6150     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6151     ;;
   6152   ncr)
   6153     lt_cv_deplibs_check_method=pass_all
   6154     ;;
   6155   sequent)
   6156     lt_cv_file_magic_cmd='/bin/file'
   6157     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6158     ;;
   6159   sni)
   6160     lt_cv_file_magic_cmd='/bin/file'
   6161     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6162     lt_cv_file_magic_test_file=/lib/libc.so
   6163     ;;
   6164   siemens)
   6165     lt_cv_deplibs_check_method=pass_all
   6166     ;;
   6167   pc)
   6168     lt_cv_deplibs_check_method=pass_all
   6169     ;;
   6170   esac
   6171   ;;
   6172 
   6173 tpf*)
   6174   lt_cv_deplibs_check_method=pass_all
   6175   ;;
   6176 os2*)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 esac
   6180 
   6181 fi
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6183 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6184 
   6185 file_magic_glob=
   6186 want_nocaseglob=no
   6187 if test "$build" = "$host"; then
   6188   case $host_os in
   6189   mingw* | pw32*)
   6190     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6191       want_nocaseglob=yes
   6192     else
   6193       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6194     fi
   6195     ;;
   6196   esac
   6197 fi
   6198 
   6199 file_magic_cmd=$lt_cv_file_magic_cmd
   6200 deplibs_check_method=$lt_cv_deplibs_check_method
   6201 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 if test -n "$ac_tool_prefix"; then
   6225   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6226 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6228 $as_echo_n "checking for $ac_word... " >&6; }
   6229 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6230   $as_echo_n "(cached) " >&6
   6231 else
   6232   if test -n "$DLLTOOL"; then
   6233   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6234 else
   6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6236 for as_dir in $PATH
   6237 do
   6238   IFS=$as_save_IFS
   6239   test -z "$as_dir" && as_dir=.
   6240     for ac_exec_ext in '' $ac_executable_extensions; do
   6241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6242     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6244     break 2
   6245   fi
   6246 done
   6247   done
   6248 IFS=$as_save_IFS
   6249 
   6250 fi
   6251 fi
   6252 DLLTOOL=$ac_cv_prog_DLLTOOL
   6253 if test -n "$DLLTOOL"; then
   6254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6255 $as_echo "$DLLTOOL" >&6; }
   6256 else
   6257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6258 $as_echo "no" >&6; }
   6259 fi
   6260 
   6261 
   6262 fi
   6263 if test -z "$ac_cv_prog_DLLTOOL"; then
   6264   ac_ct_DLLTOOL=$DLLTOOL
   6265   # Extract the first word of "dlltool", so it can be a program name with args.
   6266 set dummy dlltool; ac_word=$2
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6268 $as_echo_n "checking for $ac_word... " >&6; }
   6269 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6270   $as_echo_n "(cached) " >&6
   6271 else
   6272   if test -n "$ac_ct_DLLTOOL"; then
   6273   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6274 else
   6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6276 for as_dir in $PATH
   6277 do
   6278   IFS=$as_save_IFS
   6279   test -z "$as_dir" && as_dir=.
   6280     for ac_exec_ext in '' $ac_executable_extensions; do
   6281   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6282     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6283     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6284     break 2
   6285   fi
   6286 done
   6287   done
   6288 IFS=$as_save_IFS
   6289 
   6290 fi
   6291 fi
   6292 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6293 if test -n "$ac_ct_DLLTOOL"; then
   6294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6295 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6296 else
   6297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6298 $as_echo "no" >&6; }
   6299 fi
   6300 
   6301   if test "x$ac_ct_DLLTOOL" = x; then
   6302     DLLTOOL="false"
   6303   else
   6304     case $cross_compiling:$ac_tool_warned in
   6305 yes:)
   6306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6308 ac_tool_warned=yes ;;
   6309 esac
   6310     DLLTOOL=$ac_ct_DLLTOOL
   6311   fi
   6312 else
   6313   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6314 fi
   6315 
   6316 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6325 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6326 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6327   $as_echo_n "(cached) " >&6
   6328 else
   6329   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6330 
   6331 case $host_os in
   6332 cygwin* | mingw* | pw32* | cegcc*)
   6333   # two different shell functions defined in ltmain.sh;
   6334   # decide which one to use based on capabilities of $DLLTOOL
   6335   case `$DLLTOOL --help 2>&1` in
   6336   *--identify-strict*)
   6337     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6338     ;;
   6339   *)
   6340     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6341     ;;
   6342   esac
   6343   ;;
   6344 *)
   6345   # fallback: assume linklib IS sharedlib
   6346   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6347   ;;
   6348 esac
   6349 
   6350 fi
   6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6352 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6353 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6354 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 if test -n "$ac_tool_prefix"; then
   6363   for ac_prog in ar
   6364   do
   6365     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6368 $as_echo_n "checking for $ac_word... " >&6; }
   6369 if ${ac_cv_prog_AR+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   if test -n "$AR"; then
   6373   ac_cv_prog_AR="$AR" # Let the user override the test.
   6374 else
   6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6376 for as_dir in $PATH
   6377 do
   6378   IFS=$as_save_IFS
   6379   test -z "$as_dir" && as_dir=.
   6380     for ac_exec_ext in '' $ac_executable_extensions; do
   6381   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6382     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6384     break 2
   6385   fi
   6386 done
   6387   done
   6388 IFS=$as_save_IFS
   6389 
   6390 fi
   6391 fi
   6392 AR=$ac_cv_prog_AR
   6393 if test -n "$AR"; then
   6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6395 $as_echo "$AR" >&6; }
   6396 else
   6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6398 $as_echo "no" >&6; }
   6399 fi
   6400 
   6401 
   6402     test -n "$AR" && break
   6403   done
   6404 fi
   6405 if test -z "$AR"; then
   6406   ac_ct_AR=$AR
   6407   for ac_prog in ar
   6408 do
   6409   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6410 set dummy $ac_prog; ac_word=$2
   6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6412 $as_echo_n "checking for $ac_word... " >&6; }
   6413 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6414   $as_echo_n "(cached) " >&6
   6415 else
   6416   if test -n "$ac_ct_AR"; then
   6417   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6418 else
   6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6420 for as_dir in $PATH
   6421 do
   6422   IFS=$as_save_IFS
   6423   test -z "$as_dir" && as_dir=.
   6424     for ac_exec_ext in '' $ac_executable_extensions; do
   6425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6426     ac_cv_prog_ac_ct_AR="$ac_prog"
   6427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6428     break 2
   6429   fi
   6430 done
   6431   done
   6432 IFS=$as_save_IFS
   6433 
   6434 fi
   6435 fi
   6436 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6437 if test -n "$ac_ct_AR"; then
   6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6439 $as_echo "$ac_ct_AR" >&6; }
   6440 else
   6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6442 $as_echo "no" >&6; }
   6443 fi
   6444 
   6445 
   6446   test -n "$ac_ct_AR" && break
   6447 done
   6448 
   6449   if test "x$ac_ct_AR" = x; then
   6450     AR="false"
   6451   else
   6452     case $cross_compiling:$ac_tool_warned in
   6453 yes:)
   6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6456 ac_tool_warned=yes ;;
   6457 esac
   6458     AR=$ac_ct_AR
   6459   fi
   6460 fi
   6461 
   6462 : ${AR=ar}
   6463 : ${AR_FLAGS=cru}
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6476 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6477 if ${lt_cv_ar_at_file+:} false; then :
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   lt_cv_ar_at_file=no
   6481    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 
   6484 int
   6485 main ()
   6486 {
   6487 
   6488   ;
   6489   return 0;
   6490 }
   6491 _ACEOF
   6492 if ac_fn_c_try_compile "$LINENO"; then :
   6493   echo conftest.$ac_objext > conftest.lst
   6494       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6495       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6496   (eval $lt_ar_try) 2>&5
   6497   ac_status=$?
   6498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6499   test $ac_status = 0; }
   6500       if test 0 -eq "$ac_status"; then
   6501 	# Ensure the archiver fails upon bogus file names.
   6502 	rm -f conftest.$ac_objext libconftest.a
   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 -ne "$ac_status"; then
   6509           lt_cv_ar_at_file=@
   6510         fi
   6511       fi
   6512       rm -f conftest.* libconftest.a
   6513 
   6514 fi
   6515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6516 
   6517 fi
   6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6519 $as_echo "$lt_cv_ar_at_file" >&6; }
   6520 
   6521 if test no = "$lt_cv_ar_at_file"; then
   6522   archiver_list_spec=
   6523 else
   6524   archiver_list_spec=$lt_cv_ar_at_file
   6525 fi
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 if test -n "$ac_tool_prefix"; then
   6534   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6535 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6537 $as_echo_n "checking for $ac_word... " >&6; }
   6538 if ${ac_cv_prog_STRIP+:} false; then :
   6539   $as_echo_n "(cached) " >&6
   6540 else
   6541   if test -n "$STRIP"; then
   6542   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6543 else
   6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6545 for as_dir in $PATH
   6546 do
   6547   IFS=$as_save_IFS
   6548   test -z "$as_dir" && as_dir=.
   6549     for ac_exec_ext in '' $ac_executable_extensions; do
   6550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6551     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6553     break 2
   6554   fi
   6555 done
   6556   done
   6557 IFS=$as_save_IFS
   6558 
   6559 fi
   6560 fi
   6561 STRIP=$ac_cv_prog_STRIP
   6562 if test -n "$STRIP"; then
   6563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6564 $as_echo "$STRIP" >&6; }
   6565 else
   6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6567 $as_echo "no" >&6; }
   6568 fi
   6569 
   6570 
   6571 fi
   6572 if test -z "$ac_cv_prog_STRIP"; then
   6573   ac_ct_STRIP=$STRIP
   6574   # Extract the first word of "strip", so it can be a program name with args.
   6575 set dummy strip; ac_word=$2
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6577 $as_echo_n "checking for $ac_word... " >&6; }
   6578 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6579   $as_echo_n "(cached) " >&6
   6580 else
   6581   if test -n "$ac_ct_STRIP"; then
   6582   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6583 else
   6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6585 for as_dir in $PATH
   6586 do
   6587   IFS=$as_save_IFS
   6588   test -z "$as_dir" && as_dir=.
   6589     for ac_exec_ext in '' $ac_executable_extensions; do
   6590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6591     ac_cv_prog_ac_ct_STRIP="strip"
   6592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6593     break 2
   6594   fi
   6595 done
   6596   done
   6597 IFS=$as_save_IFS
   6598 
   6599 fi
   6600 fi
   6601 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6602 if test -n "$ac_ct_STRIP"; then
   6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6604 $as_echo "$ac_ct_STRIP" >&6; }
   6605 else
   6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6607 $as_echo "no" >&6; }
   6608 fi
   6609 
   6610   if test "x$ac_ct_STRIP" = x; then
   6611     STRIP=":"
   6612   else
   6613     case $cross_compiling:$ac_tool_warned in
   6614 yes:)
   6615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6617 ac_tool_warned=yes ;;
   6618 esac
   6619     STRIP=$ac_ct_STRIP
   6620   fi
   6621 else
   6622   STRIP="$ac_cv_prog_STRIP"
   6623 fi
   6624 
   6625 test -z "$STRIP" && STRIP=:
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 if test -n "$ac_tool_prefix"; then
   6633   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6634 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6636 $as_echo_n "checking for $ac_word... " >&6; }
   6637 if ${ac_cv_prog_RANLIB+:} false; then :
   6638   $as_echo_n "(cached) " >&6
   6639 else
   6640   if test -n "$RANLIB"; then
   6641   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6642 else
   6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6644 for as_dir in $PATH
   6645 do
   6646   IFS=$as_save_IFS
   6647   test -z "$as_dir" && as_dir=.
   6648     for ac_exec_ext in '' $ac_executable_extensions; do
   6649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6650     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6652     break 2
   6653   fi
   6654 done
   6655   done
   6656 IFS=$as_save_IFS
   6657 
   6658 fi
   6659 fi
   6660 RANLIB=$ac_cv_prog_RANLIB
   6661 if test -n "$RANLIB"; then
   6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6663 $as_echo "$RANLIB" >&6; }
   6664 else
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6666 $as_echo "no" >&6; }
   6667 fi
   6668 
   6669 
   6670 fi
   6671 if test -z "$ac_cv_prog_RANLIB"; then
   6672   ac_ct_RANLIB=$RANLIB
   6673   # Extract the first word of "ranlib", so it can be a program name with args.
   6674 set dummy ranlib; ac_word=$2
   6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6676 $as_echo_n "checking for $ac_word... " >&6; }
   6677 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6678   $as_echo_n "(cached) " >&6
   6679 else
   6680   if test -n "$ac_ct_RANLIB"; then
   6681   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6682 else
   6683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6684 for as_dir in $PATH
   6685 do
   6686   IFS=$as_save_IFS
   6687   test -z "$as_dir" && as_dir=.
   6688     for ac_exec_ext in '' $ac_executable_extensions; do
   6689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6690     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6692     break 2
   6693   fi
   6694 done
   6695   done
   6696 IFS=$as_save_IFS
   6697 
   6698 fi
   6699 fi
   6700 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6701 if test -n "$ac_ct_RANLIB"; then
   6702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6703 $as_echo "$ac_ct_RANLIB" >&6; }
   6704 else
   6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6706 $as_echo "no" >&6; }
   6707 fi
   6708 
   6709   if test "x$ac_ct_RANLIB" = x; then
   6710     RANLIB=":"
   6711   else
   6712     case $cross_compiling:$ac_tool_warned in
   6713 yes:)
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6716 ac_tool_warned=yes ;;
   6717 esac
   6718     RANLIB=$ac_ct_RANLIB
   6719   fi
   6720 else
   6721   RANLIB="$ac_cv_prog_RANLIB"
   6722 fi
   6723 
   6724 test -z "$RANLIB" && RANLIB=:
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 # Determine commands to create old-style static archives.
   6732 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6733 old_postinstall_cmds='chmod 644 $oldlib'
   6734 old_postuninstall_cmds=
   6735 
   6736 if test -n "$RANLIB"; then
   6737   case $host_os in
   6738   bitrig* | openbsd*)
   6739     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6740     ;;
   6741   *)
   6742     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6743     ;;
   6744   esac
   6745   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6746 fi
   6747 
   6748 case $host_os in
   6749   darwin*)
   6750     lock_old_archive_extraction=yes ;;
   6751   *)
   6752     lock_old_archive_extraction=no ;;
   6753 esac
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   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 # If no C compiler was specified, use CC.
   6794 LTCC=${LTCC-"$CC"}
   6795 
   6796 # If no C compiler flags were specified, use CFLAGS.
   6797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6798 
   6799 # Allow CC to be a program name with arguments.
   6800 compiler=$CC
   6801 
   6802 
   6803 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6805 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6806 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6807   $as_echo_n "(cached) " >&6
   6808 else
   6809 
   6810 # These are sane defaults that work on at least a few old systems.
   6811 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6812 
   6813 # Character class describing NM global symbol codes.
   6814 symcode='[BCDEGRST]'
   6815 
   6816 # Regexp to match symbols that can be accessed directly from C.
   6817 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6818 
   6819 # Define system-specific variables.
   6820 case $host_os in
   6821 aix*)
   6822   symcode='[BCDT]'
   6823   ;;
   6824 cygwin* | mingw* | pw32* | cegcc*)
   6825   symcode='[ABCDGISTW]'
   6826   ;;
   6827 hpux*)
   6828   if test ia64 = "$host_cpu"; then
   6829     symcode='[ABCDEGRST]'
   6830   fi
   6831   ;;
   6832 irix* | nonstopux*)
   6833   symcode='[BCDEGRST]'
   6834   ;;
   6835 osf*)
   6836   symcode='[BCDEGQRST]'
   6837   ;;
   6838 solaris*)
   6839   symcode='[BDRT]'
   6840   ;;
   6841 sco3.2v5*)
   6842   symcode='[DT]'
   6843   ;;
   6844 sysv4.2uw2*)
   6845   symcode='[DT]'
   6846   ;;
   6847 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6848   symcode='[ABDT]'
   6849   ;;
   6850 sysv4)
   6851   symcode='[DFNSTU]'
   6852   ;;
   6853 esac
   6854 
   6855 # If we're using GNU nm, then use its standard symbol codes.
   6856 case `$NM -V 2>&1` in
   6857 *GNU* | *'with BFD'*)
   6858   symcode='[ABCDGIRSTW]' ;;
   6859 esac
   6860 
   6861 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6862   # Gets list of data symbols to import.
   6863   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6864   # Adjust the below global symbol transforms to fixup imported variables.
   6865   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6866   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6867   lt_c_name_lib_hook="\
   6868   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6869   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6870 else
   6871   # Disable hooks by default.
   6872   lt_cv_sys_global_symbol_to_import=
   6873   lt_cdecl_hook=
   6874   lt_c_name_hook=
   6875   lt_c_name_lib_hook=
   6876 fi
   6877 
   6878 # Transform an extracted symbol line into a proper C declaration.
   6879 # Some systems (esp. on ia64) link data and code symbols differently,
   6880 # so use this general approach.
   6881 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6882 $lt_cdecl_hook\
   6883 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6884 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6885 
   6886 # Transform an extracted symbol line into symbol name and symbol address
   6887 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6888 $lt_c_name_hook\
   6889 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6890 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6891 
   6892 # Transform an extracted symbol line into symbol name with lib prefix and
   6893 # symbol address.
   6894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6895 $lt_c_name_lib_hook\
   6896 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6897 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6898 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6899 
   6900 # Handle CRLF in mingw tool chain
   6901 opt_cr=
   6902 case $build_os in
   6903 mingw*)
   6904   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6905   ;;
   6906 esac
   6907 
   6908 # Try without a prefix underscore, then with it.
   6909 for ac_symprfx in "" "_"; do
   6910 
   6911   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6912   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6913 
   6914   # Write the raw and C identifiers.
   6915   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6916     # Fake it for dumpbin and say T for any non-static function,
   6917     # D for any global variable and I for any imported variable.
   6918     # Also find C++ and __fastcall symbols from MSVC++,
   6919     # which start with @ or ?.
   6920     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6921 "     {last_section=section; section=\$ 3};"\
   6922 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6923 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6924 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6925 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6926 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6927 "     \$ 0!~/External *\|/{next};"\
   6928 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6929 "     {if(hide[section]) next};"\
   6930 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6931 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6932 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6933 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6934 "     ' prfx=^$ac_symprfx"
   6935   else
   6936     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6937   fi
   6938   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6939 
   6940   # Check to see that the pipe works correctly.
   6941   pipe_works=no
   6942 
   6943   rm -f conftest*
   6944   cat > conftest.$ac_ext <<_LT_EOF
   6945 #ifdef __cplusplus
   6946 extern "C" {
   6947 #endif
   6948 char nm_test_var;
   6949 void nm_test_func(void);
   6950 void nm_test_func(void){}
   6951 #ifdef __cplusplus
   6952 }
   6953 #endif
   6954 int main(){nm_test_var='a';nm_test_func();return(0);}
   6955 _LT_EOF
   6956 
   6957   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6958   (eval $ac_compile) 2>&5
   6959   ac_status=$?
   6960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6961   test $ac_status = 0; }; then
   6962     # Now try to grab the symbols.
   6963     nlist=conftest.nm
   6964     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6965   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6966   ac_status=$?
   6967   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6968   test $ac_status = 0; } && test -s "$nlist"; then
   6969       # Try sorting and uniquifying the output.
   6970       if sort "$nlist" | uniq > "$nlist"T; then
   6971 	mv -f "$nlist"T "$nlist"
   6972       else
   6973 	rm -f "$nlist"T
   6974       fi
   6975 
   6976       # Make sure that we snagged all the symbols we need.
   6977       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6978 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6979 	  cat <<_LT_EOF > conftest.$ac_ext
   6980 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6981 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6982 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6983    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6984 # define LT_DLSYM_CONST
   6985 #elif defined __osf__
   6986 /* This system does not cope well with relocations in const data.  */
   6987 # define LT_DLSYM_CONST
   6988 #else
   6989 # define LT_DLSYM_CONST const
   6990 #endif
   6991 
   6992 #ifdef __cplusplus
   6993 extern "C" {
   6994 #endif
   6995 
   6996 _LT_EOF
   6997 	  # Now generate the symbol file.
   6998 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6999 
   7000 	  cat <<_LT_EOF >> conftest.$ac_ext
   7001 
   7002 /* The mapping between symbol names and symbols.  */
   7003 LT_DLSYM_CONST struct {
   7004   const char *name;
   7005   void       *address;
   7006 }
   7007 lt__PROGRAM__LTX_preloaded_symbols[] =
   7008 {
   7009   { "@PROGRAM@", (void *) 0 },
   7010 _LT_EOF
   7011 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7012 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7013   {0, (void *) 0}
   7014 };
   7015 
   7016 /* This works around a problem in FreeBSD linker */
   7017 #ifdef FREEBSD_WORKAROUND
   7018 static const void *lt_preloaded_setup() {
   7019   return lt__PROGRAM__LTX_preloaded_symbols;
   7020 }
   7021 #endif
   7022 
   7023 #ifdef __cplusplus
   7024 }
   7025 #endif
   7026 _LT_EOF
   7027 	  # Now try linking the two files.
   7028 	  mv conftest.$ac_objext conftstm.$ac_objext
   7029 	  lt_globsym_save_LIBS=$LIBS
   7030 	  lt_globsym_save_CFLAGS=$CFLAGS
   7031 	  LIBS=conftstm.$ac_objext
   7032 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7033 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7034   (eval $ac_link) 2>&5
   7035   ac_status=$?
   7036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7037   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7038 	    pipe_works=yes
   7039 	  fi
   7040 	  LIBS=$lt_globsym_save_LIBS
   7041 	  CFLAGS=$lt_globsym_save_CFLAGS
   7042 	else
   7043 	  echo "cannot find nm_test_func in $nlist" >&5
   7044 	fi
   7045       else
   7046 	echo "cannot find nm_test_var in $nlist" >&5
   7047       fi
   7048     else
   7049       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7050     fi
   7051   else
   7052     echo "$progname: failed program was:" >&5
   7053     cat conftest.$ac_ext >&5
   7054   fi
   7055   rm -rf conftest* conftst*
   7056 
   7057   # Do not use the global_symbol_pipe unless it works.
   7058   if test yes = "$pipe_works"; then
   7059     break
   7060   else
   7061     lt_cv_sys_global_symbol_pipe=
   7062   fi
   7063 done
   7064 
   7065 fi
   7066 
   7067 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7068   lt_cv_sys_global_symbol_to_cdecl=
   7069 fi
   7070 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7072 $as_echo "failed" >&6; }
   7073 else
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7075 $as_echo "ok" >&6; }
   7076 fi
   7077 
   7078 # Response file support.
   7079 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7080   nm_file_list_spec='@'
   7081 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7082   nm_file_list_spec='@'
   7083 fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7122 $as_echo_n "checking for sysroot... " >&6; }
   7123 
   7124 # Check whether --with-sysroot was given.
   7125 if test "${with_sysroot+set}" = set; then :
   7126   withval=$with_sysroot;
   7127 else
   7128   with_sysroot=no
   7129 fi
   7130 
   7131 
   7132 lt_sysroot=
   7133 case $with_sysroot in #(
   7134  yes)
   7135    if test yes = "$GCC"; then
   7136      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7137    fi
   7138    ;; #(
   7139  /*)
   7140    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7141    ;; #(
   7142  no|'')
   7143    ;; #(
   7144  *)
   7145    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7146 $as_echo "$with_sysroot" >&6; }
   7147    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7148    ;;
   7149 esac
   7150 
   7151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7152 $as_echo "${lt_sysroot:-no}" >&6; }
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7159 $as_echo_n "checking for a working dd... " >&6; }
   7160 if ${ac_cv_path_lt_DD+:} false; then :
   7161   $as_echo_n "(cached) " >&6
   7162 else
   7163   printf 0123456789abcdef0123456789abcdef >conftest.i
   7164 cat conftest.i conftest.i >conftest2.i
   7165 : ${lt_DD:=$DD}
   7166 if test -z "$lt_DD"; then
   7167   ac_path_lt_DD_found=false
   7168   # Loop through the user's path and test for each of PROGNAME-LIST
   7169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7170 for as_dir in $PATH
   7171 do
   7172   IFS=$as_save_IFS
   7173   test -z "$as_dir" && as_dir=.
   7174     for ac_prog in dd; do
   7175     for ac_exec_ext in '' $ac_executable_extensions; do
   7176       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   7177       as_fn_executable_p "$ac_path_lt_DD" || continue
   7178 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7179   cmp -s conftest.i conftest.out \
   7180   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7181 fi
   7182       $ac_path_lt_DD_found && break 3
   7183     done
   7184   done
   7185   done
   7186 IFS=$as_save_IFS
   7187   if test -z "$ac_cv_path_lt_DD"; then
   7188     :
   7189   fi
   7190 else
   7191   ac_cv_path_lt_DD=$lt_DD
   7192 fi
   7193 
   7194 rm -f conftest.i conftest2.i conftest.out
   7195 fi
   7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7197 $as_echo "$ac_cv_path_lt_DD" >&6; }
   7198 
   7199 
   7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7201 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   7202 if ${lt_cv_truncate_bin+:} false; then :
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   printf 0123456789abcdef0123456789abcdef >conftest.i
   7206 cat conftest.i conftest.i >conftest2.i
   7207 lt_cv_truncate_bin=
   7208 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7209   cmp -s conftest.i conftest.out \
   7210   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7211 fi
   7212 rm -f conftest.i conftest2.i conftest.out
   7213 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7214 fi
   7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7216 $as_echo "$lt_cv_truncate_bin" >&6; }
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7225 func_cc_basename ()
   7226 {
   7227     for cc_temp in $*""; do
   7228       case $cc_temp in
   7229         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7230         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7231         \-*) ;;
   7232         *) break;;
   7233       esac
   7234     done
   7235     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7236 }
   7237 
   7238 # Check whether --enable-libtool-lock was given.
   7239 if test "${enable_libtool_lock+set}" = set; then :
   7240   enableval=$enable_libtool_lock;
   7241 fi
   7242 
   7243 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7244 
   7245 # Some flags need to be propagated to the compiler or linker for good
   7246 # libtool support.
   7247 case $host in
   7248 ia64-*-hpux*)
   7249   # Find out what ABI is being produced by ac_compile, and set mode
   7250   # options accordingly.
   7251   echo 'int i;' > conftest.$ac_ext
   7252   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7253   (eval $ac_compile) 2>&5
   7254   ac_status=$?
   7255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7256   test $ac_status = 0; }; then
   7257     case `/usr/bin/file conftest.$ac_objext` in
   7258       *ELF-32*)
   7259 	HPUX_IA64_MODE=32
   7260 	;;
   7261       *ELF-64*)
   7262 	HPUX_IA64_MODE=64
   7263 	;;
   7264     esac
   7265   fi
   7266   rm -rf conftest*
   7267   ;;
   7268 *-*-irix6*)
   7269   # Find out what ABI is being produced by ac_compile, and set linker
   7270   # options accordingly.
   7271   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7272   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7273   (eval $ac_compile) 2>&5
   7274   ac_status=$?
   7275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7276   test $ac_status = 0; }; then
   7277     if test yes = "$lt_cv_prog_gnu_ld"; then
   7278       case `/usr/bin/file conftest.$ac_objext` in
   7279 	*32-bit*)
   7280 	  LD="${LD-ld} -melf32bsmip"
   7281 	  ;;
   7282 	*N32*)
   7283 	  LD="${LD-ld} -melf32bmipn32"
   7284 	  ;;
   7285 	*64-bit*)
   7286 	  LD="${LD-ld} -melf64bmip"
   7287 	;;
   7288       esac
   7289     else
   7290       case `/usr/bin/file conftest.$ac_objext` in
   7291 	*32-bit*)
   7292 	  LD="${LD-ld} -32"
   7293 	  ;;
   7294 	*N32*)
   7295 	  LD="${LD-ld} -n32"
   7296 	  ;;
   7297 	*64-bit*)
   7298 	  LD="${LD-ld} -64"
   7299 	  ;;
   7300       esac
   7301     fi
   7302   fi
   7303   rm -rf conftest*
   7304   ;;
   7305 
   7306 mips64*-*linux*)
   7307   # Find out what ABI is being produced by ac_compile, and set linker
   7308   # options accordingly.
   7309   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7310   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7311   (eval $ac_compile) 2>&5
   7312   ac_status=$?
   7313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7314   test $ac_status = 0; }; then
   7315     emul=elf
   7316     case `/usr/bin/file conftest.$ac_objext` in
   7317       *32-bit*)
   7318 	emul="${emul}32"
   7319 	;;
   7320       *64-bit*)
   7321 	emul="${emul}64"
   7322 	;;
   7323     esac
   7324     case `/usr/bin/file conftest.$ac_objext` in
   7325       *MSB*)
   7326 	emul="${emul}btsmip"
   7327 	;;
   7328       *LSB*)
   7329 	emul="${emul}ltsmip"
   7330 	;;
   7331     esac
   7332     case `/usr/bin/file conftest.$ac_objext` in
   7333       *N32*)
   7334 	emul="${emul}n32"
   7335 	;;
   7336     esac
   7337     LD="${LD-ld} -m $emul"
   7338   fi
   7339   rm -rf conftest*
   7340   ;;
   7341 
   7342 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7343 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7344   # Find out what ABI is being produced by ac_compile, and set linker
   7345   # options accordingly.  Note that the listed cases only cover the
   7346   # situations where additional linker options are needed (such as when
   7347   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7348   # vice versa); the common cases where no linker options are needed do
   7349   # not appear in the list.
   7350   echo 'int i;' > conftest.$ac_ext
   7351   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7352   (eval $ac_compile) 2>&5
   7353   ac_status=$?
   7354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7355   test $ac_status = 0; }; then
   7356     case `/usr/bin/file conftest.o` in
   7357       *32-bit*)
   7358 	case $host in
   7359 	  x86_64-*kfreebsd*-gnu)
   7360 	    LD="${LD-ld} -m elf_i386_fbsd"
   7361 	    ;;
   7362 	  x86_64-*linux*)
   7363 	    case `/usr/bin/file conftest.o` in
   7364 	      *x86-64*)
   7365 		LD="${LD-ld} -m elf32_x86_64"
   7366 		;;
   7367 	      *)
   7368 		LD="${LD-ld} -m elf_i386"
   7369 		;;
   7370 	    esac
   7371 	    ;;
   7372 	  powerpc64le-*linux*)
   7373 	    LD="${LD-ld} -m elf32lppclinux"
   7374 	    ;;
   7375 	  powerpc64-*linux*)
   7376 	    LD="${LD-ld} -m elf32ppclinux"
   7377 	    ;;
   7378 	  s390x-*linux*)
   7379 	    LD="${LD-ld} -m elf_s390"
   7380 	    ;;
   7381 	  sparc64-*linux*)
   7382 	    LD="${LD-ld} -m elf32_sparc"
   7383 	    ;;
   7384 	esac
   7385 	;;
   7386       *64-bit*)
   7387 	case $host in
   7388 	  x86_64-*kfreebsd*-gnu)
   7389 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7390 	    ;;
   7391 	  x86_64-*linux*)
   7392 	    LD="${LD-ld} -m elf_x86_64"
   7393 	    ;;
   7394 	  powerpcle-*linux*)
   7395 	    LD="${LD-ld} -m elf64lppc"
   7396 	    ;;
   7397 	  powerpc-*linux*)
   7398 	    LD="${LD-ld} -m elf64ppc"
   7399 	    ;;
   7400 	  s390*-*linux*|s390*-*tpf*)
   7401 	    LD="${LD-ld} -m elf64_s390"
   7402 	    ;;
   7403 	  sparc*-*linux*)
   7404 	    LD="${LD-ld} -m elf64_sparc"
   7405 	    ;;
   7406 	esac
   7407 	;;
   7408     esac
   7409   fi
   7410   rm -rf conftest*
   7411   ;;
   7412 
   7413 *-*-sco3.2v5*)
   7414   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7415   SAVE_CFLAGS=$CFLAGS
   7416   CFLAGS="$CFLAGS -belf"
   7417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7418 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7419 if ${lt_cv_cc_needs_belf+:} false; then :
   7420   $as_echo_n "(cached) " >&6
   7421 else
   7422   ac_ext=c
   7423 ac_cpp='$CPP $CPPFLAGS'
   7424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7427 
   7428      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 
   7431 int
   7432 main ()
   7433 {
   7434 
   7435   ;
   7436   return 0;
   7437 }
   7438 _ACEOF
   7439 if ac_fn_c_try_link "$LINENO"; then :
   7440   lt_cv_cc_needs_belf=yes
   7441 else
   7442   lt_cv_cc_needs_belf=no
   7443 fi
   7444 rm -f core conftest.err conftest.$ac_objext \
   7445     conftest$ac_exeext conftest.$ac_ext
   7446      ac_ext=c
   7447 ac_cpp='$CPP $CPPFLAGS'
   7448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7451 
   7452 fi
   7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7454 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7455   if test yes != "$lt_cv_cc_needs_belf"; then
   7456     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7457     CFLAGS=$SAVE_CFLAGS
   7458   fi
   7459   ;;
   7460 *-*solaris*)
   7461   # Find out what ABI is being produced by ac_compile, and set linker
   7462   # options accordingly.
   7463   echo 'int i;' > conftest.$ac_ext
   7464   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7465   (eval $ac_compile) 2>&5
   7466   ac_status=$?
   7467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7468   test $ac_status = 0; }; then
   7469     case `/usr/bin/file conftest.o` in
   7470     *64-bit*)
   7471       case $lt_cv_prog_gnu_ld in
   7472       yes*)
   7473         case $host in
   7474         i?86-*-solaris*|x86_64-*-solaris*)
   7475           LD="${LD-ld} -m elf_x86_64"
   7476           ;;
   7477         sparc*-*-solaris*)
   7478           LD="${LD-ld} -m elf64_sparc"
   7479           ;;
   7480         esac
   7481         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7482         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7483           LD=${LD-ld}_sol2
   7484         fi
   7485         ;;
   7486       *)
   7487 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7488 	  LD="${LD-ld} -64"
   7489 	fi
   7490 	;;
   7491       esac
   7492       ;;
   7493     esac
   7494   fi
   7495   rm -rf conftest*
   7496   ;;
   7497 esac
   7498 
   7499 need_locks=$enable_libtool_lock
   7500 
   7501 if test -n "$ac_tool_prefix"; then
   7502   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7503 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7505 $as_echo_n "checking for $ac_word... " >&6; }
   7506 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7507   $as_echo_n "(cached) " >&6
   7508 else
   7509   if test -n "$MANIFEST_TOOL"; then
   7510   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7511 else
   7512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7513 for as_dir in $PATH
   7514 do
   7515   IFS=$as_save_IFS
   7516   test -z "$as_dir" && as_dir=.
   7517     for ac_exec_ext in '' $ac_executable_extensions; do
   7518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7519     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7521     break 2
   7522   fi
   7523 done
   7524   done
   7525 IFS=$as_save_IFS
   7526 
   7527 fi
   7528 fi
   7529 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7530 if test -n "$MANIFEST_TOOL"; then
   7531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7532 $as_echo "$MANIFEST_TOOL" >&6; }
   7533 else
   7534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7535 $as_echo "no" >&6; }
   7536 fi
   7537 
   7538 
   7539 fi
   7540 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7541   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7542   # Extract the first word of "mt", so it can be a program name with args.
   7543 set dummy mt; ac_word=$2
   7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7545 $as_echo_n "checking for $ac_word... " >&6; }
   7546 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7547   $as_echo_n "(cached) " >&6
   7548 else
   7549   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7550   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7551 else
   7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7553 for as_dir in $PATH
   7554 do
   7555   IFS=$as_save_IFS
   7556   test -z "$as_dir" && as_dir=.
   7557     for ac_exec_ext in '' $ac_executable_extensions; do
   7558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7559     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7561     break 2
   7562   fi
   7563 done
   7564   done
   7565 IFS=$as_save_IFS
   7566 
   7567 fi
   7568 fi
   7569 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7570 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7572 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7573 else
   7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7575 $as_echo "no" >&6; }
   7576 fi
   7577 
   7578   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7579     MANIFEST_TOOL=":"
   7580   else
   7581     case $cross_compiling:$ac_tool_warned in
   7582 yes:)
   7583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7585 ac_tool_warned=yes ;;
   7586 esac
   7587     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7588   fi
   7589 else
   7590   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7591 fi
   7592 
   7593 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7595 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7596 if ${lt_cv_path_mainfest_tool+:} false; then :
   7597   $as_echo_n "(cached) " >&6
   7598 else
   7599   lt_cv_path_mainfest_tool=no
   7600   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7601   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7602   cat conftest.err >&5
   7603   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7604     lt_cv_path_mainfest_tool=yes
   7605   fi
   7606   rm -f conftest*
   7607 fi
   7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7609 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7610 if test yes != "$lt_cv_path_mainfest_tool"; then
   7611   MANIFEST_TOOL=:
   7612 fi
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619   case $host_os in
   7620     rhapsody* | darwin*)
   7621     if test -n "$ac_tool_prefix"; then
   7622   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7623 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7625 $as_echo_n "checking for $ac_word... " >&6; }
   7626 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7627   $as_echo_n "(cached) " >&6
   7628 else
   7629   if test -n "$DSYMUTIL"; then
   7630   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7631 else
   7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7633 for as_dir in $PATH
   7634 do
   7635   IFS=$as_save_IFS
   7636   test -z "$as_dir" && as_dir=.
   7637     for ac_exec_ext in '' $ac_executable_extensions; do
   7638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7639     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7641     break 2
   7642   fi
   7643 done
   7644   done
   7645 IFS=$as_save_IFS
   7646 
   7647 fi
   7648 fi
   7649 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7650 if test -n "$DSYMUTIL"; then
   7651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7652 $as_echo "$DSYMUTIL" >&6; }
   7653 else
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7655 $as_echo "no" >&6; }
   7656 fi
   7657 
   7658 
   7659 fi
   7660 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7661   ac_ct_DSYMUTIL=$DSYMUTIL
   7662   # Extract the first word of "dsymutil", so it can be a program name with args.
   7663 set dummy dsymutil; ac_word=$2
   7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7665 $as_echo_n "checking for $ac_word... " >&6; }
   7666 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   if test -n "$ac_ct_DSYMUTIL"; then
   7670   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7671 else
   7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7673 for as_dir in $PATH
   7674 do
   7675   IFS=$as_save_IFS
   7676   test -z "$as_dir" && as_dir=.
   7677     for ac_exec_ext in '' $ac_executable_extensions; do
   7678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7679     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7681     break 2
   7682   fi
   7683 done
   7684   done
   7685 IFS=$as_save_IFS
   7686 
   7687 fi
   7688 fi
   7689 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7690 if test -n "$ac_ct_DSYMUTIL"; then
   7691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7692 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7693 else
   7694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7695 $as_echo "no" >&6; }
   7696 fi
   7697 
   7698   if test "x$ac_ct_DSYMUTIL" = x; then
   7699     DSYMUTIL=":"
   7700   else
   7701     case $cross_compiling:$ac_tool_warned in
   7702 yes:)
   7703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7705 ac_tool_warned=yes ;;
   7706 esac
   7707     DSYMUTIL=$ac_ct_DSYMUTIL
   7708   fi
   7709 else
   7710   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7711 fi
   7712 
   7713     if test -n "$ac_tool_prefix"; then
   7714   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7715 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7717 $as_echo_n "checking for $ac_word... " >&6; }
   7718 if ${ac_cv_prog_NMEDIT+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   if test -n "$NMEDIT"; then
   7722   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7723 else
   7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7725 for as_dir in $PATH
   7726 do
   7727   IFS=$as_save_IFS
   7728   test -z "$as_dir" && as_dir=.
   7729     for ac_exec_ext in '' $ac_executable_extensions; do
   7730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7731     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7733     break 2
   7734   fi
   7735 done
   7736   done
   7737 IFS=$as_save_IFS
   7738 
   7739 fi
   7740 fi
   7741 NMEDIT=$ac_cv_prog_NMEDIT
   7742 if test -n "$NMEDIT"; then
   7743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7744 $as_echo "$NMEDIT" >&6; }
   7745 else
   7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7747 $as_echo "no" >&6; }
   7748 fi
   7749 
   7750 
   7751 fi
   7752 if test -z "$ac_cv_prog_NMEDIT"; then
   7753   ac_ct_NMEDIT=$NMEDIT
   7754   # Extract the first word of "nmedit", so it can be a program name with args.
   7755 set dummy nmedit; ac_word=$2
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7757 $as_echo_n "checking for $ac_word... " >&6; }
   7758 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   if test -n "$ac_ct_NMEDIT"; then
   7762   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7763 else
   7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7765 for as_dir in $PATH
   7766 do
   7767   IFS=$as_save_IFS
   7768   test -z "$as_dir" && as_dir=.
   7769     for ac_exec_ext in '' $ac_executable_extensions; do
   7770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7771     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7773     break 2
   7774   fi
   7775 done
   7776   done
   7777 IFS=$as_save_IFS
   7778 
   7779 fi
   7780 fi
   7781 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7782 if test -n "$ac_ct_NMEDIT"; then
   7783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7784 $as_echo "$ac_ct_NMEDIT" >&6; }
   7785 else
   7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7787 $as_echo "no" >&6; }
   7788 fi
   7789 
   7790   if test "x$ac_ct_NMEDIT" = x; then
   7791     NMEDIT=":"
   7792   else
   7793     case $cross_compiling:$ac_tool_warned in
   7794 yes:)
   7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7797 ac_tool_warned=yes ;;
   7798 esac
   7799     NMEDIT=$ac_ct_NMEDIT
   7800   fi
   7801 else
   7802   NMEDIT="$ac_cv_prog_NMEDIT"
   7803 fi
   7804 
   7805     if test -n "$ac_tool_prefix"; then
   7806   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7807 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7809 $as_echo_n "checking for $ac_word... " >&6; }
   7810 if ${ac_cv_prog_LIPO+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   if test -n "$LIPO"; then
   7814   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7815 else
   7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7817 for as_dir in $PATH
   7818 do
   7819   IFS=$as_save_IFS
   7820   test -z "$as_dir" && as_dir=.
   7821     for ac_exec_ext in '' $ac_executable_extensions; do
   7822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7823     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7825     break 2
   7826   fi
   7827 done
   7828   done
   7829 IFS=$as_save_IFS
   7830 
   7831 fi
   7832 fi
   7833 LIPO=$ac_cv_prog_LIPO
   7834 if test -n "$LIPO"; then
   7835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7836 $as_echo "$LIPO" >&6; }
   7837 else
   7838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7839 $as_echo "no" >&6; }
   7840 fi
   7841 
   7842 
   7843 fi
   7844 if test -z "$ac_cv_prog_LIPO"; then
   7845   ac_ct_LIPO=$LIPO
   7846   # Extract the first word of "lipo", so it can be a program name with args.
   7847 set dummy lipo; ac_word=$2
   7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7849 $as_echo_n "checking for $ac_word... " >&6; }
   7850 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7851   $as_echo_n "(cached) " >&6
   7852 else
   7853   if test -n "$ac_ct_LIPO"; then
   7854   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7855 else
   7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7857 for as_dir in $PATH
   7858 do
   7859   IFS=$as_save_IFS
   7860   test -z "$as_dir" && as_dir=.
   7861     for ac_exec_ext in '' $ac_executable_extensions; do
   7862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7863     ac_cv_prog_ac_ct_LIPO="lipo"
   7864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7865     break 2
   7866   fi
   7867 done
   7868   done
   7869 IFS=$as_save_IFS
   7870 
   7871 fi
   7872 fi
   7873 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7874 if test -n "$ac_ct_LIPO"; then
   7875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7876 $as_echo "$ac_ct_LIPO" >&6; }
   7877 else
   7878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7879 $as_echo "no" >&6; }
   7880 fi
   7881 
   7882   if test "x$ac_ct_LIPO" = x; then
   7883     LIPO=":"
   7884   else
   7885     case $cross_compiling:$ac_tool_warned in
   7886 yes:)
   7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7889 ac_tool_warned=yes ;;
   7890 esac
   7891     LIPO=$ac_ct_LIPO
   7892   fi
   7893 else
   7894   LIPO="$ac_cv_prog_LIPO"
   7895 fi
   7896 
   7897     if test -n "$ac_tool_prefix"; then
   7898   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7899 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7901 $as_echo_n "checking for $ac_word... " >&6; }
   7902 if ${ac_cv_prog_OTOOL+:} false; then :
   7903   $as_echo_n "(cached) " >&6
   7904 else
   7905   if test -n "$OTOOL"; then
   7906   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7907 else
   7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7909 for as_dir in $PATH
   7910 do
   7911   IFS=$as_save_IFS
   7912   test -z "$as_dir" && as_dir=.
   7913     for ac_exec_ext in '' $ac_executable_extensions; do
   7914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7915     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7917     break 2
   7918   fi
   7919 done
   7920   done
   7921 IFS=$as_save_IFS
   7922 
   7923 fi
   7924 fi
   7925 OTOOL=$ac_cv_prog_OTOOL
   7926 if test -n "$OTOOL"; then
   7927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7928 $as_echo "$OTOOL" >&6; }
   7929 else
   7930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7931 $as_echo "no" >&6; }
   7932 fi
   7933 
   7934 
   7935 fi
   7936 if test -z "$ac_cv_prog_OTOOL"; then
   7937   ac_ct_OTOOL=$OTOOL
   7938   # Extract the first word of "otool", so it can be a program name with args.
   7939 set dummy otool; ac_word=$2
   7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7941 $as_echo_n "checking for $ac_word... " >&6; }
   7942 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7943   $as_echo_n "(cached) " >&6
   7944 else
   7945   if test -n "$ac_ct_OTOOL"; then
   7946   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7947 else
   7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7949 for as_dir in $PATH
   7950 do
   7951   IFS=$as_save_IFS
   7952   test -z "$as_dir" && as_dir=.
   7953     for ac_exec_ext in '' $ac_executable_extensions; do
   7954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7955     ac_cv_prog_ac_ct_OTOOL="otool"
   7956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7957     break 2
   7958   fi
   7959 done
   7960   done
   7961 IFS=$as_save_IFS
   7962 
   7963 fi
   7964 fi
   7965 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7966 if test -n "$ac_ct_OTOOL"; then
   7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7968 $as_echo "$ac_ct_OTOOL" >&6; }
   7969 else
   7970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7971 $as_echo "no" >&6; }
   7972 fi
   7973 
   7974   if test "x$ac_ct_OTOOL" = x; then
   7975     OTOOL=":"
   7976   else
   7977     case $cross_compiling:$ac_tool_warned in
   7978 yes:)
   7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7981 ac_tool_warned=yes ;;
   7982 esac
   7983     OTOOL=$ac_ct_OTOOL
   7984   fi
   7985 else
   7986   OTOOL="$ac_cv_prog_OTOOL"
   7987 fi
   7988 
   7989     if test -n "$ac_tool_prefix"; then
   7990   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7991 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7993 $as_echo_n "checking for $ac_word... " >&6; }
   7994 if ${ac_cv_prog_OTOOL64+:} false; then :
   7995   $as_echo_n "(cached) " >&6
   7996 else
   7997   if test -n "$OTOOL64"; then
   7998   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7999 else
   8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8001 for as_dir in $PATH
   8002 do
   8003   IFS=$as_save_IFS
   8004   test -z "$as_dir" && as_dir=.
   8005     for ac_exec_ext in '' $ac_executable_extensions; do
   8006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8007     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8009     break 2
   8010   fi
   8011 done
   8012   done
   8013 IFS=$as_save_IFS
   8014 
   8015 fi
   8016 fi
   8017 OTOOL64=$ac_cv_prog_OTOOL64
   8018 if test -n "$OTOOL64"; then
   8019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8020 $as_echo "$OTOOL64" >&6; }
   8021 else
   8022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8023 $as_echo "no" >&6; }
   8024 fi
   8025 
   8026 
   8027 fi
   8028 if test -z "$ac_cv_prog_OTOOL64"; then
   8029   ac_ct_OTOOL64=$OTOOL64
   8030   # Extract the first word of "otool64", so it can be a program name with args.
   8031 set dummy otool64; ac_word=$2
   8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8033 $as_echo_n "checking for $ac_word... " >&6; }
   8034 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8035   $as_echo_n "(cached) " >&6
   8036 else
   8037   if test -n "$ac_ct_OTOOL64"; then
   8038   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8039 else
   8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8041 for as_dir in $PATH
   8042 do
   8043   IFS=$as_save_IFS
   8044   test -z "$as_dir" && as_dir=.
   8045     for ac_exec_ext in '' $ac_executable_extensions; do
   8046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8047     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8049     break 2
   8050   fi
   8051 done
   8052   done
   8053 IFS=$as_save_IFS
   8054 
   8055 fi
   8056 fi
   8057 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8058 if test -n "$ac_ct_OTOOL64"; then
   8059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8060 $as_echo "$ac_ct_OTOOL64" >&6; }
   8061 else
   8062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8063 $as_echo "no" >&6; }
   8064 fi
   8065 
   8066   if test "x$ac_ct_OTOOL64" = x; then
   8067     OTOOL64=":"
   8068   else
   8069     case $cross_compiling:$ac_tool_warned in
   8070 yes:)
   8071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8073 ac_tool_warned=yes ;;
   8074 esac
   8075     OTOOL64=$ac_ct_OTOOL64
   8076   fi
   8077 else
   8078   OTOOL64="$ac_cv_prog_OTOOL64"
   8079 fi
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8108 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8109 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8110   $as_echo_n "(cached) " >&6
   8111 else
   8112   lt_cv_apple_cc_single_mod=no
   8113       if test -z "$LT_MULTI_MODULE"; then
   8114 	# By default we will add the -single_module flag. You can override
   8115 	# by either setting the environment variable LT_MULTI_MODULE
   8116 	# non-empty at configure time, or by adding -multi_module to the
   8117 	# link flags.
   8118 	rm -rf libconftest.dylib*
   8119 	echo "int foo(void){return 1;}" > conftest.c
   8120 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8121 -dynamiclib -Wl,-single_module conftest.c" >&5
   8122 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8123 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8124         _lt_result=$?
   8125 	# If there is a non-empty error log, and "single_module"
   8126 	# appears in it, assume the flag caused a linker warning
   8127         if test -s conftest.err && $GREP single_module conftest.err; then
   8128 	  cat conftest.err >&5
   8129 	# Otherwise, if the output was created with a 0 exit code from
   8130 	# the compiler, it worked.
   8131 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8132 	  lt_cv_apple_cc_single_mod=yes
   8133 	else
   8134 	  cat conftest.err >&5
   8135 	fi
   8136 	rm -rf libconftest.dylib*
   8137 	rm -f conftest.*
   8138       fi
   8139 fi
   8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8141 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8142 
   8143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8144 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8145 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8146   $as_echo_n "(cached) " >&6
   8147 else
   8148   lt_cv_ld_exported_symbols_list=no
   8149       save_LDFLAGS=$LDFLAGS
   8150       echo "_main" > conftest.sym
   8151       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8153 /* end confdefs.h.  */
   8154 
   8155 int
   8156 main ()
   8157 {
   8158 
   8159   ;
   8160   return 0;
   8161 }
   8162 _ACEOF
   8163 if ac_fn_c_try_link "$LINENO"; then :
   8164   lt_cv_ld_exported_symbols_list=yes
   8165 else
   8166   lt_cv_ld_exported_symbols_list=no
   8167 fi
   8168 rm -f core conftest.err conftest.$ac_objext \
   8169     conftest$ac_exeext conftest.$ac_ext
   8170 	LDFLAGS=$save_LDFLAGS
   8171 
   8172 fi
   8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8174 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8175 
   8176     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8177 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8178 if ${lt_cv_ld_force_load+:} false; then :
   8179   $as_echo_n "(cached) " >&6
   8180 else
   8181   lt_cv_ld_force_load=no
   8182       cat > conftest.c << _LT_EOF
   8183 int forced_loaded() { return 2;}
   8184 _LT_EOF
   8185       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8186       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8187       echo "$AR cru libconftest.a conftest.o" >&5
   8188       $AR cru libconftest.a conftest.o 2>&5
   8189       echo "$RANLIB libconftest.a" >&5
   8190       $RANLIB libconftest.a 2>&5
   8191       cat > conftest.c << _LT_EOF
   8192 int main() { return 0;}
   8193 _LT_EOF
   8194       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8195       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8196       _lt_result=$?
   8197       if test -s conftest.err && $GREP force_load conftest.err; then
   8198 	cat conftest.err >&5
   8199       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8200 	lt_cv_ld_force_load=yes
   8201       else
   8202 	cat conftest.err >&5
   8203       fi
   8204         rm -f conftest.err libconftest.a conftest conftest.c
   8205         rm -rf conftest.dSYM
   8206 
   8207 fi
   8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8209 $as_echo "$lt_cv_ld_force_load" >&6; }
   8210     case $host_os in
   8211     rhapsody* | darwin1.[012])
   8212       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8213     darwin1.*)
   8214       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8215     darwin*) # darwin 5.x on
   8216       # if running on 10.5 or later, the deployment target defaults
   8217       # to the OS version, if on x86, and 10.4, the deployment
   8218       # target defaults to 10.4. Don't you love it?
   8219       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8220 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8221 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8222 	10.[012][,.]*)
   8223 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8224 	10.*)
   8225 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8226       esac
   8227     ;;
   8228   esac
   8229     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8230       _lt_dar_single_mod='$single_module'
   8231     fi
   8232     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8233       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8234     else
   8235       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8236     fi
   8237     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8238       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8239     else
   8240       _lt_dsymutil=
   8241     fi
   8242     ;;
   8243   esac
   8244 
   8245 # func_munge_path_list VARIABLE PATH
   8246 # -----------------------------------
   8247 # VARIABLE is name of variable containing _space_ separated list of
   8248 # directories to be munged by the contents of PATH, which is string
   8249 # having a format:
   8250 # "DIR[:DIR]:"
   8251 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8252 # ":DIR[:DIR]"
   8253 #       string "DIR[ DIR]" will be appended to VARIABLE
   8254 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8255 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8256 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8257 # "DIR[:DIR]"
   8258 #       VARIABLE will be replaced by "DIR[ DIR]"
   8259 func_munge_path_list ()
   8260 {
   8261     case x$2 in
   8262     x)
   8263         ;;
   8264     *:)
   8265         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8266         ;;
   8267     x:*)
   8268         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8269         ;;
   8270     *::*)
   8271         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8272         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8273         ;;
   8274     *)
   8275         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8276         ;;
   8277     esac
   8278 }
   8279 
   8280 for ac_header in dlfcn.h
   8281 do :
   8282   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8283 "
   8284 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8285   cat >>confdefs.h <<_ACEOF
   8286 #define HAVE_DLFCN_H 1
   8287 _ACEOF
   8288 
   8289 fi
   8290 
   8291 done
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 # Set options
   8298 enable_win32_dll=yes
   8299 
   8300 case $host in
   8301 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   8302   if test -n "$ac_tool_prefix"; then
   8303   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   8304 set dummy ${ac_tool_prefix}as; ac_word=$2
   8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8306 $as_echo_n "checking for $ac_word... " >&6; }
   8307 if ${ac_cv_prog_AS+:} false; then :
   8308   $as_echo_n "(cached) " >&6
   8309 else
   8310   if test -n "$AS"; then
   8311   ac_cv_prog_AS="$AS" # Let the user override the test.
   8312 else
   8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8314 for as_dir in $PATH
   8315 do
   8316   IFS=$as_save_IFS
   8317   test -z "$as_dir" && as_dir=.
   8318     for ac_exec_ext in '' $ac_executable_extensions; do
   8319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8320     ac_cv_prog_AS="${ac_tool_prefix}as"
   8321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8322     break 2
   8323   fi
   8324 done
   8325   done
   8326 IFS=$as_save_IFS
   8327 
   8328 fi
   8329 fi
   8330 AS=$ac_cv_prog_AS
   8331 if test -n "$AS"; then
   8332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8333 $as_echo "$AS" >&6; }
   8334 else
   8335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8336 $as_echo "no" >&6; }
   8337 fi
   8338 
   8339 
   8340 fi
   8341 if test -z "$ac_cv_prog_AS"; then
   8342   ac_ct_AS=$AS
   8343   # Extract the first word of "as", so it can be a program name with args.
   8344 set dummy as; ac_word=$2
   8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8346 $as_echo_n "checking for $ac_word... " >&6; }
   8347 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   8348   $as_echo_n "(cached) " >&6
   8349 else
   8350   if test -n "$ac_ct_AS"; then
   8351   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   8352 else
   8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8354 for as_dir in $PATH
   8355 do
   8356   IFS=$as_save_IFS
   8357   test -z "$as_dir" && as_dir=.
   8358     for ac_exec_ext in '' $ac_executable_extensions; do
   8359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8360     ac_cv_prog_ac_ct_AS="as"
   8361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8362     break 2
   8363   fi
   8364 done
   8365   done
   8366 IFS=$as_save_IFS
   8367 
   8368 fi
   8369 fi
   8370 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   8371 if test -n "$ac_ct_AS"; then
   8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   8373 $as_echo "$ac_ct_AS" >&6; }
   8374 else
   8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8376 $as_echo "no" >&6; }
   8377 fi
   8378 
   8379   if test "x$ac_ct_AS" = x; then
   8380     AS="false"
   8381   else
   8382     case $cross_compiling:$ac_tool_warned in
   8383 yes:)
   8384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8386 ac_tool_warned=yes ;;
   8387 esac
   8388     AS=$ac_ct_AS
   8389   fi
   8390 else
   8391   AS="$ac_cv_prog_AS"
   8392 fi
   8393 
   8394   if test -n "$ac_tool_prefix"; then
   8395   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   8396 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8398 $as_echo_n "checking for $ac_word... " >&6; }
   8399 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8400   $as_echo_n "(cached) " >&6
   8401 else
   8402   if test -n "$DLLTOOL"; then
   8403   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8404 else
   8405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8406 for as_dir in $PATH
   8407 do
   8408   IFS=$as_save_IFS
   8409   test -z "$as_dir" && as_dir=.
   8410     for ac_exec_ext in '' $ac_executable_extensions; do
   8411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8412     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   8413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8414     break 2
   8415   fi
   8416 done
   8417   done
   8418 IFS=$as_save_IFS
   8419 
   8420 fi
   8421 fi
   8422 DLLTOOL=$ac_cv_prog_DLLTOOL
   8423 if test -n "$DLLTOOL"; then
   8424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8425 $as_echo "$DLLTOOL" >&6; }
   8426 else
   8427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8428 $as_echo "no" >&6; }
   8429 fi
   8430 
   8431 
   8432 fi
   8433 if test -z "$ac_cv_prog_DLLTOOL"; then
   8434   ac_ct_DLLTOOL=$DLLTOOL
   8435   # Extract the first word of "dlltool", so it can be a program name with args.
   8436 set dummy dlltool; ac_word=$2
   8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8438 $as_echo_n "checking for $ac_word... " >&6; }
   8439 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   8440   $as_echo_n "(cached) " >&6
   8441 else
   8442   if test -n "$ac_ct_DLLTOOL"; then
   8443   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8444 else
   8445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8446 for as_dir in $PATH
   8447 do
   8448   IFS=$as_save_IFS
   8449   test -z "$as_dir" && as_dir=.
   8450     for ac_exec_ext in '' $ac_executable_extensions; do
   8451   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8452     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8454     break 2
   8455   fi
   8456 done
   8457   done
   8458 IFS=$as_save_IFS
   8459 
   8460 fi
   8461 fi
   8462 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8463 if test -n "$ac_ct_DLLTOOL"; then
   8464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8465 $as_echo "$ac_ct_DLLTOOL" >&6; }
   8466 else
   8467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8468 $as_echo "no" >&6; }
   8469 fi
   8470 
   8471   if test "x$ac_ct_DLLTOOL" = x; then
   8472     DLLTOOL="false"
   8473   else
   8474     case $cross_compiling:$ac_tool_warned in
   8475 yes:)
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8478 ac_tool_warned=yes ;;
   8479 esac
   8480     DLLTOOL=$ac_ct_DLLTOOL
   8481   fi
   8482 else
   8483   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8484 fi
   8485 
   8486   if test -n "$ac_tool_prefix"; then
   8487   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   8488 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8490 $as_echo_n "checking for $ac_word... " >&6; }
   8491 if ${ac_cv_prog_OBJDUMP+:} false; then :
   8492   $as_echo_n "(cached) " >&6
   8493 else
   8494   if test -n "$OBJDUMP"; then
   8495   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   8496 else
   8497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8498 for as_dir in $PATH
   8499 do
   8500   IFS=$as_save_IFS
   8501   test -z "$as_dir" && as_dir=.
   8502     for ac_exec_ext in '' $ac_executable_extensions; do
   8503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8504     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8506     break 2
   8507   fi
   8508 done
   8509   done
   8510 IFS=$as_save_IFS
   8511 
   8512 fi
   8513 fi
   8514 OBJDUMP=$ac_cv_prog_OBJDUMP
   8515 if test -n "$OBJDUMP"; then
   8516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8517 $as_echo "$OBJDUMP" >&6; }
   8518 else
   8519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8520 $as_echo "no" >&6; }
   8521 fi
   8522 
   8523 
   8524 fi
   8525 if test -z "$ac_cv_prog_OBJDUMP"; then
   8526   ac_ct_OBJDUMP=$OBJDUMP
   8527   # Extract the first word of "objdump", so it can be a program name with args.
   8528 set dummy objdump; ac_word=$2
   8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8530 $as_echo_n "checking for $ac_word... " >&6; }
   8531 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   8532   $as_echo_n "(cached) " >&6
   8533 else
   8534   if test -n "$ac_ct_OBJDUMP"; then
   8535   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8536 else
   8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8538 for as_dir in $PATH
   8539 do
   8540   IFS=$as_save_IFS
   8541   test -z "$as_dir" && as_dir=.
   8542     for ac_exec_ext in '' $ac_executable_extensions; do
   8543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8544     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8546     break 2
   8547   fi
   8548 done
   8549   done
   8550 IFS=$as_save_IFS
   8551 
   8552 fi
   8553 fi
   8554 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8555 if test -n "$ac_ct_OBJDUMP"; then
   8556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8557 $as_echo "$ac_ct_OBJDUMP" >&6; }
   8558 else
   8559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8560 $as_echo "no" >&6; }
   8561 fi
   8562 
   8563   if test "x$ac_ct_OBJDUMP" = x; then
   8564     OBJDUMP="false"
   8565   else
   8566     case $cross_compiling:$ac_tool_warned in
   8567 yes:)
   8568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8570 ac_tool_warned=yes ;;
   8571 esac
   8572     OBJDUMP=$ac_ct_OBJDUMP
   8573   fi
   8574 else
   8575   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8576 fi
   8577 
   8578   ;;
   8579 esac
   8580 
   8581 test -z "$AS" && AS=as
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 test -z "$DLLTOOL" && DLLTOOL=dlltool
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 test -z "$OBJDUMP" && OBJDUMP=objdump
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601         enable_dlopen=no
   8602 
   8603 
   8604 
   8605             # Check whether --enable-shared was given.
   8606 if test "${enable_shared+set}" = set; then :
   8607   enableval=$enable_shared; p=${PACKAGE-default}
   8608     case $enableval in
   8609     yes) enable_shared=yes ;;
   8610     no) enable_shared=no ;;
   8611     *)
   8612       enable_shared=no
   8613       # Look at the argument we got.  We use all the common list separators.
   8614       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8615       for pkg in $enableval; do
   8616 	IFS=$lt_save_ifs
   8617 	if test "X$pkg" = "X$p"; then
   8618 	  enable_shared=yes
   8619 	fi
   8620       done
   8621       IFS=$lt_save_ifs
   8622       ;;
   8623     esac
   8624 else
   8625   enable_shared=yes
   8626 fi
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636   # Check whether --enable-static was given.
   8637 if test "${enable_static+set}" = set; then :
   8638   enableval=$enable_static; p=${PACKAGE-default}
   8639     case $enableval in
   8640     yes) enable_static=yes ;;
   8641     no) enable_static=no ;;
   8642     *)
   8643      enable_static=no
   8644       # Look at the argument we got.  We use all the common list separators.
   8645       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8646       for pkg in $enableval; do
   8647 	IFS=$lt_save_ifs
   8648 	if test "X$pkg" = "X$p"; then
   8649 	  enable_static=yes
   8650 	fi
   8651       done
   8652       IFS=$lt_save_ifs
   8653       ;;
   8654     esac
   8655 else
   8656   enable_static=yes
   8657 fi
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 # Check whether --with-pic was given.
   8669 if test "${with_pic+set}" = set; then :
   8670   withval=$with_pic; lt_p=${PACKAGE-default}
   8671     case $withval in
   8672     yes|no) pic_mode=$withval ;;
   8673     *)
   8674       pic_mode=default
   8675       # Look at the argument we got.  We use all the common list separators.
   8676       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8677       for lt_pkg in $withval; do
   8678 	IFS=$lt_save_ifs
   8679 	if test "X$lt_pkg" = "X$lt_p"; then
   8680 	  pic_mode=yes
   8681 	fi
   8682       done
   8683       IFS=$lt_save_ifs
   8684       ;;
   8685     esac
   8686 else
   8687   pic_mode=default
   8688 fi
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697   # Check whether --enable-fast-install was given.
   8698 if test "${enable_fast_install+set}" = set; then :
   8699   enableval=$enable_fast_install; p=${PACKAGE-default}
   8700     case $enableval in
   8701     yes) enable_fast_install=yes ;;
   8702     no) enable_fast_install=no ;;
   8703     *)
   8704       enable_fast_install=no
   8705       # Look at the argument we got.  We use all the common list separators.
   8706       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8707       for pkg in $enableval; do
   8708 	IFS=$lt_save_ifs
   8709 	if test "X$pkg" = "X$p"; then
   8710 	  enable_fast_install=yes
   8711 	fi
   8712       done
   8713       IFS=$lt_save_ifs
   8714       ;;
   8715     esac
   8716 else
   8717   enable_fast_install=yes
   8718 fi
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727   shared_archive_member_spec=
   8728 case $host,$enable_shared in
   8729 power*-*-aix[5-9]*,yes)
   8730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8731 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8732 
   8733 # Check whether --with-aix-soname was given.
   8734 if test "${with_aix_soname+set}" = set; then :
   8735   withval=$with_aix_soname; case $withval in
   8736     aix|svr4|both)
   8737       ;;
   8738     *)
   8739       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8740       ;;
   8741     esac
   8742     lt_cv_with_aix_soname=$with_aix_soname
   8743 else
   8744   if ${lt_cv_with_aix_soname+:} false; then :
   8745   $as_echo_n "(cached) " >&6
   8746 else
   8747   lt_cv_with_aix_soname=aix
   8748 fi
   8749 
   8750     with_aix_soname=$lt_cv_with_aix_soname
   8751 fi
   8752 
   8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8754 $as_echo "$with_aix_soname" >&6; }
   8755   if test aix != "$with_aix_soname"; then
   8756     # For the AIX way of multilib, we name the shared archive member
   8757     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8758     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8759     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8760     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8761     if test 64 = "${OBJECT_MODE-32}"; then
   8762       shared_archive_member_spec=shr_64
   8763     else
   8764       shared_archive_member_spec=shr
   8765     fi
   8766   fi
   8767   ;;
   8768 *)
   8769   with_aix_soname=aix
   8770   ;;
   8771 esac
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 # This can be used to rebuild libtool when needed
   8783 LIBTOOL_DEPS=$ltmain
   8784 
   8785 # Always use our own libtool.
   8786 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 test -z "$LN_S" && LN_S="ln -s"
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 if test -n "${ZSH_VERSION+set}"; then
   8833    setopt NO_GLOB_SUBST
   8834 fi
   8835 
   8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8837 $as_echo_n "checking for objdir... " >&6; }
   8838 if ${lt_cv_objdir+:} false; then :
   8839   $as_echo_n "(cached) " >&6
   8840 else
   8841   rm -f .libs 2>/dev/null
   8842 mkdir .libs 2>/dev/null
   8843 if test -d .libs; then
   8844   lt_cv_objdir=.libs
   8845 else
   8846   # MS-DOS does not allow filenames that begin with a dot.
   8847   lt_cv_objdir=_libs
   8848 fi
   8849 rmdir .libs 2>/dev/null
   8850 fi
   8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8852 $as_echo "$lt_cv_objdir" >&6; }
   8853 objdir=$lt_cv_objdir
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 cat >>confdefs.h <<_ACEOF
   8860 #define LT_OBJDIR "$lt_cv_objdir/"
   8861 _ACEOF
   8862 
   8863 
   8864 
   8865 
   8866 case $host_os in
   8867 aix3*)
   8868   # AIX sometimes has problems with the GCC collect2 program.  For some
   8869   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8870   # vanish in a puff of smoke.
   8871   if test set != "${COLLECT_NAMES+set}"; then
   8872     COLLECT_NAMES=
   8873     export COLLECT_NAMES
   8874   fi
   8875   ;;
   8876 esac
   8877 
   8878 # Global variables:
   8879 ofile=libtool
   8880 can_build_shared=yes
   8881 
   8882 # All known linkers require a '.a' archive for static linking (except MSVC,
   8883 # which needs '.lib').
   8884 libext=a
   8885 
   8886 with_gnu_ld=$lt_cv_prog_gnu_ld
   8887 
   8888 old_CC=$CC
   8889 old_CFLAGS=$CFLAGS
   8890 
   8891 # Set sane defaults for various variables
   8892 test -z "$CC" && CC=cc
   8893 test -z "$LTCC" && LTCC=$CC
   8894 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8895 test -z "$LD" && LD=ld
   8896 test -z "$ac_objext" && ac_objext=o
   8897 
   8898 func_cc_basename $compiler
   8899 cc_basename=$func_cc_basename_result
   8900 
   8901 
   8902 # Only perform the check for file, if the check method requires it
   8903 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8904 case $deplibs_check_method in
   8905 file_magic*)
   8906   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8907     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8908 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8909 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8910   $as_echo_n "(cached) " >&6
   8911 else
   8912   case $MAGIC_CMD in
   8913 [\\/*] |  ?:[\\/]*)
   8914   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8915   ;;
   8916 *)
   8917   lt_save_MAGIC_CMD=$MAGIC_CMD
   8918   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8919   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8920   for ac_dir in $ac_dummy; do
   8921     IFS=$lt_save_ifs
   8922     test -z "$ac_dir" && ac_dir=.
   8923     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8924       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8925       if test -n "$file_magic_test_file"; then
   8926 	case $deplibs_check_method in
   8927 	"file_magic "*)
   8928 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8929 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8930 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8931 	    $EGREP "$file_magic_regex" > /dev/null; then
   8932 	    :
   8933 	  else
   8934 	    cat <<_LT_EOF 1>&2
   8935 
   8936 *** Warning: the command libtool uses to detect shared libraries,
   8937 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8938 *** The result is that libtool may fail to recognize shared libraries
   8939 *** as such.  This will affect the creation of libtool libraries that
   8940 *** depend on shared libraries, but programs linked with such libtool
   8941 *** libraries will work regardless of this problem.  Nevertheless, you
   8942 *** may want to report the problem to your system manager and/or to
   8943 *** bug-libtool (at] gnu.org
   8944 
   8945 _LT_EOF
   8946 	  fi ;;
   8947 	esac
   8948       fi
   8949       break
   8950     fi
   8951   done
   8952   IFS=$lt_save_ifs
   8953   MAGIC_CMD=$lt_save_MAGIC_CMD
   8954   ;;
   8955 esac
   8956 fi
   8957 
   8958 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8959 if test -n "$MAGIC_CMD"; then
   8960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8961 $as_echo "$MAGIC_CMD" >&6; }
   8962 else
   8963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8964 $as_echo "no" >&6; }
   8965 fi
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8972   if test -n "$ac_tool_prefix"; then
   8973     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8974 $as_echo_n "checking for file... " >&6; }
   8975 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8976   $as_echo_n "(cached) " >&6
   8977 else
   8978   case $MAGIC_CMD in
   8979 [\\/*] |  ?:[\\/]*)
   8980   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8981   ;;
   8982 *)
   8983   lt_save_MAGIC_CMD=$MAGIC_CMD
   8984   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8985   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8986   for ac_dir in $ac_dummy; do
   8987     IFS=$lt_save_ifs
   8988     test -z "$ac_dir" && ac_dir=.
   8989     if test -f "$ac_dir/file"; then
   8990       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8991       if test -n "$file_magic_test_file"; then
   8992 	case $deplibs_check_method in
   8993 	"file_magic "*)
   8994 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8995 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8996 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8997 	    $EGREP "$file_magic_regex" > /dev/null; then
   8998 	    :
   8999 	  else
   9000 	    cat <<_LT_EOF 1>&2
   9001 
   9002 *** Warning: the command libtool uses to detect shared libraries,
   9003 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9004 *** The result is that libtool may fail to recognize shared libraries
   9005 *** as such.  This will affect the creation of libtool libraries that
   9006 *** depend on shared libraries, but programs linked with such libtool
   9007 *** libraries will work regardless of this problem.  Nevertheless, you
   9008 *** may want to report the problem to your system manager and/or to
   9009 *** bug-libtool (at] gnu.org
   9010 
   9011 _LT_EOF
   9012 	  fi ;;
   9013 	esac
   9014       fi
   9015       break
   9016     fi
   9017   done
   9018   IFS=$lt_save_ifs
   9019   MAGIC_CMD=$lt_save_MAGIC_CMD
   9020   ;;
   9021 esac
   9022 fi
   9023 
   9024 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9025 if test -n "$MAGIC_CMD"; then
   9026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9027 $as_echo "$MAGIC_CMD" >&6; }
   9028 else
   9029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9030 $as_echo "no" >&6; }
   9031 fi
   9032 
   9033 
   9034   else
   9035     MAGIC_CMD=:
   9036   fi
   9037 fi
   9038 
   9039   fi
   9040   ;;
   9041 esac
   9042 
   9043 # Use C for the default configuration in the libtool script
   9044 
   9045 lt_save_CC=$CC
   9046 ac_ext=c
   9047 ac_cpp='$CPP $CPPFLAGS'
   9048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9051 
   9052 
   9053 # Source file extension for C test sources.
   9054 ac_ext=c
   9055 
   9056 # Object file extension for compiled C test sources.
   9057 objext=o
   9058 objext=$objext
   9059 
   9060 # Code to be used in simple compile tests
   9061 lt_simple_compile_test_code="int some_variable = 0;"
   9062 
   9063 # Code to be used in simple link tests
   9064 lt_simple_link_test_code='int main(){return(0);}'
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 # If no C compiler was specified, use CC.
   9073 LTCC=${LTCC-"$CC"}
   9074 
   9075 # If no C compiler flags were specified, use CFLAGS.
   9076 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9077 
   9078 # Allow CC to be a program name with arguments.
   9079 compiler=$CC
   9080 
   9081 # Save the default compiler, since it gets overwritten when the other
   9082 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9083 compiler_DEFAULT=$CC
   9084 
   9085 # save warnings/boilerplate of simple test code
   9086 ac_outfile=conftest.$ac_objext
   9087 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9088 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9089 _lt_compiler_boilerplate=`cat conftest.err`
   9090 $RM conftest*
   9091 
   9092 ac_outfile=conftest.$ac_objext
   9093 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9094 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9095 _lt_linker_boilerplate=`cat conftest.err`
   9096 $RM -r conftest*
   9097 
   9098 
   9099 ## CAVEAT EMPTOR:
   9100 ## There is no encapsulation within the following macros, do not change
   9101 ## the running order or otherwise move them around unless you know exactly
   9102 ## what you are doing...
   9103 if test -n "$compiler"; then
   9104 
   9105 lt_prog_compiler_no_builtin_flag=
   9106 
   9107 if test yes = "$GCC"; then
   9108   case $cc_basename in
   9109   nvcc*)
   9110     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9111   *)
   9112     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9113   esac
   9114 
   9115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9116 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9117 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9118   $as_echo_n "(cached) " >&6
   9119 else
   9120   lt_cv_prog_compiler_rtti_exceptions=no
   9121    ac_outfile=conftest.$ac_objext
   9122    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9123    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9124    # Insert the option either (1) after the last *FLAGS variable, or
   9125    # (2) before a word containing "conftest.", or (3) at the end.
   9126    # Note that $ac_compile itself does not contain backslashes and begins
   9127    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9128    # The option is referenced via a variable to avoid confusing sed.
   9129    lt_compile=`echo "$ac_compile" | $SED \
   9130    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9131    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9132    -e 's:$: $lt_compiler_flag:'`
   9133    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9134    (eval "$lt_compile" 2>conftest.err)
   9135    ac_status=$?
   9136    cat conftest.err >&5
   9137    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9138    if (exit $ac_status) && test -s "$ac_outfile"; then
   9139      # The compiler can only warn and ignore the option if not recognized
   9140      # So say no if there are warnings other than the usual output.
   9141      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9142      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9143      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9144        lt_cv_prog_compiler_rtti_exceptions=yes
   9145      fi
   9146    fi
   9147    $RM conftest*
   9148 
   9149 fi
   9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9151 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9152 
   9153 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9154     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9155 else
   9156     :
   9157 fi
   9158 
   9159 fi
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166   lt_prog_compiler_wl=
   9167 lt_prog_compiler_pic=
   9168 lt_prog_compiler_static=
   9169 
   9170 
   9171   if test yes = "$GCC"; then
   9172     lt_prog_compiler_wl='-Wl,'
   9173     lt_prog_compiler_static='-static'
   9174 
   9175     case $host_os in
   9176       aix*)
   9177       # All AIX code is PIC.
   9178       if test ia64 = "$host_cpu"; then
   9179 	# AIX 5 now supports IA64 processor
   9180 	lt_prog_compiler_static='-Bstatic'
   9181       fi
   9182       lt_prog_compiler_pic='-fPIC'
   9183       ;;
   9184 
   9185     amigaos*)
   9186       case $host_cpu in
   9187       powerpc)
   9188             # see comment about AmigaOS4 .so support
   9189             lt_prog_compiler_pic='-fPIC'
   9190         ;;
   9191       m68k)
   9192             # FIXME: we need at least 68020 code to build shared libraries, but
   9193             # adding the '-m68020' flag to GCC prevents building anything better,
   9194             # like '-m68040'.
   9195             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9196         ;;
   9197       esac
   9198       ;;
   9199 
   9200     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9201       # PIC is the default for these OSes.
   9202       ;;
   9203 
   9204     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9205       # This hack is so that the source file can tell whether it is being
   9206       # built for inclusion in a dll (and should export symbols for example).
   9207       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9208       # (--disable-auto-import) libraries
   9209       lt_prog_compiler_pic='-DDLL_EXPORT'
   9210       case $host_os in
   9211       os2*)
   9212 	lt_prog_compiler_static='$wl-static'
   9213 	;;
   9214       esac
   9215       ;;
   9216 
   9217     darwin* | rhapsody*)
   9218       # PIC is the default on this platform
   9219       # Common symbols not allowed in MH_DYLIB files
   9220       lt_prog_compiler_pic='-fno-common'
   9221       ;;
   9222 
   9223     haiku*)
   9224       # PIC is the default for Haiku.
   9225       # The "-static" flag exists, but is broken.
   9226       lt_prog_compiler_static=
   9227       ;;
   9228 
   9229     hpux*)
   9230       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9231       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9232       # sets the default TLS model and affects inlining.
   9233       case $host_cpu in
   9234       hppa*64*)
   9235 	# +Z the default
   9236 	;;
   9237       *)
   9238 	lt_prog_compiler_pic='-fPIC'
   9239 	;;
   9240       esac
   9241       ;;
   9242 
   9243     interix[3-9]*)
   9244       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9245       # Instead, we relocate shared libraries at runtime.
   9246       ;;
   9247 
   9248     msdosdjgpp*)
   9249       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9250       # on systems that don't support them.
   9251       lt_prog_compiler_can_build_shared=no
   9252       enable_shared=no
   9253       ;;
   9254 
   9255     *nto* | *qnx*)
   9256       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9257       # it will coredump.
   9258       lt_prog_compiler_pic='-fPIC -shared'
   9259       ;;
   9260 
   9261     sysv4*MP*)
   9262       if test -d /usr/nec; then
   9263 	lt_prog_compiler_pic=-Kconform_pic
   9264       fi
   9265       ;;
   9266 
   9267     *)
   9268       lt_prog_compiler_pic='-fPIC'
   9269       ;;
   9270     esac
   9271 
   9272     case $cc_basename in
   9273     nvcc*) # Cuda Compiler Driver 2.2
   9274       lt_prog_compiler_wl='-Xlinker '
   9275       if test -n "$lt_prog_compiler_pic"; then
   9276         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9277       fi
   9278       ;;
   9279     esac
   9280   else
   9281     # PORTME Check for flag to pass linker flags through the system compiler.
   9282     case $host_os in
   9283     aix*)
   9284       lt_prog_compiler_wl='-Wl,'
   9285       if test ia64 = "$host_cpu"; then
   9286 	# AIX 5 now supports IA64 processor
   9287 	lt_prog_compiler_static='-Bstatic'
   9288       else
   9289 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9290       fi
   9291       ;;
   9292 
   9293     darwin* | rhapsody*)
   9294       # PIC is the default on this platform
   9295       # Common symbols not allowed in MH_DYLIB files
   9296       lt_prog_compiler_pic='-fno-common'
   9297       case $cc_basename in
   9298       nagfor*)
   9299         # NAG Fortran compiler
   9300         lt_prog_compiler_wl='-Wl,-Wl,,'
   9301         lt_prog_compiler_pic='-PIC'
   9302         lt_prog_compiler_static='-Bstatic'
   9303         ;;
   9304       esac
   9305       ;;
   9306 
   9307     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9308       # This hack is so that the source file can tell whether it is being
   9309       # built for inclusion in a dll (and should export symbols for example).
   9310       lt_prog_compiler_pic='-DDLL_EXPORT'
   9311       case $host_os in
   9312       os2*)
   9313 	lt_prog_compiler_static='$wl-static'
   9314 	;;
   9315       esac
   9316       ;;
   9317 
   9318     hpux9* | hpux10* | hpux11*)
   9319       lt_prog_compiler_wl='-Wl,'
   9320       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9321       # not for PA HP-UX.
   9322       case $host_cpu in
   9323       hppa*64*|ia64*)
   9324 	# +Z the default
   9325 	;;
   9326       *)
   9327 	lt_prog_compiler_pic='+Z'
   9328 	;;
   9329       esac
   9330       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9331       lt_prog_compiler_static='$wl-a ${wl}archive'
   9332       ;;
   9333 
   9334     irix5* | irix6* | nonstopux*)
   9335       lt_prog_compiler_wl='-Wl,'
   9336       # PIC (with -KPIC) is the default.
   9337       lt_prog_compiler_static='-non_shared'
   9338       ;;
   9339 
   9340     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9341       case $cc_basename in
   9342       # old Intel for x86_64, which still supported -KPIC.
   9343       ecc*)
   9344 	lt_prog_compiler_wl='-Wl,'
   9345 	lt_prog_compiler_pic='-KPIC'
   9346 	lt_prog_compiler_static='-static'
   9347         ;;
   9348       # icc used to be incompatible with GCC.
   9349       # ICC 10 doesn't accept -KPIC any more.
   9350       icc* | ifort*)
   9351 	lt_prog_compiler_wl='-Wl,'
   9352 	lt_prog_compiler_pic='-fPIC'
   9353 	lt_prog_compiler_static='-static'
   9354         ;;
   9355       # Lahey Fortran 8.1.
   9356       lf95*)
   9357 	lt_prog_compiler_wl='-Wl,'
   9358 	lt_prog_compiler_pic='--shared'
   9359 	lt_prog_compiler_static='--static'
   9360 	;;
   9361       nagfor*)
   9362 	# NAG Fortran compiler
   9363 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9364 	lt_prog_compiler_pic='-PIC'
   9365 	lt_prog_compiler_static='-Bstatic'
   9366 	;;
   9367       tcc*)
   9368 	# Fabrice Bellard et al's Tiny C Compiler
   9369 	lt_prog_compiler_wl='-Wl,'
   9370 	lt_prog_compiler_pic='-fPIC'
   9371 	lt_prog_compiler_static='-static'
   9372 	;;
   9373       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9374         # Portland Group compilers (*not* the Pentium gcc compiler,
   9375 	# which looks to be a dead project)
   9376 	lt_prog_compiler_wl='-Wl,'
   9377 	lt_prog_compiler_pic='-fpic'
   9378 	lt_prog_compiler_static='-Bstatic'
   9379         ;;
   9380       ccc*)
   9381         lt_prog_compiler_wl='-Wl,'
   9382         # All Alpha code is PIC.
   9383         lt_prog_compiler_static='-non_shared'
   9384         ;;
   9385       xl* | bgxl* | bgf* | mpixl*)
   9386 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9387 	lt_prog_compiler_wl='-Wl,'
   9388 	lt_prog_compiler_pic='-qpic'
   9389 	lt_prog_compiler_static='-qstaticlink'
   9390 	;;
   9391       *)
   9392 	case `$CC -V 2>&1 | sed 5q` in
   9393 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9394 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9395 	  lt_prog_compiler_pic='-KPIC'
   9396 	  lt_prog_compiler_static='-Bstatic'
   9397 	  lt_prog_compiler_wl=''
   9398 	  ;;
   9399 	*Sun\ F* | *Sun*Fortran*)
   9400 	  lt_prog_compiler_pic='-KPIC'
   9401 	  lt_prog_compiler_static='-Bstatic'
   9402 	  lt_prog_compiler_wl='-Qoption ld '
   9403 	  ;;
   9404 	*Sun\ C*)
   9405 	  # Sun C 5.9
   9406 	  lt_prog_compiler_pic='-KPIC'
   9407 	  lt_prog_compiler_static='-Bstatic'
   9408 	  lt_prog_compiler_wl='-Wl,'
   9409 	  ;;
   9410         *Intel*\ [CF]*Compiler*)
   9411 	  lt_prog_compiler_wl='-Wl,'
   9412 	  lt_prog_compiler_pic='-fPIC'
   9413 	  lt_prog_compiler_static='-static'
   9414 	  ;;
   9415 	*Portland\ Group*)
   9416 	  lt_prog_compiler_wl='-Wl,'
   9417 	  lt_prog_compiler_pic='-fpic'
   9418 	  lt_prog_compiler_static='-Bstatic'
   9419 	  ;;
   9420 	esac
   9421 	;;
   9422       esac
   9423       ;;
   9424 
   9425     newsos6)
   9426       lt_prog_compiler_pic='-KPIC'
   9427       lt_prog_compiler_static='-Bstatic'
   9428       ;;
   9429 
   9430     *nto* | *qnx*)
   9431       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9432       # it will coredump.
   9433       lt_prog_compiler_pic='-fPIC -shared'
   9434       ;;
   9435 
   9436     osf3* | osf4* | osf5*)
   9437       lt_prog_compiler_wl='-Wl,'
   9438       # All OSF/1 code is PIC.
   9439       lt_prog_compiler_static='-non_shared'
   9440       ;;
   9441 
   9442     rdos*)
   9443       lt_prog_compiler_static='-non_shared'
   9444       ;;
   9445 
   9446     solaris*)
   9447       lt_prog_compiler_pic='-KPIC'
   9448       lt_prog_compiler_static='-Bstatic'
   9449       case $cc_basename in
   9450       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9451 	lt_prog_compiler_wl='-Qoption ld ';;
   9452       *)
   9453 	lt_prog_compiler_wl='-Wl,';;
   9454       esac
   9455       ;;
   9456 
   9457     sunos4*)
   9458       lt_prog_compiler_wl='-Qoption ld '
   9459       lt_prog_compiler_pic='-PIC'
   9460       lt_prog_compiler_static='-Bstatic'
   9461       ;;
   9462 
   9463     sysv4 | sysv4.2uw2* | sysv4.3*)
   9464       lt_prog_compiler_wl='-Wl,'
   9465       lt_prog_compiler_pic='-KPIC'
   9466       lt_prog_compiler_static='-Bstatic'
   9467       ;;
   9468 
   9469     sysv4*MP*)
   9470       if test -d /usr/nec; then
   9471 	lt_prog_compiler_pic='-Kconform_pic'
   9472 	lt_prog_compiler_static='-Bstatic'
   9473       fi
   9474       ;;
   9475 
   9476     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9477       lt_prog_compiler_wl='-Wl,'
   9478       lt_prog_compiler_pic='-KPIC'
   9479       lt_prog_compiler_static='-Bstatic'
   9480       ;;
   9481 
   9482     unicos*)
   9483       lt_prog_compiler_wl='-Wl,'
   9484       lt_prog_compiler_can_build_shared=no
   9485       ;;
   9486 
   9487     uts4*)
   9488       lt_prog_compiler_pic='-pic'
   9489       lt_prog_compiler_static='-Bstatic'
   9490       ;;
   9491 
   9492     *)
   9493       lt_prog_compiler_can_build_shared=no
   9494       ;;
   9495     esac
   9496   fi
   9497 
   9498 case $host_os in
   9499   # For platforms that do not support PIC, -DPIC is meaningless:
   9500   *djgpp*)
   9501     lt_prog_compiler_pic=
   9502     ;;
   9503   *)
   9504     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9505     ;;
   9506 esac
   9507 
   9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9509 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9510 if ${lt_cv_prog_compiler_pic+:} false; then :
   9511   $as_echo_n "(cached) " >&6
   9512 else
   9513   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9514 fi
   9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9516 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9517 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9518 
   9519 #
   9520 # Check to make sure the PIC flag actually works.
   9521 #
   9522 if test -n "$lt_prog_compiler_pic"; then
   9523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9524 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9525 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9526   $as_echo_n "(cached) " >&6
   9527 else
   9528   lt_cv_prog_compiler_pic_works=no
   9529    ac_outfile=conftest.$ac_objext
   9530    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9531    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9532    # Insert the option either (1) after the last *FLAGS variable, or
   9533    # (2) before a word containing "conftest.", or (3) at the end.
   9534    # Note that $ac_compile itself does not contain backslashes and begins
   9535    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9536    # The option is referenced via a variable to avoid confusing sed.
   9537    lt_compile=`echo "$ac_compile" | $SED \
   9538    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9539    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9540    -e 's:$: $lt_compiler_flag:'`
   9541    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9542    (eval "$lt_compile" 2>conftest.err)
   9543    ac_status=$?
   9544    cat conftest.err >&5
   9545    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9546    if (exit $ac_status) && test -s "$ac_outfile"; then
   9547      # The compiler can only warn and ignore the option if not recognized
   9548      # So say no if there are warnings other than the usual output.
   9549      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9550      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9551      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9552        lt_cv_prog_compiler_pic_works=yes
   9553      fi
   9554    fi
   9555    $RM conftest*
   9556 
   9557 fi
   9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9559 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9560 
   9561 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9562     case $lt_prog_compiler_pic in
   9563      "" | " "*) ;;
   9564      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9565      esac
   9566 else
   9567     lt_prog_compiler_pic=
   9568      lt_prog_compiler_can_build_shared=no
   9569 fi
   9570 
   9571 fi
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 #
   9584 # Check to make sure the static flag actually works.
   9585 #
   9586 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9588 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9589 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9590   $as_echo_n "(cached) " >&6
   9591 else
   9592   lt_cv_prog_compiler_static_works=no
   9593    save_LDFLAGS=$LDFLAGS
   9594    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9595    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9596    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9597      # The linker can only warn and ignore the option if not recognized
   9598      # So say no if there are warnings
   9599      if test -s conftest.err; then
   9600        # Append any errors to the config.log.
   9601        cat conftest.err 1>&5
   9602        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9603        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9604        if diff conftest.exp conftest.er2 >/dev/null; then
   9605          lt_cv_prog_compiler_static_works=yes
   9606        fi
   9607      else
   9608        lt_cv_prog_compiler_static_works=yes
   9609      fi
   9610    fi
   9611    $RM -r conftest*
   9612    LDFLAGS=$save_LDFLAGS
   9613 
   9614 fi
   9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9616 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9617 
   9618 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9619     :
   9620 else
   9621     lt_prog_compiler_static=
   9622 fi
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9632 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9633   $as_echo_n "(cached) " >&6
   9634 else
   9635   lt_cv_prog_compiler_c_o=no
   9636    $RM -r conftest 2>/dev/null
   9637    mkdir conftest
   9638    cd conftest
   9639    mkdir out
   9640    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9641 
   9642    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9643    # Insert the option either (1) after the last *FLAGS variable, or
   9644    # (2) before a word containing "conftest.", or (3) at the end.
   9645    # Note that $ac_compile itself does not contain backslashes and begins
   9646    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9647    lt_compile=`echo "$ac_compile" | $SED \
   9648    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9649    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9650    -e 's:$: $lt_compiler_flag:'`
   9651    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9652    (eval "$lt_compile" 2>out/conftest.err)
   9653    ac_status=$?
   9654    cat out/conftest.err >&5
   9655    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9656    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9657    then
   9658      # The compiler can only warn and ignore the option if not recognized
   9659      # So say no if there are warnings
   9660      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9661      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9662      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9663        lt_cv_prog_compiler_c_o=yes
   9664      fi
   9665    fi
   9666    chmod u+w . 2>&5
   9667    $RM conftest*
   9668    # SGI C++ compiler will create directory out/ii_files/ for
   9669    # template instantiation
   9670    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9671    $RM out/* && rmdir out
   9672    cd ..
   9673    $RM -r conftest
   9674    $RM conftest*
   9675 
   9676 fi
   9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9686 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9687 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9688   $as_echo_n "(cached) " >&6
   9689 else
   9690   lt_cv_prog_compiler_c_o=no
   9691    $RM -r conftest 2>/dev/null
   9692    mkdir conftest
   9693    cd conftest
   9694    mkdir out
   9695    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9696 
   9697    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9698    # Insert the option either (1) after the last *FLAGS variable, or
   9699    # (2) before a word containing "conftest.", or (3) at the end.
   9700    # Note that $ac_compile itself does not contain backslashes and begins
   9701    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9702    lt_compile=`echo "$ac_compile" | $SED \
   9703    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9704    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9705    -e 's:$: $lt_compiler_flag:'`
   9706    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9707    (eval "$lt_compile" 2>out/conftest.err)
   9708    ac_status=$?
   9709    cat out/conftest.err >&5
   9710    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9711    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9712    then
   9713      # The compiler can only warn and ignore the option if not recognized
   9714      # So say no if there are warnings
   9715      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9716      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9717      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9718        lt_cv_prog_compiler_c_o=yes
   9719      fi
   9720    fi
   9721    chmod u+w . 2>&5
   9722    $RM conftest*
   9723    # SGI C++ compiler will create directory out/ii_files/ for
   9724    # template instantiation
   9725    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9726    $RM out/* && rmdir out
   9727    cd ..
   9728    $RM -r conftest
   9729    $RM conftest*
   9730 
   9731 fi
   9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9733 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9734 
   9735 
   9736 
   9737 
   9738 hard_links=nottested
   9739 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9740   # do not overwrite the value of need_locks provided by the user
   9741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9742 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9743   hard_links=yes
   9744   $RM conftest*
   9745   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9746   touch conftest.a
   9747   ln conftest.a conftest.b 2>&5 || hard_links=no
   9748   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9750 $as_echo "$hard_links" >&6; }
   9751   if test no = "$hard_links"; then
   9752     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9753 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9754     need_locks=warn
   9755   fi
   9756 else
   9757   need_locks=no
   9758 fi
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9766 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9767 
   9768   runpath_var=
   9769   allow_undefined_flag=
   9770   always_export_symbols=no
   9771   archive_cmds=
   9772   archive_expsym_cmds=
   9773   compiler_needs_object=no
   9774   enable_shared_with_static_runtimes=no
   9775   export_dynamic_flag_spec=
   9776   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9777   hardcode_automatic=no
   9778   hardcode_direct=no
   9779   hardcode_direct_absolute=no
   9780   hardcode_libdir_flag_spec=
   9781   hardcode_libdir_separator=
   9782   hardcode_minus_L=no
   9783   hardcode_shlibpath_var=unsupported
   9784   inherit_rpath=no
   9785   link_all_deplibs=unknown
   9786   module_cmds=
   9787   module_expsym_cmds=
   9788   old_archive_from_new_cmds=
   9789   old_archive_from_expsyms_cmds=
   9790   thread_safe_flag_spec=
   9791   whole_archive_flag_spec=
   9792   # include_expsyms should be a list of space-separated symbols to be *always*
   9793   # included in the symbol list
   9794   include_expsyms=
   9795   # exclude_expsyms can be an extended regexp of symbols to exclude
   9796   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9797   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9798   # as well as any symbol that contains 'd'.
   9799   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9800   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9801   # platforms (ab)use it in PIC code, but their linkers get confused if
   9802   # the symbol is explicitly referenced.  Since portable code cannot
   9803   # rely on this symbol name, it's probably fine to never include it in
   9804   # preloaded symbol tables.
   9805   # Exclude shared library initialization/finalization symbols.
   9806   extract_expsyms_cmds=
   9807 
   9808   case $host_os in
   9809   cygwin* | mingw* | pw32* | cegcc*)
   9810     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9811     # When not using gcc, we currently assume that we are using
   9812     # Microsoft Visual C++.
   9813     if test yes != "$GCC"; then
   9814       with_gnu_ld=no
   9815     fi
   9816     ;;
   9817   interix*)
   9818     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9819     with_gnu_ld=yes
   9820     ;;
   9821   openbsd* | bitrig*)
   9822     with_gnu_ld=no
   9823     ;;
   9824   esac
   9825 
   9826   ld_shlibs=yes
   9827 
   9828   # On some targets, GNU ld is compatible enough with the native linker
   9829   # that we're better off using the native interface for both.
   9830   lt_use_gnu_ld_interface=no
   9831   if test yes = "$with_gnu_ld"; then
   9832     case $host_os in
   9833       aix*)
   9834 	# The AIX port of GNU ld has always aspired to compatibility
   9835 	# with the native linker.  However, as the warning in the GNU ld
   9836 	# block says, versions before 2.19.5* couldn't really create working
   9837 	# shared libraries, regardless of the interface used.
   9838 	case `$LD -v 2>&1` in
   9839 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9840 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9841 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9842 	  *)
   9843 	    lt_use_gnu_ld_interface=yes
   9844 	    ;;
   9845 	esac
   9846 	;;
   9847       *)
   9848 	lt_use_gnu_ld_interface=yes
   9849 	;;
   9850     esac
   9851   fi
   9852 
   9853   if test yes = "$lt_use_gnu_ld_interface"; then
   9854     # If archive_cmds runs LD, not CC, wlarc should be empty
   9855     wlarc='$wl'
   9856 
   9857     # Set some defaults for GNU ld with shared library support. These
   9858     # are reset later if shared libraries are not supported. Putting them
   9859     # here allows them to be overridden if necessary.
   9860     runpath_var=LD_RUN_PATH
   9861     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9862     export_dynamic_flag_spec='$wl--export-dynamic'
   9863     # ancient GNU ld didn't support --whole-archive et. al.
   9864     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9865       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9866     else
   9867       whole_archive_flag_spec=
   9868     fi
   9869     supports_anon_versioning=no
   9870     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9871       *GNU\ gold*) supports_anon_versioning=yes ;;
   9872       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9873       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9874       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9875       *\ 2.11.*) ;; # other 2.11 versions
   9876       *) supports_anon_versioning=yes ;;
   9877     esac
   9878 
   9879     # See if GNU ld supports shared libraries.
   9880     case $host_os in
   9881     aix[3-9]*)
   9882       # On AIX/PPC, the GNU linker is very broken
   9883       if test ia64 != "$host_cpu"; then
   9884 	ld_shlibs=no
   9885 	cat <<_LT_EOF 1>&2
   9886 
   9887 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9888 *** to be unable to reliably create shared libraries on AIX.
   9889 *** Therefore, libtool is disabling shared libraries support.  If you
   9890 *** really care for shared libraries, you may want to install binutils
   9891 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9892 *** You will then need to restart the configuration process.
   9893 
   9894 _LT_EOF
   9895       fi
   9896       ;;
   9897 
   9898     amigaos*)
   9899       case $host_cpu in
   9900       powerpc)
   9901             # see comment about AmigaOS4 .so support
   9902             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9903             archive_expsym_cmds=''
   9904         ;;
   9905       m68k)
   9906             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)'
   9907             hardcode_libdir_flag_spec='-L$libdir'
   9908             hardcode_minus_L=yes
   9909         ;;
   9910       esac
   9911       ;;
   9912 
   9913     beos*)
   9914       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9915 	allow_undefined_flag=unsupported
   9916 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9917 	# support --undefined.  This deserves some investigation.  FIXME
   9918 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9919       else
   9920 	ld_shlibs=no
   9921       fi
   9922       ;;
   9923 
   9924     cygwin* | mingw* | pw32* | cegcc*)
   9925       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9926       # as there is no search path for DLLs.
   9927       hardcode_libdir_flag_spec='-L$libdir'
   9928       export_dynamic_flag_spec='$wl--export-all-symbols'
   9929       allow_undefined_flag=unsupported
   9930       always_export_symbols=no
   9931       enable_shared_with_static_runtimes=yes
   9932       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'
   9933       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9934 
   9935       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9936         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9937 	# If the export-symbols file already is a .def file, use it as
   9938 	# is; otherwise, prepend EXPORTS...
   9939 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9940           cp $export_symbols $output_objdir/$soname.def;
   9941         else
   9942           echo EXPORTS > $output_objdir/$soname.def;
   9943           cat $export_symbols >> $output_objdir/$soname.def;
   9944         fi~
   9945         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9946       else
   9947 	ld_shlibs=no
   9948       fi
   9949       ;;
   9950 
   9951     haiku*)
   9952       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9953       link_all_deplibs=yes
   9954       ;;
   9955 
   9956     os2*)
   9957       hardcode_libdir_flag_spec='-L$libdir'
   9958       hardcode_minus_L=yes
   9959       allow_undefined_flag=unsupported
   9960       shrext_cmds=.dll
   9961       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9962 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9963 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9964 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9965 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9966 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9967 	emximp -o $lib $output_objdir/$libname.def'
   9968       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9969 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9970 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9971 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9972 	prefix_cmds="$SED"~
   9973 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9974 	  prefix_cmds="$prefix_cmds -e 1d";
   9975 	fi~
   9976 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9977 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9978 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9979 	emximp -o $lib $output_objdir/$libname.def'
   9980       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9981       enable_shared_with_static_runtimes=yes
   9982       ;;
   9983 
   9984     interix[3-9]*)
   9985       hardcode_direct=no
   9986       hardcode_shlibpath_var=no
   9987       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9988       export_dynamic_flag_spec='$wl-E'
   9989       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9990       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9991       # default) and relocated if they conflict, which is a slow very memory
   9992       # consuming and fragmenting process.  To avoid this, we pick a random,
   9993       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9994       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9995       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9996       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'
   9997       ;;
   9998 
   9999     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10000       tmp_diet=no
   10001       if test linux-dietlibc = "$host_os"; then
   10002 	case $cc_basename in
   10003 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10004 	esac
   10005       fi
   10006       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10007 	 && test no = "$tmp_diet"
   10008       then
   10009 	tmp_addflag=' $pic_flag'
   10010 	tmp_sharedflag='-shared'
   10011 	case $cc_basename,$host_cpu in
   10012         pgcc*)				# Portland Group C compiler
   10013 	  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'
   10014 	  tmp_addflag=' $pic_flag'
   10015 	  ;;
   10016 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10017 					# Portland Group f77 and f90 compilers
   10018 	  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'
   10019 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10020 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10021 	  tmp_addflag=' -i_dynamic' ;;
   10022 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10023 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10024 	ifc* | ifort*)			# Intel Fortran compiler
   10025 	  tmp_addflag=' -nofor_main' ;;
   10026 	lf95*)				# Lahey Fortran 8.1
   10027 	  whole_archive_flag_spec=
   10028 	  tmp_sharedflag='--shared' ;;
   10029         nagfor*)                        # NAGFOR 5.3
   10030           tmp_sharedflag='-Wl,-shared' ;;
   10031 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10032 	  tmp_sharedflag='-qmkshrobj'
   10033 	  tmp_addflag= ;;
   10034 	nvcc*)	# Cuda Compiler Driver 2.2
   10035 	  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'
   10036 	  compiler_needs_object=yes
   10037 	  ;;
   10038 	esac
   10039 	case `$CC -V 2>&1 | sed 5q` in
   10040 	*Sun\ C*)			# Sun C 5.9
   10041 	  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'
   10042 	  compiler_needs_object=yes
   10043 	  tmp_sharedflag='-G' ;;
   10044 	*Sun\ F*)			# Sun Fortran 8.3
   10045 	  tmp_sharedflag='-G' ;;
   10046 	esac
   10047 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10048 
   10049         if test yes = "$supports_anon_versioning"; then
   10050           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10051             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10052             echo "local: *; };" >> $output_objdir/$libname.ver~
   10053             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10054         fi
   10055 
   10056 	case $cc_basename in
   10057 	tcc*)
   10058 	  export_dynamic_flag_spec='-rdynamic'
   10059 	  ;;
   10060 	xlf* | bgf* | bgxlf* | mpixlf*)
   10061 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10062 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10063 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10064 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10065 	  if test yes = "$supports_anon_versioning"; then
   10066 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10067               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10068               echo "local: *; };" >> $output_objdir/$libname.ver~
   10069               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10070 	  fi
   10071 	  ;;
   10072 	esac
   10073       else
   10074         ld_shlibs=no
   10075       fi
   10076       ;;
   10077 
   10078     netbsd*)
   10079       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10080 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10081 	wlarc=
   10082       else
   10083 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10084 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10085       fi
   10086       ;;
   10087 
   10088     solaris*)
   10089       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10090 	ld_shlibs=no
   10091 	cat <<_LT_EOF 1>&2
   10092 
   10093 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10094 *** create shared libraries on Solaris systems.  Therefore, libtool
   10095 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10096 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10097 *** your PATH or compiler configuration so that the native linker is
   10098 *** used, and then restart.
   10099 
   10100 _LT_EOF
   10101       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10102 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10103 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10104       else
   10105 	ld_shlibs=no
   10106       fi
   10107       ;;
   10108 
   10109     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10110       case `$LD -v 2>&1` in
   10111         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10112 	ld_shlibs=no
   10113 	cat <<_LT_EOF 1>&2
   10114 
   10115 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10116 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10117 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10118 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10119 *** your PATH or compiler configuration so that the native linker is
   10120 *** used, and then restart.
   10121 
   10122 _LT_EOF
   10123 	;;
   10124 	*)
   10125 	  # For security reasons, it is highly recommended that you always
   10126 	  # use absolute paths for naming shared libraries, and exclude the
   10127 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10128 	  # requires that you compile everything twice, which is a pain.
   10129 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10130 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10131 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10132 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10133 	  else
   10134 	    ld_shlibs=no
   10135 	  fi
   10136 	;;
   10137       esac
   10138       ;;
   10139 
   10140     sunos4*)
   10141       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10142       wlarc=
   10143       hardcode_direct=yes
   10144       hardcode_shlibpath_var=no
   10145       ;;
   10146 
   10147     *)
   10148       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10149 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10150 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10151       else
   10152 	ld_shlibs=no
   10153       fi
   10154       ;;
   10155     esac
   10156 
   10157     if test no = "$ld_shlibs"; then
   10158       runpath_var=
   10159       hardcode_libdir_flag_spec=
   10160       export_dynamic_flag_spec=
   10161       whole_archive_flag_spec=
   10162     fi
   10163   else
   10164     # PORTME fill in a description of your system's linker (not GNU ld)
   10165     case $host_os in
   10166     aix3*)
   10167       allow_undefined_flag=unsupported
   10168       always_export_symbols=yes
   10169       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'
   10170       # Note: this linker hardcodes the directories in LIBPATH if there
   10171       # are no directories specified by -L.
   10172       hardcode_minus_L=yes
   10173       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10174 	# Neither direct hardcoding nor static linking is supported with a
   10175 	# broken collect2.
   10176 	hardcode_direct=unsupported
   10177       fi
   10178       ;;
   10179 
   10180     aix[4-9]*)
   10181       if test ia64 = "$host_cpu"; then
   10182 	# On IA64, the linker does run time linking by default, so we don't
   10183 	# have to do anything special.
   10184 	aix_use_runtimelinking=no
   10185 	exp_sym_flag='-Bexport'
   10186 	no_entry_flag=
   10187       else
   10188 	# If we're using GNU nm, then we don't want the "-C" option.
   10189 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10190 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10191 	# weak defined symbols like other global defined symbols, whereas
   10192 	# GNU nm marks them as "W".
   10193 	# While the 'weak' keyword is ignored in the Export File, we need
   10194 	# it in the Import File for the 'aix-soname' feature, so we have
   10195 	# to replace the "-B" option with "-P" for AIX nm.
   10196 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10197 	  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'
   10198 	else
   10199 	  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'
   10200 	fi
   10201 	aix_use_runtimelinking=no
   10202 
   10203 	# Test if we are trying to use run time linking or normal
   10204 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10205 	# have runtime linking enabled, and use it for executables.
   10206 	# For shared libraries, we enable/disable runtime linking
   10207 	# depending on the kind of the shared library created -
   10208 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10209 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10210 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10211 	#            lib.a           static archive
   10212 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10213 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10214 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10215 	#            lib.a(lib.so.V) shared, rtl:no
   10216 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10217 	#            lib.a           static archive
   10218 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10219 	  for ld_flag in $LDFLAGS; do
   10220 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10221 	    aix_use_runtimelinking=yes
   10222 	    break
   10223 	  fi
   10224 	  done
   10225 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10226 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10227 	    # so we don't have lib.a shared libs to link our executables.
   10228 	    # We have to force runtime linking in this case.
   10229 	    aix_use_runtimelinking=yes
   10230 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10231 	  fi
   10232 	  ;;
   10233 	esac
   10234 
   10235 	exp_sym_flag='-bexport'
   10236 	no_entry_flag='-bnoentry'
   10237       fi
   10238 
   10239       # When large executables or shared objects are built, AIX ld can
   10240       # have problems creating the table of contents.  If linking a library
   10241       # or program results in "error TOC overflow" add -mminimal-toc to
   10242       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10243       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10244 
   10245       archive_cmds=''
   10246       hardcode_direct=yes
   10247       hardcode_direct_absolute=yes
   10248       hardcode_libdir_separator=':'
   10249       link_all_deplibs=yes
   10250       file_list_spec='$wl-f,'
   10251       case $with_aix_soname,$aix_use_runtimelinking in
   10252       aix,*) ;; # traditional, no import file
   10253       svr4,* | *,yes) # use import file
   10254 	# The Import File defines what to hardcode.
   10255 	hardcode_direct=no
   10256 	hardcode_direct_absolute=no
   10257 	;;
   10258       esac
   10259 
   10260       if test yes = "$GCC"; then
   10261 	case $host_os in aix4.[012]|aix4.[012].*)
   10262 	# We only want to do this on AIX 4.2 and lower, the check
   10263 	# below for broken collect2 doesn't work under 4.3+
   10264 	  collect2name=`$CC -print-prog-name=collect2`
   10265 	  if test -f "$collect2name" &&
   10266 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10267 	  then
   10268 	  # We have reworked collect2
   10269 	  :
   10270 	  else
   10271 	  # We have old collect2
   10272 	  hardcode_direct=unsupported
   10273 	  # It fails to find uninstalled libraries when the uninstalled
   10274 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10275 	  # to unsupported forces relinking
   10276 	  hardcode_minus_L=yes
   10277 	  hardcode_libdir_flag_spec='-L$libdir'
   10278 	  hardcode_libdir_separator=
   10279 	  fi
   10280 	  ;;
   10281 	esac
   10282 	shared_flag='-shared'
   10283 	if test yes = "$aix_use_runtimelinking"; then
   10284 	  shared_flag="$shared_flag "'$wl-G'
   10285 	fi
   10286 	# Need to ensure runtime linking is disabled for the traditional
   10287 	# shared library, or the linker may eventually find shared libraries
   10288 	# /with/ Import File - we do not want to mix them.
   10289 	shared_flag_aix='-shared'
   10290 	shared_flag_svr4='-shared $wl-G'
   10291       else
   10292 	# not using gcc
   10293 	if test ia64 = "$host_cpu"; then
   10294 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10295 	# chokes on -Wl,-G. The following line is correct:
   10296 	  shared_flag='-G'
   10297 	else
   10298 	  if test yes = "$aix_use_runtimelinking"; then
   10299 	    shared_flag='$wl-G'
   10300 	  else
   10301 	    shared_flag='$wl-bM:SRE'
   10302 	  fi
   10303 	  shared_flag_aix='$wl-bM:SRE'
   10304 	  shared_flag_svr4='$wl-G'
   10305 	fi
   10306       fi
   10307 
   10308       export_dynamic_flag_spec='$wl-bexpall'
   10309       # It seems that -bexpall does not export symbols beginning with
   10310       # underscore (_), so it is better to generate a list of symbols to export.
   10311       always_export_symbols=yes
   10312       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10313 	# Warning - without using the other runtime loading flags (-brtl),
   10314 	# -berok will link without error, but may produce a broken library.
   10315 	allow_undefined_flag='-berok'
   10316         # Determine the default libpath from the value encoded in an
   10317         # empty executable.
   10318         if test set = "${lt_cv_aix_libpath+set}"; then
   10319   aix_libpath=$lt_cv_aix_libpath
   10320 else
   10321   if ${lt_cv_aix_libpath_+:} false; then :
   10322   $as_echo_n "(cached) " >&6
   10323 else
   10324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10325 /* end confdefs.h.  */
   10326 
   10327 int
   10328 main ()
   10329 {
   10330 
   10331   ;
   10332   return 0;
   10333 }
   10334 _ACEOF
   10335 if ac_fn_c_try_link "$LINENO"; then :
   10336 
   10337   lt_aix_libpath_sed='
   10338       /Import File Strings/,/^$/ {
   10339 	  /^0/ {
   10340 	      s/^0  *\([^ ]*\) *$/\1/
   10341 	      p
   10342 	  }
   10343       }'
   10344   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10345   # Check for a 64-bit object if we didn't find anything.
   10346   if test -z "$lt_cv_aix_libpath_"; then
   10347     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10348   fi
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext \
   10351     conftest$ac_exeext conftest.$ac_ext
   10352   if test -z "$lt_cv_aix_libpath_"; then
   10353     lt_cv_aix_libpath_=/usr/lib:/lib
   10354   fi
   10355 
   10356 fi
   10357 
   10358   aix_libpath=$lt_cv_aix_libpath_
   10359 fi
   10360 
   10361         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10362         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
   10363       else
   10364 	if test ia64 = "$host_cpu"; then
   10365 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10366 	  allow_undefined_flag="-z nodefs"
   10367 	  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"
   10368 	else
   10369 	 # Determine the default libpath from the value encoded in an
   10370 	 # empty executable.
   10371 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10372   aix_libpath=$lt_cv_aix_libpath
   10373 else
   10374   if ${lt_cv_aix_libpath_+:} false; then :
   10375   $as_echo_n "(cached) " >&6
   10376 else
   10377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10378 /* end confdefs.h.  */
   10379 
   10380 int
   10381 main ()
   10382 {
   10383 
   10384   ;
   10385   return 0;
   10386 }
   10387 _ACEOF
   10388 if ac_fn_c_try_link "$LINENO"; then :
   10389 
   10390   lt_aix_libpath_sed='
   10391       /Import File Strings/,/^$/ {
   10392 	  /^0/ {
   10393 	      s/^0  *\([^ ]*\) *$/\1/
   10394 	      p
   10395 	  }
   10396       }'
   10397   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10398   # Check for a 64-bit object if we didn't find anything.
   10399   if test -z "$lt_cv_aix_libpath_"; then
   10400     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10401   fi
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext \
   10404     conftest$ac_exeext conftest.$ac_ext
   10405   if test -z "$lt_cv_aix_libpath_"; then
   10406     lt_cv_aix_libpath_=/usr/lib:/lib
   10407   fi
   10408 
   10409 fi
   10410 
   10411   aix_libpath=$lt_cv_aix_libpath_
   10412 fi
   10413 
   10414 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10415 	  # Warning - without using the other run time loading flags,
   10416 	  # -berok will link without error, but may produce a broken library.
   10417 	  no_undefined_flag=' $wl-bernotok'
   10418 	  allow_undefined_flag=' $wl-berok'
   10419 	  if test yes = "$with_gnu_ld"; then
   10420 	    # We only use this code for GNU lds that support --whole-archive.
   10421 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10422 	  else
   10423 	    # Exported symbols can be pulled into shared objects from archives
   10424 	    whole_archive_flag_spec='$convenience'
   10425 	  fi
   10426 	  archive_cmds_need_lc=yes
   10427 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10428 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10429 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10430 	  if test svr4 != "$with_aix_soname"; then
   10431 	    # This is similar to how AIX traditionally builds its shared libraries.
   10432 	    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'
   10433 	  fi
   10434 	  if test aix != "$with_aix_soname"; then
   10435 	    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'
   10436 	  else
   10437 	    # used by -dlpreopen to get the symbols
   10438 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10439 	  fi
   10440 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10441 	fi
   10442       fi
   10443       ;;
   10444 
   10445     amigaos*)
   10446       case $host_cpu in
   10447       powerpc)
   10448             # see comment about AmigaOS4 .so support
   10449             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10450             archive_expsym_cmds=''
   10451         ;;
   10452       m68k)
   10453             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)'
   10454             hardcode_libdir_flag_spec='-L$libdir'
   10455             hardcode_minus_L=yes
   10456         ;;
   10457       esac
   10458       ;;
   10459 
   10460     bsdi[45]*)
   10461       export_dynamic_flag_spec=-rdynamic
   10462       ;;
   10463 
   10464     cygwin* | mingw* | pw32* | cegcc*)
   10465       # When not using gcc, we currently assume that we are using
   10466       # Microsoft Visual C++.
   10467       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10468       # no search path for DLLs.
   10469       case $cc_basename in
   10470       cl*)
   10471 	# Native MSVC
   10472 	hardcode_libdir_flag_spec=' '
   10473 	allow_undefined_flag=unsupported
   10474 	always_export_symbols=yes
   10475 	file_list_spec='@'
   10476 	# Tell ltmain to make .lib files, not .a files.
   10477 	libext=lib
   10478 	# Tell ltmain to make .dll files, not .so files.
   10479 	shrext_cmds=.dll
   10480 	# FIXME: Setting linknames here is a bad hack.
   10481 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10482 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10483             cp "$export_symbols" "$output_objdir/$soname.def";
   10484             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10485           else
   10486             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10487           fi~
   10488           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10489           linknames='
   10490 	# The linker will not automatically build a static lib if we build a DLL.
   10491 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10492 	enable_shared_with_static_runtimes=yes
   10493 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10494 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10495 	# Don't use ranlib
   10496 	old_postinstall_cmds='chmod 644 $oldlib'
   10497 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10498           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10499           case $lt_outputfile in
   10500             *.exe|*.EXE) ;;
   10501             *)
   10502               lt_outputfile=$lt_outputfile.exe
   10503               lt_tool_outputfile=$lt_tool_outputfile.exe
   10504               ;;
   10505           esac~
   10506           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10507             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10508             $RM "$lt_outputfile.manifest";
   10509           fi'
   10510 	;;
   10511       *)
   10512 	# Assume MSVC wrapper
   10513 	hardcode_libdir_flag_spec=' '
   10514 	allow_undefined_flag=unsupported
   10515 	# Tell ltmain to make .lib files, not .a files.
   10516 	libext=lib
   10517 	# Tell ltmain to make .dll files, not .so files.
   10518 	shrext_cmds=.dll
   10519 	# FIXME: Setting linknames here is a bad hack.
   10520 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10521 	# The linker will automatically build a .lib file if we build a DLL.
   10522 	old_archive_from_new_cmds='true'
   10523 	# FIXME: Should let the user specify the lib program.
   10524 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10525 	enable_shared_with_static_runtimes=yes
   10526 	;;
   10527       esac
   10528       ;;
   10529 
   10530     darwin* | rhapsody*)
   10531 
   10532 
   10533   archive_cmds_need_lc=no
   10534   hardcode_direct=no
   10535   hardcode_automatic=yes
   10536   hardcode_shlibpath_var=unsupported
   10537   if test yes = "$lt_cv_ld_force_load"; then
   10538     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\"`'
   10539 
   10540   else
   10541     whole_archive_flag_spec=''
   10542   fi
   10543   link_all_deplibs=yes
   10544   allow_undefined_flag=$_lt_dar_allow_undefined
   10545   case $cc_basename in
   10546      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10547      *) _lt_dar_can_shared=$GCC ;;
   10548   esac
   10549   if test yes = "$_lt_dar_can_shared"; then
   10550     output_verbose_link_cmd=func_echo_all
   10551     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10552     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10553     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"
   10554     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"
   10555 
   10556   else
   10557   ld_shlibs=no
   10558   fi
   10559 
   10560       ;;
   10561 
   10562     dgux*)
   10563       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10564       hardcode_libdir_flag_spec='-L$libdir'
   10565       hardcode_shlibpath_var=no
   10566       ;;
   10567 
   10568     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10569     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10570     # does not break anything, and helps significantly (at the cost of a little
   10571     # extra space).
   10572     freebsd2.2*)
   10573       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10574       hardcode_libdir_flag_spec='-R$libdir'
   10575       hardcode_direct=yes
   10576       hardcode_shlibpath_var=no
   10577       ;;
   10578 
   10579     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10580     freebsd2.*)
   10581       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10582       hardcode_direct=yes
   10583       hardcode_minus_L=yes
   10584       hardcode_shlibpath_var=no
   10585       ;;
   10586 
   10587     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10588     freebsd* | dragonfly*)
   10589       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10590       hardcode_libdir_flag_spec='-R$libdir'
   10591       hardcode_direct=yes
   10592       hardcode_shlibpath_var=no
   10593       ;;
   10594 
   10595     hpux9*)
   10596       if test yes = "$GCC"; then
   10597 	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'
   10598       else
   10599 	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'
   10600       fi
   10601       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10602       hardcode_libdir_separator=:
   10603       hardcode_direct=yes
   10604 
   10605       # hardcode_minus_L: Not really in the search PATH,
   10606       # but as the default location of the library.
   10607       hardcode_minus_L=yes
   10608       export_dynamic_flag_spec='$wl-E'
   10609       ;;
   10610 
   10611     hpux10*)
   10612       if test yes,no = "$GCC,$with_gnu_ld"; then
   10613 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10614       else
   10615 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10616       fi
   10617       if test no = "$with_gnu_ld"; then
   10618 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10619 	hardcode_libdir_separator=:
   10620 	hardcode_direct=yes
   10621 	hardcode_direct_absolute=yes
   10622 	export_dynamic_flag_spec='$wl-E'
   10623 	# hardcode_minus_L: Not really in the search PATH,
   10624 	# but as the default location of the library.
   10625 	hardcode_minus_L=yes
   10626       fi
   10627       ;;
   10628 
   10629     hpux11*)
   10630       if test yes,no = "$GCC,$with_gnu_ld"; then
   10631 	case $host_cpu in
   10632 	hppa*64*)
   10633 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10634 	  ;;
   10635 	ia64*)
   10636 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10637 	  ;;
   10638 	*)
   10639 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10640 	  ;;
   10641 	esac
   10642       else
   10643 	case $host_cpu in
   10644 	hppa*64*)
   10645 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10646 	  ;;
   10647 	ia64*)
   10648 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10649 	  ;;
   10650 	*)
   10651 
   10652 	  # Older versions of the 11.00 compiler do not understand -b yet
   10653 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10654 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10655 $as_echo_n "checking if $CC understands -b... " >&6; }
   10656 if ${lt_cv_prog_compiler__b+:} false; then :
   10657   $as_echo_n "(cached) " >&6
   10658 else
   10659   lt_cv_prog_compiler__b=no
   10660    save_LDFLAGS=$LDFLAGS
   10661    LDFLAGS="$LDFLAGS -b"
   10662    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10663    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10664      # The linker can only warn and ignore the option if not recognized
   10665      # So say no if there are warnings
   10666      if test -s conftest.err; then
   10667        # Append any errors to the config.log.
   10668        cat conftest.err 1>&5
   10669        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10670        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10671        if diff conftest.exp conftest.er2 >/dev/null; then
   10672          lt_cv_prog_compiler__b=yes
   10673        fi
   10674      else
   10675        lt_cv_prog_compiler__b=yes
   10676      fi
   10677    fi
   10678    $RM -r conftest*
   10679    LDFLAGS=$save_LDFLAGS
   10680 
   10681 fi
   10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10683 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10684 
   10685 if test yes = "$lt_cv_prog_compiler__b"; then
   10686     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10687 else
   10688     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10689 fi
   10690 
   10691 	  ;;
   10692 	esac
   10693       fi
   10694       if test no = "$with_gnu_ld"; then
   10695 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10696 	hardcode_libdir_separator=:
   10697 
   10698 	case $host_cpu in
   10699 	hppa*64*|ia64*)
   10700 	  hardcode_direct=no
   10701 	  hardcode_shlibpath_var=no
   10702 	  ;;
   10703 	*)
   10704 	  hardcode_direct=yes
   10705 	  hardcode_direct_absolute=yes
   10706 	  export_dynamic_flag_spec='$wl-E'
   10707 
   10708 	  # hardcode_minus_L: Not really in the search PATH,
   10709 	  # but as the default location of the library.
   10710 	  hardcode_minus_L=yes
   10711 	  ;;
   10712 	esac
   10713       fi
   10714       ;;
   10715 
   10716     irix5* | irix6* | nonstopux*)
   10717       if test yes = "$GCC"; then
   10718 	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'
   10719 	# Try to use the -exported_symbol ld option, if it does not
   10720 	# work, assume that -exports_file does not work either and
   10721 	# implicitly export all symbols.
   10722 	# This should be the same for all languages, so no per-tag cache variable.
   10723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10724 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10725 if ${lt_cv_irix_exported_symbol+:} false; then :
   10726   $as_echo_n "(cached) " >&6
   10727 else
   10728   save_LDFLAGS=$LDFLAGS
   10729 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10730 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10731 /* end confdefs.h.  */
   10732 int foo (void) { return 0; }
   10733 _ACEOF
   10734 if ac_fn_c_try_link "$LINENO"; then :
   10735   lt_cv_irix_exported_symbol=yes
   10736 else
   10737   lt_cv_irix_exported_symbol=no
   10738 fi
   10739 rm -f core conftest.err conftest.$ac_objext \
   10740     conftest$ac_exeext conftest.$ac_ext
   10741            LDFLAGS=$save_LDFLAGS
   10742 fi
   10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10744 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10745 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10746           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'
   10747 	fi
   10748       else
   10749 	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'
   10750 	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'
   10751       fi
   10752       archive_cmds_need_lc='no'
   10753       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10754       hardcode_libdir_separator=:
   10755       inherit_rpath=yes
   10756       link_all_deplibs=yes
   10757       ;;
   10758 
   10759     linux*)
   10760       case $cc_basename in
   10761       tcc*)
   10762 	# Fabrice Bellard et al's Tiny C Compiler
   10763 	ld_shlibs=yes
   10764 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10765 	;;
   10766       esac
   10767       ;;
   10768 
   10769     netbsd*)
   10770       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10771 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10772       else
   10773 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10774       fi
   10775       hardcode_libdir_flag_spec='-R$libdir'
   10776       hardcode_direct=yes
   10777       hardcode_shlibpath_var=no
   10778       ;;
   10779 
   10780     newsos6)
   10781       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10782       hardcode_direct=yes
   10783       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10784       hardcode_libdir_separator=:
   10785       hardcode_shlibpath_var=no
   10786       ;;
   10787 
   10788     *nto* | *qnx*)
   10789       ;;
   10790 
   10791     openbsd* | bitrig*)
   10792       if test -f /usr/libexec/ld.so; then
   10793 	hardcode_direct=yes
   10794 	hardcode_shlibpath_var=no
   10795 	hardcode_direct_absolute=yes
   10796 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10797 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10798 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10799 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10800 	  export_dynamic_flag_spec='$wl-E'
   10801 	else
   10802 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10803 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10804 	fi
   10805       else
   10806 	ld_shlibs=no
   10807       fi
   10808       ;;
   10809 
   10810     os2*)
   10811       hardcode_libdir_flag_spec='-L$libdir'
   10812       hardcode_minus_L=yes
   10813       allow_undefined_flag=unsupported
   10814       shrext_cmds=.dll
   10815       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10816 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10817 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10818 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10819 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10820 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10821 	emximp -o $lib $output_objdir/$libname.def'
   10822       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10823 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10824 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10825 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10826 	prefix_cmds="$SED"~
   10827 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10828 	  prefix_cmds="$prefix_cmds -e 1d";
   10829 	fi~
   10830 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10831 	cat $export_symbols | $prefix_cmds >> $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       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10835       enable_shared_with_static_runtimes=yes
   10836       ;;
   10837 
   10838     osf3*)
   10839       if test yes = "$GCC"; then
   10840 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10841 	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'
   10842       else
   10843 	allow_undefined_flag=' -expect_unresolved \*'
   10844 	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'
   10845       fi
   10846       archive_cmds_need_lc='no'
   10847       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10848       hardcode_libdir_separator=:
   10849       ;;
   10850 
   10851     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10852       if test yes = "$GCC"; then
   10853 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10854 	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'
   10855 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10856       else
   10857 	allow_undefined_flag=' -expect_unresolved \*'
   10858 	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'
   10859 	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~
   10860           $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'
   10861 
   10862 	# Both c and cxx compiler support -rpath directly
   10863 	hardcode_libdir_flag_spec='-rpath $libdir'
   10864       fi
   10865       archive_cmds_need_lc='no'
   10866       hardcode_libdir_separator=:
   10867       ;;
   10868 
   10869     solaris*)
   10870       no_undefined_flag=' -z defs'
   10871       if test yes = "$GCC"; then
   10872 	wlarc='$wl'
   10873 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10874 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10875           $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'
   10876       else
   10877 	case `$CC -V 2>&1` in
   10878 	*"Compilers 5.0"*)
   10879 	  wlarc=''
   10880 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10881 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10882             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10883 	  ;;
   10884 	*)
   10885 	  wlarc='$wl'
   10886 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10887 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10888             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10889 	  ;;
   10890 	esac
   10891       fi
   10892       hardcode_libdir_flag_spec='-R$libdir'
   10893       hardcode_shlibpath_var=no
   10894       case $host_os in
   10895       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10896       *)
   10897 	# The compiler driver will combine and reorder linker options,
   10898 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10899 	# but is careful enough not to reorder.
   10900 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10901 	if test yes = "$GCC"; then
   10902 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10903 	else
   10904 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10905 	fi
   10906 	;;
   10907       esac
   10908       link_all_deplibs=yes
   10909       ;;
   10910 
   10911     sunos4*)
   10912       if test sequent = "$host_vendor"; then
   10913 	# Use $CC to link under sequent, because it throws in some extra .o
   10914 	# files that make .init and .fini sections work.
   10915 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10916       else
   10917 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10918       fi
   10919       hardcode_libdir_flag_spec='-L$libdir'
   10920       hardcode_direct=yes
   10921       hardcode_minus_L=yes
   10922       hardcode_shlibpath_var=no
   10923       ;;
   10924 
   10925     sysv4)
   10926       case $host_vendor in
   10927 	sni)
   10928 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10929 	  hardcode_direct=yes # is this really true???
   10930 	;;
   10931 	siemens)
   10932 	  ## LD is ld it makes a PLAMLIB
   10933 	  ## CC just makes a GrossModule.
   10934 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10935 	  reload_cmds='$CC -r -o $output$reload_objs'
   10936 	  hardcode_direct=no
   10937         ;;
   10938 	motorola)
   10939 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10940 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10941 	;;
   10942       esac
   10943       runpath_var='LD_RUN_PATH'
   10944       hardcode_shlibpath_var=no
   10945       ;;
   10946 
   10947     sysv4.3*)
   10948       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10949       hardcode_shlibpath_var=no
   10950       export_dynamic_flag_spec='-Bexport'
   10951       ;;
   10952 
   10953     sysv4*MP*)
   10954       if test -d /usr/nec; then
   10955 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10956 	hardcode_shlibpath_var=no
   10957 	runpath_var=LD_RUN_PATH
   10958 	hardcode_runpath_var=yes
   10959 	ld_shlibs=yes
   10960       fi
   10961       ;;
   10962 
   10963     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10964       no_undefined_flag='$wl-z,text'
   10965       archive_cmds_need_lc=no
   10966       hardcode_shlibpath_var=no
   10967       runpath_var='LD_RUN_PATH'
   10968 
   10969       if test yes = "$GCC"; then
   10970 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10971 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10972       else
   10973 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10974 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10975       fi
   10976       ;;
   10977 
   10978     sysv5* | sco3.2v5* | sco5v6*)
   10979       # Note: We CANNOT use -z defs as we might desire, because we do not
   10980       # link with -lc, and that would cause any symbols used from libc to
   10981       # always be unresolved, which means just about no library would
   10982       # ever link correctly.  If we're not using GNU ld we use -z text
   10983       # though, which does catch some bad symbols but isn't as heavy-handed
   10984       # as -z defs.
   10985       no_undefined_flag='$wl-z,text'
   10986       allow_undefined_flag='$wl-z,nodefs'
   10987       archive_cmds_need_lc=no
   10988       hardcode_shlibpath_var=no
   10989       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10990       hardcode_libdir_separator=':'
   10991       link_all_deplibs=yes
   10992       export_dynamic_flag_spec='$wl-Bexport'
   10993       runpath_var='LD_RUN_PATH'
   10994 
   10995       if test yes = "$GCC"; then
   10996 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10997 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10998       else
   10999 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11000 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11001       fi
   11002       ;;
   11003 
   11004     uts4*)
   11005       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11006       hardcode_libdir_flag_spec='-L$libdir'
   11007       hardcode_shlibpath_var=no
   11008       ;;
   11009 
   11010     *)
   11011       ld_shlibs=no
   11012       ;;
   11013     esac
   11014 
   11015     if test sni = "$host_vendor"; then
   11016       case $host in
   11017       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11018 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11019 	;;
   11020       esac
   11021     fi
   11022   fi
   11023 
   11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11025 $as_echo "$ld_shlibs" >&6; }
   11026 test no = "$ld_shlibs" && can_build_shared=no
   11027 
   11028 with_gnu_ld=$with_gnu_ld
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 #
   11045 # Do we need to explicitly link libc?
   11046 #
   11047 case "x$archive_cmds_need_lc" in
   11048 x|xyes)
   11049   # Assume -lc should be added
   11050   archive_cmds_need_lc=yes
   11051 
   11052   if test yes,yes = "$GCC,$enable_shared"; then
   11053     case $archive_cmds in
   11054     *'~'*)
   11055       # FIXME: we may have to deal with multi-command sequences.
   11056       ;;
   11057     '$CC '*)
   11058       # Test whether the compiler implicitly links with -lc since on some
   11059       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11060       # to ld, don't add -lc before -lgcc.
   11061       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11062 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11063 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11064   $as_echo_n "(cached) " >&6
   11065 else
   11066   $RM conftest*
   11067 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11068 
   11069 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11070   (eval $ac_compile) 2>&5
   11071   ac_status=$?
   11072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11073   test $ac_status = 0; } 2>conftest.err; then
   11074 	  soname=conftest
   11075 	  lib=conftest
   11076 	  libobjs=conftest.$ac_objext
   11077 	  deplibs=
   11078 	  wl=$lt_prog_compiler_wl
   11079 	  pic_flag=$lt_prog_compiler_pic
   11080 	  compiler_flags=-v
   11081 	  linker_flags=-v
   11082 	  verstring=
   11083 	  output_objdir=.
   11084 	  libname=conftest
   11085 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11086 	  allow_undefined_flag=
   11087 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11088   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11089   ac_status=$?
   11090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11091   test $ac_status = 0; }
   11092 	  then
   11093 	    lt_cv_archive_cmds_need_lc=no
   11094 	  else
   11095 	    lt_cv_archive_cmds_need_lc=yes
   11096 	  fi
   11097 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11098 	else
   11099 	  cat conftest.err 1>&5
   11100 	fi
   11101 	$RM conftest*
   11102 
   11103 fi
   11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11105 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11106       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11107       ;;
   11108     esac
   11109   fi
   11110   ;;
   11111 esac
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11265 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11266 
   11267 if test yes = "$GCC"; then
   11268   case $host_os in
   11269     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11270     *) lt_awk_arg='/^libraries:/' ;;
   11271   esac
   11272   case $host_os in
   11273     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11274     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11275   esac
   11276   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11277   case $lt_search_path_spec in
   11278   *\;*)
   11279     # if the path contains ";" then we assume it to be the separator
   11280     # otherwise default to the standard path separator (i.e. ":") - it is
   11281     # assumed that no part of a normal pathname contains ";" but that should
   11282     # okay in the real world where ";" in dirpaths is itself problematic.
   11283     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11284     ;;
   11285   *)
   11286     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11287     ;;
   11288   esac
   11289   # Ok, now we have the path, separated by spaces, we can step through it
   11290   # and add multilib dir if necessary...
   11291   lt_tmp_lt_search_path_spec=
   11292   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11293   # ...but if some path component already ends with the multilib dir we assume
   11294   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11295   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11296   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11297     lt_multi_os_dir=
   11298     ;;
   11299   esac
   11300   for lt_sys_path in $lt_search_path_spec; do
   11301     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11302       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11303     elif test -n "$lt_multi_os_dir"; then
   11304       test -d "$lt_sys_path" && \
   11305 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11306     fi
   11307   done
   11308   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11309 BEGIN {RS = " "; FS = "/|\n";} {
   11310   lt_foo = "";
   11311   lt_count = 0;
   11312   for (lt_i = NF; lt_i > 0; lt_i--) {
   11313     if ($lt_i != "" && $lt_i != ".") {
   11314       if ($lt_i == "..") {
   11315         lt_count++;
   11316       } else {
   11317         if (lt_count == 0) {
   11318           lt_foo = "/" $lt_i lt_foo;
   11319         } else {
   11320           lt_count--;
   11321         }
   11322       }
   11323     }
   11324   }
   11325   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11326   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11327 }'`
   11328   # AWK program above erroneously prepends '/' to C:/dos/paths
   11329   # for these hosts.
   11330   case $host_os in
   11331     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11332       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11333   esac
   11334   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11335 else
   11336   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11337 fi
   11338 library_names_spec=
   11339 libname_spec='lib$name'
   11340 soname_spec=
   11341 shrext_cmds=.so
   11342 postinstall_cmds=
   11343 postuninstall_cmds=
   11344 finish_cmds=
   11345 finish_eval=
   11346 shlibpath_var=
   11347 shlibpath_overrides_runpath=unknown
   11348 version_type=none
   11349 dynamic_linker="$host_os ld.so"
   11350 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11351 need_lib_prefix=unknown
   11352 hardcode_into_libs=no
   11353 
   11354 # when you set need_version to no, make sure it does not cause -set_version
   11355 # flags to be left without arguments
   11356 need_version=unknown
   11357 
   11358 
   11359 
   11360 case $host_os in
   11361 aix3*)
   11362   version_type=linux # correct to gnu/linux during the next big refactor
   11363   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11364   shlibpath_var=LIBPATH
   11365 
   11366   # AIX 3 has no versioning support, so we append a major version to the name.
   11367   soname_spec='$libname$release$shared_ext$major'
   11368   ;;
   11369 
   11370 aix[4-9]*)
   11371   version_type=linux # correct to gnu/linux during the next big refactor
   11372   need_lib_prefix=no
   11373   need_version=no
   11374   hardcode_into_libs=yes
   11375   if test ia64 = "$host_cpu"; then
   11376     # AIX 5 supports IA64
   11377     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11378     shlibpath_var=LD_LIBRARY_PATH
   11379   else
   11380     # With GCC up to 2.95.x, collect2 would create an import file
   11381     # for dependence libraries.  The import file would start with
   11382     # the line '#! .'.  This would cause the generated library to
   11383     # depend on '.', always an invalid library.  This was fixed in
   11384     # development snapshots of GCC prior to 3.0.
   11385     case $host_os in
   11386       aix4 | aix4.[01] | aix4.[01].*)
   11387       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11388 	   echo ' yes '
   11389 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11390 	:
   11391       else
   11392 	can_build_shared=no
   11393       fi
   11394       ;;
   11395     esac
   11396     # Using Import Files as archive members, it is possible to support
   11397     # filename-based versioning of shared library archives on AIX. While
   11398     # this would work for both with and without runtime linking, it will
   11399     # prevent static linking of such archives. So we do filename-based
   11400     # shared library versioning with .so extension only, which is used
   11401     # when both runtime linking and shared linking is enabled.
   11402     # Unfortunately, runtime linking may impact performance, so we do
   11403     # not want this to be the default eventually. Also, we use the
   11404     # versioned .so libs for executables only if there is the -brtl
   11405     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11406     # To allow for filename-based versioning support, we need to create
   11407     # libNAME.so.V as an archive file, containing:
   11408     # *) an Import File, referring to the versioned filename of the
   11409     #    archive as well as the shared archive member, telling the
   11410     #    bitwidth (32 or 64) of that shared object, and providing the
   11411     #    list of exported symbols of that shared object, eventually
   11412     #    decorated with the 'weak' keyword
   11413     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11414     #    it being seen by the linker.
   11415     # At run time we better use the real file rather than another symlink,
   11416     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11417 
   11418     case $with_aix_soname,$aix_use_runtimelinking in
   11419     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11420     # soname into executable. Probably we can add versioning support to
   11421     # collect2, so additional links can be useful in future.
   11422     aix,yes) # traditional libtool
   11423       dynamic_linker='AIX unversionable lib.so'
   11424       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11425       # instead of lib<name>.a to let people know that these are not
   11426       # typical AIX shared libraries.
   11427       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11428       ;;
   11429     aix,no) # traditional AIX only
   11430       dynamic_linker='AIX lib.a(lib.so.V)'
   11431       # We preserve .a as extension for shared libraries through AIX4.2
   11432       # and later when we are not doing run time linking.
   11433       library_names_spec='$libname$release.a $libname.a'
   11434       soname_spec='$libname$release$shared_ext$major'
   11435       ;;
   11436     svr4,*) # full svr4 only
   11437       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11438       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11439       # We do not specify a path in Import Files, so LIBPATH fires.
   11440       shlibpath_overrides_runpath=yes
   11441       ;;
   11442     *,yes) # both, prefer svr4
   11443       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11444       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11445       # unpreferred sharedlib libNAME.a needs extra handling
   11446       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"'
   11447       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"'
   11448       # We do not specify a path in Import Files, so LIBPATH fires.
   11449       shlibpath_overrides_runpath=yes
   11450       ;;
   11451     *,no) # both, prefer aix
   11452       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11453       library_names_spec='$libname$release.a $libname.a'
   11454       soname_spec='$libname$release$shared_ext$major'
   11455       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11456       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)'
   11457       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"'
   11458       ;;
   11459     esac
   11460     shlibpath_var=LIBPATH
   11461   fi
   11462   ;;
   11463 
   11464 amigaos*)
   11465   case $host_cpu in
   11466   powerpc)
   11467     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11468     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11469     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11470     ;;
   11471   m68k)
   11472     library_names_spec='$libname.ixlibrary $libname.a'
   11473     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11474     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'
   11475     ;;
   11476   esac
   11477   ;;
   11478 
   11479 beos*)
   11480   library_names_spec='$libname$shared_ext'
   11481   dynamic_linker="$host_os ld.so"
   11482   shlibpath_var=LIBRARY_PATH
   11483   ;;
   11484 
   11485 bsdi[45]*)
   11486   version_type=linux # correct to gnu/linux during the next big refactor
   11487   need_version=no
   11488   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11489   soname_spec='$libname$release$shared_ext$major'
   11490   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11491   shlibpath_var=LD_LIBRARY_PATH
   11492   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11493   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11494   # the default ld.so.conf also contains /usr/contrib/lib and
   11495   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11496   # libtool to hard-code these into programs
   11497   ;;
   11498 
   11499 cygwin* | mingw* | pw32* | cegcc*)
   11500   version_type=windows
   11501   shrext_cmds=.dll
   11502   need_version=no
   11503   need_lib_prefix=no
   11504 
   11505   case $GCC,$cc_basename in
   11506   yes,*)
   11507     # gcc
   11508     library_names_spec='$libname.dll.a'
   11509     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11510     postinstall_cmds='base_file=`basename \$file`~
   11511       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11512       dldir=$destdir/`dirname \$dlpath`~
   11513       test -d \$dldir || mkdir -p \$dldir~
   11514       $install_prog $dir/$dlname \$dldir/$dlname~
   11515       chmod a+x \$dldir/$dlname~
   11516       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11517         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11518       fi'
   11519     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11520       dlpath=$dir/\$dldll~
   11521        $RM \$dlpath'
   11522     shlibpath_overrides_runpath=yes
   11523 
   11524     case $host_os in
   11525     cygwin*)
   11526       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11527       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11528 
   11529       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11530       ;;
   11531     mingw* | cegcc*)
   11532       # MinGW DLLs use traditional 'lib' prefix
   11533       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11534       ;;
   11535     pw32*)
   11536       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11537       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11538       ;;
   11539     esac
   11540     dynamic_linker='Win32 ld.exe'
   11541     ;;
   11542 
   11543   *,cl*)
   11544     # Native MSVC
   11545     libname_spec='$name'
   11546     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11547     library_names_spec='$libname.dll.lib'
   11548 
   11549     case $build_os in
   11550     mingw*)
   11551       sys_lib_search_path_spec=
   11552       lt_save_ifs=$IFS
   11553       IFS=';'
   11554       for lt_path in $LIB
   11555       do
   11556         IFS=$lt_save_ifs
   11557         # Let DOS variable expansion print the short 8.3 style file name.
   11558         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11559         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11560       done
   11561       IFS=$lt_save_ifs
   11562       # Convert to MSYS style.
   11563       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11564       ;;
   11565     cygwin*)
   11566       # Convert to unix form, then to dos form, then back to unix form
   11567       # but this time dos style (no spaces!) so that the unix form looks
   11568       # like /cygdrive/c/PROGRA~1:/cygdr...
   11569       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11570       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11571       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11572       ;;
   11573     *)
   11574       sys_lib_search_path_spec=$LIB
   11575       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11576         # It is most probably a Windows format PATH.
   11577         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11578       else
   11579         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11580       fi
   11581       # FIXME: find the short name or the path components, as spaces are
   11582       # common. (e.g. "Program Files" -> "PROGRA~1")
   11583       ;;
   11584     esac
   11585 
   11586     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11587     postinstall_cmds='base_file=`basename \$file`~
   11588       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11589       dldir=$destdir/`dirname \$dlpath`~
   11590       test -d \$dldir || mkdir -p \$dldir~
   11591       $install_prog $dir/$dlname \$dldir/$dlname'
   11592     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11593       dlpath=$dir/\$dldll~
   11594        $RM \$dlpath'
   11595     shlibpath_overrides_runpath=yes
   11596     dynamic_linker='Win32 link.exe'
   11597     ;;
   11598 
   11599   *)
   11600     # Assume MSVC wrapper
   11601     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11602     dynamic_linker='Win32 ld.exe'
   11603     ;;
   11604   esac
   11605   # FIXME: first we should search . and the directory the executable is in
   11606   shlibpath_var=PATH
   11607   ;;
   11608 
   11609 darwin* | rhapsody*)
   11610   dynamic_linker="$host_os dyld"
   11611   version_type=darwin
   11612   need_lib_prefix=no
   11613   need_version=no
   11614   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11615   soname_spec='$libname$release$major$shared_ext'
   11616   shlibpath_overrides_runpath=yes
   11617   shlibpath_var=DYLD_LIBRARY_PATH
   11618   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11619 
   11620   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11621   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11622   ;;
   11623 
   11624 dgux*)
   11625   version_type=linux # correct to gnu/linux during the next big refactor
   11626   need_lib_prefix=no
   11627   need_version=no
   11628   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11629   soname_spec='$libname$release$shared_ext$major'
   11630   shlibpath_var=LD_LIBRARY_PATH
   11631   ;;
   11632 
   11633 freebsd* | dragonfly*)
   11634   # DragonFly does not have aout.  When/if they implement a new
   11635   # versioning mechanism, adjust this.
   11636   if test -x /usr/bin/objformat; then
   11637     objformat=`/usr/bin/objformat`
   11638   else
   11639     case $host_os in
   11640     freebsd[23].*) objformat=aout ;;
   11641     *) objformat=elf ;;
   11642     esac
   11643   fi
   11644   version_type=freebsd-$objformat
   11645   case $version_type in
   11646     freebsd-elf*)
   11647       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11648       soname_spec='$libname$release$shared_ext$major'
   11649       need_version=no
   11650       need_lib_prefix=no
   11651       ;;
   11652     freebsd-*)
   11653       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11654       need_version=yes
   11655       ;;
   11656   esac
   11657   shlibpath_var=LD_LIBRARY_PATH
   11658   case $host_os in
   11659   freebsd2.*)
   11660     shlibpath_overrides_runpath=yes
   11661     ;;
   11662   freebsd3.[01]* | freebsdelf3.[01]*)
   11663     shlibpath_overrides_runpath=yes
   11664     hardcode_into_libs=yes
   11665     ;;
   11666   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11667   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11668     shlibpath_overrides_runpath=no
   11669     hardcode_into_libs=yes
   11670     ;;
   11671   *) # from 4.6 on, and DragonFly
   11672     shlibpath_overrides_runpath=yes
   11673     hardcode_into_libs=yes
   11674     ;;
   11675   esac
   11676   ;;
   11677 
   11678 haiku*)
   11679   version_type=linux # correct to gnu/linux during the next big refactor
   11680   need_lib_prefix=no
   11681   need_version=no
   11682   dynamic_linker="$host_os runtime_loader"
   11683   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11684   soname_spec='$libname$release$shared_ext$major'
   11685   shlibpath_var=LIBRARY_PATH
   11686   shlibpath_overrides_runpath=no
   11687   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11688   hardcode_into_libs=yes
   11689   ;;
   11690 
   11691 hpux9* | hpux10* | hpux11*)
   11692   # Give a soname corresponding to the major version so that dld.sl refuses to
   11693   # link against other versions.
   11694   version_type=sunos
   11695   need_lib_prefix=no
   11696   need_version=no
   11697   case $host_cpu in
   11698   ia64*)
   11699     shrext_cmds='.so'
   11700     hardcode_into_libs=yes
   11701     dynamic_linker="$host_os dld.so"
   11702     shlibpath_var=LD_LIBRARY_PATH
   11703     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11704     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11705     soname_spec='$libname$release$shared_ext$major'
   11706     if test 32 = "$HPUX_IA64_MODE"; then
   11707       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11708       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11709     else
   11710       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11711       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11712     fi
   11713     ;;
   11714   hppa*64*)
   11715     shrext_cmds='.sl'
   11716     hardcode_into_libs=yes
   11717     dynamic_linker="$host_os dld.sl"
   11718     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11719     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11720     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11721     soname_spec='$libname$release$shared_ext$major'
   11722     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11723     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11724     ;;
   11725   *)
   11726     shrext_cmds='.sl'
   11727     dynamic_linker="$host_os dld.sl"
   11728     shlibpath_var=SHLIB_PATH
   11729     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11730     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11731     soname_spec='$libname$release$shared_ext$major'
   11732     ;;
   11733   esac
   11734   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11735   postinstall_cmds='chmod 555 $lib'
   11736   # or fails outright, so override atomically:
   11737   install_override_mode=555
   11738   ;;
   11739 
   11740 interix[3-9]*)
   11741   version_type=linux # correct to gnu/linux during the next big refactor
   11742   need_lib_prefix=no
   11743   need_version=no
   11744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11745   soname_spec='$libname$release$shared_ext$major'
   11746   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11747   shlibpath_var=LD_LIBRARY_PATH
   11748   shlibpath_overrides_runpath=no
   11749   hardcode_into_libs=yes
   11750   ;;
   11751 
   11752 irix5* | irix6* | nonstopux*)
   11753   case $host_os in
   11754     nonstopux*) version_type=nonstopux ;;
   11755     *)
   11756 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11757 		version_type=linux # correct to gnu/linux during the next big refactor
   11758 	else
   11759 		version_type=irix
   11760 	fi ;;
   11761   esac
   11762   need_lib_prefix=no
   11763   need_version=no
   11764   soname_spec='$libname$release$shared_ext$major'
   11765   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11766   case $host_os in
   11767   irix5* | nonstopux*)
   11768     libsuff= shlibsuff=
   11769     ;;
   11770   *)
   11771     case $LD in # libtool.m4 will add one of these switches to LD
   11772     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11773       libsuff= shlibsuff= libmagic=32-bit;;
   11774     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11775       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11776     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11777       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11778     *) libsuff= shlibsuff= libmagic=never-match;;
   11779     esac
   11780     ;;
   11781   esac
   11782   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11783   shlibpath_overrides_runpath=no
   11784   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11785   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11786   hardcode_into_libs=yes
   11787   ;;
   11788 
   11789 # No shared lib support for Linux oldld, aout, or coff.
   11790 linux*oldld* | linux*aout* | linux*coff*)
   11791   dynamic_linker=no
   11792   ;;
   11793 
   11794 linux*android*)
   11795   version_type=none # Android doesn't support versioned libraries.
   11796   need_lib_prefix=no
   11797   need_version=no
   11798   library_names_spec='$libname$release$shared_ext'
   11799   soname_spec='$libname$release$shared_ext'
   11800   finish_cmds=
   11801   shlibpath_var=LD_LIBRARY_PATH
   11802   shlibpath_overrides_runpath=yes
   11803 
   11804   # This implies no fast_install, which is unacceptable.
   11805   # Some rework will be needed to allow for fast_install
   11806   # before this can be enabled.
   11807   hardcode_into_libs=yes
   11808 
   11809   dynamic_linker='Android linker'
   11810   # Don't embed -rpath directories since the linker doesn't support them.
   11811   hardcode_libdir_flag_spec='-L$libdir'
   11812   ;;
   11813 
   11814 # This must be glibc/ELF.
   11815 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11816   version_type=linux # correct to gnu/linux during the next big refactor
   11817   need_lib_prefix=no
   11818   need_version=no
   11819   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11820   soname_spec='$libname$release$shared_ext$major'
   11821   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11822   shlibpath_var=LD_LIBRARY_PATH
   11823   shlibpath_overrides_runpath=no
   11824 
   11825   # Some binutils ld are patched to set DT_RUNPATH
   11826   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11827   $as_echo_n "(cached) " >&6
   11828 else
   11829   lt_cv_shlibpath_overrides_runpath=no
   11830     save_LDFLAGS=$LDFLAGS
   11831     save_libdir=$libdir
   11832     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11833 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11834     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11835 /* end confdefs.h.  */
   11836 
   11837 int
   11838 main ()
   11839 {
   11840 
   11841   ;
   11842   return 0;
   11843 }
   11844 _ACEOF
   11845 if ac_fn_c_try_link "$LINENO"; then :
   11846   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11847   lt_cv_shlibpath_overrides_runpath=yes
   11848 fi
   11849 fi
   11850 rm -f core conftest.err conftest.$ac_objext \
   11851     conftest$ac_exeext conftest.$ac_ext
   11852     LDFLAGS=$save_LDFLAGS
   11853     libdir=$save_libdir
   11854 
   11855 fi
   11856 
   11857   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11858 
   11859   # This implies no fast_install, which is unacceptable.
   11860   # Some rework will be needed to allow for fast_install
   11861   # before this can be enabled.
   11862   hardcode_into_libs=yes
   11863 
   11864   # Add ABI-specific directories to the system library path.
   11865   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11866 
   11867   # Ideally, we could use ldconfig to report *all* directores which are
   11868   # searched for libraries, however this is still not possible.  Aside from not
   11869   # being certain /sbin/ldconfig is available, command
   11870   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11871   # even though it is searched at run-time.  Try to do the best guess by
   11872   # appending ld.so.conf contents (and includes) to the search path.
   11873   if test -f /etc/ld.so.conf; then
   11874     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' ' '`
   11875     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11876   fi
   11877 
   11878   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11879   # powerpc, because MkLinux only supported shared libraries with the
   11880   # GNU dynamic linker.  Since this was broken with cross compilers,
   11881   # most powerpc-linux boxes support dynamic linking these days and
   11882   # people can always --disable-shared, the test was removed, and we
   11883   # assume the GNU/Linux dynamic linker is in use.
   11884   dynamic_linker='GNU/Linux ld.so'
   11885   ;;
   11886 
   11887 netbsd*)
   11888   version_type=sunos
   11889   need_lib_prefix=no
   11890   need_version=no
   11891   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11892     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11893     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11894     dynamic_linker='NetBSD (a.out) ld.so'
   11895   else
   11896     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11897     soname_spec='$libname$release$shared_ext$major'
   11898     dynamic_linker='NetBSD ld.elf_so'
   11899   fi
   11900   shlibpath_var=LD_LIBRARY_PATH
   11901   shlibpath_overrides_runpath=yes
   11902   hardcode_into_libs=yes
   11903   ;;
   11904 
   11905 newsos6)
   11906   version_type=linux # correct to gnu/linux during the next big refactor
   11907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11908   shlibpath_var=LD_LIBRARY_PATH
   11909   shlibpath_overrides_runpath=yes
   11910   ;;
   11911 
   11912 *nto* | *qnx*)
   11913   version_type=qnx
   11914   need_lib_prefix=no
   11915   need_version=no
   11916   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11917   soname_spec='$libname$release$shared_ext$major'
   11918   shlibpath_var=LD_LIBRARY_PATH
   11919   shlibpath_overrides_runpath=no
   11920   hardcode_into_libs=yes
   11921   dynamic_linker='ldqnx.so'
   11922   ;;
   11923 
   11924 openbsd* | bitrig*)
   11925   version_type=sunos
   11926   sys_lib_dlsearch_path_spec=/usr/lib
   11927   need_lib_prefix=no
   11928   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11929     need_version=no
   11930   else
   11931     need_version=yes
   11932   fi
   11933   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11934   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11935   shlibpath_var=LD_LIBRARY_PATH
   11936   shlibpath_overrides_runpath=yes
   11937   ;;
   11938 
   11939 os2*)
   11940   libname_spec='$name'
   11941   version_type=windows
   11942   shrext_cmds=.dll
   11943   need_version=no
   11944   need_lib_prefix=no
   11945   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11946   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11947     v=$($ECHO $release$versuffix | tr -d .-);
   11948     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11949     $ECHO $n$v`$shared_ext'
   11950   library_names_spec='${libname}_dll.$libext'
   11951   dynamic_linker='OS/2 ld.exe'
   11952   shlibpath_var=BEGINLIBPATH
   11953   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11954   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11955   postinstall_cmds='base_file=`basename \$file`~
   11956     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11957     dldir=$destdir/`dirname \$dlpath`~
   11958     test -d \$dldir || mkdir -p \$dldir~
   11959     $install_prog $dir/$dlname \$dldir/$dlname~
   11960     chmod a+x \$dldir/$dlname~
   11961     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11962       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11963     fi'
   11964   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11965     dlpath=$dir/\$dldll~
   11966     $RM \$dlpath'
   11967   ;;
   11968 
   11969 osf3* | osf4* | osf5*)
   11970   version_type=osf
   11971   need_lib_prefix=no
   11972   need_version=no
   11973   soname_spec='$libname$release$shared_ext$major'
   11974   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11975   shlibpath_var=LD_LIBRARY_PATH
   11976   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11977   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11978   ;;
   11979 
   11980 rdos*)
   11981   dynamic_linker=no
   11982   ;;
   11983 
   11984 solaris*)
   11985   version_type=linux # correct to gnu/linux during the next big refactor
   11986   need_lib_prefix=no
   11987   need_version=no
   11988   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11989   soname_spec='$libname$release$shared_ext$major'
   11990   shlibpath_var=LD_LIBRARY_PATH
   11991   shlibpath_overrides_runpath=yes
   11992   hardcode_into_libs=yes
   11993   # ldd complains unless libraries are executable
   11994   postinstall_cmds='chmod +x $lib'
   11995   ;;
   11996 
   11997 sunos4*)
   11998   version_type=sunos
   11999   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12000   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12001   shlibpath_var=LD_LIBRARY_PATH
   12002   shlibpath_overrides_runpath=yes
   12003   if test yes = "$with_gnu_ld"; then
   12004     need_lib_prefix=no
   12005   fi
   12006   need_version=yes
   12007   ;;
   12008 
   12009 sysv4 | sysv4.3*)
   12010   version_type=linux # correct to gnu/linux during the next big refactor
   12011   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12012   soname_spec='$libname$release$shared_ext$major'
   12013   shlibpath_var=LD_LIBRARY_PATH
   12014   case $host_vendor in
   12015     sni)
   12016       shlibpath_overrides_runpath=no
   12017       need_lib_prefix=no
   12018       runpath_var=LD_RUN_PATH
   12019       ;;
   12020     siemens)
   12021       need_lib_prefix=no
   12022       ;;
   12023     motorola)
   12024       need_lib_prefix=no
   12025       need_version=no
   12026       shlibpath_overrides_runpath=no
   12027       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12028       ;;
   12029   esac
   12030   ;;
   12031 
   12032 sysv4*MP*)
   12033   if test -d /usr/nec; then
   12034     version_type=linux # correct to gnu/linux during the next big refactor
   12035     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12036     soname_spec='$libname$shared_ext.$major'
   12037     shlibpath_var=LD_LIBRARY_PATH
   12038   fi
   12039   ;;
   12040 
   12041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12042   version_type=sco
   12043   need_lib_prefix=no
   12044   need_version=no
   12045   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12046   soname_spec='$libname$release$shared_ext$major'
   12047   shlibpath_var=LD_LIBRARY_PATH
   12048   shlibpath_overrides_runpath=yes
   12049   hardcode_into_libs=yes
   12050   if test yes = "$with_gnu_ld"; then
   12051     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12052   else
   12053     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12054     case $host_os in
   12055       sco3.2v5*)
   12056         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12057 	;;
   12058     esac
   12059   fi
   12060   sys_lib_dlsearch_path_spec='/usr/lib'
   12061   ;;
   12062 
   12063 tpf*)
   12064   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12065   version_type=linux # correct to gnu/linux during the next big refactor
   12066   need_lib_prefix=no
   12067   need_version=no
   12068   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12069   shlibpath_var=LD_LIBRARY_PATH
   12070   shlibpath_overrides_runpath=no
   12071   hardcode_into_libs=yes
   12072   ;;
   12073 
   12074 uts4*)
   12075   version_type=linux # correct to gnu/linux during the next big refactor
   12076   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12077   soname_spec='$libname$release$shared_ext$major'
   12078   shlibpath_var=LD_LIBRARY_PATH
   12079   ;;
   12080 
   12081 *)
   12082   dynamic_linker=no
   12083   ;;
   12084 esac
   12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12086 $as_echo "$dynamic_linker" >&6; }
   12087 test no = "$dynamic_linker" && can_build_shared=no
   12088 
   12089 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12090 if test yes = "$GCC"; then
   12091   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12092 fi
   12093 
   12094 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12095   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12096 fi
   12097 
   12098 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12099   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12100 fi
   12101 
   12102 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12103 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12104 
   12105 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12106 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12107 
   12108 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12109 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12208 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12209 hardcode_action=
   12210 if test -n "$hardcode_libdir_flag_spec" ||
   12211    test -n "$runpath_var" ||
   12212    test yes = "$hardcode_automatic"; then
   12213 
   12214   # We can hardcode non-existent directories.
   12215   if test no != "$hardcode_direct" &&
   12216      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12217      # have to relink, otherwise we might link with an installed library
   12218      # when we should be linking with a yet-to-be-installed one
   12219      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12220      test no != "$hardcode_minus_L"; then
   12221     # Linking always hardcodes the temporary library directory.
   12222     hardcode_action=relink
   12223   else
   12224     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12225     hardcode_action=immediate
   12226   fi
   12227 else
   12228   # We cannot hardcode anything, or else we can only hardcode existing
   12229   # directories.
   12230   hardcode_action=unsupported
   12231 fi
   12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12233 $as_echo "$hardcode_action" >&6; }
   12234 
   12235 if test relink = "$hardcode_action" ||
   12236    test yes = "$inherit_rpath"; then
   12237   # Fast installation is not supported
   12238   enable_fast_install=no
   12239 elif test yes = "$shlibpath_overrides_runpath" ||
   12240      test no = "$enable_shared"; then
   12241   # Fast installation is not necessary
   12242   enable_fast_install=needless
   12243 fi
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250   if test yes != "$enable_dlopen"; then
   12251   enable_dlopen=unknown
   12252   enable_dlopen_self=unknown
   12253   enable_dlopen_self_static=unknown
   12254 else
   12255   lt_cv_dlopen=no
   12256   lt_cv_dlopen_libs=
   12257 
   12258   case $host_os in
   12259   beos*)
   12260     lt_cv_dlopen=load_add_on
   12261     lt_cv_dlopen_libs=
   12262     lt_cv_dlopen_self=yes
   12263     ;;
   12264 
   12265   mingw* | pw32* | cegcc*)
   12266     lt_cv_dlopen=LoadLibrary
   12267     lt_cv_dlopen_libs=
   12268     ;;
   12269 
   12270   cygwin*)
   12271     lt_cv_dlopen=dlopen
   12272     lt_cv_dlopen_libs=
   12273     ;;
   12274 
   12275   darwin*)
   12276     # if libdl is installed we need to link against it
   12277     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12278 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12279 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12280   $as_echo_n "(cached) " >&6
   12281 else
   12282   ac_check_lib_save_LIBS=$LIBS
   12283 LIBS="-ldl  $LIBS"
   12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12285 /* end confdefs.h.  */
   12286 
   12287 /* Override any GCC internal prototype to avoid an error.
   12288    Use char because int might match the return type of a GCC
   12289    builtin and then its argument prototype would still apply.  */
   12290 #ifdef __cplusplus
   12291 extern "C"
   12292 #endif
   12293 char dlopen ();
   12294 int
   12295 main ()
   12296 {
   12297 return dlopen ();
   12298   ;
   12299   return 0;
   12300 }
   12301 _ACEOF
   12302 if ac_fn_c_try_link "$LINENO"; then :
   12303   ac_cv_lib_dl_dlopen=yes
   12304 else
   12305   ac_cv_lib_dl_dlopen=no
   12306 fi
   12307 rm -f core conftest.err conftest.$ac_objext \
   12308     conftest$ac_exeext conftest.$ac_ext
   12309 LIBS=$ac_check_lib_save_LIBS
   12310 fi
   12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12312 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12313 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12314   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12315 else
   12316 
   12317     lt_cv_dlopen=dyld
   12318     lt_cv_dlopen_libs=
   12319     lt_cv_dlopen_self=yes
   12320 
   12321 fi
   12322 
   12323     ;;
   12324 
   12325   tpf*)
   12326     # Don't try to run any link tests for TPF.  We know it's impossible
   12327     # because TPF is a cross-compiler, and we know how we open DSOs.
   12328     lt_cv_dlopen=dlopen
   12329     lt_cv_dlopen_libs=
   12330     lt_cv_dlopen_self=no
   12331     ;;
   12332 
   12333   *)
   12334     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12335 if test "x$ac_cv_func_shl_load" = xyes; then :
   12336   lt_cv_dlopen=shl_load
   12337 else
   12338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12339 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12340 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12341   $as_echo_n "(cached) " >&6
   12342 else
   12343   ac_check_lib_save_LIBS=$LIBS
   12344 LIBS="-ldld  $LIBS"
   12345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12346 /* end confdefs.h.  */
   12347 
   12348 /* Override any GCC internal prototype to avoid an error.
   12349    Use char because int might match the return type of a GCC
   12350    builtin and then its argument prototype would still apply.  */
   12351 #ifdef __cplusplus
   12352 extern "C"
   12353 #endif
   12354 char shl_load ();
   12355 int
   12356 main ()
   12357 {
   12358 return shl_load ();
   12359   ;
   12360   return 0;
   12361 }
   12362 _ACEOF
   12363 if ac_fn_c_try_link "$LINENO"; then :
   12364   ac_cv_lib_dld_shl_load=yes
   12365 else
   12366   ac_cv_lib_dld_shl_load=no
   12367 fi
   12368 rm -f core conftest.err conftest.$ac_objext \
   12369     conftest$ac_exeext conftest.$ac_ext
   12370 LIBS=$ac_check_lib_save_LIBS
   12371 fi
   12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12373 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12374 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12375   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12376 else
   12377   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12378 if test "x$ac_cv_func_dlopen" = xyes; then :
   12379   lt_cv_dlopen=dlopen
   12380 else
   12381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12382 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12383 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12384   $as_echo_n "(cached) " >&6
   12385 else
   12386   ac_check_lib_save_LIBS=$LIBS
   12387 LIBS="-ldl  $LIBS"
   12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12389 /* end confdefs.h.  */
   12390 
   12391 /* Override any GCC internal prototype to avoid an error.
   12392    Use char because int might match the return type of a GCC
   12393    builtin and then its argument prototype would still apply.  */
   12394 #ifdef __cplusplus
   12395 extern "C"
   12396 #endif
   12397 char dlopen ();
   12398 int
   12399 main ()
   12400 {
   12401 return dlopen ();
   12402   ;
   12403   return 0;
   12404 }
   12405 _ACEOF
   12406 if ac_fn_c_try_link "$LINENO"; then :
   12407   ac_cv_lib_dl_dlopen=yes
   12408 else
   12409   ac_cv_lib_dl_dlopen=no
   12410 fi
   12411 rm -f core conftest.err conftest.$ac_objext \
   12412     conftest$ac_exeext conftest.$ac_ext
   12413 LIBS=$ac_check_lib_save_LIBS
   12414 fi
   12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12416 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12417 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12418   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12419 else
   12420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12421 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12422 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12423   $as_echo_n "(cached) " >&6
   12424 else
   12425   ac_check_lib_save_LIBS=$LIBS
   12426 LIBS="-lsvld  $LIBS"
   12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12428 /* end confdefs.h.  */
   12429 
   12430 /* Override any GCC internal prototype to avoid an error.
   12431    Use char because int might match the return type of a GCC
   12432    builtin and then its argument prototype would still apply.  */
   12433 #ifdef __cplusplus
   12434 extern "C"
   12435 #endif
   12436 char dlopen ();
   12437 int
   12438 main ()
   12439 {
   12440 return dlopen ();
   12441   ;
   12442   return 0;
   12443 }
   12444 _ACEOF
   12445 if ac_fn_c_try_link "$LINENO"; then :
   12446   ac_cv_lib_svld_dlopen=yes
   12447 else
   12448   ac_cv_lib_svld_dlopen=no
   12449 fi
   12450 rm -f core conftest.err conftest.$ac_objext \
   12451     conftest$ac_exeext conftest.$ac_ext
   12452 LIBS=$ac_check_lib_save_LIBS
   12453 fi
   12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12455 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12456 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12457   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12458 else
   12459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12460 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12461 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12462   $as_echo_n "(cached) " >&6
   12463 else
   12464   ac_check_lib_save_LIBS=$LIBS
   12465 LIBS="-ldld  $LIBS"
   12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12467 /* end confdefs.h.  */
   12468 
   12469 /* Override any GCC internal prototype to avoid an error.
   12470    Use char because int might match the return type of a GCC
   12471    builtin and then its argument prototype would still apply.  */
   12472 #ifdef __cplusplus
   12473 extern "C"
   12474 #endif
   12475 char dld_link ();
   12476 int
   12477 main ()
   12478 {
   12479 return dld_link ();
   12480   ;
   12481   return 0;
   12482 }
   12483 _ACEOF
   12484 if ac_fn_c_try_link "$LINENO"; then :
   12485   ac_cv_lib_dld_dld_link=yes
   12486 else
   12487   ac_cv_lib_dld_dld_link=no
   12488 fi
   12489 rm -f core conftest.err conftest.$ac_objext \
   12490     conftest$ac_exeext conftest.$ac_ext
   12491 LIBS=$ac_check_lib_save_LIBS
   12492 fi
   12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12494 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12495 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12496   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12497 fi
   12498 
   12499 
   12500 fi
   12501 
   12502 
   12503 fi
   12504 
   12505 
   12506 fi
   12507 
   12508 
   12509 fi
   12510 
   12511 
   12512 fi
   12513 
   12514     ;;
   12515   esac
   12516 
   12517   if test no = "$lt_cv_dlopen"; then
   12518     enable_dlopen=no
   12519   else
   12520     enable_dlopen=yes
   12521   fi
   12522 
   12523   case $lt_cv_dlopen in
   12524   dlopen)
   12525     save_CPPFLAGS=$CPPFLAGS
   12526     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12527 
   12528     save_LDFLAGS=$LDFLAGS
   12529     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12530 
   12531     save_LIBS=$LIBS
   12532     LIBS="$lt_cv_dlopen_libs $LIBS"
   12533 
   12534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12535 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12536 if ${lt_cv_dlopen_self+:} false; then :
   12537   $as_echo_n "(cached) " >&6
   12538 else
   12539   	  if test yes = "$cross_compiling"; then :
   12540   lt_cv_dlopen_self=cross
   12541 else
   12542   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12543   lt_status=$lt_dlunknown
   12544   cat > conftest.$ac_ext <<_LT_EOF
   12545 #line $LINENO "configure"
   12546 #include "confdefs.h"
   12547 
   12548 #if HAVE_DLFCN_H
   12549 #include <dlfcn.h>
   12550 #endif
   12551 
   12552 #include <stdio.h>
   12553 
   12554 #ifdef RTLD_GLOBAL
   12555 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12556 #else
   12557 #  ifdef DL_GLOBAL
   12558 #    define LT_DLGLOBAL		DL_GLOBAL
   12559 #  else
   12560 #    define LT_DLGLOBAL		0
   12561 #  endif
   12562 #endif
   12563 
   12564 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12565    find out it does not work in some platform. */
   12566 #ifndef LT_DLLAZY_OR_NOW
   12567 #  ifdef RTLD_LAZY
   12568 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12569 #  else
   12570 #    ifdef DL_LAZY
   12571 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12572 #    else
   12573 #      ifdef RTLD_NOW
   12574 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12575 #      else
   12576 #        ifdef DL_NOW
   12577 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12578 #        else
   12579 #          define LT_DLLAZY_OR_NOW	0
   12580 #        endif
   12581 #      endif
   12582 #    endif
   12583 #  endif
   12584 #endif
   12585 
   12586 /* When -fvisibility=hidden is used, assume the code has been annotated
   12587    correspondingly for the symbols needed.  */
   12588 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12589 int fnord () __attribute__((visibility("default")));
   12590 #endif
   12591 
   12592 int fnord () { return 42; }
   12593 int main ()
   12594 {
   12595   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12596   int status = $lt_dlunknown;
   12597 
   12598   if (self)
   12599     {
   12600       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12601       else
   12602         {
   12603 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12604           else puts (dlerror ());
   12605 	}
   12606       /* dlclose (self); */
   12607     }
   12608   else
   12609     puts (dlerror ());
   12610 
   12611   return status;
   12612 }
   12613 _LT_EOF
   12614   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12615   (eval $ac_link) 2>&5
   12616   ac_status=$?
   12617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12618   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12619     (./conftest; exit; ) >&5 2>/dev/null
   12620     lt_status=$?
   12621     case x$lt_status in
   12622       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12623       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12624       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12625     esac
   12626   else :
   12627     # compilation failed
   12628     lt_cv_dlopen_self=no
   12629   fi
   12630 fi
   12631 rm -fr conftest*
   12632 
   12633 
   12634 fi
   12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12636 $as_echo "$lt_cv_dlopen_self" >&6; }
   12637 
   12638     if test yes = "$lt_cv_dlopen_self"; then
   12639       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12640       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12641 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12642 if ${lt_cv_dlopen_self_static+:} false; then :
   12643   $as_echo_n "(cached) " >&6
   12644 else
   12645   	  if test yes = "$cross_compiling"; then :
   12646   lt_cv_dlopen_self_static=cross
   12647 else
   12648   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12649   lt_status=$lt_dlunknown
   12650   cat > conftest.$ac_ext <<_LT_EOF
   12651 #line $LINENO "configure"
   12652 #include "confdefs.h"
   12653 
   12654 #if HAVE_DLFCN_H
   12655 #include <dlfcn.h>
   12656 #endif
   12657 
   12658 #include <stdio.h>
   12659 
   12660 #ifdef RTLD_GLOBAL
   12661 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12662 #else
   12663 #  ifdef DL_GLOBAL
   12664 #    define LT_DLGLOBAL		DL_GLOBAL
   12665 #  else
   12666 #    define LT_DLGLOBAL		0
   12667 #  endif
   12668 #endif
   12669 
   12670 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12671    find out it does not work in some platform. */
   12672 #ifndef LT_DLLAZY_OR_NOW
   12673 #  ifdef RTLD_LAZY
   12674 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12675 #  else
   12676 #    ifdef DL_LAZY
   12677 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12678 #    else
   12679 #      ifdef RTLD_NOW
   12680 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12681 #      else
   12682 #        ifdef DL_NOW
   12683 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12684 #        else
   12685 #          define LT_DLLAZY_OR_NOW	0
   12686 #        endif
   12687 #      endif
   12688 #    endif
   12689 #  endif
   12690 #endif
   12691 
   12692 /* When -fvisibility=hidden is used, assume the code has been annotated
   12693    correspondingly for the symbols needed.  */
   12694 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12695 int fnord () __attribute__((visibility("default")));
   12696 #endif
   12697 
   12698 int fnord () { return 42; }
   12699 int main ()
   12700 {
   12701   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12702   int status = $lt_dlunknown;
   12703 
   12704   if (self)
   12705     {
   12706       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12707       else
   12708         {
   12709 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12710           else puts (dlerror ());
   12711 	}
   12712       /* dlclose (self); */
   12713     }
   12714   else
   12715     puts (dlerror ());
   12716 
   12717   return status;
   12718 }
   12719 _LT_EOF
   12720   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12721   (eval $ac_link) 2>&5
   12722   ac_status=$?
   12723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12724   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12725     (./conftest; exit; ) >&5 2>/dev/null
   12726     lt_status=$?
   12727     case x$lt_status in
   12728       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12729       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12730       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12731     esac
   12732   else :
   12733     # compilation failed
   12734     lt_cv_dlopen_self_static=no
   12735   fi
   12736 fi
   12737 rm -fr conftest*
   12738 
   12739 
   12740 fi
   12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12742 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12743     fi
   12744 
   12745     CPPFLAGS=$save_CPPFLAGS
   12746     LDFLAGS=$save_LDFLAGS
   12747     LIBS=$save_LIBS
   12748     ;;
   12749   esac
   12750 
   12751   case $lt_cv_dlopen_self in
   12752   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12753   *) enable_dlopen_self=unknown ;;
   12754   esac
   12755 
   12756   case $lt_cv_dlopen_self_static in
   12757   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12758   *) enable_dlopen_self_static=unknown ;;
   12759   esac
   12760 fi
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 striplib=
   12779 old_striplib=
   12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12781 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12782 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12783   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12784   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12786 $as_echo "yes" >&6; }
   12787 else
   12788 # FIXME - insert some real tests, host_os isn't really good enough
   12789   case $host_os in
   12790   darwin*)
   12791     if test -n "$STRIP"; then
   12792       striplib="$STRIP -x"
   12793       old_striplib="$STRIP -S"
   12794       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12795 $as_echo "yes" >&6; }
   12796     else
   12797       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12798 $as_echo "no" >&6; }
   12799     fi
   12800     ;;
   12801   *)
   12802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12803 $as_echo "no" >&6; }
   12804     ;;
   12805   esac
   12806 fi
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819   # Report what library types will actually be built
   12820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12821 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12823 $as_echo "$can_build_shared" >&6; }
   12824 
   12825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12826 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12827   test no = "$can_build_shared" && enable_shared=no
   12828 
   12829   # On AIX, shared libraries and static libraries use the same namespace, and
   12830   # are all built from PIC.
   12831   case $host_os in
   12832   aix3*)
   12833     test yes = "$enable_shared" && enable_static=no
   12834     if test -n "$RANLIB"; then
   12835       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12836       postinstall_cmds='$RANLIB $lib'
   12837     fi
   12838     ;;
   12839 
   12840   aix[4-9]*)
   12841     if test ia64 != "$host_cpu"; then
   12842       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12843       yes,aix,yes) ;;			# shared object as lib.so file only
   12844       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12845       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12846       esac
   12847     fi
   12848     ;;
   12849   esac
   12850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12851 $as_echo "$enable_shared" >&6; }
   12852 
   12853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12854 $as_echo_n "checking whether to build static libraries... " >&6; }
   12855   # Make sure either enable_shared or enable_static is yes.
   12856   test yes = "$enable_shared" || enable_static=yes
   12857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12858 $as_echo "$enable_static" >&6; }
   12859 
   12860 
   12861 
   12862 
   12863 fi
   12864 ac_ext=c
   12865 ac_cpp='$CPP $CPPFLAGS'
   12866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12869 
   12870 CC=$lt_save_CC
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886         ac_config_commands="$ac_config_commands libtool"
   12887 
   12888 
   12889 
   12890 
   12891 # Only expand once:
   12892 
   12893 
   12894 
   12895 # Require xorg-macros minimum of 1.18 - Initial version
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12908 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12909 if ${ac_cv_prog_cc_c99+:} false; then :
   12910   $as_echo_n "(cached) " >&6
   12911 else
   12912   ac_cv_prog_cc_c99=no
   12913 ac_save_CC=$CC
   12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12915 /* end confdefs.h.  */
   12916 #include <stdarg.h>
   12917 #include <stdbool.h>
   12918 #include <stdlib.h>
   12919 #include <wchar.h>
   12920 #include <stdio.h>
   12921 
   12922 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12923 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12924 #define showlist(...) puts (#__VA_ARGS__)
   12925 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12926 static void
   12927 test_varargs_macros (void)
   12928 {
   12929   int x = 1234;
   12930   int y = 5678;
   12931   debug ("Flag");
   12932   debug ("X = %d\n", x);
   12933   showlist (The first, second, and third items.);
   12934   report (x>y, "x is %d but y is %d", x, y);
   12935 }
   12936 
   12937 // Check long long types.
   12938 #define BIG64 18446744073709551615ull
   12939 #define BIG32 4294967295ul
   12940 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12941 #if !BIG_OK
   12942   your preprocessor is broken;
   12943 #endif
   12944 #if BIG_OK
   12945 #else
   12946   your preprocessor is broken;
   12947 #endif
   12948 static long long int bignum = -9223372036854775807LL;
   12949 static unsigned long long int ubignum = BIG64;
   12950 
   12951 struct incomplete_array
   12952 {
   12953   int datasize;
   12954   double data[];
   12955 };
   12956 
   12957 struct named_init {
   12958   int number;
   12959   const wchar_t *name;
   12960   double average;
   12961 };
   12962 
   12963 typedef const char *ccp;
   12964 
   12965 static inline int
   12966 test_restrict (ccp restrict text)
   12967 {
   12968   // See if C++-style comments work.
   12969   // Iterate through items via the restricted pointer.
   12970   // Also check for declarations in for loops.
   12971   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12972     continue;
   12973   return 0;
   12974 }
   12975 
   12976 // Check varargs and va_copy.
   12977 static void
   12978 test_varargs (const char *format, ...)
   12979 {
   12980   va_list args;
   12981   va_start (args, format);
   12982   va_list args_copy;
   12983   va_copy (args_copy, args);
   12984 
   12985   const char *str;
   12986   int number;
   12987   float fnumber;
   12988 
   12989   while (*format)
   12990     {
   12991       switch (*format++)
   12992 	{
   12993 	case 's': // string
   12994 	  str = va_arg (args_copy, const char *);
   12995 	  break;
   12996 	case 'd': // int
   12997 	  number = va_arg (args_copy, int);
   12998 	  break;
   12999 	case 'f': // float
   13000 	  fnumber = va_arg (args_copy, double);
   13001 	  break;
   13002 	default:
   13003 	  break;
   13004 	}
   13005     }
   13006   va_end (args_copy);
   13007   va_end (args);
   13008 }
   13009 
   13010 int
   13011 main ()
   13012 {
   13013 
   13014   // Check bool.
   13015   _Bool success = false;
   13016 
   13017   // Check restrict.
   13018   if (test_restrict ("String literal") == 0)
   13019     success = true;
   13020   char *restrict newvar = "Another string";
   13021 
   13022   // Check varargs.
   13023   test_varargs ("s, d' f .", "string", 65, 34.234);
   13024   test_varargs_macros ();
   13025 
   13026   // Check flexible array members.
   13027   struct incomplete_array *ia =
   13028     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   13029   ia->datasize = 10;
   13030   for (int i = 0; i < ia->datasize; ++i)
   13031     ia->data[i] = i * 1.234;
   13032 
   13033   // Check named initializers.
   13034   struct named_init ni = {
   13035     .number = 34,
   13036     .name = L"Test wide string",
   13037     .average = 543.34343,
   13038   };
   13039 
   13040   ni.number = 58;
   13041 
   13042   int dynamic_array[ni.number];
   13043   dynamic_array[ni.number - 1] = 543;
   13044 
   13045   // work around unused variable warnings
   13046   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   13047 	  || dynamic_array[ni.number - 1] != 543);
   13048 
   13049   ;
   13050   return 0;
   13051 }
   13052 _ACEOF
   13053 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   13054 do
   13055   CC="$ac_save_CC $ac_arg"
   13056   if ac_fn_c_try_compile "$LINENO"; then :
   13057   ac_cv_prog_cc_c99=$ac_arg
   13058 fi
   13059 rm -f core conftest.err conftest.$ac_objext
   13060   test "x$ac_cv_prog_cc_c99" != "xno" && break
   13061 done
   13062 rm -f conftest.$ac_ext
   13063 CC=$ac_save_CC
   13064 
   13065 fi
   13066 # AC_CACHE_VAL
   13067 case "x$ac_cv_prog_cc_c99" in
   13068   x)
   13069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   13070 $as_echo "none needed" >&6; } ;;
   13071   xno)
   13072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   13073 $as_echo "unsupported" >&6; } ;;
   13074   *)
   13075     CC="$CC $ac_cv_prog_cc_c99"
   13076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   13077 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   13078 esac
   13079 if test "x$ac_cv_prog_cc_c99" != xno; then :
   13080 
   13081 fi
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   13089 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   13090   CLANGCC="yes"
   13091 else
   13092   CLANGCC="no"
   13093 fi
   13094 
   13095 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   13096 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   13097   INTELCC="yes"
   13098 else
   13099   INTELCC="no"
   13100 fi
   13101 
   13102 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   13103 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   13104   SUNCC="yes"
   13105 else
   13106   SUNCC="no"
   13107 fi
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13118 	if test -n "$ac_tool_prefix"; then
   13119   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13120 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13122 $as_echo_n "checking for $ac_word... " >&6; }
   13123 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   13124   $as_echo_n "(cached) " >&6
   13125 else
   13126   case $PKG_CONFIG in
   13127   [\\/]* | ?:[\\/]*)
   13128   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13129   ;;
   13130   *)
   13131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13132 for as_dir in $PATH
   13133 do
   13134   IFS=$as_save_IFS
   13135   test -z "$as_dir" && as_dir=.
   13136     for ac_exec_ext in '' $ac_executable_extensions; do
   13137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13138     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13140     break 2
   13141   fi
   13142 done
   13143   done
   13144 IFS=$as_save_IFS
   13145 
   13146   ;;
   13147 esac
   13148 fi
   13149 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13150 if test -n "$PKG_CONFIG"; then
   13151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13152 $as_echo "$PKG_CONFIG" >&6; }
   13153 else
   13154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13155 $as_echo "no" >&6; }
   13156 fi
   13157 
   13158 
   13159 fi
   13160 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13161   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13162   # Extract the first word of "pkg-config", so it can be a program name with args.
   13163 set dummy pkg-config; ac_word=$2
   13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13165 $as_echo_n "checking for $ac_word... " >&6; }
   13166 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   13167   $as_echo_n "(cached) " >&6
   13168 else
   13169   case $ac_pt_PKG_CONFIG in
   13170   [\\/]* | ?:[\\/]*)
   13171   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13172   ;;
   13173   *)
   13174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13175 for as_dir in $PATH
   13176 do
   13177   IFS=$as_save_IFS
   13178   test -z "$as_dir" && as_dir=.
   13179     for ac_exec_ext in '' $ac_executable_extensions; do
   13180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13181     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13183     break 2
   13184   fi
   13185 done
   13186   done
   13187 IFS=$as_save_IFS
   13188 
   13189   ;;
   13190 esac
   13191 fi
   13192 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13193 if test -n "$ac_pt_PKG_CONFIG"; then
   13194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13195 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   13196 else
   13197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13198 $as_echo "no" >&6; }
   13199 fi
   13200 
   13201   if test "x$ac_pt_PKG_CONFIG" = x; then
   13202     PKG_CONFIG=""
   13203   else
   13204     case $cross_compiling:$ac_tool_warned in
   13205 yes:)
   13206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13208 ac_tool_warned=yes ;;
   13209 esac
   13210     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13211   fi
   13212 else
   13213   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13214 fi
   13215 
   13216 fi
   13217 if test -n "$PKG_CONFIG"; then
   13218 	_pkg_min_version=0.9.0
   13219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13220 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13221 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13223 $as_echo "yes" >&6; }
   13224 	else
   13225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13226 $as_echo "no" >&6; }
   13227 		PKG_CONFIG=""
   13228 	fi
   13229 fi
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 # Check whether --enable-selective-werror was given.
   13236 if test "${enable_selective_werror+set}" = set; then :
   13237   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13238 else
   13239   SELECTIVE_WERROR=yes
   13240 fi
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13247 if test "x$SUNCC" = "xyes"; then
   13248     BASE_CFLAGS="-v"
   13249 else
   13250     BASE_CFLAGS=""
   13251 fi
   13252 
   13253 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 xorg_testset_save_CFLAGS="$CFLAGS"
   13268 
   13269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13272 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13273 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13274   $as_echo_n "(cached) " >&6
   13275 else
   13276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13277 /* end confdefs.h.  */
   13278 int i;
   13279 _ACEOF
   13280 if ac_fn_c_try_compile "$LINENO"; then :
   13281   xorg_cv_cc_flag_unknown_warning_option=yes
   13282 else
   13283   xorg_cv_cc_flag_unknown_warning_option=no
   13284 fi
   13285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13286 fi
   13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13288 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13290 	CFLAGS="$xorg_testset_save_CFLAGS"
   13291 fi
   13292 
   13293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13296 	fi
   13297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13299 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13300 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13301   $as_echo_n "(cached) " >&6
   13302 else
   13303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13304 /* end confdefs.h.  */
   13305 int i;
   13306 _ACEOF
   13307 if ac_fn_c_try_compile "$LINENO"; then :
   13308   xorg_cv_cc_flag_unused_command_line_argument=yes
   13309 else
   13310   xorg_cv_cc_flag_unused_command_line_argument=no
   13311 fi
   13312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13313 fi
   13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13315 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13317 	CFLAGS="$xorg_testset_save_CFLAGS"
   13318 fi
   13319 
   13320 found="no"
   13321 
   13322 	if test $found = "no" ; then
   13323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13325 		fi
   13326 
   13327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13329 		fi
   13330 
   13331 		CFLAGS="$CFLAGS -Wall"
   13332 
   13333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13334 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   13335 		cacheid=xorg_cv_cc_flag__Wall
   13336 		if eval \${$cacheid+:} false; then :
   13337   $as_echo_n "(cached) " >&6
   13338 else
   13339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13340 /* end confdefs.h.  */
   13341 int i;
   13342 int
   13343 main ()
   13344 {
   13345 
   13346   ;
   13347   return 0;
   13348 }
   13349 _ACEOF
   13350 if ac_fn_c_try_link "$LINENO"; then :
   13351   eval $cacheid=yes
   13352 else
   13353   eval $cacheid=no
   13354 fi
   13355 rm -f core conftest.err conftest.$ac_objext \
   13356     conftest$ac_exeext conftest.$ac_ext
   13357 fi
   13358 
   13359 
   13360 		CFLAGS="$xorg_testset_save_CFLAGS"
   13361 
   13362 		eval supported=\$$cacheid
   13363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13364 $as_echo "$supported" >&6; }
   13365 		if test "$supported" = "yes" ; then
   13366 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13367 			found="yes"
   13368 		fi
   13369 	fi
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 xorg_testset_save_CFLAGS="$CFLAGS"
   13386 
   13387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13390 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13391 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13392   $as_echo_n "(cached) " >&6
   13393 else
   13394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13395 /* end confdefs.h.  */
   13396 int i;
   13397 _ACEOF
   13398 if ac_fn_c_try_compile "$LINENO"; then :
   13399   xorg_cv_cc_flag_unknown_warning_option=yes
   13400 else
   13401   xorg_cv_cc_flag_unknown_warning_option=no
   13402 fi
   13403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13404 fi
   13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13406 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13408 	CFLAGS="$xorg_testset_save_CFLAGS"
   13409 fi
   13410 
   13411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13414 	fi
   13415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13417 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13418 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13419   $as_echo_n "(cached) " >&6
   13420 else
   13421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13422 /* end confdefs.h.  */
   13423 int i;
   13424 _ACEOF
   13425 if ac_fn_c_try_compile "$LINENO"; then :
   13426   xorg_cv_cc_flag_unused_command_line_argument=yes
   13427 else
   13428   xorg_cv_cc_flag_unused_command_line_argument=no
   13429 fi
   13430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13431 fi
   13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13433 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13435 	CFLAGS="$xorg_testset_save_CFLAGS"
   13436 fi
   13437 
   13438 found="no"
   13439 
   13440 	if test $found = "no" ; then
   13441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13443 		fi
   13444 
   13445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13447 		fi
   13448 
   13449 		CFLAGS="$CFLAGS -Wpointer-arith"
   13450 
   13451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13452 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   13453 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13454 		if eval \${$cacheid+:} false; then :
   13455   $as_echo_n "(cached) " >&6
   13456 else
   13457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13458 /* end confdefs.h.  */
   13459 int i;
   13460 int
   13461 main ()
   13462 {
   13463 
   13464   ;
   13465   return 0;
   13466 }
   13467 _ACEOF
   13468 if ac_fn_c_try_link "$LINENO"; then :
   13469   eval $cacheid=yes
   13470 else
   13471   eval $cacheid=no
   13472 fi
   13473 rm -f core conftest.err conftest.$ac_objext \
   13474     conftest$ac_exeext conftest.$ac_ext
   13475 fi
   13476 
   13477 
   13478 		CFLAGS="$xorg_testset_save_CFLAGS"
   13479 
   13480 		eval supported=\$$cacheid
   13481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13482 $as_echo "$supported" >&6; }
   13483 		if test "$supported" = "yes" ; then
   13484 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13485 			found="yes"
   13486 		fi
   13487 	fi
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 xorg_testset_save_CFLAGS="$CFLAGS"
   13504 
   13505 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13508 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13509 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13510   $as_echo_n "(cached) " >&6
   13511 else
   13512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13513 /* end confdefs.h.  */
   13514 int i;
   13515 _ACEOF
   13516 if ac_fn_c_try_compile "$LINENO"; then :
   13517   xorg_cv_cc_flag_unknown_warning_option=yes
   13518 else
   13519   xorg_cv_cc_flag_unknown_warning_option=no
   13520 fi
   13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13522 fi
   13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13524 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13526 	CFLAGS="$xorg_testset_save_CFLAGS"
   13527 fi
   13528 
   13529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13532 	fi
   13533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13535 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13536 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13537   $as_echo_n "(cached) " >&6
   13538 else
   13539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13540 /* end confdefs.h.  */
   13541 int i;
   13542 _ACEOF
   13543 if ac_fn_c_try_compile "$LINENO"; then :
   13544   xorg_cv_cc_flag_unused_command_line_argument=yes
   13545 else
   13546   xorg_cv_cc_flag_unused_command_line_argument=no
   13547 fi
   13548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13549 fi
   13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13551 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13553 	CFLAGS="$xorg_testset_save_CFLAGS"
   13554 fi
   13555 
   13556 found="no"
   13557 
   13558 	if test $found = "no" ; then
   13559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 		fi
   13562 
   13563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13565 		fi
   13566 
   13567 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13568 
   13569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13570 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   13571 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13572 		if eval \${$cacheid+:} false; then :
   13573   $as_echo_n "(cached) " >&6
   13574 else
   13575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13576 /* end confdefs.h.  */
   13577 int i;
   13578 int
   13579 main ()
   13580 {
   13581 
   13582   ;
   13583   return 0;
   13584 }
   13585 _ACEOF
   13586 if ac_fn_c_try_link "$LINENO"; then :
   13587   eval $cacheid=yes
   13588 else
   13589   eval $cacheid=no
   13590 fi
   13591 rm -f core conftest.err conftest.$ac_objext \
   13592     conftest$ac_exeext conftest.$ac_ext
   13593 fi
   13594 
   13595 
   13596 		CFLAGS="$xorg_testset_save_CFLAGS"
   13597 
   13598 		eval supported=\$$cacheid
   13599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13600 $as_echo "$supported" >&6; }
   13601 		if test "$supported" = "yes" ; then
   13602 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13603 			found="yes"
   13604 		fi
   13605 	fi
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 xorg_testset_save_CFLAGS="$CFLAGS"
   13622 
   13623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13628   $as_echo_n "(cached) " >&6
   13629 else
   13630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13631 /* end confdefs.h.  */
   13632 int i;
   13633 _ACEOF
   13634 if ac_fn_c_try_compile "$LINENO"; then :
   13635   xorg_cv_cc_flag_unknown_warning_option=yes
   13636 else
   13637   xorg_cv_cc_flag_unknown_warning_option=no
   13638 fi
   13639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13640 fi
   13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13644 	CFLAGS="$xorg_testset_save_CFLAGS"
   13645 fi
   13646 
   13647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13650 	fi
   13651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13655   $as_echo_n "(cached) " >&6
   13656 else
   13657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13658 /* end confdefs.h.  */
   13659 int i;
   13660 _ACEOF
   13661 if ac_fn_c_try_compile "$LINENO"; then :
   13662   xorg_cv_cc_flag_unused_command_line_argument=yes
   13663 else
   13664   xorg_cv_cc_flag_unused_command_line_argument=no
   13665 fi
   13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13667 fi
   13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13671 	CFLAGS="$xorg_testset_save_CFLAGS"
   13672 fi
   13673 
   13674 found="no"
   13675 
   13676 	if test $found = "no" ; then
   13677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13679 		fi
   13680 
   13681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13683 		fi
   13684 
   13685 		CFLAGS="$CFLAGS -Wformat=2"
   13686 
   13687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13688 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13689 		cacheid=xorg_cv_cc_flag__Wformat_2
   13690 		if eval \${$cacheid+:} false; then :
   13691   $as_echo_n "(cached) " >&6
   13692 else
   13693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13694 /* end confdefs.h.  */
   13695 int i;
   13696 int
   13697 main ()
   13698 {
   13699 
   13700   ;
   13701   return 0;
   13702 }
   13703 _ACEOF
   13704 if ac_fn_c_try_link "$LINENO"; then :
   13705   eval $cacheid=yes
   13706 else
   13707   eval $cacheid=no
   13708 fi
   13709 rm -f core conftest.err conftest.$ac_objext \
   13710     conftest$ac_exeext conftest.$ac_ext
   13711 fi
   13712 
   13713 
   13714 		CFLAGS="$xorg_testset_save_CFLAGS"
   13715 
   13716 		eval supported=\$$cacheid
   13717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13718 $as_echo "$supported" >&6; }
   13719 		if test "$supported" = "yes" ; then
   13720 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13721 			found="yes"
   13722 		fi
   13723 	fi
   13724 
   13725 	if test $found = "no" ; then
   13726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13728 		fi
   13729 
   13730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13732 		fi
   13733 
   13734 		CFLAGS="$CFLAGS -Wformat"
   13735 
   13736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13737 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13738 		cacheid=xorg_cv_cc_flag__Wformat
   13739 		if eval \${$cacheid+:} false; then :
   13740   $as_echo_n "(cached) " >&6
   13741 else
   13742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13743 /* end confdefs.h.  */
   13744 int i;
   13745 int
   13746 main ()
   13747 {
   13748 
   13749   ;
   13750   return 0;
   13751 }
   13752 _ACEOF
   13753 if ac_fn_c_try_link "$LINENO"; then :
   13754   eval $cacheid=yes
   13755 else
   13756   eval $cacheid=no
   13757 fi
   13758 rm -f core conftest.err conftest.$ac_objext \
   13759     conftest$ac_exeext conftest.$ac_ext
   13760 fi
   13761 
   13762 
   13763 		CFLAGS="$xorg_testset_save_CFLAGS"
   13764 
   13765 		eval supported=\$$cacheid
   13766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13767 $as_echo "$supported" >&6; }
   13768 		if test "$supported" = "yes" ; then
   13769 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13770 			found="yes"
   13771 		fi
   13772 	fi
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 xorg_testset_save_CFLAGS="$CFLAGS"
   13791 
   13792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13795 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13796 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13797   $as_echo_n "(cached) " >&6
   13798 else
   13799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13800 /* end confdefs.h.  */
   13801 int i;
   13802 _ACEOF
   13803 if ac_fn_c_try_compile "$LINENO"; then :
   13804   xorg_cv_cc_flag_unknown_warning_option=yes
   13805 else
   13806   xorg_cv_cc_flag_unknown_warning_option=no
   13807 fi
   13808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13809 fi
   13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13811 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13813 	CFLAGS="$xorg_testset_save_CFLAGS"
   13814 fi
   13815 
   13816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13819 	fi
   13820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13822 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13823 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13824   $as_echo_n "(cached) " >&6
   13825 else
   13826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13827 /* end confdefs.h.  */
   13828 int i;
   13829 _ACEOF
   13830 if ac_fn_c_try_compile "$LINENO"; then :
   13831   xorg_cv_cc_flag_unused_command_line_argument=yes
   13832 else
   13833   xorg_cv_cc_flag_unused_command_line_argument=no
   13834 fi
   13835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13836 fi
   13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13838 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13840 	CFLAGS="$xorg_testset_save_CFLAGS"
   13841 fi
   13842 
   13843 found="no"
   13844 
   13845 	if test $found = "no" ; then
   13846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13848 		fi
   13849 
   13850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13852 		fi
   13853 
   13854 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13855 
   13856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13857 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13858 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13859 		if eval \${$cacheid+:} false; then :
   13860   $as_echo_n "(cached) " >&6
   13861 else
   13862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13863 /* end confdefs.h.  */
   13864 int i;
   13865 int
   13866 main ()
   13867 {
   13868 
   13869   ;
   13870   return 0;
   13871 }
   13872 _ACEOF
   13873 if ac_fn_c_try_link "$LINENO"; then :
   13874   eval $cacheid=yes
   13875 else
   13876   eval $cacheid=no
   13877 fi
   13878 rm -f core conftest.err conftest.$ac_objext \
   13879     conftest$ac_exeext conftest.$ac_ext
   13880 fi
   13881 
   13882 
   13883 		CFLAGS="$xorg_testset_save_CFLAGS"
   13884 
   13885 		eval supported=\$$cacheid
   13886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13887 $as_echo "$supported" >&6; }
   13888 		if test "$supported" = "yes" ; then
   13889 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13890 			found="yes"
   13891 		fi
   13892 	fi
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 xorg_testset_save_CFLAGS="$CFLAGS"
   13909 
   13910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13913 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13914 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13915   $as_echo_n "(cached) " >&6
   13916 else
   13917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13918 /* end confdefs.h.  */
   13919 int i;
   13920 _ACEOF
   13921 if ac_fn_c_try_compile "$LINENO"; then :
   13922   xorg_cv_cc_flag_unknown_warning_option=yes
   13923 else
   13924   xorg_cv_cc_flag_unknown_warning_option=no
   13925 fi
   13926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13927 fi
   13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13929 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13931 	CFLAGS="$xorg_testset_save_CFLAGS"
   13932 fi
   13933 
   13934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13937 	fi
   13938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13940 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13941 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13945 /* end confdefs.h.  */
   13946 int i;
   13947 _ACEOF
   13948 if ac_fn_c_try_compile "$LINENO"; then :
   13949   xorg_cv_cc_flag_unused_command_line_argument=yes
   13950 else
   13951   xorg_cv_cc_flag_unused_command_line_argument=no
   13952 fi
   13953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13954 fi
   13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13956 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13958 	CFLAGS="$xorg_testset_save_CFLAGS"
   13959 fi
   13960 
   13961 found="no"
   13962 
   13963 	if test $found = "no" ; then
   13964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13966 		fi
   13967 
   13968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13970 		fi
   13971 
   13972 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13973 
   13974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13975 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13976 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13977 		if eval \${$cacheid+:} false; then :
   13978   $as_echo_n "(cached) " >&6
   13979 else
   13980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13981 /* end confdefs.h.  */
   13982 int i;
   13983 int
   13984 main ()
   13985 {
   13986 
   13987   ;
   13988   return 0;
   13989 }
   13990 _ACEOF
   13991 if ac_fn_c_try_link "$LINENO"; then :
   13992   eval $cacheid=yes
   13993 else
   13994   eval $cacheid=no
   13995 fi
   13996 rm -f core conftest.err conftest.$ac_objext \
   13997     conftest$ac_exeext conftest.$ac_ext
   13998 fi
   13999 
   14000 
   14001 		CFLAGS="$xorg_testset_save_CFLAGS"
   14002 
   14003 		eval supported=\$$cacheid
   14004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14005 $as_echo "$supported" >&6; }
   14006 		if test "$supported" = "yes" ; then
   14007 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14008 			found="yes"
   14009 		fi
   14010 	fi
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 xorg_testset_save_CFLAGS="$CFLAGS"
   14027 
   14028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14033   $as_echo_n "(cached) " >&6
   14034 else
   14035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14036 /* end confdefs.h.  */
   14037 int i;
   14038 _ACEOF
   14039 if ac_fn_c_try_compile "$LINENO"; then :
   14040   xorg_cv_cc_flag_unknown_warning_option=yes
   14041 else
   14042   xorg_cv_cc_flag_unknown_warning_option=no
   14043 fi
   14044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14045 fi
   14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14049 	CFLAGS="$xorg_testset_save_CFLAGS"
   14050 fi
   14051 
   14052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14055 	fi
   14056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14060   $as_echo_n "(cached) " >&6
   14061 else
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 int i;
   14065 _ACEOF
   14066 if ac_fn_c_try_compile "$LINENO"; then :
   14067   xorg_cv_cc_flag_unused_command_line_argument=yes
   14068 else
   14069   xorg_cv_cc_flag_unused_command_line_argument=no
   14070 fi
   14071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14072 fi
   14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14076 	CFLAGS="$xorg_testset_save_CFLAGS"
   14077 fi
   14078 
   14079 found="no"
   14080 
   14081 	if test $found = "no" ; then
   14082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14084 		fi
   14085 
   14086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14088 		fi
   14089 
   14090 		CFLAGS="$CFLAGS -Wnested-externs"
   14091 
   14092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14093 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   14094 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14095 		if eval \${$cacheid+:} false; then :
   14096   $as_echo_n "(cached) " >&6
   14097 else
   14098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14099 /* end confdefs.h.  */
   14100 int i;
   14101 int
   14102 main ()
   14103 {
   14104 
   14105   ;
   14106   return 0;
   14107 }
   14108 _ACEOF
   14109 if ac_fn_c_try_link "$LINENO"; then :
   14110   eval $cacheid=yes
   14111 else
   14112   eval $cacheid=no
   14113 fi
   14114 rm -f core conftest.err conftest.$ac_objext \
   14115     conftest$ac_exeext conftest.$ac_ext
   14116 fi
   14117 
   14118 
   14119 		CFLAGS="$xorg_testset_save_CFLAGS"
   14120 
   14121 		eval supported=\$$cacheid
   14122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14123 $as_echo "$supported" >&6; }
   14124 		if test "$supported" = "yes" ; then
   14125 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14126 			found="yes"
   14127 		fi
   14128 	fi
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 xorg_testset_save_CFLAGS="$CFLAGS"
   14145 
   14146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14151   $as_echo_n "(cached) " >&6
   14152 else
   14153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14154 /* end confdefs.h.  */
   14155 int i;
   14156 _ACEOF
   14157 if ac_fn_c_try_compile "$LINENO"; then :
   14158   xorg_cv_cc_flag_unknown_warning_option=yes
   14159 else
   14160   xorg_cv_cc_flag_unknown_warning_option=no
   14161 fi
   14162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14163 fi
   14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14167 	CFLAGS="$xorg_testset_save_CFLAGS"
   14168 fi
   14169 
   14170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14173 	fi
   14174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14178   $as_echo_n "(cached) " >&6
   14179 else
   14180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14181 /* end confdefs.h.  */
   14182 int i;
   14183 _ACEOF
   14184 if ac_fn_c_try_compile "$LINENO"; then :
   14185   xorg_cv_cc_flag_unused_command_line_argument=yes
   14186 else
   14187   xorg_cv_cc_flag_unused_command_line_argument=no
   14188 fi
   14189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14190 fi
   14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14194 	CFLAGS="$xorg_testset_save_CFLAGS"
   14195 fi
   14196 
   14197 found="no"
   14198 
   14199 	if test $found = "no" ; then
   14200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14202 		fi
   14203 
   14204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14206 		fi
   14207 
   14208 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14209 
   14210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14211 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   14212 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14213 		if eval \${$cacheid+:} false; then :
   14214   $as_echo_n "(cached) " >&6
   14215 else
   14216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14217 /* end confdefs.h.  */
   14218 int i;
   14219 int
   14220 main ()
   14221 {
   14222 
   14223   ;
   14224   return 0;
   14225 }
   14226 _ACEOF
   14227 if ac_fn_c_try_link "$LINENO"; then :
   14228   eval $cacheid=yes
   14229 else
   14230   eval $cacheid=no
   14231 fi
   14232 rm -f core conftest.err conftest.$ac_objext \
   14233     conftest$ac_exeext conftest.$ac_ext
   14234 fi
   14235 
   14236 
   14237 		CFLAGS="$xorg_testset_save_CFLAGS"
   14238 
   14239 		eval supported=\$$cacheid
   14240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14241 $as_echo "$supported" >&6; }
   14242 		if test "$supported" = "yes" ; then
   14243 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14244 			found="yes"
   14245 		fi
   14246 	fi
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 xorg_testset_save_CFLAGS="$CFLAGS"
   14263 
   14264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14269   $as_echo_n "(cached) " >&6
   14270 else
   14271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14272 /* end confdefs.h.  */
   14273 int i;
   14274 _ACEOF
   14275 if ac_fn_c_try_compile "$LINENO"; then :
   14276   xorg_cv_cc_flag_unknown_warning_option=yes
   14277 else
   14278   xorg_cv_cc_flag_unknown_warning_option=no
   14279 fi
   14280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14281 fi
   14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14285 	CFLAGS="$xorg_testset_save_CFLAGS"
   14286 fi
   14287 
   14288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14291 	fi
   14292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14296   $as_echo_n "(cached) " >&6
   14297 else
   14298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14299 /* end confdefs.h.  */
   14300 int i;
   14301 _ACEOF
   14302 if ac_fn_c_try_compile "$LINENO"; then :
   14303   xorg_cv_cc_flag_unused_command_line_argument=yes
   14304 else
   14305   xorg_cv_cc_flag_unused_command_line_argument=no
   14306 fi
   14307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14308 fi
   14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14312 	CFLAGS="$xorg_testset_save_CFLAGS"
   14313 fi
   14314 
   14315 found="no"
   14316 
   14317 	if test $found = "no" ; then
   14318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14320 		fi
   14321 
   14322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14324 		fi
   14325 
   14326 		CFLAGS="$CFLAGS -Wold-style-definition"
   14327 
   14328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14329 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   14330 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14331 		if eval \${$cacheid+:} false; then :
   14332   $as_echo_n "(cached) " >&6
   14333 else
   14334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14335 /* end confdefs.h.  */
   14336 int i;
   14337 int
   14338 main ()
   14339 {
   14340 
   14341   ;
   14342   return 0;
   14343 }
   14344 _ACEOF
   14345 if ac_fn_c_try_link "$LINENO"; then :
   14346   eval $cacheid=yes
   14347 else
   14348   eval $cacheid=no
   14349 fi
   14350 rm -f core conftest.err conftest.$ac_objext \
   14351     conftest$ac_exeext conftest.$ac_ext
   14352 fi
   14353 
   14354 
   14355 		CFLAGS="$xorg_testset_save_CFLAGS"
   14356 
   14357 		eval supported=\$$cacheid
   14358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14359 $as_echo "$supported" >&6; }
   14360 		if test "$supported" = "yes" ; then
   14361 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14362 			found="yes"
   14363 		fi
   14364 	fi
   14365 
   14366 	if test $found = "no" ; then
   14367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14369 		fi
   14370 
   14371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14373 		fi
   14374 
   14375 		CFLAGS="$CFLAGS -fd"
   14376 
   14377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14378 $as_echo_n "checking if $CC supports -fd... " >&6; }
   14379 		cacheid=xorg_cv_cc_flag__fd
   14380 		if eval \${$cacheid+:} false; then :
   14381   $as_echo_n "(cached) " >&6
   14382 else
   14383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14384 /* end confdefs.h.  */
   14385 int i;
   14386 int
   14387 main ()
   14388 {
   14389 
   14390   ;
   14391   return 0;
   14392 }
   14393 _ACEOF
   14394 if ac_fn_c_try_link "$LINENO"; then :
   14395   eval $cacheid=yes
   14396 else
   14397   eval $cacheid=no
   14398 fi
   14399 rm -f core conftest.err conftest.$ac_objext \
   14400     conftest$ac_exeext conftest.$ac_ext
   14401 fi
   14402 
   14403 
   14404 		CFLAGS="$xorg_testset_save_CFLAGS"
   14405 
   14406 		eval supported=\$$cacheid
   14407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14408 $as_echo "$supported" >&6; }
   14409 		if test "$supported" = "yes" ; then
   14410 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14411 			found="yes"
   14412 		fi
   14413 	fi
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 xorg_testset_save_CFLAGS="$CFLAGS"
   14430 
   14431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14436   $as_echo_n "(cached) " >&6
   14437 else
   14438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14439 /* end confdefs.h.  */
   14440 int i;
   14441 _ACEOF
   14442 if ac_fn_c_try_compile "$LINENO"; then :
   14443   xorg_cv_cc_flag_unknown_warning_option=yes
   14444 else
   14445   xorg_cv_cc_flag_unknown_warning_option=no
   14446 fi
   14447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14448 fi
   14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14452 	CFLAGS="$xorg_testset_save_CFLAGS"
   14453 fi
   14454 
   14455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14458 	fi
   14459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14463   $as_echo_n "(cached) " >&6
   14464 else
   14465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14466 /* end confdefs.h.  */
   14467 int i;
   14468 _ACEOF
   14469 if ac_fn_c_try_compile "$LINENO"; then :
   14470   xorg_cv_cc_flag_unused_command_line_argument=yes
   14471 else
   14472   xorg_cv_cc_flag_unused_command_line_argument=no
   14473 fi
   14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14475 fi
   14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14479 	CFLAGS="$xorg_testset_save_CFLAGS"
   14480 fi
   14481 
   14482 found="no"
   14483 
   14484 	if test $found = "no" ; then
   14485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14487 		fi
   14488 
   14489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14491 		fi
   14492 
   14493 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14494 
   14495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14496 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14497 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14498 		if eval \${$cacheid+:} false; then :
   14499   $as_echo_n "(cached) " >&6
   14500 else
   14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14502 /* end confdefs.h.  */
   14503 int i;
   14504 int
   14505 main ()
   14506 {
   14507 
   14508   ;
   14509   return 0;
   14510 }
   14511 _ACEOF
   14512 if ac_fn_c_try_link "$LINENO"; then :
   14513   eval $cacheid=yes
   14514 else
   14515   eval $cacheid=no
   14516 fi
   14517 rm -f core conftest.err conftest.$ac_objext \
   14518     conftest$ac_exeext conftest.$ac_ext
   14519 fi
   14520 
   14521 
   14522 		CFLAGS="$xorg_testset_save_CFLAGS"
   14523 
   14524 		eval supported=\$$cacheid
   14525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14526 $as_echo "$supported" >&6; }
   14527 		if test "$supported" = "yes" ; then
   14528 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14529 			found="yes"
   14530 		fi
   14531 	fi
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 # This chunk adds additional warnings that could catch undesired effects.
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 xorg_testset_save_CFLAGS="$CFLAGS"
   14552 
   14553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14558   $as_echo_n "(cached) " >&6
   14559 else
   14560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14561 /* end confdefs.h.  */
   14562 int i;
   14563 _ACEOF
   14564 if ac_fn_c_try_compile "$LINENO"; then :
   14565   xorg_cv_cc_flag_unknown_warning_option=yes
   14566 else
   14567   xorg_cv_cc_flag_unknown_warning_option=no
   14568 fi
   14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14570 fi
   14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14574 	CFLAGS="$xorg_testset_save_CFLAGS"
   14575 fi
   14576 
   14577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14580 	fi
   14581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14585   $as_echo_n "(cached) " >&6
   14586 else
   14587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14588 /* end confdefs.h.  */
   14589 int i;
   14590 _ACEOF
   14591 if ac_fn_c_try_compile "$LINENO"; then :
   14592   xorg_cv_cc_flag_unused_command_line_argument=yes
   14593 else
   14594   xorg_cv_cc_flag_unused_command_line_argument=no
   14595 fi
   14596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14597 fi
   14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14601 	CFLAGS="$xorg_testset_save_CFLAGS"
   14602 fi
   14603 
   14604 found="no"
   14605 
   14606 	if test $found = "no" ; then
   14607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14609 		fi
   14610 
   14611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14613 		fi
   14614 
   14615 		CFLAGS="$CFLAGS -Wunused"
   14616 
   14617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14618 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   14619 		cacheid=xorg_cv_cc_flag__Wunused
   14620 		if eval \${$cacheid+:} false; then :
   14621   $as_echo_n "(cached) " >&6
   14622 else
   14623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14624 /* end confdefs.h.  */
   14625 int i;
   14626 int
   14627 main ()
   14628 {
   14629 
   14630   ;
   14631   return 0;
   14632 }
   14633 _ACEOF
   14634 if ac_fn_c_try_link "$LINENO"; then :
   14635   eval $cacheid=yes
   14636 else
   14637   eval $cacheid=no
   14638 fi
   14639 rm -f core conftest.err conftest.$ac_objext \
   14640     conftest$ac_exeext conftest.$ac_ext
   14641 fi
   14642 
   14643 
   14644 		CFLAGS="$xorg_testset_save_CFLAGS"
   14645 
   14646 		eval supported=\$$cacheid
   14647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14648 $as_echo "$supported" >&6; }
   14649 		if test "$supported" = "yes" ; then
   14650 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14651 			found="yes"
   14652 		fi
   14653 	fi
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 xorg_testset_save_CFLAGS="$CFLAGS"
   14670 
   14671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 _ACEOF
   14682 if ac_fn_c_try_compile "$LINENO"; then :
   14683   xorg_cv_cc_flag_unknown_warning_option=yes
   14684 else
   14685   xorg_cv_cc_flag_unknown_warning_option=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14692 	CFLAGS="$xorg_testset_save_CFLAGS"
   14693 fi
   14694 
   14695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14698 	fi
   14699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14703   $as_echo_n "(cached) " >&6
   14704 else
   14705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14706 /* end confdefs.h.  */
   14707 int i;
   14708 _ACEOF
   14709 if ac_fn_c_try_compile "$LINENO"; then :
   14710   xorg_cv_cc_flag_unused_command_line_argument=yes
   14711 else
   14712   xorg_cv_cc_flag_unused_command_line_argument=no
   14713 fi
   14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14715 fi
   14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14719 	CFLAGS="$xorg_testset_save_CFLAGS"
   14720 fi
   14721 
   14722 found="no"
   14723 
   14724 	if test $found = "no" ; then
   14725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14727 		fi
   14728 
   14729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14731 		fi
   14732 
   14733 		CFLAGS="$CFLAGS -Wuninitialized"
   14734 
   14735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14736 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14737 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14738 		if eval \${$cacheid+:} false; then :
   14739   $as_echo_n "(cached) " >&6
   14740 else
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 int i;
   14744 int
   14745 main ()
   14746 {
   14747 
   14748   ;
   14749   return 0;
   14750 }
   14751 _ACEOF
   14752 if ac_fn_c_try_link "$LINENO"; then :
   14753   eval $cacheid=yes
   14754 else
   14755   eval $cacheid=no
   14756 fi
   14757 rm -f core conftest.err conftest.$ac_objext \
   14758     conftest$ac_exeext conftest.$ac_ext
   14759 fi
   14760 
   14761 
   14762 		CFLAGS="$xorg_testset_save_CFLAGS"
   14763 
   14764 		eval supported=\$$cacheid
   14765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14766 $as_echo "$supported" >&6; }
   14767 		if test "$supported" = "yes" ; then
   14768 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14769 			found="yes"
   14770 		fi
   14771 	fi
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 xorg_testset_save_CFLAGS="$CFLAGS"
   14788 
   14789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14794   $as_echo_n "(cached) " >&6
   14795 else
   14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"; then :
   14801   xorg_cv_cc_flag_unknown_warning_option=yes
   14802 else
   14803   xorg_cv_cc_flag_unknown_warning_option=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14806 fi
   14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14816 	fi
   14817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14821   $as_echo_n "(cached) " >&6
   14822 else
   14823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14824 /* end confdefs.h.  */
   14825 int i;
   14826 _ACEOF
   14827 if ac_fn_c_try_compile "$LINENO"; then :
   14828   xorg_cv_cc_flag_unused_command_line_argument=yes
   14829 else
   14830   xorg_cv_cc_flag_unused_command_line_argument=no
   14831 fi
   14832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14833 fi
   14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14837 	CFLAGS="$xorg_testset_save_CFLAGS"
   14838 fi
   14839 
   14840 found="no"
   14841 
   14842 	if test $found = "no" ; then
   14843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14845 		fi
   14846 
   14847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14849 		fi
   14850 
   14851 		CFLAGS="$CFLAGS -Wshadow"
   14852 
   14853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14854 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14855 		cacheid=xorg_cv_cc_flag__Wshadow
   14856 		if eval \${$cacheid+:} false; then :
   14857   $as_echo_n "(cached) " >&6
   14858 else
   14859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 int
   14863 main ()
   14864 {
   14865 
   14866   ;
   14867   return 0;
   14868 }
   14869 _ACEOF
   14870 if ac_fn_c_try_link "$LINENO"; then :
   14871   eval $cacheid=yes
   14872 else
   14873   eval $cacheid=no
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext \
   14876     conftest$ac_exeext conftest.$ac_ext
   14877 fi
   14878 
   14879 
   14880 		CFLAGS="$xorg_testset_save_CFLAGS"
   14881 
   14882 		eval supported=\$$cacheid
   14883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14884 $as_echo "$supported" >&6; }
   14885 		if test "$supported" = "yes" ; then
   14886 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14887 			found="yes"
   14888 		fi
   14889 	fi
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 xorg_testset_save_CFLAGS="$CFLAGS"
   14906 
   14907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14912   $as_echo_n "(cached) " >&6
   14913 else
   14914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14915 /* end confdefs.h.  */
   14916 int i;
   14917 _ACEOF
   14918 if ac_fn_c_try_compile "$LINENO"; then :
   14919   xorg_cv_cc_flag_unknown_warning_option=yes
   14920 else
   14921   xorg_cv_cc_flag_unknown_warning_option=no
   14922 fi
   14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14924 fi
   14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14928 	CFLAGS="$xorg_testset_save_CFLAGS"
   14929 fi
   14930 
   14931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14934 	fi
   14935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14939   $as_echo_n "(cached) " >&6
   14940 else
   14941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14942 /* end confdefs.h.  */
   14943 int i;
   14944 _ACEOF
   14945 if ac_fn_c_try_compile "$LINENO"; then :
   14946   xorg_cv_cc_flag_unused_command_line_argument=yes
   14947 else
   14948   xorg_cv_cc_flag_unused_command_line_argument=no
   14949 fi
   14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14951 fi
   14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14955 	CFLAGS="$xorg_testset_save_CFLAGS"
   14956 fi
   14957 
   14958 found="no"
   14959 
   14960 	if test $found = "no" ; then
   14961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14963 		fi
   14964 
   14965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14967 		fi
   14968 
   14969 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14970 
   14971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14972 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14973 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14974 		if eval \${$cacheid+:} false; then :
   14975   $as_echo_n "(cached) " >&6
   14976 else
   14977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14978 /* end confdefs.h.  */
   14979 int i;
   14980 int
   14981 main ()
   14982 {
   14983 
   14984   ;
   14985   return 0;
   14986 }
   14987 _ACEOF
   14988 if ac_fn_c_try_link "$LINENO"; then :
   14989   eval $cacheid=yes
   14990 else
   14991   eval $cacheid=no
   14992 fi
   14993 rm -f core conftest.err conftest.$ac_objext \
   14994     conftest$ac_exeext conftest.$ac_ext
   14995 fi
   14996 
   14997 
   14998 		CFLAGS="$xorg_testset_save_CFLAGS"
   14999 
   15000 		eval supported=\$$cacheid
   15001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15002 $as_echo "$supported" >&6; }
   15003 		if test "$supported" = "yes" ; then
   15004 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15005 			found="yes"
   15006 		fi
   15007 	fi
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 xorg_testset_save_CFLAGS="$CFLAGS"
   15024 
   15025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15030   $as_echo_n "(cached) " >&6
   15031 else
   15032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15033 /* end confdefs.h.  */
   15034 int i;
   15035 _ACEOF
   15036 if ac_fn_c_try_compile "$LINENO"; then :
   15037   xorg_cv_cc_flag_unknown_warning_option=yes
   15038 else
   15039   xorg_cv_cc_flag_unknown_warning_option=no
   15040 fi
   15041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15042 fi
   15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15046 	CFLAGS="$xorg_testset_save_CFLAGS"
   15047 fi
   15048 
   15049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15052 	fi
   15053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15057   $as_echo_n "(cached) " >&6
   15058 else
   15059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15060 /* end confdefs.h.  */
   15061 int i;
   15062 _ACEOF
   15063 if ac_fn_c_try_compile "$LINENO"; then :
   15064   xorg_cv_cc_flag_unused_command_line_argument=yes
   15065 else
   15066   xorg_cv_cc_flag_unused_command_line_argument=no
   15067 fi
   15068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15069 fi
   15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15073 	CFLAGS="$xorg_testset_save_CFLAGS"
   15074 fi
   15075 
   15076 found="no"
   15077 
   15078 	if test $found = "no" ; then
   15079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15081 		fi
   15082 
   15083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15085 		fi
   15086 
   15087 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15088 
   15089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15090 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15091 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15092 		if eval \${$cacheid+:} false; then :
   15093   $as_echo_n "(cached) " >&6
   15094 else
   15095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15096 /* end confdefs.h.  */
   15097 int i;
   15098 int
   15099 main ()
   15100 {
   15101 
   15102   ;
   15103   return 0;
   15104 }
   15105 _ACEOF
   15106 if ac_fn_c_try_link "$LINENO"; then :
   15107   eval $cacheid=yes
   15108 else
   15109   eval $cacheid=no
   15110 fi
   15111 rm -f core conftest.err conftest.$ac_objext \
   15112     conftest$ac_exeext conftest.$ac_ext
   15113 fi
   15114 
   15115 
   15116 		CFLAGS="$xorg_testset_save_CFLAGS"
   15117 
   15118 		eval supported=\$$cacheid
   15119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15120 $as_echo "$supported" >&6; }
   15121 		if test "$supported" = "yes" ; then
   15122 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15123 			found="yes"
   15124 		fi
   15125 	fi
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 xorg_testset_save_CFLAGS="$CFLAGS"
   15142 
   15143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15148   $as_echo_n "(cached) " >&6
   15149 else
   15150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15151 /* end confdefs.h.  */
   15152 int i;
   15153 _ACEOF
   15154 if ac_fn_c_try_compile "$LINENO"; then :
   15155   xorg_cv_cc_flag_unknown_warning_option=yes
   15156 else
   15157   xorg_cv_cc_flag_unknown_warning_option=no
   15158 fi
   15159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15160 fi
   15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15164 	CFLAGS="$xorg_testset_save_CFLAGS"
   15165 fi
   15166 
   15167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15170 	fi
   15171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15175   $as_echo_n "(cached) " >&6
   15176 else
   15177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15178 /* end confdefs.h.  */
   15179 int i;
   15180 _ACEOF
   15181 if ac_fn_c_try_compile "$LINENO"; then :
   15182   xorg_cv_cc_flag_unused_command_line_argument=yes
   15183 else
   15184   xorg_cv_cc_flag_unused_command_line_argument=no
   15185 fi
   15186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15187 fi
   15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15191 	CFLAGS="$xorg_testset_save_CFLAGS"
   15192 fi
   15193 
   15194 found="no"
   15195 
   15196 	if test $found = "no" ; then
   15197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15199 		fi
   15200 
   15201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15203 		fi
   15204 
   15205 		CFLAGS="$CFLAGS -Wredundant-decls"
   15206 
   15207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15208 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   15209 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15210 		if eval \${$cacheid+:} false; then :
   15211   $as_echo_n "(cached) " >&6
   15212 else
   15213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15214 /* end confdefs.h.  */
   15215 int i;
   15216 int
   15217 main ()
   15218 {
   15219 
   15220   ;
   15221   return 0;
   15222 }
   15223 _ACEOF
   15224 if ac_fn_c_try_link "$LINENO"; then :
   15225   eval $cacheid=yes
   15226 else
   15227   eval $cacheid=no
   15228 fi
   15229 rm -f core conftest.err conftest.$ac_objext \
   15230     conftest$ac_exeext conftest.$ac_ext
   15231 fi
   15232 
   15233 
   15234 		CFLAGS="$xorg_testset_save_CFLAGS"
   15235 
   15236 		eval supported=\$$cacheid
   15237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15238 $as_echo "$supported" >&6; }
   15239 		if test "$supported" = "yes" ; then
   15240 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15241 			found="yes"
   15242 		fi
   15243 	fi
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 xorg_testset_save_CFLAGS="$CFLAGS"
   15260 
   15261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15266   $as_echo_n "(cached) " >&6
   15267 else
   15268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15269 /* end confdefs.h.  */
   15270 int i;
   15271 _ACEOF
   15272 if ac_fn_c_try_compile "$LINENO"; then :
   15273   xorg_cv_cc_flag_unknown_warning_option=yes
   15274 else
   15275   xorg_cv_cc_flag_unknown_warning_option=no
   15276 fi
   15277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15278 fi
   15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15282 	CFLAGS="$xorg_testset_save_CFLAGS"
   15283 fi
   15284 
   15285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15288 	fi
   15289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15293   $as_echo_n "(cached) " >&6
   15294 else
   15295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15296 /* end confdefs.h.  */
   15297 int i;
   15298 _ACEOF
   15299 if ac_fn_c_try_compile "$LINENO"; then :
   15300   xorg_cv_cc_flag_unused_command_line_argument=yes
   15301 else
   15302   xorg_cv_cc_flag_unused_command_line_argument=no
   15303 fi
   15304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15305 fi
   15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15309 	CFLAGS="$xorg_testset_save_CFLAGS"
   15310 fi
   15311 
   15312 found="no"
   15313 
   15314 	if test $found = "no" ; then
   15315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15317 		fi
   15318 
   15319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15321 		fi
   15322 
   15323 		CFLAGS="$CFLAGS -Wlogical-op"
   15324 
   15325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15326 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   15327 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15328 		if eval \${$cacheid+:} false; then :
   15329   $as_echo_n "(cached) " >&6
   15330 else
   15331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15332 /* end confdefs.h.  */
   15333 int i;
   15334 int
   15335 main ()
   15336 {
   15337 
   15338   ;
   15339   return 0;
   15340 }
   15341 _ACEOF
   15342 if ac_fn_c_try_link "$LINENO"; then :
   15343   eval $cacheid=yes
   15344 else
   15345   eval $cacheid=no
   15346 fi
   15347 rm -f core conftest.err conftest.$ac_objext \
   15348     conftest$ac_exeext conftest.$ac_ext
   15349 fi
   15350 
   15351 
   15352 		CFLAGS="$xorg_testset_save_CFLAGS"
   15353 
   15354 		eval supported=\$$cacheid
   15355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15356 $as_echo "$supported" >&6; }
   15357 		if test "$supported" = "yes" ; then
   15358 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15359 			found="yes"
   15360 		fi
   15361 	fi
   15362 
   15363 
   15364 
   15365 # These are currently disabled because they are noisy.  They will be enabled
   15366 # in the future once the codebase is sufficiently modernized to silence
   15367 # them.  For now, I don't want them to drown out the other warnings.
   15368 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15369 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15370 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15371 
   15372 # Turn some warnings into errors, so we don't accidently get successful builds
   15373 # when there are problems that should be fixed.
   15374 
   15375 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 xorg_testset_save_CFLAGS="$CFLAGS"
   15390 
   15391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15396   $as_echo_n "(cached) " >&6
   15397 else
   15398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15399 /* end confdefs.h.  */
   15400 int i;
   15401 _ACEOF
   15402 if ac_fn_c_try_compile "$LINENO"; then :
   15403   xorg_cv_cc_flag_unknown_warning_option=yes
   15404 else
   15405   xorg_cv_cc_flag_unknown_warning_option=no
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15408 fi
   15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15412 	CFLAGS="$xorg_testset_save_CFLAGS"
   15413 fi
   15414 
   15415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15418 	fi
   15419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15423   $as_echo_n "(cached) " >&6
   15424 else
   15425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15426 /* end confdefs.h.  */
   15427 int i;
   15428 _ACEOF
   15429 if ac_fn_c_try_compile "$LINENO"; then :
   15430   xorg_cv_cc_flag_unused_command_line_argument=yes
   15431 else
   15432   xorg_cv_cc_flag_unused_command_line_argument=no
   15433 fi
   15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15435 fi
   15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15439 	CFLAGS="$xorg_testset_save_CFLAGS"
   15440 fi
   15441 
   15442 found="no"
   15443 
   15444 	if test $found = "no" ; then
   15445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15447 		fi
   15448 
   15449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15451 		fi
   15452 
   15453 		CFLAGS="$CFLAGS -Werror=implicit"
   15454 
   15455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15456 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   15457 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15458 		if eval \${$cacheid+:} false; then :
   15459   $as_echo_n "(cached) " >&6
   15460 else
   15461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15462 /* end confdefs.h.  */
   15463 int i;
   15464 int
   15465 main ()
   15466 {
   15467 
   15468   ;
   15469   return 0;
   15470 }
   15471 _ACEOF
   15472 if ac_fn_c_try_link "$LINENO"; then :
   15473   eval $cacheid=yes
   15474 else
   15475   eval $cacheid=no
   15476 fi
   15477 rm -f core conftest.err conftest.$ac_objext \
   15478     conftest$ac_exeext conftest.$ac_ext
   15479 fi
   15480 
   15481 
   15482 		CFLAGS="$xorg_testset_save_CFLAGS"
   15483 
   15484 		eval supported=\$$cacheid
   15485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15486 $as_echo "$supported" >&6; }
   15487 		if test "$supported" = "yes" ; then
   15488 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15489 			found="yes"
   15490 		fi
   15491 	fi
   15492 
   15493 	if test $found = "no" ; then
   15494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15496 		fi
   15497 
   15498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15500 		fi
   15501 
   15502 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15503 
   15504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   15505 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15506 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15507 		if eval \${$cacheid+:} false; then :
   15508   $as_echo_n "(cached) " >&6
   15509 else
   15510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15511 /* end confdefs.h.  */
   15512 int i;
   15513 int
   15514 main ()
   15515 {
   15516 
   15517   ;
   15518   return 0;
   15519 }
   15520 _ACEOF
   15521 if ac_fn_c_try_link "$LINENO"; then :
   15522   eval $cacheid=yes
   15523 else
   15524   eval $cacheid=no
   15525 fi
   15526 rm -f core conftest.err conftest.$ac_objext \
   15527     conftest$ac_exeext conftest.$ac_ext
   15528 fi
   15529 
   15530 
   15531 		CFLAGS="$xorg_testset_save_CFLAGS"
   15532 
   15533 		eval supported=\$$cacheid
   15534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15535 $as_echo "$supported" >&6; }
   15536 		if test "$supported" = "yes" ; then
   15537 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15538 			found="yes"
   15539 		fi
   15540 	fi
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 xorg_testset_save_CFLAGS="$CFLAGS"
   15557 
   15558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15563   $as_echo_n "(cached) " >&6
   15564 else
   15565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15566 /* end confdefs.h.  */
   15567 int i;
   15568 _ACEOF
   15569 if ac_fn_c_try_compile "$LINENO"; then :
   15570   xorg_cv_cc_flag_unknown_warning_option=yes
   15571 else
   15572   xorg_cv_cc_flag_unknown_warning_option=no
   15573 fi
   15574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15575 fi
   15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15579 	CFLAGS="$xorg_testset_save_CFLAGS"
   15580 fi
   15581 
   15582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15585 	fi
   15586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15590   $as_echo_n "(cached) " >&6
   15591 else
   15592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15593 /* end confdefs.h.  */
   15594 int i;
   15595 _ACEOF
   15596 if ac_fn_c_try_compile "$LINENO"; then :
   15597   xorg_cv_cc_flag_unused_command_line_argument=yes
   15598 else
   15599   xorg_cv_cc_flag_unused_command_line_argument=no
   15600 fi
   15601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15602 fi
   15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15606 	CFLAGS="$xorg_testset_save_CFLAGS"
   15607 fi
   15608 
   15609 found="no"
   15610 
   15611 	if test $found = "no" ; then
   15612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15614 		fi
   15615 
   15616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15618 		fi
   15619 
   15620 		CFLAGS="$CFLAGS -Werror=nonnull"
   15621 
   15622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15623 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   15624 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15625 		if eval \${$cacheid+:} false; then :
   15626   $as_echo_n "(cached) " >&6
   15627 else
   15628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15629 /* end confdefs.h.  */
   15630 int i;
   15631 int
   15632 main ()
   15633 {
   15634 
   15635   ;
   15636   return 0;
   15637 }
   15638 _ACEOF
   15639 if ac_fn_c_try_link "$LINENO"; then :
   15640   eval $cacheid=yes
   15641 else
   15642   eval $cacheid=no
   15643 fi
   15644 rm -f core conftest.err conftest.$ac_objext \
   15645     conftest$ac_exeext conftest.$ac_ext
   15646 fi
   15647 
   15648 
   15649 		CFLAGS="$xorg_testset_save_CFLAGS"
   15650 
   15651 		eval supported=\$$cacheid
   15652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15653 $as_echo "$supported" >&6; }
   15654 		if test "$supported" = "yes" ; then
   15655 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15656 			found="yes"
   15657 		fi
   15658 	fi
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 xorg_testset_save_CFLAGS="$CFLAGS"
   15675 
   15676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15681   $as_echo_n "(cached) " >&6
   15682 else
   15683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 int i;
   15686 _ACEOF
   15687 if ac_fn_c_try_compile "$LINENO"; then :
   15688   xorg_cv_cc_flag_unknown_warning_option=yes
   15689 else
   15690   xorg_cv_cc_flag_unknown_warning_option=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15693 fi
   15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15697 	CFLAGS="$xorg_testset_save_CFLAGS"
   15698 fi
   15699 
   15700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 	fi
   15704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15708   $as_echo_n "(cached) " >&6
   15709 else
   15710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15711 /* end confdefs.h.  */
   15712 int i;
   15713 _ACEOF
   15714 if ac_fn_c_try_compile "$LINENO"; then :
   15715   xorg_cv_cc_flag_unused_command_line_argument=yes
   15716 else
   15717   xorg_cv_cc_flag_unused_command_line_argument=no
   15718 fi
   15719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15720 fi
   15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15724 	CFLAGS="$xorg_testset_save_CFLAGS"
   15725 fi
   15726 
   15727 found="no"
   15728 
   15729 	if test $found = "no" ; then
   15730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15732 		fi
   15733 
   15734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15736 		fi
   15737 
   15738 		CFLAGS="$CFLAGS -Werror=init-self"
   15739 
   15740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15741 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15742 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15743 		if eval \${$cacheid+:} false; then :
   15744   $as_echo_n "(cached) " >&6
   15745 else
   15746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15747 /* end confdefs.h.  */
   15748 int i;
   15749 int
   15750 main ()
   15751 {
   15752 
   15753   ;
   15754   return 0;
   15755 }
   15756 _ACEOF
   15757 if ac_fn_c_try_link "$LINENO"; then :
   15758   eval $cacheid=yes
   15759 else
   15760   eval $cacheid=no
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext \
   15763     conftest$ac_exeext conftest.$ac_ext
   15764 fi
   15765 
   15766 
   15767 		CFLAGS="$xorg_testset_save_CFLAGS"
   15768 
   15769 		eval supported=\$$cacheid
   15770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15771 $as_echo "$supported" >&6; }
   15772 		if test "$supported" = "yes" ; then
   15773 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15774 			found="yes"
   15775 		fi
   15776 	fi
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 xorg_testset_save_CFLAGS="$CFLAGS"
   15793 
   15794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15799   $as_echo_n "(cached) " >&6
   15800 else
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 _ACEOF
   15805 if ac_fn_c_try_compile "$LINENO"; then :
   15806   xorg_cv_cc_flag_unknown_warning_option=yes
   15807 else
   15808   xorg_cv_cc_flag_unknown_warning_option=no
   15809 fi
   15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15811 fi
   15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15815 	CFLAGS="$xorg_testset_save_CFLAGS"
   15816 fi
   15817 
   15818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15821 	fi
   15822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15826   $as_echo_n "(cached) " >&6
   15827 else
   15828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15829 /* end confdefs.h.  */
   15830 int i;
   15831 _ACEOF
   15832 if ac_fn_c_try_compile "$LINENO"; then :
   15833   xorg_cv_cc_flag_unused_command_line_argument=yes
   15834 else
   15835   xorg_cv_cc_flag_unused_command_line_argument=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15838 fi
   15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15842 	CFLAGS="$xorg_testset_save_CFLAGS"
   15843 fi
   15844 
   15845 found="no"
   15846 
   15847 	if test $found = "no" ; then
   15848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15850 		fi
   15851 
   15852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15854 		fi
   15855 
   15856 		CFLAGS="$CFLAGS -Werror=main"
   15857 
   15858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15859 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15860 		cacheid=xorg_cv_cc_flag__Werror_main
   15861 		if eval \${$cacheid+:} false; then :
   15862   $as_echo_n "(cached) " >&6
   15863 else
   15864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15865 /* end confdefs.h.  */
   15866 int i;
   15867 int
   15868 main ()
   15869 {
   15870 
   15871   ;
   15872   return 0;
   15873 }
   15874 _ACEOF
   15875 if ac_fn_c_try_link "$LINENO"; then :
   15876   eval $cacheid=yes
   15877 else
   15878   eval $cacheid=no
   15879 fi
   15880 rm -f core conftest.err conftest.$ac_objext \
   15881     conftest$ac_exeext conftest.$ac_ext
   15882 fi
   15883 
   15884 
   15885 		CFLAGS="$xorg_testset_save_CFLAGS"
   15886 
   15887 		eval supported=\$$cacheid
   15888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15889 $as_echo "$supported" >&6; }
   15890 		if test "$supported" = "yes" ; then
   15891 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15892 			found="yes"
   15893 		fi
   15894 	fi
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 xorg_testset_save_CFLAGS="$CFLAGS"
   15911 
   15912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15917   $as_echo_n "(cached) " >&6
   15918 else
   15919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15920 /* end confdefs.h.  */
   15921 int i;
   15922 _ACEOF
   15923 if ac_fn_c_try_compile "$LINENO"; then :
   15924   xorg_cv_cc_flag_unknown_warning_option=yes
   15925 else
   15926   xorg_cv_cc_flag_unknown_warning_option=no
   15927 fi
   15928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15929 fi
   15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15933 	CFLAGS="$xorg_testset_save_CFLAGS"
   15934 fi
   15935 
   15936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 	fi
   15940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15944   $as_echo_n "(cached) " >&6
   15945 else
   15946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 _ACEOF
   15950 if ac_fn_c_try_compile "$LINENO"; then :
   15951   xorg_cv_cc_flag_unused_command_line_argument=yes
   15952 else
   15953   xorg_cv_cc_flag_unused_command_line_argument=no
   15954 fi
   15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15956 fi
   15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15960 	CFLAGS="$xorg_testset_save_CFLAGS"
   15961 fi
   15962 
   15963 found="no"
   15964 
   15965 	if test $found = "no" ; then
   15966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15968 		fi
   15969 
   15970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15972 		fi
   15973 
   15974 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15975 
   15976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15977 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15978 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15979 		if eval \${$cacheid+:} false; then :
   15980   $as_echo_n "(cached) " >&6
   15981 else
   15982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15983 /* end confdefs.h.  */
   15984 int i;
   15985 int
   15986 main ()
   15987 {
   15988 
   15989   ;
   15990   return 0;
   15991 }
   15992 _ACEOF
   15993 if ac_fn_c_try_link "$LINENO"; then :
   15994   eval $cacheid=yes
   15995 else
   15996   eval $cacheid=no
   15997 fi
   15998 rm -f core conftest.err conftest.$ac_objext \
   15999     conftest$ac_exeext conftest.$ac_ext
   16000 fi
   16001 
   16002 
   16003 		CFLAGS="$xorg_testset_save_CFLAGS"
   16004 
   16005 		eval supported=\$$cacheid
   16006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16007 $as_echo "$supported" >&6; }
   16008 		if test "$supported" = "yes" ; then
   16009 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16010 			found="yes"
   16011 		fi
   16012 	fi
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 xorg_testset_save_CFLAGS="$CFLAGS"
   16029 
   16030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16035   $as_echo_n "(cached) " >&6
   16036 else
   16037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16038 /* end confdefs.h.  */
   16039 int i;
   16040 _ACEOF
   16041 if ac_fn_c_try_compile "$LINENO"; then :
   16042   xorg_cv_cc_flag_unknown_warning_option=yes
   16043 else
   16044   xorg_cv_cc_flag_unknown_warning_option=no
   16045 fi
   16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16047 fi
   16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16051 	CFLAGS="$xorg_testset_save_CFLAGS"
   16052 fi
   16053 
   16054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16057 	fi
   16058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16062   $as_echo_n "(cached) " >&6
   16063 else
   16064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16065 /* end confdefs.h.  */
   16066 int i;
   16067 _ACEOF
   16068 if ac_fn_c_try_compile "$LINENO"; then :
   16069   xorg_cv_cc_flag_unused_command_line_argument=yes
   16070 else
   16071   xorg_cv_cc_flag_unused_command_line_argument=no
   16072 fi
   16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16074 fi
   16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16078 	CFLAGS="$xorg_testset_save_CFLAGS"
   16079 fi
   16080 
   16081 found="no"
   16082 
   16083 	if test $found = "no" ; then
   16084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16086 		fi
   16087 
   16088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16090 		fi
   16091 
   16092 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16093 
   16094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16095 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   16096 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16097 		if eval \${$cacheid+:} false; then :
   16098   $as_echo_n "(cached) " >&6
   16099 else
   16100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16101 /* end confdefs.h.  */
   16102 int i;
   16103 int
   16104 main ()
   16105 {
   16106 
   16107   ;
   16108   return 0;
   16109 }
   16110 _ACEOF
   16111 if ac_fn_c_try_link "$LINENO"; then :
   16112   eval $cacheid=yes
   16113 else
   16114   eval $cacheid=no
   16115 fi
   16116 rm -f core conftest.err conftest.$ac_objext \
   16117     conftest$ac_exeext conftest.$ac_ext
   16118 fi
   16119 
   16120 
   16121 		CFLAGS="$xorg_testset_save_CFLAGS"
   16122 
   16123 		eval supported=\$$cacheid
   16124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16125 $as_echo "$supported" >&6; }
   16126 		if test "$supported" = "yes" ; then
   16127 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16128 			found="yes"
   16129 		fi
   16130 	fi
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 xorg_testset_save_CFLAGS="$CFLAGS"
   16147 
   16148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16153   $as_echo_n "(cached) " >&6
   16154 else
   16155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16156 /* end confdefs.h.  */
   16157 int i;
   16158 _ACEOF
   16159 if ac_fn_c_try_compile "$LINENO"; then :
   16160   xorg_cv_cc_flag_unknown_warning_option=yes
   16161 else
   16162   xorg_cv_cc_flag_unknown_warning_option=no
   16163 fi
   16164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16165 fi
   16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16169 	CFLAGS="$xorg_testset_save_CFLAGS"
   16170 fi
   16171 
   16172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16175 	fi
   16176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16180   $as_echo_n "(cached) " >&6
   16181 else
   16182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16183 /* end confdefs.h.  */
   16184 int i;
   16185 _ACEOF
   16186 if ac_fn_c_try_compile "$LINENO"; then :
   16187   xorg_cv_cc_flag_unused_command_line_argument=yes
   16188 else
   16189   xorg_cv_cc_flag_unused_command_line_argument=no
   16190 fi
   16191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16192 fi
   16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16196 	CFLAGS="$xorg_testset_save_CFLAGS"
   16197 fi
   16198 
   16199 found="no"
   16200 
   16201 	if test $found = "no" ; then
   16202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16204 		fi
   16205 
   16206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16208 		fi
   16209 
   16210 		CFLAGS="$CFLAGS -Werror=return-type"
   16211 
   16212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16213 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   16214 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16215 		if eval \${$cacheid+:} false; then :
   16216   $as_echo_n "(cached) " >&6
   16217 else
   16218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16219 /* end confdefs.h.  */
   16220 int i;
   16221 int
   16222 main ()
   16223 {
   16224 
   16225   ;
   16226   return 0;
   16227 }
   16228 _ACEOF
   16229 if ac_fn_c_try_link "$LINENO"; then :
   16230   eval $cacheid=yes
   16231 else
   16232   eval $cacheid=no
   16233 fi
   16234 rm -f core conftest.err conftest.$ac_objext \
   16235     conftest$ac_exeext conftest.$ac_ext
   16236 fi
   16237 
   16238 
   16239 		CFLAGS="$xorg_testset_save_CFLAGS"
   16240 
   16241 		eval supported=\$$cacheid
   16242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16243 $as_echo "$supported" >&6; }
   16244 		if test "$supported" = "yes" ; then
   16245 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16246 			found="yes"
   16247 		fi
   16248 	fi
   16249 
   16250 	if test $found = "no" ; then
   16251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 		fi
   16254 
   16255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16257 		fi
   16258 
   16259 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16260 
   16261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16262 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16263 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16264 		if eval \${$cacheid+:} false; then :
   16265   $as_echo_n "(cached) " >&6
   16266 else
   16267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16268 /* end confdefs.h.  */
   16269 int i;
   16270 int
   16271 main ()
   16272 {
   16273 
   16274   ;
   16275   return 0;
   16276 }
   16277 _ACEOF
   16278 if ac_fn_c_try_link "$LINENO"; then :
   16279   eval $cacheid=yes
   16280 else
   16281   eval $cacheid=no
   16282 fi
   16283 rm -f core conftest.err conftest.$ac_objext \
   16284     conftest$ac_exeext conftest.$ac_ext
   16285 fi
   16286 
   16287 
   16288 		CFLAGS="$xorg_testset_save_CFLAGS"
   16289 
   16290 		eval supported=\$$cacheid
   16291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16292 $as_echo "$supported" >&6; }
   16293 		if test "$supported" = "yes" ; then
   16294 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16295 			found="yes"
   16296 		fi
   16297 	fi
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 xorg_testset_save_CFLAGS="$CFLAGS"
   16314 
   16315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16320   $as_echo_n "(cached) " >&6
   16321 else
   16322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16323 /* end confdefs.h.  */
   16324 int i;
   16325 _ACEOF
   16326 if ac_fn_c_try_compile "$LINENO"; then :
   16327   xorg_cv_cc_flag_unknown_warning_option=yes
   16328 else
   16329   xorg_cv_cc_flag_unknown_warning_option=no
   16330 fi
   16331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16332 fi
   16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16336 	CFLAGS="$xorg_testset_save_CFLAGS"
   16337 fi
   16338 
   16339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16342 	fi
   16343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16350 /* end confdefs.h.  */
   16351 int i;
   16352 _ACEOF
   16353 if ac_fn_c_try_compile "$LINENO"; then :
   16354   xorg_cv_cc_flag_unused_command_line_argument=yes
   16355 else
   16356   xorg_cv_cc_flag_unused_command_line_argument=no
   16357 fi
   16358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16359 fi
   16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16363 	CFLAGS="$xorg_testset_save_CFLAGS"
   16364 fi
   16365 
   16366 found="no"
   16367 
   16368 	if test $found = "no" ; then
   16369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16371 		fi
   16372 
   16373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16375 		fi
   16376 
   16377 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16378 
   16379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16380 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   16381 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16382 		if eval \${$cacheid+:} false; then :
   16383   $as_echo_n "(cached) " >&6
   16384 else
   16385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16386 /* end confdefs.h.  */
   16387 int i;
   16388 int
   16389 main ()
   16390 {
   16391 
   16392   ;
   16393   return 0;
   16394 }
   16395 _ACEOF
   16396 if ac_fn_c_try_link "$LINENO"; then :
   16397   eval $cacheid=yes
   16398 else
   16399   eval $cacheid=no
   16400 fi
   16401 rm -f core conftest.err conftest.$ac_objext \
   16402     conftest$ac_exeext conftest.$ac_ext
   16403 fi
   16404 
   16405 
   16406 		CFLAGS="$xorg_testset_save_CFLAGS"
   16407 
   16408 		eval supported=\$$cacheid
   16409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16410 $as_echo "$supported" >&6; }
   16411 		if test "$supported" = "yes" ; then
   16412 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16413 			found="yes"
   16414 		fi
   16415 	fi
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 xorg_testset_save_CFLAGS="$CFLAGS"
   16432 
   16433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16438   $as_echo_n "(cached) " >&6
   16439 else
   16440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16441 /* end confdefs.h.  */
   16442 int i;
   16443 _ACEOF
   16444 if ac_fn_c_try_compile "$LINENO"; then :
   16445   xorg_cv_cc_flag_unknown_warning_option=yes
   16446 else
   16447   xorg_cv_cc_flag_unknown_warning_option=no
   16448 fi
   16449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16450 fi
   16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16454 	CFLAGS="$xorg_testset_save_CFLAGS"
   16455 fi
   16456 
   16457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16460 	fi
   16461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16465   $as_echo_n "(cached) " >&6
   16466 else
   16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16468 /* end confdefs.h.  */
   16469 int i;
   16470 _ACEOF
   16471 if ac_fn_c_try_compile "$LINENO"; then :
   16472   xorg_cv_cc_flag_unused_command_line_argument=yes
   16473 else
   16474   xorg_cv_cc_flag_unused_command_line_argument=no
   16475 fi
   16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16477 fi
   16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16481 	CFLAGS="$xorg_testset_save_CFLAGS"
   16482 fi
   16483 
   16484 found="no"
   16485 
   16486 	if test $found = "no" ; then
   16487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16489 		fi
   16490 
   16491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16493 		fi
   16494 
   16495 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16496 
   16497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16498 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   16499 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16500 		if eval \${$cacheid+:} false; then :
   16501   $as_echo_n "(cached) " >&6
   16502 else
   16503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16504 /* end confdefs.h.  */
   16505 int i;
   16506 int
   16507 main ()
   16508 {
   16509 
   16510   ;
   16511   return 0;
   16512 }
   16513 _ACEOF
   16514 if ac_fn_c_try_link "$LINENO"; then :
   16515   eval $cacheid=yes
   16516 else
   16517   eval $cacheid=no
   16518 fi
   16519 rm -f core conftest.err conftest.$ac_objext \
   16520     conftest$ac_exeext conftest.$ac_ext
   16521 fi
   16522 
   16523 
   16524 		CFLAGS="$xorg_testset_save_CFLAGS"
   16525 
   16526 		eval supported=\$$cacheid
   16527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16528 $as_echo "$supported" >&6; }
   16529 		if test "$supported" = "yes" ; then
   16530 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16531 			found="yes"
   16532 		fi
   16533 	fi
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 xorg_testset_save_CFLAGS="$CFLAGS"
   16550 
   16551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16556   $as_echo_n "(cached) " >&6
   16557 else
   16558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16559 /* end confdefs.h.  */
   16560 int i;
   16561 _ACEOF
   16562 if ac_fn_c_try_compile "$LINENO"; then :
   16563   xorg_cv_cc_flag_unknown_warning_option=yes
   16564 else
   16565   xorg_cv_cc_flag_unknown_warning_option=no
   16566 fi
   16567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16568 fi
   16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16572 	CFLAGS="$xorg_testset_save_CFLAGS"
   16573 fi
   16574 
   16575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16578 	fi
   16579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16583   $as_echo_n "(cached) " >&6
   16584 else
   16585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16586 /* end confdefs.h.  */
   16587 int i;
   16588 _ACEOF
   16589 if ac_fn_c_try_compile "$LINENO"; then :
   16590   xorg_cv_cc_flag_unused_command_line_argument=yes
   16591 else
   16592   xorg_cv_cc_flag_unused_command_line_argument=no
   16593 fi
   16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16595 fi
   16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16599 	CFLAGS="$xorg_testset_save_CFLAGS"
   16600 fi
   16601 
   16602 found="no"
   16603 
   16604 	if test $found = "no" ; then
   16605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16607 		fi
   16608 
   16609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16611 		fi
   16612 
   16613 		CFLAGS="$CFLAGS -Werror=write-strings"
   16614 
   16615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16616 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   16617 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16618 		if eval \${$cacheid+:} false; then :
   16619   $as_echo_n "(cached) " >&6
   16620 else
   16621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16622 /* end confdefs.h.  */
   16623 int i;
   16624 int
   16625 main ()
   16626 {
   16627 
   16628   ;
   16629   return 0;
   16630 }
   16631 _ACEOF
   16632 if ac_fn_c_try_link "$LINENO"; then :
   16633   eval $cacheid=yes
   16634 else
   16635   eval $cacheid=no
   16636 fi
   16637 rm -f core conftest.err conftest.$ac_objext \
   16638     conftest$ac_exeext conftest.$ac_ext
   16639 fi
   16640 
   16641 
   16642 		CFLAGS="$xorg_testset_save_CFLAGS"
   16643 
   16644 		eval supported=\$$cacheid
   16645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16646 $as_echo "$supported" >&6; }
   16647 		if test "$supported" = "yes" ; then
   16648 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16649 			found="yes"
   16650 		fi
   16651 	fi
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 xorg_testset_save_CFLAGS="$CFLAGS"
   16668 
   16669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16674   $as_echo_n "(cached) " >&6
   16675 else
   16676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16677 /* end confdefs.h.  */
   16678 int i;
   16679 _ACEOF
   16680 if ac_fn_c_try_compile "$LINENO"; then :
   16681   xorg_cv_cc_flag_unknown_warning_option=yes
   16682 else
   16683   xorg_cv_cc_flag_unknown_warning_option=no
   16684 fi
   16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16686 fi
   16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16690 	CFLAGS="$xorg_testset_save_CFLAGS"
   16691 fi
   16692 
   16693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16696 	fi
   16697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16701   $as_echo_n "(cached) " >&6
   16702 else
   16703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16704 /* end confdefs.h.  */
   16705 int i;
   16706 _ACEOF
   16707 if ac_fn_c_try_compile "$LINENO"; then :
   16708   xorg_cv_cc_flag_unused_command_line_argument=yes
   16709 else
   16710   xorg_cv_cc_flag_unused_command_line_argument=no
   16711 fi
   16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16713 fi
   16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16717 	CFLAGS="$xorg_testset_save_CFLAGS"
   16718 fi
   16719 
   16720 found="no"
   16721 
   16722 	if test $found = "no" ; then
   16723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16725 		fi
   16726 
   16727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16729 		fi
   16730 
   16731 		CFLAGS="$CFLAGS -Werror=address"
   16732 
   16733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16734 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16735 		cacheid=xorg_cv_cc_flag__Werror_address
   16736 		if eval \${$cacheid+:} false; then :
   16737   $as_echo_n "(cached) " >&6
   16738 else
   16739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16740 /* end confdefs.h.  */
   16741 int i;
   16742 int
   16743 main ()
   16744 {
   16745 
   16746   ;
   16747   return 0;
   16748 }
   16749 _ACEOF
   16750 if ac_fn_c_try_link "$LINENO"; then :
   16751   eval $cacheid=yes
   16752 else
   16753   eval $cacheid=no
   16754 fi
   16755 rm -f core conftest.err conftest.$ac_objext \
   16756     conftest$ac_exeext conftest.$ac_ext
   16757 fi
   16758 
   16759 
   16760 		CFLAGS="$xorg_testset_save_CFLAGS"
   16761 
   16762 		eval supported=\$$cacheid
   16763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16764 $as_echo "$supported" >&6; }
   16765 		if test "$supported" = "yes" ; then
   16766 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16767 			found="yes"
   16768 		fi
   16769 	fi
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 xorg_testset_save_CFLAGS="$CFLAGS"
   16786 
   16787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16792   $as_echo_n "(cached) " >&6
   16793 else
   16794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16795 /* end confdefs.h.  */
   16796 int i;
   16797 _ACEOF
   16798 if ac_fn_c_try_compile "$LINENO"; then :
   16799   xorg_cv_cc_flag_unknown_warning_option=yes
   16800 else
   16801   xorg_cv_cc_flag_unknown_warning_option=no
   16802 fi
   16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16804 fi
   16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16808 	CFLAGS="$xorg_testset_save_CFLAGS"
   16809 fi
   16810 
   16811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16814 	fi
   16815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16819   $as_echo_n "(cached) " >&6
   16820 else
   16821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16822 /* end confdefs.h.  */
   16823 int i;
   16824 _ACEOF
   16825 if ac_fn_c_try_compile "$LINENO"; then :
   16826   xorg_cv_cc_flag_unused_command_line_argument=yes
   16827 else
   16828   xorg_cv_cc_flag_unused_command_line_argument=no
   16829 fi
   16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16831 fi
   16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16835 	CFLAGS="$xorg_testset_save_CFLAGS"
   16836 fi
   16837 
   16838 found="no"
   16839 
   16840 	if test $found = "no" ; then
   16841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16843 		fi
   16844 
   16845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16847 		fi
   16848 
   16849 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16850 
   16851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16852 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16853 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16854 		if eval \${$cacheid+:} false; then :
   16855   $as_echo_n "(cached) " >&6
   16856 else
   16857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16858 /* end confdefs.h.  */
   16859 int i;
   16860 int
   16861 main ()
   16862 {
   16863 
   16864   ;
   16865   return 0;
   16866 }
   16867 _ACEOF
   16868 if ac_fn_c_try_link "$LINENO"; then :
   16869   eval $cacheid=yes
   16870 else
   16871   eval $cacheid=no
   16872 fi
   16873 rm -f core conftest.err conftest.$ac_objext \
   16874     conftest$ac_exeext conftest.$ac_ext
   16875 fi
   16876 
   16877 
   16878 		CFLAGS="$xorg_testset_save_CFLAGS"
   16879 
   16880 		eval supported=\$$cacheid
   16881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16882 $as_echo "$supported" >&6; }
   16883 		if test "$supported" = "yes" ; then
   16884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16885 			found="yes"
   16886 		fi
   16887 	fi
   16888 
   16889 	if test $found = "no" ; then
   16890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16892 		fi
   16893 
   16894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16896 		fi
   16897 
   16898 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16899 
   16900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16901 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16902 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16903 		if eval \${$cacheid+:} false; then :
   16904   $as_echo_n "(cached) " >&6
   16905 else
   16906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16907 /* end confdefs.h.  */
   16908 int i;
   16909 int
   16910 main ()
   16911 {
   16912 
   16913   ;
   16914   return 0;
   16915 }
   16916 _ACEOF
   16917 if ac_fn_c_try_link "$LINENO"; then :
   16918   eval $cacheid=yes
   16919 else
   16920   eval $cacheid=no
   16921 fi
   16922 rm -f core conftest.err conftest.$ac_objext \
   16923     conftest$ac_exeext conftest.$ac_ext
   16924 fi
   16925 
   16926 
   16927 		CFLAGS="$xorg_testset_save_CFLAGS"
   16928 
   16929 		eval supported=\$$cacheid
   16930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16931 $as_echo "$supported" >&6; }
   16932 		if test "$supported" = "yes" ; then
   16933 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16934 			found="yes"
   16935 		fi
   16936 	fi
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 xorg_testset_save_CFLAGS="$CFLAGS"
   16953 
   16954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16959   $as_echo_n "(cached) " >&6
   16960 else
   16961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16962 /* end confdefs.h.  */
   16963 int i;
   16964 _ACEOF
   16965 if ac_fn_c_try_compile "$LINENO"; then :
   16966   xorg_cv_cc_flag_unknown_warning_option=yes
   16967 else
   16968   xorg_cv_cc_flag_unknown_warning_option=no
   16969 fi
   16970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16971 fi
   16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16975 	CFLAGS="$xorg_testset_save_CFLAGS"
   16976 fi
   16977 
   16978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16981 	fi
   16982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16986   $as_echo_n "(cached) " >&6
   16987 else
   16988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16989 /* end confdefs.h.  */
   16990 int i;
   16991 _ACEOF
   16992 if ac_fn_c_try_compile "$LINENO"; then :
   16993   xorg_cv_cc_flag_unused_command_line_argument=yes
   16994 else
   16995   xorg_cv_cc_flag_unused_command_line_argument=no
   16996 fi
   16997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16998 fi
   16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17002 	CFLAGS="$xorg_testset_save_CFLAGS"
   17003 fi
   17004 
   17005 found="no"
   17006 
   17007 	if test $found = "no" ; then
   17008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17010 		fi
   17011 
   17012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17014 		fi
   17015 
   17016 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17017 
   17018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17019 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17020 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17021 		if eval \${$cacheid+:} false; then :
   17022   $as_echo_n "(cached) " >&6
   17023 else
   17024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17025 /* end confdefs.h.  */
   17026 int i;
   17027 int
   17028 main ()
   17029 {
   17030 
   17031   ;
   17032   return 0;
   17033 }
   17034 _ACEOF
   17035 if ac_fn_c_try_link "$LINENO"; then :
   17036   eval $cacheid=yes
   17037 else
   17038   eval $cacheid=no
   17039 fi
   17040 rm -f core conftest.err conftest.$ac_objext \
   17041     conftest$ac_exeext conftest.$ac_ext
   17042 fi
   17043 
   17044 
   17045 		CFLAGS="$xorg_testset_save_CFLAGS"
   17046 
   17047 		eval supported=\$$cacheid
   17048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17049 $as_echo "$supported" >&6; }
   17050 		if test "$supported" = "yes" ; then
   17051 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17052 			found="yes"
   17053 		fi
   17054 	fi
   17055 
   17056  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17057 else
   17058 { $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
   17059 $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;}
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 xorg_testset_save_CFLAGS="$CFLAGS"
   17074 
   17075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17078 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17079 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17080   $as_echo_n "(cached) " >&6
   17081 else
   17082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17083 /* end confdefs.h.  */
   17084 int i;
   17085 _ACEOF
   17086 if ac_fn_c_try_compile "$LINENO"; then :
   17087   xorg_cv_cc_flag_unknown_warning_option=yes
   17088 else
   17089   xorg_cv_cc_flag_unknown_warning_option=no
   17090 fi
   17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17092 fi
   17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17094 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17096 	CFLAGS="$xorg_testset_save_CFLAGS"
   17097 fi
   17098 
   17099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17102 	fi
   17103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17105 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17106 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17107   $as_echo_n "(cached) " >&6
   17108 else
   17109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17110 /* end confdefs.h.  */
   17111 int i;
   17112 _ACEOF
   17113 if ac_fn_c_try_compile "$LINENO"; then :
   17114   xorg_cv_cc_flag_unused_command_line_argument=yes
   17115 else
   17116   xorg_cv_cc_flag_unused_command_line_argument=no
   17117 fi
   17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17119 fi
   17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17121 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17123 	CFLAGS="$xorg_testset_save_CFLAGS"
   17124 fi
   17125 
   17126 found="no"
   17127 
   17128 	if test $found = "no" ; then
   17129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17131 		fi
   17132 
   17133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17135 		fi
   17136 
   17137 		CFLAGS="$CFLAGS -Wimplicit"
   17138 
   17139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17140 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   17141 		cacheid=xorg_cv_cc_flag__Wimplicit
   17142 		if eval \${$cacheid+:} false; then :
   17143   $as_echo_n "(cached) " >&6
   17144 else
   17145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17146 /* end confdefs.h.  */
   17147 int i;
   17148 int
   17149 main ()
   17150 {
   17151 
   17152   ;
   17153   return 0;
   17154 }
   17155 _ACEOF
   17156 if ac_fn_c_try_link "$LINENO"; then :
   17157   eval $cacheid=yes
   17158 else
   17159   eval $cacheid=no
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext \
   17162     conftest$ac_exeext conftest.$ac_ext
   17163 fi
   17164 
   17165 
   17166 		CFLAGS="$xorg_testset_save_CFLAGS"
   17167 
   17168 		eval supported=\$$cacheid
   17169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17170 $as_echo "$supported" >&6; }
   17171 		if test "$supported" = "yes" ; then
   17172 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17173 			found="yes"
   17174 		fi
   17175 	fi
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 xorg_testset_save_CFLAGS="$CFLAGS"
   17192 
   17193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17196 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17197 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17198   $as_echo_n "(cached) " >&6
   17199 else
   17200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17201 /* end confdefs.h.  */
   17202 int i;
   17203 _ACEOF
   17204 if ac_fn_c_try_compile "$LINENO"; then :
   17205   xorg_cv_cc_flag_unknown_warning_option=yes
   17206 else
   17207   xorg_cv_cc_flag_unknown_warning_option=no
   17208 fi
   17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17210 fi
   17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17212 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17214 	CFLAGS="$xorg_testset_save_CFLAGS"
   17215 fi
   17216 
   17217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17220 	fi
   17221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17223 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17224 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17225   $as_echo_n "(cached) " >&6
   17226 else
   17227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17228 /* end confdefs.h.  */
   17229 int i;
   17230 _ACEOF
   17231 if ac_fn_c_try_compile "$LINENO"; then :
   17232   xorg_cv_cc_flag_unused_command_line_argument=yes
   17233 else
   17234   xorg_cv_cc_flag_unused_command_line_argument=no
   17235 fi
   17236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17237 fi
   17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17239 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17241 	CFLAGS="$xorg_testset_save_CFLAGS"
   17242 fi
   17243 
   17244 found="no"
   17245 
   17246 	if test $found = "no" ; then
   17247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17249 		fi
   17250 
   17251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17253 		fi
   17254 
   17255 		CFLAGS="$CFLAGS -Wnonnull"
   17256 
   17257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17258 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   17259 		cacheid=xorg_cv_cc_flag__Wnonnull
   17260 		if eval \${$cacheid+:} false; then :
   17261   $as_echo_n "(cached) " >&6
   17262 else
   17263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17264 /* end confdefs.h.  */
   17265 int i;
   17266 int
   17267 main ()
   17268 {
   17269 
   17270   ;
   17271   return 0;
   17272 }
   17273 _ACEOF
   17274 if ac_fn_c_try_link "$LINENO"; then :
   17275   eval $cacheid=yes
   17276 else
   17277   eval $cacheid=no
   17278 fi
   17279 rm -f core conftest.err conftest.$ac_objext \
   17280     conftest$ac_exeext conftest.$ac_ext
   17281 fi
   17282 
   17283 
   17284 		CFLAGS="$xorg_testset_save_CFLAGS"
   17285 
   17286 		eval supported=\$$cacheid
   17287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17288 $as_echo "$supported" >&6; }
   17289 		if test "$supported" = "yes" ; then
   17290 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17291 			found="yes"
   17292 		fi
   17293 	fi
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 xorg_testset_save_CFLAGS="$CFLAGS"
   17310 
   17311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17314 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17315 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17316   $as_echo_n "(cached) " >&6
   17317 else
   17318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17319 /* end confdefs.h.  */
   17320 int i;
   17321 _ACEOF
   17322 if ac_fn_c_try_compile "$LINENO"; then :
   17323   xorg_cv_cc_flag_unknown_warning_option=yes
   17324 else
   17325   xorg_cv_cc_flag_unknown_warning_option=no
   17326 fi
   17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17328 fi
   17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17330 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17332 	CFLAGS="$xorg_testset_save_CFLAGS"
   17333 fi
   17334 
   17335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17338 	fi
   17339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17341 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17342 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17343   $as_echo_n "(cached) " >&6
   17344 else
   17345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17346 /* end confdefs.h.  */
   17347 int i;
   17348 _ACEOF
   17349 if ac_fn_c_try_compile "$LINENO"; then :
   17350   xorg_cv_cc_flag_unused_command_line_argument=yes
   17351 else
   17352   xorg_cv_cc_flag_unused_command_line_argument=no
   17353 fi
   17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17355 fi
   17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17357 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17359 	CFLAGS="$xorg_testset_save_CFLAGS"
   17360 fi
   17361 
   17362 found="no"
   17363 
   17364 	if test $found = "no" ; then
   17365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17367 		fi
   17368 
   17369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17371 		fi
   17372 
   17373 		CFLAGS="$CFLAGS -Winit-self"
   17374 
   17375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17376 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   17377 		cacheid=xorg_cv_cc_flag__Winit_self
   17378 		if eval \${$cacheid+:} false; then :
   17379   $as_echo_n "(cached) " >&6
   17380 else
   17381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17382 /* end confdefs.h.  */
   17383 int i;
   17384 int
   17385 main ()
   17386 {
   17387 
   17388   ;
   17389   return 0;
   17390 }
   17391 _ACEOF
   17392 if ac_fn_c_try_link "$LINENO"; then :
   17393   eval $cacheid=yes
   17394 else
   17395   eval $cacheid=no
   17396 fi
   17397 rm -f core conftest.err conftest.$ac_objext \
   17398     conftest$ac_exeext conftest.$ac_ext
   17399 fi
   17400 
   17401 
   17402 		CFLAGS="$xorg_testset_save_CFLAGS"
   17403 
   17404 		eval supported=\$$cacheid
   17405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17406 $as_echo "$supported" >&6; }
   17407 		if test "$supported" = "yes" ; then
   17408 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17409 			found="yes"
   17410 		fi
   17411 	fi
   17412 
   17413 
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 xorg_testset_save_CFLAGS="$CFLAGS"
   17428 
   17429 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17430 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17432 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17433 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17434   $as_echo_n "(cached) " >&6
   17435 else
   17436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17437 /* end confdefs.h.  */
   17438 int i;
   17439 _ACEOF
   17440 if ac_fn_c_try_compile "$LINENO"; then :
   17441   xorg_cv_cc_flag_unknown_warning_option=yes
   17442 else
   17443   xorg_cv_cc_flag_unknown_warning_option=no
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17446 fi
   17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17448 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17449 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17450 	CFLAGS="$xorg_testset_save_CFLAGS"
   17451 fi
   17452 
   17453 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17454 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17455 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17456 	fi
   17457 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17459 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17460 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17461   $as_echo_n "(cached) " >&6
   17462 else
   17463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17464 /* end confdefs.h.  */
   17465 int i;
   17466 _ACEOF
   17467 if ac_fn_c_try_compile "$LINENO"; then :
   17468   xorg_cv_cc_flag_unused_command_line_argument=yes
   17469 else
   17470   xorg_cv_cc_flag_unused_command_line_argument=no
   17471 fi
   17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17473 fi
   17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17475 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17477 	CFLAGS="$xorg_testset_save_CFLAGS"
   17478 fi
   17479 
   17480 found="no"
   17481 
   17482 	if test $found = "no" ; then
   17483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17485 		fi
   17486 
   17487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17489 		fi
   17490 
   17491 		CFLAGS="$CFLAGS -Wmain"
   17492 
   17493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17494 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   17495 		cacheid=xorg_cv_cc_flag__Wmain
   17496 		if eval \${$cacheid+:} false; then :
   17497   $as_echo_n "(cached) " >&6
   17498 else
   17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17500 /* end confdefs.h.  */
   17501 int i;
   17502 int
   17503 main ()
   17504 {
   17505 
   17506   ;
   17507   return 0;
   17508 }
   17509 _ACEOF
   17510 if ac_fn_c_try_link "$LINENO"; then :
   17511   eval $cacheid=yes
   17512 else
   17513   eval $cacheid=no
   17514 fi
   17515 rm -f core conftest.err conftest.$ac_objext \
   17516     conftest$ac_exeext conftest.$ac_ext
   17517 fi
   17518 
   17519 
   17520 		CFLAGS="$xorg_testset_save_CFLAGS"
   17521 
   17522 		eval supported=\$$cacheid
   17523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17524 $as_echo "$supported" >&6; }
   17525 		if test "$supported" = "yes" ; then
   17526 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17527 			found="yes"
   17528 		fi
   17529 	fi
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 xorg_testset_save_CFLAGS="$CFLAGS"
   17546 
   17547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17550 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17551 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17552   $as_echo_n "(cached) " >&6
   17553 else
   17554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17555 /* end confdefs.h.  */
   17556 int i;
   17557 _ACEOF
   17558 if ac_fn_c_try_compile "$LINENO"; then :
   17559   xorg_cv_cc_flag_unknown_warning_option=yes
   17560 else
   17561   xorg_cv_cc_flag_unknown_warning_option=no
   17562 fi
   17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17564 fi
   17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17566 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17568 	CFLAGS="$xorg_testset_save_CFLAGS"
   17569 fi
   17570 
   17571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17574 	fi
   17575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17577 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17578 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17579   $as_echo_n "(cached) " >&6
   17580 else
   17581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17582 /* end confdefs.h.  */
   17583 int i;
   17584 _ACEOF
   17585 if ac_fn_c_try_compile "$LINENO"; then :
   17586   xorg_cv_cc_flag_unused_command_line_argument=yes
   17587 else
   17588   xorg_cv_cc_flag_unused_command_line_argument=no
   17589 fi
   17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17591 fi
   17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17593 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17595 	CFLAGS="$xorg_testset_save_CFLAGS"
   17596 fi
   17597 
   17598 found="no"
   17599 
   17600 	if test $found = "no" ; then
   17601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17603 		fi
   17604 
   17605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17607 		fi
   17608 
   17609 		CFLAGS="$CFLAGS -Wmissing-braces"
   17610 
   17611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17612 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   17613 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17614 		if eval \${$cacheid+:} false; then :
   17615   $as_echo_n "(cached) " >&6
   17616 else
   17617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17618 /* end confdefs.h.  */
   17619 int i;
   17620 int
   17621 main ()
   17622 {
   17623 
   17624   ;
   17625   return 0;
   17626 }
   17627 _ACEOF
   17628 if ac_fn_c_try_link "$LINENO"; then :
   17629   eval $cacheid=yes
   17630 else
   17631   eval $cacheid=no
   17632 fi
   17633 rm -f core conftest.err conftest.$ac_objext \
   17634     conftest$ac_exeext conftest.$ac_ext
   17635 fi
   17636 
   17637 
   17638 		CFLAGS="$xorg_testset_save_CFLAGS"
   17639 
   17640 		eval supported=\$$cacheid
   17641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17642 $as_echo "$supported" >&6; }
   17643 		if test "$supported" = "yes" ; then
   17644 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17645 			found="yes"
   17646 		fi
   17647 	fi
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 xorg_testset_save_CFLAGS="$CFLAGS"
   17664 
   17665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17668 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17669 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17670   $as_echo_n "(cached) " >&6
   17671 else
   17672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17673 /* end confdefs.h.  */
   17674 int i;
   17675 _ACEOF
   17676 if ac_fn_c_try_compile "$LINENO"; then :
   17677   xorg_cv_cc_flag_unknown_warning_option=yes
   17678 else
   17679   xorg_cv_cc_flag_unknown_warning_option=no
   17680 fi
   17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17682 fi
   17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17684 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17686 	CFLAGS="$xorg_testset_save_CFLAGS"
   17687 fi
   17688 
   17689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17692 	fi
   17693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17695 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17696 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17697   $as_echo_n "(cached) " >&6
   17698 else
   17699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17700 /* end confdefs.h.  */
   17701 int i;
   17702 _ACEOF
   17703 if ac_fn_c_try_compile "$LINENO"; then :
   17704   xorg_cv_cc_flag_unused_command_line_argument=yes
   17705 else
   17706   xorg_cv_cc_flag_unused_command_line_argument=no
   17707 fi
   17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17709 fi
   17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17711 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17713 	CFLAGS="$xorg_testset_save_CFLAGS"
   17714 fi
   17715 
   17716 found="no"
   17717 
   17718 	if test $found = "no" ; then
   17719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17721 		fi
   17722 
   17723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17725 		fi
   17726 
   17727 		CFLAGS="$CFLAGS -Wsequence-point"
   17728 
   17729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17730 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17731 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17732 		if eval \${$cacheid+:} false; then :
   17733   $as_echo_n "(cached) " >&6
   17734 else
   17735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17736 /* end confdefs.h.  */
   17737 int i;
   17738 int
   17739 main ()
   17740 {
   17741 
   17742   ;
   17743   return 0;
   17744 }
   17745 _ACEOF
   17746 if ac_fn_c_try_link "$LINENO"; then :
   17747   eval $cacheid=yes
   17748 else
   17749   eval $cacheid=no
   17750 fi
   17751 rm -f core conftest.err conftest.$ac_objext \
   17752     conftest$ac_exeext conftest.$ac_ext
   17753 fi
   17754 
   17755 
   17756 		CFLAGS="$xorg_testset_save_CFLAGS"
   17757 
   17758 		eval supported=\$$cacheid
   17759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17760 $as_echo "$supported" >&6; }
   17761 		if test "$supported" = "yes" ; then
   17762 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17763 			found="yes"
   17764 		fi
   17765 	fi
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 xorg_testset_save_CFLAGS="$CFLAGS"
   17782 
   17783 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17784 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17786 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17787 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17788   $as_echo_n "(cached) " >&6
   17789 else
   17790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17791 /* end confdefs.h.  */
   17792 int i;
   17793 _ACEOF
   17794 if ac_fn_c_try_compile "$LINENO"; then :
   17795   xorg_cv_cc_flag_unknown_warning_option=yes
   17796 else
   17797   xorg_cv_cc_flag_unknown_warning_option=no
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17800 fi
   17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17802 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17804 	CFLAGS="$xorg_testset_save_CFLAGS"
   17805 fi
   17806 
   17807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17810 	fi
   17811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17813 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17814 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17815   $as_echo_n "(cached) " >&6
   17816 else
   17817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17818 /* end confdefs.h.  */
   17819 int i;
   17820 _ACEOF
   17821 if ac_fn_c_try_compile "$LINENO"; then :
   17822   xorg_cv_cc_flag_unused_command_line_argument=yes
   17823 else
   17824   xorg_cv_cc_flag_unused_command_line_argument=no
   17825 fi
   17826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17827 fi
   17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17829 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17831 	CFLAGS="$xorg_testset_save_CFLAGS"
   17832 fi
   17833 
   17834 found="no"
   17835 
   17836 	if test $found = "no" ; then
   17837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17839 		fi
   17840 
   17841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17843 		fi
   17844 
   17845 		CFLAGS="$CFLAGS -Wreturn-type"
   17846 
   17847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17848 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17849 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17850 		if eval \${$cacheid+:} false; then :
   17851   $as_echo_n "(cached) " >&6
   17852 else
   17853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17854 /* end confdefs.h.  */
   17855 int i;
   17856 int
   17857 main ()
   17858 {
   17859 
   17860   ;
   17861   return 0;
   17862 }
   17863 _ACEOF
   17864 if ac_fn_c_try_link "$LINENO"; then :
   17865   eval $cacheid=yes
   17866 else
   17867   eval $cacheid=no
   17868 fi
   17869 rm -f core conftest.err conftest.$ac_objext \
   17870     conftest$ac_exeext conftest.$ac_ext
   17871 fi
   17872 
   17873 
   17874 		CFLAGS="$xorg_testset_save_CFLAGS"
   17875 
   17876 		eval supported=\$$cacheid
   17877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17878 $as_echo "$supported" >&6; }
   17879 		if test "$supported" = "yes" ; then
   17880 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17881 			found="yes"
   17882 		fi
   17883 	fi
   17884 
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 xorg_testset_save_CFLAGS="$CFLAGS"
   17900 
   17901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17906   $as_echo_n "(cached) " >&6
   17907 else
   17908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17909 /* end confdefs.h.  */
   17910 int i;
   17911 _ACEOF
   17912 if ac_fn_c_try_compile "$LINENO"; then :
   17913   xorg_cv_cc_flag_unknown_warning_option=yes
   17914 else
   17915   xorg_cv_cc_flag_unknown_warning_option=no
   17916 fi
   17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17918 fi
   17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17922 	CFLAGS="$xorg_testset_save_CFLAGS"
   17923 fi
   17924 
   17925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17928 	fi
   17929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17933   $as_echo_n "(cached) " >&6
   17934 else
   17935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17936 /* end confdefs.h.  */
   17937 int i;
   17938 _ACEOF
   17939 if ac_fn_c_try_compile "$LINENO"; then :
   17940   xorg_cv_cc_flag_unused_command_line_argument=yes
   17941 else
   17942   xorg_cv_cc_flag_unused_command_line_argument=no
   17943 fi
   17944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17945 fi
   17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17948 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17949 	CFLAGS="$xorg_testset_save_CFLAGS"
   17950 fi
   17951 
   17952 found="no"
   17953 
   17954 	if test $found = "no" ; then
   17955 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17957 		fi
   17958 
   17959 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17961 		fi
   17962 
   17963 		CFLAGS="$CFLAGS -Wtrigraphs"
   17964 
   17965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17966 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17967 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17968 		if eval \${$cacheid+:} false; then :
   17969   $as_echo_n "(cached) " >&6
   17970 else
   17971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17972 /* end confdefs.h.  */
   17973 int i;
   17974 int
   17975 main ()
   17976 {
   17977 
   17978   ;
   17979   return 0;
   17980 }
   17981 _ACEOF
   17982 if ac_fn_c_try_link "$LINENO"; then :
   17983   eval $cacheid=yes
   17984 else
   17985   eval $cacheid=no
   17986 fi
   17987 rm -f core conftest.err conftest.$ac_objext \
   17988     conftest$ac_exeext conftest.$ac_ext
   17989 fi
   17990 
   17991 
   17992 		CFLAGS="$xorg_testset_save_CFLAGS"
   17993 
   17994 		eval supported=\$$cacheid
   17995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17996 $as_echo "$supported" >&6; }
   17997 		if test "$supported" = "yes" ; then
   17998 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17999 			found="yes"
   18000 		fi
   18001 	fi
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 xorg_testset_save_CFLAGS="$CFLAGS"
   18018 
   18019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18022 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18023 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18024   $as_echo_n "(cached) " >&6
   18025 else
   18026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18027 /* end confdefs.h.  */
   18028 int i;
   18029 _ACEOF
   18030 if ac_fn_c_try_compile "$LINENO"; then :
   18031   xorg_cv_cc_flag_unknown_warning_option=yes
   18032 else
   18033   xorg_cv_cc_flag_unknown_warning_option=no
   18034 fi
   18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18036 fi
   18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18038 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18040 	CFLAGS="$xorg_testset_save_CFLAGS"
   18041 fi
   18042 
   18043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18046 	fi
   18047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18049 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18050 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18051   $as_echo_n "(cached) " >&6
   18052 else
   18053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18054 /* end confdefs.h.  */
   18055 int i;
   18056 _ACEOF
   18057 if ac_fn_c_try_compile "$LINENO"; then :
   18058   xorg_cv_cc_flag_unused_command_line_argument=yes
   18059 else
   18060   xorg_cv_cc_flag_unused_command_line_argument=no
   18061 fi
   18062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18063 fi
   18064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18065 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18067 	CFLAGS="$xorg_testset_save_CFLAGS"
   18068 fi
   18069 
   18070 found="no"
   18071 
   18072 	if test $found = "no" ; then
   18073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18075 		fi
   18076 
   18077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18079 		fi
   18080 
   18081 		CFLAGS="$CFLAGS -Warray-bounds"
   18082 
   18083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18084 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   18085 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18086 		if eval \${$cacheid+:} false; then :
   18087   $as_echo_n "(cached) " >&6
   18088 else
   18089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18090 /* end confdefs.h.  */
   18091 int i;
   18092 int
   18093 main ()
   18094 {
   18095 
   18096   ;
   18097   return 0;
   18098 }
   18099 _ACEOF
   18100 if ac_fn_c_try_link "$LINENO"; then :
   18101   eval $cacheid=yes
   18102 else
   18103   eval $cacheid=no
   18104 fi
   18105 rm -f core conftest.err conftest.$ac_objext \
   18106     conftest$ac_exeext conftest.$ac_ext
   18107 fi
   18108 
   18109 
   18110 		CFLAGS="$xorg_testset_save_CFLAGS"
   18111 
   18112 		eval supported=\$$cacheid
   18113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18114 $as_echo "$supported" >&6; }
   18115 		if test "$supported" = "yes" ; then
   18116 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18117 			found="yes"
   18118 		fi
   18119 	fi
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 
   18135 xorg_testset_save_CFLAGS="$CFLAGS"
   18136 
   18137 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18140 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18141 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18142   $as_echo_n "(cached) " >&6
   18143 else
   18144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18145 /* end confdefs.h.  */
   18146 int i;
   18147 _ACEOF
   18148 if ac_fn_c_try_compile "$LINENO"; then :
   18149   xorg_cv_cc_flag_unknown_warning_option=yes
   18150 else
   18151   xorg_cv_cc_flag_unknown_warning_option=no
   18152 fi
   18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18154 fi
   18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18156 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18158 	CFLAGS="$xorg_testset_save_CFLAGS"
   18159 fi
   18160 
   18161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18164 	fi
   18165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18167 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18168 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18169   $as_echo_n "(cached) " >&6
   18170 else
   18171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18172 /* end confdefs.h.  */
   18173 int i;
   18174 _ACEOF
   18175 if ac_fn_c_try_compile "$LINENO"; then :
   18176   xorg_cv_cc_flag_unused_command_line_argument=yes
   18177 else
   18178   xorg_cv_cc_flag_unused_command_line_argument=no
   18179 fi
   18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18181 fi
   18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18183 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18185 	CFLAGS="$xorg_testset_save_CFLAGS"
   18186 fi
   18187 
   18188 found="no"
   18189 
   18190 	if test $found = "no" ; then
   18191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18193 		fi
   18194 
   18195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18197 		fi
   18198 
   18199 		CFLAGS="$CFLAGS -Wwrite-strings"
   18200 
   18201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18202 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   18203 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18204 		if eval \${$cacheid+:} false; then :
   18205   $as_echo_n "(cached) " >&6
   18206 else
   18207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18208 /* end confdefs.h.  */
   18209 int i;
   18210 int
   18211 main ()
   18212 {
   18213 
   18214   ;
   18215   return 0;
   18216 }
   18217 _ACEOF
   18218 if ac_fn_c_try_link "$LINENO"; then :
   18219   eval $cacheid=yes
   18220 else
   18221   eval $cacheid=no
   18222 fi
   18223 rm -f core conftest.err conftest.$ac_objext \
   18224     conftest$ac_exeext conftest.$ac_ext
   18225 fi
   18226 
   18227 
   18228 		CFLAGS="$xorg_testset_save_CFLAGS"
   18229 
   18230 		eval supported=\$$cacheid
   18231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18232 $as_echo "$supported" >&6; }
   18233 		if test "$supported" = "yes" ; then
   18234 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18235 			found="yes"
   18236 		fi
   18237 	fi
   18238 
   18239 
   18240 
   18241 
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 xorg_testset_save_CFLAGS="$CFLAGS"
   18254 
   18255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18258 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18259 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18260   $as_echo_n "(cached) " >&6
   18261 else
   18262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18263 /* end confdefs.h.  */
   18264 int i;
   18265 _ACEOF
   18266 if ac_fn_c_try_compile "$LINENO"; then :
   18267   xorg_cv_cc_flag_unknown_warning_option=yes
   18268 else
   18269   xorg_cv_cc_flag_unknown_warning_option=no
   18270 fi
   18271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18272 fi
   18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18274 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18276 	CFLAGS="$xorg_testset_save_CFLAGS"
   18277 fi
   18278 
   18279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18282 	fi
   18283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18285 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18286 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18287   $as_echo_n "(cached) " >&6
   18288 else
   18289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18290 /* end confdefs.h.  */
   18291 int i;
   18292 _ACEOF
   18293 if ac_fn_c_try_compile "$LINENO"; then :
   18294   xorg_cv_cc_flag_unused_command_line_argument=yes
   18295 else
   18296   xorg_cv_cc_flag_unused_command_line_argument=no
   18297 fi
   18298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18299 fi
   18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18301 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18303 	CFLAGS="$xorg_testset_save_CFLAGS"
   18304 fi
   18305 
   18306 found="no"
   18307 
   18308 	if test $found = "no" ; then
   18309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18311 		fi
   18312 
   18313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18315 		fi
   18316 
   18317 		CFLAGS="$CFLAGS -Waddress"
   18318 
   18319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18320 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   18321 		cacheid=xorg_cv_cc_flag__Waddress
   18322 		if eval \${$cacheid+:} false; then :
   18323   $as_echo_n "(cached) " >&6
   18324 else
   18325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18326 /* end confdefs.h.  */
   18327 int i;
   18328 int
   18329 main ()
   18330 {
   18331 
   18332   ;
   18333   return 0;
   18334 }
   18335 _ACEOF
   18336 if ac_fn_c_try_link "$LINENO"; then :
   18337   eval $cacheid=yes
   18338 else
   18339   eval $cacheid=no
   18340 fi
   18341 rm -f core conftest.err conftest.$ac_objext \
   18342     conftest$ac_exeext conftest.$ac_ext
   18343 fi
   18344 
   18345 
   18346 		CFLAGS="$xorg_testset_save_CFLAGS"
   18347 
   18348 		eval supported=\$$cacheid
   18349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18350 $as_echo "$supported" >&6; }
   18351 		if test "$supported" = "yes" ; then
   18352 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18353 			found="yes"
   18354 		fi
   18355 	fi
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 xorg_testset_save_CFLAGS="$CFLAGS"
   18372 
   18373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18376 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18377 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18378   $as_echo_n "(cached) " >&6
   18379 else
   18380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18381 /* end confdefs.h.  */
   18382 int i;
   18383 _ACEOF
   18384 if ac_fn_c_try_compile "$LINENO"; then :
   18385   xorg_cv_cc_flag_unknown_warning_option=yes
   18386 else
   18387   xorg_cv_cc_flag_unknown_warning_option=no
   18388 fi
   18389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18390 fi
   18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18392 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18394 	CFLAGS="$xorg_testset_save_CFLAGS"
   18395 fi
   18396 
   18397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18400 	fi
   18401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18403 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18404 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18405   $as_echo_n "(cached) " >&6
   18406 else
   18407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18408 /* end confdefs.h.  */
   18409 int i;
   18410 _ACEOF
   18411 if ac_fn_c_try_compile "$LINENO"; then :
   18412   xorg_cv_cc_flag_unused_command_line_argument=yes
   18413 else
   18414   xorg_cv_cc_flag_unused_command_line_argument=no
   18415 fi
   18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18417 fi
   18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18419 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18421 	CFLAGS="$xorg_testset_save_CFLAGS"
   18422 fi
   18423 
   18424 found="no"
   18425 
   18426 	if test $found = "no" ; then
   18427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18429 		fi
   18430 
   18431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18433 		fi
   18434 
   18435 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18436 
   18437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18438 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18439 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18440 		if eval \${$cacheid+:} false; then :
   18441   $as_echo_n "(cached) " >&6
   18442 else
   18443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18444 /* end confdefs.h.  */
   18445 int i;
   18446 int
   18447 main ()
   18448 {
   18449 
   18450   ;
   18451   return 0;
   18452 }
   18453 _ACEOF
   18454 if ac_fn_c_try_link "$LINENO"; then :
   18455   eval $cacheid=yes
   18456 else
   18457   eval $cacheid=no
   18458 fi
   18459 rm -f core conftest.err conftest.$ac_objext \
   18460     conftest$ac_exeext conftest.$ac_ext
   18461 fi
   18462 
   18463 
   18464 		CFLAGS="$xorg_testset_save_CFLAGS"
   18465 
   18466 		eval supported=\$$cacheid
   18467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18468 $as_echo "$supported" >&6; }
   18469 		if test "$supported" = "yes" ; then
   18470 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18471 			found="yes"
   18472 		fi
   18473 	fi
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 xorg_testset_save_CFLAGS="$CFLAGS"
   18490 
   18491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18494 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18495 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18496   $as_echo_n "(cached) " >&6
   18497 else
   18498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18499 /* end confdefs.h.  */
   18500 int i;
   18501 _ACEOF
   18502 if ac_fn_c_try_compile "$LINENO"; then :
   18503   xorg_cv_cc_flag_unknown_warning_option=yes
   18504 else
   18505   xorg_cv_cc_flag_unknown_warning_option=no
   18506 fi
   18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18508 fi
   18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18510 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18512 	CFLAGS="$xorg_testset_save_CFLAGS"
   18513 fi
   18514 
   18515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18518 	fi
   18519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18521 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18522 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18523   $as_echo_n "(cached) " >&6
   18524 else
   18525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18526 /* end confdefs.h.  */
   18527 int i;
   18528 _ACEOF
   18529 if ac_fn_c_try_compile "$LINENO"; then :
   18530   xorg_cv_cc_flag_unused_command_line_argument=yes
   18531 else
   18532   xorg_cv_cc_flag_unused_command_line_argument=no
   18533 fi
   18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18535 fi
   18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18537 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18539 	CFLAGS="$xorg_testset_save_CFLAGS"
   18540 fi
   18541 
   18542 found="no"
   18543 
   18544 	if test $found = "no" ; then
   18545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18547 		fi
   18548 
   18549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18551 		fi
   18552 
   18553 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18554 
   18555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18556 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18557 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18558 		if eval \${$cacheid+:} false; then :
   18559   $as_echo_n "(cached) " >&6
   18560 else
   18561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18562 /* end confdefs.h.  */
   18563 int i;
   18564 int
   18565 main ()
   18566 {
   18567 
   18568   ;
   18569   return 0;
   18570 }
   18571 _ACEOF
   18572 if ac_fn_c_try_link "$LINENO"; then :
   18573   eval $cacheid=yes
   18574 else
   18575   eval $cacheid=no
   18576 fi
   18577 rm -f core conftest.err conftest.$ac_objext \
   18578     conftest$ac_exeext conftest.$ac_ext
   18579 fi
   18580 
   18581 
   18582 		CFLAGS="$xorg_testset_save_CFLAGS"
   18583 
   18584 		eval supported=\$$cacheid
   18585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18586 $as_echo "$supported" >&6; }
   18587 		if test "$supported" = "yes" ; then
   18588 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18589 			found="yes"
   18590 		fi
   18591 	fi
   18592 
   18593 
   18594 fi
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 		CWARNFLAGS="$BASE_CFLAGS"
   18603 		if  test "x$GCC" = xyes ; then
   18604 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18605 		fi
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 # Check whether --enable-strict-compilation was given.
   18615 if test "${enable_strict_compilation+set}" = set; then :
   18616   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18617 else
   18618   STRICT_COMPILE=no
   18619 fi
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 STRICT_CFLAGS=""
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 xorg_testset_save_CFLAGS="$CFLAGS"
   18641 
   18642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18647   $as_echo_n "(cached) " >&6
   18648 else
   18649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18650 /* end confdefs.h.  */
   18651 int i;
   18652 _ACEOF
   18653 if ac_fn_c_try_compile "$LINENO"; then :
   18654   xorg_cv_cc_flag_unknown_warning_option=yes
   18655 else
   18656   xorg_cv_cc_flag_unknown_warning_option=no
   18657 fi
   18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18659 fi
   18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18663 	CFLAGS="$xorg_testset_save_CFLAGS"
   18664 fi
   18665 
   18666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18669 	fi
   18670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18674   $as_echo_n "(cached) " >&6
   18675 else
   18676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18677 /* end confdefs.h.  */
   18678 int i;
   18679 _ACEOF
   18680 if ac_fn_c_try_compile "$LINENO"; then :
   18681   xorg_cv_cc_flag_unused_command_line_argument=yes
   18682 else
   18683   xorg_cv_cc_flag_unused_command_line_argument=no
   18684 fi
   18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18686 fi
   18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18690 	CFLAGS="$xorg_testset_save_CFLAGS"
   18691 fi
   18692 
   18693 found="no"
   18694 
   18695 	if test $found = "no" ; then
   18696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18698 		fi
   18699 
   18700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18702 		fi
   18703 
   18704 		CFLAGS="$CFLAGS -pedantic"
   18705 
   18706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18707 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18708 		cacheid=xorg_cv_cc_flag__pedantic
   18709 		if eval \${$cacheid+:} false; then :
   18710   $as_echo_n "(cached) " >&6
   18711 else
   18712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18713 /* end confdefs.h.  */
   18714 int i;
   18715 int
   18716 main ()
   18717 {
   18718 
   18719   ;
   18720   return 0;
   18721 }
   18722 _ACEOF
   18723 if ac_fn_c_try_link "$LINENO"; then :
   18724   eval $cacheid=yes
   18725 else
   18726   eval $cacheid=no
   18727 fi
   18728 rm -f core conftest.err conftest.$ac_objext \
   18729     conftest$ac_exeext conftest.$ac_ext
   18730 fi
   18731 
   18732 
   18733 		CFLAGS="$xorg_testset_save_CFLAGS"
   18734 
   18735 		eval supported=\$$cacheid
   18736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18737 $as_echo "$supported" >&6; }
   18738 		if test "$supported" = "yes" ; then
   18739 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18740 			found="yes"
   18741 		fi
   18742 	fi
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 
   18757 
   18758 xorg_testset_save_CFLAGS="$CFLAGS"
   18759 
   18760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18765   $as_echo_n "(cached) " >&6
   18766 else
   18767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18768 /* end confdefs.h.  */
   18769 int i;
   18770 _ACEOF
   18771 if ac_fn_c_try_compile "$LINENO"; then :
   18772   xorg_cv_cc_flag_unknown_warning_option=yes
   18773 else
   18774   xorg_cv_cc_flag_unknown_warning_option=no
   18775 fi
   18776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18777 fi
   18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18781 	CFLAGS="$xorg_testset_save_CFLAGS"
   18782 fi
   18783 
   18784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18787 	fi
   18788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18792   $as_echo_n "(cached) " >&6
   18793 else
   18794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18795 /* end confdefs.h.  */
   18796 int i;
   18797 _ACEOF
   18798 if ac_fn_c_try_compile "$LINENO"; then :
   18799   xorg_cv_cc_flag_unused_command_line_argument=yes
   18800 else
   18801   xorg_cv_cc_flag_unused_command_line_argument=no
   18802 fi
   18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18804 fi
   18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18808 	CFLAGS="$xorg_testset_save_CFLAGS"
   18809 fi
   18810 
   18811 found="no"
   18812 
   18813 	if test $found = "no" ; then
   18814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18816 		fi
   18817 
   18818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18820 		fi
   18821 
   18822 		CFLAGS="$CFLAGS -Werror"
   18823 
   18824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18825 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18826 		cacheid=xorg_cv_cc_flag__Werror
   18827 		if eval \${$cacheid+:} false; then :
   18828   $as_echo_n "(cached) " >&6
   18829 else
   18830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18831 /* end confdefs.h.  */
   18832 int i;
   18833 int
   18834 main ()
   18835 {
   18836 
   18837   ;
   18838   return 0;
   18839 }
   18840 _ACEOF
   18841 if ac_fn_c_try_link "$LINENO"; then :
   18842   eval $cacheid=yes
   18843 else
   18844   eval $cacheid=no
   18845 fi
   18846 rm -f core conftest.err conftest.$ac_objext \
   18847     conftest$ac_exeext conftest.$ac_ext
   18848 fi
   18849 
   18850 
   18851 		CFLAGS="$xorg_testset_save_CFLAGS"
   18852 
   18853 		eval supported=\$$cacheid
   18854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18855 $as_echo "$supported" >&6; }
   18856 		if test "$supported" = "yes" ; then
   18857 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18858 			found="yes"
   18859 		fi
   18860 	fi
   18861 
   18862 	if test $found = "no" ; then
   18863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18865 		fi
   18866 
   18867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18869 		fi
   18870 
   18871 		CFLAGS="$CFLAGS -errwarn"
   18872 
   18873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18874 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18875 		cacheid=xorg_cv_cc_flag__errwarn
   18876 		if eval \${$cacheid+:} false; then :
   18877   $as_echo_n "(cached) " >&6
   18878 else
   18879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18880 /* end confdefs.h.  */
   18881 int i;
   18882 int
   18883 main ()
   18884 {
   18885 
   18886   ;
   18887   return 0;
   18888 }
   18889 _ACEOF
   18890 if ac_fn_c_try_link "$LINENO"; then :
   18891   eval $cacheid=yes
   18892 else
   18893   eval $cacheid=no
   18894 fi
   18895 rm -f core conftest.err conftest.$ac_objext \
   18896     conftest$ac_exeext conftest.$ac_ext
   18897 fi
   18898 
   18899 
   18900 		CFLAGS="$xorg_testset_save_CFLAGS"
   18901 
   18902 		eval supported=\$$cacheid
   18903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18904 $as_echo "$supported" >&6; }
   18905 		if test "$supported" = "yes" ; then
   18906 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18907 			found="yes"
   18908 		fi
   18909 	fi
   18910 
   18911 
   18912 
   18913 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18914 # activate it with -Werror, so we add it here explicitly.
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 
   18928 xorg_testset_save_CFLAGS="$CFLAGS"
   18929 
   18930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18935   $as_echo_n "(cached) " >&6
   18936 else
   18937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18938 /* end confdefs.h.  */
   18939 int i;
   18940 _ACEOF
   18941 if ac_fn_c_try_compile "$LINENO"; then :
   18942   xorg_cv_cc_flag_unknown_warning_option=yes
   18943 else
   18944   xorg_cv_cc_flag_unknown_warning_option=no
   18945 fi
   18946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18947 fi
   18948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18951 	CFLAGS="$xorg_testset_save_CFLAGS"
   18952 fi
   18953 
   18954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18957 	fi
   18958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18962   $as_echo_n "(cached) " >&6
   18963 else
   18964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18965 /* end confdefs.h.  */
   18966 int i;
   18967 _ACEOF
   18968 if ac_fn_c_try_compile "$LINENO"; then :
   18969   xorg_cv_cc_flag_unused_command_line_argument=yes
   18970 else
   18971   xorg_cv_cc_flag_unused_command_line_argument=no
   18972 fi
   18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18974 fi
   18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18978 	CFLAGS="$xorg_testset_save_CFLAGS"
   18979 fi
   18980 
   18981 found="no"
   18982 
   18983 	if test $found = "no" ; then
   18984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18986 		fi
   18987 
   18988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18990 		fi
   18991 
   18992 		CFLAGS="$CFLAGS -Werror=attributes"
   18993 
   18994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18995 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18996 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18997 		if eval \${$cacheid+:} false; then :
   18998   $as_echo_n "(cached) " >&6
   18999 else
   19000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19001 /* end confdefs.h.  */
   19002 int i;
   19003 int
   19004 main ()
   19005 {
   19006 
   19007   ;
   19008   return 0;
   19009 }
   19010 _ACEOF
   19011 if ac_fn_c_try_link "$LINENO"; then :
   19012   eval $cacheid=yes
   19013 else
   19014   eval $cacheid=no
   19015 fi
   19016 rm -f core conftest.err conftest.$ac_objext \
   19017     conftest$ac_exeext conftest.$ac_ext
   19018 fi
   19019 
   19020 
   19021 		CFLAGS="$xorg_testset_save_CFLAGS"
   19022 
   19023 		eval supported=\$$cacheid
   19024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19025 $as_echo "$supported" >&6; }
   19026 		if test "$supported" = "yes" ; then
   19027 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19028 			found="yes"
   19029 		fi
   19030 	fi
   19031 
   19032 
   19033 
   19034 if test "x$STRICT_COMPILE" = "xyes"; then
   19035     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19036     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19037 fi
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 cat >>confdefs.h <<_ACEOF
   19045 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19046 _ACEOF
   19047 
   19048 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19049 	if test "x$PVM" = "x"; then
   19050 		PVM="0"
   19051 	fi
   19052 
   19053 cat >>confdefs.h <<_ACEOF
   19054 #define PACKAGE_VERSION_MINOR $PVM
   19055 _ACEOF
   19056 
   19057 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19058 	if test "x$PVP" = "x"; then
   19059 		PVP="0"
   19060 	fi
   19061 
   19062 cat >>confdefs.h <<_ACEOF
   19063 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19064 _ACEOF
   19065 
   19066 
   19067 
   19068 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   19069 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19070 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   19071 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   19072 
   19073 
   19074 
   19075 
   19076 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19077 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19078 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19079 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   19080 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 if test x$APP_MAN_SUFFIX = x    ; then
   19088     APP_MAN_SUFFIX=1
   19089 fi
   19090 if test x$APP_MAN_DIR = x    ; then
   19091     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19092 fi
   19093 
   19094 if test x$LIB_MAN_SUFFIX = x    ; then
   19095     LIB_MAN_SUFFIX=3
   19096 fi
   19097 if test x$LIB_MAN_DIR = x    ; then
   19098     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19099 fi
   19100 
   19101 if test x$FILE_MAN_SUFFIX = x    ; then
   19102     case $host_os in
   19103 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   19104 	*)		FILE_MAN_SUFFIX=5  ;;
   19105     esac
   19106 fi
   19107 if test x$FILE_MAN_DIR = x    ; then
   19108     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19109 fi
   19110 
   19111 if test x$MISC_MAN_SUFFIX = x    ; then
   19112     case $host_os in
   19113 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   19114 	*)		MISC_MAN_SUFFIX=7  ;;
   19115     esac
   19116 fi
   19117 if test x$MISC_MAN_DIR = x    ; then
   19118     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19119 fi
   19120 
   19121 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19122     case $host_os in
   19123 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   19124 	*)		DRIVER_MAN_SUFFIX=4  ;;
   19125     esac
   19126 fi
   19127 if test x$DRIVER_MAN_DIR = x    ; then
   19128     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19129 fi
   19130 
   19131 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19132     case $host_os in
   19133 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   19134 	*)		ADMIN_MAN_SUFFIX=8  ;;
   19135     esac
   19136 fi
   19137 if test x$ADMIN_MAN_DIR = x    ; then
   19138     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19139 fi
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 
   19147 
   19148 
   19149 
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 XORG_MAN_PAGE="X Version 11"
   19156 
   19157 MAN_SUBSTS="\
   19158 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19159 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19160 	-e 's|__xservername__|Xorg|g' \
   19161 	-e 's|__xconfigfile__|xorg.conf|g' \
   19162 	-e 's|__projectroot__|\$(prefix)|g' \
   19163 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19164 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19165 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19166 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19167 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19168 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19169 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19170 
   19171 
   19172 
   19173 # Check whether --enable-silent-rules was given.
   19174 if test "${enable_silent_rules+set}" = set; then :
   19175   enableval=$enable_silent_rules;
   19176 fi
   19177 
   19178 case $enable_silent_rules in # (((
   19179   yes) AM_DEFAULT_VERBOSITY=0;;
   19180    no) AM_DEFAULT_VERBOSITY=1;;
   19181     *) AM_DEFAULT_VERBOSITY=0;;
   19182 esac
   19183 am_make=${MAKE-make}
   19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19185 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   19186 if ${am_cv_make_support_nested_variables+:} false; then :
   19187   $as_echo_n "(cached) " >&6
   19188 else
   19189   if $as_echo 'TRUE=$(BAR$(V))
   19190 BAR0=false
   19191 BAR1=true
   19192 V=1
   19193 am__doit:
   19194 	@$(TRUE)
   19195 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19196   am_cv_make_support_nested_variables=yes
   19197 else
   19198   am_cv_make_support_nested_variables=no
   19199 fi
   19200 fi
   19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19202 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   19203 if test $am_cv_make_support_nested_variables = yes; then
   19204     AM_V='$(V)'
   19205   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19206 else
   19207   AM_V=$AM_DEFAULT_VERBOSITY
   19208   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19209 fi
   19210 AM_BACKSLASH='\'
   19211 
   19212 
   19213 
   19214 
   19215 # Check whether --enable-devel-docs was given.
   19216 if test "${enable_devel_docs+set}" = set; then :
   19217   enableval=$enable_devel_docs; build_devel_docs=$enableval
   19218 else
   19219   build_devel_docs=yes
   19220 fi
   19221 
   19222 
   19223  if test x$build_devel_docs = xyes; then
   19224   ENABLE_DEVEL_DOCS_TRUE=
   19225   ENABLE_DEVEL_DOCS_FALSE='#'
   19226 else
   19227   ENABLE_DEVEL_DOCS_TRUE='#'
   19228   ENABLE_DEVEL_DOCS_FALSE=
   19229 fi
   19230 
   19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   19232 $as_echo_n "checking whether to build developer documentation... " >&6; }
   19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   19234 $as_echo "$build_devel_docs" >&6; }
   19235 
   19236 
   19237 
   19238 
   19239 
   19240 
   19241 # Check whether --with-doxygen was given.
   19242 if test "${with_doxygen+set}" = set; then :
   19243   withval=$with_doxygen; use_doxygen=$withval
   19244 else
   19245   use_doxygen=auto
   19246 fi
   19247 
   19248 
   19249 
   19250 if test "x$use_doxygen" = x"auto"; then
   19251    # Extract the first word of "doxygen", so it can be a program name with args.
   19252 set dummy doxygen; ac_word=$2
   19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19254 $as_echo_n "checking for $ac_word... " >&6; }
   19255 if ${ac_cv_path_DOXYGEN+:} false; then :
   19256   $as_echo_n "(cached) " >&6
   19257 else
   19258   case $DOXYGEN in
   19259   [\\/]* | ?:[\\/]*)
   19260   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19261   ;;
   19262   *)
   19263   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19264 for as_dir in $PATH
   19265 do
   19266   IFS=$as_save_IFS
   19267   test -z "$as_dir" && as_dir=.
   19268     for ac_exec_ext in '' $ac_executable_extensions; do
   19269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19270     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19272     break 2
   19273   fi
   19274 done
   19275   done
   19276 IFS=$as_save_IFS
   19277 
   19278   ;;
   19279 esac
   19280 fi
   19281 DOXYGEN=$ac_cv_path_DOXYGEN
   19282 if test -n "$DOXYGEN"; then
   19283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19284 $as_echo "$DOXYGEN" >&6; }
   19285 else
   19286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19287 $as_echo "no" >&6; }
   19288 fi
   19289 
   19290 
   19291    if test "x$DOXYGEN" = "x"; then
   19292         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
   19293 $as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
   19294 	have_doxygen=no
   19295    else
   19296         have_doxygen=yes
   19297    fi
   19298 elif test "x$use_doxygen" = x"yes" ; then
   19299    # Extract the first word of "doxygen", so it can be a program name with args.
   19300 set dummy doxygen; ac_word=$2
   19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19302 $as_echo_n "checking for $ac_word... " >&6; }
   19303 if ${ac_cv_path_DOXYGEN+:} false; then :
   19304   $as_echo_n "(cached) " >&6
   19305 else
   19306   case $DOXYGEN in
   19307   [\\/]* | ?:[\\/]*)
   19308   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19309   ;;
   19310   *)
   19311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19312 for as_dir in $PATH
   19313 do
   19314   IFS=$as_save_IFS
   19315   test -z "$as_dir" && as_dir=.
   19316     for ac_exec_ext in '' $ac_executable_extensions; do
   19317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19318     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19320     break 2
   19321   fi
   19322 done
   19323   done
   19324 IFS=$as_save_IFS
   19325 
   19326   ;;
   19327 esac
   19328 fi
   19329 DOXYGEN=$ac_cv_path_DOXYGEN
   19330 if test -n "$DOXYGEN"; then
   19331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19332 $as_echo "$DOXYGEN" >&6; }
   19333 else
   19334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19335 $as_echo "no" >&6; }
   19336 fi
   19337 
   19338 
   19339    if test "x$DOXYGEN" = "x"; then
   19340         as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
   19341    fi
   19342    have_doxygen=yes
   19343 elif test "x$use_doxygen" = x"no" ; then
   19344    if test "x$DOXYGEN" != "x"; then
   19345       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
   19346 $as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
   19347    fi
   19348    have_doxygen=no
   19349 else
   19350    as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
   19351 fi
   19352 
   19353 
   19354 HAVE_DOT=no
   19355 if test "x$have_doxygen" = "xyes"; then
   19356   # Extract the first word of "dot", so it can be a program name with args.
   19357 set dummy dot; ac_word=$2
   19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19359 $as_echo_n "checking for $ac_word... " >&6; }
   19360 if ${ac_cv_path_DOT+:} false; then :
   19361   $as_echo_n "(cached) " >&6
   19362 else
   19363   case $DOT in
   19364   [\\/]* | ?:[\\/]*)
   19365   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   19366   ;;
   19367   *)
   19368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19369 for as_dir in $PATH
   19370 do
   19371   IFS=$as_save_IFS
   19372   test -z "$as_dir" && as_dir=.
   19373     for ac_exec_ext in '' $ac_executable_extensions; do
   19374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19375     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   19376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19377     break 2
   19378   fi
   19379 done
   19380   done
   19381 IFS=$as_save_IFS
   19382 
   19383   ;;
   19384 esac
   19385 fi
   19386 DOT=$ac_cv_path_DOT
   19387 if test -n "$DOT"; then
   19388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   19389 $as_echo "$DOT" >&6; }
   19390 else
   19391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19392 $as_echo "no" >&6; }
   19393 fi
   19394 
   19395 
   19396     if test "x$DOT" != "x"; then
   19397       HAVE_DOT=yes
   19398     fi
   19399 fi
   19400 
   19401 
   19402  if test "$HAVE_DOT" = "yes"; then
   19403   HAVE_DOT_TRUE=
   19404   HAVE_DOT_FALSE='#'
   19405 else
   19406   HAVE_DOT_TRUE='#'
   19407   HAVE_DOT_FALSE=
   19408 fi
   19409 
   19410  if test "$have_doxygen" = yes; then
   19411   HAVE_DOXYGEN_TRUE=
   19412   HAVE_DOXYGEN_FALSE='#'
   19413 else
   19414   HAVE_DOXYGEN_TRUE='#'
   19415   HAVE_DOXYGEN_FALSE=
   19416 fi
   19417 
   19418 
   19419 
   19420 # The dot drawing tool is checked by XORG_WITH_DOXYGEN, needed for xcb manual
   19421 if test x"$HAVE_DOT" = xno; then
   19422     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - doxygen targets will be skipped" >&5
   19423 $as_echo "$as_me: WARNING: dot not found - doxygen targets will be skipped" >&2;}
   19424 fi
   19425 
   19426 
   19427 pkg_failed=no
   19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
   19429 $as_echo_n "checking for CHECK... " >&6; }
   19430 
   19431 if test -n "$CHECK_CFLAGS"; then
   19432     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
   19433  elif test -n "$PKG_CONFIG"; then
   19434     if test -n "$PKG_CONFIG" && \
   19435     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19436   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19437   ac_status=$?
   19438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19439   test $ac_status = 0; }; then
   19440   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
   19441 		      test "x$?" != "x0" && pkg_failed=yes
   19442 else
   19443   pkg_failed=yes
   19444 fi
   19445  else
   19446     pkg_failed=untried
   19447 fi
   19448 if test -n "$CHECK_LIBS"; then
   19449     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
   19450  elif test -n "$PKG_CONFIG"; then
   19451     if test -n "$PKG_CONFIG" && \
   19452     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19453   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19454   ac_status=$?
   19455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19456   test $ac_status = 0; }; then
   19457   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
   19458 		      test "x$?" != "x0" && pkg_failed=yes
   19459 else
   19460   pkg_failed=yes
   19461 fi
   19462  else
   19463     pkg_failed=untried
   19464 fi
   19465 
   19466 
   19467 
   19468 if test $pkg_failed = yes; then
   19469    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19470 $as_echo "no" >&6; }
   19471 
   19472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19473         _pkg_short_errors_supported=yes
   19474 else
   19475         _pkg_short_errors_supported=no
   19476 fi
   19477         if test $_pkg_short_errors_supported = yes; then
   19478 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19479         else
   19480 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19481         fi
   19482 	# Put the nasty error message in config.log where it belongs
   19483 	echo "$CHECK_PKG_ERRORS" >&5
   19484 
   19485 	HAVE_CHECK=no
   19486 elif test $pkg_failed = untried; then
   19487      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19488 $as_echo "no" >&6; }
   19489 	HAVE_CHECK=no
   19490 else
   19491 	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
   19492 	CHECK_LIBS=$pkg_cv_CHECK_LIBS
   19493         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19494 $as_echo "yes" >&6; }
   19495 	HAVE_CHECK=yes
   19496 fi
   19497  if test x$HAVE_CHECK = xyes; then
   19498   HAVE_CHECK_TRUE=
   19499   HAVE_CHECK_FALSE='#'
   19500 else
   19501   HAVE_CHECK_TRUE='#'
   19502   HAVE_CHECK_FALSE=
   19503 fi
   19504 
   19505 
   19506 XSLTPROC=no
   19507 HTML_CHECK_RESULT=no
   19508 if test x"$HAVE_CHECK" = xyes; then
   19509         # Extract the first word of "xsltproc", so it can be a program name with args.
   19510 set dummy xsltproc; ac_word=$2
   19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19512 $as_echo_n "checking for $ac_word... " >&6; }
   19513 if ${ac_cv_path_XSLTPROC+:} false; then :
   19514   $as_echo_n "(cached) " >&6
   19515 else
   19516   case $XSLTPROC in
   19517   [\\/]* | ?:[\\/]*)
   19518   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19519   ;;
   19520   *)
   19521   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19522 for as_dir in $PATH
   19523 do
   19524   IFS=$as_save_IFS
   19525   test -z "$as_dir" && as_dir=.
   19526     for ac_exec_ext in '' $ac_executable_extensions; do
   19527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19528     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   19529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19530     break 2
   19531   fi
   19532 done
   19533   done
   19534 IFS=$as_save_IFS
   19535 
   19536   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
   19537   ;;
   19538 esac
   19539 fi
   19540 XSLTPROC=$ac_cv_path_XSLTPROC
   19541 if test -n "$XSLTPROC"; then
   19542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19543 $as_echo "$XSLTPROC" >&6; }
   19544 else
   19545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19546 $as_echo "no" >&6; }
   19547 fi
   19548 
   19549 
   19550         if test x"$XSLTPROC" != xno; then
   19551                 HTML_CHECK_RESULT=yes
   19552         fi
   19553 fi
   19554 
   19555 
   19556 # Checks for pkg-config packages
   19557 
   19558 pkg_failed=no
   19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
   19560 $as_echo_n "checking for XCBPROTO... " >&6; }
   19561 
   19562 if test -n "$XCBPROTO_CFLAGS"; then
   19563     pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
   19564  elif test -n "$PKG_CONFIG"; then
   19565     if test -n "$PKG_CONFIG" && \
   19566     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.13\""; } >&5
   19567   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.13") 2>&5
   19568   ac_status=$?
   19569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19570   test $ac_status = 0; }; then
   19571   pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.13" 2>/dev/null`
   19572 		      test "x$?" != "x0" && pkg_failed=yes
   19573 else
   19574   pkg_failed=yes
   19575 fi
   19576  else
   19577     pkg_failed=untried
   19578 fi
   19579 if test -n "$XCBPROTO_LIBS"; then
   19580     pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
   19581  elif test -n "$PKG_CONFIG"; then
   19582     if test -n "$PKG_CONFIG" && \
   19583     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.13\""; } >&5
   19584   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.13") 2>&5
   19585   ac_status=$?
   19586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19587   test $ac_status = 0; }; then
   19588   pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.13" 2>/dev/null`
   19589 		      test "x$?" != "x0" && pkg_failed=yes
   19590 else
   19591   pkg_failed=yes
   19592 fi
   19593  else
   19594     pkg_failed=untried
   19595 fi
   19596 
   19597 
   19598 
   19599 if test $pkg_failed = yes; then
   19600    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19601 $as_echo "no" >&6; }
   19602 
   19603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19604         _pkg_short_errors_supported=yes
   19605 else
   19606         _pkg_short_errors_supported=no
   19607 fi
   19608         if test $_pkg_short_errors_supported = yes; then
   19609 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.13" 2>&1`
   19610         else
   19611 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.13" 2>&1`
   19612         fi
   19613 	# Put the nasty error message in config.log where it belongs
   19614 	echo "$XCBPROTO_PKG_ERRORS" >&5
   19615 
   19616 	as_fn_error $? "Package requirements (xcb-proto >= 1.13) were not met:
   19617 
   19618 $XCBPROTO_PKG_ERRORS
   19619 
   19620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19621 installed software in a non-standard prefix.
   19622 
   19623 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19624 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19625 See the pkg-config man page for more details." "$LINENO" 5
   19626 elif test $pkg_failed = untried; then
   19627      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19628 $as_echo "no" >&6; }
   19629 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19631 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19632 is in your PATH or set the PKG_CONFIG environment variable to the full
   19633 path to pkg-config.
   19634 
   19635 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19636 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19637 See the pkg-config man page for more details.
   19638 
   19639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19640 See \`config.log' for more details" "$LINENO" 5; }
   19641 else
   19642 	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
   19643 	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
   19644         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19645 $as_echo "yes" >&6; }
   19646 
   19647 fi
   19648 NEEDED="pthread-stubs xau >= 0.99.2"
   19649 
   19650 pkg_failed=no
   19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
   19652 $as_echo_n "checking for NEEDED... " >&6; }
   19653 
   19654 if test -n "$NEEDED_CFLAGS"; then
   19655     pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
   19656  elif test -n "$PKG_CONFIG"; then
   19657     if test -n "$PKG_CONFIG" && \
   19658     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19659   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19660   ac_status=$?
   19661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19662   test $ac_status = 0; }; then
   19663   pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
   19664 		      test "x$?" != "x0" && pkg_failed=yes
   19665 else
   19666   pkg_failed=yes
   19667 fi
   19668  else
   19669     pkg_failed=untried
   19670 fi
   19671 if test -n "$NEEDED_LIBS"; then
   19672     pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
   19673  elif test -n "$PKG_CONFIG"; then
   19674     if test -n "$PKG_CONFIG" && \
   19675     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19676   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19677   ac_status=$?
   19678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19679   test $ac_status = 0; }; then
   19680   pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
   19681 		      test "x$?" != "x0" && pkg_failed=yes
   19682 else
   19683   pkg_failed=yes
   19684 fi
   19685  else
   19686     pkg_failed=untried
   19687 fi
   19688 
   19689 
   19690 
   19691 if test $pkg_failed = yes; then
   19692    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19693 $as_echo "no" >&6; }
   19694 
   19695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19696         _pkg_short_errors_supported=yes
   19697 else
   19698         _pkg_short_errors_supported=no
   19699 fi
   19700         if test $_pkg_short_errors_supported = yes; then
   19701 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
   19702         else
   19703 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
   19704         fi
   19705 	# Put the nasty error message in config.log where it belongs
   19706 	echo "$NEEDED_PKG_ERRORS" >&5
   19707 
   19708 	as_fn_error $? "Package requirements ($NEEDED) were not met:
   19709 
   19710 $NEEDED_PKG_ERRORS
   19711 
   19712 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19713 installed software in a non-standard prefix.
   19714 
   19715 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19716 and NEEDED_LIBS to avoid the need to call pkg-config.
   19717 See the pkg-config man page for more details." "$LINENO" 5
   19718 elif test $pkg_failed = untried; then
   19719      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19720 $as_echo "no" >&6; }
   19721 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19723 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19724 is in your PATH or set the PKG_CONFIG environment variable to the full
   19725 path to pkg-config.
   19726 
   19727 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19728 and NEEDED_LIBS to avoid the need to call pkg-config.
   19729 See the pkg-config man page for more details.
   19730 
   19731 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19732 See \`config.log' for more details" "$LINENO" 5; }
   19733 else
   19734 	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
   19735 	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
   19736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19737 $as_echo "yes" >&6; }
   19738 
   19739 fi
   19740 
   19741 have_xdmcp="no"
   19742 
   19743 pkg_failed=no
   19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   19745 $as_echo_n "checking for XDMCP... " >&6; }
   19746 
   19747 if test -n "$XDMCP_CFLAGS"; then
   19748     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   19749  elif test -n "$PKG_CONFIG"; then
   19750     if test -n "$PKG_CONFIG" && \
   19751     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19752   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19753   ac_status=$?
   19754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19755   test $ac_status = 0; }; then
   19756   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   19757 		      test "x$?" != "x0" && pkg_failed=yes
   19758 else
   19759   pkg_failed=yes
   19760 fi
   19761  else
   19762     pkg_failed=untried
   19763 fi
   19764 if test -n "$XDMCP_LIBS"; then
   19765     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   19766  elif test -n "$PKG_CONFIG"; then
   19767     if test -n "$PKG_CONFIG" && \
   19768     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19769   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19770   ac_status=$?
   19771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19772   test $ac_status = 0; }; then
   19773   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   19774 		      test "x$?" != "x0" && pkg_failed=yes
   19775 else
   19776   pkg_failed=yes
   19777 fi
   19778  else
   19779     pkg_failed=untried
   19780 fi
   19781 
   19782 
   19783 
   19784 if test $pkg_failed = yes; then
   19785    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19786 $as_echo "no" >&6; }
   19787 
   19788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19789         _pkg_short_errors_supported=yes
   19790 else
   19791         _pkg_short_errors_supported=no
   19792 fi
   19793         if test $_pkg_short_errors_supported = yes; then
   19794 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   19795         else
   19796 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   19797         fi
   19798 	# Put the nasty error message in config.log where it belongs
   19799 	echo "$XDMCP_PKG_ERRORS" >&5
   19800 
   19801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19802 $as_echo "no" >&6; }
   19803 elif test $pkg_failed = untried; then
   19804      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19805 $as_echo "no" >&6; }
   19806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19807 $as_echo "no" >&6; }
   19808 else
   19809 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19810 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19811         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19812 $as_echo "yes" >&6; }
   19813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   19814 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
   19815 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
   19816   $as_echo_n "(cached) " >&6
   19817 else
   19818   ac_check_lib_save_LIBS=$LIBS
   19819 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   19820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19821 /* end confdefs.h.  */
   19822 
   19823 /* Override any GCC internal prototype to avoid an error.
   19824    Use char because int might match the return type of a GCC
   19825    builtin and then its argument prototype would still apply.  */
   19826 #ifdef __cplusplus
   19827 extern "C"
   19828 #endif
   19829 char XdmcpWrap ();
   19830 int
   19831 main ()
   19832 {
   19833 return XdmcpWrap ();
   19834   ;
   19835   return 0;
   19836 }
   19837 _ACEOF
   19838 if ac_fn_c_try_link "$LINENO"; then :
   19839   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   19840 else
   19841   ac_cv_lib_Xdmcp_XdmcpWrap=no
   19842 fi
   19843 rm -f core conftest.err conftest.$ac_objext \
   19844     conftest$ac_exeext conftest.$ac_ext
   19845 LIBS=$ac_check_lib_save_LIBS
   19846 fi
   19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   19848 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   19849 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
   19850 
   19851 
   19852 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   19853 
   19854                 NEEDED="$NEEDED xdmcp"
   19855                 have_xdmcp="yes"
   19856 
   19857 else
   19858 
   19859                 XDMCP_CFLAGS=
   19860                 XDMCP_LIBS=
   19861 
   19862 fi
   19863 
   19864 fi
   19865 
   19866 
   19867 
   19868 # Find the xcb-proto protocol descriptions
   19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
   19870 $as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
   19871 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
   19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
   19873 $as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
   19874 
   19875 
   19876 # Find the xcb-proto version
   19877 XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
   19878 
   19879 
   19880 # Find the xcbgen Python package
   19881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
   19882 $as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
   19883 XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
   19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
   19885 $as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }
   19886 
   19887 
   19888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   19889 $as_echo_n "checking for ANSI C header files... " >&6; }
   19890 if ${ac_cv_header_stdc+:} false; then :
   19891   $as_echo_n "(cached) " >&6
   19892 else
   19893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19894 /* end confdefs.h.  */
   19895 #include <stdlib.h>
   19896 #include <stdarg.h>
   19897 #include <string.h>
   19898 #include <float.h>
   19899 
   19900 int
   19901 main ()
   19902 {
   19903 
   19904   ;
   19905   return 0;
   19906 }
   19907 _ACEOF
   19908 if ac_fn_c_try_compile "$LINENO"; then :
   19909   ac_cv_header_stdc=yes
   19910 else
   19911   ac_cv_header_stdc=no
   19912 fi
   19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19914 
   19915 if test $ac_cv_header_stdc = yes; then
   19916   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   19917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19918 /* end confdefs.h.  */
   19919 #include <string.h>
   19920 
   19921 _ACEOF
   19922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19923   $EGREP "memchr" >/dev/null 2>&1; then :
   19924 
   19925 else
   19926   ac_cv_header_stdc=no
   19927 fi
   19928 rm -f conftest*
   19929 
   19930 fi
   19931 
   19932 if test $ac_cv_header_stdc = yes; then
   19933   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   19934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19935 /* end confdefs.h.  */
   19936 #include <stdlib.h>
   19937 
   19938 _ACEOF
   19939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19940   $EGREP "free" >/dev/null 2>&1; then :
   19941 
   19942 else
   19943   ac_cv_header_stdc=no
   19944 fi
   19945 rm -f conftest*
   19946 
   19947 fi
   19948 
   19949 if test $ac_cv_header_stdc = yes; then
   19950   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   19951   if test "$cross_compiling" = yes; then :
   19952   :
   19953 else
   19954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19955 /* end confdefs.h.  */
   19956 #include <ctype.h>
   19957 #include <stdlib.h>
   19958 #if ((' ' & 0x0FF) == 0x020)
   19959 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   19960 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   19961 #else
   19962 # define ISLOWER(c) \
   19963 		   (('a' <= (c) && (c) <= 'i') \
   19964 		     || ('j' <= (c) && (c) <= 'r') \
   19965 		     || ('s' <= (c) && (c) <= 'z'))
   19966 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   19967 #endif
   19968 
   19969 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   19970 int
   19971 main ()
   19972 {
   19973   int i;
   19974   for (i = 0; i < 256; i++)
   19975     if (XOR (islower (i), ISLOWER (i))
   19976 	|| toupper (i) != TOUPPER (i))
   19977       return 2;
   19978   return 0;
   19979 }
   19980 _ACEOF
   19981 if ac_fn_c_try_run "$LINENO"; then :
   19982 
   19983 else
   19984   ac_cv_header_stdc=no
   19985 fi
   19986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19987   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19988 fi
   19989 
   19990 fi
   19991 fi
   19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   19993 $as_echo "$ac_cv_header_stdc" >&6; }
   19994 if test $ac_cv_header_stdc = yes; then
   19995 
   19996 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   19997 
   19998 fi
   19999 
   20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
   20001 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
   20002 if ${ac_cv_search_getaddrinfo+:} false; then :
   20003   $as_echo_n "(cached) " >&6
   20004 else
   20005   ac_func_search_save_LIBS=$LIBS
   20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20007 /* end confdefs.h.  */
   20008 
   20009 /* Override any GCC internal prototype to avoid an error.
   20010    Use char because int might match the return type of a GCC
   20011    builtin and then its argument prototype would still apply.  */
   20012 #ifdef __cplusplus
   20013 extern "C"
   20014 #endif
   20015 char getaddrinfo ();
   20016 int
   20017 main ()
   20018 {
   20019 return getaddrinfo ();
   20020   ;
   20021   return 0;
   20022 }
   20023 _ACEOF
   20024 for ac_lib in '' socket; do
   20025   if test -z "$ac_lib"; then
   20026     ac_res="none required"
   20027   else
   20028     ac_res=-l$ac_lib
   20029     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20030   fi
   20031   if ac_fn_c_try_link "$LINENO"; then :
   20032   ac_cv_search_getaddrinfo=$ac_res
   20033 fi
   20034 rm -f core conftest.err conftest.$ac_objext \
   20035     conftest$ac_exeext
   20036   if ${ac_cv_search_getaddrinfo+:} false; then :
   20037   break
   20038 fi
   20039 done
   20040 if ${ac_cv_search_getaddrinfo+:} false; then :
   20041 
   20042 else
   20043   ac_cv_search_getaddrinfo=no
   20044 fi
   20045 rm conftest.$ac_ext
   20046 LIBS=$ac_func_search_save_LIBS
   20047 fi
   20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
   20049 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
   20050 ac_res=$ac_cv_search_getaddrinfo
   20051 if test "$ac_res" != no; then :
   20052   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20053 
   20054 fi
   20055 
   20056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   20057 $as_echo_n "checking for library containing connect... " >&6; }
   20058 if ${ac_cv_search_connect+:} false; then :
   20059   $as_echo_n "(cached) " >&6
   20060 else
   20061   ac_func_search_save_LIBS=$LIBS
   20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20063 /* end confdefs.h.  */
   20064 
   20065 /* Override any GCC internal prototype to avoid an error.
   20066    Use char because int might match the return type of a GCC
   20067    builtin and then its argument prototype would still apply.  */
   20068 #ifdef __cplusplus
   20069 extern "C"
   20070 #endif
   20071 char connect ();
   20072 int
   20073 main ()
   20074 {
   20075 return connect ();
   20076   ;
   20077   return 0;
   20078 }
   20079 _ACEOF
   20080 for ac_lib in '' socket; do
   20081   if test -z "$ac_lib"; then
   20082     ac_res="none required"
   20083   else
   20084     ac_res=-l$ac_lib
   20085     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20086   fi
   20087   if ac_fn_c_try_link "$LINENO"; then :
   20088   ac_cv_search_connect=$ac_res
   20089 fi
   20090 rm -f core conftest.err conftest.$ac_objext \
   20091     conftest$ac_exeext
   20092   if ${ac_cv_search_connect+:} false; then :
   20093   break
   20094 fi
   20095 done
   20096 if ${ac_cv_search_connect+:} false; then :
   20097 
   20098 else
   20099   ac_cv_search_connect=no
   20100 fi
   20101 rm conftest.$ac_ext
   20102 LIBS=$ac_func_search_save_LIBS
   20103 fi
   20104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   20105 $as_echo "$ac_cv_search_connect" >&6; }
   20106 ac_res=$ac_cv_search_connect
   20107 if test "$ac_res" != no; then :
   20108   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20109 
   20110 fi
   20111 
   20112 
   20113 # Find support for sending a message from a socket
   20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
   20115 $as_echo_n "checking for library containing sendmsg... " >&6; }
   20116 if ${ac_cv_search_sendmsg+:} false; then :
   20117   $as_echo_n "(cached) " >&6
   20118 else
   20119   ac_func_search_save_LIBS=$LIBS
   20120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20121 /* end confdefs.h.  */
   20122 
   20123 /* Override any GCC internal prototype to avoid an error.
   20124    Use char because int might match the return type of a GCC
   20125    builtin and then its argument prototype would still apply.  */
   20126 #ifdef __cplusplus
   20127 extern "C"
   20128 #endif
   20129 char sendmsg ();
   20130 int
   20131 main ()
   20132 {
   20133 return sendmsg ();
   20134   ;
   20135   return 0;
   20136 }
   20137 _ACEOF
   20138 for ac_lib in '' socket; do
   20139   if test -z "$ac_lib"; then
   20140     ac_res="none required"
   20141   else
   20142     ac_res=-l$ac_lib
   20143     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20144   fi
   20145   if ac_fn_c_try_link "$LINENO"; then :
   20146   ac_cv_search_sendmsg=$ac_res
   20147 fi
   20148 rm -f core conftest.err conftest.$ac_objext \
   20149     conftest$ac_exeext
   20150   if ${ac_cv_search_sendmsg+:} false; then :
   20151   break
   20152 fi
   20153 done
   20154 if ${ac_cv_search_sendmsg+:} false; then :
   20155 
   20156 else
   20157   ac_cv_search_sendmsg=no
   20158 fi
   20159 rm conftest.$ac_ext
   20160 LIBS=$ac_func_search_save_LIBS
   20161 fi
   20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
   20163 $as_echo "$ac_cv_search_sendmsg" >&6; }
   20164 ac_res=$ac_cv_search_sendmsg
   20165 if test "$ac_res" != no; then :
   20166   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20167   have_sendmsg="yes"
   20168 else
   20169   have_sendmsg="no"
   20170 fi
   20171 
   20172 
   20173 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20174 # _XOPEN_SOURCE to get it (such as on Solaris)
   20175 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20176 $ac_includes_default
   20177 #include <sys/socket.h>
   20178 
   20179 "
   20180 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20181 
   20182 fi
   20183 
   20184 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20185 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20186     unset ac_cv_member_struct_msghdr_msg_control
   20187     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20188 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20189     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20190 #define _XOPEN_SOURCE 600
   20191 $ac_includes_default
   20192 #include <sys/socket.h>
   20193 
   20194 "
   20195 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20196 
   20197 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   20198 
   20199 
   20200 fi
   20201 
   20202 fi
   20203 # If that didn't work, fall back to XPG5/UNIX98 with C89
   20204 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20205     unset ac_cv_member_struct_msghdr_msg_control
   20206     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20207 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20208     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20209 #define _XOPEN_SOURCE 500
   20210 $ac_includes_default
   20211 #include <sys/socket.h>
   20212 
   20213 "
   20214 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20215 
   20216 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   20217 
   20218 
   20219 else
   20220   have_sendmsg="no"
   20221 fi
   20222 
   20223 fi
   20224 
   20225 case x$have_sendmsg in
   20226 xyes)
   20227 
   20228 $as_echo "#define HAVE_SENDMSG 1" >>confdefs.h
   20229 
   20230         ;;
   20231 esac
   20232 
   20233 have_win32="no"
   20234 lt_enable_auto_import=""
   20235 case $host_os in
   20236 mingw*)
   20237         have_win32="yes"
   20238         lt_enable_auto_import="-Wl,--enable-auto-import"
   20239         ;;
   20240 linux*)
   20241 
   20242 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
   20243 
   20244         ;;
   20245 esac
   20246 
   20247 
   20248  if test "x${have_win32}" = "xyes"; then
   20249   XCB_HAVE_WIN32_TRUE=
   20250   XCB_HAVE_WIN32_FALSE='#'
   20251 else
   20252   XCB_HAVE_WIN32_TRUE='#'
   20253   XCB_HAVE_WIN32_FALSE=
   20254 fi
   20255 
   20256 
   20257 
   20258 # Check whether --with-queue-size was given.
   20259 if test "${with_queue_size+set}" = set; then :
   20260   withval=$with_queue_size; xcb_queue_buffer_size="$withval"
   20261 else
   20262   xcb_queue_buffer_size=16384
   20263 fi
   20264 
   20265 
   20266 cat >>confdefs.h <<_ACEOF
   20267 #define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size
   20268 _ACEOF
   20269 
   20270 
   20271 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
   20272                   #include <sys/un.h>
   20273 
   20274 "
   20275 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
   20276 
   20277 $as_echo "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
   20278 
   20279 fi
   20280 
   20281 
   20282 for ac_header in tsol/label.h
   20283 do :
   20284   ac_fn_c_check_header_mongrel "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
   20285 if test "x$ac_cv_header_tsol_label_h" = xyes; then :
   20286   cat >>confdefs.h <<_ACEOF
   20287 #define HAVE_TSOL_LABEL_H 1
   20288 _ACEOF
   20289 
   20290 fi
   20291 
   20292 done
   20293 
   20294 for ac_func in is_system_labeled
   20295 do :
   20296   ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
   20297 if test "x$ac_cv_func_is_system_labeled" = xyes; then :
   20298   cat >>confdefs.h <<_ACEOF
   20299 #define HAVE_IS_SYSTEM_LABELED 1
   20300 _ACEOF
   20301 
   20302 fi
   20303 done
   20304 
   20305 
   20306 ac_fn_c_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
   20307 "
   20308 if test "x$ac_cv_have_decl_IOV_MAX" = xyes; then :
   20309 
   20310 else
   20311   ac_fn_c_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
   20312 "
   20313 if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes; then :
   20314   $as_echo "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
   20315 
   20316 else
   20317 
   20318 $as_echo "#define IOV_MAX 16" >>confdefs.h
   20319 
   20320 fi
   20321 
   20322 fi
   20323 
   20324 
   20325 xcbincludedir='${includedir}/xcb'
   20326 
   20327 
   20328 
   20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
   20330 $as_echo_n "checking whether ${CC} supports symbol visibility... " >&6; }
   20331 
   20332 save_CFLAGS=${CFLAGS}
   20333 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
   20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20335 /* end confdefs.h.  */
   20336 
   20337 #pragma GCC visibility push(hidden)
   20338 extern void f(int);
   20339 #pragma GCC visibility pop
   20340 
   20341 int
   20342 main ()
   20343 {
   20344 
   20345 
   20346   ;
   20347   return 0;
   20348 }
   20349 _ACEOF
   20350 if ac_fn_c_try_compile "$LINENO"; then :
   20351 
   20352 $as_echo "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
   20353 
   20354     :
   20355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20356 $as_echo "yes" >&6; }
   20357 else
   20358   :
   20359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20360 $as_echo "no" >&6; }
   20361 fi
   20362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20363 
   20364 CFLAGS=${save_CFLAGS}
   20365 
   20366 
   20367 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20368 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   20369 
   20370 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
   20371 
   20372 fi
   20373 
   20374 
   20375 case $host_os in
   20376         # darwin through Snow Leopard has poll() but can't be used to poll character devices.
   20377         darwin[789]*|darwin10*) ;;
   20378         darwin*)
   20379                 _ac_xorg_macosx_version_min=""
   20380                 if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   20381                         _ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   20382                 else
   20383                         _ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   20384                 fi
   20385                 case $_ac_xorg_macosx_version_min in
   20386                         10.[0123456]|10.[0123456].*) ;;
   20387                         *)
   20388                                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20389 if test "x$ac_cv_func_poll" = xyes; then :
   20390 
   20391 $as_echo "#define USE_POLL 1" >>confdefs.h
   20392 
   20393 fi
   20394 
   20395                         ;;
   20396                 esac
   20397                 unset _ac_xorg_macosx_version_min
   20398                 ;;
   20399         *)
   20400                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20401 if test "x$ac_cv_func_poll" = xyes; then :
   20402 
   20403 $as_echo "#define USE_POLL 1" >>confdefs.h
   20404 
   20405 fi
   20406 
   20407         ;;
   20408 esac
   20409 
   20410 case $host_os in
   20411         *mingw*)
   20412                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20413 $as_echo_n "checking for main in -lws2_32... " >&6; }
   20414 if ${ac_cv_lib_ws2_32_main+:} false; then :
   20415   $as_echo_n "(cached) " >&6
   20416 else
   20417   ac_check_lib_save_LIBS=$LIBS
   20418 LIBS="-lws2_32  $LIBS"
   20419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20420 /* end confdefs.h.  */
   20421 
   20422 
   20423 int
   20424 main ()
   20425 {
   20426 return main ();
   20427   ;
   20428   return 0;
   20429 }
   20430 _ACEOF
   20431 if ac_fn_c_try_link "$LINENO"; then :
   20432   ac_cv_lib_ws2_32_main=yes
   20433 else
   20434   ac_cv_lib_ws2_32_main=no
   20435 fi
   20436 rm -f core conftest.err conftest.$ac_objext \
   20437     conftest$ac_exeext conftest.$ac_ext
   20438 LIBS=$ac_check_lib_save_LIBS
   20439 fi
   20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20441 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   20442 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   20443   cat >>confdefs.h <<_ACEOF
   20444 #define HAVE_LIBWS2_32 1
   20445 _ACEOF
   20446 
   20447   LIBS="-lws2_32 $LIBS"
   20448 
   20449 fi
   20450 
   20451                 ;;
   20452         *)
   20453                 ;;
   20454 esac
   20455 
   20456 
   20457 # Check whether --enable-composite was given.
   20458 if test "${enable_composite+set}" = set; then :
   20459   enableval=$enable_composite; BUILD_COMPOSITE=$enableval
   20460 else
   20461   BUILD_COMPOSITE=yes
   20462 fi
   20463 
   20464 
   20465 
   20466  if test "x$BUILD_COMPOSITE" = "xyes"; then
   20467   BUILD_COMPOSITE_TRUE=
   20468   BUILD_COMPOSITE_FALSE='#'
   20469 else
   20470   BUILD_COMPOSITE_TRUE='#'
   20471   BUILD_COMPOSITE_FALSE=
   20472 fi
   20473 
   20474 
   20475 
   20476 # Check whether --enable-damage was given.
   20477 if test "${enable_damage+set}" = set; then :
   20478   enableval=$enable_damage; BUILD_DAMAGE=$enableval
   20479 else
   20480   BUILD_DAMAGE=yes
   20481 fi
   20482 
   20483 
   20484 
   20485  if test "x$BUILD_DAMAGE" = "xyes"; then
   20486   BUILD_DAMAGE_TRUE=
   20487   BUILD_DAMAGE_FALSE='#'
   20488 else
   20489   BUILD_DAMAGE_TRUE='#'
   20490   BUILD_DAMAGE_FALSE=
   20491 fi
   20492 
   20493 
   20494 
   20495 # Check whether --enable-dpms was given.
   20496 if test "${enable_dpms+set}" = set; then :
   20497   enableval=$enable_dpms; BUILD_DPMS=$enableval
   20498 else
   20499   BUILD_DPMS=yes
   20500 fi
   20501 
   20502 
   20503 
   20504  if test "x$BUILD_DPMS" = "xyes"; then
   20505   BUILD_DPMS_TRUE=
   20506   BUILD_DPMS_FALSE='#'
   20507 else
   20508   BUILD_DPMS_TRUE='#'
   20509   BUILD_DPMS_FALSE=
   20510 fi
   20511 
   20512 
   20513 
   20514 # Check whether --enable-dri2 was given.
   20515 if test "${enable_dri2+set}" = set; then :
   20516   enableval=$enable_dri2; BUILD_DRI2=$enableval
   20517 else
   20518   BUILD_DRI2=yes
   20519 fi
   20520 
   20521 
   20522 
   20523  if test "x$BUILD_DRI2" = "xyes"; then
   20524   BUILD_DRI2_TRUE=
   20525   BUILD_DRI2_FALSE='#'
   20526 else
   20527   BUILD_DRI2_TRUE='#'
   20528   BUILD_DRI2_FALSE=
   20529 fi
   20530 
   20531 
   20532 
   20533 # Check whether --enable-dri3 was given.
   20534 if test "${enable_dri3+set}" = set; then :
   20535   enableval=$enable_dri3; BUILD_DRI3=$enableval
   20536 else
   20537   BUILD_DRI3=auto
   20538 fi
   20539 
   20540 
   20541 # This extension has a default value of "auto" and depends on the value of $have_sendmsg
   20542 if test "x$BUILD_DRI3" = "xauto" ; then
   20543     BUILD_DRI3=$have_sendmsg
   20544 fi
   20545 if test "x$BUILD_DRI3" = "xyes" ; then
   20546     if test "x$have_sendmsg" = "xno" ; then
   20547       as_fn_error $? "Extension DRI3 requested, but dependencies are not met" "$LINENO" 5
   20548     fi
   20549 fi
   20550 
   20551  if test "x$BUILD_DRI3" = "xyes"; then
   20552   BUILD_DRI3_TRUE=
   20553   BUILD_DRI3_FALSE='#'
   20554 else
   20555   BUILD_DRI3_TRUE='#'
   20556   BUILD_DRI3_FALSE=
   20557 fi
   20558 
   20559 
   20560 
   20561 # Check whether --enable-ge was given.
   20562 if test "${enable_ge+set}" = set; then :
   20563   enableval=$enable_ge; BUILD_GE=$enableval
   20564 else
   20565   BUILD_GE=no
   20566 fi
   20567 
   20568 
   20569 
   20570  if test "x$BUILD_GE" = "xyes"; then
   20571   BUILD_GE_TRUE=
   20572   BUILD_GE_FALSE='#'
   20573 else
   20574   BUILD_GE_TRUE='#'
   20575   BUILD_GE_FALSE=
   20576 fi
   20577 
   20578 
   20579 
   20580 # Check whether --enable-glx was given.
   20581 if test "${enable_glx+set}" = set; then :
   20582   enableval=$enable_glx; BUILD_GLX=$enableval
   20583 else
   20584   BUILD_GLX=yes
   20585 fi
   20586 
   20587 
   20588 
   20589  if test "x$BUILD_GLX" = "xyes"; then
   20590   BUILD_GLX_TRUE=
   20591   BUILD_GLX_FALSE='#'
   20592 else
   20593   BUILD_GLX_TRUE='#'
   20594   BUILD_GLX_FALSE=
   20595 fi
   20596 
   20597 
   20598 
   20599 # Check whether --enable-present was given.
   20600 if test "${enable_present+set}" = set; then :
   20601   enableval=$enable_present; BUILD_PRESENT=$enableval
   20602 else
   20603   BUILD_PRESENT=yes
   20604 fi
   20605 
   20606 
   20607 
   20608  if test "x$BUILD_PRESENT" = "xyes"; then
   20609   BUILD_PRESENT_TRUE=
   20610   BUILD_PRESENT_FALSE='#'
   20611 else
   20612   BUILD_PRESENT_TRUE='#'
   20613   BUILD_PRESENT_FALSE=
   20614 fi
   20615 
   20616 
   20617 
   20618 # Check whether --enable-randr was given.
   20619 if test "${enable_randr+set}" = set; then :
   20620   enableval=$enable_randr; BUILD_RANDR=$enableval
   20621 else
   20622   BUILD_RANDR=yes
   20623 fi
   20624 
   20625 
   20626 
   20627  if test "x$BUILD_RANDR" = "xyes"; then
   20628   BUILD_RANDR_TRUE=
   20629   BUILD_RANDR_FALSE='#'
   20630 else
   20631   BUILD_RANDR_TRUE='#'
   20632   BUILD_RANDR_FALSE=
   20633 fi
   20634 
   20635 
   20636 
   20637 # Check whether --enable-record was given.
   20638 if test "${enable_record+set}" = set; then :
   20639   enableval=$enable_record; BUILD_RECORD=$enableval
   20640 else
   20641   BUILD_RECORD=yes
   20642 fi
   20643 
   20644 
   20645 
   20646  if test "x$BUILD_RECORD" = "xyes"; then
   20647   BUILD_RECORD_TRUE=
   20648   BUILD_RECORD_FALSE='#'
   20649 else
   20650   BUILD_RECORD_TRUE='#'
   20651   BUILD_RECORD_FALSE=
   20652 fi
   20653 
   20654 
   20655 
   20656 # Check whether --enable-render was given.
   20657 if test "${enable_render+set}" = set; then :
   20658   enableval=$enable_render; BUILD_RENDER=$enableval
   20659 else
   20660   BUILD_RENDER=yes
   20661 fi
   20662 
   20663 
   20664 
   20665  if test "x$BUILD_RENDER" = "xyes"; then
   20666   BUILD_RENDER_TRUE=
   20667   BUILD_RENDER_FALSE='#'
   20668 else
   20669   BUILD_RENDER_TRUE='#'
   20670   BUILD_RENDER_FALSE=
   20671 fi
   20672 
   20673 
   20674 
   20675 # Check whether --enable-resource was given.
   20676 if test "${enable_resource+set}" = set; then :
   20677   enableval=$enable_resource; BUILD_RESOURCE=$enableval
   20678 else
   20679   BUILD_RESOURCE=yes
   20680 fi
   20681 
   20682 
   20683 
   20684  if test "x$BUILD_RESOURCE" = "xyes"; then
   20685   BUILD_RESOURCE_TRUE=
   20686   BUILD_RESOURCE_FALSE='#'
   20687 else
   20688   BUILD_RESOURCE_TRUE='#'
   20689   BUILD_RESOURCE_FALSE=
   20690 fi
   20691 
   20692 
   20693 
   20694 # Check whether --enable-screensaver was given.
   20695 if test "${enable_screensaver+set}" = set; then :
   20696   enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
   20697 else
   20698   BUILD_SCREENSAVER=yes
   20699 fi
   20700 
   20701 
   20702 
   20703  if test "x$BUILD_SCREENSAVER" = "xyes"; then
   20704   BUILD_SCREENSAVER_TRUE=
   20705   BUILD_SCREENSAVER_FALSE='#'
   20706 else
   20707   BUILD_SCREENSAVER_TRUE='#'
   20708   BUILD_SCREENSAVER_FALSE=
   20709 fi
   20710 
   20711 
   20712 
   20713 # Check whether --enable-shape was given.
   20714 if test "${enable_shape+set}" = set; then :
   20715   enableval=$enable_shape; BUILD_SHAPE=$enableval
   20716 else
   20717   BUILD_SHAPE=yes
   20718 fi
   20719 
   20720 
   20721 
   20722  if test "x$BUILD_SHAPE" = "xyes"; then
   20723   BUILD_SHAPE_TRUE=
   20724   BUILD_SHAPE_FALSE='#'
   20725 else
   20726   BUILD_SHAPE_TRUE='#'
   20727   BUILD_SHAPE_FALSE=
   20728 fi
   20729 
   20730 
   20731 
   20732 # Check whether --enable-shm was given.
   20733 if test "${enable_shm+set}" = set; then :
   20734   enableval=$enable_shm; BUILD_SHM=$enableval
   20735 else
   20736   BUILD_SHM=yes
   20737 fi
   20738 
   20739 
   20740 
   20741  if test "x$BUILD_SHM" = "xyes"; then
   20742   BUILD_SHM_TRUE=
   20743   BUILD_SHM_FALSE='#'
   20744 else
   20745   BUILD_SHM_TRUE='#'
   20746   BUILD_SHM_FALSE=
   20747 fi
   20748 
   20749 
   20750 
   20751 # Check whether --enable-sync was given.
   20752 if test "${enable_sync+set}" = set; then :
   20753   enableval=$enable_sync; BUILD_SYNC=$enableval
   20754 else
   20755   BUILD_SYNC=yes
   20756 fi
   20757 
   20758 
   20759 
   20760  if test "x$BUILD_SYNC" = "xyes"; then
   20761   BUILD_SYNC_TRUE=
   20762   BUILD_SYNC_FALSE='#'
   20763 else
   20764   BUILD_SYNC_TRUE='#'
   20765   BUILD_SYNC_FALSE=
   20766 fi
   20767 
   20768 
   20769 
   20770 # Check whether --enable-xevie was given.
   20771 if test "${enable_xevie+set}" = set; then :
   20772   enableval=$enable_xevie; BUILD_XEVIE=$enableval
   20773 else
   20774   BUILD_XEVIE=no
   20775 fi
   20776 
   20777 
   20778 
   20779  if test "x$BUILD_XEVIE" = "xyes"; then
   20780   BUILD_XEVIE_TRUE=
   20781   BUILD_XEVIE_FALSE='#'
   20782 else
   20783   BUILD_XEVIE_TRUE='#'
   20784   BUILD_XEVIE_FALSE=
   20785 fi
   20786 
   20787 
   20788 
   20789 # Check whether --enable-xfixes was given.
   20790 if test "${enable_xfixes+set}" = set; then :
   20791   enableval=$enable_xfixes; BUILD_XFIXES=$enableval
   20792 else
   20793   BUILD_XFIXES=yes
   20794 fi
   20795 
   20796 
   20797 
   20798  if test "x$BUILD_XFIXES" = "xyes"; then
   20799   BUILD_XFIXES_TRUE=
   20800   BUILD_XFIXES_FALSE='#'
   20801 else
   20802   BUILD_XFIXES_TRUE='#'
   20803   BUILD_XFIXES_FALSE=
   20804 fi
   20805 
   20806 
   20807 
   20808 # Check whether --enable-xfree86-dri was given.
   20809 if test "${enable_xfree86_dri+set}" = set; then :
   20810   enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
   20811 else
   20812   BUILD_XFREE86_DRI=yes
   20813 fi
   20814 
   20815 
   20816 
   20817  if test "x$BUILD_XFREE86_DRI" = "xyes"; then
   20818   BUILD_XFREE86_DRI_TRUE=
   20819   BUILD_XFREE86_DRI_FALSE='#'
   20820 else
   20821   BUILD_XFREE86_DRI_TRUE='#'
   20822   BUILD_XFREE86_DRI_FALSE=
   20823 fi
   20824 
   20825 
   20826 
   20827 # Check whether --enable-xinerama was given.
   20828 if test "${enable_xinerama+set}" = set; then :
   20829   enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
   20830 else
   20831   BUILD_XINERAMA=yes
   20832 fi
   20833 
   20834 
   20835 
   20836  if test "x$BUILD_XINERAMA" = "xyes"; then
   20837   BUILD_XINERAMA_TRUE=
   20838   BUILD_XINERAMA_FALSE='#'
   20839 else
   20840   BUILD_XINERAMA_TRUE='#'
   20841   BUILD_XINERAMA_FALSE=
   20842 fi
   20843 
   20844 
   20845 
   20846 # Check whether --enable-xinput was given.
   20847 if test "${enable_xinput+set}" = set; then :
   20848   enableval=$enable_xinput; BUILD_XINPUT=$enableval
   20849 else
   20850   BUILD_XINPUT=yes
   20851 fi
   20852 
   20853 
   20854 
   20855  if test "x$BUILD_XINPUT" = "xyes"; then
   20856   BUILD_XINPUT_TRUE=
   20857   BUILD_XINPUT_FALSE='#'
   20858 else
   20859   BUILD_XINPUT_TRUE='#'
   20860   BUILD_XINPUT_FALSE=
   20861 fi
   20862 
   20863 
   20864 
   20865 # Check whether --enable-xkb was given.
   20866 if test "${enable_xkb+set}" = set; then :
   20867   enableval=$enable_xkb; BUILD_XKB=$enableval
   20868 else
   20869   BUILD_XKB=yes
   20870 fi
   20871 
   20872 
   20873 
   20874  if test "x$BUILD_XKB" = "xyes"; then
   20875   BUILD_XKB_TRUE=
   20876   BUILD_XKB_FALSE='#'
   20877 else
   20878   BUILD_XKB_TRUE='#'
   20879   BUILD_XKB_FALSE=
   20880 fi
   20881 
   20882 
   20883 
   20884 # Check whether --enable-xprint was given.
   20885 if test "${enable_xprint+set}" = set; then :
   20886   enableval=$enable_xprint; BUILD_XPRINT=$enableval
   20887 else
   20888   BUILD_XPRINT=no
   20889 fi
   20890 
   20891 
   20892 
   20893  if test "x$BUILD_XPRINT" = "xyes"; then
   20894   BUILD_XPRINT_TRUE=
   20895   BUILD_XPRINT_FALSE='#'
   20896 else
   20897   BUILD_XPRINT_TRUE='#'
   20898   BUILD_XPRINT_FALSE=
   20899 fi
   20900 
   20901 
   20902 
   20903 # Check whether --enable-selinux was given.
   20904 if test "${enable_selinux+set}" = set; then :
   20905   enableval=$enable_selinux; BUILD_SELINUX=$enableval
   20906 else
   20907   BUILD_SELINUX=no
   20908 fi
   20909 
   20910 
   20911 
   20912  if test "x$BUILD_SELINUX" = "xyes"; then
   20913   BUILD_SELINUX_TRUE=
   20914   BUILD_SELINUX_FALSE='#'
   20915 else
   20916   BUILD_SELINUX_TRUE='#'
   20917   BUILD_SELINUX_FALSE=
   20918 fi
   20919 
   20920 
   20921 
   20922 # Check whether --enable-xtest was given.
   20923 if test "${enable_xtest+set}" = set; then :
   20924   enableval=$enable_xtest; BUILD_XTEST=$enableval
   20925 else
   20926   BUILD_XTEST=yes
   20927 fi
   20928 
   20929 
   20930 
   20931  if test "x$BUILD_XTEST" = "xyes"; then
   20932   BUILD_XTEST_TRUE=
   20933   BUILD_XTEST_FALSE='#'
   20934 else
   20935   BUILD_XTEST_TRUE='#'
   20936   BUILD_XTEST_FALSE=
   20937 fi
   20938 
   20939 
   20940 
   20941 # Check whether --enable-xv was given.
   20942 if test "${enable_xv+set}" = set; then :
   20943   enableval=$enable_xv; BUILD_XV=$enableval
   20944 else
   20945   BUILD_XV=yes
   20946 fi
   20947 
   20948 
   20949 
   20950  if test "x$BUILD_XV" = "xyes"; then
   20951   BUILD_XV_TRUE=
   20952   BUILD_XV_FALSE='#'
   20953 else
   20954   BUILD_XV_TRUE='#'
   20955   BUILD_XV_FALSE=
   20956 fi
   20957 
   20958 
   20959 
   20960 # Check whether --enable-xvmc was given.
   20961 if test "${enable_xvmc+set}" = set; then :
   20962   enableval=$enable_xvmc; BUILD_XVMC=$enableval
   20963 else
   20964   BUILD_XVMC=yes
   20965 fi
   20966 
   20967 
   20968 
   20969  if test "x$BUILD_XVMC" = "xyes"; then
   20970   BUILD_XVMC_TRUE=
   20971   BUILD_XVMC_FALSE='#'
   20972 else
   20973   BUILD_XVMC_TRUE='#'
   20974   BUILD_XVMC_FALSE=
   20975 fi
   20976 
   20977 
   20978 
   20979 
   20980 # Check whether --with-launchd was given.
   20981 if test "${with_launchd+set}" = set; then :
   20982   withval=$with_launchd; LAUNCHD=$withval
   20983 else
   20984   LAUNCHD=auto
   20985 fi
   20986 
   20987 if test "x$LAUNCHD" = xauto; then
   20988         unset LAUNCHD
   20989         # Extract the first word of "launchd", so it can be a program name with args.
   20990 set dummy launchd; ac_word=$2
   20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20992 $as_echo_n "checking for $ac_word... " >&6; }
   20993 if ${ac_cv_prog_LAUNCHD+:} false; then :
   20994   $as_echo_n "(cached) " >&6
   20995 else
   20996   if test -n "$LAUNCHD"; then
   20997   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   20998 else
   20999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21000 for as_dir in $PATH$PATH_SEPARATOR/sbin
   21001 do
   21002   IFS=$as_save_IFS
   21003   test -z "$as_dir" && as_dir=.
   21004     for ac_exec_ext in '' $ac_executable_extensions; do
   21005   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   21006     ac_cv_prog_LAUNCHD="yes"
   21007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   21008     break 2
   21009   fi
   21010 done
   21011   done
   21012 IFS=$as_save_IFS
   21013 
   21014   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   21015 fi
   21016 fi
   21017 LAUNCHD=$ac_cv_prog_LAUNCHD
   21018 if test -n "$LAUNCHD"; then
   21019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   21020 $as_echo "$LAUNCHD" >&6; }
   21021 else
   21022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21023 $as_echo "no" >&6; }
   21024 fi
   21025 
   21026 
   21027 fi
   21028 
   21029 if test "x$LAUNCHD" = xyes ; then
   21030 
   21031 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   21032 
   21033 fi
   21034 
   21035 
   21036 # Check whether --with-serverside-support was given.
   21037 if test "${with_serverside_support+set}" = set; then :
   21038   withval=$with_serverside_support; XCB_SERVERSIDE_SUPPORT=$withval
   21039 else
   21040   XCB_SERVERSIDE_SUPPORT=no
   21041 fi
   21042 
   21043 
   21044  if test "x$XCB_SERVERSIDE_SUPPORT" = "xyes"; then
   21045   XCB_SERVERSIDE_SUPPORT_TRUE=
   21046   XCB_SERVERSIDE_SUPPORT_FALSE='#'
   21047 else
   21048   XCB_SERVERSIDE_SUPPORT_TRUE='#'
   21049   XCB_SERVERSIDE_SUPPORT_FALSE=
   21050 fi
   21051 
   21052 
   21053 ac_config_files="$ac_config_files Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile"
   21054 
   21055 
   21056 ac_config_files="$ac_config_files xcb.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-dri2.pc xcb-dri3.pc xcb-ge.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"
   21057 
   21058 
   21059 ac_config_files="$ac_config_files doc/xcb.doxygen"
   21060 
   21061 
   21062 cat >confcache <<\_ACEOF
   21063 # This file is a shell script that caches the results of configure
   21064 # tests run on this system so they can be shared between configure
   21065 # scripts and configure runs, see configure's option --config-cache.
   21066 # It is not useful on other systems.  If it contains results you don't
   21067 # want to keep, you may remove or edit it.
   21068 #
   21069 # config.status only pays attention to the cache file if you give it
   21070 # the --recheck option to rerun configure.
   21071 #
   21072 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21073 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21074 # following values.
   21075 
   21076 _ACEOF
   21077 
   21078 # The following way of writing the cache mishandles newlines in values,
   21079 # but we know of no workaround that is simple, portable, and efficient.
   21080 # So, we kill variables containing newlines.
   21081 # Ultrix sh set writes to stderr and can't be redirected directly,
   21082 # and sets the high bit in the cache file unless we assign to the vars.
   21083 (
   21084   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21085     eval ac_val=\$$ac_var
   21086     case $ac_val in #(
   21087     *${as_nl}*)
   21088       case $ac_var in #(
   21089       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21091       esac
   21092       case $ac_var in #(
   21093       _ | IFS | as_nl) ;; #(
   21094       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21095       *) { eval $ac_var=; unset $ac_var;} ;;
   21096       esac ;;
   21097     esac
   21098   done
   21099 
   21100   (set) 2>&1 |
   21101     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21102     *${as_nl}ac_space=\ *)
   21103       # `set' does not quote correctly, so add quotes: double-quote
   21104       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21105       sed -n \
   21106 	"s/'/'\\\\''/g;
   21107 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21108       ;; #(
   21109     *)
   21110       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21111       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21112       ;;
   21113     esac |
   21114     sort
   21115 ) |
   21116   sed '
   21117      /^ac_cv_env_/b end
   21118      t clear
   21119      :clear
   21120      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21121      t end
   21122      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21123      :end' >>confcache
   21124 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21125   if test -w "$cache_file"; then
   21126     if test "x$cache_file" != "x/dev/null"; then
   21127       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21128 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21129       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21130 	cat confcache >"$cache_file"
   21131       else
   21132         case $cache_file in #(
   21133         */* | ?:*)
   21134 	  mv -f confcache "$cache_file"$$ &&
   21135 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21136         *)
   21137 	  mv -f confcache "$cache_file" ;;
   21138 	esac
   21139       fi
   21140     fi
   21141   else
   21142     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21143 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21144   fi
   21145 fi
   21146 rm -f confcache
   21147 
   21148 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21149 # Let make expand exec_prefix.
   21150 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21151 
   21152 DEFS=-DHAVE_CONFIG_H
   21153 
   21154 ac_libobjs=
   21155 ac_ltlibobjs=
   21156 U=
   21157 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21158   # 1. Remove the extension, and $U if already installed.
   21159   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21160   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21161   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21162   #    will be set to the directory where LIBOBJS objects are built.
   21163   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21164   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21165 done
   21166 LIBOBJS=$ac_libobjs
   21167 
   21168 LTLIBOBJS=$ac_ltlibobjs
   21169 
   21170 
   21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21172 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   21173    if test -n "$am_sleep_pid"; then
   21174      # Hide warnings about reused PIDs.
   21175      wait $am_sleep_pid 2>/dev/null
   21176    fi
   21177    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21178 $as_echo "done" >&6; }
   21179  if test -n "$EXEEXT"; then
   21180   am__EXEEXT_TRUE=
   21181   am__EXEEXT_FALSE='#'
   21182 else
   21183   am__EXEEXT_TRUE='#'
   21184   am__EXEEXT_FALSE=
   21185 fi
   21186 
   21187 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21188   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21190 fi
   21191 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21192   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21194 fi
   21195 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   21196   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   21197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21198 fi
   21199 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
   21200   as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
   21201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21202 fi
   21203 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   21204   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   21205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21206 fi
   21207 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
   21208   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
   21209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21210 fi
   21211 if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
   21212   as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
   21213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21214 fi
   21215 if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
   21216   as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
   21217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21218 fi
   21219 if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
   21220   as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
   21221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21222 fi
   21223 if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
   21224   as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
   21225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21226 fi
   21227 if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
   21228   as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
   21229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21230 fi
   21231 if test -z "${BUILD_DRI3_TRUE}" && test -z "${BUILD_DRI3_FALSE}"; then
   21232   as_fn_error $? "conditional \"BUILD_DRI3\" was never defined.
   21233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21234 fi
   21235 if test -z "${BUILD_GE_TRUE}" && test -z "${BUILD_GE_FALSE}"; then
   21236   as_fn_error $? "conditional \"BUILD_GE\" was never defined.
   21237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21238 fi
   21239 if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
   21240   as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
   21241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21242 fi
   21243 if test -z "${BUILD_PRESENT_TRUE}" && test -z "${BUILD_PRESENT_FALSE}"; then
   21244   as_fn_error $? "conditional \"BUILD_PRESENT\" was never defined.
   21245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21246 fi
   21247 if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
   21248   as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
   21249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21250 fi
   21251 if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
   21252   as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
   21253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21254 fi
   21255 if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
   21256   as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
   21257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21258 fi
   21259 if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
   21260   as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
   21261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21262 fi
   21263 if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
   21264   as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
   21265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21266 fi
   21267 if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
   21268   as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
   21269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21270 fi
   21271 if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
   21272   as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
   21273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21274 fi
   21275 if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
   21276   as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
   21277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21278 fi
   21279 if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
   21280   as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
   21281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21282 fi
   21283 if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
   21284   as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
   21285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21286 fi
   21287 if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
   21288   as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
   21289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21290 fi
   21291 if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
   21292   as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
   21293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21294 fi
   21295 if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
   21296   as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
   21297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21298 fi
   21299 if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
   21300   as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
   21301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21302 fi
   21303 if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
   21304   as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
   21305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21306 fi
   21307 if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
   21308   as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
   21309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21310 fi
   21311 if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
   21312   as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
   21313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21314 fi
   21315 if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
   21316   as_fn_error $? "conditional \"BUILD_XV\" was never defined.
   21317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21318 fi
   21319 if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
   21320   as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
   21321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21322 fi
   21323 if test -z "${XCB_SERVERSIDE_SUPPORT_TRUE}" && test -z "${XCB_SERVERSIDE_SUPPORT_FALSE}"; then
   21324   as_fn_error $? "conditional \"XCB_SERVERSIDE_SUPPORT\" was never defined.
   21325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21326 fi
   21327 
   21328 : "${CONFIG_STATUS=./config.status}"
   21329 ac_write_fail=0
   21330 ac_clean_files_save=$ac_clean_files
   21331 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21333 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21334 as_write_fail=0
   21335 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21336 #! $SHELL
   21337 # Generated by $as_me.
   21338 # Run this file to recreate the current configuration.
   21339 # Compiler output produced by configure, useful for debugging
   21340 # configure, is in config.log if it exists.
   21341 
   21342 debug=false
   21343 ac_cs_recheck=false
   21344 ac_cs_silent=false
   21345 
   21346 SHELL=\${CONFIG_SHELL-$SHELL}
   21347 export SHELL
   21348 _ASEOF
   21349 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21350 ## -------------------- ##
   21351 ## M4sh Initialization. ##
   21352 ## -------------------- ##
   21353 
   21354 # Be more Bourne compatible
   21355 DUALCASE=1; export DUALCASE # for MKS sh
   21356 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21357   emulate sh
   21358   NULLCMD=:
   21359   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21360   # is contrary to our usage.  Disable this feature.
   21361   alias -g '${1+"$@"}'='"$@"'
   21362   setopt NO_GLOB_SUBST
   21363 else
   21364   case `(set -o) 2>/dev/null` in #(
   21365   *posix*) :
   21366     set -o posix ;; #(
   21367   *) :
   21368      ;;
   21369 esac
   21370 fi
   21371 
   21372 
   21373 as_nl='
   21374 '
   21375 export as_nl
   21376 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21377 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21379 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21380 # Prefer a ksh shell builtin over an external printf program on Solaris,
   21381 # but without wasting forks for bash or zsh.
   21382 if test -z "$BASH_VERSION$ZSH_VERSION" \
   21383     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   21384   as_echo='print -r --'
   21385   as_echo_n='print -rn --'
   21386 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21387   as_echo='printf %s\n'
   21388   as_echo_n='printf %s'
   21389 else
   21390   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21391     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21392     as_echo_n='/usr/ucb/echo -n'
   21393   else
   21394     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21395     as_echo_n_body='eval
   21396       arg=$1;
   21397       case $arg in #(
   21398       *"$as_nl"*)
   21399 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21400 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21401       esac;
   21402       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21403     '
   21404     export as_echo_n_body
   21405     as_echo_n='sh -c $as_echo_n_body as_echo'
   21406   fi
   21407   export as_echo_body
   21408   as_echo='sh -c $as_echo_body as_echo'
   21409 fi
   21410 
   21411 # The user is always right.
   21412 if test "${PATH_SEPARATOR+set}" != set; then
   21413   PATH_SEPARATOR=:
   21414   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21415     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21416       PATH_SEPARATOR=';'
   21417   }
   21418 fi
   21419 
   21420 
   21421 # IFS
   21422 # We need space, tab and new line, in precisely that order.  Quoting is
   21423 # there to prevent editors from complaining about space-tab.
   21424 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21425 # splitting by setting IFS to empty value.)
   21426 IFS=" ""	$as_nl"
   21427 
   21428 # Find who we are.  Look in the path if we contain no directory separator.
   21429 as_myself=
   21430 case $0 in #((
   21431   *[\\/]* ) as_myself=$0 ;;
   21432   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21433 for as_dir in $PATH
   21434 do
   21435   IFS=$as_save_IFS
   21436   test -z "$as_dir" && as_dir=.
   21437     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21438   done
   21439 IFS=$as_save_IFS
   21440 
   21441      ;;
   21442 esac
   21443 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21444 # in which case we are not to be found in the path.
   21445 if test "x$as_myself" = x; then
   21446   as_myself=$0
   21447 fi
   21448 if test ! -f "$as_myself"; then
   21449   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21450   exit 1
   21451 fi
   21452 
   21453 # Unset variables that we do not need and which cause bugs (e.g. in
   21454 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   21455 # suppresses any "Segmentation fault" message there.  '((' could
   21456 # trigger a bug in pdksh 5.2.14.
   21457 for as_var in BASH_ENV ENV MAIL MAILPATH
   21458 do eval test x\${$as_var+set} = xset \
   21459   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21460 done
   21461 PS1='$ '
   21462 PS2='> '
   21463 PS4='+ '
   21464 
   21465 # NLS nuisances.
   21466 LC_ALL=C
   21467 export LC_ALL
   21468 LANGUAGE=C
   21469 export LANGUAGE
   21470 
   21471 # CDPATH.
   21472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21473 
   21474 
   21475 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21476 # ----------------------------------------
   21477 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21478 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21479 # script with STATUS, using 1 if that was 0.
   21480 as_fn_error ()
   21481 {
   21482   as_status=$1; test $as_status -eq 0 && as_status=1
   21483   if test "$4"; then
   21484     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21485     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21486   fi
   21487   $as_echo "$as_me: error: $2" >&2
   21488   as_fn_exit $as_status
   21489 } # as_fn_error
   21490 
   21491 
   21492 # as_fn_set_status STATUS
   21493 # -----------------------
   21494 # Set $? to STATUS, without forking.
   21495 as_fn_set_status ()
   21496 {
   21497   return $1
   21498 } # as_fn_set_status
   21499 
   21500 # as_fn_exit STATUS
   21501 # -----------------
   21502 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21503 as_fn_exit ()
   21504 {
   21505   set +e
   21506   as_fn_set_status $1
   21507   exit $1
   21508 } # as_fn_exit
   21509 
   21510 # as_fn_unset VAR
   21511 # ---------------
   21512 # Portably unset VAR.
   21513 as_fn_unset ()
   21514 {
   21515   { eval $1=; unset $1;}
   21516 }
   21517 as_unset=as_fn_unset
   21518 # as_fn_append VAR VALUE
   21519 # ----------------------
   21520 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21521 # advantage of any shell optimizations that allow amortized linear growth over
   21522 # repeated appends, instead of the typical quadratic growth present in naive
   21523 # implementations.
   21524 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   21525   eval 'as_fn_append ()
   21526   {
   21527     eval $1+=\$2
   21528   }'
   21529 else
   21530   as_fn_append ()
   21531   {
   21532     eval $1=\$$1\$2
   21533   }
   21534 fi # as_fn_append
   21535 
   21536 # as_fn_arith ARG...
   21537 # ------------------
   21538 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21539 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21540 # must be portable across $(()) and expr.
   21541 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   21542   eval 'as_fn_arith ()
   21543   {
   21544     as_val=$(( $* ))
   21545   }'
   21546 else
   21547   as_fn_arith ()
   21548   {
   21549     as_val=`expr "$@" || test $? -eq 1`
   21550   }
   21551 fi # as_fn_arith
   21552 
   21553 
   21554 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21555    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21556   as_expr=expr
   21557 else
   21558   as_expr=false
   21559 fi
   21560 
   21561 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21562   as_basename=basename
   21563 else
   21564   as_basename=false
   21565 fi
   21566 
   21567 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21568   as_dirname=dirname
   21569 else
   21570   as_dirname=false
   21571 fi
   21572 
   21573 as_me=`$as_basename -- "$0" ||
   21574 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21575 	 X"$0" : 'X\(//\)$' \| \
   21576 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21577 $as_echo X/"$0" |
   21578     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21579 	    s//\1/
   21580 	    q
   21581 	  }
   21582 	  /^X\/\(\/\/\)$/{
   21583 	    s//\1/
   21584 	    q
   21585 	  }
   21586 	  /^X\/\(\/\).*/{
   21587 	    s//\1/
   21588 	    q
   21589 	  }
   21590 	  s/.*/./; q'`
   21591 
   21592 # Avoid depending upon Character Ranges.
   21593 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21594 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21595 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21596 as_cr_digits='0123456789'
   21597 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21598 
   21599 ECHO_C= ECHO_N= ECHO_T=
   21600 case `echo -n x` in #(((((
   21601 -n*)
   21602   case `echo 'xy\c'` in
   21603   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21604   xy)  ECHO_C='\c';;
   21605   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21606        ECHO_T='	';;
   21607   esac;;
   21608 *)
   21609   ECHO_N='-n';;
   21610 esac
   21611 
   21612 rm -f conf$$ conf$$.exe conf$$.file
   21613 if test -d conf$$.dir; then
   21614   rm -f conf$$.dir/conf$$.file
   21615 else
   21616   rm -f conf$$.dir
   21617   mkdir conf$$.dir 2>/dev/null
   21618 fi
   21619 if (echo >conf$$.file) 2>/dev/null; then
   21620   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21621     as_ln_s='ln -s'
   21622     # ... but there are two gotchas:
   21623     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21624     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21625     # In both cases, we have to default to `cp -pR'.
   21626     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21627       as_ln_s='cp -pR'
   21628   elif ln conf$$.file conf$$ 2>/dev/null; then
   21629     as_ln_s=ln
   21630   else
   21631     as_ln_s='cp -pR'
   21632   fi
   21633 else
   21634   as_ln_s='cp -pR'
   21635 fi
   21636 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21637 rmdir conf$$.dir 2>/dev/null
   21638 
   21639 
   21640 # as_fn_mkdir_p
   21641 # -------------
   21642 # Create "$as_dir" as a directory, including parents if necessary.
   21643 as_fn_mkdir_p ()
   21644 {
   21645 
   21646   case $as_dir in #(
   21647   -*) as_dir=./$as_dir;;
   21648   esac
   21649   test -d "$as_dir" || eval $as_mkdir_p || {
   21650     as_dirs=
   21651     while :; do
   21652       case $as_dir in #(
   21653       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21654       *) as_qdir=$as_dir;;
   21655       esac
   21656       as_dirs="'$as_qdir' $as_dirs"
   21657       as_dir=`$as_dirname -- "$as_dir" ||
   21658 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21659 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21660 	 X"$as_dir" : 'X\(//\)$' \| \
   21661 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21662 $as_echo X"$as_dir" |
   21663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21664 	    s//\1/
   21665 	    q
   21666 	  }
   21667 	  /^X\(\/\/\)[^/].*/{
   21668 	    s//\1/
   21669 	    q
   21670 	  }
   21671 	  /^X\(\/\/\)$/{
   21672 	    s//\1/
   21673 	    q
   21674 	  }
   21675 	  /^X\(\/\).*/{
   21676 	    s//\1/
   21677 	    q
   21678 	  }
   21679 	  s/.*/./; q'`
   21680       test -d "$as_dir" && break
   21681     done
   21682     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21683   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21684 
   21685 
   21686 } # as_fn_mkdir_p
   21687 if mkdir -p . 2>/dev/null; then
   21688   as_mkdir_p='mkdir -p "$as_dir"'
   21689 else
   21690   test -d ./-p && rmdir ./-p
   21691   as_mkdir_p=false
   21692 fi
   21693 
   21694 
   21695 # as_fn_executable_p FILE
   21696 # -----------------------
   21697 # Test if FILE is an executable regular file.
   21698 as_fn_executable_p ()
   21699 {
   21700   test -f "$1" && test -x "$1"
   21701 } # as_fn_executable_p
   21702 as_test_x='test -x'
   21703 as_executable_p=as_fn_executable_p
   21704 
   21705 # Sed expression to map a string onto a valid CPP name.
   21706 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21707 
   21708 # Sed expression to map a string onto a valid variable name.
   21709 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21710 
   21711 
   21712 exec 6>&1
   21713 ## ----------------------------------- ##
   21714 ## Main body of $CONFIG_STATUS script. ##
   21715 ## ----------------------------------- ##
   21716 _ASEOF
   21717 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21718 
   21719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21720 # Save the log message, to keep $0 and so on meaningful, and to
   21721 # report actual input values of CONFIG_FILES etc. instead of their
   21722 # values after options handling.
   21723 ac_log="
   21724 This file was extended by libxcb $as_me 1.13, which was
   21725 generated by GNU Autoconf 2.69.  Invocation command line was
   21726 
   21727   CONFIG_FILES    = $CONFIG_FILES
   21728   CONFIG_HEADERS  = $CONFIG_HEADERS
   21729   CONFIG_LINKS    = $CONFIG_LINKS
   21730   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21731   $ $0 $@
   21732 
   21733 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21734 "
   21735 
   21736 _ACEOF
   21737 
   21738 case $ac_config_files in *"
   21739 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21740 esac
   21741 
   21742 case $ac_config_headers in *"
   21743 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21744 esac
   21745 
   21746 
   21747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21748 # Files that config.status was made for.
   21749 config_files="$ac_config_files"
   21750 config_headers="$ac_config_headers"
   21751 config_commands="$ac_config_commands"
   21752 
   21753 _ACEOF
   21754 
   21755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21756 ac_cs_usage="\
   21757 \`$as_me' instantiates files and other configuration actions
   21758 from templates according to the current configuration.  Unless the files
   21759 and actions are specified as TAGs, all are instantiated by default.
   21760 
   21761 Usage: $0 [OPTION]... [TAG]...
   21762 
   21763   -h, --help       print this help, then exit
   21764   -V, --version    print version number and configuration settings, then exit
   21765       --config     print configuration, then exit
   21766   -q, --quiet, --silent
   21767                    do not print progress messages
   21768   -d, --debug      don't remove temporary files
   21769       --recheck    update $as_me by reconfiguring in the same conditions
   21770       --file=FILE[:TEMPLATE]
   21771                    instantiate the configuration file FILE
   21772       --header=FILE[:TEMPLATE]
   21773                    instantiate the configuration header FILE
   21774 
   21775 Configuration files:
   21776 $config_files
   21777 
   21778 Configuration headers:
   21779 $config_headers
   21780 
   21781 Configuration commands:
   21782 $config_commands
   21783 
   21784 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xcb>."
   21785 
   21786 _ACEOF
   21787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21788 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   21789 ac_cs_version="\\
   21790 libxcb config.status 1.13
   21791 configured by $0, generated by GNU Autoconf 2.69,
   21792   with options \\"\$ac_cs_config\\"
   21793 
   21794 Copyright (C) 2012 Free Software Foundation, Inc.
   21795 This config.status script is free software; the Free Software Foundation
   21796 gives unlimited permission to copy, distribute and modify it."
   21797 
   21798 ac_pwd='$ac_pwd'
   21799 srcdir='$srcdir'
   21800 INSTALL='$INSTALL'
   21801 MKDIR_P='$MKDIR_P'
   21802 AWK='$AWK'
   21803 test -n "\$AWK" || AWK=awk
   21804 _ACEOF
   21805 
   21806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21807 # The default lists apply if the user does not specify any file.
   21808 ac_need_defaults=:
   21809 while test $# != 0
   21810 do
   21811   case $1 in
   21812   --*=?*)
   21813     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21814     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21815     ac_shift=:
   21816     ;;
   21817   --*=)
   21818     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21819     ac_optarg=
   21820     ac_shift=:
   21821     ;;
   21822   *)
   21823     ac_option=$1
   21824     ac_optarg=$2
   21825     ac_shift=shift
   21826     ;;
   21827   esac
   21828 
   21829   case $ac_option in
   21830   # Handling of the options.
   21831   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21832     ac_cs_recheck=: ;;
   21833   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21834     $as_echo "$ac_cs_version"; exit ;;
   21835   --config | --confi | --conf | --con | --co | --c )
   21836     $as_echo "$ac_cs_config"; exit ;;
   21837   --debug | --debu | --deb | --de | --d | -d )
   21838     debug=: ;;
   21839   --file | --fil | --fi | --f )
   21840     $ac_shift
   21841     case $ac_optarg in
   21842     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21843     '') as_fn_error $? "missing file argument" ;;
   21844     esac
   21845     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21846     ac_need_defaults=false;;
   21847   --header | --heade | --head | --hea )
   21848     $ac_shift
   21849     case $ac_optarg in
   21850     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21851     esac
   21852     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21853     ac_need_defaults=false;;
   21854   --he | --h)
   21855     # Conflict between --help and --header
   21856     as_fn_error $? "ambiguous option: \`$1'
   21857 Try \`$0 --help' for more information.";;
   21858   --help | --hel | -h )
   21859     $as_echo "$ac_cs_usage"; exit ;;
   21860   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21861   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21862     ac_cs_silent=: ;;
   21863 
   21864   # This is an error.
   21865   -*) as_fn_error $? "unrecognized option: \`$1'
   21866 Try \`$0 --help' for more information." ;;
   21867 
   21868   *) as_fn_append ac_config_targets " $1"
   21869      ac_need_defaults=false ;;
   21870 
   21871   esac
   21872   shift
   21873 done
   21874 
   21875 ac_configure_extra_args=
   21876 
   21877 if $ac_cs_silent; then
   21878   exec 6>/dev/null
   21879   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21880 fi
   21881 
   21882 _ACEOF
   21883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21884 if \$ac_cs_recheck; then
   21885   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21886   shift
   21887   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21888   CONFIG_SHELL='$SHELL'
   21889   export CONFIG_SHELL
   21890   exec "\$@"
   21891 fi
   21892 
   21893 _ACEOF
   21894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21895 exec 5>>config.log
   21896 {
   21897   echo
   21898   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21899 ## Running $as_me. ##
   21900 _ASBOX
   21901   $as_echo "$ac_log"
   21902 } >&5
   21903 
   21904 _ACEOF
   21905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21906 #
   21907 # INIT-COMMANDS
   21908 #
   21909 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21910 
   21911 
   21912 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21913 # if CDPATH is set.
   21914 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21915 
   21916 sed_quote_subst='$sed_quote_subst'
   21917 double_quote_subst='$double_quote_subst'
   21918 delay_variable_subst='$delay_variable_subst'
   21919 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21920 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21921 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21922 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21923 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21924 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21925 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21926 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21927 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21928 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21929 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21930 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21931 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21932 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21933 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21934 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21935 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21936 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21937 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21938 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21939 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21940 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21941 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21942 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21943 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21944 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21945 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21946 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21947 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21948 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21949 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21950 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21951 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21952 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21953 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21954 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21955 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21956 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21957 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21958 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21959 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21960 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21961 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21962 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21963 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21964 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21965 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21966 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21967 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21968 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21969 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21970 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21971 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21972 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21973 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21974 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21975 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21976 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21977 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21978 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"`'
   21979 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21980 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21981 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21982 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21983 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21984 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21985 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21986 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21987 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21988 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21989 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21990 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21991 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21992 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21993 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21994 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21995 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21996 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21997 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21998 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21999 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22000 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22001 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22002 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22003 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22004 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22005 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22006 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22007 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22008 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22009 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22010 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22011 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22012 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22013 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22014 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22015 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22016 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22017 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22018 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22019 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22020 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22021 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22022 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22023 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22024 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22025 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22026 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22027 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22028 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22029 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22030 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22031 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22032 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22033 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22034 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22035 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22036 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22037 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22038 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22039 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22040 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22041 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22042 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22043 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22044 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22045 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22046 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22047 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22048 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22049 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22050 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22051 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22052 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22053 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22054 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22055 
   22056 LTCC='$LTCC'
   22057 LTCFLAGS='$LTCFLAGS'
   22058 compiler='$compiler_DEFAULT'
   22059 
   22060 # A function that is used when there is no print builtin or printf.
   22061 func_fallback_echo ()
   22062 {
   22063   eval 'cat <<_LTECHO_EOF
   22064 \$1
   22065 _LTECHO_EOF'
   22066 }
   22067 
   22068 # Quote evaled strings.
   22069 for var in AS \
   22070 DLLTOOL \
   22071 OBJDUMP \
   22072 SHELL \
   22073 ECHO \
   22074 PATH_SEPARATOR \
   22075 SED \
   22076 GREP \
   22077 EGREP \
   22078 FGREP \
   22079 LD \
   22080 NM \
   22081 LN_S \
   22082 lt_SP2NL \
   22083 lt_NL2SP \
   22084 reload_flag \
   22085 deplibs_check_method \
   22086 file_magic_cmd \
   22087 file_magic_glob \
   22088 want_nocaseglob \
   22089 sharedlib_from_linklib_cmd \
   22090 AR \
   22091 AR_FLAGS \
   22092 archiver_list_spec \
   22093 STRIP \
   22094 RANLIB \
   22095 CC \
   22096 CFLAGS \
   22097 compiler \
   22098 lt_cv_sys_global_symbol_pipe \
   22099 lt_cv_sys_global_symbol_to_cdecl \
   22100 lt_cv_sys_global_symbol_to_import \
   22101 lt_cv_sys_global_symbol_to_c_name_address \
   22102 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22103 lt_cv_nm_interface \
   22104 nm_file_list_spec \
   22105 lt_cv_truncate_bin \
   22106 lt_prog_compiler_no_builtin_flag \
   22107 lt_prog_compiler_pic \
   22108 lt_prog_compiler_wl \
   22109 lt_prog_compiler_static \
   22110 lt_cv_prog_compiler_c_o \
   22111 need_locks \
   22112 MANIFEST_TOOL \
   22113 DSYMUTIL \
   22114 NMEDIT \
   22115 LIPO \
   22116 OTOOL \
   22117 OTOOL64 \
   22118 shrext_cmds \
   22119 export_dynamic_flag_spec \
   22120 whole_archive_flag_spec \
   22121 compiler_needs_object \
   22122 with_gnu_ld \
   22123 allow_undefined_flag \
   22124 no_undefined_flag \
   22125 hardcode_libdir_flag_spec \
   22126 hardcode_libdir_separator \
   22127 exclude_expsyms \
   22128 include_expsyms \
   22129 file_list_spec \
   22130 variables_saved_for_relink \
   22131 libname_spec \
   22132 library_names_spec \
   22133 soname_spec \
   22134 install_override_mode \
   22135 finish_eval \
   22136 old_striplib \
   22137 striplib; do
   22138     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22139     *[\\\\\\\`\\"\\\$]*)
   22140       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22141       ;;
   22142     *)
   22143       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22144       ;;
   22145     esac
   22146 done
   22147 
   22148 # Double-quote double-evaled strings.
   22149 for var in reload_cmds \
   22150 old_postinstall_cmds \
   22151 old_postuninstall_cmds \
   22152 old_archive_cmds \
   22153 extract_expsyms_cmds \
   22154 old_archive_from_new_cmds \
   22155 old_archive_from_expsyms_cmds \
   22156 archive_cmds \
   22157 archive_expsym_cmds \
   22158 module_cmds \
   22159 module_expsym_cmds \
   22160 export_symbols_cmds \
   22161 prelink_cmds \
   22162 postlink_cmds \
   22163 postinstall_cmds \
   22164 postuninstall_cmds \
   22165 finish_cmds \
   22166 sys_lib_search_path_spec \
   22167 configure_time_dlsearch_path \
   22168 configure_time_lt_sys_library_path; do
   22169     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22170     *[\\\\\\\`\\"\\\$]*)
   22171       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22172       ;;
   22173     *)
   22174       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22175       ;;
   22176     esac
   22177 done
   22178 
   22179 ac_aux_dir='$ac_aux_dir'
   22180 
   22181 # See if we are running on zsh, and set the options that allow our
   22182 # commands through without removal of \ escapes INIT.
   22183 if test -n "\${ZSH_VERSION+set}"; then
   22184    setopt NO_GLOB_SUBST
   22185 fi
   22186 
   22187 
   22188     PACKAGE='$PACKAGE'
   22189     VERSION='$VERSION'
   22190     RM='$RM'
   22191     ofile='$ofile'
   22192 
   22193 
   22194 
   22195 
   22196 _ACEOF
   22197 
   22198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22199 
   22200 # Handling of arguments.
   22201 for ac_config_target in $ac_config_targets
   22202 do
   22203   case $ac_config_target in
   22204     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   22205     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22206     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22207     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22208     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22209     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22210     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22211     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22212     "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
   22213     "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
   22214     "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
   22215     "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
   22216     "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
   22217     "xcb-dri3.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri3.pc" ;;
   22218     "xcb-ge.pc") CONFIG_FILES="$CONFIG_FILES xcb-ge.pc" ;;
   22219     "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
   22220     "xcb-present.pc") CONFIG_FILES="$CONFIG_FILES xcb-present.pc" ;;
   22221     "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
   22222     "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
   22223     "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
   22224     "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
   22225     "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
   22226     "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
   22227     "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
   22228     "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
   22229     "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
   22230     "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
   22231     "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
   22232     "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
   22233     "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
   22234     "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
   22235     "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
   22236     "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
   22237     "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
   22238     "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
   22239     "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
   22240     "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
   22241 
   22242   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22243   esac
   22244 done
   22245 
   22246 
   22247 # If the user did not use the arguments to specify the items to instantiate,
   22248 # then the envvar interface is used.  Set only those that are not.
   22249 # We use the long form for the default assignment because of an extremely
   22250 # bizarre bug on SunOS 4.1.3.
   22251 if $ac_need_defaults; then
   22252   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22253   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22254   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22255 fi
   22256 
   22257 # Have a temporary directory for convenience.  Make it in the build tree
   22258 # simply because there is no reason against having it here, and in addition,
   22259 # creating and moving files from /tmp can sometimes cause problems.
   22260 # Hook for its removal unless debugging.
   22261 # Note that there is a small window in which the directory will not be cleaned:
   22262 # after its creation but before its name has been assigned to `$tmp'.
   22263 $debug ||
   22264 {
   22265   tmp= ac_tmp=
   22266   trap 'exit_status=$?
   22267   : "${ac_tmp:=$tmp}"
   22268   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22269 ' 0
   22270   trap 'as_fn_exit 1' 1 2 13 15
   22271 }
   22272 # Create a (secure) tmp directory for tmp files.
   22273 
   22274 {
   22275   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22276   test -d "$tmp"
   22277 }  ||
   22278 {
   22279   tmp=./conf$$-$RANDOM
   22280   (umask 077 && mkdir "$tmp")
   22281 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22282 ac_tmp=$tmp
   22283 
   22284 # Set up the scripts for CONFIG_FILES section.
   22285 # No need to generate them if there are no CONFIG_FILES.
   22286 # This happens for instance with `./config.status config.h'.
   22287 if test -n "$CONFIG_FILES"; then
   22288 
   22289 
   22290 ac_cr=`echo X | tr X '\015'`
   22291 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22292 # But we know of no other shell where ac_cr would be empty at this
   22293 # point, so we can use a bashism as a fallback.
   22294 if test "x$ac_cr" = x; then
   22295   eval ac_cr=\$\'\\r\'
   22296 fi
   22297 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22298 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22299   ac_cs_awk_cr='\\r'
   22300 else
   22301   ac_cs_awk_cr=$ac_cr
   22302 fi
   22303 
   22304 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22305 _ACEOF
   22306 
   22307 
   22308 {
   22309   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22310   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22311   echo "_ACEOF"
   22312 } >conf$$subs.sh ||
   22313   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22314 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22315 ac_delim='%!_!# '
   22316 for ac_last_try in false false false false false :; do
   22317   . ./conf$$subs.sh ||
   22318     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22319 
   22320   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22321   if test $ac_delim_n = $ac_delim_num; then
   22322     break
   22323   elif $ac_last_try; then
   22324     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22325   else
   22326     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22327   fi
   22328 done
   22329 rm -f conf$$subs.sh
   22330 
   22331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22332 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22333 _ACEOF
   22334 sed -n '
   22335 h
   22336 s/^/S["/; s/!.*/"]=/
   22337 p
   22338 g
   22339 s/^[^!]*!//
   22340 :repl
   22341 t repl
   22342 s/'"$ac_delim"'$//
   22343 t delim
   22344 :nl
   22345 h
   22346 s/\(.\{148\}\)..*/\1/
   22347 t more1
   22348 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22349 p
   22350 n
   22351 b repl
   22352 :more1
   22353 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22354 p
   22355 g
   22356 s/.\{148\}//
   22357 t nl
   22358 :delim
   22359 h
   22360 s/\(.\{148\}\)..*/\1/
   22361 t more2
   22362 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22363 p
   22364 b
   22365 :more2
   22366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22367 p
   22368 g
   22369 s/.\{148\}//
   22370 t delim
   22371 ' <conf$$subs.awk | sed '
   22372 /^[^""]/{
   22373   N
   22374   s/\n//
   22375 }
   22376 ' >>$CONFIG_STATUS || ac_write_fail=1
   22377 rm -f conf$$subs.awk
   22378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22379 _ACAWK
   22380 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22381   for (key in S) S_is_set[key] = 1
   22382   FS = ""
   22383 
   22384 }
   22385 {
   22386   line = $ 0
   22387   nfields = split(line, field, "@")
   22388   substed = 0
   22389   len = length(field[1])
   22390   for (i = 2; i < nfields; i++) {
   22391     key = field[i]
   22392     keylen = length(key)
   22393     if (S_is_set[key]) {
   22394       value = S[key]
   22395       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22396       len += length(value) + length(field[++i])
   22397       substed = 1
   22398     } else
   22399       len += 1 + keylen
   22400   }
   22401 
   22402   print line
   22403 }
   22404 
   22405 _ACAWK
   22406 _ACEOF
   22407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22408 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22409   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22410 else
   22411   cat
   22412 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22413   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22414 _ACEOF
   22415 
   22416 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22417 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22418 # trailing colons and then remove the whole line if VPATH becomes empty
   22419 # (actually we leave an empty line to preserve line numbers).
   22420 if test "x$srcdir" = x.; then
   22421   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22422 h
   22423 s///
   22424 s/^/:/
   22425 s/[	 ]*$/:/
   22426 s/:\$(srcdir):/:/g
   22427 s/:\${srcdir}:/:/g
   22428 s/:@srcdir@:/:/g
   22429 s/^:*//
   22430 s/:*$//
   22431 x
   22432 s/\(=[	 ]*\).*/\1/
   22433 G
   22434 s/\n//
   22435 s/^[^=]*=[	 ]*$//
   22436 }'
   22437 fi
   22438 
   22439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22440 fi # test -n "$CONFIG_FILES"
   22441 
   22442 # Set up the scripts for CONFIG_HEADERS section.
   22443 # No need to generate them if there are no CONFIG_HEADERS.
   22444 # This happens for instance with `./config.status Makefile'.
   22445 if test -n "$CONFIG_HEADERS"; then
   22446 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22447 BEGIN {
   22448 _ACEOF
   22449 
   22450 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22451 # here-document in config.status, that substitutes the proper values into
   22452 # config.h.in to produce config.h.
   22453 
   22454 # Create a delimiter string that does not exist in confdefs.h, to ease
   22455 # handling of long lines.
   22456 ac_delim='%!_!# '
   22457 for ac_last_try in false false :; do
   22458   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22459   if test -z "$ac_tt"; then
   22460     break
   22461   elif $ac_last_try; then
   22462     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22463   else
   22464     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22465   fi
   22466 done
   22467 
   22468 # For the awk script, D is an array of macro values keyed by name,
   22469 # likewise P contains macro parameters if any.  Preserve backslash
   22470 # newline sequences.
   22471 
   22472 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22473 sed -n '
   22474 s/.\{148\}/&'"$ac_delim"'/g
   22475 t rset
   22476 :rset
   22477 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22478 t def
   22479 d
   22480 :def
   22481 s/\\$//
   22482 t bsnl
   22483 s/["\\]/\\&/g
   22484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22485 D["\1"]=" \3"/p
   22486 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22487 d
   22488 :bsnl
   22489 s/["\\]/\\&/g
   22490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22491 D["\1"]=" \3\\\\\\n"\\/p
   22492 t cont
   22493 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22494 t cont
   22495 d
   22496 :cont
   22497 n
   22498 s/.\{148\}/&'"$ac_delim"'/g
   22499 t clear
   22500 :clear
   22501 s/\\$//
   22502 t bsnlc
   22503 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22504 d
   22505 :bsnlc
   22506 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22507 b cont
   22508 ' <confdefs.h | sed '
   22509 s/'"$ac_delim"'/"\\\
   22510 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22511 
   22512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22513   for (key in D) D_is_set[key] = 1
   22514   FS = ""
   22515 }
   22516 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22517   line = \$ 0
   22518   split(line, arg, " ")
   22519   if (arg[1] == "#") {
   22520     defundef = arg[2]
   22521     mac1 = arg[3]
   22522   } else {
   22523     defundef = substr(arg[1], 2)
   22524     mac1 = arg[2]
   22525   }
   22526   split(mac1, mac2, "(") #)
   22527   macro = mac2[1]
   22528   prefix = substr(line, 1, index(line, defundef) - 1)
   22529   if (D_is_set[macro]) {
   22530     # Preserve the white space surrounding the "#".
   22531     print prefix "define", macro P[macro] D[macro]
   22532     next
   22533   } else {
   22534     # Replace #undef with comments.  This is necessary, for example,
   22535     # in the case of _POSIX_SOURCE, which is predefined and required
   22536     # on some systems where configure will not decide to define it.
   22537     if (defundef == "undef") {
   22538       print "/*", prefix defundef, macro, "*/"
   22539       next
   22540     }
   22541   }
   22542 }
   22543 { print }
   22544 _ACAWK
   22545 _ACEOF
   22546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22547   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22548 fi # test -n "$CONFIG_HEADERS"
   22549 
   22550 
   22551 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22552 shift
   22553 for ac_tag
   22554 do
   22555   case $ac_tag in
   22556   :[FHLC]) ac_mode=$ac_tag; continue;;
   22557   esac
   22558   case $ac_mode$ac_tag in
   22559   :[FHL]*:*);;
   22560   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22561   :[FH]-) ac_tag=-:-;;
   22562   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22563   esac
   22564   ac_save_IFS=$IFS
   22565   IFS=:
   22566   set x $ac_tag
   22567   IFS=$ac_save_IFS
   22568   shift
   22569   ac_file=$1
   22570   shift
   22571 
   22572   case $ac_mode in
   22573   :L) ac_source=$1;;
   22574   :[FH])
   22575     ac_file_inputs=
   22576     for ac_f
   22577     do
   22578       case $ac_f in
   22579       -) ac_f="$ac_tmp/stdin";;
   22580       *) # Look for the file first in the build tree, then in the source tree
   22581 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22582 	 # because $ac_f cannot contain `:'.
   22583 	 test -f "$ac_f" ||
   22584 	   case $ac_f in
   22585 	   [\\/$]*) false;;
   22586 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22587 	   esac ||
   22588 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22589       esac
   22590       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22591       as_fn_append ac_file_inputs " '$ac_f'"
   22592     done
   22593 
   22594     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22595     # use $as_me), people would be surprised to read:
   22596     #    /* config.h.  Generated by config.status.  */
   22597     configure_input='Generated from '`
   22598 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22599 	`' by configure.'
   22600     if test x"$ac_file" != x-; then
   22601       configure_input="$ac_file.  $configure_input"
   22602       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22603 $as_echo "$as_me: creating $ac_file" >&6;}
   22604     fi
   22605     # Neutralize special characters interpreted by sed in replacement strings.
   22606     case $configure_input in #(
   22607     *\&* | *\|* | *\\* )
   22608        ac_sed_conf_input=`$as_echo "$configure_input" |
   22609        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22610     *) ac_sed_conf_input=$configure_input;;
   22611     esac
   22612 
   22613     case $ac_tag in
   22614     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22615       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22616     esac
   22617     ;;
   22618   esac
   22619 
   22620   ac_dir=`$as_dirname -- "$ac_file" ||
   22621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22622 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22623 	 X"$ac_file" : 'X\(//\)$' \| \
   22624 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22625 $as_echo X"$ac_file" |
   22626     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22627 	    s//\1/
   22628 	    q
   22629 	  }
   22630 	  /^X\(\/\/\)[^/].*/{
   22631 	    s//\1/
   22632 	    q
   22633 	  }
   22634 	  /^X\(\/\/\)$/{
   22635 	    s//\1/
   22636 	    q
   22637 	  }
   22638 	  /^X\(\/\).*/{
   22639 	    s//\1/
   22640 	    q
   22641 	  }
   22642 	  s/.*/./; q'`
   22643   as_dir="$ac_dir"; as_fn_mkdir_p
   22644   ac_builddir=.
   22645 
   22646 case "$ac_dir" in
   22647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22648 *)
   22649   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22650   # A ".." for each directory in $ac_dir_suffix.
   22651   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22652   case $ac_top_builddir_sub in
   22653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22655   esac ;;
   22656 esac
   22657 ac_abs_top_builddir=$ac_pwd
   22658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22659 # for backward compatibility:
   22660 ac_top_builddir=$ac_top_build_prefix
   22661 
   22662 case $srcdir in
   22663   .)  # We are building in place.
   22664     ac_srcdir=.
   22665     ac_top_srcdir=$ac_top_builddir_sub
   22666     ac_abs_top_srcdir=$ac_pwd ;;
   22667   [\\/]* | ?:[\\/]* )  # Absolute name.
   22668     ac_srcdir=$srcdir$ac_dir_suffix;
   22669     ac_top_srcdir=$srcdir
   22670     ac_abs_top_srcdir=$srcdir ;;
   22671   *) # Relative name.
   22672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22673     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22675 esac
   22676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22677 
   22678 
   22679   case $ac_mode in
   22680   :F)
   22681   #
   22682   # CONFIG_FILE
   22683   #
   22684 
   22685   case $INSTALL in
   22686   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22687   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22688   esac
   22689   ac_MKDIR_P=$MKDIR_P
   22690   case $MKDIR_P in
   22691   [\\/$]* | ?:[\\/]* ) ;;
   22692   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22693   esac
   22694 _ACEOF
   22695 
   22696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22697 # If the template does not know about datarootdir, expand it.
   22698 # FIXME: This hack should be removed a few years after 2.60.
   22699 ac_datarootdir_hack=; ac_datarootdir_seen=
   22700 ac_sed_dataroot='
   22701 /datarootdir/ {
   22702   p
   22703   q
   22704 }
   22705 /@datadir@/p
   22706 /@docdir@/p
   22707 /@infodir@/p
   22708 /@localedir@/p
   22709 /@mandir@/p'
   22710 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22711 *datarootdir*) ac_datarootdir_seen=yes;;
   22712 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22713   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22714 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22715 _ACEOF
   22716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22717   ac_datarootdir_hack='
   22718   s&@datadir@&$datadir&g
   22719   s&@docdir@&$docdir&g
   22720   s&@infodir@&$infodir&g
   22721   s&@localedir@&$localedir&g
   22722   s&@mandir@&$mandir&g
   22723   s&\\\${datarootdir}&$datarootdir&g' ;;
   22724 esac
   22725 _ACEOF
   22726 
   22727 # Neutralize VPATH when `$srcdir' = `.'.
   22728 # Shell code in configure.ac might set extrasub.
   22729 # FIXME: do we really want to maintain this feature?
   22730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22731 ac_sed_extra="$ac_vpsub
   22732 $extrasub
   22733 _ACEOF
   22734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22735 :t
   22736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22737 s|@configure_input@|$ac_sed_conf_input|;t t
   22738 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22739 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22740 s&@srcdir@&$ac_srcdir&;t t
   22741 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22742 s&@top_srcdir@&$ac_top_srcdir&;t t
   22743 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22744 s&@builddir@&$ac_builddir&;t t
   22745 s&@abs_builddir@&$ac_abs_builddir&;t t
   22746 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22747 s&@INSTALL@&$ac_INSTALL&;t t
   22748 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22749 $ac_datarootdir_hack
   22750 "
   22751 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22752   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22753 
   22754 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22755   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22756   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22757       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22758   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22759 which seems to be undefined.  Please make sure it is defined" >&5
   22760 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22761 which seems to be undefined.  Please make sure it is defined" >&2;}
   22762 
   22763   rm -f "$ac_tmp/stdin"
   22764   case $ac_file in
   22765   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22766   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22767   esac \
   22768   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22769  ;;
   22770   :H)
   22771   #
   22772   # CONFIG_HEADER
   22773   #
   22774   if test x"$ac_file" != x-; then
   22775     {
   22776       $as_echo "/* $configure_input  */" \
   22777       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22778     } >"$ac_tmp/config.h" \
   22779       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22780     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22781       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22782 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22783     else
   22784       rm -f "$ac_file"
   22785       mv "$ac_tmp/config.h" "$ac_file" \
   22786 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22787     fi
   22788   else
   22789     $as_echo "/* $configure_input  */" \
   22790       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22791       || as_fn_error $? "could not create -" "$LINENO" 5
   22792   fi
   22793 # Compute "$ac_file"'s index in $config_headers.
   22794 _am_arg="$ac_file"
   22795 _am_stamp_count=1
   22796 for _am_header in $config_headers :; do
   22797   case $_am_header in
   22798     $_am_arg | $_am_arg:* )
   22799       break ;;
   22800     * )
   22801       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22802   esac
   22803 done
   22804 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22805 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22806 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22807 	 X"$_am_arg" : 'X\(//\)$' \| \
   22808 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22809 $as_echo X"$_am_arg" |
   22810     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22811 	    s//\1/
   22812 	    q
   22813 	  }
   22814 	  /^X\(\/\/\)[^/].*/{
   22815 	    s//\1/
   22816 	    q
   22817 	  }
   22818 	  /^X\(\/\/\)$/{
   22819 	    s//\1/
   22820 	    q
   22821 	  }
   22822 	  /^X\(\/\).*/{
   22823 	    s//\1/
   22824 	    q
   22825 	  }
   22826 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22827  ;;
   22828 
   22829   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22830 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22831  ;;
   22832   esac
   22833 
   22834 
   22835   case $ac_file$ac_mode in
   22836     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22837   # Older Autoconf quotes --file arguments for eval, but not when files
   22838   # are listed without --file.  Let's play safe and only enable the eval
   22839   # if we detect the quoting.
   22840   case $CONFIG_FILES in
   22841   *\'*) eval set x "$CONFIG_FILES" ;;
   22842   *)   set x $CONFIG_FILES ;;
   22843   esac
   22844   shift
   22845   for mf
   22846   do
   22847     # Strip MF so we end up with the name of the file.
   22848     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22849     # Check whether this is an Automake generated Makefile or not.
   22850     # We used to match only the files named 'Makefile.in', but
   22851     # some people rename them; so instead we look at the file content.
   22852     # Grep'ing the first line is not enough: some people post-process
   22853     # each Makefile.in and add a new line on top of each file to say so.
   22854     # Grep'ing the whole file is not good either: AIX grep has a line
   22855     # limit of 2048, but all sed's we know have understand at least 4000.
   22856     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22857       dirpart=`$as_dirname -- "$mf" ||
   22858 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22859 	 X"$mf" : 'X\(//\)[^/]' \| \
   22860 	 X"$mf" : 'X\(//\)$' \| \
   22861 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22862 $as_echo X"$mf" |
   22863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22864 	    s//\1/
   22865 	    q
   22866 	  }
   22867 	  /^X\(\/\/\)[^/].*/{
   22868 	    s//\1/
   22869 	    q
   22870 	  }
   22871 	  /^X\(\/\/\)$/{
   22872 	    s//\1/
   22873 	    q
   22874 	  }
   22875 	  /^X\(\/\).*/{
   22876 	    s//\1/
   22877 	    q
   22878 	  }
   22879 	  s/.*/./; q'`
   22880     else
   22881       continue
   22882     fi
   22883     # Extract the definition of DEPDIR, am__include, and am__quote
   22884     # from the Makefile without running 'make'.
   22885     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22886     test -z "$DEPDIR" && continue
   22887     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22888     test -z "$am__include" && continue
   22889     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22890     # Find all dependency output files, they are included files with
   22891     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22892     # simplest approach to changing $(DEPDIR) to its actual value in the
   22893     # expansion.
   22894     for file in `sed -n "
   22895       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22896 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   22897       # Make sure the directory exists.
   22898       test -f "$dirpart/$file" && continue
   22899       fdir=`$as_dirname -- "$file" ||
   22900 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22901 	 X"$file" : 'X\(//\)[^/]' \| \
   22902 	 X"$file" : 'X\(//\)$' \| \
   22903 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22904 $as_echo X"$file" |
   22905     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22906 	    s//\1/
   22907 	    q
   22908 	  }
   22909 	  /^X\(\/\/\)[^/].*/{
   22910 	    s//\1/
   22911 	    q
   22912 	  }
   22913 	  /^X\(\/\/\)$/{
   22914 	    s//\1/
   22915 	    q
   22916 	  }
   22917 	  /^X\(\/\).*/{
   22918 	    s//\1/
   22919 	    q
   22920 	  }
   22921 	  s/.*/./; q'`
   22922       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   22923       # echo "creating $dirpart/$file"
   22924       echo '# dummy' > "$dirpart/$file"
   22925     done
   22926   done
   22927 }
   22928  ;;
   22929     "libtool":C)
   22930 
   22931     # See if we are running on zsh, and set the options that allow our
   22932     # commands through without removal of \ escapes.
   22933     if test -n "${ZSH_VERSION+set}"; then
   22934       setopt NO_GLOB_SUBST
   22935     fi
   22936 
   22937     cfgfile=${ofile}T
   22938     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22939     $RM "$cfgfile"
   22940 
   22941     cat <<_LT_EOF >> "$cfgfile"
   22942 #! $SHELL
   22943 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22944 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22945 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22946 
   22947 # Provide generalized library-building support services.
   22948 # Written by Gordon Matzigkeit, 1996
   22949 
   22950 # Copyright (C) 2014 Free Software Foundation, Inc.
   22951 # This is free software; see the source for copying conditions.  There is NO
   22952 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22953 
   22954 # GNU Libtool is free software; you can redistribute it and/or modify
   22955 # it under the terms of the GNU General Public License as published by
   22956 # the Free Software Foundation; either version 2 of of the License, or
   22957 # (at your option) any later version.
   22958 #
   22959 # As a special exception to the GNU General Public License, if you
   22960 # distribute this file as part of a program or library that is built
   22961 # using GNU Libtool, you may include this file under the  same
   22962 # distribution terms that you use for the rest of that program.
   22963 #
   22964 # GNU Libtool is distributed in the hope that it will be useful, but
   22965 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22966 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22967 # GNU General Public License for more details.
   22968 #
   22969 # You should have received a copy of the GNU General Public License
   22970 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22971 
   22972 
   22973 # The names of the tagged configurations supported by this script.
   22974 available_tags=''
   22975 
   22976 # Configured defaults for sys_lib_dlsearch_path munging.
   22977 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22978 
   22979 # ### BEGIN LIBTOOL CONFIG
   22980 
   22981 # Which release of libtool.m4 was used?
   22982 macro_version=$macro_version
   22983 macro_revision=$macro_revision
   22984 
   22985 # Assembler program.
   22986 AS=$lt_AS
   22987 
   22988 # DLL creation program.
   22989 DLLTOOL=$lt_DLLTOOL
   22990 
   22991 # Object dumper program.
   22992 OBJDUMP=$lt_OBJDUMP
   22993 
   22994 # Whether or not to build shared libraries.
   22995 build_libtool_libs=$enable_shared
   22996 
   22997 # Whether or not to build static libraries.
   22998 build_old_libs=$enable_static
   22999 
   23000 # What type of objects to build.
   23001 pic_mode=$pic_mode
   23002 
   23003 # Whether or not to optimize for fast installation.
   23004 fast_install=$enable_fast_install
   23005 
   23006 # Shared archive member basename,for filename based shared library versioning on AIX.
   23007 shared_archive_member_spec=$shared_archive_member_spec
   23008 
   23009 # Shell to use when invoking shell scripts.
   23010 SHELL=$lt_SHELL
   23011 
   23012 # An echo program that protects backslashes.
   23013 ECHO=$lt_ECHO
   23014 
   23015 # The PATH separator for the build system.
   23016 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23017 
   23018 # The host system.
   23019 host_alias=$host_alias
   23020 host=$host
   23021 host_os=$host_os
   23022 
   23023 # The build system.
   23024 build_alias=$build_alias
   23025 build=$build
   23026 build_os=$build_os
   23027 
   23028 # A sed program that does not truncate output.
   23029 SED=$lt_SED
   23030 
   23031 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23032 Xsed="\$SED -e 1s/^X//"
   23033 
   23034 # A grep program that handles long lines.
   23035 GREP=$lt_GREP
   23036 
   23037 # An ERE matcher.
   23038 EGREP=$lt_EGREP
   23039 
   23040 # A literal string matcher.
   23041 FGREP=$lt_FGREP
   23042 
   23043 # A BSD- or MS-compatible name lister.
   23044 NM=$lt_NM
   23045 
   23046 # Whether we need soft or hard links.
   23047 LN_S=$lt_LN_S
   23048 
   23049 # What is the maximum length of a command?
   23050 max_cmd_len=$max_cmd_len
   23051 
   23052 # Object file suffix (normally "o").
   23053 objext=$ac_objext
   23054 
   23055 # Executable file suffix (normally "").
   23056 exeext=$exeext
   23057 
   23058 # whether the shell understands "unset".
   23059 lt_unset=$lt_unset
   23060 
   23061 # turn spaces into newlines.
   23062 SP2NL=$lt_lt_SP2NL
   23063 
   23064 # turn newlines into spaces.
   23065 NL2SP=$lt_lt_NL2SP
   23066 
   23067 # convert \$build file names to \$host format.
   23068 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23069 
   23070 # convert \$build files to toolchain format.
   23071 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23072 
   23073 # Method to check whether dependent libraries are shared objects.
   23074 deplibs_check_method=$lt_deplibs_check_method
   23075 
   23076 # Command to use when deplibs_check_method = "file_magic".
   23077 file_magic_cmd=$lt_file_magic_cmd
   23078 
   23079 # How to find potential files when deplibs_check_method = "file_magic".
   23080 file_magic_glob=$lt_file_magic_glob
   23081 
   23082 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23083 want_nocaseglob=$lt_want_nocaseglob
   23084 
   23085 # Command to associate shared and link libraries.
   23086 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23087 
   23088 # The archiver.
   23089 AR=$lt_AR
   23090 
   23091 # Flags to create an archive.
   23092 AR_FLAGS=$lt_AR_FLAGS
   23093 
   23094 # How to feed a file listing to the archiver.
   23095 archiver_list_spec=$lt_archiver_list_spec
   23096 
   23097 # A symbol stripping program.
   23098 STRIP=$lt_STRIP
   23099 
   23100 # Commands used to install an old-style archive.
   23101 RANLIB=$lt_RANLIB
   23102 old_postinstall_cmds=$lt_old_postinstall_cmds
   23103 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23104 
   23105 # Whether to use a lock for old archive extraction.
   23106 lock_old_archive_extraction=$lock_old_archive_extraction
   23107 
   23108 # A C compiler.
   23109 LTCC=$lt_CC
   23110 
   23111 # LTCC compiler flags.
   23112 LTCFLAGS=$lt_CFLAGS
   23113 
   23114 # Take the output of nm and produce a listing of raw symbols and C names.
   23115 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23116 
   23117 # Transform the output of nm in a proper C declaration.
   23118 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23119 
   23120 # Transform the output of nm into a list of symbols to manually relocate.
   23121 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23122 
   23123 # Transform the output of nm in a C name address pair.
   23124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23125 
   23126 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23127 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23128 
   23129 # The name lister interface.
   23130 nm_interface=$lt_lt_cv_nm_interface
   23131 
   23132 # Specify filename containing input files for \$NM.
   23133 nm_file_list_spec=$lt_nm_file_list_spec
   23134 
   23135 # The root where to search for dependent libraries,and where our libraries should be installed.
   23136 lt_sysroot=$lt_sysroot
   23137 
   23138 # Command to truncate a binary pipe.
   23139 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23140 
   23141 # The name of the directory that contains temporary libtool files.
   23142 objdir=$objdir
   23143 
   23144 # Used to examine libraries when file_magic_cmd begins with "file".
   23145 MAGIC_CMD=$MAGIC_CMD
   23146 
   23147 # Must we lock files when doing compilation?
   23148 need_locks=$lt_need_locks
   23149 
   23150 # Manifest tool.
   23151 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23152 
   23153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23154 DSYMUTIL=$lt_DSYMUTIL
   23155 
   23156 # Tool to change global to local symbols on Mac OS X.
   23157 NMEDIT=$lt_NMEDIT
   23158 
   23159 # Tool to manipulate fat objects and archives on Mac OS X.
   23160 LIPO=$lt_LIPO
   23161 
   23162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23163 OTOOL=$lt_OTOOL
   23164 
   23165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23166 OTOOL64=$lt_OTOOL64
   23167 
   23168 # Old archive suffix (normally "a").
   23169 libext=$libext
   23170 
   23171 # Shared library suffix (normally ".so").
   23172 shrext_cmds=$lt_shrext_cmds
   23173 
   23174 # The commands to extract the exported symbol list from a shared archive.
   23175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23176 
   23177 # Variables whose values should be saved in libtool wrapper scripts and
   23178 # restored at link time.
   23179 variables_saved_for_relink=$lt_variables_saved_for_relink
   23180 
   23181 # Do we need the "lib" prefix for modules?
   23182 need_lib_prefix=$need_lib_prefix
   23183 
   23184 # Do we need a version for libraries?
   23185 need_version=$need_version
   23186 
   23187 # Library versioning type.
   23188 version_type=$version_type
   23189 
   23190 # Shared library runtime path variable.
   23191 runpath_var=$runpath_var
   23192 
   23193 # Shared library path variable.
   23194 shlibpath_var=$shlibpath_var
   23195 
   23196 # Is shlibpath searched before the hard-coded library search path?
   23197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23198 
   23199 # Format of library name prefix.
   23200 libname_spec=$lt_libname_spec
   23201 
   23202 # List of archive names.  First name is the real one, the rest are links.
   23203 # The last name is the one that the linker finds with -lNAME
   23204 library_names_spec=$lt_library_names_spec
   23205 
   23206 # The coded name of the library, if different from the real name.
   23207 soname_spec=$lt_soname_spec
   23208 
   23209 # Permission mode override for installation of shared libraries.
   23210 install_override_mode=$lt_install_override_mode
   23211 
   23212 # Command to use after installation of a shared archive.
   23213 postinstall_cmds=$lt_postinstall_cmds
   23214 
   23215 # Command to use after uninstallation of a shared archive.
   23216 postuninstall_cmds=$lt_postuninstall_cmds
   23217 
   23218 # Commands used to finish a libtool library installation in a directory.
   23219 finish_cmds=$lt_finish_cmds
   23220 
   23221 # As "finish_cmds", except a single script fragment to be evaled but
   23222 # not shown.
   23223 finish_eval=$lt_finish_eval
   23224 
   23225 # Whether we should hardcode library paths into libraries.
   23226 hardcode_into_libs=$hardcode_into_libs
   23227 
   23228 # Compile-time system search path for libraries.
   23229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23230 
   23231 # Detected run-time system search path for libraries.
   23232 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23233 
   23234 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23235 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23236 
   23237 # Whether dlopen is supported.
   23238 dlopen_support=$enable_dlopen
   23239 
   23240 # Whether dlopen of programs is supported.
   23241 dlopen_self=$enable_dlopen_self
   23242 
   23243 # Whether dlopen of statically linked programs is supported.
   23244 dlopen_self_static=$enable_dlopen_self_static
   23245 
   23246 # Commands to strip libraries.
   23247 old_striplib=$lt_old_striplib
   23248 striplib=$lt_striplib
   23249 
   23250 
   23251 # The linker used to build libraries.
   23252 LD=$lt_LD
   23253 
   23254 # How to create reloadable object files.
   23255 reload_flag=$lt_reload_flag
   23256 reload_cmds=$lt_reload_cmds
   23257 
   23258 # Commands used to build an old-style archive.
   23259 old_archive_cmds=$lt_old_archive_cmds
   23260 
   23261 # A language specific compiler.
   23262 CC=$lt_compiler
   23263 
   23264 # Is the compiler the GNU compiler?
   23265 with_gcc=$GCC
   23266 
   23267 # Compiler flag to turn off builtin functions.
   23268 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23269 
   23270 # Additional compiler flags for building library objects.
   23271 pic_flag=$lt_lt_prog_compiler_pic
   23272 
   23273 # How to pass a linker flag through the compiler.
   23274 wl=$lt_lt_prog_compiler_wl
   23275 
   23276 # Compiler flag to prevent dynamic linking.
   23277 link_static_flag=$lt_lt_prog_compiler_static
   23278 
   23279 # Does compiler simultaneously support -c and -o options?
   23280 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23281 
   23282 # Whether or not to add -lc for building shared libraries.
   23283 build_libtool_need_lc=$archive_cmds_need_lc
   23284 
   23285 # Whether or not to disallow shared libs when runtime libs are static.
   23286 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23287 
   23288 # Compiler flag to allow reflexive dlopens.
   23289 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23290 
   23291 # Compiler flag to generate shared objects directly from archives.
   23292 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23293 
   23294 # Whether the compiler copes with passing no objects directly.
   23295 compiler_needs_object=$lt_compiler_needs_object
   23296 
   23297 # Create an old-style archive from a shared archive.
   23298 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23299 
   23300 # Create a temporary old-style archive to link instead of a shared archive.
   23301 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23302 
   23303 # Commands used to build a shared archive.
   23304 archive_cmds=$lt_archive_cmds
   23305 archive_expsym_cmds=$lt_archive_expsym_cmds
   23306 
   23307 # Commands used to build a loadable module if different from building
   23308 # a shared archive.
   23309 module_cmds=$lt_module_cmds
   23310 module_expsym_cmds=$lt_module_expsym_cmds
   23311 
   23312 # Whether we are building with GNU ld or not.
   23313 with_gnu_ld=$lt_with_gnu_ld
   23314 
   23315 # Flag that allows shared libraries with undefined symbols to be built.
   23316 allow_undefined_flag=$lt_allow_undefined_flag
   23317 
   23318 # Flag that enforces no undefined symbols.
   23319 no_undefined_flag=$lt_no_undefined_flag
   23320 
   23321 # Flag to hardcode \$libdir into a binary during linking.
   23322 # This must work even if \$libdir does not exist
   23323 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23324 
   23325 # Whether we need a single "-rpath" flag with a separated argument.
   23326 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23327 
   23328 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23329 # DIR into the resulting binary.
   23330 hardcode_direct=$hardcode_direct
   23331 
   23332 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23333 # DIR into the resulting binary and the resulting library dependency is
   23334 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23335 # library is relocated.
   23336 hardcode_direct_absolute=$hardcode_direct_absolute
   23337 
   23338 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23339 # into the resulting binary.
   23340 hardcode_minus_L=$hardcode_minus_L
   23341 
   23342 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23343 # into the resulting binary.
   23344 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23345 
   23346 # Set to "yes" if building a shared library automatically hardcodes DIR
   23347 # into the library and all subsequent libraries and executables linked
   23348 # against it.
   23349 hardcode_automatic=$hardcode_automatic
   23350 
   23351 # Set to yes if linker adds runtime paths of dependent libraries
   23352 # to runtime path list.
   23353 inherit_rpath=$inherit_rpath
   23354 
   23355 # Whether libtool must link a program against all its dependency libraries.
   23356 link_all_deplibs=$link_all_deplibs
   23357 
   23358 # Set to "yes" if exported symbols are required.
   23359 always_export_symbols=$always_export_symbols
   23360 
   23361 # The commands to list exported symbols.
   23362 export_symbols_cmds=$lt_export_symbols_cmds
   23363 
   23364 # Symbols that should not be listed in the preloaded symbols.
   23365 exclude_expsyms=$lt_exclude_expsyms
   23366 
   23367 # Symbols that must always be exported.
   23368 include_expsyms=$lt_include_expsyms
   23369 
   23370 # Commands necessary for linking programs (against libraries) with templates.
   23371 prelink_cmds=$lt_prelink_cmds
   23372 
   23373 # Commands necessary for finishing linking programs.
   23374 postlink_cmds=$lt_postlink_cmds
   23375 
   23376 # Specify filename containing input files.
   23377 file_list_spec=$lt_file_list_spec
   23378 
   23379 # How to hardcode a shared library path into an executable.
   23380 hardcode_action=$hardcode_action
   23381 
   23382 # ### END LIBTOOL CONFIG
   23383 
   23384 _LT_EOF
   23385 
   23386     cat <<'_LT_EOF' >> "$cfgfile"
   23387 
   23388 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23389 
   23390 # func_munge_path_list VARIABLE PATH
   23391 # -----------------------------------
   23392 # VARIABLE is name of variable containing _space_ separated list of
   23393 # directories to be munged by the contents of PATH, which is string
   23394 # having a format:
   23395 # "DIR[:DIR]:"
   23396 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23397 # ":DIR[:DIR]"
   23398 #       string "DIR[ DIR]" will be appended to VARIABLE
   23399 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23400 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23401 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23402 # "DIR[:DIR]"
   23403 #       VARIABLE will be replaced by "DIR[ DIR]"
   23404 func_munge_path_list ()
   23405 {
   23406     case x$2 in
   23407     x)
   23408         ;;
   23409     *:)
   23410         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23411         ;;
   23412     x:*)
   23413         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23414         ;;
   23415     *::*)
   23416         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23417         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23418         ;;
   23419     *)
   23420         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23421         ;;
   23422     esac
   23423 }
   23424 
   23425 
   23426 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23427 func_cc_basename ()
   23428 {
   23429     for cc_temp in $*""; do
   23430       case $cc_temp in
   23431         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23432         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23433         \-*) ;;
   23434         *) break;;
   23435       esac
   23436     done
   23437     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23438 }
   23439 
   23440 
   23441 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23442 
   23443 _LT_EOF
   23444 
   23445   case $host_os in
   23446   aix3*)
   23447     cat <<\_LT_EOF >> "$cfgfile"
   23448 # AIX sometimes has problems with the GCC collect2 program.  For some
   23449 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23450 # vanish in a puff of smoke.
   23451 if test set != "${COLLECT_NAMES+set}"; then
   23452   COLLECT_NAMES=
   23453   export COLLECT_NAMES
   23454 fi
   23455 _LT_EOF
   23456     ;;
   23457   esac
   23458 
   23459 
   23460 ltmain=$ac_aux_dir/ltmain.sh
   23461 
   23462 
   23463   # We use sed instead of cat because bash on DJGPP gets confused if
   23464   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23465   # text mode, it properly converts lines to CR/LF.  This bash problem
   23466   # is reportedly fixed, but why not run on old versions too?
   23467   sed '$q' "$ltmain" >> "$cfgfile" \
   23468      || (rm -f "$cfgfile"; exit 1)
   23469 
   23470    mv -f "$cfgfile" "$ofile" ||
   23471     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23472   chmod +x "$ofile"
   23473 
   23474  ;;
   23475 
   23476   esac
   23477 done # for ac_tag
   23478 
   23479 
   23480 as_fn_exit 0
   23481 _ACEOF
   23482 ac_clean_files=$ac_clean_files_save
   23483 
   23484 test $ac_write_fail = 0 ||
   23485   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23486 
   23487 
   23488 # configure is writing to config.log, and then calls config.status.
   23489 # config.status does its own redirection, appending to config.log.
   23490 # Unfortunately, on DOS this fails, as config.log is still kept open
   23491 # by configure, so config.status won't be able to write to it; its
   23492 # output is simply discarded.  So we exec the FD to /dev/null,
   23493 # effectively closing config.log, so it can be properly (re)opened and
   23494 # appended to by config.status.  When coming back to configure, we
   23495 # need to make the FD available again.
   23496 if test "$no_create" != yes; then
   23497   ac_cs_success=:
   23498   ac_config_status_args=
   23499   test "$silent" = yes &&
   23500     ac_config_status_args="$ac_config_status_args --quiet"
   23501   exec 5>/dev/null
   23502   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23503   exec 5>>config.log
   23504   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23505   # would make configure fail if this is the last instruction.
   23506   $ac_cs_success || as_fn_exit 1
   23507 fi
   23508 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23509   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23510 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23511 fi
   23512 
   23513 
   23514 
   23515 echo ""
   23516 echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
   23517 echo ""
   23518 echo "  Configuration"
   23519 echo "    XDM support.........: ${have_xdmcp}"
   23520 echo "    sendmsg fd passing..: ${have_sendmsg}"
   23521 echo "    Build unit tests....: ${HAVE_CHECK}"
   23522 echo "      with html results.: ${HTML_CHECK_RESULT}"
   23523 echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
   23524 echo ""
   23525 echo "  X11 extensions"
   23526 echo "    Composite...........: ${BUILD_COMPOSITE}"
   23527 echo "    Damage..............: ${BUILD_DAMAGE}"
   23528 echo "    Dpms................: ${BUILD_DPMS}"
   23529 echo "    Dri2................: ${BUILD_DRI2}"
   23530 echo "    Dri3................: ${BUILD_DRI3}"
   23531 echo "    GenericEvent........: ${BUILD_GE}"
   23532 echo "    Glx.................: ${BUILD_GLX}"
   23533 echo "    Randr...............: ${BUILD_RANDR}"
   23534 echo "    Record..............: ${BUILD_RECORD}"
   23535 echo "    Render..............: ${BUILD_RENDER}"
   23536 echo "    Resource............: ${BUILD_RESOURCE}"
   23537 echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
   23538 echo "    selinux.............: ${BUILD_SELINUX}"
   23539 echo "    Shape...............: ${BUILD_SHAPE}"
   23540 echo "    Shm.................: ${BUILD_SHM}"
   23541 echo "    Sync................: ${BUILD_SYNC}"
   23542 echo "    Xevie...............: ${BUILD_XEVIE}"
   23543 echo "    Xfixes..............: ${BUILD_XFIXES}"
   23544 echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
   23545 echo "    xinerama............: ${BUILD_XINERAMA}"
   23546 echo "    xinput..............: ${BUILD_XINPUT}"
   23547 echo "    xkb.................: ${BUILD_XKB}"
   23548 echo "    xprint..............: ${BUILD_XPRINT}"
   23549 echo "    xtest...............: ${BUILD_XTEST}"
   23550 echo "    xv..................: ${BUILD_XV}"
   23551 echo "    xvmc................: ${BUILD_XVMC}"
   23552 echo ""
   23553 echo "  Used CFLAGS:"
   23554 echo "    CPPFLAGS............: ${CPPFLAGS}"
   23555 echo "    CFLAGS..............: ${CFLAGS}"
   23556 echo ""
   23557 echo "  Installation:"
   23558 echo "    Prefix..............: ${prefix}"
   23559 echo ""
   23560