Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libxcb 1.14.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>.
      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://gitlab.freedesktop.org/xorg/lib/libxcb/issues
    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.14'
    595 PACKAGE_STRING='libxcb 1.14'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcb/issues'
    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__include
    788 DEPDIR
    789 OBJEXT
    790 EXEEXT
    791 ac_ct_CC
    792 CPPFLAGS
    793 LDFLAGS
    794 CFLAGS
    795 CC
    796 pkgpyexecdir
    797 pyexecdir
    798 pkgpythondir
    799 pythondir
    800 PYTHON_PLATFORM
    801 PYTHON_EXEC_PREFIX
    802 PYTHON_PREFIX
    803 PYTHON_VERSION
    804 PYTHON
    805 AM_BACKSLASH
    806 AM_DEFAULT_VERBOSITY
    807 AM_DEFAULT_V
    808 AM_V
    809 am__untar
    810 am__tar
    811 AMTAR
    812 am__leading_dot
    813 SET_MAKE
    814 AWK
    815 mkdir_p
    816 MKDIR_P
    817 INSTALL_STRIP_PROGRAM
    818 STRIP
    819 install_sh
    820 MAKEINFO
    821 AUTOHEADER
    822 AUTOMAKE
    823 AUTOCONF
    824 ACLOCAL
    825 VERSION
    826 PACKAGE
    827 CYGPATH_W
    828 am__isrc
    829 INSTALL_DATA
    830 INSTALL_SCRIPT
    831 INSTALL_PROGRAM
    832 target_alias
    833 host_alias
    834 build_alias
    835 LIBS
    836 ECHO_T
    837 ECHO_N
    838 ECHO_C
    839 DEFS
    840 mandir
    841 localedir
    842 libdir
    843 psdir
    844 pdfdir
    845 dvidir
    846 htmldir
    847 infodir
    848 docdir
    849 oldincludedir
    850 includedir
    851 localstatedir
    852 sharedstatedir
    853 sysconfdir
    854 datadir
    855 datarootdir
    856 libexecdir
    857 sbindir
    858 bindir
    859 program_transform_name
    860 prefix
    861 exec_prefix
    862 PACKAGE_URL
    863 PACKAGE_BUGREPORT
    864 PACKAGE_STRING
    865 PACKAGE_VERSION
    866 PACKAGE_TARNAME
    867 PACKAGE_NAME
    868 PATH_SEPARATOR
    869 SHELL
    870 am__quote'
    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.14 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.14:";;
   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://gitlab.freedesktop.org/xorg/lib/libxcb/issues>.
   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.14
   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://gitlab.freedesktop.org/xorg/lib/libxcb/issues ##
   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.14, 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.16'
   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.14'
   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 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3100 # <https://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: <https://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.9 python3.8 python3.7 python3.6 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3432 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3433 cat > confinc.mk << 'END'
   3434 am__doit:
   3435 	@echo this is the am__doit target >confinc.out
   3436 .PHONY: am__doit
   3437 END
   3438 am__include="#"
   3439 am__quote=
   3440 # BSD make does it like this.
   3441 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3442 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3443 echo 'include confinc.mk # ignored' > confmf.GNU
   3444 _am_result=no
   3445 for s in GNU BSD; do
   3446   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3447    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3448    ac_status=$?
   3449    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3450    (exit $ac_status); }
   3451   case $?:`cat confinc.out 2>/dev/null` in #(
   3452   '0:this is the am__doit target') :
   3453     case $s in #(
   3454   BSD) :
   3455     am__include='.include' am__quote='"' ;; #(
   3456   *) :
   3457     am__include='include' am__quote='' ;;
   3458 esac ;; #(
   3459   *) :
   3460      ;;
   3461 esac
   3462   if test "$am__include" != "#"; then
   3463     _am_result="yes ($s style)"
   3464     break
   3465   fi
   3466 done
   3467 rm -f confinc.* confmf.*
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3469 $as_echo "${_am_result}" >&6; }
   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   mint*)
   5633     # On MiNT this can take a long time and run out of memory.
   5634     lt_cv_sys_max_cmd_len=8192;
   5635     ;;
   5636 
   5637   amigaos*)
   5638     # On AmigaOS with pdksh, this test takes hours, literally.
   5639     # So we just punt and use a minimum line length of 8192.
   5640     lt_cv_sys_max_cmd_len=8192;
   5641     ;;
   5642 
   5643   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5644     # This has been around since 386BSD, at least.  Likely further.
   5645     if test -x /sbin/sysctl; then
   5646       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5647     elif test -x /usr/sbin/sysctl; then
   5648       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5649     else
   5650       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5651     fi
   5652     # And add a safety zone
   5653     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5654     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5655     ;;
   5656 
   5657   interix*)
   5658     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5659     lt_cv_sys_max_cmd_len=196608
   5660     ;;
   5661 
   5662   os2*)
   5663     # The test takes a long time on OS/2.
   5664     lt_cv_sys_max_cmd_len=8192
   5665     ;;
   5666 
   5667   osf*)
   5668     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5669     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5670     # nice to cause kernel panics so lets avoid the loop below.
   5671     # First set a reasonable default.
   5672     lt_cv_sys_max_cmd_len=16384
   5673     #
   5674     if test -x /sbin/sysconfig; then
   5675       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5676         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5677       esac
   5678     fi
   5679     ;;
   5680   sco3.2v5*)
   5681     lt_cv_sys_max_cmd_len=102400
   5682     ;;
   5683   sysv5* | sco5v6* | sysv4.2uw2*)
   5684     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5685     if test -n "$kargmax"; then
   5686       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5687     else
   5688       lt_cv_sys_max_cmd_len=32768
   5689     fi
   5690     ;;
   5691   *)
   5692     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5693     if test -n "$lt_cv_sys_max_cmd_len" && \
   5694        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5695       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5696       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5697     else
   5698       # Make teststring a little bigger before we do anything with it.
   5699       # a 1K string should be a reasonable start.
   5700       for i in 1 2 3 4 5 6 7 8; do
   5701         teststring=$teststring$teststring
   5702       done
   5703       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5704       # If test is not a shell built-in, we'll probably end up computing a
   5705       # maximum length that is only half of the actual maximum length, but
   5706       # we can't tell.
   5707       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5708 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5709 	      test 17 != "$i" # 1/2 MB should be enough
   5710       do
   5711         i=`expr $i + 1`
   5712         teststring=$teststring$teststring
   5713       done
   5714       # Only check the string length outside the loop.
   5715       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5716       teststring=
   5717       # Add a significant safety factor because C++ compilers can tack on
   5718       # massive amounts of additional arguments before passing them to the
   5719       # linker.  It appears as though 1/2 is a usable value.
   5720       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5721     fi
   5722     ;;
   5723   esac
   5724 
   5725 fi
   5726 
   5727 if test -n "$lt_cv_sys_max_cmd_len"; then
   5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5729 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5730 else
   5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5732 $as_echo "none" >&6; }
   5733 fi
   5734 max_cmd_len=$lt_cv_sys_max_cmd_len
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 : ${CP="cp -f"}
   5742 : ${MV="mv -f"}
   5743 : ${RM="rm -f"}
   5744 
   5745 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5746   lt_unset=unset
   5747 else
   5748   lt_unset=false
   5749 fi
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 # test EBCDIC or ASCII
   5756 case `echo X|tr X '\101'` in
   5757  A) # ASCII based system
   5758     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5759   lt_SP2NL='tr \040 \012'
   5760   lt_NL2SP='tr \015\012 \040\040'
   5761   ;;
   5762  *) # EBCDIC based system
   5763   lt_SP2NL='tr \100 \n'
   5764   lt_NL2SP='tr \r\n \100\100'
   5765   ;;
   5766 esac
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5777 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5778 if ${lt_cv_to_host_file_cmd+:} false; then :
   5779   $as_echo_n "(cached) " >&6
   5780 else
   5781   case $host in
   5782   *-*-mingw* )
   5783     case $build in
   5784       *-*-mingw* ) # actually msys
   5785         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5786         ;;
   5787       *-*-cygwin* )
   5788         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5789         ;;
   5790       * ) # otherwise, assume *nix
   5791         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5792         ;;
   5793     esac
   5794     ;;
   5795   *-*-cygwin* )
   5796     case $build in
   5797       *-*-mingw* ) # actually msys
   5798         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5799         ;;
   5800       *-*-cygwin* )
   5801         lt_cv_to_host_file_cmd=func_convert_file_noop
   5802         ;;
   5803       * ) # otherwise, assume *nix
   5804         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5805         ;;
   5806     esac
   5807     ;;
   5808   * ) # unhandled hosts (and "normal" native builds)
   5809     lt_cv_to_host_file_cmd=func_convert_file_noop
   5810     ;;
   5811 esac
   5812 
   5813 fi
   5814 
   5815 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5817 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5824 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5825 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5826   $as_echo_n "(cached) " >&6
   5827 else
   5828   #assume ordinary cross tools, or native build.
   5829 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5830 case $host in
   5831   *-*-mingw* )
   5832     case $build in
   5833       *-*-mingw* ) # actually msys
   5834         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5835         ;;
   5836     esac
   5837     ;;
   5838 esac
   5839 
   5840 fi
   5841 
   5842 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5844 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5851 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5852 if ${lt_cv_ld_reload_flag+:} false; then :
   5853   $as_echo_n "(cached) " >&6
   5854 else
   5855   lt_cv_ld_reload_flag='-r'
   5856 fi
   5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5858 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5859 reload_flag=$lt_cv_ld_reload_flag
   5860 case $reload_flag in
   5861 "" | " "*) ;;
   5862 *) reload_flag=" $reload_flag" ;;
   5863 esac
   5864 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5865 case $host_os in
   5866   cygwin* | mingw* | pw32* | cegcc*)
   5867     if test yes != "$GCC"; then
   5868       reload_cmds=false
   5869     fi
   5870     ;;
   5871   darwin*)
   5872     if test yes = "$GCC"; then
   5873       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5874     else
   5875       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5876     fi
   5877     ;;
   5878 esac
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 if test -n "$ac_tool_prefix"; then
   5889   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5890 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5892 $as_echo_n "checking for $ac_word... " >&6; }
   5893 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   if test -n "$OBJDUMP"; then
   5897   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5898 else
   5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5900 for as_dir in $PATH
   5901 do
   5902   IFS=$as_save_IFS
   5903   test -z "$as_dir" && as_dir=.
   5904     for ac_exec_ext in '' $ac_executable_extensions; do
   5905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5906     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5908     break 2
   5909   fi
   5910 done
   5911   done
   5912 IFS=$as_save_IFS
   5913 
   5914 fi
   5915 fi
   5916 OBJDUMP=$ac_cv_prog_OBJDUMP
   5917 if test -n "$OBJDUMP"; then
   5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5919 $as_echo "$OBJDUMP" >&6; }
   5920 else
   5921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5922 $as_echo "no" >&6; }
   5923 fi
   5924 
   5925 
   5926 fi
   5927 if test -z "$ac_cv_prog_OBJDUMP"; then
   5928   ac_ct_OBJDUMP=$OBJDUMP
   5929   # Extract the first word of "objdump", so it can be a program name with args.
   5930 set dummy objdump; ac_word=$2
   5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5932 $as_echo_n "checking for $ac_word... " >&6; }
   5933 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5934   $as_echo_n "(cached) " >&6
   5935 else
   5936   if test -n "$ac_ct_OBJDUMP"; then
   5937   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5938 else
   5939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5940 for as_dir in $PATH
   5941 do
   5942   IFS=$as_save_IFS
   5943   test -z "$as_dir" && as_dir=.
   5944     for ac_exec_ext in '' $ac_executable_extensions; do
   5945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5946     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5948     break 2
   5949   fi
   5950 done
   5951   done
   5952 IFS=$as_save_IFS
   5953 
   5954 fi
   5955 fi
   5956 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5957 if test -n "$ac_ct_OBJDUMP"; then
   5958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5959 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5960 else
   5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5962 $as_echo "no" >&6; }
   5963 fi
   5964 
   5965   if test "x$ac_ct_OBJDUMP" = x; then
   5966     OBJDUMP="false"
   5967   else
   5968     case $cross_compiling:$ac_tool_warned in
   5969 yes:)
   5970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5972 ac_tool_warned=yes ;;
   5973 esac
   5974     OBJDUMP=$ac_ct_OBJDUMP
   5975   fi
   5976 else
   5977   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5978 fi
   5979 
   5980 test -z "$OBJDUMP" && OBJDUMP=objdump
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5988 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5989 if ${lt_cv_deplibs_check_method+:} false; then :
   5990   $as_echo_n "(cached) " >&6
   5991 else
   5992   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5993 lt_cv_file_magic_test_file=
   5994 lt_cv_deplibs_check_method='unknown'
   5995 # Need to set the preceding variable on all platforms that support
   5996 # interlibrary dependencies.
   5997 # 'none' -- dependencies not supported.
   5998 # 'unknown' -- same as none, but documents that we really don't know.
   5999 # 'pass_all' -- all dependencies passed with no checks.
   6000 # 'test_compile' -- check by making test program.
   6001 # 'file_magic [[regex]]' -- check by looking for files in library path
   6002 # that responds to the $file_magic_cmd with a given extended regex.
   6003 # If you have 'file' or equivalent on your system and you're not sure
   6004 # whether 'pass_all' will *always* work, you probably want this one.
   6005 
   6006 case $host_os in
   6007 aix[4-9]*)
   6008   lt_cv_deplibs_check_method=pass_all
   6009   ;;
   6010 
   6011 beos*)
   6012   lt_cv_deplibs_check_method=pass_all
   6013   ;;
   6014 
   6015 bsdi[45]*)
   6016   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6017   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6018   lt_cv_file_magic_test_file=/shlib/libc.so
   6019   ;;
   6020 
   6021 cygwin*)
   6022   # func_win32_libid is a shell function defined in ltmain.sh
   6023   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6024   lt_cv_file_magic_cmd='func_win32_libid'
   6025   ;;
   6026 
   6027 mingw* | pw32*)
   6028   # Base MSYS/MinGW do not provide the 'file' command needed by
   6029   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6030   # unless we find 'file', for example because we are cross-compiling.
   6031   if ( file / ) >/dev/null 2>&1; then
   6032     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6033     lt_cv_file_magic_cmd='func_win32_libid'
   6034   else
   6035     # Keep this pattern in sync with the one in func_win32_libid.
   6036     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6037     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6038   fi
   6039   ;;
   6040 
   6041 cegcc*)
   6042   # use the weaker test based on 'objdump'. See mingw*.
   6043   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6044   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6045   ;;
   6046 
   6047 darwin* | rhapsody*)
   6048   lt_cv_deplibs_check_method=pass_all
   6049   ;;
   6050 
   6051 freebsd* | dragonfly*)
   6052   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6053     case $host_cpu in
   6054     i*86 )
   6055       # Not sure whether the presence of OpenBSD here was a mistake.
   6056       # Let's accept both of them until this is cleared up.
   6057       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6058       lt_cv_file_magic_cmd=/usr/bin/file
   6059       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6060       ;;
   6061     esac
   6062   else
   6063     lt_cv_deplibs_check_method=pass_all
   6064   fi
   6065   ;;
   6066 
   6067 haiku*)
   6068   lt_cv_deplibs_check_method=pass_all
   6069   ;;
   6070 
   6071 hpux10.20* | hpux11*)
   6072   lt_cv_file_magic_cmd=/usr/bin/file
   6073   case $host_cpu in
   6074   ia64*)
   6075     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6076     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6077     ;;
   6078   hppa*64*)
   6079     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]'
   6080     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6081     ;;
   6082   *)
   6083     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6084     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6085     ;;
   6086   esac
   6087   ;;
   6088 
   6089 interix[3-9]*)
   6090   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6091   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6092   ;;
   6093 
   6094 irix5* | irix6* | nonstopux*)
   6095   case $LD in
   6096   *-32|*"-32 ") libmagic=32-bit;;
   6097   *-n32|*"-n32 ") libmagic=N32;;
   6098   *-64|*"-64 ") libmagic=64-bit;;
   6099   *) libmagic=never-match;;
   6100   esac
   6101   lt_cv_deplibs_check_method=pass_all
   6102   ;;
   6103 
   6104 # This must be glibc/ELF.
   6105 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6106   lt_cv_deplibs_check_method=pass_all
   6107   ;;
   6108 
   6109 netbsd*)
   6110   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6111     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6112   else
   6113     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6114   fi
   6115   ;;
   6116 
   6117 newos6*)
   6118   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6119   lt_cv_file_magic_cmd=/usr/bin/file
   6120   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6121   ;;
   6122 
   6123 *nto* | *qnx*)
   6124   lt_cv_deplibs_check_method=pass_all
   6125   ;;
   6126 
   6127 openbsd* | bitrig*)
   6128   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6129     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6130   else
   6131     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6132   fi
   6133   ;;
   6134 
   6135 osf3* | osf4* | osf5*)
   6136   lt_cv_deplibs_check_method=pass_all
   6137   ;;
   6138 
   6139 rdos*)
   6140   lt_cv_deplibs_check_method=pass_all
   6141   ;;
   6142 
   6143 solaris*)
   6144   lt_cv_deplibs_check_method=pass_all
   6145   ;;
   6146 
   6147 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6148   lt_cv_deplibs_check_method=pass_all
   6149   ;;
   6150 
   6151 sysv4 | sysv4.3*)
   6152   case $host_vendor in
   6153   motorola)
   6154     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]'
   6155     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6156     ;;
   6157   ncr)
   6158     lt_cv_deplibs_check_method=pass_all
   6159     ;;
   6160   sequent)
   6161     lt_cv_file_magic_cmd='/bin/file'
   6162     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6163     ;;
   6164   sni)
   6165     lt_cv_file_magic_cmd='/bin/file'
   6166     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6167     lt_cv_file_magic_test_file=/lib/libc.so
   6168     ;;
   6169   siemens)
   6170     lt_cv_deplibs_check_method=pass_all
   6171     ;;
   6172   pc)
   6173     lt_cv_deplibs_check_method=pass_all
   6174     ;;
   6175   esac
   6176   ;;
   6177 
   6178 tpf*)
   6179   lt_cv_deplibs_check_method=pass_all
   6180   ;;
   6181 os2*)
   6182   lt_cv_deplibs_check_method=pass_all
   6183   ;;
   6184 esac
   6185 
   6186 fi
   6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6188 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6189 
   6190 file_magic_glob=
   6191 want_nocaseglob=no
   6192 if test "$build" = "$host"; then
   6193   case $host_os in
   6194   mingw* | pw32*)
   6195     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6196       want_nocaseglob=yes
   6197     else
   6198       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6199     fi
   6200     ;;
   6201   esac
   6202 fi
   6203 
   6204 file_magic_cmd=$lt_cv_file_magic_cmd
   6205 deplibs_check_method=$lt_cv_deplibs_check_method
   6206 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 if test -n "$ac_tool_prefix"; then
   6230   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6231 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6233 $as_echo_n "checking for $ac_word... " >&6; }
   6234 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   if test -n "$DLLTOOL"; then
   6238   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6239 else
   6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6241 for as_dir in $PATH
   6242 do
   6243   IFS=$as_save_IFS
   6244   test -z "$as_dir" && as_dir=.
   6245     for ac_exec_ext in '' $ac_executable_extensions; do
   6246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6247     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6249     break 2
   6250   fi
   6251 done
   6252   done
   6253 IFS=$as_save_IFS
   6254 
   6255 fi
   6256 fi
   6257 DLLTOOL=$ac_cv_prog_DLLTOOL
   6258 if test -n "$DLLTOOL"; then
   6259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6260 $as_echo "$DLLTOOL" >&6; }
   6261 else
   6262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6263 $as_echo "no" >&6; }
   6264 fi
   6265 
   6266 
   6267 fi
   6268 if test -z "$ac_cv_prog_DLLTOOL"; then
   6269   ac_ct_DLLTOOL=$DLLTOOL
   6270   # Extract the first word of "dlltool", so it can be a program name with args.
   6271 set dummy dlltool; ac_word=$2
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6273 $as_echo_n "checking for $ac_word... " >&6; }
   6274 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   if test -n "$ac_ct_DLLTOOL"; then
   6278   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6279 else
   6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6281 for as_dir in $PATH
   6282 do
   6283   IFS=$as_save_IFS
   6284   test -z "$as_dir" && as_dir=.
   6285     for ac_exec_ext in '' $ac_executable_extensions; do
   6286   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6287     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6289     break 2
   6290   fi
   6291 done
   6292   done
   6293 IFS=$as_save_IFS
   6294 
   6295 fi
   6296 fi
   6297 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6298 if test -n "$ac_ct_DLLTOOL"; then
   6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6300 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6301 else
   6302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6303 $as_echo "no" >&6; }
   6304 fi
   6305 
   6306   if test "x$ac_ct_DLLTOOL" = x; then
   6307     DLLTOOL="false"
   6308   else
   6309     case $cross_compiling:$ac_tool_warned in
   6310 yes:)
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6313 ac_tool_warned=yes ;;
   6314 esac
   6315     DLLTOOL=$ac_ct_DLLTOOL
   6316   fi
   6317 else
   6318   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6319 fi
   6320 
   6321 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6330 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6331 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6332   $as_echo_n "(cached) " >&6
   6333 else
   6334   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6335 
   6336 case $host_os in
   6337 cygwin* | mingw* | pw32* | cegcc*)
   6338   # two different shell functions defined in ltmain.sh;
   6339   # decide which one to use based on capabilities of $DLLTOOL
   6340   case `$DLLTOOL --help 2>&1` in
   6341   *--identify-strict*)
   6342     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6343     ;;
   6344   *)
   6345     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6346     ;;
   6347   esac
   6348   ;;
   6349 *)
   6350   # fallback: assume linklib IS sharedlib
   6351   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6352   ;;
   6353 esac
   6354 
   6355 fi
   6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6357 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6358 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6359 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 if test -n "$ac_tool_prefix"; then
   6368   for ac_prog in ar
   6369   do
   6370     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6373 $as_echo_n "checking for $ac_word... " >&6; }
   6374 if ${ac_cv_prog_AR+:} false; then :
   6375   $as_echo_n "(cached) " >&6
   6376 else
   6377   if test -n "$AR"; then
   6378   ac_cv_prog_AR="$AR" # Let the user override the test.
   6379 else
   6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6381 for as_dir in $PATH
   6382 do
   6383   IFS=$as_save_IFS
   6384   test -z "$as_dir" && as_dir=.
   6385     for ac_exec_ext in '' $ac_executable_extensions; do
   6386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6387     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6389     break 2
   6390   fi
   6391 done
   6392   done
   6393 IFS=$as_save_IFS
   6394 
   6395 fi
   6396 fi
   6397 AR=$ac_cv_prog_AR
   6398 if test -n "$AR"; then
   6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6400 $as_echo "$AR" >&6; }
   6401 else
   6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6403 $as_echo "no" >&6; }
   6404 fi
   6405 
   6406 
   6407     test -n "$AR" && break
   6408   done
   6409 fi
   6410 if test -z "$AR"; then
   6411   ac_ct_AR=$AR
   6412   for ac_prog in ar
   6413 do
   6414   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6415 set dummy $ac_prog; ac_word=$2
   6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6417 $as_echo_n "checking for $ac_word... " >&6; }
   6418 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421   if test -n "$ac_ct_AR"; then
   6422   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6423 else
   6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6425 for as_dir in $PATH
   6426 do
   6427   IFS=$as_save_IFS
   6428   test -z "$as_dir" && as_dir=.
   6429     for ac_exec_ext in '' $ac_executable_extensions; do
   6430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6431     ac_cv_prog_ac_ct_AR="$ac_prog"
   6432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6433     break 2
   6434   fi
   6435 done
   6436   done
   6437 IFS=$as_save_IFS
   6438 
   6439 fi
   6440 fi
   6441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6442 if test -n "$ac_ct_AR"; then
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6444 $as_echo "$ac_ct_AR" >&6; }
   6445 else
   6446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6447 $as_echo "no" >&6; }
   6448 fi
   6449 
   6450 
   6451   test -n "$ac_ct_AR" && break
   6452 done
   6453 
   6454   if test "x$ac_ct_AR" = x; then
   6455     AR="false"
   6456   else
   6457     case $cross_compiling:$ac_tool_warned in
   6458 yes:)
   6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6461 ac_tool_warned=yes ;;
   6462 esac
   6463     AR=$ac_ct_AR
   6464   fi
   6465 fi
   6466 
   6467 : ${AR=ar}
   6468 : ${AR_FLAGS=cru}
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6481 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6482 if ${lt_cv_ar_at_file+:} false; then :
   6483   $as_echo_n "(cached) " >&6
   6484 else
   6485   lt_cv_ar_at_file=no
   6486    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 
   6489 int
   6490 main ()
   6491 {
   6492 
   6493   ;
   6494   return 0;
   6495 }
   6496 _ACEOF
   6497 if ac_fn_c_try_compile "$LINENO"; then :
   6498   echo conftest.$ac_objext > conftest.lst
   6499       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6500       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6501   (eval $lt_ar_try) 2>&5
   6502   ac_status=$?
   6503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6504   test $ac_status = 0; }
   6505       if test 0 -eq "$ac_status"; then
   6506 	# Ensure the archiver fails upon bogus file names.
   6507 	rm -f conftest.$ac_objext libconftest.a
   6508 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6509   (eval $lt_ar_try) 2>&5
   6510   ac_status=$?
   6511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6512   test $ac_status = 0; }
   6513 	if test 0 -ne "$ac_status"; then
   6514           lt_cv_ar_at_file=@
   6515         fi
   6516       fi
   6517       rm -f conftest.* libconftest.a
   6518 
   6519 fi
   6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6521 
   6522 fi
   6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6524 $as_echo "$lt_cv_ar_at_file" >&6; }
   6525 
   6526 if test no = "$lt_cv_ar_at_file"; then
   6527   archiver_list_spec=
   6528 else
   6529   archiver_list_spec=$lt_cv_ar_at_file
   6530 fi
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 if test -n "$ac_tool_prefix"; then
   6539   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6540 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 $as_echo_n "checking for $ac_word... " >&6; }
   6543 if ${ac_cv_prog_STRIP+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   if test -n "$STRIP"; then
   6547   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   test -z "$as_dir" && as_dir=.
   6554     for ac_exec_ext in '' $ac_executable_extensions; do
   6555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6556     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6558     break 2
   6559   fi
   6560 done
   6561   done
   6562 IFS=$as_save_IFS
   6563 
   6564 fi
   6565 fi
   6566 STRIP=$ac_cv_prog_STRIP
   6567 if test -n "$STRIP"; then
   6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6569 $as_echo "$STRIP" >&6; }
   6570 else
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6572 $as_echo "no" >&6; }
   6573 fi
   6574 
   6575 
   6576 fi
   6577 if test -z "$ac_cv_prog_STRIP"; then
   6578   ac_ct_STRIP=$STRIP
   6579   # Extract the first word of "strip", so it can be a program name with args.
   6580 set dummy strip; ac_word=$2
   6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6582 $as_echo_n "checking for $ac_word... " >&6; }
   6583 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6584   $as_echo_n "(cached) " >&6
   6585 else
   6586   if test -n "$ac_ct_STRIP"; then
   6587   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6588 else
   6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6590 for as_dir in $PATH
   6591 do
   6592   IFS=$as_save_IFS
   6593   test -z "$as_dir" && as_dir=.
   6594     for ac_exec_ext in '' $ac_executable_extensions; do
   6595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6596     ac_cv_prog_ac_ct_STRIP="strip"
   6597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6598     break 2
   6599   fi
   6600 done
   6601   done
   6602 IFS=$as_save_IFS
   6603 
   6604 fi
   6605 fi
   6606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6607 if test -n "$ac_ct_STRIP"; then
   6608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6609 $as_echo "$ac_ct_STRIP" >&6; }
   6610 else
   6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6612 $as_echo "no" >&6; }
   6613 fi
   6614 
   6615   if test "x$ac_ct_STRIP" = x; then
   6616     STRIP=":"
   6617   else
   6618     case $cross_compiling:$ac_tool_warned in
   6619 yes:)
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6622 ac_tool_warned=yes ;;
   6623 esac
   6624     STRIP=$ac_ct_STRIP
   6625   fi
   6626 else
   6627   STRIP="$ac_cv_prog_STRIP"
   6628 fi
   6629 
   6630 test -z "$STRIP" && STRIP=:
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 if test -n "$ac_tool_prefix"; then
   6638   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6639 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6641 $as_echo_n "checking for $ac_word... " >&6; }
   6642 if ${ac_cv_prog_RANLIB+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   if test -n "$RANLIB"; then
   6646   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6647 else
   6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6649 for as_dir in $PATH
   6650 do
   6651   IFS=$as_save_IFS
   6652   test -z "$as_dir" && as_dir=.
   6653     for ac_exec_ext in '' $ac_executable_extensions; do
   6654   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6655     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6657     break 2
   6658   fi
   6659 done
   6660   done
   6661 IFS=$as_save_IFS
   6662 
   6663 fi
   6664 fi
   6665 RANLIB=$ac_cv_prog_RANLIB
   6666 if test -n "$RANLIB"; then
   6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6668 $as_echo "$RANLIB" >&6; }
   6669 else
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6671 $as_echo "no" >&6; }
   6672 fi
   6673 
   6674 
   6675 fi
   6676 if test -z "$ac_cv_prog_RANLIB"; then
   6677   ac_ct_RANLIB=$RANLIB
   6678   # Extract the first word of "ranlib", so it can be a program name with args.
   6679 set dummy ranlib; ac_word=$2
   6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6681 $as_echo_n "checking for $ac_word... " >&6; }
   6682 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6683   $as_echo_n "(cached) " >&6
   6684 else
   6685   if test -n "$ac_ct_RANLIB"; then
   6686   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6687 else
   6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6689 for as_dir in $PATH
   6690 do
   6691   IFS=$as_save_IFS
   6692   test -z "$as_dir" && as_dir=.
   6693     for ac_exec_ext in '' $ac_executable_extensions; do
   6694   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6695     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6697     break 2
   6698   fi
   6699 done
   6700   done
   6701 IFS=$as_save_IFS
   6702 
   6703 fi
   6704 fi
   6705 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6706 if test -n "$ac_ct_RANLIB"; then
   6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6708 $as_echo "$ac_ct_RANLIB" >&6; }
   6709 else
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6711 $as_echo "no" >&6; }
   6712 fi
   6713 
   6714   if test "x$ac_ct_RANLIB" = x; then
   6715     RANLIB=":"
   6716   else
   6717     case $cross_compiling:$ac_tool_warned in
   6718 yes:)
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6721 ac_tool_warned=yes ;;
   6722 esac
   6723     RANLIB=$ac_ct_RANLIB
   6724   fi
   6725 else
   6726   RANLIB="$ac_cv_prog_RANLIB"
   6727 fi
   6728 
   6729 test -z "$RANLIB" && RANLIB=:
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 # Determine commands to create old-style static archives.
   6737 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6738 old_postinstall_cmds='chmod 644 $oldlib'
   6739 old_postuninstall_cmds=
   6740 
   6741 if test -n "$RANLIB"; then
   6742   case $host_os in
   6743   bitrig* | openbsd*)
   6744     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6745     ;;
   6746   *)
   6747     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6748     ;;
   6749   esac
   6750   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6751 fi
   6752 
   6753 case $host_os in
   6754   darwin*)
   6755     lock_old_archive_extraction=yes ;;
   6756   *)
   6757     lock_old_archive_extraction=no ;;
   6758 esac
   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 
   6794 
   6795 
   6796 
   6797 
   6798 # If no C compiler was specified, use CC.
   6799 LTCC=${LTCC-"$CC"}
   6800 
   6801 # If no C compiler flags were specified, use CFLAGS.
   6802 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6803 
   6804 # Allow CC to be a program name with arguments.
   6805 compiler=$CC
   6806 
   6807 
   6808 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6810 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6811 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814 
   6815 # These are sane defaults that work on at least a few old systems.
   6816 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6817 
   6818 # Character class describing NM global symbol codes.
   6819 symcode='[BCDEGRST]'
   6820 
   6821 # Regexp to match symbols that can be accessed directly from C.
   6822 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6823 
   6824 # Define system-specific variables.
   6825 case $host_os in
   6826 aix*)
   6827   symcode='[BCDT]'
   6828   ;;
   6829 cygwin* | mingw* | pw32* | cegcc*)
   6830   symcode='[ABCDGISTW]'
   6831   ;;
   6832 hpux*)
   6833   if test ia64 = "$host_cpu"; then
   6834     symcode='[ABCDEGRST]'
   6835   fi
   6836   ;;
   6837 irix* | nonstopux*)
   6838   symcode='[BCDEGRST]'
   6839   ;;
   6840 osf*)
   6841   symcode='[BCDEGQRST]'
   6842   ;;
   6843 solaris*)
   6844   symcode='[BDRT]'
   6845   ;;
   6846 sco3.2v5*)
   6847   symcode='[DT]'
   6848   ;;
   6849 sysv4.2uw2*)
   6850   symcode='[DT]'
   6851   ;;
   6852 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6853   symcode='[ABDT]'
   6854   ;;
   6855 sysv4)
   6856   symcode='[DFNSTU]'
   6857   ;;
   6858 esac
   6859 
   6860 # If we're using GNU nm, then use its standard symbol codes.
   6861 case `$NM -V 2>&1` in
   6862 *GNU* | *'with BFD'*)
   6863   symcode='[ABCDGIRSTW]' ;;
   6864 esac
   6865 
   6866 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6867   # Gets list of data symbols to import.
   6868   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6869   # Adjust the below global symbol transforms to fixup imported variables.
   6870   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6871   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6872   lt_c_name_lib_hook="\
   6873   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6874   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6875 else
   6876   # Disable hooks by default.
   6877   lt_cv_sys_global_symbol_to_import=
   6878   lt_cdecl_hook=
   6879   lt_c_name_hook=
   6880   lt_c_name_lib_hook=
   6881 fi
   6882 
   6883 # Transform an extracted symbol line into a proper C declaration.
   6884 # Some systems (esp. on ia64) link data and code symbols differently,
   6885 # so use this general approach.
   6886 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6887 $lt_cdecl_hook\
   6888 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6889 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6890 
   6891 # Transform an extracted symbol line into symbol name and symbol address
   6892 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6893 $lt_c_name_hook\
   6894 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6895 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6896 
   6897 # Transform an extracted symbol line into symbol name with lib prefix and
   6898 # symbol address.
   6899 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6900 $lt_c_name_lib_hook\
   6901 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6902 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6903 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6904 
   6905 # Handle CRLF in mingw tool chain
   6906 opt_cr=
   6907 case $build_os in
   6908 mingw*)
   6909   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6910   ;;
   6911 esac
   6912 
   6913 # Try without a prefix underscore, then with it.
   6914 for ac_symprfx in "" "_"; do
   6915 
   6916   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6917   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6918 
   6919   # Write the raw and C identifiers.
   6920   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6921     # Fake it for dumpbin and say T for any non-static function,
   6922     # D for any global variable and I for any imported variable.
   6923     # Also find C++ and __fastcall symbols from MSVC++,
   6924     # which start with @ or ?.
   6925     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6926 "     {last_section=section; section=\$ 3};"\
   6927 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6928 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6929 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6930 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6931 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6932 "     \$ 0!~/External *\|/{next};"\
   6933 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6934 "     {if(hide[section]) next};"\
   6935 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6936 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6937 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6938 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6939 "     ' prfx=^$ac_symprfx"
   6940   else
   6941     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6942   fi
   6943   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6944 
   6945   # Check to see that the pipe works correctly.
   6946   pipe_works=no
   6947 
   6948   rm -f conftest*
   6949   cat > conftest.$ac_ext <<_LT_EOF
   6950 #ifdef __cplusplus
   6951 extern "C" {
   6952 #endif
   6953 char nm_test_var;
   6954 void nm_test_func(void);
   6955 void nm_test_func(void){}
   6956 #ifdef __cplusplus
   6957 }
   6958 #endif
   6959 int main(){nm_test_var='a';nm_test_func();return(0);}
   6960 _LT_EOF
   6961 
   6962   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6963   (eval $ac_compile) 2>&5
   6964   ac_status=$?
   6965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6966   test $ac_status = 0; }; then
   6967     # Now try to grab the symbols.
   6968     nlist=conftest.nm
   6969     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6970   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6971   ac_status=$?
   6972   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6973   test $ac_status = 0; } && test -s "$nlist"; then
   6974       # Try sorting and uniquifying the output.
   6975       if sort "$nlist" | uniq > "$nlist"T; then
   6976 	mv -f "$nlist"T "$nlist"
   6977       else
   6978 	rm -f "$nlist"T
   6979       fi
   6980 
   6981       # Make sure that we snagged all the symbols we need.
   6982       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6983 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6984 	  cat <<_LT_EOF > conftest.$ac_ext
   6985 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6986 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6987 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6988    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6989 # define LT_DLSYM_CONST
   6990 #elif defined __osf__
   6991 /* This system does not cope well with relocations in const data.  */
   6992 # define LT_DLSYM_CONST
   6993 #else
   6994 # define LT_DLSYM_CONST const
   6995 #endif
   6996 
   6997 #ifdef __cplusplus
   6998 extern "C" {
   6999 #endif
   7000 
   7001 _LT_EOF
   7002 	  # Now generate the symbol file.
   7003 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7004 
   7005 	  cat <<_LT_EOF >> conftest.$ac_ext
   7006 
   7007 /* The mapping between symbol names and symbols.  */
   7008 LT_DLSYM_CONST struct {
   7009   const char *name;
   7010   void       *address;
   7011 }
   7012 lt__PROGRAM__LTX_preloaded_symbols[] =
   7013 {
   7014   { "@PROGRAM@", (void *) 0 },
   7015 _LT_EOF
   7016 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7017 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7018   {0, (void *) 0}
   7019 };
   7020 
   7021 /* This works around a problem in FreeBSD linker */
   7022 #ifdef FREEBSD_WORKAROUND
   7023 static const void *lt_preloaded_setup() {
   7024   return lt__PROGRAM__LTX_preloaded_symbols;
   7025 }
   7026 #endif
   7027 
   7028 #ifdef __cplusplus
   7029 }
   7030 #endif
   7031 _LT_EOF
   7032 	  # Now try linking the two files.
   7033 	  mv conftest.$ac_objext conftstm.$ac_objext
   7034 	  lt_globsym_save_LIBS=$LIBS
   7035 	  lt_globsym_save_CFLAGS=$CFLAGS
   7036 	  LIBS=conftstm.$ac_objext
   7037 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7038 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7039   (eval $ac_link) 2>&5
   7040   ac_status=$?
   7041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7042   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7043 	    pipe_works=yes
   7044 	  fi
   7045 	  LIBS=$lt_globsym_save_LIBS
   7046 	  CFLAGS=$lt_globsym_save_CFLAGS
   7047 	else
   7048 	  echo "cannot find nm_test_func in $nlist" >&5
   7049 	fi
   7050       else
   7051 	echo "cannot find nm_test_var in $nlist" >&5
   7052       fi
   7053     else
   7054       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7055     fi
   7056   else
   7057     echo "$progname: failed program was:" >&5
   7058     cat conftest.$ac_ext >&5
   7059   fi
   7060   rm -rf conftest* conftst*
   7061 
   7062   # Do not use the global_symbol_pipe unless it works.
   7063   if test yes = "$pipe_works"; then
   7064     break
   7065   else
   7066     lt_cv_sys_global_symbol_pipe=
   7067   fi
   7068 done
   7069 
   7070 fi
   7071 
   7072 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7073   lt_cv_sys_global_symbol_to_cdecl=
   7074 fi
   7075 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7077 $as_echo "failed" >&6; }
   7078 else
   7079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7080 $as_echo "ok" >&6; }
   7081 fi
   7082 
   7083 # Response file support.
   7084 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7085   nm_file_list_spec='@'
   7086 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7087   nm_file_list_spec='@'
   7088 fi
   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 
   7122 
   7123 
   7124 
   7125 
   7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7127 $as_echo_n "checking for sysroot... " >&6; }
   7128 
   7129 # Check whether --with-sysroot was given.
   7130 if test "${with_sysroot+set}" = set; then :
   7131   withval=$with_sysroot;
   7132 else
   7133   with_sysroot=no
   7134 fi
   7135 
   7136 
   7137 lt_sysroot=
   7138 case $with_sysroot in #(
   7139  yes)
   7140    if test yes = "$GCC"; then
   7141      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7142    fi
   7143    ;; #(
   7144  /*)
   7145    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7146    ;; #(
   7147  no|'')
   7148    ;; #(
   7149  *)
   7150    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7151 $as_echo "$with_sysroot" >&6; }
   7152    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7153    ;;
   7154 esac
   7155 
   7156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7157 $as_echo "${lt_sysroot:-no}" >&6; }
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7164 $as_echo_n "checking for a working dd... " >&6; }
   7165 if ${ac_cv_path_lt_DD+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   printf 0123456789abcdef0123456789abcdef >conftest.i
   7169 cat conftest.i conftest.i >conftest2.i
   7170 : ${lt_DD:=$DD}
   7171 if test -z "$lt_DD"; then
   7172   ac_path_lt_DD_found=false
   7173   # Loop through the user's path and test for each of PROGNAME-LIST
   7174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7175 for as_dir in $PATH
   7176 do
   7177   IFS=$as_save_IFS
   7178   test -z "$as_dir" && as_dir=.
   7179     for ac_prog in dd; do
   7180     for ac_exec_ext in '' $ac_executable_extensions; do
   7181       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   7182       as_fn_executable_p "$ac_path_lt_DD" || continue
   7183 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7184   cmp -s conftest.i conftest.out \
   7185   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7186 fi
   7187       $ac_path_lt_DD_found && break 3
   7188     done
   7189   done
   7190   done
   7191 IFS=$as_save_IFS
   7192   if test -z "$ac_cv_path_lt_DD"; then
   7193     :
   7194   fi
   7195 else
   7196   ac_cv_path_lt_DD=$lt_DD
   7197 fi
   7198 
   7199 rm -f conftest.i conftest2.i conftest.out
   7200 fi
   7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7202 $as_echo "$ac_cv_path_lt_DD" >&6; }
   7203 
   7204 
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7206 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   7207 if ${lt_cv_truncate_bin+:} false; then :
   7208   $as_echo_n "(cached) " >&6
   7209 else
   7210   printf 0123456789abcdef0123456789abcdef >conftest.i
   7211 cat conftest.i conftest.i >conftest2.i
   7212 lt_cv_truncate_bin=
   7213 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7214   cmp -s conftest.i conftest.out \
   7215   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7216 fi
   7217 rm -f conftest.i conftest2.i conftest.out
   7218 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7219 fi
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7221 $as_echo "$lt_cv_truncate_bin" >&6; }
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7230 func_cc_basename ()
   7231 {
   7232     for cc_temp in $*""; do
   7233       case $cc_temp in
   7234         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7235         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7236         \-*) ;;
   7237         *) break;;
   7238       esac
   7239     done
   7240     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7241 }
   7242 
   7243 # Check whether --enable-libtool-lock was given.
   7244 if test "${enable_libtool_lock+set}" = set; then :
   7245   enableval=$enable_libtool_lock;
   7246 fi
   7247 
   7248 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7249 
   7250 # Some flags need to be propagated to the compiler or linker for good
   7251 # libtool support.
   7252 case $host in
   7253 ia64-*-hpux*)
   7254   # Find out what ABI is being produced by ac_compile, and set mode
   7255   # options accordingly.
   7256   echo 'int i;' > conftest.$ac_ext
   7257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7258   (eval $ac_compile) 2>&5
   7259   ac_status=$?
   7260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7261   test $ac_status = 0; }; then
   7262     case `/usr/bin/file conftest.$ac_objext` in
   7263       *ELF-32*)
   7264 	HPUX_IA64_MODE=32
   7265 	;;
   7266       *ELF-64*)
   7267 	HPUX_IA64_MODE=64
   7268 	;;
   7269     esac
   7270   fi
   7271   rm -rf conftest*
   7272   ;;
   7273 *-*-irix6*)
   7274   # Find out what ABI is being produced by ac_compile, and set linker
   7275   # options accordingly.
   7276   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7278   (eval $ac_compile) 2>&5
   7279   ac_status=$?
   7280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7281   test $ac_status = 0; }; then
   7282     if test yes = "$lt_cv_prog_gnu_ld"; then
   7283       case `/usr/bin/file conftest.$ac_objext` in
   7284 	*32-bit*)
   7285 	  LD="${LD-ld} -melf32bsmip"
   7286 	  ;;
   7287 	*N32*)
   7288 	  LD="${LD-ld} -melf32bmipn32"
   7289 	  ;;
   7290 	*64-bit*)
   7291 	  LD="${LD-ld} -melf64bmip"
   7292 	;;
   7293       esac
   7294     else
   7295       case `/usr/bin/file conftest.$ac_objext` in
   7296 	*32-bit*)
   7297 	  LD="${LD-ld} -32"
   7298 	  ;;
   7299 	*N32*)
   7300 	  LD="${LD-ld} -n32"
   7301 	  ;;
   7302 	*64-bit*)
   7303 	  LD="${LD-ld} -64"
   7304 	  ;;
   7305       esac
   7306     fi
   7307   fi
   7308   rm -rf conftest*
   7309   ;;
   7310 
   7311 mips64*-*linux*)
   7312   # Find out what ABI is being produced by ac_compile, and set linker
   7313   # options accordingly.
   7314   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7315   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7316   (eval $ac_compile) 2>&5
   7317   ac_status=$?
   7318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7319   test $ac_status = 0; }; then
   7320     emul=elf
   7321     case `/usr/bin/file conftest.$ac_objext` in
   7322       *32-bit*)
   7323 	emul="${emul}32"
   7324 	;;
   7325       *64-bit*)
   7326 	emul="${emul}64"
   7327 	;;
   7328     esac
   7329     case `/usr/bin/file conftest.$ac_objext` in
   7330       *MSB*)
   7331 	emul="${emul}btsmip"
   7332 	;;
   7333       *LSB*)
   7334 	emul="${emul}ltsmip"
   7335 	;;
   7336     esac
   7337     case `/usr/bin/file conftest.$ac_objext` in
   7338       *N32*)
   7339 	emul="${emul}n32"
   7340 	;;
   7341     esac
   7342     LD="${LD-ld} -m $emul"
   7343   fi
   7344   rm -rf conftest*
   7345   ;;
   7346 
   7347 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7348 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7349   # Find out what ABI is being produced by ac_compile, and set linker
   7350   # options accordingly.  Note that the listed cases only cover the
   7351   # situations where additional linker options are needed (such as when
   7352   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7353   # vice versa); the common cases where no linker options are needed do
   7354   # not appear in the list.
   7355   echo 'int i;' > conftest.$ac_ext
   7356   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7357   (eval $ac_compile) 2>&5
   7358   ac_status=$?
   7359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7360   test $ac_status = 0; }; then
   7361     case `/usr/bin/file conftest.o` in
   7362       *32-bit*)
   7363 	case $host in
   7364 	  x86_64-*kfreebsd*-gnu)
   7365 	    LD="${LD-ld} -m elf_i386_fbsd"
   7366 	    ;;
   7367 	  x86_64-*linux*)
   7368 	    case `/usr/bin/file conftest.o` in
   7369 	      *x86-64*)
   7370 		LD="${LD-ld} -m elf32_x86_64"
   7371 		;;
   7372 	      *)
   7373 		LD="${LD-ld} -m elf_i386"
   7374 		;;
   7375 	    esac
   7376 	    ;;
   7377 	  powerpc64le-*linux*)
   7378 	    LD="${LD-ld} -m elf32lppclinux"
   7379 	    ;;
   7380 	  powerpc64-*linux*)
   7381 	    LD="${LD-ld} -m elf32ppclinux"
   7382 	    ;;
   7383 	  s390x-*linux*)
   7384 	    LD="${LD-ld} -m elf_s390"
   7385 	    ;;
   7386 	  sparc64-*linux*)
   7387 	    LD="${LD-ld} -m elf32_sparc"
   7388 	    ;;
   7389 	esac
   7390 	;;
   7391       *64-bit*)
   7392 	case $host in
   7393 	  x86_64-*kfreebsd*-gnu)
   7394 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7395 	    ;;
   7396 	  x86_64-*linux*)
   7397 	    LD="${LD-ld} -m elf_x86_64"
   7398 	    ;;
   7399 	  powerpcle-*linux*|powerpc64le-*linux*)
   7400 	    LD="${LD-ld} -m elf64lppc"
   7401 	    ;;
   7402 	  powerpc-*linux*|powerpc64-*linux*)
   7403 	    LD="${LD-ld} -m elf64ppc"
   7404 	    ;;
   7405 	  s390*-*linux*|s390*-*tpf*)
   7406 	    LD="${LD-ld} -m elf64_s390"
   7407 	    ;;
   7408 	  sparc*-*linux*)
   7409 	    LD="${LD-ld} -m elf64_sparc"
   7410 	    ;;
   7411 	esac
   7412 	;;
   7413     esac
   7414   fi
   7415   rm -rf conftest*
   7416   ;;
   7417 
   7418 *-*-sco3.2v5*)
   7419   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7420   SAVE_CFLAGS=$CFLAGS
   7421   CFLAGS="$CFLAGS -belf"
   7422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7423 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7424 if ${lt_cv_cc_needs_belf+:} false; then :
   7425   $as_echo_n "(cached) " >&6
   7426 else
   7427   ac_ext=c
   7428 ac_cpp='$CPP $CPPFLAGS'
   7429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7432 
   7433      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 
   7436 int
   7437 main ()
   7438 {
   7439 
   7440   ;
   7441   return 0;
   7442 }
   7443 _ACEOF
   7444 if ac_fn_c_try_link "$LINENO"; then :
   7445   lt_cv_cc_needs_belf=yes
   7446 else
   7447   lt_cv_cc_needs_belf=no
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext \
   7450     conftest$ac_exeext conftest.$ac_ext
   7451      ac_ext=c
   7452 ac_cpp='$CPP $CPPFLAGS'
   7453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7456 
   7457 fi
   7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7459 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7460   if test yes != "$lt_cv_cc_needs_belf"; then
   7461     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7462     CFLAGS=$SAVE_CFLAGS
   7463   fi
   7464   ;;
   7465 *-*solaris*)
   7466   # Find out what ABI is being produced by ac_compile, and set linker
   7467   # options accordingly.
   7468   echo 'int i;' > conftest.$ac_ext
   7469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7470   (eval $ac_compile) 2>&5
   7471   ac_status=$?
   7472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7473   test $ac_status = 0; }; then
   7474     case `/usr/bin/file conftest.o` in
   7475     *64-bit*)
   7476       case $lt_cv_prog_gnu_ld in
   7477       yes*)
   7478         case $host in
   7479         i?86-*-solaris*|x86_64-*-solaris*)
   7480           LD="${LD-ld} -m elf_x86_64"
   7481           ;;
   7482         sparc*-*-solaris*)
   7483           LD="${LD-ld} -m elf64_sparc"
   7484           ;;
   7485         esac
   7486         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7487         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7488           LD=${LD-ld}_sol2
   7489         fi
   7490         ;;
   7491       *)
   7492 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7493 	  LD="${LD-ld} -64"
   7494 	fi
   7495 	;;
   7496       esac
   7497       ;;
   7498     esac
   7499   fi
   7500   rm -rf conftest*
   7501   ;;
   7502 esac
   7503 
   7504 need_locks=$enable_libtool_lock
   7505 
   7506 if test -n "$ac_tool_prefix"; then
   7507   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7508 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7510 $as_echo_n "checking for $ac_word... " >&6; }
   7511 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   if test -n "$MANIFEST_TOOL"; then
   7515   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7516 else
   7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7518 for as_dir in $PATH
   7519 do
   7520   IFS=$as_save_IFS
   7521   test -z "$as_dir" && as_dir=.
   7522     for ac_exec_ext in '' $ac_executable_extensions; do
   7523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7524     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7526     break 2
   7527   fi
   7528 done
   7529   done
   7530 IFS=$as_save_IFS
   7531 
   7532 fi
   7533 fi
   7534 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7535 if test -n "$MANIFEST_TOOL"; then
   7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7537 $as_echo "$MANIFEST_TOOL" >&6; }
   7538 else
   7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7540 $as_echo "no" >&6; }
   7541 fi
   7542 
   7543 
   7544 fi
   7545 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7546   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7547   # Extract the first word of "mt", so it can be a program name with args.
   7548 set dummy mt; ac_word=$2
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7550 $as_echo_n "checking for $ac_word... " >&6; }
   7551 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7555   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7556 else
   7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7558 for as_dir in $PATH
   7559 do
   7560   IFS=$as_save_IFS
   7561   test -z "$as_dir" && as_dir=.
   7562     for ac_exec_ext in '' $ac_executable_extensions; do
   7563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7564     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7566     break 2
   7567   fi
   7568 done
   7569   done
   7570 IFS=$as_save_IFS
   7571 
   7572 fi
   7573 fi
   7574 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7575 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7577 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7578 else
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7580 $as_echo "no" >&6; }
   7581 fi
   7582 
   7583   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7584     MANIFEST_TOOL=":"
   7585   else
   7586     case $cross_compiling:$ac_tool_warned in
   7587 yes:)
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7590 ac_tool_warned=yes ;;
   7591 esac
   7592     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7593   fi
   7594 else
   7595   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7596 fi
   7597 
   7598 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7600 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7601 if ${lt_cv_path_mainfest_tool+:} false; then :
   7602   $as_echo_n "(cached) " >&6
   7603 else
   7604   lt_cv_path_mainfest_tool=no
   7605   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7606   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7607   cat conftest.err >&5
   7608   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7609     lt_cv_path_mainfest_tool=yes
   7610   fi
   7611   rm -f conftest*
   7612 fi
   7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7614 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7615 if test yes != "$lt_cv_path_mainfest_tool"; then
   7616   MANIFEST_TOOL=:
   7617 fi
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624   case $host_os in
   7625     rhapsody* | darwin*)
   7626     if test -n "$ac_tool_prefix"; then
   7627   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7628 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7630 $as_echo_n "checking for $ac_word... " >&6; }
   7631 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7632   $as_echo_n "(cached) " >&6
   7633 else
   7634   if test -n "$DSYMUTIL"; then
   7635   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7636 else
   7637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7638 for as_dir in $PATH
   7639 do
   7640   IFS=$as_save_IFS
   7641   test -z "$as_dir" && as_dir=.
   7642     for ac_exec_ext in '' $ac_executable_extensions; do
   7643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7644     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7646     break 2
   7647   fi
   7648 done
   7649   done
   7650 IFS=$as_save_IFS
   7651 
   7652 fi
   7653 fi
   7654 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7655 if test -n "$DSYMUTIL"; then
   7656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7657 $as_echo "$DSYMUTIL" >&6; }
   7658 else
   7659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7660 $as_echo "no" >&6; }
   7661 fi
   7662 
   7663 
   7664 fi
   7665 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7666   ac_ct_DSYMUTIL=$DSYMUTIL
   7667   # Extract the first word of "dsymutil", so it can be a program name with args.
   7668 set dummy dsymutil; ac_word=$2
   7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7670 $as_echo_n "checking for $ac_word... " >&6; }
   7671 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7672   $as_echo_n "(cached) " >&6
   7673 else
   7674   if test -n "$ac_ct_DSYMUTIL"; then
   7675   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7676 else
   7677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7678 for as_dir in $PATH
   7679 do
   7680   IFS=$as_save_IFS
   7681   test -z "$as_dir" && as_dir=.
   7682     for ac_exec_ext in '' $ac_executable_extensions; do
   7683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7684     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7686     break 2
   7687   fi
   7688 done
   7689   done
   7690 IFS=$as_save_IFS
   7691 
   7692 fi
   7693 fi
   7694 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7695 if test -n "$ac_ct_DSYMUTIL"; then
   7696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7697 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7698 else
   7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7700 $as_echo "no" >&6; }
   7701 fi
   7702 
   7703   if test "x$ac_ct_DSYMUTIL" = x; then
   7704     DSYMUTIL=":"
   7705   else
   7706     case $cross_compiling:$ac_tool_warned in
   7707 yes:)
   7708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7710 ac_tool_warned=yes ;;
   7711 esac
   7712     DSYMUTIL=$ac_ct_DSYMUTIL
   7713   fi
   7714 else
   7715   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7716 fi
   7717 
   7718     if test -n "$ac_tool_prefix"; then
   7719   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7720 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7722 $as_echo_n "checking for $ac_word... " >&6; }
   7723 if ${ac_cv_prog_NMEDIT+:} false; then :
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   if test -n "$NMEDIT"; then
   7727   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7728 else
   7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7730 for as_dir in $PATH
   7731 do
   7732   IFS=$as_save_IFS
   7733   test -z "$as_dir" && as_dir=.
   7734     for ac_exec_ext in '' $ac_executable_extensions; do
   7735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7736     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7738     break 2
   7739   fi
   7740 done
   7741   done
   7742 IFS=$as_save_IFS
   7743 
   7744 fi
   7745 fi
   7746 NMEDIT=$ac_cv_prog_NMEDIT
   7747 if test -n "$NMEDIT"; then
   7748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7749 $as_echo "$NMEDIT" >&6; }
   7750 else
   7751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7752 $as_echo "no" >&6; }
   7753 fi
   7754 
   7755 
   7756 fi
   7757 if test -z "$ac_cv_prog_NMEDIT"; then
   7758   ac_ct_NMEDIT=$NMEDIT
   7759   # Extract the first word of "nmedit", so it can be a program name with args.
   7760 set dummy nmedit; ac_word=$2
   7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7762 $as_echo_n "checking for $ac_word... " >&6; }
   7763 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7764   $as_echo_n "(cached) " >&6
   7765 else
   7766   if test -n "$ac_ct_NMEDIT"; then
   7767   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7768 else
   7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7770 for as_dir in $PATH
   7771 do
   7772   IFS=$as_save_IFS
   7773   test -z "$as_dir" && as_dir=.
   7774     for ac_exec_ext in '' $ac_executable_extensions; do
   7775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7776     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7778     break 2
   7779   fi
   7780 done
   7781   done
   7782 IFS=$as_save_IFS
   7783 
   7784 fi
   7785 fi
   7786 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7787 if test -n "$ac_ct_NMEDIT"; then
   7788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7789 $as_echo "$ac_ct_NMEDIT" >&6; }
   7790 else
   7791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7792 $as_echo "no" >&6; }
   7793 fi
   7794 
   7795   if test "x$ac_ct_NMEDIT" = x; then
   7796     NMEDIT=":"
   7797   else
   7798     case $cross_compiling:$ac_tool_warned in
   7799 yes:)
   7800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7802 ac_tool_warned=yes ;;
   7803 esac
   7804     NMEDIT=$ac_ct_NMEDIT
   7805   fi
   7806 else
   7807   NMEDIT="$ac_cv_prog_NMEDIT"
   7808 fi
   7809 
   7810     if test -n "$ac_tool_prefix"; then
   7811   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7812 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7814 $as_echo_n "checking for $ac_word... " >&6; }
   7815 if ${ac_cv_prog_LIPO+:} false; then :
   7816   $as_echo_n "(cached) " >&6
   7817 else
   7818   if test -n "$LIPO"; then
   7819   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7820 else
   7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7822 for as_dir in $PATH
   7823 do
   7824   IFS=$as_save_IFS
   7825   test -z "$as_dir" && as_dir=.
   7826     for ac_exec_ext in '' $ac_executable_extensions; do
   7827   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7828     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7830     break 2
   7831   fi
   7832 done
   7833   done
   7834 IFS=$as_save_IFS
   7835 
   7836 fi
   7837 fi
   7838 LIPO=$ac_cv_prog_LIPO
   7839 if test -n "$LIPO"; then
   7840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7841 $as_echo "$LIPO" >&6; }
   7842 else
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7844 $as_echo "no" >&6; }
   7845 fi
   7846 
   7847 
   7848 fi
   7849 if test -z "$ac_cv_prog_LIPO"; then
   7850   ac_ct_LIPO=$LIPO
   7851   # Extract the first word of "lipo", so it can be a program name with args.
   7852 set dummy lipo; ac_word=$2
   7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7854 $as_echo_n "checking for $ac_word... " >&6; }
   7855 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7856   $as_echo_n "(cached) " >&6
   7857 else
   7858   if test -n "$ac_ct_LIPO"; then
   7859   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7860 else
   7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7862 for as_dir in $PATH
   7863 do
   7864   IFS=$as_save_IFS
   7865   test -z "$as_dir" && as_dir=.
   7866     for ac_exec_ext in '' $ac_executable_extensions; do
   7867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7868     ac_cv_prog_ac_ct_LIPO="lipo"
   7869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7870     break 2
   7871   fi
   7872 done
   7873   done
   7874 IFS=$as_save_IFS
   7875 
   7876 fi
   7877 fi
   7878 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7879 if test -n "$ac_ct_LIPO"; then
   7880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7881 $as_echo "$ac_ct_LIPO" >&6; }
   7882 else
   7883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7884 $as_echo "no" >&6; }
   7885 fi
   7886 
   7887   if test "x$ac_ct_LIPO" = x; then
   7888     LIPO=":"
   7889   else
   7890     case $cross_compiling:$ac_tool_warned in
   7891 yes:)
   7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7894 ac_tool_warned=yes ;;
   7895 esac
   7896     LIPO=$ac_ct_LIPO
   7897   fi
   7898 else
   7899   LIPO="$ac_cv_prog_LIPO"
   7900 fi
   7901 
   7902     if test -n "$ac_tool_prefix"; then
   7903   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7904 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7906 $as_echo_n "checking for $ac_word... " >&6; }
   7907 if ${ac_cv_prog_OTOOL+:} false; then :
   7908   $as_echo_n "(cached) " >&6
   7909 else
   7910   if test -n "$OTOOL"; then
   7911   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7912 else
   7913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7914 for as_dir in $PATH
   7915 do
   7916   IFS=$as_save_IFS
   7917   test -z "$as_dir" && as_dir=.
   7918     for ac_exec_ext in '' $ac_executable_extensions; do
   7919   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7920     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7922     break 2
   7923   fi
   7924 done
   7925   done
   7926 IFS=$as_save_IFS
   7927 
   7928 fi
   7929 fi
   7930 OTOOL=$ac_cv_prog_OTOOL
   7931 if test -n "$OTOOL"; then
   7932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7933 $as_echo "$OTOOL" >&6; }
   7934 else
   7935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7936 $as_echo "no" >&6; }
   7937 fi
   7938 
   7939 
   7940 fi
   7941 if test -z "$ac_cv_prog_OTOOL"; then
   7942   ac_ct_OTOOL=$OTOOL
   7943   # Extract the first word of "otool", so it can be a program name with args.
   7944 set dummy otool; ac_word=$2
   7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7946 $as_echo_n "checking for $ac_word... " >&6; }
   7947 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7948   $as_echo_n "(cached) " >&6
   7949 else
   7950   if test -n "$ac_ct_OTOOL"; then
   7951   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7952 else
   7953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7954 for as_dir in $PATH
   7955 do
   7956   IFS=$as_save_IFS
   7957   test -z "$as_dir" && as_dir=.
   7958     for ac_exec_ext in '' $ac_executable_extensions; do
   7959   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7960     ac_cv_prog_ac_ct_OTOOL="otool"
   7961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7962     break 2
   7963   fi
   7964 done
   7965   done
   7966 IFS=$as_save_IFS
   7967 
   7968 fi
   7969 fi
   7970 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7971 if test -n "$ac_ct_OTOOL"; then
   7972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7973 $as_echo "$ac_ct_OTOOL" >&6; }
   7974 else
   7975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7976 $as_echo "no" >&6; }
   7977 fi
   7978 
   7979   if test "x$ac_ct_OTOOL" = x; then
   7980     OTOOL=":"
   7981   else
   7982     case $cross_compiling:$ac_tool_warned in
   7983 yes:)
   7984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7986 ac_tool_warned=yes ;;
   7987 esac
   7988     OTOOL=$ac_ct_OTOOL
   7989   fi
   7990 else
   7991   OTOOL="$ac_cv_prog_OTOOL"
   7992 fi
   7993 
   7994     if test -n "$ac_tool_prefix"; then
   7995   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7996 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7998 $as_echo_n "checking for $ac_word... " >&6; }
   7999 if ${ac_cv_prog_OTOOL64+:} false; then :
   8000   $as_echo_n "(cached) " >&6
   8001 else
   8002   if test -n "$OTOOL64"; then
   8003   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8004 else
   8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8006 for as_dir in $PATH
   8007 do
   8008   IFS=$as_save_IFS
   8009   test -z "$as_dir" && as_dir=.
   8010     for ac_exec_ext in '' $ac_executable_extensions; do
   8011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8012     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8014     break 2
   8015   fi
   8016 done
   8017   done
   8018 IFS=$as_save_IFS
   8019 
   8020 fi
   8021 fi
   8022 OTOOL64=$ac_cv_prog_OTOOL64
   8023 if test -n "$OTOOL64"; then
   8024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8025 $as_echo "$OTOOL64" >&6; }
   8026 else
   8027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8028 $as_echo "no" >&6; }
   8029 fi
   8030 
   8031 
   8032 fi
   8033 if test -z "$ac_cv_prog_OTOOL64"; then
   8034   ac_ct_OTOOL64=$OTOOL64
   8035   # Extract the first word of "otool64", so it can be a program name with args.
   8036 set dummy otool64; ac_word=$2
   8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8038 $as_echo_n "checking for $ac_word... " >&6; }
   8039 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8040   $as_echo_n "(cached) " >&6
   8041 else
   8042   if test -n "$ac_ct_OTOOL64"; then
   8043   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8044 else
   8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8046 for as_dir in $PATH
   8047 do
   8048   IFS=$as_save_IFS
   8049   test -z "$as_dir" && as_dir=.
   8050     for ac_exec_ext in '' $ac_executable_extensions; do
   8051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8052     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8054     break 2
   8055   fi
   8056 done
   8057   done
   8058 IFS=$as_save_IFS
   8059 
   8060 fi
   8061 fi
   8062 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8063 if test -n "$ac_ct_OTOOL64"; then
   8064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8065 $as_echo "$ac_ct_OTOOL64" >&6; }
   8066 else
   8067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8068 $as_echo "no" >&6; }
   8069 fi
   8070 
   8071   if test "x$ac_ct_OTOOL64" = x; then
   8072     OTOOL64=":"
   8073   else
   8074     case $cross_compiling:$ac_tool_warned in
   8075 yes:)
   8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8078 ac_tool_warned=yes ;;
   8079 esac
   8080     OTOOL64=$ac_ct_OTOOL64
   8081   fi
   8082 else
   8083   OTOOL64="$ac_cv_prog_OTOOL64"
   8084 fi
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111 
   8112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8113 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8114 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   lt_cv_apple_cc_single_mod=no
   8118       if test -z "$LT_MULTI_MODULE"; then
   8119 	# By default we will add the -single_module flag. You can override
   8120 	# by either setting the environment variable LT_MULTI_MODULE
   8121 	# non-empty at configure time, or by adding -multi_module to the
   8122 	# link flags.
   8123 	rm -rf libconftest.dylib*
   8124 	echo "int foo(void){return 1;}" > conftest.c
   8125 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8126 -dynamiclib -Wl,-single_module conftest.c" >&5
   8127 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8128 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8129         _lt_result=$?
   8130 	# If there is a non-empty error log, and "single_module"
   8131 	# appears in it, assume the flag caused a linker warning
   8132         if test -s conftest.err && $GREP single_module conftest.err; then
   8133 	  cat conftest.err >&5
   8134 	# Otherwise, if the output was created with a 0 exit code from
   8135 	# the compiler, it worked.
   8136 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8137 	  lt_cv_apple_cc_single_mod=yes
   8138 	else
   8139 	  cat conftest.err >&5
   8140 	fi
   8141 	rm -rf libconftest.dylib*
   8142 	rm -f conftest.*
   8143       fi
   8144 fi
   8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8146 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8147 
   8148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8149 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8150 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8151   $as_echo_n "(cached) " >&6
   8152 else
   8153   lt_cv_ld_exported_symbols_list=no
   8154       save_LDFLAGS=$LDFLAGS
   8155       echo "_main" > conftest.sym
   8156       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 
   8160 int
   8161 main ()
   8162 {
   8163 
   8164   ;
   8165   return 0;
   8166 }
   8167 _ACEOF
   8168 if ac_fn_c_try_link "$LINENO"; then :
   8169   lt_cv_ld_exported_symbols_list=yes
   8170 else
   8171   lt_cv_ld_exported_symbols_list=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext \
   8174     conftest$ac_exeext conftest.$ac_ext
   8175 	LDFLAGS=$save_LDFLAGS
   8176 
   8177 fi
   8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8179 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8180 
   8181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8182 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8183 if ${lt_cv_ld_force_load+:} false; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   lt_cv_ld_force_load=no
   8187       cat > conftest.c << _LT_EOF
   8188 int forced_loaded() { return 2;}
   8189 _LT_EOF
   8190       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8191       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8192       echo "$AR cru libconftest.a conftest.o" >&5
   8193       $AR cru libconftest.a conftest.o 2>&5
   8194       echo "$RANLIB libconftest.a" >&5
   8195       $RANLIB libconftest.a 2>&5
   8196       cat > conftest.c << _LT_EOF
   8197 int main() { return 0;}
   8198 _LT_EOF
   8199       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8200       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8201       _lt_result=$?
   8202       if test -s conftest.err && $GREP force_load conftest.err; then
   8203 	cat conftest.err >&5
   8204       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8205 	lt_cv_ld_force_load=yes
   8206       else
   8207 	cat conftest.err >&5
   8208       fi
   8209         rm -f conftest.err libconftest.a conftest conftest.c
   8210         rm -rf conftest.dSYM
   8211 
   8212 fi
   8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8214 $as_echo "$lt_cv_ld_force_load" >&6; }
   8215     case $host_os in
   8216     rhapsody* | darwin1.[012])
   8217       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8218     darwin1.*)
   8219       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8220     darwin*) # darwin 5.x on
   8221       # if running on 10.5 or later, the deployment target defaults
   8222       # to the OS version, if on x86, and 10.4, the deployment
   8223       # target defaults to 10.4. Don't you love it?
   8224       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8225 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8226 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8227 	10.[012][,.]*)
   8228 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8229 	10.*)
   8230 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8231       esac
   8232     ;;
   8233   esac
   8234     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8235       _lt_dar_single_mod='$single_module'
   8236     fi
   8237     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8238       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8239     else
   8240       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8241     fi
   8242     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8243       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8244     else
   8245       _lt_dsymutil=
   8246     fi
   8247     ;;
   8248   esac
   8249 
   8250 # func_munge_path_list VARIABLE PATH
   8251 # -----------------------------------
   8252 # VARIABLE is name of variable containing _space_ separated list of
   8253 # directories to be munged by the contents of PATH, which is string
   8254 # having a format:
   8255 # "DIR[:DIR]:"
   8256 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8257 # ":DIR[:DIR]"
   8258 #       string "DIR[ DIR]" will be appended to VARIABLE
   8259 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8260 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8261 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8262 # "DIR[:DIR]"
   8263 #       VARIABLE will be replaced by "DIR[ DIR]"
   8264 func_munge_path_list ()
   8265 {
   8266     case x$2 in
   8267     x)
   8268         ;;
   8269     *:)
   8270         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8271         ;;
   8272     x:*)
   8273         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8274         ;;
   8275     *::*)
   8276         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8277         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8278         ;;
   8279     *)
   8280         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8281         ;;
   8282     esac
   8283 }
   8284 
   8285 for ac_header in dlfcn.h
   8286 do :
   8287   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8288 "
   8289 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8290   cat >>confdefs.h <<_ACEOF
   8291 #define HAVE_DLFCN_H 1
   8292 _ACEOF
   8293 
   8294 fi
   8295 
   8296 done
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 # Set options
   8303 enable_win32_dll=yes
   8304 
   8305 case $host in
   8306 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   8307   if test -n "$ac_tool_prefix"; then
   8308   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   8309 set dummy ${ac_tool_prefix}as; ac_word=$2
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8311 $as_echo_n "checking for $ac_word... " >&6; }
   8312 if ${ac_cv_prog_AS+:} false; then :
   8313   $as_echo_n "(cached) " >&6
   8314 else
   8315   if test -n "$AS"; then
   8316   ac_cv_prog_AS="$AS" # Let the user override the test.
   8317 else
   8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8319 for as_dir in $PATH
   8320 do
   8321   IFS=$as_save_IFS
   8322   test -z "$as_dir" && as_dir=.
   8323     for ac_exec_ext in '' $ac_executable_extensions; do
   8324   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8325     ac_cv_prog_AS="${ac_tool_prefix}as"
   8326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8327     break 2
   8328   fi
   8329 done
   8330   done
   8331 IFS=$as_save_IFS
   8332 
   8333 fi
   8334 fi
   8335 AS=$ac_cv_prog_AS
   8336 if test -n "$AS"; then
   8337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8338 $as_echo "$AS" >&6; }
   8339 else
   8340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8341 $as_echo "no" >&6; }
   8342 fi
   8343 
   8344 
   8345 fi
   8346 if test -z "$ac_cv_prog_AS"; then
   8347   ac_ct_AS=$AS
   8348   # Extract the first word of "as", so it can be a program name with args.
   8349 set dummy as; ac_word=$2
   8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8351 $as_echo_n "checking for $ac_word... " >&6; }
   8352 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   8353   $as_echo_n "(cached) " >&6
   8354 else
   8355   if test -n "$ac_ct_AS"; then
   8356   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   8357 else
   8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8359 for as_dir in $PATH
   8360 do
   8361   IFS=$as_save_IFS
   8362   test -z "$as_dir" && as_dir=.
   8363     for ac_exec_ext in '' $ac_executable_extensions; do
   8364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8365     ac_cv_prog_ac_ct_AS="as"
   8366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8367     break 2
   8368   fi
   8369 done
   8370   done
   8371 IFS=$as_save_IFS
   8372 
   8373 fi
   8374 fi
   8375 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   8376 if test -n "$ac_ct_AS"; then
   8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   8378 $as_echo "$ac_ct_AS" >&6; }
   8379 else
   8380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8381 $as_echo "no" >&6; }
   8382 fi
   8383 
   8384   if test "x$ac_ct_AS" = x; then
   8385     AS="false"
   8386   else
   8387     case $cross_compiling:$ac_tool_warned in
   8388 yes:)
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8391 ac_tool_warned=yes ;;
   8392 esac
   8393     AS=$ac_ct_AS
   8394   fi
   8395 else
   8396   AS="$ac_cv_prog_AS"
   8397 fi
   8398 
   8399   if test -n "$ac_tool_prefix"; then
   8400   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   8401 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8403 $as_echo_n "checking for $ac_word... " >&6; }
   8404 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8405   $as_echo_n "(cached) " >&6
   8406 else
   8407   if test -n "$DLLTOOL"; then
   8408   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8409 else
   8410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8411 for as_dir in $PATH
   8412 do
   8413   IFS=$as_save_IFS
   8414   test -z "$as_dir" && as_dir=.
   8415     for ac_exec_ext in '' $ac_executable_extensions; do
   8416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8417     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   8418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8419     break 2
   8420   fi
   8421 done
   8422   done
   8423 IFS=$as_save_IFS
   8424 
   8425 fi
   8426 fi
   8427 DLLTOOL=$ac_cv_prog_DLLTOOL
   8428 if test -n "$DLLTOOL"; then
   8429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8430 $as_echo "$DLLTOOL" >&6; }
   8431 else
   8432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8433 $as_echo "no" >&6; }
   8434 fi
   8435 
   8436 
   8437 fi
   8438 if test -z "$ac_cv_prog_DLLTOOL"; then
   8439   ac_ct_DLLTOOL=$DLLTOOL
   8440   # Extract the first word of "dlltool", so it can be a program name with args.
   8441 set dummy dlltool; ac_word=$2
   8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8443 $as_echo_n "checking for $ac_word... " >&6; }
   8444 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   if test -n "$ac_ct_DLLTOOL"; then
   8448   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8449 else
   8450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8451 for as_dir in $PATH
   8452 do
   8453   IFS=$as_save_IFS
   8454   test -z "$as_dir" && as_dir=.
   8455     for ac_exec_ext in '' $ac_executable_extensions; do
   8456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8457     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8459     break 2
   8460   fi
   8461 done
   8462   done
   8463 IFS=$as_save_IFS
   8464 
   8465 fi
   8466 fi
   8467 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8468 if test -n "$ac_ct_DLLTOOL"; then
   8469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8470 $as_echo "$ac_ct_DLLTOOL" >&6; }
   8471 else
   8472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8473 $as_echo "no" >&6; }
   8474 fi
   8475 
   8476   if test "x$ac_ct_DLLTOOL" = x; then
   8477     DLLTOOL="false"
   8478   else
   8479     case $cross_compiling:$ac_tool_warned in
   8480 yes:)
   8481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8483 ac_tool_warned=yes ;;
   8484 esac
   8485     DLLTOOL=$ac_ct_DLLTOOL
   8486   fi
   8487 else
   8488   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8489 fi
   8490 
   8491   if test -n "$ac_tool_prefix"; then
   8492   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   8493 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8495 $as_echo_n "checking for $ac_word... " >&6; }
   8496 if ${ac_cv_prog_OBJDUMP+:} false; then :
   8497   $as_echo_n "(cached) " >&6
   8498 else
   8499   if test -n "$OBJDUMP"; then
   8500   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   8501 else
   8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8503 for as_dir in $PATH
   8504 do
   8505   IFS=$as_save_IFS
   8506   test -z "$as_dir" && as_dir=.
   8507     for ac_exec_ext in '' $ac_executable_extensions; do
   8508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8509     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8511     break 2
   8512   fi
   8513 done
   8514   done
   8515 IFS=$as_save_IFS
   8516 
   8517 fi
   8518 fi
   8519 OBJDUMP=$ac_cv_prog_OBJDUMP
   8520 if test -n "$OBJDUMP"; then
   8521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8522 $as_echo "$OBJDUMP" >&6; }
   8523 else
   8524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8525 $as_echo "no" >&6; }
   8526 fi
   8527 
   8528 
   8529 fi
   8530 if test -z "$ac_cv_prog_OBJDUMP"; then
   8531   ac_ct_OBJDUMP=$OBJDUMP
   8532   # Extract the first word of "objdump", so it can be a program name with args.
   8533 set dummy objdump; ac_word=$2
   8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8535 $as_echo_n "checking for $ac_word... " >&6; }
   8536 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   if test -n "$ac_ct_OBJDUMP"; then
   8540   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8541 else
   8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8543 for as_dir in $PATH
   8544 do
   8545   IFS=$as_save_IFS
   8546   test -z "$as_dir" && as_dir=.
   8547     for ac_exec_ext in '' $ac_executable_extensions; do
   8548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8549     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8551     break 2
   8552   fi
   8553 done
   8554   done
   8555 IFS=$as_save_IFS
   8556 
   8557 fi
   8558 fi
   8559 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8560 if test -n "$ac_ct_OBJDUMP"; then
   8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8562 $as_echo "$ac_ct_OBJDUMP" >&6; }
   8563 else
   8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8565 $as_echo "no" >&6; }
   8566 fi
   8567 
   8568   if test "x$ac_ct_OBJDUMP" = x; then
   8569     OBJDUMP="false"
   8570   else
   8571     case $cross_compiling:$ac_tool_warned in
   8572 yes:)
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8575 ac_tool_warned=yes ;;
   8576 esac
   8577     OBJDUMP=$ac_ct_OBJDUMP
   8578   fi
   8579 else
   8580   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8581 fi
   8582 
   8583   ;;
   8584 esac
   8585 
   8586 test -z "$AS" && AS=as
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 test -z "$DLLTOOL" && DLLTOOL=dlltool
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 test -z "$OBJDUMP" && OBJDUMP=objdump
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606         enable_dlopen=no
   8607 
   8608 
   8609 
   8610             # Check whether --enable-shared was given.
   8611 if test "${enable_shared+set}" = set; then :
   8612   enableval=$enable_shared; p=${PACKAGE-default}
   8613     case $enableval in
   8614     yes) enable_shared=yes ;;
   8615     no) enable_shared=no ;;
   8616     *)
   8617       enable_shared=no
   8618       # Look at the argument we got.  We use all the common list separators.
   8619       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8620       for pkg in $enableval; do
   8621 	IFS=$lt_save_ifs
   8622 	if test "X$pkg" = "X$p"; then
   8623 	  enable_shared=yes
   8624 	fi
   8625       done
   8626       IFS=$lt_save_ifs
   8627       ;;
   8628     esac
   8629 else
   8630   enable_shared=yes
   8631 fi
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641   # Check whether --enable-static was given.
   8642 if test "${enable_static+set}" = set; then :
   8643   enableval=$enable_static; p=${PACKAGE-default}
   8644     case $enableval in
   8645     yes) enable_static=yes ;;
   8646     no) enable_static=no ;;
   8647     *)
   8648      enable_static=no
   8649       # Look at the argument we got.  We use all the common list separators.
   8650       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8651       for pkg in $enableval; do
   8652 	IFS=$lt_save_ifs
   8653 	if test "X$pkg" = "X$p"; then
   8654 	  enable_static=yes
   8655 	fi
   8656       done
   8657       IFS=$lt_save_ifs
   8658       ;;
   8659     esac
   8660 else
   8661   enable_static=yes
   8662 fi
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 # Check whether --with-pic was given.
   8674 if test "${with_pic+set}" = set; then :
   8675   withval=$with_pic; lt_p=${PACKAGE-default}
   8676     case $withval in
   8677     yes|no) pic_mode=$withval ;;
   8678     *)
   8679       pic_mode=default
   8680       # Look at the argument we got.  We use all the common list separators.
   8681       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8682       for lt_pkg in $withval; do
   8683 	IFS=$lt_save_ifs
   8684 	if test "X$lt_pkg" = "X$lt_p"; then
   8685 	  pic_mode=yes
   8686 	fi
   8687       done
   8688       IFS=$lt_save_ifs
   8689       ;;
   8690     esac
   8691 else
   8692   pic_mode=default
   8693 fi
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702   # Check whether --enable-fast-install was given.
   8703 if test "${enable_fast_install+set}" = set; then :
   8704   enableval=$enable_fast_install; p=${PACKAGE-default}
   8705     case $enableval in
   8706     yes) enable_fast_install=yes ;;
   8707     no) enable_fast_install=no ;;
   8708     *)
   8709       enable_fast_install=no
   8710       # Look at the argument we got.  We use all the common list separators.
   8711       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8712       for pkg in $enableval; do
   8713 	IFS=$lt_save_ifs
   8714 	if test "X$pkg" = "X$p"; then
   8715 	  enable_fast_install=yes
   8716 	fi
   8717       done
   8718       IFS=$lt_save_ifs
   8719       ;;
   8720     esac
   8721 else
   8722   enable_fast_install=yes
   8723 fi
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732   shared_archive_member_spec=
   8733 case $host,$enable_shared in
   8734 power*-*-aix[5-9]*,yes)
   8735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8736 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8737 
   8738 # Check whether --with-aix-soname was given.
   8739 if test "${with_aix_soname+set}" = set; then :
   8740   withval=$with_aix_soname; case $withval in
   8741     aix|svr4|both)
   8742       ;;
   8743     *)
   8744       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8745       ;;
   8746     esac
   8747     lt_cv_with_aix_soname=$with_aix_soname
   8748 else
   8749   if ${lt_cv_with_aix_soname+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   lt_cv_with_aix_soname=aix
   8753 fi
   8754 
   8755     with_aix_soname=$lt_cv_with_aix_soname
   8756 fi
   8757 
   8758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8759 $as_echo "$with_aix_soname" >&6; }
   8760   if test aix != "$with_aix_soname"; then
   8761     # For the AIX way of multilib, we name the shared archive member
   8762     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8763     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8764     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8765     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8766     if test 64 = "${OBJECT_MODE-32}"; then
   8767       shared_archive_member_spec=shr_64
   8768     else
   8769       shared_archive_member_spec=shr
   8770     fi
   8771   fi
   8772   ;;
   8773 *)
   8774   with_aix_soname=aix
   8775   ;;
   8776 esac
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 # This can be used to rebuild libtool when needed
   8788 LIBTOOL_DEPS=$ltmain
   8789 
   8790 # Always use our own libtool.
   8791 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   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 
   8818 
   8819 
   8820 
   8821 
   8822 test -z "$LN_S" && LN_S="ln -s"
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 if test -n "${ZSH_VERSION+set}"; then
   8838    setopt NO_GLOB_SUBST
   8839 fi
   8840 
   8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8842 $as_echo_n "checking for objdir... " >&6; }
   8843 if ${lt_cv_objdir+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   rm -f .libs 2>/dev/null
   8847 mkdir .libs 2>/dev/null
   8848 if test -d .libs; then
   8849   lt_cv_objdir=.libs
   8850 else
   8851   # MS-DOS does not allow filenames that begin with a dot.
   8852   lt_cv_objdir=_libs
   8853 fi
   8854 rmdir .libs 2>/dev/null
   8855 fi
   8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8857 $as_echo "$lt_cv_objdir" >&6; }
   8858 objdir=$lt_cv_objdir
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 cat >>confdefs.h <<_ACEOF
   8865 #define LT_OBJDIR "$lt_cv_objdir/"
   8866 _ACEOF
   8867 
   8868 
   8869 
   8870 
   8871 case $host_os in
   8872 aix3*)
   8873   # AIX sometimes has problems with the GCC collect2 program.  For some
   8874   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8875   # vanish in a puff of smoke.
   8876   if test set != "${COLLECT_NAMES+set}"; then
   8877     COLLECT_NAMES=
   8878     export COLLECT_NAMES
   8879   fi
   8880   ;;
   8881 esac
   8882 
   8883 # Global variables:
   8884 ofile=libtool
   8885 can_build_shared=yes
   8886 
   8887 # All known linkers require a '.a' archive for static linking (except MSVC,
   8888 # which needs '.lib').
   8889 libext=a
   8890 
   8891 with_gnu_ld=$lt_cv_prog_gnu_ld
   8892 
   8893 old_CC=$CC
   8894 old_CFLAGS=$CFLAGS
   8895 
   8896 # Set sane defaults for various variables
   8897 test -z "$CC" && CC=cc
   8898 test -z "$LTCC" && LTCC=$CC
   8899 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8900 test -z "$LD" && LD=ld
   8901 test -z "$ac_objext" && ac_objext=o
   8902 
   8903 func_cc_basename $compiler
   8904 cc_basename=$func_cc_basename_result
   8905 
   8906 
   8907 # Only perform the check for file, if the check method requires it
   8908 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8909 case $deplibs_check_method in
   8910 file_magic*)
   8911   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8913 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8914 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   case $MAGIC_CMD in
   8918 [\\/*] |  ?:[\\/]*)
   8919   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8920   ;;
   8921 *)
   8922   lt_save_MAGIC_CMD=$MAGIC_CMD
   8923   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8924   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8925   for ac_dir in $ac_dummy; do
   8926     IFS=$lt_save_ifs
   8927     test -z "$ac_dir" && ac_dir=.
   8928     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8929       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8930       if test -n "$file_magic_test_file"; then
   8931 	case $deplibs_check_method in
   8932 	"file_magic "*)
   8933 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8934 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8935 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8936 	    $EGREP "$file_magic_regex" > /dev/null; then
   8937 	    :
   8938 	  else
   8939 	    cat <<_LT_EOF 1>&2
   8940 
   8941 *** Warning: the command libtool uses to detect shared libraries,
   8942 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8943 *** The result is that libtool may fail to recognize shared libraries
   8944 *** as such.  This will affect the creation of libtool libraries that
   8945 *** depend on shared libraries, but programs linked with such libtool
   8946 *** libraries will work regardless of this problem.  Nevertheless, you
   8947 *** may want to report the problem to your system manager and/or to
   8948 *** bug-libtool (at] gnu.org
   8949 
   8950 _LT_EOF
   8951 	  fi ;;
   8952 	esac
   8953       fi
   8954       break
   8955     fi
   8956   done
   8957   IFS=$lt_save_ifs
   8958   MAGIC_CMD=$lt_save_MAGIC_CMD
   8959   ;;
   8960 esac
   8961 fi
   8962 
   8963 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8964 if test -n "$MAGIC_CMD"; then
   8965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8966 $as_echo "$MAGIC_CMD" >&6; }
   8967 else
   8968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8969 $as_echo "no" >&6; }
   8970 fi
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8977   if test -n "$ac_tool_prefix"; then
   8978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8979 $as_echo_n "checking for file... " >&6; }
   8980 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8981   $as_echo_n "(cached) " >&6
   8982 else
   8983   case $MAGIC_CMD in
   8984 [\\/*] |  ?:[\\/]*)
   8985   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8986   ;;
   8987 *)
   8988   lt_save_MAGIC_CMD=$MAGIC_CMD
   8989   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8990   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8991   for ac_dir in $ac_dummy; do
   8992     IFS=$lt_save_ifs
   8993     test -z "$ac_dir" && ac_dir=.
   8994     if test -f "$ac_dir/file"; then
   8995       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8996       if test -n "$file_magic_test_file"; then
   8997 	case $deplibs_check_method in
   8998 	"file_magic "*)
   8999 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9000 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9001 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9002 	    $EGREP "$file_magic_regex" > /dev/null; then
   9003 	    :
   9004 	  else
   9005 	    cat <<_LT_EOF 1>&2
   9006 
   9007 *** Warning: the command libtool uses to detect shared libraries,
   9008 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9009 *** The result is that libtool may fail to recognize shared libraries
   9010 *** as such.  This will affect the creation of libtool libraries that
   9011 *** depend on shared libraries, but programs linked with such libtool
   9012 *** libraries will work regardless of this problem.  Nevertheless, you
   9013 *** may want to report the problem to your system manager and/or to
   9014 *** bug-libtool (at] gnu.org
   9015 
   9016 _LT_EOF
   9017 	  fi ;;
   9018 	esac
   9019       fi
   9020       break
   9021     fi
   9022   done
   9023   IFS=$lt_save_ifs
   9024   MAGIC_CMD=$lt_save_MAGIC_CMD
   9025   ;;
   9026 esac
   9027 fi
   9028 
   9029 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9030 if test -n "$MAGIC_CMD"; then
   9031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9032 $as_echo "$MAGIC_CMD" >&6; }
   9033 else
   9034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9035 $as_echo "no" >&6; }
   9036 fi
   9037 
   9038 
   9039   else
   9040     MAGIC_CMD=:
   9041   fi
   9042 fi
   9043 
   9044   fi
   9045   ;;
   9046 esac
   9047 
   9048 # Use C for the default configuration in the libtool script
   9049 
   9050 lt_save_CC=$CC
   9051 ac_ext=c
   9052 ac_cpp='$CPP $CPPFLAGS'
   9053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9056 
   9057 
   9058 # Source file extension for C test sources.
   9059 ac_ext=c
   9060 
   9061 # Object file extension for compiled C test sources.
   9062 objext=o
   9063 objext=$objext
   9064 
   9065 # Code to be used in simple compile tests
   9066 lt_simple_compile_test_code="int some_variable = 0;"
   9067 
   9068 # Code to be used in simple link tests
   9069 lt_simple_link_test_code='int main(){return(0);}'
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 # If no C compiler was specified, use CC.
   9078 LTCC=${LTCC-"$CC"}
   9079 
   9080 # If no C compiler flags were specified, use CFLAGS.
   9081 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9082 
   9083 # Allow CC to be a program name with arguments.
   9084 compiler=$CC
   9085 
   9086 # Save the default compiler, since it gets overwritten when the other
   9087 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9088 compiler_DEFAULT=$CC
   9089 
   9090 # save warnings/boilerplate of simple test code
   9091 ac_outfile=conftest.$ac_objext
   9092 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9093 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9094 _lt_compiler_boilerplate=`cat conftest.err`
   9095 $RM conftest*
   9096 
   9097 ac_outfile=conftest.$ac_objext
   9098 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9099 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9100 _lt_linker_boilerplate=`cat conftest.err`
   9101 $RM -r conftest*
   9102 
   9103 
   9104 ## CAVEAT EMPTOR:
   9105 ## There is no encapsulation within the following macros, do not change
   9106 ## the running order or otherwise move them around unless you know exactly
   9107 ## what you are doing...
   9108 if test -n "$compiler"; then
   9109 
   9110 lt_prog_compiler_no_builtin_flag=
   9111 
   9112 if test yes = "$GCC"; then
   9113   case $cc_basename in
   9114   nvcc*)
   9115     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9116   *)
   9117     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9118   esac
   9119 
   9120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9121 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9122 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9123   $as_echo_n "(cached) " >&6
   9124 else
   9125   lt_cv_prog_compiler_rtti_exceptions=no
   9126    ac_outfile=conftest.$ac_objext
   9127    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9128    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9129    # Insert the option either (1) after the last *FLAGS variable, or
   9130    # (2) before a word containing "conftest.", or (3) at the end.
   9131    # Note that $ac_compile itself does not contain backslashes and begins
   9132    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9133    # The option is referenced via a variable to avoid confusing sed.
   9134    lt_compile=`echo "$ac_compile" | $SED \
   9135    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9136    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9137    -e 's:$: $lt_compiler_flag:'`
   9138    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9139    (eval "$lt_compile" 2>conftest.err)
   9140    ac_status=$?
   9141    cat conftest.err >&5
   9142    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9143    if (exit $ac_status) && test -s "$ac_outfile"; then
   9144      # The compiler can only warn and ignore the option if not recognized
   9145      # So say no if there are warnings other than the usual output.
   9146      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9147      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9148      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9149        lt_cv_prog_compiler_rtti_exceptions=yes
   9150      fi
   9151    fi
   9152    $RM conftest*
   9153 
   9154 fi
   9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9156 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9157 
   9158 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9159     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9160 else
   9161     :
   9162 fi
   9163 
   9164 fi
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171   lt_prog_compiler_wl=
   9172 lt_prog_compiler_pic=
   9173 lt_prog_compiler_static=
   9174 
   9175 
   9176   if test yes = "$GCC"; then
   9177     lt_prog_compiler_wl='-Wl,'
   9178     lt_prog_compiler_static='-static'
   9179 
   9180     case $host_os in
   9181       aix*)
   9182       # All AIX code is PIC.
   9183       if test ia64 = "$host_cpu"; then
   9184 	# AIX 5 now supports IA64 processor
   9185 	lt_prog_compiler_static='-Bstatic'
   9186       fi
   9187       lt_prog_compiler_pic='-fPIC'
   9188       ;;
   9189 
   9190     amigaos*)
   9191       case $host_cpu in
   9192       powerpc)
   9193             # see comment about AmigaOS4 .so support
   9194             lt_prog_compiler_pic='-fPIC'
   9195         ;;
   9196       m68k)
   9197             # FIXME: we need at least 68020 code to build shared libraries, but
   9198             # adding the '-m68020' flag to GCC prevents building anything better,
   9199             # like '-m68040'.
   9200             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9201         ;;
   9202       esac
   9203       ;;
   9204 
   9205     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9206       # PIC is the default for these OSes.
   9207       ;;
   9208 
   9209     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9210       # This hack is so that the source file can tell whether it is being
   9211       # built for inclusion in a dll (and should export symbols for example).
   9212       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9213       # (--disable-auto-import) libraries
   9214       lt_prog_compiler_pic='-DDLL_EXPORT'
   9215       case $host_os in
   9216       os2*)
   9217 	lt_prog_compiler_static='$wl-static'
   9218 	;;
   9219       esac
   9220       ;;
   9221 
   9222     darwin* | rhapsody*)
   9223       # PIC is the default on this platform
   9224       # Common symbols not allowed in MH_DYLIB files
   9225       lt_prog_compiler_pic='-fno-common'
   9226       ;;
   9227 
   9228     haiku*)
   9229       # PIC is the default for Haiku.
   9230       # The "-static" flag exists, but is broken.
   9231       lt_prog_compiler_static=
   9232       ;;
   9233 
   9234     hpux*)
   9235       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9236       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9237       # sets the default TLS model and affects inlining.
   9238       case $host_cpu in
   9239       hppa*64*)
   9240 	# +Z the default
   9241 	;;
   9242       *)
   9243 	lt_prog_compiler_pic='-fPIC'
   9244 	;;
   9245       esac
   9246       ;;
   9247 
   9248     interix[3-9]*)
   9249       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9250       # Instead, we relocate shared libraries at runtime.
   9251       ;;
   9252 
   9253     msdosdjgpp*)
   9254       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9255       # on systems that don't support them.
   9256       lt_prog_compiler_can_build_shared=no
   9257       enable_shared=no
   9258       ;;
   9259 
   9260     *nto* | *qnx*)
   9261       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9262       # it will coredump.
   9263       lt_prog_compiler_pic='-fPIC -shared'
   9264       ;;
   9265 
   9266     sysv4*MP*)
   9267       if test -d /usr/nec; then
   9268 	lt_prog_compiler_pic=-Kconform_pic
   9269       fi
   9270       ;;
   9271 
   9272     *)
   9273       lt_prog_compiler_pic='-fPIC'
   9274       ;;
   9275     esac
   9276 
   9277     case $cc_basename in
   9278     nvcc*) # Cuda Compiler Driver 2.2
   9279       lt_prog_compiler_wl='-Xlinker '
   9280       if test -n "$lt_prog_compiler_pic"; then
   9281         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9282       fi
   9283       ;;
   9284     esac
   9285   else
   9286     # PORTME Check for flag to pass linker flags through the system compiler.
   9287     case $host_os in
   9288     aix*)
   9289       lt_prog_compiler_wl='-Wl,'
   9290       if test ia64 = "$host_cpu"; then
   9291 	# AIX 5 now supports IA64 processor
   9292 	lt_prog_compiler_static='-Bstatic'
   9293       else
   9294 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9295       fi
   9296       ;;
   9297 
   9298     darwin* | rhapsody*)
   9299       # PIC is the default on this platform
   9300       # Common symbols not allowed in MH_DYLIB files
   9301       lt_prog_compiler_pic='-fno-common'
   9302       case $cc_basename in
   9303       nagfor*)
   9304         # NAG Fortran compiler
   9305         lt_prog_compiler_wl='-Wl,-Wl,,'
   9306         lt_prog_compiler_pic='-PIC'
   9307         lt_prog_compiler_static='-Bstatic'
   9308         ;;
   9309       esac
   9310       ;;
   9311 
   9312     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9313       # This hack is so that the source file can tell whether it is being
   9314       # built for inclusion in a dll (and should export symbols for example).
   9315       lt_prog_compiler_pic='-DDLL_EXPORT'
   9316       case $host_os in
   9317       os2*)
   9318 	lt_prog_compiler_static='$wl-static'
   9319 	;;
   9320       esac
   9321       ;;
   9322 
   9323     hpux9* | hpux10* | hpux11*)
   9324       lt_prog_compiler_wl='-Wl,'
   9325       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9326       # not for PA HP-UX.
   9327       case $host_cpu in
   9328       hppa*64*|ia64*)
   9329 	# +Z the default
   9330 	;;
   9331       *)
   9332 	lt_prog_compiler_pic='+Z'
   9333 	;;
   9334       esac
   9335       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9336       lt_prog_compiler_static='$wl-a ${wl}archive'
   9337       ;;
   9338 
   9339     irix5* | irix6* | nonstopux*)
   9340       lt_prog_compiler_wl='-Wl,'
   9341       # PIC (with -KPIC) is the default.
   9342       lt_prog_compiler_static='-non_shared'
   9343       ;;
   9344 
   9345     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9346       case $cc_basename in
   9347       # old Intel for x86_64, which still supported -KPIC.
   9348       ecc*)
   9349 	lt_prog_compiler_wl='-Wl,'
   9350 	lt_prog_compiler_pic='-KPIC'
   9351 	lt_prog_compiler_static='-static'
   9352         ;;
   9353       # icc used to be incompatible with GCC.
   9354       # ICC 10 doesn't accept -KPIC any more.
   9355       icc* | ifort*)
   9356 	lt_prog_compiler_wl='-Wl,'
   9357 	lt_prog_compiler_pic='-fPIC'
   9358 	lt_prog_compiler_static='-static'
   9359         ;;
   9360       # Lahey Fortran 8.1.
   9361       lf95*)
   9362 	lt_prog_compiler_wl='-Wl,'
   9363 	lt_prog_compiler_pic='--shared'
   9364 	lt_prog_compiler_static='--static'
   9365 	;;
   9366       nagfor*)
   9367 	# NAG Fortran compiler
   9368 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9369 	lt_prog_compiler_pic='-PIC'
   9370 	lt_prog_compiler_static='-Bstatic'
   9371 	;;
   9372       tcc*)
   9373 	# Fabrice Bellard et al's Tiny C Compiler
   9374 	lt_prog_compiler_wl='-Wl,'
   9375 	lt_prog_compiler_pic='-fPIC'
   9376 	lt_prog_compiler_static='-static'
   9377 	;;
   9378       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9379         # Portland Group compilers (*not* the Pentium gcc compiler,
   9380 	# which looks to be a dead project)
   9381 	lt_prog_compiler_wl='-Wl,'
   9382 	lt_prog_compiler_pic='-fpic'
   9383 	lt_prog_compiler_static='-Bstatic'
   9384         ;;
   9385       ccc*)
   9386         lt_prog_compiler_wl='-Wl,'
   9387         # All Alpha code is PIC.
   9388         lt_prog_compiler_static='-non_shared'
   9389         ;;
   9390       xl* | bgxl* | bgf* | mpixl*)
   9391 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9392 	lt_prog_compiler_wl='-Wl,'
   9393 	lt_prog_compiler_pic='-qpic'
   9394 	lt_prog_compiler_static='-qstaticlink'
   9395 	;;
   9396       *)
   9397 	case `$CC -V 2>&1 | sed 5q` in
   9398 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9399 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9400 	  lt_prog_compiler_pic='-KPIC'
   9401 	  lt_prog_compiler_static='-Bstatic'
   9402 	  lt_prog_compiler_wl=''
   9403 	  ;;
   9404 	*Sun\ F* | *Sun*Fortran*)
   9405 	  lt_prog_compiler_pic='-KPIC'
   9406 	  lt_prog_compiler_static='-Bstatic'
   9407 	  lt_prog_compiler_wl='-Qoption ld '
   9408 	  ;;
   9409 	*Sun\ C*)
   9410 	  # Sun C 5.9
   9411 	  lt_prog_compiler_pic='-KPIC'
   9412 	  lt_prog_compiler_static='-Bstatic'
   9413 	  lt_prog_compiler_wl='-Wl,'
   9414 	  ;;
   9415         *Intel*\ [CF]*Compiler*)
   9416 	  lt_prog_compiler_wl='-Wl,'
   9417 	  lt_prog_compiler_pic='-fPIC'
   9418 	  lt_prog_compiler_static='-static'
   9419 	  ;;
   9420 	*Portland\ Group*)
   9421 	  lt_prog_compiler_wl='-Wl,'
   9422 	  lt_prog_compiler_pic='-fpic'
   9423 	  lt_prog_compiler_static='-Bstatic'
   9424 	  ;;
   9425 	esac
   9426 	;;
   9427       esac
   9428       ;;
   9429 
   9430     newsos6)
   9431       lt_prog_compiler_pic='-KPIC'
   9432       lt_prog_compiler_static='-Bstatic'
   9433       ;;
   9434 
   9435     *nto* | *qnx*)
   9436       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9437       # it will coredump.
   9438       lt_prog_compiler_pic='-fPIC -shared'
   9439       ;;
   9440 
   9441     osf3* | osf4* | osf5*)
   9442       lt_prog_compiler_wl='-Wl,'
   9443       # All OSF/1 code is PIC.
   9444       lt_prog_compiler_static='-non_shared'
   9445       ;;
   9446 
   9447     rdos*)
   9448       lt_prog_compiler_static='-non_shared'
   9449       ;;
   9450 
   9451     solaris*)
   9452       lt_prog_compiler_pic='-KPIC'
   9453       lt_prog_compiler_static='-Bstatic'
   9454       case $cc_basename in
   9455       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9456 	lt_prog_compiler_wl='-Qoption ld ';;
   9457       *)
   9458 	lt_prog_compiler_wl='-Wl,';;
   9459       esac
   9460       ;;
   9461 
   9462     sunos4*)
   9463       lt_prog_compiler_wl='-Qoption ld '
   9464       lt_prog_compiler_pic='-PIC'
   9465       lt_prog_compiler_static='-Bstatic'
   9466       ;;
   9467 
   9468     sysv4 | sysv4.2uw2* | sysv4.3*)
   9469       lt_prog_compiler_wl='-Wl,'
   9470       lt_prog_compiler_pic='-KPIC'
   9471       lt_prog_compiler_static='-Bstatic'
   9472       ;;
   9473 
   9474     sysv4*MP*)
   9475       if test -d /usr/nec; then
   9476 	lt_prog_compiler_pic='-Kconform_pic'
   9477 	lt_prog_compiler_static='-Bstatic'
   9478       fi
   9479       ;;
   9480 
   9481     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9482       lt_prog_compiler_wl='-Wl,'
   9483       lt_prog_compiler_pic='-KPIC'
   9484       lt_prog_compiler_static='-Bstatic'
   9485       ;;
   9486 
   9487     unicos*)
   9488       lt_prog_compiler_wl='-Wl,'
   9489       lt_prog_compiler_can_build_shared=no
   9490       ;;
   9491 
   9492     uts4*)
   9493       lt_prog_compiler_pic='-pic'
   9494       lt_prog_compiler_static='-Bstatic'
   9495       ;;
   9496 
   9497     *)
   9498       lt_prog_compiler_can_build_shared=no
   9499       ;;
   9500     esac
   9501   fi
   9502 
   9503 case $host_os in
   9504   # For platforms that do not support PIC, -DPIC is meaningless:
   9505   *djgpp*)
   9506     lt_prog_compiler_pic=
   9507     ;;
   9508   *)
   9509     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9510     ;;
   9511 esac
   9512 
   9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9515 if ${lt_cv_prog_compiler_pic+:} false; then :
   9516   $as_echo_n "(cached) " >&6
   9517 else
   9518   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9519 fi
   9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9521 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9522 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9523 
   9524 #
   9525 # Check to make sure the PIC flag actually works.
   9526 #
   9527 if test -n "$lt_prog_compiler_pic"; then
   9528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9529 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9530 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9531   $as_echo_n "(cached) " >&6
   9532 else
   9533   lt_cv_prog_compiler_pic_works=no
   9534    ac_outfile=conftest.$ac_objext
   9535    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9536    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9537    # Insert the option either (1) after the last *FLAGS variable, or
   9538    # (2) before a word containing "conftest.", or (3) at the end.
   9539    # Note that $ac_compile itself does not contain backslashes and begins
   9540    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9541    # The option is referenced via a variable to avoid confusing sed.
   9542    lt_compile=`echo "$ac_compile" | $SED \
   9543    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9544    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9545    -e 's:$: $lt_compiler_flag:'`
   9546    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9547    (eval "$lt_compile" 2>conftest.err)
   9548    ac_status=$?
   9549    cat conftest.err >&5
   9550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9551    if (exit $ac_status) && test -s "$ac_outfile"; then
   9552      # The compiler can only warn and ignore the option if not recognized
   9553      # So say no if there are warnings other than the usual output.
   9554      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9555      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9556      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9557        lt_cv_prog_compiler_pic_works=yes
   9558      fi
   9559    fi
   9560    $RM conftest*
   9561 
   9562 fi
   9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9564 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9565 
   9566 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9567     case $lt_prog_compiler_pic in
   9568      "" | " "*) ;;
   9569      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9570      esac
   9571 else
   9572     lt_prog_compiler_pic=
   9573      lt_prog_compiler_can_build_shared=no
   9574 fi
   9575 
   9576 fi
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 #
   9589 # Check to make sure the static flag actually works.
   9590 #
   9591 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9593 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9594 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9595   $as_echo_n "(cached) " >&6
   9596 else
   9597   lt_cv_prog_compiler_static_works=no
   9598    save_LDFLAGS=$LDFLAGS
   9599    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9600    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9601    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9602      # The linker can only warn and ignore the option if not recognized
   9603      # So say no if there are warnings
   9604      if test -s conftest.err; then
   9605        # Append any errors to the config.log.
   9606        cat conftest.err 1>&5
   9607        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9608        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9609        if diff conftest.exp conftest.er2 >/dev/null; then
   9610          lt_cv_prog_compiler_static_works=yes
   9611        fi
   9612      else
   9613        lt_cv_prog_compiler_static_works=yes
   9614      fi
   9615    fi
   9616    $RM -r conftest*
   9617    LDFLAGS=$save_LDFLAGS
   9618 
   9619 fi
   9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9621 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9622 
   9623 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9624     :
   9625 else
   9626     lt_prog_compiler_static=
   9627 fi
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9636 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9637 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9638   $as_echo_n "(cached) " >&6
   9639 else
   9640   lt_cv_prog_compiler_c_o=no
   9641    $RM -r conftest 2>/dev/null
   9642    mkdir conftest
   9643    cd conftest
   9644    mkdir out
   9645    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9646 
   9647    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9648    # Insert the option either (1) after the last *FLAGS variable, or
   9649    # (2) before a word containing "conftest.", or (3) at the end.
   9650    # Note that $ac_compile itself does not contain backslashes and begins
   9651    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9652    lt_compile=`echo "$ac_compile" | $SED \
   9653    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9654    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9655    -e 's:$: $lt_compiler_flag:'`
   9656    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9657    (eval "$lt_compile" 2>out/conftest.err)
   9658    ac_status=$?
   9659    cat out/conftest.err >&5
   9660    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9661    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9662    then
   9663      # The compiler can only warn and ignore the option if not recognized
   9664      # So say no if there are warnings
   9665      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9666      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9667      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9668        lt_cv_prog_compiler_c_o=yes
   9669      fi
   9670    fi
   9671    chmod u+w . 2>&5
   9672    $RM conftest*
   9673    # SGI C++ compiler will create directory out/ii_files/ for
   9674    # template instantiation
   9675    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9676    $RM out/* && rmdir out
   9677    cd ..
   9678    $RM -r conftest
   9679    $RM conftest*
   9680 
   9681 fi
   9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9683 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9691 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9692 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   lt_cv_prog_compiler_c_o=no
   9696    $RM -r conftest 2>/dev/null
   9697    mkdir conftest
   9698    cd conftest
   9699    mkdir out
   9700    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9701 
   9702    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9703    # Insert the option either (1) after the last *FLAGS variable, or
   9704    # (2) before a word containing "conftest.", or (3) at the end.
   9705    # Note that $ac_compile itself does not contain backslashes and begins
   9706    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9707    lt_compile=`echo "$ac_compile" | $SED \
   9708    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9709    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9710    -e 's:$: $lt_compiler_flag:'`
   9711    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9712    (eval "$lt_compile" 2>out/conftest.err)
   9713    ac_status=$?
   9714    cat out/conftest.err >&5
   9715    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9716    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9717    then
   9718      # The compiler can only warn and ignore the option if not recognized
   9719      # So say no if there are warnings
   9720      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9721      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9722      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9723        lt_cv_prog_compiler_c_o=yes
   9724      fi
   9725    fi
   9726    chmod u+w . 2>&5
   9727    $RM conftest*
   9728    # SGI C++ compiler will create directory out/ii_files/ for
   9729    # template instantiation
   9730    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9731    $RM out/* && rmdir out
   9732    cd ..
   9733    $RM -r conftest
   9734    $RM conftest*
   9735 
   9736 fi
   9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9738 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9739 
   9740 
   9741 
   9742 
   9743 hard_links=nottested
   9744 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9745   # do not overwrite the value of need_locks provided by the user
   9746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9747 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9748   hard_links=yes
   9749   $RM conftest*
   9750   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9751   touch conftest.a
   9752   ln conftest.a conftest.b 2>&5 || hard_links=no
   9753   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9755 $as_echo "$hard_links" >&6; }
   9756   if test no = "$hard_links"; then
   9757     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9758 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9759     need_locks=warn
   9760   fi
   9761 else
   9762   need_locks=no
   9763 fi
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9771 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9772 
   9773   runpath_var=
   9774   allow_undefined_flag=
   9775   always_export_symbols=no
   9776   archive_cmds=
   9777   archive_expsym_cmds=
   9778   compiler_needs_object=no
   9779   enable_shared_with_static_runtimes=no
   9780   export_dynamic_flag_spec=
   9781   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9782   hardcode_automatic=no
   9783   hardcode_direct=no
   9784   hardcode_direct_absolute=no
   9785   hardcode_libdir_flag_spec=
   9786   hardcode_libdir_separator=
   9787   hardcode_minus_L=no
   9788   hardcode_shlibpath_var=unsupported
   9789   inherit_rpath=no
   9790   link_all_deplibs=unknown
   9791   module_cmds=
   9792   module_expsym_cmds=
   9793   old_archive_from_new_cmds=
   9794   old_archive_from_expsyms_cmds=
   9795   thread_safe_flag_spec=
   9796   whole_archive_flag_spec=
   9797   # include_expsyms should be a list of space-separated symbols to be *always*
   9798   # included in the symbol list
   9799   include_expsyms=
   9800   # exclude_expsyms can be an extended regexp of symbols to exclude
   9801   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9802   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9803   # as well as any symbol that contains 'd'.
   9804   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9805   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9806   # platforms (ab)use it in PIC code, but their linkers get confused if
   9807   # the symbol is explicitly referenced.  Since portable code cannot
   9808   # rely on this symbol name, it's probably fine to never include it in
   9809   # preloaded symbol tables.
   9810   # Exclude shared library initialization/finalization symbols.
   9811   extract_expsyms_cmds=
   9812 
   9813   case $host_os in
   9814   cygwin* | mingw* | pw32* | cegcc*)
   9815     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9816     # When not using gcc, we currently assume that we are using
   9817     # Microsoft Visual C++.
   9818     if test yes != "$GCC"; then
   9819       with_gnu_ld=no
   9820     fi
   9821     ;;
   9822   interix*)
   9823     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9824     with_gnu_ld=yes
   9825     ;;
   9826   openbsd* | bitrig*)
   9827     with_gnu_ld=no
   9828     ;;
   9829   esac
   9830 
   9831   ld_shlibs=yes
   9832 
   9833   # On some targets, GNU ld is compatible enough with the native linker
   9834   # that we're better off using the native interface for both.
   9835   lt_use_gnu_ld_interface=no
   9836   if test yes = "$with_gnu_ld"; then
   9837     case $host_os in
   9838       aix*)
   9839 	# The AIX port of GNU ld has always aspired to compatibility
   9840 	# with the native linker.  However, as the warning in the GNU ld
   9841 	# block says, versions before 2.19.5* couldn't really create working
   9842 	# shared libraries, regardless of the interface used.
   9843 	case `$LD -v 2>&1` in
   9844 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9845 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9846 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9847 	  *)
   9848 	    lt_use_gnu_ld_interface=yes
   9849 	    ;;
   9850 	esac
   9851 	;;
   9852       *)
   9853 	lt_use_gnu_ld_interface=yes
   9854 	;;
   9855     esac
   9856   fi
   9857 
   9858   if test yes = "$lt_use_gnu_ld_interface"; then
   9859     # If archive_cmds runs LD, not CC, wlarc should be empty
   9860     wlarc='$wl'
   9861 
   9862     # Set some defaults for GNU ld with shared library support. These
   9863     # are reset later if shared libraries are not supported. Putting them
   9864     # here allows them to be overridden if necessary.
   9865     runpath_var=LD_RUN_PATH
   9866     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9867     export_dynamic_flag_spec='$wl--export-dynamic'
   9868     # ancient GNU ld didn't support --whole-archive et. al.
   9869     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9870       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9871     else
   9872       whole_archive_flag_spec=
   9873     fi
   9874     supports_anon_versioning=no
   9875     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9876       *GNU\ gold*) supports_anon_versioning=yes ;;
   9877       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9878       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9879       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9880       *\ 2.11.*) ;; # other 2.11 versions
   9881       *) supports_anon_versioning=yes ;;
   9882     esac
   9883 
   9884     # See if GNU ld supports shared libraries.
   9885     case $host_os in
   9886     aix[3-9]*)
   9887       # On AIX/PPC, the GNU linker is very broken
   9888       if test ia64 != "$host_cpu"; then
   9889 	ld_shlibs=no
   9890 	cat <<_LT_EOF 1>&2
   9891 
   9892 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9893 *** to be unable to reliably create shared libraries on AIX.
   9894 *** Therefore, libtool is disabling shared libraries support.  If you
   9895 *** really care for shared libraries, you may want to install binutils
   9896 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9897 *** You will then need to restart the configuration process.
   9898 
   9899 _LT_EOF
   9900       fi
   9901       ;;
   9902 
   9903     amigaos*)
   9904       case $host_cpu in
   9905       powerpc)
   9906             # see comment about AmigaOS4 .so support
   9907             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9908             archive_expsym_cmds=''
   9909         ;;
   9910       m68k)
   9911             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)'
   9912             hardcode_libdir_flag_spec='-L$libdir'
   9913             hardcode_minus_L=yes
   9914         ;;
   9915       esac
   9916       ;;
   9917 
   9918     beos*)
   9919       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9920 	allow_undefined_flag=unsupported
   9921 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9922 	# support --undefined.  This deserves some investigation.  FIXME
   9923 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9924       else
   9925 	ld_shlibs=no
   9926       fi
   9927       ;;
   9928 
   9929     cygwin* | mingw* | pw32* | cegcc*)
   9930       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9931       # as there is no search path for DLLs.
   9932       hardcode_libdir_flag_spec='-L$libdir'
   9933       export_dynamic_flag_spec='$wl--export-all-symbols'
   9934       allow_undefined_flag=unsupported
   9935       always_export_symbols=no
   9936       enable_shared_with_static_runtimes=yes
   9937       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'
   9938       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9939 
   9940       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9941         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9942 	# If the export-symbols file already is a .def file, use it as
   9943 	# is; otherwise, prepend EXPORTS...
   9944 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9945           cp $export_symbols $output_objdir/$soname.def;
   9946         else
   9947           echo EXPORTS > $output_objdir/$soname.def;
   9948           cat $export_symbols >> $output_objdir/$soname.def;
   9949         fi~
   9950         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9951       else
   9952 	ld_shlibs=no
   9953       fi
   9954       ;;
   9955 
   9956     haiku*)
   9957       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9958       link_all_deplibs=yes
   9959       ;;
   9960 
   9961     os2*)
   9962       hardcode_libdir_flag_spec='-L$libdir'
   9963       hardcode_minus_L=yes
   9964       allow_undefined_flag=unsupported
   9965       shrext_cmds=.dll
   9966       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9967 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9968 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9969 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9970 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9971 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9972 	emximp -o $lib $output_objdir/$libname.def'
   9973       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9974 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9975 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9976 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9977 	prefix_cmds="$SED"~
   9978 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9979 	  prefix_cmds="$prefix_cmds -e 1d";
   9980 	fi~
   9981 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9982 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9983 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9984 	emximp -o $lib $output_objdir/$libname.def'
   9985       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9986       enable_shared_with_static_runtimes=yes
   9987       ;;
   9988 
   9989     interix[3-9]*)
   9990       hardcode_direct=no
   9991       hardcode_shlibpath_var=no
   9992       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9993       export_dynamic_flag_spec='$wl-E'
   9994       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9995       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9996       # default) and relocated if they conflict, which is a slow very memory
   9997       # consuming and fragmenting process.  To avoid this, we pick a random,
   9998       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9999       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10000       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10001       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'
   10002       ;;
   10003 
   10004     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10005       tmp_diet=no
   10006       if test linux-dietlibc = "$host_os"; then
   10007 	case $cc_basename in
   10008 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10009 	esac
   10010       fi
   10011       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10012 	 && test no = "$tmp_diet"
   10013       then
   10014 	tmp_addflag=' $pic_flag'
   10015 	tmp_sharedflag='-shared'
   10016 	case $cc_basename,$host_cpu in
   10017         pgcc*)				# Portland Group C compiler
   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'
   10020 	  ;;
   10021 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10022 					# Portland Group f77 and f90 compilers
   10023 	  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'
   10024 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10025 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10026 	  tmp_addflag=' -i_dynamic' ;;
   10027 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10028 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10029 	ifc* | ifort*)			# Intel Fortran compiler
   10030 	  tmp_addflag=' -nofor_main' ;;
   10031 	lf95*)				# Lahey Fortran 8.1
   10032 	  whole_archive_flag_spec=
   10033 	  tmp_sharedflag='--shared' ;;
   10034         nagfor*)                        # NAGFOR 5.3
   10035           tmp_sharedflag='-Wl,-shared' ;;
   10036 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10037 	  tmp_sharedflag='-qmkshrobj'
   10038 	  tmp_addflag= ;;
   10039 	nvcc*)	# Cuda Compiler Driver 2.2
   10040 	  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'
   10041 	  compiler_needs_object=yes
   10042 	  ;;
   10043 	esac
   10044 	case `$CC -V 2>&1 | sed 5q` in
   10045 	*Sun\ C*)			# Sun C 5.9
   10046 	  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'
   10047 	  compiler_needs_object=yes
   10048 	  tmp_sharedflag='-G' ;;
   10049 	*Sun\ F*)			# Sun Fortran 8.3
   10050 	  tmp_sharedflag='-G' ;;
   10051 	esac
   10052 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10053 
   10054         if test yes = "$supports_anon_versioning"; then
   10055           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10056             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10057             echo "local: *; };" >> $output_objdir/$libname.ver~
   10058             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10059         fi
   10060 
   10061 	case $cc_basename in
   10062 	tcc*)
   10063 	  export_dynamic_flag_spec='-rdynamic'
   10064 	  ;;
   10065 	xlf* | bgf* | bgxlf* | mpixlf*)
   10066 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10067 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10068 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10069 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10070 	  if test yes = "$supports_anon_versioning"; then
   10071 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10072               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10073               echo "local: *; };" >> $output_objdir/$libname.ver~
   10074               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10075 	  fi
   10076 	  ;;
   10077 	esac
   10078       else
   10079         ld_shlibs=no
   10080       fi
   10081       ;;
   10082 
   10083     netbsd*)
   10084       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10085 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10086 	wlarc=
   10087       else
   10088 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10089 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10090       fi
   10091       ;;
   10092 
   10093     solaris*)
   10094       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10095 	ld_shlibs=no
   10096 	cat <<_LT_EOF 1>&2
   10097 
   10098 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10099 *** create shared libraries on Solaris systems.  Therefore, libtool
   10100 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10101 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10102 *** your PATH or compiler configuration so that the native linker is
   10103 *** used, and then restart.
   10104 
   10105 _LT_EOF
   10106       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10107 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10108 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10109       else
   10110 	ld_shlibs=no
   10111       fi
   10112       ;;
   10113 
   10114     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10115       case `$LD -v 2>&1` in
   10116         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10117 	ld_shlibs=no
   10118 	cat <<_LT_EOF 1>&2
   10119 
   10120 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10121 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10122 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10123 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10124 *** your PATH or compiler configuration so that the native linker is
   10125 *** used, and then restart.
   10126 
   10127 _LT_EOF
   10128 	;;
   10129 	*)
   10130 	  # For security reasons, it is highly recommended that you always
   10131 	  # use absolute paths for naming shared libraries, and exclude the
   10132 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10133 	  # requires that you compile everything twice, which is a pain.
   10134 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10135 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10136 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10137 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10138 	  else
   10139 	    ld_shlibs=no
   10140 	  fi
   10141 	;;
   10142       esac
   10143       ;;
   10144 
   10145     sunos4*)
   10146       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10147       wlarc=
   10148       hardcode_direct=yes
   10149       hardcode_shlibpath_var=no
   10150       ;;
   10151 
   10152     *)
   10153       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10154 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10155 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10156       else
   10157 	ld_shlibs=no
   10158       fi
   10159       ;;
   10160     esac
   10161 
   10162     if test no = "$ld_shlibs"; then
   10163       runpath_var=
   10164       hardcode_libdir_flag_spec=
   10165       export_dynamic_flag_spec=
   10166       whole_archive_flag_spec=
   10167     fi
   10168   else
   10169     # PORTME fill in a description of your system's linker (not GNU ld)
   10170     case $host_os in
   10171     aix3*)
   10172       allow_undefined_flag=unsupported
   10173       always_export_symbols=yes
   10174       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'
   10175       # Note: this linker hardcodes the directories in LIBPATH if there
   10176       # are no directories specified by -L.
   10177       hardcode_minus_L=yes
   10178       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10179 	# Neither direct hardcoding nor static linking is supported with a
   10180 	# broken collect2.
   10181 	hardcode_direct=unsupported
   10182       fi
   10183       ;;
   10184 
   10185     aix[4-9]*)
   10186       if test ia64 = "$host_cpu"; then
   10187 	# On IA64, the linker does run time linking by default, so we don't
   10188 	# have to do anything special.
   10189 	aix_use_runtimelinking=no
   10190 	exp_sym_flag='-Bexport'
   10191 	no_entry_flag=
   10192       else
   10193 	# If we're using GNU nm, then we don't want the "-C" option.
   10194 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10195 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10196 	# weak defined symbols like other global defined symbols, whereas
   10197 	# GNU nm marks them as "W".
   10198 	# While the 'weak' keyword is ignored in the Export File, we need
   10199 	# it in the Import File for the 'aix-soname' feature, so we have
   10200 	# to replace the "-B" option with "-P" for AIX nm.
   10201 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10202 	  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'
   10203 	else
   10204 	  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'
   10205 	fi
   10206 	aix_use_runtimelinking=no
   10207 
   10208 	# Test if we are trying to use run time linking or normal
   10209 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10210 	# have runtime linking enabled, and use it for executables.
   10211 	# For shared libraries, we enable/disable runtime linking
   10212 	# depending on the kind of the shared library created -
   10213 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10214 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10215 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10216 	#            lib.a           static archive
   10217 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10218 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10219 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10220 	#            lib.a(lib.so.V) shared, rtl:no
   10221 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10222 	#            lib.a           static archive
   10223 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10224 	  for ld_flag in $LDFLAGS; do
   10225 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10226 	    aix_use_runtimelinking=yes
   10227 	    break
   10228 	  fi
   10229 	  done
   10230 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10231 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10232 	    # so we don't have lib.a shared libs to link our executables.
   10233 	    # We have to force runtime linking in this case.
   10234 	    aix_use_runtimelinking=yes
   10235 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10236 	  fi
   10237 	  ;;
   10238 	esac
   10239 
   10240 	exp_sym_flag='-bexport'
   10241 	no_entry_flag='-bnoentry'
   10242       fi
   10243 
   10244       # When large executables or shared objects are built, AIX ld can
   10245       # have problems creating the table of contents.  If linking a library
   10246       # or program results in "error TOC overflow" add -mminimal-toc to
   10247       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10248       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10249 
   10250       archive_cmds=''
   10251       hardcode_direct=yes
   10252       hardcode_direct_absolute=yes
   10253       hardcode_libdir_separator=':'
   10254       link_all_deplibs=yes
   10255       file_list_spec='$wl-f,'
   10256       case $with_aix_soname,$aix_use_runtimelinking in
   10257       aix,*) ;; # traditional, no import file
   10258       svr4,* | *,yes) # use import file
   10259 	# The Import File defines what to hardcode.
   10260 	hardcode_direct=no
   10261 	hardcode_direct_absolute=no
   10262 	;;
   10263       esac
   10264 
   10265       if test yes = "$GCC"; then
   10266 	case $host_os in aix4.[012]|aix4.[012].*)
   10267 	# We only want to do this on AIX 4.2 and lower, the check
   10268 	# below for broken collect2 doesn't work under 4.3+
   10269 	  collect2name=`$CC -print-prog-name=collect2`
   10270 	  if test -f "$collect2name" &&
   10271 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10272 	  then
   10273 	  # We have reworked collect2
   10274 	  :
   10275 	  else
   10276 	  # We have old collect2
   10277 	  hardcode_direct=unsupported
   10278 	  # It fails to find uninstalled libraries when the uninstalled
   10279 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10280 	  # to unsupported forces relinking
   10281 	  hardcode_minus_L=yes
   10282 	  hardcode_libdir_flag_spec='-L$libdir'
   10283 	  hardcode_libdir_separator=
   10284 	  fi
   10285 	  ;;
   10286 	esac
   10287 	shared_flag='-shared'
   10288 	if test yes = "$aix_use_runtimelinking"; then
   10289 	  shared_flag="$shared_flag "'$wl-G'
   10290 	fi
   10291 	# Need to ensure runtime linking is disabled for the traditional
   10292 	# shared library, or the linker may eventually find shared libraries
   10293 	# /with/ Import File - we do not want to mix them.
   10294 	shared_flag_aix='-shared'
   10295 	shared_flag_svr4='-shared $wl-G'
   10296       else
   10297 	# not using gcc
   10298 	if test ia64 = "$host_cpu"; then
   10299 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10300 	# chokes on -Wl,-G. The following line is correct:
   10301 	  shared_flag='-G'
   10302 	else
   10303 	  if test yes = "$aix_use_runtimelinking"; then
   10304 	    shared_flag='$wl-G'
   10305 	  else
   10306 	    shared_flag='$wl-bM:SRE'
   10307 	  fi
   10308 	  shared_flag_aix='$wl-bM:SRE'
   10309 	  shared_flag_svr4='$wl-G'
   10310 	fi
   10311       fi
   10312 
   10313       export_dynamic_flag_spec='$wl-bexpall'
   10314       # It seems that -bexpall does not export symbols beginning with
   10315       # underscore (_), so it is better to generate a list of symbols to export.
   10316       always_export_symbols=yes
   10317       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10318 	# Warning - without using the other runtime loading flags (-brtl),
   10319 	# -berok will link without error, but may produce a broken library.
   10320 	allow_undefined_flag='-berok'
   10321         # Determine the default libpath from the value encoded in an
   10322         # empty executable.
   10323         if test set = "${lt_cv_aix_libpath+set}"; then
   10324   aix_libpath=$lt_cv_aix_libpath
   10325 else
   10326   if ${lt_cv_aix_libpath_+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10330 /* end confdefs.h.  */
   10331 
   10332 int
   10333 main ()
   10334 {
   10335 
   10336   ;
   10337   return 0;
   10338 }
   10339 _ACEOF
   10340 if ac_fn_c_try_link "$LINENO"; then :
   10341 
   10342   lt_aix_libpath_sed='
   10343       /Import File Strings/,/^$/ {
   10344 	  /^0/ {
   10345 	      s/^0  *\([^ ]*\) *$/\1/
   10346 	      p
   10347 	  }
   10348       }'
   10349   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10350   # Check for a 64-bit object if we didn't find anything.
   10351   if test -z "$lt_cv_aix_libpath_"; then
   10352     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10353   fi
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext \
   10356     conftest$ac_exeext conftest.$ac_ext
   10357   if test -z "$lt_cv_aix_libpath_"; then
   10358     lt_cv_aix_libpath_=/usr/lib:/lib
   10359   fi
   10360 
   10361 fi
   10362 
   10363   aix_libpath=$lt_cv_aix_libpath_
   10364 fi
   10365 
   10366         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10367         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
   10368       else
   10369 	if test ia64 = "$host_cpu"; then
   10370 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10371 	  allow_undefined_flag="-z nodefs"
   10372 	  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"
   10373 	else
   10374 	 # Determine the default libpath from the value encoded in an
   10375 	 # empty executable.
   10376 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10377   aix_libpath=$lt_cv_aix_libpath
   10378 else
   10379   if ${lt_cv_aix_libpath_+:} false; then :
   10380   $as_echo_n "(cached) " >&6
   10381 else
   10382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10383 /* end confdefs.h.  */
   10384 
   10385 int
   10386 main ()
   10387 {
   10388 
   10389   ;
   10390   return 0;
   10391 }
   10392 _ACEOF
   10393 if ac_fn_c_try_link "$LINENO"; then :
   10394 
   10395   lt_aix_libpath_sed='
   10396       /Import File Strings/,/^$/ {
   10397 	  /^0/ {
   10398 	      s/^0  *\([^ ]*\) *$/\1/
   10399 	      p
   10400 	  }
   10401       }'
   10402   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10403   # Check for a 64-bit object if we didn't find anything.
   10404   if test -z "$lt_cv_aix_libpath_"; then
   10405     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10406   fi
   10407 fi
   10408 rm -f core conftest.err conftest.$ac_objext \
   10409     conftest$ac_exeext conftest.$ac_ext
   10410   if test -z "$lt_cv_aix_libpath_"; then
   10411     lt_cv_aix_libpath_=/usr/lib:/lib
   10412   fi
   10413 
   10414 fi
   10415 
   10416   aix_libpath=$lt_cv_aix_libpath_
   10417 fi
   10418 
   10419 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10420 	  # Warning - without using the other run time loading flags,
   10421 	  # -berok will link without error, but may produce a broken library.
   10422 	  no_undefined_flag=' $wl-bernotok'
   10423 	  allow_undefined_flag=' $wl-berok'
   10424 	  if test yes = "$with_gnu_ld"; then
   10425 	    # We only use this code for GNU lds that support --whole-archive.
   10426 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10427 	  else
   10428 	    # Exported symbols can be pulled into shared objects from archives
   10429 	    whole_archive_flag_spec='$convenience'
   10430 	  fi
   10431 	  archive_cmds_need_lc=yes
   10432 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10433 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10434 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10435 	  if test svr4 != "$with_aix_soname"; then
   10436 	    # This is similar to how AIX traditionally builds its shared libraries.
   10437 	    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'
   10438 	  fi
   10439 	  if test aix != "$with_aix_soname"; then
   10440 	    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'
   10441 	  else
   10442 	    # used by -dlpreopen to get the symbols
   10443 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10444 	  fi
   10445 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10446 	fi
   10447       fi
   10448       ;;
   10449 
   10450     amigaos*)
   10451       case $host_cpu in
   10452       powerpc)
   10453             # see comment about AmigaOS4 .so support
   10454             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10455             archive_expsym_cmds=''
   10456         ;;
   10457       m68k)
   10458             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)'
   10459             hardcode_libdir_flag_spec='-L$libdir'
   10460             hardcode_minus_L=yes
   10461         ;;
   10462       esac
   10463       ;;
   10464 
   10465     bsdi[45]*)
   10466       export_dynamic_flag_spec=-rdynamic
   10467       ;;
   10468 
   10469     cygwin* | mingw* | pw32* | cegcc*)
   10470       # When not using gcc, we currently assume that we are using
   10471       # Microsoft Visual C++.
   10472       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10473       # no search path for DLLs.
   10474       case $cc_basename in
   10475       cl*)
   10476 	# Native MSVC
   10477 	hardcode_libdir_flag_spec=' '
   10478 	allow_undefined_flag=unsupported
   10479 	always_export_symbols=yes
   10480 	file_list_spec='@'
   10481 	# Tell ltmain to make .lib files, not .a files.
   10482 	libext=lib
   10483 	# Tell ltmain to make .dll files, not .so files.
   10484 	shrext_cmds=.dll
   10485 	# FIXME: Setting linknames here is a bad hack.
   10486 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10487 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10488             cp "$export_symbols" "$output_objdir/$soname.def";
   10489             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10490           else
   10491             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10492           fi~
   10493           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10494           linknames='
   10495 	# The linker will not automatically build a static lib if we build a DLL.
   10496 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10497 	enable_shared_with_static_runtimes=yes
   10498 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10499 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10500 	# Don't use ranlib
   10501 	old_postinstall_cmds='chmod 644 $oldlib'
   10502 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10503           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10504           case $lt_outputfile in
   10505             *.exe|*.EXE) ;;
   10506             *)
   10507               lt_outputfile=$lt_outputfile.exe
   10508               lt_tool_outputfile=$lt_tool_outputfile.exe
   10509               ;;
   10510           esac~
   10511           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10512             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10513             $RM "$lt_outputfile.manifest";
   10514           fi'
   10515 	;;
   10516       *)
   10517 	# Assume MSVC wrapper
   10518 	hardcode_libdir_flag_spec=' '
   10519 	allow_undefined_flag=unsupported
   10520 	# Tell ltmain to make .lib files, not .a files.
   10521 	libext=lib
   10522 	# Tell ltmain to make .dll files, not .so files.
   10523 	shrext_cmds=.dll
   10524 	# FIXME: Setting linknames here is a bad hack.
   10525 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10526 	# The linker will automatically build a .lib file if we build a DLL.
   10527 	old_archive_from_new_cmds='true'
   10528 	# FIXME: Should let the user specify the lib program.
   10529 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10530 	enable_shared_with_static_runtimes=yes
   10531 	;;
   10532       esac
   10533       ;;
   10534 
   10535     darwin* | rhapsody*)
   10536 
   10537 
   10538   archive_cmds_need_lc=no
   10539   hardcode_direct=no
   10540   hardcode_automatic=yes
   10541   hardcode_shlibpath_var=unsupported
   10542   if test yes = "$lt_cv_ld_force_load"; then
   10543     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\"`'
   10544 
   10545   else
   10546     whole_archive_flag_spec=''
   10547   fi
   10548   link_all_deplibs=yes
   10549   allow_undefined_flag=$_lt_dar_allow_undefined
   10550   case $cc_basename in
   10551      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10552      *) _lt_dar_can_shared=$GCC ;;
   10553   esac
   10554   if test yes = "$_lt_dar_can_shared"; then
   10555     output_verbose_link_cmd=func_echo_all
   10556     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10557     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10558     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"
   10559     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"
   10560 
   10561   else
   10562   ld_shlibs=no
   10563   fi
   10564 
   10565       ;;
   10566 
   10567     dgux*)
   10568       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10569       hardcode_libdir_flag_spec='-L$libdir'
   10570       hardcode_shlibpath_var=no
   10571       ;;
   10572 
   10573     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10574     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10575     # does not break anything, and helps significantly (at the cost of a little
   10576     # extra space).
   10577     freebsd2.2*)
   10578       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10579       hardcode_libdir_flag_spec='-R$libdir'
   10580       hardcode_direct=yes
   10581       hardcode_shlibpath_var=no
   10582       ;;
   10583 
   10584     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10585     freebsd2.*)
   10586       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10587       hardcode_direct=yes
   10588       hardcode_minus_L=yes
   10589       hardcode_shlibpath_var=no
   10590       ;;
   10591 
   10592     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10593     freebsd* | dragonfly*)
   10594       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10595       hardcode_libdir_flag_spec='-R$libdir'
   10596       hardcode_direct=yes
   10597       hardcode_shlibpath_var=no
   10598       ;;
   10599 
   10600     hpux9*)
   10601       if test yes = "$GCC"; then
   10602 	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'
   10603       else
   10604 	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'
   10605       fi
   10606       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10607       hardcode_libdir_separator=:
   10608       hardcode_direct=yes
   10609 
   10610       # hardcode_minus_L: Not really in the search PATH,
   10611       # but as the default location of the library.
   10612       hardcode_minus_L=yes
   10613       export_dynamic_flag_spec='$wl-E'
   10614       ;;
   10615 
   10616     hpux10*)
   10617       if test yes,no = "$GCC,$with_gnu_ld"; then
   10618 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10619       else
   10620 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10621       fi
   10622       if test no = "$with_gnu_ld"; then
   10623 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10624 	hardcode_libdir_separator=:
   10625 	hardcode_direct=yes
   10626 	hardcode_direct_absolute=yes
   10627 	export_dynamic_flag_spec='$wl-E'
   10628 	# hardcode_minus_L: Not really in the search PATH,
   10629 	# but as the default location of the library.
   10630 	hardcode_minus_L=yes
   10631       fi
   10632       ;;
   10633 
   10634     hpux11*)
   10635       if test yes,no = "$GCC,$with_gnu_ld"; then
   10636 	case $host_cpu in
   10637 	hppa*64*)
   10638 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10639 	  ;;
   10640 	ia64*)
   10641 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10642 	  ;;
   10643 	*)
   10644 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10645 	  ;;
   10646 	esac
   10647       else
   10648 	case $host_cpu in
   10649 	hppa*64*)
   10650 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10651 	  ;;
   10652 	ia64*)
   10653 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10654 	  ;;
   10655 	*)
   10656 
   10657 	  # Older versions of the 11.00 compiler do not understand -b yet
   10658 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10659 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10660 $as_echo_n "checking if $CC understands -b... " >&6; }
   10661 if ${lt_cv_prog_compiler__b+:} false; then :
   10662   $as_echo_n "(cached) " >&6
   10663 else
   10664   lt_cv_prog_compiler__b=no
   10665    save_LDFLAGS=$LDFLAGS
   10666    LDFLAGS="$LDFLAGS -b"
   10667    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10668    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10669      # The linker can only warn and ignore the option if not recognized
   10670      # So say no if there are warnings
   10671      if test -s conftest.err; then
   10672        # Append any errors to the config.log.
   10673        cat conftest.err 1>&5
   10674        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10675        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10676        if diff conftest.exp conftest.er2 >/dev/null; then
   10677          lt_cv_prog_compiler__b=yes
   10678        fi
   10679      else
   10680        lt_cv_prog_compiler__b=yes
   10681      fi
   10682    fi
   10683    $RM -r conftest*
   10684    LDFLAGS=$save_LDFLAGS
   10685 
   10686 fi
   10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10688 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10689 
   10690 if test yes = "$lt_cv_prog_compiler__b"; then
   10691     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10692 else
   10693     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10694 fi
   10695 
   10696 	  ;;
   10697 	esac
   10698       fi
   10699       if test no = "$with_gnu_ld"; then
   10700 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10701 	hardcode_libdir_separator=:
   10702 
   10703 	case $host_cpu in
   10704 	hppa*64*|ia64*)
   10705 	  hardcode_direct=no
   10706 	  hardcode_shlibpath_var=no
   10707 	  ;;
   10708 	*)
   10709 	  hardcode_direct=yes
   10710 	  hardcode_direct_absolute=yes
   10711 	  export_dynamic_flag_spec='$wl-E'
   10712 
   10713 	  # hardcode_minus_L: Not really in the search PATH,
   10714 	  # but as the default location of the library.
   10715 	  hardcode_minus_L=yes
   10716 	  ;;
   10717 	esac
   10718       fi
   10719       ;;
   10720 
   10721     irix5* | irix6* | nonstopux*)
   10722       if test yes = "$GCC"; then
   10723 	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'
   10724 	# Try to use the -exported_symbol ld option, if it does not
   10725 	# work, assume that -exports_file does not work either and
   10726 	# implicitly export all symbols.
   10727 	# This should be the same for all languages, so no per-tag cache variable.
   10728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10729 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10730 if ${lt_cv_irix_exported_symbol+:} false; then :
   10731   $as_echo_n "(cached) " >&6
   10732 else
   10733   save_LDFLAGS=$LDFLAGS
   10734 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10735 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10736 /* end confdefs.h.  */
   10737 int foo (void) { return 0; }
   10738 _ACEOF
   10739 if ac_fn_c_try_link "$LINENO"; then :
   10740   lt_cv_irix_exported_symbol=yes
   10741 else
   10742   lt_cv_irix_exported_symbol=no
   10743 fi
   10744 rm -f core conftest.err conftest.$ac_objext \
   10745     conftest$ac_exeext conftest.$ac_ext
   10746            LDFLAGS=$save_LDFLAGS
   10747 fi
   10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10749 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10750 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10751           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'
   10752 	fi
   10753       else
   10754 	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'
   10755 	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'
   10756       fi
   10757       archive_cmds_need_lc='no'
   10758       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10759       hardcode_libdir_separator=:
   10760       inherit_rpath=yes
   10761       link_all_deplibs=yes
   10762       ;;
   10763 
   10764     linux*)
   10765       case $cc_basename in
   10766       tcc*)
   10767 	# Fabrice Bellard et al's Tiny C Compiler
   10768 	ld_shlibs=yes
   10769 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10770 	;;
   10771       esac
   10772       ;;
   10773 
   10774     netbsd*)
   10775       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10776 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10777       else
   10778 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10779       fi
   10780       hardcode_libdir_flag_spec='-R$libdir'
   10781       hardcode_direct=yes
   10782       hardcode_shlibpath_var=no
   10783       ;;
   10784 
   10785     newsos6)
   10786       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10787       hardcode_direct=yes
   10788       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10789       hardcode_libdir_separator=:
   10790       hardcode_shlibpath_var=no
   10791       ;;
   10792 
   10793     *nto* | *qnx*)
   10794       ;;
   10795 
   10796     openbsd* | bitrig*)
   10797       if test -f /usr/libexec/ld.so; then
   10798 	hardcode_direct=yes
   10799 	hardcode_shlibpath_var=no
   10800 	hardcode_direct_absolute=yes
   10801 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10802 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10803 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10804 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10805 	  export_dynamic_flag_spec='$wl-E'
   10806 	else
   10807 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10808 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10809 	fi
   10810       else
   10811 	ld_shlibs=no
   10812       fi
   10813       ;;
   10814 
   10815     os2*)
   10816       hardcode_libdir_flag_spec='-L$libdir'
   10817       hardcode_minus_L=yes
   10818       allow_undefined_flag=unsupported
   10819       shrext_cmds=.dll
   10820       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10821 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10822 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10823 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10824 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10825 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10826 	emximp -o $lib $output_objdir/$libname.def'
   10827       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10828 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10829 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10830 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10831 	prefix_cmds="$SED"~
   10832 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10833 	  prefix_cmds="$prefix_cmds -e 1d";
   10834 	fi~
   10835 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10836 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10837 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10838 	emximp -o $lib $output_objdir/$libname.def'
   10839       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10840       enable_shared_with_static_runtimes=yes
   10841       ;;
   10842 
   10843     osf3*)
   10844       if test yes = "$GCC"; then
   10845 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10846 	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'
   10847       else
   10848 	allow_undefined_flag=' -expect_unresolved \*'
   10849 	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'
   10850       fi
   10851       archive_cmds_need_lc='no'
   10852       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10853       hardcode_libdir_separator=:
   10854       ;;
   10855 
   10856     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10857       if test yes = "$GCC"; then
   10858 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10859 	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'
   10860 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10861       else
   10862 	allow_undefined_flag=' -expect_unresolved \*'
   10863 	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'
   10864 	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~
   10865           $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'
   10866 
   10867 	# Both c and cxx compiler support -rpath directly
   10868 	hardcode_libdir_flag_spec='-rpath $libdir'
   10869       fi
   10870       archive_cmds_need_lc='no'
   10871       hardcode_libdir_separator=:
   10872       ;;
   10873 
   10874     solaris*)
   10875       no_undefined_flag=' -z defs'
   10876       if test yes = "$GCC"; then
   10877 	wlarc='$wl'
   10878 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10879 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10880           $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'
   10881       else
   10882 	case `$CC -V 2>&1` in
   10883 	*"Compilers 5.0"*)
   10884 	  wlarc=''
   10885 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10886 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10887             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10888 	  ;;
   10889 	*)
   10890 	  wlarc='$wl'
   10891 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10892 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10893             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10894 	  ;;
   10895 	esac
   10896       fi
   10897       hardcode_libdir_flag_spec='-R$libdir'
   10898       hardcode_shlibpath_var=no
   10899       case $host_os in
   10900       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10901       *)
   10902 	# The compiler driver will combine and reorder linker options,
   10903 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10904 	# but is careful enough not to reorder.
   10905 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10906 	if test yes = "$GCC"; then
   10907 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10908 	else
   10909 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10910 	fi
   10911 	;;
   10912       esac
   10913       link_all_deplibs=yes
   10914       ;;
   10915 
   10916     sunos4*)
   10917       if test sequent = "$host_vendor"; then
   10918 	# Use $CC to link under sequent, because it throws in some extra .o
   10919 	# files that make .init and .fini sections work.
   10920 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10921       else
   10922 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10923       fi
   10924       hardcode_libdir_flag_spec='-L$libdir'
   10925       hardcode_direct=yes
   10926       hardcode_minus_L=yes
   10927       hardcode_shlibpath_var=no
   10928       ;;
   10929 
   10930     sysv4)
   10931       case $host_vendor in
   10932 	sni)
   10933 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10934 	  hardcode_direct=yes # is this really true???
   10935 	;;
   10936 	siemens)
   10937 	  ## LD is ld it makes a PLAMLIB
   10938 	  ## CC just makes a GrossModule.
   10939 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10940 	  reload_cmds='$CC -r -o $output$reload_objs'
   10941 	  hardcode_direct=no
   10942         ;;
   10943 	motorola)
   10944 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10945 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10946 	;;
   10947       esac
   10948       runpath_var='LD_RUN_PATH'
   10949       hardcode_shlibpath_var=no
   10950       ;;
   10951 
   10952     sysv4.3*)
   10953       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10954       hardcode_shlibpath_var=no
   10955       export_dynamic_flag_spec='-Bexport'
   10956       ;;
   10957 
   10958     sysv4*MP*)
   10959       if test -d /usr/nec; then
   10960 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10961 	hardcode_shlibpath_var=no
   10962 	runpath_var=LD_RUN_PATH
   10963 	hardcode_runpath_var=yes
   10964 	ld_shlibs=yes
   10965       fi
   10966       ;;
   10967 
   10968     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10969       no_undefined_flag='$wl-z,text'
   10970       archive_cmds_need_lc=no
   10971       hardcode_shlibpath_var=no
   10972       runpath_var='LD_RUN_PATH'
   10973 
   10974       if test yes = "$GCC"; then
   10975 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10976 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10977       else
   10978 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10979 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10980       fi
   10981       ;;
   10982 
   10983     sysv5* | sco3.2v5* | sco5v6*)
   10984       # Note: We CANNOT use -z defs as we might desire, because we do not
   10985       # link with -lc, and that would cause any symbols used from libc to
   10986       # always be unresolved, which means just about no library would
   10987       # ever link correctly.  If we're not using GNU ld we use -z text
   10988       # though, which does catch some bad symbols but isn't as heavy-handed
   10989       # as -z defs.
   10990       no_undefined_flag='$wl-z,text'
   10991       allow_undefined_flag='$wl-z,nodefs'
   10992       archive_cmds_need_lc=no
   10993       hardcode_shlibpath_var=no
   10994       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10995       hardcode_libdir_separator=':'
   10996       link_all_deplibs=yes
   10997       export_dynamic_flag_spec='$wl-Bexport'
   10998       runpath_var='LD_RUN_PATH'
   10999 
   11000       if test yes = "$GCC"; then
   11001 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11002 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11003       else
   11004 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11005 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11006       fi
   11007       ;;
   11008 
   11009     uts4*)
   11010       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11011       hardcode_libdir_flag_spec='-L$libdir'
   11012       hardcode_shlibpath_var=no
   11013       ;;
   11014 
   11015     *)
   11016       ld_shlibs=no
   11017       ;;
   11018     esac
   11019 
   11020     if test sni = "$host_vendor"; then
   11021       case $host in
   11022       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11023 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11024 	;;
   11025       esac
   11026     fi
   11027   fi
   11028 
   11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11030 $as_echo "$ld_shlibs" >&6; }
   11031 test no = "$ld_shlibs" && can_build_shared=no
   11032 
   11033 with_gnu_ld=$with_gnu_ld
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 #
   11050 # Do we need to explicitly link libc?
   11051 #
   11052 case "x$archive_cmds_need_lc" in
   11053 x|xyes)
   11054   # Assume -lc should be added
   11055   archive_cmds_need_lc=yes
   11056 
   11057   if test yes,yes = "$GCC,$enable_shared"; then
   11058     case $archive_cmds in
   11059     *'~'*)
   11060       # FIXME: we may have to deal with multi-command sequences.
   11061       ;;
   11062     '$CC '*)
   11063       # Test whether the compiler implicitly links with -lc since on some
   11064       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11065       # to ld, don't add -lc before -lgcc.
   11066       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11067 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11068 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11069   $as_echo_n "(cached) " >&6
   11070 else
   11071   $RM conftest*
   11072 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11073 
   11074 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11075   (eval $ac_compile) 2>&5
   11076   ac_status=$?
   11077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11078   test $ac_status = 0; } 2>conftest.err; then
   11079 	  soname=conftest
   11080 	  lib=conftest
   11081 	  libobjs=conftest.$ac_objext
   11082 	  deplibs=
   11083 	  wl=$lt_prog_compiler_wl
   11084 	  pic_flag=$lt_prog_compiler_pic
   11085 	  compiler_flags=-v
   11086 	  linker_flags=-v
   11087 	  verstring=
   11088 	  output_objdir=.
   11089 	  libname=conftest
   11090 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11091 	  allow_undefined_flag=
   11092 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11093   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11094   ac_status=$?
   11095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11096   test $ac_status = 0; }
   11097 	  then
   11098 	    lt_cv_archive_cmds_need_lc=no
   11099 	  else
   11100 	    lt_cv_archive_cmds_need_lc=yes
   11101 	  fi
   11102 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11103 	else
   11104 	  cat conftest.err 1>&5
   11105 	fi
   11106 	$RM conftest*
   11107 
   11108 fi
   11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11110 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11111       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11112       ;;
   11113     esac
   11114   fi
   11115   ;;
   11116 esac
   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 
   11265 
   11266 
   11267 
   11268 
   11269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11270 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11271 
   11272 if test yes = "$GCC"; then
   11273   case $host_os in
   11274     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11275     *) lt_awk_arg='/^libraries:/' ;;
   11276   esac
   11277   case $host_os in
   11278     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11279     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11280   esac
   11281   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11282   case $lt_search_path_spec in
   11283   *\;*)
   11284     # if the path contains ";" then we assume it to be the separator
   11285     # otherwise default to the standard path separator (i.e. ":") - it is
   11286     # assumed that no part of a normal pathname contains ";" but that should
   11287     # okay in the real world where ";" in dirpaths is itself problematic.
   11288     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11289     ;;
   11290   *)
   11291     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11292     ;;
   11293   esac
   11294   # Ok, now we have the path, separated by spaces, we can step through it
   11295   # and add multilib dir if necessary...
   11296   lt_tmp_lt_search_path_spec=
   11297   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11298   # ...but if some path component already ends with the multilib dir we assume
   11299   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11300   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11301   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11302     lt_multi_os_dir=
   11303     ;;
   11304   esac
   11305   for lt_sys_path in $lt_search_path_spec; do
   11306     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11307       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11308     elif test -n "$lt_multi_os_dir"; then
   11309       test -d "$lt_sys_path" && \
   11310 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11311     fi
   11312   done
   11313   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11314 BEGIN {RS = " "; FS = "/|\n";} {
   11315   lt_foo = "";
   11316   lt_count = 0;
   11317   for (lt_i = NF; lt_i > 0; lt_i--) {
   11318     if ($lt_i != "" && $lt_i != ".") {
   11319       if ($lt_i == "..") {
   11320         lt_count++;
   11321       } else {
   11322         if (lt_count == 0) {
   11323           lt_foo = "/" $lt_i lt_foo;
   11324         } else {
   11325           lt_count--;
   11326         }
   11327       }
   11328     }
   11329   }
   11330   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11331   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11332 }'`
   11333   # AWK program above erroneously prepends '/' to C:/dos/paths
   11334   # for these hosts.
   11335   case $host_os in
   11336     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11337       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11338   esac
   11339   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11340 else
   11341   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11342 fi
   11343 library_names_spec=
   11344 libname_spec='lib$name'
   11345 soname_spec=
   11346 shrext_cmds=.so
   11347 postinstall_cmds=
   11348 postuninstall_cmds=
   11349 finish_cmds=
   11350 finish_eval=
   11351 shlibpath_var=
   11352 shlibpath_overrides_runpath=unknown
   11353 version_type=none
   11354 dynamic_linker="$host_os ld.so"
   11355 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11356 need_lib_prefix=unknown
   11357 hardcode_into_libs=no
   11358 
   11359 # when you set need_version to no, make sure it does not cause -set_version
   11360 # flags to be left without arguments
   11361 need_version=unknown
   11362 
   11363 
   11364 
   11365 case $host_os in
   11366 aix3*)
   11367   version_type=linux # correct to gnu/linux during the next big refactor
   11368   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11369   shlibpath_var=LIBPATH
   11370 
   11371   # AIX 3 has no versioning support, so we append a major version to the name.
   11372   soname_spec='$libname$release$shared_ext$major'
   11373   ;;
   11374 
   11375 aix[4-9]*)
   11376   version_type=linux # correct to gnu/linux during the next big refactor
   11377   need_lib_prefix=no
   11378   need_version=no
   11379   hardcode_into_libs=yes
   11380   if test ia64 = "$host_cpu"; then
   11381     # AIX 5 supports IA64
   11382     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11383     shlibpath_var=LD_LIBRARY_PATH
   11384   else
   11385     # With GCC up to 2.95.x, collect2 would create an import file
   11386     # for dependence libraries.  The import file would start with
   11387     # the line '#! .'.  This would cause the generated library to
   11388     # depend on '.', always an invalid library.  This was fixed in
   11389     # development snapshots of GCC prior to 3.0.
   11390     case $host_os in
   11391       aix4 | aix4.[01] | aix4.[01].*)
   11392       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11393 	   echo ' yes '
   11394 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11395 	:
   11396       else
   11397 	can_build_shared=no
   11398       fi
   11399       ;;
   11400     esac
   11401     # Using Import Files as archive members, it is possible to support
   11402     # filename-based versioning of shared library archives on AIX. While
   11403     # this would work for both with and without runtime linking, it will
   11404     # prevent static linking of such archives. So we do filename-based
   11405     # shared library versioning with .so extension only, which is used
   11406     # when both runtime linking and shared linking is enabled.
   11407     # Unfortunately, runtime linking may impact performance, so we do
   11408     # not want this to be the default eventually. Also, we use the
   11409     # versioned .so libs for executables only if there is the -brtl
   11410     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11411     # To allow for filename-based versioning support, we need to create
   11412     # libNAME.so.V as an archive file, containing:
   11413     # *) an Import File, referring to the versioned filename of the
   11414     #    archive as well as the shared archive member, telling the
   11415     #    bitwidth (32 or 64) of that shared object, and providing the
   11416     #    list of exported symbols of that shared object, eventually
   11417     #    decorated with the 'weak' keyword
   11418     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11419     #    it being seen by the linker.
   11420     # At run time we better use the real file rather than another symlink,
   11421     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11422 
   11423     case $with_aix_soname,$aix_use_runtimelinking in
   11424     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11425     # soname into executable. Probably we can add versioning support to
   11426     # collect2, so additional links can be useful in future.
   11427     aix,yes) # traditional libtool
   11428       dynamic_linker='AIX unversionable lib.so'
   11429       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11430       # instead of lib<name>.a to let people know that these are not
   11431       # typical AIX shared libraries.
   11432       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11433       ;;
   11434     aix,no) # traditional AIX only
   11435       dynamic_linker='AIX lib.a(lib.so.V)'
   11436       # We preserve .a as extension for shared libraries through AIX4.2
   11437       # and later when we are not doing run time linking.
   11438       library_names_spec='$libname$release.a $libname.a'
   11439       soname_spec='$libname$release$shared_ext$major'
   11440       ;;
   11441     svr4,*) # full svr4 only
   11442       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11443       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11444       # We do not specify a path in Import Files, so LIBPATH fires.
   11445       shlibpath_overrides_runpath=yes
   11446       ;;
   11447     *,yes) # both, prefer svr4
   11448       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11449       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11450       # unpreferred sharedlib libNAME.a needs extra handling
   11451       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"'
   11452       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"'
   11453       # We do not specify a path in Import Files, so LIBPATH fires.
   11454       shlibpath_overrides_runpath=yes
   11455       ;;
   11456     *,no) # both, prefer aix
   11457       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11458       library_names_spec='$libname$release.a $libname.a'
   11459       soname_spec='$libname$release$shared_ext$major'
   11460       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11461       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)'
   11462       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"'
   11463       ;;
   11464     esac
   11465     shlibpath_var=LIBPATH
   11466   fi
   11467   ;;
   11468 
   11469 amigaos*)
   11470   case $host_cpu in
   11471   powerpc)
   11472     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11473     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11474     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11475     ;;
   11476   m68k)
   11477     library_names_spec='$libname.ixlibrary $libname.a'
   11478     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11479     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'
   11480     ;;
   11481   esac
   11482   ;;
   11483 
   11484 beos*)
   11485   library_names_spec='$libname$shared_ext'
   11486   dynamic_linker="$host_os ld.so"
   11487   shlibpath_var=LIBRARY_PATH
   11488   ;;
   11489 
   11490 bsdi[45]*)
   11491   version_type=linux # correct to gnu/linux during the next big refactor
   11492   need_version=no
   11493   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11494   soname_spec='$libname$release$shared_ext$major'
   11495   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11496   shlibpath_var=LD_LIBRARY_PATH
   11497   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11498   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11499   # the default ld.so.conf also contains /usr/contrib/lib and
   11500   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11501   # libtool to hard-code these into programs
   11502   ;;
   11503 
   11504 cygwin* | mingw* | pw32* | cegcc*)
   11505   version_type=windows
   11506   shrext_cmds=.dll
   11507   need_version=no
   11508   need_lib_prefix=no
   11509 
   11510   case $GCC,$cc_basename in
   11511   yes,*)
   11512     # gcc
   11513     library_names_spec='$libname.dll.a'
   11514     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11515     postinstall_cmds='base_file=`basename \$file`~
   11516       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11517       dldir=$destdir/`dirname \$dlpath`~
   11518       test -d \$dldir || mkdir -p \$dldir~
   11519       $install_prog $dir/$dlname \$dldir/$dlname~
   11520       chmod a+x \$dldir/$dlname~
   11521       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11522         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11523       fi'
   11524     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11525       dlpath=$dir/\$dldll~
   11526        $RM \$dlpath'
   11527     shlibpath_overrides_runpath=yes
   11528 
   11529     case $host_os in
   11530     cygwin*)
   11531       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11532       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11533 
   11534       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11535       ;;
   11536     mingw* | cegcc*)
   11537       # MinGW DLLs use traditional 'lib' prefix
   11538       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11539       ;;
   11540     pw32*)
   11541       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11542       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11543       ;;
   11544     esac
   11545     dynamic_linker='Win32 ld.exe'
   11546     ;;
   11547 
   11548   *,cl*)
   11549     # Native MSVC
   11550     libname_spec='$name'
   11551     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11552     library_names_spec='$libname.dll.lib'
   11553 
   11554     case $build_os in
   11555     mingw*)
   11556       sys_lib_search_path_spec=
   11557       lt_save_ifs=$IFS
   11558       IFS=';'
   11559       for lt_path in $LIB
   11560       do
   11561         IFS=$lt_save_ifs
   11562         # Let DOS variable expansion print the short 8.3 style file name.
   11563         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11564         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11565       done
   11566       IFS=$lt_save_ifs
   11567       # Convert to MSYS style.
   11568       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11569       ;;
   11570     cygwin*)
   11571       # Convert to unix form, then to dos form, then back to unix form
   11572       # but this time dos style (no spaces!) so that the unix form looks
   11573       # like /cygdrive/c/PROGRA~1:/cygdr...
   11574       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11575       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11576       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11577       ;;
   11578     *)
   11579       sys_lib_search_path_spec=$LIB
   11580       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11581         # It is most probably a Windows format PATH.
   11582         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11583       else
   11584         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11585       fi
   11586       # FIXME: find the short name or the path components, as spaces are
   11587       # common. (e.g. "Program Files" -> "PROGRA~1")
   11588       ;;
   11589     esac
   11590 
   11591     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11592     postinstall_cmds='base_file=`basename \$file`~
   11593       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11594       dldir=$destdir/`dirname \$dlpath`~
   11595       test -d \$dldir || mkdir -p \$dldir~
   11596       $install_prog $dir/$dlname \$dldir/$dlname'
   11597     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11598       dlpath=$dir/\$dldll~
   11599        $RM \$dlpath'
   11600     shlibpath_overrides_runpath=yes
   11601     dynamic_linker='Win32 link.exe'
   11602     ;;
   11603 
   11604   *)
   11605     # Assume MSVC wrapper
   11606     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11607     dynamic_linker='Win32 ld.exe'
   11608     ;;
   11609   esac
   11610   # FIXME: first we should search . and the directory the executable is in
   11611   shlibpath_var=PATH
   11612   ;;
   11613 
   11614 darwin* | rhapsody*)
   11615   dynamic_linker="$host_os dyld"
   11616   version_type=darwin
   11617   need_lib_prefix=no
   11618   need_version=no
   11619   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   11620   soname_spec='$libname$release$major$shared_ext'
   11621   shlibpath_overrides_runpath=yes
   11622   shlibpath_var=DYLD_LIBRARY_PATH
   11623   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   11624 
   11625   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11626   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11627   ;;
   11628 
   11629 dgux*)
   11630   version_type=linux # correct to gnu/linux during the next big refactor
   11631   need_lib_prefix=no
   11632   need_version=no
   11633   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11634   soname_spec='$libname$release$shared_ext$major'
   11635   shlibpath_var=LD_LIBRARY_PATH
   11636   ;;
   11637 
   11638 freebsd* | dragonfly*)
   11639   # DragonFly does not have aout.  When/if they implement a new
   11640   # versioning mechanism, adjust this.
   11641   if test -x /usr/bin/objformat; then
   11642     objformat=`/usr/bin/objformat`
   11643   else
   11644     case $host_os in
   11645     freebsd[23].*) objformat=aout ;;
   11646     *) objformat=elf ;;
   11647     esac
   11648   fi
   11649   # Handle Gentoo/FreeBSD as it was Linux
   11650   case $host_vendor in
   11651     gentoo)
   11652       version_type=linux ;;
   11653     *)
   11654       version_type=freebsd-$objformat ;;
   11655   esac
   11656 
   11657   case $version_type in
   11658     freebsd-elf*)
   11659       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11660       soname_spec='$libname$release$shared_ext$major'
   11661       need_version=no
   11662       need_lib_prefix=no
   11663       ;;
   11664     freebsd-*)
   11665       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11666       need_version=yes
   11667       ;;
   11668     linux)
   11669       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11670       soname_spec='${libname}${release}${shared_ext}$major'
   11671       need_lib_prefix=no
   11672       need_version=no
   11673       ;;
   11674   esac
   11675   shlibpath_var=LD_LIBRARY_PATH
   11676   case $host_os in
   11677   freebsd2.*)
   11678     shlibpath_overrides_runpath=yes
   11679     ;;
   11680   freebsd3.[01]* | freebsdelf3.[01]*)
   11681     shlibpath_overrides_runpath=yes
   11682     hardcode_into_libs=yes
   11683     ;;
   11684   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11685   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11686     shlibpath_overrides_runpath=no
   11687     hardcode_into_libs=yes
   11688     ;;
   11689   *) # from 4.6 on, and DragonFly
   11690     shlibpath_overrides_runpath=yes
   11691     hardcode_into_libs=yes
   11692     ;;
   11693   esac
   11694   ;;
   11695 
   11696 haiku*)
   11697   version_type=linux # correct to gnu/linux during the next big refactor
   11698   need_lib_prefix=no
   11699   need_version=no
   11700   dynamic_linker="$host_os runtime_loader"
   11701   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11702   soname_spec='$libname$release$shared_ext$major'
   11703   shlibpath_var=LIBRARY_PATH
   11704   shlibpath_overrides_runpath=no
   11705   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11706   hardcode_into_libs=yes
   11707   ;;
   11708 
   11709 hpux9* | hpux10* | hpux11*)
   11710   # Give a soname corresponding to the major version so that dld.sl refuses to
   11711   # link against other versions.
   11712   version_type=sunos
   11713   need_lib_prefix=no
   11714   need_version=no
   11715   case $host_cpu in
   11716   ia64*)
   11717     shrext_cmds='.so'
   11718     hardcode_into_libs=yes
   11719     dynamic_linker="$host_os dld.so"
   11720     shlibpath_var=LD_LIBRARY_PATH
   11721     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11722     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11723     soname_spec='$libname$release$shared_ext$major'
   11724     if test 32 = "$HPUX_IA64_MODE"; then
   11725       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11726       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11727     else
   11728       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11729       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11730     fi
   11731     ;;
   11732   hppa*64*)
   11733     shrext_cmds='.sl'
   11734     hardcode_into_libs=yes
   11735     dynamic_linker="$host_os dld.sl"
   11736     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11737     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11738     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11739     soname_spec='$libname$release$shared_ext$major'
   11740     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11741     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11742     ;;
   11743   *)
   11744     shrext_cmds='.sl'
   11745     dynamic_linker="$host_os dld.sl"
   11746     shlibpath_var=SHLIB_PATH
   11747     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11748     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11749     soname_spec='$libname$release$shared_ext$major'
   11750     ;;
   11751   esac
   11752   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11753   postinstall_cmds='chmod 555 $lib'
   11754   # or fails outright, so override atomically:
   11755   install_override_mode=555
   11756   ;;
   11757 
   11758 interix[3-9]*)
   11759   version_type=linux # correct to gnu/linux during the next big refactor
   11760   need_lib_prefix=no
   11761   need_version=no
   11762   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11763   soname_spec='$libname$release$shared_ext$major'
   11764   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11765   shlibpath_var=LD_LIBRARY_PATH
   11766   shlibpath_overrides_runpath=no
   11767   hardcode_into_libs=yes
   11768   ;;
   11769 
   11770 irix5* | irix6* | nonstopux*)
   11771   case $host_os in
   11772     nonstopux*) version_type=nonstopux ;;
   11773     *)
   11774 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11775 		version_type=linux # correct to gnu/linux during the next big refactor
   11776 	else
   11777 		version_type=irix
   11778 	fi ;;
   11779   esac
   11780   need_lib_prefix=no
   11781   need_version=no
   11782   soname_spec='$libname$release$shared_ext$major'
   11783   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11784   case $host_os in
   11785   irix5* | nonstopux*)
   11786     libsuff= shlibsuff=
   11787     ;;
   11788   *)
   11789     case $LD in # libtool.m4 will add one of these switches to LD
   11790     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11791       libsuff= shlibsuff= libmagic=32-bit;;
   11792     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11793       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11794     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11795       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11796     *) libsuff= shlibsuff= libmagic=never-match;;
   11797     esac
   11798     ;;
   11799   esac
   11800   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11801   shlibpath_overrides_runpath=no
   11802   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11803   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11804   hardcode_into_libs=yes
   11805   ;;
   11806 
   11807 # No shared lib support for Linux oldld, aout, or coff.
   11808 linux*oldld* | linux*aout* | linux*coff*)
   11809   dynamic_linker=no
   11810   ;;
   11811 
   11812 linux*android*)
   11813   version_type=none # Android doesn't support versioned libraries.
   11814   need_lib_prefix=no
   11815   need_version=no
   11816   library_names_spec='$libname$release$shared_ext'
   11817   soname_spec='$libname$release$shared_ext'
   11818   finish_cmds=
   11819   shlibpath_var=LD_LIBRARY_PATH
   11820   shlibpath_overrides_runpath=yes
   11821 
   11822   # This implies no fast_install, which is unacceptable.
   11823   # Some rework will be needed to allow for fast_install
   11824   # before this can be enabled.
   11825   hardcode_into_libs=yes
   11826 
   11827   dynamic_linker='Android linker'
   11828   # Don't embed -rpath directories since the linker doesn't support them.
   11829   hardcode_libdir_flag_spec='-L$libdir'
   11830   ;;
   11831 
   11832 # This must be glibc/ELF.
   11833 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11834   version_type=linux # correct to gnu/linux during the next big refactor
   11835   need_lib_prefix=no
   11836   need_version=no
   11837   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11838   soname_spec='$libname$release$shared_ext$major'
   11839   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11840   shlibpath_var=LD_LIBRARY_PATH
   11841   shlibpath_overrides_runpath=no
   11842 
   11843   # Some binutils ld are patched to set DT_RUNPATH
   11844   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11845   $as_echo_n "(cached) " >&6
   11846 else
   11847   lt_cv_shlibpath_overrides_runpath=no
   11848     save_LDFLAGS=$LDFLAGS
   11849     save_libdir=$libdir
   11850     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11851 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11853 /* end confdefs.h.  */
   11854 
   11855 int
   11856 main ()
   11857 {
   11858 
   11859   ;
   11860   return 0;
   11861 }
   11862 _ACEOF
   11863 if ac_fn_c_try_link "$LINENO"; then :
   11864   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11865   lt_cv_shlibpath_overrides_runpath=yes
   11866 fi
   11867 fi
   11868 rm -f core conftest.err conftest.$ac_objext \
   11869     conftest$ac_exeext conftest.$ac_ext
   11870     LDFLAGS=$save_LDFLAGS
   11871     libdir=$save_libdir
   11872 
   11873 fi
   11874 
   11875   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11876 
   11877   # This implies no fast_install, which is unacceptable.
   11878   # Some rework will be needed to allow for fast_install
   11879   # before this can be enabled.
   11880   hardcode_into_libs=yes
   11881 
   11882   # Ideally, we could use ldconfig to report *all* directores which are
   11883   # searched for libraries, however this is still not possible.  Aside from not
   11884   # being certain /sbin/ldconfig is available, command
   11885   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11886   # even though it is searched at run-time.  Try to do the best guess by
   11887   # appending ld.so.conf contents (and includes) to the search path.
   11888   if test -f /etc/ld.so.conf; then
   11889     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' ' '`
   11890     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11891   fi
   11892 
   11893   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11894   # powerpc, because MkLinux only supported shared libraries with the
   11895   # GNU dynamic linker.  Since this was broken with cross compilers,
   11896   # most powerpc-linux boxes support dynamic linking these days and
   11897   # people can always --disable-shared, the test was removed, and we
   11898   # assume the GNU/Linux dynamic linker is in use.
   11899   dynamic_linker='GNU/Linux ld.so'
   11900   ;;
   11901 
   11902 netbsd*)
   11903   version_type=sunos
   11904   need_lib_prefix=no
   11905   need_version=no
   11906   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11907     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11908     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11909     dynamic_linker='NetBSD (a.out) ld.so'
   11910   else
   11911     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11912     soname_spec='$libname$release$shared_ext$major'
   11913     dynamic_linker='NetBSD ld.elf_so'
   11914   fi
   11915   shlibpath_var=LD_LIBRARY_PATH
   11916   shlibpath_overrides_runpath=yes
   11917   hardcode_into_libs=yes
   11918   ;;
   11919 
   11920 newsos6)
   11921   version_type=linux # correct to gnu/linux during the next big refactor
   11922   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11923   shlibpath_var=LD_LIBRARY_PATH
   11924   shlibpath_overrides_runpath=yes
   11925   ;;
   11926 
   11927 *nto* | *qnx*)
   11928   version_type=qnx
   11929   need_lib_prefix=no
   11930   need_version=no
   11931   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11932   soname_spec='$libname$release$shared_ext$major'
   11933   shlibpath_var=LD_LIBRARY_PATH
   11934   shlibpath_overrides_runpath=no
   11935   hardcode_into_libs=yes
   11936   dynamic_linker='ldqnx.so'
   11937   ;;
   11938 
   11939 openbsd* | bitrig*)
   11940   version_type=sunos
   11941   sys_lib_dlsearch_path_spec=/usr/lib
   11942   need_lib_prefix=no
   11943   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11944     need_version=no
   11945   else
   11946     need_version=yes
   11947   fi
   11948   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11949   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11950   shlibpath_var=LD_LIBRARY_PATH
   11951   shlibpath_overrides_runpath=yes
   11952   ;;
   11953 
   11954 os2*)
   11955   libname_spec='$name'
   11956   version_type=windows
   11957   shrext_cmds=.dll
   11958   need_version=no
   11959   need_lib_prefix=no
   11960   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11961   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11962     v=$($ECHO $release$versuffix | tr -d .-);
   11963     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11964     $ECHO $n$v`$shared_ext'
   11965   library_names_spec='${libname}_dll.$libext'
   11966   dynamic_linker='OS/2 ld.exe'
   11967   shlibpath_var=BEGINLIBPATH
   11968   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11969   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11970   postinstall_cmds='base_file=`basename \$file`~
   11971     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11972     dldir=$destdir/`dirname \$dlpath`~
   11973     test -d \$dldir || mkdir -p \$dldir~
   11974     $install_prog $dir/$dlname \$dldir/$dlname~
   11975     chmod a+x \$dldir/$dlname~
   11976     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11977       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11978     fi'
   11979   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11980     dlpath=$dir/\$dldll~
   11981     $RM \$dlpath'
   11982   ;;
   11983 
   11984 osf3* | osf4* | osf5*)
   11985   version_type=osf
   11986   need_lib_prefix=no
   11987   need_version=no
   11988   soname_spec='$libname$release$shared_ext$major'
   11989   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11990   shlibpath_var=LD_LIBRARY_PATH
   11991   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11992   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11993   ;;
   11994 
   11995 rdos*)
   11996   dynamic_linker=no
   11997   ;;
   11998 
   11999 solaris*)
   12000   version_type=linux # correct to gnu/linux during the next big refactor
   12001   need_lib_prefix=no
   12002   need_version=no
   12003   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12004   soname_spec='$libname$release$shared_ext$major'
   12005   shlibpath_var=LD_LIBRARY_PATH
   12006   shlibpath_overrides_runpath=yes
   12007   hardcode_into_libs=yes
   12008   # ldd complains unless libraries are executable
   12009   postinstall_cmds='chmod +x $lib'
   12010   ;;
   12011 
   12012 sunos4*)
   12013   version_type=sunos
   12014   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12015   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12016   shlibpath_var=LD_LIBRARY_PATH
   12017   shlibpath_overrides_runpath=yes
   12018   if test yes = "$with_gnu_ld"; then
   12019     need_lib_prefix=no
   12020   fi
   12021   need_version=yes
   12022   ;;
   12023 
   12024 sysv4 | sysv4.3*)
   12025   version_type=linux # correct to gnu/linux during the next big refactor
   12026   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12027   soname_spec='$libname$release$shared_ext$major'
   12028   shlibpath_var=LD_LIBRARY_PATH
   12029   case $host_vendor in
   12030     sni)
   12031       shlibpath_overrides_runpath=no
   12032       need_lib_prefix=no
   12033       runpath_var=LD_RUN_PATH
   12034       ;;
   12035     siemens)
   12036       need_lib_prefix=no
   12037       ;;
   12038     motorola)
   12039       need_lib_prefix=no
   12040       need_version=no
   12041       shlibpath_overrides_runpath=no
   12042       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12043       ;;
   12044   esac
   12045   ;;
   12046 
   12047 sysv4*MP*)
   12048   if test -d /usr/nec; then
   12049     version_type=linux # correct to gnu/linux during the next big refactor
   12050     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12051     soname_spec='$libname$shared_ext.$major'
   12052     shlibpath_var=LD_LIBRARY_PATH
   12053   fi
   12054   ;;
   12055 
   12056 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12057   version_type=sco
   12058   need_lib_prefix=no
   12059   need_version=no
   12060   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12061   soname_spec='$libname$release$shared_ext$major'
   12062   shlibpath_var=LD_LIBRARY_PATH
   12063   shlibpath_overrides_runpath=yes
   12064   hardcode_into_libs=yes
   12065   if test yes = "$with_gnu_ld"; then
   12066     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12067   else
   12068     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12069     case $host_os in
   12070       sco3.2v5*)
   12071         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12072 	;;
   12073     esac
   12074   fi
   12075   sys_lib_dlsearch_path_spec='/usr/lib'
   12076   ;;
   12077 
   12078 tpf*)
   12079   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12080   version_type=linux # correct to gnu/linux during the next big refactor
   12081   need_lib_prefix=no
   12082   need_version=no
   12083   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12084   shlibpath_var=LD_LIBRARY_PATH
   12085   shlibpath_overrides_runpath=no
   12086   hardcode_into_libs=yes
   12087   ;;
   12088 
   12089 uts4*)
   12090   version_type=linux # correct to gnu/linux during the next big refactor
   12091   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12092   soname_spec='$libname$release$shared_ext$major'
   12093   shlibpath_var=LD_LIBRARY_PATH
   12094   ;;
   12095 
   12096 *)
   12097   dynamic_linker=no
   12098   ;;
   12099 esac
   12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12101 $as_echo "$dynamic_linker" >&6; }
   12102 test no = "$dynamic_linker" && can_build_shared=no
   12103 
   12104 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12105 if test yes = "$GCC"; then
   12106   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12107 fi
   12108 
   12109 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12110   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12111 fi
   12112 
   12113 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12114   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12115 fi
   12116 
   12117 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12118 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12119 
   12120 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12121 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12122 
   12123 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12124 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12223 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12224 hardcode_action=
   12225 if test -n "$hardcode_libdir_flag_spec" ||
   12226    test -n "$runpath_var" ||
   12227    test yes = "$hardcode_automatic"; then
   12228 
   12229   # We can hardcode non-existent directories.
   12230   if test no != "$hardcode_direct" &&
   12231      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12232      # have to relink, otherwise we might link with an installed library
   12233      # when we should be linking with a yet-to-be-installed one
   12234      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12235      test no != "$hardcode_minus_L"; then
   12236     # Linking always hardcodes the temporary library directory.
   12237     hardcode_action=relink
   12238   else
   12239     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12240     hardcode_action=immediate
   12241   fi
   12242 else
   12243   # We cannot hardcode anything, or else we can only hardcode existing
   12244   # directories.
   12245   hardcode_action=unsupported
   12246 fi
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12248 $as_echo "$hardcode_action" >&6; }
   12249 
   12250 if test relink = "$hardcode_action" ||
   12251    test yes = "$inherit_rpath"; then
   12252   # Fast installation is not supported
   12253   enable_fast_install=no
   12254 elif test yes = "$shlibpath_overrides_runpath" ||
   12255      test no = "$enable_shared"; then
   12256   # Fast installation is not necessary
   12257   enable_fast_install=needless
   12258 fi
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265   if test yes != "$enable_dlopen"; then
   12266   enable_dlopen=unknown
   12267   enable_dlopen_self=unknown
   12268   enable_dlopen_self_static=unknown
   12269 else
   12270   lt_cv_dlopen=no
   12271   lt_cv_dlopen_libs=
   12272 
   12273   case $host_os in
   12274   beos*)
   12275     lt_cv_dlopen=load_add_on
   12276     lt_cv_dlopen_libs=
   12277     lt_cv_dlopen_self=yes
   12278     ;;
   12279 
   12280   mingw* | pw32* | cegcc*)
   12281     lt_cv_dlopen=LoadLibrary
   12282     lt_cv_dlopen_libs=
   12283     ;;
   12284 
   12285   cygwin*)
   12286     lt_cv_dlopen=dlopen
   12287     lt_cv_dlopen_libs=
   12288     ;;
   12289 
   12290   darwin*)
   12291     # if libdl is installed we need to link against it
   12292     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12293 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12294 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12295   $as_echo_n "(cached) " >&6
   12296 else
   12297   ac_check_lib_save_LIBS=$LIBS
   12298 LIBS="-ldl  $LIBS"
   12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12300 /* end confdefs.h.  */
   12301 
   12302 /* Override any GCC internal prototype to avoid an error.
   12303    Use char because int might match the return type of a GCC
   12304    builtin and then its argument prototype would still apply.  */
   12305 #ifdef __cplusplus
   12306 extern "C"
   12307 #endif
   12308 char dlopen ();
   12309 int
   12310 main ()
   12311 {
   12312 return dlopen ();
   12313   ;
   12314   return 0;
   12315 }
   12316 _ACEOF
   12317 if ac_fn_c_try_link "$LINENO"; then :
   12318   ac_cv_lib_dl_dlopen=yes
   12319 else
   12320   ac_cv_lib_dl_dlopen=no
   12321 fi
   12322 rm -f core conftest.err conftest.$ac_objext \
   12323     conftest$ac_exeext conftest.$ac_ext
   12324 LIBS=$ac_check_lib_save_LIBS
   12325 fi
   12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12327 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12328 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12329   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12330 else
   12331 
   12332     lt_cv_dlopen=dyld
   12333     lt_cv_dlopen_libs=
   12334     lt_cv_dlopen_self=yes
   12335 
   12336 fi
   12337 
   12338     ;;
   12339 
   12340   tpf*)
   12341     # Don't try to run any link tests for TPF.  We know it's impossible
   12342     # because TPF is a cross-compiler, and we know how we open DSOs.
   12343     lt_cv_dlopen=dlopen
   12344     lt_cv_dlopen_libs=
   12345     lt_cv_dlopen_self=no
   12346     ;;
   12347 
   12348   *)
   12349     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12350 if test "x$ac_cv_func_shl_load" = xyes; then :
   12351   lt_cv_dlopen=shl_load
   12352 else
   12353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12354 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12355 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12356   $as_echo_n "(cached) " >&6
   12357 else
   12358   ac_check_lib_save_LIBS=$LIBS
   12359 LIBS="-ldld  $LIBS"
   12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12361 /* end confdefs.h.  */
   12362 
   12363 /* Override any GCC internal prototype to avoid an error.
   12364    Use char because int might match the return type of a GCC
   12365    builtin and then its argument prototype would still apply.  */
   12366 #ifdef __cplusplus
   12367 extern "C"
   12368 #endif
   12369 char shl_load ();
   12370 int
   12371 main ()
   12372 {
   12373 return shl_load ();
   12374   ;
   12375   return 0;
   12376 }
   12377 _ACEOF
   12378 if ac_fn_c_try_link "$LINENO"; then :
   12379   ac_cv_lib_dld_shl_load=yes
   12380 else
   12381   ac_cv_lib_dld_shl_load=no
   12382 fi
   12383 rm -f core conftest.err conftest.$ac_objext \
   12384     conftest$ac_exeext conftest.$ac_ext
   12385 LIBS=$ac_check_lib_save_LIBS
   12386 fi
   12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12388 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12389 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12390   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12391 else
   12392   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12393 if test "x$ac_cv_func_dlopen" = xyes; then :
   12394   lt_cv_dlopen=dlopen
   12395 else
   12396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12397 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12398 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12399   $as_echo_n "(cached) " >&6
   12400 else
   12401   ac_check_lib_save_LIBS=$LIBS
   12402 LIBS="-ldl  $LIBS"
   12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12404 /* end confdefs.h.  */
   12405 
   12406 /* Override any GCC internal prototype to avoid an error.
   12407    Use char because int might match the return type of a GCC
   12408    builtin and then its argument prototype would still apply.  */
   12409 #ifdef __cplusplus
   12410 extern "C"
   12411 #endif
   12412 char dlopen ();
   12413 int
   12414 main ()
   12415 {
   12416 return dlopen ();
   12417   ;
   12418   return 0;
   12419 }
   12420 _ACEOF
   12421 if ac_fn_c_try_link "$LINENO"; then :
   12422   ac_cv_lib_dl_dlopen=yes
   12423 else
   12424   ac_cv_lib_dl_dlopen=no
   12425 fi
   12426 rm -f core conftest.err conftest.$ac_objext \
   12427     conftest$ac_exeext conftest.$ac_ext
   12428 LIBS=$ac_check_lib_save_LIBS
   12429 fi
   12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12431 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12432 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12433   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12434 else
   12435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12436 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12437 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12438   $as_echo_n "(cached) " >&6
   12439 else
   12440   ac_check_lib_save_LIBS=$LIBS
   12441 LIBS="-lsvld  $LIBS"
   12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12443 /* end confdefs.h.  */
   12444 
   12445 /* Override any GCC internal prototype to avoid an error.
   12446    Use char because int might match the return type of a GCC
   12447    builtin and then its argument prototype would still apply.  */
   12448 #ifdef __cplusplus
   12449 extern "C"
   12450 #endif
   12451 char dlopen ();
   12452 int
   12453 main ()
   12454 {
   12455 return dlopen ();
   12456   ;
   12457   return 0;
   12458 }
   12459 _ACEOF
   12460 if ac_fn_c_try_link "$LINENO"; then :
   12461   ac_cv_lib_svld_dlopen=yes
   12462 else
   12463   ac_cv_lib_svld_dlopen=no
   12464 fi
   12465 rm -f core conftest.err conftest.$ac_objext \
   12466     conftest$ac_exeext conftest.$ac_ext
   12467 LIBS=$ac_check_lib_save_LIBS
   12468 fi
   12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12470 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12471 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12472   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12473 else
   12474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12475 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12476 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12477   $as_echo_n "(cached) " >&6
   12478 else
   12479   ac_check_lib_save_LIBS=$LIBS
   12480 LIBS="-ldld  $LIBS"
   12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12482 /* end confdefs.h.  */
   12483 
   12484 /* Override any GCC internal prototype to avoid an error.
   12485    Use char because int might match the return type of a GCC
   12486    builtin and then its argument prototype would still apply.  */
   12487 #ifdef __cplusplus
   12488 extern "C"
   12489 #endif
   12490 char dld_link ();
   12491 int
   12492 main ()
   12493 {
   12494 return dld_link ();
   12495   ;
   12496   return 0;
   12497 }
   12498 _ACEOF
   12499 if ac_fn_c_try_link "$LINENO"; then :
   12500   ac_cv_lib_dld_dld_link=yes
   12501 else
   12502   ac_cv_lib_dld_dld_link=no
   12503 fi
   12504 rm -f core conftest.err conftest.$ac_objext \
   12505     conftest$ac_exeext conftest.$ac_ext
   12506 LIBS=$ac_check_lib_save_LIBS
   12507 fi
   12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12509 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12510 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12511   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12512 fi
   12513 
   12514 
   12515 fi
   12516 
   12517 
   12518 fi
   12519 
   12520 
   12521 fi
   12522 
   12523 
   12524 fi
   12525 
   12526 
   12527 fi
   12528 
   12529     ;;
   12530   esac
   12531 
   12532   if test no = "$lt_cv_dlopen"; then
   12533     enable_dlopen=no
   12534   else
   12535     enable_dlopen=yes
   12536   fi
   12537 
   12538   case $lt_cv_dlopen in
   12539   dlopen)
   12540     save_CPPFLAGS=$CPPFLAGS
   12541     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12542 
   12543     save_LDFLAGS=$LDFLAGS
   12544     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12545 
   12546     save_LIBS=$LIBS
   12547     LIBS="$lt_cv_dlopen_libs $LIBS"
   12548 
   12549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12550 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12551 if ${lt_cv_dlopen_self+:} false; then :
   12552   $as_echo_n "(cached) " >&6
   12553 else
   12554   	  if test yes = "$cross_compiling"; then :
   12555   lt_cv_dlopen_self=cross
   12556 else
   12557   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12558   lt_status=$lt_dlunknown
   12559   cat > conftest.$ac_ext <<_LT_EOF
   12560 #line $LINENO "configure"
   12561 #include "confdefs.h"
   12562 
   12563 #if HAVE_DLFCN_H
   12564 #include <dlfcn.h>
   12565 #endif
   12566 
   12567 #include <stdio.h>
   12568 
   12569 #ifdef RTLD_GLOBAL
   12570 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12571 #else
   12572 #  ifdef DL_GLOBAL
   12573 #    define LT_DLGLOBAL		DL_GLOBAL
   12574 #  else
   12575 #    define LT_DLGLOBAL		0
   12576 #  endif
   12577 #endif
   12578 
   12579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12580    find out it does not work in some platform. */
   12581 #ifndef LT_DLLAZY_OR_NOW
   12582 #  ifdef RTLD_LAZY
   12583 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12584 #  else
   12585 #    ifdef DL_LAZY
   12586 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12587 #    else
   12588 #      ifdef RTLD_NOW
   12589 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12590 #      else
   12591 #        ifdef DL_NOW
   12592 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12593 #        else
   12594 #          define LT_DLLAZY_OR_NOW	0
   12595 #        endif
   12596 #      endif
   12597 #    endif
   12598 #  endif
   12599 #endif
   12600 
   12601 /* When -fvisibility=hidden is used, assume the code has been annotated
   12602    correspondingly for the symbols needed.  */
   12603 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12604 int fnord () __attribute__((visibility("default")));
   12605 #endif
   12606 
   12607 int fnord () { return 42; }
   12608 int main ()
   12609 {
   12610   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12611   int status = $lt_dlunknown;
   12612 
   12613   if (self)
   12614     {
   12615       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12616       else
   12617         {
   12618 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12619           else puts (dlerror ());
   12620 	}
   12621       /* dlclose (self); */
   12622     }
   12623   else
   12624     puts (dlerror ());
   12625 
   12626   return status;
   12627 }
   12628 _LT_EOF
   12629   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12630   (eval $ac_link) 2>&5
   12631   ac_status=$?
   12632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12633   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12634     (./conftest; exit; ) >&5 2>/dev/null
   12635     lt_status=$?
   12636     case x$lt_status in
   12637       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12638       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12639       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12640     esac
   12641   else :
   12642     # compilation failed
   12643     lt_cv_dlopen_self=no
   12644   fi
   12645 fi
   12646 rm -fr conftest*
   12647 
   12648 
   12649 fi
   12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12651 $as_echo "$lt_cv_dlopen_self" >&6; }
   12652 
   12653     if test yes = "$lt_cv_dlopen_self"; then
   12654       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12655       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12656 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12657 if ${lt_cv_dlopen_self_static+:} false; then :
   12658   $as_echo_n "(cached) " >&6
   12659 else
   12660   	  if test yes = "$cross_compiling"; then :
   12661   lt_cv_dlopen_self_static=cross
   12662 else
   12663   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12664   lt_status=$lt_dlunknown
   12665   cat > conftest.$ac_ext <<_LT_EOF
   12666 #line $LINENO "configure"
   12667 #include "confdefs.h"
   12668 
   12669 #if HAVE_DLFCN_H
   12670 #include <dlfcn.h>
   12671 #endif
   12672 
   12673 #include <stdio.h>
   12674 
   12675 #ifdef RTLD_GLOBAL
   12676 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12677 #else
   12678 #  ifdef DL_GLOBAL
   12679 #    define LT_DLGLOBAL		DL_GLOBAL
   12680 #  else
   12681 #    define LT_DLGLOBAL		0
   12682 #  endif
   12683 #endif
   12684 
   12685 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12686    find out it does not work in some platform. */
   12687 #ifndef LT_DLLAZY_OR_NOW
   12688 #  ifdef RTLD_LAZY
   12689 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12690 #  else
   12691 #    ifdef DL_LAZY
   12692 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12693 #    else
   12694 #      ifdef RTLD_NOW
   12695 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12696 #      else
   12697 #        ifdef DL_NOW
   12698 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12699 #        else
   12700 #          define LT_DLLAZY_OR_NOW	0
   12701 #        endif
   12702 #      endif
   12703 #    endif
   12704 #  endif
   12705 #endif
   12706 
   12707 /* When -fvisibility=hidden is used, assume the code has been annotated
   12708    correspondingly for the symbols needed.  */
   12709 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12710 int fnord () __attribute__((visibility("default")));
   12711 #endif
   12712 
   12713 int fnord () { return 42; }
   12714 int main ()
   12715 {
   12716   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12717   int status = $lt_dlunknown;
   12718 
   12719   if (self)
   12720     {
   12721       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12722       else
   12723         {
   12724 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12725           else puts (dlerror ());
   12726 	}
   12727       /* dlclose (self); */
   12728     }
   12729   else
   12730     puts (dlerror ());
   12731 
   12732   return status;
   12733 }
   12734 _LT_EOF
   12735   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12736   (eval $ac_link) 2>&5
   12737   ac_status=$?
   12738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12739   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12740     (./conftest; exit; ) >&5 2>/dev/null
   12741     lt_status=$?
   12742     case x$lt_status in
   12743       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12744       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12745       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12746     esac
   12747   else :
   12748     # compilation failed
   12749     lt_cv_dlopen_self_static=no
   12750   fi
   12751 fi
   12752 rm -fr conftest*
   12753 
   12754 
   12755 fi
   12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12757 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12758     fi
   12759 
   12760     CPPFLAGS=$save_CPPFLAGS
   12761     LDFLAGS=$save_LDFLAGS
   12762     LIBS=$save_LIBS
   12763     ;;
   12764   esac
   12765 
   12766   case $lt_cv_dlopen_self in
   12767   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12768   *) enable_dlopen_self=unknown ;;
   12769   esac
   12770 
   12771   case $lt_cv_dlopen_self_static in
   12772   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12773   *) enable_dlopen_self_static=unknown ;;
   12774   esac
   12775 fi
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 striplib=
   12794 old_striplib=
   12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12796 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12797 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12798   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12799   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12801 $as_echo "yes" >&6; }
   12802 else
   12803 # FIXME - insert some real tests, host_os isn't really good enough
   12804   case $host_os in
   12805   darwin*)
   12806     if test -n "$STRIP"; then
   12807       striplib="$STRIP -x"
   12808       old_striplib="$STRIP -S"
   12809       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12810 $as_echo "yes" >&6; }
   12811     else
   12812       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12813 $as_echo "no" >&6; }
   12814     fi
   12815     ;;
   12816   *)
   12817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12818 $as_echo "no" >&6; }
   12819     ;;
   12820   esac
   12821 fi
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834   # Report what library types will actually be built
   12835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12836 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12838 $as_echo "$can_build_shared" >&6; }
   12839 
   12840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12841 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12842   test no = "$can_build_shared" && enable_shared=no
   12843 
   12844   # On AIX, shared libraries and static libraries use the same namespace, and
   12845   # are all built from PIC.
   12846   case $host_os in
   12847   aix3*)
   12848     test yes = "$enable_shared" && enable_static=no
   12849     if test -n "$RANLIB"; then
   12850       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12851       postinstall_cmds='$RANLIB $lib'
   12852     fi
   12853     ;;
   12854 
   12855   aix[4-9]*)
   12856     if test ia64 != "$host_cpu"; then
   12857       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12858       yes,aix,yes) ;;			# shared object as lib.so file only
   12859       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12860       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12861       esac
   12862     fi
   12863     ;;
   12864   esac
   12865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12866 $as_echo "$enable_shared" >&6; }
   12867 
   12868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12869 $as_echo_n "checking whether to build static libraries... " >&6; }
   12870   # Make sure either enable_shared or enable_static is yes.
   12871   test yes = "$enable_shared" || enable_static=yes
   12872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12873 $as_echo "$enable_static" >&6; }
   12874 
   12875 
   12876 
   12877 
   12878 fi
   12879 ac_ext=c
   12880 ac_cpp='$CPP $CPPFLAGS'
   12881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12884 
   12885 CC=$lt_save_CC
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901         ac_config_commands="$ac_config_commands libtool"
   12902 
   12903 
   12904 
   12905 
   12906 # Only expand once:
   12907 
   12908 
   12909 
   12910 # Require xorg-macros minimum of 1.18 - Initial version
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12923 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12924 if ${ac_cv_prog_cc_c99+:} false; then :
   12925   $as_echo_n "(cached) " >&6
   12926 else
   12927   ac_cv_prog_cc_c99=no
   12928 ac_save_CC=$CC
   12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12930 /* end confdefs.h.  */
   12931 #include <stdarg.h>
   12932 #include <stdbool.h>
   12933 #include <stdlib.h>
   12934 #include <wchar.h>
   12935 #include <stdio.h>
   12936 
   12937 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12938 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12939 #define showlist(...) puts (#__VA_ARGS__)
   12940 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12941 static void
   12942 test_varargs_macros (void)
   12943 {
   12944   int x = 1234;
   12945   int y = 5678;
   12946   debug ("Flag");
   12947   debug ("X = %d\n", x);
   12948   showlist (The first, second, and third items.);
   12949   report (x>y, "x is %d but y is %d", x, y);
   12950 }
   12951 
   12952 // Check long long types.
   12953 #define BIG64 18446744073709551615ull
   12954 #define BIG32 4294967295ul
   12955 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12956 #if !BIG_OK
   12957   your preprocessor is broken;
   12958 #endif
   12959 #if BIG_OK
   12960 #else
   12961   your preprocessor is broken;
   12962 #endif
   12963 static long long int bignum = -9223372036854775807LL;
   12964 static unsigned long long int ubignum = BIG64;
   12965 
   12966 struct incomplete_array
   12967 {
   12968   int datasize;
   12969   double data[];
   12970 };
   12971 
   12972 struct named_init {
   12973   int number;
   12974   const wchar_t *name;
   12975   double average;
   12976 };
   12977 
   12978 typedef const char *ccp;
   12979 
   12980 static inline int
   12981 test_restrict (ccp restrict text)
   12982 {
   12983   // See if C++-style comments work.
   12984   // Iterate through items via the restricted pointer.
   12985   // Also check for declarations in for loops.
   12986   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12987     continue;
   12988   return 0;
   12989 }
   12990 
   12991 // Check varargs and va_copy.
   12992 static void
   12993 test_varargs (const char *format, ...)
   12994 {
   12995   va_list args;
   12996   va_start (args, format);
   12997   va_list args_copy;
   12998   va_copy (args_copy, args);
   12999 
   13000   const char *str;
   13001   int number;
   13002   float fnumber;
   13003 
   13004   while (*format)
   13005     {
   13006       switch (*format++)
   13007 	{
   13008 	case 's': // string
   13009 	  str = va_arg (args_copy, const char *);
   13010 	  break;
   13011 	case 'd': // int
   13012 	  number = va_arg (args_copy, int);
   13013 	  break;
   13014 	case 'f': // float
   13015 	  fnumber = va_arg (args_copy, double);
   13016 	  break;
   13017 	default:
   13018 	  break;
   13019 	}
   13020     }
   13021   va_end (args_copy);
   13022   va_end (args);
   13023 }
   13024 
   13025 int
   13026 main ()
   13027 {
   13028 
   13029   // Check bool.
   13030   _Bool success = false;
   13031 
   13032   // Check restrict.
   13033   if (test_restrict ("String literal") == 0)
   13034     success = true;
   13035   char *restrict newvar = "Another string";
   13036 
   13037   // Check varargs.
   13038   test_varargs ("s, d' f .", "string", 65, 34.234);
   13039   test_varargs_macros ();
   13040 
   13041   // Check flexible array members.
   13042   struct incomplete_array *ia =
   13043     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   13044   ia->datasize = 10;
   13045   for (int i = 0; i < ia->datasize; ++i)
   13046     ia->data[i] = i * 1.234;
   13047 
   13048   // Check named initializers.
   13049   struct named_init ni = {
   13050     .number = 34,
   13051     .name = L"Test wide string",
   13052     .average = 543.34343,
   13053   };
   13054 
   13055   ni.number = 58;
   13056 
   13057   int dynamic_array[ni.number];
   13058   dynamic_array[ni.number - 1] = 543;
   13059 
   13060   // work around unused variable warnings
   13061   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   13062 	  || dynamic_array[ni.number - 1] != 543);
   13063 
   13064   ;
   13065   return 0;
   13066 }
   13067 _ACEOF
   13068 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   13069 do
   13070   CC="$ac_save_CC $ac_arg"
   13071   if ac_fn_c_try_compile "$LINENO"; then :
   13072   ac_cv_prog_cc_c99=$ac_arg
   13073 fi
   13074 rm -f core conftest.err conftest.$ac_objext
   13075   test "x$ac_cv_prog_cc_c99" != "xno" && break
   13076 done
   13077 rm -f conftest.$ac_ext
   13078 CC=$ac_save_CC
   13079 
   13080 fi
   13081 # AC_CACHE_VAL
   13082 case "x$ac_cv_prog_cc_c99" in
   13083   x)
   13084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   13085 $as_echo "none needed" >&6; } ;;
   13086   xno)
   13087     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   13088 $as_echo "unsupported" >&6; } ;;
   13089   *)
   13090     CC="$CC $ac_cv_prog_cc_c99"
   13091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   13092 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   13093 esac
   13094 if test "x$ac_cv_prog_cc_c99" != xno; then :
   13095 
   13096 fi
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   13104 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   13105   CLANGCC="yes"
   13106 else
   13107   CLANGCC="no"
   13108 fi
   13109 
   13110 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   13111 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   13112   INTELCC="yes"
   13113 else
   13114   INTELCC="no"
   13115 fi
   13116 
   13117 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   13118 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   13119   SUNCC="yes"
   13120 else
   13121   SUNCC="no"
   13122 fi
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13133 	if test -n "$ac_tool_prefix"; then
   13134   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13137 $as_echo_n "checking for $ac_word... " >&6; }
   13138 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   13139   $as_echo_n "(cached) " >&6
   13140 else
   13141   case $PKG_CONFIG in
   13142   [\\/]* | ?:[\\/]*)
   13143   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13144   ;;
   13145   *)
   13146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13147 for as_dir in $PATH
   13148 do
   13149   IFS=$as_save_IFS
   13150   test -z "$as_dir" && as_dir=.
   13151     for ac_exec_ext in '' $ac_executable_extensions; do
   13152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13153     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13155     break 2
   13156   fi
   13157 done
   13158   done
   13159 IFS=$as_save_IFS
   13160 
   13161   ;;
   13162 esac
   13163 fi
   13164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13165 if test -n "$PKG_CONFIG"; then
   13166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13167 $as_echo "$PKG_CONFIG" >&6; }
   13168 else
   13169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13170 $as_echo "no" >&6; }
   13171 fi
   13172 
   13173 
   13174 fi
   13175 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13176   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13177   # Extract the first word of "pkg-config", so it can be a program name with args.
   13178 set dummy pkg-config; ac_word=$2
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13180 $as_echo_n "checking for $ac_word... " >&6; }
   13181 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   13182   $as_echo_n "(cached) " >&6
   13183 else
   13184   case $ac_pt_PKG_CONFIG in
   13185   [\\/]* | ?:[\\/]*)
   13186   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13187   ;;
   13188   *)
   13189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13190 for as_dir in $PATH
   13191 do
   13192   IFS=$as_save_IFS
   13193   test -z "$as_dir" && as_dir=.
   13194     for ac_exec_ext in '' $ac_executable_extensions; do
   13195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13196     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13198     break 2
   13199   fi
   13200 done
   13201   done
   13202 IFS=$as_save_IFS
   13203 
   13204   ;;
   13205 esac
   13206 fi
   13207 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13208 if test -n "$ac_pt_PKG_CONFIG"; then
   13209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13210 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   13211 else
   13212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13213 $as_echo "no" >&6; }
   13214 fi
   13215 
   13216   if test "x$ac_pt_PKG_CONFIG" = x; then
   13217     PKG_CONFIG=""
   13218   else
   13219     case $cross_compiling:$ac_tool_warned in
   13220 yes:)
   13221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13223 ac_tool_warned=yes ;;
   13224 esac
   13225     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13226   fi
   13227 else
   13228   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13229 fi
   13230 
   13231 fi
   13232 if test -n "$PKG_CONFIG"; then
   13233 	_pkg_min_version=0.9.0
   13234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13235 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13236 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13238 $as_echo "yes" >&6; }
   13239 	else
   13240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13241 $as_echo "no" >&6; }
   13242 		PKG_CONFIG=""
   13243 	fi
   13244 fi
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 # Check whether --enable-selective-werror was given.
   13251 if test "${enable_selective_werror+set}" = set; then :
   13252   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13253 else
   13254   SELECTIVE_WERROR=yes
   13255 fi
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13262 if test "x$SUNCC" = "xyes"; then
   13263     BASE_CFLAGS="-v"
   13264 else
   13265     BASE_CFLAGS=""
   13266 fi
   13267 
   13268 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 xorg_testset_save_CFLAGS="$CFLAGS"
   13283 
   13284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13289   $as_echo_n "(cached) " >&6
   13290 else
   13291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13292 /* end confdefs.h.  */
   13293 int i;
   13294 _ACEOF
   13295 if ac_fn_c_try_compile "$LINENO"; then :
   13296   xorg_cv_cc_flag_unknown_warning_option=yes
   13297 else
   13298   xorg_cv_cc_flag_unknown_warning_option=no
   13299 fi
   13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13301 fi
   13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13305 	CFLAGS="$xorg_testset_save_CFLAGS"
   13306 fi
   13307 
   13308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13311 	fi
   13312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13316   $as_echo_n "(cached) " >&6
   13317 else
   13318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13319 /* end confdefs.h.  */
   13320 int i;
   13321 _ACEOF
   13322 if ac_fn_c_try_compile "$LINENO"; then :
   13323   xorg_cv_cc_flag_unused_command_line_argument=yes
   13324 else
   13325   xorg_cv_cc_flag_unused_command_line_argument=no
   13326 fi
   13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13328 fi
   13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13332 	CFLAGS="$xorg_testset_save_CFLAGS"
   13333 fi
   13334 
   13335 found="no"
   13336 
   13337 	if test $found = "no" ; then
   13338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13340 		fi
   13341 
   13342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13344 		fi
   13345 
   13346 		CFLAGS="$CFLAGS -Wall"
   13347 
   13348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13349 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   13350 		cacheid=xorg_cv_cc_flag__Wall
   13351 		if eval \${$cacheid+:} false; then :
   13352   $as_echo_n "(cached) " >&6
   13353 else
   13354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13355 /* end confdefs.h.  */
   13356 int i;
   13357 int
   13358 main ()
   13359 {
   13360 
   13361   ;
   13362   return 0;
   13363 }
   13364 _ACEOF
   13365 if ac_fn_c_try_link "$LINENO"; then :
   13366   eval $cacheid=yes
   13367 else
   13368   eval $cacheid=no
   13369 fi
   13370 rm -f core conftest.err conftest.$ac_objext \
   13371     conftest$ac_exeext conftest.$ac_ext
   13372 fi
   13373 
   13374 
   13375 		CFLAGS="$xorg_testset_save_CFLAGS"
   13376 
   13377 		eval supported=\$$cacheid
   13378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13379 $as_echo "$supported" >&6; }
   13380 		if test "$supported" = "yes" ; then
   13381 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13382 			found="yes"
   13383 		fi
   13384 	fi
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 xorg_testset_save_CFLAGS="$CFLAGS"
   13401 
   13402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13407   $as_echo_n "(cached) " >&6
   13408 else
   13409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13410 /* end confdefs.h.  */
   13411 int i;
   13412 _ACEOF
   13413 if ac_fn_c_try_compile "$LINENO"; then :
   13414   xorg_cv_cc_flag_unknown_warning_option=yes
   13415 else
   13416   xorg_cv_cc_flag_unknown_warning_option=no
   13417 fi
   13418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13419 fi
   13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13423 	CFLAGS="$xorg_testset_save_CFLAGS"
   13424 fi
   13425 
   13426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13429 	fi
   13430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13434   $as_echo_n "(cached) " >&6
   13435 else
   13436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13437 /* end confdefs.h.  */
   13438 int i;
   13439 _ACEOF
   13440 if ac_fn_c_try_compile "$LINENO"; then :
   13441   xorg_cv_cc_flag_unused_command_line_argument=yes
   13442 else
   13443   xorg_cv_cc_flag_unused_command_line_argument=no
   13444 fi
   13445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13446 fi
   13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13450 	CFLAGS="$xorg_testset_save_CFLAGS"
   13451 fi
   13452 
   13453 found="no"
   13454 
   13455 	if test $found = "no" ; then
   13456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13458 		fi
   13459 
   13460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13462 		fi
   13463 
   13464 		CFLAGS="$CFLAGS -Wpointer-arith"
   13465 
   13466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13467 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   13468 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13469 		if eval \${$cacheid+:} false; then :
   13470   $as_echo_n "(cached) " >&6
   13471 else
   13472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13473 /* end confdefs.h.  */
   13474 int i;
   13475 int
   13476 main ()
   13477 {
   13478 
   13479   ;
   13480   return 0;
   13481 }
   13482 _ACEOF
   13483 if ac_fn_c_try_link "$LINENO"; then :
   13484   eval $cacheid=yes
   13485 else
   13486   eval $cacheid=no
   13487 fi
   13488 rm -f core conftest.err conftest.$ac_objext \
   13489     conftest$ac_exeext conftest.$ac_ext
   13490 fi
   13491 
   13492 
   13493 		CFLAGS="$xorg_testset_save_CFLAGS"
   13494 
   13495 		eval supported=\$$cacheid
   13496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13497 $as_echo "$supported" >&6; }
   13498 		if test "$supported" = "yes" ; then
   13499 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13500 			found="yes"
   13501 		fi
   13502 	fi
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 xorg_testset_save_CFLAGS="$CFLAGS"
   13519 
   13520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13525   $as_echo_n "(cached) " >&6
   13526 else
   13527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13528 /* end confdefs.h.  */
   13529 int i;
   13530 _ACEOF
   13531 if ac_fn_c_try_compile "$LINENO"; then :
   13532   xorg_cv_cc_flag_unknown_warning_option=yes
   13533 else
   13534   xorg_cv_cc_flag_unknown_warning_option=no
   13535 fi
   13536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13537 fi
   13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13541 	CFLAGS="$xorg_testset_save_CFLAGS"
   13542 fi
   13543 
   13544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13547 	fi
   13548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13552   $as_echo_n "(cached) " >&6
   13553 else
   13554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13555 /* end confdefs.h.  */
   13556 int i;
   13557 _ACEOF
   13558 if ac_fn_c_try_compile "$LINENO"; then :
   13559   xorg_cv_cc_flag_unused_command_line_argument=yes
   13560 else
   13561   xorg_cv_cc_flag_unused_command_line_argument=no
   13562 fi
   13563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13564 fi
   13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13568 	CFLAGS="$xorg_testset_save_CFLAGS"
   13569 fi
   13570 
   13571 found="no"
   13572 
   13573 	if test $found = "no" ; then
   13574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13576 		fi
   13577 
   13578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13580 		fi
   13581 
   13582 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13583 
   13584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13585 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   13586 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13587 		if eval \${$cacheid+:} false; then :
   13588   $as_echo_n "(cached) " >&6
   13589 else
   13590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13591 /* end confdefs.h.  */
   13592 int i;
   13593 int
   13594 main ()
   13595 {
   13596 
   13597   ;
   13598   return 0;
   13599 }
   13600 _ACEOF
   13601 if ac_fn_c_try_link "$LINENO"; then :
   13602   eval $cacheid=yes
   13603 else
   13604   eval $cacheid=no
   13605 fi
   13606 rm -f core conftest.err conftest.$ac_objext \
   13607     conftest$ac_exeext conftest.$ac_ext
   13608 fi
   13609 
   13610 
   13611 		CFLAGS="$xorg_testset_save_CFLAGS"
   13612 
   13613 		eval supported=\$$cacheid
   13614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13615 $as_echo "$supported" >&6; }
   13616 		if test "$supported" = "yes" ; then
   13617 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13618 			found="yes"
   13619 		fi
   13620 	fi
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 xorg_testset_save_CFLAGS="$CFLAGS"
   13637 
   13638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13643   $as_echo_n "(cached) " >&6
   13644 else
   13645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13646 /* end confdefs.h.  */
   13647 int i;
   13648 _ACEOF
   13649 if ac_fn_c_try_compile "$LINENO"; then :
   13650   xorg_cv_cc_flag_unknown_warning_option=yes
   13651 else
   13652   xorg_cv_cc_flag_unknown_warning_option=no
   13653 fi
   13654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13655 fi
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13659 	CFLAGS="$xorg_testset_save_CFLAGS"
   13660 fi
   13661 
   13662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13665 	fi
   13666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13670   $as_echo_n "(cached) " >&6
   13671 else
   13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13673 /* end confdefs.h.  */
   13674 int i;
   13675 _ACEOF
   13676 if ac_fn_c_try_compile "$LINENO"; then :
   13677   xorg_cv_cc_flag_unused_command_line_argument=yes
   13678 else
   13679   xorg_cv_cc_flag_unused_command_line_argument=no
   13680 fi
   13681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13682 fi
   13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13686 	CFLAGS="$xorg_testset_save_CFLAGS"
   13687 fi
   13688 
   13689 found="no"
   13690 
   13691 	if test $found = "no" ; then
   13692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13694 		fi
   13695 
   13696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13698 		fi
   13699 
   13700 		CFLAGS="$CFLAGS -Wformat=2"
   13701 
   13702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13703 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13704 		cacheid=xorg_cv_cc_flag__Wformat_2
   13705 		if eval \${$cacheid+:} false; then :
   13706   $as_echo_n "(cached) " >&6
   13707 else
   13708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13709 /* end confdefs.h.  */
   13710 int i;
   13711 int
   13712 main ()
   13713 {
   13714 
   13715   ;
   13716   return 0;
   13717 }
   13718 _ACEOF
   13719 if ac_fn_c_try_link "$LINENO"; then :
   13720   eval $cacheid=yes
   13721 else
   13722   eval $cacheid=no
   13723 fi
   13724 rm -f core conftest.err conftest.$ac_objext \
   13725     conftest$ac_exeext conftest.$ac_ext
   13726 fi
   13727 
   13728 
   13729 		CFLAGS="$xorg_testset_save_CFLAGS"
   13730 
   13731 		eval supported=\$$cacheid
   13732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13733 $as_echo "$supported" >&6; }
   13734 		if test "$supported" = "yes" ; then
   13735 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13736 			found="yes"
   13737 		fi
   13738 	fi
   13739 
   13740 	if test $found = "no" ; then
   13741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13743 		fi
   13744 
   13745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13747 		fi
   13748 
   13749 		CFLAGS="$CFLAGS -Wformat"
   13750 
   13751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13752 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13753 		cacheid=xorg_cv_cc_flag__Wformat
   13754 		if eval \${$cacheid+:} false; then :
   13755   $as_echo_n "(cached) " >&6
   13756 else
   13757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13758 /* end confdefs.h.  */
   13759 int i;
   13760 int
   13761 main ()
   13762 {
   13763 
   13764   ;
   13765   return 0;
   13766 }
   13767 _ACEOF
   13768 if ac_fn_c_try_link "$LINENO"; then :
   13769   eval $cacheid=yes
   13770 else
   13771   eval $cacheid=no
   13772 fi
   13773 rm -f core conftest.err conftest.$ac_objext \
   13774     conftest$ac_exeext conftest.$ac_ext
   13775 fi
   13776 
   13777 
   13778 		CFLAGS="$xorg_testset_save_CFLAGS"
   13779 
   13780 		eval supported=\$$cacheid
   13781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13782 $as_echo "$supported" >&6; }
   13783 		if test "$supported" = "yes" ; then
   13784 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13785 			found="yes"
   13786 		fi
   13787 	fi
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 xorg_testset_save_CFLAGS="$CFLAGS"
   13806 
   13807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13812   $as_echo_n "(cached) " >&6
   13813 else
   13814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13815 /* end confdefs.h.  */
   13816 int i;
   13817 _ACEOF
   13818 if ac_fn_c_try_compile "$LINENO"; then :
   13819   xorg_cv_cc_flag_unknown_warning_option=yes
   13820 else
   13821   xorg_cv_cc_flag_unknown_warning_option=no
   13822 fi
   13823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13824 fi
   13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13828 	CFLAGS="$xorg_testset_save_CFLAGS"
   13829 fi
   13830 
   13831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13834 	fi
   13835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13839   $as_echo_n "(cached) " >&6
   13840 else
   13841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13842 /* end confdefs.h.  */
   13843 int i;
   13844 _ACEOF
   13845 if ac_fn_c_try_compile "$LINENO"; then :
   13846   xorg_cv_cc_flag_unused_command_line_argument=yes
   13847 else
   13848   xorg_cv_cc_flag_unused_command_line_argument=no
   13849 fi
   13850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13851 fi
   13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13855 	CFLAGS="$xorg_testset_save_CFLAGS"
   13856 fi
   13857 
   13858 found="no"
   13859 
   13860 	if test $found = "no" ; then
   13861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13863 		fi
   13864 
   13865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13867 		fi
   13868 
   13869 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13870 
   13871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13872 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13873 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13874 		if eval \${$cacheid+:} false; then :
   13875   $as_echo_n "(cached) " >&6
   13876 else
   13877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13878 /* end confdefs.h.  */
   13879 int i;
   13880 int
   13881 main ()
   13882 {
   13883 
   13884   ;
   13885   return 0;
   13886 }
   13887 _ACEOF
   13888 if ac_fn_c_try_link "$LINENO"; then :
   13889   eval $cacheid=yes
   13890 else
   13891   eval $cacheid=no
   13892 fi
   13893 rm -f core conftest.err conftest.$ac_objext \
   13894     conftest$ac_exeext conftest.$ac_ext
   13895 fi
   13896 
   13897 
   13898 		CFLAGS="$xorg_testset_save_CFLAGS"
   13899 
   13900 		eval supported=\$$cacheid
   13901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13902 $as_echo "$supported" >&6; }
   13903 		if test "$supported" = "yes" ; then
   13904 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13905 			found="yes"
   13906 		fi
   13907 	fi
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 xorg_testset_save_CFLAGS="$CFLAGS"
   13924 
   13925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13930   $as_echo_n "(cached) " >&6
   13931 else
   13932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13933 /* end confdefs.h.  */
   13934 int i;
   13935 _ACEOF
   13936 if ac_fn_c_try_compile "$LINENO"; then :
   13937   xorg_cv_cc_flag_unknown_warning_option=yes
   13938 else
   13939   xorg_cv_cc_flag_unknown_warning_option=no
   13940 fi
   13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13942 fi
   13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13946 	CFLAGS="$xorg_testset_save_CFLAGS"
   13947 fi
   13948 
   13949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13952 	fi
   13953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13957   $as_echo_n "(cached) " >&6
   13958 else
   13959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13960 /* end confdefs.h.  */
   13961 int i;
   13962 _ACEOF
   13963 if ac_fn_c_try_compile "$LINENO"; then :
   13964   xorg_cv_cc_flag_unused_command_line_argument=yes
   13965 else
   13966   xorg_cv_cc_flag_unused_command_line_argument=no
   13967 fi
   13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13969 fi
   13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13973 	CFLAGS="$xorg_testset_save_CFLAGS"
   13974 fi
   13975 
   13976 found="no"
   13977 
   13978 	if test $found = "no" ; then
   13979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13981 		fi
   13982 
   13983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13985 		fi
   13986 
   13987 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13988 
   13989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13990 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13991 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13992 		if eval \${$cacheid+:} false; then :
   13993   $as_echo_n "(cached) " >&6
   13994 else
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 int
   13999 main ()
   14000 {
   14001 
   14002   ;
   14003   return 0;
   14004 }
   14005 _ACEOF
   14006 if ac_fn_c_try_link "$LINENO"; then :
   14007   eval $cacheid=yes
   14008 else
   14009   eval $cacheid=no
   14010 fi
   14011 rm -f core conftest.err conftest.$ac_objext \
   14012     conftest$ac_exeext conftest.$ac_ext
   14013 fi
   14014 
   14015 
   14016 		CFLAGS="$xorg_testset_save_CFLAGS"
   14017 
   14018 		eval supported=\$$cacheid
   14019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14020 $as_echo "$supported" >&6; }
   14021 		if test "$supported" = "yes" ; then
   14022 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14023 			found="yes"
   14024 		fi
   14025 	fi
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 xorg_testset_save_CFLAGS="$CFLAGS"
   14042 
   14043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14048   $as_echo_n "(cached) " >&6
   14049 else
   14050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14051 /* end confdefs.h.  */
   14052 int i;
   14053 _ACEOF
   14054 if ac_fn_c_try_compile "$LINENO"; then :
   14055   xorg_cv_cc_flag_unknown_warning_option=yes
   14056 else
   14057   xorg_cv_cc_flag_unknown_warning_option=no
   14058 fi
   14059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14060 fi
   14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14064 	CFLAGS="$xorg_testset_save_CFLAGS"
   14065 fi
   14066 
   14067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14070 	fi
   14071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14075   $as_echo_n "(cached) " >&6
   14076 else
   14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14078 /* end confdefs.h.  */
   14079 int i;
   14080 _ACEOF
   14081 if ac_fn_c_try_compile "$LINENO"; then :
   14082   xorg_cv_cc_flag_unused_command_line_argument=yes
   14083 else
   14084   xorg_cv_cc_flag_unused_command_line_argument=no
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14087 fi
   14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14091 	CFLAGS="$xorg_testset_save_CFLAGS"
   14092 fi
   14093 
   14094 found="no"
   14095 
   14096 	if test $found = "no" ; then
   14097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14099 		fi
   14100 
   14101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14103 		fi
   14104 
   14105 		CFLAGS="$CFLAGS -Wnested-externs"
   14106 
   14107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14108 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   14109 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14110 		if eval \${$cacheid+:} false; then :
   14111   $as_echo_n "(cached) " >&6
   14112 else
   14113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14114 /* end confdefs.h.  */
   14115 int i;
   14116 int
   14117 main ()
   14118 {
   14119 
   14120   ;
   14121   return 0;
   14122 }
   14123 _ACEOF
   14124 if ac_fn_c_try_link "$LINENO"; then :
   14125   eval $cacheid=yes
   14126 else
   14127   eval $cacheid=no
   14128 fi
   14129 rm -f core conftest.err conftest.$ac_objext \
   14130     conftest$ac_exeext conftest.$ac_ext
   14131 fi
   14132 
   14133 
   14134 		CFLAGS="$xorg_testset_save_CFLAGS"
   14135 
   14136 		eval supported=\$$cacheid
   14137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14138 $as_echo "$supported" >&6; }
   14139 		if test "$supported" = "yes" ; then
   14140 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14141 			found="yes"
   14142 		fi
   14143 	fi
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 xorg_testset_save_CFLAGS="$CFLAGS"
   14160 
   14161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14166   $as_echo_n "(cached) " >&6
   14167 else
   14168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14169 /* end confdefs.h.  */
   14170 int i;
   14171 _ACEOF
   14172 if ac_fn_c_try_compile "$LINENO"; then :
   14173   xorg_cv_cc_flag_unknown_warning_option=yes
   14174 else
   14175   xorg_cv_cc_flag_unknown_warning_option=no
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14178 fi
   14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14182 	CFLAGS="$xorg_testset_save_CFLAGS"
   14183 fi
   14184 
   14185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14188 	fi
   14189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14193   $as_echo_n "(cached) " >&6
   14194 else
   14195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14196 /* end confdefs.h.  */
   14197 int i;
   14198 _ACEOF
   14199 if ac_fn_c_try_compile "$LINENO"; then :
   14200   xorg_cv_cc_flag_unused_command_line_argument=yes
   14201 else
   14202   xorg_cv_cc_flag_unused_command_line_argument=no
   14203 fi
   14204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14205 fi
   14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14209 	CFLAGS="$xorg_testset_save_CFLAGS"
   14210 fi
   14211 
   14212 found="no"
   14213 
   14214 	if test $found = "no" ; then
   14215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14217 		fi
   14218 
   14219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14221 		fi
   14222 
   14223 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14224 
   14225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14226 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   14227 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14228 		if eval \${$cacheid+:} false; then :
   14229   $as_echo_n "(cached) " >&6
   14230 else
   14231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14232 /* end confdefs.h.  */
   14233 int i;
   14234 int
   14235 main ()
   14236 {
   14237 
   14238   ;
   14239   return 0;
   14240 }
   14241 _ACEOF
   14242 if ac_fn_c_try_link "$LINENO"; then :
   14243   eval $cacheid=yes
   14244 else
   14245   eval $cacheid=no
   14246 fi
   14247 rm -f core conftest.err conftest.$ac_objext \
   14248     conftest$ac_exeext conftest.$ac_ext
   14249 fi
   14250 
   14251 
   14252 		CFLAGS="$xorg_testset_save_CFLAGS"
   14253 
   14254 		eval supported=\$$cacheid
   14255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14256 $as_echo "$supported" >&6; }
   14257 		if test "$supported" = "yes" ; then
   14258 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14259 			found="yes"
   14260 		fi
   14261 	fi
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 xorg_testset_save_CFLAGS="$CFLAGS"
   14278 
   14279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14284   $as_echo_n "(cached) " >&6
   14285 else
   14286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14287 /* end confdefs.h.  */
   14288 int i;
   14289 _ACEOF
   14290 if ac_fn_c_try_compile "$LINENO"; then :
   14291   xorg_cv_cc_flag_unknown_warning_option=yes
   14292 else
   14293   xorg_cv_cc_flag_unknown_warning_option=no
   14294 fi
   14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14296 fi
   14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14300 	CFLAGS="$xorg_testset_save_CFLAGS"
   14301 fi
   14302 
   14303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14306 	fi
   14307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14311   $as_echo_n "(cached) " >&6
   14312 else
   14313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14314 /* end confdefs.h.  */
   14315 int i;
   14316 _ACEOF
   14317 if ac_fn_c_try_compile "$LINENO"; then :
   14318   xorg_cv_cc_flag_unused_command_line_argument=yes
   14319 else
   14320   xorg_cv_cc_flag_unused_command_line_argument=no
   14321 fi
   14322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14323 fi
   14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14327 	CFLAGS="$xorg_testset_save_CFLAGS"
   14328 fi
   14329 
   14330 found="no"
   14331 
   14332 	if test $found = "no" ; then
   14333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14335 		fi
   14336 
   14337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14339 		fi
   14340 
   14341 		CFLAGS="$CFLAGS -Wold-style-definition"
   14342 
   14343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14344 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   14345 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14346 		if eval \${$cacheid+:} false; then :
   14347   $as_echo_n "(cached) " >&6
   14348 else
   14349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14350 /* end confdefs.h.  */
   14351 int i;
   14352 int
   14353 main ()
   14354 {
   14355 
   14356   ;
   14357   return 0;
   14358 }
   14359 _ACEOF
   14360 if ac_fn_c_try_link "$LINENO"; then :
   14361   eval $cacheid=yes
   14362 else
   14363   eval $cacheid=no
   14364 fi
   14365 rm -f core conftest.err conftest.$ac_objext \
   14366     conftest$ac_exeext conftest.$ac_ext
   14367 fi
   14368 
   14369 
   14370 		CFLAGS="$xorg_testset_save_CFLAGS"
   14371 
   14372 		eval supported=\$$cacheid
   14373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14374 $as_echo "$supported" >&6; }
   14375 		if test "$supported" = "yes" ; then
   14376 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14377 			found="yes"
   14378 		fi
   14379 	fi
   14380 
   14381 	if test $found = "no" ; then
   14382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14384 		fi
   14385 
   14386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14388 		fi
   14389 
   14390 		CFLAGS="$CFLAGS -fd"
   14391 
   14392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14393 $as_echo_n "checking if $CC supports -fd... " >&6; }
   14394 		cacheid=xorg_cv_cc_flag__fd
   14395 		if eval \${$cacheid+:} false; then :
   14396   $as_echo_n "(cached) " >&6
   14397 else
   14398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14399 /* end confdefs.h.  */
   14400 int i;
   14401 int
   14402 main ()
   14403 {
   14404 
   14405   ;
   14406   return 0;
   14407 }
   14408 _ACEOF
   14409 if ac_fn_c_try_link "$LINENO"; then :
   14410   eval $cacheid=yes
   14411 else
   14412   eval $cacheid=no
   14413 fi
   14414 rm -f core conftest.err conftest.$ac_objext \
   14415     conftest$ac_exeext conftest.$ac_ext
   14416 fi
   14417 
   14418 
   14419 		CFLAGS="$xorg_testset_save_CFLAGS"
   14420 
   14421 		eval supported=\$$cacheid
   14422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14423 $as_echo "$supported" >&6; }
   14424 		if test "$supported" = "yes" ; then
   14425 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14426 			found="yes"
   14427 		fi
   14428 	fi
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 xorg_testset_save_CFLAGS="$CFLAGS"
   14445 
   14446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14451   $as_echo_n "(cached) " >&6
   14452 else
   14453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14454 /* end confdefs.h.  */
   14455 int i;
   14456 _ACEOF
   14457 if ac_fn_c_try_compile "$LINENO"; then :
   14458   xorg_cv_cc_flag_unknown_warning_option=yes
   14459 else
   14460   xorg_cv_cc_flag_unknown_warning_option=no
   14461 fi
   14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14463 fi
   14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14467 	CFLAGS="$xorg_testset_save_CFLAGS"
   14468 fi
   14469 
   14470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 	fi
   14474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14478   $as_echo_n "(cached) " >&6
   14479 else
   14480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14481 /* end confdefs.h.  */
   14482 int i;
   14483 _ACEOF
   14484 if ac_fn_c_try_compile "$LINENO"; then :
   14485   xorg_cv_cc_flag_unused_command_line_argument=yes
   14486 else
   14487   xorg_cv_cc_flag_unused_command_line_argument=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14490 fi
   14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 found="no"
   14498 
   14499 	if test $found = "no" ; then
   14500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14502 		fi
   14503 
   14504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 		fi
   14507 
   14508 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14509 
   14510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14511 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14512 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14513 		if eval \${$cacheid+:} false; then :
   14514   $as_echo_n "(cached) " >&6
   14515 else
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 int
   14520 main ()
   14521 {
   14522 
   14523   ;
   14524   return 0;
   14525 }
   14526 _ACEOF
   14527 if ac_fn_c_try_link "$LINENO"; then :
   14528   eval $cacheid=yes
   14529 else
   14530   eval $cacheid=no
   14531 fi
   14532 rm -f core conftest.err conftest.$ac_objext \
   14533     conftest$ac_exeext conftest.$ac_ext
   14534 fi
   14535 
   14536 
   14537 		CFLAGS="$xorg_testset_save_CFLAGS"
   14538 
   14539 		eval supported=\$$cacheid
   14540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14541 $as_echo "$supported" >&6; }
   14542 		if test "$supported" = "yes" ; then
   14543 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14544 			found="yes"
   14545 		fi
   14546 	fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 # This chunk adds additional warnings that could catch undesired effects.
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 xorg_testset_save_CFLAGS="$CFLAGS"
   14567 
   14568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14571 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14572 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14573   $as_echo_n "(cached) " >&6
   14574 else
   14575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14576 /* end confdefs.h.  */
   14577 int i;
   14578 _ACEOF
   14579 if ac_fn_c_try_compile "$LINENO"; then :
   14580   xorg_cv_cc_flag_unknown_warning_option=yes
   14581 else
   14582   xorg_cv_cc_flag_unknown_warning_option=no
   14583 fi
   14584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14585 fi
   14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14587 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14589 	CFLAGS="$xorg_testset_save_CFLAGS"
   14590 fi
   14591 
   14592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14595 	fi
   14596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14598 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14599 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14600   $as_echo_n "(cached) " >&6
   14601 else
   14602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14603 /* end confdefs.h.  */
   14604 int i;
   14605 _ACEOF
   14606 if ac_fn_c_try_compile "$LINENO"; then :
   14607   xorg_cv_cc_flag_unused_command_line_argument=yes
   14608 else
   14609   xorg_cv_cc_flag_unused_command_line_argument=no
   14610 fi
   14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14612 fi
   14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14614 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14616 	CFLAGS="$xorg_testset_save_CFLAGS"
   14617 fi
   14618 
   14619 found="no"
   14620 
   14621 	if test $found = "no" ; then
   14622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 		fi
   14625 
   14626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14628 		fi
   14629 
   14630 		CFLAGS="$CFLAGS -Wunused"
   14631 
   14632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14633 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   14634 		cacheid=xorg_cv_cc_flag__Wunused
   14635 		if eval \${$cacheid+:} false; then :
   14636   $as_echo_n "(cached) " >&6
   14637 else
   14638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14639 /* end confdefs.h.  */
   14640 int i;
   14641 int
   14642 main ()
   14643 {
   14644 
   14645   ;
   14646   return 0;
   14647 }
   14648 _ACEOF
   14649 if ac_fn_c_try_link "$LINENO"; then :
   14650   eval $cacheid=yes
   14651 else
   14652   eval $cacheid=no
   14653 fi
   14654 rm -f core conftest.err conftest.$ac_objext \
   14655     conftest$ac_exeext conftest.$ac_ext
   14656 fi
   14657 
   14658 
   14659 		CFLAGS="$xorg_testset_save_CFLAGS"
   14660 
   14661 		eval supported=\$$cacheid
   14662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14663 $as_echo "$supported" >&6; }
   14664 		if test "$supported" = "yes" ; then
   14665 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14666 			found="yes"
   14667 		fi
   14668 	fi
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 xorg_testset_save_CFLAGS="$CFLAGS"
   14685 
   14686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14691   $as_echo_n "(cached) " >&6
   14692 else
   14693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14694 /* end confdefs.h.  */
   14695 int i;
   14696 _ACEOF
   14697 if ac_fn_c_try_compile "$LINENO"; then :
   14698   xorg_cv_cc_flag_unknown_warning_option=yes
   14699 else
   14700   xorg_cv_cc_flag_unknown_warning_option=no
   14701 fi
   14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14703 fi
   14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14707 	CFLAGS="$xorg_testset_save_CFLAGS"
   14708 fi
   14709 
   14710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14713 	fi
   14714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14718   $as_echo_n "(cached) " >&6
   14719 else
   14720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14721 /* end confdefs.h.  */
   14722 int i;
   14723 _ACEOF
   14724 if ac_fn_c_try_compile "$LINENO"; then :
   14725   xorg_cv_cc_flag_unused_command_line_argument=yes
   14726 else
   14727   xorg_cv_cc_flag_unused_command_line_argument=no
   14728 fi
   14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14730 fi
   14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14734 	CFLAGS="$xorg_testset_save_CFLAGS"
   14735 fi
   14736 
   14737 found="no"
   14738 
   14739 	if test $found = "no" ; then
   14740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14742 		fi
   14743 
   14744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14746 		fi
   14747 
   14748 		CFLAGS="$CFLAGS -Wuninitialized"
   14749 
   14750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14751 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14752 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14753 		if eval \${$cacheid+:} false; then :
   14754   $as_echo_n "(cached) " >&6
   14755 else
   14756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14757 /* end confdefs.h.  */
   14758 int i;
   14759 int
   14760 main ()
   14761 {
   14762 
   14763   ;
   14764   return 0;
   14765 }
   14766 _ACEOF
   14767 if ac_fn_c_try_link "$LINENO"; then :
   14768   eval $cacheid=yes
   14769 else
   14770   eval $cacheid=no
   14771 fi
   14772 rm -f core conftest.err conftest.$ac_objext \
   14773     conftest$ac_exeext conftest.$ac_ext
   14774 fi
   14775 
   14776 
   14777 		CFLAGS="$xorg_testset_save_CFLAGS"
   14778 
   14779 		eval supported=\$$cacheid
   14780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14781 $as_echo "$supported" >&6; }
   14782 		if test "$supported" = "yes" ; then
   14783 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14784 			found="yes"
   14785 		fi
   14786 	fi
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 xorg_testset_save_CFLAGS="$CFLAGS"
   14803 
   14804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14809   $as_echo_n "(cached) " >&6
   14810 else
   14811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14812 /* end confdefs.h.  */
   14813 int i;
   14814 _ACEOF
   14815 if ac_fn_c_try_compile "$LINENO"; then :
   14816   xorg_cv_cc_flag_unknown_warning_option=yes
   14817 else
   14818   xorg_cv_cc_flag_unknown_warning_option=no
   14819 fi
   14820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14821 fi
   14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14825 	CFLAGS="$xorg_testset_save_CFLAGS"
   14826 fi
   14827 
   14828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14831 	fi
   14832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14836   $as_echo_n "(cached) " >&6
   14837 else
   14838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14839 /* end confdefs.h.  */
   14840 int i;
   14841 _ACEOF
   14842 if ac_fn_c_try_compile "$LINENO"; then :
   14843   xorg_cv_cc_flag_unused_command_line_argument=yes
   14844 else
   14845   xorg_cv_cc_flag_unused_command_line_argument=no
   14846 fi
   14847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14848 fi
   14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14852 	CFLAGS="$xorg_testset_save_CFLAGS"
   14853 fi
   14854 
   14855 found="no"
   14856 
   14857 	if test $found = "no" ; then
   14858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14860 		fi
   14861 
   14862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14864 		fi
   14865 
   14866 		CFLAGS="$CFLAGS -Wshadow"
   14867 
   14868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14869 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14870 		cacheid=xorg_cv_cc_flag__Wshadow
   14871 		if eval \${$cacheid+:} false; then :
   14872   $as_echo_n "(cached) " >&6
   14873 else
   14874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14875 /* end confdefs.h.  */
   14876 int i;
   14877 int
   14878 main ()
   14879 {
   14880 
   14881   ;
   14882   return 0;
   14883 }
   14884 _ACEOF
   14885 if ac_fn_c_try_link "$LINENO"; then :
   14886   eval $cacheid=yes
   14887 else
   14888   eval $cacheid=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext \
   14891     conftest$ac_exeext conftest.$ac_ext
   14892 fi
   14893 
   14894 
   14895 		CFLAGS="$xorg_testset_save_CFLAGS"
   14896 
   14897 		eval supported=\$$cacheid
   14898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14899 $as_echo "$supported" >&6; }
   14900 		if test "$supported" = "yes" ; then
   14901 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14902 			found="yes"
   14903 		fi
   14904 	fi
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 xorg_testset_save_CFLAGS="$CFLAGS"
   14921 
   14922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14927   $as_echo_n "(cached) " >&6
   14928 else
   14929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14930 /* end confdefs.h.  */
   14931 int i;
   14932 _ACEOF
   14933 if ac_fn_c_try_compile "$LINENO"; then :
   14934   xorg_cv_cc_flag_unknown_warning_option=yes
   14935 else
   14936   xorg_cv_cc_flag_unknown_warning_option=no
   14937 fi
   14938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14939 fi
   14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14943 	CFLAGS="$xorg_testset_save_CFLAGS"
   14944 fi
   14945 
   14946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14949 	fi
   14950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14954   $as_echo_n "(cached) " >&6
   14955 else
   14956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14957 /* end confdefs.h.  */
   14958 int i;
   14959 _ACEOF
   14960 if ac_fn_c_try_compile "$LINENO"; then :
   14961   xorg_cv_cc_flag_unused_command_line_argument=yes
   14962 else
   14963   xorg_cv_cc_flag_unused_command_line_argument=no
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14966 fi
   14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14970 	CFLAGS="$xorg_testset_save_CFLAGS"
   14971 fi
   14972 
   14973 found="no"
   14974 
   14975 	if test $found = "no" ; then
   14976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14978 		fi
   14979 
   14980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14982 		fi
   14983 
   14984 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14985 
   14986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14987 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14988 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14989 		if eval \${$cacheid+:} false; then :
   14990   $as_echo_n "(cached) " >&6
   14991 else
   14992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14993 /* end confdefs.h.  */
   14994 int i;
   14995 int
   14996 main ()
   14997 {
   14998 
   14999   ;
   15000   return 0;
   15001 }
   15002 _ACEOF
   15003 if ac_fn_c_try_link "$LINENO"; then :
   15004   eval $cacheid=yes
   15005 else
   15006   eval $cacheid=no
   15007 fi
   15008 rm -f core conftest.err conftest.$ac_objext \
   15009     conftest$ac_exeext conftest.$ac_ext
   15010 fi
   15011 
   15012 
   15013 		CFLAGS="$xorg_testset_save_CFLAGS"
   15014 
   15015 		eval supported=\$$cacheid
   15016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15017 $as_echo "$supported" >&6; }
   15018 		if test "$supported" = "yes" ; then
   15019 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15020 			found="yes"
   15021 		fi
   15022 	fi
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 xorg_testset_save_CFLAGS="$CFLAGS"
   15039 
   15040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15045   $as_echo_n "(cached) " >&6
   15046 else
   15047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15048 /* end confdefs.h.  */
   15049 int i;
   15050 _ACEOF
   15051 if ac_fn_c_try_compile "$LINENO"; then :
   15052   xorg_cv_cc_flag_unknown_warning_option=yes
   15053 else
   15054   xorg_cv_cc_flag_unknown_warning_option=no
   15055 fi
   15056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15057 fi
   15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15061 	CFLAGS="$xorg_testset_save_CFLAGS"
   15062 fi
   15063 
   15064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15067 	fi
   15068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15072   $as_echo_n "(cached) " >&6
   15073 else
   15074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15075 /* end confdefs.h.  */
   15076 int i;
   15077 _ACEOF
   15078 if ac_fn_c_try_compile "$LINENO"; then :
   15079   xorg_cv_cc_flag_unused_command_line_argument=yes
   15080 else
   15081   xorg_cv_cc_flag_unused_command_line_argument=no
   15082 fi
   15083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15084 fi
   15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15088 	CFLAGS="$xorg_testset_save_CFLAGS"
   15089 fi
   15090 
   15091 found="no"
   15092 
   15093 	if test $found = "no" ; then
   15094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15096 		fi
   15097 
   15098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15100 		fi
   15101 
   15102 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15103 
   15104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15105 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15106 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15107 		if eval \${$cacheid+:} false; then :
   15108   $as_echo_n "(cached) " >&6
   15109 else
   15110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15111 /* end confdefs.h.  */
   15112 int i;
   15113 int
   15114 main ()
   15115 {
   15116 
   15117   ;
   15118   return 0;
   15119 }
   15120 _ACEOF
   15121 if ac_fn_c_try_link "$LINENO"; then :
   15122   eval $cacheid=yes
   15123 else
   15124   eval $cacheid=no
   15125 fi
   15126 rm -f core conftest.err conftest.$ac_objext \
   15127     conftest$ac_exeext conftest.$ac_ext
   15128 fi
   15129 
   15130 
   15131 		CFLAGS="$xorg_testset_save_CFLAGS"
   15132 
   15133 		eval supported=\$$cacheid
   15134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15135 $as_echo "$supported" >&6; }
   15136 		if test "$supported" = "yes" ; then
   15137 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15138 			found="yes"
   15139 		fi
   15140 	fi
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 xorg_testset_save_CFLAGS="$CFLAGS"
   15157 
   15158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15161 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15162 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15163   $as_echo_n "(cached) " >&6
   15164 else
   15165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15166 /* end confdefs.h.  */
   15167 int i;
   15168 _ACEOF
   15169 if ac_fn_c_try_compile "$LINENO"; then :
   15170   xorg_cv_cc_flag_unknown_warning_option=yes
   15171 else
   15172   xorg_cv_cc_flag_unknown_warning_option=no
   15173 fi
   15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15175 fi
   15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15177 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15179 	CFLAGS="$xorg_testset_save_CFLAGS"
   15180 fi
   15181 
   15182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15185 	fi
   15186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15188 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15189 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15190   $as_echo_n "(cached) " >&6
   15191 else
   15192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15193 /* end confdefs.h.  */
   15194 int i;
   15195 _ACEOF
   15196 if ac_fn_c_try_compile "$LINENO"; then :
   15197   xorg_cv_cc_flag_unused_command_line_argument=yes
   15198 else
   15199   xorg_cv_cc_flag_unused_command_line_argument=no
   15200 fi
   15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15202 fi
   15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15204 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15206 	CFLAGS="$xorg_testset_save_CFLAGS"
   15207 fi
   15208 
   15209 found="no"
   15210 
   15211 	if test $found = "no" ; then
   15212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15214 		fi
   15215 
   15216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15218 		fi
   15219 
   15220 		CFLAGS="$CFLAGS -Wredundant-decls"
   15221 
   15222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15223 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   15224 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15225 		if eval \${$cacheid+:} false; then :
   15226   $as_echo_n "(cached) " >&6
   15227 else
   15228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15229 /* end confdefs.h.  */
   15230 int i;
   15231 int
   15232 main ()
   15233 {
   15234 
   15235   ;
   15236   return 0;
   15237 }
   15238 _ACEOF
   15239 if ac_fn_c_try_link "$LINENO"; then :
   15240   eval $cacheid=yes
   15241 else
   15242   eval $cacheid=no
   15243 fi
   15244 rm -f core conftest.err conftest.$ac_objext \
   15245     conftest$ac_exeext conftest.$ac_ext
   15246 fi
   15247 
   15248 
   15249 		CFLAGS="$xorg_testset_save_CFLAGS"
   15250 
   15251 		eval supported=\$$cacheid
   15252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15253 $as_echo "$supported" >&6; }
   15254 		if test "$supported" = "yes" ; then
   15255 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15256 			found="yes"
   15257 		fi
   15258 	fi
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 xorg_testset_save_CFLAGS="$CFLAGS"
   15275 
   15276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15281   $as_echo_n "(cached) " >&6
   15282 else
   15283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15284 /* end confdefs.h.  */
   15285 int i;
   15286 _ACEOF
   15287 if ac_fn_c_try_compile "$LINENO"; then :
   15288   xorg_cv_cc_flag_unknown_warning_option=yes
   15289 else
   15290   xorg_cv_cc_flag_unknown_warning_option=no
   15291 fi
   15292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15293 fi
   15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15297 	CFLAGS="$xorg_testset_save_CFLAGS"
   15298 fi
   15299 
   15300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15303 	fi
   15304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15308   $as_echo_n "(cached) " >&6
   15309 else
   15310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15311 /* end confdefs.h.  */
   15312 int i;
   15313 _ACEOF
   15314 if ac_fn_c_try_compile "$LINENO"; then :
   15315   xorg_cv_cc_flag_unused_command_line_argument=yes
   15316 else
   15317   xorg_cv_cc_flag_unused_command_line_argument=no
   15318 fi
   15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15320 fi
   15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15324 	CFLAGS="$xorg_testset_save_CFLAGS"
   15325 fi
   15326 
   15327 found="no"
   15328 
   15329 	if test $found = "no" ; then
   15330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15332 		fi
   15333 
   15334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15336 		fi
   15337 
   15338 		CFLAGS="$CFLAGS -Wlogical-op"
   15339 
   15340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15341 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   15342 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15343 		if eval \${$cacheid+:} false; then :
   15344   $as_echo_n "(cached) " >&6
   15345 else
   15346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15347 /* end confdefs.h.  */
   15348 int i;
   15349 int
   15350 main ()
   15351 {
   15352 
   15353   ;
   15354   return 0;
   15355 }
   15356 _ACEOF
   15357 if ac_fn_c_try_link "$LINENO"; then :
   15358   eval $cacheid=yes
   15359 else
   15360   eval $cacheid=no
   15361 fi
   15362 rm -f core conftest.err conftest.$ac_objext \
   15363     conftest$ac_exeext conftest.$ac_ext
   15364 fi
   15365 
   15366 
   15367 		CFLAGS="$xorg_testset_save_CFLAGS"
   15368 
   15369 		eval supported=\$$cacheid
   15370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15371 $as_echo "$supported" >&6; }
   15372 		if test "$supported" = "yes" ; then
   15373 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15374 			found="yes"
   15375 		fi
   15376 	fi
   15377 
   15378 
   15379 
   15380 # These are currently disabled because they are noisy.  They will be enabled
   15381 # in the future once the codebase is sufficiently modernized to silence
   15382 # them.  For now, I don't want them to drown out the other warnings.
   15383 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15384 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15385 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15386 
   15387 # Turn some warnings into errors, so we don't accidently get successful builds
   15388 # when there are problems that should be fixed.
   15389 
   15390 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 xorg_testset_save_CFLAGS="$CFLAGS"
   15405 
   15406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15411   $as_echo_n "(cached) " >&6
   15412 else
   15413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15414 /* end confdefs.h.  */
   15415 int i;
   15416 _ACEOF
   15417 if ac_fn_c_try_compile "$LINENO"; then :
   15418   xorg_cv_cc_flag_unknown_warning_option=yes
   15419 else
   15420   xorg_cv_cc_flag_unknown_warning_option=no
   15421 fi
   15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15423 fi
   15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15427 	CFLAGS="$xorg_testset_save_CFLAGS"
   15428 fi
   15429 
   15430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15433 	fi
   15434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15438   $as_echo_n "(cached) " >&6
   15439 else
   15440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15441 /* end confdefs.h.  */
   15442 int i;
   15443 _ACEOF
   15444 if ac_fn_c_try_compile "$LINENO"; then :
   15445   xorg_cv_cc_flag_unused_command_line_argument=yes
   15446 else
   15447   xorg_cv_cc_flag_unused_command_line_argument=no
   15448 fi
   15449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15450 fi
   15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15454 	CFLAGS="$xorg_testset_save_CFLAGS"
   15455 fi
   15456 
   15457 found="no"
   15458 
   15459 	if test $found = "no" ; then
   15460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15462 		fi
   15463 
   15464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15466 		fi
   15467 
   15468 		CFLAGS="$CFLAGS -Werror=implicit"
   15469 
   15470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15471 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   15472 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15473 		if eval \${$cacheid+:} false; then :
   15474   $as_echo_n "(cached) " >&6
   15475 else
   15476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15477 /* end confdefs.h.  */
   15478 int i;
   15479 int
   15480 main ()
   15481 {
   15482 
   15483   ;
   15484   return 0;
   15485 }
   15486 _ACEOF
   15487 if ac_fn_c_try_link "$LINENO"; then :
   15488   eval $cacheid=yes
   15489 else
   15490   eval $cacheid=no
   15491 fi
   15492 rm -f core conftest.err conftest.$ac_objext \
   15493     conftest$ac_exeext conftest.$ac_ext
   15494 fi
   15495 
   15496 
   15497 		CFLAGS="$xorg_testset_save_CFLAGS"
   15498 
   15499 		eval supported=\$$cacheid
   15500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15501 $as_echo "$supported" >&6; }
   15502 		if test "$supported" = "yes" ; then
   15503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15504 			found="yes"
   15505 		fi
   15506 	fi
   15507 
   15508 	if test $found = "no" ; then
   15509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 		fi
   15512 
   15513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15515 		fi
   15516 
   15517 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15518 
   15519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   15520 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15521 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15522 		if eval \${$cacheid+:} false; then :
   15523   $as_echo_n "(cached) " >&6
   15524 else
   15525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15526 /* end confdefs.h.  */
   15527 int i;
   15528 int
   15529 main ()
   15530 {
   15531 
   15532   ;
   15533   return 0;
   15534 }
   15535 _ACEOF
   15536 if ac_fn_c_try_link "$LINENO"; then :
   15537   eval $cacheid=yes
   15538 else
   15539   eval $cacheid=no
   15540 fi
   15541 rm -f core conftest.err conftest.$ac_objext \
   15542     conftest$ac_exeext conftest.$ac_ext
   15543 fi
   15544 
   15545 
   15546 		CFLAGS="$xorg_testset_save_CFLAGS"
   15547 
   15548 		eval supported=\$$cacheid
   15549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15550 $as_echo "$supported" >&6; }
   15551 		if test "$supported" = "yes" ; then
   15552 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15553 			found="yes"
   15554 		fi
   15555 	fi
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 xorg_testset_save_CFLAGS="$CFLAGS"
   15572 
   15573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15576 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15577 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15578   $as_echo_n "(cached) " >&6
   15579 else
   15580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15581 /* end confdefs.h.  */
   15582 int i;
   15583 _ACEOF
   15584 if ac_fn_c_try_compile "$LINENO"; then :
   15585   xorg_cv_cc_flag_unknown_warning_option=yes
   15586 else
   15587   xorg_cv_cc_flag_unknown_warning_option=no
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15590 fi
   15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15592 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15594 	CFLAGS="$xorg_testset_save_CFLAGS"
   15595 fi
   15596 
   15597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15600 	fi
   15601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15603 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15604 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15605   $as_echo_n "(cached) " >&6
   15606 else
   15607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15608 /* end confdefs.h.  */
   15609 int i;
   15610 _ACEOF
   15611 if ac_fn_c_try_compile "$LINENO"; then :
   15612   xorg_cv_cc_flag_unused_command_line_argument=yes
   15613 else
   15614   xorg_cv_cc_flag_unused_command_line_argument=no
   15615 fi
   15616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15617 fi
   15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15619 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15621 	CFLAGS="$xorg_testset_save_CFLAGS"
   15622 fi
   15623 
   15624 found="no"
   15625 
   15626 	if test $found = "no" ; then
   15627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15629 		fi
   15630 
   15631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15633 		fi
   15634 
   15635 		CFLAGS="$CFLAGS -Werror=nonnull"
   15636 
   15637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15638 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   15639 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15640 		if eval \${$cacheid+:} false; then :
   15641   $as_echo_n "(cached) " >&6
   15642 else
   15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 int
   15647 main ()
   15648 {
   15649 
   15650   ;
   15651   return 0;
   15652 }
   15653 _ACEOF
   15654 if ac_fn_c_try_link "$LINENO"; then :
   15655   eval $cacheid=yes
   15656 else
   15657   eval $cacheid=no
   15658 fi
   15659 rm -f core conftest.err conftest.$ac_objext \
   15660     conftest$ac_exeext conftest.$ac_ext
   15661 fi
   15662 
   15663 
   15664 		CFLAGS="$xorg_testset_save_CFLAGS"
   15665 
   15666 		eval supported=\$$cacheid
   15667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15668 $as_echo "$supported" >&6; }
   15669 		if test "$supported" = "yes" ; then
   15670 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15671 			found="yes"
   15672 		fi
   15673 	fi
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 xorg_testset_save_CFLAGS="$CFLAGS"
   15690 
   15691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15694 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15695 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15696   $as_echo_n "(cached) " >&6
   15697 else
   15698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15699 /* end confdefs.h.  */
   15700 int i;
   15701 _ACEOF
   15702 if ac_fn_c_try_compile "$LINENO"; then :
   15703   xorg_cv_cc_flag_unknown_warning_option=yes
   15704 else
   15705   xorg_cv_cc_flag_unknown_warning_option=no
   15706 fi
   15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15708 fi
   15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15710 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15712 	CFLAGS="$xorg_testset_save_CFLAGS"
   15713 fi
   15714 
   15715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15718 	fi
   15719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15721 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15722 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15723   $as_echo_n "(cached) " >&6
   15724 else
   15725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15726 /* end confdefs.h.  */
   15727 int i;
   15728 _ACEOF
   15729 if ac_fn_c_try_compile "$LINENO"; then :
   15730   xorg_cv_cc_flag_unused_command_line_argument=yes
   15731 else
   15732   xorg_cv_cc_flag_unused_command_line_argument=no
   15733 fi
   15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15735 fi
   15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15737 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15739 	CFLAGS="$xorg_testset_save_CFLAGS"
   15740 fi
   15741 
   15742 found="no"
   15743 
   15744 	if test $found = "no" ; then
   15745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15747 		fi
   15748 
   15749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15751 		fi
   15752 
   15753 		CFLAGS="$CFLAGS -Werror=init-self"
   15754 
   15755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15756 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15757 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15758 		if eval \${$cacheid+:} false; then :
   15759   $as_echo_n "(cached) " >&6
   15760 else
   15761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15762 /* end confdefs.h.  */
   15763 int i;
   15764 int
   15765 main ()
   15766 {
   15767 
   15768   ;
   15769   return 0;
   15770 }
   15771 _ACEOF
   15772 if ac_fn_c_try_link "$LINENO"; then :
   15773   eval $cacheid=yes
   15774 else
   15775   eval $cacheid=no
   15776 fi
   15777 rm -f core conftest.err conftest.$ac_objext \
   15778     conftest$ac_exeext conftest.$ac_ext
   15779 fi
   15780 
   15781 
   15782 		CFLAGS="$xorg_testset_save_CFLAGS"
   15783 
   15784 		eval supported=\$$cacheid
   15785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15786 $as_echo "$supported" >&6; }
   15787 		if test "$supported" = "yes" ; then
   15788 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15789 			found="yes"
   15790 		fi
   15791 	fi
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 xorg_testset_save_CFLAGS="$CFLAGS"
   15808 
   15809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15814   $as_echo_n "(cached) " >&6
   15815 else
   15816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15817 /* end confdefs.h.  */
   15818 int i;
   15819 _ACEOF
   15820 if ac_fn_c_try_compile "$LINENO"; then :
   15821   xorg_cv_cc_flag_unknown_warning_option=yes
   15822 else
   15823   xorg_cv_cc_flag_unknown_warning_option=no
   15824 fi
   15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15826 fi
   15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15830 	CFLAGS="$xorg_testset_save_CFLAGS"
   15831 fi
   15832 
   15833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15836 	fi
   15837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15841   $as_echo_n "(cached) " >&6
   15842 else
   15843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15844 /* end confdefs.h.  */
   15845 int i;
   15846 _ACEOF
   15847 if ac_fn_c_try_compile "$LINENO"; then :
   15848   xorg_cv_cc_flag_unused_command_line_argument=yes
   15849 else
   15850   xorg_cv_cc_flag_unused_command_line_argument=no
   15851 fi
   15852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15853 fi
   15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15857 	CFLAGS="$xorg_testset_save_CFLAGS"
   15858 fi
   15859 
   15860 found="no"
   15861 
   15862 	if test $found = "no" ; then
   15863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15865 		fi
   15866 
   15867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15869 		fi
   15870 
   15871 		CFLAGS="$CFLAGS -Werror=main"
   15872 
   15873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15874 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15875 		cacheid=xorg_cv_cc_flag__Werror_main
   15876 		if eval \${$cacheid+:} false; then :
   15877   $as_echo_n "(cached) " >&6
   15878 else
   15879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15880 /* end confdefs.h.  */
   15881 int i;
   15882 int
   15883 main ()
   15884 {
   15885 
   15886   ;
   15887   return 0;
   15888 }
   15889 _ACEOF
   15890 if ac_fn_c_try_link "$LINENO"; then :
   15891   eval $cacheid=yes
   15892 else
   15893   eval $cacheid=no
   15894 fi
   15895 rm -f core conftest.err conftest.$ac_objext \
   15896     conftest$ac_exeext conftest.$ac_ext
   15897 fi
   15898 
   15899 
   15900 		CFLAGS="$xorg_testset_save_CFLAGS"
   15901 
   15902 		eval supported=\$$cacheid
   15903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15904 $as_echo "$supported" >&6; }
   15905 		if test "$supported" = "yes" ; then
   15906 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15907 			found="yes"
   15908 		fi
   15909 	fi
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 xorg_testset_save_CFLAGS="$CFLAGS"
   15926 
   15927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15930 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15931 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15932   $as_echo_n "(cached) " >&6
   15933 else
   15934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15935 /* end confdefs.h.  */
   15936 int i;
   15937 _ACEOF
   15938 if ac_fn_c_try_compile "$LINENO"; then :
   15939   xorg_cv_cc_flag_unknown_warning_option=yes
   15940 else
   15941   xorg_cv_cc_flag_unknown_warning_option=no
   15942 fi
   15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15944 fi
   15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15946 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15948 	CFLAGS="$xorg_testset_save_CFLAGS"
   15949 fi
   15950 
   15951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15954 	fi
   15955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15957 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15958 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15959   $as_echo_n "(cached) " >&6
   15960 else
   15961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15962 /* end confdefs.h.  */
   15963 int i;
   15964 _ACEOF
   15965 if ac_fn_c_try_compile "$LINENO"; then :
   15966   xorg_cv_cc_flag_unused_command_line_argument=yes
   15967 else
   15968   xorg_cv_cc_flag_unused_command_line_argument=no
   15969 fi
   15970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15971 fi
   15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15973 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15975 	CFLAGS="$xorg_testset_save_CFLAGS"
   15976 fi
   15977 
   15978 found="no"
   15979 
   15980 	if test $found = "no" ; then
   15981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15983 		fi
   15984 
   15985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15987 		fi
   15988 
   15989 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15990 
   15991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15992 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15993 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15994 		if eval \${$cacheid+:} false; then :
   15995   $as_echo_n "(cached) " >&6
   15996 else
   15997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15998 /* end confdefs.h.  */
   15999 int i;
   16000 int
   16001 main ()
   16002 {
   16003 
   16004   ;
   16005   return 0;
   16006 }
   16007 _ACEOF
   16008 if ac_fn_c_try_link "$LINENO"; then :
   16009   eval $cacheid=yes
   16010 else
   16011   eval $cacheid=no
   16012 fi
   16013 rm -f core conftest.err conftest.$ac_objext \
   16014     conftest$ac_exeext conftest.$ac_ext
   16015 fi
   16016 
   16017 
   16018 		CFLAGS="$xorg_testset_save_CFLAGS"
   16019 
   16020 		eval supported=\$$cacheid
   16021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16022 $as_echo "$supported" >&6; }
   16023 		if test "$supported" = "yes" ; then
   16024 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16025 			found="yes"
   16026 		fi
   16027 	fi
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 xorg_testset_save_CFLAGS="$CFLAGS"
   16044 
   16045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16050   $as_echo_n "(cached) " >&6
   16051 else
   16052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16053 /* end confdefs.h.  */
   16054 int i;
   16055 _ACEOF
   16056 if ac_fn_c_try_compile "$LINENO"; then :
   16057   xorg_cv_cc_flag_unknown_warning_option=yes
   16058 else
   16059   xorg_cv_cc_flag_unknown_warning_option=no
   16060 fi
   16061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16062 fi
   16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16066 	CFLAGS="$xorg_testset_save_CFLAGS"
   16067 fi
   16068 
   16069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16072 	fi
   16073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16077   $as_echo_n "(cached) " >&6
   16078 else
   16079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16080 /* end confdefs.h.  */
   16081 int i;
   16082 _ACEOF
   16083 if ac_fn_c_try_compile "$LINENO"; then :
   16084   xorg_cv_cc_flag_unused_command_line_argument=yes
   16085 else
   16086   xorg_cv_cc_flag_unused_command_line_argument=no
   16087 fi
   16088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16089 fi
   16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16093 	CFLAGS="$xorg_testset_save_CFLAGS"
   16094 fi
   16095 
   16096 found="no"
   16097 
   16098 	if test $found = "no" ; then
   16099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16101 		fi
   16102 
   16103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16105 		fi
   16106 
   16107 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16108 
   16109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16110 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   16111 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16112 		if eval \${$cacheid+:} false; then :
   16113   $as_echo_n "(cached) " >&6
   16114 else
   16115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16116 /* end confdefs.h.  */
   16117 int i;
   16118 int
   16119 main ()
   16120 {
   16121 
   16122   ;
   16123   return 0;
   16124 }
   16125 _ACEOF
   16126 if ac_fn_c_try_link "$LINENO"; then :
   16127   eval $cacheid=yes
   16128 else
   16129   eval $cacheid=no
   16130 fi
   16131 rm -f core conftest.err conftest.$ac_objext \
   16132     conftest$ac_exeext conftest.$ac_ext
   16133 fi
   16134 
   16135 
   16136 		CFLAGS="$xorg_testset_save_CFLAGS"
   16137 
   16138 		eval supported=\$$cacheid
   16139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16140 $as_echo "$supported" >&6; }
   16141 		if test "$supported" = "yes" ; then
   16142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16143 			found="yes"
   16144 		fi
   16145 	fi
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 xorg_testset_save_CFLAGS="$CFLAGS"
   16162 
   16163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16168   $as_echo_n "(cached) " >&6
   16169 else
   16170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16171 /* end confdefs.h.  */
   16172 int i;
   16173 _ACEOF
   16174 if ac_fn_c_try_compile "$LINENO"; then :
   16175   xorg_cv_cc_flag_unknown_warning_option=yes
   16176 else
   16177   xorg_cv_cc_flag_unknown_warning_option=no
   16178 fi
   16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16180 fi
   16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16184 	CFLAGS="$xorg_testset_save_CFLAGS"
   16185 fi
   16186 
   16187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16190 	fi
   16191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16195   $as_echo_n "(cached) " >&6
   16196 else
   16197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16198 /* end confdefs.h.  */
   16199 int i;
   16200 _ACEOF
   16201 if ac_fn_c_try_compile "$LINENO"; then :
   16202   xorg_cv_cc_flag_unused_command_line_argument=yes
   16203 else
   16204   xorg_cv_cc_flag_unused_command_line_argument=no
   16205 fi
   16206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16207 fi
   16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16211 	CFLAGS="$xorg_testset_save_CFLAGS"
   16212 fi
   16213 
   16214 found="no"
   16215 
   16216 	if test $found = "no" ; then
   16217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16219 		fi
   16220 
   16221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16223 		fi
   16224 
   16225 		CFLAGS="$CFLAGS -Werror=return-type"
   16226 
   16227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16228 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   16229 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16230 		if eval \${$cacheid+:} false; then :
   16231   $as_echo_n "(cached) " >&6
   16232 else
   16233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16234 /* end confdefs.h.  */
   16235 int i;
   16236 int
   16237 main ()
   16238 {
   16239 
   16240   ;
   16241   return 0;
   16242 }
   16243 _ACEOF
   16244 if ac_fn_c_try_link "$LINENO"; then :
   16245   eval $cacheid=yes
   16246 else
   16247   eval $cacheid=no
   16248 fi
   16249 rm -f core conftest.err conftest.$ac_objext \
   16250     conftest$ac_exeext conftest.$ac_ext
   16251 fi
   16252 
   16253 
   16254 		CFLAGS="$xorg_testset_save_CFLAGS"
   16255 
   16256 		eval supported=\$$cacheid
   16257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16258 $as_echo "$supported" >&6; }
   16259 		if test "$supported" = "yes" ; then
   16260 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16261 			found="yes"
   16262 		fi
   16263 	fi
   16264 
   16265 	if test $found = "no" ; then
   16266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16268 		fi
   16269 
   16270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16272 		fi
   16273 
   16274 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16275 
   16276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16277 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16278 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16279 		if eval \${$cacheid+:} false; then :
   16280   $as_echo_n "(cached) " >&6
   16281 else
   16282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16283 /* end confdefs.h.  */
   16284 int i;
   16285 int
   16286 main ()
   16287 {
   16288 
   16289   ;
   16290   return 0;
   16291 }
   16292 _ACEOF
   16293 if ac_fn_c_try_link "$LINENO"; then :
   16294   eval $cacheid=yes
   16295 else
   16296   eval $cacheid=no
   16297 fi
   16298 rm -f core conftest.err conftest.$ac_objext \
   16299     conftest$ac_exeext conftest.$ac_ext
   16300 fi
   16301 
   16302 
   16303 		CFLAGS="$xorg_testset_save_CFLAGS"
   16304 
   16305 		eval supported=\$$cacheid
   16306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16307 $as_echo "$supported" >&6; }
   16308 		if test "$supported" = "yes" ; then
   16309 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16310 			found="yes"
   16311 		fi
   16312 	fi
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 xorg_testset_save_CFLAGS="$CFLAGS"
   16329 
   16330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16335   $as_echo_n "(cached) " >&6
   16336 else
   16337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16338 /* end confdefs.h.  */
   16339 int i;
   16340 _ACEOF
   16341 if ac_fn_c_try_compile "$LINENO"; then :
   16342   xorg_cv_cc_flag_unknown_warning_option=yes
   16343 else
   16344   xorg_cv_cc_flag_unknown_warning_option=no
   16345 fi
   16346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16347 fi
   16348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16351 	CFLAGS="$xorg_testset_save_CFLAGS"
   16352 fi
   16353 
   16354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16357 	fi
   16358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16362   $as_echo_n "(cached) " >&6
   16363 else
   16364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16365 /* end confdefs.h.  */
   16366 int i;
   16367 _ACEOF
   16368 if ac_fn_c_try_compile "$LINENO"; then :
   16369   xorg_cv_cc_flag_unused_command_line_argument=yes
   16370 else
   16371   xorg_cv_cc_flag_unused_command_line_argument=no
   16372 fi
   16373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16374 fi
   16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16378 	CFLAGS="$xorg_testset_save_CFLAGS"
   16379 fi
   16380 
   16381 found="no"
   16382 
   16383 	if test $found = "no" ; then
   16384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16386 		fi
   16387 
   16388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16390 		fi
   16391 
   16392 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16393 
   16394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16395 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   16396 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16397 		if eval \${$cacheid+:} false; then :
   16398   $as_echo_n "(cached) " >&6
   16399 else
   16400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16401 /* end confdefs.h.  */
   16402 int i;
   16403 int
   16404 main ()
   16405 {
   16406 
   16407   ;
   16408   return 0;
   16409 }
   16410 _ACEOF
   16411 if ac_fn_c_try_link "$LINENO"; then :
   16412   eval $cacheid=yes
   16413 else
   16414   eval $cacheid=no
   16415 fi
   16416 rm -f core conftest.err conftest.$ac_objext \
   16417     conftest$ac_exeext conftest.$ac_ext
   16418 fi
   16419 
   16420 
   16421 		CFLAGS="$xorg_testset_save_CFLAGS"
   16422 
   16423 		eval supported=\$$cacheid
   16424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16425 $as_echo "$supported" >&6; }
   16426 		if test "$supported" = "yes" ; then
   16427 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16428 			found="yes"
   16429 		fi
   16430 	fi
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 xorg_testset_save_CFLAGS="$CFLAGS"
   16447 
   16448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16451 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16452 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16453   $as_echo_n "(cached) " >&6
   16454 else
   16455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16456 /* end confdefs.h.  */
   16457 int i;
   16458 _ACEOF
   16459 if ac_fn_c_try_compile "$LINENO"; then :
   16460   xorg_cv_cc_flag_unknown_warning_option=yes
   16461 else
   16462   xorg_cv_cc_flag_unknown_warning_option=no
   16463 fi
   16464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16465 fi
   16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16467 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16469 	CFLAGS="$xorg_testset_save_CFLAGS"
   16470 fi
   16471 
   16472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16475 	fi
   16476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16478 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16479 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16480   $as_echo_n "(cached) " >&6
   16481 else
   16482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16483 /* end confdefs.h.  */
   16484 int i;
   16485 _ACEOF
   16486 if ac_fn_c_try_compile "$LINENO"; then :
   16487   xorg_cv_cc_flag_unused_command_line_argument=yes
   16488 else
   16489   xorg_cv_cc_flag_unused_command_line_argument=no
   16490 fi
   16491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16492 fi
   16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16494 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16496 	CFLAGS="$xorg_testset_save_CFLAGS"
   16497 fi
   16498 
   16499 found="no"
   16500 
   16501 	if test $found = "no" ; then
   16502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16504 		fi
   16505 
   16506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16508 		fi
   16509 
   16510 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16511 
   16512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16513 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   16514 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16515 		if eval \${$cacheid+:} false; then :
   16516   $as_echo_n "(cached) " >&6
   16517 else
   16518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16519 /* end confdefs.h.  */
   16520 int i;
   16521 int
   16522 main ()
   16523 {
   16524 
   16525   ;
   16526   return 0;
   16527 }
   16528 _ACEOF
   16529 if ac_fn_c_try_link "$LINENO"; then :
   16530   eval $cacheid=yes
   16531 else
   16532   eval $cacheid=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext \
   16535     conftest$ac_exeext conftest.$ac_ext
   16536 fi
   16537 
   16538 
   16539 		CFLAGS="$xorg_testset_save_CFLAGS"
   16540 
   16541 		eval supported=\$$cacheid
   16542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16543 $as_echo "$supported" >&6; }
   16544 		if test "$supported" = "yes" ; then
   16545 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16546 			found="yes"
   16547 		fi
   16548 	fi
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 xorg_testset_save_CFLAGS="$CFLAGS"
   16565 
   16566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16569 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16570 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16571   $as_echo_n "(cached) " >&6
   16572 else
   16573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16574 /* end confdefs.h.  */
   16575 int i;
   16576 _ACEOF
   16577 if ac_fn_c_try_compile "$LINENO"; then :
   16578   xorg_cv_cc_flag_unknown_warning_option=yes
   16579 else
   16580   xorg_cv_cc_flag_unknown_warning_option=no
   16581 fi
   16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16583 fi
   16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16585 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16587 	CFLAGS="$xorg_testset_save_CFLAGS"
   16588 fi
   16589 
   16590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16593 	fi
   16594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16596 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16597 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16598   $as_echo_n "(cached) " >&6
   16599 else
   16600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16601 /* end confdefs.h.  */
   16602 int i;
   16603 _ACEOF
   16604 if ac_fn_c_try_compile "$LINENO"; then :
   16605   xorg_cv_cc_flag_unused_command_line_argument=yes
   16606 else
   16607   xorg_cv_cc_flag_unused_command_line_argument=no
   16608 fi
   16609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16610 fi
   16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16612 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16614 	CFLAGS="$xorg_testset_save_CFLAGS"
   16615 fi
   16616 
   16617 found="no"
   16618 
   16619 	if test $found = "no" ; then
   16620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16622 		fi
   16623 
   16624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16626 		fi
   16627 
   16628 		CFLAGS="$CFLAGS -Werror=write-strings"
   16629 
   16630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16631 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   16632 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16633 		if eval \${$cacheid+:} false; then :
   16634   $as_echo_n "(cached) " >&6
   16635 else
   16636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16637 /* end confdefs.h.  */
   16638 int i;
   16639 int
   16640 main ()
   16641 {
   16642 
   16643   ;
   16644   return 0;
   16645 }
   16646 _ACEOF
   16647 if ac_fn_c_try_link "$LINENO"; then :
   16648   eval $cacheid=yes
   16649 else
   16650   eval $cacheid=no
   16651 fi
   16652 rm -f core conftest.err conftest.$ac_objext \
   16653     conftest$ac_exeext conftest.$ac_ext
   16654 fi
   16655 
   16656 
   16657 		CFLAGS="$xorg_testset_save_CFLAGS"
   16658 
   16659 		eval supported=\$$cacheid
   16660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16661 $as_echo "$supported" >&6; }
   16662 		if test "$supported" = "yes" ; then
   16663 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16664 			found="yes"
   16665 		fi
   16666 	fi
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 xorg_testset_save_CFLAGS="$CFLAGS"
   16683 
   16684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16687 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16688 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16689   $as_echo_n "(cached) " >&6
   16690 else
   16691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16692 /* end confdefs.h.  */
   16693 int i;
   16694 _ACEOF
   16695 if ac_fn_c_try_compile "$LINENO"; then :
   16696   xorg_cv_cc_flag_unknown_warning_option=yes
   16697 else
   16698   xorg_cv_cc_flag_unknown_warning_option=no
   16699 fi
   16700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16701 fi
   16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16703 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16705 	CFLAGS="$xorg_testset_save_CFLAGS"
   16706 fi
   16707 
   16708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16711 	fi
   16712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16714 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16715 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16716   $as_echo_n "(cached) " >&6
   16717 else
   16718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16719 /* end confdefs.h.  */
   16720 int i;
   16721 _ACEOF
   16722 if ac_fn_c_try_compile "$LINENO"; then :
   16723   xorg_cv_cc_flag_unused_command_line_argument=yes
   16724 else
   16725   xorg_cv_cc_flag_unused_command_line_argument=no
   16726 fi
   16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16728 fi
   16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16730 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16732 	CFLAGS="$xorg_testset_save_CFLAGS"
   16733 fi
   16734 
   16735 found="no"
   16736 
   16737 	if test $found = "no" ; then
   16738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16740 		fi
   16741 
   16742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16744 		fi
   16745 
   16746 		CFLAGS="$CFLAGS -Werror=address"
   16747 
   16748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16749 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16750 		cacheid=xorg_cv_cc_flag__Werror_address
   16751 		if eval \${$cacheid+:} false; then :
   16752   $as_echo_n "(cached) " >&6
   16753 else
   16754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16755 /* end confdefs.h.  */
   16756 int i;
   16757 int
   16758 main ()
   16759 {
   16760 
   16761   ;
   16762   return 0;
   16763 }
   16764 _ACEOF
   16765 if ac_fn_c_try_link "$LINENO"; then :
   16766   eval $cacheid=yes
   16767 else
   16768   eval $cacheid=no
   16769 fi
   16770 rm -f core conftest.err conftest.$ac_objext \
   16771     conftest$ac_exeext conftest.$ac_ext
   16772 fi
   16773 
   16774 
   16775 		CFLAGS="$xorg_testset_save_CFLAGS"
   16776 
   16777 		eval supported=\$$cacheid
   16778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16779 $as_echo "$supported" >&6; }
   16780 		if test "$supported" = "yes" ; then
   16781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16782 			found="yes"
   16783 		fi
   16784 	fi
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 xorg_testset_save_CFLAGS="$CFLAGS"
   16801 
   16802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16805 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16806 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16807   $as_echo_n "(cached) " >&6
   16808 else
   16809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16810 /* end confdefs.h.  */
   16811 int i;
   16812 _ACEOF
   16813 if ac_fn_c_try_compile "$LINENO"; then :
   16814   xorg_cv_cc_flag_unknown_warning_option=yes
   16815 else
   16816   xorg_cv_cc_flag_unknown_warning_option=no
   16817 fi
   16818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16819 fi
   16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16821 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16822 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16823 	CFLAGS="$xorg_testset_save_CFLAGS"
   16824 fi
   16825 
   16826 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16827 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16828 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16829 	fi
   16830 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16832 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16833 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16834   $as_echo_n "(cached) " >&6
   16835 else
   16836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16837 /* end confdefs.h.  */
   16838 int i;
   16839 _ACEOF
   16840 if ac_fn_c_try_compile "$LINENO"; then :
   16841   xorg_cv_cc_flag_unused_command_line_argument=yes
   16842 else
   16843   xorg_cv_cc_flag_unused_command_line_argument=no
   16844 fi
   16845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16846 fi
   16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16848 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16850 	CFLAGS="$xorg_testset_save_CFLAGS"
   16851 fi
   16852 
   16853 found="no"
   16854 
   16855 	if test $found = "no" ; then
   16856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16858 		fi
   16859 
   16860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16862 		fi
   16863 
   16864 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16865 
   16866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16867 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16868 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16869 		if eval \${$cacheid+:} false; then :
   16870   $as_echo_n "(cached) " >&6
   16871 else
   16872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16873 /* end confdefs.h.  */
   16874 int i;
   16875 int
   16876 main ()
   16877 {
   16878 
   16879   ;
   16880   return 0;
   16881 }
   16882 _ACEOF
   16883 if ac_fn_c_try_link "$LINENO"; then :
   16884   eval $cacheid=yes
   16885 else
   16886   eval $cacheid=no
   16887 fi
   16888 rm -f core conftest.err conftest.$ac_objext \
   16889     conftest$ac_exeext conftest.$ac_ext
   16890 fi
   16891 
   16892 
   16893 		CFLAGS="$xorg_testset_save_CFLAGS"
   16894 
   16895 		eval supported=\$$cacheid
   16896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16897 $as_echo "$supported" >&6; }
   16898 		if test "$supported" = "yes" ; then
   16899 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16900 			found="yes"
   16901 		fi
   16902 	fi
   16903 
   16904 	if test $found = "no" ; then
   16905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16907 		fi
   16908 
   16909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16911 		fi
   16912 
   16913 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16914 
   16915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16916 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16917 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16918 		if eval \${$cacheid+:} false; then :
   16919   $as_echo_n "(cached) " >&6
   16920 else
   16921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16922 /* end confdefs.h.  */
   16923 int i;
   16924 int
   16925 main ()
   16926 {
   16927 
   16928   ;
   16929   return 0;
   16930 }
   16931 _ACEOF
   16932 if ac_fn_c_try_link "$LINENO"; then :
   16933   eval $cacheid=yes
   16934 else
   16935   eval $cacheid=no
   16936 fi
   16937 rm -f core conftest.err conftest.$ac_objext \
   16938     conftest$ac_exeext conftest.$ac_ext
   16939 fi
   16940 
   16941 
   16942 		CFLAGS="$xorg_testset_save_CFLAGS"
   16943 
   16944 		eval supported=\$$cacheid
   16945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16946 $as_echo "$supported" >&6; }
   16947 		if test "$supported" = "yes" ; then
   16948 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16949 			found="yes"
   16950 		fi
   16951 	fi
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 xorg_testset_save_CFLAGS="$CFLAGS"
   16968 
   16969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16974   $as_echo_n "(cached) " >&6
   16975 else
   16976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16977 /* end confdefs.h.  */
   16978 int i;
   16979 _ACEOF
   16980 if ac_fn_c_try_compile "$LINENO"; then :
   16981   xorg_cv_cc_flag_unknown_warning_option=yes
   16982 else
   16983   xorg_cv_cc_flag_unknown_warning_option=no
   16984 fi
   16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16986 fi
   16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16990 	CFLAGS="$xorg_testset_save_CFLAGS"
   16991 fi
   16992 
   16993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16996 	fi
   16997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17001   $as_echo_n "(cached) " >&6
   17002 else
   17003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17004 /* end confdefs.h.  */
   17005 int i;
   17006 _ACEOF
   17007 if ac_fn_c_try_compile "$LINENO"; then :
   17008   xorg_cv_cc_flag_unused_command_line_argument=yes
   17009 else
   17010   xorg_cv_cc_flag_unused_command_line_argument=no
   17011 fi
   17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17013 fi
   17014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17017 	CFLAGS="$xorg_testset_save_CFLAGS"
   17018 fi
   17019 
   17020 found="no"
   17021 
   17022 	if test $found = "no" ; then
   17023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17025 		fi
   17026 
   17027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17029 		fi
   17030 
   17031 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17032 
   17033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17034 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17035 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17036 		if eval \${$cacheid+:} false; then :
   17037   $as_echo_n "(cached) " >&6
   17038 else
   17039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17040 /* end confdefs.h.  */
   17041 int i;
   17042 int
   17043 main ()
   17044 {
   17045 
   17046   ;
   17047   return 0;
   17048 }
   17049 _ACEOF
   17050 if ac_fn_c_try_link "$LINENO"; then :
   17051   eval $cacheid=yes
   17052 else
   17053   eval $cacheid=no
   17054 fi
   17055 rm -f core conftest.err conftest.$ac_objext \
   17056     conftest$ac_exeext conftest.$ac_ext
   17057 fi
   17058 
   17059 
   17060 		CFLAGS="$xorg_testset_save_CFLAGS"
   17061 
   17062 		eval supported=\$$cacheid
   17063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17064 $as_echo "$supported" >&6; }
   17065 		if test "$supported" = "yes" ; then
   17066 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17067 			found="yes"
   17068 		fi
   17069 	fi
   17070 
   17071  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17072 else
   17073 { $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
   17074 $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;}
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 xorg_testset_save_CFLAGS="$CFLAGS"
   17089 
   17090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17095   $as_echo_n "(cached) " >&6
   17096 else
   17097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17098 /* end confdefs.h.  */
   17099 int i;
   17100 _ACEOF
   17101 if ac_fn_c_try_compile "$LINENO"; then :
   17102   xorg_cv_cc_flag_unknown_warning_option=yes
   17103 else
   17104   xorg_cv_cc_flag_unknown_warning_option=no
   17105 fi
   17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17107 fi
   17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17111 	CFLAGS="$xorg_testset_save_CFLAGS"
   17112 fi
   17113 
   17114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17117 	fi
   17118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17122   $as_echo_n "(cached) " >&6
   17123 else
   17124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17125 /* end confdefs.h.  */
   17126 int i;
   17127 _ACEOF
   17128 if ac_fn_c_try_compile "$LINENO"; then :
   17129   xorg_cv_cc_flag_unused_command_line_argument=yes
   17130 else
   17131   xorg_cv_cc_flag_unused_command_line_argument=no
   17132 fi
   17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17134 fi
   17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17138 	CFLAGS="$xorg_testset_save_CFLAGS"
   17139 fi
   17140 
   17141 found="no"
   17142 
   17143 	if test $found = "no" ; then
   17144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17146 		fi
   17147 
   17148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17150 		fi
   17151 
   17152 		CFLAGS="$CFLAGS -Wimplicit"
   17153 
   17154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17155 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   17156 		cacheid=xorg_cv_cc_flag__Wimplicit
   17157 		if eval \${$cacheid+:} false; then :
   17158   $as_echo_n "(cached) " >&6
   17159 else
   17160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17161 /* end confdefs.h.  */
   17162 int i;
   17163 int
   17164 main ()
   17165 {
   17166 
   17167   ;
   17168   return 0;
   17169 }
   17170 _ACEOF
   17171 if ac_fn_c_try_link "$LINENO"; then :
   17172   eval $cacheid=yes
   17173 else
   17174   eval $cacheid=no
   17175 fi
   17176 rm -f core conftest.err conftest.$ac_objext \
   17177     conftest$ac_exeext conftest.$ac_ext
   17178 fi
   17179 
   17180 
   17181 		CFLAGS="$xorg_testset_save_CFLAGS"
   17182 
   17183 		eval supported=\$$cacheid
   17184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17185 $as_echo "$supported" >&6; }
   17186 		if test "$supported" = "yes" ; then
   17187 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17188 			found="yes"
   17189 		fi
   17190 	fi
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 xorg_testset_save_CFLAGS="$CFLAGS"
   17207 
   17208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17213   $as_echo_n "(cached) " >&6
   17214 else
   17215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 int i;
   17218 _ACEOF
   17219 if ac_fn_c_try_compile "$LINENO"; then :
   17220   xorg_cv_cc_flag_unknown_warning_option=yes
   17221 else
   17222   xorg_cv_cc_flag_unknown_warning_option=no
   17223 fi
   17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17225 fi
   17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17229 	CFLAGS="$xorg_testset_save_CFLAGS"
   17230 fi
   17231 
   17232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17235 	fi
   17236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17240   $as_echo_n "(cached) " >&6
   17241 else
   17242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17243 /* end confdefs.h.  */
   17244 int i;
   17245 _ACEOF
   17246 if ac_fn_c_try_compile "$LINENO"; then :
   17247   xorg_cv_cc_flag_unused_command_line_argument=yes
   17248 else
   17249   xorg_cv_cc_flag_unused_command_line_argument=no
   17250 fi
   17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17252 fi
   17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17256 	CFLAGS="$xorg_testset_save_CFLAGS"
   17257 fi
   17258 
   17259 found="no"
   17260 
   17261 	if test $found = "no" ; then
   17262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17264 		fi
   17265 
   17266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17268 		fi
   17269 
   17270 		CFLAGS="$CFLAGS -Wnonnull"
   17271 
   17272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17273 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   17274 		cacheid=xorg_cv_cc_flag__Wnonnull
   17275 		if eval \${$cacheid+:} false; then :
   17276   $as_echo_n "(cached) " >&6
   17277 else
   17278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17279 /* end confdefs.h.  */
   17280 int i;
   17281 int
   17282 main ()
   17283 {
   17284 
   17285   ;
   17286   return 0;
   17287 }
   17288 _ACEOF
   17289 if ac_fn_c_try_link "$LINENO"; then :
   17290   eval $cacheid=yes
   17291 else
   17292   eval $cacheid=no
   17293 fi
   17294 rm -f core conftest.err conftest.$ac_objext \
   17295     conftest$ac_exeext conftest.$ac_ext
   17296 fi
   17297 
   17298 
   17299 		CFLAGS="$xorg_testset_save_CFLAGS"
   17300 
   17301 		eval supported=\$$cacheid
   17302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17303 $as_echo "$supported" >&6; }
   17304 		if test "$supported" = "yes" ; then
   17305 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17306 			found="yes"
   17307 		fi
   17308 	fi
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 xorg_testset_save_CFLAGS="$CFLAGS"
   17325 
   17326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17331   $as_echo_n "(cached) " >&6
   17332 else
   17333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17334 /* end confdefs.h.  */
   17335 int i;
   17336 _ACEOF
   17337 if ac_fn_c_try_compile "$LINENO"; then :
   17338   xorg_cv_cc_flag_unknown_warning_option=yes
   17339 else
   17340   xorg_cv_cc_flag_unknown_warning_option=no
   17341 fi
   17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17343 fi
   17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17347 	CFLAGS="$xorg_testset_save_CFLAGS"
   17348 fi
   17349 
   17350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17353 	fi
   17354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17358   $as_echo_n "(cached) " >&6
   17359 else
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 _ACEOF
   17364 if ac_fn_c_try_compile "$LINENO"; then :
   17365   xorg_cv_cc_flag_unused_command_line_argument=yes
   17366 else
   17367   xorg_cv_cc_flag_unused_command_line_argument=no
   17368 fi
   17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17370 fi
   17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17374 	CFLAGS="$xorg_testset_save_CFLAGS"
   17375 fi
   17376 
   17377 found="no"
   17378 
   17379 	if test $found = "no" ; then
   17380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17382 		fi
   17383 
   17384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17386 		fi
   17387 
   17388 		CFLAGS="$CFLAGS -Winit-self"
   17389 
   17390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17391 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   17392 		cacheid=xorg_cv_cc_flag__Winit_self
   17393 		if eval \${$cacheid+:} false; then :
   17394   $as_echo_n "(cached) " >&6
   17395 else
   17396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17397 /* end confdefs.h.  */
   17398 int i;
   17399 int
   17400 main ()
   17401 {
   17402 
   17403   ;
   17404   return 0;
   17405 }
   17406 _ACEOF
   17407 if ac_fn_c_try_link "$LINENO"; then :
   17408   eval $cacheid=yes
   17409 else
   17410   eval $cacheid=no
   17411 fi
   17412 rm -f core conftest.err conftest.$ac_objext \
   17413     conftest$ac_exeext conftest.$ac_ext
   17414 fi
   17415 
   17416 
   17417 		CFLAGS="$xorg_testset_save_CFLAGS"
   17418 
   17419 		eval supported=\$$cacheid
   17420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17421 $as_echo "$supported" >&6; }
   17422 		if test "$supported" = "yes" ; then
   17423 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17424 			found="yes"
   17425 		fi
   17426 	fi
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 xorg_testset_save_CFLAGS="$CFLAGS"
   17443 
   17444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17449   $as_echo_n "(cached) " >&6
   17450 else
   17451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17452 /* end confdefs.h.  */
   17453 int i;
   17454 _ACEOF
   17455 if ac_fn_c_try_compile "$LINENO"; then :
   17456   xorg_cv_cc_flag_unknown_warning_option=yes
   17457 else
   17458   xorg_cv_cc_flag_unknown_warning_option=no
   17459 fi
   17460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17461 fi
   17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17465 	CFLAGS="$xorg_testset_save_CFLAGS"
   17466 fi
   17467 
   17468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17471 	fi
   17472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17476   $as_echo_n "(cached) " >&6
   17477 else
   17478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17479 /* end confdefs.h.  */
   17480 int i;
   17481 _ACEOF
   17482 if ac_fn_c_try_compile "$LINENO"; then :
   17483   xorg_cv_cc_flag_unused_command_line_argument=yes
   17484 else
   17485   xorg_cv_cc_flag_unused_command_line_argument=no
   17486 fi
   17487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17488 fi
   17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17492 	CFLAGS="$xorg_testset_save_CFLAGS"
   17493 fi
   17494 
   17495 found="no"
   17496 
   17497 	if test $found = "no" ; then
   17498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17500 		fi
   17501 
   17502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17504 		fi
   17505 
   17506 		CFLAGS="$CFLAGS -Wmain"
   17507 
   17508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17509 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   17510 		cacheid=xorg_cv_cc_flag__Wmain
   17511 		if eval \${$cacheid+:} false; then :
   17512   $as_echo_n "(cached) " >&6
   17513 else
   17514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17515 /* end confdefs.h.  */
   17516 int i;
   17517 int
   17518 main ()
   17519 {
   17520 
   17521   ;
   17522   return 0;
   17523 }
   17524 _ACEOF
   17525 if ac_fn_c_try_link "$LINENO"; then :
   17526   eval $cacheid=yes
   17527 else
   17528   eval $cacheid=no
   17529 fi
   17530 rm -f core conftest.err conftest.$ac_objext \
   17531     conftest$ac_exeext conftest.$ac_ext
   17532 fi
   17533 
   17534 
   17535 		CFLAGS="$xorg_testset_save_CFLAGS"
   17536 
   17537 		eval supported=\$$cacheid
   17538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17539 $as_echo "$supported" >&6; }
   17540 		if test "$supported" = "yes" ; then
   17541 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17542 			found="yes"
   17543 		fi
   17544 	fi
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 xorg_testset_save_CFLAGS="$CFLAGS"
   17561 
   17562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17567   $as_echo_n "(cached) " >&6
   17568 else
   17569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17570 /* end confdefs.h.  */
   17571 int i;
   17572 _ACEOF
   17573 if ac_fn_c_try_compile "$LINENO"; then :
   17574   xorg_cv_cc_flag_unknown_warning_option=yes
   17575 else
   17576   xorg_cv_cc_flag_unknown_warning_option=no
   17577 fi
   17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17579 fi
   17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17583 	CFLAGS="$xorg_testset_save_CFLAGS"
   17584 fi
   17585 
   17586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17589 	fi
   17590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17594   $as_echo_n "(cached) " >&6
   17595 else
   17596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17597 /* end confdefs.h.  */
   17598 int i;
   17599 _ACEOF
   17600 if ac_fn_c_try_compile "$LINENO"; then :
   17601   xorg_cv_cc_flag_unused_command_line_argument=yes
   17602 else
   17603   xorg_cv_cc_flag_unused_command_line_argument=no
   17604 fi
   17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17606 fi
   17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17610 	CFLAGS="$xorg_testset_save_CFLAGS"
   17611 fi
   17612 
   17613 found="no"
   17614 
   17615 	if test $found = "no" ; then
   17616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17618 		fi
   17619 
   17620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17622 		fi
   17623 
   17624 		CFLAGS="$CFLAGS -Wmissing-braces"
   17625 
   17626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17627 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   17628 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17629 		if eval \${$cacheid+:} false; then :
   17630   $as_echo_n "(cached) " >&6
   17631 else
   17632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17633 /* end confdefs.h.  */
   17634 int i;
   17635 int
   17636 main ()
   17637 {
   17638 
   17639   ;
   17640   return 0;
   17641 }
   17642 _ACEOF
   17643 if ac_fn_c_try_link "$LINENO"; then :
   17644   eval $cacheid=yes
   17645 else
   17646   eval $cacheid=no
   17647 fi
   17648 rm -f core conftest.err conftest.$ac_objext \
   17649     conftest$ac_exeext conftest.$ac_ext
   17650 fi
   17651 
   17652 
   17653 		CFLAGS="$xorg_testset_save_CFLAGS"
   17654 
   17655 		eval supported=\$$cacheid
   17656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17657 $as_echo "$supported" >&6; }
   17658 		if test "$supported" = "yes" ; then
   17659 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17660 			found="yes"
   17661 		fi
   17662 	fi
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 xorg_testset_save_CFLAGS="$CFLAGS"
   17679 
   17680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17685   $as_echo_n "(cached) " >&6
   17686 else
   17687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17688 /* end confdefs.h.  */
   17689 int i;
   17690 _ACEOF
   17691 if ac_fn_c_try_compile "$LINENO"; then :
   17692   xorg_cv_cc_flag_unknown_warning_option=yes
   17693 else
   17694   xorg_cv_cc_flag_unknown_warning_option=no
   17695 fi
   17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17697 fi
   17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17701 	CFLAGS="$xorg_testset_save_CFLAGS"
   17702 fi
   17703 
   17704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17707 	fi
   17708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17712   $as_echo_n "(cached) " >&6
   17713 else
   17714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17715 /* end confdefs.h.  */
   17716 int i;
   17717 _ACEOF
   17718 if ac_fn_c_try_compile "$LINENO"; then :
   17719   xorg_cv_cc_flag_unused_command_line_argument=yes
   17720 else
   17721   xorg_cv_cc_flag_unused_command_line_argument=no
   17722 fi
   17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17724 fi
   17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17728 	CFLAGS="$xorg_testset_save_CFLAGS"
   17729 fi
   17730 
   17731 found="no"
   17732 
   17733 	if test $found = "no" ; then
   17734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17736 		fi
   17737 
   17738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17740 		fi
   17741 
   17742 		CFLAGS="$CFLAGS -Wsequence-point"
   17743 
   17744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17745 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17746 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17747 		if eval \${$cacheid+:} false; then :
   17748   $as_echo_n "(cached) " >&6
   17749 else
   17750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17751 /* end confdefs.h.  */
   17752 int i;
   17753 int
   17754 main ()
   17755 {
   17756 
   17757   ;
   17758   return 0;
   17759 }
   17760 _ACEOF
   17761 if ac_fn_c_try_link "$LINENO"; then :
   17762   eval $cacheid=yes
   17763 else
   17764   eval $cacheid=no
   17765 fi
   17766 rm -f core conftest.err conftest.$ac_objext \
   17767     conftest$ac_exeext conftest.$ac_ext
   17768 fi
   17769 
   17770 
   17771 		CFLAGS="$xorg_testset_save_CFLAGS"
   17772 
   17773 		eval supported=\$$cacheid
   17774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17775 $as_echo "$supported" >&6; }
   17776 		if test "$supported" = "yes" ; then
   17777 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17778 			found="yes"
   17779 		fi
   17780 	fi
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 xorg_testset_save_CFLAGS="$CFLAGS"
   17797 
   17798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17803   $as_echo_n "(cached) " >&6
   17804 else
   17805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17806 /* end confdefs.h.  */
   17807 int i;
   17808 _ACEOF
   17809 if ac_fn_c_try_compile "$LINENO"; then :
   17810   xorg_cv_cc_flag_unknown_warning_option=yes
   17811 else
   17812   xorg_cv_cc_flag_unknown_warning_option=no
   17813 fi
   17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17815 fi
   17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17819 	CFLAGS="$xorg_testset_save_CFLAGS"
   17820 fi
   17821 
   17822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17825 	fi
   17826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17830   $as_echo_n "(cached) " >&6
   17831 else
   17832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17833 /* end confdefs.h.  */
   17834 int i;
   17835 _ACEOF
   17836 if ac_fn_c_try_compile "$LINENO"; then :
   17837   xorg_cv_cc_flag_unused_command_line_argument=yes
   17838 else
   17839   xorg_cv_cc_flag_unused_command_line_argument=no
   17840 fi
   17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17842 fi
   17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17846 	CFLAGS="$xorg_testset_save_CFLAGS"
   17847 fi
   17848 
   17849 found="no"
   17850 
   17851 	if test $found = "no" ; then
   17852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17854 		fi
   17855 
   17856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17858 		fi
   17859 
   17860 		CFLAGS="$CFLAGS -Wreturn-type"
   17861 
   17862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17863 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17864 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17865 		if eval \${$cacheid+:} false; then :
   17866   $as_echo_n "(cached) " >&6
   17867 else
   17868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17869 /* end confdefs.h.  */
   17870 int i;
   17871 int
   17872 main ()
   17873 {
   17874 
   17875   ;
   17876   return 0;
   17877 }
   17878 _ACEOF
   17879 if ac_fn_c_try_link "$LINENO"; then :
   17880   eval $cacheid=yes
   17881 else
   17882   eval $cacheid=no
   17883 fi
   17884 rm -f core conftest.err conftest.$ac_objext \
   17885     conftest$ac_exeext conftest.$ac_ext
   17886 fi
   17887 
   17888 
   17889 		CFLAGS="$xorg_testset_save_CFLAGS"
   17890 
   17891 		eval supported=\$$cacheid
   17892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17893 $as_echo "$supported" >&6; }
   17894 		if test "$supported" = "yes" ; then
   17895 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17896 			found="yes"
   17897 		fi
   17898 	fi
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 xorg_testset_save_CFLAGS="$CFLAGS"
   17915 
   17916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17921   $as_echo_n "(cached) " >&6
   17922 else
   17923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17924 /* end confdefs.h.  */
   17925 int i;
   17926 _ACEOF
   17927 if ac_fn_c_try_compile "$LINENO"; then :
   17928   xorg_cv_cc_flag_unknown_warning_option=yes
   17929 else
   17930   xorg_cv_cc_flag_unknown_warning_option=no
   17931 fi
   17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17933 fi
   17934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17937 	CFLAGS="$xorg_testset_save_CFLAGS"
   17938 fi
   17939 
   17940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17943 	fi
   17944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17948   $as_echo_n "(cached) " >&6
   17949 else
   17950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17951 /* end confdefs.h.  */
   17952 int i;
   17953 _ACEOF
   17954 if ac_fn_c_try_compile "$LINENO"; then :
   17955   xorg_cv_cc_flag_unused_command_line_argument=yes
   17956 else
   17957   xorg_cv_cc_flag_unused_command_line_argument=no
   17958 fi
   17959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17960 fi
   17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17964 	CFLAGS="$xorg_testset_save_CFLAGS"
   17965 fi
   17966 
   17967 found="no"
   17968 
   17969 	if test $found = "no" ; then
   17970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17972 		fi
   17973 
   17974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17976 		fi
   17977 
   17978 		CFLAGS="$CFLAGS -Wtrigraphs"
   17979 
   17980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17981 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17982 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17983 		if eval \${$cacheid+:} false; then :
   17984   $as_echo_n "(cached) " >&6
   17985 else
   17986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17987 /* end confdefs.h.  */
   17988 int i;
   17989 int
   17990 main ()
   17991 {
   17992 
   17993   ;
   17994   return 0;
   17995 }
   17996 _ACEOF
   17997 if ac_fn_c_try_link "$LINENO"; then :
   17998   eval $cacheid=yes
   17999 else
   18000   eval $cacheid=no
   18001 fi
   18002 rm -f core conftest.err conftest.$ac_objext \
   18003     conftest$ac_exeext conftest.$ac_ext
   18004 fi
   18005 
   18006 
   18007 		CFLAGS="$xorg_testset_save_CFLAGS"
   18008 
   18009 		eval supported=\$$cacheid
   18010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18011 $as_echo "$supported" >&6; }
   18012 		if test "$supported" = "yes" ; then
   18013 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18014 			found="yes"
   18015 		fi
   18016 	fi
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 xorg_testset_save_CFLAGS="$CFLAGS"
   18033 
   18034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18039   $as_echo_n "(cached) " >&6
   18040 else
   18041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18042 /* end confdefs.h.  */
   18043 int i;
   18044 _ACEOF
   18045 if ac_fn_c_try_compile "$LINENO"; then :
   18046   xorg_cv_cc_flag_unknown_warning_option=yes
   18047 else
   18048   xorg_cv_cc_flag_unknown_warning_option=no
   18049 fi
   18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18051 fi
   18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18055 	CFLAGS="$xorg_testset_save_CFLAGS"
   18056 fi
   18057 
   18058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18061 	fi
   18062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18066   $as_echo_n "(cached) " >&6
   18067 else
   18068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18069 /* end confdefs.h.  */
   18070 int i;
   18071 _ACEOF
   18072 if ac_fn_c_try_compile "$LINENO"; then :
   18073   xorg_cv_cc_flag_unused_command_line_argument=yes
   18074 else
   18075   xorg_cv_cc_flag_unused_command_line_argument=no
   18076 fi
   18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18078 fi
   18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18082 	CFLAGS="$xorg_testset_save_CFLAGS"
   18083 fi
   18084 
   18085 found="no"
   18086 
   18087 	if test $found = "no" ; then
   18088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18090 		fi
   18091 
   18092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18094 		fi
   18095 
   18096 		CFLAGS="$CFLAGS -Warray-bounds"
   18097 
   18098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18099 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   18100 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18101 		if eval \${$cacheid+:} false; then :
   18102   $as_echo_n "(cached) " >&6
   18103 else
   18104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18105 /* end confdefs.h.  */
   18106 int i;
   18107 int
   18108 main ()
   18109 {
   18110 
   18111   ;
   18112   return 0;
   18113 }
   18114 _ACEOF
   18115 if ac_fn_c_try_link "$LINENO"; then :
   18116   eval $cacheid=yes
   18117 else
   18118   eval $cacheid=no
   18119 fi
   18120 rm -f core conftest.err conftest.$ac_objext \
   18121     conftest$ac_exeext conftest.$ac_ext
   18122 fi
   18123 
   18124 
   18125 		CFLAGS="$xorg_testset_save_CFLAGS"
   18126 
   18127 		eval supported=\$$cacheid
   18128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18129 $as_echo "$supported" >&6; }
   18130 		if test "$supported" = "yes" ; then
   18131 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18132 			found="yes"
   18133 		fi
   18134 	fi
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 xorg_testset_save_CFLAGS="$CFLAGS"
   18151 
   18152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18157   $as_echo_n "(cached) " >&6
   18158 else
   18159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18160 /* end confdefs.h.  */
   18161 int i;
   18162 _ACEOF
   18163 if ac_fn_c_try_compile "$LINENO"; then :
   18164   xorg_cv_cc_flag_unknown_warning_option=yes
   18165 else
   18166   xorg_cv_cc_flag_unknown_warning_option=no
   18167 fi
   18168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18169 fi
   18170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18173 	CFLAGS="$xorg_testset_save_CFLAGS"
   18174 fi
   18175 
   18176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18179 	fi
   18180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18184   $as_echo_n "(cached) " >&6
   18185 else
   18186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18187 /* end confdefs.h.  */
   18188 int i;
   18189 _ACEOF
   18190 if ac_fn_c_try_compile "$LINENO"; then :
   18191   xorg_cv_cc_flag_unused_command_line_argument=yes
   18192 else
   18193   xorg_cv_cc_flag_unused_command_line_argument=no
   18194 fi
   18195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18196 fi
   18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18200 	CFLAGS="$xorg_testset_save_CFLAGS"
   18201 fi
   18202 
   18203 found="no"
   18204 
   18205 	if test $found = "no" ; then
   18206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18208 		fi
   18209 
   18210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18212 		fi
   18213 
   18214 		CFLAGS="$CFLAGS -Wwrite-strings"
   18215 
   18216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18217 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   18218 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18219 		if eval \${$cacheid+:} false; then :
   18220   $as_echo_n "(cached) " >&6
   18221 else
   18222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18223 /* end confdefs.h.  */
   18224 int i;
   18225 int
   18226 main ()
   18227 {
   18228 
   18229   ;
   18230   return 0;
   18231 }
   18232 _ACEOF
   18233 if ac_fn_c_try_link "$LINENO"; then :
   18234   eval $cacheid=yes
   18235 else
   18236   eval $cacheid=no
   18237 fi
   18238 rm -f core conftest.err conftest.$ac_objext \
   18239     conftest$ac_exeext conftest.$ac_ext
   18240 fi
   18241 
   18242 
   18243 		CFLAGS="$xorg_testset_save_CFLAGS"
   18244 
   18245 		eval supported=\$$cacheid
   18246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18247 $as_echo "$supported" >&6; }
   18248 		if test "$supported" = "yes" ; then
   18249 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18250 			found="yes"
   18251 		fi
   18252 	fi
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 xorg_testset_save_CFLAGS="$CFLAGS"
   18269 
   18270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18275   $as_echo_n "(cached) " >&6
   18276 else
   18277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18278 /* end confdefs.h.  */
   18279 int i;
   18280 _ACEOF
   18281 if ac_fn_c_try_compile "$LINENO"; then :
   18282   xorg_cv_cc_flag_unknown_warning_option=yes
   18283 else
   18284   xorg_cv_cc_flag_unknown_warning_option=no
   18285 fi
   18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18287 fi
   18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18291 	CFLAGS="$xorg_testset_save_CFLAGS"
   18292 fi
   18293 
   18294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18297 	fi
   18298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18302   $as_echo_n "(cached) " >&6
   18303 else
   18304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18305 /* end confdefs.h.  */
   18306 int i;
   18307 _ACEOF
   18308 if ac_fn_c_try_compile "$LINENO"; then :
   18309   xorg_cv_cc_flag_unused_command_line_argument=yes
   18310 else
   18311   xorg_cv_cc_flag_unused_command_line_argument=no
   18312 fi
   18313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18314 fi
   18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18318 	CFLAGS="$xorg_testset_save_CFLAGS"
   18319 fi
   18320 
   18321 found="no"
   18322 
   18323 	if test $found = "no" ; then
   18324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18326 		fi
   18327 
   18328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18330 		fi
   18331 
   18332 		CFLAGS="$CFLAGS -Waddress"
   18333 
   18334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18335 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   18336 		cacheid=xorg_cv_cc_flag__Waddress
   18337 		if eval \${$cacheid+:} false; then :
   18338   $as_echo_n "(cached) " >&6
   18339 else
   18340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18341 /* end confdefs.h.  */
   18342 int i;
   18343 int
   18344 main ()
   18345 {
   18346 
   18347   ;
   18348   return 0;
   18349 }
   18350 _ACEOF
   18351 if ac_fn_c_try_link "$LINENO"; then :
   18352   eval $cacheid=yes
   18353 else
   18354   eval $cacheid=no
   18355 fi
   18356 rm -f core conftest.err conftest.$ac_objext \
   18357     conftest$ac_exeext conftest.$ac_ext
   18358 fi
   18359 
   18360 
   18361 		CFLAGS="$xorg_testset_save_CFLAGS"
   18362 
   18363 		eval supported=\$$cacheid
   18364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18365 $as_echo "$supported" >&6; }
   18366 		if test "$supported" = "yes" ; then
   18367 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18368 			found="yes"
   18369 		fi
   18370 	fi
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 xorg_testset_save_CFLAGS="$CFLAGS"
   18387 
   18388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18393   $as_echo_n "(cached) " >&6
   18394 else
   18395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18396 /* end confdefs.h.  */
   18397 int i;
   18398 _ACEOF
   18399 if ac_fn_c_try_compile "$LINENO"; then :
   18400   xorg_cv_cc_flag_unknown_warning_option=yes
   18401 else
   18402   xorg_cv_cc_flag_unknown_warning_option=no
   18403 fi
   18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18405 fi
   18406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18409 	CFLAGS="$xorg_testset_save_CFLAGS"
   18410 fi
   18411 
   18412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18415 	fi
   18416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18420   $as_echo_n "(cached) " >&6
   18421 else
   18422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18423 /* end confdefs.h.  */
   18424 int i;
   18425 _ACEOF
   18426 if ac_fn_c_try_compile "$LINENO"; then :
   18427   xorg_cv_cc_flag_unused_command_line_argument=yes
   18428 else
   18429   xorg_cv_cc_flag_unused_command_line_argument=no
   18430 fi
   18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18432 fi
   18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18436 	CFLAGS="$xorg_testset_save_CFLAGS"
   18437 fi
   18438 
   18439 found="no"
   18440 
   18441 	if test $found = "no" ; then
   18442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18444 		fi
   18445 
   18446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18448 		fi
   18449 
   18450 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18451 
   18452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18453 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18454 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18455 		if eval \${$cacheid+:} false; then :
   18456   $as_echo_n "(cached) " >&6
   18457 else
   18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18459 /* end confdefs.h.  */
   18460 int i;
   18461 int
   18462 main ()
   18463 {
   18464 
   18465   ;
   18466   return 0;
   18467 }
   18468 _ACEOF
   18469 if ac_fn_c_try_link "$LINENO"; then :
   18470   eval $cacheid=yes
   18471 else
   18472   eval $cacheid=no
   18473 fi
   18474 rm -f core conftest.err conftest.$ac_objext \
   18475     conftest$ac_exeext conftest.$ac_ext
   18476 fi
   18477 
   18478 
   18479 		CFLAGS="$xorg_testset_save_CFLAGS"
   18480 
   18481 		eval supported=\$$cacheid
   18482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18483 $as_echo "$supported" >&6; }
   18484 		if test "$supported" = "yes" ; then
   18485 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18486 			found="yes"
   18487 		fi
   18488 	fi
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 xorg_testset_save_CFLAGS="$CFLAGS"
   18505 
   18506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18511   $as_echo_n "(cached) " >&6
   18512 else
   18513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18514 /* end confdefs.h.  */
   18515 int i;
   18516 _ACEOF
   18517 if ac_fn_c_try_compile "$LINENO"; then :
   18518   xorg_cv_cc_flag_unknown_warning_option=yes
   18519 else
   18520   xorg_cv_cc_flag_unknown_warning_option=no
   18521 fi
   18522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18523 fi
   18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18527 	CFLAGS="$xorg_testset_save_CFLAGS"
   18528 fi
   18529 
   18530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18533 	fi
   18534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18538   $as_echo_n "(cached) " >&6
   18539 else
   18540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18541 /* end confdefs.h.  */
   18542 int i;
   18543 _ACEOF
   18544 if ac_fn_c_try_compile "$LINENO"; then :
   18545   xorg_cv_cc_flag_unused_command_line_argument=yes
   18546 else
   18547   xorg_cv_cc_flag_unused_command_line_argument=no
   18548 fi
   18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18550 fi
   18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18554 	CFLAGS="$xorg_testset_save_CFLAGS"
   18555 fi
   18556 
   18557 found="no"
   18558 
   18559 	if test $found = "no" ; then
   18560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18562 		fi
   18563 
   18564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18566 		fi
   18567 
   18568 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18569 
   18570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18571 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18572 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18573 		if eval \${$cacheid+:} false; then :
   18574   $as_echo_n "(cached) " >&6
   18575 else
   18576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18577 /* end confdefs.h.  */
   18578 int i;
   18579 int
   18580 main ()
   18581 {
   18582 
   18583   ;
   18584   return 0;
   18585 }
   18586 _ACEOF
   18587 if ac_fn_c_try_link "$LINENO"; then :
   18588   eval $cacheid=yes
   18589 else
   18590   eval $cacheid=no
   18591 fi
   18592 rm -f core conftest.err conftest.$ac_objext \
   18593     conftest$ac_exeext conftest.$ac_ext
   18594 fi
   18595 
   18596 
   18597 		CFLAGS="$xorg_testset_save_CFLAGS"
   18598 
   18599 		eval supported=\$$cacheid
   18600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18601 $as_echo "$supported" >&6; }
   18602 		if test "$supported" = "yes" ; then
   18603 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18604 			found="yes"
   18605 		fi
   18606 	fi
   18607 
   18608 
   18609 fi
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 		CWARNFLAGS="$BASE_CFLAGS"
   18618 		if  test "x$GCC" = xyes ; then
   18619 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18620 		fi
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 # Check whether --enable-strict-compilation was given.
   18630 if test "${enable_strict_compilation+set}" = set; then :
   18631   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18632 else
   18633   STRICT_COMPILE=no
   18634 fi
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 STRICT_CFLAGS=""
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 
   18654 
   18655 xorg_testset_save_CFLAGS="$CFLAGS"
   18656 
   18657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18660 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18661 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18662   $as_echo_n "(cached) " >&6
   18663 else
   18664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18665 /* end confdefs.h.  */
   18666 int i;
   18667 _ACEOF
   18668 if ac_fn_c_try_compile "$LINENO"; then :
   18669   xorg_cv_cc_flag_unknown_warning_option=yes
   18670 else
   18671   xorg_cv_cc_flag_unknown_warning_option=no
   18672 fi
   18673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18674 fi
   18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18676 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18678 	CFLAGS="$xorg_testset_save_CFLAGS"
   18679 fi
   18680 
   18681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18684 	fi
   18685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18687 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18688 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18689   $as_echo_n "(cached) " >&6
   18690 else
   18691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18692 /* end confdefs.h.  */
   18693 int i;
   18694 _ACEOF
   18695 if ac_fn_c_try_compile "$LINENO"; then :
   18696   xorg_cv_cc_flag_unused_command_line_argument=yes
   18697 else
   18698   xorg_cv_cc_flag_unused_command_line_argument=no
   18699 fi
   18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18701 fi
   18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18703 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18705 	CFLAGS="$xorg_testset_save_CFLAGS"
   18706 fi
   18707 
   18708 found="no"
   18709 
   18710 	if test $found = "no" ; then
   18711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18713 		fi
   18714 
   18715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18717 		fi
   18718 
   18719 		CFLAGS="$CFLAGS -pedantic"
   18720 
   18721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18722 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18723 		cacheid=xorg_cv_cc_flag__pedantic
   18724 		if eval \${$cacheid+:} false; then :
   18725   $as_echo_n "(cached) " >&6
   18726 else
   18727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18728 /* end confdefs.h.  */
   18729 int i;
   18730 int
   18731 main ()
   18732 {
   18733 
   18734   ;
   18735   return 0;
   18736 }
   18737 _ACEOF
   18738 if ac_fn_c_try_link "$LINENO"; then :
   18739   eval $cacheid=yes
   18740 else
   18741   eval $cacheid=no
   18742 fi
   18743 rm -f core conftest.err conftest.$ac_objext \
   18744     conftest$ac_exeext conftest.$ac_ext
   18745 fi
   18746 
   18747 
   18748 		CFLAGS="$xorg_testset_save_CFLAGS"
   18749 
   18750 		eval supported=\$$cacheid
   18751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18752 $as_echo "$supported" >&6; }
   18753 		if test "$supported" = "yes" ; then
   18754 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18755 			found="yes"
   18756 		fi
   18757 	fi
   18758 
   18759 
   18760 
   18761 
   18762 
   18763 
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 xorg_testset_save_CFLAGS="$CFLAGS"
   18774 
   18775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18778 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18779 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18780   $as_echo_n "(cached) " >&6
   18781 else
   18782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18783 /* end confdefs.h.  */
   18784 int i;
   18785 _ACEOF
   18786 if ac_fn_c_try_compile "$LINENO"; then :
   18787   xorg_cv_cc_flag_unknown_warning_option=yes
   18788 else
   18789   xorg_cv_cc_flag_unknown_warning_option=no
   18790 fi
   18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18792 fi
   18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18794 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18795 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18796 	CFLAGS="$xorg_testset_save_CFLAGS"
   18797 fi
   18798 
   18799 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18800 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18801 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18802 	fi
   18803 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18805 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18806 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18807   $as_echo_n "(cached) " >&6
   18808 else
   18809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18810 /* end confdefs.h.  */
   18811 int i;
   18812 _ACEOF
   18813 if ac_fn_c_try_compile "$LINENO"; then :
   18814   xorg_cv_cc_flag_unused_command_line_argument=yes
   18815 else
   18816   xorg_cv_cc_flag_unused_command_line_argument=no
   18817 fi
   18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18819 fi
   18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18821 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18823 	CFLAGS="$xorg_testset_save_CFLAGS"
   18824 fi
   18825 
   18826 found="no"
   18827 
   18828 	if test $found = "no" ; then
   18829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18831 		fi
   18832 
   18833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18835 		fi
   18836 
   18837 		CFLAGS="$CFLAGS -Werror"
   18838 
   18839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18840 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18841 		cacheid=xorg_cv_cc_flag__Werror
   18842 		if eval \${$cacheid+:} false; then :
   18843   $as_echo_n "(cached) " >&6
   18844 else
   18845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18846 /* end confdefs.h.  */
   18847 int i;
   18848 int
   18849 main ()
   18850 {
   18851 
   18852   ;
   18853   return 0;
   18854 }
   18855 _ACEOF
   18856 if ac_fn_c_try_link "$LINENO"; then :
   18857   eval $cacheid=yes
   18858 else
   18859   eval $cacheid=no
   18860 fi
   18861 rm -f core conftest.err conftest.$ac_objext \
   18862     conftest$ac_exeext conftest.$ac_ext
   18863 fi
   18864 
   18865 
   18866 		CFLAGS="$xorg_testset_save_CFLAGS"
   18867 
   18868 		eval supported=\$$cacheid
   18869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18870 $as_echo "$supported" >&6; }
   18871 		if test "$supported" = "yes" ; then
   18872 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18873 			found="yes"
   18874 		fi
   18875 	fi
   18876 
   18877 	if test $found = "no" ; then
   18878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18880 		fi
   18881 
   18882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18884 		fi
   18885 
   18886 		CFLAGS="$CFLAGS -errwarn"
   18887 
   18888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18889 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18890 		cacheid=xorg_cv_cc_flag__errwarn
   18891 		if eval \${$cacheid+:} false; then :
   18892   $as_echo_n "(cached) " >&6
   18893 else
   18894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18895 /* end confdefs.h.  */
   18896 int i;
   18897 int
   18898 main ()
   18899 {
   18900 
   18901   ;
   18902   return 0;
   18903 }
   18904 _ACEOF
   18905 if ac_fn_c_try_link "$LINENO"; then :
   18906   eval $cacheid=yes
   18907 else
   18908   eval $cacheid=no
   18909 fi
   18910 rm -f core conftest.err conftest.$ac_objext \
   18911     conftest$ac_exeext conftest.$ac_ext
   18912 fi
   18913 
   18914 
   18915 		CFLAGS="$xorg_testset_save_CFLAGS"
   18916 
   18917 		eval supported=\$$cacheid
   18918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18919 $as_echo "$supported" >&6; }
   18920 		if test "$supported" = "yes" ; then
   18921 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18922 			found="yes"
   18923 		fi
   18924 	fi
   18925 
   18926 
   18927 
   18928 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18929 # activate it with -Werror, so we add it here explicitly.
   18930 
   18931 
   18932 
   18933 
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 
   18941 
   18942 
   18943 xorg_testset_save_CFLAGS="$CFLAGS"
   18944 
   18945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18950   $as_echo_n "(cached) " >&6
   18951 else
   18952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18953 /* end confdefs.h.  */
   18954 int i;
   18955 _ACEOF
   18956 if ac_fn_c_try_compile "$LINENO"; then :
   18957   xorg_cv_cc_flag_unknown_warning_option=yes
   18958 else
   18959   xorg_cv_cc_flag_unknown_warning_option=no
   18960 fi
   18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18962 fi
   18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18966 	CFLAGS="$xorg_testset_save_CFLAGS"
   18967 fi
   18968 
   18969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18972 	fi
   18973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18977   $as_echo_n "(cached) " >&6
   18978 else
   18979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18980 /* end confdefs.h.  */
   18981 int i;
   18982 _ACEOF
   18983 if ac_fn_c_try_compile "$LINENO"; then :
   18984   xorg_cv_cc_flag_unused_command_line_argument=yes
   18985 else
   18986   xorg_cv_cc_flag_unused_command_line_argument=no
   18987 fi
   18988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18989 fi
   18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18993 	CFLAGS="$xorg_testset_save_CFLAGS"
   18994 fi
   18995 
   18996 found="no"
   18997 
   18998 	if test $found = "no" ; then
   18999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19001 		fi
   19002 
   19003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19005 		fi
   19006 
   19007 		CFLAGS="$CFLAGS -Werror=attributes"
   19008 
   19009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19010 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   19011 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19012 		if eval \${$cacheid+:} false; then :
   19013   $as_echo_n "(cached) " >&6
   19014 else
   19015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19016 /* end confdefs.h.  */
   19017 int i;
   19018 int
   19019 main ()
   19020 {
   19021 
   19022   ;
   19023   return 0;
   19024 }
   19025 _ACEOF
   19026 if ac_fn_c_try_link "$LINENO"; then :
   19027   eval $cacheid=yes
   19028 else
   19029   eval $cacheid=no
   19030 fi
   19031 rm -f core conftest.err conftest.$ac_objext \
   19032     conftest$ac_exeext conftest.$ac_ext
   19033 fi
   19034 
   19035 
   19036 		CFLAGS="$xorg_testset_save_CFLAGS"
   19037 
   19038 		eval supported=\$$cacheid
   19039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19040 $as_echo "$supported" >&6; }
   19041 		if test "$supported" = "yes" ; then
   19042 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19043 			found="yes"
   19044 		fi
   19045 	fi
   19046 
   19047 
   19048 
   19049 if test "x$STRICT_COMPILE" = "xyes"; then
   19050     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19051     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19052 fi
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 
   19059 cat >>confdefs.h <<_ACEOF
   19060 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19061 _ACEOF
   19062 
   19063 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19064 	if test "x$PVM" = "x"; then
   19065 		PVM="0"
   19066 	fi
   19067 
   19068 cat >>confdefs.h <<_ACEOF
   19069 #define PACKAGE_VERSION_MINOR $PVM
   19070 _ACEOF
   19071 
   19072 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19073 	if test "x$PVP" = "x"; then
   19074 		PVP="0"
   19075 	fi
   19076 
   19077 cat >>confdefs.h <<_ACEOF
   19078 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   19079 _ACEOF
   19080 
   19081 
   19082 
   19083 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19084 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19085 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19086 touch \$(top_srcdir)/ChangeLog; \
   19087 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19088 
   19089 
   19090 
   19091 
   19092 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19093 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19094 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19095 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19096 touch \$(top_srcdir)/INSTALL; \
   19097 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 case $host_os in
   19105     solaris*)
   19106         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19107         # check for a man page file found in later versions that use
   19108         # traditional section numbers instead
   19109         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19110 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19111 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   19112   $as_echo_n "(cached) " >&6
   19113 else
   19114   test "$cross_compiling" = yes &&
   19115   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19116 if test -r "/usr/share/man/man7/attributes.7"; then
   19117   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19118 else
   19119   ac_cv_file__usr_share_man_man7_attributes_7=no
   19120 fi
   19121 fi
   19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19123 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19124 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   19125   SYSV_MAN_SECTIONS=false
   19126 else
   19127   SYSV_MAN_SECTIONS=true
   19128 fi
   19129 
   19130         ;;
   19131     *) SYSV_MAN_SECTIONS=false ;;
   19132 esac
   19133 
   19134 if test x$APP_MAN_SUFFIX = x    ; then
   19135     APP_MAN_SUFFIX=1
   19136 fi
   19137 if test x$APP_MAN_DIR = x    ; then
   19138     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19139 fi
   19140 
   19141 if test x$LIB_MAN_SUFFIX = x    ; then
   19142     LIB_MAN_SUFFIX=3
   19143 fi
   19144 if test x$LIB_MAN_DIR = x    ; then
   19145     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19146 fi
   19147 
   19148 if test x$FILE_MAN_SUFFIX = x    ; then
   19149     case $SYSV_MAN_SECTIONS in
   19150 	true)				FILE_MAN_SUFFIX=4  ;;
   19151 	*)				FILE_MAN_SUFFIX=5  ;;
   19152     esac
   19153 fi
   19154 if test x$FILE_MAN_DIR = x    ; then
   19155     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19156 fi
   19157 
   19158 if test x$MISC_MAN_SUFFIX = x    ; then
   19159     case $SYSV_MAN_SECTIONS in
   19160 	true)				MISC_MAN_SUFFIX=5  ;;
   19161 	*)				MISC_MAN_SUFFIX=7  ;;
   19162     esac
   19163 fi
   19164 if test x$MISC_MAN_DIR = x    ; then
   19165     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19166 fi
   19167 
   19168 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19169     case $SYSV_MAN_SECTIONS in
   19170 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19171 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19172     esac
   19173 fi
   19174 if test x$DRIVER_MAN_DIR = x    ; then
   19175     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19176 fi
   19177 
   19178 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19179     case $SYSV_MAN_SECTIONS in
   19180 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19181 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19182     esac
   19183 fi
   19184 if test x$ADMIN_MAN_DIR = x    ; then
   19185     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19186 fi
   19187 
   19188 
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 XORG_MAN_PAGE="X Version 11"
   19203 
   19204 MAN_SUBSTS="\
   19205 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19206 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19207 	-e 's|__xservername__|Xorg|g' \
   19208 	-e 's|__xconfigfile__|xorg.conf|g' \
   19209 	-e 's|__projectroot__|\$(prefix)|g' \
   19210 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19211 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19212 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19213 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19214 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19215 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19216 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19217 
   19218 
   19219 
   19220 # Check whether --enable-silent-rules was given.
   19221 if test "${enable_silent_rules+set}" = set; then :
   19222   enableval=$enable_silent_rules;
   19223 fi
   19224 
   19225 case $enable_silent_rules in # (((
   19226   yes) AM_DEFAULT_VERBOSITY=0;;
   19227    no) AM_DEFAULT_VERBOSITY=1;;
   19228     *) AM_DEFAULT_VERBOSITY=0;;
   19229 esac
   19230 am_make=${MAKE-make}
   19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19232 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   19233 if ${am_cv_make_support_nested_variables+:} false; then :
   19234   $as_echo_n "(cached) " >&6
   19235 else
   19236   if $as_echo 'TRUE=$(BAR$(V))
   19237 BAR0=false
   19238 BAR1=true
   19239 V=1
   19240 am__doit:
   19241 	@$(TRUE)
   19242 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19243   am_cv_make_support_nested_variables=yes
   19244 else
   19245   am_cv_make_support_nested_variables=no
   19246 fi
   19247 fi
   19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19249 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   19250 if test $am_cv_make_support_nested_variables = yes; then
   19251     AM_V='$(V)'
   19252   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19253 else
   19254   AM_V=$AM_DEFAULT_VERBOSITY
   19255   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19256 fi
   19257 AM_BACKSLASH='\'
   19258 
   19259 
   19260 
   19261 
   19262 # Check whether --enable-devel-docs was given.
   19263 if test "${enable_devel_docs+set}" = set; then :
   19264   enableval=$enable_devel_docs; build_devel_docs=$enableval
   19265 else
   19266   build_devel_docs=yes
   19267 fi
   19268 
   19269 
   19270  if test x$build_devel_docs = xyes; then
   19271   ENABLE_DEVEL_DOCS_TRUE=
   19272   ENABLE_DEVEL_DOCS_FALSE='#'
   19273 else
   19274   ENABLE_DEVEL_DOCS_TRUE='#'
   19275   ENABLE_DEVEL_DOCS_FALSE=
   19276 fi
   19277 
   19278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   19279 $as_echo_n "checking whether to build developer documentation... " >&6; }
   19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   19281 $as_echo "$build_devel_docs" >&6; }
   19282 
   19283 
   19284 
   19285 
   19286 
   19287 
   19288 # Check whether --with-doxygen was given.
   19289 if test "${with_doxygen+set}" = set; then :
   19290   withval=$with_doxygen; use_doxygen=$withval
   19291 else
   19292   use_doxygen=auto
   19293 fi
   19294 
   19295 
   19296 
   19297 if test "x$use_doxygen" = x"auto"; then
   19298    # Extract the first word of "doxygen", so it can be a program name with args.
   19299 set dummy doxygen; ac_word=$2
   19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19301 $as_echo_n "checking for $ac_word... " >&6; }
   19302 if ${ac_cv_path_DOXYGEN+:} false; then :
   19303   $as_echo_n "(cached) " >&6
   19304 else
   19305   case $DOXYGEN in
   19306   [\\/]* | ?:[\\/]*)
   19307   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19308   ;;
   19309   *)
   19310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19311 for as_dir in $PATH
   19312 do
   19313   IFS=$as_save_IFS
   19314   test -z "$as_dir" && as_dir=.
   19315     for ac_exec_ext in '' $ac_executable_extensions; do
   19316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19317     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19319     break 2
   19320   fi
   19321 done
   19322   done
   19323 IFS=$as_save_IFS
   19324 
   19325   ;;
   19326 esac
   19327 fi
   19328 DOXYGEN=$ac_cv_path_DOXYGEN
   19329 if test -n "$DOXYGEN"; then
   19330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19331 $as_echo "$DOXYGEN" >&6; }
   19332 else
   19333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19334 $as_echo "no" >&6; }
   19335 fi
   19336 
   19337 
   19338    if test "x$DOXYGEN" = "x"; then
   19339         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
   19340 $as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
   19341 	have_doxygen=no
   19342    else
   19343         have_doxygen=yes
   19344    fi
   19345 elif test "x$use_doxygen" = x"yes" ; then
   19346    # Extract the first word of "doxygen", so it can be a program name with args.
   19347 set dummy doxygen; ac_word=$2
   19348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19349 $as_echo_n "checking for $ac_word... " >&6; }
   19350 if ${ac_cv_path_DOXYGEN+:} false; then :
   19351   $as_echo_n "(cached) " >&6
   19352 else
   19353   case $DOXYGEN in
   19354   [\\/]* | ?:[\\/]*)
   19355   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   19356   ;;
   19357   *)
   19358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19359 for as_dir in $PATH
   19360 do
   19361   IFS=$as_save_IFS
   19362   test -z "$as_dir" && as_dir=.
   19363     for ac_exec_ext in '' $ac_executable_extensions; do
   19364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19365     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   19366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19367     break 2
   19368   fi
   19369 done
   19370   done
   19371 IFS=$as_save_IFS
   19372 
   19373   ;;
   19374 esac
   19375 fi
   19376 DOXYGEN=$ac_cv_path_DOXYGEN
   19377 if test -n "$DOXYGEN"; then
   19378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   19379 $as_echo "$DOXYGEN" >&6; }
   19380 else
   19381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19382 $as_echo "no" >&6; }
   19383 fi
   19384 
   19385 
   19386    if test "x$DOXYGEN" = "x"; then
   19387         as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
   19388    fi
   19389    have_doxygen=yes
   19390 elif test "x$use_doxygen" = x"no" ; then
   19391    if test "x$DOXYGEN" != "x"; then
   19392       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
   19393 $as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
   19394    fi
   19395    have_doxygen=no
   19396 else
   19397    as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
   19398 fi
   19399 
   19400 
   19401 HAVE_DOT=no
   19402 if test "x$have_doxygen" = "xyes"; then
   19403   # Extract the first word of "dot", so it can be a program name with args.
   19404 set dummy dot; ac_word=$2
   19405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19406 $as_echo_n "checking for $ac_word... " >&6; }
   19407 if ${ac_cv_path_DOT+:} false; then :
   19408   $as_echo_n "(cached) " >&6
   19409 else
   19410   case $DOT in
   19411   [\\/]* | ?:[\\/]*)
   19412   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   19413   ;;
   19414   *)
   19415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19416 for as_dir in $PATH
   19417 do
   19418   IFS=$as_save_IFS
   19419   test -z "$as_dir" && as_dir=.
   19420     for ac_exec_ext in '' $ac_executable_extensions; do
   19421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19422     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
   19423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19424     break 2
   19425   fi
   19426 done
   19427   done
   19428 IFS=$as_save_IFS
   19429 
   19430   ;;
   19431 esac
   19432 fi
   19433 DOT=$ac_cv_path_DOT
   19434 if test -n "$DOT"; then
   19435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   19436 $as_echo "$DOT" >&6; }
   19437 else
   19438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19439 $as_echo "no" >&6; }
   19440 fi
   19441 
   19442 
   19443     if test "x$DOT" != "x"; then
   19444       HAVE_DOT=yes
   19445     fi
   19446 fi
   19447 
   19448 
   19449  if test "$HAVE_DOT" = "yes"; then
   19450   HAVE_DOT_TRUE=
   19451   HAVE_DOT_FALSE='#'
   19452 else
   19453   HAVE_DOT_TRUE='#'
   19454   HAVE_DOT_FALSE=
   19455 fi
   19456 
   19457  if test "$have_doxygen" = yes; then
   19458   HAVE_DOXYGEN_TRUE=
   19459   HAVE_DOXYGEN_FALSE='#'
   19460 else
   19461   HAVE_DOXYGEN_TRUE='#'
   19462   HAVE_DOXYGEN_FALSE=
   19463 fi
   19464 
   19465 
   19466 
   19467 # The dot drawing tool is checked by XORG_WITH_DOXYGEN, needed for xcb manual
   19468 if test x"$HAVE_DOT" = xno; then
   19469     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - doxygen targets will be skipped" >&5
   19470 $as_echo "$as_me: WARNING: dot not found - doxygen targets will be skipped" >&2;}
   19471 fi
   19472 
   19473 
   19474 pkg_failed=no
   19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
   19476 $as_echo_n "checking for CHECK... " >&6; }
   19477 
   19478 if test -n "$CHECK_CFLAGS"; then
   19479     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
   19480  elif test -n "$PKG_CONFIG"; then
   19481     if test -n "$PKG_CONFIG" && \
   19482     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19483   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19484   ac_status=$?
   19485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19486   test $ac_status = 0; }; then
   19487   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
   19488 		      test "x$?" != "x0" && pkg_failed=yes
   19489 else
   19490   pkg_failed=yes
   19491 fi
   19492  else
   19493     pkg_failed=untried
   19494 fi
   19495 if test -n "$CHECK_LIBS"; then
   19496     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
   19497  elif test -n "$PKG_CONFIG"; then
   19498     if test -n "$PKG_CONFIG" && \
   19499     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
   19500   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
   19501   ac_status=$?
   19502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19503   test $ac_status = 0; }; then
   19504   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
   19505 		      test "x$?" != "x0" && pkg_failed=yes
   19506 else
   19507   pkg_failed=yes
   19508 fi
   19509  else
   19510     pkg_failed=untried
   19511 fi
   19512 
   19513 
   19514 
   19515 if test $pkg_failed = yes; then
   19516    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19517 $as_echo "no" >&6; }
   19518 
   19519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19520         _pkg_short_errors_supported=yes
   19521 else
   19522         _pkg_short_errors_supported=no
   19523 fi
   19524         if test $_pkg_short_errors_supported = yes; then
   19525 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19526         else
   19527 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
   19528         fi
   19529 	# Put the nasty error message in config.log where it belongs
   19530 	echo "$CHECK_PKG_ERRORS" >&5
   19531 
   19532 	HAVE_CHECK=no
   19533 elif test $pkg_failed = untried; then
   19534      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19535 $as_echo "no" >&6; }
   19536 	HAVE_CHECK=no
   19537 else
   19538 	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
   19539 	CHECK_LIBS=$pkg_cv_CHECK_LIBS
   19540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19541 $as_echo "yes" >&6; }
   19542 	HAVE_CHECK=yes
   19543 fi
   19544  if test x$HAVE_CHECK = xyes; then
   19545   HAVE_CHECK_TRUE=
   19546   HAVE_CHECK_FALSE='#'
   19547 else
   19548   HAVE_CHECK_TRUE='#'
   19549   HAVE_CHECK_FALSE=
   19550 fi
   19551 
   19552 
   19553 XSLTPROC=no
   19554 HTML_CHECK_RESULT=no
   19555 if test x"$HAVE_CHECK" = xyes; then
   19556         # Extract the first word of "xsltproc", so it can be a program name with args.
   19557 set dummy xsltproc; ac_word=$2
   19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19559 $as_echo_n "checking for $ac_word... " >&6; }
   19560 if ${ac_cv_path_XSLTPROC+:} false; then :
   19561   $as_echo_n "(cached) " >&6
   19562 else
   19563   case $XSLTPROC in
   19564   [\\/]* | ?:[\\/]*)
   19565   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19566   ;;
   19567   *)
   19568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19569 for as_dir in $PATH
   19570 do
   19571   IFS=$as_save_IFS
   19572   test -z "$as_dir" && as_dir=.
   19573     for ac_exec_ext in '' $ac_executable_extensions; do
   19574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19575     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   19576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19577     break 2
   19578   fi
   19579 done
   19580   done
   19581 IFS=$as_save_IFS
   19582 
   19583   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
   19584   ;;
   19585 esac
   19586 fi
   19587 XSLTPROC=$ac_cv_path_XSLTPROC
   19588 if test -n "$XSLTPROC"; then
   19589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19590 $as_echo "$XSLTPROC" >&6; }
   19591 else
   19592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19593 $as_echo "no" >&6; }
   19594 fi
   19595 
   19596 
   19597         if test x"$XSLTPROC" != xno; then
   19598                 HTML_CHECK_RESULT=yes
   19599         fi
   19600 fi
   19601 
   19602 
   19603 # Checks for pkg-config packages
   19604 
   19605 pkg_failed=no
   19606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
   19607 $as_echo_n "checking for XCBPROTO... " >&6; }
   19608 
   19609 if test -n "$XCBPROTO_CFLAGS"; then
   19610     pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
   19611  elif test -n "$PKG_CONFIG"; then
   19612     if test -n "$PKG_CONFIG" && \
   19613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.14\""; } >&5
   19614   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.14") 2>&5
   19615   ac_status=$?
   19616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19617   test $ac_status = 0; }; then
   19618   pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.14" 2>/dev/null`
   19619 		      test "x$?" != "x0" && pkg_failed=yes
   19620 else
   19621   pkg_failed=yes
   19622 fi
   19623  else
   19624     pkg_failed=untried
   19625 fi
   19626 if test -n "$XCBPROTO_LIBS"; then
   19627     pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
   19628  elif test -n "$PKG_CONFIG"; then
   19629     if test -n "$PKG_CONFIG" && \
   19630     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.14\""; } >&5
   19631   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.14") 2>&5
   19632   ac_status=$?
   19633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19634   test $ac_status = 0; }; then
   19635   pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.14" 2>/dev/null`
   19636 		      test "x$?" != "x0" && pkg_failed=yes
   19637 else
   19638   pkg_failed=yes
   19639 fi
   19640  else
   19641     pkg_failed=untried
   19642 fi
   19643 
   19644 
   19645 
   19646 if test $pkg_failed = yes; then
   19647    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19648 $as_echo "no" >&6; }
   19649 
   19650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19651         _pkg_short_errors_supported=yes
   19652 else
   19653         _pkg_short_errors_supported=no
   19654 fi
   19655         if test $_pkg_short_errors_supported = yes; then
   19656 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.14" 2>&1`
   19657         else
   19658 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.14" 2>&1`
   19659         fi
   19660 	# Put the nasty error message in config.log where it belongs
   19661 	echo "$XCBPROTO_PKG_ERRORS" >&5
   19662 
   19663 	as_fn_error $? "Package requirements (xcb-proto >= 1.14) were not met:
   19664 
   19665 $XCBPROTO_PKG_ERRORS
   19666 
   19667 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19668 installed software in a non-standard prefix.
   19669 
   19670 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19671 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19672 See the pkg-config man page for more details." "$LINENO" 5
   19673 elif test $pkg_failed = untried; then
   19674      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19675 $as_echo "no" >&6; }
   19676 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19678 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19679 is in your PATH or set the PKG_CONFIG environment variable to the full
   19680 path to pkg-config.
   19681 
   19682 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   19683 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   19684 See the pkg-config man page for more details.
   19685 
   19686 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19687 See \`config.log' for more details" "$LINENO" 5; }
   19688 else
   19689 	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
   19690 	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
   19691         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19692 $as_echo "yes" >&6; }
   19693 
   19694 fi
   19695 NEEDED="xau >= 0.99.2"
   19696 case $host_os in
   19697 linux*) ;;
   19698      *) NEEDED="$NEEDED pthread-stubs" ;;
   19699 esac
   19700 
   19701 pkg_failed=no
   19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
   19703 $as_echo_n "checking for NEEDED... " >&6; }
   19704 
   19705 if test -n "$NEEDED_CFLAGS"; then
   19706     pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
   19707  elif test -n "$PKG_CONFIG"; then
   19708     if test -n "$PKG_CONFIG" && \
   19709     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19710   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19711   ac_status=$?
   19712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19713   test $ac_status = 0; }; then
   19714   pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
   19715 		      test "x$?" != "x0" && pkg_failed=yes
   19716 else
   19717   pkg_failed=yes
   19718 fi
   19719  else
   19720     pkg_failed=untried
   19721 fi
   19722 if test -n "$NEEDED_LIBS"; then
   19723     pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
   19724  elif test -n "$PKG_CONFIG"; then
   19725     if test -n "$PKG_CONFIG" && \
   19726     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   19727   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   19728   ac_status=$?
   19729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19730   test $ac_status = 0; }; then
   19731   pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
   19732 		      test "x$?" != "x0" && pkg_failed=yes
   19733 else
   19734   pkg_failed=yes
   19735 fi
   19736  else
   19737     pkg_failed=untried
   19738 fi
   19739 
   19740 
   19741 
   19742 if test $pkg_failed = yes; then
   19743    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19744 $as_echo "no" >&6; }
   19745 
   19746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19747         _pkg_short_errors_supported=yes
   19748 else
   19749         _pkg_short_errors_supported=no
   19750 fi
   19751         if test $_pkg_short_errors_supported = yes; then
   19752 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
   19753         else
   19754 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
   19755         fi
   19756 	# Put the nasty error message in config.log where it belongs
   19757 	echo "$NEEDED_PKG_ERRORS" >&5
   19758 
   19759 	as_fn_error $? "Package requirements ($NEEDED) were not met:
   19760 
   19761 $NEEDED_PKG_ERRORS
   19762 
   19763 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19764 installed software in a non-standard prefix.
   19765 
   19766 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19767 and NEEDED_LIBS to avoid the need to call pkg-config.
   19768 See the pkg-config man page for more details." "$LINENO" 5
   19769 elif test $pkg_failed = untried; then
   19770      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19771 $as_echo "no" >&6; }
   19772 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19774 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19775 is in your PATH or set the PKG_CONFIG environment variable to the full
   19776 path to pkg-config.
   19777 
   19778 Alternatively, you may set the environment variables NEEDED_CFLAGS
   19779 and NEEDED_LIBS to avoid the need to call pkg-config.
   19780 See the pkg-config man page for more details.
   19781 
   19782 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19783 See \`config.log' for more details" "$LINENO" 5; }
   19784 else
   19785 	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
   19786 	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
   19787         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19788 $as_echo "yes" >&6; }
   19789 
   19790 fi
   19791 
   19792 have_xdmcp="no"
   19793 
   19794 pkg_failed=no
   19795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   19796 $as_echo_n "checking for XDMCP... " >&6; }
   19797 
   19798 if test -n "$XDMCP_CFLAGS"; then
   19799     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   19800  elif test -n "$PKG_CONFIG"; then
   19801     if test -n "$PKG_CONFIG" && \
   19802     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19803   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19804   ac_status=$?
   19805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19806   test $ac_status = 0; }; then
   19807   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   19808 		      test "x$?" != "x0" && pkg_failed=yes
   19809 else
   19810   pkg_failed=yes
   19811 fi
   19812  else
   19813     pkg_failed=untried
   19814 fi
   19815 if test -n "$XDMCP_LIBS"; then
   19816     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   19817  elif test -n "$PKG_CONFIG"; then
   19818     if test -n "$PKG_CONFIG" && \
   19819     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19820   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19821   ac_status=$?
   19822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19823   test $ac_status = 0; }; then
   19824   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   19825 		      test "x$?" != "x0" && pkg_failed=yes
   19826 else
   19827   pkg_failed=yes
   19828 fi
   19829  else
   19830     pkg_failed=untried
   19831 fi
   19832 
   19833 
   19834 
   19835 if test $pkg_failed = yes; then
   19836    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19837 $as_echo "no" >&6; }
   19838 
   19839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19840         _pkg_short_errors_supported=yes
   19841 else
   19842         _pkg_short_errors_supported=no
   19843 fi
   19844         if test $_pkg_short_errors_supported = yes; then
   19845 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   19846         else
   19847 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   19848         fi
   19849 	# Put the nasty error message in config.log where it belongs
   19850 	echo "$XDMCP_PKG_ERRORS" >&5
   19851 
   19852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19853 $as_echo "no" >&6; }
   19854 elif test $pkg_failed = untried; then
   19855      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19856 $as_echo "no" >&6; }
   19857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19858 $as_echo "no" >&6; }
   19859 else
   19860 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19861 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19863 $as_echo "yes" >&6; }
   19864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   19865 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
   19866 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
   19867   $as_echo_n "(cached) " >&6
   19868 else
   19869   ac_check_lib_save_LIBS=$LIBS
   19870 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19872 /* end confdefs.h.  */
   19873 
   19874 /* Override any GCC internal prototype to avoid an error.
   19875    Use char because int might match the return type of a GCC
   19876    builtin and then its argument prototype would still apply.  */
   19877 #ifdef __cplusplus
   19878 extern "C"
   19879 #endif
   19880 char XdmcpWrap ();
   19881 int
   19882 main ()
   19883 {
   19884 return XdmcpWrap ();
   19885   ;
   19886   return 0;
   19887 }
   19888 _ACEOF
   19889 if ac_fn_c_try_link "$LINENO"; then :
   19890   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   19891 else
   19892   ac_cv_lib_Xdmcp_XdmcpWrap=no
   19893 fi
   19894 rm -f core conftest.err conftest.$ac_objext \
   19895     conftest$ac_exeext conftest.$ac_ext
   19896 LIBS=$ac_check_lib_save_LIBS
   19897 fi
   19898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   19899 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   19900 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
   19901 
   19902 
   19903 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   19904 
   19905                 NEEDED="$NEEDED xdmcp"
   19906                 have_xdmcp="yes"
   19907 
   19908 else
   19909 
   19910                 XDMCP_CFLAGS=
   19911                 XDMCP_LIBS=
   19912 
   19913 fi
   19914 
   19915 fi
   19916 
   19917 
   19918 
   19919 # Find the xcb-proto protocol descriptions
   19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
   19921 $as_echo_n "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
   19922 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
   19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
   19924 $as_echo "$XCBPROTO_XCBINCLUDEDIR" >&6; }
   19925 
   19926 
   19927 # Find the xcb-proto version
   19928 XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
   19929 
   19930 
   19931 # Find the xcbgen Python package
   19932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
   19933 $as_echo_n "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
   19934 XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
   19935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
   19936 $as_echo "$XCBPROTO_XCBPYTHONDIR" >&6; }
   19937 
   19938 
   19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   19940 $as_echo_n "checking for ANSI C header files... " >&6; }
   19941 if ${ac_cv_header_stdc+:} false; then :
   19942   $as_echo_n "(cached) " >&6
   19943 else
   19944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19945 /* end confdefs.h.  */
   19946 #include <stdlib.h>
   19947 #include <stdarg.h>
   19948 #include <string.h>
   19949 #include <float.h>
   19950 
   19951 int
   19952 main ()
   19953 {
   19954 
   19955   ;
   19956   return 0;
   19957 }
   19958 _ACEOF
   19959 if ac_fn_c_try_compile "$LINENO"; then :
   19960   ac_cv_header_stdc=yes
   19961 else
   19962   ac_cv_header_stdc=no
   19963 fi
   19964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19965 
   19966 if test $ac_cv_header_stdc = yes; then
   19967   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   19968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19969 /* end confdefs.h.  */
   19970 #include <string.h>
   19971 
   19972 _ACEOF
   19973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19974   $EGREP "memchr" >/dev/null 2>&1; then :
   19975 
   19976 else
   19977   ac_cv_header_stdc=no
   19978 fi
   19979 rm -f conftest*
   19980 
   19981 fi
   19982 
   19983 if test $ac_cv_header_stdc = yes; then
   19984   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   19985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19986 /* end confdefs.h.  */
   19987 #include <stdlib.h>
   19988 
   19989 _ACEOF
   19990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   19991   $EGREP "free" >/dev/null 2>&1; then :
   19992 
   19993 else
   19994   ac_cv_header_stdc=no
   19995 fi
   19996 rm -f conftest*
   19997 
   19998 fi
   19999 
   20000 if test $ac_cv_header_stdc = yes; then
   20001   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20002   if test "$cross_compiling" = yes; then :
   20003   :
   20004 else
   20005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20006 /* end confdefs.h.  */
   20007 #include <ctype.h>
   20008 #include <stdlib.h>
   20009 #if ((' ' & 0x0FF) == 0x020)
   20010 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20011 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20012 #else
   20013 # define ISLOWER(c) \
   20014 		   (('a' <= (c) && (c) <= 'i') \
   20015 		     || ('j' <= (c) && (c) <= 'r') \
   20016 		     || ('s' <= (c) && (c) <= 'z'))
   20017 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20018 #endif
   20019 
   20020 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20021 int
   20022 main ()
   20023 {
   20024   int i;
   20025   for (i = 0; i < 256; i++)
   20026     if (XOR (islower (i), ISLOWER (i))
   20027 	|| toupper (i) != TOUPPER (i))
   20028       return 2;
   20029   return 0;
   20030 }
   20031 _ACEOF
   20032 if ac_fn_c_try_run "$LINENO"; then :
   20033 
   20034 else
   20035   ac_cv_header_stdc=no
   20036 fi
   20037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20038   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20039 fi
   20040 
   20041 fi
   20042 fi
   20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   20044 $as_echo "$ac_cv_header_stdc" >&6; }
   20045 if test $ac_cv_header_stdc = yes; then
   20046 
   20047 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   20048 
   20049 fi
   20050 
   20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
   20052 $as_echo_n "checking for library containing getaddrinfo... " >&6; }
   20053 if ${ac_cv_search_getaddrinfo+:} false; then :
   20054   $as_echo_n "(cached) " >&6
   20055 else
   20056   ac_func_search_save_LIBS=$LIBS
   20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20058 /* end confdefs.h.  */
   20059 
   20060 /* Override any GCC internal prototype to avoid an error.
   20061    Use char because int might match the return type of a GCC
   20062    builtin and then its argument prototype would still apply.  */
   20063 #ifdef __cplusplus
   20064 extern "C"
   20065 #endif
   20066 char getaddrinfo ();
   20067 int
   20068 main ()
   20069 {
   20070 return getaddrinfo ();
   20071   ;
   20072   return 0;
   20073 }
   20074 _ACEOF
   20075 for ac_lib in '' socket; do
   20076   if test -z "$ac_lib"; then
   20077     ac_res="none required"
   20078   else
   20079     ac_res=-l$ac_lib
   20080     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20081   fi
   20082   if ac_fn_c_try_link "$LINENO"; then :
   20083   ac_cv_search_getaddrinfo=$ac_res
   20084 fi
   20085 rm -f core conftest.err conftest.$ac_objext \
   20086     conftest$ac_exeext
   20087   if ${ac_cv_search_getaddrinfo+:} false; then :
   20088   break
   20089 fi
   20090 done
   20091 if ${ac_cv_search_getaddrinfo+:} false; then :
   20092 
   20093 else
   20094   ac_cv_search_getaddrinfo=no
   20095 fi
   20096 rm conftest.$ac_ext
   20097 LIBS=$ac_func_search_save_LIBS
   20098 fi
   20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
   20100 $as_echo "$ac_cv_search_getaddrinfo" >&6; }
   20101 ac_res=$ac_cv_search_getaddrinfo
   20102 if test "$ac_res" != no; then :
   20103   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20104 
   20105 fi
   20106 
   20107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   20108 $as_echo_n "checking for library containing connect... " >&6; }
   20109 if ${ac_cv_search_connect+:} false; then :
   20110   $as_echo_n "(cached) " >&6
   20111 else
   20112   ac_func_search_save_LIBS=$LIBS
   20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20114 /* end confdefs.h.  */
   20115 
   20116 /* Override any GCC internal prototype to avoid an error.
   20117    Use char because int might match the return type of a GCC
   20118    builtin and then its argument prototype would still apply.  */
   20119 #ifdef __cplusplus
   20120 extern "C"
   20121 #endif
   20122 char connect ();
   20123 int
   20124 main ()
   20125 {
   20126 return connect ();
   20127   ;
   20128   return 0;
   20129 }
   20130 _ACEOF
   20131 for ac_lib in '' socket; do
   20132   if test -z "$ac_lib"; then
   20133     ac_res="none required"
   20134   else
   20135     ac_res=-l$ac_lib
   20136     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20137   fi
   20138   if ac_fn_c_try_link "$LINENO"; then :
   20139   ac_cv_search_connect=$ac_res
   20140 fi
   20141 rm -f core conftest.err conftest.$ac_objext \
   20142     conftest$ac_exeext
   20143   if ${ac_cv_search_connect+:} false; then :
   20144   break
   20145 fi
   20146 done
   20147 if ${ac_cv_search_connect+:} false; then :
   20148 
   20149 else
   20150   ac_cv_search_connect=no
   20151 fi
   20152 rm conftest.$ac_ext
   20153 LIBS=$ac_func_search_save_LIBS
   20154 fi
   20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   20156 $as_echo "$ac_cv_search_connect" >&6; }
   20157 ac_res=$ac_cv_search_connect
   20158 if test "$ac_res" != no; then :
   20159   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20160 
   20161 fi
   20162 
   20163 
   20164 # Find support for sending a message from a socket
   20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
   20166 $as_echo_n "checking for library containing sendmsg... " >&6; }
   20167 if ${ac_cv_search_sendmsg+:} false; then :
   20168   $as_echo_n "(cached) " >&6
   20169 else
   20170   ac_func_search_save_LIBS=$LIBS
   20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20172 /* end confdefs.h.  */
   20173 
   20174 /* Override any GCC internal prototype to avoid an error.
   20175    Use char because int might match the return type of a GCC
   20176    builtin and then its argument prototype would still apply.  */
   20177 #ifdef __cplusplus
   20178 extern "C"
   20179 #endif
   20180 char sendmsg ();
   20181 int
   20182 main ()
   20183 {
   20184 return sendmsg ();
   20185   ;
   20186   return 0;
   20187 }
   20188 _ACEOF
   20189 for ac_lib in '' socket; do
   20190   if test -z "$ac_lib"; then
   20191     ac_res="none required"
   20192   else
   20193     ac_res=-l$ac_lib
   20194     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20195   fi
   20196   if ac_fn_c_try_link "$LINENO"; then :
   20197   ac_cv_search_sendmsg=$ac_res
   20198 fi
   20199 rm -f core conftest.err conftest.$ac_objext \
   20200     conftest$ac_exeext
   20201   if ${ac_cv_search_sendmsg+:} false; then :
   20202   break
   20203 fi
   20204 done
   20205 if ${ac_cv_search_sendmsg+:} false; then :
   20206 
   20207 else
   20208   ac_cv_search_sendmsg=no
   20209 fi
   20210 rm conftest.$ac_ext
   20211 LIBS=$ac_func_search_save_LIBS
   20212 fi
   20213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
   20214 $as_echo "$ac_cv_search_sendmsg" >&6; }
   20215 ac_res=$ac_cv_search_sendmsg
   20216 if test "$ac_res" != no; then :
   20217   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20218   have_sendmsg="yes"
   20219 else
   20220   have_sendmsg="no"
   20221 fi
   20222 
   20223 
   20224 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20225 # _XOPEN_SOURCE to get it (such as on Solaris)
   20226 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20227 $ac_includes_default
   20228 #include <sys/socket.h>
   20229 
   20230 "
   20231 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20232 
   20233 fi
   20234 
   20235 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20236 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20237     unset ac_cv_member_struct_msghdr_msg_control
   20238     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20239 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20240     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20241 #define _XOPEN_SOURCE 600
   20242 $ac_includes_default
   20243 #include <sys/socket.h>
   20244 
   20245 "
   20246 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20247 
   20248 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   20249 
   20250 
   20251 fi
   20252 
   20253 fi
   20254 # If that didn't work, fall back to XPG5/UNIX98 with C89
   20255 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20256     unset ac_cv_member_struct_msghdr_msg_control
   20257     { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20258 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20259     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20260 #define _XOPEN_SOURCE 500
   20261 $ac_includes_default
   20262 #include <sys/socket.h>
   20263 
   20264 "
   20265 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   20266 
   20267 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   20268 
   20269 
   20270 else
   20271   have_sendmsg="no"
   20272 fi
   20273 
   20274 fi
   20275 
   20276 case x$have_sendmsg in
   20277 xyes)
   20278 
   20279 $as_echo "#define HAVE_SENDMSG 1" >>confdefs.h
   20280 
   20281         ;;
   20282 esac
   20283 
   20284 have_win32="no"
   20285 lt_enable_auto_import=""
   20286 case $host_os in
   20287 mingw*)
   20288         have_win32="yes"
   20289         lt_enable_auto_import="-Wl,--enable-auto-import"
   20290         ;;
   20291 linux*)
   20292 
   20293 $as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
   20294 
   20295         ;;
   20296 esac
   20297 
   20298 
   20299  if test "x${have_win32}" = "xyes"; then
   20300   XCB_HAVE_WIN32_TRUE=
   20301   XCB_HAVE_WIN32_FALSE='#'
   20302 else
   20303   XCB_HAVE_WIN32_TRUE='#'
   20304   XCB_HAVE_WIN32_FALSE=
   20305 fi
   20306 
   20307 
   20308 
   20309 # Check whether --with-queue-size was given.
   20310 if test "${with_queue_size+set}" = set; then :
   20311   withval=$with_queue_size; xcb_queue_buffer_size="$withval"
   20312 else
   20313   xcb_queue_buffer_size=16384
   20314 fi
   20315 
   20316 
   20317 cat >>confdefs.h <<_ACEOF
   20318 #define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size
   20319 _ACEOF
   20320 
   20321 
   20322 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
   20323                   #include <sys/un.h>
   20324 
   20325 "
   20326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
   20327 
   20328 $as_echo "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
   20329 
   20330 fi
   20331 
   20332 
   20333 for ac_header in tsol/label.h
   20334 do :
   20335   ac_fn_c_check_header_mongrel "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
   20336 if test "x$ac_cv_header_tsol_label_h" = xyes; then :
   20337   cat >>confdefs.h <<_ACEOF
   20338 #define HAVE_TSOL_LABEL_H 1
   20339 _ACEOF
   20340 
   20341 fi
   20342 
   20343 done
   20344 
   20345 for ac_func in is_system_labeled
   20346 do :
   20347   ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
   20348 if test "x$ac_cv_func_is_system_labeled" = xyes; then :
   20349   cat >>confdefs.h <<_ACEOF
   20350 #define HAVE_IS_SYSTEM_LABELED 1
   20351 _ACEOF
   20352 
   20353 fi
   20354 done
   20355 
   20356 
   20357 ac_fn_c_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
   20358 "
   20359 if test "x$ac_cv_have_decl_IOV_MAX" = xyes; then :
   20360 
   20361 else
   20362   ac_fn_c_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
   20363 "
   20364 if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes; then :
   20365   $as_echo "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
   20366 
   20367 else
   20368 
   20369 $as_echo "#define IOV_MAX 16" >>confdefs.h
   20370 
   20371 fi
   20372 
   20373 fi
   20374 
   20375 
   20376 xcbincludedir='${includedir}/xcb'
   20377 
   20378 
   20379 
   20380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
   20381 $as_echo_n "checking whether ${CC} supports symbol visibility... " >&6; }
   20382 
   20383 save_CFLAGS=${CFLAGS}
   20384 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
   20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20386 /* end confdefs.h.  */
   20387 
   20388 #pragma GCC visibility push(hidden)
   20389 extern void f(int);
   20390 #pragma GCC visibility pop
   20391 
   20392 int
   20393 main ()
   20394 {
   20395 
   20396 
   20397   ;
   20398   return 0;
   20399 }
   20400 _ACEOF
   20401 if ac_fn_c_try_compile "$LINENO"; then :
   20402 
   20403 $as_echo "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
   20404 
   20405     :
   20406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20407 $as_echo "yes" >&6; }
   20408 else
   20409   :
   20410     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20411 $as_echo "no" >&6; }
   20412 fi
   20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20414 
   20415 CFLAGS=${save_CFLAGS}
   20416 
   20417 
   20418 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20419 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   20420 
   20421 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
   20422 
   20423 fi
   20424 
   20425 
   20426 case $host_os in
   20427         # darwin through Snow Leopard has poll() but can't be used to poll character devices.
   20428         darwin[789]*|darwin10*) ;;
   20429         darwin*)
   20430                 _ac_xorg_macosx_version_min=""
   20431                 if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   20432                         _ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   20433                 else
   20434                         _ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   20435                 fi
   20436                 case $_ac_xorg_macosx_version_min in
   20437                         10.[0123456]|10.[0123456].*) ;;
   20438                         *)
   20439                                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20440 if test "x$ac_cv_func_poll" = xyes; then :
   20441 
   20442 $as_echo "#define USE_POLL 1" >>confdefs.h
   20443 
   20444 fi
   20445 
   20446                         ;;
   20447                 esac
   20448                 unset _ac_xorg_macosx_version_min
   20449                 ;;
   20450         *)
   20451                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   20452 if test "x$ac_cv_func_poll" = xyes; then :
   20453 
   20454 $as_echo "#define USE_POLL 1" >>confdefs.h
   20455 
   20456 fi
   20457 
   20458         ;;
   20459 esac
   20460 
   20461 case $host_os in
   20462         *mingw*)
   20463                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20464 $as_echo_n "checking for main in -lws2_32... " >&6; }
   20465 if ${ac_cv_lib_ws2_32_main+:} false; then :
   20466   $as_echo_n "(cached) " >&6
   20467 else
   20468   ac_check_lib_save_LIBS=$LIBS
   20469 LIBS="-lws2_32  $LIBS"
   20470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20471 /* end confdefs.h.  */
   20472 
   20473 
   20474 int
   20475 main ()
   20476 {
   20477 return main ();
   20478   ;
   20479   return 0;
   20480 }
   20481 _ACEOF
   20482 if ac_fn_c_try_link "$LINENO"; then :
   20483   ac_cv_lib_ws2_32_main=yes
   20484 else
   20485   ac_cv_lib_ws2_32_main=no
   20486 fi
   20487 rm -f core conftest.err conftest.$ac_objext \
   20488     conftest$ac_exeext conftest.$ac_ext
   20489 LIBS=$ac_check_lib_save_LIBS
   20490 fi
   20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20492 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   20493 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   20494   cat >>confdefs.h <<_ACEOF
   20495 #define HAVE_LIBWS2_32 1
   20496 _ACEOF
   20497 
   20498   LIBS="-lws2_32 $LIBS"
   20499 
   20500 fi
   20501 
   20502                 ;;
   20503         *)
   20504                 ;;
   20505 esac
   20506 
   20507 
   20508 # Check whether --enable-composite was given.
   20509 if test "${enable_composite+set}" = set; then :
   20510   enableval=$enable_composite; BUILD_COMPOSITE=$enableval
   20511 else
   20512   BUILD_COMPOSITE=yes
   20513 fi
   20514 
   20515 
   20516 
   20517  if test "x$BUILD_COMPOSITE" = "xyes"; then
   20518   BUILD_COMPOSITE_TRUE=
   20519   BUILD_COMPOSITE_FALSE='#'
   20520 else
   20521   BUILD_COMPOSITE_TRUE='#'
   20522   BUILD_COMPOSITE_FALSE=
   20523 fi
   20524 
   20525 
   20526 
   20527 # Check whether --enable-damage was given.
   20528 if test "${enable_damage+set}" = set; then :
   20529   enableval=$enable_damage; BUILD_DAMAGE=$enableval
   20530 else
   20531   BUILD_DAMAGE=yes
   20532 fi
   20533 
   20534 
   20535 
   20536  if test "x$BUILD_DAMAGE" = "xyes"; then
   20537   BUILD_DAMAGE_TRUE=
   20538   BUILD_DAMAGE_FALSE='#'
   20539 else
   20540   BUILD_DAMAGE_TRUE='#'
   20541   BUILD_DAMAGE_FALSE=
   20542 fi
   20543 
   20544 
   20545 
   20546 # Check whether --enable-dpms was given.
   20547 if test "${enable_dpms+set}" = set; then :
   20548   enableval=$enable_dpms; BUILD_DPMS=$enableval
   20549 else
   20550   BUILD_DPMS=yes
   20551 fi
   20552 
   20553 
   20554 
   20555  if test "x$BUILD_DPMS" = "xyes"; then
   20556   BUILD_DPMS_TRUE=
   20557   BUILD_DPMS_FALSE='#'
   20558 else
   20559   BUILD_DPMS_TRUE='#'
   20560   BUILD_DPMS_FALSE=
   20561 fi
   20562 
   20563 
   20564 
   20565 # Check whether --enable-dri2 was given.
   20566 if test "${enable_dri2+set}" = set; then :
   20567   enableval=$enable_dri2; BUILD_DRI2=$enableval
   20568 else
   20569   BUILD_DRI2=yes
   20570 fi
   20571 
   20572 
   20573 
   20574  if test "x$BUILD_DRI2" = "xyes"; then
   20575   BUILD_DRI2_TRUE=
   20576   BUILD_DRI2_FALSE='#'
   20577 else
   20578   BUILD_DRI2_TRUE='#'
   20579   BUILD_DRI2_FALSE=
   20580 fi
   20581 
   20582 
   20583 
   20584 # Check whether --enable-dri3 was given.
   20585 if test "${enable_dri3+set}" = set; then :
   20586   enableval=$enable_dri3; BUILD_DRI3=$enableval
   20587 else
   20588   BUILD_DRI3=auto
   20589 fi
   20590 
   20591 
   20592 # This extension has a default value of "auto" and depends on the value of $have_sendmsg
   20593 if test "x$BUILD_DRI3" = "xauto" ; then
   20594     BUILD_DRI3=$have_sendmsg
   20595 fi
   20596 if test "x$BUILD_DRI3" = "xyes" ; then
   20597     if test "x$have_sendmsg" = "xno" ; then
   20598       as_fn_error $? "Extension DRI3 requested, but dependencies are not met" "$LINENO" 5
   20599     fi
   20600 fi
   20601 
   20602  if test "x$BUILD_DRI3" = "xyes"; then
   20603   BUILD_DRI3_TRUE=
   20604   BUILD_DRI3_FALSE='#'
   20605 else
   20606   BUILD_DRI3_TRUE='#'
   20607   BUILD_DRI3_FALSE=
   20608 fi
   20609 
   20610 
   20611 
   20612 # Check whether --enable-ge was given.
   20613 if test "${enable_ge+set}" = set; then :
   20614   enableval=$enable_ge; BUILD_GE=$enableval
   20615 else
   20616   BUILD_GE=no
   20617 fi
   20618 
   20619 
   20620 
   20621  if test "x$BUILD_GE" = "xyes"; then
   20622   BUILD_GE_TRUE=
   20623   BUILD_GE_FALSE='#'
   20624 else
   20625   BUILD_GE_TRUE='#'
   20626   BUILD_GE_FALSE=
   20627 fi
   20628 
   20629 
   20630 
   20631 # Check whether --enable-glx was given.
   20632 if test "${enable_glx+set}" = set; then :
   20633   enableval=$enable_glx; BUILD_GLX=$enableval
   20634 else
   20635   BUILD_GLX=yes
   20636 fi
   20637 
   20638 
   20639 
   20640  if test "x$BUILD_GLX" = "xyes"; then
   20641   BUILD_GLX_TRUE=
   20642   BUILD_GLX_FALSE='#'
   20643 else
   20644   BUILD_GLX_TRUE='#'
   20645   BUILD_GLX_FALSE=
   20646 fi
   20647 
   20648 
   20649 
   20650 # Check whether --enable-present was given.
   20651 if test "${enable_present+set}" = set; then :
   20652   enableval=$enable_present; BUILD_PRESENT=$enableval
   20653 else
   20654   BUILD_PRESENT=yes
   20655 fi
   20656 
   20657 
   20658 
   20659  if test "x$BUILD_PRESENT" = "xyes"; then
   20660   BUILD_PRESENT_TRUE=
   20661   BUILD_PRESENT_FALSE='#'
   20662 else
   20663   BUILD_PRESENT_TRUE='#'
   20664   BUILD_PRESENT_FALSE=
   20665 fi
   20666 
   20667 
   20668 
   20669 # Check whether --enable-randr was given.
   20670 if test "${enable_randr+set}" = set; then :
   20671   enableval=$enable_randr; BUILD_RANDR=$enableval
   20672 else
   20673   BUILD_RANDR=yes
   20674 fi
   20675 
   20676 
   20677 
   20678  if test "x$BUILD_RANDR" = "xyes"; then
   20679   BUILD_RANDR_TRUE=
   20680   BUILD_RANDR_FALSE='#'
   20681 else
   20682   BUILD_RANDR_TRUE='#'
   20683   BUILD_RANDR_FALSE=
   20684 fi
   20685 
   20686 
   20687 
   20688 # Check whether --enable-record was given.
   20689 if test "${enable_record+set}" = set; then :
   20690   enableval=$enable_record; BUILD_RECORD=$enableval
   20691 else
   20692   BUILD_RECORD=yes
   20693 fi
   20694 
   20695 
   20696 
   20697  if test "x$BUILD_RECORD" = "xyes"; then
   20698   BUILD_RECORD_TRUE=
   20699   BUILD_RECORD_FALSE='#'
   20700 else
   20701   BUILD_RECORD_TRUE='#'
   20702   BUILD_RECORD_FALSE=
   20703 fi
   20704 
   20705 
   20706 
   20707 # Check whether --enable-render was given.
   20708 if test "${enable_render+set}" = set; then :
   20709   enableval=$enable_render; BUILD_RENDER=$enableval
   20710 else
   20711   BUILD_RENDER=yes
   20712 fi
   20713 
   20714 
   20715 
   20716  if test "x$BUILD_RENDER" = "xyes"; then
   20717   BUILD_RENDER_TRUE=
   20718   BUILD_RENDER_FALSE='#'
   20719 else
   20720   BUILD_RENDER_TRUE='#'
   20721   BUILD_RENDER_FALSE=
   20722 fi
   20723 
   20724 
   20725 
   20726 # Check whether --enable-resource was given.
   20727 if test "${enable_resource+set}" = set; then :
   20728   enableval=$enable_resource; BUILD_RESOURCE=$enableval
   20729 else
   20730   BUILD_RESOURCE=yes
   20731 fi
   20732 
   20733 
   20734 
   20735  if test "x$BUILD_RESOURCE" = "xyes"; then
   20736   BUILD_RESOURCE_TRUE=
   20737   BUILD_RESOURCE_FALSE='#'
   20738 else
   20739   BUILD_RESOURCE_TRUE='#'
   20740   BUILD_RESOURCE_FALSE=
   20741 fi
   20742 
   20743 
   20744 
   20745 # Check whether --enable-screensaver was given.
   20746 if test "${enable_screensaver+set}" = set; then :
   20747   enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
   20748 else
   20749   BUILD_SCREENSAVER=yes
   20750 fi
   20751 
   20752 
   20753 
   20754  if test "x$BUILD_SCREENSAVER" = "xyes"; then
   20755   BUILD_SCREENSAVER_TRUE=
   20756   BUILD_SCREENSAVER_FALSE='#'
   20757 else
   20758   BUILD_SCREENSAVER_TRUE='#'
   20759   BUILD_SCREENSAVER_FALSE=
   20760 fi
   20761 
   20762 
   20763 
   20764 # Check whether --enable-shape was given.
   20765 if test "${enable_shape+set}" = set; then :
   20766   enableval=$enable_shape; BUILD_SHAPE=$enableval
   20767 else
   20768   BUILD_SHAPE=yes
   20769 fi
   20770 
   20771 
   20772 
   20773  if test "x$BUILD_SHAPE" = "xyes"; then
   20774   BUILD_SHAPE_TRUE=
   20775   BUILD_SHAPE_FALSE='#'
   20776 else
   20777   BUILD_SHAPE_TRUE='#'
   20778   BUILD_SHAPE_FALSE=
   20779 fi
   20780 
   20781 
   20782 
   20783 # Check whether --enable-shm was given.
   20784 if test "${enable_shm+set}" = set; then :
   20785   enableval=$enable_shm; BUILD_SHM=$enableval
   20786 else
   20787   BUILD_SHM=yes
   20788 fi
   20789 
   20790 
   20791 
   20792  if test "x$BUILD_SHM" = "xyes"; then
   20793   BUILD_SHM_TRUE=
   20794   BUILD_SHM_FALSE='#'
   20795 else
   20796   BUILD_SHM_TRUE='#'
   20797   BUILD_SHM_FALSE=
   20798 fi
   20799 
   20800 
   20801 
   20802 # Check whether --enable-sync was given.
   20803 if test "${enable_sync+set}" = set; then :
   20804   enableval=$enable_sync; BUILD_SYNC=$enableval
   20805 else
   20806   BUILD_SYNC=yes
   20807 fi
   20808 
   20809 
   20810 
   20811  if test "x$BUILD_SYNC" = "xyes"; then
   20812   BUILD_SYNC_TRUE=
   20813   BUILD_SYNC_FALSE='#'
   20814 else
   20815   BUILD_SYNC_TRUE='#'
   20816   BUILD_SYNC_FALSE=
   20817 fi
   20818 
   20819 
   20820 
   20821 # Check whether --enable-xevie was given.
   20822 if test "${enable_xevie+set}" = set; then :
   20823   enableval=$enable_xevie; BUILD_XEVIE=$enableval
   20824 else
   20825   BUILD_XEVIE=no
   20826 fi
   20827 
   20828 
   20829 
   20830  if test "x$BUILD_XEVIE" = "xyes"; then
   20831   BUILD_XEVIE_TRUE=
   20832   BUILD_XEVIE_FALSE='#'
   20833 else
   20834   BUILD_XEVIE_TRUE='#'
   20835   BUILD_XEVIE_FALSE=
   20836 fi
   20837 
   20838 
   20839 
   20840 # Check whether --enable-xfixes was given.
   20841 if test "${enable_xfixes+set}" = set; then :
   20842   enableval=$enable_xfixes; BUILD_XFIXES=$enableval
   20843 else
   20844   BUILD_XFIXES=yes
   20845 fi
   20846 
   20847 
   20848 
   20849  if test "x$BUILD_XFIXES" = "xyes"; then
   20850   BUILD_XFIXES_TRUE=
   20851   BUILD_XFIXES_FALSE='#'
   20852 else
   20853   BUILD_XFIXES_TRUE='#'
   20854   BUILD_XFIXES_FALSE=
   20855 fi
   20856 
   20857 
   20858 
   20859 # Check whether --enable-xfree86-dri was given.
   20860 if test "${enable_xfree86_dri+set}" = set; then :
   20861   enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
   20862 else
   20863   BUILD_XFREE86_DRI=yes
   20864 fi
   20865 
   20866 
   20867 
   20868  if test "x$BUILD_XFREE86_DRI" = "xyes"; then
   20869   BUILD_XFREE86_DRI_TRUE=
   20870   BUILD_XFREE86_DRI_FALSE='#'
   20871 else
   20872   BUILD_XFREE86_DRI_TRUE='#'
   20873   BUILD_XFREE86_DRI_FALSE=
   20874 fi
   20875 
   20876 
   20877 
   20878 # Check whether --enable-xinerama was given.
   20879 if test "${enable_xinerama+set}" = set; then :
   20880   enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
   20881 else
   20882   BUILD_XINERAMA=yes
   20883 fi
   20884 
   20885 
   20886 
   20887  if test "x$BUILD_XINERAMA" = "xyes"; then
   20888   BUILD_XINERAMA_TRUE=
   20889   BUILD_XINERAMA_FALSE='#'
   20890 else
   20891   BUILD_XINERAMA_TRUE='#'
   20892   BUILD_XINERAMA_FALSE=
   20893 fi
   20894 
   20895 
   20896 
   20897 # Check whether --enable-xinput was given.
   20898 if test "${enable_xinput+set}" = set; then :
   20899   enableval=$enable_xinput; BUILD_XINPUT=$enableval
   20900 else
   20901   BUILD_XINPUT=yes
   20902 fi
   20903 
   20904 
   20905 
   20906  if test "x$BUILD_XINPUT" = "xyes"; then
   20907   BUILD_XINPUT_TRUE=
   20908   BUILD_XINPUT_FALSE='#'
   20909 else
   20910   BUILD_XINPUT_TRUE='#'
   20911   BUILD_XINPUT_FALSE=
   20912 fi
   20913 
   20914 
   20915 
   20916 # Check whether --enable-xkb was given.
   20917 if test "${enable_xkb+set}" = set; then :
   20918   enableval=$enable_xkb; BUILD_XKB=$enableval
   20919 else
   20920   BUILD_XKB=yes
   20921 fi
   20922 
   20923 
   20924 
   20925  if test "x$BUILD_XKB" = "xyes"; then
   20926   BUILD_XKB_TRUE=
   20927   BUILD_XKB_FALSE='#'
   20928 else
   20929   BUILD_XKB_TRUE='#'
   20930   BUILD_XKB_FALSE=
   20931 fi
   20932 
   20933 
   20934 
   20935 # Check whether --enable-xprint was given.
   20936 if test "${enable_xprint+set}" = set; then :
   20937   enableval=$enable_xprint; BUILD_XPRINT=$enableval
   20938 else
   20939   BUILD_XPRINT=no
   20940 fi
   20941 
   20942 
   20943 
   20944  if test "x$BUILD_XPRINT" = "xyes"; then
   20945   BUILD_XPRINT_TRUE=
   20946   BUILD_XPRINT_FALSE='#'
   20947 else
   20948   BUILD_XPRINT_TRUE='#'
   20949   BUILD_XPRINT_FALSE=
   20950 fi
   20951 
   20952 
   20953 
   20954 # Check whether --enable-selinux was given.
   20955 if test "${enable_selinux+set}" = set; then :
   20956   enableval=$enable_selinux; BUILD_SELINUX=$enableval
   20957 else
   20958   BUILD_SELINUX=no
   20959 fi
   20960 
   20961 
   20962 
   20963  if test "x$BUILD_SELINUX" = "xyes"; then
   20964   BUILD_SELINUX_TRUE=
   20965   BUILD_SELINUX_FALSE='#'
   20966 else
   20967   BUILD_SELINUX_TRUE='#'
   20968   BUILD_SELINUX_FALSE=
   20969 fi
   20970 
   20971 
   20972 
   20973 # Check whether --enable-xtest was given.
   20974 if test "${enable_xtest+set}" = set; then :
   20975   enableval=$enable_xtest; BUILD_XTEST=$enableval
   20976 else
   20977   BUILD_XTEST=yes
   20978 fi
   20979 
   20980 
   20981 
   20982  if test "x$BUILD_XTEST" = "xyes"; then
   20983   BUILD_XTEST_TRUE=
   20984   BUILD_XTEST_FALSE='#'
   20985 else
   20986   BUILD_XTEST_TRUE='#'
   20987   BUILD_XTEST_FALSE=
   20988 fi
   20989 
   20990 
   20991 
   20992 # Check whether --enable-xv was given.
   20993 if test "${enable_xv+set}" = set; then :
   20994   enableval=$enable_xv; BUILD_XV=$enableval
   20995 else
   20996   BUILD_XV=yes
   20997 fi
   20998 
   20999 
   21000 
   21001  if test "x$BUILD_XV" = "xyes"; then
   21002   BUILD_XV_TRUE=
   21003   BUILD_XV_FALSE='#'
   21004 else
   21005   BUILD_XV_TRUE='#'
   21006   BUILD_XV_FALSE=
   21007 fi
   21008 
   21009 
   21010 
   21011 # Check whether --enable-xvmc was given.
   21012 if test "${enable_xvmc+set}" = set; then :
   21013   enableval=$enable_xvmc; BUILD_XVMC=$enableval
   21014 else
   21015   BUILD_XVMC=yes
   21016 fi
   21017 
   21018 
   21019 
   21020  if test "x$BUILD_XVMC" = "xyes"; then
   21021   BUILD_XVMC_TRUE=
   21022   BUILD_XVMC_FALSE='#'
   21023 else
   21024   BUILD_XVMC_TRUE='#'
   21025   BUILD_XVMC_FALSE=
   21026 fi
   21027 
   21028 
   21029 
   21030 
   21031 # Check whether --with-launchd was given.
   21032 if test "${with_launchd+set}" = set; then :
   21033   withval=$with_launchd; LAUNCHD=$withval
   21034 else
   21035   LAUNCHD=auto
   21036 fi
   21037 
   21038 if test "x$LAUNCHD" = xauto; then
   21039         unset LAUNCHD
   21040         # Extract the first word of "launchd", so it can be a program name with args.
   21041 set dummy launchd; ac_word=$2
   21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21043 $as_echo_n "checking for $ac_word... " >&6; }
   21044 if ${ac_cv_prog_LAUNCHD+:} false; then :
   21045   $as_echo_n "(cached) " >&6
   21046 else
   21047   if test -n "$LAUNCHD"; then
   21048   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   21049 else
   21050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21051 for as_dir in $PATH$PATH_SEPARATOR/sbin
   21052 do
   21053   IFS=$as_save_IFS
   21054   test -z "$as_dir" && as_dir=.
   21055     for ac_exec_ext in '' $ac_executable_extensions; do
   21056   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   21057     ac_cv_prog_LAUNCHD="yes"
   21058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   21059     break 2
   21060   fi
   21061 done
   21062   done
   21063 IFS=$as_save_IFS
   21064 
   21065   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   21066 fi
   21067 fi
   21068 LAUNCHD=$ac_cv_prog_LAUNCHD
   21069 if test -n "$LAUNCHD"; then
   21070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   21071 $as_echo "$LAUNCHD" >&6; }
   21072 else
   21073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21074 $as_echo "no" >&6; }
   21075 fi
   21076 
   21077 
   21078 fi
   21079 
   21080 if test "x$LAUNCHD" = xyes ; then
   21081 
   21082 $as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h
   21083 
   21084 fi
   21085 
   21086 
   21087 # Check whether --with-serverside-support was given.
   21088 if test "${with_serverside_support+set}" = set; then :
   21089   withval=$with_serverside_support; XCB_SERVERSIDE_SUPPORT=$withval
   21090 else
   21091   XCB_SERVERSIDE_SUPPORT=no
   21092 fi
   21093 
   21094 
   21095  if test "x$XCB_SERVERSIDE_SUPPORT" = "xyes"; then
   21096   XCB_SERVERSIDE_SUPPORT_TRUE=
   21097   XCB_SERVERSIDE_SUPPORT_FALSE='#'
   21098 else
   21099   XCB_SERVERSIDE_SUPPORT_TRUE='#'
   21100   XCB_SERVERSIDE_SUPPORT_FALSE=
   21101 fi
   21102 
   21103 
   21104 ac_config_files="$ac_config_files Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile"
   21105 
   21106 
   21107 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"
   21108 
   21109 
   21110 ac_config_files="$ac_config_files doc/xcb.doxygen"
   21111 
   21112 
   21113 cat >confcache <<\_ACEOF
   21114 # This file is a shell script that caches the results of configure
   21115 # tests run on this system so they can be shared between configure
   21116 # scripts and configure runs, see configure's option --config-cache.
   21117 # It is not useful on other systems.  If it contains results you don't
   21118 # want to keep, you may remove or edit it.
   21119 #
   21120 # config.status only pays attention to the cache file if you give it
   21121 # the --recheck option to rerun configure.
   21122 #
   21123 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21124 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21125 # following values.
   21126 
   21127 _ACEOF
   21128 
   21129 # The following way of writing the cache mishandles newlines in values,
   21130 # but we know of no workaround that is simple, portable, and efficient.
   21131 # So, we kill variables containing newlines.
   21132 # Ultrix sh set writes to stderr and can't be redirected directly,
   21133 # and sets the high bit in the cache file unless we assign to the vars.
   21134 (
   21135   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21136     eval ac_val=\$$ac_var
   21137     case $ac_val in #(
   21138     *${as_nl}*)
   21139       case $ac_var in #(
   21140       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21142       esac
   21143       case $ac_var in #(
   21144       _ | IFS | as_nl) ;; #(
   21145       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21146       *) { eval $ac_var=; unset $ac_var;} ;;
   21147       esac ;;
   21148     esac
   21149   done
   21150 
   21151   (set) 2>&1 |
   21152     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21153     *${as_nl}ac_space=\ *)
   21154       # `set' does not quote correctly, so add quotes: double-quote
   21155       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21156       sed -n \
   21157 	"s/'/'\\\\''/g;
   21158 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21159       ;; #(
   21160     *)
   21161       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21162       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21163       ;;
   21164     esac |
   21165     sort
   21166 ) |
   21167   sed '
   21168      /^ac_cv_env_/b end
   21169      t clear
   21170      :clear
   21171      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21172      t end
   21173      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21174      :end' >>confcache
   21175 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21176   if test -w "$cache_file"; then
   21177     if test "x$cache_file" != "x/dev/null"; then
   21178       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21179 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21180       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21181 	cat confcache >"$cache_file"
   21182       else
   21183         case $cache_file in #(
   21184         */* | ?:*)
   21185 	  mv -f confcache "$cache_file"$$ &&
   21186 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21187         *)
   21188 	  mv -f confcache "$cache_file" ;;
   21189 	esac
   21190       fi
   21191     fi
   21192   else
   21193     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21194 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21195   fi
   21196 fi
   21197 rm -f confcache
   21198 
   21199 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21200 # Let make expand exec_prefix.
   21201 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21202 
   21203 DEFS=-DHAVE_CONFIG_H
   21204 
   21205 ac_libobjs=
   21206 ac_ltlibobjs=
   21207 U=
   21208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21209   # 1. Remove the extension, and $U if already installed.
   21210   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21211   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21212   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21213   #    will be set to the directory where LIBOBJS objects are built.
   21214   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21215   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21216 done
   21217 LIBOBJS=$ac_libobjs
   21218 
   21219 LTLIBOBJS=$ac_ltlibobjs
   21220 
   21221 
   21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21223 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   21224    if test -n "$am_sleep_pid"; then
   21225      # Hide warnings about reused PIDs.
   21226      wait $am_sleep_pid 2>/dev/null
   21227    fi
   21228    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21229 $as_echo "done" >&6; }
   21230  if test -n "$EXEEXT"; then
   21231   am__EXEEXT_TRUE=
   21232   am__EXEEXT_FALSE='#'
   21233 else
   21234   am__EXEEXT_TRUE='#'
   21235   am__EXEEXT_FALSE=
   21236 fi
   21237 
   21238 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21239   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21241 fi
   21242 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21243   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21245 fi
   21246 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   21247   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   21248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21249 fi
   21250 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
   21251   as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
   21252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21253 fi
   21254 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   21255   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   21256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21257 fi
   21258 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
   21259   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
   21260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21261 fi
   21262 if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
   21263   as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
   21264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21265 fi
   21266 if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
   21267   as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
   21268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21269 fi
   21270 if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
   21271   as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
   21272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21273 fi
   21274 if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
   21275   as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
   21276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21277 fi
   21278 if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
   21279   as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
   21280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21281 fi
   21282 if test -z "${BUILD_DRI3_TRUE}" && test -z "${BUILD_DRI3_FALSE}"; then
   21283   as_fn_error $? "conditional \"BUILD_DRI3\" was never defined.
   21284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21285 fi
   21286 if test -z "${BUILD_GE_TRUE}" && test -z "${BUILD_GE_FALSE}"; then
   21287   as_fn_error $? "conditional \"BUILD_GE\" was never defined.
   21288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21289 fi
   21290 if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
   21291   as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
   21292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21293 fi
   21294 if test -z "${BUILD_PRESENT_TRUE}" && test -z "${BUILD_PRESENT_FALSE}"; then
   21295   as_fn_error $? "conditional \"BUILD_PRESENT\" was never defined.
   21296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21297 fi
   21298 if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
   21299   as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
   21300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21301 fi
   21302 if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
   21303   as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
   21304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21305 fi
   21306 if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
   21307   as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
   21308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21309 fi
   21310 if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
   21311   as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
   21312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21313 fi
   21314 if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
   21315   as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
   21316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21317 fi
   21318 if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
   21319   as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
   21320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21321 fi
   21322 if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
   21323   as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
   21324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21325 fi
   21326 if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
   21327   as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
   21328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21329 fi
   21330 if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
   21331   as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
   21332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21333 fi
   21334 if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
   21335   as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
   21336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21337 fi
   21338 if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
   21339   as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
   21340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21341 fi
   21342 if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
   21343   as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
   21344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21345 fi
   21346 if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
   21347   as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
   21348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21349 fi
   21350 if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
   21351   as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
   21352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21353 fi
   21354 if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
   21355   as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
   21356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21357 fi
   21358 if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
   21359   as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
   21360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21361 fi
   21362 if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
   21363   as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
   21364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21365 fi
   21366 if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
   21367   as_fn_error $? "conditional \"BUILD_XV\" was never defined.
   21368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21369 fi
   21370 if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
   21371   as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
   21372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21373 fi
   21374 if test -z "${XCB_SERVERSIDE_SUPPORT_TRUE}" && test -z "${XCB_SERVERSIDE_SUPPORT_FALSE}"; then
   21375   as_fn_error $? "conditional \"XCB_SERVERSIDE_SUPPORT\" was never defined.
   21376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21377 fi
   21378 
   21379 : "${CONFIG_STATUS=./config.status}"
   21380 ac_write_fail=0
   21381 ac_clean_files_save=$ac_clean_files
   21382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21385 as_write_fail=0
   21386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21387 #! $SHELL
   21388 # Generated by $as_me.
   21389 # Run this file to recreate the current configuration.
   21390 # Compiler output produced by configure, useful for debugging
   21391 # configure, is in config.log if it exists.
   21392 
   21393 debug=false
   21394 ac_cs_recheck=false
   21395 ac_cs_silent=false
   21396 
   21397 SHELL=\${CONFIG_SHELL-$SHELL}
   21398 export SHELL
   21399 _ASEOF
   21400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21401 ## -------------------- ##
   21402 ## M4sh Initialization. ##
   21403 ## -------------------- ##
   21404 
   21405 # Be more Bourne compatible
   21406 DUALCASE=1; export DUALCASE # for MKS sh
   21407 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   21408   emulate sh
   21409   NULLCMD=:
   21410   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21411   # is contrary to our usage.  Disable this feature.
   21412   alias -g '${1+"$@"}'='"$@"'
   21413   setopt NO_GLOB_SUBST
   21414 else
   21415   case `(set -o) 2>/dev/null` in #(
   21416   *posix*) :
   21417     set -o posix ;; #(
   21418   *) :
   21419      ;;
   21420 esac
   21421 fi
   21422 
   21423 
   21424 as_nl='
   21425 '
   21426 export as_nl
   21427 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21428 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21430 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21431 # Prefer a ksh shell builtin over an external printf program on Solaris,
   21432 # but without wasting forks for bash or zsh.
   21433 if test -z "$BASH_VERSION$ZSH_VERSION" \
   21434     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   21435   as_echo='print -r --'
   21436   as_echo_n='print -rn --'
   21437 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21438   as_echo='printf %s\n'
   21439   as_echo_n='printf %s'
   21440 else
   21441   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21442     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21443     as_echo_n='/usr/ucb/echo -n'
   21444   else
   21445     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21446     as_echo_n_body='eval
   21447       arg=$1;
   21448       case $arg in #(
   21449       *"$as_nl"*)
   21450 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21451 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21452       esac;
   21453       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21454     '
   21455     export as_echo_n_body
   21456     as_echo_n='sh -c $as_echo_n_body as_echo'
   21457   fi
   21458   export as_echo_body
   21459   as_echo='sh -c $as_echo_body as_echo'
   21460 fi
   21461 
   21462 # The user is always right.
   21463 if test "${PATH_SEPARATOR+set}" != set; then
   21464   PATH_SEPARATOR=:
   21465   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21466     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21467       PATH_SEPARATOR=';'
   21468   }
   21469 fi
   21470 
   21471 
   21472 # IFS
   21473 # We need space, tab and new line, in precisely that order.  Quoting is
   21474 # there to prevent editors from complaining about space-tab.
   21475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21476 # splitting by setting IFS to empty value.)
   21477 IFS=" ""	$as_nl"
   21478 
   21479 # Find who we are.  Look in the path if we contain no directory separator.
   21480 as_myself=
   21481 case $0 in #((
   21482   *[\\/]* ) as_myself=$0 ;;
   21483   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21484 for as_dir in $PATH
   21485 do
   21486   IFS=$as_save_IFS
   21487   test -z "$as_dir" && as_dir=.
   21488     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21489   done
   21490 IFS=$as_save_IFS
   21491 
   21492      ;;
   21493 esac
   21494 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21495 # in which case we are not to be found in the path.
   21496 if test "x$as_myself" = x; then
   21497   as_myself=$0
   21498 fi
   21499 if test ! -f "$as_myself"; then
   21500   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21501   exit 1
   21502 fi
   21503 
   21504 # Unset variables that we do not need and which cause bugs (e.g. in
   21505 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   21506 # suppresses any "Segmentation fault" message there.  '((' could
   21507 # trigger a bug in pdksh 5.2.14.
   21508 for as_var in BASH_ENV ENV MAIL MAILPATH
   21509 do eval test x\${$as_var+set} = xset \
   21510   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21511 done
   21512 PS1='$ '
   21513 PS2='> '
   21514 PS4='+ '
   21515 
   21516 # NLS nuisances.
   21517 LC_ALL=C
   21518 export LC_ALL
   21519 LANGUAGE=C
   21520 export LANGUAGE
   21521 
   21522 # CDPATH.
   21523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21524 
   21525 
   21526 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21527 # ----------------------------------------
   21528 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21529 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21530 # script with STATUS, using 1 if that was 0.
   21531 as_fn_error ()
   21532 {
   21533   as_status=$1; test $as_status -eq 0 && as_status=1
   21534   if test "$4"; then
   21535     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21536     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21537   fi
   21538   $as_echo "$as_me: error: $2" >&2
   21539   as_fn_exit $as_status
   21540 } # as_fn_error
   21541 
   21542 
   21543 # as_fn_set_status STATUS
   21544 # -----------------------
   21545 # Set $? to STATUS, without forking.
   21546 as_fn_set_status ()
   21547 {
   21548   return $1
   21549 } # as_fn_set_status
   21550 
   21551 # as_fn_exit STATUS
   21552 # -----------------
   21553 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21554 as_fn_exit ()
   21555 {
   21556   set +e
   21557   as_fn_set_status $1
   21558   exit $1
   21559 } # as_fn_exit
   21560 
   21561 # as_fn_unset VAR
   21562 # ---------------
   21563 # Portably unset VAR.
   21564 as_fn_unset ()
   21565 {
   21566   { eval $1=; unset $1;}
   21567 }
   21568 as_unset=as_fn_unset
   21569 # as_fn_append VAR VALUE
   21570 # ----------------------
   21571 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21572 # advantage of any shell optimizations that allow amortized linear growth over
   21573 # repeated appends, instead of the typical quadratic growth present in naive
   21574 # implementations.
   21575 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   21576   eval 'as_fn_append ()
   21577   {
   21578     eval $1+=\$2
   21579   }'
   21580 else
   21581   as_fn_append ()
   21582   {
   21583     eval $1=\$$1\$2
   21584   }
   21585 fi # as_fn_append
   21586 
   21587 # as_fn_arith ARG...
   21588 # ------------------
   21589 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21590 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21591 # must be portable across $(()) and expr.
   21592 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   21593   eval 'as_fn_arith ()
   21594   {
   21595     as_val=$(( $* ))
   21596   }'
   21597 else
   21598   as_fn_arith ()
   21599   {
   21600     as_val=`expr "$@" || test $? -eq 1`
   21601   }
   21602 fi # as_fn_arith
   21603 
   21604 
   21605 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21606    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21607   as_expr=expr
   21608 else
   21609   as_expr=false
   21610 fi
   21611 
   21612 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21613   as_basename=basename
   21614 else
   21615   as_basename=false
   21616 fi
   21617 
   21618 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21619   as_dirname=dirname
   21620 else
   21621   as_dirname=false
   21622 fi
   21623 
   21624 as_me=`$as_basename -- "$0" ||
   21625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21626 	 X"$0" : 'X\(//\)$' \| \
   21627 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21628 $as_echo X/"$0" |
   21629     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21630 	    s//\1/
   21631 	    q
   21632 	  }
   21633 	  /^X\/\(\/\/\)$/{
   21634 	    s//\1/
   21635 	    q
   21636 	  }
   21637 	  /^X\/\(\/\).*/{
   21638 	    s//\1/
   21639 	    q
   21640 	  }
   21641 	  s/.*/./; q'`
   21642 
   21643 # Avoid depending upon Character Ranges.
   21644 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21647 as_cr_digits='0123456789'
   21648 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21649 
   21650 ECHO_C= ECHO_N= ECHO_T=
   21651 case `echo -n x` in #(((((
   21652 -n*)
   21653   case `echo 'xy\c'` in
   21654   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21655   xy)  ECHO_C='\c';;
   21656   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21657        ECHO_T='	';;
   21658   esac;;
   21659 *)
   21660   ECHO_N='-n';;
   21661 esac
   21662 
   21663 rm -f conf$$ conf$$.exe conf$$.file
   21664 if test -d conf$$.dir; then
   21665   rm -f conf$$.dir/conf$$.file
   21666 else
   21667   rm -f conf$$.dir
   21668   mkdir conf$$.dir 2>/dev/null
   21669 fi
   21670 if (echo >conf$$.file) 2>/dev/null; then
   21671   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21672     as_ln_s='ln -s'
   21673     # ... but there are two gotchas:
   21674     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21675     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21676     # In both cases, we have to default to `cp -pR'.
   21677     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21678       as_ln_s='cp -pR'
   21679   elif ln conf$$.file conf$$ 2>/dev/null; then
   21680     as_ln_s=ln
   21681   else
   21682     as_ln_s='cp -pR'
   21683   fi
   21684 else
   21685   as_ln_s='cp -pR'
   21686 fi
   21687 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21688 rmdir conf$$.dir 2>/dev/null
   21689 
   21690 
   21691 # as_fn_mkdir_p
   21692 # -------------
   21693 # Create "$as_dir" as a directory, including parents if necessary.
   21694 as_fn_mkdir_p ()
   21695 {
   21696 
   21697   case $as_dir in #(
   21698   -*) as_dir=./$as_dir;;
   21699   esac
   21700   test -d "$as_dir" || eval $as_mkdir_p || {
   21701     as_dirs=
   21702     while :; do
   21703       case $as_dir in #(
   21704       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21705       *) as_qdir=$as_dir;;
   21706       esac
   21707       as_dirs="'$as_qdir' $as_dirs"
   21708       as_dir=`$as_dirname -- "$as_dir" ||
   21709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21710 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21711 	 X"$as_dir" : 'X\(//\)$' \| \
   21712 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21713 $as_echo X"$as_dir" |
   21714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21715 	    s//\1/
   21716 	    q
   21717 	  }
   21718 	  /^X\(\/\/\)[^/].*/{
   21719 	    s//\1/
   21720 	    q
   21721 	  }
   21722 	  /^X\(\/\/\)$/{
   21723 	    s//\1/
   21724 	    q
   21725 	  }
   21726 	  /^X\(\/\).*/{
   21727 	    s//\1/
   21728 	    q
   21729 	  }
   21730 	  s/.*/./; q'`
   21731       test -d "$as_dir" && break
   21732     done
   21733     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21734   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21735 
   21736 
   21737 } # as_fn_mkdir_p
   21738 if mkdir -p . 2>/dev/null; then
   21739   as_mkdir_p='mkdir -p "$as_dir"'
   21740 else
   21741   test -d ./-p && rmdir ./-p
   21742   as_mkdir_p=false
   21743 fi
   21744 
   21745 
   21746 # as_fn_executable_p FILE
   21747 # -----------------------
   21748 # Test if FILE is an executable regular file.
   21749 as_fn_executable_p ()
   21750 {
   21751   test -f "$1" && test -x "$1"
   21752 } # as_fn_executable_p
   21753 as_test_x='test -x'
   21754 as_executable_p=as_fn_executable_p
   21755 
   21756 # Sed expression to map a string onto a valid CPP name.
   21757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21758 
   21759 # Sed expression to map a string onto a valid variable name.
   21760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21761 
   21762 
   21763 exec 6>&1
   21764 ## ----------------------------------- ##
   21765 ## Main body of $CONFIG_STATUS script. ##
   21766 ## ----------------------------------- ##
   21767 _ASEOF
   21768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21769 
   21770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21771 # Save the log message, to keep $0 and so on meaningful, and to
   21772 # report actual input values of CONFIG_FILES etc. instead of their
   21773 # values after options handling.
   21774 ac_log="
   21775 This file was extended by libxcb $as_me 1.14, which was
   21776 generated by GNU Autoconf 2.69.  Invocation command line was
   21777 
   21778   CONFIG_FILES    = $CONFIG_FILES
   21779   CONFIG_HEADERS  = $CONFIG_HEADERS
   21780   CONFIG_LINKS    = $CONFIG_LINKS
   21781   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21782   $ $0 $@
   21783 
   21784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21785 "
   21786 
   21787 _ACEOF
   21788 
   21789 case $ac_config_files in *"
   21790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21791 esac
   21792 
   21793 case $ac_config_headers in *"
   21794 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21795 esac
   21796 
   21797 
   21798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21799 # Files that config.status was made for.
   21800 config_files="$ac_config_files"
   21801 config_headers="$ac_config_headers"
   21802 config_commands="$ac_config_commands"
   21803 
   21804 _ACEOF
   21805 
   21806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21807 ac_cs_usage="\
   21808 \`$as_me' instantiates files and other configuration actions
   21809 from templates according to the current configuration.  Unless the files
   21810 and actions are specified as TAGs, all are instantiated by default.
   21811 
   21812 Usage: $0 [OPTION]... [TAG]...
   21813 
   21814   -h, --help       print this help, then exit
   21815   -V, --version    print version number and configuration settings, then exit
   21816       --config     print configuration, then exit
   21817   -q, --quiet, --silent
   21818                    do not print progress messages
   21819   -d, --debug      don't remove temporary files
   21820       --recheck    update $as_me by reconfiguring in the same conditions
   21821       --file=FILE[:TEMPLATE]
   21822                    instantiate the configuration file FILE
   21823       --header=FILE[:TEMPLATE]
   21824                    instantiate the configuration header FILE
   21825 
   21826 Configuration files:
   21827 $config_files
   21828 
   21829 Configuration headers:
   21830 $config_headers
   21831 
   21832 Configuration commands:
   21833 $config_commands
   21834 
   21835 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>."
   21836 
   21837 _ACEOF
   21838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21839 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   21840 ac_cs_version="\\
   21841 libxcb config.status 1.14
   21842 configured by $0, generated by GNU Autoconf 2.69,
   21843   with options \\"\$ac_cs_config\\"
   21844 
   21845 Copyright (C) 2012 Free Software Foundation, Inc.
   21846 This config.status script is free software; the Free Software Foundation
   21847 gives unlimited permission to copy, distribute and modify it."
   21848 
   21849 ac_pwd='$ac_pwd'
   21850 srcdir='$srcdir'
   21851 INSTALL='$INSTALL'
   21852 MKDIR_P='$MKDIR_P'
   21853 AWK='$AWK'
   21854 test -n "\$AWK" || AWK=awk
   21855 _ACEOF
   21856 
   21857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21858 # The default lists apply if the user does not specify any file.
   21859 ac_need_defaults=:
   21860 while test $# != 0
   21861 do
   21862   case $1 in
   21863   --*=?*)
   21864     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21865     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21866     ac_shift=:
   21867     ;;
   21868   --*=)
   21869     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21870     ac_optarg=
   21871     ac_shift=:
   21872     ;;
   21873   *)
   21874     ac_option=$1
   21875     ac_optarg=$2
   21876     ac_shift=shift
   21877     ;;
   21878   esac
   21879 
   21880   case $ac_option in
   21881   # Handling of the options.
   21882   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21883     ac_cs_recheck=: ;;
   21884   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21885     $as_echo "$ac_cs_version"; exit ;;
   21886   --config | --confi | --conf | --con | --co | --c )
   21887     $as_echo "$ac_cs_config"; exit ;;
   21888   --debug | --debu | --deb | --de | --d | -d )
   21889     debug=: ;;
   21890   --file | --fil | --fi | --f )
   21891     $ac_shift
   21892     case $ac_optarg in
   21893     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21894     '') as_fn_error $? "missing file argument" ;;
   21895     esac
   21896     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21897     ac_need_defaults=false;;
   21898   --header | --heade | --head | --hea )
   21899     $ac_shift
   21900     case $ac_optarg in
   21901     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21902     esac
   21903     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21904     ac_need_defaults=false;;
   21905   --he | --h)
   21906     # Conflict between --help and --header
   21907     as_fn_error $? "ambiguous option: \`$1'
   21908 Try \`$0 --help' for more information.";;
   21909   --help | --hel | -h )
   21910     $as_echo "$ac_cs_usage"; exit ;;
   21911   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21912   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21913     ac_cs_silent=: ;;
   21914 
   21915   # This is an error.
   21916   -*) as_fn_error $? "unrecognized option: \`$1'
   21917 Try \`$0 --help' for more information." ;;
   21918 
   21919   *) as_fn_append ac_config_targets " $1"
   21920      ac_need_defaults=false ;;
   21921 
   21922   esac
   21923   shift
   21924 done
   21925 
   21926 ac_configure_extra_args=
   21927 
   21928 if $ac_cs_silent; then
   21929   exec 6>/dev/null
   21930   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21931 fi
   21932 
   21933 _ACEOF
   21934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21935 if \$ac_cs_recheck; then
   21936   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21937   shift
   21938   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21939   CONFIG_SHELL='$SHELL'
   21940   export CONFIG_SHELL
   21941   exec "\$@"
   21942 fi
   21943 
   21944 _ACEOF
   21945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21946 exec 5>>config.log
   21947 {
   21948   echo
   21949   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21950 ## Running $as_me. ##
   21951 _ASBOX
   21952   $as_echo "$ac_log"
   21953 } >&5
   21954 
   21955 _ACEOF
   21956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21957 #
   21958 # INIT-COMMANDS
   21959 #
   21960 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21961 
   21962 
   21963 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21964 # if CDPATH is set.
   21965 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21966 
   21967 sed_quote_subst='$sed_quote_subst'
   21968 double_quote_subst='$double_quote_subst'
   21969 delay_variable_subst='$delay_variable_subst'
   21970 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21971 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21972 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21973 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21974 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21975 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21976 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21977 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21978 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21979 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21980 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21981 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21982 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21983 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21984 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21985 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21986 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21987 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21988 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21989 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21990 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21991 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21992 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21993 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21994 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21995 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21996 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21997 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21998 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21999 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22000 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22001 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22002 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22003 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22004 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22005 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22006 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22007 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22008 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22009 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22010 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22011 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22012 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22013 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22014 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22015 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22016 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22017 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22018 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22019 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22020 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22021 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22022 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22023 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22024 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22025 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22026 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22027 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22028 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22029 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"`'
   22030 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22031 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22032 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22033 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22037 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22038 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22042 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22043 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22044 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22045 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22046 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22047 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22048 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22049 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22050 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22051 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22052 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22053 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22054 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22055 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22056 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22057 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22058 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22059 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22060 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22061 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22062 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22063 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22064 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22065 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22066 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22067 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22068 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22069 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22070 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22071 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22072 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22073 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22074 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22075 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22076 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22077 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22078 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22079 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22080 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22081 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22082 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22083 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22084 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22085 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22086 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22087 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22088 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22089 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22090 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22091 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22092 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22093 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22094 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22095 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22096 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22097 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22098 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22099 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22100 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22101 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22102 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22103 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22104 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22105 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22106 
   22107 LTCC='$LTCC'
   22108 LTCFLAGS='$LTCFLAGS'
   22109 compiler='$compiler_DEFAULT'
   22110 
   22111 # A function that is used when there is no print builtin or printf.
   22112 func_fallback_echo ()
   22113 {
   22114   eval 'cat <<_LTECHO_EOF
   22115 \$1
   22116 _LTECHO_EOF'
   22117 }
   22118 
   22119 # Quote evaled strings.
   22120 for var in AS \
   22121 DLLTOOL \
   22122 OBJDUMP \
   22123 SHELL \
   22124 ECHO \
   22125 PATH_SEPARATOR \
   22126 SED \
   22127 GREP \
   22128 EGREP \
   22129 FGREP \
   22130 LD \
   22131 NM \
   22132 LN_S \
   22133 lt_SP2NL \
   22134 lt_NL2SP \
   22135 reload_flag \
   22136 deplibs_check_method \
   22137 file_magic_cmd \
   22138 file_magic_glob \
   22139 want_nocaseglob \
   22140 sharedlib_from_linklib_cmd \
   22141 AR \
   22142 AR_FLAGS \
   22143 archiver_list_spec \
   22144 STRIP \
   22145 RANLIB \
   22146 CC \
   22147 CFLAGS \
   22148 compiler \
   22149 lt_cv_sys_global_symbol_pipe \
   22150 lt_cv_sys_global_symbol_to_cdecl \
   22151 lt_cv_sys_global_symbol_to_import \
   22152 lt_cv_sys_global_symbol_to_c_name_address \
   22153 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22154 lt_cv_nm_interface \
   22155 nm_file_list_spec \
   22156 lt_cv_truncate_bin \
   22157 lt_prog_compiler_no_builtin_flag \
   22158 lt_prog_compiler_pic \
   22159 lt_prog_compiler_wl \
   22160 lt_prog_compiler_static \
   22161 lt_cv_prog_compiler_c_o \
   22162 need_locks \
   22163 MANIFEST_TOOL \
   22164 DSYMUTIL \
   22165 NMEDIT \
   22166 LIPO \
   22167 OTOOL \
   22168 OTOOL64 \
   22169 shrext_cmds \
   22170 export_dynamic_flag_spec \
   22171 whole_archive_flag_spec \
   22172 compiler_needs_object \
   22173 with_gnu_ld \
   22174 allow_undefined_flag \
   22175 no_undefined_flag \
   22176 hardcode_libdir_flag_spec \
   22177 hardcode_libdir_separator \
   22178 exclude_expsyms \
   22179 include_expsyms \
   22180 file_list_spec \
   22181 variables_saved_for_relink \
   22182 libname_spec \
   22183 library_names_spec \
   22184 soname_spec \
   22185 install_override_mode \
   22186 finish_eval \
   22187 old_striplib \
   22188 striplib; do
   22189     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22190     *[\\\\\\\`\\"\\\$]*)
   22191       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22192       ;;
   22193     *)
   22194       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22195       ;;
   22196     esac
   22197 done
   22198 
   22199 # Double-quote double-evaled strings.
   22200 for var in reload_cmds \
   22201 old_postinstall_cmds \
   22202 old_postuninstall_cmds \
   22203 old_archive_cmds \
   22204 extract_expsyms_cmds \
   22205 old_archive_from_new_cmds \
   22206 old_archive_from_expsyms_cmds \
   22207 archive_cmds \
   22208 archive_expsym_cmds \
   22209 module_cmds \
   22210 module_expsym_cmds \
   22211 export_symbols_cmds \
   22212 prelink_cmds \
   22213 postlink_cmds \
   22214 postinstall_cmds \
   22215 postuninstall_cmds \
   22216 finish_cmds \
   22217 sys_lib_search_path_spec \
   22218 configure_time_dlsearch_path \
   22219 configure_time_lt_sys_library_path; do
   22220     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22221     *[\\\\\\\`\\"\\\$]*)
   22222       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22223       ;;
   22224     *)
   22225       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22226       ;;
   22227     esac
   22228 done
   22229 
   22230 ac_aux_dir='$ac_aux_dir'
   22231 
   22232 # See if we are running on zsh, and set the options that allow our
   22233 # commands through without removal of \ escapes INIT.
   22234 if test -n "\${ZSH_VERSION+set}"; then
   22235    setopt NO_GLOB_SUBST
   22236 fi
   22237 
   22238 
   22239     PACKAGE='$PACKAGE'
   22240     VERSION='$VERSION'
   22241     RM='$RM'
   22242     ofile='$ofile'
   22243 
   22244 
   22245 
   22246 
   22247 _ACEOF
   22248 
   22249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22250 
   22251 # Handling of arguments.
   22252 for ac_config_target in $ac_config_targets
   22253 do
   22254   case $ac_config_target in
   22255     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   22256     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22257     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22258     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22259     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22260     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22261     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22262     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   22263     "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
   22264     "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
   22265     "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
   22266     "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
   22267     "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
   22268     "xcb-dri3.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri3.pc" ;;
   22269     "xcb-ge.pc") CONFIG_FILES="$CONFIG_FILES xcb-ge.pc" ;;
   22270     "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
   22271     "xcb-present.pc") CONFIG_FILES="$CONFIG_FILES xcb-present.pc" ;;
   22272     "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
   22273     "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
   22274     "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
   22275     "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
   22276     "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
   22277     "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
   22278     "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
   22279     "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
   22280     "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
   22281     "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
   22282     "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
   22283     "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
   22284     "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
   22285     "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
   22286     "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
   22287     "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
   22288     "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
   22289     "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
   22290     "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
   22291     "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
   22292 
   22293   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22294   esac
   22295 done
   22296 
   22297 
   22298 # If the user did not use the arguments to specify the items to instantiate,
   22299 # then the envvar interface is used.  Set only those that are not.
   22300 # We use the long form for the default assignment because of an extremely
   22301 # bizarre bug on SunOS 4.1.3.
   22302 if $ac_need_defaults; then
   22303   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22304   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22305   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22306 fi
   22307 
   22308 # Have a temporary directory for convenience.  Make it in the build tree
   22309 # simply because there is no reason against having it here, and in addition,
   22310 # creating and moving files from /tmp can sometimes cause problems.
   22311 # Hook for its removal unless debugging.
   22312 # Note that there is a small window in which the directory will not be cleaned:
   22313 # after its creation but before its name has been assigned to `$tmp'.
   22314 $debug ||
   22315 {
   22316   tmp= ac_tmp=
   22317   trap 'exit_status=$?
   22318   : "${ac_tmp:=$tmp}"
   22319   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22320 ' 0
   22321   trap 'as_fn_exit 1' 1 2 13 15
   22322 }
   22323 # Create a (secure) tmp directory for tmp files.
   22324 
   22325 {
   22326   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22327   test -d "$tmp"
   22328 }  ||
   22329 {
   22330   tmp=./conf$$-$RANDOM
   22331   (umask 077 && mkdir "$tmp")
   22332 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22333 ac_tmp=$tmp
   22334 
   22335 # Set up the scripts for CONFIG_FILES section.
   22336 # No need to generate them if there are no CONFIG_FILES.
   22337 # This happens for instance with `./config.status config.h'.
   22338 if test -n "$CONFIG_FILES"; then
   22339 
   22340 
   22341 ac_cr=`echo X | tr X '\015'`
   22342 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22343 # But we know of no other shell where ac_cr would be empty at this
   22344 # point, so we can use a bashism as a fallback.
   22345 if test "x$ac_cr" = x; then
   22346   eval ac_cr=\$\'\\r\'
   22347 fi
   22348 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22349 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22350   ac_cs_awk_cr='\\r'
   22351 else
   22352   ac_cs_awk_cr=$ac_cr
   22353 fi
   22354 
   22355 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22356 _ACEOF
   22357 
   22358 
   22359 {
   22360   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22361   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22362   echo "_ACEOF"
   22363 } >conf$$subs.sh ||
   22364   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22365 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22366 ac_delim='%!_!# '
   22367 for ac_last_try in false false false false false :; do
   22368   . ./conf$$subs.sh ||
   22369     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22370 
   22371   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22372   if test $ac_delim_n = $ac_delim_num; then
   22373     break
   22374   elif $ac_last_try; then
   22375     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22376   else
   22377     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22378   fi
   22379 done
   22380 rm -f conf$$subs.sh
   22381 
   22382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22383 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22384 _ACEOF
   22385 sed -n '
   22386 h
   22387 s/^/S["/; s/!.*/"]=/
   22388 p
   22389 g
   22390 s/^[^!]*!//
   22391 :repl
   22392 t repl
   22393 s/'"$ac_delim"'$//
   22394 t delim
   22395 :nl
   22396 h
   22397 s/\(.\{148\}\)..*/\1/
   22398 t more1
   22399 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22400 p
   22401 n
   22402 b repl
   22403 :more1
   22404 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22405 p
   22406 g
   22407 s/.\{148\}//
   22408 t nl
   22409 :delim
   22410 h
   22411 s/\(.\{148\}\)..*/\1/
   22412 t more2
   22413 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22414 p
   22415 b
   22416 :more2
   22417 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22418 p
   22419 g
   22420 s/.\{148\}//
   22421 t delim
   22422 ' <conf$$subs.awk | sed '
   22423 /^[^""]/{
   22424   N
   22425   s/\n//
   22426 }
   22427 ' >>$CONFIG_STATUS || ac_write_fail=1
   22428 rm -f conf$$subs.awk
   22429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22430 _ACAWK
   22431 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22432   for (key in S) S_is_set[key] = 1
   22433   FS = ""
   22434 
   22435 }
   22436 {
   22437   line = $ 0
   22438   nfields = split(line, field, "@")
   22439   substed = 0
   22440   len = length(field[1])
   22441   for (i = 2; i < nfields; i++) {
   22442     key = field[i]
   22443     keylen = length(key)
   22444     if (S_is_set[key]) {
   22445       value = S[key]
   22446       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22447       len += length(value) + length(field[++i])
   22448       substed = 1
   22449     } else
   22450       len += 1 + keylen
   22451   }
   22452 
   22453   print line
   22454 }
   22455 
   22456 _ACAWK
   22457 _ACEOF
   22458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22459 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22460   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22461 else
   22462   cat
   22463 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22464   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22465 _ACEOF
   22466 
   22467 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22468 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22469 # trailing colons and then remove the whole line if VPATH becomes empty
   22470 # (actually we leave an empty line to preserve line numbers).
   22471 if test "x$srcdir" = x.; then
   22472   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22473 h
   22474 s///
   22475 s/^/:/
   22476 s/[	 ]*$/:/
   22477 s/:\$(srcdir):/:/g
   22478 s/:\${srcdir}:/:/g
   22479 s/:@srcdir@:/:/g
   22480 s/^:*//
   22481 s/:*$//
   22482 x
   22483 s/\(=[	 ]*\).*/\1/
   22484 G
   22485 s/\n//
   22486 s/^[^=]*=[	 ]*$//
   22487 }'
   22488 fi
   22489 
   22490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22491 fi # test -n "$CONFIG_FILES"
   22492 
   22493 # Set up the scripts for CONFIG_HEADERS section.
   22494 # No need to generate them if there are no CONFIG_HEADERS.
   22495 # This happens for instance with `./config.status Makefile'.
   22496 if test -n "$CONFIG_HEADERS"; then
   22497 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22498 BEGIN {
   22499 _ACEOF
   22500 
   22501 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22502 # here-document in config.status, that substitutes the proper values into
   22503 # config.h.in to produce config.h.
   22504 
   22505 # Create a delimiter string that does not exist in confdefs.h, to ease
   22506 # handling of long lines.
   22507 ac_delim='%!_!# '
   22508 for ac_last_try in false false :; do
   22509   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22510   if test -z "$ac_tt"; then
   22511     break
   22512   elif $ac_last_try; then
   22513     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22514   else
   22515     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22516   fi
   22517 done
   22518 
   22519 # For the awk script, D is an array of macro values keyed by name,
   22520 # likewise P contains macro parameters if any.  Preserve backslash
   22521 # newline sequences.
   22522 
   22523 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22524 sed -n '
   22525 s/.\{148\}/&'"$ac_delim"'/g
   22526 t rset
   22527 :rset
   22528 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22529 t def
   22530 d
   22531 :def
   22532 s/\\$//
   22533 t bsnl
   22534 s/["\\]/\\&/g
   22535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22536 D["\1"]=" \3"/p
   22537 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22538 d
   22539 :bsnl
   22540 s/["\\]/\\&/g
   22541 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22542 D["\1"]=" \3\\\\\\n"\\/p
   22543 t cont
   22544 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22545 t cont
   22546 d
   22547 :cont
   22548 n
   22549 s/.\{148\}/&'"$ac_delim"'/g
   22550 t clear
   22551 :clear
   22552 s/\\$//
   22553 t bsnlc
   22554 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22555 d
   22556 :bsnlc
   22557 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22558 b cont
   22559 ' <confdefs.h | sed '
   22560 s/'"$ac_delim"'/"\\\
   22561 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22562 
   22563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22564   for (key in D) D_is_set[key] = 1
   22565   FS = ""
   22566 }
   22567 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22568   line = \$ 0
   22569   split(line, arg, " ")
   22570   if (arg[1] == "#") {
   22571     defundef = arg[2]
   22572     mac1 = arg[3]
   22573   } else {
   22574     defundef = substr(arg[1], 2)
   22575     mac1 = arg[2]
   22576   }
   22577   split(mac1, mac2, "(") #)
   22578   macro = mac2[1]
   22579   prefix = substr(line, 1, index(line, defundef) - 1)
   22580   if (D_is_set[macro]) {
   22581     # Preserve the white space surrounding the "#".
   22582     print prefix "define", macro P[macro] D[macro]
   22583     next
   22584   } else {
   22585     # Replace #undef with comments.  This is necessary, for example,
   22586     # in the case of _POSIX_SOURCE, which is predefined and required
   22587     # on some systems where configure will not decide to define it.
   22588     if (defundef == "undef") {
   22589       print "/*", prefix defundef, macro, "*/"
   22590       next
   22591     }
   22592   }
   22593 }
   22594 { print }
   22595 _ACAWK
   22596 _ACEOF
   22597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22598   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22599 fi # test -n "$CONFIG_HEADERS"
   22600 
   22601 
   22602 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22603 shift
   22604 for ac_tag
   22605 do
   22606   case $ac_tag in
   22607   :[FHLC]) ac_mode=$ac_tag; continue;;
   22608   esac
   22609   case $ac_mode$ac_tag in
   22610   :[FHL]*:*);;
   22611   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22612   :[FH]-) ac_tag=-:-;;
   22613   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22614   esac
   22615   ac_save_IFS=$IFS
   22616   IFS=:
   22617   set x $ac_tag
   22618   IFS=$ac_save_IFS
   22619   shift
   22620   ac_file=$1
   22621   shift
   22622 
   22623   case $ac_mode in
   22624   :L) ac_source=$1;;
   22625   :[FH])
   22626     ac_file_inputs=
   22627     for ac_f
   22628     do
   22629       case $ac_f in
   22630       -) ac_f="$ac_tmp/stdin";;
   22631       *) # Look for the file first in the build tree, then in the source tree
   22632 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22633 	 # because $ac_f cannot contain `:'.
   22634 	 test -f "$ac_f" ||
   22635 	   case $ac_f in
   22636 	   [\\/$]*) false;;
   22637 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22638 	   esac ||
   22639 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22640       esac
   22641       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22642       as_fn_append ac_file_inputs " '$ac_f'"
   22643     done
   22644 
   22645     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22646     # use $as_me), people would be surprised to read:
   22647     #    /* config.h.  Generated by config.status.  */
   22648     configure_input='Generated from '`
   22649 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22650 	`' by configure.'
   22651     if test x"$ac_file" != x-; then
   22652       configure_input="$ac_file.  $configure_input"
   22653       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22654 $as_echo "$as_me: creating $ac_file" >&6;}
   22655     fi
   22656     # Neutralize special characters interpreted by sed in replacement strings.
   22657     case $configure_input in #(
   22658     *\&* | *\|* | *\\* )
   22659        ac_sed_conf_input=`$as_echo "$configure_input" |
   22660        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22661     *) ac_sed_conf_input=$configure_input;;
   22662     esac
   22663 
   22664     case $ac_tag in
   22665     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22666       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22667     esac
   22668     ;;
   22669   esac
   22670 
   22671   ac_dir=`$as_dirname -- "$ac_file" ||
   22672 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22673 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22674 	 X"$ac_file" : 'X\(//\)$' \| \
   22675 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22676 $as_echo X"$ac_file" |
   22677     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22678 	    s//\1/
   22679 	    q
   22680 	  }
   22681 	  /^X\(\/\/\)[^/].*/{
   22682 	    s//\1/
   22683 	    q
   22684 	  }
   22685 	  /^X\(\/\/\)$/{
   22686 	    s//\1/
   22687 	    q
   22688 	  }
   22689 	  /^X\(\/\).*/{
   22690 	    s//\1/
   22691 	    q
   22692 	  }
   22693 	  s/.*/./; q'`
   22694   as_dir="$ac_dir"; as_fn_mkdir_p
   22695   ac_builddir=.
   22696 
   22697 case "$ac_dir" in
   22698 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22699 *)
   22700   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22701   # A ".." for each directory in $ac_dir_suffix.
   22702   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22703   case $ac_top_builddir_sub in
   22704   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22705   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22706   esac ;;
   22707 esac
   22708 ac_abs_top_builddir=$ac_pwd
   22709 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22710 # for backward compatibility:
   22711 ac_top_builddir=$ac_top_build_prefix
   22712 
   22713 case $srcdir in
   22714   .)  # We are building in place.
   22715     ac_srcdir=.
   22716     ac_top_srcdir=$ac_top_builddir_sub
   22717     ac_abs_top_srcdir=$ac_pwd ;;
   22718   [\\/]* | ?:[\\/]* )  # Absolute name.
   22719     ac_srcdir=$srcdir$ac_dir_suffix;
   22720     ac_top_srcdir=$srcdir
   22721     ac_abs_top_srcdir=$srcdir ;;
   22722   *) # Relative name.
   22723     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22724     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22725     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22726 esac
   22727 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22728 
   22729 
   22730   case $ac_mode in
   22731   :F)
   22732   #
   22733   # CONFIG_FILE
   22734   #
   22735 
   22736   case $INSTALL in
   22737   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22738   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22739   esac
   22740   ac_MKDIR_P=$MKDIR_P
   22741   case $MKDIR_P in
   22742   [\\/$]* | ?:[\\/]* ) ;;
   22743   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22744   esac
   22745 _ACEOF
   22746 
   22747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22748 # If the template does not know about datarootdir, expand it.
   22749 # FIXME: This hack should be removed a few years after 2.60.
   22750 ac_datarootdir_hack=; ac_datarootdir_seen=
   22751 ac_sed_dataroot='
   22752 /datarootdir/ {
   22753   p
   22754   q
   22755 }
   22756 /@datadir@/p
   22757 /@docdir@/p
   22758 /@infodir@/p
   22759 /@localedir@/p
   22760 /@mandir@/p'
   22761 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22762 *datarootdir*) ac_datarootdir_seen=yes;;
   22763 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22764   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22765 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22766 _ACEOF
   22767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22768   ac_datarootdir_hack='
   22769   s&@datadir@&$datadir&g
   22770   s&@docdir@&$docdir&g
   22771   s&@infodir@&$infodir&g
   22772   s&@localedir@&$localedir&g
   22773   s&@mandir@&$mandir&g
   22774   s&\\\${datarootdir}&$datarootdir&g' ;;
   22775 esac
   22776 _ACEOF
   22777 
   22778 # Neutralize VPATH when `$srcdir' = `.'.
   22779 # Shell code in configure.ac might set extrasub.
   22780 # FIXME: do we really want to maintain this feature?
   22781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22782 ac_sed_extra="$ac_vpsub
   22783 $extrasub
   22784 _ACEOF
   22785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22786 :t
   22787 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22788 s|@configure_input@|$ac_sed_conf_input|;t t
   22789 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22790 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22791 s&@srcdir@&$ac_srcdir&;t t
   22792 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22793 s&@top_srcdir@&$ac_top_srcdir&;t t
   22794 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22795 s&@builddir@&$ac_builddir&;t t
   22796 s&@abs_builddir@&$ac_abs_builddir&;t t
   22797 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22798 s&@INSTALL@&$ac_INSTALL&;t t
   22799 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22800 $ac_datarootdir_hack
   22801 "
   22802 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22803   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22804 
   22805 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22806   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22807   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22808       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22809   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22810 which seems to be undefined.  Please make sure it is defined" >&5
   22811 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22812 which seems to be undefined.  Please make sure it is defined" >&2;}
   22813 
   22814   rm -f "$ac_tmp/stdin"
   22815   case $ac_file in
   22816   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22817   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22818   esac \
   22819   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22820  ;;
   22821   :H)
   22822   #
   22823   # CONFIG_HEADER
   22824   #
   22825   if test x"$ac_file" != x-; then
   22826     {
   22827       $as_echo "/* $configure_input  */" \
   22828       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22829     } >"$ac_tmp/config.h" \
   22830       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22831     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22832       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22833 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22834     else
   22835       rm -f "$ac_file"
   22836       mv "$ac_tmp/config.h" "$ac_file" \
   22837 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22838     fi
   22839   else
   22840     $as_echo "/* $configure_input  */" \
   22841       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22842       || as_fn_error $? "could not create -" "$LINENO" 5
   22843   fi
   22844 # Compute "$ac_file"'s index in $config_headers.
   22845 _am_arg="$ac_file"
   22846 _am_stamp_count=1
   22847 for _am_header in $config_headers :; do
   22848   case $_am_header in
   22849     $_am_arg | $_am_arg:* )
   22850       break ;;
   22851     * )
   22852       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22853   esac
   22854 done
   22855 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22856 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22857 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22858 	 X"$_am_arg" : 'X\(//\)$' \| \
   22859 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22860 $as_echo X"$_am_arg" |
   22861     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22862 	    s//\1/
   22863 	    q
   22864 	  }
   22865 	  /^X\(\/\/\)[^/].*/{
   22866 	    s//\1/
   22867 	    q
   22868 	  }
   22869 	  /^X\(\/\/\)$/{
   22870 	    s//\1/
   22871 	    q
   22872 	  }
   22873 	  /^X\(\/\).*/{
   22874 	    s//\1/
   22875 	    q
   22876 	  }
   22877 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22878  ;;
   22879 
   22880   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22881 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22882  ;;
   22883   esac
   22884 
   22885 
   22886   case $ac_file$ac_mode in
   22887     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22888   # Older Autoconf quotes --file arguments for eval, but not when files
   22889   # are listed without --file.  Let's play safe and only enable the eval
   22890   # if we detect the quoting.
   22891   # TODO: see whether this extra hack can be removed once we start
   22892   # requiring Autoconf 2.70 or later.
   22893   case $CONFIG_FILES in #(
   22894   *\'*) :
   22895     eval set x "$CONFIG_FILES" ;; #(
   22896   *) :
   22897     set x $CONFIG_FILES ;; #(
   22898   *) :
   22899      ;;
   22900 esac
   22901   shift
   22902   # Used to flag and report bootstrapping failures.
   22903   am_rc=0
   22904   for am_mf
   22905   do
   22906     # Strip MF so we end up with the name of the file.
   22907     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   22908     # Check whether this is an Automake generated Makefile which includes
   22909     # dependency-tracking related rules and includes.
   22910     # Grep'ing the whole file directly is not great: AIX grep has a line
   22911     # limit of 2048, but all sed's we know have understand at least 4000.
   22912     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22913       || continue
   22914     am_dirpart=`$as_dirname -- "$am_mf" ||
   22915 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22916 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22917 	 X"$am_mf" : 'X\(//\)$' \| \
   22918 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22919 $as_echo X"$am_mf" |
   22920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22921 	    s//\1/
   22922 	    q
   22923 	  }
   22924 	  /^X\(\/\/\)[^/].*/{
   22925 	    s//\1/
   22926 	    q
   22927 	  }
   22928 	  /^X\(\/\/\)$/{
   22929 	    s//\1/
   22930 	    q
   22931 	  }
   22932 	  /^X\(\/\).*/{
   22933 	    s//\1/
   22934 	    q
   22935 	  }
   22936 	  s/.*/./; q'`
   22937     am_filepart=`$as_basename -- "$am_mf" ||
   22938 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22939 	 X"$am_mf" : 'X\(//\)$' \| \
   22940 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22941 $as_echo X/"$am_mf" |
   22942     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22943 	    s//\1/
   22944 	    q
   22945 	  }
   22946 	  /^X\/\(\/\/\)$/{
   22947 	    s//\1/
   22948 	    q
   22949 	  }
   22950 	  /^X\/\(\/\).*/{
   22951 	    s//\1/
   22952 	    q
   22953 	  }
   22954 	  s/.*/./; q'`
   22955     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22956       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22957         | $MAKE -f - am--depfiles" >&5
   22958    (cd "$am_dirpart" \
   22959       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22960         | $MAKE -f - am--depfiles) >&5 2>&5
   22961    ac_status=$?
   22962    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22963    (exit $ac_status); } || am_rc=$?
   22964   done
   22965   if test $am_rc -ne 0; then
   22966     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22968 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22969     for automatic dependency tracking.  Try re-running configure with the
   22970     '--disable-dependency-tracking' option to at least be able to build
   22971     the package (albeit without support for automatic dependency tracking).
   22972 See \`config.log' for more details" "$LINENO" 5; }
   22973   fi
   22974   { am_dirpart=; unset am_dirpart;}
   22975   { am_filepart=; unset am_filepart;}
   22976   { am_mf=; unset am_mf;}
   22977   { am_rc=; unset am_rc;}
   22978   rm -f conftest-deps.mk
   22979 }
   22980  ;;
   22981     "libtool":C)
   22982 
   22983     # See if we are running on zsh, and set the options that allow our
   22984     # commands through without removal of \ escapes.
   22985     if test -n "${ZSH_VERSION+set}"; then
   22986       setopt NO_GLOB_SUBST
   22987     fi
   22988 
   22989     cfgfile=${ofile}T
   22990     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22991     $RM "$cfgfile"
   22992 
   22993     cat <<_LT_EOF >> "$cfgfile"
   22994 #! $SHELL
   22995 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22997 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22998 
   22999 # Provide generalized library-building support services.
   23000 # Written by Gordon Matzigkeit, 1996
   23001 
   23002 # Copyright (C) 2014 Free Software Foundation, Inc.
   23003 # This is free software; see the source for copying conditions.  There is NO
   23004 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23005 
   23006 # GNU Libtool is free software; you can redistribute it and/or modify
   23007 # it under the terms of the GNU General Public License as published by
   23008 # the Free Software Foundation; either version 2 of of the License, or
   23009 # (at your option) any later version.
   23010 #
   23011 # As a special exception to the GNU General Public License, if you
   23012 # distribute this file as part of a program or library that is built
   23013 # using GNU Libtool, you may include this file under the  same
   23014 # distribution terms that you use for the rest of that program.
   23015 #
   23016 # GNU Libtool is distributed in the hope that it will be useful, but
   23017 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23018 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23019 # GNU General Public License for more details.
   23020 #
   23021 # You should have received a copy of the GNU General Public License
   23022 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23023 
   23024 
   23025 # The names of the tagged configurations supported by this script.
   23026 available_tags=''
   23027 
   23028 # Configured defaults for sys_lib_dlsearch_path munging.
   23029 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23030 
   23031 # ### BEGIN LIBTOOL CONFIG
   23032 
   23033 # Which release of libtool.m4 was used?
   23034 macro_version=$macro_version
   23035 macro_revision=$macro_revision
   23036 
   23037 # Assembler program.
   23038 AS=$lt_AS
   23039 
   23040 # DLL creation program.
   23041 DLLTOOL=$lt_DLLTOOL
   23042 
   23043 # Object dumper program.
   23044 OBJDUMP=$lt_OBJDUMP
   23045 
   23046 # Whether or not to build shared libraries.
   23047 build_libtool_libs=$enable_shared
   23048 
   23049 # Whether or not to build static libraries.
   23050 build_old_libs=$enable_static
   23051 
   23052 # What type of objects to build.
   23053 pic_mode=$pic_mode
   23054 
   23055 # Whether or not to optimize for fast installation.
   23056 fast_install=$enable_fast_install
   23057 
   23058 # Shared archive member basename,for filename based shared library versioning on AIX.
   23059 shared_archive_member_spec=$shared_archive_member_spec
   23060 
   23061 # Shell to use when invoking shell scripts.
   23062 SHELL=$lt_SHELL
   23063 
   23064 # An echo program that protects backslashes.
   23065 ECHO=$lt_ECHO
   23066 
   23067 # The PATH separator for the build system.
   23068 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23069 
   23070 # The host system.
   23071 host_alias=$host_alias
   23072 host=$host
   23073 host_os=$host_os
   23074 
   23075 # The build system.
   23076 build_alias=$build_alias
   23077 build=$build
   23078 build_os=$build_os
   23079 
   23080 # A sed program that does not truncate output.
   23081 SED=$lt_SED
   23082 
   23083 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23084 Xsed="\$SED -e 1s/^X//"
   23085 
   23086 # A grep program that handles long lines.
   23087 GREP=$lt_GREP
   23088 
   23089 # An ERE matcher.
   23090 EGREP=$lt_EGREP
   23091 
   23092 # A literal string matcher.
   23093 FGREP=$lt_FGREP
   23094 
   23095 # A BSD- or MS-compatible name lister.
   23096 NM=$lt_NM
   23097 
   23098 # Whether we need soft or hard links.
   23099 LN_S=$lt_LN_S
   23100 
   23101 # What is the maximum length of a command?
   23102 max_cmd_len=$max_cmd_len
   23103 
   23104 # Object file suffix (normally "o").
   23105 objext=$ac_objext
   23106 
   23107 # Executable file suffix (normally "").
   23108 exeext=$exeext
   23109 
   23110 # whether the shell understands "unset".
   23111 lt_unset=$lt_unset
   23112 
   23113 # turn spaces into newlines.
   23114 SP2NL=$lt_lt_SP2NL
   23115 
   23116 # turn newlines into spaces.
   23117 NL2SP=$lt_lt_NL2SP
   23118 
   23119 # convert \$build file names to \$host format.
   23120 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23121 
   23122 # convert \$build files to toolchain format.
   23123 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23124 
   23125 # Method to check whether dependent libraries are shared objects.
   23126 deplibs_check_method=$lt_deplibs_check_method
   23127 
   23128 # Command to use when deplibs_check_method = "file_magic".
   23129 file_magic_cmd=$lt_file_magic_cmd
   23130 
   23131 # How to find potential files when deplibs_check_method = "file_magic".
   23132 file_magic_glob=$lt_file_magic_glob
   23133 
   23134 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23135 want_nocaseglob=$lt_want_nocaseglob
   23136 
   23137 # Command to associate shared and link libraries.
   23138 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23139 
   23140 # The archiver.
   23141 AR=$lt_AR
   23142 
   23143 # Flags to create an archive.
   23144 AR_FLAGS=$lt_AR_FLAGS
   23145 
   23146 # How to feed a file listing to the archiver.
   23147 archiver_list_spec=$lt_archiver_list_spec
   23148 
   23149 # A symbol stripping program.
   23150 STRIP=$lt_STRIP
   23151 
   23152 # Commands used to install an old-style archive.
   23153 RANLIB=$lt_RANLIB
   23154 old_postinstall_cmds=$lt_old_postinstall_cmds
   23155 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23156 
   23157 # Whether to use a lock for old archive extraction.
   23158 lock_old_archive_extraction=$lock_old_archive_extraction
   23159 
   23160 # A C compiler.
   23161 LTCC=$lt_CC
   23162 
   23163 # LTCC compiler flags.
   23164 LTCFLAGS=$lt_CFLAGS
   23165 
   23166 # Take the output of nm and produce a listing of raw symbols and C names.
   23167 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23168 
   23169 # Transform the output of nm in a proper C declaration.
   23170 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23171 
   23172 # Transform the output of nm into a list of symbols to manually relocate.
   23173 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23174 
   23175 # Transform the output of nm in a C name address pair.
   23176 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23177 
   23178 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23179 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23180 
   23181 # The name lister interface.
   23182 nm_interface=$lt_lt_cv_nm_interface
   23183 
   23184 # Specify filename containing input files for \$NM.
   23185 nm_file_list_spec=$lt_nm_file_list_spec
   23186 
   23187 # The root where to search for dependent libraries,and where our libraries should be installed.
   23188 lt_sysroot=$lt_sysroot
   23189 
   23190 # Command to truncate a binary pipe.
   23191 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23192 
   23193 # The name of the directory that contains temporary libtool files.
   23194 objdir=$objdir
   23195 
   23196 # Used to examine libraries when file_magic_cmd begins with "file".
   23197 MAGIC_CMD=$MAGIC_CMD
   23198 
   23199 # Must we lock files when doing compilation?
   23200 need_locks=$lt_need_locks
   23201 
   23202 # Manifest tool.
   23203 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23204 
   23205 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23206 DSYMUTIL=$lt_DSYMUTIL
   23207 
   23208 # Tool to change global to local symbols on Mac OS X.
   23209 NMEDIT=$lt_NMEDIT
   23210 
   23211 # Tool to manipulate fat objects and archives on Mac OS X.
   23212 LIPO=$lt_LIPO
   23213 
   23214 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23215 OTOOL=$lt_OTOOL
   23216 
   23217 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23218 OTOOL64=$lt_OTOOL64
   23219 
   23220 # Old archive suffix (normally "a").
   23221 libext=$libext
   23222 
   23223 # Shared library suffix (normally ".so").
   23224 shrext_cmds=$lt_shrext_cmds
   23225 
   23226 # The commands to extract the exported symbol list from a shared archive.
   23227 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23228 
   23229 # Variables whose values should be saved in libtool wrapper scripts and
   23230 # restored at link time.
   23231 variables_saved_for_relink=$lt_variables_saved_for_relink
   23232 
   23233 # Do we need the "lib" prefix for modules?
   23234 need_lib_prefix=$need_lib_prefix
   23235 
   23236 # Do we need a version for libraries?
   23237 need_version=$need_version
   23238 
   23239 # Library versioning type.
   23240 version_type=$version_type
   23241 
   23242 # Shared library runtime path variable.
   23243 runpath_var=$runpath_var
   23244 
   23245 # Shared library path variable.
   23246 shlibpath_var=$shlibpath_var
   23247 
   23248 # Is shlibpath searched before the hard-coded library search path?
   23249 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23250 
   23251 # Format of library name prefix.
   23252 libname_spec=$lt_libname_spec
   23253 
   23254 # List of archive names.  First name is the real one, the rest are links.
   23255 # The last name is the one that the linker finds with -lNAME
   23256 library_names_spec=$lt_library_names_spec
   23257 
   23258 # The coded name of the library, if different from the real name.
   23259 soname_spec=$lt_soname_spec
   23260 
   23261 # Permission mode override for installation of shared libraries.
   23262 install_override_mode=$lt_install_override_mode
   23263 
   23264 # Command to use after installation of a shared archive.
   23265 postinstall_cmds=$lt_postinstall_cmds
   23266 
   23267 # Command to use after uninstallation of a shared archive.
   23268 postuninstall_cmds=$lt_postuninstall_cmds
   23269 
   23270 # Commands used to finish a libtool library installation in a directory.
   23271 finish_cmds=$lt_finish_cmds
   23272 
   23273 # As "finish_cmds", except a single script fragment to be evaled but
   23274 # not shown.
   23275 finish_eval=$lt_finish_eval
   23276 
   23277 # Whether we should hardcode library paths into libraries.
   23278 hardcode_into_libs=$hardcode_into_libs
   23279 
   23280 # Compile-time system search path for libraries.
   23281 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23282 
   23283 # Detected run-time system search path for libraries.
   23284 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23285 
   23286 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23287 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23288 
   23289 # Whether dlopen is supported.
   23290 dlopen_support=$enable_dlopen
   23291 
   23292 # Whether dlopen of programs is supported.
   23293 dlopen_self=$enable_dlopen_self
   23294 
   23295 # Whether dlopen of statically linked programs is supported.
   23296 dlopen_self_static=$enable_dlopen_self_static
   23297 
   23298 # Commands to strip libraries.
   23299 old_striplib=$lt_old_striplib
   23300 striplib=$lt_striplib
   23301 
   23302 
   23303 # The linker used to build libraries.
   23304 LD=$lt_LD
   23305 
   23306 # How to create reloadable object files.
   23307 reload_flag=$lt_reload_flag
   23308 reload_cmds=$lt_reload_cmds
   23309 
   23310 # Commands used to build an old-style archive.
   23311 old_archive_cmds=$lt_old_archive_cmds
   23312 
   23313 # A language specific compiler.
   23314 CC=$lt_compiler
   23315 
   23316 # Is the compiler the GNU compiler?
   23317 with_gcc=$GCC
   23318 
   23319 # Compiler flag to turn off builtin functions.
   23320 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23321 
   23322 # Additional compiler flags for building library objects.
   23323 pic_flag=$lt_lt_prog_compiler_pic
   23324 
   23325 # How to pass a linker flag through the compiler.
   23326 wl=$lt_lt_prog_compiler_wl
   23327 
   23328 # Compiler flag to prevent dynamic linking.
   23329 link_static_flag=$lt_lt_prog_compiler_static
   23330 
   23331 # Does compiler simultaneously support -c and -o options?
   23332 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23333 
   23334 # Whether or not to add -lc for building shared libraries.
   23335 build_libtool_need_lc=$archive_cmds_need_lc
   23336 
   23337 # Whether or not to disallow shared libs when runtime libs are static.
   23338 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23339 
   23340 # Compiler flag to allow reflexive dlopens.
   23341 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23342 
   23343 # Compiler flag to generate shared objects directly from archives.
   23344 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23345 
   23346 # Whether the compiler copes with passing no objects directly.
   23347 compiler_needs_object=$lt_compiler_needs_object
   23348 
   23349 # Create an old-style archive from a shared archive.
   23350 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23351 
   23352 # Create a temporary old-style archive to link instead of a shared archive.
   23353 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23354 
   23355 # Commands used to build a shared archive.
   23356 archive_cmds=$lt_archive_cmds
   23357 archive_expsym_cmds=$lt_archive_expsym_cmds
   23358 
   23359 # Commands used to build a loadable module if different from building
   23360 # a shared archive.
   23361 module_cmds=$lt_module_cmds
   23362 module_expsym_cmds=$lt_module_expsym_cmds
   23363 
   23364 # Whether we are building with GNU ld or not.
   23365 with_gnu_ld=$lt_with_gnu_ld
   23366 
   23367 # Flag that allows shared libraries with undefined symbols to be built.
   23368 allow_undefined_flag=$lt_allow_undefined_flag
   23369 
   23370 # Flag that enforces no undefined symbols.
   23371 no_undefined_flag=$lt_no_undefined_flag
   23372 
   23373 # Flag to hardcode \$libdir into a binary during linking.
   23374 # This must work even if \$libdir does not exist
   23375 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23376 
   23377 # Whether we need a single "-rpath" flag with a separated argument.
   23378 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23379 
   23380 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23381 # DIR into the resulting binary.
   23382 hardcode_direct=$hardcode_direct
   23383 
   23384 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23385 # DIR into the resulting binary and the resulting library dependency is
   23386 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23387 # library is relocated.
   23388 hardcode_direct_absolute=$hardcode_direct_absolute
   23389 
   23390 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23391 # into the resulting binary.
   23392 hardcode_minus_L=$hardcode_minus_L
   23393 
   23394 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23395 # into the resulting binary.
   23396 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23397 
   23398 # Set to "yes" if building a shared library automatically hardcodes DIR
   23399 # into the library and all subsequent libraries and executables linked
   23400 # against it.
   23401 hardcode_automatic=$hardcode_automatic
   23402 
   23403 # Set to yes if linker adds runtime paths of dependent libraries
   23404 # to runtime path list.
   23405 inherit_rpath=$inherit_rpath
   23406 
   23407 # Whether libtool must link a program against all its dependency libraries.
   23408 link_all_deplibs=$link_all_deplibs
   23409 
   23410 # Set to "yes" if exported symbols are required.
   23411 always_export_symbols=$always_export_symbols
   23412 
   23413 # The commands to list exported symbols.
   23414 export_symbols_cmds=$lt_export_symbols_cmds
   23415 
   23416 # Symbols that should not be listed in the preloaded symbols.
   23417 exclude_expsyms=$lt_exclude_expsyms
   23418 
   23419 # Symbols that must always be exported.
   23420 include_expsyms=$lt_include_expsyms
   23421 
   23422 # Commands necessary for linking programs (against libraries) with templates.
   23423 prelink_cmds=$lt_prelink_cmds
   23424 
   23425 # Commands necessary for finishing linking programs.
   23426 postlink_cmds=$lt_postlink_cmds
   23427 
   23428 # Specify filename containing input files.
   23429 file_list_spec=$lt_file_list_spec
   23430 
   23431 # How to hardcode a shared library path into an executable.
   23432 hardcode_action=$hardcode_action
   23433 
   23434 # ### END LIBTOOL CONFIG
   23435 
   23436 _LT_EOF
   23437 
   23438     cat <<'_LT_EOF' >> "$cfgfile"
   23439 
   23440 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23441 
   23442 # func_munge_path_list VARIABLE PATH
   23443 # -----------------------------------
   23444 # VARIABLE is name of variable containing _space_ separated list of
   23445 # directories to be munged by the contents of PATH, which is string
   23446 # having a format:
   23447 # "DIR[:DIR]:"
   23448 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23449 # ":DIR[:DIR]"
   23450 #       string "DIR[ DIR]" will be appended to VARIABLE
   23451 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23452 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23453 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23454 # "DIR[:DIR]"
   23455 #       VARIABLE will be replaced by "DIR[ DIR]"
   23456 func_munge_path_list ()
   23457 {
   23458     case x$2 in
   23459     x)
   23460         ;;
   23461     *:)
   23462         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23463         ;;
   23464     x:*)
   23465         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23466         ;;
   23467     *::*)
   23468         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23469         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23470         ;;
   23471     *)
   23472         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23473         ;;
   23474     esac
   23475 }
   23476 
   23477 
   23478 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23479 func_cc_basename ()
   23480 {
   23481     for cc_temp in $*""; do
   23482       case $cc_temp in
   23483         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23484         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23485         \-*) ;;
   23486         *) break;;
   23487       esac
   23488     done
   23489     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23490 }
   23491 
   23492 
   23493 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23494 
   23495 _LT_EOF
   23496 
   23497   case $host_os in
   23498   aix3*)
   23499     cat <<\_LT_EOF >> "$cfgfile"
   23500 # AIX sometimes has problems with the GCC collect2 program.  For some
   23501 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23502 # vanish in a puff of smoke.
   23503 if test set != "${COLLECT_NAMES+set}"; then
   23504   COLLECT_NAMES=
   23505   export COLLECT_NAMES
   23506 fi
   23507 _LT_EOF
   23508     ;;
   23509   esac
   23510 
   23511 
   23512 ltmain=$ac_aux_dir/ltmain.sh
   23513 
   23514 
   23515   # We use sed instead of cat because bash on DJGPP gets confused if
   23516   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23517   # text mode, it properly converts lines to CR/LF.  This bash problem
   23518   # is reportedly fixed, but why not run on old versions too?
   23519   sed '$q' "$ltmain" >> "$cfgfile" \
   23520      || (rm -f "$cfgfile"; exit 1)
   23521 
   23522    mv -f "$cfgfile" "$ofile" ||
   23523     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23524   chmod +x "$ofile"
   23525 
   23526  ;;
   23527 
   23528   esac
   23529 done # for ac_tag
   23530 
   23531 
   23532 as_fn_exit 0
   23533 _ACEOF
   23534 ac_clean_files=$ac_clean_files_save
   23535 
   23536 test $ac_write_fail = 0 ||
   23537   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23538 
   23539 
   23540 # configure is writing to config.log, and then calls config.status.
   23541 # config.status does its own redirection, appending to config.log.
   23542 # Unfortunately, on DOS this fails, as config.log is still kept open
   23543 # by configure, so config.status won't be able to write to it; its
   23544 # output is simply discarded.  So we exec the FD to /dev/null,
   23545 # effectively closing config.log, so it can be properly (re)opened and
   23546 # appended to by config.status.  When coming back to configure, we
   23547 # need to make the FD available again.
   23548 if test "$no_create" != yes; then
   23549   ac_cs_success=:
   23550   ac_config_status_args=
   23551   test "$silent" = yes &&
   23552     ac_config_status_args="$ac_config_status_args --quiet"
   23553   exec 5>/dev/null
   23554   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23555   exec 5>>config.log
   23556   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23557   # would make configure fail if this is the last instruction.
   23558   $ac_cs_success || as_fn_exit 1
   23559 fi
   23560 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23561   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23562 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23563 fi
   23564 
   23565 
   23566 
   23567 echo ""
   23568 echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
   23569 echo ""
   23570 echo "  Configuration"
   23571 echo "    XDM support.........: ${have_xdmcp}"
   23572 echo "    sendmsg fd passing..: ${have_sendmsg}"
   23573 echo "    Build unit tests....: ${HAVE_CHECK}"
   23574 echo "      with html results.: ${HTML_CHECK_RESULT}"
   23575 echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
   23576 echo ""
   23577 echo "  X11 extensions"
   23578 echo "    Composite...........: ${BUILD_COMPOSITE}"
   23579 echo "    Damage..............: ${BUILD_DAMAGE}"
   23580 echo "    Dpms................: ${BUILD_DPMS}"
   23581 echo "    Dri2................: ${BUILD_DRI2}"
   23582 echo "    Dri3................: ${BUILD_DRI3}"
   23583 echo "    GenericEvent........: ${BUILD_GE}"
   23584 echo "    Glx.................: ${BUILD_GLX}"
   23585 echo "    Randr...............: ${BUILD_RANDR}"
   23586 echo "    Record..............: ${BUILD_RECORD}"
   23587 echo "    Render..............: ${BUILD_RENDER}"
   23588 echo "    Resource............: ${BUILD_RESOURCE}"
   23589 echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
   23590 echo "    selinux.............: ${BUILD_SELINUX}"
   23591 echo "    Shape...............: ${BUILD_SHAPE}"
   23592 echo "    Shm.................: ${BUILD_SHM}"
   23593 echo "    Sync................: ${BUILD_SYNC}"
   23594 echo "    Xevie...............: ${BUILD_XEVIE}"
   23595 echo "    Xfixes..............: ${BUILD_XFIXES}"
   23596 echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
   23597 echo "    xinerama............: ${BUILD_XINERAMA}"
   23598 echo "    xinput..............: ${BUILD_XINPUT}"
   23599 echo "    xkb.................: ${BUILD_XKB}"
   23600 echo "    xprint..............: ${BUILD_XPRINT}"
   23601 echo "    xtest...............: ${BUILD_XTEST}"
   23602 echo "    xv..................: ${BUILD_XV}"
   23603 echo "    xvmc................: ${BUILD_XVMC}"
   23604 echo ""
   23605 echo "  Used CFLAGS:"
   23606 echo "    CPPFLAGS............: ${CPPFLAGS}"
   23607 echo "    CFLAGS..............: ${CFLAGS}"
   23608 echo ""
   23609 echo "  Installation:"
   23610 echo "    Prefix..............: ${prefix}"
   23611 echo ""
   23612