Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libxcb 1.15.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libxcb/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libxcb'
    624 PACKAGE_TARNAME='libxcb'
    625 PACKAGE_VERSION='1.15'
    626 PACKAGE_STRING='libxcb 1.15'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxcb/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="xcb.pc.in"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 XCB_SERVERSIDE_SUPPORT_FALSE
    668 XCB_SERVERSIDE_SUPPORT_TRUE
    669 LAUNCHD
    670 BUILD_XVMC_FALSE
    671 BUILD_XVMC_TRUE
    672 BUILD_XV_FALSE
    673 BUILD_XV_TRUE
    674 BUILD_XTEST_FALSE
    675 BUILD_XTEST_TRUE
    676 BUILD_SELINUX_FALSE
    677 BUILD_SELINUX_TRUE
    678 BUILD_XPRINT_FALSE
    679 BUILD_XPRINT_TRUE
    680 BUILD_XKB_FALSE
    681 BUILD_XKB_TRUE
    682 BUILD_XINPUT_FALSE
    683 BUILD_XINPUT_TRUE
    684 BUILD_XINERAMA_FALSE
    685 BUILD_XINERAMA_TRUE
    686 BUILD_XFREE86_DRI_FALSE
    687 BUILD_XFREE86_DRI_TRUE
    688 BUILD_XFIXES_FALSE
    689 BUILD_XFIXES_TRUE
    690 BUILD_XEVIE_FALSE
    691 BUILD_XEVIE_TRUE
    692 BUILD_SYNC_FALSE
    693 BUILD_SYNC_TRUE
    694 BUILD_SHM_FALSE
    695 BUILD_SHM_TRUE
    696 BUILD_SHAPE_FALSE
    697 BUILD_SHAPE_TRUE
    698 BUILD_SCREENSAVER_FALSE
    699 BUILD_SCREENSAVER_TRUE
    700 BUILD_RESOURCE_FALSE
    701 BUILD_RESOURCE_TRUE
    702 BUILD_RENDER_FALSE
    703 BUILD_RENDER_TRUE
    704 BUILD_RECORD_FALSE
    705 BUILD_RECORD_TRUE
    706 BUILD_RANDR_FALSE
    707 BUILD_RANDR_TRUE
    708 BUILD_PRESENT_FALSE
    709 BUILD_PRESENT_TRUE
    710 BUILD_GLX_FALSE
    711 BUILD_GLX_TRUE
    712 BUILD_GE_FALSE
    713 BUILD_GE_TRUE
    714 BUILD_DRI3_FALSE
    715 BUILD_DRI3_TRUE
    716 BUILD_DRI2_FALSE
    717 BUILD_DRI2_TRUE
    718 BUILD_DPMS_FALSE
    719 BUILD_DPMS_TRUE
    720 BUILD_DAMAGE_FALSE
    721 BUILD_DAMAGE_TRUE
    722 BUILD_COMPOSITE_FALSE
    723 BUILD_COMPOSITE_TRUE
    724 xcbincludedir
    725 XCB_HAVE_WIN32_FALSE
    726 XCB_HAVE_WIN32_TRUE
    727 lt_enable_auto_import
    728 XCBPROTO_XCBPYTHONDIR
    729 XCBPROTO_VERSION
    730 XCBPROTO_XCBINCLUDEDIR
    731 NEEDED
    732 XDMCP_LIBS
    733 XDMCP_CFLAGS
    734 NEEDED_LIBS
    735 NEEDED_CFLAGS
    736 XCBPROTO_LIBS
    737 XCBPROTO_CFLAGS
    738 HTML_CHECK_RESULT
    739 XSLTPROC
    740 HAVE_CHECK_FALSE
    741 HAVE_CHECK_TRUE
    742 CHECK_LIBS
    743 CHECK_CFLAGS
    744 HAVE_DOXYGEN_FALSE
    745 HAVE_DOXYGEN_TRUE
    746 HAVE_DOT_FALSE
    747 HAVE_DOT_TRUE
    748 HAVE_DOT
    749 DOT
    750 DOXYGEN
    751 ENABLE_DEVEL_DOCS_FALSE
    752 ENABLE_DEVEL_DOCS_TRUE
    753 MAN_SUBSTS
    754 XORG_MAN_PAGE
    755 ADMIN_MAN_DIR
    756 DRIVER_MAN_DIR
    757 MISC_MAN_DIR
    758 FILE_MAN_DIR
    759 LIB_MAN_DIR
    760 APP_MAN_DIR
    761 ADMIN_MAN_SUFFIX
    762 DRIVER_MAN_SUFFIX
    763 MISC_MAN_SUFFIX
    764 FILE_MAN_SUFFIX
    765 LIB_MAN_SUFFIX
    766 APP_MAN_SUFFIX
    767 INSTALL_CMD
    768 PKG_CONFIG_LIBDIR
    769 PKG_CONFIG_PATH
    770 PKG_CONFIG
    771 CHANGELOG_CMD
    772 STRICT_CFLAGS
    773 CWARNFLAGS
    774 BASE_CFLAGS
    775 LT_SYS_LIBRARY_PATH
    776 OTOOL64
    777 OTOOL
    778 LIPO
    779 NMEDIT
    780 DSYMUTIL
    781 MANIFEST_TOOL
    782 RANLIB
    783 ac_ct_AR
    784 AR
    785 LN_S
    786 NM
    787 ac_ct_DUMPBIN
    788 DUMPBIN
    789 LD
    790 FGREP
    791 EGREP
    792 GREP
    793 SED
    794 host_os
    795 host_vendor
    796 host_cpu
    797 host
    798 build_os
    799 build_vendor
    800 build_cpu
    801 build
    802 LIBTOOL
    803 OBJDUMP
    804 DLLTOOL
    805 AS
    806 am__fastdepCC_FALSE
    807 am__fastdepCC_TRUE
    808 CCDEPMODE
    809 am__nodep
    810 AMDEPBACKSLASH
    811 AMDEP_FALSE
    812 AMDEP_TRUE
    813 am__include
    814 DEPDIR
    815 OBJEXT
    816 EXEEXT
    817 ac_ct_CC
    818 CPPFLAGS
    819 LDFLAGS
    820 CFLAGS
    821 CC
    822 pkgpyexecdir
    823 pyexecdir
    824 pkgpythondir
    825 pythondir
    826 PYTHON_EXEC_PREFIX
    827 PYTHON_PREFIX
    828 PYTHON_PLATFORM
    829 PYTHON_VERSION
    830 PYTHON
    831 AM_BACKSLASH
    832 AM_DEFAULT_VERBOSITY
    833 AM_DEFAULT_V
    834 AM_V
    835 CSCOPE
    836 ETAGS
    837 CTAGS
    838 am__untar
    839 am__tar
    840 AMTAR
    841 am__leading_dot
    842 SET_MAKE
    843 AWK
    844 mkdir_p
    845 MKDIR_P
    846 INSTALL_STRIP_PROGRAM
    847 STRIP
    848 install_sh
    849 MAKEINFO
    850 AUTOHEADER
    851 AUTOMAKE
    852 AUTOCONF
    853 ACLOCAL
    854 VERSION
    855 PACKAGE
    856 CYGPATH_W
    857 am__isrc
    858 INSTALL_DATA
    859 INSTALL_SCRIPT
    860 INSTALL_PROGRAM
    861 target_alias
    862 host_alias
    863 build_alias
    864 LIBS
    865 ECHO_T
    866 ECHO_N
    867 ECHO_C
    868 DEFS
    869 mandir
    870 localedir
    871 libdir
    872 psdir
    873 pdfdir
    874 dvidir
    875 htmldir
    876 infodir
    877 docdir
    878 oldincludedir
    879 includedir
    880 runstatedir
    881 localstatedir
    882 sharedstatedir
    883 sysconfdir
    884 datadir
    885 datarootdir
    886 libexecdir
    887 sbindir
    888 bindir
    889 program_transform_name
    890 prefix
    891 exec_prefix
    892 PACKAGE_URL
    893 PACKAGE_BUGREPORT
    894 PACKAGE_STRING
    895 PACKAGE_VERSION
    896 PACKAGE_TARNAME
    897 PACKAGE_NAME
    898 PATH_SEPARATOR
    899 SHELL
    900 am__quote'
    901 ac_subst_files=''
    902 ac_user_opts='
    903 enable_option_checking
    904 enable_silent_rules
    905 with_python_sys_prefix
    906 with_python_prefix
    907 with_python_exec_prefix
    908 enable_dependency_tracking
    909 enable_shared
    910 enable_static
    911 with_pic
    912 enable_fast_install
    913 with_aix_soname
    914 with_gnu_ld
    915 with_sysroot
    916 enable_libtool_lock
    917 enable_selective_werror
    918 enable_strict_compilation
    919 enable_devel_docs
    920 with_doxygen
    921 with_queue_size
    922 enable_composite
    923 enable_damage
    924 enable_dpms
    925 enable_dri2
    926 enable_dri3
    927 enable_ge
    928 enable_glx
    929 enable_present
    930 enable_randr
    931 enable_record
    932 enable_render
    933 enable_resource
    934 enable_screensaver
    935 enable_shape
    936 enable_shm
    937 enable_sync
    938 enable_xevie
    939 enable_xfixes
    940 enable_xfree86_dri
    941 enable_xinerama
    942 enable_xinput
    943 enable_xkb
    944 enable_xprint
    945 enable_selinux
    946 enable_xtest
    947 enable_xv
    948 enable_xvmc
    949 with_launchd
    950 with_serverside_support
    951 '
    952       ac_precious_vars='build_alias
    953 host_alias
    954 target_alias
    955 PYTHON
    956 CC
    957 CFLAGS
    958 LDFLAGS
    959 LIBS
    960 CPPFLAGS
    961 LT_SYS_LIBRARY_PATH
    962 PKG_CONFIG
    963 PKG_CONFIG_PATH
    964 PKG_CONFIG_LIBDIR
    965 DOXYGEN
    966 DOT
    967 CHECK_CFLAGS
    968 CHECK_LIBS
    969 XCBPROTO_CFLAGS
    970 XCBPROTO_LIBS
    971 NEEDED_CFLAGS
    972 NEEDED_LIBS
    973 XDMCP_CFLAGS
    974 XDMCP_LIBS'
    975 
    976 
    977 # Initialize some variables set by options.
    978 ac_init_help=
    979 ac_init_version=false
    980 ac_unrecognized_opts=
    981 ac_unrecognized_sep=
    982 # The variables have the same names as the options, with
    983 # dashes changed to underlines.
    984 cache_file=/dev/null
    985 exec_prefix=NONE
    986 no_create=
    987 no_recursion=
    988 prefix=NONE
    989 program_prefix=NONE
    990 program_suffix=NONE
    991 program_transform_name=s,x,x,
    992 silent=
    993 site=
    994 srcdir=
    995 verbose=
    996 x_includes=NONE
    997 x_libraries=NONE
    998 
    999 # Installation directory options.
   1000 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1001 # and all the variables that are supposed to be based on exec_prefix
   1002 # by default will actually change.
   1003 # Use braces instead of parens because sh, perl, etc. also accept them.
   1004 # (The list follows the same order as the GNU Coding Standards.)
   1005 bindir='${exec_prefix}/bin'
   1006 sbindir='${exec_prefix}/sbin'
   1007 libexecdir='${exec_prefix}/libexec'
   1008 datarootdir='${prefix}/share'
   1009 datadir='${datarootdir}'
   1010 sysconfdir='${prefix}/etc'
   1011 sharedstatedir='${prefix}/com'
   1012 localstatedir='${prefix}/var'
   1013 runstatedir='${localstatedir}/run'
   1014 includedir='${prefix}/include'
   1015 oldincludedir='/usr/include'
   1016 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1017 infodir='${datarootdir}/info'
   1018 htmldir='${docdir}'
   1019 dvidir='${docdir}'
   1020 pdfdir='${docdir}'
   1021 psdir='${docdir}'
   1022 libdir='${exec_prefix}/lib'
   1023 localedir='${datarootdir}/locale'
   1024 mandir='${datarootdir}/man'
   1025 
   1026 ac_prev=
   1027 ac_dashdash=
   1028 for ac_option
   1029 do
   1030   # If the previous option needs an argument, assign it.
   1031   if test -n "$ac_prev"; then
   1032     eval $ac_prev=\$ac_option
   1033     ac_prev=
   1034     continue
   1035   fi
   1036 
   1037   case $ac_option in
   1038   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1039   *=)   ac_optarg= ;;
   1040   *)    ac_optarg=yes ;;
   1041   esac
   1042 
   1043   case $ac_dashdash$ac_option in
   1044   --)
   1045     ac_dashdash=yes ;;
   1046 
   1047   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1048     ac_prev=bindir ;;
   1049   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1050     bindir=$ac_optarg ;;
   1051 
   1052   -build | --build | --buil | --bui | --bu)
   1053     ac_prev=build_alias ;;
   1054   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1055     build_alias=$ac_optarg ;;
   1056 
   1057   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1058   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1059     ac_prev=cache_file ;;
   1060   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1061   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1062     cache_file=$ac_optarg ;;
   1063 
   1064   --config-cache | -C)
   1065     cache_file=config.cache ;;
   1066 
   1067   -datadir | --datadir | --datadi | --datad)
   1068     ac_prev=datadir ;;
   1069   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1070     datadir=$ac_optarg ;;
   1071 
   1072   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1073   | --dataroo | --dataro | --datar)
   1074     ac_prev=datarootdir ;;
   1075   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1076   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1077     datarootdir=$ac_optarg ;;
   1078 
   1079   -disable-* | --disable-*)
   1080     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1081     # Reject names that are not valid shell variable names.
   1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1083       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1084     ac_useropt_orig=$ac_useropt
   1085     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1086     case $ac_user_opts in
   1087       *"
   1088 "enable_$ac_useropt"
   1089 "*) ;;
   1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1091 	 ac_unrecognized_sep=', ';;
   1092     esac
   1093     eval enable_$ac_useropt=no ;;
   1094 
   1095   -docdir | --docdir | --docdi | --doc | --do)
   1096     ac_prev=docdir ;;
   1097   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1098     docdir=$ac_optarg ;;
   1099 
   1100   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1101     ac_prev=dvidir ;;
   1102   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1103     dvidir=$ac_optarg ;;
   1104 
   1105   -enable-* | --enable-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1110     ac_useropt_orig=$ac_useropt
   1111     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1112     case $ac_user_opts in
   1113       *"
   1114 "enable_$ac_useropt"
   1115 "*) ;;
   1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1117 	 ac_unrecognized_sep=', ';;
   1118     esac
   1119     eval enable_$ac_useropt=\$ac_optarg ;;
   1120 
   1121   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1122   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1123   | --exec | --exe | --ex)
   1124     ac_prev=exec_prefix ;;
   1125   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1126   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1127   | --exec=* | --exe=* | --ex=*)
   1128     exec_prefix=$ac_optarg ;;
   1129 
   1130   -gas | --gas | --ga | --g)
   1131     # Obsolete; use --with-gas.
   1132     with_gas=yes ;;
   1133 
   1134   -help | --help | --hel | --he | -h)
   1135     ac_init_help=long ;;
   1136   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1137     ac_init_help=recursive ;;
   1138   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1139     ac_init_help=short ;;
   1140 
   1141   -host | --host | --hos | --ho)
   1142     ac_prev=host_alias ;;
   1143   -host=* | --host=* | --hos=* | --ho=*)
   1144     host_alias=$ac_optarg ;;
   1145 
   1146   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1147     ac_prev=htmldir ;;
   1148   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1149   | --ht=*)
   1150     htmldir=$ac_optarg ;;
   1151 
   1152   -includedir | --includedir | --includedi | --included | --include \
   1153   | --includ | --inclu | --incl | --inc)
   1154     ac_prev=includedir ;;
   1155   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1156   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1157     includedir=$ac_optarg ;;
   1158 
   1159   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1160     ac_prev=infodir ;;
   1161   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1162     infodir=$ac_optarg ;;
   1163 
   1164   -libdir | --libdir | --libdi | --libd)
   1165     ac_prev=libdir ;;
   1166   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1167     libdir=$ac_optarg ;;
   1168 
   1169   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1170   | --libexe | --libex | --libe)
   1171     ac_prev=libexecdir ;;
   1172   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1173   | --libexe=* | --libex=* | --libe=*)
   1174     libexecdir=$ac_optarg ;;
   1175 
   1176   -localedir | --localedir | --localedi | --localed | --locale)
   1177     ac_prev=localedir ;;
   1178   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1179     localedir=$ac_optarg ;;
   1180 
   1181   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1182   | --localstate | --localstat | --localsta | --localst | --locals)
   1183     ac_prev=localstatedir ;;
   1184   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1185   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1186     localstatedir=$ac_optarg ;;
   1187 
   1188   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1189     ac_prev=mandir ;;
   1190   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1191     mandir=$ac_optarg ;;
   1192 
   1193   -nfp | --nfp | --nf)
   1194     # Obsolete; use --without-fp.
   1195     with_fp=no ;;
   1196 
   1197   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1198   | --no-cr | --no-c | -n)
   1199     no_create=yes ;;
   1200 
   1201   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1202   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1203     no_recursion=yes ;;
   1204 
   1205   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1206   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1207   | --oldin | --oldi | --old | --ol | --o)
   1208     ac_prev=oldincludedir ;;
   1209   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1210   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1211   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1212     oldincludedir=$ac_optarg ;;
   1213 
   1214   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1215     ac_prev=prefix ;;
   1216   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1217     prefix=$ac_optarg ;;
   1218 
   1219   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1220   | --program-pre | --program-pr | --program-p)
   1221     ac_prev=program_prefix ;;
   1222   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1223   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1224     program_prefix=$ac_optarg ;;
   1225 
   1226   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1227   | --program-suf | --program-su | --program-s)
   1228     ac_prev=program_suffix ;;
   1229   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1230   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1231     program_suffix=$ac_optarg ;;
   1232 
   1233   -program-transform-name | --program-transform-name \
   1234   | --program-transform-nam | --program-transform-na \
   1235   | --program-transform-n | --program-transform- \
   1236   | --program-transform | --program-transfor \
   1237   | --program-transfo | --program-transf \
   1238   | --program-trans | --program-tran \
   1239   | --progr-tra | --program-tr | --program-t)
   1240     ac_prev=program_transform_name ;;
   1241   -program-transform-name=* | --program-transform-name=* \
   1242   | --program-transform-nam=* | --program-transform-na=* \
   1243   | --program-transform-n=* | --program-transform-=* \
   1244   | --program-transform=* | --program-transfor=* \
   1245   | --program-transfo=* | --program-transf=* \
   1246   | --program-trans=* | --program-tran=* \
   1247   | --progr-tra=* | --program-tr=* | --program-t=*)
   1248     program_transform_name=$ac_optarg ;;
   1249 
   1250   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1251     ac_prev=pdfdir ;;
   1252   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1253     pdfdir=$ac_optarg ;;
   1254 
   1255   -psdir | --psdir | --psdi | --psd | --ps)
   1256     ac_prev=psdir ;;
   1257   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1258     psdir=$ac_optarg ;;
   1259 
   1260   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1261   | -silent | --silent | --silen | --sile | --sil)
   1262     silent=yes ;;
   1263 
   1264   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1265   | --runstate | --runstat | --runsta | --runst | --runs \
   1266   | --run | --ru | --r)
   1267     ac_prev=runstatedir ;;
   1268   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1269   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1270   | --run=* | --ru=* | --r=*)
   1271     runstatedir=$ac_optarg ;;
   1272 
   1273   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1274     ac_prev=sbindir ;;
   1275   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1276   | --sbi=* | --sb=*)
   1277     sbindir=$ac_optarg ;;
   1278 
   1279   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1280   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1281   | --sharedst | --shareds | --shared | --share | --shar \
   1282   | --sha | --sh)
   1283     ac_prev=sharedstatedir ;;
   1284   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1285   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1286   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1287   | --sha=* | --sh=*)
   1288     sharedstatedir=$ac_optarg ;;
   1289 
   1290   -site | --site | --sit)
   1291     ac_prev=site ;;
   1292   -site=* | --site=* | --sit=*)
   1293     site=$ac_optarg ;;
   1294 
   1295   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1296     ac_prev=srcdir ;;
   1297   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1298     srcdir=$ac_optarg ;;
   1299 
   1300   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1301   | --syscon | --sysco | --sysc | --sys | --sy)
   1302     ac_prev=sysconfdir ;;
   1303   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1304   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1305     sysconfdir=$ac_optarg ;;
   1306 
   1307   -target | --target | --targe | --targ | --tar | --ta | --t)
   1308     ac_prev=target_alias ;;
   1309   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1310     target_alias=$ac_optarg ;;
   1311 
   1312   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1313     verbose=yes ;;
   1314 
   1315   -version | --version | --versio | --versi | --vers | -V)
   1316     ac_init_version=: ;;
   1317 
   1318   -with-* | --with-*)
   1319     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1320     # Reject names that are not valid shell variable names.
   1321     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1322       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1323     ac_useropt_orig=$ac_useropt
   1324     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1325     case $ac_user_opts in
   1326       *"
   1327 "with_$ac_useropt"
   1328 "*) ;;
   1329       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1330 	 ac_unrecognized_sep=', ';;
   1331     esac
   1332     eval with_$ac_useropt=\$ac_optarg ;;
   1333 
   1334   -without-* | --without-*)
   1335     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1336     # Reject names that are not valid shell variable names.
   1337     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1338       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1339     ac_useropt_orig=$ac_useropt
   1340     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1341     case $ac_user_opts in
   1342       *"
   1343 "with_$ac_useropt"
   1344 "*) ;;
   1345       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1346 	 ac_unrecognized_sep=', ';;
   1347     esac
   1348     eval with_$ac_useropt=no ;;
   1349 
   1350   --x)
   1351     # Obsolete; use --with-x.
   1352     with_x=yes ;;
   1353 
   1354   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1355   | --x-incl | --x-inc | --x-in | --x-i)
   1356     ac_prev=x_includes ;;
   1357   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1358   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1359     x_includes=$ac_optarg ;;
   1360 
   1361   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1362   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1363     ac_prev=x_libraries ;;
   1364   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1365   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1366     x_libraries=$ac_optarg ;;
   1367 
   1368   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1369 Try \`$0 --help' for more information"
   1370     ;;
   1371 
   1372   *=*)
   1373     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1374     # Reject names that are not valid shell variable names.
   1375     case $ac_envvar in #(
   1376       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1377       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1378     esac
   1379     eval $ac_envvar=\$ac_optarg
   1380     export $ac_envvar ;;
   1381 
   1382   *)
   1383     # FIXME: should be removed in autoconf 3.0.
   1384     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1385     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1386       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1387     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1388     ;;
   1389 
   1390   esac
   1391 done
   1392 
   1393 if test -n "$ac_prev"; then
   1394   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1395   as_fn_error $? "missing argument to $ac_option"
   1396 fi
   1397 
   1398 if test -n "$ac_unrecognized_opts"; then
   1399   case $enable_option_checking in
   1400     no) ;;
   1401     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1402     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1403   esac
   1404 fi
   1405 
   1406 # Check all directory arguments for consistency.
   1407 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1408 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1409 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1410 		libdir localedir mandir runstatedir
   1411 do
   1412   eval ac_val=\$$ac_var
   1413   # Remove trailing slashes.
   1414   case $ac_val in
   1415     */ )
   1416       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1417       eval $ac_var=\$ac_val;;
   1418   esac
   1419   # Be sure to have absolute directory names.
   1420   case $ac_val in
   1421     [\\/$]* | ?:[\\/]* )  continue;;
   1422     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1423   esac
   1424   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1425 done
   1426 
   1427 # There might be people who depend on the old broken behavior: `$host'
   1428 # used to hold the argument of --host etc.
   1429 # FIXME: To remove some day.
   1430 build=$build_alias
   1431 host=$host_alias
   1432 target=$target_alias
   1433 
   1434 # FIXME: To remove some day.
   1435 if test "x$host_alias" != x; then
   1436   if test "x$build_alias" = x; then
   1437     cross_compiling=maybe
   1438   elif test "x$build_alias" != "x$host_alias"; then
   1439     cross_compiling=yes
   1440   fi
   1441 fi
   1442 
   1443 ac_tool_prefix=
   1444 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1445 
   1446 test "$silent" = yes && exec 6>/dev/null
   1447 
   1448 
   1449 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1450 ac_ls_di=`ls -di .` &&
   1451 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1452   as_fn_error $? "working directory cannot be determined"
   1453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1454   as_fn_error $? "pwd does not report name of working directory"
   1455 
   1456 
   1457 # Find the source files, if location was not specified.
   1458 if test -z "$srcdir"; then
   1459   ac_srcdir_defaulted=yes
   1460   # Try the directory containing this script, then the parent directory.
   1461   ac_confdir=`$as_dirname -- "$as_myself" ||
   1462 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1463 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1464 	 X"$as_myself" : 'X\(//\)$' \| \
   1465 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1466 printf "%s\n" X"$as_myself" |
   1467     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1468 	    s//\1/
   1469 	    q
   1470 	  }
   1471 	  /^X\(\/\/\)[^/].*/{
   1472 	    s//\1/
   1473 	    q
   1474 	  }
   1475 	  /^X\(\/\/\)$/{
   1476 	    s//\1/
   1477 	    q
   1478 	  }
   1479 	  /^X\(\/\).*/{
   1480 	    s//\1/
   1481 	    q
   1482 	  }
   1483 	  s/.*/./; q'`
   1484   srcdir=$ac_confdir
   1485   if test ! -r "$srcdir/$ac_unique_file"; then
   1486     srcdir=..
   1487   fi
   1488 else
   1489   ac_srcdir_defaulted=no
   1490 fi
   1491 if test ! -r "$srcdir/$ac_unique_file"; then
   1492   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1493   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1494 fi
   1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1496 ac_abs_confdir=`(
   1497 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1498 	pwd)`
   1499 # When building in place, set srcdir=.
   1500 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1501   srcdir=.
   1502 fi
   1503 # Remove unnecessary trailing slashes from srcdir.
   1504 # Double slashes in file names in object file debugging info
   1505 # mess up M-x gdb in Emacs.
   1506 case $srcdir in
   1507 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1508 esac
   1509 for ac_var in $ac_precious_vars; do
   1510   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1511   eval ac_env_${ac_var}_value=\$${ac_var}
   1512   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1513   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1514 done
   1515 
   1516 #
   1517 # Report the --help message.
   1518 #
   1519 if test "$ac_init_help" = "long"; then
   1520   # Omit some internal or obsolete options to make the list less imposing.
   1521   # This message is too long to be a string in the A/UX 3.1 sh.
   1522   cat <<_ACEOF
   1523 \`configure' configures libxcb 1.15 to adapt to many kinds of systems.
   1524 
   1525 Usage: $0 [OPTION]... [VAR=VALUE]...
   1526 
   1527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1528 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1529 
   1530 Defaults for the options are specified in brackets.
   1531 
   1532 Configuration:
   1533   -h, --help              display this help and exit
   1534       --help=short        display options specific to this package
   1535       --help=recursive    display the short help of all the included packages
   1536   -V, --version           display version information and exit
   1537   -q, --quiet, --silent   do not print \`checking ...' messages
   1538       --cache-file=FILE   cache test results in FILE [disabled]
   1539   -C, --config-cache      alias for \`--cache-file=config.cache'
   1540   -n, --no-create         do not create output files
   1541       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1542 
   1543 Installation directories:
   1544   --prefix=PREFIX         install architecture-independent files in PREFIX
   1545                           [$ac_default_prefix]
   1546   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1547                           [PREFIX]
   1548 
   1549 By default, \`make install' will install all the files in
   1550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1552 for instance \`--prefix=\$HOME'.
   1553 
   1554 For better control, use the options below.
   1555 
   1556 Fine tuning of the installation directories:
   1557   --bindir=DIR            user executables [EPREFIX/bin]
   1558   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1559   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1560   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1561   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1562   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1563   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1564   --libdir=DIR            object code libraries [EPREFIX/lib]
   1565   --includedir=DIR        C header files [PREFIX/include]
   1566   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1567   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1568   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1569   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1570   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1571   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1572   --docdir=DIR            documentation root [DATAROOTDIR/doc/libxcb]
   1573   --htmldir=DIR           html documentation [DOCDIR]
   1574   --dvidir=DIR            dvi documentation [DOCDIR]
   1575   --pdfdir=DIR            pdf documentation [DOCDIR]
   1576   --psdir=DIR             ps documentation [DOCDIR]
   1577 _ACEOF
   1578 
   1579   cat <<\_ACEOF
   1580 
   1581 Program names:
   1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1585 
   1586 System types:
   1587   --build=BUILD     configure for building on BUILD [guessed]
   1588   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1589 _ACEOF
   1590 fi
   1591 
   1592 if test -n "$ac_init_help"; then
   1593   case $ac_init_help in
   1594      short | recursive ) echo "Configuration of libxcb 1.15:";;
   1595    esac
   1596   cat <<\_ACEOF
   1597 
   1598 Optional Features:
   1599   --disable-option-checking  ignore unrecognized --enable/--with options
   1600   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1601   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1602   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1603   --disable-silent-rules  verbose build output (undo: "make V=0")
   1604   --enable-dependency-tracking
   1605                           do not reject slow dependency extractors
   1606   --disable-dependency-tracking
   1607                           speeds up one-time build
   1608   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1609   --enable-static[=PKGS]  build static libraries [default=yes]
   1610   --enable-fast-install[=PKGS]
   1611                           optimize for fast installation [default=yes]
   1612   --disable-libtool-lock  avoid locking (might break parallel builds)
   1613   --disable-selective-werror
   1614                           Turn off selective compiler errors. (default:
   1615                           enabled)
   1616   --enable-strict-compilation
   1617                           Enable all warnings from compiler and make them
   1618                           errors (default: disabled)
   1619   --enable-devel-docs     Enable building the developer documentation
   1620                           (default: yes)
   1621   --enable-composite      Build XCB Composite Extension (default: yes)
   1622   --enable-damage         Build XCB Damage Extension (default: yes)
   1623   --enable-dpms           Build XCB DPMS Extension (default: yes)
   1624   --enable-dri2           Build XCB DRI2 Extension (default: yes)
   1625   --enable-dri3           Build XCB DRI3 Extension (default: auto)
   1626   --enable-ge             Build XCB GE Extension (default: no)
   1627   --enable-glx            Build XCB GLX Extension (default: yes)
   1628   --enable-present        Build XCB Present Extension (default: yes)
   1629   --enable-randr          Build XCB RandR Extension (default: yes)
   1630   --enable-record         Build XCB Record Extension (default: yes)
   1631   --enable-render         Build XCB Render Extension (default: yes)
   1632   --enable-resource       Build XCB Resource Extension (default: yes)
   1633   --enable-screensaver    Build XCB Screensaver Extension (default: yes)
   1634   --enable-shape          Build XCB Shape Extension (default: yes)
   1635   --enable-shm            Build XCB Shm Extension (default: yes)
   1636   --enable-sync           Build XCB Sync Extension (default: yes)
   1637   --enable-xevie          Build XCB Xevie Extension (default: no)
   1638   --enable-xfixes         Build XCB XFixes Extension (default: yes)
   1639   --enable-xfree86-dri    Build XCB XFree86-DRI Extension (default: yes)
   1640   --enable-xinerama       Build XCB Xinerama Extension (default: yes)
   1641   --enable-xinput         Build XCB XInput Extension (default: yes)
   1642   --enable-xkb            Build XCB XKB Extension (default: yes)
   1643   --enable-xprint         Build XCB Xprint Extension (default: no)
   1644   --enable-selinux        Build XCB SELinux Extension (default: no)
   1645   --enable-xtest          Build XCB XTest Extension (default: yes)
   1646   --enable-xv             Build XCB Xv Extension (default: yes)
   1647   --enable-xvmc           Build XCB XvMC Extension (default: yes)
   1648 
   1649 Optional Packages:
   1650   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1651   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1652   --with-python-sys-prefix
   1653                           use Python's sys.prefix and sys.exec_prefix values
   1654   --with-python_prefix    override the default PYTHON_PREFIX
   1655   --with-python_exec_prefix
   1656                           override the default PYTHON_EXEC_PREFIX
   1657   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1658                           both]
   1659   --with-aix-soname=aix|svr4|both
   1660                           shared library versioning (aka "SONAME") variant to
   1661                           provide on AIX, [default=aix].
   1662   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1663   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1664                           compiler's sysroot if not specified).
   1665   --with-doxygen          Use doxygen to regenerate documentation (default:
   1666                           auto)
   1667   --with-queue-size=SIZE  Set the XCB buffer queue size (default is 16384)
   1668   --with-launchd          Build with support for Apple's launchd (default:
   1669                           auto)
   1670   --with-serverside-support
   1671                           Build with support for server-side usage of xcb.
   1672                           This is still EXPERIMENTAL! ABI/API may change!
   1673                           (default: no)
   1674 
   1675 Some influential environment variables:
   1676   PYTHON      the Python interpreter
   1677   CC          C compiler command
   1678   CFLAGS      C compiler flags
   1679   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1680               nonstandard directory <lib dir>
   1681   LIBS        libraries to pass to the linker, e.g. -l<library>
   1682   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1683               you have headers in a nonstandard directory <include dir>
   1684   LT_SYS_LIBRARY_PATH
   1685               User-defined run-time library search path.
   1686   PKG_CONFIG  path to pkg-config utility
   1687   PKG_CONFIG_PATH
   1688               directories to add to pkg-config's search path
   1689   PKG_CONFIG_LIBDIR
   1690               path overriding pkg-config's built-in search path
   1691   DOXYGEN     Path to doxygen command
   1692   DOT         Path to the dot graphics utility
   1693   CHECK_CFLAGS
   1694               C compiler flags for CHECK, overriding pkg-config
   1695   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
   1696   XCBPROTO_CFLAGS
   1697               C compiler flags for XCBPROTO, overriding pkg-config
   1698   XCBPROTO_LIBS
   1699               linker flags for XCBPROTO, overriding pkg-config
   1700   NEEDED_CFLAGS
   1701               C compiler flags for NEEDED, overriding pkg-config
   1702   NEEDED_LIBS linker flags for NEEDED, overriding pkg-config
   1703   XDMCP_CFLAGS
   1704               C compiler flags for XDMCP, overriding pkg-config
   1705   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   1706 
   1707 Use these variables to override the choices made by `configure' or to help
   1708 it to find libraries and programs with nonstandard names/locations.
   1709 
   1710 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>.
   1711 _ACEOF
   1712 ac_status=$?
   1713 fi
   1714 
   1715 if test "$ac_init_help" = "recursive"; then
   1716   # If there are subdirs, report their specific --help.
   1717   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1718     test -d "$ac_dir" ||
   1719       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1720       continue
   1721     ac_builddir=.
   1722 
   1723 case "$ac_dir" in
   1724 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1725 *)
   1726   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1727   # A ".." for each directory in $ac_dir_suffix.
   1728   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1729   case $ac_top_builddir_sub in
   1730   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1731   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1732   esac ;;
   1733 esac
   1734 ac_abs_top_builddir=$ac_pwd
   1735 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1736 # for backward compatibility:
   1737 ac_top_builddir=$ac_top_build_prefix
   1738 
   1739 case $srcdir in
   1740   .)  # We are building in place.
   1741     ac_srcdir=.
   1742     ac_top_srcdir=$ac_top_builddir_sub
   1743     ac_abs_top_srcdir=$ac_pwd ;;
   1744   [\\/]* | ?:[\\/]* )  # Absolute name.
   1745     ac_srcdir=$srcdir$ac_dir_suffix;
   1746     ac_top_srcdir=$srcdir
   1747     ac_abs_top_srcdir=$srcdir ;;
   1748   *) # Relative name.
   1749     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1750     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1751     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1752 esac
   1753 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1754 
   1755     cd "$ac_dir" || { ac_status=$?; continue; }
   1756     # Check for configure.gnu first; this name is used for a wrapper for
   1757     # Metaconfig's "Configure" on case-insensitive file systems.
   1758     if test -f "$ac_srcdir/configure.gnu"; then
   1759       echo &&
   1760       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1761     elif test -f "$ac_srcdir/configure"; then
   1762       echo &&
   1763       $SHELL "$ac_srcdir/configure" --help=recursive
   1764     else
   1765       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1766     fi || ac_status=$?
   1767     cd "$ac_pwd" || { ac_status=$?; break; }
   1768   done
   1769 fi
   1770 
   1771 test -n "$ac_init_help" && exit $ac_status
   1772 if $ac_init_version; then
   1773   cat <<\_ACEOF
   1774 libxcb configure 1.15
   1775 generated by GNU Autoconf 2.71
   1776 
   1777 Copyright (C) 2021 Free Software Foundation, Inc.
   1778 This configure script is free software; the Free Software Foundation
   1779 gives unlimited permission to copy, distribute and modify it.
   1780 _ACEOF
   1781   exit
   1782 fi
   1783 
   1784 ## ------------------------ ##
   1785 ## Autoconf initialization. ##
   1786 ## ------------------------ ##
   1787 
   1788 # ac_fn_c_try_compile LINENO
   1789 # --------------------------
   1790 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1791 ac_fn_c_try_compile ()
   1792 {
   1793   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1794   rm -f conftest.$ac_objext conftest.beam
   1795   if { { ac_try="$ac_compile"
   1796 case "(($ac_try" in
   1797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1798   *) ac_try_echo=$ac_try;;
   1799 esac
   1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1801 printf "%s\n" "$ac_try_echo"; } >&5
   1802   (eval "$ac_compile") 2>conftest.err
   1803   ac_status=$?
   1804   if test -s conftest.err; then
   1805     grep -v '^ *+' conftest.err >conftest.er1
   1806     cat conftest.er1 >&5
   1807     mv -f conftest.er1 conftest.err
   1808   fi
   1809   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1810   test $ac_status = 0; } && {
   1811 	 test -z "$ac_c_werror_flag" ||
   1812 	 test ! -s conftest.err
   1813        } && test -s conftest.$ac_objext
   1814 then :
   1815   ac_retval=0
   1816 else $as_nop
   1817   printf "%s\n" "$as_me: failed program was:" >&5
   1818 sed 's/^/| /' conftest.$ac_ext >&5
   1819 
   1820 	ac_retval=1
   1821 fi
   1822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1823   as_fn_set_status $ac_retval
   1824 
   1825 } # ac_fn_c_try_compile
   1826 
   1827 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1828 # -------------------------------------------------------
   1829 # Tests whether HEADER exists and can be compiled using the include files in
   1830 # INCLUDES, setting the cache variable VAR accordingly.
   1831 ac_fn_c_check_header_compile ()
   1832 {
   1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1835 printf %s "checking for $2... " >&6; }
   1836 if eval test \${$3+y}
   1837 then :
   1838   printf %s "(cached) " >&6
   1839 else $as_nop
   1840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1841 /* end confdefs.h.  */
   1842 $4
   1843 #include <$2>
   1844 _ACEOF
   1845 if ac_fn_c_try_compile "$LINENO"
   1846 then :
   1847   eval "$3=yes"
   1848 else $as_nop
   1849   eval "$3=no"
   1850 fi
   1851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1852 fi
   1853 eval ac_res=\$$3
   1854 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1855 printf "%s\n" "$ac_res" >&6; }
   1856   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1857 
   1858 } # ac_fn_c_check_header_compile
   1859 
   1860 # ac_fn_c_try_link LINENO
   1861 # -----------------------
   1862 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1863 ac_fn_c_try_link ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1867   if { { ac_try="$ac_link"
   1868 case "(($ac_try" in
   1869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1870   *) ac_try_echo=$ac_try;;
   1871 esac
   1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1873 printf "%s\n" "$ac_try_echo"; } >&5
   1874   (eval "$ac_link") 2>conftest.err
   1875   ac_status=$?
   1876   if test -s conftest.err; then
   1877     grep -v '^ *+' conftest.err >conftest.er1
   1878     cat conftest.er1 >&5
   1879     mv -f conftest.er1 conftest.err
   1880   fi
   1881   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1882   test $ac_status = 0; } && {
   1883 	 test -z "$ac_c_werror_flag" ||
   1884 	 test ! -s conftest.err
   1885        } && test -s conftest$ac_exeext && {
   1886 	 test "$cross_compiling" = yes ||
   1887 	 test -x conftest$ac_exeext
   1888        }
   1889 then :
   1890   ac_retval=0
   1891 else $as_nop
   1892   printf "%s\n" "$as_me: failed program was:" >&5
   1893 sed 's/^/| /' conftest.$ac_ext >&5
   1894 
   1895 	ac_retval=1
   1896 fi
   1897   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1898   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1899   # interfere with the next link command; also delete a directory that is
   1900   # left behind by Apple's compiler.  We do this before executing the actions.
   1901   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1902   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1903   as_fn_set_status $ac_retval
   1904 
   1905 } # ac_fn_c_try_link
   1906 
   1907 # ac_fn_c_check_func LINENO FUNC VAR
   1908 # ----------------------------------
   1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1910 ac_fn_c_check_func ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1914 printf %s "checking for $2... " >&6; }
   1915 if eval test \${$3+y}
   1916 then :
   1917   printf %s "(cached) " >&6
   1918 else $as_nop
   1919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1920 /* end confdefs.h.  */
   1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1923 #define $2 innocuous_$2
   1924 
   1925 /* System header to define __stub macros and hopefully few prototypes,
   1926    which can conflict with char $2 (); below.  */
   1927 
   1928 #include <limits.h>
   1929 #undef $2
   1930 
   1931 /* Override any GCC internal prototype to avoid an error.
   1932    Use char because int might match the return type of a GCC
   1933    builtin and then its argument prototype would still apply.  */
   1934 #ifdef __cplusplus
   1935 extern "C"
   1936 #endif
   1937 char $2 ();
   1938 /* The GNU C library defines this for functions which it implements
   1939     to always fail with ENOSYS.  Some functions are actually named
   1940     something starting with __ and the normal name is an alias.  */
   1941 #if defined __stub_$2 || defined __stub___$2
   1942 choke me
   1943 #endif
   1944 
   1945 int
   1946 main (void)
   1947 {
   1948 return $2 ();
   1949   ;
   1950   return 0;
   1951 }
   1952 _ACEOF
   1953 if ac_fn_c_try_link "$LINENO"
   1954 then :
   1955   eval "$3=yes"
   1956 else $as_nop
   1957   eval "$3=no"
   1958 fi
   1959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1960     conftest$ac_exeext conftest.$ac_ext
   1961 fi
   1962 eval ac_res=\$$3
   1963 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1964 printf "%s\n" "$ac_res" >&6; }
   1965   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1966 
   1967 } # ac_fn_c_check_func
   1968 
   1969 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1970 # ------------------------------------------------------------------
   1971 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1972 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1973 ac_fn_check_decl ()
   1974 {
   1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1976   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1978 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1979 if eval test \${$3+y}
   1980 then :
   1981   printf %s "(cached) " >&6
   1982 else $as_nop
   1983   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1984   eval ac_save_FLAGS=\$$6
   1985   as_fn_append $6 " $5"
   1986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1987 /* end confdefs.h.  */
   1988 $4
   1989 int
   1990 main (void)
   1991 {
   1992 #ifndef $as_decl_name
   1993 #ifdef __cplusplus
   1994   (void) $as_decl_use;
   1995 #else
   1996   (void) $as_decl_name;
   1997 #endif
   1998 #endif
   1999 
   2000   ;
   2001   return 0;
   2002 }
   2003 _ACEOF
   2004 if ac_fn_c_try_compile "$LINENO"
   2005 then :
   2006   eval "$3=yes"
   2007 else $as_nop
   2008   eval "$3=no"
   2009 fi
   2010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2011   eval $6=\$ac_save_FLAGS
   2012 
   2013 fi
   2014 eval ac_res=\$$3
   2015 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2016 printf "%s\n" "$ac_res" >&6; }
   2017   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2018 
   2019 } # ac_fn_check_decl
   2020 
   2021 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2022 # ----------------------------------------------------
   2023 # Tries to find if the field MEMBER exists in type AGGR, after including
   2024 # INCLUDES, setting cache variable VAR accordingly.
   2025 ac_fn_c_check_member ()
   2026 {
   2027   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2029 printf %s "checking for $2.$3... " >&6; }
   2030 if eval test \${$4+y}
   2031 then :
   2032   printf %s "(cached) " >&6
   2033 else $as_nop
   2034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2035 /* end confdefs.h.  */
   2036 $5
   2037 int
   2038 main (void)
   2039 {
   2040 static $2 ac_aggr;
   2041 if (ac_aggr.$3)
   2042 return 0;
   2043   ;
   2044   return 0;
   2045 }
   2046 _ACEOF
   2047 if ac_fn_c_try_compile "$LINENO"
   2048 then :
   2049   eval "$4=yes"
   2050 else $as_nop
   2051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2052 /* end confdefs.h.  */
   2053 $5
   2054 int
   2055 main (void)
   2056 {
   2057 static $2 ac_aggr;
   2058 if (sizeof ac_aggr.$3)
   2059 return 0;
   2060   ;
   2061   return 0;
   2062 }
   2063 _ACEOF
   2064 if ac_fn_c_try_compile "$LINENO"
   2065 then :
   2066   eval "$4=yes"
   2067 else $as_nop
   2068   eval "$4=no"
   2069 fi
   2070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2071 fi
   2072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2073 fi
   2074 eval ac_res=\$$4
   2075 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2076 printf "%s\n" "$ac_res" >&6; }
   2077   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2078 
   2079 } # ac_fn_c_check_member
   2080 ac_configure_args_raw=
   2081 for ac_arg
   2082 do
   2083   case $ac_arg in
   2084   *\'*)
   2085     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2086   esac
   2087   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2088 done
   2089 
   2090 case $ac_configure_args_raw in
   2091   *$as_nl*)
   2092     ac_safe_unquote= ;;
   2093   *)
   2094     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2095     ac_unsafe_a="$ac_unsafe_z#~"
   2096     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2097     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2098 esac
   2099 
   2100 cat >config.log <<_ACEOF
   2101 This file contains any messages produced by compilers while
   2102 running configure, to aid debugging if configure makes a mistake.
   2103 
   2104 It was created by libxcb $as_me 1.15, which was
   2105 generated by GNU Autoconf 2.71.  Invocation command line was
   2106 
   2107   $ $0$ac_configure_args_raw
   2108 
   2109 _ACEOF
   2110 exec 5>>config.log
   2111 {
   2112 cat <<_ASUNAME
   2113 ## --------- ##
   2114 ## Platform. ##
   2115 ## --------- ##
   2116 
   2117 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2118 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2119 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2120 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2121 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2122 
   2123 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2124 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2125 
   2126 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2127 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2128 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2129 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2130 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2131 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2132 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2133 
   2134 _ASUNAME
   2135 
   2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2137 for as_dir in $PATH
   2138 do
   2139   IFS=$as_save_IFS
   2140   case $as_dir in #(((
   2141     '') as_dir=./ ;;
   2142     */) ;;
   2143     *) as_dir=$as_dir/ ;;
   2144   esac
   2145     printf "%s\n" "PATH: $as_dir"
   2146   done
   2147 IFS=$as_save_IFS
   2148 
   2149 } >&5
   2150 
   2151 cat >&5 <<_ACEOF
   2152 
   2153 
   2154 ## ----------- ##
   2155 ## Core tests. ##
   2156 ## ----------- ##
   2157 
   2158 _ACEOF
   2159 
   2160 
   2161 # Keep a trace of the command line.
   2162 # Strip out --no-create and --no-recursion so they do not pile up.
   2163 # Strip out --silent because we don't want to record it for future runs.
   2164 # Also quote any args containing shell meta-characters.
   2165 # Make two passes to allow for proper duplicate-argument suppression.
   2166 ac_configure_args=
   2167 ac_configure_args0=
   2168 ac_configure_args1=
   2169 ac_must_keep_next=false
   2170 for ac_pass in 1 2
   2171 do
   2172   for ac_arg
   2173   do
   2174     case $ac_arg in
   2175     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2176     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2177     | -silent | --silent | --silen | --sile | --sil)
   2178       continue ;;
   2179     *\'*)
   2180       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2181     esac
   2182     case $ac_pass in
   2183     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2184     2)
   2185       as_fn_append ac_configure_args1 " '$ac_arg'"
   2186       if test $ac_must_keep_next = true; then
   2187 	ac_must_keep_next=false # Got value, back to normal.
   2188       else
   2189 	case $ac_arg in
   2190 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2191 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2192 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2193 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2194 	    case "$ac_configure_args0 " in
   2195 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2196 	    esac
   2197 	    ;;
   2198 	  -* ) ac_must_keep_next=true ;;
   2199 	esac
   2200       fi
   2201       as_fn_append ac_configure_args " '$ac_arg'"
   2202       ;;
   2203     esac
   2204   done
   2205 done
   2206 { ac_configure_args0=; unset ac_configure_args0;}
   2207 { ac_configure_args1=; unset ac_configure_args1;}
   2208 
   2209 # When interrupted or exit'd, cleanup temporary files, and complete
   2210 # config.log.  We remove comments because anyway the quotes in there
   2211 # would cause problems or look ugly.
   2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2214 trap 'exit_status=$?
   2215   # Sanitize IFS.
   2216   IFS=" ""	$as_nl"
   2217   # Save into config.log some information that might help in debugging.
   2218   {
   2219     echo
   2220 
   2221     printf "%s\n" "## ---------------- ##
   2222 ## Cache variables. ##
   2223 ## ---------------- ##"
   2224     echo
   2225     # The following way of writing the cache mishandles newlines in values,
   2226 (
   2227   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2228     eval ac_val=\$$ac_var
   2229     case $ac_val in #(
   2230     *${as_nl}*)
   2231       case $ac_var in #(
   2232       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2233 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2234       esac
   2235       case $ac_var in #(
   2236       _ | IFS | as_nl) ;; #(
   2237       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2238       *) { eval $ac_var=; unset $ac_var;} ;;
   2239       esac ;;
   2240     esac
   2241   done
   2242   (set) 2>&1 |
   2243     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2244     *${as_nl}ac_space=\ *)
   2245       sed -n \
   2246 	"s/'\''/'\''\\\\'\'''\''/g;
   2247 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2248       ;; #(
   2249     *)
   2250       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2251       ;;
   2252     esac |
   2253     sort
   2254 )
   2255     echo
   2256 
   2257     printf "%s\n" "## ----------------- ##
   2258 ## Output variables. ##
   2259 ## ----------------- ##"
   2260     echo
   2261     for ac_var in $ac_subst_vars
   2262     do
   2263       eval ac_val=\$$ac_var
   2264       case $ac_val in
   2265       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2266       esac
   2267       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2268     done | sort
   2269     echo
   2270 
   2271     if test -n "$ac_subst_files"; then
   2272       printf "%s\n" "## ------------------- ##
   2273 ## File substitutions. ##
   2274 ## ------------------- ##"
   2275       echo
   2276       for ac_var in $ac_subst_files
   2277       do
   2278 	eval ac_val=\$$ac_var
   2279 	case $ac_val in
   2280 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2281 	esac
   2282 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2283       done | sort
   2284       echo
   2285     fi
   2286 
   2287     if test -s confdefs.h; then
   2288       printf "%s\n" "## ----------- ##
   2289 ## confdefs.h. ##
   2290 ## ----------- ##"
   2291       echo
   2292       cat confdefs.h
   2293       echo
   2294     fi
   2295     test "$ac_signal" != 0 &&
   2296       printf "%s\n" "$as_me: caught signal $ac_signal"
   2297     printf "%s\n" "$as_me: exit $exit_status"
   2298   } >&5
   2299   rm -f core *.core core.conftest.* &&
   2300     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2301     exit $exit_status
   2302 ' 0
   2303 for ac_signal in 1 2 13 15; do
   2304   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2305 done
   2306 ac_signal=0
   2307 
   2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2309 rm -f -r conftest* confdefs.h
   2310 
   2311 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2312 
   2313 # Predefined preprocessor variables.
   2314 
   2315 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2316 
   2317 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2318 
   2319 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2320 
   2321 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2322 
   2323 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2324 
   2325 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2326 
   2327 
   2328 # Let the site file select an alternate cache file if it wants to.
   2329 # Prefer an explicitly selected file to automatically selected ones.
   2330 if test -n "$CONFIG_SITE"; then
   2331   ac_site_files="$CONFIG_SITE"
   2332 elif test "x$prefix" != xNONE; then
   2333   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2334 else
   2335   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2336 fi
   2337 
   2338 for ac_site_file in $ac_site_files
   2339 do
   2340   case $ac_site_file in #(
   2341   */*) :
   2342      ;; #(
   2343   *) :
   2344     ac_site_file=./$ac_site_file ;;
   2345 esac
   2346   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2347     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2348 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2349     sed 's/^/| /' "$ac_site_file" >&5
   2350     . "$ac_site_file" \
   2351       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2352 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2353 as_fn_error $? "failed to load site script $ac_site_file
   2354 See \`config.log' for more details" "$LINENO" 5; }
   2355   fi
   2356 done
   2357 
   2358 if test -r "$cache_file"; then
   2359   # Some versions of bash will fail to source /dev/null (special files
   2360   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2361   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2362     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2363 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2364     case $cache_file in
   2365       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2366       *)                      . "./$cache_file";;
   2367     esac
   2368   fi
   2369 else
   2370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2371 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2372   >$cache_file
   2373 fi
   2374 
   2375 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2376 # Test code for whether the C compiler supports C89 (global declarations)
   2377 ac_c_conftest_c89_globals='
   2378 /* Does the compiler advertise C89 conformance?
   2379    Do not test the value of __STDC__, because some compilers set it to 0
   2380    while being otherwise adequately conformant. */
   2381 #if !defined __STDC__
   2382 # error "Compiler does not advertise C89 conformance"
   2383 #endif
   2384 
   2385 #include <stddef.h>
   2386 #include <stdarg.h>
   2387 struct stat;
   2388 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2389 struct buf { int x; };
   2390 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2391 static char *e (p, i)
   2392      char **p;
   2393      int i;
   2394 {
   2395   return p[i];
   2396 }
   2397 static char *f (char * (*g) (char **, int), char **p, ...)
   2398 {
   2399   char *s;
   2400   va_list v;
   2401   va_start (v,p);
   2402   s = g (p, va_arg (v,int));
   2403   va_end (v);
   2404   return s;
   2405 }
   2406 
   2407 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2408    function prototypes and stuff, but not \xHH hex character constants.
   2409    These do not provoke an error unfortunately, instead are silently treated
   2410    as an "x".  The following induces an error, until -std is added to get
   2411    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2412    array size at least.  It is necessary to write \x00 == 0 to get something
   2413    that is true only with -std.  */
   2414 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2415 
   2416 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2417    inside strings and character constants.  */
   2418 #define FOO(x) '\''x'\''
   2419 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2420 
   2421 int test (int i, double x);
   2422 struct s1 {int (*f) (int a);};
   2423 struct s2 {int (*f) (double a);};
   2424 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2425                int, int);'
   2426 
   2427 # Test code for whether the C compiler supports C89 (body of main).
   2428 ac_c_conftest_c89_main='
   2429 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2430 '
   2431 
   2432 # Test code for whether the C compiler supports C99 (global declarations)
   2433 ac_c_conftest_c99_globals='
   2434 // Does the compiler advertise C99 conformance?
   2435 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2436 # error "Compiler does not advertise C99 conformance"
   2437 #endif
   2438 
   2439 #include <stdbool.h>
   2440 extern int puts (const char *);
   2441 extern int printf (const char *, ...);
   2442 extern int dprintf (int, const char *, ...);
   2443 extern void *malloc (size_t);
   2444 
   2445 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2446 // dprintf is used instead of fprintf to avoid needing to declare
   2447 // FILE and stderr.
   2448 #define debug(...) dprintf (2, __VA_ARGS__)
   2449 #define showlist(...) puts (#__VA_ARGS__)
   2450 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2451 static void
   2452 test_varargs_macros (void)
   2453 {
   2454   int x = 1234;
   2455   int y = 5678;
   2456   debug ("Flag");
   2457   debug ("X = %d\n", x);
   2458   showlist (The first, second, and third items.);
   2459   report (x>y, "x is %d but y is %d", x, y);
   2460 }
   2461 
   2462 // Check long long types.
   2463 #define BIG64 18446744073709551615ull
   2464 #define BIG32 4294967295ul
   2465 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2466 #if !BIG_OK
   2467   #error "your preprocessor is broken"
   2468 #endif
   2469 #if BIG_OK
   2470 #else
   2471   #error "your preprocessor is broken"
   2472 #endif
   2473 static long long int bignum = -9223372036854775807LL;
   2474 static unsigned long long int ubignum = BIG64;
   2475 
   2476 struct incomplete_array
   2477 {
   2478   int datasize;
   2479   double data[];
   2480 };
   2481 
   2482 struct named_init {
   2483   int number;
   2484   const wchar_t *name;
   2485   double average;
   2486 };
   2487 
   2488 typedef const char *ccp;
   2489 
   2490 static inline int
   2491 test_restrict (ccp restrict text)
   2492 {
   2493   // See if C++-style comments work.
   2494   // Iterate through items via the restricted pointer.
   2495   // Also check for declarations in for loops.
   2496   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2497     continue;
   2498   return 0;
   2499 }
   2500 
   2501 // Check varargs and va_copy.
   2502 static bool
   2503 test_varargs (const char *format, ...)
   2504 {
   2505   va_list args;
   2506   va_start (args, format);
   2507   va_list args_copy;
   2508   va_copy (args_copy, args);
   2509 
   2510   const char *str = "";
   2511   int number = 0;
   2512   float fnumber = 0;
   2513 
   2514   while (*format)
   2515     {
   2516       switch (*format++)
   2517 	{
   2518 	case '\''s'\'': // string
   2519 	  str = va_arg (args_copy, const char *);
   2520 	  break;
   2521 	case '\''d'\'': // int
   2522 	  number = va_arg (args_copy, int);
   2523 	  break;
   2524 	case '\''f'\'': // float
   2525 	  fnumber = va_arg (args_copy, double);
   2526 	  break;
   2527 	default:
   2528 	  break;
   2529 	}
   2530     }
   2531   va_end (args_copy);
   2532   va_end (args);
   2533 
   2534   return *str && number && fnumber;
   2535 }
   2536 '
   2537 
   2538 # Test code for whether the C compiler supports C99 (body of main).
   2539 ac_c_conftest_c99_main='
   2540   // Check bool.
   2541   _Bool success = false;
   2542   success |= (argc != 0);
   2543 
   2544   // Check restrict.
   2545   if (test_restrict ("String literal") == 0)
   2546     success = true;
   2547   char *restrict newvar = "Another string";
   2548 
   2549   // Check varargs.
   2550   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2551   test_varargs_macros ();
   2552 
   2553   // Check flexible array members.
   2554   struct incomplete_array *ia =
   2555     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2556   ia->datasize = 10;
   2557   for (int i = 0; i < ia->datasize; ++i)
   2558     ia->data[i] = i * 1.234;
   2559 
   2560   // Check named initializers.
   2561   struct named_init ni = {
   2562     .number = 34,
   2563     .name = L"Test wide string",
   2564     .average = 543.34343,
   2565   };
   2566 
   2567   ni.number = 58;
   2568 
   2569   int dynamic_array[ni.number];
   2570   dynamic_array[0] = argv[0][0];
   2571   dynamic_array[ni.number - 1] = 543;
   2572 
   2573   // work around unused variable warnings
   2574   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2575 	 || dynamic_array[ni.number - 1] != 543);
   2576 '
   2577 
   2578 # Test code for whether the C compiler supports C11 (global declarations)
   2579 ac_c_conftest_c11_globals='
   2580 // Does the compiler advertise C11 conformance?
   2581 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2582 # error "Compiler does not advertise C11 conformance"
   2583 #endif
   2584 
   2585 // Check _Alignas.
   2586 char _Alignas (double) aligned_as_double;
   2587 char _Alignas (0) no_special_alignment;
   2588 extern char aligned_as_int;
   2589 char _Alignas (0) _Alignas (int) aligned_as_int;
   2590 
   2591 // Check _Alignof.
   2592 enum
   2593 {
   2594   int_alignment = _Alignof (int),
   2595   int_array_alignment = _Alignof (int[100]),
   2596   char_alignment = _Alignof (char)
   2597 };
   2598 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2599 
   2600 // Check _Noreturn.
   2601 int _Noreturn does_not_return (void) { for (;;) continue; }
   2602 
   2603 // Check _Static_assert.
   2604 struct test_static_assert
   2605 {
   2606   int x;
   2607   _Static_assert (sizeof (int) <= sizeof (long int),
   2608                   "_Static_assert does not work in struct");
   2609   long int y;
   2610 };
   2611 
   2612 // Check UTF-8 literals.
   2613 #define u8 syntax error!
   2614 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2615 
   2616 // Check duplicate typedefs.
   2617 typedef long *long_ptr;
   2618 typedef long int *long_ptr;
   2619 typedef long_ptr long_ptr;
   2620 
   2621 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2622 struct anonymous
   2623 {
   2624   union {
   2625     struct { int i; int j; };
   2626     struct { int k; long int l; } w;
   2627   };
   2628   int m;
   2629 } v1;
   2630 '
   2631 
   2632 # Test code for whether the C compiler supports C11 (body of main).
   2633 ac_c_conftest_c11_main='
   2634   _Static_assert ((offsetof (struct anonymous, i)
   2635 		   == offsetof (struct anonymous, w.k)),
   2636 		  "Anonymous union alignment botch");
   2637   v1.i = 2;
   2638   v1.w.k = 5;
   2639   ok |= v1.i != 5;
   2640 '
   2641 
   2642 # Test code for whether the C compiler supports C11 (complete).
   2643 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2644 ${ac_c_conftest_c99_globals}
   2645 ${ac_c_conftest_c11_globals}
   2646 
   2647 int
   2648 main (int argc, char **argv)
   2649 {
   2650   int ok = 0;
   2651   ${ac_c_conftest_c89_main}
   2652   ${ac_c_conftest_c99_main}
   2653   ${ac_c_conftest_c11_main}
   2654   return ok;
   2655 }
   2656 "
   2657 
   2658 # Test code for whether the C compiler supports C99 (complete).
   2659 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2660 ${ac_c_conftest_c99_globals}
   2661 
   2662 int
   2663 main (int argc, char **argv)
   2664 {
   2665   int ok = 0;
   2666   ${ac_c_conftest_c89_main}
   2667   ${ac_c_conftest_c99_main}
   2668   return ok;
   2669 }
   2670 "
   2671 
   2672 # Test code for whether the C compiler supports C89 (complete).
   2673 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2674 
   2675 int
   2676 main (int argc, char **argv)
   2677 {
   2678   int ok = 0;
   2679   ${ac_c_conftest_c89_main}
   2680   return ok;
   2681 }
   2682 "
   2683 
   2684 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2685 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2686 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2687 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2688 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2689 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2690 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2691 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2692 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2693 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2694 
   2695 # Auxiliary files required by this configure script.
   2696 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
   2697 
   2698 # Locations in which to look for auxiliary files.
   2699 ac_aux_dir_candidates="${srcdir}/build-aux"
   2700 
   2701 # Search for a directory containing all of the required auxiliary files,
   2702 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2703 # If we don't find one directory that contains all the files we need,
   2704 # we report the set of missing files from the *first* directory in
   2705 # $ac_aux_dir_candidates and give up.
   2706 ac_missing_aux_files=""
   2707 ac_first_candidate=:
   2708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2710 as_found=false
   2711 for as_dir in $ac_aux_dir_candidates
   2712 do
   2713   IFS=$as_save_IFS
   2714   case $as_dir in #(((
   2715     '') as_dir=./ ;;
   2716     */) ;;
   2717     *) as_dir=$as_dir/ ;;
   2718   esac
   2719   as_found=:
   2720 
   2721   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2722   ac_aux_dir_found=yes
   2723   ac_install_sh=
   2724   for ac_aux in $ac_aux_files
   2725   do
   2726     # As a special case, if "install-sh" is required, that requirement
   2727     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2728     # and $ac_install_sh is set appropriately for whichever one is found.
   2729     if test x"$ac_aux" = x"install-sh"
   2730     then
   2731       if test -f "${as_dir}install-sh"; then
   2732         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2733         ac_install_sh="${as_dir}install-sh -c"
   2734       elif test -f "${as_dir}install.sh"; then
   2735         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2736         ac_install_sh="${as_dir}install.sh -c"
   2737       elif test -f "${as_dir}shtool"; then
   2738         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2739         ac_install_sh="${as_dir}shtool install -c"
   2740       else
   2741         ac_aux_dir_found=no
   2742         if $ac_first_candidate; then
   2743           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2744         else
   2745           break
   2746         fi
   2747       fi
   2748     else
   2749       if test -f "${as_dir}${ac_aux}"; then
   2750         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2751       else
   2752         ac_aux_dir_found=no
   2753         if $ac_first_candidate; then
   2754           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2755         else
   2756           break
   2757         fi
   2758       fi
   2759     fi
   2760   done
   2761   if test "$ac_aux_dir_found" = yes; then
   2762     ac_aux_dir="$as_dir"
   2763     break
   2764   fi
   2765   ac_first_candidate=false
   2766 
   2767   as_found=false
   2768 done
   2769 IFS=$as_save_IFS
   2770 if $as_found
   2771 then :
   2772 
   2773 else $as_nop
   2774   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2775 fi
   2776 
   2777 
   2778 # These three variables are undocumented and unsupported,
   2779 # and are intended to be withdrawn in a future Autoconf release.
   2780 # They can cause serious problems if a builder's source tree is in a directory
   2781 # whose full name contains unusual characters.
   2782 if test -f "${ac_aux_dir}config.guess"; then
   2783   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2784 fi
   2785 if test -f "${ac_aux_dir}config.sub"; then
   2786   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2787 fi
   2788 if test -f "$ac_aux_dir/configure"; then
   2789   ac_configure="$SHELL ${ac_aux_dir}configure"
   2790 fi
   2791 
   2792 # Check that the precious variables saved in the cache have kept the same
   2793 # value.
   2794 ac_cache_corrupted=false
   2795 for ac_var in $ac_precious_vars; do
   2796   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2797   eval ac_new_set=\$ac_env_${ac_var}_set
   2798   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2799   eval ac_new_val=\$ac_env_${ac_var}_value
   2800   case $ac_old_set,$ac_new_set in
   2801     set,)
   2802       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2803 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2804       ac_cache_corrupted=: ;;
   2805     ,set)
   2806       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2807 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2808       ac_cache_corrupted=: ;;
   2809     ,);;
   2810     *)
   2811       if test "x$ac_old_val" != "x$ac_new_val"; then
   2812 	# differences in whitespace do not lead to failure.
   2813 	ac_old_val_w=`echo x $ac_old_val`
   2814 	ac_new_val_w=`echo x $ac_new_val`
   2815 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2816 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2817 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2818 	  ac_cache_corrupted=:
   2819 	else
   2820 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2821 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2822 	  eval $ac_var=\$ac_old_val
   2823 	fi
   2824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2825 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2827 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2828       fi;;
   2829   esac
   2830   # Pass precious variables to config.status.
   2831   if test "$ac_new_set" = set; then
   2832     case $ac_new_val in
   2833     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2834     *) ac_arg=$ac_var=$ac_new_val ;;
   2835     esac
   2836     case " $ac_configure_args " in
   2837       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2838       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2839     esac
   2840   fi
   2841 done
   2842 if $ac_cache_corrupted; then
   2843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2844 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2846 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2847   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2848 	    and start over" "$LINENO" 5
   2849 fi
   2850 ## -------------------- ##
   2851 ## Main body of script. ##
   2852 ## -------------------- ##
   2853 
   2854 ac_ext=c
   2855 ac_cpp='$CPP $CPPFLAGS'
   2856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2859 
   2860 
   2861 
   2862 
   2863 
   2864 ac_config_headers="$ac_config_headers src/config.h"
   2865 
   2866 
   2867 # Initialize Automake
   2868 am__api_version='1.16'
   2869 
   2870 
   2871 
   2872   # Find a good install program.  We prefer a C program (faster),
   2873 # so one script is as good as another.  But avoid the broken or
   2874 # incompatible versions:
   2875 # SysV /etc/install, /usr/sbin/install
   2876 # SunOS /usr/etc/install
   2877 # IRIX /sbin/install
   2878 # AIX /bin/install
   2879 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2883 # OS/2's system install, which has a completely different semantic
   2884 # ./install, which can be erroneously created by make from ./install.sh.
   2885 # Reject install programs that cannot install multiple files.
   2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2887 printf %s "checking for a BSD-compatible install... " >&6; }
   2888 if test -z "$INSTALL"; then
   2889 if test ${ac_cv_path_install+y}
   2890 then :
   2891   printf %s "(cached) " >&6
   2892 else $as_nop
   2893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2894 for as_dir in $PATH
   2895 do
   2896   IFS=$as_save_IFS
   2897   case $as_dir in #(((
   2898     '') as_dir=./ ;;
   2899     */) ;;
   2900     *) as_dir=$as_dir/ ;;
   2901   esac
   2902     # Account for fact that we put trailing slashes in our PATH walk.
   2903 case $as_dir in #((
   2904   ./ | /[cC]/* | \
   2905   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2906   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2907   /usr/ucb/* ) ;;
   2908   *)
   2909     # OSF1 and SCO ODT 3.0 have their own names for install.
   2910     # Don't use installbsd from OSF since it installs stuff as root
   2911     # by default.
   2912     for ac_prog in ginstall scoinst install; do
   2913       for ac_exec_ext in '' $ac_executable_extensions; do
   2914 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2915 	  if test $ac_prog = install &&
   2916 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2917 	    # AIX install.  It has an incompatible calling convention.
   2918 	    :
   2919 	  elif test $ac_prog = install &&
   2920 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2921 	    # program-specific install script used by HP pwplus--don't use.
   2922 	    :
   2923 	  else
   2924 	    rm -rf conftest.one conftest.two conftest.dir
   2925 	    echo one > conftest.one
   2926 	    echo two > conftest.two
   2927 	    mkdir conftest.dir
   2928 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2929 	      test -s conftest.one && test -s conftest.two &&
   2930 	      test -s conftest.dir/conftest.one &&
   2931 	      test -s conftest.dir/conftest.two
   2932 	    then
   2933 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2934 	      break 3
   2935 	    fi
   2936 	  fi
   2937 	fi
   2938       done
   2939     done
   2940     ;;
   2941 esac
   2942 
   2943   done
   2944 IFS=$as_save_IFS
   2945 
   2946 rm -rf conftest.one conftest.two conftest.dir
   2947 
   2948 fi
   2949   if test ${ac_cv_path_install+y}; then
   2950     INSTALL=$ac_cv_path_install
   2951   else
   2952     # As a last resort, use the slow shell script.  Don't cache a
   2953     # value for INSTALL within a source directory, because that will
   2954     # break other packages using the cache if that directory is
   2955     # removed, or if the value is a relative name.
   2956     INSTALL=$ac_install_sh
   2957   fi
   2958 fi
   2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2960 printf "%s\n" "$INSTALL" >&6; }
   2961 
   2962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2963 # It thinks the first close brace ends the variable substitution.
   2964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2965 
   2966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2967 
   2968 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2969 
   2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2971 printf %s "checking whether build environment is sane... " >&6; }
   2972 # Reject unsafe characters in $srcdir or the absolute working directory
   2973 # name.  Accept space and tab only in the latter.
   2974 am_lf='
   2975 '
   2976 case `pwd` in
   2977   *[\\\"\#\$\&\'\`$am_lf]*)
   2978     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2979 esac
   2980 case $srcdir in
   2981   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2982     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2983 esac
   2984 
   2985 # Do 'set' in a subshell so we don't clobber the current shell's
   2986 # arguments.  Must try -L first in case configure is actually a
   2987 # symlink; some systems play weird games with the mod time of symlinks
   2988 # (eg FreeBSD returns the mod time of the symlink's containing
   2989 # directory).
   2990 if (
   2991    am_has_slept=no
   2992    for am_try in 1 2; do
   2993      echo "timestamp, slept: $am_has_slept" > conftest.file
   2994      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2995      if test "$*" = "X"; then
   2996 	# -L didn't work.
   2997 	set X `ls -t "$srcdir/configure" conftest.file`
   2998      fi
   2999      if test "$*" != "X $srcdir/configure conftest.file" \
   3000 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3001 
   3002 	# If neither matched, then we have a broken ls.  This can happen
   3003 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3004 	# broken ls alias from the environment.  This has actually
   3005 	# happened.  Such a system could not be considered "sane".
   3006 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3007   alias in your environment" "$LINENO" 5
   3008      fi
   3009      if test "$2" = conftest.file || test $am_try -eq 2; then
   3010        break
   3011      fi
   3012      # Just in case.
   3013      sleep 1
   3014      am_has_slept=yes
   3015    done
   3016    test "$2" = conftest.file
   3017    )
   3018 then
   3019    # Ok.
   3020    :
   3021 else
   3022    as_fn_error $? "newly created file is older than distributed files!
   3023 Check your system clock" "$LINENO" 5
   3024 fi
   3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3026 printf "%s\n" "yes" >&6; }
   3027 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3028 # generated files are strictly newer.
   3029 am_sleep_pid=
   3030 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3031   ( sleep 1 ) &
   3032   am_sleep_pid=$!
   3033 fi
   3034 
   3035 rm -f conftest.file
   3036 
   3037 test "$program_prefix" != NONE &&
   3038   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3039 # Use a double $ so make ignores it.
   3040 test "$program_suffix" != NONE &&
   3041   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3042 # Double any \ or $.
   3043 # By default was `s,x,x', remove it if useless.
   3044 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3045 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3046 
   3047 
   3048 # Expand $ac_aux_dir to an absolute path.
   3049 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3050 
   3051 
   3052   if test x"${MISSING+set}" != xset; then
   3053   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3054 fi
   3055 # Use eval to expand $SHELL
   3056 if eval "$MISSING --is-lightweight"; then
   3057   am_missing_run="$MISSING "
   3058 else
   3059   am_missing_run=
   3060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3061 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3062 fi
   3063 
   3064 if test x"${install_sh+set}" != xset; then
   3065   case $am_aux_dir in
   3066   *\ * | *\	*)
   3067     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3068   *)
   3069     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3070   esac
   3071 fi
   3072 
   3073 # Installed binaries are usually stripped using 'strip' when the user
   3074 # run "make install-strip".  However 'strip' might not be the right
   3075 # tool to use in cross-compilation environments, therefore Automake
   3076 # will honor the 'STRIP' environment variable to overrule this program.
   3077 if test "$cross_compiling" != no; then
   3078   if test -n "$ac_tool_prefix"; then
   3079   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3080 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3082 printf %s "checking for $ac_word... " >&6; }
   3083 if test ${ac_cv_prog_STRIP+y}
   3084 then :
   3085   printf %s "(cached) " >&6
   3086 else $as_nop
   3087   if test -n "$STRIP"; then
   3088   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3089 else
   3090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3091 for as_dir in $PATH
   3092 do
   3093   IFS=$as_save_IFS
   3094   case $as_dir in #(((
   3095     '') as_dir=./ ;;
   3096     */) ;;
   3097     *) as_dir=$as_dir/ ;;
   3098   esac
   3099     for ac_exec_ext in '' $ac_executable_extensions; do
   3100   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3101     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3102     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3103     break 2
   3104   fi
   3105 done
   3106   done
   3107 IFS=$as_save_IFS
   3108 
   3109 fi
   3110 fi
   3111 STRIP=$ac_cv_prog_STRIP
   3112 if test -n "$STRIP"; then
   3113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3114 printf "%s\n" "$STRIP" >&6; }
   3115 else
   3116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3117 printf "%s\n" "no" >&6; }
   3118 fi
   3119 
   3120 
   3121 fi
   3122 if test -z "$ac_cv_prog_STRIP"; then
   3123   ac_ct_STRIP=$STRIP
   3124   # Extract the first word of "strip", so it can be a program name with args.
   3125 set dummy strip; ac_word=$2
   3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3127 printf %s "checking for $ac_word... " >&6; }
   3128 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3129 then :
   3130   printf %s "(cached) " >&6
   3131 else $as_nop
   3132   if test -n "$ac_ct_STRIP"; then
   3133   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3134 else
   3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3136 for as_dir in $PATH
   3137 do
   3138   IFS=$as_save_IFS
   3139   case $as_dir in #(((
   3140     '') as_dir=./ ;;
   3141     */) ;;
   3142     *) as_dir=$as_dir/ ;;
   3143   esac
   3144     for ac_exec_ext in '' $ac_executable_extensions; do
   3145   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3146     ac_cv_prog_ac_ct_STRIP="strip"
   3147     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3148     break 2
   3149   fi
   3150 done
   3151   done
   3152 IFS=$as_save_IFS
   3153 
   3154 fi
   3155 fi
   3156 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3157 if test -n "$ac_ct_STRIP"; then
   3158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3159 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3160 else
   3161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3162 printf "%s\n" "no" >&6; }
   3163 fi
   3164 
   3165   if test "x$ac_ct_STRIP" = x; then
   3166     STRIP=":"
   3167   else
   3168     case $cross_compiling:$ac_tool_warned in
   3169 yes:)
   3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3171 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3172 ac_tool_warned=yes ;;
   3173 esac
   3174     STRIP=$ac_ct_STRIP
   3175   fi
   3176 else
   3177   STRIP="$ac_cv_prog_STRIP"
   3178 fi
   3179 
   3180 fi
   3181 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3182 
   3183 
   3184   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3185 printf %s "checking for a race-free mkdir -p... " >&6; }
   3186 if test -z "$MKDIR_P"; then
   3187   if test ${ac_cv_path_mkdir+y}
   3188 then :
   3189   printf %s "(cached) " >&6
   3190 else $as_nop
   3191   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3192 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3193 do
   3194   IFS=$as_save_IFS
   3195   case $as_dir in #(((
   3196     '') as_dir=./ ;;
   3197     */) ;;
   3198     *) as_dir=$as_dir/ ;;
   3199   esac
   3200     for ac_prog in mkdir gmkdir; do
   3201 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3202 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3203 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3204 	     'mkdir ('*'coreutils) '* | \
   3205 	     'BusyBox '* | \
   3206 	     'mkdir (fileutils) '4.1*)
   3207 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3208 	       break 3;;
   3209 	   esac
   3210 	 done
   3211        done
   3212   done
   3213 IFS=$as_save_IFS
   3214 
   3215 fi
   3216 
   3217   test -d ./--version && rmdir ./--version
   3218   if test ${ac_cv_path_mkdir+y}; then
   3219     MKDIR_P="$ac_cv_path_mkdir -p"
   3220   else
   3221     # As a last resort, use the slow shell script.  Don't cache a
   3222     # value for MKDIR_P within a source directory, because that will
   3223     # break other packages using the cache if that directory is
   3224     # removed, or if the value is a relative name.
   3225     MKDIR_P="$ac_install_sh -d"
   3226   fi
   3227 fi
   3228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3229 printf "%s\n" "$MKDIR_P" >&6; }
   3230 
   3231 for ac_prog in gawk mawk nawk awk
   3232 do
   3233   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3234 set dummy $ac_prog; ac_word=$2
   3235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3236 printf %s "checking for $ac_word... " >&6; }
   3237 if test ${ac_cv_prog_AWK+y}
   3238 then :
   3239   printf %s "(cached) " >&6
   3240 else $as_nop
   3241   if test -n "$AWK"; then
   3242   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3243 else
   3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3245 for as_dir in $PATH
   3246 do
   3247   IFS=$as_save_IFS
   3248   case $as_dir in #(((
   3249     '') as_dir=./ ;;
   3250     */) ;;
   3251     *) as_dir=$as_dir/ ;;
   3252   esac
   3253     for ac_exec_ext in '' $ac_executable_extensions; do
   3254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3255     ac_cv_prog_AWK="$ac_prog"
   3256     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3257     break 2
   3258   fi
   3259 done
   3260   done
   3261 IFS=$as_save_IFS
   3262 
   3263 fi
   3264 fi
   3265 AWK=$ac_cv_prog_AWK
   3266 if test -n "$AWK"; then
   3267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3268 printf "%s\n" "$AWK" >&6; }
   3269 else
   3270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3271 printf "%s\n" "no" >&6; }
   3272 fi
   3273 
   3274 
   3275   test -n "$AWK" && break
   3276 done
   3277 
   3278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3279 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3280 set x ${MAKE-make}
   3281 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3282 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3283 then :
   3284   printf %s "(cached) " >&6
   3285 else $as_nop
   3286   cat >conftest.make <<\_ACEOF
   3287 SHELL = /bin/sh
   3288 all:
   3289 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3290 _ACEOF
   3291 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3292 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3293   *@@@%%%=?*=@@@%%%*)
   3294     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3295   *)
   3296     eval ac_cv_prog_make_${ac_make}_set=no;;
   3297 esac
   3298 rm -f conftest.make
   3299 fi
   3300 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3302 printf "%s\n" "yes" >&6; }
   3303   SET_MAKE=
   3304 else
   3305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3306 printf "%s\n" "no" >&6; }
   3307   SET_MAKE="MAKE=${MAKE-make}"
   3308 fi
   3309 
   3310 rm -rf .tst 2>/dev/null
   3311 mkdir .tst 2>/dev/null
   3312 if test -d .tst; then
   3313   am__leading_dot=.
   3314 else
   3315   am__leading_dot=_
   3316 fi
   3317 rmdir .tst 2>/dev/null
   3318 
   3319 # Check whether --enable-silent-rules was given.
   3320 if test ${enable_silent_rules+y}
   3321 then :
   3322   enableval=$enable_silent_rules;
   3323 fi
   3324 
   3325 case $enable_silent_rules in # (((
   3326   yes) AM_DEFAULT_VERBOSITY=0;;
   3327    no) AM_DEFAULT_VERBOSITY=1;;
   3328     *) AM_DEFAULT_VERBOSITY=1;;
   3329 esac
   3330 am_make=${MAKE-make}
   3331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3332 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3333 if test ${am_cv_make_support_nested_variables+y}
   3334 then :
   3335   printf %s "(cached) " >&6
   3336 else $as_nop
   3337   if printf "%s\n" 'TRUE=$(BAR$(V))
   3338 BAR0=false
   3339 BAR1=true
   3340 V=1
   3341 am__doit:
   3342 	@$(TRUE)
   3343 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3344   am_cv_make_support_nested_variables=yes
   3345 else
   3346   am_cv_make_support_nested_variables=no
   3347 fi
   3348 fi
   3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3350 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3351 if test $am_cv_make_support_nested_variables = yes; then
   3352     AM_V='$(V)'
   3353   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3354 else
   3355   AM_V=$AM_DEFAULT_VERBOSITY
   3356   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3357 fi
   3358 AM_BACKSLASH='\'
   3359 
   3360 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3361   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3362   # is not polluted with repeated "-I."
   3363   am__isrc=' -I$(srcdir)'
   3364   # test to see if srcdir already configured
   3365   if test -f $srcdir/config.status; then
   3366     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3367   fi
   3368 fi
   3369 
   3370 # test whether we have cygpath
   3371 if test -z "$CYGPATH_W"; then
   3372   if (cygpath --version) >/dev/null 2>/dev/null; then
   3373     CYGPATH_W='cygpath -w'
   3374   else
   3375     CYGPATH_W=echo
   3376   fi
   3377 fi
   3378 
   3379 
   3380 # Define the identity of the package.
   3381  PACKAGE='libxcb'
   3382  VERSION='1.15'
   3383 
   3384 
   3385 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3386 
   3387 
   3388 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3389 
   3390 # Some tools Automake needs.
   3391 
   3392 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3393 
   3394 
   3395 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3396 
   3397 
   3398 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3399 
   3400 
   3401 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3402 
   3403 
   3404 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3405 
   3406 # For better backward compatibility.  To be removed once Automake 1.9.x
   3407 # dies out for good.  For more background, see:
   3408 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3409 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3410 mkdir_p='$(MKDIR_P)'
   3411 
   3412 # We need awk for the "check" target (and possibly the TAP driver).  The
   3413 # system "awk" is bad on some platforms.
   3414 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3415 # in the wild :-(  We should find a proper way to deprecate it ...
   3416 AMTAR='$${TAR-tar}'
   3417 
   3418 
   3419 # We'll loop over all known methods to create a tar archive until one works.
   3420 _am_tools='gnutar  pax cpio none'
   3421 
   3422 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3423 
   3424 
   3425 
   3426 
   3427 
   3428 # Variables for tags utilities; see am/tags.am
   3429 if test -z "$CTAGS"; then
   3430   CTAGS=ctags
   3431 fi
   3432 
   3433 if test -z "$ETAGS"; then
   3434   ETAGS=etags
   3435 fi
   3436 
   3437 if test -z "$CSCOPE"; then
   3438   CSCOPE=cscope
   3439 fi
   3440 
   3441 
   3442 
   3443 # POSIX will say in a future version that running "rm -f" with no argument
   3444 # is OK; and we want to be able to make that assumption in our Makefile
   3445 # recipes.  So use an aggressive probe to check that the usage we want is
   3446 # actually supported "in the wild" to an acceptable degree.
   3447 # See automake bug#10828.
   3448 # To make any issue more visible, cause the running configure to be aborted
   3449 # by default if the 'rm' program in use doesn't match our expectations; the
   3450 # user can still override this though.
   3451 if rm -f && rm -fr && rm -rf; then : OK; else
   3452   cat >&2 <<'END'
   3453 Oops!
   3454 
   3455 Your 'rm' program seems unable to run without file operands specified
   3456 on the command line, even when the '-f' option is present.  This is contrary
   3457 to the behaviour of most rm programs out there, and not conforming with
   3458 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3459 
   3460 Please tell bug-automake@gnu.org about your system, including the value
   3461 of your $PATH and any error possibly output before this message.  This
   3462 can help us improve future automake versions.
   3463 
   3464 END
   3465   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3466     echo 'Configuration will proceed anyway, since you have set the' >&2
   3467     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3468     echo >&2
   3469   else
   3470     cat >&2 <<'END'
   3471 Aborting the configuration process, to ensure you take notice of the issue.
   3472 
   3473 You can download and install GNU coreutils to get an 'rm' implementation
   3474 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3475 
   3476 If you want to complete the configuration process using your problematic
   3477 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3478 to "yes", and re-run configure.
   3479 
   3480 END
   3481     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3482   fi
   3483 fi
   3484 
   3485 
   3486 
   3487 
   3488 
   3489 
   3490 
   3491         if test -n "$PYTHON"; then
   3492       # If the user set $PYTHON, use it and don't search something else.
   3493       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
   3494 printf %s "checking whether $PYTHON version is >= 2.6... " >&6; }
   3495       prog="import sys
   3496 # split strings by '.' and convert to numeric.  Append some zeros
   3497 # because we need at least 4 digits for the hex conversion.
   3498 # map returns an iterator in Python 3.0 and a list in 2.x
   3499 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3500 minverhex = 0
   3501 # xrange is not present in Python 3.0 and range returns an iterator
   3502 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3503 sys.exit(sys.hexversion < minverhex)"
   3504   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   3505    ($PYTHON -c "$prog") >&5 2>&5
   3506    ac_status=$?
   3507    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3508    (exit $ac_status); }
   3509 then :
   3510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3511 printf "%s\n" "yes" >&6; }
   3512 else $as_nop
   3513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3514 printf "%s\n" "no" >&6; }
   3515 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   3516 fi
   3517       am_display_PYTHON=$PYTHON
   3518     else
   3519       # Otherwise, try each interpreter until we find one that satisfies
   3520       # VERSION.
   3521       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
   3522 printf %s "checking for a Python interpreter with version >= 2.6... " >&6; }
   3523 if test ${am_cv_pathless_PYTHON+y}
   3524 then :
   3525   printf %s "(cached) " >&6
   3526 else $as_nop
   3527 
   3528 	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
   3529 	  test "$am_cv_pathless_PYTHON" = none && break
   3530 	  prog="import sys
   3531 # split strings by '.' and convert to numeric.  Append some zeros
   3532 # because we need at least 4 digits for the hex conversion.
   3533 # map returns an iterator in Python 3.0 and a list in 2.x
   3534 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
   3535 minverhex = 0
   3536 # xrange is not present in Python 3.0 and range returns an iterator
   3537 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   3538 sys.exit(sys.hexversion < minverhex)"
   3539   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   3540    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   3541    ac_status=$?
   3542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3543    (exit $ac_status); }
   3544 then :
   3545   break
   3546 fi
   3547 	done
   3548 fi
   3549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   3550 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   3551       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   3552       if test "$am_cv_pathless_PYTHON" = none; then
   3553 	PYTHON=:
   3554       else
   3555         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   3556 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   3557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3558 printf %s "checking for $ac_word... " >&6; }
   3559 if test ${ac_cv_path_PYTHON+y}
   3560 then :
   3561   printf %s "(cached) " >&6
   3562 else $as_nop
   3563   case $PYTHON in
   3564   [\\/]* | ?:[\\/]*)
   3565   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   3566   ;;
   3567   *)
   3568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3569 for as_dir in $PATH
   3570 do
   3571   IFS=$as_save_IFS
   3572   case $as_dir in #(((
   3573     '') as_dir=./ ;;
   3574     */) ;;
   3575     *) as_dir=$as_dir/ ;;
   3576   esac
   3577     for ac_exec_ext in '' $ac_executable_extensions; do
   3578   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3579     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   3580     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3581     break 2
   3582   fi
   3583 done
   3584   done
   3585 IFS=$as_save_IFS
   3586 
   3587   ;;
   3588 esac
   3589 fi
   3590 PYTHON=$ac_cv_path_PYTHON
   3591 if test -n "$PYTHON"; then
   3592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   3593 printf "%s\n" "$PYTHON" >&6; }
   3594 else
   3595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3596 printf "%s\n" "no" >&6; }
   3597 fi
   3598 
   3599 
   3600       fi
   3601       am_display_PYTHON=$am_cv_pathless_PYTHON
   3602     fi
   3603 
   3604 
   3605   if test "$PYTHON" = :; then
   3606         as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   3607   else
   3608 
   3609               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   3610 printf %s "checking for $am_display_PYTHON version... " >&6; }
   3611 if test ${am_cv_python_version+y}
   3612 then :
   3613   printf %s "(cached) " >&6
   3614 else $as_nop
   3615   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   3616 fi
   3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   3618 printf "%s\n" "$am_cv_python_version" >&6; }
   3619   PYTHON_VERSION=$am_cv_python_version
   3620 
   3621 
   3622         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   3623 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   3624 if test ${am_cv_python_platform+y}
   3625 then :
   3626   printf %s "(cached) " >&6
   3627 else $as_nop
   3628   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   3629 fi
   3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   3631 printf "%s\n" "$am_cv_python_platform" >&6; }
   3632   PYTHON_PLATFORM=$am_cv_python_platform
   3633 
   3634 
   3635                             if test "x$prefix" = xNONE; then
   3636     am__usable_prefix=$ac_default_prefix
   3637   else
   3638     am__usable_prefix=$prefix
   3639   fi
   3640 
   3641   # Allow user to request using sys.* values from Python,
   3642   # instead of the GNU $prefix values.
   3643 
   3644 # Check whether --with-python-sys-prefix was given.
   3645 if test ${with_python_sys_prefix+y}
   3646 then :
   3647   withval=$with_python_sys_prefix; am_use_python_sys=:
   3648 else $as_nop
   3649   am_use_python_sys=false
   3650 fi
   3651 
   3652 
   3653   # Allow user to override whatever the default Python prefix is.
   3654 
   3655 # Check whether --with-python_prefix was given.
   3656 if test ${with_python_prefix+y}
   3657 then :
   3658   withval=$with_python_prefix; am_python_prefix_subst=$withval
   3659    am_cv_python_prefix=$withval
   3660    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   3661 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   3662    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   3663 printf "%s\n" "$am_cv_python_prefix" >&6; }
   3664 else $as_nop
   3665 
   3666    if $am_use_python_sys; then
   3667      # using python sys.prefix value, not GNU
   3668      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   3669 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   3670 if test ${am_cv_python_prefix+y}
   3671 then :
   3672   printf %s "(cached) " >&6
   3673 else $as_nop
   3674   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   3675 fi
   3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   3677 printf "%s\n" "$am_cv_python_prefix" >&6; }
   3678 
   3679                case $am_cv_python_prefix in
   3680      $am__usable_prefix*)
   3681        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   3682        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   3683        ;;
   3684      *)
   3685        am_python_prefix_subst=$am_cv_python_prefix
   3686        ;;
   3687      esac
   3688    else # using GNU prefix value, not python sys.prefix
   3689      am_python_prefix_subst='${prefix}'
   3690      am_python_prefix=$am_python_prefix_subst
   3691      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   3692 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   3693      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   3694 printf "%s\n" "$am_python_prefix" >&6; }
   3695    fi
   3696 fi
   3697 
   3698   # Substituting python_prefix_subst value.
   3699   PYTHON_PREFIX=$am_python_prefix_subst
   3700 
   3701 
   3702   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   3703   # another conditional: fall back to regular prefix if that was specified.
   3704 
   3705 # Check whether --with-python_exec_prefix was given.
   3706 if test ${with_python_exec_prefix+y}
   3707 then :
   3708   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   3709    am_cv_python_exec_prefix=$withval
   3710    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   3711 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   3712    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   3713 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   3714 else $as_nop
   3715 
   3716    # no explicit --with-python_exec_prefix, but if
   3717    # --with-python_prefix was given, use its value for python_exec_prefix too.
   3718    if test -n "$with_python_prefix"
   3719 then :
   3720   am_python_exec_prefix_subst=$with_python_prefix
   3721     am_cv_python_exec_prefix=$with_python_prefix
   3722     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   3723 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   3724     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   3725 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   3726 else $as_nop
   3727 
   3728     # Set am__usable_exec_prefix whether using GNU or Python values,
   3729     # since we use that variable for pyexecdir.
   3730     if test "x$exec_prefix" = xNONE; then
   3731       am__usable_exec_prefix=$am__usable_prefix
   3732     else
   3733       am__usable_exec_prefix=$exec_prefix
   3734     fi
   3735     #
   3736     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   3737       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   3738 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   3739 if test ${am_cv_python_exec_prefix+y}
   3740 then :
   3741   printf %s "(cached) " >&6
   3742 else $as_nop
   3743   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   3744 fi
   3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   3746 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   3747                         case $am_cv_python_exec_prefix in
   3748       $am__usable_exec_prefix*)
   3749         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   3750         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   3751         ;;
   3752       *)
   3753         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   3754         ;;
   3755      esac
   3756    else # using GNU $exec_prefix, not python sys.exec_prefix
   3757      am_python_exec_prefix_subst='${exec_prefix}'
   3758      am_python_exec_prefix=$am_python_exec_prefix_subst
   3759      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   3760 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   3761      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   3762 printf "%s\n" "$am_python_exec_prefix" >&6; }
   3763    fi
   3764 fi
   3765 fi
   3766 
   3767   # Substituting python_exec_prefix_subst.
   3768   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   3769 
   3770 
   3771   # Factor out some code duplication into this shell variable.
   3772   am_python_setup_sysconfig="\
   3773 import sys
   3774 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   3775 # with python 3.x.  See automake bug#10227.
   3776 try:
   3777     import sysconfig
   3778 except ImportError:
   3779     can_use_sysconfig = 0
   3780 else:
   3781     can_use_sysconfig = 1
   3782 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   3783 # <https://github.com/pypa/virtualenv/issues/118>
   3784 try:
   3785     from platform import python_implementation
   3786     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   3787         can_use_sysconfig = 0
   3788 except ImportError:
   3789     pass"
   3790 
   3791 
   3792               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   3793 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   3794 if test ${am_cv_python_pythondir+y}
   3795 then :
   3796   printf %s "(cached) " >&6
   3797 else $as_nop
   3798   if test "x$am_cv_python_prefix" = x; then
   3799      am_py_prefix=$am__usable_prefix
   3800    else
   3801      am_py_prefix=$am_cv_python_prefix
   3802    fi
   3803    am_cv_python_pythondir=`$PYTHON -c "
   3804 $am_python_setup_sysconfig
   3805 if can_use_sysconfig:
   3806   sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   3807 else:
   3808   from distutils import sysconfig
   3809   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   3810 sys.stdout.write(sitedir)"`
   3811    #
   3812    case $am_cv_python_pythondir in
   3813    $am_py_prefix*)
   3814      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   3815      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   3816      ;;
   3817    *)
   3818      case $am_py_prefix in
   3819        /usr|/System*) ;;
   3820        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   3821           ;;
   3822      esac
   3823      ;;
   3824    esac
   3825 
   3826 fi
   3827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   3828 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   3829   pythondir=$am_cv_python_pythondir
   3830 
   3831 
   3832           pkgpythondir=\${pythondir}/$PACKAGE
   3833 
   3834 
   3835           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   3836 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   3837 if test ${am_cv_python_pyexecdir+y}
   3838 then :
   3839   printf %s "(cached) " >&6
   3840 else $as_nop
   3841   if test "x$am_cv_python_exec_prefix" = x; then
   3842      am_py_exec_prefix=$am__usable_exec_prefix
   3843    else
   3844      am_py_exec_prefix=$am_cv_python_exec_prefix
   3845    fi
   3846    am_cv_python_pyexecdir=`$PYTHON -c "
   3847 $am_python_setup_sysconfig
   3848 if can_use_sysconfig:
   3849   sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   3850 else:
   3851   from distutils import sysconfig
   3852   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   3853 sys.stdout.write(sitedir)"`
   3854    #
   3855    case $am_cv_python_pyexecdir in
   3856    $am_py_exec_prefix*)
   3857      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   3858      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   3859      ;;
   3860    *)
   3861      case $am_py_exec_prefix in
   3862        /usr|/System*) ;;
   3863        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   3864           ;;
   3865      esac
   3866      ;;
   3867    esac
   3868 
   3869 fi
   3870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   3871 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   3872   pyexecdir=$am_cv_python_pyexecdir
   3873 
   3874 
   3875       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   3876 
   3877 
   3878 
   3879   fi
   3880 
   3881 
   3882 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3883 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
   3884 # to avoid autoconf errors.
   3885 
   3886 
   3887 
   3888 
   3889 
   3890 
   3891 
   3892 
   3893 
   3894 DEPDIR="${am__leading_dot}deps"
   3895 
   3896 ac_config_commands="$ac_config_commands depfiles"
   3897 
   3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3899 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3900 cat > confinc.mk << 'END'
   3901 am__doit:
   3902 	@echo this is the am__doit target >confinc.out
   3903 .PHONY: am__doit
   3904 END
   3905 am__include="#"
   3906 am__quote=
   3907 # BSD make does it like this.
   3908 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3909 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3910 echo 'include confinc.mk # ignored' > confmf.GNU
   3911 _am_result=no
   3912 for s in GNU BSD; do
   3913   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3914    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3915    ac_status=$?
   3916    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3917    (exit $ac_status); }
   3918   case $?:`cat confinc.out 2>/dev/null` in #(
   3919   '0:this is the am__doit target') :
   3920     case $s in #(
   3921   BSD) :
   3922     am__include='.include' am__quote='"' ;; #(
   3923   *) :
   3924     am__include='include' am__quote='' ;;
   3925 esac ;; #(
   3926   *) :
   3927      ;;
   3928 esac
   3929   if test "$am__include" != "#"; then
   3930     _am_result="yes ($s style)"
   3931     break
   3932   fi
   3933 done
   3934 rm -f confinc.* confmf.*
   3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3936 printf "%s\n" "${_am_result}" >&6; }
   3937 
   3938 # Check whether --enable-dependency-tracking was given.
   3939 if test ${enable_dependency_tracking+y}
   3940 then :
   3941   enableval=$enable_dependency_tracking;
   3942 fi
   3943 
   3944 if test "x$enable_dependency_tracking" != xno; then
   3945   am_depcomp="$ac_aux_dir/depcomp"
   3946   AMDEPBACKSLASH='\'
   3947   am__nodep='_no'
   3948 fi
   3949  if test "x$enable_dependency_tracking" != xno; then
   3950   AMDEP_TRUE=
   3951   AMDEP_FALSE='#'
   3952 else
   3953   AMDEP_TRUE='#'
   3954   AMDEP_FALSE=
   3955 fi
   3956 
   3957 
   3958 ac_ext=c
   3959 ac_cpp='$CPP $CPPFLAGS'
   3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3963 if test -n "$ac_tool_prefix"; then
   3964   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3965 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3967 printf %s "checking for $ac_word... " >&6; }
   3968 if test ${ac_cv_prog_CC+y}
   3969 then :
   3970   printf %s "(cached) " >&6
   3971 else $as_nop
   3972   if test -n "$CC"; then
   3973   ac_cv_prog_CC="$CC" # Let the user override the test.
   3974 else
   3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3976 for as_dir in $PATH
   3977 do
   3978   IFS=$as_save_IFS
   3979   case $as_dir in #(((
   3980     '') as_dir=./ ;;
   3981     */) ;;
   3982     *) as_dir=$as_dir/ ;;
   3983   esac
   3984     for ac_exec_ext in '' $ac_executable_extensions; do
   3985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3986     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3988     break 2
   3989   fi
   3990 done
   3991   done
   3992 IFS=$as_save_IFS
   3993 
   3994 fi
   3995 fi
   3996 CC=$ac_cv_prog_CC
   3997 if test -n "$CC"; then
   3998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3999 printf "%s\n" "$CC" >&6; }
   4000 else
   4001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4002 printf "%s\n" "no" >&6; }
   4003 fi
   4004 
   4005 
   4006 fi
   4007 if test -z "$ac_cv_prog_CC"; then
   4008   ac_ct_CC=$CC
   4009   # Extract the first word of "gcc", so it can be a program name with args.
   4010 set dummy gcc; ac_word=$2
   4011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4012 printf %s "checking for $ac_word... " >&6; }
   4013 if test ${ac_cv_prog_ac_ct_CC+y}
   4014 then :
   4015   printf %s "(cached) " >&6
   4016 else $as_nop
   4017   if test -n "$ac_ct_CC"; then
   4018   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4019 else
   4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4021 for as_dir in $PATH
   4022 do
   4023   IFS=$as_save_IFS
   4024   case $as_dir in #(((
   4025     '') as_dir=./ ;;
   4026     */) ;;
   4027     *) as_dir=$as_dir/ ;;
   4028   esac
   4029     for ac_exec_ext in '' $ac_executable_extensions; do
   4030   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4031     ac_cv_prog_ac_ct_CC="gcc"
   4032     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4033     break 2
   4034   fi
   4035 done
   4036   done
   4037 IFS=$as_save_IFS
   4038 
   4039 fi
   4040 fi
   4041 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4042 if test -n "$ac_ct_CC"; then
   4043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4044 printf "%s\n" "$ac_ct_CC" >&6; }
   4045 else
   4046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4047 printf "%s\n" "no" >&6; }
   4048 fi
   4049 
   4050   if test "x$ac_ct_CC" = x; then
   4051     CC=""
   4052   else
   4053     case $cross_compiling:$ac_tool_warned in
   4054 yes:)
   4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4056 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4057 ac_tool_warned=yes ;;
   4058 esac
   4059     CC=$ac_ct_CC
   4060   fi
   4061 else
   4062   CC="$ac_cv_prog_CC"
   4063 fi
   4064 
   4065 if test -z "$CC"; then
   4066           if test -n "$ac_tool_prefix"; then
   4067     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4068 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4070 printf %s "checking for $ac_word... " >&6; }
   4071 if test ${ac_cv_prog_CC+y}
   4072 then :
   4073   printf %s "(cached) " >&6
   4074 else $as_nop
   4075   if test -n "$CC"; then
   4076   ac_cv_prog_CC="$CC" # Let the user override the test.
   4077 else
   4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4079 for as_dir in $PATH
   4080 do
   4081   IFS=$as_save_IFS
   4082   case $as_dir in #(((
   4083     '') as_dir=./ ;;
   4084     */) ;;
   4085     *) as_dir=$as_dir/ ;;
   4086   esac
   4087     for ac_exec_ext in '' $ac_executable_extensions; do
   4088   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4089     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4090     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4091     break 2
   4092   fi
   4093 done
   4094   done
   4095 IFS=$as_save_IFS
   4096 
   4097 fi
   4098 fi
   4099 CC=$ac_cv_prog_CC
   4100 if test -n "$CC"; then
   4101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4102 printf "%s\n" "$CC" >&6; }
   4103 else
   4104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4105 printf "%s\n" "no" >&6; }
   4106 fi
   4107 
   4108 
   4109   fi
   4110 fi
   4111 if test -z "$CC"; then
   4112   # Extract the first word of "cc", so it can be a program name with args.
   4113 set dummy cc; ac_word=$2
   4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4115 printf %s "checking for $ac_word... " >&6; }
   4116 if test ${ac_cv_prog_CC+y}
   4117 then :
   4118   printf %s "(cached) " >&6
   4119 else $as_nop
   4120   if test -n "$CC"; then
   4121   ac_cv_prog_CC="$CC" # Let the user override the test.
   4122 else
   4123   ac_prog_rejected=no
   4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4125 for as_dir in $PATH
   4126 do
   4127   IFS=$as_save_IFS
   4128   case $as_dir in #(((
   4129     '') as_dir=./ ;;
   4130     */) ;;
   4131     *) as_dir=$as_dir/ ;;
   4132   esac
   4133     for ac_exec_ext in '' $ac_executable_extensions; do
   4134   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4135     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4136        ac_prog_rejected=yes
   4137        continue
   4138      fi
   4139     ac_cv_prog_CC="cc"
   4140     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4141     break 2
   4142   fi
   4143 done
   4144   done
   4145 IFS=$as_save_IFS
   4146 
   4147 if test $ac_prog_rejected = yes; then
   4148   # We found a bogon in the path, so make sure we never use it.
   4149   set dummy $ac_cv_prog_CC
   4150   shift
   4151   if test $# != 0; then
   4152     # We chose a different compiler from the bogus one.
   4153     # However, it has the same basename, so the bogon will be chosen
   4154     # first if we set CC to just the basename; use the full file name.
   4155     shift
   4156     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4157   fi
   4158 fi
   4159 fi
   4160 fi
   4161 CC=$ac_cv_prog_CC
   4162 if test -n "$CC"; then
   4163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4164 printf "%s\n" "$CC" >&6; }
   4165 else
   4166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4167 printf "%s\n" "no" >&6; }
   4168 fi
   4169 
   4170 
   4171 fi
   4172 if test -z "$CC"; then
   4173   if test -n "$ac_tool_prefix"; then
   4174   for ac_prog in cl.exe
   4175   do
   4176     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4179 printf %s "checking for $ac_word... " >&6; }
   4180 if test ${ac_cv_prog_CC+y}
   4181 then :
   4182   printf %s "(cached) " >&6
   4183 else $as_nop
   4184   if test -n "$CC"; then
   4185   ac_cv_prog_CC="$CC" # Let the user override the test.
   4186 else
   4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4188 for as_dir in $PATH
   4189 do
   4190   IFS=$as_save_IFS
   4191   case $as_dir in #(((
   4192     '') as_dir=./ ;;
   4193     */) ;;
   4194     *) as_dir=$as_dir/ ;;
   4195   esac
   4196     for ac_exec_ext in '' $ac_executable_extensions; do
   4197   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4198     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4199     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4200     break 2
   4201   fi
   4202 done
   4203   done
   4204 IFS=$as_save_IFS
   4205 
   4206 fi
   4207 fi
   4208 CC=$ac_cv_prog_CC
   4209 if test -n "$CC"; then
   4210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4211 printf "%s\n" "$CC" >&6; }
   4212 else
   4213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4214 printf "%s\n" "no" >&6; }
   4215 fi
   4216 
   4217 
   4218     test -n "$CC" && break
   4219   done
   4220 fi
   4221 if test -z "$CC"; then
   4222   ac_ct_CC=$CC
   4223   for ac_prog in cl.exe
   4224 do
   4225   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4226 set dummy $ac_prog; ac_word=$2
   4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4228 printf %s "checking for $ac_word... " >&6; }
   4229 if test ${ac_cv_prog_ac_ct_CC+y}
   4230 then :
   4231   printf %s "(cached) " >&6
   4232 else $as_nop
   4233   if test -n "$ac_ct_CC"; then
   4234   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4235 else
   4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4237 for as_dir in $PATH
   4238 do
   4239   IFS=$as_save_IFS
   4240   case $as_dir in #(((
   4241     '') as_dir=./ ;;
   4242     */) ;;
   4243     *) as_dir=$as_dir/ ;;
   4244   esac
   4245     for ac_exec_ext in '' $ac_executable_extensions; do
   4246   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4247     ac_cv_prog_ac_ct_CC="$ac_prog"
   4248     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4249     break 2
   4250   fi
   4251 done
   4252   done
   4253 IFS=$as_save_IFS
   4254 
   4255 fi
   4256 fi
   4257 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4258 if test -n "$ac_ct_CC"; then
   4259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4260 printf "%s\n" "$ac_ct_CC" >&6; }
   4261 else
   4262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4263 printf "%s\n" "no" >&6; }
   4264 fi
   4265 
   4266 
   4267   test -n "$ac_ct_CC" && break
   4268 done
   4269 
   4270   if test "x$ac_ct_CC" = x; then
   4271     CC=""
   4272   else
   4273     case $cross_compiling:$ac_tool_warned in
   4274 yes:)
   4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4276 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4277 ac_tool_warned=yes ;;
   4278 esac
   4279     CC=$ac_ct_CC
   4280   fi
   4281 fi
   4282 
   4283 fi
   4284 if test -z "$CC"; then
   4285   if test -n "$ac_tool_prefix"; then
   4286   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4287 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4289 printf %s "checking for $ac_word... " >&6; }
   4290 if test ${ac_cv_prog_CC+y}
   4291 then :
   4292   printf %s "(cached) " >&6
   4293 else $as_nop
   4294   if test -n "$CC"; then
   4295   ac_cv_prog_CC="$CC" # Let the user override the test.
   4296 else
   4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4298 for as_dir in $PATH
   4299 do
   4300   IFS=$as_save_IFS
   4301   case $as_dir in #(((
   4302     '') as_dir=./ ;;
   4303     */) ;;
   4304     *) as_dir=$as_dir/ ;;
   4305   esac
   4306     for ac_exec_ext in '' $ac_executable_extensions; do
   4307   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4308     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4309     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4310     break 2
   4311   fi
   4312 done
   4313   done
   4314 IFS=$as_save_IFS
   4315 
   4316 fi
   4317 fi
   4318 CC=$ac_cv_prog_CC
   4319 if test -n "$CC"; then
   4320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4321 printf "%s\n" "$CC" >&6; }
   4322 else
   4323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4324 printf "%s\n" "no" >&6; }
   4325 fi
   4326 
   4327 
   4328 fi
   4329 if test -z "$ac_cv_prog_CC"; then
   4330   ac_ct_CC=$CC
   4331   # Extract the first word of "clang", so it can be a program name with args.
   4332 set dummy clang; ac_word=$2
   4333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4334 printf %s "checking for $ac_word... " >&6; }
   4335 if test ${ac_cv_prog_ac_ct_CC+y}
   4336 then :
   4337   printf %s "(cached) " >&6
   4338 else $as_nop
   4339   if test -n "$ac_ct_CC"; then
   4340   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4341 else
   4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4343 for as_dir in $PATH
   4344 do
   4345   IFS=$as_save_IFS
   4346   case $as_dir in #(((
   4347     '') as_dir=./ ;;
   4348     */) ;;
   4349     *) as_dir=$as_dir/ ;;
   4350   esac
   4351     for ac_exec_ext in '' $ac_executable_extensions; do
   4352   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4353     ac_cv_prog_ac_ct_CC="clang"
   4354     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4355     break 2
   4356   fi
   4357 done
   4358   done
   4359 IFS=$as_save_IFS
   4360 
   4361 fi
   4362 fi
   4363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4364 if test -n "$ac_ct_CC"; then
   4365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4366 printf "%s\n" "$ac_ct_CC" >&6; }
   4367 else
   4368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4369 printf "%s\n" "no" >&6; }
   4370 fi
   4371 
   4372   if test "x$ac_ct_CC" = x; then
   4373     CC=""
   4374   else
   4375     case $cross_compiling:$ac_tool_warned in
   4376 yes:)
   4377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4378 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4379 ac_tool_warned=yes ;;
   4380 esac
   4381     CC=$ac_ct_CC
   4382   fi
   4383 else
   4384   CC="$ac_cv_prog_CC"
   4385 fi
   4386 
   4387 fi
   4388 
   4389 
   4390 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4391 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4392 as_fn_error $? "no acceptable C compiler found in \$PATH
   4393 See \`config.log' for more details" "$LINENO" 5; }
   4394 
   4395 # Provide some information about the compiler.
   4396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4397 set X $ac_compile
   4398 ac_compiler=$2
   4399 for ac_option in --version -v -V -qversion -version; do
   4400   { { ac_try="$ac_compiler $ac_option >&5"
   4401 case "(($ac_try" in
   4402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4403   *) ac_try_echo=$ac_try;;
   4404 esac
   4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4406 printf "%s\n" "$ac_try_echo"; } >&5
   4407   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4408   ac_status=$?
   4409   if test -s conftest.err; then
   4410     sed '10a\
   4411 ... rest of stderr output deleted ...
   4412          10q' conftest.err >conftest.er1
   4413     cat conftest.er1 >&5
   4414   fi
   4415   rm -f conftest.er1 conftest.err
   4416   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4417   test $ac_status = 0; }
   4418 done
   4419 
   4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4421 /* end confdefs.h.  */
   4422 
   4423 int
   4424 main (void)
   4425 {
   4426 
   4427   ;
   4428   return 0;
   4429 }
   4430 _ACEOF
   4431 ac_clean_files_save=$ac_clean_files
   4432 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4433 # Try to create an executable without -o first, disregard a.out.
   4434 # It will help us diagnose broken compilers, and finding out an intuition
   4435 # of exeext.
   4436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4437 printf %s "checking whether the C compiler works... " >&6; }
   4438 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4439 
   4440 # The possible output files:
   4441 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4442 
   4443 ac_rmfiles=
   4444 for ac_file in $ac_files
   4445 do
   4446   case $ac_file in
   4447     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4448     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4449   esac
   4450 done
   4451 rm -f $ac_rmfiles
   4452 
   4453 if { { ac_try="$ac_link_default"
   4454 case "(($ac_try" in
   4455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4456   *) ac_try_echo=$ac_try;;
   4457 esac
   4458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4459 printf "%s\n" "$ac_try_echo"; } >&5
   4460   (eval "$ac_link_default") 2>&5
   4461   ac_status=$?
   4462   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4463   test $ac_status = 0; }
   4464 then :
   4465   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4467 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4468 # so that the user can short-circuit this test for compilers unknown to
   4469 # Autoconf.
   4470 for ac_file in $ac_files ''
   4471 do
   4472   test -f "$ac_file" || continue
   4473   case $ac_file in
   4474     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4475 	;;
   4476     [ab].out )
   4477 	# We found the default executable, but exeext='' is most
   4478 	# certainly right.
   4479 	break;;
   4480     *.* )
   4481 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4482 	then :; else
   4483 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4484 	fi
   4485 	# We set ac_cv_exeext here because the later test for it is not
   4486 	# safe: cross compilers may not add the suffix if given an `-o'
   4487 	# argument, so we may need to know it at that point already.
   4488 	# Even if this section looks crufty: it has the advantage of
   4489 	# actually working.
   4490 	break;;
   4491     * )
   4492 	break;;
   4493   esac
   4494 done
   4495 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4496 
   4497 else $as_nop
   4498   ac_file=''
   4499 fi
   4500 if test -z "$ac_file"
   4501 then :
   4502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4503 printf "%s\n" "no" >&6; }
   4504 printf "%s\n" "$as_me: failed program was:" >&5
   4505 sed 's/^/| /' conftest.$ac_ext >&5
   4506 
   4507 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4508 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4509 as_fn_error 77 "C compiler cannot create executables
   4510 See \`config.log' for more details" "$LINENO" 5; }
   4511 else $as_nop
   4512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4513 printf "%s\n" "yes" >&6; }
   4514 fi
   4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4516 printf %s "checking for C compiler default output file name... " >&6; }
   4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4518 printf "%s\n" "$ac_file" >&6; }
   4519 ac_exeext=$ac_cv_exeext
   4520 
   4521 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4522 ac_clean_files=$ac_clean_files_save
   4523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4524 printf %s "checking for suffix of executables... " >&6; }
   4525 if { { ac_try="$ac_link"
   4526 case "(($ac_try" in
   4527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4528   *) ac_try_echo=$ac_try;;
   4529 esac
   4530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4531 printf "%s\n" "$ac_try_echo"; } >&5
   4532   (eval "$ac_link") 2>&5
   4533   ac_status=$?
   4534   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4535   test $ac_status = 0; }
   4536 then :
   4537   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4538 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4539 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4540 # `rm'.
   4541 for ac_file in conftest.exe conftest conftest.*; do
   4542   test -f "$ac_file" || continue
   4543   case $ac_file in
   4544     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4545     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4546 	  break;;
   4547     * ) break;;
   4548   esac
   4549 done
   4550 else $as_nop
   4551   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4552 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4553 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4554 See \`config.log' for more details" "$LINENO" 5; }
   4555 fi
   4556 rm -f conftest conftest$ac_cv_exeext
   4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4558 printf "%s\n" "$ac_cv_exeext" >&6; }
   4559 
   4560 rm -f conftest.$ac_ext
   4561 EXEEXT=$ac_cv_exeext
   4562 ac_exeext=$EXEEXT
   4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4564 /* end confdefs.h.  */
   4565 #include <stdio.h>
   4566 int
   4567 main (void)
   4568 {
   4569 FILE *f = fopen ("conftest.out", "w");
   4570  return ferror (f) || fclose (f) != 0;
   4571 
   4572   ;
   4573   return 0;
   4574 }
   4575 _ACEOF
   4576 ac_clean_files="$ac_clean_files conftest.out"
   4577 # Check that the compiler produces executables we can run.  If not, either
   4578 # the compiler is broken, or we cross compile.
   4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4580 printf %s "checking whether we are cross compiling... " >&6; }
   4581 if test "$cross_compiling" != yes; then
   4582   { { ac_try="$ac_link"
   4583 case "(($ac_try" in
   4584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4585   *) ac_try_echo=$ac_try;;
   4586 esac
   4587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4588 printf "%s\n" "$ac_try_echo"; } >&5
   4589   (eval "$ac_link") 2>&5
   4590   ac_status=$?
   4591   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4592   test $ac_status = 0; }
   4593   if { ac_try='./conftest$ac_cv_exeext'
   4594   { { case "(($ac_try" in
   4595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4596   *) ac_try_echo=$ac_try;;
   4597 esac
   4598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4599 printf "%s\n" "$ac_try_echo"; } >&5
   4600   (eval "$ac_try") 2>&5
   4601   ac_status=$?
   4602   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4603   test $ac_status = 0; }; }; then
   4604     cross_compiling=no
   4605   else
   4606     if test "$cross_compiling" = maybe; then
   4607 	cross_compiling=yes
   4608     else
   4609 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4610 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4611 as_fn_error 77 "cannot run C compiled programs.
   4612 If you meant to cross compile, use \`--host'.
   4613 See \`config.log' for more details" "$LINENO" 5; }
   4614     fi
   4615   fi
   4616 fi
   4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4618 printf "%s\n" "$cross_compiling" >&6; }
   4619 
   4620 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4621 ac_clean_files=$ac_clean_files_save
   4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4623 printf %s "checking for suffix of object files... " >&6; }
   4624 if test ${ac_cv_objext+y}
   4625 then :
   4626   printf %s "(cached) " >&6
   4627 else $as_nop
   4628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4629 /* end confdefs.h.  */
   4630 
   4631 int
   4632 main (void)
   4633 {
   4634 
   4635   ;
   4636   return 0;
   4637 }
   4638 _ACEOF
   4639 rm -f conftest.o conftest.obj
   4640 if { { ac_try="$ac_compile"
   4641 case "(($ac_try" in
   4642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4643   *) ac_try_echo=$ac_try;;
   4644 esac
   4645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4646 printf "%s\n" "$ac_try_echo"; } >&5
   4647   (eval "$ac_compile") 2>&5
   4648   ac_status=$?
   4649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4650   test $ac_status = 0; }
   4651 then :
   4652   for ac_file in conftest.o conftest.obj conftest.*; do
   4653   test -f "$ac_file" || continue;
   4654   case $ac_file in
   4655     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4656     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4657        break;;
   4658   esac
   4659 done
   4660 else $as_nop
   4661   printf "%s\n" "$as_me: failed program was:" >&5
   4662 sed 's/^/| /' conftest.$ac_ext >&5
   4663 
   4664 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4665 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4666 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4667 See \`config.log' for more details" "$LINENO" 5; }
   4668 fi
   4669 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4670 fi
   4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4672 printf "%s\n" "$ac_cv_objext" >&6; }
   4673 OBJEXT=$ac_cv_objext
   4674 ac_objext=$OBJEXT
   4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4676 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4677 if test ${ac_cv_c_compiler_gnu+y}
   4678 then :
   4679   printf %s "(cached) " >&6
   4680 else $as_nop
   4681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4682 /* end confdefs.h.  */
   4683 
   4684 int
   4685 main (void)
   4686 {
   4687 #ifndef __GNUC__
   4688        choke me
   4689 #endif
   4690 
   4691   ;
   4692   return 0;
   4693 }
   4694 _ACEOF
   4695 if ac_fn_c_try_compile "$LINENO"
   4696 then :
   4697   ac_compiler_gnu=yes
   4698 else $as_nop
   4699   ac_compiler_gnu=no
   4700 fi
   4701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4702 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4703 
   4704 fi
   4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4706 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4708 
   4709 if test $ac_compiler_gnu = yes; then
   4710   GCC=yes
   4711 else
   4712   GCC=
   4713 fi
   4714 ac_test_CFLAGS=${CFLAGS+y}
   4715 ac_save_CFLAGS=$CFLAGS
   4716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4717 printf %s "checking whether $CC accepts -g... " >&6; }
   4718 if test ${ac_cv_prog_cc_g+y}
   4719 then :
   4720   printf %s "(cached) " >&6
   4721 else $as_nop
   4722   ac_save_c_werror_flag=$ac_c_werror_flag
   4723    ac_c_werror_flag=yes
   4724    ac_cv_prog_cc_g=no
   4725    CFLAGS="-g"
   4726    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4727 /* end confdefs.h.  */
   4728 
   4729 int
   4730 main (void)
   4731 {
   4732 
   4733   ;
   4734   return 0;
   4735 }
   4736 _ACEOF
   4737 if ac_fn_c_try_compile "$LINENO"
   4738 then :
   4739   ac_cv_prog_cc_g=yes
   4740 else $as_nop
   4741   CFLAGS=""
   4742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4743 /* end confdefs.h.  */
   4744 
   4745 int
   4746 main (void)
   4747 {
   4748 
   4749   ;
   4750   return 0;
   4751 }
   4752 _ACEOF
   4753 if ac_fn_c_try_compile "$LINENO"
   4754 then :
   4755 
   4756 else $as_nop
   4757   ac_c_werror_flag=$ac_save_c_werror_flag
   4758 	 CFLAGS="-g"
   4759 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4760 /* end confdefs.h.  */
   4761 
   4762 int
   4763 main (void)
   4764 {
   4765 
   4766   ;
   4767   return 0;
   4768 }
   4769 _ACEOF
   4770 if ac_fn_c_try_compile "$LINENO"
   4771 then :
   4772   ac_cv_prog_cc_g=yes
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4775 fi
   4776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4777 fi
   4778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4779    ac_c_werror_flag=$ac_save_c_werror_flag
   4780 fi
   4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4782 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4783 if test $ac_test_CFLAGS; then
   4784   CFLAGS=$ac_save_CFLAGS
   4785 elif test $ac_cv_prog_cc_g = yes; then
   4786   if test "$GCC" = yes; then
   4787     CFLAGS="-g -O2"
   4788   else
   4789     CFLAGS="-g"
   4790   fi
   4791 else
   4792   if test "$GCC" = yes; then
   4793     CFLAGS="-O2"
   4794   else
   4795     CFLAGS=
   4796   fi
   4797 fi
   4798 ac_prog_cc_stdc=no
   4799 if test x$ac_prog_cc_stdc = xno
   4800 then :
   4801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4802 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4803 if test ${ac_cv_prog_cc_c11+y}
   4804 then :
   4805   printf %s "(cached) " >&6
   4806 else $as_nop
   4807   ac_cv_prog_cc_c11=no
   4808 ac_save_CC=$CC
   4809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4810 /* end confdefs.h.  */
   4811 $ac_c_conftest_c11_program
   4812 _ACEOF
   4813 for ac_arg in '' -std=gnu11
   4814 do
   4815   CC="$ac_save_CC $ac_arg"
   4816   if ac_fn_c_try_compile "$LINENO"
   4817 then :
   4818   ac_cv_prog_cc_c11=$ac_arg
   4819 fi
   4820 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4821   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4822 done
   4823 rm -f conftest.$ac_ext
   4824 CC=$ac_save_CC
   4825 fi
   4826 
   4827 if test "x$ac_cv_prog_cc_c11" = xno
   4828 then :
   4829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4830 printf "%s\n" "unsupported" >&6; }
   4831 else $as_nop
   4832   if test "x$ac_cv_prog_cc_c11" = x
   4833 then :
   4834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4835 printf "%s\n" "none needed" >&6; }
   4836 else $as_nop
   4837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4838 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4839      CC="$CC $ac_cv_prog_cc_c11"
   4840 fi
   4841   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4842   ac_prog_cc_stdc=c11
   4843 fi
   4844 fi
   4845 if test x$ac_prog_cc_stdc = xno
   4846 then :
   4847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4848 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4849 if test ${ac_cv_prog_cc_c99+y}
   4850 then :
   4851   printf %s "(cached) " >&6
   4852 else $as_nop
   4853   ac_cv_prog_cc_c99=no
   4854 ac_save_CC=$CC
   4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4856 /* end confdefs.h.  */
   4857 $ac_c_conftest_c99_program
   4858 _ACEOF
   4859 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4860 do
   4861   CC="$ac_save_CC $ac_arg"
   4862   if ac_fn_c_try_compile "$LINENO"
   4863 then :
   4864   ac_cv_prog_cc_c99=$ac_arg
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4867   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4868 done
   4869 rm -f conftest.$ac_ext
   4870 CC=$ac_save_CC
   4871 fi
   4872 
   4873 if test "x$ac_cv_prog_cc_c99" = xno
   4874 then :
   4875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4876 printf "%s\n" "unsupported" >&6; }
   4877 else $as_nop
   4878   if test "x$ac_cv_prog_cc_c99" = x
   4879 then :
   4880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4881 printf "%s\n" "none needed" >&6; }
   4882 else $as_nop
   4883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4884 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4885      CC="$CC $ac_cv_prog_cc_c99"
   4886 fi
   4887   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4888   ac_prog_cc_stdc=c99
   4889 fi
   4890 fi
   4891 if test x$ac_prog_cc_stdc = xno
   4892 then :
   4893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4894 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4895 if test ${ac_cv_prog_cc_c89+y}
   4896 then :
   4897   printf %s "(cached) " >&6
   4898 else $as_nop
   4899   ac_cv_prog_cc_c89=no
   4900 ac_save_CC=$CC
   4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4902 /* end confdefs.h.  */
   4903 $ac_c_conftest_c89_program
   4904 _ACEOF
   4905 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4906 do
   4907   CC="$ac_save_CC $ac_arg"
   4908   if ac_fn_c_try_compile "$LINENO"
   4909 then :
   4910   ac_cv_prog_cc_c89=$ac_arg
   4911 fi
   4912 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4913   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4914 done
   4915 rm -f conftest.$ac_ext
   4916 CC=$ac_save_CC
   4917 fi
   4918 
   4919 if test "x$ac_cv_prog_cc_c89" = xno
   4920 then :
   4921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4922 printf "%s\n" "unsupported" >&6; }
   4923 else $as_nop
   4924   if test "x$ac_cv_prog_cc_c89" = x
   4925 then :
   4926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4927 printf "%s\n" "none needed" >&6; }
   4928 else $as_nop
   4929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4930 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4931      CC="$CC $ac_cv_prog_cc_c89"
   4932 fi
   4933   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4934   ac_prog_cc_stdc=c89
   4935 fi
   4936 fi
   4937 
   4938 ac_ext=c
   4939 ac_cpp='$CPP $CPPFLAGS'
   4940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4943 
   4944 
   4945   ac_ext=c
   4946 ac_cpp='$CPP $CPPFLAGS'
   4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4951 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4952 if test ${am_cv_prog_cc_c_o+y}
   4953 then :
   4954   printf %s "(cached) " >&6
   4955 else $as_nop
   4956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4957 /* end confdefs.h.  */
   4958 
   4959 int
   4960 main (void)
   4961 {
   4962 
   4963   ;
   4964   return 0;
   4965 }
   4966 _ACEOF
   4967   # Make sure it works both with $CC and with simple cc.
   4968   # Following AC_PROG_CC_C_O, we do the test twice because some
   4969   # compilers refuse to overwrite an existing .o file with -o,
   4970   # though they will create one.
   4971   am_cv_prog_cc_c_o=yes
   4972   for am_i in 1 2; do
   4973     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4974    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4975    ac_status=$?
   4976    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4977    (exit $ac_status); } \
   4978          && test -f conftest2.$ac_objext; then
   4979       : OK
   4980     else
   4981       am_cv_prog_cc_c_o=no
   4982       break
   4983     fi
   4984   done
   4985   rm -f core conftest*
   4986   unset am_i
   4987 fi
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4989 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4990 if test "$am_cv_prog_cc_c_o" != yes; then
   4991    # Losing compiler, so override with the script.
   4992    # FIXME: It is wrong to rewrite CC.
   4993    # But if we don't then we get into trouble of one sort or another.
   4994    # A longer-term fix would be to have automake use am__CC in this case,
   4995    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4996    CC="$am_aux_dir/compile $CC"
   4997 fi
   4998 ac_ext=c
   4999 ac_cpp='$CPP $CPPFLAGS'
   5000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5003 
   5004 
   5005 depcc="$CC"   am_compiler_list=
   5006 
   5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5008 printf %s "checking dependency style of $depcc... " >&6; }
   5009 if test ${am_cv_CC_dependencies_compiler_type+y}
   5010 then :
   5011   printf %s "(cached) " >&6
   5012 else $as_nop
   5013   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5014   # We make a subdir and do the tests there.  Otherwise we can end up
   5015   # making bogus files that we don't know about and never remove.  For
   5016   # instance it was reported that on HP-UX the gcc test will end up
   5017   # making a dummy file named 'D' -- because '-MD' means "put the output
   5018   # in D".
   5019   rm -rf conftest.dir
   5020   mkdir conftest.dir
   5021   # Copy depcomp to subdir because otherwise we won't find it if we're
   5022   # using a relative directory.
   5023   cp "$am_depcomp" conftest.dir
   5024   cd conftest.dir
   5025   # We will build objects and dependencies in a subdirectory because
   5026   # it helps to detect inapplicable dependency modes.  For instance
   5027   # both Tru64's cc and ICC support -MD to output dependencies as a
   5028   # side effect of compilation, but ICC will put the dependencies in
   5029   # the current directory while Tru64 will put them in the object
   5030   # directory.
   5031   mkdir sub
   5032 
   5033   am_cv_CC_dependencies_compiler_type=none
   5034   if test "$am_compiler_list" = ""; then
   5035      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5036   fi
   5037   am__universal=false
   5038   case " $depcc " in #(
   5039      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5040      esac
   5041 
   5042   for depmode in $am_compiler_list; do
   5043     # Setup a source with many dependencies, because some compilers
   5044     # like to wrap large dependency lists on column 80 (with \), and
   5045     # we should not choose a depcomp mode which is confused by this.
   5046     #
   5047     # We need to recreate these files for each test, as the compiler may
   5048     # overwrite some of them when testing with obscure command lines.
   5049     # This happens at least with the AIX C compiler.
   5050     : > sub/conftest.c
   5051     for i in 1 2 3 4 5 6; do
   5052       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5053       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5054       # Solaris 10 /bin/sh.
   5055       echo '/* dummy */' > sub/conftst$i.h
   5056     done
   5057     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5058 
   5059     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5060     # mode.  It turns out that the SunPro C++ compiler does not properly
   5061     # handle '-M -o', and we need to detect this.  Also, some Intel
   5062     # versions had trouble with output in subdirs.
   5063     am__obj=sub/conftest.${OBJEXT-o}
   5064     am__minus_obj="-o $am__obj"
   5065     case $depmode in
   5066     gcc)
   5067       # This depmode causes a compiler race in universal mode.
   5068       test "$am__universal" = false || continue
   5069       ;;
   5070     nosideeffect)
   5071       # After this tag, mechanisms are not by side-effect, so they'll
   5072       # only be used when explicitly requested.
   5073       if test "x$enable_dependency_tracking" = xyes; then
   5074 	continue
   5075       else
   5076 	break
   5077       fi
   5078       ;;
   5079     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5080       # This compiler won't grok '-c -o', but also, the minuso test has
   5081       # not run yet.  These depmodes are late enough in the game, and
   5082       # so weak that their functioning should not be impacted.
   5083       am__obj=conftest.${OBJEXT-o}
   5084       am__minus_obj=
   5085       ;;
   5086     none) break ;;
   5087     esac
   5088     if depmode=$depmode \
   5089        source=sub/conftest.c object=$am__obj \
   5090        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5091        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5092          >/dev/null 2>conftest.err &&
   5093        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5094        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5095        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5096        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5097       # icc doesn't choke on unknown options, it will just issue warnings
   5098       # or remarks (even with -Werror).  So we grep stderr for any message
   5099       # that says an option was ignored or not supported.
   5100       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5101       #   icc: Command line warning: ignoring option '-M'; no argument required
   5102       # The diagnosis changed in icc 8.0:
   5103       #   icc: Command line remark: option '-MP' not supported
   5104       if (grep 'ignoring option' conftest.err ||
   5105           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5106         am_cv_CC_dependencies_compiler_type=$depmode
   5107         break
   5108       fi
   5109     fi
   5110   done
   5111 
   5112   cd ..
   5113   rm -rf conftest.dir
   5114 else
   5115   am_cv_CC_dependencies_compiler_type=none
   5116 fi
   5117 
   5118 fi
   5119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5120 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5121 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5122 
   5123  if
   5124   test "x$enable_dependency_tracking" != xno \
   5125   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5126   am__fastdepCC_TRUE=
   5127   am__fastdepCC_FALSE='#'
   5128 else
   5129   am__fastdepCC_TRUE='#'
   5130   am__fastdepCC_FALSE=
   5131 fi
   5132 
   5133 
   5134 
   5135 ac_header= ac_cache=
   5136 for ac_item in $ac_header_c_list
   5137 do
   5138   if test $ac_cache; then
   5139     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5140     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5141       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5142     fi
   5143     ac_header= ac_cache=
   5144   elif test $ac_header; then
   5145     ac_cache=$ac_item
   5146   else
   5147     ac_header=$ac_item
   5148   fi
   5149 done
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5159 then :
   5160 
   5161 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5162 
   5163 fi
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5171 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5172 if test ${ac_cv_safe_to_define___extensions__+y}
   5173 then :
   5174   printf %s "(cached) " >&6
   5175 else $as_nop
   5176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5177 /* end confdefs.h.  */
   5178 
   5179 #         define __EXTENSIONS__ 1
   5180           $ac_includes_default
   5181 int
   5182 main (void)
   5183 {
   5184 
   5185   ;
   5186   return 0;
   5187 }
   5188 _ACEOF
   5189 if ac_fn_c_try_compile "$LINENO"
   5190 then :
   5191   ac_cv_safe_to_define___extensions__=yes
   5192 else $as_nop
   5193   ac_cv_safe_to_define___extensions__=no
   5194 fi
   5195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5196 fi
   5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5198 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5199 
   5200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5201 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5202 if test ${ac_cv_should_define__xopen_source+y}
   5203 then :
   5204   printf %s "(cached) " >&6
   5205 else $as_nop
   5206   ac_cv_should_define__xopen_source=no
   5207     if test $ac_cv_header_wchar_h = yes
   5208 then :
   5209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 
   5212           #include <wchar.h>
   5213           mbstate_t x;
   5214 int
   5215 main (void)
   5216 {
   5217 
   5218   ;
   5219   return 0;
   5220 }
   5221 _ACEOF
   5222 if ac_fn_c_try_compile "$LINENO"
   5223 then :
   5224 
   5225 else $as_nop
   5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5227 /* end confdefs.h.  */
   5228 
   5229             #define _XOPEN_SOURCE 500
   5230             #include <wchar.h>
   5231             mbstate_t x;
   5232 int
   5233 main (void)
   5234 {
   5235 
   5236   ;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"
   5241 then :
   5242   ac_cv_should_define__xopen_source=yes
   5243 fi
   5244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5245 fi
   5246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5247 fi
   5248 fi
   5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5250 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5251 
   5252   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5253 
   5254   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5255 
   5256   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5257 
   5258   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5259 
   5260   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5261 
   5262   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5263 
   5264   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5265 
   5266   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5267 
   5268   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5269 
   5270   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5271 
   5272   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5273 
   5274   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5275 
   5276   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5277 
   5278   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5279 
   5280   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5281 
   5282   if test $ac_cv_header_minix_config_h = yes
   5283 then :
   5284   MINIX=yes
   5285     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5286 
   5287     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5288 
   5289     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5290 
   5291 else $as_nop
   5292   MINIX=
   5293 fi
   5294   if test $ac_cv_safe_to_define___extensions__ = yes
   5295 then :
   5296   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5297 
   5298 fi
   5299   if test $ac_cv_should_define__xopen_source = yes
   5300 then :
   5301   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5302 
   5303 fi
   5304 
   5305 
   5306 # Initialize libtool
   5307 
   5308 case `pwd` in
   5309   *\ * | *\	*)
   5310     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5311 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5312 esac
   5313 
   5314 
   5315 
   5316 macro_version='2.4.6'
   5317 macro_revision='2.4.6'
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 ltmain=$ac_aux_dir/ltmain.sh
   5333 
   5334 
   5335 
   5336   # Make sure we can run config.sub.
   5337 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5338   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5339 
   5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5341 printf %s "checking build system type... " >&6; }
   5342 if test ${ac_cv_build+y}
   5343 then :
   5344   printf %s "(cached) " >&6
   5345 else $as_nop
   5346   ac_build_alias=$build_alias
   5347 test "x$ac_build_alias" = x &&
   5348   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5349 test "x$ac_build_alias" = x &&
   5350   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5351 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5352   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5353 
   5354 fi
   5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5356 printf "%s\n" "$ac_cv_build" >&6; }
   5357 case $ac_cv_build in
   5358 *-*-*) ;;
   5359 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5360 esac
   5361 build=$ac_cv_build
   5362 ac_save_IFS=$IFS; IFS='-'
   5363 set x $ac_cv_build
   5364 shift
   5365 build_cpu=$1
   5366 build_vendor=$2
   5367 shift; shift
   5368 # Remember, the first character of IFS is used to create $*,
   5369 # except with old shells:
   5370 build_os=$*
   5371 IFS=$ac_save_IFS
   5372 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5373 
   5374 
   5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5376 printf %s "checking host system type... " >&6; }
   5377 if test ${ac_cv_host+y}
   5378 then :
   5379   printf %s "(cached) " >&6
   5380 else $as_nop
   5381   if test "x$host_alias" = x; then
   5382   ac_cv_host=$ac_cv_build
   5383 else
   5384   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5385     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5386 fi
   5387 
   5388 fi
   5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5390 printf "%s\n" "$ac_cv_host" >&6; }
   5391 case $ac_cv_host in
   5392 *-*-*) ;;
   5393 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5394 esac
   5395 host=$ac_cv_host
   5396 ac_save_IFS=$IFS; IFS='-'
   5397 set x $ac_cv_host
   5398 shift
   5399 host_cpu=$1
   5400 host_vendor=$2
   5401 shift; shift
   5402 # Remember, the first character of IFS is used to create $*,
   5403 # except with old shells:
   5404 host_os=$*
   5405 IFS=$ac_save_IFS
   5406 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5407 
   5408 
   5409 # Backslashify metacharacters that are still active within
   5410 # double-quoted strings.
   5411 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5412 
   5413 # Same as above, but do not quote variable references.
   5414 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5415 
   5416 # Sed substitution to delay expansion of an escaped shell variable in a
   5417 # double_quote_subst'ed string.
   5418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5419 
   5420 # Sed substitution to delay expansion of an escaped single quote.
   5421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5422 
   5423 # Sed substitution to avoid accidental globbing in evaled expressions
   5424 no_glob_subst='s/\*/\\\*/g'
   5425 
   5426 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5429 
   5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5431 printf %s "checking how to print strings... " >&6; }
   5432 # Test print first, because it will be a builtin if present.
   5433 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5434    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5435   ECHO='print -r --'
   5436 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5437   ECHO='printf %s\n'
   5438 else
   5439   # Use this function as a fallback that always works.
   5440   func_fallback_echo ()
   5441   {
   5442     eval 'cat <<_LTECHO_EOF
   5443 $1
   5444 _LTECHO_EOF'
   5445   }
   5446   ECHO='func_fallback_echo'
   5447 fi
   5448 
   5449 # func_echo_all arg...
   5450 # Invoke $ECHO with all args, space-separated.
   5451 func_echo_all ()
   5452 {
   5453     $ECHO ""
   5454 }
   5455 
   5456 case $ECHO in
   5457   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5458 printf "%s\n" "printf" >&6; } ;;
   5459   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5460 printf "%s\n" "print -r" >&6; } ;;
   5461   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5462 printf "%s\n" "cat" >&6; } ;;
   5463 esac
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5479 printf %s "checking for a sed that does not truncate output... " >&6; }
   5480 if test ${ac_cv_path_SED+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else $as_nop
   5484             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5485      for ac_i in 1 2 3 4 5 6 7; do
   5486        ac_script="$ac_script$as_nl$ac_script"
   5487      done
   5488      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5489      { ac_script=; unset ac_script;}
   5490      if test -z "$SED"; then
   5491   ac_path_SED_found=false
   5492   # Loop through the user's path and test for each of PROGNAME-LIST
   5493   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5494 for as_dir in $PATH
   5495 do
   5496   IFS=$as_save_IFS
   5497   case $as_dir in #(((
   5498     '') as_dir=./ ;;
   5499     */) ;;
   5500     *) as_dir=$as_dir/ ;;
   5501   esac
   5502     for ac_prog in sed gsed
   5503    do
   5504     for ac_exec_ext in '' $ac_executable_extensions; do
   5505       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5506       as_fn_executable_p "$ac_path_SED" || continue
   5507 # Check for GNU ac_path_SED and select it if it is found.
   5508   # Check for GNU $ac_path_SED
   5509 case `"$ac_path_SED" --version 2>&1` in
   5510 *GNU*)
   5511   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5512 *)
   5513   ac_count=0
   5514   printf %s 0123456789 >"conftest.in"
   5515   while :
   5516   do
   5517     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5518     mv "conftest.tmp" "conftest.in"
   5519     cp "conftest.in" "conftest.nl"
   5520     printf "%s\n" '' >> "conftest.nl"
   5521     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5522     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5523     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5524     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5525       # Best one so far, save it but keep looking for a better one
   5526       ac_cv_path_SED="$ac_path_SED"
   5527       ac_path_SED_max=$ac_count
   5528     fi
   5529     # 10*(2^10) chars as input seems more than enough
   5530     test $ac_count -gt 10 && break
   5531   done
   5532   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5533 esac
   5534 
   5535       $ac_path_SED_found && break 3
   5536     done
   5537   done
   5538   done
   5539 IFS=$as_save_IFS
   5540   if test -z "$ac_cv_path_SED"; then
   5541     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5542   fi
   5543 else
   5544   ac_cv_path_SED=$SED
   5545 fi
   5546 
   5547 fi
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5549 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5550  SED="$ac_cv_path_SED"
   5551   rm -f conftest.sed
   5552 
   5553 test -z "$SED" && SED=sed
   5554 Xsed="$SED -e 1s/^X//"
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5567 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5568 if test ${ac_cv_path_GREP+y}
   5569 then :
   5570   printf %s "(cached) " >&6
   5571 else $as_nop
   5572   if test -z "$GREP"; then
   5573   ac_path_GREP_found=false
   5574   # Loop through the user's path and test for each of PROGNAME-LIST
   5575   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5577 do
   5578   IFS=$as_save_IFS
   5579   case $as_dir in #(((
   5580     '') as_dir=./ ;;
   5581     */) ;;
   5582     *) as_dir=$as_dir/ ;;
   5583   esac
   5584     for ac_prog in grep ggrep
   5585    do
   5586     for ac_exec_ext in '' $ac_executable_extensions; do
   5587       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5588       as_fn_executable_p "$ac_path_GREP" || continue
   5589 # Check for GNU ac_path_GREP and select it if it is found.
   5590   # Check for GNU $ac_path_GREP
   5591 case `"$ac_path_GREP" --version 2>&1` in
   5592 *GNU*)
   5593   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5594 *)
   5595   ac_count=0
   5596   printf %s 0123456789 >"conftest.in"
   5597   while :
   5598   do
   5599     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5600     mv "conftest.tmp" "conftest.in"
   5601     cp "conftest.in" "conftest.nl"
   5602     printf "%s\n" 'GREP' >> "conftest.nl"
   5603     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5604     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5605     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5606     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5607       # Best one so far, save it but keep looking for a better one
   5608       ac_cv_path_GREP="$ac_path_GREP"
   5609       ac_path_GREP_max=$ac_count
   5610     fi
   5611     # 10*(2^10) chars as input seems more than enough
   5612     test $ac_count -gt 10 && break
   5613   done
   5614   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5615 esac
   5616 
   5617       $ac_path_GREP_found && break 3
   5618     done
   5619   done
   5620   done
   5621 IFS=$as_save_IFS
   5622   if test -z "$ac_cv_path_GREP"; then
   5623     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5624   fi
   5625 else
   5626   ac_cv_path_GREP=$GREP
   5627 fi
   5628 
   5629 fi
   5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5631 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5632  GREP="$ac_cv_path_GREP"
   5633 
   5634 
   5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5636 printf %s "checking for egrep... " >&6; }
   5637 if test ${ac_cv_path_EGREP+y}
   5638 then :
   5639   printf %s "(cached) " >&6
   5640 else $as_nop
   5641   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5642    then ac_cv_path_EGREP="$GREP -E"
   5643    else
   5644      if test -z "$EGREP"; then
   5645   ac_path_EGREP_found=false
   5646   # Loop through the user's path and test for each of PROGNAME-LIST
   5647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5649 do
   5650   IFS=$as_save_IFS
   5651   case $as_dir in #(((
   5652     '') as_dir=./ ;;
   5653     */) ;;
   5654     *) as_dir=$as_dir/ ;;
   5655   esac
   5656     for ac_prog in egrep
   5657    do
   5658     for ac_exec_ext in '' $ac_executable_extensions; do
   5659       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5660       as_fn_executable_p "$ac_path_EGREP" || continue
   5661 # Check for GNU ac_path_EGREP and select it if it is found.
   5662   # Check for GNU $ac_path_EGREP
   5663 case `"$ac_path_EGREP" --version 2>&1` in
   5664 *GNU*)
   5665   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5666 *)
   5667   ac_count=0
   5668   printf %s 0123456789 >"conftest.in"
   5669   while :
   5670   do
   5671     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5672     mv "conftest.tmp" "conftest.in"
   5673     cp "conftest.in" "conftest.nl"
   5674     printf "%s\n" 'EGREP' >> "conftest.nl"
   5675     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5676     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5677     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5678     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5679       # Best one so far, save it but keep looking for a better one
   5680       ac_cv_path_EGREP="$ac_path_EGREP"
   5681       ac_path_EGREP_max=$ac_count
   5682     fi
   5683     # 10*(2^10) chars as input seems more than enough
   5684     test $ac_count -gt 10 && break
   5685   done
   5686   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5687 esac
   5688 
   5689       $ac_path_EGREP_found && break 3
   5690     done
   5691   done
   5692   done
   5693 IFS=$as_save_IFS
   5694   if test -z "$ac_cv_path_EGREP"; then
   5695     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5696   fi
   5697 else
   5698   ac_cv_path_EGREP=$EGREP
   5699 fi
   5700 
   5701    fi
   5702 fi
   5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5704 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5705  EGREP="$ac_cv_path_EGREP"
   5706 
   5707 
   5708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5709 printf %s "checking for fgrep... " >&6; }
   5710 if test ${ac_cv_path_FGREP+y}
   5711 then :
   5712   printf %s "(cached) " >&6
   5713 else $as_nop
   5714   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5715    then ac_cv_path_FGREP="$GREP -F"
   5716    else
   5717      if test -z "$FGREP"; then
   5718   ac_path_FGREP_found=false
   5719   # Loop through the user's path and test for each of PROGNAME-LIST
   5720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5721 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5722 do
   5723   IFS=$as_save_IFS
   5724   case $as_dir in #(((
   5725     '') as_dir=./ ;;
   5726     */) ;;
   5727     *) as_dir=$as_dir/ ;;
   5728   esac
   5729     for ac_prog in fgrep
   5730    do
   5731     for ac_exec_ext in '' $ac_executable_extensions; do
   5732       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5733       as_fn_executable_p "$ac_path_FGREP" || continue
   5734 # Check for GNU ac_path_FGREP and select it if it is found.
   5735   # Check for GNU $ac_path_FGREP
   5736 case `"$ac_path_FGREP" --version 2>&1` in
   5737 *GNU*)
   5738   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5739 *)
   5740   ac_count=0
   5741   printf %s 0123456789 >"conftest.in"
   5742   while :
   5743   do
   5744     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5745     mv "conftest.tmp" "conftest.in"
   5746     cp "conftest.in" "conftest.nl"
   5747     printf "%s\n" 'FGREP' >> "conftest.nl"
   5748     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5749     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5750     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5751     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5752       # Best one so far, save it but keep looking for a better one
   5753       ac_cv_path_FGREP="$ac_path_FGREP"
   5754       ac_path_FGREP_max=$ac_count
   5755     fi
   5756     # 10*(2^10) chars as input seems more than enough
   5757     test $ac_count -gt 10 && break
   5758   done
   5759   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5760 esac
   5761 
   5762       $ac_path_FGREP_found && break 3
   5763     done
   5764   done
   5765   done
   5766 IFS=$as_save_IFS
   5767   if test -z "$ac_cv_path_FGREP"; then
   5768     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5769   fi
   5770 else
   5771   ac_cv_path_FGREP=$FGREP
   5772 fi
   5773 
   5774    fi
   5775 fi
   5776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5777 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5778  FGREP="$ac_cv_path_FGREP"
   5779 
   5780 
   5781 test -z "$GREP" && GREP=grep
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 # Check whether --with-gnu-ld was given.
   5802 if test ${with_gnu_ld+y}
   5803 then :
   5804   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5805 else $as_nop
   5806   with_gnu_ld=no
   5807 fi
   5808 
   5809 ac_prog=ld
   5810 if test yes = "$GCC"; then
   5811   # Check if gcc -print-prog-name=ld gives a path.
   5812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5813 printf %s "checking for ld used by $CC... " >&6; }
   5814   case $host in
   5815   *-*-mingw*)
   5816     # gcc leaves a trailing carriage return, which upsets mingw
   5817     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5818   *)
   5819     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5820   esac
   5821   case $ac_prog in
   5822     # Accept absolute paths.
   5823     [\\/]* | ?:[\\/]*)
   5824       re_direlt='/[^/][^/]*/\.\./'
   5825       # Canonicalize the pathname of ld
   5826       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5827       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5828 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5829       done
   5830       test -z "$LD" && LD=$ac_prog
   5831       ;;
   5832   "")
   5833     # If it fails, then pretend we aren't using GCC.
   5834     ac_prog=ld
   5835     ;;
   5836   *)
   5837     # If it is relative, then search for the first ld in PATH.
   5838     with_gnu_ld=unknown
   5839     ;;
   5840   esac
   5841 elif test yes = "$with_gnu_ld"; then
   5842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5843 printf %s "checking for GNU ld... " >&6; }
   5844 else
   5845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5846 printf %s "checking for non-GNU ld... " >&6; }
   5847 fi
   5848 if test ${lt_cv_path_LD+y}
   5849 then :
   5850   printf %s "(cached) " >&6
   5851 else $as_nop
   5852   if test -z "$LD"; then
   5853   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5854   for ac_dir in $PATH; do
   5855     IFS=$lt_save_ifs
   5856     test -z "$ac_dir" && ac_dir=.
   5857     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5858       lt_cv_path_LD=$ac_dir/$ac_prog
   5859       # Check to see if the program is GNU ld.  I'd rather use --version,
   5860       # but apparently some variants of GNU ld only accept -v.
   5861       # Break only if it was the GNU/non-GNU ld that we prefer.
   5862       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5863       *GNU* | *'with BFD'*)
   5864 	test no != "$with_gnu_ld" && break
   5865 	;;
   5866       *)
   5867 	test yes != "$with_gnu_ld" && break
   5868 	;;
   5869       esac
   5870     fi
   5871   done
   5872   IFS=$lt_save_ifs
   5873 else
   5874   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5875 fi
   5876 fi
   5877 
   5878 LD=$lt_cv_path_LD
   5879 if test -n "$LD"; then
   5880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5881 printf "%s\n" "$LD" >&6; }
   5882 else
   5883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5884 printf "%s\n" "no" >&6; }
   5885 fi
   5886 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5888 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5889 if test ${lt_cv_prog_gnu_ld+y}
   5890 then :
   5891   printf %s "(cached) " >&6
   5892 else $as_nop
   5893   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5894 case `$LD -v 2>&1 </dev/null` in
   5895 *GNU* | *'with BFD'*)
   5896   lt_cv_prog_gnu_ld=yes
   5897   ;;
   5898 *)
   5899   lt_cv_prog_gnu_ld=no
   5900   ;;
   5901 esac
   5902 fi
   5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5904 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5905 with_gnu_ld=$lt_cv_prog_gnu_ld
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5916 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5917 if test ${lt_cv_path_NM+y}
   5918 then :
   5919   printf %s "(cached) " >&6
   5920 else $as_nop
   5921   if test -n "$NM"; then
   5922   # Let the user override the test.
   5923   lt_cv_path_NM=$NM
   5924 else
   5925   lt_nm_to_check=${ac_tool_prefix}nm
   5926   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5927     lt_nm_to_check="$lt_nm_to_check nm"
   5928   fi
   5929   for lt_tmp_nm in $lt_nm_to_check; do
   5930     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5931     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5932       IFS=$lt_save_ifs
   5933       test -z "$ac_dir" && ac_dir=.
   5934       tmp_nm=$ac_dir/$lt_tmp_nm
   5935       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5936 	# Check to see if the nm accepts a BSD-compat flag.
   5937 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5938 	#   nm: unknown option "B" ignored
   5939 	# Tru64's nm complains that /dev/null is an invalid object file
   5940 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5941 	case $build_os in
   5942 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5943 	*) lt_bad_file=/dev/null ;;
   5944 	esac
   5945 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5946 	*$lt_bad_file* | *'Invalid file or object type'*)
   5947 	  lt_cv_path_NM="$tmp_nm -B"
   5948 	  break 2
   5949 	  ;;
   5950 	*)
   5951 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5952 	  */dev/null*)
   5953 	    lt_cv_path_NM="$tmp_nm -p"
   5954 	    break 2
   5955 	    ;;
   5956 	  *)
   5957 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5958 	    continue # so that we can try to find one that supports BSD flags
   5959 	    ;;
   5960 	  esac
   5961 	  ;;
   5962 	esac
   5963       fi
   5964     done
   5965     IFS=$lt_save_ifs
   5966   done
   5967   : ${lt_cv_path_NM=no}
   5968 fi
   5969 fi
   5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5971 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5972 if test no != "$lt_cv_path_NM"; then
   5973   NM=$lt_cv_path_NM
   5974 else
   5975   # Didn't find any BSD compatible name lister, look for dumpbin.
   5976   if test -n "$DUMPBIN"; then :
   5977     # Let the user override the test.
   5978   else
   5979     if test -n "$ac_tool_prefix"; then
   5980   for ac_prog in dumpbin "link -dump"
   5981   do
   5982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5985 printf %s "checking for $ac_word... " >&6; }
   5986 if test ${ac_cv_prog_DUMPBIN+y}
   5987 then :
   5988   printf %s "(cached) " >&6
   5989 else $as_nop
   5990   if test -n "$DUMPBIN"; then
   5991   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5992 else
   5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5994 for as_dir in $PATH
   5995 do
   5996   IFS=$as_save_IFS
   5997   case $as_dir in #(((
   5998     '') as_dir=./ ;;
   5999     */) ;;
   6000     *) as_dir=$as_dir/ ;;
   6001   esac
   6002     for ac_exec_ext in '' $ac_executable_extensions; do
   6003   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6004     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6005     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6006     break 2
   6007   fi
   6008 done
   6009   done
   6010 IFS=$as_save_IFS
   6011 
   6012 fi
   6013 fi
   6014 DUMPBIN=$ac_cv_prog_DUMPBIN
   6015 if test -n "$DUMPBIN"; then
   6016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6017 printf "%s\n" "$DUMPBIN" >&6; }
   6018 else
   6019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6020 printf "%s\n" "no" >&6; }
   6021 fi
   6022 
   6023 
   6024     test -n "$DUMPBIN" && break
   6025   done
   6026 fi
   6027 if test -z "$DUMPBIN"; then
   6028   ac_ct_DUMPBIN=$DUMPBIN
   6029   for ac_prog in dumpbin "link -dump"
   6030 do
   6031   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6032 set dummy $ac_prog; ac_word=$2
   6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6034 printf %s "checking for $ac_word... " >&6; }
   6035 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6036 then :
   6037   printf %s "(cached) " >&6
   6038 else $as_nop
   6039   if test -n "$ac_ct_DUMPBIN"; then
   6040   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6041 else
   6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6043 for as_dir in $PATH
   6044 do
   6045   IFS=$as_save_IFS
   6046   case $as_dir in #(((
   6047     '') as_dir=./ ;;
   6048     */) ;;
   6049     *) as_dir=$as_dir/ ;;
   6050   esac
   6051     for ac_exec_ext in '' $ac_executable_extensions; do
   6052   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6053     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6054     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6055     break 2
   6056   fi
   6057 done
   6058   done
   6059 IFS=$as_save_IFS
   6060 
   6061 fi
   6062 fi
   6063 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6064 if test -n "$ac_ct_DUMPBIN"; then
   6065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6066 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6067 else
   6068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6069 printf "%s\n" "no" >&6; }
   6070 fi
   6071 
   6072 
   6073   test -n "$ac_ct_DUMPBIN" && break
   6074 done
   6075 
   6076   if test "x$ac_ct_DUMPBIN" = x; then
   6077     DUMPBIN=":"
   6078   else
   6079     case $cross_compiling:$ac_tool_warned in
   6080 yes:)
   6081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6083 ac_tool_warned=yes ;;
   6084 esac
   6085     DUMPBIN=$ac_ct_DUMPBIN
   6086   fi
   6087 fi
   6088 
   6089     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6090     *COFF*)
   6091       DUMPBIN="$DUMPBIN -symbols -headers"
   6092       ;;
   6093     *)
   6094       DUMPBIN=:
   6095       ;;
   6096     esac
   6097   fi
   6098 
   6099   if test : != "$DUMPBIN"; then
   6100     NM=$DUMPBIN
   6101   fi
   6102 fi
   6103 test -z "$NM" && NM=nm
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6111 printf %s "checking the name lister ($NM) interface... " >&6; }
   6112 if test ${lt_cv_nm_interface+y}
   6113 then :
   6114   printf %s "(cached) " >&6
   6115 else $as_nop
   6116   lt_cv_nm_interface="BSD nm"
   6117   echo "int some_variable = 0;" > conftest.$ac_ext
   6118   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6119   (eval "$ac_compile" 2>conftest.err)
   6120   cat conftest.err >&5
   6121   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6122   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6123   cat conftest.err >&5
   6124   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6125   cat conftest.out >&5
   6126   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6127     lt_cv_nm_interface="MS dumpbin"
   6128   fi
   6129   rm -f conftest*
   6130 fi
   6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6132 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6133 
   6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6135 printf %s "checking whether ln -s works... " >&6; }
   6136 LN_S=$as_ln_s
   6137 if test "$LN_S" = "ln -s"; then
   6138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6139 printf "%s\n" "yes" >&6; }
   6140 else
   6141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6142 printf "%s\n" "no, using $LN_S" >&6; }
   6143 fi
   6144 
   6145 # find the maximum length of command line arguments
   6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6147 printf %s "checking the maximum length of command line arguments... " >&6; }
   6148 if test ${lt_cv_sys_max_cmd_len+y}
   6149 then :
   6150   printf %s "(cached) " >&6
   6151 else $as_nop
   6152     i=0
   6153   teststring=ABCD
   6154 
   6155   case $build_os in
   6156   msdosdjgpp*)
   6157     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6158     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6159     # during glob expansion).  Even if it were fixed, the result of this
   6160     # check would be larger than it should be.
   6161     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6162     ;;
   6163 
   6164   gnu*)
   6165     # Under GNU Hurd, this test is not required because there is
   6166     # no limit to the length of command line arguments.
   6167     # Libtool will interpret -1 as no limit whatsoever
   6168     lt_cv_sys_max_cmd_len=-1;
   6169     ;;
   6170 
   6171   cygwin* | mingw* | cegcc*)
   6172     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6173     # about 5 minutes as the teststring grows exponentially.
   6174     # Worse, since 9x/ME are not pre-emptively multitasking,
   6175     # you end up with a "frozen" computer, even though with patience
   6176     # the test eventually succeeds (with a max line length of 256k).
   6177     # Instead, let's just punt: use the minimum linelength reported by
   6178     # all of the supported platforms: 8192 (on NT/2K/XP).
   6179     lt_cv_sys_max_cmd_len=8192;
   6180     ;;
   6181 
   6182   mint*)
   6183     # On MiNT this can take a long time and run out of memory.
   6184     lt_cv_sys_max_cmd_len=8192;
   6185     ;;
   6186 
   6187   mint*)
   6188     # On MiNT this can take a long time and run out of memory.
   6189     lt_cv_sys_max_cmd_len=8192;
   6190     ;;
   6191 
   6192   amigaos*)
   6193     # On AmigaOS with pdksh, this test takes hours, literally.
   6194     # So we just punt and use a minimum line length of 8192.
   6195     lt_cv_sys_max_cmd_len=8192;
   6196     ;;
   6197 
   6198   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6199     # This has been around since 386BSD, at least.  Likely further.
   6200     if test -x /sbin/sysctl; then
   6201       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6202     elif test -x /usr/sbin/sysctl; then
   6203       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6204     else
   6205       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6206     fi
   6207     # And add a safety zone
   6208     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6209     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6210     ;;
   6211 
   6212   interix*)
   6213     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6214     lt_cv_sys_max_cmd_len=196608
   6215     ;;
   6216 
   6217   os2*)
   6218     # The test takes a long time on OS/2.
   6219     lt_cv_sys_max_cmd_len=8192
   6220     ;;
   6221 
   6222   osf*)
   6223     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6224     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6225     # nice to cause kernel panics so lets avoid the loop below.
   6226     # First set a reasonable default.
   6227     lt_cv_sys_max_cmd_len=16384
   6228     #
   6229     if test -x /sbin/sysconfig; then
   6230       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6231         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6232       esac
   6233     fi
   6234     ;;
   6235   sco3.2v5*)
   6236     lt_cv_sys_max_cmd_len=102400
   6237     ;;
   6238   sysv5* | sco5v6* | sysv4.2uw2*)
   6239     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6240     if test -n "$kargmax"; then
   6241       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6242     else
   6243       lt_cv_sys_max_cmd_len=32768
   6244     fi
   6245     ;;
   6246   *)
   6247     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6248     if test -n "$lt_cv_sys_max_cmd_len" && \
   6249        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6250       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6251       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6252     else
   6253       # Make teststring a little bigger before we do anything with it.
   6254       # a 1K string should be a reasonable start.
   6255       for i in 1 2 3 4 5 6 7 8; do
   6256         teststring=$teststring$teststring
   6257       done
   6258       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6259       # If test is not a shell built-in, we'll probably end up computing a
   6260       # maximum length that is only half of the actual maximum length, but
   6261       # we can't tell.
   6262       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6263 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6264 	      test 17 != "$i" # 1/2 MB should be enough
   6265       do
   6266         i=`expr $i + 1`
   6267         teststring=$teststring$teststring
   6268       done
   6269       # Only check the string length outside the loop.
   6270       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6271       teststring=
   6272       # Add a significant safety factor because C++ compilers can tack on
   6273       # massive amounts of additional arguments before passing them to the
   6274       # linker.  It appears as though 1/2 is a usable value.
   6275       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6276     fi
   6277     ;;
   6278   esac
   6279 
   6280 fi
   6281 
   6282 if test -n "$lt_cv_sys_max_cmd_len"; then
   6283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6284 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6285 else
   6286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6287 printf "%s\n" "none" >&6; }
   6288 fi
   6289 max_cmd_len=$lt_cv_sys_max_cmd_len
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 : ${CP="cp -f"}
   6297 : ${MV="mv -f"}
   6298 : ${RM="rm -f"}
   6299 
   6300 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6301   lt_unset=unset
   6302 else
   6303   lt_unset=false
   6304 fi
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 # test EBCDIC or ASCII
   6311 case `echo X|tr X '\101'` in
   6312  A) # ASCII based system
   6313     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6314   lt_SP2NL='tr \040 \012'
   6315   lt_NL2SP='tr \015\012 \040\040'
   6316   ;;
   6317  *) # EBCDIC based system
   6318   lt_SP2NL='tr \100 \n'
   6319   lt_NL2SP='tr \r\n \100\100'
   6320   ;;
   6321 esac
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6332 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6333 if test ${lt_cv_to_host_file_cmd+y}
   6334 then :
   6335   printf %s "(cached) " >&6
   6336 else $as_nop
   6337   case $host in
   6338   *-*-mingw* )
   6339     case $build in
   6340       *-*-mingw* ) # actually msys
   6341         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6342         ;;
   6343       *-*-cygwin* )
   6344         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6345         ;;
   6346       * ) # otherwise, assume *nix
   6347         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6348         ;;
   6349     esac
   6350     ;;
   6351   *-*-cygwin* )
   6352     case $build in
   6353       *-*-mingw* ) # actually msys
   6354         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6355         ;;
   6356       *-*-cygwin* )
   6357         lt_cv_to_host_file_cmd=func_convert_file_noop
   6358         ;;
   6359       * ) # otherwise, assume *nix
   6360         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6361         ;;
   6362     esac
   6363     ;;
   6364   * ) # unhandled hosts (and "normal" native builds)
   6365     lt_cv_to_host_file_cmd=func_convert_file_noop
   6366     ;;
   6367 esac
   6368 
   6369 fi
   6370 
   6371 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6373 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6380 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6381 if test ${lt_cv_to_tool_file_cmd+y}
   6382 then :
   6383   printf %s "(cached) " >&6
   6384 else $as_nop
   6385   #assume ordinary cross tools, or native build.
   6386 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6387 case $host in
   6388   *-*-mingw* )
   6389     case $build in
   6390       *-*-mingw* ) # actually msys
   6391         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6392         ;;
   6393     esac
   6394     ;;
   6395 esac
   6396 
   6397 fi
   6398 
   6399 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6401 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6408 printf %s "checking for $LD option to reload object files... " >&6; }
   6409 if test ${lt_cv_ld_reload_flag+y}
   6410 then :
   6411   printf %s "(cached) " >&6
   6412 else $as_nop
   6413   lt_cv_ld_reload_flag='-r'
   6414 fi
   6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6416 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6417 reload_flag=$lt_cv_ld_reload_flag
   6418 case $reload_flag in
   6419 "" | " "*) ;;
   6420 *) reload_flag=" $reload_flag" ;;
   6421 esac
   6422 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6423 case $host_os in
   6424   cygwin* | mingw* | pw32* | cegcc*)
   6425     if test yes != "$GCC"; then
   6426       reload_cmds=false
   6427     fi
   6428     ;;
   6429   darwin*)
   6430     if test yes = "$GCC"; then
   6431       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6432     else
   6433       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6434     fi
   6435     ;;
   6436 esac
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 if test -n "$ac_tool_prefix"; then
   6447   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6448 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6450 printf %s "checking for $ac_word... " >&6; }
   6451 if test ${ac_cv_prog_OBJDUMP+y}
   6452 then :
   6453   printf %s "(cached) " >&6
   6454 else $as_nop
   6455   if test -n "$OBJDUMP"; then
   6456   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6457 else
   6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6459 for as_dir in $PATH
   6460 do
   6461   IFS=$as_save_IFS
   6462   case $as_dir in #(((
   6463     '') as_dir=./ ;;
   6464     */) ;;
   6465     *) as_dir=$as_dir/ ;;
   6466   esac
   6467     for ac_exec_ext in '' $ac_executable_extensions; do
   6468   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6469     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6470     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6471     break 2
   6472   fi
   6473 done
   6474   done
   6475 IFS=$as_save_IFS
   6476 
   6477 fi
   6478 fi
   6479 OBJDUMP=$ac_cv_prog_OBJDUMP
   6480 if test -n "$OBJDUMP"; then
   6481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6482 printf "%s\n" "$OBJDUMP" >&6; }
   6483 else
   6484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6485 printf "%s\n" "no" >&6; }
   6486 fi
   6487 
   6488 
   6489 fi
   6490 if test -z "$ac_cv_prog_OBJDUMP"; then
   6491   ac_ct_OBJDUMP=$OBJDUMP
   6492   # Extract the first word of "objdump", so it can be a program name with args.
   6493 set dummy objdump; ac_word=$2
   6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6495 printf %s "checking for $ac_word... " >&6; }
   6496 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6497 then :
   6498   printf %s "(cached) " >&6
   6499 else $as_nop
   6500   if test -n "$ac_ct_OBJDUMP"; then
   6501   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6502 else
   6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6504 for as_dir in $PATH
   6505 do
   6506   IFS=$as_save_IFS
   6507   case $as_dir in #(((
   6508     '') as_dir=./ ;;
   6509     */) ;;
   6510     *) as_dir=$as_dir/ ;;
   6511   esac
   6512     for ac_exec_ext in '' $ac_executable_extensions; do
   6513   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6514     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6515     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6516     break 2
   6517   fi
   6518 done
   6519   done
   6520 IFS=$as_save_IFS
   6521 
   6522 fi
   6523 fi
   6524 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6525 if test -n "$ac_ct_OBJDUMP"; then
   6526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6527 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6528 else
   6529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6530 printf "%s\n" "no" >&6; }
   6531 fi
   6532 
   6533   if test "x$ac_ct_OBJDUMP" = x; then
   6534     OBJDUMP="false"
   6535   else
   6536     case $cross_compiling:$ac_tool_warned in
   6537 yes:)
   6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6539 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6540 ac_tool_warned=yes ;;
   6541 esac
   6542     OBJDUMP=$ac_ct_OBJDUMP
   6543   fi
   6544 else
   6545   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6546 fi
   6547 
   6548 test -z "$OBJDUMP" && OBJDUMP=objdump
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6556 printf %s "checking how to recognize dependent libraries... " >&6; }
   6557 if test ${lt_cv_deplibs_check_method+y}
   6558 then :
   6559   printf %s "(cached) " >&6
   6560 else $as_nop
   6561   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6562 lt_cv_file_magic_test_file=
   6563 lt_cv_deplibs_check_method='unknown'
   6564 # Need to set the preceding variable on all platforms that support
   6565 # interlibrary dependencies.
   6566 # 'none' -- dependencies not supported.
   6567 # 'unknown' -- same as none, but documents that we really don't know.
   6568 # 'pass_all' -- all dependencies passed with no checks.
   6569 # 'test_compile' -- check by making test program.
   6570 # 'file_magic [[regex]]' -- check by looking for files in library path
   6571 # that responds to the $file_magic_cmd with a given extended regex.
   6572 # If you have 'file' or equivalent on your system and you're not sure
   6573 # whether 'pass_all' will *always* work, you probably want this one.
   6574 
   6575 case $host_os in
   6576 aix[4-9]*)
   6577   lt_cv_deplibs_check_method=pass_all
   6578   ;;
   6579 
   6580 beos*)
   6581   lt_cv_deplibs_check_method=pass_all
   6582   ;;
   6583 
   6584 bsdi[45]*)
   6585   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6586   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6587   lt_cv_file_magic_test_file=/shlib/libc.so
   6588   ;;
   6589 
   6590 cygwin*)
   6591   # func_win32_libid is a shell function defined in ltmain.sh
   6592   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6593   lt_cv_file_magic_cmd='func_win32_libid'
   6594   ;;
   6595 
   6596 mingw* | pw32*)
   6597   # Base MSYS/MinGW do not provide the 'file' command needed by
   6598   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6599   # unless we find 'file', for example because we are cross-compiling.
   6600   if ( file / ) >/dev/null 2>&1; then
   6601     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6602     lt_cv_file_magic_cmd='func_win32_libid'
   6603   else
   6604     # Keep this pattern in sync with the one in func_win32_libid.
   6605     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6606     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6607   fi
   6608   ;;
   6609 
   6610 cegcc*)
   6611   # use the weaker test based on 'objdump'. See mingw*.
   6612   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6613   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6614   ;;
   6615 
   6616 darwin* | rhapsody*)
   6617   lt_cv_deplibs_check_method=pass_all
   6618   ;;
   6619 
   6620 freebsd* | dragonfly*)
   6621   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6622     case $host_cpu in
   6623     i*86 )
   6624       # Not sure whether the presence of OpenBSD here was a mistake.
   6625       # Let's accept both of them until this is cleared up.
   6626       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6627       lt_cv_file_magic_cmd=/usr/bin/file
   6628       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6629       ;;
   6630     esac
   6631   else
   6632     lt_cv_deplibs_check_method=pass_all
   6633   fi
   6634   ;;
   6635 
   6636 haiku*)
   6637   lt_cv_deplibs_check_method=pass_all
   6638   ;;
   6639 
   6640 hpux10.20* | hpux11*)
   6641   lt_cv_file_magic_cmd=/usr/bin/file
   6642   case $host_cpu in
   6643   ia64*)
   6644     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6645     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6646     ;;
   6647   hppa*64*)
   6648     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]'
   6649     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6650     ;;
   6651   *)
   6652     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6653     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6654     ;;
   6655   esac
   6656   ;;
   6657 
   6658 interix[3-9]*)
   6659   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6660   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6661   ;;
   6662 
   6663 irix5* | irix6* | nonstopux*)
   6664   case $LD in
   6665   *-32|*"-32 ") libmagic=32-bit;;
   6666   *-n32|*"-n32 ") libmagic=N32;;
   6667   *-64|*"-64 ") libmagic=64-bit;;
   6668   *) libmagic=never-match;;
   6669   esac
   6670   lt_cv_deplibs_check_method=pass_all
   6671   ;;
   6672 
   6673 # This must be glibc/ELF.
   6674 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6675   lt_cv_deplibs_check_method=pass_all
   6676   ;;
   6677 
   6678 netbsd*)
   6679   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6680     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6681   else
   6682     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6683   fi
   6684   ;;
   6685 
   6686 newos6*)
   6687   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6688   lt_cv_file_magic_cmd=/usr/bin/file
   6689   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6690   ;;
   6691 
   6692 *nto* | *qnx*)
   6693   lt_cv_deplibs_check_method=pass_all
   6694   ;;
   6695 
   6696 openbsd* | bitrig*)
   6697   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6698     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6699   else
   6700     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6701   fi
   6702   ;;
   6703 
   6704 osf3* | osf4* | osf5*)
   6705   lt_cv_deplibs_check_method=pass_all
   6706   ;;
   6707 
   6708 rdos*)
   6709   lt_cv_deplibs_check_method=pass_all
   6710   ;;
   6711 
   6712 solaris*)
   6713   lt_cv_deplibs_check_method=pass_all
   6714   ;;
   6715 
   6716 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6717   lt_cv_deplibs_check_method=pass_all
   6718   ;;
   6719 
   6720 sysv4 | sysv4.3*)
   6721   case $host_vendor in
   6722   motorola)
   6723     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]'
   6724     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6725     ;;
   6726   ncr)
   6727     lt_cv_deplibs_check_method=pass_all
   6728     ;;
   6729   sequent)
   6730     lt_cv_file_magic_cmd='/bin/file'
   6731     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6732     ;;
   6733   sni)
   6734     lt_cv_file_magic_cmd='/bin/file'
   6735     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6736     lt_cv_file_magic_test_file=/lib/libc.so
   6737     ;;
   6738   siemens)
   6739     lt_cv_deplibs_check_method=pass_all
   6740     ;;
   6741   pc)
   6742     lt_cv_deplibs_check_method=pass_all
   6743     ;;
   6744   esac
   6745   ;;
   6746 
   6747 tpf*)
   6748   lt_cv_deplibs_check_method=pass_all
   6749   ;;
   6750 os2*)
   6751   lt_cv_deplibs_check_method=pass_all
   6752   ;;
   6753 esac
   6754 
   6755 fi
   6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6757 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6758 
   6759 file_magic_glob=
   6760 want_nocaseglob=no
   6761 if test "$build" = "$host"; then
   6762   case $host_os in
   6763   mingw* | pw32*)
   6764     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6765       want_nocaseglob=yes
   6766     else
   6767       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6768     fi
   6769     ;;
   6770   esac
   6771 fi
   6772 
   6773 file_magic_cmd=$lt_cv_file_magic_cmd
   6774 deplibs_check_method=$lt_cv_deplibs_check_method
   6775 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 if test -n "$ac_tool_prefix"; then
   6799   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6800 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6802 printf %s "checking for $ac_word... " >&6; }
   6803 if test ${ac_cv_prog_DLLTOOL+y}
   6804 then :
   6805   printf %s "(cached) " >&6
   6806 else $as_nop
   6807   if test -n "$DLLTOOL"; then
   6808   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6809 else
   6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6811 for as_dir in $PATH
   6812 do
   6813   IFS=$as_save_IFS
   6814   case $as_dir in #(((
   6815     '') as_dir=./ ;;
   6816     */) ;;
   6817     *) as_dir=$as_dir/ ;;
   6818   esac
   6819     for ac_exec_ext in '' $ac_executable_extensions; do
   6820   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6821     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6822     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6823     break 2
   6824   fi
   6825 done
   6826   done
   6827 IFS=$as_save_IFS
   6828 
   6829 fi
   6830 fi
   6831 DLLTOOL=$ac_cv_prog_DLLTOOL
   6832 if test -n "$DLLTOOL"; then
   6833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6834 printf "%s\n" "$DLLTOOL" >&6; }
   6835 else
   6836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6837 printf "%s\n" "no" >&6; }
   6838 fi
   6839 
   6840 
   6841 fi
   6842 if test -z "$ac_cv_prog_DLLTOOL"; then
   6843   ac_ct_DLLTOOL=$DLLTOOL
   6844   # Extract the first word of "dlltool", so it can be a program name with args.
   6845 set dummy dlltool; ac_word=$2
   6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6847 printf %s "checking for $ac_word... " >&6; }
   6848 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6849 then :
   6850   printf %s "(cached) " >&6
   6851 else $as_nop
   6852   if test -n "$ac_ct_DLLTOOL"; then
   6853   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6854 else
   6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6856 for as_dir in $PATH
   6857 do
   6858   IFS=$as_save_IFS
   6859   case $as_dir in #(((
   6860     '') as_dir=./ ;;
   6861     */) ;;
   6862     *) as_dir=$as_dir/ ;;
   6863   esac
   6864     for ac_exec_ext in '' $ac_executable_extensions; do
   6865   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6866     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6867     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6868     break 2
   6869   fi
   6870 done
   6871   done
   6872 IFS=$as_save_IFS
   6873 
   6874 fi
   6875 fi
   6876 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6877 if test -n "$ac_ct_DLLTOOL"; then
   6878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6879 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6880 else
   6881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6882 printf "%s\n" "no" >&6; }
   6883 fi
   6884 
   6885   if test "x$ac_ct_DLLTOOL" = x; then
   6886     DLLTOOL="false"
   6887   else
   6888     case $cross_compiling:$ac_tool_warned in
   6889 yes:)
   6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6891 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6892 ac_tool_warned=yes ;;
   6893 esac
   6894     DLLTOOL=$ac_ct_DLLTOOL
   6895   fi
   6896 else
   6897   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6898 fi
   6899 
   6900 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6909 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6910 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6911 then :
   6912   printf %s "(cached) " >&6
   6913 else $as_nop
   6914   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6915 
   6916 case $host_os in
   6917 cygwin* | mingw* | pw32* | cegcc*)
   6918   # two different shell functions defined in ltmain.sh;
   6919   # decide which one to use based on capabilities of $DLLTOOL
   6920   case `$DLLTOOL --help 2>&1` in
   6921   *--identify-strict*)
   6922     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6923     ;;
   6924   *)
   6925     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6926     ;;
   6927   esac
   6928   ;;
   6929 *)
   6930   # fallback: assume linklib IS sharedlib
   6931   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6932   ;;
   6933 esac
   6934 
   6935 fi
   6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6937 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6938 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6939 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 if test -n "$ac_tool_prefix"; then
   6948   for ac_prog in ar
   6949   do
   6950     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6953 printf %s "checking for $ac_word... " >&6; }
   6954 if test ${ac_cv_prog_AR+y}
   6955 then :
   6956   printf %s "(cached) " >&6
   6957 else $as_nop
   6958   if test -n "$AR"; then
   6959   ac_cv_prog_AR="$AR" # Let the user override the test.
   6960 else
   6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6962 for as_dir in $PATH
   6963 do
   6964   IFS=$as_save_IFS
   6965   case $as_dir in #(((
   6966     '') as_dir=./ ;;
   6967     */) ;;
   6968     *) as_dir=$as_dir/ ;;
   6969   esac
   6970     for ac_exec_ext in '' $ac_executable_extensions; do
   6971   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6972     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6973     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6974     break 2
   6975   fi
   6976 done
   6977   done
   6978 IFS=$as_save_IFS
   6979 
   6980 fi
   6981 fi
   6982 AR=$ac_cv_prog_AR
   6983 if test -n "$AR"; then
   6984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6985 printf "%s\n" "$AR" >&6; }
   6986 else
   6987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6988 printf "%s\n" "no" >&6; }
   6989 fi
   6990 
   6991 
   6992     test -n "$AR" && break
   6993   done
   6994 fi
   6995 if test -z "$AR"; then
   6996   ac_ct_AR=$AR
   6997   for ac_prog in ar
   6998 do
   6999   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7000 set dummy $ac_prog; ac_word=$2
   7001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7002 printf %s "checking for $ac_word... " >&6; }
   7003 if test ${ac_cv_prog_ac_ct_AR+y}
   7004 then :
   7005   printf %s "(cached) " >&6
   7006 else $as_nop
   7007   if test -n "$ac_ct_AR"; then
   7008   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7009 else
   7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7011 for as_dir in $PATH
   7012 do
   7013   IFS=$as_save_IFS
   7014   case $as_dir in #(((
   7015     '') as_dir=./ ;;
   7016     */) ;;
   7017     *) as_dir=$as_dir/ ;;
   7018   esac
   7019     for ac_exec_ext in '' $ac_executable_extensions; do
   7020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7021     ac_cv_prog_ac_ct_AR="$ac_prog"
   7022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7023     break 2
   7024   fi
   7025 done
   7026   done
   7027 IFS=$as_save_IFS
   7028 
   7029 fi
   7030 fi
   7031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7032 if test -n "$ac_ct_AR"; then
   7033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7034 printf "%s\n" "$ac_ct_AR" >&6; }
   7035 else
   7036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7037 printf "%s\n" "no" >&6; }
   7038 fi
   7039 
   7040 
   7041   test -n "$ac_ct_AR" && break
   7042 done
   7043 
   7044   if test "x$ac_ct_AR" = x; then
   7045     AR="false"
   7046   else
   7047     case $cross_compiling:$ac_tool_warned in
   7048 yes:)
   7049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7050 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7051 ac_tool_warned=yes ;;
   7052 esac
   7053     AR=$ac_ct_AR
   7054   fi
   7055 fi
   7056 
   7057 : ${AR=ar}
   7058 : ${AR_FLAGS=cru}
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7071 printf %s "checking for archiver @FILE support... " >&6; }
   7072 if test ${lt_cv_ar_at_file+y}
   7073 then :
   7074   printf %s "(cached) " >&6
   7075 else $as_nop
   7076   lt_cv_ar_at_file=no
   7077    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7078 /* end confdefs.h.  */
   7079 
   7080 int
   7081 main (void)
   7082 {
   7083 
   7084   ;
   7085   return 0;
   7086 }
   7087 _ACEOF
   7088 if ac_fn_c_try_compile "$LINENO"
   7089 then :
   7090   echo conftest.$ac_objext > conftest.lst
   7091       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7092       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7093   (eval $lt_ar_try) 2>&5
   7094   ac_status=$?
   7095   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7096   test $ac_status = 0; }
   7097       if test 0 -eq "$ac_status"; then
   7098 	# Ensure the archiver fails upon bogus file names.
   7099 	rm -f conftest.$ac_objext libconftest.a
   7100 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7101   (eval $lt_ar_try) 2>&5
   7102   ac_status=$?
   7103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7104   test $ac_status = 0; }
   7105 	if test 0 -ne "$ac_status"; then
   7106           lt_cv_ar_at_file=@
   7107         fi
   7108       fi
   7109       rm -f conftest.* libconftest.a
   7110 
   7111 fi
   7112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7113 
   7114 fi
   7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7116 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7117 
   7118 if test no = "$lt_cv_ar_at_file"; then
   7119   archiver_list_spec=
   7120 else
   7121   archiver_list_spec=$lt_cv_ar_at_file
   7122 fi
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 if test -n "$ac_tool_prefix"; then
   7131   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7132 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7134 printf %s "checking for $ac_word... " >&6; }
   7135 if test ${ac_cv_prog_STRIP+y}
   7136 then :
   7137   printf %s "(cached) " >&6
   7138 else $as_nop
   7139   if test -n "$STRIP"; then
   7140   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7141 else
   7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7143 for as_dir in $PATH
   7144 do
   7145   IFS=$as_save_IFS
   7146   case $as_dir in #(((
   7147     '') as_dir=./ ;;
   7148     */) ;;
   7149     *) as_dir=$as_dir/ ;;
   7150   esac
   7151     for ac_exec_ext in '' $ac_executable_extensions; do
   7152   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7153     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7154     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7155     break 2
   7156   fi
   7157 done
   7158   done
   7159 IFS=$as_save_IFS
   7160 
   7161 fi
   7162 fi
   7163 STRIP=$ac_cv_prog_STRIP
   7164 if test -n "$STRIP"; then
   7165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7166 printf "%s\n" "$STRIP" >&6; }
   7167 else
   7168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7169 printf "%s\n" "no" >&6; }
   7170 fi
   7171 
   7172 
   7173 fi
   7174 if test -z "$ac_cv_prog_STRIP"; then
   7175   ac_ct_STRIP=$STRIP
   7176   # Extract the first word of "strip", so it can be a program name with args.
   7177 set dummy strip; ac_word=$2
   7178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7179 printf %s "checking for $ac_word... " >&6; }
   7180 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7181 then :
   7182   printf %s "(cached) " >&6
   7183 else $as_nop
   7184   if test -n "$ac_ct_STRIP"; then
   7185   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7186 else
   7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7188 for as_dir in $PATH
   7189 do
   7190   IFS=$as_save_IFS
   7191   case $as_dir in #(((
   7192     '') as_dir=./ ;;
   7193     */) ;;
   7194     *) as_dir=$as_dir/ ;;
   7195   esac
   7196     for ac_exec_ext in '' $ac_executable_extensions; do
   7197   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7198     ac_cv_prog_ac_ct_STRIP="strip"
   7199     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7200     break 2
   7201   fi
   7202 done
   7203   done
   7204 IFS=$as_save_IFS
   7205 
   7206 fi
   7207 fi
   7208 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7209 if test -n "$ac_ct_STRIP"; then
   7210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7211 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7212 else
   7213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7214 printf "%s\n" "no" >&6; }
   7215 fi
   7216 
   7217   if test "x$ac_ct_STRIP" = x; then
   7218     STRIP=":"
   7219   else
   7220     case $cross_compiling:$ac_tool_warned in
   7221 yes:)
   7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7223 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7224 ac_tool_warned=yes ;;
   7225 esac
   7226     STRIP=$ac_ct_STRIP
   7227   fi
   7228 else
   7229   STRIP="$ac_cv_prog_STRIP"
   7230 fi
   7231 
   7232 test -z "$STRIP" && STRIP=:
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 if test -n "$ac_tool_prefix"; then
   7240   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7241 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7243 printf %s "checking for $ac_word... " >&6; }
   7244 if test ${ac_cv_prog_RANLIB+y}
   7245 then :
   7246   printf %s "(cached) " >&6
   7247 else $as_nop
   7248   if test -n "$RANLIB"; then
   7249   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7250 else
   7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7252 for as_dir in $PATH
   7253 do
   7254   IFS=$as_save_IFS
   7255   case $as_dir in #(((
   7256     '') as_dir=./ ;;
   7257     */) ;;
   7258     *) as_dir=$as_dir/ ;;
   7259   esac
   7260     for ac_exec_ext in '' $ac_executable_extensions; do
   7261   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7262     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7263     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7264     break 2
   7265   fi
   7266 done
   7267   done
   7268 IFS=$as_save_IFS
   7269 
   7270 fi
   7271 fi
   7272 RANLIB=$ac_cv_prog_RANLIB
   7273 if test -n "$RANLIB"; then
   7274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7275 printf "%s\n" "$RANLIB" >&6; }
   7276 else
   7277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7278 printf "%s\n" "no" >&6; }
   7279 fi
   7280 
   7281 
   7282 fi
   7283 if test -z "$ac_cv_prog_RANLIB"; then
   7284   ac_ct_RANLIB=$RANLIB
   7285   # Extract the first word of "ranlib", so it can be a program name with args.
   7286 set dummy ranlib; ac_word=$2
   7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7288 printf %s "checking for $ac_word... " >&6; }
   7289 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7290 then :
   7291   printf %s "(cached) " >&6
   7292 else $as_nop
   7293   if test -n "$ac_ct_RANLIB"; then
   7294   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7295 else
   7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7297 for as_dir in $PATH
   7298 do
   7299   IFS=$as_save_IFS
   7300   case $as_dir in #(((
   7301     '') as_dir=./ ;;
   7302     */) ;;
   7303     *) as_dir=$as_dir/ ;;
   7304   esac
   7305     for ac_exec_ext in '' $ac_executable_extensions; do
   7306   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7307     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7308     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7309     break 2
   7310   fi
   7311 done
   7312   done
   7313 IFS=$as_save_IFS
   7314 
   7315 fi
   7316 fi
   7317 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7318 if test -n "$ac_ct_RANLIB"; then
   7319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7320 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7321 else
   7322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7323 printf "%s\n" "no" >&6; }
   7324 fi
   7325 
   7326   if test "x$ac_ct_RANLIB" = x; then
   7327     RANLIB=":"
   7328   else
   7329     case $cross_compiling:$ac_tool_warned in
   7330 yes:)
   7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7332 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7333 ac_tool_warned=yes ;;
   7334 esac
   7335     RANLIB=$ac_ct_RANLIB
   7336   fi
   7337 else
   7338   RANLIB="$ac_cv_prog_RANLIB"
   7339 fi
   7340 
   7341 test -z "$RANLIB" && RANLIB=:
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 # Determine commands to create old-style static archives.
   7349 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7350 old_postinstall_cmds='chmod 644 $oldlib'
   7351 old_postuninstall_cmds=
   7352 
   7353 if test -n "$RANLIB"; then
   7354   case $host_os in
   7355   bitrig* | openbsd*)
   7356     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7357     ;;
   7358   *)
   7359     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7360     ;;
   7361   esac
   7362   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7363 fi
   7364 
   7365 case $host_os in
   7366   darwin*)
   7367     lock_old_archive_extraction=yes ;;
   7368   *)
   7369     lock_old_archive_extraction=no ;;
   7370 esac
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 # If no C compiler was specified, use CC.
   7411 LTCC=${LTCC-"$CC"}
   7412 
   7413 # If no C compiler flags were specified, use CFLAGS.
   7414 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7415 
   7416 # Allow CC to be a program name with arguments.
   7417 compiler=$CC
   7418 
   7419 
   7420 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7422 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7423 if test ${lt_cv_sys_global_symbol_pipe+y}
   7424 then :
   7425   printf %s "(cached) " >&6
   7426 else $as_nop
   7427 
   7428 # These are sane defaults that work on at least a few old systems.
   7429 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7430 
   7431 # Character class describing NM global symbol codes.
   7432 symcode='[BCDEGRST]'
   7433 
   7434 # Regexp to match symbols that can be accessed directly from C.
   7435 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7436 
   7437 # Define system-specific variables.
   7438 case $host_os in
   7439 aix*)
   7440   symcode='[BCDT]'
   7441   ;;
   7442 cygwin* | mingw* | pw32* | cegcc*)
   7443   symcode='[ABCDGISTW]'
   7444   ;;
   7445 hpux*)
   7446   if test ia64 = "$host_cpu"; then
   7447     symcode='[ABCDEGRST]'
   7448   fi
   7449   ;;
   7450 irix* | nonstopux*)
   7451   symcode='[BCDEGRST]'
   7452   ;;
   7453 osf*)
   7454   symcode='[BCDEGQRST]'
   7455   ;;
   7456 solaris*)
   7457   symcode='[BDRT]'
   7458   ;;
   7459 sco3.2v5*)
   7460   symcode='[DT]'
   7461   ;;
   7462 sysv4.2uw2*)
   7463   symcode='[DT]'
   7464   ;;
   7465 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7466   symcode='[ABDT]'
   7467   ;;
   7468 sysv4)
   7469   symcode='[DFNSTU]'
   7470   ;;
   7471 esac
   7472 
   7473 # If we're using GNU nm, then use its standard symbol codes.
   7474 case `$NM -V 2>&1` in
   7475 *GNU* | *'with BFD'*)
   7476   symcode='[ABCDGIRSTW]' ;;
   7477 esac
   7478 
   7479 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7480   # Gets list of data symbols to import.
   7481   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7482   # Adjust the below global symbol transforms to fixup imported variables.
   7483   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7484   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7485   lt_c_name_lib_hook="\
   7486   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7487   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7488 else
   7489   # Disable hooks by default.
   7490   lt_cv_sys_global_symbol_to_import=
   7491   lt_cdecl_hook=
   7492   lt_c_name_hook=
   7493   lt_c_name_lib_hook=
   7494 fi
   7495 
   7496 # Transform an extracted symbol line into a proper C declaration.
   7497 # Some systems (esp. on ia64) link data and code symbols differently,
   7498 # so use this general approach.
   7499 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7500 $lt_cdecl_hook\
   7501 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7502 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7503 
   7504 # Transform an extracted symbol line into symbol name and symbol address
   7505 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7506 $lt_c_name_hook\
   7507 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7508 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7509 
   7510 # Transform an extracted symbol line into symbol name with lib prefix and
   7511 # symbol address.
   7512 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7513 $lt_c_name_lib_hook\
   7514 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7515 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7516 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7517 
   7518 # Handle CRLF in mingw tool chain
   7519 opt_cr=
   7520 case $build_os in
   7521 mingw*)
   7522   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7523   ;;
   7524 esac
   7525 
   7526 # Try without a prefix underscore, then with it.
   7527 for ac_symprfx in "" "_"; do
   7528 
   7529   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7530   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7531 
   7532   # Write the raw and C identifiers.
   7533   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7534     # Fake it for dumpbin and say T for any non-static function,
   7535     # D for any global variable and I for any imported variable.
   7536     # Also find C++ and __fastcall symbols from MSVC++,
   7537     # which start with @ or ?.
   7538     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7539 "     {last_section=section; section=\$ 3};"\
   7540 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7541 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7542 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7543 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7544 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7545 "     \$ 0!~/External *\|/{next};"\
   7546 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7547 "     {if(hide[section]) next};"\
   7548 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7549 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7550 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7551 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7552 "     ' prfx=^$ac_symprfx"
   7553   else
   7554     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7555   fi
   7556   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7557 
   7558   # Check to see that the pipe works correctly.
   7559   pipe_works=no
   7560 
   7561   rm -f conftest*
   7562   cat > conftest.$ac_ext <<_LT_EOF
   7563 #ifdef __cplusplus
   7564 extern "C" {
   7565 #endif
   7566 char nm_test_var;
   7567 void nm_test_func(void);
   7568 void nm_test_func(void){}
   7569 #ifdef __cplusplus
   7570 }
   7571 #endif
   7572 int main(){nm_test_var='a';nm_test_func();return(0);}
   7573 _LT_EOF
   7574 
   7575   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7576   (eval $ac_compile) 2>&5
   7577   ac_status=$?
   7578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7579   test $ac_status = 0; }; then
   7580     # Now try to grab the symbols.
   7581     nlist=conftest.nm
   7582     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7583   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7584   ac_status=$?
   7585   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7586   test $ac_status = 0; } && test -s "$nlist"; then
   7587       # Try sorting and uniquifying the output.
   7588       if sort "$nlist" | uniq > "$nlist"T; then
   7589 	mv -f "$nlist"T "$nlist"
   7590       else
   7591 	rm -f "$nlist"T
   7592       fi
   7593 
   7594       # Make sure that we snagged all the symbols we need.
   7595       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7596 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7597 	  cat <<_LT_EOF > conftest.$ac_ext
   7598 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7599 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7600 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7601    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7602 # define LT_DLSYM_CONST
   7603 #elif defined __osf__
   7604 /* This system does not cope well with relocations in const data.  */
   7605 # define LT_DLSYM_CONST
   7606 #else
   7607 # define LT_DLSYM_CONST const
   7608 #endif
   7609 
   7610 #ifdef __cplusplus
   7611 extern "C" {
   7612 #endif
   7613 
   7614 _LT_EOF
   7615 	  # Now generate the symbol file.
   7616 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7617 
   7618 	  cat <<_LT_EOF >> conftest.$ac_ext
   7619 
   7620 /* The mapping between symbol names and symbols.  */
   7621 LT_DLSYM_CONST struct {
   7622   const char *name;
   7623   void       *address;
   7624 }
   7625 lt__PROGRAM__LTX_preloaded_symbols[] =
   7626 {
   7627   { "@PROGRAM@", (void *) 0 },
   7628 _LT_EOF
   7629 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7630 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7631   {0, (void *) 0}
   7632 };
   7633 
   7634 /* This works around a problem in FreeBSD linker */
   7635 #ifdef FREEBSD_WORKAROUND
   7636 static const void *lt_preloaded_setup() {
   7637   return lt__PROGRAM__LTX_preloaded_symbols;
   7638 }
   7639 #endif
   7640 
   7641 #ifdef __cplusplus
   7642 }
   7643 #endif
   7644 _LT_EOF
   7645 	  # Now try linking the two files.
   7646 	  mv conftest.$ac_objext conftstm.$ac_objext
   7647 	  lt_globsym_save_LIBS=$LIBS
   7648 	  lt_globsym_save_CFLAGS=$CFLAGS
   7649 	  LIBS=conftstm.$ac_objext
   7650 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7651 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7652   (eval $ac_link) 2>&5
   7653   ac_status=$?
   7654   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7655   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7656 	    pipe_works=yes
   7657 	  fi
   7658 	  LIBS=$lt_globsym_save_LIBS
   7659 	  CFLAGS=$lt_globsym_save_CFLAGS
   7660 	else
   7661 	  echo "cannot find nm_test_func in $nlist" >&5
   7662 	fi
   7663       else
   7664 	echo "cannot find nm_test_var in $nlist" >&5
   7665       fi
   7666     else
   7667       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7668     fi
   7669   else
   7670     echo "$progname: failed program was:" >&5
   7671     cat conftest.$ac_ext >&5
   7672   fi
   7673   rm -rf conftest* conftst*
   7674 
   7675   # Do not use the global_symbol_pipe unless it works.
   7676   if test yes = "$pipe_works"; then
   7677     break
   7678   else
   7679     lt_cv_sys_global_symbol_pipe=
   7680   fi
   7681 done
   7682 
   7683 fi
   7684 
   7685 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7686   lt_cv_sys_global_symbol_to_cdecl=
   7687 fi
   7688 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7690 printf "%s\n" "failed" >&6; }
   7691 else
   7692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7693 printf "%s\n" "ok" >&6; }
   7694 fi
   7695 
   7696 # Response file support.
   7697 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7698   nm_file_list_spec='@'
   7699 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7700   nm_file_list_spec='@'
   7701 fi
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7740 printf %s "checking for sysroot... " >&6; }
   7741 
   7742 # Check whether --with-sysroot was given.
   7743 if test ${with_sysroot+y}
   7744 then :
   7745   withval=$with_sysroot;
   7746 else $as_nop
   7747   with_sysroot=no
   7748 fi
   7749 
   7750 
   7751 lt_sysroot=
   7752 case $with_sysroot in #(
   7753  yes)
   7754    if test yes = "$GCC"; then
   7755      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7756    fi
   7757    ;; #(
   7758  /*)
   7759    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7760    ;; #(
   7761  no|'')
   7762    ;; #(
   7763  *)
   7764    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7765 printf "%s\n" "$with_sysroot" >&6; }
   7766    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7767    ;;
   7768 esac
   7769 
   7770  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7771 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7778 printf %s "checking for a working dd... " >&6; }
   7779 if test ${ac_cv_path_lt_DD+y}
   7780 then :
   7781   printf %s "(cached) " >&6
   7782 else $as_nop
   7783   printf 0123456789abcdef0123456789abcdef >conftest.i
   7784 cat conftest.i conftest.i >conftest2.i
   7785 : ${lt_DD:=$DD}
   7786 if test -z "$lt_DD"; then
   7787   ac_path_lt_DD_found=false
   7788   # Loop through the user's path and test for each of PROGNAME-LIST
   7789   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7790 for as_dir in $PATH
   7791 do
   7792   IFS=$as_save_IFS
   7793   case $as_dir in #(((
   7794     '') as_dir=./ ;;
   7795     */) ;;
   7796     *) as_dir=$as_dir/ ;;
   7797   esac
   7798     for ac_prog in dd
   7799    do
   7800     for ac_exec_ext in '' $ac_executable_extensions; do
   7801       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7802       as_fn_executable_p "$ac_path_lt_DD" || continue
   7803 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7804   cmp -s conftest.i conftest.out \
   7805   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7806 fi
   7807       $ac_path_lt_DD_found && break 3
   7808     done
   7809   done
   7810   done
   7811 IFS=$as_save_IFS
   7812   if test -z "$ac_cv_path_lt_DD"; then
   7813     :
   7814   fi
   7815 else
   7816   ac_cv_path_lt_DD=$lt_DD
   7817 fi
   7818 
   7819 rm -f conftest.i conftest2.i conftest.out
   7820 fi
   7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7822 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7823 
   7824 
   7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7826 printf %s "checking how to truncate binary pipes... " >&6; }
   7827 if test ${lt_cv_truncate_bin+y}
   7828 then :
   7829   printf %s "(cached) " >&6
   7830 else $as_nop
   7831   printf 0123456789abcdef0123456789abcdef >conftest.i
   7832 cat conftest.i conftest.i >conftest2.i
   7833 lt_cv_truncate_bin=
   7834 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7835   cmp -s conftest.i conftest.out \
   7836   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7837 fi
   7838 rm -f conftest.i conftest2.i conftest.out
   7839 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7840 fi
   7841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7842 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7851 func_cc_basename ()
   7852 {
   7853     for cc_temp in $*""; do
   7854       case $cc_temp in
   7855         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7856         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7857         \-*) ;;
   7858         *) break;;
   7859       esac
   7860     done
   7861     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7862 }
   7863 
   7864 # Check whether --enable-libtool-lock was given.
   7865 if test ${enable_libtool_lock+y}
   7866 then :
   7867   enableval=$enable_libtool_lock;
   7868 fi
   7869 
   7870 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7871 
   7872 # Some flags need to be propagated to the compiler or linker for good
   7873 # libtool support.
   7874 case $host in
   7875 ia64-*-hpux*)
   7876   # Find out what ABI is being produced by ac_compile, and set mode
   7877   # options accordingly.
   7878   echo 'int i;' > conftest.$ac_ext
   7879   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7880   (eval $ac_compile) 2>&5
   7881   ac_status=$?
   7882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7883   test $ac_status = 0; }; then
   7884     case `/usr/bin/file conftest.$ac_objext` in
   7885       *ELF-32*)
   7886 	HPUX_IA64_MODE=32
   7887 	;;
   7888       *ELF-64*)
   7889 	HPUX_IA64_MODE=64
   7890 	;;
   7891     esac
   7892   fi
   7893   rm -rf conftest*
   7894   ;;
   7895 *-*-irix6*)
   7896   # Find out what ABI is being produced by ac_compile, and set linker
   7897   # options accordingly.
   7898   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7899   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7900   (eval $ac_compile) 2>&5
   7901   ac_status=$?
   7902   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7903   test $ac_status = 0; }; then
   7904     if test yes = "$lt_cv_prog_gnu_ld"; then
   7905       case `/usr/bin/file conftest.$ac_objext` in
   7906 	*32-bit*)
   7907 	  LD="${LD-ld} -melf32bsmip"
   7908 	  ;;
   7909 	*N32*)
   7910 	  LD="${LD-ld} -melf32bmipn32"
   7911 	  ;;
   7912 	*64-bit*)
   7913 	  LD="${LD-ld} -melf64bmip"
   7914 	;;
   7915       esac
   7916     else
   7917       case `/usr/bin/file conftest.$ac_objext` in
   7918 	*32-bit*)
   7919 	  LD="${LD-ld} -32"
   7920 	  ;;
   7921 	*N32*)
   7922 	  LD="${LD-ld} -n32"
   7923 	  ;;
   7924 	*64-bit*)
   7925 	  LD="${LD-ld} -64"
   7926 	  ;;
   7927       esac
   7928     fi
   7929   fi
   7930   rm -rf conftest*
   7931   ;;
   7932 
   7933 mips64*-*linux*)
   7934   # Find out what ABI is being produced by ac_compile, and set linker
   7935   # options accordingly.
   7936   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7937   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7938   (eval $ac_compile) 2>&5
   7939   ac_status=$?
   7940   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7941   test $ac_status = 0; }; then
   7942     emul=elf
   7943     case `/usr/bin/file conftest.$ac_objext` in
   7944       *32-bit*)
   7945 	emul="${emul}32"
   7946 	;;
   7947       *64-bit*)
   7948 	emul="${emul}64"
   7949 	;;
   7950     esac
   7951     case `/usr/bin/file conftest.$ac_objext` in
   7952       *MSB*)
   7953 	emul="${emul}btsmip"
   7954 	;;
   7955       *LSB*)
   7956 	emul="${emul}ltsmip"
   7957 	;;
   7958     esac
   7959     case `/usr/bin/file conftest.$ac_objext` in
   7960       *N32*)
   7961 	emul="${emul}n32"
   7962 	;;
   7963     esac
   7964     LD="${LD-ld} -m $emul"
   7965   fi
   7966   rm -rf conftest*
   7967   ;;
   7968 
   7969 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7970 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7971   # Find out what ABI is being produced by ac_compile, and set linker
   7972   # options accordingly.  Note that the listed cases only cover the
   7973   # situations where additional linker options are needed (such as when
   7974   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7975   # vice versa); the common cases where no linker options are needed do
   7976   # not appear in the list.
   7977   echo 'int i;' > conftest.$ac_ext
   7978   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7979   (eval $ac_compile) 2>&5
   7980   ac_status=$?
   7981   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7982   test $ac_status = 0; }; then
   7983     case `/usr/bin/file conftest.o` in
   7984       *32-bit*)
   7985 	case $host in
   7986 	  x86_64-*kfreebsd*-gnu)
   7987 	    LD="${LD-ld} -m elf_i386_fbsd"
   7988 	    ;;
   7989 	  x86_64-*linux*)
   7990 	    case `/usr/bin/file conftest.o` in
   7991 	      *x86-64*)
   7992 		LD="${LD-ld} -m elf32_x86_64"
   7993 		;;
   7994 	      *)
   7995 		LD="${LD-ld} -m elf_i386"
   7996 		;;
   7997 	    esac
   7998 	    ;;
   7999 	  powerpc64le-*linux*)
   8000 	    LD="${LD-ld} -m elf32lppclinux"
   8001 	    ;;
   8002 	  powerpc64-*linux*)
   8003 	    LD="${LD-ld} -m elf32ppclinux"
   8004 	    ;;
   8005 	  s390x-*linux*)
   8006 	    LD="${LD-ld} -m elf_s390"
   8007 	    ;;
   8008 	  sparc64-*linux*)
   8009 	    LD="${LD-ld} -m elf32_sparc"
   8010 	    ;;
   8011 	esac
   8012 	;;
   8013       *64-bit*)
   8014 	case $host in
   8015 	  x86_64-*kfreebsd*-gnu)
   8016 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8017 	    ;;
   8018 	  x86_64-*linux*)
   8019 	    LD="${LD-ld} -m elf_x86_64"
   8020 	    ;;
   8021 	  powerpcle-*linux*|powerpc64le-*linux*)
   8022 	    LD="${LD-ld} -m elf64lppc"
   8023 	    ;;
   8024 	  powerpc-*linux*|powerpc64-*linux*)
   8025 	    LD="${LD-ld} -m elf64ppc"
   8026 	    ;;
   8027 	  s390*-*linux*|s390*-*tpf*)
   8028 	    LD="${LD-ld} -m elf64_s390"
   8029 	    ;;
   8030 	  sparc*-*linux*)
   8031 	    LD="${LD-ld} -m elf64_sparc"
   8032 	    ;;
   8033 	esac
   8034 	;;
   8035     esac
   8036   fi
   8037   rm -rf conftest*
   8038   ;;
   8039 
   8040 *-*-sco3.2v5*)
   8041   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8042   SAVE_CFLAGS=$CFLAGS
   8043   CFLAGS="$CFLAGS -belf"
   8044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8045 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8046 if test ${lt_cv_cc_needs_belf+y}
   8047 then :
   8048   printf %s "(cached) " >&6
   8049 else $as_nop
   8050   ac_ext=c
   8051 ac_cpp='$CPP $CPPFLAGS'
   8052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8055 
   8056      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8057 /* end confdefs.h.  */
   8058 
   8059 int
   8060 main (void)
   8061 {
   8062 
   8063   ;
   8064   return 0;
   8065 }
   8066 _ACEOF
   8067 if ac_fn_c_try_link "$LINENO"
   8068 then :
   8069   lt_cv_cc_needs_belf=yes
   8070 else $as_nop
   8071   lt_cv_cc_needs_belf=no
   8072 fi
   8073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8074     conftest$ac_exeext conftest.$ac_ext
   8075      ac_ext=c
   8076 ac_cpp='$CPP $CPPFLAGS'
   8077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8080 
   8081 fi
   8082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8083 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8084   if test yes != "$lt_cv_cc_needs_belf"; then
   8085     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8086     CFLAGS=$SAVE_CFLAGS
   8087   fi
   8088   ;;
   8089 *-*solaris*)
   8090   # Find out what ABI is being produced by ac_compile, and set linker
   8091   # options accordingly.
   8092   echo 'int i;' > conftest.$ac_ext
   8093   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8094   (eval $ac_compile) 2>&5
   8095   ac_status=$?
   8096   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8097   test $ac_status = 0; }; then
   8098     case `/usr/bin/file conftest.o` in
   8099     *64-bit*)
   8100       case $lt_cv_prog_gnu_ld in
   8101       yes*)
   8102         case $host in
   8103         i?86-*-solaris*|x86_64-*-solaris*)
   8104           LD="${LD-ld} -m elf_x86_64"
   8105           ;;
   8106         sparc*-*-solaris*)
   8107           LD="${LD-ld} -m elf64_sparc"
   8108           ;;
   8109         esac
   8110         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8111         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8112           LD=${LD-ld}_sol2
   8113         fi
   8114         ;;
   8115       *)
   8116 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8117 	  LD="${LD-ld} -64"
   8118 	fi
   8119 	;;
   8120       esac
   8121       ;;
   8122     esac
   8123   fi
   8124   rm -rf conftest*
   8125   ;;
   8126 esac
   8127 
   8128 need_locks=$enable_libtool_lock
   8129 
   8130 if test -n "$ac_tool_prefix"; then
   8131   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8132 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8134 printf %s "checking for $ac_word... " >&6; }
   8135 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8136 then :
   8137   printf %s "(cached) " >&6
   8138 else $as_nop
   8139   if test -n "$MANIFEST_TOOL"; then
   8140   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8141 else
   8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8143 for as_dir in $PATH
   8144 do
   8145   IFS=$as_save_IFS
   8146   case $as_dir in #(((
   8147     '') as_dir=./ ;;
   8148     */) ;;
   8149     *) as_dir=$as_dir/ ;;
   8150   esac
   8151     for ac_exec_ext in '' $ac_executable_extensions; do
   8152   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8153     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8154     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8155     break 2
   8156   fi
   8157 done
   8158   done
   8159 IFS=$as_save_IFS
   8160 
   8161 fi
   8162 fi
   8163 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8164 if test -n "$MANIFEST_TOOL"; then
   8165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8166 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8167 else
   8168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8169 printf "%s\n" "no" >&6; }
   8170 fi
   8171 
   8172 
   8173 fi
   8174 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8175   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8176   # Extract the first word of "mt", so it can be a program name with args.
   8177 set dummy mt; ac_word=$2
   8178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8179 printf %s "checking for $ac_word... " >&6; }
   8180 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8181 then :
   8182   printf %s "(cached) " >&6
   8183 else $as_nop
   8184   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8185   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8186 else
   8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8188 for as_dir in $PATH
   8189 do
   8190   IFS=$as_save_IFS
   8191   case $as_dir in #(((
   8192     '') as_dir=./ ;;
   8193     */) ;;
   8194     *) as_dir=$as_dir/ ;;
   8195   esac
   8196     for ac_exec_ext in '' $ac_executable_extensions; do
   8197   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8198     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8199     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8200     break 2
   8201   fi
   8202 done
   8203   done
   8204 IFS=$as_save_IFS
   8205 
   8206 fi
   8207 fi
   8208 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8209 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8211 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8212 else
   8213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8214 printf "%s\n" "no" >&6; }
   8215 fi
   8216 
   8217   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8218     MANIFEST_TOOL=":"
   8219   else
   8220     case $cross_compiling:$ac_tool_warned in
   8221 yes:)
   8222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8223 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8224 ac_tool_warned=yes ;;
   8225 esac
   8226     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8227   fi
   8228 else
   8229   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8230 fi
   8231 
   8232 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8234 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8235 if test ${lt_cv_path_mainfest_tool+y}
   8236 then :
   8237   printf %s "(cached) " >&6
   8238 else $as_nop
   8239   lt_cv_path_mainfest_tool=no
   8240   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8241   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8242   cat conftest.err >&5
   8243   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8244     lt_cv_path_mainfest_tool=yes
   8245   fi
   8246   rm -f conftest*
   8247 fi
   8248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8249 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8250 if test yes != "$lt_cv_path_mainfest_tool"; then
   8251   MANIFEST_TOOL=:
   8252 fi
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259   case $host_os in
   8260     rhapsody* | darwin*)
   8261     if test -n "$ac_tool_prefix"; then
   8262   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8263 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8265 printf %s "checking for $ac_word... " >&6; }
   8266 if test ${ac_cv_prog_DSYMUTIL+y}
   8267 then :
   8268   printf %s "(cached) " >&6
   8269 else $as_nop
   8270   if test -n "$DSYMUTIL"; then
   8271   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8272 else
   8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8274 for as_dir in $PATH
   8275 do
   8276   IFS=$as_save_IFS
   8277   case $as_dir in #(((
   8278     '') as_dir=./ ;;
   8279     */) ;;
   8280     *) as_dir=$as_dir/ ;;
   8281   esac
   8282     for ac_exec_ext in '' $ac_executable_extensions; do
   8283   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8284     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8285     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8286     break 2
   8287   fi
   8288 done
   8289   done
   8290 IFS=$as_save_IFS
   8291 
   8292 fi
   8293 fi
   8294 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8295 if test -n "$DSYMUTIL"; then
   8296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8297 printf "%s\n" "$DSYMUTIL" >&6; }
   8298 else
   8299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8300 printf "%s\n" "no" >&6; }
   8301 fi
   8302 
   8303 
   8304 fi
   8305 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8306   ac_ct_DSYMUTIL=$DSYMUTIL
   8307   # Extract the first word of "dsymutil", so it can be a program name with args.
   8308 set dummy dsymutil; ac_word=$2
   8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8310 printf %s "checking for $ac_word... " >&6; }
   8311 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8312 then :
   8313   printf %s "(cached) " >&6
   8314 else $as_nop
   8315   if test -n "$ac_ct_DSYMUTIL"; then
   8316   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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   case $as_dir in #(((
   8323     '') as_dir=./ ;;
   8324     */) ;;
   8325     *) as_dir=$as_dir/ ;;
   8326   esac
   8327     for ac_exec_ext in '' $ac_executable_extensions; do
   8328   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8329     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8330     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8331     break 2
   8332   fi
   8333 done
   8334   done
   8335 IFS=$as_save_IFS
   8336 
   8337 fi
   8338 fi
   8339 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8340 if test -n "$ac_ct_DSYMUTIL"; then
   8341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8342 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8343 else
   8344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8345 printf "%s\n" "no" >&6; }
   8346 fi
   8347 
   8348   if test "x$ac_ct_DSYMUTIL" = x; then
   8349     DSYMUTIL=":"
   8350   else
   8351     case $cross_compiling:$ac_tool_warned in
   8352 yes:)
   8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8354 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8355 ac_tool_warned=yes ;;
   8356 esac
   8357     DSYMUTIL=$ac_ct_DSYMUTIL
   8358   fi
   8359 else
   8360   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8361 fi
   8362 
   8363     if test -n "$ac_tool_prefix"; then
   8364   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8365 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8367 printf %s "checking for $ac_word... " >&6; }
   8368 if test ${ac_cv_prog_NMEDIT+y}
   8369 then :
   8370   printf %s "(cached) " >&6
   8371 else $as_nop
   8372   if test -n "$NMEDIT"; then
   8373   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8374 else
   8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8376 for as_dir in $PATH
   8377 do
   8378   IFS=$as_save_IFS
   8379   case $as_dir in #(((
   8380     '') as_dir=./ ;;
   8381     */) ;;
   8382     *) as_dir=$as_dir/ ;;
   8383   esac
   8384     for ac_exec_ext in '' $ac_executable_extensions; do
   8385   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8386     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8387     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8388     break 2
   8389   fi
   8390 done
   8391   done
   8392 IFS=$as_save_IFS
   8393 
   8394 fi
   8395 fi
   8396 NMEDIT=$ac_cv_prog_NMEDIT
   8397 if test -n "$NMEDIT"; then
   8398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8399 printf "%s\n" "$NMEDIT" >&6; }
   8400 else
   8401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8402 printf "%s\n" "no" >&6; }
   8403 fi
   8404 
   8405 
   8406 fi
   8407 if test -z "$ac_cv_prog_NMEDIT"; then
   8408   ac_ct_NMEDIT=$NMEDIT
   8409   # Extract the first word of "nmedit", so it can be a program name with args.
   8410 set dummy nmedit; ac_word=$2
   8411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8412 printf %s "checking for $ac_word... " >&6; }
   8413 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8414 then :
   8415   printf %s "(cached) " >&6
   8416 else $as_nop
   8417   if test -n "$ac_ct_NMEDIT"; then
   8418   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8419 else
   8420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8421 for as_dir in $PATH
   8422 do
   8423   IFS=$as_save_IFS
   8424   case $as_dir in #(((
   8425     '') as_dir=./ ;;
   8426     */) ;;
   8427     *) as_dir=$as_dir/ ;;
   8428   esac
   8429     for ac_exec_ext in '' $ac_executable_extensions; do
   8430   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8431     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8432     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8433     break 2
   8434   fi
   8435 done
   8436   done
   8437 IFS=$as_save_IFS
   8438 
   8439 fi
   8440 fi
   8441 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8442 if test -n "$ac_ct_NMEDIT"; then
   8443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8444 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8445 else
   8446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8447 printf "%s\n" "no" >&6; }
   8448 fi
   8449 
   8450   if test "x$ac_ct_NMEDIT" = x; then
   8451     NMEDIT=":"
   8452   else
   8453     case $cross_compiling:$ac_tool_warned in
   8454 yes:)
   8455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8456 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8457 ac_tool_warned=yes ;;
   8458 esac
   8459     NMEDIT=$ac_ct_NMEDIT
   8460   fi
   8461 else
   8462   NMEDIT="$ac_cv_prog_NMEDIT"
   8463 fi
   8464 
   8465     if test -n "$ac_tool_prefix"; then
   8466   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8467 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8469 printf %s "checking for $ac_word... " >&6; }
   8470 if test ${ac_cv_prog_LIPO+y}
   8471 then :
   8472   printf %s "(cached) " >&6
   8473 else $as_nop
   8474   if test -n "$LIPO"; then
   8475   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8476 else
   8477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8478 for as_dir in $PATH
   8479 do
   8480   IFS=$as_save_IFS
   8481   case $as_dir in #(((
   8482     '') as_dir=./ ;;
   8483     */) ;;
   8484     *) as_dir=$as_dir/ ;;
   8485   esac
   8486     for ac_exec_ext in '' $ac_executable_extensions; do
   8487   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8488     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8489     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8490     break 2
   8491   fi
   8492 done
   8493   done
   8494 IFS=$as_save_IFS
   8495 
   8496 fi
   8497 fi
   8498 LIPO=$ac_cv_prog_LIPO
   8499 if test -n "$LIPO"; then
   8500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8501 printf "%s\n" "$LIPO" >&6; }
   8502 else
   8503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8504 printf "%s\n" "no" >&6; }
   8505 fi
   8506 
   8507 
   8508 fi
   8509 if test -z "$ac_cv_prog_LIPO"; then
   8510   ac_ct_LIPO=$LIPO
   8511   # Extract the first word of "lipo", so it can be a program name with args.
   8512 set dummy lipo; ac_word=$2
   8513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8514 printf %s "checking for $ac_word... " >&6; }
   8515 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8516 then :
   8517   printf %s "(cached) " >&6
   8518 else $as_nop
   8519   if test -n "$ac_ct_LIPO"; then
   8520   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8521 else
   8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8523 for as_dir in $PATH
   8524 do
   8525   IFS=$as_save_IFS
   8526   case $as_dir in #(((
   8527     '') as_dir=./ ;;
   8528     */) ;;
   8529     *) as_dir=$as_dir/ ;;
   8530   esac
   8531     for ac_exec_ext in '' $ac_executable_extensions; do
   8532   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8533     ac_cv_prog_ac_ct_LIPO="lipo"
   8534     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8535     break 2
   8536   fi
   8537 done
   8538   done
   8539 IFS=$as_save_IFS
   8540 
   8541 fi
   8542 fi
   8543 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8544 if test -n "$ac_ct_LIPO"; then
   8545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8546 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8547 else
   8548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8549 printf "%s\n" "no" >&6; }
   8550 fi
   8551 
   8552   if test "x$ac_ct_LIPO" = x; then
   8553     LIPO=":"
   8554   else
   8555     case $cross_compiling:$ac_tool_warned in
   8556 yes:)
   8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8558 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8559 ac_tool_warned=yes ;;
   8560 esac
   8561     LIPO=$ac_ct_LIPO
   8562   fi
   8563 else
   8564   LIPO="$ac_cv_prog_LIPO"
   8565 fi
   8566 
   8567     if test -n "$ac_tool_prefix"; then
   8568   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8569 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8571 printf %s "checking for $ac_word... " >&6; }
   8572 if test ${ac_cv_prog_OTOOL+y}
   8573 then :
   8574   printf %s "(cached) " >&6
   8575 else $as_nop
   8576   if test -n "$OTOOL"; then
   8577   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8578 else
   8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8580 for as_dir in $PATH
   8581 do
   8582   IFS=$as_save_IFS
   8583   case $as_dir in #(((
   8584     '') as_dir=./ ;;
   8585     */) ;;
   8586     *) as_dir=$as_dir/ ;;
   8587   esac
   8588     for ac_exec_ext in '' $ac_executable_extensions; do
   8589   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8590     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8591     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8592     break 2
   8593   fi
   8594 done
   8595   done
   8596 IFS=$as_save_IFS
   8597 
   8598 fi
   8599 fi
   8600 OTOOL=$ac_cv_prog_OTOOL
   8601 if test -n "$OTOOL"; then
   8602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8603 printf "%s\n" "$OTOOL" >&6; }
   8604 else
   8605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8606 printf "%s\n" "no" >&6; }
   8607 fi
   8608 
   8609 
   8610 fi
   8611 if test -z "$ac_cv_prog_OTOOL"; then
   8612   ac_ct_OTOOL=$OTOOL
   8613   # Extract the first word of "otool", so it can be a program name with args.
   8614 set dummy otool; ac_word=$2
   8615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8616 printf %s "checking for $ac_word... " >&6; }
   8617 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8618 then :
   8619   printf %s "(cached) " >&6
   8620 else $as_nop
   8621   if test -n "$ac_ct_OTOOL"; then
   8622   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8623 else
   8624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8625 for as_dir in $PATH
   8626 do
   8627   IFS=$as_save_IFS
   8628   case $as_dir in #(((
   8629     '') as_dir=./ ;;
   8630     */) ;;
   8631     *) as_dir=$as_dir/ ;;
   8632   esac
   8633     for ac_exec_ext in '' $ac_executable_extensions; do
   8634   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8635     ac_cv_prog_ac_ct_OTOOL="otool"
   8636     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8637     break 2
   8638   fi
   8639 done
   8640   done
   8641 IFS=$as_save_IFS
   8642 
   8643 fi
   8644 fi
   8645 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8646 if test -n "$ac_ct_OTOOL"; then
   8647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8648 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8649 else
   8650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8651 printf "%s\n" "no" >&6; }
   8652 fi
   8653 
   8654   if test "x$ac_ct_OTOOL" = x; then
   8655     OTOOL=":"
   8656   else
   8657     case $cross_compiling:$ac_tool_warned in
   8658 yes:)
   8659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8660 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8661 ac_tool_warned=yes ;;
   8662 esac
   8663     OTOOL=$ac_ct_OTOOL
   8664   fi
   8665 else
   8666   OTOOL="$ac_cv_prog_OTOOL"
   8667 fi
   8668 
   8669     if test -n "$ac_tool_prefix"; then
   8670   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8671 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8673 printf %s "checking for $ac_word... " >&6; }
   8674 if test ${ac_cv_prog_OTOOL64+y}
   8675 then :
   8676   printf %s "(cached) " >&6
   8677 else $as_nop
   8678   if test -n "$OTOOL64"; then
   8679   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8680 else
   8681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8682 for as_dir in $PATH
   8683 do
   8684   IFS=$as_save_IFS
   8685   case $as_dir in #(((
   8686     '') as_dir=./ ;;
   8687     */) ;;
   8688     *) as_dir=$as_dir/ ;;
   8689   esac
   8690     for ac_exec_ext in '' $ac_executable_extensions; do
   8691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8692     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8694     break 2
   8695   fi
   8696 done
   8697   done
   8698 IFS=$as_save_IFS
   8699 
   8700 fi
   8701 fi
   8702 OTOOL64=$ac_cv_prog_OTOOL64
   8703 if test -n "$OTOOL64"; then
   8704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8705 printf "%s\n" "$OTOOL64" >&6; }
   8706 else
   8707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8708 printf "%s\n" "no" >&6; }
   8709 fi
   8710 
   8711 
   8712 fi
   8713 if test -z "$ac_cv_prog_OTOOL64"; then
   8714   ac_ct_OTOOL64=$OTOOL64
   8715   # Extract the first word of "otool64", so it can be a program name with args.
   8716 set dummy otool64; ac_word=$2
   8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8718 printf %s "checking for $ac_word... " >&6; }
   8719 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8720 then :
   8721   printf %s "(cached) " >&6
   8722 else $as_nop
   8723   if test -n "$ac_ct_OTOOL64"; then
   8724   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8725 else
   8726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8727 for as_dir in $PATH
   8728 do
   8729   IFS=$as_save_IFS
   8730   case $as_dir in #(((
   8731     '') as_dir=./ ;;
   8732     */) ;;
   8733     *) as_dir=$as_dir/ ;;
   8734   esac
   8735     for ac_exec_ext in '' $ac_executable_extensions; do
   8736   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8737     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8738     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8739     break 2
   8740   fi
   8741 done
   8742   done
   8743 IFS=$as_save_IFS
   8744 
   8745 fi
   8746 fi
   8747 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8748 if test -n "$ac_ct_OTOOL64"; then
   8749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8750 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8751 else
   8752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8753 printf "%s\n" "no" >&6; }
   8754 fi
   8755 
   8756   if test "x$ac_ct_OTOOL64" = x; then
   8757     OTOOL64=":"
   8758   else
   8759     case $cross_compiling:$ac_tool_warned in
   8760 yes:)
   8761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8762 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8763 ac_tool_warned=yes ;;
   8764 esac
   8765     OTOOL64=$ac_ct_OTOOL64
   8766   fi
   8767 else
   8768   OTOOL64="$ac_cv_prog_OTOOL64"
   8769 fi
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8798 printf %s "checking for -single_module linker flag... " >&6; }
   8799 if test ${lt_cv_apple_cc_single_mod+y}
   8800 then :
   8801   printf %s "(cached) " >&6
   8802 else $as_nop
   8803   lt_cv_apple_cc_single_mod=no
   8804       if test -z "$LT_MULTI_MODULE"; then
   8805 	# By default we will add the -single_module flag. You can override
   8806 	# by either setting the environment variable LT_MULTI_MODULE
   8807 	# non-empty at configure time, or by adding -multi_module to the
   8808 	# link flags.
   8809 	rm -rf libconftest.dylib*
   8810 	echo "int foo(void){return 1;}" > conftest.c
   8811 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8812 -dynamiclib -Wl,-single_module conftest.c" >&5
   8813 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8814 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8815         _lt_result=$?
   8816 	# If there is a non-empty error log, and "single_module"
   8817 	# appears in it, assume the flag caused a linker warning
   8818         if test -s conftest.err && $GREP single_module conftest.err; then
   8819 	  cat conftest.err >&5
   8820 	# Otherwise, if the output was created with a 0 exit code from
   8821 	# the compiler, it worked.
   8822 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8823 	  lt_cv_apple_cc_single_mod=yes
   8824 	else
   8825 	  cat conftest.err >&5
   8826 	fi
   8827 	rm -rf libconftest.dylib*
   8828 	rm -f conftest.*
   8829       fi
   8830 fi
   8831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8832 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8833 
   8834     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8835 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8836 if test ${lt_cv_ld_exported_symbols_list+y}
   8837 then :
   8838   printf %s "(cached) " >&6
   8839 else $as_nop
   8840   lt_cv_ld_exported_symbols_list=no
   8841       save_LDFLAGS=$LDFLAGS
   8842       echo "_main" > conftest.sym
   8843       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 
   8847 int
   8848 main (void)
   8849 {
   8850 
   8851   ;
   8852   return 0;
   8853 }
   8854 _ACEOF
   8855 if ac_fn_c_try_link "$LINENO"
   8856 then :
   8857   lt_cv_ld_exported_symbols_list=yes
   8858 else $as_nop
   8859   lt_cv_ld_exported_symbols_list=no
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8862     conftest$ac_exeext conftest.$ac_ext
   8863 	LDFLAGS=$save_LDFLAGS
   8864 
   8865 fi
   8866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8867 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8868 
   8869     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8870 printf %s "checking for -force_load linker flag... " >&6; }
   8871 if test ${lt_cv_ld_force_load+y}
   8872 then :
   8873   printf %s "(cached) " >&6
   8874 else $as_nop
   8875   lt_cv_ld_force_load=no
   8876       cat > conftest.c << _LT_EOF
   8877 int forced_loaded() { return 2;}
   8878 _LT_EOF
   8879       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8880       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8881       echo "$AR cru libconftest.a conftest.o" >&5
   8882       $AR cru libconftest.a conftest.o 2>&5
   8883       echo "$RANLIB libconftest.a" >&5
   8884       $RANLIB libconftest.a 2>&5
   8885       cat > conftest.c << _LT_EOF
   8886 int main() { return 0;}
   8887 _LT_EOF
   8888       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8889       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8890       _lt_result=$?
   8891       if test -s conftest.err && $GREP force_load conftest.err; then
   8892 	cat conftest.err >&5
   8893       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8894 	lt_cv_ld_force_load=yes
   8895       else
   8896 	cat conftest.err >&5
   8897       fi
   8898         rm -f conftest.err libconftest.a conftest conftest.c
   8899         rm -rf conftest.dSYM
   8900 
   8901 fi
   8902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8903 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8904     case $host_os in
   8905     rhapsody* | darwin1.[012])
   8906       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8907     darwin1.*)
   8908       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8909     darwin*) # darwin 5.x on
   8910       # if running on 10.5 or later, the deployment target defaults
   8911       # to the OS version, if on x86, and 10.4, the deployment
   8912       # target defaults to 10.4. Don't you love it?
   8913       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8914 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8915 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8916 	10.[012][,.]*)
   8917 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8918 	10.*|11.*)
   8919 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8920       esac
   8921     ;;
   8922   esac
   8923     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8924       _lt_dar_single_mod='$single_module'
   8925     fi
   8926     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8927       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8928     else
   8929       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8930     fi
   8931     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8932       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8933     else
   8934       _lt_dsymutil=
   8935     fi
   8936     ;;
   8937   esac
   8938 
   8939 # func_munge_path_list VARIABLE PATH
   8940 # -----------------------------------
   8941 # VARIABLE is name of variable containing _space_ separated list of
   8942 # directories to be munged by the contents of PATH, which is string
   8943 # having a format:
   8944 # "DIR[:DIR]:"
   8945 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8946 # ":DIR[:DIR]"
   8947 #       string "DIR[ DIR]" will be appended to VARIABLE
   8948 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8949 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8950 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8951 # "DIR[:DIR]"
   8952 #       VARIABLE will be replaced by "DIR[ DIR]"
   8953 func_munge_path_list ()
   8954 {
   8955     case x$2 in
   8956     x)
   8957         ;;
   8958     *:)
   8959         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8960         ;;
   8961     x:*)
   8962         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8963         ;;
   8964     *::*)
   8965         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8966         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8967         ;;
   8968     *)
   8969         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8970         ;;
   8971     esac
   8972 }
   8973 
   8974 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8975 "
   8976 if test "x$ac_cv_header_dlfcn_h" = xyes
   8977 then :
   8978   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8979 
   8980 fi
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 # Set options
   8987 enable_win32_dll=yes
   8988 
   8989 case $host in
   8990 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   8991   if test -n "$ac_tool_prefix"; then
   8992   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   8993 set dummy ${ac_tool_prefix}as; ac_word=$2
   8994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8995 printf %s "checking for $ac_word... " >&6; }
   8996 if test ${ac_cv_prog_AS+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else $as_nop
   9000   if test -n "$AS"; then
   9001   ac_cv_prog_AS="$AS" # Let the user override the test.
   9002 else
   9003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9004 for as_dir in $PATH
   9005 do
   9006   IFS=$as_save_IFS
   9007   case $as_dir in #(((
   9008     '') as_dir=./ ;;
   9009     */) ;;
   9010     *) as_dir=$as_dir/ ;;
   9011   esac
   9012     for ac_exec_ext in '' $ac_executable_extensions; do
   9013   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9014     ac_cv_prog_AS="${ac_tool_prefix}as"
   9015     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9016     break 2
   9017   fi
   9018 done
   9019   done
   9020 IFS=$as_save_IFS
   9021 
   9022 fi
   9023 fi
   9024 AS=$ac_cv_prog_AS
   9025 if test -n "$AS"; then
   9026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   9027 printf "%s\n" "$AS" >&6; }
   9028 else
   9029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9030 printf "%s\n" "no" >&6; }
   9031 fi
   9032 
   9033 
   9034 fi
   9035 if test -z "$ac_cv_prog_AS"; then
   9036   ac_ct_AS=$AS
   9037   # Extract the first word of "as", so it can be a program name with args.
   9038 set dummy as; ac_word=$2
   9039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9040 printf %s "checking for $ac_word... " >&6; }
   9041 if test ${ac_cv_prog_ac_ct_AS+y}
   9042 then :
   9043   printf %s "(cached) " >&6
   9044 else $as_nop
   9045   if test -n "$ac_ct_AS"; then
   9046   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   9047 else
   9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9049 for as_dir in $PATH
   9050 do
   9051   IFS=$as_save_IFS
   9052   case $as_dir in #(((
   9053     '') as_dir=./ ;;
   9054     */) ;;
   9055     *) as_dir=$as_dir/ ;;
   9056   esac
   9057     for ac_exec_ext in '' $ac_executable_extensions; do
   9058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9059     ac_cv_prog_ac_ct_AS="as"
   9060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9061     break 2
   9062   fi
   9063 done
   9064   done
   9065 IFS=$as_save_IFS
   9066 
   9067 fi
   9068 fi
   9069 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   9070 if test -n "$ac_ct_AS"; then
   9071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   9072 printf "%s\n" "$ac_ct_AS" >&6; }
   9073 else
   9074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9075 printf "%s\n" "no" >&6; }
   9076 fi
   9077 
   9078   if test "x$ac_ct_AS" = x; then
   9079     AS="false"
   9080   else
   9081     case $cross_compiling:$ac_tool_warned in
   9082 yes:)
   9083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9084 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9085 ac_tool_warned=yes ;;
   9086 esac
   9087     AS=$ac_ct_AS
   9088   fi
   9089 else
   9090   AS="$ac_cv_prog_AS"
   9091 fi
   9092 
   9093   if test -n "$ac_tool_prefix"; then
   9094   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   9095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9097 printf %s "checking for $ac_word... " >&6; }
   9098 if test ${ac_cv_prog_DLLTOOL+y}
   9099 then :
   9100   printf %s "(cached) " >&6
   9101 else $as_nop
   9102   if test -n "$DLLTOOL"; then
   9103   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   9104 else
   9105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9106 for as_dir in $PATH
   9107 do
   9108   IFS=$as_save_IFS
   9109   case $as_dir in #(((
   9110     '') as_dir=./ ;;
   9111     */) ;;
   9112     *) as_dir=$as_dir/ ;;
   9113   esac
   9114     for ac_exec_ext in '' $ac_executable_extensions; do
   9115   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9116     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   9117     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9118     break 2
   9119   fi
   9120 done
   9121   done
   9122 IFS=$as_save_IFS
   9123 
   9124 fi
   9125 fi
   9126 DLLTOOL=$ac_cv_prog_DLLTOOL
   9127 if test -n "$DLLTOOL"; then
   9128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   9129 printf "%s\n" "$DLLTOOL" >&6; }
   9130 else
   9131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9132 printf "%s\n" "no" >&6; }
   9133 fi
   9134 
   9135 
   9136 fi
   9137 if test -z "$ac_cv_prog_DLLTOOL"; then
   9138   ac_ct_DLLTOOL=$DLLTOOL
   9139   # Extract the first word of "dlltool", so it can be a program name with args.
   9140 set dummy dlltool; ac_word=$2
   9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9142 printf %s "checking for $ac_word... " >&6; }
   9143 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   9144 then :
   9145   printf %s "(cached) " >&6
   9146 else $as_nop
   9147   if test -n "$ac_ct_DLLTOOL"; then
   9148   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   9149 else
   9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9151 for as_dir in $PATH
   9152 do
   9153   IFS=$as_save_IFS
   9154   case $as_dir in #(((
   9155     '') as_dir=./ ;;
   9156     */) ;;
   9157     *) as_dir=$as_dir/ ;;
   9158   esac
   9159     for ac_exec_ext in '' $ac_executable_extensions; do
   9160   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9161     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   9162     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9163     break 2
   9164   fi
   9165 done
   9166   done
   9167 IFS=$as_save_IFS
   9168 
   9169 fi
   9170 fi
   9171 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   9172 if test -n "$ac_ct_DLLTOOL"; then
   9173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   9174 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   9175 else
   9176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9177 printf "%s\n" "no" >&6; }
   9178 fi
   9179 
   9180   if test "x$ac_ct_DLLTOOL" = x; then
   9181     DLLTOOL="false"
   9182   else
   9183     case $cross_compiling:$ac_tool_warned in
   9184 yes:)
   9185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9186 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9187 ac_tool_warned=yes ;;
   9188 esac
   9189     DLLTOOL=$ac_ct_DLLTOOL
   9190   fi
   9191 else
   9192   DLLTOOL="$ac_cv_prog_DLLTOOL"
   9193 fi
   9194 
   9195   if test -n "$ac_tool_prefix"; then
   9196   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   9197 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9199 printf %s "checking for $ac_word... " >&6; }
   9200 if test ${ac_cv_prog_OBJDUMP+y}
   9201 then :
   9202   printf %s "(cached) " >&6
   9203 else $as_nop
   9204   if test -n "$OBJDUMP"; then
   9205   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   9206 else
   9207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9208 for as_dir in $PATH
   9209 do
   9210   IFS=$as_save_IFS
   9211   case $as_dir in #(((
   9212     '') as_dir=./ ;;
   9213     */) ;;
   9214     *) as_dir=$as_dir/ ;;
   9215   esac
   9216     for ac_exec_ext in '' $ac_executable_extensions; do
   9217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9218     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   9219     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9220     break 2
   9221   fi
   9222 done
   9223   done
   9224 IFS=$as_save_IFS
   9225 
   9226 fi
   9227 fi
   9228 OBJDUMP=$ac_cv_prog_OBJDUMP
   9229 if test -n "$OBJDUMP"; then
   9230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   9231 printf "%s\n" "$OBJDUMP" >&6; }
   9232 else
   9233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9234 printf "%s\n" "no" >&6; }
   9235 fi
   9236 
   9237 
   9238 fi
   9239 if test -z "$ac_cv_prog_OBJDUMP"; then
   9240   ac_ct_OBJDUMP=$OBJDUMP
   9241   # Extract the first word of "objdump", so it can be a program name with args.
   9242 set dummy objdump; ac_word=$2
   9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9244 printf %s "checking for $ac_word... " >&6; }
   9245 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   9246 then :
   9247   printf %s "(cached) " >&6
   9248 else $as_nop
   9249   if test -n "$ac_ct_OBJDUMP"; then
   9250   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   9251 else
   9252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9253 for as_dir in $PATH
   9254 do
   9255   IFS=$as_save_IFS
   9256   case $as_dir in #(((
   9257     '') as_dir=./ ;;
   9258     */) ;;
   9259     *) as_dir=$as_dir/ ;;
   9260   esac
   9261     for ac_exec_ext in '' $ac_executable_extensions; do
   9262   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9263     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   9264     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9265     break 2
   9266   fi
   9267 done
   9268   done
   9269 IFS=$as_save_IFS
   9270 
   9271 fi
   9272 fi
   9273 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   9274 if test -n "$ac_ct_OBJDUMP"; then
   9275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   9276 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   9277 else
   9278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9279 printf "%s\n" "no" >&6; }
   9280 fi
   9281 
   9282   if test "x$ac_ct_OBJDUMP" = x; then
   9283     OBJDUMP="false"
   9284   else
   9285     case $cross_compiling:$ac_tool_warned in
   9286 yes:)
   9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9288 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9289 ac_tool_warned=yes ;;
   9290 esac
   9291     OBJDUMP=$ac_ct_OBJDUMP
   9292   fi
   9293 else
   9294   OBJDUMP="$ac_cv_prog_OBJDUMP"
   9295 fi
   9296 
   9297   ;;
   9298 esac
   9299 
   9300 test -z "$AS" && AS=as
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 test -z "$DLLTOOL" && DLLTOOL=dlltool
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 test -z "$OBJDUMP" && OBJDUMP=objdump
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320         enable_dlopen=no
   9321 
   9322 
   9323 
   9324             # Check whether --enable-shared was given.
   9325 if test ${enable_shared+y}
   9326 then :
   9327   enableval=$enable_shared; p=${PACKAGE-default}
   9328     case $enableval in
   9329     yes) enable_shared=yes ;;
   9330     no) enable_shared=no ;;
   9331     *)
   9332       enable_shared=no
   9333       # Look at the argument we got.  We use all the common list separators.
   9334       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9335       for pkg in $enableval; do
   9336 	IFS=$lt_save_ifs
   9337 	if test "X$pkg" = "X$p"; then
   9338 	  enable_shared=yes
   9339 	fi
   9340       done
   9341       IFS=$lt_save_ifs
   9342       ;;
   9343     esac
   9344 else $as_nop
   9345   enable_shared=yes
   9346 fi
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356   # Check whether --enable-static was given.
   9357 if test ${enable_static+y}
   9358 then :
   9359   enableval=$enable_static; p=${PACKAGE-default}
   9360     case $enableval in
   9361     yes) enable_static=yes ;;
   9362     no) enable_static=no ;;
   9363     *)
   9364      enable_static=no
   9365       # Look at the argument we got.  We use all the common list separators.
   9366       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9367       for pkg in $enableval; do
   9368 	IFS=$lt_save_ifs
   9369 	if test "X$pkg" = "X$p"; then
   9370 	  enable_static=yes
   9371 	fi
   9372       done
   9373       IFS=$lt_save_ifs
   9374       ;;
   9375     esac
   9376 else $as_nop
   9377   enable_static=yes
   9378 fi
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 # Check whether --with-pic was given.
   9390 if test ${with_pic+y}
   9391 then :
   9392   withval=$with_pic; lt_p=${PACKAGE-default}
   9393     case $withval in
   9394     yes|no) pic_mode=$withval ;;
   9395     *)
   9396       pic_mode=default
   9397       # Look at the argument we got.  We use all the common list separators.
   9398       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9399       for lt_pkg in $withval; do
   9400 	IFS=$lt_save_ifs
   9401 	if test "X$lt_pkg" = "X$lt_p"; then
   9402 	  pic_mode=yes
   9403 	fi
   9404       done
   9405       IFS=$lt_save_ifs
   9406       ;;
   9407     esac
   9408 else $as_nop
   9409   pic_mode=default
   9410 fi
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419   # Check whether --enable-fast-install was given.
   9420 if test ${enable_fast_install+y}
   9421 then :
   9422   enableval=$enable_fast_install; p=${PACKAGE-default}
   9423     case $enableval in
   9424     yes) enable_fast_install=yes ;;
   9425     no) enable_fast_install=no ;;
   9426     *)
   9427       enable_fast_install=no
   9428       # Look at the argument we got.  We use all the common list separators.
   9429       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9430       for pkg in $enableval; do
   9431 	IFS=$lt_save_ifs
   9432 	if test "X$pkg" = "X$p"; then
   9433 	  enable_fast_install=yes
   9434 	fi
   9435       done
   9436       IFS=$lt_save_ifs
   9437       ;;
   9438     esac
   9439 else $as_nop
   9440   enable_fast_install=yes
   9441 fi
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450   shared_archive_member_spec=
   9451 case $host,$enable_shared in
   9452 power*-*-aix[5-9]*,yes)
   9453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9454 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9455 
   9456 # Check whether --with-aix-soname was given.
   9457 if test ${with_aix_soname+y}
   9458 then :
   9459   withval=$with_aix_soname; case $withval in
   9460     aix|svr4|both)
   9461       ;;
   9462     *)
   9463       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9464       ;;
   9465     esac
   9466     lt_cv_with_aix_soname=$with_aix_soname
   9467 else $as_nop
   9468   if test ${lt_cv_with_aix_soname+y}
   9469 then :
   9470   printf %s "(cached) " >&6
   9471 else $as_nop
   9472   lt_cv_with_aix_soname=aix
   9473 fi
   9474 
   9475     with_aix_soname=$lt_cv_with_aix_soname
   9476 fi
   9477 
   9478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9479 printf "%s\n" "$with_aix_soname" >&6; }
   9480   if test aix != "$with_aix_soname"; then
   9481     # For the AIX way of multilib, we name the shared archive member
   9482     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9483     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9484     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9485     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9486     if test 64 = "${OBJECT_MODE-32}"; then
   9487       shared_archive_member_spec=shr_64
   9488     else
   9489       shared_archive_member_spec=shr
   9490     fi
   9491   fi
   9492   ;;
   9493 *)
   9494   with_aix_soname=aix
   9495   ;;
   9496 esac
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 # This can be used to rebuild libtool when needed
   9508 LIBTOOL_DEPS=$ltmain
   9509 
   9510 # Always use our own libtool.
   9511 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 test -z "$LN_S" && LN_S="ln -s"
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 if test -n "${ZSH_VERSION+set}"; then
   9558    setopt NO_GLOB_SUBST
   9559 fi
   9560 
   9561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9562 printf %s "checking for objdir... " >&6; }
   9563 if test ${lt_cv_objdir+y}
   9564 then :
   9565   printf %s "(cached) " >&6
   9566 else $as_nop
   9567   rm -f .libs 2>/dev/null
   9568 mkdir .libs 2>/dev/null
   9569 if test -d .libs; then
   9570   lt_cv_objdir=.libs
   9571 else
   9572   # MS-DOS does not allow filenames that begin with a dot.
   9573   lt_cv_objdir=_libs
   9574 fi
   9575 rmdir .libs 2>/dev/null
   9576 fi
   9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9578 printf "%s\n" "$lt_cv_objdir" >&6; }
   9579 objdir=$lt_cv_objdir
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9586 
   9587 
   9588 
   9589 
   9590 case $host_os in
   9591 aix3*)
   9592   # AIX sometimes has problems with the GCC collect2 program.  For some
   9593   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9594   # vanish in a puff of smoke.
   9595   if test set != "${COLLECT_NAMES+set}"; then
   9596     COLLECT_NAMES=
   9597     export COLLECT_NAMES
   9598   fi
   9599   ;;
   9600 esac
   9601 
   9602 # Global variables:
   9603 ofile=libtool
   9604 can_build_shared=yes
   9605 
   9606 # All known linkers require a '.a' archive for static linking (except MSVC,
   9607 # which needs '.lib').
   9608 libext=a
   9609 
   9610 with_gnu_ld=$lt_cv_prog_gnu_ld
   9611 
   9612 old_CC=$CC
   9613 old_CFLAGS=$CFLAGS
   9614 
   9615 # Set sane defaults for various variables
   9616 test -z "$CC" && CC=cc
   9617 test -z "$LTCC" && LTCC=$CC
   9618 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9619 test -z "$LD" && LD=ld
   9620 test -z "$ac_objext" && ac_objext=o
   9621 
   9622 func_cc_basename $compiler
   9623 cc_basename=$func_cc_basename_result
   9624 
   9625 
   9626 # Only perform the check for file, if the check method requires it
   9627 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9628 case $deplibs_check_method in
   9629 file_magic*)
   9630   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9631     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9632 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9633 if test ${lt_cv_path_MAGIC_CMD+y}
   9634 then :
   9635   printf %s "(cached) " >&6
   9636 else $as_nop
   9637   case $MAGIC_CMD in
   9638 [\\/*] |  ?:[\\/]*)
   9639   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9640   ;;
   9641 *)
   9642   lt_save_MAGIC_CMD=$MAGIC_CMD
   9643   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9644   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9645   for ac_dir in $ac_dummy; do
   9646     IFS=$lt_save_ifs
   9647     test -z "$ac_dir" && ac_dir=.
   9648     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9649       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9650       if test -n "$file_magic_test_file"; then
   9651 	case $deplibs_check_method in
   9652 	"file_magic "*)
   9653 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9654 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9655 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9656 	    $EGREP "$file_magic_regex" > /dev/null; then
   9657 	    :
   9658 	  else
   9659 	    cat <<_LT_EOF 1>&2
   9660 
   9661 *** Warning: the command libtool uses to detect shared libraries,
   9662 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9663 *** The result is that libtool may fail to recognize shared libraries
   9664 *** as such.  This will affect the creation of libtool libraries that
   9665 *** depend on shared libraries, but programs linked with such libtool
   9666 *** libraries will work regardless of this problem.  Nevertheless, you
   9667 *** may want to report the problem to your system manager and/or to
   9668 *** bug-libtool@gnu.org
   9669 
   9670 _LT_EOF
   9671 	  fi ;;
   9672 	esac
   9673       fi
   9674       break
   9675     fi
   9676   done
   9677   IFS=$lt_save_ifs
   9678   MAGIC_CMD=$lt_save_MAGIC_CMD
   9679   ;;
   9680 esac
   9681 fi
   9682 
   9683 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9684 if test -n "$MAGIC_CMD"; then
   9685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9686 printf "%s\n" "$MAGIC_CMD" >&6; }
   9687 else
   9688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9689 printf "%s\n" "no" >&6; }
   9690 fi
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9697   if test -n "$ac_tool_prefix"; then
   9698     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9699 printf %s "checking for file... " >&6; }
   9700 if test ${lt_cv_path_MAGIC_CMD+y}
   9701 then :
   9702   printf %s "(cached) " >&6
   9703 else $as_nop
   9704   case $MAGIC_CMD in
   9705 [\\/*] |  ?:[\\/]*)
   9706   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9707   ;;
   9708 *)
   9709   lt_save_MAGIC_CMD=$MAGIC_CMD
   9710   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9711   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9712   for ac_dir in $ac_dummy; do
   9713     IFS=$lt_save_ifs
   9714     test -z "$ac_dir" && ac_dir=.
   9715     if test -f "$ac_dir/file"; then
   9716       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9717       if test -n "$file_magic_test_file"; then
   9718 	case $deplibs_check_method in
   9719 	"file_magic "*)
   9720 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9721 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9722 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9723 	    $EGREP "$file_magic_regex" > /dev/null; then
   9724 	    :
   9725 	  else
   9726 	    cat <<_LT_EOF 1>&2
   9727 
   9728 *** Warning: the command libtool uses to detect shared libraries,
   9729 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9730 *** The result is that libtool may fail to recognize shared libraries
   9731 *** as such.  This will affect the creation of libtool libraries that
   9732 *** depend on shared libraries, but programs linked with such libtool
   9733 *** libraries will work regardless of this problem.  Nevertheless, you
   9734 *** may want to report the problem to your system manager and/or to
   9735 *** bug-libtool@gnu.org
   9736 
   9737 _LT_EOF
   9738 	  fi ;;
   9739 	esac
   9740       fi
   9741       break
   9742     fi
   9743   done
   9744   IFS=$lt_save_ifs
   9745   MAGIC_CMD=$lt_save_MAGIC_CMD
   9746   ;;
   9747 esac
   9748 fi
   9749 
   9750 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9751 if test -n "$MAGIC_CMD"; then
   9752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9753 printf "%s\n" "$MAGIC_CMD" >&6; }
   9754 else
   9755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9756 printf "%s\n" "no" >&6; }
   9757 fi
   9758 
   9759 
   9760   else
   9761     MAGIC_CMD=:
   9762   fi
   9763 fi
   9764 
   9765   fi
   9766   ;;
   9767 esac
   9768 
   9769 # Use C for the default configuration in the libtool script
   9770 
   9771 lt_save_CC=$CC
   9772 ac_ext=c
   9773 ac_cpp='$CPP $CPPFLAGS'
   9774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9777 
   9778 
   9779 # Source file extension for C test sources.
   9780 ac_ext=c
   9781 
   9782 # Object file extension for compiled C test sources.
   9783 objext=o
   9784 objext=$objext
   9785 
   9786 # Code to be used in simple compile tests
   9787 lt_simple_compile_test_code="int some_variable = 0;"
   9788 
   9789 # Code to be used in simple link tests
   9790 lt_simple_link_test_code='int main(){return(0);}'
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 # If no C compiler was specified, use CC.
   9799 LTCC=${LTCC-"$CC"}
   9800 
   9801 # If no C compiler flags were specified, use CFLAGS.
   9802 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9803 
   9804 # Allow CC to be a program name with arguments.
   9805 compiler=$CC
   9806 
   9807 # Save the default compiler, since it gets overwritten when the other
   9808 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9809 compiler_DEFAULT=$CC
   9810 
   9811 # save warnings/boilerplate of simple test code
   9812 ac_outfile=conftest.$ac_objext
   9813 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9814 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9815 _lt_compiler_boilerplate=`cat conftest.err`
   9816 $RM conftest*
   9817 
   9818 ac_outfile=conftest.$ac_objext
   9819 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9820 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9821 _lt_linker_boilerplate=`cat conftest.err`
   9822 $RM -r conftest*
   9823 
   9824 
   9825 ## CAVEAT EMPTOR:
   9826 ## There is no encapsulation within the following macros, do not change
   9827 ## the running order or otherwise move them around unless you know exactly
   9828 ## what you are doing...
   9829 if test -n "$compiler"; then
   9830 
   9831 lt_prog_compiler_no_builtin_flag=
   9832 
   9833 if test yes = "$GCC"; then
   9834   case $cc_basename in
   9835   nvcc*)
   9836     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9837   *)
   9838     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9839   esac
   9840 
   9841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9842 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9843 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9844 then :
   9845   printf %s "(cached) " >&6
   9846 else $as_nop
   9847   lt_cv_prog_compiler_rtti_exceptions=no
   9848    ac_outfile=conftest.$ac_objext
   9849    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9850    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9851    # Insert the option either (1) after the last *FLAGS variable, or
   9852    # (2) before a word containing "conftest.", or (3) at the end.
   9853    # Note that $ac_compile itself does not contain backslashes and begins
   9854    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9855    # The option is referenced via a variable to avoid confusing sed.
   9856    lt_compile=`echo "$ac_compile" | $SED \
   9857    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9858    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9859    -e 's:$: $lt_compiler_flag:'`
   9860    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9861    (eval "$lt_compile" 2>conftest.err)
   9862    ac_status=$?
   9863    cat conftest.err >&5
   9864    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9865    if (exit $ac_status) && test -s "$ac_outfile"; then
   9866      # The compiler can only warn and ignore the option if not recognized
   9867      # So say no if there are warnings other than the usual output.
   9868      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9869      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9870      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9871        lt_cv_prog_compiler_rtti_exceptions=yes
   9872      fi
   9873    fi
   9874    $RM conftest*
   9875 
   9876 fi
   9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9878 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9879 
   9880 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9881     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9882 else
   9883     :
   9884 fi
   9885 
   9886 fi
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893   lt_prog_compiler_wl=
   9894 lt_prog_compiler_pic=
   9895 lt_prog_compiler_static=
   9896 
   9897 
   9898   if test yes = "$GCC"; then
   9899     lt_prog_compiler_wl='-Wl,'
   9900     lt_prog_compiler_static='-static'
   9901 
   9902     case $host_os in
   9903       aix*)
   9904       # All AIX code is PIC.
   9905       if test ia64 = "$host_cpu"; then
   9906 	# AIX 5 now supports IA64 processor
   9907 	lt_prog_compiler_static='-Bstatic'
   9908       fi
   9909       lt_prog_compiler_pic='-fPIC'
   9910       ;;
   9911 
   9912     amigaos*)
   9913       case $host_cpu in
   9914       powerpc)
   9915             # see comment about AmigaOS4 .so support
   9916             lt_prog_compiler_pic='-fPIC'
   9917         ;;
   9918       m68k)
   9919             # FIXME: we need at least 68020 code to build shared libraries, but
   9920             # adding the '-m68020' flag to GCC prevents building anything better,
   9921             # like '-m68040'.
   9922             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9923         ;;
   9924       esac
   9925       ;;
   9926 
   9927     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9928       # PIC is the default for these OSes.
   9929       ;;
   9930 
   9931     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9932       # This hack is so that the source file can tell whether it is being
   9933       # built for inclusion in a dll (and should export symbols for example).
   9934       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9935       # (--disable-auto-import) libraries
   9936       lt_prog_compiler_pic='-DDLL_EXPORT'
   9937       case $host_os in
   9938       os2*)
   9939 	lt_prog_compiler_static='$wl-static'
   9940 	;;
   9941       esac
   9942       ;;
   9943 
   9944     darwin* | rhapsody*)
   9945       # PIC is the default on this platform
   9946       # Common symbols not allowed in MH_DYLIB files
   9947       lt_prog_compiler_pic='-fno-common'
   9948       ;;
   9949 
   9950     haiku*)
   9951       # PIC is the default for Haiku.
   9952       # The "-static" flag exists, but is broken.
   9953       lt_prog_compiler_static=
   9954       ;;
   9955 
   9956     hpux*)
   9957       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9958       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9959       # sets the default TLS model and affects inlining.
   9960       case $host_cpu in
   9961       hppa*64*)
   9962 	# +Z the default
   9963 	;;
   9964       *)
   9965 	lt_prog_compiler_pic='-fPIC'
   9966 	;;
   9967       esac
   9968       ;;
   9969 
   9970     interix[3-9]*)
   9971       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9972       # Instead, we relocate shared libraries at runtime.
   9973       ;;
   9974 
   9975     msdosdjgpp*)
   9976       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9977       # on systems that don't support them.
   9978       lt_prog_compiler_can_build_shared=no
   9979       enable_shared=no
   9980       ;;
   9981 
   9982     *nto* | *qnx*)
   9983       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9984       # it will coredump.
   9985       lt_prog_compiler_pic='-fPIC -shared'
   9986       ;;
   9987 
   9988     sysv4*MP*)
   9989       if test -d /usr/nec; then
   9990 	lt_prog_compiler_pic=-Kconform_pic
   9991       fi
   9992       ;;
   9993 
   9994     *)
   9995       lt_prog_compiler_pic='-fPIC'
   9996       ;;
   9997     esac
   9998 
   9999     case $cc_basename in
   10000     nvcc*) # Cuda Compiler Driver 2.2
   10001       lt_prog_compiler_wl='-Xlinker '
   10002       if test -n "$lt_prog_compiler_pic"; then
   10003         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10004       fi
   10005       ;;
   10006     esac
   10007   else
   10008     # PORTME Check for flag to pass linker flags through the system compiler.
   10009     case $host_os in
   10010     aix*)
   10011       lt_prog_compiler_wl='-Wl,'
   10012       if test ia64 = "$host_cpu"; then
   10013 	# AIX 5 now supports IA64 processor
   10014 	lt_prog_compiler_static='-Bstatic'
   10015       else
   10016 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10017       fi
   10018       ;;
   10019 
   10020     darwin* | rhapsody*)
   10021       # PIC is the default on this platform
   10022       # Common symbols not allowed in MH_DYLIB files
   10023       lt_prog_compiler_pic='-fno-common'
   10024       case $cc_basename in
   10025       nagfor*)
   10026         # NAG Fortran compiler
   10027         lt_prog_compiler_wl='-Wl,-Wl,,'
   10028         lt_prog_compiler_pic='-PIC'
   10029         lt_prog_compiler_static='-Bstatic'
   10030         ;;
   10031       esac
   10032       ;;
   10033 
   10034     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10035       # This hack is so that the source file can tell whether it is being
   10036       # built for inclusion in a dll (and should export symbols for example).
   10037       lt_prog_compiler_pic='-DDLL_EXPORT'
   10038       case $host_os in
   10039       os2*)
   10040 	lt_prog_compiler_static='$wl-static'
   10041 	;;
   10042       esac
   10043       ;;
   10044 
   10045     hpux9* | hpux10* | hpux11*)
   10046       lt_prog_compiler_wl='-Wl,'
   10047       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10048       # not for PA HP-UX.
   10049       case $host_cpu in
   10050       hppa*64*|ia64*)
   10051 	# +Z the default
   10052 	;;
   10053       *)
   10054 	lt_prog_compiler_pic='+Z'
   10055 	;;
   10056       esac
   10057       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10058       lt_prog_compiler_static='$wl-a ${wl}archive'
   10059       ;;
   10060 
   10061     irix5* | irix6* | nonstopux*)
   10062       lt_prog_compiler_wl='-Wl,'
   10063       # PIC (with -KPIC) is the default.
   10064       lt_prog_compiler_static='-non_shared'
   10065       ;;
   10066 
   10067     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10068       case $cc_basename in
   10069       # old Intel for x86_64, which still supported -KPIC.
   10070       ecc*)
   10071 	lt_prog_compiler_wl='-Wl,'
   10072 	lt_prog_compiler_pic='-KPIC'
   10073 	lt_prog_compiler_static='-static'
   10074         ;;
   10075       # icc used to be incompatible with GCC.
   10076       # ICC 10 doesn't accept -KPIC any more.
   10077       icc* | ifort*)
   10078 	lt_prog_compiler_wl='-Wl,'
   10079 	lt_prog_compiler_pic='-fPIC'
   10080 	lt_prog_compiler_static='-static'
   10081         ;;
   10082       # Lahey Fortran 8.1.
   10083       lf95*)
   10084 	lt_prog_compiler_wl='-Wl,'
   10085 	lt_prog_compiler_pic='--shared'
   10086 	lt_prog_compiler_static='--static'
   10087 	;;
   10088       nagfor*)
   10089 	# NAG Fortran compiler
   10090 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10091 	lt_prog_compiler_pic='-PIC'
   10092 	lt_prog_compiler_static='-Bstatic'
   10093 	;;
   10094       tcc*)
   10095 	# Fabrice Bellard et al's Tiny C Compiler
   10096 	lt_prog_compiler_wl='-Wl,'
   10097 	lt_prog_compiler_pic='-fPIC'
   10098 	lt_prog_compiler_static='-static'
   10099 	;;
   10100       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10101         # Portland Group compilers (*not* the Pentium gcc compiler,
   10102 	# which looks to be a dead project)
   10103 	lt_prog_compiler_wl='-Wl,'
   10104 	lt_prog_compiler_pic='-fpic'
   10105 	lt_prog_compiler_static='-Bstatic'
   10106         ;;
   10107       ccc*)
   10108         lt_prog_compiler_wl='-Wl,'
   10109         # All Alpha code is PIC.
   10110         lt_prog_compiler_static='-non_shared'
   10111         ;;
   10112       xl* | bgxl* | bgf* | mpixl*)
   10113 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10114 	lt_prog_compiler_wl='-Wl,'
   10115 	lt_prog_compiler_pic='-qpic'
   10116 	lt_prog_compiler_static='-qstaticlink'
   10117 	;;
   10118       *)
   10119 	case `$CC -V 2>&1 | sed 5q` in
   10120 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10121 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10122 	  lt_prog_compiler_pic='-KPIC'
   10123 	  lt_prog_compiler_static='-Bstatic'
   10124 	  lt_prog_compiler_wl=''
   10125 	  ;;
   10126 	*Sun\ F* | *Sun*Fortran*)
   10127 	  lt_prog_compiler_pic='-KPIC'
   10128 	  lt_prog_compiler_static='-Bstatic'
   10129 	  lt_prog_compiler_wl='-Qoption ld '
   10130 	  ;;
   10131 	*Sun\ C*)
   10132 	  # Sun C 5.9
   10133 	  lt_prog_compiler_pic='-KPIC'
   10134 	  lt_prog_compiler_static='-Bstatic'
   10135 	  lt_prog_compiler_wl='-Wl,'
   10136 	  ;;
   10137         *Intel*\ [CF]*Compiler*)
   10138 	  lt_prog_compiler_wl='-Wl,'
   10139 	  lt_prog_compiler_pic='-fPIC'
   10140 	  lt_prog_compiler_static='-static'
   10141 	  ;;
   10142 	*Portland\ Group*)
   10143 	  lt_prog_compiler_wl='-Wl,'
   10144 	  lt_prog_compiler_pic='-fpic'
   10145 	  lt_prog_compiler_static='-Bstatic'
   10146 	  ;;
   10147 	esac
   10148 	;;
   10149       esac
   10150       ;;
   10151 
   10152     newsos6)
   10153       lt_prog_compiler_pic='-KPIC'
   10154       lt_prog_compiler_static='-Bstatic'
   10155       ;;
   10156 
   10157     *nto* | *qnx*)
   10158       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10159       # it will coredump.
   10160       lt_prog_compiler_pic='-fPIC -shared'
   10161       ;;
   10162 
   10163     osf3* | osf4* | osf5*)
   10164       lt_prog_compiler_wl='-Wl,'
   10165       # All OSF/1 code is PIC.
   10166       lt_prog_compiler_static='-non_shared'
   10167       ;;
   10168 
   10169     rdos*)
   10170       lt_prog_compiler_static='-non_shared'
   10171       ;;
   10172 
   10173     solaris*)
   10174       lt_prog_compiler_pic='-KPIC'
   10175       lt_prog_compiler_static='-Bstatic'
   10176       case $cc_basename in
   10177       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10178 	lt_prog_compiler_wl='-Qoption ld ';;
   10179       *)
   10180 	lt_prog_compiler_wl='-Wl,';;
   10181       esac
   10182       ;;
   10183 
   10184     sunos4*)
   10185       lt_prog_compiler_wl='-Qoption ld '
   10186       lt_prog_compiler_pic='-PIC'
   10187       lt_prog_compiler_static='-Bstatic'
   10188       ;;
   10189 
   10190     sysv4 | sysv4.2uw2* | sysv4.3*)
   10191       lt_prog_compiler_wl='-Wl,'
   10192       lt_prog_compiler_pic='-KPIC'
   10193       lt_prog_compiler_static='-Bstatic'
   10194       ;;
   10195 
   10196     sysv4*MP*)
   10197       if test -d /usr/nec; then
   10198 	lt_prog_compiler_pic='-Kconform_pic'
   10199 	lt_prog_compiler_static='-Bstatic'
   10200       fi
   10201       ;;
   10202 
   10203     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10204       lt_prog_compiler_wl='-Wl,'
   10205       lt_prog_compiler_pic='-KPIC'
   10206       lt_prog_compiler_static='-Bstatic'
   10207       ;;
   10208 
   10209     unicos*)
   10210       lt_prog_compiler_wl='-Wl,'
   10211       lt_prog_compiler_can_build_shared=no
   10212       ;;
   10213 
   10214     uts4*)
   10215       lt_prog_compiler_pic='-pic'
   10216       lt_prog_compiler_static='-Bstatic'
   10217       ;;
   10218 
   10219     *)
   10220       lt_prog_compiler_can_build_shared=no
   10221       ;;
   10222     esac
   10223   fi
   10224 
   10225 case $host_os in
   10226   # For platforms that do not support PIC, -DPIC is meaningless:
   10227   *djgpp*)
   10228     lt_prog_compiler_pic=
   10229     ;;
   10230   *)
   10231     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10232     ;;
   10233 esac
   10234 
   10235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10236 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10237 if test ${lt_cv_prog_compiler_pic+y}
   10238 then :
   10239   printf %s "(cached) " >&6
   10240 else $as_nop
   10241   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   10242 fi
   10243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10244 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10245 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10246 
   10247 #
   10248 # Check to make sure the PIC flag actually works.
   10249 #
   10250 if test -n "$lt_prog_compiler_pic"; then
   10251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10252 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10253 if test ${lt_cv_prog_compiler_pic_works+y}
   10254 then :
   10255   printf %s "(cached) " >&6
   10256 else $as_nop
   10257   lt_cv_prog_compiler_pic_works=no
   10258    ac_outfile=conftest.$ac_objext
   10259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10260    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10261    # Insert the option either (1) after the last *FLAGS variable, or
   10262    # (2) before a word containing "conftest.", or (3) at the end.
   10263    # Note that $ac_compile itself does not contain backslashes and begins
   10264    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10265    # The option is referenced via a variable to avoid confusing sed.
   10266    lt_compile=`echo "$ac_compile" | $SED \
   10267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10269    -e 's:$: $lt_compiler_flag:'`
   10270    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10271    (eval "$lt_compile" 2>conftest.err)
   10272    ac_status=$?
   10273    cat conftest.err >&5
   10274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10275    if (exit $ac_status) && test -s "$ac_outfile"; then
   10276      # The compiler can only warn and ignore the option if not recognized
   10277      # So say no if there are warnings other than the usual output.
   10278      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10279      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10280      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10281        lt_cv_prog_compiler_pic_works=yes
   10282      fi
   10283    fi
   10284    $RM conftest*
   10285 
   10286 fi
   10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10288 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10289 
   10290 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10291     case $lt_prog_compiler_pic in
   10292      "" | " "*) ;;
   10293      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10294      esac
   10295 else
   10296     lt_prog_compiler_pic=
   10297      lt_prog_compiler_can_build_shared=no
   10298 fi
   10299 
   10300 fi
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 #
   10313 # Check to make sure the static flag actually works.
   10314 #
   10315 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10317 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10318 if test ${lt_cv_prog_compiler_static_works+y}
   10319 then :
   10320   printf %s "(cached) " >&6
   10321 else $as_nop
   10322   lt_cv_prog_compiler_static_works=no
   10323    save_LDFLAGS=$LDFLAGS
   10324    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10325    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10326    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10327      # The linker can only warn and ignore the option if not recognized
   10328      # So say no if there are warnings
   10329      if test -s conftest.err; then
   10330        # Append any errors to the config.log.
   10331        cat conftest.err 1>&5
   10332        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10333        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10334        if diff conftest.exp conftest.er2 >/dev/null; then
   10335          lt_cv_prog_compiler_static_works=yes
   10336        fi
   10337      else
   10338        lt_cv_prog_compiler_static_works=yes
   10339      fi
   10340    fi
   10341    $RM -r conftest*
   10342    LDFLAGS=$save_LDFLAGS
   10343 
   10344 fi
   10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10346 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10347 
   10348 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10349     :
   10350 else
   10351     lt_prog_compiler_static=
   10352 fi
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10361 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10362 if test ${lt_cv_prog_compiler_c_o+y}
   10363 then :
   10364   printf %s "(cached) " >&6
   10365 else $as_nop
   10366   lt_cv_prog_compiler_c_o=no
   10367    $RM -r conftest 2>/dev/null
   10368    mkdir conftest
   10369    cd conftest
   10370    mkdir out
   10371    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10372 
   10373    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10374    # Insert the option either (1) after the last *FLAGS variable, or
   10375    # (2) before a word containing "conftest.", or (3) at the end.
   10376    # Note that $ac_compile itself does not contain backslashes and begins
   10377    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10378    lt_compile=`echo "$ac_compile" | $SED \
   10379    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10380    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10381    -e 's:$: $lt_compiler_flag:'`
   10382    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10383    (eval "$lt_compile" 2>out/conftest.err)
   10384    ac_status=$?
   10385    cat out/conftest.err >&5
   10386    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10387    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10388    then
   10389      # The compiler can only warn and ignore the option if not recognized
   10390      # So say no if there are warnings
   10391      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10392      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10393      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10394        lt_cv_prog_compiler_c_o=yes
   10395      fi
   10396    fi
   10397    chmod u+w . 2>&5
   10398    $RM conftest*
   10399    # SGI C++ compiler will create directory out/ii_files/ for
   10400    # template instantiation
   10401    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10402    $RM out/* && rmdir out
   10403    cd ..
   10404    $RM -r conftest
   10405    $RM conftest*
   10406 
   10407 fi
   10408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10409 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10417 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10418 if test ${lt_cv_prog_compiler_c_o+y}
   10419 then :
   10420   printf %s "(cached) " >&6
   10421 else $as_nop
   10422   lt_cv_prog_compiler_c_o=no
   10423    $RM -r conftest 2>/dev/null
   10424    mkdir conftest
   10425    cd conftest
   10426    mkdir out
   10427    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10428 
   10429    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10430    # Insert the option either (1) after the last *FLAGS variable, or
   10431    # (2) before a word containing "conftest.", or (3) at the end.
   10432    # Note that $ac_compile itself does not contain backslashes and begins
   10433    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10434    lt_compile=`echo "$ac_compile" | $SED \
   10435    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10436    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10437    -e 's:$: $lt_compiler_flag:'`
   10438    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10439    (eval "$lt_compile" 2>out/conftest.err)
   10440    ac_status=$?
   10441    cat out/conftest.err >&5
   10442    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10443    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10444    then
   10445      # The compiler can only warn and ignore the option if not recognized
   10446      # So say no if there are warnings
   10447      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10448      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10449      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10450        lt_cv_prog_compiler_c_o=yes
   10451      fi
   10452    fi
   10453    chmod u+w . 2>&5
   10454    $RM conftest*
   10455    # SGI C++ compiler will create directory out/ii_files/ for
   10456    # template instantiation
   10457    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10458    $RM out/* && rmdir out
   10459    cd ..
   10460    $RM -r conftest
   10461    $RM conftest*
   10462 
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10465 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10466 
   10467 
   10468 
   10469 
   10470 hard_links=nottested
   10471 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10472   # do not overwrite the value of need_locks provided by the user
   10473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10474 printf %s "checking if we can lock with hard links... " >&6; }
   10475   hard_links=yes
   10476   $RM conftest*
   10477   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10478   touch conftest.a
   10479   ln conftest.a conftest.b 2>&5 || hard_links=no
   10480   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10482 printf "%s\n" "$hard_links" >&6; }
   10483   if test no = "$hard_links"; then
   10484     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10485 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10486     need_locks=warn
   10487   fi
   10488 else
   10489   need_locks=no
   10490 fi
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10498 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10499 
   10500   runpath_var=
   10501   allow_undefined_flag=
   10502   always_export_symbols=no
   10503   archive_cmds=
   10504   archive_expsym_cmds=
   10505   compiler_needs_object=no
   10506   enable_shared_with_static_runtimes=no
   10507   export_dynamic_flag_spec=
   10508   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10509   hardcode_automatic=no
   10510   hardcode_direct=no
   10511   hardcode_direct_absolute=no
   10512   hardcode_libdir_flag_spec=
   10513   hardcode_libdir_separator=
   10514   hardcode_minus_L=no
   10515   hardcode_shlibpath_var=unsupported
   10516   inherit_rpath=no
   10517   link_all_deplibs=unknown
   10518   module_cmds=
   10519   module_expsym_cmds=
   10520   old_archive_from_new_cmds=
   10521   old_archive_from_expsyms_cmds=
   10522   thread_safe_flag_spec=
   10523   whole_archive_flag_spec=
   10524   # include_expsyms should be a list of space-separated symbols to be *always*
   10525   # included in the symbol list
   10526   include_expsyms=
   10527   # exclude_expsyms can be an extended regexp of symbols to exclude
   10528   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10529   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10530   # as well as any symbol that contains 'd'.
   10531   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10532   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10533   # platforms (ab)use it in PIC code, but their linkers get confused if
   10534   # the symbol is explicitly referenced.  Since portable code cannot
   10535   # rely on this symbol name, it's probably fine to never include it in
   10536   # preloaded symbol tables.
   10537   # Exclude shared library initialization/finalization symbols.
   10538   extract_expsyms_cmds=
   10539 
   10540   case $host_os in
   10541   cygwin* | mingw* | pw32* | cegcc*)
   10542     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10543     # When not using gcc, we currently assume that we are using
   10544     # Microsoft Visual C++.
   10545     if test yes != "$GCC"; then
   10546       with_gnu_ld=no
   10547     fi
   10548     ;;
   10549   interix*)
   10550     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10551     with_gnu_ld=yes
   10552     ;;
   10553   openbsd* | bitrig*)
   10554     with_gnu_ld=no
   10555     ;;
   10556   esac
   10557 
   10558   ld_shlibs=yes
   10559 
   10560   # On some targets, GNU ld is compatible enough with the native linker
   10561   # that we're better off using the native interface for both.
   10562   lt_use_gnu_ld_interface=no
   10563   if test yes = "$with_gnu_ld"; then
   10564     case $host_os in
   10565       aix*)
   10566 	# The AIX port of GNU ld has always aspired to compatibility
   10567 	# with the native linker.  However, as the warning in the GNU ld
   10568 	# block says, versions before 2.19.5* couldn't really create working
   10569 	# shared libraries, regardless of the interface used.
   10570 	case `$LD -v 2>&1` in
   10571 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10572 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10573 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10574 	  *)
   10575 	    lt_use_gnu_ld_interface=yes
   10576 	    ;;
   10577 	esac
   10578 	;;
   10579       *)
   10580 	lt_use_gnu_ld_interface=yes
   10581 	;;
   10582     esac
   10583   fi
   10584 
   10585   if test yes = "$lt_use_gnu_ld_interface"; then
   10586     # If archive_cmds runs LD, not CC, wlarc should be empty
   10587     wlarc='$wl'
   10588 
   10589     # Set some defaults for GNU ld with shared library support. These
   10590     # are reset later if shared libraries are not supported. Putting them
   10591     # here allows them to be overridden if necessary.
   10592     runpath_var=LD_RUN_PATH
   10593     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10594     export_dynamic_flag_spec='$wl--export-dynamic'
   10595     # ancient GNU ld didn't support --whole-archive et. al.
   10596     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10597       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10598     else
   10599       whole_archive_flag_spec=
   10600     fi
   10601     supports_anon_versioning=no
   10602     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   10603       *GNU\ gold*) supports_anon_versioning=yes ;;
   10604       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10605       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10606       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10607       *\ 2.11.*) ;; # other 2.11 versions
   10608       *) supports_anon_versioning=yes ;;
   10609     esac
   10610 
   10611     # See if GNU ld supports shared libraries.
   10612     case $host_os in
   10613     aix[3-9]*)
   10614       # On AIX/PPC, the GNU linker is very broken
   10615       if test ia64 != "$host_cpu"; then
   10616 	ld_shlibs=no
   10617 	cat <<_LT_EOF 1>&2
   10618 
   10619 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10620 *** to be unable to reliably create shared libraries on AIX.
   10621 *** Therefore, libtool is disabling shared libraries support.  If you
   10622 *** really care for shared libraries, you may want to install binutils
   10623 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10624 *** You will then need to restart the configuration process.
   10625 
   10626 _LT_EOF
   10627       fi
   10628       ;;
   10629 
   10630     amigaos*)
   10631       case $host_cpu in
   10632       powerpc)
   10633             # see comment about AmigaOS4 .so support
   10634             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10635             archive_expsym_cmds=''
   10636         ;;
   10637       m68k)
   10638             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)'
   10639             hardcode_libdir_flag_spec='-L$libdir'
   10640             hardcode_minus_L=yes
   10641         ;;
   10642       esac
   10643       ;;
   10644 
   10645     beos*)
   10646       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10647 	allow_undefined_flag=unsupported
   10648 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10649 	# support --undefined.  This deserves some investigation.  FIXME
   10650 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10651       else
   10652 	ld_shlibs=no
   10653       fi
   10654       ;;
   10655 
   10656     cygwin* | mingw* | pw32* | cegcc*)
   10657       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10658       # as there is no search path for DLLs.
   10659       hardcode_libdir_flag_spec='-L$libdir'
   10660       export_dynamic_flag_spec='$wl--export-all-symbols'
   10661       allow_undefined_flag=unsupported
   10662       always_export_symbols=no
   10663       enable_shared_with_static_runtimes=yes
   10664       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'
   10665       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10666 
   10667       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10668         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10669 	# If the export-symbols file already is a .def file, use it as
   10670 	# is; otherwise, prepend EXPORTS...
   10671 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10672           cp $export_symbols $output_objdir/$soname.def;
   10673         else
   10674           echo EXPORTS > $output_objdir/$soname.def;
   10675           cat $export_symbols >> $output_objdir/$soname.def;
   10676         fi~
   10677         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10678       else
   10679 	ld_shlibs=no
   10680       fi
   10681       ;;
   10682 
   10683     haiku*)
   10684       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10685       link_all_deplibs=yes
   10686       ;;
   10687 
   10688     os2*)
   10689       hardcode_libdir_flag_spec='-L$libdir'
   10690       hardcode_minus_L=yes
   10691       allow_undefined_flag=unsupported
   10692       shrext_cmds=.dll
   10693       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10694 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10695 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10696 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10697 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10698 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10699 	emximp -o $lib $output_objdir/$libname.def'
   10700       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10701 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10702 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10703 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10704 	prefix_cmds="$SED"~
   10705 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10706 	  prefix_cmds="$prefix_cmds -e 1d";
   10707 	fi~
   10708 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10709 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10710 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10711 	emximp -o $lib $output_objdir/$libname.def'
   10712       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10713       enable_shared_with_static_runtimes=yes
   10714       ;;
   10715 
   10716     interix[3-9]*)
   10717       hardcode_direct=no
   10718       hardcode_shlibpath_var=no
   10719       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10720       export_dynamic_flag_spec='$wl-E'
   10721       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10722       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10723       # default) and relocated if they conflict, which is a slow very memory
   10724       # consuming and fragmenting process.  To avoid this, we pick a random,
   10725       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10726       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10727       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10728       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'
   10729       ;;
   10730 
   10731     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10732       tmp_diet=no
   10733       if test linux-dietlibc = "$host_os"; then
   10734 	case $cc_basename in
   10735 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10736 	esac
   10737       fi
   10738       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10739 	 && test no = "$tmp_diet"
   10740       then
   10741 	tmp_addflag=' $pic_flag'
   10742 	tmp_sharedflag='-shared'
   10743 	case $cc_basename,$host_cpu in
   10744         pgcc*)				# Portland Group C compiler
   10745 	  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'
   10746 	  tmp_addflag=' $pic_flag'
   10747 	  ;;
   10748 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10749 					# Portland Group f77 and f90 compilers
   10750 	  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'
   10751 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10752 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10753 	  tmp_addflag=' -i_dynamic' ;;
   10754 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10755 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10756 	ifc* | ifort*)			# Intel Fortran compiler
   10757 	  tmp_addflag=' -nofor_main' ;;
   10758 	lf95*)				# Lahey Fortran 8.1
   10759 	  whole_archive_flag_spec=
   10760 	  tmp_sharedflag='--shared' ;;
   10761         nagfor*)                        # NAGFOR 5.3
   10762           tmp_sharedflag='-Wl,-shared' ;;
   10763 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10764 	  tmp_sharedflag='-qmkshrobj'
   10765 	  tmp_addflag= ;;
   10766 	nvcc*)	# Cuda Compiler Driver 2.2
   10767 	  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'
   10768 	  compiler_needs_object=yes
   10769 	  ;;
   10770 	esac
   10771 	case `$CC -V 2>&1 | sed 5q` in
   10772 	*Sun\ C*)			# Sun C 5.9
   10773 	  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'
   10774 	  compiler_needs_object=yes
   10775 	  tmp_sharedflag='-G' ;;
   10776 	*Sun\ F*)			# Sun Fortran 8.3
   10777 	  tmp_sharedflag='-G' ;;
   10778 	esac
   10779 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10780 
   10781         if test yes = "$supports_anon_versioning"; then
   10782           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10783             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10784             echo "local: *; };" >> $output_objdir/$libname.ver~
   10785             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10786         fi
   10787 
   10788 	case $cc_basename in
   10789 	tcc*)
   10790 	  export_dynamic_flag_spec='-rdynamic'
   10791 	  ;;
   10792 	xlf* | bgf* | bgxlf* | mpixlf*)
   10793 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10794 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10795 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10796 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10797 	  if test yes = "$supports_anon_versioning"; then
   10798 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10799               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10800               echo "local: *; };" >> $output_objdir/$libname.ver~
   10801               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10802 	  fi
   10803 	  ;;
   10804 	esac
   10805       else
   10806         ld_shlibs=no
   10807       fi
   10808       ;;
   10809 
   10810     netbsd*)
   10811       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10812 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10813 	wlarc=
   10814       else
   10815 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10816 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10817       fi
   10818       ;;
   10819 
   10820     solaris*)
   10821       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10822 	ld_shlibs=no
   10823 	cat <<_LT_EOF 1>&2
   10824 
   10825 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10826 *** create shared libraries on Solaris systems.  Therefore, libtool
   10827 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10828 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10829 *** your PATH or compiler configuration so that the native linker is
   10830 *** used, and then restart.
   10831 
   10832 _LT_EOF
   10833       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10834 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10835 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10836       else
   10837 	ld_shlibs=no
   10838       fi
   10839       ;;
   10840 
   10841     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10842       case `$LD -v 2>&1` in
   10843         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10844 	ld_shlibs=no
   10845 	cat <<_LT_EOF 1>&2
   10846 
   10847 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10848 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10849 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10850 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10851 *** your PATH or compiler configuration so that the native linker is
   10852 *** used, and then restart.
   10853 
   10854 _LT_EOF
   10855 	;;
   10856 	*)
   10857 	  # For security reasons, it is highly recommended that you always
   10858 	  # use absolute paths for naming shared libraries, and exclude the
   10859 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10860 	  # requires that you compile everything twice, which is a pain.
   10861 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10862 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10863 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10864 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10865 	  else
   10866 	    ld_shlibs=no
   10867 	  fi
   10868 	;;
   10869       esac
   10870       ;;
   10871 
   10872     sunos4*)
   10873       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10874       wlarc=
   10875       hardcode_direct=yes
   10876       hardcode_shlibpath_var=no
   10877       ;;
   10878 
   10879     *)
   10880       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10881 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10882 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10883       else
   10884 	ld_shlibs=no
   10885       fi
   10886       ;;
   10887     esac
   10888 
   10889     if test no = "$ld_shlibs"; then
   10890       runpath_var=
   10891       hardcode_libdir_flag_spec=
   10892       export_dynamic_flag_spec=
   10893       whole_archive_flag_spec=
   10894     fi
   10895   else
   10896     # PORTME fill in a description of your system's linker (not GNU ld)
   10897     case $host_os in
   10898     aix3*)
   10899       allow_undefined_flag=unsupported
   10900       always_export_symbols=yes
   10901       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'
   10902       # Note: this linker hardcodes the directories in LIBPATH if there
   10903       # are no directories specified by -L.
   10904       hardcode_minus_L=yes
   10905       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10906 	# Neither direct hardcoding nor static linking is supported with a
   10907 	# broken collect2.
   10908 	hardcode_direct=unsupported
   10909       fi
   10910       ;;
   10911 
   10912     aix[4-9]*)
   10913       if test ia64 = "$host_cpu"; then
   10914 	# On IA64, the linker does run time linking by default, so we don't
   10915 	# have to do anything special.
   10916 	aix_use_runtimelinking=no
   10917 	exp_sym_flag='-Bexport'
   10918 	no_entry_flag=
   10919       else
   10920 	# If we're using GNU nm, then we don't want the "-C" option.
   10921 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10922 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10923 	# weak defined symbols like other global defined symbols, whereas
   10924 	# GNU nm marks them as "W".
   10925 	# While the 'weak' keyword is ignored in the Export File, we need
   10926 	# it in the Import File for the 'aix-soname' feature, so we have
   10927 	# to replace the "-B" option with "-P" for AIX nm.
   10928 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10929 	  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'
   10930 	else
   10931 	  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'
   10932 	fi
   10933 	aix_use_runtimelinking=no
   10934 
   10935 	# Test if we are trying to use run time linking or normal
   10936 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10937 	# have runtime linking enabled, and use it for executables.
   10938 	# For shared libraries, we enable/disable runtime linking
   10939 	# depending on the kind of the shared library created -
   10940 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10941 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10942 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10943 	#            lib.a           static archive
   10944 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10945 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10946 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10947 	#            lib.a(lib.so.V) shared, rtl:no
   10948 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10949 	#            lib.a           static archive
   10950 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10951 	  for ld_flag in $LDFLAGS; do
   10952 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10953 	    aix_use_runtimelinking=yes
   10954 	    break
   10955 	  fi
   10956 	  done
   10957 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10958 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10959 	    # so we don't have lib.a shared libs to link our executables.
   10960 	    # We have to force runtime linking in this case.
   10961 	    aix_use_runtimelinking=yes
   10962 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10963 	  fi
   10964 	  ;;
   10965 	esac
   10966 
   10967 	exp_sym_flag='-bexport'
   10968 	no_entry_flag='-bnoentry'
   10969       fi
   10970 
   10971       # When large executables or shared objects are built, AIX ld can
   10972       # have problems creating the table of contents.  If linking a library
   10973       # or program results in "error TOC overflow" add -mminimal-toc to
   10974       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10975       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10976 
   10977       archive_cmds=''
   10978       hardcode_direct=yes
   10979       hardcode_direct_absolute=yes
   10980       hardcode_libdir_separator=':'
   10981       link_all_deplibs=yes
   10982       file_list_spec='$wl-f,'
   10983       case $with_aix_soname,$aix_use_runtimelinking in
   10984       aix,*) ;; # traditional, no import file
   10985       svr4,* | *,yes) # use import file
   10986 	# The Import File defines what to hardcode.
   10987 	hardcode_direct=no
   10988 	hardcode_direct_absolute=no
   10989 	;;
   10990       esac
   10991 
   10992       if test yes = "$GCC"; then
   10993 	case $host_os in aix4.[012]|aix4.[012].*)
   10994 	# We only want to do this on AIX 4.2 and lower, the check
   10995 	# below for broken collect2 doesn't work under 4.3+
   10996 	  collect2name=`$CC -print-prog-name=collect2`
   10997 	  if test -f "$collect2name" &&
   10998 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10999 	  then
   11000 	  # We have reworked collect2
   11001 	  :
   11002 	  else
   11003 	  # We have old collect2
   11004 	  hardcode_direct=unsupported
   11005 	  # It fails to find uninstalled libraries when the uninstalled
   11006 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11007 	  # to unsupported forces relinking
   11008 	  hardcode_minus_L=yes
   11009 	  hardcode_libdir_flag_spec='-L$libdir'
   11010 	  hardcode_libdir_separator=
   11011 	  fi
   11012 	  ;;
   11013 	esac
   11014 	shared_flag='-shared'
   11015 	if test yes = "$aix_use_runtimelinking"; then
   11016 	  shared_flag="$shared_flag "'$wl-G'
   11017 	fi
   11018 	# Need to ensure runtime linking is disabled for the traditional
   11019 	# shared library, or the linker may eventually find shared libraries
   11020 	# /with/ Import File - we do not want to mix them.
   11021 	shared_flag_aix='-shared'
   11022 	shared_flag_svr4='-shared $wl-G'
   11023       else
   11024 	# not using gcc
   11025 	if test ia64 = "$host_cpu"; then
   11026 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11027 	# chokes on -Wl,-G. The following line is correct:
   11028 	  shared_flag='-G'
   11029 	else
   11030 	  if test yes = "$aix_use_runtimelinking"; then
   11031 	    shared_flag='$wl-G'
   11032 	  else
   11033 	    shared_flag='$wl-bM:SRE'
   11034 	  fi
   11035 	  shared_flag_aix='$wl-bM:SRE'
   11036 	  shared_flag_svr4='$wl-G'
   11037 	fi
   11038       fi
   11039 
   11040       export_dynamic_flag_spec='$wl-bexpall'
   11041       # It seems that -bexpall does not export symbols beginning with
   11042       # underscore (_), so it is better to generate a list of symbols to export.
   11043       always_export_symbols=yes
   11044       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11045 	# Warning - without using the other runtime loading flags (-brtl),
   11046 	# -berok will link without error, but may produce a broken library.
   11047 	allow_undefined_flag='-berok'
   11048         # Determine the default libpath from the value encoded in an
   11049         # empty executable.
   11050         if test set = "${lt_cv_aix_libpath+set}"; then
   11051   aix_libpath=$lt_cv_aix_libpath
   11052 else
   11053   if test ${lt_cv_aix_libpath_+y}
   11054 then :
   11055   printf %s "(cached) " >&6
   11056 else $as_nop
   11057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11058 /* end confdefs.h.  */
   11059 
   11060 int
   11061 main (void)
   11062 {
   11063 
   11064   ;
   11065   return 0;
   11066 }
   11067 _ACEOF
   11068 if ac_fn_c_try_link "$LINENO"
   11069 then :
   11070 
   11071   lt_aix_libpath_sed='
   11072       /Import File Strings/,/^$/ {
   11073 	  /^0/ {
   11074 	      s/^0  *\([^ ]*\) *$/\1/
   11075 	      p
   11076 	  }
   11077       }'
   11078   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11079   # Check for a 64-bit object if we didn't find anything.
   11080   if test -z "$lt_cv_aix_libpath_"; then
   11081     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11082   fi
   11083 fi
   11084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11085     conftest$ac_exeext conftest.$ac_ext
   11086   if test -z "$lt_cv_aix_libpath_"; then
   11087     lt_cv_aix_libpath_=/usr/lib:/lib
   11088   fi
   11089 
   11090 fi
   11091 
   11092   aix_libpath=$lt_cv_aix_libpath_
   11093 fi
   11094 
   11095         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11096         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
   11097       else
   11098 	if test ia64 = "$host_cpu"; then
   11099 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11100 	  allow_undefined_flag="-z nodefs"
   11101 	  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"
   11102 	else
   11103 	 # Determine the default libpath from the value encoded in an
   11104 	 # empty executable.
   11105 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11106   aix_libpath=$lt_cv_aix_libpath
   11107 else
   11108   if test ${lt_cv_aix_libpath_+y}
   11109 then :
   11110   printf %s "(cached) " >&6
   11111 else $as_nop
   11112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11113 /* end confdefs.h.  */
   11114 
   11115 int
   11116 main (void)
   11117 {
   11118 
   11119   ;
   11120   return 0;
   11121 }
   11122 _ACEOF
   11123 if ac_fn_c_try_link "$LINENO"
   11124 then :
   11125 
   11126   lt_aix_libpath_sed='
   11127       /Import File Strings/,/^$/ {
   11128 	  /^0/ {
   11129 	      s/^0  *\([^ ]*\) *$/\1/
   11130 	      p
   11131 	  }
   11132       }'
   11133   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11134   # Check for a 64-bit object if we didn't find anything.
   11135   if test -z "$lt_cv_aix_libpath_"; then
   11136     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11137   fi
   11138 fi
   11139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11140     conftest$ac_exeext conftest.$ac_ext
   11141   if test -z "$lt_cv_aix_libpath_"; then
   11142     lt_cv_aix_libpath_=/usr/lib:/lib
   11143   fi
   11144 
   11145 fi
   11146 
   11147   aix_libpath=$lt_cv_aix_libpath_
   11148 fi
   11149 
   11150 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11151 	  # Warning - without using the other run time loading flags,
   11152 	  # -berok will link without error, but may produce a broken library.
   11153 	  no_undefined_flag=' $wl-bernotok'
   11154 	  allow_undefined_flag=' $wl-berok'
   11155 	  if test yes = "$with_gnu_ld"; then
   11156 	    # We only use this code for GNU lds that support --whole-archive.
   11157 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11158 	  else
   11159 	    # Exported symbols can be pulled into shared objects from archives
   11160 	    whole_archive_flag_spec='$convenience'
   11161 	  fi
   11162 	  archive_cmds_need_lc=yes
   11163 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11164 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11165 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11166 	  if test svr4 != "$with_aix_soname"; then
   11167 	    # This is similar to how AIX traditionally builds its shared libraries.
   11168 	    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'
   11169 	  fi
   11170 	  if test aix != "$with_aix_soname"; then
   11171 	    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'
   11172 	  else
   11173 	    # used by -dlpreopen to get the symbols
   11174 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11175 	  fi
   11176 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11177 	fi
   11178       fi
   11179       ;;
   11180 
   11181     amigaos*)
   11182       case $host_cpu in
   11183       powerpc)
   11184             # see comment about AmigaOS4 .so support
   11185             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11186             archive_expsym_cmds=''
   11187         ;;
   11188       m68k)
   11189             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)'
   11190             hardcode_libdir_flag_spec='-L$libdir'
   11191             hardcode_minus_L=yes
   11192         ;;
   11193       esac
   11194       ;;
   11195 
   11196     bsdi[45]*)
   11197       export_dynamic_flag_spec=-rdynamic
   11198       ;;
   11199 
   11200     cygwin* | mingw* | pw32* | cegcc*)
   11201       # When not using gcc, we currently assume that we are using
   11202       # Microsoft Visual C++.
   11203       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11204       # no search path for DLLs.
   11205       case $cc_basename in
   11206       cl*)
   11207 	# Native MSVC
   11208 	hardcode_libdir_flag_spec=' '
   11209 	allow_undefined_flag=unsupported
   11210 	always_export_symbols=yes
   11211 	file_list_spec='@'
   11212 	# Tell ltmain to make .lib files, not .a files.
   11213 	libext=lib
   11214 	# Tell ltmain to make .dll files, not .so files.
   11215 	shrext_cmds=.dll
   11216 	# FIXME: Setting linknames here is a bad hack.
   11217 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11218 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11219             cp "$export_symbols" "$output_objdir/$soname.def";
   11220             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11221           else
   11222             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11223           fi~
   11224           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11225           linknames='
   11226 	# The linker will not automatically build a static lib if we build a DLL.
   11227 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11228 	enable_shared_with_static_runtimes=yes
   11229 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11230 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11231 	# Don't use ranlib
   11232 	old_postinstall_cmds='chmod 644 $oldlib'
   11233 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11234           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11235           case $lt_outputfile in
   11236             *.exe|*.EXE) ;;
   11237             *)
   11238               lt_outputfile=$lt_outputfile.exe
   11239               lt_tool_outputfile=$lt_tool_outputfile.exe
   11240               ;;
   11241           esac~
   11242           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11243             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11244             $RM "$lt_outputfile.manifest";
   11245           fi'
   11246 	;;
   11247       *)
   11248 	# Assume MSVC wrapper
   11249 	hardcode_libdir_flag_spec=' '
   11250 	allow_undefined_flag=unsupported
   11251 	# Tell ltmain to make .lib files, not .a files.
   11252 	libext=lib
   11253 	# Tell ltmain to make .dll files, not .so files.
   11254 	shrext_cmds=.dll
   11255 	# FIXME: Setting linknames here is a bad hack.
   11256 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11257 	# The linker will automatically build a .lib file if we build a DLL.
   11258 	old_archive_from_new_cmds='true'
   11259 	# FIXME: Should let the user specify the lib program.
   11260 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11261 	enable_shared_with_static_runtimes=yes
   11262 	;;
   11263       esac
   11264       ;;
   11265 
   11266     darwin* | rhapsody*)
   11267 
   11268 
   11269   archive_cmds_need_lc=no
   11270   hardcode_direct=no
   11271   hardcode_automatic=yes
   11272   hardcode_shlibpath_var=unsupported
   11273   if test yes = "$lt_cv_ld_force_load"; then
   11274     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\"`'
   11275 
   11276   else
   11277     whole_archive_flag_spec=''
   11278   fi
   11279   link_all_deplibs=yes
   11280   allow_undefined_flag=$_lt_dar_allow_undefined
   11281   case $cc_basename in
   11282      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11283      *) _lt_dar_can_shared=$GCC ;;
   11284   esac
   11285   if test yes = "$_lt_dar_can_shared"; then
   11286     output_verbose_link_cmd=func_echo_all
   11287     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11288     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11289     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"
   11290     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"
   11291 
   11292   else
   11293   ld_shlibs=no
   11294   fi
   11295 
   11296       ;;
   11297 
   11298     dgux*)
   11299       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11300       hardcode_libdir_flag_spec='-L$libdir'
   11301       hardcode_shlibpath_var=no
   11302       ;;
   11303 
   11304     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11305     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11306     # does not break anything, and helps significantly (at the cost of a little
   11307     # extra space).
   11308     freebsd2.2*)
   11309       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11310       hardcode_libdir_flag_spec='-R$libdir'
   11311       hardcode_direct=yes
   11312       hardcode_shlibpath_var=no
   11313       ;;
   11314 
   11315     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11316     freebsd2.*)
   11317       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11318       hardcode_direct=yes
   11319       hardcode_minus_L=yes
   11320       hardcode_shlibpath_var=no
   11321       ;;
   11322 
   11323     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11324     freebsd* | dragonfly*)
   11325       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11326       hardcode_libdir_flag_spec='-R$libdir'
   11327       hardcode_direct=yes
   11328       hardcode_shlibpath_var=no
   11329       ;;
   11330 
   11331     hpux9*)
   11332       if test yes = "$GCC"; then
   11333 	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'
   11334       else
   11335 	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'
   11336       fi
   11337       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11338       hardcode_libdir_separator=:
   11339       hardcode_direct=yes
   11340 
   11341       # hardcode_minus_L: Not really in the search PATH,
   11342       # but as the default location of the library.
   11343       hardcode_minus_L=yes
   11344       export_dynamic_flag_spec='$wl-E'
   11345       ;;
   11346 
   11347     hpux10*)
   11348       if test yes,no = "$GCC,$with_gnu_ld"; then
   11349 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11350       else
   11351 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11352       fi
   11353       if test no = "$with_gnu_ld"; then
   11354 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11355 	hardcode_libdir_separator=:
   11356 	hardcode_direct=yes
   11357 	hardcode_direct_absolute=yes
   11358 	export_dynamic_flag_spec='$wl-E'
   11359 	# hardcode_minus_L: Not really in the search PATH,
   11360 	# but as the default location of the library.
   11361 	hardcode_minus_L=yes
   11362       fi
   11363       ;;
   11364 
   11365     hpux11*)
   11366       if test yes,no = "$GCC,$with_gnu_ld"; then
   11367 	case $host_cpu in
   11368 	hppa*64*)
   11369 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11370 	  ;;
   11371 	ia64*)
   11372 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11373 	  ;;
   11374 	*)
   11375 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11376 	  ;;
   11377 	esac
   11378       else
   11379 	case $host_cpu in
   11380 	hppa*64*)
   11381 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11382 	  ;;
   11383 	ia64*)
   11384 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11385 	  ;;
   11386 	*)
   11387 
   11388 	  # Older versions of the 11.00 compiler do not understand -b yet
   11389 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11390 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11391 printf %s "checking if $CC understands -b... " >&6; }
   11392 if test ${lt_cv_prog_compiler__b+y}
   11393 then :
   11394   printf %s "(cached) " >&6
   11395 else $as_nop
   11396   lt_cv_prog_compiler__b=no
   11397    save_LDFLAGS=$LDFLAGS
   11398    LDFLAGS="$LDFLAGS -b"
   11399    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11400    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11401      # The linker can only warn and ignore the option if not recognized
   11402      # So say no if there are warnings
   11403      if test -s conftest.err; then
   11404        # Append any errors to the config.log.
   11405        cat conftest.err 1>&5
   11406        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11407        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11408        if diff conftest.exp conftest.er2 >/dev/null; then
   11409          lt_cv_prog_compiler__b=yes
   11410        fi
   11411      else
   11412        lt_cv_prog_compiler__b=yes
   11413      fi
   11414    fi
   11415    $RM -r conftest*
   11416    LDFLAGS=$save_LDFLAGS
   11417 
   11418 fi
   11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11420 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11421 
   11422 if test yes = "$lt_cv_prog_compiler__b"; then
   11423     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11424 else
   11425     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11426 fi
   11427 
   11428 	  ;;
   11429 	esac
   11430       fi
   11431       if test no = "$with_gnu_ld"; then
   11432 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11433 	hardcode_libdir_separator=:
   11434 
   11435 	case $host_cpu in
   11436 	hppa*64*|ia64*)
   11437 	  hardcode_direct=no
   11438 	  hardcode_shlibpath_var=no
   11439 	  ;;
   11440 	*)
   11441 	  hardcode_direct=yes
   11442 	  hardcode_direct_absolute=yes
   11443 	  export_dynamic_flag_spec='$wl-E'
   11444 
   11445 	  # hardcode_minus_L: Not really in the search PATH,
   11446 	  # but as the default location of the library.
   11447 	  hardcode_minus_L=yes
   11448 	  ;;
   11449 	esac
   11450       fi
   11451       ;;
   11452 
   11453     irix5* | irix6* | nonstopux*)
   11454       if test yes = "$GCC"; then
   11455 	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'
   11456 	# Try to use the -exported_symbol ld option, if it does not
   11457 	# work, assume that -exports_file does not work either and
   11458 	# implicitly export all symbols.
   11459 	# This should be the same for all languages, so no per-tag cache variable.
   11460 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11461 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11462 if test ${lt_cv_irix_exported_symbol+y}
   11463 then :
   11464   printf %s "(cached) " >&6
   11465 else $as_nop
   11466   save_LDFLAGS=$LDFLAGS
   11467 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11468 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11469 /* end confdefs.h.  */
   11470 int foo (void) { return 0; }
   11471 _ACEOF
   11472 if ac_fn_c_try_link "$LINENO"
   11473 then :
   11474   lt_cv_irix_exported_symbol=yes
   11475 else $as_nop
   11476   lt_cv_irix_exported_symbol=no
   11477 fi
   11478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11479     conftest$ac_exeext conftest.$ac_ext
   11480            LDFLAGS=$save_LDFLAGS
   11481 fi
   11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11483 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11484 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11485           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'
   11486 	fi
   11487       else
   11488 	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'
   11489 	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'
   11490       fi
   11491       archive_cmds_need_lc='no'
   11492       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11493       hardcode_libdir_separator=:
   11494       inherit_rpath=yes
   11495       link_all_deplibs=yes
   11496       ;;
   11497 
   11498     linux*)
   11499       case $cc_basename in
   11500       tcc*)
   11501 	# Fabrice Bellard et al's Tiny C Compiler
   11502 	ld_shlibs=yes
   11503 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11504 	;;
   11505       esac
   11506       ;;
   11507 
   11508     netbsd*)
   11509       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11510 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11511       else
   11512 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11513       fi
   11514       hardcode_libdir_flag_spec='-R$libdir'
   11515       hardcode_direct=yes
   11516       hardcode_shlibpath_var=no
   11517       ;;
   11518 
   11519     newsos6)
   11520       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11521       hardcode_direct=yes
   11522       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11523       hardcode_libdir_separator=:
   11524       hardcode_shlibpath_var=no
   11525       ;;
   11526 
   11527     *nto* | *qnx*)
   11528       ;;
   11529 
   11530     openbsd* | bitrig*)
   11531       if test -f /usr/libexec/ld.so; then
   11532 	hardcode_direct=yes
   11533 	hardcode_shlibpath_var=no
   11534 	hardcode_direct_absolute=yes
   11535 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11536 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11537 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11538 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11539 	  export_dynamic_flag_spec='$wl-E'
   11540 	else
   11541 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11542 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11543 	fi
   11544       else
   11545 	ld_shlibs=no
   11546       fi
   11547       ;;
   11548 
   11549     os2*)
   11550       hardcode_libdir_flag_spec='-L$libdir'
   11551       hardcode_minus_L=yes
   11552       allow_undefined_flag=unsupported
   11553       shrext_cmds=.dll
   11554       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11555 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11556 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11557 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11558 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11559 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11560 	emximp -o $lib $output_objdir/$libname.def'
   11561       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11562 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11563 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11564 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11565 	prefix_cmds="$SED"~
   11566 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11567 	  prefix_cmds="$prefix_cmds -e 1d";
   11568 	fi~
   11569 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11570 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11571 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11572 	emximp -o $lib $output_objdir/$libname.def'
   11573       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11574       enable_shared_with_static_runtimes=yes
   11575       ;;
   11576 
   11577     osf3*)
   11578       if test yes = "$GCC"; then
   11579 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11580 	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'
   11581       else
   11582 	allow_undefined_flag=' -expect_unresolved \*'
   11583 	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'
   11584       fi
   11585       archive_cmds_need_lc='no'
   11586       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11587       hardcode_libdir_separator=:
   11588       ;;
   11589 
   11590     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11591       if test yes = "$GCC"; then
   11592 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11593 	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'
   11594 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11595       else
   11596 	allow_undefined_flag=' -expect_unresolved \*'
   11597 	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'
   11598 	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~
   11599           $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'
   11600 
   11601 	# Both c and cxx compiler support -rpath directly
   11602 	hardcode_libdir_flag_spec='-rpath $libdir'
   11603       fi
   11604       archive_cmds_need_lc='no'
   11605       hardcode_libdir_separator=:
   11606       ;;
   11607 
   11608     solaris*)
   11609       no_undefined_flag=' -z defs'
   11610       if test yes = "$GCC"; then
   11611 	wlarc='$wl'
   11612 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11613 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11614           $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'
   11615       else
   11616 	case `$CC -V 2>&1` in
   11617 	*"Compilers 5.0"*)
   11618 	  wlarc=''
   11619 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11620 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11621             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11622 	  ;;
   11623 	*)
   11624 	  wlarc='$wl'
   11625 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11626 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11627             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11628 	  ;;
   11629 	esac
   11630       fi
   11631       hardcode_libdir_flag_spec='-R$libdir'
   11632       hardcode_shlibpath_var=no
   11633       case $host_os in
   11634       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11635       *)
   11636 	# The compiler driver will combine and reorder linker options,
   11637 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11638 	# but is careful enough not to reorder.
   11639 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11640 	if test yes = "$GCC"; then
   11641 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11642 	else
   11643 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11644 	fi
   11645 	;;
   11646       esac
   11647       link_all_deplibs=yes
   11648       ;;
   11649 
   11650     sunos4*)
   11651       if test sequent = "$host_vendor"; then
   11652 	# Use $CC to link under sequent, because it throws in some extra .o
   11653 	# files that make .init and .fini sections work.
   11654 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11655       else
   11656 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11657       fi
   11658       hardcode_libdir_flag_spec='-L$libdir'
   11659       hardcode_direct=yes
   11660       hardcode_minus_L=yes
   11661       hardcode_shlibpath_var=no
   11662       ;;
   11663 
   11664     sysv4)
   11665       case $host_vendor in
   11666 	sni)
   11667 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11668 	  hardcode_direct=yes # is this really true???
   11669 	;;
   11670 	siemens)
   11671 	  ## LD is ld it makes a PLAMLIB
   11672 	  ## CC just makes a GrossModule.
   11673 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11674 	  reload_cmds='$CC -r -o $output$reload_objs'
   11675 	  hardcode_direct=no
   11676         ;;
   11677 	motorola)
   11678 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11679 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11680 	;;
   11681       esac
   11682       runpath_var='LD_RUN_PATH'
   11683       hardcode_shlibpath_var=no
   11684       ;;
   11685 
   11686     sysv4.3*)
   11687       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11688       hardcode_shlibpath_var=no
   11689       export_dynamic_flag_spec='-Bexport'
   11690       ;;
   11691 
   11692     sysv4*MP*)
   11693       if test -d /usr/nec; then
   11694 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11695 	hardcode_shlibpath_var=no
   11696 	runpath_var=LD_RUN_PATH
   11697 	hardcode_runpath_var=yes
   11698 	ld_shlibs=yes
   11699       fi
   11700       ;;
   11701 
   11702     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11703       no_undefined_flag='$wl-z,text'
   11704       archive_cmds_need_lc=no
   11705       hardcode_shlibpath_var=no
   11706       runpath_var='LD_RUN_PATH'
   11707 
   11708       if test yes = "$GCC"; then
   11709 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11710 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11711       else
   11712 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11713 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11714       fi
   11715       ;;
   11716 
   11717     sysv5* | sco3.2v5* | sco5v6*)
   11718       # Note: We CANNOT use -z defs as we might desire, because we do not
   11719       # link with -lc, and that would cause any symbols used from libc to
   11720       # always be unresolved, which means just about no library would
   11721       # ever link correctly.  If we're not using GNU ld we use -z text
   11722       # though, which does catch some bad symbols but isn't as heavy-handed
   11723       # as -z defs.
   11724       no_undefined_flag='$wl-z,text'
   11725       allow_undefined_flag='$wl-z,nodefs'
   11726       archive_cmds_need_lc=no
   11727       hardcode_shlibpath_var=no
   11728       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11729       hardcode_libdir_separator=':'
   11730       link_all_deplibs=yes
   11731       export_dynamic_flag_spec='$wl-Bexport'
   11732       runpath_var='LD_RUN_PATH'
   11733 
   11734       if test yes = "$GCC"; then
   11735 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11736 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11737       else
   11738 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11739 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11740       fi
   11741       ;;
   11742 
   11743     uts4*)
   11744       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11745       hardcode_libdir_flag_spec='-L$libdir'
   11746       hardcode_shlibpath_var=no
   11747       ;;
   11748 
   11749     *)
   11750       ld_shlibs=no
   11751       ;;
   11752     esac
   11753 
   11754     if test sni = "$host_vendor"; then
   11755       case $host in
   11756       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11757 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11758 	;;
   11759       esac
   11760     fi
   11761   fi
   11762 
   11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11764 printf "%s\n" "$ld_shlibs" >&6; }
   11765 test no = "$ld_shlibs" && can_build_shared=no
   11766 
   11767 with_gnu_ld=$with_gnu_ld
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 #
   11784 # Do we need to explicitly link libc?
   11785 #
   11786 case "x$archive_cmds_need_lc" in
   11787 x|xyes)
   11788   # Assume -lc should be added
   11789   archive_cmds_need_lc=yes
   11790 
   11791   if test yes,yes = "$GCC,$enable_shared"; then
   11792     case $archive_cmds in
   11793     *'~'*)
   11794       # FIXME: we may have to deal with multi-command sequences.
   11795       ;;
   11796     '$CC '*)
   11797       # Test whether the compiler implicitly links with -lc since on some
   11798       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11799       # to ld, don't add -lc before -lgcc.
   11800       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11801 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11802 if test ${lt_cv_archive_cmds_need_lc+y}
   11803 then :
   11804   printf %s "(cached) " >&6
   11805 else $as_nop
   11806   $RM conftest*
   11807 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11808 
   11809 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11810   (eval $ac_compile) 2>&5
   11811   ac_status=$?
   11812   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11813   test $ac_status = 0; } 2>conftest.err; then
   11814 	  soname=conftest
   11815 	  lib=conftest
   11816 	  libobjs=conftest.$ac_objext
   11817 	  deplibs=
   11818 	  wl=$lt_prog_compiler_wl
   11819 	  pic_flag=$lt_prog_compiler_pic
   11820 	  compiler_flags=-v
   11821 	  linker_flags=-v
   11822 	  verstring=
   11823 	  output_objdir=.
   11824 	  libname=conftest
   11825 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11826 	  allow_undefined_flag=
   11827 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11828   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11829   ac_status=$?
   11830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11831   test $ac_status = 0; }
   11832 	  then
   11833 	    lt_cv_archive_cmds_need_lc=no
   11834 	  else
   11835 	    lt_cv_archive_cmds_need_lc=yes
   11836 	  fi
   11837 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11838 	else
   11839 	  cat conftest.err 1>&5
   11840 	fi
   11841 	$RM conftest*
   11842 
   11843 fi
   11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11845 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11846       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11847       ;;
   11848     esac
   11849   fi
   11850   ;;
   11851 esac
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12005 printf %s "checking dynamic linker characteristics... " >&6; }
   12006 
   12007 if test yes = "$GCC"; then
   12008   case $host_os in
   12009     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12010     *) lt_awk_arg='/^libraries:/' ;;
   12011   esac
   12012   case $host_os in
   12013     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12014     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12015   esac
   12016   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12017   case $lt_search_path_spec in
   12018   *\;*)
   12019     # if the path contains ";" then we assume it to be the separator
   12020     # otherwise default to the standard path separator (i.e. ":") - it is
   12021     # assumed that no part of a normal pathname contains ";" but that should
   12022     # okay in the real world where ";" in dirpaths is itself problematic.
   12023     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12024     ;;
   12025   *)
   12026     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12027     ;;
   12028   esac
   12029   # Ok, now we have the path, separated by spaces, we can step through it
   12030   # and add multilib dir if necessary...
   12031   lt_tmp_lt_search_path_spec=
   12032   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12033   # ...but if some path component already ends with the multilib dir we assume
   12034   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12035   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12036   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12037     lt_multi_os_dir=
   12038     ;;
   12039   esac
   12040   for lt_sys_path in $lt_search_path_spec; do
   12041     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12042       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12043     elif test -n "$lt_multi_os_dir"; then
   12044       test -d "$lt_sys_path" && \
   12045 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12046     fi
   12047   done
   12048   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12049 BEGIN {RS = " "; FS = "/|\n";} {
   12050   lt_foo = "";
   12051   lt_count = 0;
   12052   for (lt_i = NF; lt_i > 0; lt_i--) {
   12053     if ($lt_i != "" && $lt_i != ".") {
   12054       if ($lt_i == "..") {
   12055         lt_count++;
   12056       } else {
   12057         if (lt_count == 0) {
   12058           lt_foo = "/" $lt_i lt_foo;
   12059         } else {
   12060           lt_count--;
   12061         }
   12062       }
   12063     }
   12064   }
   12065   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12066   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12067 }'`
   12068   # AWK program above erroneously prepends '/' to C:/dos/paths
   12069   # for these hosts.
   12070   case $host_os in
   12071     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12072       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12073   esac
   12074   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12075 else
   12076   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12077 fi
   12078 library_names_spec=
   12079 libname_spec='lib$name'
   12080 soname_spec=
   12081 shrext_cmds=.so
   12082 postinstall_cmds=
   12083 postuninstall_cmds=
   12084 finish_cmds=
   12085 finish_eval=
   12086 shlibpath_var=
   12087 shlibpath_overrides_runpath=unknown
   12088 version_type=none
   12089 dynamic_linker="$host_os ld.so"
   12090 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12091 need_lib_prefix=unknown
   12092 hardcode_into_libs=no
   12093 
   12094 # when you set need_version to no, make sure it does not cause -set_version
   12095 # flags to be left without arguments
   12096 need_version=unknown
   12097 
   12098 
   12099 
   12100 case $host_os in
   12101 aix3*)
   12102   version_type=linux # correct to gnu/linux during the next big refactor
   12103   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12104   shlibpath_var=LIBPATH
   12105 
   12106   # AIX 3 has no versioning support, so we append a major version to the name.
   12107   soname_spec='$libname$release$shared_ext$major'
   12108   ;;
   12109 
   12110 aix[4-9]*)
   12111   version_type=linux # correct to gnu/linux during the next big refactor
   12112   need_lib_prefix=no
   12113   need_version=no
   12114   hardcode_into_libs=yes
   12115   if test ia64 = "$host_cpu"; then
   12116     # AIX 5 supports IA64
   12117     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12118     shlibpath_var=LD_LIBRARY_PATH
   12119   else
   12120     # With GCC up to 2.95.x, collect2 would create an import file
   12121     # for dependence libraries.  The import file would start with
   12122     # the line '#! .'.  This would cause the generated library to
   12123     # depend on '.', always an invalid library.  This was fixed in
   12124     # development snapshots of GCC prior to 3.0.
   12125     case $host_os in
   12126       aix4 | aix4.[01] | aix4.[01].*)
   12127       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12128 	   echo ' yes '
   12129 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12130 	:
   12131       else
   12132 	can_build_shared=no
   12133       fi
   12134       ;;
   12135     esac
   12136     # Using Import Files as archive members, it is possible to support
   12137     # filename-based versioning of shared library archives on AIX. While
   12138     # this would work for both with and without runtime linking, it will
   12139     # prevent static linking of such archives. So we do filename-based
   12140     # shared library versioning with .so extension only, which is used
   12141     # when both runtime linking and shared linking is enabled.
   12142     # Unfortunately, runtime linking may impact performance, so we do
   12143     # not want this to be the default eventually. Also, we use the
   12144     # versioned .so libs for executables only if there is the -brtl
   12145     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   12146     # To allow for filename-based versioning support, we need to create
   12147     # libNAME.so.V as an archive file, containing:
   12148     # *) an Import File, referring to the versioned filename of the
   12149     #    archive as well as the shared archive member, telling the
   12150     #    bitwidth (32 or 64) of that shared object, and providing the
   12151     #    list of exported symbols of that shared object, eventually
   12152     #    decorated with the 'weak' keyword
   12153     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12154     #    it being seen by the linker.
   12155     # At run time we better use the real file rather than another symlink,
   12156     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12157 
   12158     case $with_aix_soname,$aix_use_runtimelinking in
   12159     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12160     # soname into executable. Probably we can add versioning support to
   12161     # collect2, so additional links can be useful in future.
   12162     aix,yes) # traditional libtool
   12163       dynamic_linker='AIX unversionable lib.so'
   12164       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12165       # instead of lib<name>.a to let people know that these are not
   12166       # typical AIX shared libraries.
   12167       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12168       ;;
   12169     aix,no) # traditional AIX only
   12170       dynamic_linker='AIX lib.a(lib.so.V)'
   12171       # We preserve .a as extension for shared libraries through AIX4.2
   12172       # and later when we are not doing run time linking.
   12173       library_names_spec='$libname$release.a $libname.a'
   12174       soname_spec='$libname$release$shared_ext$major'
   12175       ;;
   12176     svr4,*) # full svr4 only
   12177       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12178       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12179       # We do not specify a path in Import Files, so LIBPATH fires.
   12180       shlibpath_overrides_runpath=yes
   12181       ;;
   12182     *,yes) # both, prefer svr4
   12183       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12184       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12185       # unpreferred sharedlib libNAME.a needs extra handling
   12186       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"'
   12187       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"'
   12188       # We do not specify a path in Import Files, so LIBPATH fires.
   12189       shlibpath_overrides_runpath=yes
   12190       ;;
   12191     *,no) # both, prefer aix
   12192       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12193       library_names_spec='$libname$release.a $libname.a'
   12194       soname_spec='$libname$release$shared_ext$major'
   12195       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12196       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)'
   12197       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"'
   12198       ;;
   12199     esac
   12200     shlibpath_var=LIBPATH
   12201   fi
   12202   ;;
   12203 
   12204 amigaos*)
   12205   case $host_cpu in
   12206   powerpc)
   12207     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12208     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12209     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12210     ;;
   12211   m68k)
   12212     library_names_spec='$libname.ixlibrary $libname.a'
   12213     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12214     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'
   12215     ;;
   12216   esac
   12217   ;;
   12218 
   12219 beos*)
   12220   library_names_spec='$libname$shared_ext'
   12221   dynamic_linker="$host_os ld.so"
   12222   shlibpath_var=LIBRARY_PATH
   12223   ;;
   12224 
   12225 bsdi[45]*)
   12226   version_type=linux # correct to gnu/linux during the next big refactor
   12227   need_version=no
   12228   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12229   soname_spec='$libname$release$shared_ext$major'
   12230   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12231   shlibpath_var=LD_LIBRARY_PATH
   12232   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12233   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12234   # the default ld.so.conf also contains /usr/contrib/lib and
   12235   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12236   # libtool to hard-code these into programs
   12237   ;;
   12238 
   12239 cygwin* | mingw* | pw32* | cegcc*)
   12240   version_type=windows
   12241   shrext_cmds=.dll
   12242   need_version=no
   12243   need_lib_prefix=no
   12244 
   12245   case $GCC,$cc_basename in
   12246   yes,*)
   12247     # gcc
   12248     library_names_spec='$libname.dll.a'
   12249     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12250     postinstall_cmds='base_file=`basename \$file`~
   12251       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12252       dldir=$destdir/`dirname \$dlpath`~
   12253       test -d \$dldir || mkdir -p \$dldir~
   12254       $install_prog $dir/$dlname \$dldir/$dlname~
   12255       chmod a+x \$dldir/$dlname~
   12256       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12257         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12258       fi'
   12259     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12260       dlpath=$dir/\$dldll~
   12261        $RM \$dlpath'
   12262     shlibpath_overrides_runpath=yes
   12263 
   12264     case $host_os in
   12265     cygwin*)
   12266       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12267       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12268 
   12269       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12270       ;;
   12271     mingw* | cegcc*)
   12272       # MinGW DLLs use traditional 'lib' prefix
   12273       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12274       ;;
   12275     pw32*)
   12276       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12277       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12278       ;;
   12279     esac
   12280     dynamic_linker='Win32 ld.exe'
   12281     ;;
   12282 
   12283   *,cl*)
   12284     # Native MSVC
   12285     libname_spec='$name'
   12286     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12287     library_names_spec='$libname.dll.lib'
   12288 
   12289     case $build_os in
   12290     mingw*)
   12291       sys_lib_search_path_spec=
   12292       lt_save_ifs=$IFS
   12293       IFS=';'
   12294       for lt_path in $LIB
   12295       do
   12296         IFS=$lt_save_ifs
   12297         # Let DOS variable expansion print the short 8.3 style file name.
   12298         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12299         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12300       done
   12301       IFS=$lt_save_ifs
   12302       # Convert to MSYS style.
   12303       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12304       ;;
   12305     cygwin*)
   12306       # Convert to unix form, then to dos form, then back to unix form
   12307       # but this time dos style (no spaces!) so that the unix form looks
   12308       # like /cygdrive/c/PROGRA~1:/cygdr...
   12309       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12310       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12311       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12312       ;;
   12313     *)
   12314       sys_lib_search_path_spec=$LIB
   12315       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12316         # It is most probably a Windows format PATH.
   12317         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12318       else
   12319         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12320       fi
   12321       # FIXME: find the short name or the path components, as spaces are
   12322       # common. (e.g. "Program Files" -> "PROGRA~1")
   12323       ;;
   12324     esac
   12325 
   12326     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12327     postinstall_cmds='base_file=`basename \$file`~
   12328       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12329       dldir=$destdir/`dirname \$dlpath`~
   12330       test -d \$dldir || mkdir -p \$dldir~
   12331       $install_prog $dir/$dlname \$dldir/$dlname'
   12332     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12333       dlpath=$dir/\$dldll~
   12334        $RM \$dlpath'
   12335     shlibpath_overrides_runpath=yes
   12336     dynamic_linker='Win32 link.exe'
   12337     ;;
   12338 
   12339   *)
   12340     # Assume MSVC wrapper
   12341     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12342     dynamic_linker='Win32 ld.exe'
   12343     ;;
   12344   esac
   12345   # FIXME: first we should search . and the directory the executable is in
   12346   shlibpath_var=PATH
   12347   ;;
   12348 
   12349 darwin* | rhapsody*)
   12350   dynamic_linker="$host_os dyld"
   12351   version_type=darwin
   12352   need_lib_prefix=no
   12353   need_version=no
   12354   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   12355   soname_spec='$libname$release$major$shared_ext'
   12356   shlibpath_overrides_runpath=yes
   12357   shlibpath_var=DYLD_LIBRARY_PATH
   12358   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   12359 
   12360   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12361   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12362   ;;
   12363 
   12364 dgux*)
   12365   version_type=linux # correct to gnu/linux during the next big refactor
   12366   need_lib_prefix=no
   12367   need_version=no
   12368   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12369   soname_spec='$libname$release$shared_ext$major'
   12370   shlibpath_var=LD_LIBRARY_PATH
   12371   ;;
   12372 
   12373 freebsd* | dragonfly*)
   12374   # DragonFly does not have aout.  When/if they implement a new
   12375   # versioning mechanism, adjust this.
   12376   if test -x /usr/bin/objformat; then
   12377     objformat=`/usr/bin/objformat`
   12378   else
   12379     case $host_os in
   12380     freebsd[23].*) objformat=aout ;;
   12381     *) objformat=elf ;;
   12382     esac
   12383   fi
   12384   # Handle Gentoo/FreeBSD as it was Linux
   12385   case $host_vendor in
   12386     gentoo)
   12387       version_type=linux ;;
   12388     *)
   12389       version_type=freebsd-$objformat ;;
   12390   esac
   12391 
   12392   case $version_type in
   12393     freebsd-elf*)
   12394       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12395       soname_spec='$libname$release$shared_ext$major'
   12396       need_version=no
   12397       need_lib_prefix=no
   12398       ;;
   12399     freebsd-*)
   12400       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12401       need_version=yes
   12402       ;;
   12403     linux)
   12404       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12405       soname_spec='${libname}${release}${shared_ext}$major'
   12406       need_lib_prefix=no
   12407       need_version=no
   12408       ;;
   12409   esac
   12410   shlibpath_var=LD_LIBRARY_PATH
   12411   case $host_os in
   12412   freebsd2.*)
   12413     shlibpath_overrides_runpath=yes
   12414     ;;
   12415   freebsd3.[01]* | freebsdelf3.[01]*)
   12416     shlibpath_overrides_runpath=yes
   12417     hardcode_into_libs=yes
   12418     ;;
   12419   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12420   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12421     shlibpath_overrides_runpath=no
   12422     hardcode_into_libs=yes
   12423     ;;
   12424   *) # from 4.6 on, and DragonFly
   12425     shlibpath_overrides_runpath=yes
   12426     hardcode_into_libs=yes
   12427     ;;
   12428   esac
   12429   ;;
   12430 
   12431 haiku*)
   12432   version_type=linux # correct to gnu/linux during the next big refactor
   12433   need_lib_prefix=no
   12434   need_version=no
   12435   dynamic_linker="$host_os runtime_loader"
   12436   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12437   soname_spec='$libname$release$shared_ext$major'
   12438   shlibpath_var=LIBRARY_PATH
   12439   shlibpath_overrides_runpath=no
   12440   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12441   hardcode_into_libs=yes
   12442   ;;
   12443 
   12444 hpux9* | hpux10* | hpux11*)
   12445   # Give a soname corresponding to the major version so that dld.sl refuses to
   12446   # link against other versions.
   12447   version_type=sunos
   12448   need_lib_prefix=no
   12449   need_version=no
   12450   case $host_cpu in
   12451   ia64*)
   12452     shrext_cmds='.so'
   12453     hardcode_into_libs=yes
   12454     dynamic_linker="$host_os dld.so"
   12455     shlibpath_var=LD_LIBRARY_PATH
   12456     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12457     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12458     soname_spec='$libname$release$shared_ext$major'
   12459     if test 32 = "$HPUX_IA64_MODE"; then
   12460       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12461       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12462     else
   12463       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12464       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12465     fi
   12466     ;;
   12467   hppa*64*)
   12468     shrext_cmds='.sl'
   12469     hardcode_into_libs=yes
   12470     dynamic_linker="$host_os dld.sl"
   12471     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12472     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12473     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12474     soname_spec='$libname$release$shared_ext$major'
   12475     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12476     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12477     ;;
   12478   *)
   12479     shrext_cmds='.sl'
   12480     dynamic_linker="$host_os dld.sl"
   12481     shlibpath_var=SHLIB_PATH
   12482     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12483     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12484     soname_spec='$libname$release$shared_ext$major'
   12485     ;;
   12486   esac
   12487   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12488   postinstall_cmds='chmod 555 $lib'
   12489   # or fails outright, so override atomically:
   12490   install_override_mode=555
   12491   ;;
   12492 
   12493 interix[3-9]*)
   12494   version_type=linux # correct to gnu/linux during the next big refactor
   12495   need_lib_prefix=no
   12496   need_version=no
   12497   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12498   soname_spec='$libname$release$shared_ext$major'
   12499   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12500   shlibpath_var=LD_LIBRARY_PATH
   12501   shlibpath_overrides_runpath=no
   12502   hardcode_into_libs=yes
   12503   ;;
   12504 
   12505 irix5* | irix6* | nonstopux*)
   12506   case $host_os in
   12507     nonstopux*) version_type=nonstopux ;;
   12508     *)
   12509 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12510 		version_type=linux # correct to gnu/linux during the next big refactor
   12511 	else
   12512 		version_type=irix
   12513 	fi ;;
   12514   esac
   12515   need_lib_prefix=no
   12516   need_version=no
   12517   soname_spec='$libname$release$shared_ext$major'
   12518   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12519   case $host_os in
   12520   irix5* | nonstopux*)
   12521     libsuff= shlibsuff=
   12522     ;;
   12523   *)
   12524     case $LD in # libtool.m4 will add one of these switches to LD
   12525     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12526       libsuff= shlibsuff= libmagic=32-bit;;
   12527     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12528       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12529     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12530       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12531     *) libsuff= shlibsuff= libmagic=never-match;;
   12532     esac
   12533     ;;
   12534   esac
   12535   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12536   shlibpath_overrides_runpath=no
   12537   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12538   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12539   hardcode_into_libs=yes
   12540   ;;
   12541 
   12542 # No shared lib support for Linux oldld, aout, or coff.
   12543 linux*oldld* | linux*aout* | linux*coff*)
   12544   dynamic_linker=no
   12545   ;;
   12546 
   12547 linux*android*)
   12548   version_type=none # Android doesn't support versioned libraries.
   12549   need_lib_prefix=no
   12550   need_version=no
   12551   library_names_spec='$libname$release$shared_ext'
   12552   soname_spec='$libname$release$shared_ext'
   12553   finish_cmds=
   12554   shlibpath_var=LD_LIBRARY_PATH
   12555   shlibpath_overrides_runpath=yes
   12556 
   12557   # This implies no fast_install, which is unacceptable.
   12558   # Some rework will be needed to allow for fast_install
   12559   # before this can be enabled.
   12560   hardcode_into_libs=yes
   12561 
   12562   dynamic_linker='Android linker'
   12563   # Don't embed -rpath directories since the linker doesn't support them.
   12564   hardcode_libdir_flag_spec='-L$libdir'
   12565   ;;
   12566 
   12567 # This must be glibc/ELF.
   12568 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12569   version_type=linux # correct to gnu/linux during the next big refactor
   12570   need_lib_prefix=no
   12571   need_version=no
   12572   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12573   soname_spec='$libname$release$shared_ext$major'
   12574   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12575   shlibpath_var=LD_LIBRARY_PATH
   12576   shlibpath_overrides_runpath=no
   12577 
   12578   # Some binutils ld are patched to set DT_RUNPATH
   12579   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12580 then :
   12581   printf %s "(cached) " >&6
   12582 else $as_nop
   12583   lt_cv_shlibpath_overrides_runpath=no
   12584     save_LDFLAGS=$LDFLAGS
   12585     save_libdir=$libdir
   12586     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12587 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12588     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12589 /* end confdefs.h.  */
   12590 
   12591 int
   12592 main (void)
   12593 {
   12594 
   12595   ;
   12596   return 0;
   12597 }
   12598 _ACEOF
   12599 if ac_fn_c_try_link "$LINENO"
   12600 then :
   12601   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12602 then :
   12603   lt_cv_shlibpath_overrides_runpath=yes
   12604 fi
   12605 fi
   12606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12607     conftest$ac_exeext conftest.$ac_ext
   12608     LDFLAGS=$save_LDFLAGS
   12609     libdir=$save_libdir
   12610 
   12611 fi
   12612 
   12613   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12614 
   12615   # This implies no fast_install, which is unacceptable.
   12616   # Some rework will be needed to allow for fast_install
   12617   # before this can be enabled.
   12618   hardcode_into_libs=yes
   12619 
   12620   # Ideally, we could use ldconfig to report *all* directores which are
   12621   # searched for libraries, however this is still not possible.  Aside from not
   12622   # being certain /sbin/ldconfig is available, command
   12623   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12624   # even though it is searched at run-time.  Try to do the best guess by
   12625   # appending ld.so.conf contents (and includes) to the search path.
   12626   if test -f /etc/ld.so.conf; then
   12627     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' ' '`
   12628     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12629   fi
   12630 
   12631   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12632   # powerpc, because MkLinux only supported shared libraries with the
   12633   # GNU dynamic linker.  Since this was broken with cross compilers,
   12634   # most powerpc-linux boxes support dynamic linking these days and
   12635   # people can always --disable-shared, the test was removed, and we
   12636   # assume the GNU/Linux dynamic linker is in use.
   12637   dynamic_linker='GNU/Linux ld.so'
   12638   ;;
   12639 
   12640 netbsd*)
   12641   version_type=sunos
   12642   need_lib_prefix=no
   12643   need_version=no
   12644   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12645     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12646     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12647     dynamic_linker='NetBSD (a.out) ld.so'
   12648   else
   12649     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12650     soname_spec='$libname$release$shared_ext$major'
   12651     dynamic_linker='NetBSD ld.elf_so'
   12652   fi
   12653   shlibpath_var=LD_LIBRARY_PATH
   12654   shlibpath_overrides_runpath=yes
   12655   hardcode_into_libs=yes
   12656   ;;
   12657 
   12658 newsos6)
   12659   version_type=linux # correct to gnu/linux during the next big refactor
   12660   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12661   shlibpath_var=LD_LIBRARY_PATH
   12662   shlibpath_overrides_runpath=yes
   12663   ;;
   12664 
   12665 *nto* | *qnx*)
   12666   version_type=qnx
   12667   need_lib_prefix=no
   12668   need_version=no
   12669   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12670   soname_spec='$libname$release$shared_ext$major'
   12671   shlibpath_var=LD_LIBRARY_PATH
   12672   shlibpath_overrides_runpath=no
   12673   hardcode_into_libs=yes
   12674   dynamic_linker='ldqnx.so'
   12675   ;;
   12676 
   12677 openbsd* | bitrig*)
   12678   version_type=sunos
   12679   sys_lib_dlsearch_path_spec=/usr/lib
   12680   need_lib_prefix=no
   12681   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12682     need_version=no
   12683   else
   12684     need_version=yes
   12685   fi
   12686   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12687   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12688   shlibpath_var=LD_LIBRARY_PATH
   12689   shlibpath_overrides_runpath=yes
   12690   ;;
   12691 
   12692 os2*)
   12693   libname_spec='$name'
   12694   version_type=windows
   12695   shrext_cmds=.dll
   12696   need_version=no
   12697   need_lib_prefix=no
   12698   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12699   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12700     v=$($ECHO $release$versuffix | tr -d .-);
   12701     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12702     $ECHO $n$v`$shared_ext'
   12703   library_names_spec='${libname}_dll.$libext'
   12704   dynamic_linker='OS/2 ld.exe'
   12705   shlibpath_var=BEGINLIBPATH
   12706   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12707   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12708   postinstall_cmds='base_file=`basename \$file`~
   12709     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12710     dldir=$destdir/`dirname \$dlpath`~
   12711     test -d \$dldir || mkdir -p \$dldir~
   12712     $install_prog $dir/$dlname \$dldir/$dlname~
   12713     chmod a+x \$dldir/$dlname~
   12714     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12715       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12716     fi'
   12717   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12718     dlpath=$dir/\$dldll~
   12719     $RM \$dlpath'
   12720   ;;
   12721 
   12722 osf3* | osf4* | osf5*)
   12723   version_type=osf
   12724   need_lib_prefix=no
   12725   need_version=no
   12726   soname_spec='$libname$release$shared_ext$major'
   12727   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12728   shlibpath_var=LD_LIBRARY_PATH
   12729   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12730   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12731   ;;
   12732 
   12733 rdos*)
   12734   dynamic_linker=no
   12735   ;;
   12736 
   12737 solaris*)
   12738   version_type=linux # correct to gnu/linux during the next big refactor
   12739   need_lib_prefix=no
   12740   need_version=no
   12741   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12742   soname_spec='$libname$release$shared_ext$major'
   12743   shlibpath_var=LD_LIBRARY_PATH
   12744   shlibpath_overrides_runpath=yes
   12745   hardcode_into_libs=yes
   12746   # ldd complains unless libraries are executable
   12747   postinstall_cmds='chmod +x $lib'
   12748   ;;
   12749 
   12750 sunos4*)
   12751   version_type=sunos
   12752   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12753   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12754   shlibpath_var=LD_LIBRARY_PATH
   12755   shlibpath_overrides_runpath=yes
   12756   if test yes = "$with_gnu_ld"; then
   12757     need_lib_prefix=no
   12758   fi
   12759   need_version=yes
   12760   ;;
   12761 
   12762 sysv4 | sysv4.3*)
   12763   version_type=linux # correct to gnu/linux during the next big refactor
   12764   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12765   soname_spec='$libname$release$shared_ext$major'
   12766   shlibpath_var=LD_LIBRARY_PATH
   12767   case $host_vendor in
   12768     sni)
   12769       shlibpath_overrides_runpath=no
   12770       need_lib_prefix=no
   12771       runpath_var=LD_RUN_PATH
   12772       ;;
   12773     siemens)
   12774       need_lib_prefix=no
   12775       ;;
   12776     motorola)
   12777       need_lib_prefix=no
   12778       need_version=no
   12779       shlibpath_overrides_runpath=no
   12780       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12781       ;;
   12782   esac
   12783   ;;
   12784 
   12785 sysv4*MP*)
   12786   if test -d /usr/nec; then
   12787     version_type=linux # correct to gnu/linux during the next big refactor
   12788     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12789     soname_spec='$libname$shared_ext.$major'
   12790     shlibpath_var=LD_LIBRARY_PATH
   12791   fi
   12792   ;;
   12793 
   12794 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12795   version_type=sco
   12796   need_lib_prefix=no
   12797   need_version=no
   12798   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12799   soname_spec='$libname$release$shared_ext$major'
   12800   shlibpath_var=LD_LIBRARY_PATH
   12801   shlibpath_overrides_runpath=yes
   12802   hardcode_into_libs=yes
   12803   if test yes = "$with_gnu_ld"; then
   12804     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12805   else
   12806     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12807     case $host_os in
   12808       sco3.2v5*)
   12809         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12810 	;;
   12811     esac
   12812   fi
   12813   sys_lib_dlsearch_path_spec='/usr/lib'
   12814   ;;
   12815 
   12816 tpf*)
   12817   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12818   version_type=linux # correct to gnu/linux during the next big refactor
   12819   need_lib_prefix=no
   12820   need_version=no
   12821   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12822   shlibpath_var=LD_LIBRARY_PATH
   12823   shlibpath_overrides_runpath=no
   12824   hardcode_into_libs=yes
   12825   ;;
   12826 
   12827 uts4*)
   12828   version_type=linux # correct to gnu/linux during the next big refactor
   12829   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12830   soname_spec='$libname$release$shared_ext$major'
   12831   shlibpath_var=LD_LIBRARY_PATH
   12832   ;;
   12833 
   12834 *)
   12835   dynamic_linker=no
   12836   ;;
   12837 esac
   12838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12839 printf "%s\n" "$dynamic_linker" >&6; }
   12840 test no = "$dynamic_linker" && can_build_shared=no
   12841 
   12842 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12843 if test yes = "$GCC"; then
   12844   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12845 fi
   12846 
   12847 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12848   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12849 fi
   12850 
   12851 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12852   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12853 fi
   12854 
   12855 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12856 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12857 
   12858 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12859 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12860 
   12861 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12862 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12961 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12962 hardcode_action=
   12963 if test -n "$hardcode_libdir_flag_spec" ||
   12964    test -n "$runpath_var" ||
   12965    test yes = "$hardcode_automatic"; then
   12966 
   12967   # We can hardcode non-existent directories.
   12968   if test no != "$hardcode_direct" &&
   12969      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12970      # have to relink, otherwise we might link with an installed library
   12971      # when we should be linking with a yet-to-be-installed one
   12972      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12973      test no != "$hardcode_minus_L"; then
   12974     # Linking always hardcodes the temporary library directory.
   12975     hardcode_action=relink
   12976   else
   12977     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12978     hardcode_action=immediate
   12979   fi
   12980 else
   12981   # We cannot hardcode anything, or else we can only hardcode existing
   12982   # directories.
   12983   hardcode_action=unsupported
   12984 fi
   12985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12986 printf "%s\n" "$hardcode_action" >&6; }
   12987 
   12988 if test relink = "$hardcode_action" ||
   12989    test yes = "$inherit_rpath"; then
   12990   # Fast installation is not supported
   12991   enable_fast_install=no
   12992 elif test yes = "$shlibpath_overrides_runpath" ||
   12993      test no = "$enable_shared"; then
   12994   # Fast installation is not necessary
   12995   enable_fast_install=needless
   12996 fi
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003   if test yes != "$enable_dlopen"; then
   13004   enable_dlopen=unknown
   13005   enable_dlopen_self=unknown
   13006   enable_dlopen_self_static=unknown
   13007 else
   13008   lt_cv_dlopen=no
   13009   lt_cv_dlopen_libs=
   13010 
   13011   case $host_os in
   13012   beos*)
   13013     lt_cv_dlopen=load_add_on
   13014     lt_cv_dlopen_libs=
   13015     lt_cv_dlopen_self=yes
   13016     ;;
   13017 
   13018   mingw* | pw32* | cegcc*)
   13019     lt_cv_dlopen=LoadLibrary
   13020     lt_cv_dlopen_libs=
   13021     ;;
   13022 
   13023   cygwin*)
   13024     lt_cv_dlopen=dlopen
   13025     lt_cv_dlopen_libs=
   13026     ;;
   13027 
   13028   darwin*)
   13029     # if libdl is installed we need to link against it
   13030     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13031 printf %s "checking for dlopen in -ldl... " >&6; }
   13032 if test ${ac_cv_lib_dl_dlopen+y}
   13033 then :
   13034   printf %s "(cached) " >&6
   13035 else $as_nop
   13036   ac_check_lib_save_LIBS=$LIBS
   13037 LIBS="-ldl  $LIBS"
   13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13039 /* end confdefs.h.  */
   13040 
   13041 /* Override any GCC internal prototype to avoid an error.
   13042    Use char because int might match the return type of a GCC
   13043    builtin and then its argument prototype would still apply.  */
   13044 char dlopen ();
   13045 int
   13046 main (void)
   13047 {
   13048 return dlopen ();
   13049   ;
   13050   return 0;
   13051 }
   13052 _ACEOF
   13053 if ac_fn_c_try_link "$LINENO"
   13054 then :
   13055   ac_cv_lib_dl_dlopen=yes
   13056 else $as_nop
   13057   ac_cv_lib_dl_dlopen=no
   13058 fi
   13059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13060     conftest$ac_exeext conftest.$ac_ext
   13061 LIBS=$ac_check_lib_save_LIBS
   13062 fi
   13063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13064 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13065 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13066 then :
   13067   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13068 else $as_nop
   13069 
   13070     lt_cv_dlopen=dyld
   13071     lt_cv_dlopen_libs=
   13072     lt_cv_dlopen_self=yes
   13073 
   13074 fi
   13075 
   13076     ;;
   13077 
   13078   tpf*)
   13079     # Don't try to run any link tests for TPF.  We know it's impossible
   13080     # because TPF is a cross-compiler, and we know how we open DSOs.
   13081     lt_cv_dlopen=dlopen
   13082     lt_cv_dlopen_libs=
   13083     lt_cv_dlopen_self=no
   13084     ;;
   13085 
   13086   *)
   13087     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13088 if test "x$ac_cv_func_shl_load" = xyes
   13089 then :
   13090   lt_cv_dlopen=shl_load
   13091 else $as_nop
   13092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13093 printf %s "checking for shl_load in -ldld... " >&6; }
   13094 if test ${ac_cv_lib_dld_shl_load+y}
   13095 then :
   13096   printf %s "(cached) " >&6
   13097 else $as_nop
   13098   ac_check_lib_save_LIBS=$LIBS
   13099 LIBS="-ldld  $LIBS"
   13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13101 /* end confdefs.h.  */
   13102 
   13103 /* Override any GCC internal prototype to avoid an error.
   13104    Use char because int might match the return type of a GCC
   13105    builtin and then its argument prototype would still apply.  */
   13106 char shl_load ();
   13107 int
   13108 main (void)
   13109 {
   13110 return shl_load ();
   13111   ;
   13112   return 0;
   13113 }
   13114 _ACEOF
   13115 if ac_fn_c_try_link "$LINENO"
   13116 then :
   13117   ac_cv_lib_dld_shl_load=yes
   13118 else $as_nop
   13119   ac_cv_lib_dld_shl_load=no
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13122     conftest$ac_exeext conftest.$ac_ext
   13123 LIBS=$ac_check_lib_save_LIBS
   13124 fi
   13125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13126 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13127 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13128 then :
   13129   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13130 else $as_nop
   13131   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13132 if test "x$ac_cv_func_dlopen" = xyes
   13133 then :
   13134   lt_cv_dlopen=dlopen
   13135 else $as_nop
   13136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13137 printf %s "checking for dlopen in -ldl... " >&6; }
   13138 if test ${ac_cv_lib_dl_dlopen+y}
   13139 then :
   13140   printf %s "(cached) " >&6
   13141 else $as_nop
   13142   ac_check_lib_save_LIBS=$LIBS
   13143 LIBS="-ldl  $LIBS"
   13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13145 /* end confdefs.h.  */
   13146 
   13147 /* Override any GCC internal prototype to avoid an error.
   13148    Use char because int might match the return type of a GCC
   13149    builtin and then its argument prototype would still apply.  */
   13150 char dlopen ();
   13151 int
   13152 main (void)
   13153 {
   13154 return dlopen ();
   13155   ;
   13156   return 0;
   13157 }
   13158 _ACEOF
   13159 if ac_fn_c_try_link "$LINENO"
   13160 then :
   13161   ac_cv_lib_dl_dlopen=yes
   13162 else $as_nop
   13163   ac_cv_lib_dl_dlopen=no
   13164 fi
   13165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13166     conftest$ac_exeext conftest.$ac_ext
   13167 LIBS=$ac_check_lib_save_LIBS
   13168 fi
   13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13170 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13171 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13172 then :
   13173   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13174 else $as_nop
   13175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13176 printf %s "checking for dlopen in -lsvld... " >&6; }
   13177 if test ${ac_cv_lib_svld_dlopen+y}
   13178 then :
   13179   printf %s "(cached) " >&6
   13180 else $as_nop
   13181   ac_check_lib_save_LIBS=$LIBS
   13182 LIBS="-lsvld  $LIBS"
   13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13184 /* end confdefs.h.  */
   13185 
   13186 /* Override any GCC internal prototype to avoid an error.
   13187    Use char because int might match the return type of a GCC
   13188    builtin and then its argument prototype would still apply.  */
   13189 char dlopen ();
   13190 int
   13191 main (void)
   13192 {
   13193 return dlopen ();
   13194   ;
   13195   return 0;
   13196 }
   13197 _ACEOF
   13198 if ac_fn_c_try_link "$LINENO"
   13199 then :
   13200   ac_cv_lib_svld_dlopen=yes
   13201 else $as_nop
   13202   ac_cv_lib_svld_dlopen=no
   13203 fi
   13204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13205     conftest$ac_exeext conftest.$ac_ext
   13206 LIBS=$ac_check_lib_save_LIBS
   13207 fi
   13208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13209 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13210 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13211 then :
   13212   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13213 else $as_nop
   13214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13215 printf %s "checking for dld_link in -ldld... " >&6; }
   13216 if test ${ac_cv_lib_dld_dld_link+y}
   13217 then :
   13218   printf %s "(cached) " >&6
   13219 else $as_nop
   13220   ac_check_lib_save_LIBS=$LIBS
   13221 LIBS="-ldld  $LIBS"
   13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13223 /* end confdefs.h.  */
   13224 
   13225 /* Override any GCC internal prototype to avoid an error.
   13226    Use char because int might match the return type of a GCC
   13227    builtin and then its argument prototype would still apply.  */
   13228 char dld_link ();
   13229 int
   13230 main (void)
   13231 {
   13232 return dld_link ();
   13233   ;
   13234   return 0;
   13235 }
   13236 _ACEOF
   13237 if ac_fn_c_try_link "$LINENO"
   13238 then :
   13239   ac_cv_lib_dld_dld_link=yes
   13240 else $as_nop
   13241   ac_cv_lib_dld_dld_link=no
   13242 fi
   13243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13244     conftest$ac_exeext conftest.$ac_ext
   13245 LIBS=$ac_check_lib_save_LIBS
   13246 fi
   13247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13248 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13249 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13250 then :
   13251   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13252 fi
   13253 
   13254 
   13255 fi
   13256 
   13257 
   13258 fi
   13259 
   13260 
   13261 fi
   13262 
   13263 
   13264 fi
   13265 
   13266 
   13267 fi
   13268 
   13269     ;;
   13270   esac
   13271 
   13272   if test no = "$lt_cv_dlopen"; then
   13273     enable_dlopen=no
   13274   else
   13275     enable_dlopen=yes
   13276   fi
   13277 
   13278   case $lt_cv_dlopen in
   13279   dlopen)
   13280     save_CPPFLAGS=$CPPFLAGS
   13281     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13282 
   13283     save_LDFLAGS=$LDFLAGS
   13284     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13285 
   13286     save_LIBS=$LIBS
   13287     LIBS="$lt_cv_dlopen_libs $LIBS"
   13288 
   13289     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13290 printf %s "checking whether a program can dlopen itself... " >&6; }
   13291 if test ${lt_cv_dlopen_self+y}
   13292 then :
   13293   printf %s "(cached) " >&6
   13294 else $as_nop
   13295   	  if test yes = "$cross_compiling"; then :
   13296   lt_cv_dlopen_self=cross
   13297 else
   13298   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13299   lt_status=$lt_dlunknown
   13300   cat > conftest.$ac_ext <<_LT_EOF
   13301 #line $LINENO "configure"
   13302 #include "confdefs.h"
   13303 
   13304 #if HAVE_DLFCN_H
   13305 #include <dlfcn.h>
   13306 #endif
   13307 
   13308 #include <stdio.h>
   13309 
   13310 #ifdef RTLD_GLOBAL
   13311 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13312 #else
   13313 #  ifdef DL_GLOBAL
   13314 #    define LT_DLGLOBAL		DL_GLOBAL
   13315 #  else
   13316 #    define LT_DLGLOBAL		0
   13317 #  endif
   13318 #endif
   13319 
   13320 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13321    find out it does not work in some platform. */
   13322 #ifndef LT_DLLAZY_OR_NOW
   13323 #  ifdef RTLD_LAZY
   13324 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13325 #  else
   13326 #    ifdef DL_LAZY
   13327 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13328 #    else
   13329 #      ifdef RTLD_NOW
   13330 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13331 #      else
   13332 #        ifdef DL_NOW
   13333 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13334 #        else
   13335 #          define LT_DLLAZY_OR_NOW	0
   13336 #        endif
   13337 #      endif
   13338 #    endif
   13339 #  endif
   13340 #endif
   13341 
   13342 /* When -fvisibility=hidden is used, assume the code has been annotated
   13343    correspondingly for the symbols needed.  */
   13344 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13345 int fnord () __attribute__((visibility("default")));
   13346 #endif
   13347 
   13348 int fnord () { return 42; }
   13349 int main ()
   13350 {
   13351   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13352   int status = $lt_dlunknown;
   13353 
   13354   if (self)
   13355     {
   13356       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13357       else
   13358         {
   13359 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13360           else puts (dlerror ());
   13361 	}
   13362       /* dlclose (self); */
   13363     }
   13364   else
   13365     puts (dlerror ());
   13366 
   13367   return status;
   13368 }
   13369 _LT_EOF
   13370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13371   (eval $ac_link) 2>&5
   13372   ac_status=$?
   13373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13374   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13375     (./conftest; exit; ) >&5 2>/dev/null
   13376     lt_status=$?
   13377     case x$lt_status in
   13378       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13379       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13380       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13381     esac
   13382   else :
   13383     # compilation failed
   13384     lt_cv_dlopen_self=no
   13385   fi
   13386 fi
   13387 rm -fr conftest*
   13388 
   13389 
   13390 fi
   13391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13392 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13393 
   13394     if test yes = "$lt_cv_dlopen_self"; then
   13395       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13396       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13397 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13398 if test ${lt_cv_dlopen_self_static+y}
   13399 then :
   13400   printf %s "(cached) " >&6
   13401 else $as_nop
   13402   	  if test yes = "$cross_compiling"; then :
   13403   lt_cv_dlopen_self_static=cross
   13404 else
   13405   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13406   lt_status=$lt_dlunknown
   13407   cat > conftest.$ac_ext <<_LT_EOF
   13408 #line $LINENO "configure"
   13409 #include "confdefs.h"
   13410 
   13411 #if HAVE_DLFCN_H
   13412 #include <dlfcn.h>
   13413 #endif
   13414 
   13415 #include <stdio.h>
   13416 
   13417 #ifdef RTLD_GLOBAL
   13418 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13419 #else
   13420 #  ifdef DL_GLOBAL
   13421 #    define LT_DLGLOBAL		DL_GLOBAL
   13422 #  else
   13423 #    define LT_DLGLOBAL		0
   13424 #  endif
   13425 #endif
   13426 
   13427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13428    find out it does not work in some platform. */
   13429 #ifndef LT_DLLAZY_OR_NOW
   13430 #  ifdef RTLD_LAZY
   13431 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13432 #  else
   13433 #    ifdef DL_LAZY
   13434 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13435 #    else
   13436 #      ifdef RTLD_NOW
   13437 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13438 #      else
   13439 #        ifdef DL_NOW
   13440 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13441 #        else
   13442 #          define LT_DLLAZY_OR_NOW	0
   13443 #        endif
   13444 #      endif
   13445 #    endif
   13446 #  endif
   13447 #endif
   13448 
   13449 /* When -fvisibility=hidden is used, assume the code has been annotated
   13450    correspondingly for the symbols needed.  */
   13451 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13452 int fnord () __attribute__((visibility("default")));
   13453 #endif
   13454 
   13455 int fnord () { return 42; }
   13456 int main ()
   13457 {
   13458   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13459   int status = $lt_dlunknown;
   13460 
   13461   if (self)
   13462     {
   13463       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13464       else
   13465         {
   13466 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13467           else puts (dlerror ());
   13468 	}
   13469       /* dlclose (self); */
   13470     }
   13471   else
   13472     puts (dlerror ());
   13473 
   13474   return status;
   13475 }
   13476 _LT_EOF
   13477   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13478   (eval $ac_link) 2>&5
   13479   ac_status=$?
   13480   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13481   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13482     (./conftest; exit; ) >&5 2>/dev/null
   13483     lt_status=$?
   13484     case x$lt_status in
   13485       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13486       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13487       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13488     esac
   13489   else :
   13490     # compilation failed
   13491     lt_cv_dlopen_self_static=no
   13492   fi
   13493 fi
   13494 rm -fr conftest*
   13495 
   13496 
   13497 fi
   13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13499 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13500     fi
   13501 
   13502     CPPFLAGS=$save_CPPFLAGS
   13503     LDFLAGS=$save_LDFLAGS
   13504     LIBS=$save_LIBS
   13505     ;;
   13506   esac
   13507 
   13508   case $lt_cv_dlopen_self in
   13509   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13510   *) enable_dlopen_self=unknown ;;
   13511   esac
   13512 
   13513   case $lt_cv_dlopen_self_static in
   13514   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13515   *) enable_dlopen_self_static=unknown ;;
   13516   esac
   13517 fi
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 striplib=
   13536 old_striplib=
   13537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13538 printf %s "checking whether stripping libraries is possible... " >&6; }
   13539 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13540   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13541   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13543 printf "%s\n" "yes" >&6; }
   13544 else
   13545 # FIXME - insert some real tests, host_os isn't really good enough
   13546   case $host_os in
   13547   darwin*)
   13548     if test -n "$STRIP"; then
   13549       striplib="$STRIP -x"
   13550       old_striplib="$STRIP -S"
   13551       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13552 printf "%s\n" "yes" >&6; }
   13553     else
   13554       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13555 printf "%s\n" "no" >&6; }
   13556     fi
   13557     ;;
   13558   *)
   13559     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13560 printf "%s\n" "no" >&6; }
   13561     ;;
   13562   esac
   13563 fi
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 
   13573 
   13574 
   13575 
   13576   # Report what library types will actually be built
   13577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13578 printf %s "checking if libtool supports shared libraries... " >&6; }
   13579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13580 printf "%s\n" "$can_build_shared" >&6; }
   13581 
   13582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13583 printf %s "checking whether to build shared libraries... " >&6; }
   13584   test no = "$can_build_shared" && enable_shared=no
   13585 
   13586   # On AIX, shared libraries and static libraries use the same namespace, and
   13587   # are all built from PIC.
   13588   case $host_os in
   13589   aix3*)
   13590     test yes = "$enable_shared" && enable_static=no
   13591     if test -n "$RANLIB"; then
   13592       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13593       postinstall_cmds='$RANLIB $lib'
   13594     fi
   13595     ;;
   13596 
   13597   aix[4-9]*)
   13598     if test ia64 != "$host_cpu"; then
   13599       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13600       yes,aix,yes) ;;			# shared object as lib.so file only
   13601       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13602       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13603       esac
   13604     fi
   13605     ;;
   13606   esac
   13607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13608 printf "%s\n" "$enable_shared" >&6; }
   13609 
   13610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13611 printf %s "checking whether to build static libraries... " >&6; }
   13612   # Make sure either enable_shared or enable_static is yes.
   13613   test yes = "$enable_shared" || enable_static=yes
   13614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13615 printf "%s\n" "$enable_static" >&6; }
   13616 
   13617 
   13618 
   13619 
   13620 fi
   13621 ac_ext=c
   13622 ac_cpp='$CPP $CPPFLAGS'
   13623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13626 
   13627 CC=$lt_save_CC
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643         ac_config_commands="$ac_config_commands libtool"
   13644 
   13645 
   13646 
   13647 
   13648 # Only expand once:
   13649 
   13650 
   13651 
   13652 # Require xorg-macros minimum of 1.18 - Initial version
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13666 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13667 if test ${ac_cv_c_undeclared_builtin_options+y}
   13668 then :
   13669   printf %s "(cached) " >&6
   13670 else $as_nop
   13671   ac_save_CFLAGS=$CFLAGS
   13672    ac_cv_c_undeclared_builtin_options='cannot detect'
   13673    for ac_arg in '' -fno-builtin; do
   13674      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13675      # This test program should *not* compile successfully.
   13676      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13677 /* end confdefs.h.  */
   13678 
   13679 int
   13680 main (void)
   13681 {
   13682 (void) strchr;
   13683   ;
   13684   return 0;
   13685 }
   13686 _ACEOF
   13687 if ac_fn_c_try_compile "$LINENO"
   13688 then :
   13689 
   13690 else $as_nop
   13691   # This test program should compile successfully.
   13692         # No library function is consistently available on
   13693         # freestanding implementations, so test against a dummy
   13694         # declaration.  Include always-available headers on the
   13695         # off chance that they somehow elicit warnings.
   13696         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13697 /* end confdefs.h.  */
   13698 #include <float.h>
   13699 #include <limits.h>
   13700 #include <stdarg.h>
   13701 #include <stddef.h>
   13702 extern void ac_decl (int, char *);
   13703 
   13704 int
   13705 main (void)
   13706 {
   13707 (void) ac_decl (0, (char *) 0);
   13708   (void) ac_decl;
   13709 
   13710   ;
   13711   return 0;
   13712 }
   13713 _ACEOF
   13714 if ac_fn_c_try_compile "$LINENO"
   13715 then :
   13716   if test x"$ac_arg" = x
   13717 then :
   13718   ac_cv_c_undeclared_builtin_options='none needed'
   13719 else $as_nop
   13720   ac_cv_c_undeclared_builtin_options=$ac_arg
   13721 fi
   13722           break
   13723 fi
   13724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13725 fi
   13726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13727     done
   13728     CFLAGS=$ac_save_CFLAGS
   13729 
   13730 fi
   13731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13732 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13733   case $ac_cv_c_undeclared_builtin_options in #(
   13734   'cannot detect') :
   13735     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13736 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13737 as_fn_error $? "cannot make $CC report undeclared builtins
   13738 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13739   'none needed') :
   13740     ac_c_undeclared_builtin_options='' ;; #(
   13741   *) :
   13742     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13743 esac
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13750 if test "x$ac_cv_have_decl___clang__" = xyes
   13751 then :
   13752   CLANGCC="yes"
   13753 else $as_nop
   13754   CLANGCC="no"
   13755 fi
   13756 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13757 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13758 then :
   13759   INTELCC="yes"
   13760 else $as_nop
   13761   INTELCC="no"
   13762 fi
   13763 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13764 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13765 then :
   13766   SUNCC="yes"
   13767 else $as_nop
   13768   SUNCC="no"
   13769 fi
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13779 	if test -n "$ac_tool_prefix"; then
   13780   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13781 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13783 printf %s "checking for $ac_word... " >&6; }
   13784 if test ${ac_cv_path_PKG_CONFIG+y}
   13785 then :
   13786   printf %s "(cached) " >&6
   13787 else $as_nop
   13788   case $PKG_CONFIG in
   13789   [\\/]* | ?:[\\/]*)
   13790   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13791   ;;
   13792   *)
   13793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13794 for as_dir in $PATH
   13795 do
   13796   IFS=$as_save_IFS
   13797   case $as_dir in #(((
   13798     '') as_dir=./ ;;
   13799     */) ;;
   13800     *) as_dir=$as_dir/ ;;
   13801   esac
   13802     for ac_exec_ext in '' $ac_executable_extensions; do
   13803   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13804     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13805     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13806     break 2
   13807   fi
   13808 done
   13809   done
   13810 IFS=$as_save_IFS
   13811 
   13812   ;;
   13813 esac
   13814 fi
   13815 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13816 if test -n "$PKG_CONFIG"; then
   13817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13818 printf "%s\n" "$PKG_CONFIG" >&6; }
   13819 else
   13820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13821 printf "%s\n" "no" >&6; }
   13822 fi
   13823 
   13824 
   13825 fi
   13826 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13827   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13828   # Extract the first word of "pkg-config", so it can be a program name with args.
   13829 set dummy pkg-config; ac_word=$2
   13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13831 printf %s "checking for $ac_word... " >&6; }
   13832 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13833 then :
   13834   printf %s "(cached) " >&6
   13835 else $as_nop
   13836   case $ac_pt_PKG_CONFIG in
   13837   [\\/]* | ?:[\\/]*)
   13838   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13839   ;;
   13840   *)
   13841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13842 for as_dir in $PATH
   13843 do
   13844   IFS=$as_save_IFS
   13845   case $as_dir in #(((
   13846     '') as_dir=./ ;;
   13847     */) ;;
   13848     *) as_dir=$as_dir/ ;;
   13849   esac
   13850     for ac_exec_ext in '' $ac_executable_extensions; do
   13851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13852     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13854     break 2
   13855   fi
   13856 done
   13857   done
   13858 IFS=$as_save_IFS
   13859 
   13860   ;;
   13861 esac
   13862 fi
   13863 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13864 if test -n "$ac_pt_PKG_CONFIG"; then
   13865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13866 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13867 else
   13868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13869 printf "%s\n" "no" >&6; }
   13870 fi
   13871 
   13872   if test "x$ac_pt_PKG_CONFIG" = x; then
   13873     PKG_CONFIG=""
   13874   else
   13875     case $cross_compiling:$ac_tool_warned in
   13876 yes:)
   13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13879 ac_tool_warned=yes ;;
   13880 esac
   13881     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13882   fi
   13883 else
   13884   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13885 fi
   13886 
   13887 fi
   13888 if test -n "$PKG_CONFIG"; then
   13889 	_pkg_min_version=0.9.0
   13890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13891 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13892 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13894 printf "%s\n" "yes" >&6; }
   13895 	else
   13896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13897 printf "%s\n" "no" >&6; }
   13898 		PKG_CONFIG=""
   13899 	fi
   13900 fi
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 # Check whether --enable-selective-werror was given.
   13907 if test ${enable_selective_werror+y}
   13908 then :
   13909   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13910 else $as_nop
   13911   SELECTIVE_WERROR=yes
   13912 fi
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13919 if test "x$SUNCC" = "xyes"; then
   13920     BASE_CFLAGS="-v"
   13921 else
   13922     BASE_CFLAGS=""
   13923 fi
   13924 
   13925 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 xorg_testset_save_CFLAGS="$CFLAGS"
   13940 
   13941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13946 then :
   13947   printf %s "(cached) " >&6
   13948 else $as_nop
   13949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13950 /* end confdefs.h.  */
   13951 int i;
   13952 _ACEOF
   13953 if ac_fn_c_try_compile "$LINENO"
   13954 then :
   13955   xorg_cv_cc_flag_unknown_warning_option=yes
   13956 else $as_nop
   13957   xorg_cv_cc_flag_unknown_warning_option=no
   13958 fi
   13959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13960 fi
   13961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13962 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13964 	CFLAGS="$xorg_testset_save_CFLAGS"
   13965 fi
   13966 
   13967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13970 	fi
   13971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13973 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13974 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13975 then :
   13976   printf %s "(cached) " >&6
   13977 else $as_nop
   13978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13979 /* end confdefs.h.  */
   13980 int i;
   13981 _ACEOF
   13982 if ac_fn_c_try_compile "$LINENO"
   13983 then :
   13984   xorg_cv_cc_flag_unused_command_line_argument=yes
   13985 else $as_nop
   13986   xorg_cv_cc_flag_unused_command_line_argument=no
   13987 fi
   13988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13989 fi
   13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13991 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13993 	CFLAGS="$xorg_testset_save_CFLAGS"
   13994 fi
   13995 
   13996 found="no"
   13997 
   13998 	if test $found = "no" ; then
   13999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14001 		fi
   14002 
   14003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14005 		fi
   14006 
   14007 		CFLAGS="$CFLAGS -Wall"
   14008 
   14009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14010 printf %s "checking if $CC supports -Wall... " >&6; }
   14011 		cacheid=xorg_cv_cc_flag__Wall
   14012 		if eval test \${$cacheid+y}
   14013 then :
   14014   printf %s "(cached) " >&6
   14015 else $as_nop
   14016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14017 /* end confdefs.h.  */
   14018 int i;
   14019 int
   14020 main (void)
   14021 {
   14022 
   14023   ;
   14024   return 0;
   14025 }
   14026 _ACEOF
   14027 if ac_fn_c_try_link "$LINENO"
   14028 then :
   14029   eval $cacheid=yes
   14030 else $as_nop
   14031   eval $cacheid=no
   14032 fi
   14033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14034     conftest$ac_exeext conftest.$ac_ext
   14035 fi
   14036 
   14037 
   14038 		CFLAGS="$xorg_testset_save_CFLAGS"
   14039 
   14040 		eval supported=\$$cacheid
   14041 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14042 printf "%s\n" "$supported" >&6; }
   14043 		if test "$supported" = "yes" ; then
   14044 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14045 			found="yes"
   14046 		fi
   14047 	fi
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 xorg_testset_save_CFLAGS="$CFLAGS"
   14064 
   14065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14068 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14069 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14070 then :
   14071   printf %s "(cached) " >&6
   14072 else $as_nop
   14073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14074 /* end confdefs.h.  */
   14075 int i;
   14076 _ACEOF
   14077 if ac_fn_c_try_compile "$LINENO"
   14078 then :
   14079   xorg_cv_cc_flag_unknown_warning_option=yes
   14080 else $as_nop
   14081   xorg_cv_cc_flag_unknown_warning_option=no
   14082 fi
   14083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14084 fi
   14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14086 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14088 	CFLAGS="$xorg_testset_save_CFLAGS"
   14089 fi
   14090 
   14091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14094 	fi
   14095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14096 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14097 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14098 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14099 then :
   14100   printf %s "(cached) " >&6
   14101 else $as_nop
   14102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14103 /* end confdefs.h.  */
   14104 int i;
   14105 _ACEOF
   14106 if ac_fn_c_try_compile "$LINENO"
   14107 then :
   14108   xorg_cv_cc_flag_unused_command_line_argument=yes
   14109 else $as_nop
   14110   xorg_cv_cc_flag_unused_command_line_argument=no
   14111 fi
   14112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14113 fi
   14114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14115 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14116 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14117 	CFLAGS="$xorg_testset_save_CFLAGS"
   14118 fi
   14119 
   14120 found="no"
   14121 
   14122 	if test $found = "no" ; then
   14123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14125 		fi
   14126 
   14127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14129 		fi
   14130 
   14131 		CFLAGS="$CFLAGS -Wpointer-arith"
   14132 
   14133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14134 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14135 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14136 		if eval test \${$cacheid+y}
   14137 then :
   14138   printf %s "(cached) " >&6
   14139 else $as_nop
   14140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14141 /* end confdefs.h.  */
   14142 int i;
   14143 int
   14144 main (void)
   14145 {
   14146 
   14147   ;
   14148   return 0;
   14149 }
   14150 _ACEOF
   14151 if ac_fn_c_try_link "$LINENO"
   14152 then :
   14153   eval $cacheid=yes
   14154 else $as_nop
   14155   eval $cacheid=no
   14156 fi
   14157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14158     conftest$ac_exeext conftest.$ac_ext
   14159 fi
   14160 
   14161 
   14162 		CFLAGS="$xorg_testset_save_CFLAGS"
   14163 
   14164 		eval supported=\$$cacheid
   14165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14166 printf "%s\n" "$supported" >&6; }
   14167 		if test "$supported" = "yes" ; then
   14168 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14169 			found="yes"
   14170 		fi
   14171 	fi
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 xorg_testset_save_CFLAGS="$CFLAGS"
   14188 
   14189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14192 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14193 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14194 then :
   14195   printf %s "(cached) " >&6
   14196 else $as_nop
   14197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14198 /* end confdefs.h.  */
   14199 int i;
   14200 _ACEOF
   14201 if ac_fn_c_try_compile "$LINENO"
   14202 then :
   14203   xorg_cv_cc_flag_unknown_warning_option=yes
   14204 else $as_nop
   14205   xorg_cv_cc_flag_unknown_warning_option=no
   14206 fi
   14207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14208 fi
   14209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14210 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14212 	CFLAGS="$xorg_testset_save_CFLAGS"
   14213 fi
   14214 
   14215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14218 	fi
   14219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14221 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14222 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14223 then :
   14224   printf %s "(cached) " >&6
   14225 else $as_nop
   14226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14227 /* end confdefs.h.  */
   14228 int i;
   14229 _ACEOF
   14230 if ac_fn_c_try_compile "$LINENO"
   14231 then :
   14232   xorg_cv_cc_flag_unused_command_line_argument=yes
   14233 else $as_nop
   14234   xorg_cv_cc_flag_unused_command_line_argument=no
   14235 fi
   14236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14237 fi
   14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14239 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14241 	CFLAGS="$xorg_testset_save_CFLAGS"
   14242 fi
   14243 
   14244 found="no"
   14245 
   14246 	if test $found = "no" ; then
   14247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14249 		fi
   14250 
   14251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14253 		fi
   14254 
   14255 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14256 
   14257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14258 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14259 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14260 		if eval test \${$cacheid+y}
   14261 then :
   14262   printf %s "(cached) " >&6
   14263 else $as_nop
   14264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14265 /* end confdefs.h.  */
   14266 int i;
   14267 int
   14268 main (void)
   14269 {
   14270 
   14271   ;
   14272   return 0;
   14273 }
   14274 _ACEOF
   14275 if ac_fn_c_try_link "$LINENO"
   14276 then :
   14277   eval $cacheid=yes
   14278 else $as_nop
   14279   eval $cacheid=no
   14280 fi
   14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14282     conftest$ac_exeext conftest.$ac_ext
   14283 fi
   14284 
   14285 
   14286 		CFLAGS="$xorg_testset_save_CFLAGS"
   14287 
   14288 		eval supported=\$$cacheid
   14289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14290 printf "%s\n" "$supported" >&6; }
   14291 		if test "$supported" = "yes" ; then
   14292 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14293 			found="yes"
   14294 		fi
   14295 	fi
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 xorg_testset_save_CFLAGS="$CFLAGS"
   14312 
   14313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14316 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14317 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14318 then :
   14319   printf %s "(cached) " >&6
   14320 else $as_nop
   14321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14322 /* end confdefs.h.  */
   14323 int i;
   14324 _ACEOF
   14325 if ac_fn_c_try_compile "$LINENO"
   14326 then :
   14327   xorg_cv_cc_flag_unknown_warning_option=yes
   14328 else $as_nop
   14329   xorg_cv_cc_flag_unknown_warning_option=no
   14330 fi
   14331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14332 fi
   14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14334 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14336 	CFLAGS="$xorg_testset_save_CFLAGS"
   14337 fi
   14338 
   14339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14342 	fi
   14343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14345 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14346 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14347 then :
   14348   printf %s "(cached) " >&6
   14349 else $as_nop
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"
   14355 then :
   14356   xorg_cv_cc_flag_unused_command_line_argument=yes
   14357 else $as_nop
   14358   xorg_cv_cc_flag_unused_command_line_argument=no
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14361 fi
   14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14363 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14365 	CFLAGS="$xorg_testset_save_CFLAGS"
   14366 fi
   14367 
   14368 found="no"
   14369 
   14370 	if test $found = "no" ; then
   14371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14373 		fi
   14374 
   14375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14377 		fi
   14378 
   14379 		CFLAGS="$CFLAGS -Wformat=2"
   14380 
   14381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14382 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14383 		cacheid=xorg_cv_cc_flag__Wformat_2
   14384 		if eval test \${$cacheid+y}
   14385 then :
   14386   printf %s "(cached) " >&6
   14387 else $as_nop
   14388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14389 /* end confdefs.h.  */
   14390 int i;
   14391 int
   14392 main (void)
   14393 {
   14394 
   14395   ;
   14396   return 0;
   14397 }
   14398 _ACEOF
   14399 if ac_fn_c_try_link "$LINENO"
   14400 then :
   14401   eval $cacheid=yes
   14402 else $as_nop
   14403   eval $cacheid=no
   14404 fi
   14405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14406     conftest$ac_exeext conftest.$ac_ext
   14407 fi
   14408 
   14409 
   14410 		CFLAGS="$xorg_testset_save_CFLAGS"
   14411 
   14412 		eval supported=\$$cacheid
   14413 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14414 printf "%s\n" "$supported" >&6; }
   14415 		if test "$supported" = "yes" ; then
   14416 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14417 			found="yes"
   14418 		fi
   14419 	fi
   14420 
   14421 	if test $found = "no" ; then
   14422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14424 		fi
   14425 
   14426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14428 		fi
   14429 
   14430 		CFLAGS="$CFLAGS -Wformat"
   14431 
   14432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14433 printf %s "checking if $CC supports -Wformat... " >&6; }
   14434 		cacheid=xorg_cv_cc_flag__Wformat
   14435 		if eval test \${$cacheid+y}
   14436 then :
   14437   printf %s "(cached) " >&6
   14438 else $as_nop
   14439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14440 /* end confdefs.h.  */
   14441 int i;
   14442 int
   14443 main (void)
   14444 {
   14445 
   14446   ;
   14447   return 0;
   14448 }
   14449 _ACEOF
   14450 if ac_fn_c_try_link "$LINENO"
   14451 then :
   14452   eval $cacheid=yes
   14453 else $as_nop
   14454   eval $cacheid=no
   14455 fi
   14456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14457     conftest$ac_exeext conftest.$ac_ext
   14458 fi
   14459 
   14460 
   14461 		CFLAGS="$xorg_testset_save_CFLAGS"
   14462 
   14463 		eval supported=\$$cacheid
   14464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14465 printf "%s\n" "$supported" >&6; }
   14466 		if test "$supported" = "yes" ; then
   14467 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14468 			found="yes"
   14469 		fi
   14470 	fi
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 xorg_testset_save_CFLAGS="$CFLAGS"
   14489 
   14490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14495 then :
   14496   printf %s "(cached) " >&6
   14497 else $as_nop
   14498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14499 /* end confdefs.h.  */
   14500 int i;
   14501 _ACEOF
   14502 if ac_fn_c_try_compile "$LINENO"
   14503 then :
   14504   xorg_cv_cc_flag_unknown_warning_option=yes
   14505 else $as_nop
   14506   xorg_cv_cc_flag_unknown_warning_option=no
   14507 fi
   14508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14509 fi
   14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14511 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14513 	CFLAGS="$xorg_testset_save_CFLAGS"
   14514 fi
   14515 
   14516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14519 	fi
   14520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14524 then :
   14525   printf %s "(cached) " >&6
   14526 else $as_nop
   14527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14528 /* end confdefs.h.  */
   14529 int i;
   14530 _ACEOF
   14531 if ac_fn_c_try_compile "$LINENO"
   14532 then :
   14533   xorg_cv_cc_flag_unused_command_line_argument=yes
   14534 else $as_nop
   14535   xorg_cv_cc_flag_unused_command_line_argument=no
   14536 fi
   14537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14538 fi
   14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14540 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14542 	CFLAGS="$xorg_testset_save_CFLAGS"
   14543 fi
   14544 
   14545 found="no"
   14546 
   14547 	if test $found = "no" ; then
   14548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14550 		fi
   14551 
   14552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14554 		fi
   14555 
   14556 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14557 
   14558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14559 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14560 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14561 		if eval test \${$cacheid+y}
   14562 then :
   14563   printf %s "(cached) " >&6
   14564 else $as_nop
   14565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14566 /* end confdefs.h.  */
   14567 int i;
   14568 int
   14569 main (void)
   14570 {
   14571 
   14572   ;
   14573   return 0;
   14574 }
   14575 _ACEOF
   14576 if ac_fn_c_try_link "$LINENO"
   14577 then :
   14578   eval $cacheid=yes
   14579 else $as_nop
   14580   eval $cacheid=no
   14581 fi
   14582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14583     conftest$ac_exeext conftest.$ac_ext
   14584 fi
   14585 
   14586 
   14587 		CFLAGS="$xorg_testset_save_CFLAGS"
   14588 
   14589 		eval supported=\$$cacheid
   14590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14591 printf "%s\n" "$supported" >&6; }
   14592 		if test "$supported" = "yes" ; then
   14593 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14594 			found="yes"
   14595 		fi
   14596 	fi
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 xorg_testset_save_CFLAGS="$CFLAGS"
   14613 
   14614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14619 then :
   14620   printf %s "(cached) " >&6
   14621 else $as_nop
   14622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14623 /* end confdefs.h.  */
   14624 int i;
   14625 _ACEOF
   14626 if ac_fn_c_try_compile "$LINENO"
   14627 then :
   14628   xorg_cv_cc_flag_unknown_warning_option=yes
   14629 else $as_nop
   14630   xorg_cv_cc_flag_unknown_warning_option=no
   14631 fi
   14632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14633 fi
   14634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14637 	CFLAGS="$xorg_testset_save_CFLAGS"
   14638 fi
   14639 
   14640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14643 	fi
   14644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14648 then :
   14649   printf %s "(cached) " >&6
   14650 else $as_nop
   14651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14652 /* end confdefs.h.  */
   14653 int i;
   14654 _ACEOF
   14655 if ac_fn_c_try_compile "$LINENO"
   14656 then :
   14657   xorg_cv_cc_flag_unused_command_line_argument=yes
   14658 else $as_nop
   14659   xorg_cv_cc_flag_unused_command_line_argument=no
   14660 fi
   14661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14662 fi
   14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14666 	CFLAGS="$xorg_testset_save_CFLAGS"
   14667 fi
   14668 
   14669 found="no"
   14670 
   14671 	if test $found = "no" ; then
   14672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14674 		fi
   14675 
   14676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14678 		fi
   14679 
   14680 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14681 
   14682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14683 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14684 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14685 		if eval test \${$cacheid+y}
   14686 then :
   14687   printf %s "(cached) " >&6
   14688 else $as_nop
   14689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14690 /* end confdefs.h.  */
   14691 int i;
   14692 int
   14693 main (void)
   14694 {
   14695 
   14696   ;
   14697   return 0;
   14698 }
   14699 _ACEOF
   14700 if ac_fn_c_try_link "$LINENO"
   14701 then :
   14702   eval $cacheid=yes
   14703 else $as_nop
   14704   eval $cacheid=no
   14705 fi
   14706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14707     conftest$ac_exeext conftest.$ac_ext
   14708 fi
   14709 
   14710 
   14711 		CFLAGS="$xorg_testset_save_CFLAGS"
   14712 
   14713 		eval supported=\$$cacheid
   14714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14715 printf "%s\n" "$supported" >&6; }
   14716 		if test "$supported" = "yes" ; then
   14717 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14718 			found="yes"
   14719 		fi
   14720 	fi
   14721 
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 xorg_testset_save_CFLAGS="$CFLAGS"
   14737 
   14738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14743 then :
   14744   printf %s "(cached) " >&6
   14745 else $as_nop
   14746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14747 /* end confdefs.h.  */
   14748 int i;
   14749 _ACEOF
   14750 if ac_fn_c_try_compile "$LINENO"
   14751 then :
   14752   xorg_cv_cc_flag_unknown_warning_option=yes
   14753 else $as_nop
   14754   xorg_cv_cc_flag_unknown_warning_option=no
   14755 fi
   14756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14757 fi
   14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14759 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14761 	CFLAGS="$xorg_testset_save_CFLAGS"
   14762 fi
   14763 
   14764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14767 	fi
   14768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14772 then :
   14773   printf %s "(cached) " >&6
   14774 else $as_nop
   14775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14776 /* end confdefs.h.  */
   14777 int i;
   14778 _ACEOF
   14779 if ac_fn_c_try_compile "$LINENO"
   14780 then :
   14781   xorg_cv_cc_flag_unused_command_line_argument=yes
   14782 else $as_nop
   14783   xorg_cv_cc_flag_unused_command_line_argument=no
   14784 fi
   14785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14786 fi
   14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14790 	CFLAGS="$xorg_testset_save_CFLAGS"
   14791 fi
   14792 
   14793 found="no"
   14794 
   14795 	if test $found = "no" ; then
   14796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14798 		fi
   14799 
   14800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14802 		fi
   14803 
   14804 		CFLAGS="$CFLAGS -Wnested-externs"
   14805 
   14806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14807 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14808 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14809 		if eval test \${$cacheid+y}
   14810 then :
   14811   printf %s "(cached) " >&6
   14812 else $as_nop
   14813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14814 /* end confdefs.h.  */
   14815 int i;
   14816 int
   14817 main (void)
   14818 {
   14819 
   14820   ;
   14821   return 0;
   14822 }
   14823 _ACEOF
   14824 if ac_fn_c_try_link "$LINENO"
   14825 then :
   14826   eval $cacheid=yes
   14827 else $as_nop
   14828   eval $cacheid=no
   14829 fi
   14830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14831     conftest$ac_exeext conftest.$ac_ext
   14832 fi
   14833 
   14834 
   14835 		CFLAGS="$xorg_testset_save_CFLAGS"
   14836 
   14837 		eval supported=\$$cacheid
   14838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14839 printf "%s\n" "$supported" >&6; }
   14840 		if test "$supported" = "yes" ; then
   14841 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14842 			found="yes"
   14843 		fi
   14844 	fi
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 xorg_testset_save_CFLAGS="$CFLAGS"
   14861 
   14862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14867 then :
   14868   printf %s "(cached) " >&6
   14869 else $as_nop
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 _ACEOF
   14874 if ac_fn_c_try_compile "$LINENO"
   14875 then :
   14876   xorg_cv_cc_flag_unknown_warning_option=yes
   14877 else $as_nop
   14878   xorg_cv_cc_flag_unknown_warning_option=no
   14879 fi
   14880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14881 fi
   14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14885 	CFLAGS="$xorg_testset_save_CFLAGS"
   14886 fi
   14887 
   14888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14891 	fi
   14892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14896 then :
   14897   printf %s "(cached) " >&6
   14898 else $as_nop
   14899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14900 /* end confdefs.h.  */
   14901 int i;
   14902 _ACEOF
   14903 if ac_fn_c_try_compile "$LINENO"
   14904 then :
   14905   xorg_cv_cc_flag_unused_command_line_argument=yes
   14906 else $as_nop
   14907   xorg_cv_cc_flag_unused_command_line_argument=no
   14908 fi
   14909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14910 fi
   14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14914 	CFLAGS="$xorg_testset_save_CFLAGS"
   14915 fi
   14916 
   14917 found="no"
   14918 
   14919 	if test $found = "no" ; then
   14920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14922 		fi
   14923 
   14924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14926 		fi
   14927 
   14928 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14929 
   14930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14931 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14932 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14933 		if eval test \${$cacheid+y}
   14934 then :
   14935   printf %s "(cached) " >&6
   14936 else $as_nop
   14937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14938 /* end confdefs.h.  */
   14939 int i;
   14940 int
   14941 main (void)
   14942 {
   14943 
   14944   ;
   14945   return 0;
   14946 }
   14947 _ACEOF
   14948 if ac_fn_c_try_link "$LINENO"
   14949 then :
   14950   eval $cacheid=yes
   14951 else $as_nop
   14952   eval $cacheid=no
   14953 fi
   14954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14955     conftest$ac_exeext conftest.$ac_ext
   14956 fi
   14957 
   14958 
   14959 		CFLAGS="$xorg_testset_save_CFLAGS"
   14960 
   14961 		eval supported=\$$cacheid
   14962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14963 printf "%s\n" "$supported" >&6; }
   14964 		if test "$supported" = "yes" ; then
   14965 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14966 			found="yes"
   14967 		fi
   14968 	fi
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 xorg_testset_save_CFLAGS="$CFLAGS"
   14985 
   14986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14989 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14990 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14991 then :
   14992   printf %s "(cached) " >&6
   14993 else $as_nop
   14994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14995 /* end confdefs.h.  */
   14996 int i;
   14997 _ACEOF
   14998 if ac_fn_c_try_compile "$LINENO"
   14999 then :
   15000   xorg_cv_cc_flag_unknown_warning_option=yes
   15001 else $as_nop
   15002   xorg_cv_cc_flag_unknown_warning_option=no
   15003 fi
   15004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15005 fi
   15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15009 	CFLAGS="$xorg_testset_save_CFLAGS"
   15010 fi
   15011 
   15012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15015 	fi
   15016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15020 then :
   15021   printf %s "(cached) " >&6
   15022 else $as_nop
   15023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15024 /* end confdefs.h.  */
   15025 int i;
   15026 _ACEOF
   15027 if ac_fn_c_try_compile "$LINENO"
   15028 then :
   15029   xorg_cv_cc_flag_unused_command_line_argument=yes
   15030 else $as_nop
   15031   xorg_cv_cc_flag_unused_command_line_argument=no
   15032 fi
   15033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15034 fi
   15035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15038 	CFLAGS="$xorg_testset_save_CFLAGS"
   15039 fi
   15040 
   15041 found="no"
   15042 
   15043 	if test $found = "no" ; then
   15044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15046 		fi
   15047 
   15048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15050 		fi
   15051 
   15052 		CFLAGS="$CFLAGS -Wold-style-definition"
   15053 
   15054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15055 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15056 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15057 		if eval test \${$cacheid+y}
   15058 then :
   15059   printf %s "(cached) " >&6
   15060 else $as_nop
   15061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15062 /* end confdefs.h.  */
   15063 int i;
   15064 int
   15065 main (void)
   15066 {
   15067 
   15068   ;
   15069   return 0;
   15070 }
   15071 _ACEOF
   15072 if ac_fn_c_try_link "$LINENO"
   15073 then :
   15074   eval $cacheid=yes
   15075 else $as_nop
   15076   eval $cacheid=no
   15077 fi
   15078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15079     conftest$ac_exeext conftest.$ac_ext
   15080 fi
   15081 
   15082 
   15083 		CFLAGS="$xorg_testset_save_CFLAGS"
   15084 
   15085 		eval supported=\$$cacheid
   15086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15087 printf "%s\n" "$supported" >&6; }
   15088 		if test "$supported" = "yes" ; then
   15089 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15090 			found="yes"
   15091 		fi
   15092 	fi
   15093 
   15094 	if test $found = "no" ; then
   15095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15097 		fi
   15098 
   15099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15101 		fi
   15102 
   15103 		CFLAGS="$CFLAGS -fd"
   15104 
   15105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15106 printf %s "checking if $CC supports -fd... " >&6; }
   15107 		cacheid=xorg_cv_cc_flag__fd
   15108 		if eval test \${$cacheid+y}
   15109 then :
   15110   printf %s "(cached) " >&6
   15111 else $as_nop
   15112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15113 /* end confdefs.h.  */
   15114 int i;
   15115 int
   15116 main (void)
   15117 {
   15118 
   15119   ;
   15120   return 0;
   15121 }
   15122 _ACEOF
   15123 if ac_fn_c_try_link "$LINENO"
   15124 then :
   15125   eval $cacheid=yes
   15126 else $as_nop
   15127   eval $cacheid=no
   15128 fi
   15129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15130     conftest$ac_exeext conftest.$ac_ext
   15131 fi
   15132 
   15133 
   15134 		CFLAGS="$xorg_testset_save_CFLAGS"
   15135 
   15136 		eval supported=\$$cacheid
   15137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15138 printf "%s\n" "$supported" >&6; }
   15139 		if test "$supported" = "yes" ; then
   15140 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15141 			found="yes"
   15142 		fi
   15143 	fi
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 xorg_testset_save_CFLAGS="$CFLAGS"
   15160 
   15161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15164 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15165 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15166 then :
   15167   printf %s "(cached) " >&6
   15168 else $as_nop
   15169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 int i;
   15172 _ACEOF
   15173 if ac_fn_c_try_compile "$LINENO"
   15174 then :
   15175   xorg_cv_cc_flag_unknown_warning_option=yes
   15176 else $as_nop
   15177   xorg_cv_cc_flag_unknown_warning_option=no
   15178 fi
   15179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15180 fi
   15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15182 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15184 	CFLAGS="$xorg_testset_save_CFLAGS"
   15185 fi
   15186 
   15187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15190 	fi
   15191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15193 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15194 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15195 then :
   15196   printf %s "(cached) " >&6
   15197 else $as_nop
   15198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 int i;
   15201 _ACEOF
   15202 if ac_fn_c_try_compile "$LINENO"
   15203 then :
   15204   xorg_cv_cc_flag_unused_command_line_argument=yes
   15205 else $as_nop
   15206   xorg_cv_cc_flag_unused_command_line_argument=no
   15207 fi
   15208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15209 fi
   15210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15211 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15213 	CFLAGS="$xorg_testset_save_CFLAGS"
   15214 fi
   15215 
   15216 found="no"
   15217 
   15218 	if test $found = "no" ; then
   15219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15221 		fi
   15222 
   15223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15225 		fi
   15226 
   15227 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   15228 
   15229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   15230 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   15231 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   15232 		if eval test \${$cacheid+y}
   15233 then :
   15234   printf %s "(cached) " >&6
   15235 else $as_nop
   15236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15237 /* end confdefs.h.  */
   15238 int i;
   15239 int
   15240 main (void)
   15241 {
   15242 
   15243   ;
   15244   return 0;
   15245 }
   15246 _ACEOF
   15247 if ac_fn_c_try_link "$LINENO"
   15248 then :
   15249   eval $cacheid=yes
   15250 else $as_nop
   15251   eval $cacheid=no
   15252 fi
   15253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15254     conftest$ac_exeext conftest.$ac_ext
   15255 fi
   15256 
   15257 
   15258 		CFLAGS="$xorg_testset_save_CFLAGS"
   15259 
   15260 		eval supported=\$$cacheid
   15261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15262 printf "%s\n" "$supported" >&6; }
   15263 		if test "$supported" = "yes" ; then
   15264 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   15265 			found="yes"
   15266 		fi
   15267 	fi
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 # This chunk adds additional warnings that could catch undesired effects.
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 xorg_testset_save_CFLAGS="$CFLAGS"
   15288 
   15289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15291 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15292 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15293 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15294 then :
   15295   printf %s "(cached) " >&6
   15296 else $as_nop
   15297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15298 /* end confdefs.h.  */
   15299 int i;
   15300 _ACEOF
   15301 if ac_fn_c_try_compile "$LINENO"
   15302 then :
   15303   xorg_cv_cc_flag_unknown_warning_option=yes
   15304 else $as_nop
   15305   xorg_cv_cc_flag_unknown_warning_option=no
   15306 fi
   15307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15308 fi
   15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15310 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15312 	CFLAGS="$xorg_testset_save_CFLAGS"
   15313 fi
   15314 
   15315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15318 	fi
   15319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15321 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15322 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15323 then :
   15324   printf %s "(cached) " >&6
   15325 else $as_nop
   15326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15327 /* end confdefs.h.  */
   15328 int i;
   15329 _ACEOF
   15330 if ac_fn_c_try_compile "$LINENO"
   15331 then :
   15332   xorg_cv_cc_flag_unused_command_line_argument=yes
   15333 else $as_nop
   15334   xorg_cv_cc_flag_unused_command_line_argument=no
   15335 fi
   15336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15337 fi
   15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15339 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15341 	CFLAGS="$xorg_testset_save_CFLAGS"
   15342 fi
   15343 
   15344 found="no"
   15345 
   15346 	if test $found = "no" ; then
   15347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15349 		fi
   15350 
   15351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15353 		fi
   15354 
   15355 		CFLAGS="$CFLAGS -Wunused"
   15356 
   15357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15358 printf %s "checking if $CC supports -Wunused... " >&6; }
   15359 		cacheid=xorg_cv_cc_flag__Wunused
   15360 		if eval test \${$cacheid+y}
   15361 then :
   15362   printf %s "(cached) " >&6
   15363 else $as_nop
   15364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15365 /* end confdefs.h.  */
   15366 int i;
   15367 int
   15368 main (void)
   15369 {
   15370 
   15371   ;
   15372   return 0;
   15373 }
   15374 _ACEOF
   15375 if ac_fn_c_try_link "$LINENO"
   15376 then :
   15377   eval $cacheid=yes
   15378 else $as_nop
   15379   eval $cacheid=no
   15380 fi
   15381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15382     conftest$ac_exeext conftest.$ac_ext
   15383 fi
   15384 
   15385 
   15386 		CFLAGS="$xorg_testset_save_CFLAGS"
   15387 
   15388 		eval supported=\$$cacheid
   15389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15390 printf "%s\n" "$supported" >&6; }
   15391 		if test "$supported" = "yes" ; then
   15392 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15393 			found="yes"
   15394 		fi
   15395 	fi
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 xorg_testset_save_CFLAGS="$CFLAGS"
   15412 
   15413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15415 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15416 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15417 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15418 then :
   15419   printf %s "(cached) " >&6
   15420 else $as_nop
   15421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15422 /* end confdefs.h.  */
   15423 int i;
   15424 _ACEOF
   15425 if ac_fn_c_try_compile "$LINENO"
   15426 then :
   15427   xorg_cv_cc_flag_unknown_warning_option=yes
   15428 else $as_nop
   15429   xorg_cv_cc_flag_unknown_warning_option=no
   15430 fi
   15431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15432 fi
   15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15436 	CFLAGS="$xorg_testset_save_CFLAGS"
   15437 fi
   15438 
   15439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15442 	fi
   15443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15447 then :
   15448   printf %s "(cached) " >&6
   15449 else $as_nop
   15450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15451 /* end confdefs.h.  */
   15452 int i;
   15453 _ACEOF
   15454 if ac_fn_c_try_compile "$LINENO"
   15455 then :
   15456   xorg_cv_cc_flag_unused_command_line_argument=yes
   15457 else $as_nop
   15458   xorg_cv_cc_flag_unused_command_line_argument=no
   15459 fi
   15460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15461 fi
   15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15463 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15465 	CFLAGS="$xorg_testset_save_CFLAGS"
   15466 fi
   15467 
   15468 found="no"
   15469 
   15470 	if test $found = "no" ; then
   15471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15473 		fi
   15474 
   15475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15477 		fi
   15478 
   15479 		CFLAGS="$CFLAGS -Wuninitialized"
   15480 
   15481 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15482 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15483 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15484 		if eval test \${$cacheid+y}
   15485 then :
   15486   printf %s "(cached) " >&6
   15487 else $as_nop
   15488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15489 /* end confdefs.h.  */
   15490 int i;
   15491 int
   15492 main (void)
   15493 {
   15494 
   15495   ;
   15496   return 0;
   15497 }
   15498 _ACEOF
   15499 if ac_fn_c_try_link "$LINENO"
   15500 then :
   15501   eval $cacheid=yes
   15502 else $as_nop
   15503   eval $cacheid=no
   15504 fi
   15505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15506     conftest$ac_exeext conftest.$ac_ext
   15507 fi
   15508 
   15509 
   15510 		CFLAGS="$xorg_testset_save_CFLAGS"
   15511 
   15512 		eval supported=\$$cacheid
   15513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15514 printf "%s\n" "$supported" >&6; }
   15515 		if test "$supported" = "yes" ; then
   15516 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15517 			found="yes"
   15518 		fi
   15519 	fi
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 xorg_testset_save_CFLAGS="$CFLAGS"
   15536 
   15537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15542 then :
   15543   printf %s "(cached) " >&6
   15544 else $as_nop
   15545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 int i;
   15548 _ACEOF
   15549 if ac_fn_c_try_compile "$LINENO"
   15550 then :
   15551   xorg_cv_cc_flag_unknown_warning_option=yes
   15552 else $as_nop
   15553   xorg_cv_cc_flag_unknown_warning_option=no
   15554 fi
   15555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15556 fi
   15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15558 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15560 	CFLAGS="$xorg_testset_save_CFLAGS"
   15561 fi
   15562 
   15563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15566 	fi
   15567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15569 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15570 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15571 then :
   15572   printf %s "(cached) " >&6
   15573 else $as_nop
   15574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15575 /* end confdefs.h.  */
   15576 int i;
   15577 _ACEOF
   15578 if ac_fn_c_try_compile "$LINENO"
   15579 then :
   15580   xorg_cv_cc_flag_unused_command_line_argument=yes
   15581 else $as_nop
   15582   xorg_cv_cc_flag_unused_command_line_argument=no
   15583 fi
   15584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15585 fi
   15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15587 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15589 	CFLAGS="$xorg_testset_save_CFLAGS"
   15590 fi
   15591 
   15592 found="no"
   15593 
   15594 	if test $found = "no" ; then
   15595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15597 		fi
   15598 
   15599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15601 		fi
   15602 
   15603 		CFLAGS="$CFLAGS -Wshadow"
   15604 
   15605 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15606 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15607 		cacheid=xorg_cv_cc_flag__Wshadow
   15608 		if eval test \${$cacheid+y}
   15609 then :
   15610   printf %s "(cached) " >&6
   15611 else $as_nop
   15612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15613 /* end confdefs.h.  */
   15614 int i;
   15615 int
   15616 main (void)
   15617 {
   15618 
   15619   ;
   15620   return 0;
   15621 }
   15622 _ACEOF
   15623 if ac_fn_c_try_link "$LINENO"
   15624 then :
   15625   eval $cacheid=yes
   15626 else $as_nop
   15627   eval $cacheid=no
   15628 fi
   15629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15630     conftest$ac_exeext conftest.$ac_ext
   15631 fi
   15632 
   15633 
   15634 		CFLAGS="$xorg_testset_save_CFLAGS"
   15635 
   15636 		eval supported=\$$cacheid
   15637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15638 printf "%s\n" "$supported" >&6; }
   15639 		if test "$supported" = "yes" ; then
   15640 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15641 			found="yes"
   15642 		fi
   15643 	fi
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 xorg_testset_save_CFLAGS="$CFLAGS"
   15660 
   15661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15664 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15665 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15666 then :
   15667   printf %s "(cached) " >&6
   15668 else $as_nop
   15669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15670 /* end confdefs.h.  */
   15671 int i;
   15672 _ACEOF
   15673 if ac_fn_c_try_compile "$LINENO"
   15674 then :
   15675   xorg_cv_cc_flag_unknown_warning_option=yes
   15676 else $as_nop
   15677   xorg_cv_cc_flag_unknown_warning_option=no
   15678 fi
   15679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15680 fi
   15681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15682 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15684 	CFLAGS="$xorg_testset_save_CFLAGS"
   15685 fi
   15686 
   15687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15690 	fi
   15691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15693 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15694 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15695 then :
   15696   printf %s "(cached) " >&6
   15697 else $as_nop
   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"
   15703 then :
   15704   xorg_cv_cc_flag_unused_command_line_argument=yes
   15705 else $as_nop
   15706   xorg_cv_cc_flag_unused_command_line_argument=no
   15707 fi
   15708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15709 fi
   15710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15711 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15712 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15713 	CFLAGS="$xorg_testset_save_CFLAGS"
   15714 fi
   15715 
   15716 found="no"
   15717 
   15718 	if test $found = "no" ; then
   15719 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15720 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15721 		fi
   15722 
   15723 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15724 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15725 		fi
   15726 
   15727 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15728 
   15729 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15730 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15731 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15732 		if eval test \${$cacheid+y}
   15733 then :
   15734   printf %s "(cached) " >&6
   15735 else $as_nop
   15736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15737 /* end confdefs.h.  */
   15738 int i;
   15739 int
   15740 main (void)
   15741 {
   15742 
   15743   ;
   15744   return 0;
   15745 }
   15746 _ACEOF
   15747 if ac_fn_c_try_link "$LINENO"
   15748 then :
   15749   eval $cacheid=yes
   15750 else $as_nop
   15751   eval $cacheid=no
   15752 fi
   15753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15754     conftest$ac_exeext conftest.$ac_ext
   15755 fi
   15756 
   15757 
   15758 		CFLAGS="$xorg_testset_save_CFLAGS"
   15759 
   15760 		eval supported=\$$cacheid
   15761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15762 printf "%s\n" "$supported" >&6; }
   15763 		if test "$supported" = "yes" ; then
   15764 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15765 			found="yes"
   15766 		fi
   15767 	fi
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 xorg_testset_save_CFLAGS="$CFLAGS"
   15784 
   15785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15788 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15789 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15790 then :
   15791   printf %s "(cached) " >&6
   15792 else $as_nop
   15793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15794 /* end confdefs.h.  */
   15795 int i;
   15796 _ACEOF
   15797 if ac_fn_c_try_compile "$LINENO"
   15798 then :
   15799   xorg_cv_cc_flag_unknown_warning_option=yes
   15800 else $as_nop
   15801   xorg_cv_cc_flag_unknown_warning_option=no
   15802 fi
   15803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15804 fi
   15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15806 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15808 	CFLAGS="$xorg_testset_save_CFLAGS"
   15809 fi
   15810 
   15811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15814 	fi
   15815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15817 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15818 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15819 then :
   15820   printf %s "(cached) " >&6
   15821 else $as_nop
   15822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15823 /* end confdefs.h.  */
   15824 int i;
   15825 _ACEOF
   15826 if ac_fn_c_try_compile "$LINENO"
   15827 then :
   15828   xorg_cv_cc_flag_unused_command_line_argument=yes
   15829 else $as_nop
   15830   xorg_cv_cc_flag_unused_command_line_argument=no
   15831 fi
   15832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15833 fi
   15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15835 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15837 	CFLAGS="$xorg_testset_save_CFLAGS"
   15838 fi
   15839 
   15840 found="no"
   15841 
   15842 	if test $found = "no" ; then
   15843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15845 		fi
   15846 
   15847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15849 		fi
   15850 
   15851 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15852 
   15853 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15854 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15855 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15856 		if eval test \${$cacheid+y}
   15857 then :
   15858   printf %s "(cached) " >&6
   15859 else $as_nop
   15860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15861 /* end confdefs.h.  */
   15862 int i;
   15863 int
   15864 main (void)
   15865 {
   15866 
   15867   ;
   15868   return 0;
   15869 }
   15870 _ACEOF
   15871 if ac_fn_c_try_link "$LINENO"
   15872 then :
   15873   eval $cacheid=yes
   15874 else $as_nop
   15875   eval $cacheid=no
   15876 fi
   15877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15878     conftest$ac_exeext conftest.$ac_ext
   15879 fi
   15880 
   15881 
   15882 		CFLAGS="$xorg_testset_save_CFLAGS"
   15883 
   15884 		eval supported=\$$cacheid
   15885 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15886 printf "%s\n" "$supported" >&6; }
   15887 		if test "$supported" = "yes" ; then
   15888 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15889 			found="yes"
   15890 		fi
   15891 	fi
   15892 
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 xorg_testset_save_CFLAGS="$CFLAGS"
   15908 
   15909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15911 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15912 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15913 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15914 then :
   15915   printf %s "(cached) " >&6
   15916 else $as_nop
   15917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15918 /* end confdefs.h.  */
   15919 int i;
   15920 _ACEOF
   15921 if ac_fn_c_try_compile "$LINENO"
   15922 then :
   15923   xorg_cv_cc_flag_unknown_warning_option=yes
   15924 else $as_nop
   15925   xorg_cv_cc_flag_unknown_warning_option=no
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15928 fi
   15929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15930 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15932 	CFLAGS="$xorg_testset_save_CFLAGS"
   15933 fi
   15934 
   15935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15938 	fi
   15939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15941 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15942 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15943 then :
   15944   printf %s "(cached) " >&6
   15945 else $as_nop
   15946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 _ACEOF
   15950 if ac_fn_c_try_compile "$LINENO"
   15951 then :
   15952   xorg_cv_cc_flag_unused_command_line_argument=yes
   15953 else $as_nop
   15954   xorg_cv_cc_flag_unused_command_line_argument=no
   15955 fi
   15956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15957 fi
   15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15959 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15961 	CFLAGS="$xorg_testset_save_CFLAGS"
   15962 fi
   15963 
   15964 found="no"
   15965 
   15966 	if test $found = "no" ; then
   15967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15969 		fi
   15970 
   15971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15973 		fi
   15974 
   15975 		CFLAGS="$CFLAGS -Wredundant-decls"
   15976 
   15977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15978 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15979 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15980 		if eval test \${$cacheid+y}
   15981 then :
   15982   printf %s "(cached) " >&6
   15983 else $as_nop
   15984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15985 /* end confdefs.h.  */
   15986 int i;
   15987 int
   15988 main (void)
   15989 {
   15990 
   15991   ;
   15992   return 0;
   15993 }
   15994 _ACEOF
   15995 if ac_fn_c_try_link "$LINENO"
   15996 then :
   15997   eval $cacheid=yes
   15998 else $as_nop
   15999   eval $cacheid=no
   16000 fi
   16001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16002     conftest$ac_exeext conftest.$ac_ext
   16003 fi
   16004 
   16005 
   16006 		CFLAGS="$xorg_testset_save_CFLAGS"
   16007 
   16008 		eval supported=\$$cacheid
   16009 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16010 printf "%s\n" "$supported" >&6; }
   16011 		if test "$supported" = "yes" ; then
   16012 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16013 			found="yes"
   16014 		fi
   16015 	fi
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 xorg_testset_save_CFLAGS="$CFLAGS"
   16032 
   16033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16035 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16036 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16037 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16038 then :
   16039   printf %s "(cached) " >&6
   16040 else $as_nop
   16041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16042 /* end confdefs.h.  */
   16043 int i;
   16044 _ACEOF
   16045 if ac_fn_c_try_compile "$LINENO"
   16046 then :
   16047   xorg_cv_cc_flag_unknown_warning_option=yes
   16048 else $as_nop
   16049   xorg_cv_cc_flag_unknown_warning_option=no
   16050 fi
   16051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16052 fi
   16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16054 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16056 	CFLAGS="$xorg_testset_save_CFLAGS"
   16057 fi
   16058 
   16059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16062 	fi
   16063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16065 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16066 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16067 then :
   16068   printf %s "(cached) " >&6
   16069 else $as_nop
   16070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16071 /* end confdefs.h.  */
   16072 int i;
   16073 _ACEOF
   16074 if ac_fn_c_try_compile "$LINENO"
   16075 then :
   16076   xorg_cv_cc_flag_unused_command_line_argument=yes
   16077 else $as_nop
   16078   xorg_cv_cc_flag_unused_command_line_argument=no
   16079 fi
   16080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16081 fi
   16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16083 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16085 	CFLAGS="$xorg_testset_save_CFLAGS"
   16086 fi
   16087 
   16088 found="no"
   16089 
   16090 	if test $found = "no" ; then
   16091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16093 		fi
   16094 
   16095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16097 		fi
   16098 
   16099 		CFLAGS="$CFLAGS -Wlogical-op"
   16100 
   16101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16102 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16103 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16104 		if eval test \${$cacheid+y}
   16105 then :
   16106   printf %s "(cached) " >&6
   16107 else $as_nop
   16108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16109 /* end confdefs.h.  */
   16110 int i;
   16111 int
   16112 main (void)
   16113 {
   16114 
   16115   ;
   16116   return 0;
   16117 }
   16118 _ACEOF
   16119 if ac_fn_c_try_link "$LINENO"
   16120 then :
   16121   eval $cacheid=yes
   16122 else $as_nop
   16123   eval $cacheid=no
   16124 fi
   16125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16126     conftest$ac_exeext conftest.$ac_ext
   16127 fi
   16128 
   16129 
   16130 		CFLAGS="$xorg_testset_save_CFLAGS"
   16131 
   16132 		eval supported=\$$cacheid
   16133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16134 printf "%s\n" "$supported" >&6; }
   16135 		if test "$supported" = "yes" ; then
   16136 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16137 			found="yes"
   16138 		fi
   16139 	fi
   16140 
   16141 
   16142 
   16143 # These are currently disabled because they are noisy.  They will be enabled
   16144 # in the future once the codebase is sufficiently modernized to silence
   16145 # them.  For now, I don't want them to drown out the other warnings.
   16146 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16147 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16148 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16149 
   16150 # Turn some warnings into errors, so we don't accidently get successful builds
   16151 # when there are problems that should be fixed.
   16152 
   16153 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 xorg_testset_save_CFLAGS="$CFLAGS"
   16168 
   16169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16172 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16173 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16174 then :
   16175   printf %s "(cached) " >&6
   16176 else $as_nop
   16177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16178 /* end confdefs.h.  */
   16179 int i;
   16180 _ACEOF
   16181 if ac_fn_c_try_compile "$LINENO"
   16182 then :
   16183   xorg_cv_cc_flag_unknown_warning_option=yes
   16184 else $as_nop
   16185   xorg_cv_cc_flag_unknown_warning_option=no
   16186 fi
   16187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16188 fi
   16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16190 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16192 	CFLAGS="$xorg_testset_save_CFLAGS"
   16193 fi
   16194 
   16195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16198 	fi
   16199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16201 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16202 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16203 then :
   16204   printf %s "(cached) " >&6
   16205 else $as_nop
   16206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16207 /* end confdefs.h.  */
   16208 int i;
   16209 _ACEOF
   16210 if ac_fn_c_try_compile "$LINENO"
   16211 then :
   16212   xorg_cv_cc_flag_unused_command_line_argument=yes
   16213 else $as_nop
   16214   xorg_cv_cc_flag_unused_command_line_argument=no
   16215 fi
   16216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16217 fi
   16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16219 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16221 	CFLAGS="$xorg_testset_save_CFLAGS"
   16222 fi
   16223 
   16224 found="no"
   16225 
   16226 	if test $found = "no" ; then
   16227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16229 		fi
   16230 
   16231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16233 		fi
   16234 
   16235 		CFLAGS="$CFLAGS -Werror=implicit"
   16236 
   16237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16238 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16239 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16240 		if eval test \${$cacheid+y}
   16241 then :
   16242   printf %s "(cached) " >&6
   16243 else $as_nop
   16244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16245 /* end confdefs.h.  */
   16246 int i;
   16247 int
   16248 main (void)
   16249 {
   16250 
   16251   ;
   16252   return 0;
   16253 }
   16254 _ACEOF
   16255 if ac_fn_c_try_link "$LINENO"
   16256 then :
   16257   eval $cacheid=yes
   16258 else $as_nop
   16259   eval $cacheid=no
   16260 fi
   16261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16262     conftest$ac_exeext conftest.$ac_ext
   16263 fi
   16264 
   16265 
   16266 		CFLAGS="$xorg_testset_save_CFLAGS"
   16267 
   16268 		eval supported=\$$cacheid
   16269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16270 printf "%s\n" "$supported" >&6; }
   16271 		if test "$supported" = "yes" ; then
   16272 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16273 			found="yes"
   16274 		fi
   16275 	fi
   16276 
   16277 	if test $found = "no" ; then
   16278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16280 		fi
   16281 
   16282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16284 		fi
   16285 
   16286 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16287 
   16288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   16289 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16290 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16291 		if eval test \${$cacheid+y}
   16292 then :
   16293   printf %s "(cached) " >&6
   16294 else $as_nop
   16295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16296 /* end confdefs.h.  */
   16297 int i;
   16298 int
   16299 main (void)
   16300 {
   16301 
   16302   ;
   16303   return 0;
   16304 }
   16305 _ACEOF
   16306 if ac_fn_c_try_link "$LINENO"
   16307 then :
   16308   eval $cacheid=yes
   16309 else $as_nop
   16310   eval $cacheid=no
   16311 fi
   16312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16313     conftest$ac_exeext conftest.$ac_ext
   16314 fi
   16315 
   16316 
   16317 		CFLAGS="$xorg_testset_save_CFLAGS"
   16318 
   16319 		eval supported=\$$cacheid
   16320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16321 printf "%s\n" "$supported" >&6; }
   16322 		if test "$supported" = "yes" ; then
   16323 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16324 			found="yes"
   16325 		fi
   16326 	fi
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 xorg_testset_save_CFLAGS="$CFLAGS"
   16343 
   16344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16348 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16349 then :
   16350   printf %s "(cached) " >&6
   16351 else $as_nop
   16352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16353 /* end confdefs.h.  */
   16354 int i;
   16355 _ACEOF
   16356 if ac_fn_c_try_compile "$LINENO"
   16357 then :
   16358   xorg_cv_cc_flag_unknown_warning_option=yes
   16359 else $as_nop
   16360   xorg_cv_cc_flag_unknown_warning_option=no
   16361 fi
   16362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16363 fi
   16364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16365 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16367 	CFLAGS="$xorg_testset_save_CFLAGS"
   16368 fi
   16369 
   16370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16373 	fi
   16374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16376 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16377 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16378 then :
   16379   printf %s "(cached) " >&6
   16380 else $as_nop
   16381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16382 /* end confdefs.h.  */
   16383 int i;
   16384 _ACEOF
   16385 if ac_fn_c_try_compile "$LINENO"
   16386 then :
   16387   xorg_cv_cc_flag_unused_command_line_argument=yes
   16388 else $as_nop
   16389   xorg_cv_cc_flag_unused_command_line_argument=no
   16390 fi
   16391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16392 fi
   16393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16396 	CFLAGS="$xorg_testset_save_CFLAGS"
   16397 fi
   16398 
   16399 found="no"
   16400 
   16401 	if test $found = "no" ; then
   16402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16404 		fi
   16405 
   16406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16408 		fi
   16409 
   16410 		CFLAGS="$CFLAGS -Werror=nonnull"
   16411 
   16412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16413 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16414 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16415 		if eval test \${$cacheid+y}
   16416 then :
   16417   printf %s "(cached) " >&6
   16418 else $as_nop
   16419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16420 /* end confdefs.h.  */
   16421 int i;
   16422 int
   16423 main (void)
   16424 {
   16425 
   16426   ;
   16427   return 0;
   16428 }
   16429 _ACEOF
   16430 if ac_fn_c_try_link "$LINENO"
   16431 then :
   16432   eval $cacheid=yes
   16433 else $as_nop
   16434   eval $cacheid=no
   16435 fi
   16436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16437     conftest$ac_exeext conftest.$ac_ext
   16438 fi
   16439 
   16440 
   16441 		CFLAGS="$xorg_testset_save_CFLAGS"
   16442 
   16443 		eval supported=\$$cacheid
   16444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16445 printf "%s\n" "$supported" >&6; }
   16446 		if test "$supported" = "yes" ; then
   16447 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16448 			found="yes"
   16449 		fi
   16450 	fi
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 xorg_testset_save_CFLAGS="$CFLAGS"
   16467 
   16468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16473 then :
   16474   printf %s "(cached) " >&6
   16475 else $as_nop
   16476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16477 /* end confdefs.h.  */
   16478 int i;
   16479 _ACEOF
   16480 if ac_fn_c_try_compile "$LINENO"
   16481 then :
   16482   xorg_cv_cc_flag_unknown_warning_option=yes
   16483 else $as_nop
   16484   xorg_cv_cc_flag_unknown_warning_option=no
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16487 fi
   16488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16491 	CFLAGS="$xorg_testset_save_CFLAGS"
   16492 fi
   16493 
   16494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16497 	fi
   16498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16502 then :
   16503   printf %s "(cached) " >&6
   16504 else $as_nop
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 _ACEOF
   16509 if ac_fn_c_try_compile "$LINENO"
   16510 then :
   16511   xorg_cv_cc_flag_unused_command_line_argument=yes
   16512 else $as_nop
   16513   xorg_cv_cc_flag_unused_command_line_argument=no
   16514 fi
   16515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16516 fi
   16517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16520 	CFLAGS="$xorg_testset_save_CFLAGS"
   16521 fi
   16522 
   16523 found="no"
   16524 
   16525 	if test $found = "no" ; then
   16526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16528 		fi
   16529 
   16530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16532 		fi
   16533 
   16534 		CFLAGS="$CFLAGS -Werror=init-self"
   16535 
   16536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16537 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16538 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16539 		if eval test \${$cacheid+y}
   16540 then :
   16541   printf %s "(cached) " >&6
   16542 else $as_nop
   16543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16544 /* end confdefs.h.  */
   16545 int i;
   16546 int
   16547 main (void)
   16548 {
   16549 
   16550   ;
   16551   return 0;
   16552 }
   16553 _ACEOF
   16554 if ac_fn_c_try_link "$LINENO"
   16555 then :
   16556   eval $cacheid=yes
   16557 else $as_nop
   16558   eval $cacheid=no
   16559 fi
   16560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16561     conftest$ac_exeext conftest.$ac_ext
   16562 fi
   16563 
   16564 
   16565 		CFLAGS="$xorg_testset_save_CFLAGS"
   16566 
   16567 		eval supported=\$$cacheid
   16568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16569 printf "%s\n" "$supported" >&6; }
   16570 		if test "$supported" = "yes" ; then
   16571 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16572 			found="yes"
   16573 		fi
   16574 	fi
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 xorg_testset_save_CFLAGS="$CFLAGS"
   16591 
   16592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16597 then :
   16598   printf %s "(cached) " >&6
   16599 else $as_nop
   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"
   16605 then :
   16606   xorg_cv_cc_flag_unknown_warning_option=yes
   16607 else $as_nop
   16608   xorg_cv_cc_flag_unknown_warning_option=no
   16609 fi
   16610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16611 fi
   16612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16615 	CFLAGS="$xorg_testset_save_CFLAGS"
   16616 fi
   16617 
   16618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16621 	fi
   16622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16626 then :
   16627   printf %s "(cached) " >&6
   16628 else $as_nop
   16629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16630 /* end confdefs.h.  */
   16631 int i;
   16632 _ACEOF
   16633 if ac_fn_c_try_compile "$LINENO"
   16634 then :
   16635   xorg_cv_cc_flag_unused_command_line_argument=yes
   16636 else $as_nop
   16637   xorg_cv_cc_flag_unused_command_line_argument=no
   16638 fi
   16639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16640 fi
   16641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16642 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16644 	CFLAGS="$xorg_testset_save_CFLAGS"
   16645 fi
   16646 
   16647 found="no"
   16648 
   16649 	if test $found = "no" ; then
   16650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16652 		fi
   16653 
   16654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16656 		fi
   16657 
   16658 		CFLAGS="$CFLAGS -Werror=main"
   16659 
   16660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16661 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16662 		cacheid=xorg_cv_cc_flag__Werror_main
   16663 		if eval test \${$cacheid+y}
   16664 then :
   16665   printf %s "(cached) " >&6
   16666 else $as_nop
   16667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 int
   16671 main (void)
   16672 {
   16673 
   16674   ;
   16675   return 0;
   16676 }
   16677 _ACEOF
   16678 if ac_fn_c_try_link "$LINENO"
   16679 then :
   16680   eval $cacheid=yes
   16681 else $as_nop
   16682   eval $cacheid=no
   16683 fi
   16684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16685     conftest$ac_exeext conftest.$ac_ext
   16686 fi
   16687 
   16688 
   16689 		CFLAGS="$xorg_testset_save_CFLAGS"
   16690 
   16691 		eval supported=\$$cacheid
   16692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16693 printf "%s\n" "$supported" >&6; }
   16694 		if test "$supported" = "yes" ; then
   16695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16696 			found="yes"
   16697 		fi
   16698 	fi
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 xorg_testset_save_CFLAGS="$CFLAGS"
   16715 
   16716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16719 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16720 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16721 then :
   16722   printf %s "(cached) " >&6
   16723 else $as_nop
   16724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16725 /* end confdefs.h.  */
   16726 int i;
   16727 _ACEOF
   16728 if ac_fn_c_try_compile "$LINENO"
   16729 then :
   16730   xorg_cv_cc_flag_unknown_warning_option=yes
   16731 else $as_nop
   16732   xorg_cv_cc_flag_unknown_warning_option=no
   16733 fi
   16734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16735 fi
   16736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16739 	CFLAGS="$xorg_testset_save_CFLAGS"
   16740 fi
   16741 
   16742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16745 	fi
   16746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16750 then :
   16751   printf %s "(cached) " >&6
   16752 else $as_nop
   16753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16754 /* end confdefs.h.  */
   16755 int i;
   16756 _ACEOF
   16757 if ac_fn_c_try_compile "$LINENO"
   16758 then :
   16759   xorg_cv_cc_flag_unused_command_line_argument=yes
   16760 else $as_nop
   16761   xorg_cv_cc_flag_unused_command_line_argument=no
   16762 fi
   16763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16764 fi
   16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16766 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16768 	CFLAGS="$xorg_testset_save_CFLAGS"
   16769 fi
   16770 
   16771 found="no"
   16772 
   16773 	if test $found = "no" ; then
   16774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16776 		fi
   16777 
   16778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16780 		fi
   16781 
   16782 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16783 
   16784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16785 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16786 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16787 		if eval test \${$cacheid+y}
   16788 then :
   16789   printf %s "(cached) " >&6
   16790 else $as_nop
   16791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16792 /* end confdefs.h.  */
   16793 int i;
   16794 int
   16795 main (void)
   16796 {
   16797 
   16798   ;
   16799   return 0;
   16800 }
   16801 _ACEOF
   16802 if ac_fn_c_try_link "$LINENO"
   16803 then :
   16804   eval $cacheid=yes
   16805 else $as_nop
   16806   eval $cacheid=no
   16807 fi
   16808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16809     conftest$ac_exeext conftest.$ac_ext
   16810 fi
   16811 
   16812 
   16813 		CFLAGS="$xorg_testset_save_CFLAGS"
   16814 
   16815 		eval supported=\$$cacheid
   16816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16817 printf "%s\n" "$supported" >&6; }
   16818 		if test "$supported" = "yes" ; then
   16819 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16820 			found="yes"
   16821 		fi
   16822 	fi
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 xorg_testset_save_CFLAGS="$CFLAGS"
   16839 
   16840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16845 then :
   16846   printf %s "(cached) " >&6
   16847 else $as_nop
   16848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16849 /* end confdefs.h.  */
   16850 int i;
   16851 _ACEOF
   16852 if ac_fn_c_try_compile "$LINENO"
   16853 then :
   16854   xorg_cv_cc_flag_unknown_warning_option=yes
   16855 else $as_nop
   16856   xorg_cv_cc_flag_unknown_warning_option=no
   16857 fi
   16858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16859 fi
   16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16861 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16863 	CFLAGS="$xorg_testset_save_CFLAGS"
   16864 fi
   16865 
   16866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16869 	fi
   16870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16872 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16873 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16874 then :
   16875   printf %s "(cached) " >&6
   16876 else $as_nop
   16877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16878 /* end confdefs.h.  */
   16879 int i;
   16880 _ACEOF
   16881 if ac_fn_c_try_compile "$LINENO"
   16882 then :
   16883   xorg_cv_cc_flag_unused_command_line_argument=yes
   16884 else $as_nop
   16885   xorg_cv_cc_flag_unused_command_line_argument=no
   16886 fi
   16887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16888 fi
   16889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16892 	CFLAGS="$xorg_testset_save_CFLAGS"
   16893 fi
   16894 
   16895 found="no"
   16896 
   16897 	if test $found = "no" ; then
   16898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16900 		fi
   16901 
   16902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16904 		fi
   16905 
   16906 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16907 
   16908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16909 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16910 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16911 		if eval test \${$cacheid+y}
   16912 then :
   16913   printf %s "(cached) " >&6
   16914 else $as_nop
   16915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16916 /* end confdefs.h.  */
   16917 int i;
   16918 int
   16919 main (void)
   16920 {
   16921 
   16922   ;
   16923   return 0;
   16924 }
   16925 _ACEOF
   16926 if ac_fn_c_try_link "$LINENO"
   16927 then :
   16928   eval $cacheid=yes
   16929 else $as_nop
   16930   eval $cacheid=no
   16931 fi
   16932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16933     conftest$ac_exeext conftest.$ac_ext
   16934 fi
   16935 
   16936 
   16937 		CFLAGS="$xorg_testset_save_CFLAGS"
   16938 
   16939 		eval supported=\$$cacheid
   16940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16941 printf "%s\n" "$supported" >&6; }
   16942 		if test "$supported" = "yes" ; then
   16943 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16944 			found="yes"
   16945 		fi
   16946 	fi
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 xorg_testset_save_CFLAGS="$CFLAGS"
   16963 
   16964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16969 then :
   16970   printf %s "(cached) " >&6
   16971 else $as_nop
   16972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16973 /* end confdefs.h.  */
   16974 int i;
   16975 _ACEOF
   16976 if ac_fn_c_try_compile "$LINENO"
   16977 then :
   16978   xorg_cv_cc_flag_unknown_warning_option=yes
   16979 else $as_nop
   16980   xorg_cv_cc_flag_unknown_warning_option=no
   16981 fi
   16982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16983 fi
   16984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16987 	CFLAGS="$xorg_testset_save_CFLAGS"
   16988 fi
   16989 
   16990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16993 	fi
   16994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16998 then :
   16999   printf %s "(cached) " >&6
   17000 else $as_nop
   17001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17002 /* end confdefs.h.  */
   17003 int i;
   17004 _ACEOF
   17005 if ac_fn_c_try_compile "$LINENO"
   17006 then :
   17007   xorg_cv_cc_flag_unused_command_line_argument=yes
   17008 else $as_nop
   17009   xorg_cv_cc_flag_unused_command_line_argument=no
   17010 fi
   17011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17012 fi
   17013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17014 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17016 	CFLAGS="$xorg_testset_save_CFLAGS"
   17017 fi
   17018 
   17019 found="no"
   17020 
   17021 	if test $found = "no" ; then
   17022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17024 		fi
   17025 
   17026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17028 		fi
   17029 
   17030 		CFLAGS="$CFLAGS -Werror=return-type"
   17031 
   17032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17033 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17034 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17035 		if eval test \${$cacheid+y}
   17036 then :
   17037   printf %s "(cached) " >&6
   17038 else $as_nop
   17039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17040 /* end confdefs.h.  */
   17041 int i;
   17042 int
   17043 main (void)
   17044 {
   17045 
   17046   ;
   17047   return 0;
   17048 }
   17049 _ACEOF
   17050 if ac_fn_c_try_link "$LINENO"
   17051 then :
   17052   eval $cacheid=yes
   17053 else $as_nop
   17054   eval $cacheid=no
   17055 fi
   17056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17057     conftest$ac_exeext conftest.$ac_ext
   17058 fi
   17059 
   17060 
   17061 		CFLAGS="$xorg_testset_save_CFLAGS"
   17062 
   17063 		eval supported=\$$cacheid
   17064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17065 printf "%s\n" "$supported" >&6; }
   17066 		if test "$supported" = "yes" ; then
   17067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17068 			found="yes"
   17069 		fi
   17070 	fi
   17071 
   17072 	if test $found = "no" ; then
   17073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17075 		fi
   17076 
   17077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17079 		fi
   17080 
   17081 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17082 
   17083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17084 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17085 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17086 		if eval test \${$cacheid+y}
   17087 then :
   17088   printf %s "(cached) " >&6
   17089 else $as_nop
   17090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17091 /* end confdefs.h.  */
   17092 int i;
   17093 int
   17094 main (void)
   17095 {
   17096 
   17097   ;
   17098   return 0;
   17099 }
   17100 _ACEOF
   17101 if ac_fn_c_try_link "$LINENO"
   17102 then :
   17103   eval $cacheid=yes
   17104 else $as_nop
   17105   eval $cacheid=no
   17106 fi
   17107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17108     conftest$ac_exeext conftest.$ac_ext
   17109 fi
   17110 
   17111 
   17112 		CFLAGS="$xorg_testset_save_CFLAGS"
   17113 
   17114 		eval supported=\$$cacheid
   17115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17116 printf "%s\n" "$supported" >&6; }
   17117 		if test "$supported" = "yes" ; then
   17118 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17119 			found="yes"
   17120 		fi
   17121 	fi
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 xorg_testset_save_CFLAGS="$CFLAGS"
   17138 
   17139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17144 then :
   17145   printf %s "(cached) " >&6
   17146 else $as_nop
   17147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 int i;
   17150 _ACEOF
   17151 if ac_fn_c_try_compile "$LINENO"
   17152 then :
   17153   xorg_cv_cc_flag_unknown_warning_option=yes
   17154 else $as_nop
   17155   xorg_cv_cc_flag_unknown_warning_option=no
   17156 fi
   17157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17158 fi
   17159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17160 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17162 	CFLAGS="$xorg_testset_save_CFLAGS"
   17163 fi
   17164 
   17165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17168 	fi
   17169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17171 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17172 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17173 then :
   17174   printf %s "(cached) " >&6
   17175 else $as_nop
   17176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17177 /* end confdefs.h.  */
   17178 int i;
   17179 _ACEOF
   17180 if ac_fn_c_try_compile "$LINENO"
   17181 then :
   17182   xorg_cv_cc_flag_unused_command_line_argument=yes
   17183 else $as_nop
   17184   xorg_cv_cc_flag_unused_command_line_argument=no
   17185 fi
   17186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17187 fi
   17188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17191 	CFLAGS="$xorg_testset_save_CFLAGS"
   17192 fi
   17193 
   17194 found="no"
   17195 
   17196 	if test $found = "no" ; then
   17197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 		fi
   17200 
   17201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17203 		fi
   17204 
   17205 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17206 
   17207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17208 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17209 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17210 		if eval test \${$cacheid+y}
   17211 then :
   17212   printf %s "(cached) " >&6
   17213 else $as_nop
   17214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17215 /* end confdefs.h.  */
   17216 int i;
   17217 int
   17218 main (void)
   17219 {
   17220 
   17221   ;
   17222   return 0;
   17223 }
   17224 _ACEOF
   17225 if ac_fn_c_try_link "$LINENO"
   17226 then :
   17227   eval $cacheid=yes
   17228 else $as_nop
   17229   eval $cacheid=no
   17230 fi
   17231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17232     conftest$ac_exeext conftest.$ac_ext
   17233 fi
   17234 
   17235 
   17236 		CFLAGS="$xorg_testset_save_CFLAGS"
   17237 
   17238 		eval supported=\$$cacheid
   17239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17240 printf "%s\n" "$supported" >&6; }
   17241 		if test "$supported" = "yes" ; then
   17242 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17243 			found="yes"
   17244 		fi
   17245 	fi
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 xorg_testset_save_CFLAGS="$CFLAGS"
   17262 
   17263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17266 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17267 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17268 then :
   17269   printf %s "(cached) " >&6
   17270 else $as_nop
   17271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17272 /* end confdefs.h.  */
   17273 int i;
   17274 _ACEOF
   17275 if ac_fn_c_try_compile "$LINENO"
   17276 then :
   17277   xorg_cv_cc_flag_unknown_warning_option=yes
   17278 else $as_nop
   17279   xorg_cv_cc_flag_unknown_warning_option=no
   17280 fi
   17281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17282 fi
   17283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17284 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17286 	CFLAGS="$xorg_testset_save_CFLAGS"
   17287 fi
   17288 
   17289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17292 	fi
   17293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17295 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17296 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17297 then :
   17298   printf %s "(cached) " >&6
   17299 else $as_nop
   17300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17301 /* end confdefs.h.  */
   17302 int i;
   17303 _ACEOF
   17304 if ac_fn_c_try_compile "$LINENO"
   17305 then :
   17306   xorg_cv_cc_flag_unused_command_line_argument=yes
   17307 else $as_nop
   17308   xorg_cv_cc_flag_unused_command_line_argument=no
   17309 fi
   17310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17311 fi
   17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17313 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17315 	CFLAGS="$xorg_testset_save_CFLAGS"
   17316 fi
   17317 
   17318 found="no"
   17319 
   17320 	if test $found = "no" ; then
   17321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17323 		fi
   17324 
   17325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17327 		fi
   17328 
   17329 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17330 
   17331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17332 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17333 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17334 		if eval test \${$cacheid+y}
   17335 then :
   17336   printf %s "(cached) " >&6
   17337 else $as_nop
   17338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17339 /* end confdefs.h.  */
   17340 int i;
   17341 int
   17342 main (void)
   17343 {
   17344 
   17345   ;
   17346   return 0;
   17347 }
   17348 _ACEOF
   17349 if ac_fn_c_try_link "$LINENO"
   17350 then :
   17351   eval $cacheid=yes
   17352 else $as_nop
   17353   eval $cacheid=no
   17354 fi
   17355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17356     conftest$ac_exeext conftest.$ac_ext
   17357 fi
   17358 
   17359 
   17360 		CFLAGS="$xorg_testset_save_CFLAGS"
   17361 
   17362 		eval supported=\$$cacheid
   17363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17364 printf "%s\n" "$supported" >&6; }
   17365 		if test "$supported" = "yes" ; then
   17366 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17367 			found="yes"
   17368 		fi
   17369 	fi
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 
   17385 xorg_testset_save_CFLAGS="$CFLAGS"
   17386 
   17387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17390 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17391 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17392 then :
   17393   printf %s "(cached) " >&6
   17394 else $as_nop
   17395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17396 /* end confdefs.h.  */
   17397 int i;
   17398 _ACEOF
   17399 if ac_fn_c_try_compile "$LINENO"
   17400 then :
   17401   xorg_cv_cc_flag_unknown_warning_option=yes
   17402 else $as_nop
   17403   xorg_cv_cc_flag_unknown_warning_option=no
   17404 fi
   17405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17406 fi
   17407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17410 	CFLAGS="$xorg_testset_save_CFLAGS"
   17411 fi
   17412 
   17413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17416 	fi
   17417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17421 then :
   17422   printf %s "(cached) " >&6
   17423 else $as_nop
   17424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17425 /* end confdefs.h.  */
   17426 int i;
   17427 _ACEOF
   17428 if ac_fn_c_try_compile "$LINENO"
   17429 then :
   17430   xorg_cv_cc_flag_unused_command_line_argument=yes
   17431 else $as_nop
   17432   xorg_cv_cc_flag_unused_command_line_argument=no
   17433 fi
   17434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17435 fi
   17436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17437 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17439 	CFLAGS="$xorg_testset_save_CFLAGS"
   17440 fi
   17441 
   17442 found="no"
   17443 
   17444 	if test $found = "no" ; then
   17445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17447 		fi
   17448 
   17449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17451 		fi
   17452 
   17453 		CFLAGS="$CFLAGS -Werror=write-strings"
   17454 
   17455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17456 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17457 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17458 		if eval test \${$cacheid+y}
   17459 then :
   17460   printf %s "(cached) " >&6
   17461 else $as_nop
   17462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17463 /* end confdefs.h.  */
   17464 int i;
   17465 int
   17466 main (void)
   17467 {
   17468 
   17469   ;
   17470   return 0;
   17471 }
   17472 _ACEOF
   17473 if ac_fn_c_try_link "$LINENO"
   17474 then :
   17475   eval $cacheid=yes
   17476 else $as_nop
   17477   eval $cacheid=no
   17478 fi
   17479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17480     conftest$ac_exeext conftest.$ac_ext
   17481 fi
   17482 
   17483 
   17484 		CFLAGS="$xorg_testset_save_CFLAGS"
   17485 
   17486 		eval supported=\$$cacheid
   17487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17488 printf "%s\n" "$supported" >&6; }
   17489 		if test "$supported" = "yes" ; then
   17490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17491 			found="yes"
   17492 		fi
   17493 	fi
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 xorg_testset_save_CFLAGS="$CFLAGS"
   17510 
   17511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17514 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17515 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17516 then :
   17517   printf %s "(cached) " >&6
   17518 else $as_nop
   17519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17520 /* end confdefs.h.  */
   17521 int i;
   17522 _ACEOF
   17523 if ac_fn_c_try_compile "$LINENO"
   17524 then :
   17525   xorg_cv_cc_flag_unknown_warning_option=yes
   17526 else $as_nop
   17527   xorg_cv_cc_flag_unknown_warning_option=no
   17528 fi
   17529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17530 fi
   17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17532 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17534 	CFLAGS="$xorg_testset_save_CFLAGS"
   17535 fi
   17536 
   17537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17540 	fi
   17541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17543 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17544 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17545 then :
   17546   printf %s "(cached) " >&6
   17547 else $as_nop
   17548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17549 /* end confdefs.h.  */
   17550 int i;
   17551 _ACEOF
   17552 if ac_fn_c_try_compile "$LINENO"
   17553 then :
   17554   xorg_cv_cc_flag_unused_command_line_argument=yes
   17555 else $as_nop
   17556   xorg_cv_cc_flag_unused_command_line_argument=no
   17557 fi
   17558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17559 fi
   17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17561 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17563 	CFLAGS="$xorg_testset_save_CFLAGS"
   17564 fi
   17565 
   17566 found="no"
   17567 
   17568 	if test $found = "no" ; then
   17569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17571 		fi
   17572 
   17573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17575 		fi
   17576 
   17577 		CFLAGS="$CFLAGS -Werror=address"
   17578 
   17579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17580 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17581 		cacheid=xorg_cv_cc_flag__Werror_address
   17582 		if eval test \${$cacheid+y}
   17583 then :
   17584   printf %s "(cached) " >&6
   17585 else $as_nop
   17586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17587 /* end confdefs.h.  */
   17588 int i;
   17589 int
   17590 main (void)
   17591 {
   17592 
   17593   ;
   17594   return 0;
   17595 }
   17596 _ACEOF
   17597 if ac_fn_c_try_link "$LINENO"
   17598 then :
   17599   eval $cacheid=yes
   17600 else $as_nop
   17601   eval $cacheid=no
   17602 fi
   17603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17604     conftest$ac_exeext conftest.$ac_ext
   17605 fi
   17606 
   17607 
   17608 		CFLAGS="$xorg_testset_save_CFLAGS"
   17609 
   17610 		eval supported=\$$cacheid
   17611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17612 printf "%s\n" "$supported" >&6; }
   17613 		if test "$supported" = "yes" ; then
   17614 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17615 			found="yes"
   17616 		fi
   17617 	fi
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 xorg_testset_save_CFLAGS="$CFLAGS"
   17634 
   17635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17638 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17639 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17640 then :
   17641   printf %s "(cached) " >&6
   17642 else $as_nop
   17643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17644 /* end confdefs.h.  */
   17645 int i;
   17646 _ACEOF
   17647 if ac_fn_c_try_compile "$LINENO"
   17648 then :
   17649   xorg_cv_cc_flag_unknown_warning_option=yes
   17650 else $as_nop
   17651   xorg_cv_cc_flag_unknown_warning_option=no
   17652 fi
   17653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17654 fi
   17655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17656 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17658 	CFLAGS="$xorg_testset_save_CFLAGS"
   17659 fi
   17660 
   17661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17664 	fi
   17665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17667 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17668 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17669 then :
   17670   printf %s "(cached) " >&6
   17671 else $as_nop
   17672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17673 /* end confdefs.h.  */
   17674 int i;
   17675 _ACEOF
   17676 if ac_fn_c_try_compile "$LINENO"
   17677 then :
   17678   xorg_cv_cc_flag_unused_command_line_argument=yes
   17679 else $as_nop
   17680   xorg_cv_cc_flag_unused_command_line_argument=no
   17681 fi
   17682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17683 fi
   17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17687 	CFLAGS="$xorg_testset_save_CFLAGS"
   17688 fi
   17689 
   17690 found="no"
   17691 
   17692 	if test $found = "no" ; then
   17693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17695 		fi
   17696 
   17697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17699 		fi
   17700 
   17701 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17702 
   17703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17704 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17705 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17706 		if eval test \${$cacheid+y}
   17707 then :
   17708   printf %s "(cached) " >&6
   17709 else $as_nop
   17710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17711 /* end confdefs.h.  */
   17712 int i;
   17713 int
   17714 main (void)
   17715 {
   17716 
   17717   ;
   17718   return 0;
   17719 }
   17720 _ACEOF
   17721 if ac_fn_c_try_link "$LINENO"
   17722 then :
   17723   eval $cacheid=yes
   17724 else $as_nop
   17725   eval $cacheid=no
   17726 fi
   17727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17728     conftest$ac_exeext conftest.$ac_ext
   17729 fi
   17730 
   17731 
   17732 		CFLAGS="$xorg_testset_save_CFLAGS"
   17733 
   17734 		eval supported=\$$cacheid
   17735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17736 printf "%s\n" "$supported" >&6; }
   17737 		if test "$supported" = "yes" ; then
   17738 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17739 			found="yes"
   17740 		fi
   17741 	fi
   17742 
   17743 	if test $found = "no" ; then
   17744 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17746 		fi
   17747 
   17748 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17750 		fi
   17751 
   17752 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17753 
   17754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17755 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17756 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17757 		if eval test \${$cacheid+y}
   17758 then :
   17759   printf %s "(cached) " >&6
   17760 else $as_nop
   17761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17762 /* end confdefs.h.  */
   17763 int i;
   17764 int
   17765 main (void)
   17766 {
   17767 
   17768   ;
   17769   return 0;
   17770 }
   17771 _ACEOF
   17772 if ac_fn_c_try_link "$LINENO"
   17773 then :
   17774   eval $cacheid=yes
   17775 else $as_nop
   17776   eval $cacheid=no
   17777 fi
   17778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17779     conftest$ac_exeext conftest.$ac_ext
   17780 fi
   17781 
   17782 
   17783 		CFLAGS="$xorg_testset_save_CFLAGS"
   17784 
   17785 		eval supported=\$$cacheid
   17786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17787 printf "%s\n" "$supported" >&6; }
   17788 		if test "$supported" = "yes" ; then
   17789 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17790 			found="yes"
   17791 		fi
   17792 	fi
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 xorg_testset_save_CFLAGS="$CFLAGS"
   17809 
   17810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17813 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17814 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17815 then :
   17816   printf %s "(cached) " >&6
   17817 else $as_nop
   17818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17819 /* end confdefs.h.  */
   17820 int i;
   17821 _ACEOF
   17822 if ac_fn_c_try_compile "$LINENO"
   17823 then :
   17824   xorg_cv_cc_flag_unknown_warning_option=yes
   17825 else $as_nop
   17826   xorg_cv_cc_flag_unknown_warning_option=no
   17827 fi
   17828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17829 fi
   17830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17831 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17833 	CFLAGS="$xorg_testset_save_CFLAGS"
   17834 fi
   17835 
   17836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17839 	fi
   17840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17841 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17842 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17843 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17844 then :
   17845   printf %s "(cached) " >&6
   17846 else $as_nop
   17847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17848 /* end confdefs.h.  */
   17849 int i;
   17850 _ACEOF
   17851 if ac_fn_c_try_compile "$LINENO"
   17852 then :
   17853   xorg_cv_cc_flag_unused_command_line_argument=yes
   17854 else $as_nop
   17855   xorg_cv_cc_flag_unused_command_line_argument=no
   17856 fi
   17857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17858 fi
   17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17860 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17862 	CFLAGS="$xorg_testset_save_CFLAGS"
   17863 fi
   17864 
   17865 found="no"
   17866 
   17867 	if test $found = "no" ; then
   17868 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17870 		fi
   17871 
   17872 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17874 		fi
   17875 
   17876 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17877 
   17878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17879 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17880 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17881 		if eval test \${$cacheid+y}
   17882 then :
   17883   printf %s "(cached) " >&6
   17884 else $as_nop
   17885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17886 /* end confdefs.h.  */
   17887 int i;
   17888 int
   17889 main (void)
   17890 {
   17891 
   17892   ;
   17893   return 0;
   17894 }
   17895 _ACEOF
   17896 if ac_fn_c_try_link "$LINENO"
   17897 then :
   17898   eval $cacheid=yes
   17899 else $as_nop
   17900   eval $cacheid=no
   17901 fi
   17902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17903     conftest$ac_exeext conftest.$ac_ext
   17904 fi
   17905 
   17906 
   17907 		CFLAGS="$xorg_testset_save_CFLAGS"
   17908 
   17909 		eval supported=\$$cacheid
   17910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17911 printf "%s\n" "$supported" >&6; }
   17912 		if test "$supported" = "yes" ; then
   17913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17914 			found="yes"
   17915 		fi
   17916 	fi
   17917 
   17918  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17919 else
   17920 { printf "%s\n" "$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
   17921 printf "%s\n" "$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;}
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 xorg_testset_save_CFLAGS="$CFLAGS"
   17936 
   17937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17940 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17941 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17942 then :
   17943   printf %s "(cached) " >&6
   17944 else $as_nop
   17945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17946 /* end confdefs.h.  */
   17947 int i;
   17948 _ACEOF
   17949 if ac_fn_c_try_compile "$LINENO"
   17950 then :
   17951   xorg_cv_cc_flag_unknown_warning_option=yes
   17952 else $as_nop
   17953   xorg_cv_cc_flag_unknown_warning_option=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17956 fi
   17957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17958 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17960 	CFLAGS="$xorg_testset_save_CFLAGS"
   17961 fi
   17962 
   17963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17966 	fi
   17967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17969 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17970 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17971 then :
   17972   printf %s "(cached) " >&6
   17973 else $as_nop
   17974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17975 /* end confdefs.h.  */
   17976 int i;
   17977 _ACEOF
   17978 if ac_fn_c_try_compile "$LINENO"
   17979 then :
   17980   xorg_cv_cc_flag_unused_command_line_argument=yes
   17981 else $as_nop
   17982   xorg_cv_cc_flag_unused_command_line_argument=no
   17983 fi
   17984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17985 fi
   17986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17987 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17989 	CFLAGS="$xorg_testset_save_CFLAGS"
   17990 fi
   17991 
   17992 found="no"
   17993 
   17994 	if test $found = "no" ; then
   17995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17997 		fi
   17998 
   17999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18001 		fi
   18002 
   18003 		CFLAGS="$CFLAGS -Wimplicit"
   18004 
   18005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18006 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18007 		cacheid=xorg_cv_cc_flag__Wimplicit
   18008 		if eval test \${$cacheid+y}
   18009 then :
   18010   printf %s "(cached) " >&6
   18011 else $as_nop
   18012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18013 /* end confdefs.h.  */
   18014 int i;
   18015 int
   18016 main (void)
   18017 {
   18018 
   18019   ;
   18020   return 0;
   18021 }
   18022 _ACEOF
   18023 if ac_fn_c_try_link "$LINENO"
   18024 then :
   18025   eval $cacheid=yes
   18026 else $as_nop
   18027   eval $cacheid=no
   18028 fi
   18029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18030     conftest$ac_exeext conftest.$ac_ext
   18031 fi
   18032 
   18033 
   18034 		CFLAGS="$xorg_testset_save_CFLAGS"
   18035 
   18036 		eval supported=\$$cacheid
   18037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18038 printf "%s\n" "$supported" >&6; }
   18039 		if test "$supported" = "yes" ; then
   18040 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18041 			found="yes"
   18042 		fi
   18043 	fi
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 xorg_testset_save_CFLAGS="$CFLAGS"
   18060 
   18061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18064 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18065 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18066 then :
   18067   printf %s "(cached) " >&6
   18068 else $as_nop
   18069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18070 /* end confdefs.h.  */
   18071 int i;
   18072 _ACEOF
   18073 if ac_fn_c_try_compile "$LINENO"
   18074 then :
   18075   xorg_cv_cc_flag_unknown_warning_option=yes
   18076 else $as_nop
   18077   xorg_cv_cc_flag_unknown_warning_option=no
   18078 fi
   18079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18080 fi
   18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18082 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18084 	CFLAGS="$xorg_testset_save_CFLAGS"
   18085 fi
   18086 
   18087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18090 	fi
   18091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18095 then :
   18096   printf %s "(cached) " >&6
   18097 else $as_nop
   18098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18099 /* end confdefs.h.  */
   18100 int i;
   18101 _ACEOF
   18102 if ac_fn_c_try_compile "$LINENO"
   18103 then :
   18104   xorg_cv_cc_flag_unused_command_line_argument=yes
   18105 else $as_nop
   18106   xorg_cv_cc_flag_unused_command_line_argument=no
   18107 fi
   18108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18109 fi
   18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18111 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18113 	CFLAGS="$xorg_testset_save_CFLAGS"
   18114 fi
   18115 
   18116 found="no"
   18117 
   18118 	if test $found = "no" ; then
   18119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18121 		fi
   18122 
   18123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18125 		fi
   18126 
   18127 		CFLAGS="$CFLAGS -Wnonnull"
   18128 
   18129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18130 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18131 		cacheid=xorg_cv_cc_flag__Wnonnull
   18132 		if eval test \${$cacheid+y}
   18133 then :
   18134   printf %s "(cached) " >&6
   18135 else $as_nop
   18136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18137 /* end confdefs.h.  */
   18138 int i;
   18139 int
   18140 main (void)
   18141 {
   18142 
   18143   ;
   18144   return 0;
   18145 }
   18146 _ACEOF
   18147 if ac_fn_c_try_link "$LINENO"
   18148 then :
   18149   eval $cacheid=yes
   18150 else $as_nop
   18151   eval $cacheid=no
   18152 fi
   18153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18154     conftest$ac_exeext conftest.$ac_ext
   18155 fi
   18156 
   18157 
   18158 		CFLAGS="$xorg_testset_save_CFLAGS"
   18159 
   18160 		eval supported=\$$cacheid
   18161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18162 printf "%s\n" "$supported" >&6; }
   18163 		if test "$supported" = "yes" ; then
   18164 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18165 			found="yes"
   18166 		fi
   18167 	fi
   18168 
   18169 
   18170 
   18171 
   18172 
   18173 
   18174 
   18175 
   18176 
   18177 
   18178 
   18179 
   18180 
   18181 
   18182 
   18183 xorg_testset_save_CFLAGS="$CFLAGS"
   18184 
   18185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18188 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18189 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18190 then :
   18191   printf %s "(cached) " >&6
   18192 else $as_nop
   18193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18194 /* end confdefs.h.  */
   18195 int i;
   18196 _ACEOF
   18197 if ac_fn_c_try_compile "$LINENO"
   18198 then :
   18199   xorg_cv_cc_flag_unknown_warning_option=yes
   18200 else $as_nop
   18201   xorg_cv_cc_flag_unknown_warning_option=no
   18202 fi
   18203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18204 fi
   18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18206 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18208 	CFLAGS="$xorg_testset_save_CFLAGS"
   18209 fi
   18210 
   18211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18214 	fi
   18215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18216 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18217 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18218 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18219 then :
   18220   printf %s "(cached) " >&6
   18221 else $as_nop
   18222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18223 /* end confdefs.h.  */
   18224 int i;
   18225 _ACEOF
   18226 if ac_fn_c_try_compile "$LINENO"
   18227 then :
   18228   xorg_cv_cc_flag_unused_command_line_argument=yes
   18229 else $as_nop
   18230   xorg_cv_cc_flag_unused_command_line_argument=no
   18231 fi
   18232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18233 fi
   18234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18235 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18237 	CFLAGS="$xorg_testset_save_CFLAGS"
   18238 fi
   18239 
   18240 found="no"
   18241 
   18242 	if test $found = "no" ; then
   18243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18245 		fi
   18246 
   18247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18249 		fi
   18250 
   18251 		CFLAGS="$CFLAGS -Winit-self"
   18252 
   18253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18254 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18255 		cacheid=xorg_cv_cc_flag__Winit_self
   18256 		if eval test \${$cacheid+y}
   18257 then :
   18258   printf %s "(cached) " >&6
   18259 else $as_nop
   18260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18261 /* end confdefs.h.  */
   18262 int i;
   18263 int
   18264 main (void)
   18265 {
   18266 
   18267   ;
   18268   return 0;
   18269 }
   18270 _ACEOF
   18271 if ac_fn_c_try_link "$LINENO"
   18272 then :
   18273   eval $cacheid=yes
   18274 else $as_nop
   18275   eval $cacheid=no
   18276 fi
   18277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18278     conftest$ac_exeext conftest.$ac_ext
   18279 fi
   18280 
   18281 
   18282 		CFLAGS="$xorg_testset_save_CFLAGS"
   18283 
   18284 		eval supported=\$$cacheid
   18285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18286 printf "%s\n" "$supported" >&6; }
   18287 		if test "$supported" = "yes" ; then
   18288 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18289 			found="yes"
   18290 		fi
   18291 	fi
   18292 
   18293 
   18294 
   18295 
   18296 
   18297 
   18298 
   18299 
   18300 
   18301 
   18302 
   18303 
   18304 
   18305 
   18306 
   18307 xorg_testset_save_CFLAGS="$CFLAGS"
   18308 
   18309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18313 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18314 then :
   18315   printf %s "(cached) " >&6
   18316 else $as_nop
   18317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18318 /* end confdefs.h.  */
   18319 int i;
   18320 _ACEOF
   18321 if ac_fn_c_try_compile "$LINENO"
   18322 then :
   18323   xorg_cv_cc_flag_unknown_warning_option=yes
   18324 else $as_nop
   18325   xorg_cv_cc_flag_unknown_warning_option=no
   18326 fi
   18327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18328 fi
   18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18330 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18332 	CFLAGS="$xorg_testset_save_CFLAGS"
   18333 fi
   18334 
   18335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18338 	fi
   18339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18340 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18341 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18342 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18343 then :
   18344   printf %s "(cached) " >&6
   18345 else $as_nop
   18346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18347 /* end confdefs.h.  */
   18348 int i;
   18349 _ACEOF
   18350 if ac_fn_c_try_compile "$LINENO"
   18351 then :
   18352   xorg_cv_cc_flag_unused_command_line_argument=yes
   18353 else $as_nop
   18354   xorg_cv_cc_flag_unused_command_line_argument=no
   18355 fi
   18356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18357 fi
   18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18359 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18361 	CFLAGS="$xorg_testset_save_CFLAGS"
   18362 fi
   18363 
   18364 found="no"
   18365 
   18366 	if test $found = "no" ; then
   18367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18369 		fi
   18370 
   18371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18373 		fi
   18374 
   18375 		CFLAGS="$CFLAGS -Wmain"
   18376 
   18377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18378 printf %s "checking if $CC supports -Wmain... " >&6; }
   18379 		cacheid=xorg_cv_cc_flag__Wmain
   18380 		if eval test \${$cacheid+y}
   18381 then :
   18382   printf %s "(cached) " >&6
   18383 else $as_nop
   18384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18385 /* end confdefs.h.  */
   18386 int i;
   18387 int
   18388 main (void)
   18389 {
   18390 
   18391   ;
   18392   return 0;
   18393 }
   18394 _ACEOF
   18395 if ac_fn_c_try_link "$LINENO"
   18396 then :
   18397   eval $cacheid=yes
   18398 else $as_nop
   18399   eval $cacheid=no
   18400 fi
   18401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18402     conftest$ac_exeext conftest.$ac_ext
   18403 fi
   18404 
   18405 
   18406 		CFLAGS="$xorg_testset_save_CFLAGS"
   18407 
   18408 		eval supported=\$$cacheid
   18409 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18410 printf "%s\n" "$supported" >&6; }
   18411 		if test "$supported" = "yes" ; then
   18412 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18413 			found="yes"
   18414 		fi
   18415 	fi
   18416 
   18417 
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 xorg_testset_save_CFLAGS="$CFLAGS"
   18432 
   18433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18436 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18437 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18438 then :
   18439   printf %s "(cached) " >&6
   18440 else $as_nop
   18441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18442 /* end confdefs.h.  */
   18443 int i;
   18444 _ACEOF
   18445 if ac_fn_c_try_compile "$LINENO"
   18446 then :
   18447   xorg_cv_cc_flag_unknown_warning_option=yes
   18448 else $as_nop
   18449   xorg_cv_cc_flag_unknown_warning_option=no
   18450 fi
   18451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18452 fi
   18453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18454 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18456 	CFLAGS="$xorg_testset_save_CFLAGS"
   18457 fi
   18458 
   18459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18462 	fi
   18463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18464 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18465 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18466 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18467 then :
   18468   printf %s "(cached) " >&6
   18469 else $as_nop
   18470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18471 /* end confdefs.h.  */
   18472 int i;
   18473 _ACEOF
   18474 if ac_fn_c_try_compile "$LINENO"
   18475 then :
   18476   xorg_cv_cc_flag_unused_command_line_argument=yes
   18477 else $as_nop
   18478   xorg_cv_cc_flag_unused_command_line_argument=no
   18479 fi
   18480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18481 fi
   18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18483 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18485 	CFLAGS="$xorg_testset_save_CFLAGS"
   18486 fi
   18487 
   18488 found="no"
   18489 
   18490 	if test $found = "no" ; then
   18491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18493 		fi
   18494 
   18495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18497 		fi
   18498 
   18499 		CFLAGS="$CFLAGS -Wmissing-braces"
   18500 
   18501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18502 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18503 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18504 		if eval test \${$cacheid+y}
   18505 then :
   18506   printf %s "(cached) " >&6
   18507 else $as_nop
   18508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18509 /* end confdefs.h.  */
   18510 int i;
   18511 int
   18512 main (void)
   18513 {
   18514 
   18515   ;
   18516   return 0;
   18517 }
   18518 _ACEOF
   18519 if ac_fn_c_try_link "$LINENO"
   18520 then :
   18521   eval $cacheid=yes
   18522 else $as_nop
   18523   eval $cacheid=no
   18524 fi
   18525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18526     conftest$ac_exeext conftest.$ac_ext
   18527 fi
   18528 
   18529 
   18530 		CFLAGS="$xorg_testset_save_CFLAGS"
   18531 
   18532 		eval supported=\$$cacheid
   18533 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18534 printf "%s\n" "$supported" >&6; }
   18535 		if test "$supported" = "yes" ; then
   18536 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18537 			found="yes"
   18538 		fi
   18539 	fi
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 xorg_testset_save_CFLAGS="$CFLAGS"
   18556 
   18557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18560 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18561 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18562 then :
   18563   printf %s "(cached) " >&6
   18564 else $as_nop
   18565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18566 /* end confdefs.h.  */
   18567 int i;
   18568 _ACEOF
   18569 if ac_fn_c_try_compile "$LINENO"
   18570 then :
   18571   xorg_cv_cc_flag_unknown_warning_option=yes
   18572 else $as_nop
   18573   xorg_cv_cc_flag_unknown_warning_option=no
   18574 fi
   18575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18576 fi
   18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18578 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18580 	CFLAGS="$xorg_testset_save_CFLAGS"
   18581 fi
   18582 
   18583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18586 	fi
   18587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18588 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18589 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18590 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18591 then :
   18592   printf %s "(cached) " >&6
   18593 else $as_nop
   18594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18595 /* end confdefs.h.  */
   18596 int i;
   18597 _ACEOF
   18598 if ac_fn_c_try_compile "$LINENO"
   18599 then :
   18600   xorg_cv_cc_flag_unused_command_line_argument=yes
   18601 else $as_nop
   18602   xorg_cv_cc_flag_unused_command_line_argument=no
   18603 fi
   18604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18605 fi
   18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18607 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18608 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18609 	CFLAGS="$xorg_testset_save_CFLAGS"
   18610 fi
   18611 
   18612 found="no"
   18613 
   18614 	if test $found = "no" ; then
   18615 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18616 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18617 		fi
   18618 
   18619 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18620 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18621 		fi
   18622 
   18623 		CFLAGS="$CFLAGS -Wsequence-point"
   18624 
   18625 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18626 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18627 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18628 		if eval test \${$cacheid+y}
   18629 then :
   18630   printf %s "(cached) " >&6
   18631 else $as_nop
   18632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18633 /* end confdefs.h.  */
   18634 int i;
   18635 int
   18636 main (void)
   18637 {
   18638 
   18639   ;
   18640   return 0;
   18641 }
   18642 _ACEOF
   18643 if ac_fn_c_try_link "$LINENO"
   18644 then :
   18645   eval $cacheid=yes
   18646 else $as_nop
   18647   eval $cacheid=no
   18648 fi
   18649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18650     conftest$ac_exeext conftest.$ac_ext
   18651 fi
   18652 
   18653 
   18654 		CFLAGS="$xorg_testset_save_CFLAGS"
   18655 
   18656 		eval supported=\$$cacheid
   18657 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18658 printf "%s\n" "$supported" >&6; }
   18659 		if test "$supported" = "yes" ; then
   18660 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18661 			found="yes"
   18662 		fi
   18663 	fi
   18664 
   18665 
   18666 
   18667 
   18668 
   18669 
   18670 
   18671 
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 xorg_testset_save_CFLAGS="$CFLAGS"
   18680 
   18681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18684 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18685 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18686 then :
   18687   printf %s "(cached) " >&6
   18688 else $as_nop
   18689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18690 /* end confdefs.h.  */
   18691 int i;
   18692 _ACEOF
   18693 if ac_fn_c_try_compile "$LINENO"
   18694 then :
   18695   xorg_cv_cc_flag_unknown_warning_option=yes
   18696 else $as_nop
   18697   xorg_cv_cc_flag_unknown_warning_option=no
   18698 fi
   18699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18700 fi
   18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18702 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18704 	CFLAGS="$xorg_testset_save_CFLAGS"
   18705 fi
   18706 
   18707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18710 	fi
   18711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18712 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18713 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18714 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18715 then :
   18716   printf %s "(cached) " >&6
   18717 else $as_nop
   18718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18719 /* end confdefs.h.  */
   18720 int i;
   18721 _ACEOF
   18722 if ac_fn_c_try_compile "$LINENO"
   18723 then :
   18724   xorg_cv_cc_flag_unused_command_line_argument=yes
   18725 else $as_nop
   18726   xorg_cv_cc_flag_unused_command_line_argument=no
   18727 fi
   18728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18729 fi
   18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18731 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18733 	CFLAGS="$xorg_testset_save_CFLAGS"
   18734 fi
   18735 
   18736 found="no"
   18737 
   18738 	if test $found = "no" ; then
   18739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18741 		fi
   18742 
   18743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18745 		fi
   18746 
   18747 		CFLAGS="$CFLAGS -Wreturn-type"
   18748 
   18749 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18750 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18751 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18752 		if eval test \${$cacheid+y}
   18753 then :
   18754   printf %s "(cached) " >&6
   18755 else $as_nop
   18756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18757 /* end confdefs.h.  */
   18758 int i;
   18759 int
   18760 main (void)
   18761 {
   18762 
   18763   ;
   18764   return 0;
   18765 }
   18766 _ACEOF
   18767 if ac_fn_c_try_link "$LINENO"
   18768 then :
   18769   eval $cacheid=yes
   18770 else $as_nop
   18771   eval $cacheid=no
   18772 fi
   18773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18774     conftest$ac_exeext conftest.$ac_ext
   18775 fi
   18776 
   18777 
   18778 		CFLAGS="$xorg_testset_save_CFLAGS"
   18779 
   18780 		eval supported=\$$cacheid
   18781 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18782 printf "%s\n" "$supported" >&6; }
   18783 		if test "$supported" = "yes" ; then
   18784 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18785 			found="yes"
   18786 		fi
   18787 	fi
   18788 
   18789 
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 xorg_testset_save_CFLAGS="$CFLAGS"
   18804 
   18805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18808 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18809 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18810 then :
   18811   printf %s "(cached) " >&6
   18812 else $as_nop
   18813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18814 /* end confdefs.h.  */
   18815 int i;
   18816 _ACEOF
   18817 if ac_fn_c_try_compile "$LINENO"
   18818 then :
   18819   xorg_cv_cc_flag_unknown_warning_option=yes
   18820 else $as_nop
   18821   xorg_cv_cc_flag_unknown_warning_option=no
   18822 fi
   18823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18824 fi
   18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18826 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18828 	CFLAGS="$xorg_testset_save_CFLAGS"
   18829 fi
   18830 
   18831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18834 	fi
   18835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18836 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18837 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18838 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18839 then :
   18840   printf %s "(cached) " >&6
   18841 else $as_nop
   18842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18843 /* end confdefs.h.  */
   18844 int i;
   18845 _ACEOF
   18846 if ac_fn_c_try_compile "$LINENO"
   18847 then :
   18848   xorg_cv_cc_flag_unused_command_line_argument=yes
   18849 else $as_nop
   18850   xorg_cv_cc_flag_unused_command_line_argument=no
   18851 fi
   18852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18853 fi
   18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18857 	CFLAGS="$xorg_testset_save_CFLAGS"
   18858 fi
   18859 
   18860 found="no"
   18861 
   18862 	if test $found = "no" ; then
   18863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18865 		fi
   18866 
   18867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18869 		fi
   18870 
   18871 		CFLAGS="$CFLAGS -Wtrigraphs"
   18872 
   18873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18874 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18875 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18876 		if eval test \${$cacheid+y}
   18877 then :
   18878   printf %s "(cached) " >&6
   18879 else $as_nop
   18880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18881 /* end confdefs.h.  */
   18882 int i;
   18883 int
   18884 main (void)
   18885 {
   18886 
   18887   ;
   18888   return 0;
   18889 }
   18890 _ACEOF
   18891 if ac_fn_c_try_link "$LINENO"
   18892 then :
   18893   eval $cacheid=yes
   18894 else $as_nop
   18895   eval $cacheid=no
   18896 fi
   18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18898     conftest$ac_exeext conftest.$ac_ext
   18899 fi
   18900 
   18901 
   18902 		CFLAGS="$xorg_testset_save_CFLAGS"
   18903 
   18904 		eval supported=\$$cacheid
   18905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18906 printf "%s\n" "$supported" >&6; }
   18907 		if test "$supported" = "yes" ; then
   18908 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18909 			found="yes"
   18910 		fi
   18911 	fi
   18912 
   18913 
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 xorg_testset_save_CFLAGS="$CFLAGS"
   18928 
   18929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18934 then :
   18935   printf %s "(cached) " >&6
   18936 else $as_nop
   18937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18938 /* end confdefs.h.  */
   18939 int i;
   18940 _ACEOF
   18941 if ac_fn_c_try_compile "$LINENO"
   18942 then :
   18943   xorg_cv_cc_flag_unknown_warning_option=yes
   18944 else $as_nop
   18945   xorg_cv_cc_flag_unknown_warning_option=no
   18946 fi
   18947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18948 fi
   18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18952 	CFLAGS="$xorg_testset_save_CFLAGS"
   18953 fi
   18954 
   18955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18958 	fi
   18959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18963 then :
   18964   printf %s "(cached) " >&6
   18965 else $as_nop
   18966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18967 /* end confdefs.h.  */
   18968 int i;
   18969 _ACEOF
   18970 if ac_fn_c_try_compile "$LINENO"
   18971 then :
   18972   xorg_cv_cc_flag_unused_command_line_argument=yes
   18973 else $as_nop
   18974   xorg_cv_cc_flag_unused_command_line_argument=no
   18975 fi
   18976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18977 fi
   18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18981 	CFLAGS="$xorg_testset_save_CFLAGS"
   18982 fi
   18983 
   18984 found="no"
   18985 
   18986 	if test $found = "no" ; then
   18987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18989 		fi
   18990 
   18991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18993 		fi
   18994 
   18995 		CFLAGS="$CFLAGS -Warray-bounds"
   18996 
   18997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18998 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18999 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19000 		if eval test \${$cacheid+y}
   19001 then :
   19002   printf %s "(cached) " >&6
   19003 else $as_nop
   19004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19005 /* end confdefs.h.  */
   19006 int i;
   19007 int
   19008 main (void)
   19009 {
   19010 
   19011   ;
   19012   return 0;
   19013 }
   19014 _ACEOF
   19015 if ac_fn_c_try_link "$LINENO"
   19016 then :
   19017   eval $cacheid=yes
   19018 else $as_nop
   19019   eval $cacheid=no
   19020 fi
   19021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19022     conftest$ac_exeext conftest.$ac_ext
   19023 fi
   19024 
   19025 
   19026 		CFLAGS="$xorg_testset_save_CFLAGS"
   19027 
   19028 		eval supported=\$$cacheid
   19029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19030 printf "%s\n" "$supported" >&6; }
   19031 		if test "$supported" = "yes" ; then
   19032 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19033 			found="yes"
   19034 		fi
   19035 	fi
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 xorg_testset_save_CFLAGS="$CFLAGS"
   19052 
   19053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19055 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19056 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19057 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19058 then :
   19059   printf %s "(cached) " >&6
   19060 else $as_nop
   19061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19062 /* end confdefs.h.  */
   19063 int i;
   19064 _ACEOF
   19065 if ac_fn_c_try_compile "$LINENO"
   19066 then :
   19067   xorg_cv_cc_flag_unknown_warning_option=yes
   19068 else $as_nop
   19069   xorg_cv_cc_flag_unknown_warning_option=no
   19070 fi
   19071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19072 fi
   19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19074 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19076 	CFLAGS="$xorg_testset_save_CFLAGS"
   19077 fi
   19078 
   19079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19082 	fi
   19083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19084 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19085 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19086 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19087 then :
   19088   printf %s "(cached) " >&6
   19089 else $as_nop
   19090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19091 /* end confdefs.h.  */
   19092 int i;
   19093 _ACEOF
   19094 if ac_fn_c_try_compile "$LINENO"
   19095 then :
   19096   xorg_cv_cc_flag_unused_command_line_argument=yes
   19097 else $as_nop
   19098   xorg_cv_cc_flag_unused_command_line_argument=no
   19099 fi
   19100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19101 fi
   19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19103 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19105 	CFLAGS="$xorg_testset_save_CFLAGS"
   19106 fi
   19107 
   19108 found="no"
   19109 
   19110 	if test $found = "no" ; then
   19111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19113 		fi
   19114 
   19115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19117 		fi
   19118 
   19119 		CFLAGS="$CFLAGS -Wwrite-strings"
   19120 
   19121 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19122 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19123 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19124 		if eval test \${$cacheid+y}
   19125 then :
   19126   printf %s "(cached) " >&6
   19127 else $as_nop
   19128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19129 /* end confdefs.h.  */
   19130 int i;
   19131 int
   19132 main (void)
   19133 {
   19134 
   19135   ;
   19136   return 0;
   19137 }
   19138 _ACEOF
   19139 if ac_fn_c_try_link "$LINENO"
   19140 then :
   19141   eval $cacheid=yes
   19142 else $as_nop
   19143   eval $cacheid=no
   19144 fi
   19145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19146     conftest$ac_exeext conftest.$ac_ext
   19147 fi
   19148 
   19149 
   19150 		CFLAGS="$xorg_testset_save_CFLAGS"
   19151 
   19152 		eval supported=\$$cacheid
   19153 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19154 printf "%s\n" "$supported" >&6; }
   19155 		if test "$supported" = "yes" ; then
   19156 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19157 			found="yes"
   19158 		fi
   19159 	fi
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 xorg_testset_save_CFLAGS="$CFLAGS"
   19176 
   19177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19180 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19181 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19182 then :
   19183   printf %s "(cached) " >&6
   19184 else $as_nop
   19185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19186 /* end confdefs.h.  */
   19187 int i;
   19188 _ACEOF
   19189 if ac_fn_c_try_compile "$LINENO"
   19190 then :
   19191   xorg_cv_cc_flag_unknown_warning_option=yes
   19192 else $as_nop
   19193   xorg_cv_cc_flag_unknown_warning_option=no
   19194 fi
   19195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19196 fi
   19197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19198 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19200 	CFLAGS="$xorg_testset_save_CFLAGS"
   19201 fi
   19202 
   19203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19206 	fi
   19207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19209 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19210 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19211 then :
   19212   printf %s "(cached) " >&6
   19213 else $as_nop
   19214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19215 /* end confdefs.h.  */
   19216 int i;
   19217 _ACEOF
   19218 if ac_fn_c_try_compile "$LINENO"
   19219 then :
   19220   xorg_cv_cc_flag_unused_command_line_argument=yes
   19221 else $as_nop
   19222   xorg_cv_cc_flag_unused_command_line_argument=no
   19223 fi
   19224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19225 fi
   19226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19227 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19229 	CFLAGS="$xorg_testset_save_CFLAGS"
   19230 fi
   19231 
   19232 found="no"
   19233 
   19234 	if test $found = "no" ; then
   19235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19237 		fi
   19238 
   19239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19241 		fi
   19242 
   19243 		CFLAGS="$CFLAGS -Waddress"
   19244 
   19245 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19246 printf %s "checking if $CC supports -Waddress... " >&6; }
   19247 		cacheid=xorg_cv_cc_flag__Waddress
   19248 		if eval test \${$cacheid+y}
   19249 then :
   19250   printf %s "(cached) " >&6
   19251 else $as_nop
   19252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19253 /* end confdefs.h.  */
   19254 int i;
   19255 int
   19256 main (void)
   19257 {
   19258 
   19259   ;
   19260   return 0;
   19261 }
   19262 _ACEOF
   19263 if ac_fn_c_try_link "$LINENO"
   19264 then :
   19265   eval $cacheid=yes
   19266 else $as_nop
   19267   eval $cacheid=no
   19268 fi
   19269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19270     conftest$ac_exeext conftest.$ac_ext
   19271 fi
   19272 
   19273 
   19274 		CFLAGS="$xorg_testset_save_CFLAGS"
   19275 
   19276 		eval supported=\$$cacheid
   19277 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19278 printf "%s\n" "$supported" >&6; }
   19279 		if test "$supported" = "yes" ; then
   19280 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19281 			found="yes"
   19282 		fi
   19283 	fi
   19284 
   19285 
   19286 
   19287 
   19288 
   19289 
   19290 
   19291 
   19292 
   19293 
   19294 
   19295 
   19296 
   19297 
   19298 
   19299 xorg_testset_save_CFLAGS="$CFLAGS"
   19300 
   19301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19303 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19304 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19305 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19306 then :
   19307   printf %s "(cached) " >&6
   19308 else $as_nop
   19309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19310 /* end confdefs.h.  */
   19311 int i;
   19312 _ACEOF
   19313 if ac_fn_c_try_compile "$LINENO"
   19314 then :
   19315   xorg_cv_cc_flag_unknown_warning_option=yes
   19316 else $as_nop
   19317   xorg_cv_cc_flag_unknown_warning_option=no
   19318 fi
   19319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19320 fi
   19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19322 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19324 	CFLAGS="$xorg_testset_save_CFLAGS"
   19325 fi
   19326 
   19327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19330 	fi
   19331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19332 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19333 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19334 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19335 then :
   19336   printf %s "(cached) " >&6
   19337 else $as_nop
   19338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19339 /* end confdefs.h.  */
   19340 int i;
   19341 _ACEOF
   19342 if ac_fn_c_try_compile "$LINENO"
   19343 then :
   19344   xorg_cv_cc_flag_unused_command_line_argument=yes
   19345 else $as_nop
   19346   xorg_cv_cc_flag_unused_command_line_argument=no
   19347 fi
   19348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19349 fi
   19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19351 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19353 	CFLAGS="$xorg_testset_save_CFLAGS"
   19354 fi
   19355 
   19356 found="no"
   19357 
   19358 	if test $found = "no" ; then
   19359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19361 		fi
   19362 
   19363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19365 		fi
   19366 
   19367 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19368 
   19369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19370 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19371 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19372 		if eval test \${$cacheid+y}
   19373 then :
   19374   printf %s "(cached) " >&6
   19375 else $as_nop
   19376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19377 /* end confdefs.h.  */
   19378 int i;
   19379 int
   19380 main (void)
   19381 {
   19382 
   19383   ;
   19384   return 0;
   19385 }
   19386 _ACEOF
   19387 if ac_fn_c_try_link "$LINENO"
   19388 then :
   19389   eval $cacheid=yes
   19390 else $as_nop
   19391   eval $cacheid=no
   19392 fi
   19393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19394     conftest$ac_exeext conftest.$ac_ext
   19395 fi
   19396 
   19397 
   19398 		CFLAGS="$xorg_testset_save_CFLAGS"
   19399 
   19400 		eval supported=\$$cacheid
   19401 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19402 printf "%s\n" "$supported" >&6; }
   19403 		if test "$supported" = "yes" ; then
   19404 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19405 			found="yes"
   19406 		fi
   19407 	fi
   19408 
   19409 
   19410 
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 
   19422 
   19423 xorg_testset_save_CFLAGS="$CFLAGS"
   19424 
   19425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19428 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19429 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19430 then :
   19431   printf %s "(cached) " >&6
   19432 else $as_nop
   19433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19434 /* end confdefs.h.  */
   19435 int i;
   19436 _ACEOF
   19437 if ac_fn_c_try_compile "$LINENO"
   19438 then :
   19439   xorg_cv_cc_flag_unknown_warning_option=yes
   19440 else $as_nop
   19441   xorg_cv_cc_flag_unknown_warning_option=no
   19442 fi
   19443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19444 fi
   19445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19446 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19448 	CFLAGS="$xorg_testset_save_CFLAGS"
   19449 fi
   19450 
   19451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19454 	fi
   19455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19457 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19458 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19459 then :
   19460   printf %s "(cached) " >&6
   19461 else $as_nop
   19462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19463 /* end confdefs.h.  */
   19464 int i;
   19465 _ACEOF
   19466 if ac_fn_c_try_compile "$LINENO"
   19467 then :
   19468   xorg_cv_cc_flag_unused_command_line_argument=yes
   19469 else $as_nop
   19470   xorg_cv_cc_flag_unused_command_line_argument=no
   19471 fi
   19472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19473 fi
   19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19475 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19477 	CFLAGS="$xorg_testset_save_CFLAGS"
   19478 fi
   19479 
   19480 found="no"
   19481 
   19482 	if test $found = "no" ; then
   19483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19485 		fi
   19486 
   19487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19489 		fi
   19490 
   19491 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19492 
   19493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19494 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19495 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19496 		if eval test \${$cacheid+y}
   19497 then :
   19498   printf %s "(cached) " >&6
   19499 else $as_nop
   19500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19501 /* end confdefs.h.  */
   19502 int i;
   19503 int
   19504 main (void)
   19505 {
   19506 
   19507   ;
   19508   return 0;
   19509 }
   19510 _ACEOF
   19511 if ac_fn_c_try_link "$LINENO"
   19512 then :
   19513   eval $cacheid=yes
   19514 else $as_nop
   19515   eval $cacheid=no
   19516 fi
   19517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19518     conftest$ac_exeext conftest.$ac_ext
   19519 fi
   19520 
   19521 
   19522 		CFLAGS="$xorg_testset_save_CFLAGS"
   19523 
   19524 		eval supported=\$$cacheid
   19525 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19526 printf "%s\n" "$supported" >&6; }
   19527 		if test "$supported" = "yes" ; then
   19528 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19529 			found="yes"
   19530 		fi
   19531 	fi
   19532 
   19533 
   19534 fi
   19535 
   19536 
   19537 
   19538 
   19539 
   19540 
   19541 
   19542 		CWARNFLAGS="$BASE_CFLAGS"
   19543 		if  test "x$GCC" = xyes ; then
   19544 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19545 		fi
   19546 
   19547 
   19548 
   19549 
   19550 
   19551 
   19552 
   19553 
   19554 # Check whether --enable-strict-compilation was given.
   19555 if test ${enable_strict_compilation+y}
   19556 then :
   19557   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19558 else $as_nop
   19559   STRICT_COMPILE=no
   19560 fi
   19561 
   19562 
   19563 
   19564 
   19565 
   19566 
   19567 STRICT_CFLAGS=""
   19568 
   19569 
   19570 
   19571 
   19572 
   19573 
   19574 
   19575 
   19576 
   19577 
   19578 
   19579 
   19580 
   19581 xorg_testset_save_CFLAGS="$CFLAGS"
   19582 
   19583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19586 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19587 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19588 then :
   19589   printf %s "(cached) " >&6
   19590 else $as_nop
   19591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19592 /* end confdefs.h.  */
   19593 int i;
   19594 _ACEOF
   19595 if ac_fn_c_try_compile "$LINENO"
   19596 then :
   19597   xorg_cv_cc_flag_unknown_warning_option=yes
   19598 else $as_nop
   19599   xorg_cv_cc_flag_unknown_warning_option=no
   19600 fi
   19601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19602 fi
   19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19606 	CFLAGS="$xorg_testset_save_CFLAGS"
   19607 fi
   19608 
   19609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19612 	fi
   19613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19617 then :
   19618   printf %s "(cached) " >&6
   19619 else $as_nop
   19620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19621 /* end confdefs.h.  */
   19622 int i;
   19623 _ACEOF
   19624 if ac_fn_c_try_compile "$LINENO"
   19625 then :
   19626   xorg_cv_cc_flag_unused_command_line_argument=yes
   19627 else $as_nop
   19628   xorg_cv_cc_flag_unused_command_line_argument=no
   19629 fi
   19630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19631 fi
   19632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19635 	CFLAGS="$xorg_testset_save_CFLAGS"
   19636 fi
   19637 
   19638 found="no"
   19639 
   19640 	if test $found = "no" ; then
   19641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19643 		fi
   19644 
   19645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19647 		fi
   19648 
   19649 		CFLAGS="$CFLAGS -pedantic"
   19650 
   19651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19652 printf %s "checking if $CC supports -pedantic... " >&6; }
   19653 		cacheid=xorg_cv_cc_flag__pedantic
   19654 		if eval test \${$cacheid+y}
   19655 then :
   19656   printf %s "(cached) " >&6
   19657 else $as_nop
   19658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19659 /* end confdefs.h.  */
   19660 int i;
   19661 int
   19662 main (void)
   19663 {
   19664 
   19665   ;
   19666   return 0;
   19667 }
   19668 _ACEOF
   19669 if ac_fn_c_try_link "$LINENO"
   19670 then :
   19671   eval $cacheid=yes
   19672 else $as_nop
   19673   eval $cacheid=no
   19674 fi
   19675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19676     conftest$ac_exeext conftest.$ac_ext
   19677 fi
   19678 
   19679 
   19680 		CFLAGS="$xorg_testset_save_CFLAGS"
   19681 
   19682 		eval supported=\$$cacheid
   19683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19684 printf "%s\n" "$supported" >&6; }
   19685 		if test "$supported" = "yes" ; then
   19686 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19687 			found="yes"
   19688 		fi
   19689 	fi
   19690 
   19691 
   19692 
   19693 
   19694 
   19695 
   19696 
   19697 
   19698 
   19699 
   19700 
   19701 
   19702 
   19703 
   19704 
   19705 xorg_testset_save_CFLAGS="$CFLAGS"
   19706 
   19707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19710 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19711 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19712 then :
   19713   printf %s "(cached) " >&6
   19714 else $as_nop
   19715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19716 /* end confdefs.h.  */
   19717 int i;
   19718 _ACEOF
   19719 if ac_fn_c_try_compile "$LINENO"
   19720 then :
   19721   xorg_cv_cc_flag_unknown_warning_option=yes
   19722 else $as_nop
   19723   xorg_cv_cc_flag_unknown_warning_option=no
   19724 fi
   19725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19726 fi
   19727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19728 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19730 	CFLAGS="$xorg_testset_save_CFLAGS"
   19731 fi
   19732 
   19733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19736 	fi
   19737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19738 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19739 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19740 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19741 then :
   19742   printf %s "(cached) " >&6
   19743 else $as_nop
   19744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19745 /* end confdefs.h.  */
   19746 int i;
   19747 _ACEOF
   19748 if ac_fn_c_try_compile "$LINENO"
   19749 then :
   19750   xorg_cv_cc_flag_unused_command_line_argument=yes
   19751 else $as_nop
   19752   xorg_cv_cc_flag_unused_command_line_argument=no
   19753 fi
   19754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19755 fi
   19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19757 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19759 	CFLAGS="$xorg_testset_save_CFLAGS"
   19760 fi
   19761 
   19762 found="no"
   19763 
   19764 	if test $found = "no" ; then
   19765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19767 		fi
   19768 
   19769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19771 		fi
   19772 
   19773 		CFLAGS="$CFLAGS -Werror"
   19774 
   19775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19776 printf %s "checking if $CC supports -Werror... " >&6; }
   19777 		cacheid=xorg_cv_cc_flag__Werror
   19778 		if eval test \${$cacheid+y}
   19779 then :
   19780   printf %s "(cached) " >&6
   19781 else $as_nop
   19782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19783 /* end confdefs.h.  */
   19784 int i;
   19785 int
   19786 main (void)
   19787 {
   19788 
   19789   ;
   19790   return 0;
   19791 }
   19792 _ACEOF
   19793 if ac_fn_c_try_link "$LINENO"
   19794 then :
   19795   eval $cacheid=yes
   19796 else $as_nop
   19797   eval $cacheid=no
   19798 fi
   19799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19800     conftest$ac_exeext conftest.$ac_ext
   19801 fi
   19802 
   19803 
   19804 		CFLAGS="$xorg_testset_save_CFLAGS"
   19805 
   19806 		eval supported=\$$cacheid
   19807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19808 printf "%s\n" "$supported" >&6; }
   19809 		if test "$supported" = "yes" ; then
   19810 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19811 			found="yes"
   19812 		fi
   19813 	fi
   19814 
   19815 	if test $found = "no" ; then
   19816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19818 		fi
   19819 
   19820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19822 		fi
   19823 
   19824 		CFLAGS="$CFLAGS -errwarn"
   19825 
   19826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19827 printf %s "checking if $CC supports -errwarn... " >&6; }
   19828 		cacheid=xorg_cv_cc_flag__errwarn
   19829 		if eval test \${$cacheid+y}
   19830 then :
   19831   printf %s "(cached) " >&6
   19832 else $as_nop
   19833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19834 /* end confdefs.h.  */
   19835 int i;
   19836 int
   19837 main (void)
   19838 {
   19839 
   19840   ;
   19841   return 0;
   19842 }
   19843 _ACEOF
   19844 if ac_fn_c_try_link "$LINENO"
   19845 then :
   19846   eval $cacheid=yes
   19847 else $as_nop
   19848   eval $cacheid=no
   19849 fi
   19850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19851     conftest$ac_exeext conftest.$ac_ext
   19852 fi
   19853 
   19854 
   19855 		CFLAGS="$xorg_testset_save_CFLAGS"
   19856 
   19857 		eval supported=\$$cacheid
   19858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19859 printf "%s\n" "$supported" >&6; }
   19860 		if test "$supported" = "yes" ; then
   19861 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19862 			found="yes"
   19863 		fi
   19864 	fi
   19865 
   19866 
   19867 
   19868 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19869 # activate it with -Werror, so we add it here explicitly.
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 
   19880 
   19881 
   19882 
   19883 xorg_testset_save_CFLAGS="$CFLAGS"
   19884 
   19885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19888 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19889 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19890 then :
   19891   printf %s "(cached) " >&6
   19892 else $as_nop
   19893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19894 /* end confdefs.h.  */
   19895 int i;
   19896 _ACEOF
   19897 if ac_fn_c_try_compile "$LINENO"
   19898 then :
   19899   xorg_cv_cc_flag_unknown_warning_option=yes
   19900 else $as_nop
   19901   xorg_cv_cc_flag_unknown_warning_option=no
   19902 fi
   19903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19904 fi
   19905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19906 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19908 	CFLAGS="$xorg_testset_save_CFLAGS"
   19909 fi
   19910 
   19911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19914 	fi
   19915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19916 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19917 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19918 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19919 then :
   19920   printf %s "(cached) " >&6
   19921 else $as_nop
   19922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19923 /* end confdefs.h.  */
   19924 int i;
   19925 _ACEOF
   19926 if ac_fn_c_try_compile "$LINENO"
   19927 then :
   19928   xorg_cv_cc_flag_unused_command_line_argument=yes
   19929 else $as_nop
   19930   xorg_cv_cc_flag_unused_command_line_argument=no
   19931 fi
   19932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19933 fi
   19934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19937 	CFLAGS="$xorg_testset_save_CFLAGS"
   19938 fi
   19939 
   19940 found="no"
   19941 
   19942 	if test $found = "no" ; then
   19943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19945 		fi
   19946 
   19947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19949 		fi
   19950 
   19951 		CFLAGS="$CFLAGS -Werror=attributes"
   19952 
   19953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19954 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19955 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19956 		if eval test \${$cacheid+y}
   19957 then :
   19958   printf %s "(cached) " >&6
   19959 else $as_nop
   19960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19961 /* end confdefs.h.  */
   19962 int i;
   19963 int
   19964 main (void)
   19965 {
   19966 
   19967   ;
   19968   return 0;
   19969 }
   19970 _ACEOF
   19971 if ac_fn_c_try_link "$LINENO"
   19972 then :
   19973   eval $cacheid=yes
   19974 else $as_nop
   19975   eval $cacheid=no
   19976 fi
   19977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19978     conftest$ac_exeext conftest.$ac_ext
   19979 fi
   19980 
   19981 
   19982 		CFLAGS="$xorg_testset_save_CFLAGS"
   19983 
   19984 		eval supported=\$$cacheid
   19985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19986 printf "%s\n" "$supported" >&6; }
   19987 		if test "$supported" = "yes" ; then
   19988 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19989 			found="yes"
   19990 		fi
   19991 	fi
   19992 
   19993 
   19994 
   19995 if test "x$STRICT_COMPILE" = "xyes"; then
   19996     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19997     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19998 fi
   19999 
   20000 
   20001 
   20002 
   20003 
   20004 
   20005 cat >>confdefs.h <<_ACEOF
   20006 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20007 _ACEOF
   20008 
   20009 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20010 	if test "x$PVM" = "x"; then
   20011 		PVM="0"
   20012 	fi
   20013 
   20014 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20015 
   20016 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20017 	if test "x$PVP" = "x"; then
   20018 		PVP="0"
   20019 	fi
   20020 
   20021 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20022 
   20023 
   20024 
   20025 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20026 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20027 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20028 touch \$(top_srcdir)/ChangeLog; \
   20029 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20030 
   20031 
   20032 
   20033 
   20034 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20035 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20036 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20037 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20038 touch \$(top_srcdir)/INSTALL; \
   20039 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 case $host_os in
   20047     solaris*)
   20048         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20049         # check for a man page file found in later versions that use
   20050         # traditional section numbers instead
   20051         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20052 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20053 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20054 then :
   20055   printf %s "(cached) " >&6
   20056 else $as_nop
   20057   test "$cross_compiling" = yes &&
   20058   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20059 if test -r "/usr/share/man/man7/attributes.7"; then
   20060   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20061 else
   20062   ac_cv_file__usr_share_man_man7_attributes_7=no
   20063 fi
   20064 fi
   20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20066 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20067 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20068 then :
   20069   SYSV_MAN_SECTIONS=false
   20070 else $as_nop
   20071   SYSV_MAN_SECTIONS=true
   20072 fi
   20073 
   20074         ;;
   20075     *) SYSV_MAN_SECTIONS=false ;;
   20076 esac
   20077 
   20078 if test x$APP_MAN_SUFFIX = x    ; then
   20079     APP_MAN_SUFFIX=1
   20080 fi
   20081 if test x$APP_MAN_DIR = x    ; then
   20082     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20083 fi
   20084 
   20085 if test x$LIB_MAN_SUFFIX = x    ; then
   20086     LIB_MAN_SUFFIX=3
   20087 fi
   20088 if test x$LIB_MAN_DIR = x    ; then
   20089     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20090 fi
   20091 
   20092 if test x$FILE_MAN_SUFFIX = x    ; then
   20093     case $SYSV_MAN_SECTIONS in
   20094 	true)				FILE_MAN_SUFFIX=4  ;;
   20095 	*)				FILE_MAN_SUFFIX=5  ;;
   20096     esac
   20097 fi
   20098 if test x$FILE_MAN_DIR = x    ; then
   20099     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20100 fi
   20101 
   20102 if test x$MISC_MAN_SUFFIX = x    ; then
   20103     case $SYSV_MAN_SECTIONS in
   20104 	true)				MISC_MAN_SUFFIX=5  ;;
   20105 	*)				MISC_MAN_SUFFIX=7  ;;
   20106     esac
   20107 fi
   20108 if test x$MISC_MAN_DIR = x    ; then
   20109     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20110 fi
   20111 
   20112 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20113     case $SYSV_MAN_SECTIONS in
   20114 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20115 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20116     esac
   20117 fi
   20118 if test x$DRIVER_MAN_DIR = x    ; then
   20119     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20120 fi
   20121 
   20122 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20123     case $SYSV_MAN_SECTIONS in
   20124 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20125 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20126     esac
   20127 fi
   20128 if test x$ADMIN_MAN_DIR = x    ; then
   20129     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20130 fi
   20131 
   20132 
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 
   20139 
   20140 
   20141 
   20142 
   20143 
   20144 
   20145 
   20146 XORG_MAN_PAGE="X Version 11"
   20147 
   20148 MAN_SUBSTS="\
   20149 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20150 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20151 	-e 's|__xservername__|Xorg|g' \
   20152 	-e 's|__xconfigfile__|xorg.conf|g' \
   20153 	-e 's|__projectroot__|\$(prefix)|g' \
   20154 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20155 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20156 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20157 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20158 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20159 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20160 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20161 
   20162 
   20163 
   20164 # Check whether --enable-silent-rules was given.
   20165 if test ${enable_silent_rules+y}
   20166 then :
   20167   enableval=$enable_silent_rules;
   20168 fi
   20169 
   20170 case $enable_silent_rules in # (((
   20171   yes) AM_DEFAULT_VERBOSITY=0;;
   20172    no) AM_DEFAULT_VERBOSITY=1;;
   20173     *) AM_DEFAULT_VERBOSITY=0;;
   20174 esac
   20175 am_make=${MAKE-make}
   20176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   20177 printf %s "checking whether $am_make supports nested variables... " >&6; }
   20178 if test ${am_cv_make_support_nested_variables+y}
   20179 then :
   20180   printf %s "(cached) " >&6
   20181 else $as_nop
   20182   if printf "%s\n" 'TRUE=$(BAR$(V))
   20183 BAR0=false
   20184 BAR1=true
   20185 V=1
   20186 am__doit:
   20187 	@$(TRUE)
   20188 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   20189   am_cv_make_support_nested_variables=yes
   20190 else
   20191   am_cv_make_support_nested_variables=no
   20192 fi
   20193 fi
   20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   20195 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   20196 if test $am_cv_make_support_nested_variables = yes; then
   20197     AM_V='$(V)'
   20198   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20199 else
   20200   AM_V=$AM_DEFAULT_VERBOSITY
   20201   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20202 fi
   20203 AM_BACKSLASH='\'
   20204 
   20205 
   20206 
   20207 
   20208 # Check whether --enable-devel-docs was given.
   20209 if test ${enable_devel_docs+y}
   20210 then :
   20211   enableval=$enable_devel_docs; build_devel_docs=$enableval
   20212 else $as_nop
   20213   build_devel_docs=yes
   20214 fi
   20215 
   20216 
   20217  if test x$build_devel_docs = xyes; then
   20218   ENABLE_DEVEL_DOCS_TRUE=
   20219   ENABLE_DEVEL_DOCS_FALSE='#'
   20220 else
   20221   ENABLE_DEVEL_DOCS_TRUE='#'
   20222   ENABLE_DEVEL_DOCS_FALSE=
   20223 fi
   20224 
   20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   20226 printf %s "checking whether to build developer documentation... " >&6; }
   20227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   20228 printf "%s\n" "$build_devel_docs" >&6; }
   20229 
   20230 
   20231 
   20232 
   20233 
   20234 
   20235 # Check whether --with-doxygen was given.
   20236 if test ${with_doxygen+y}
   20237 then :
   20238   withval=$with_doxygen; use_doxygen=$withval
   20239 else $as_nop
   20240   use_doxygen=auto
   20241 fi
   20242 
   20243 
   20244 
   20245 if test "x$use_doxygen" = x"auto"; then
   20246    # Extract the first word of "doxygen", so it can be a program name with args.
   20247 set dummy doxygen; ac_word=$2
   20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20249 printf %s "checking for $ac_word... " >&6; }
   20250 if test ${ac_cv_path_DOXYGEN+y}
   20251 then :
   20252   printf %s "(cached) " >&6
   20253 else $as_nop
   20254   case $DOXYGEN in
   20255   [\\/]* | ?:[\\/]*)
   20256   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   20257   ;;
   20258   *)
   20259   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20260 for as_dir in $PATH
   20261 do
   20262   IFS=$as_save_IFS
   20263   case $as_dir in #(((
   20264     '') as_dir=./ ;;
   20265     */) ;;
   20266     *) as_dir=$as_dir/ ;;
   20267   esac
   20268     for ac_exec_ext in '' $ac_executable_extensions; do
   20269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20270     ac_cv_path_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
   20271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20272     break 2
   20273   fi
   20274 done
   20275   done
   20276 IFS=$as_save_IFS
   20277 
   20278   ;;
   20279 esac
   20280 fi
   20281 DOXYGEN=$ac_cv_path_DOXYGEN
   20282 if test -n "$DOXYGEN"; then
   20283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   20284 printf "%s\n" "$DOXYGEN" >&6; }
   20285 else
   20286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20287 printf "%s\n" "no" >&6; }
   20288 fi
   20289 
   20290 
   20291    if test "x$DOXYGEN" = "x"; then
   20292         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
   20293 printf "%s\n" "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
   20294 	have_doxygen=no
   20295    else
   20296         have_doxygen=yes
   20297    fi
   20298 elif test "x$use_doxygen" = x"yes" ; then
   20299    # Extract the first word of "doxygen", so it can be a program name with args.
   20300 set dummy doxygen; ac_word=$2
   20301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20302 printf %s "checking for $ac_word... " >&6; }
   20303 if test ${ac_cv_path_DOXYGEN+y}
   20304 then :
   20305   printf %s "(cached) " >&6
   20306 else $as_nop
   20307   case $DOXYGEN in
   20308   [\\/]* | ?:[\\/]*)
   20309   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   20310   ;;
   20311   *)
   20312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20313 for as_dir in $PATH
   20314 do
   20315   IFS=$as_save_IFS
   20316   case $as_dir in #(((
   20317     '') as_dir=./ ;;
   20318     */) ;;
   20319     *) as_dir=$as_dir/ ;;
   20320   esac
   20321     for ac_exec_ext in '' $ac_executable_extensions; do
   20322   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20323     ac_cv_path_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
   20324     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20325     break 2
   20326   fi
   20327 done
   20328   done
   20329 IFS=$as_save_IFS
   20330 
   20331   ;;
   20332 esac
   20333 fi
   20334 DOXYGEN=$ac_cv_path_DOXYGEN
   20335 if test -n "$DOXYGEN"; then
   20336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   20337 printf "%s\n" "$DOXYGEN" >&6; }
   20338 else
   20339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20340 printf "%s\n" "no" >&6; }
   20341 fi
   20342 
   20343 
   20344    if test "x$DOXYGEN" = "x"; then
   20345         as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
   20346    fi
   20347    have_doxygen=yes
   20348 elif test "x$use_doxygen" = x"no" ; then
   20349    if test "x$DOXYGEN" != "x"; then
   20350       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
   20351 printf "%s\n" "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
   20352    fi
   20353    have_doxygen=no
   20354 else
   20355    as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
   20356 fi
   20357 
   20358 
   20359 HAVE_DOT=no
   20360 if test "x$have_doxygen" = "xyes"; then
   20361   # Extract the first word of "dot", so it can be a program name with args.
   20362 set dummy dot; ac_word=$2
   20363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20364 printf %s "checking for $ac_word... " >&6; }
   20365 if test ${ac_cv_path_DOT+y}
   20366 then :
   20367   printf %s "(cached) " >&6
   20368 else $as_nop
   20369   case $DOT in
   20370   [\\/]* | ?:[\\/]*)
   20371   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
   20372   ;;
   20373   *)
   20374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20375 for as_dir in $PATH
   20376 do
   20377   IFS=$as_save_IFS
   20378   case $as_dir in #(((
   20379     '') as_dir=./ ;;
   20380     */) ;;
   20381     *) as_dir=$as_dir/ ;;
   20382   esac
   20383     for ac_exec_ext in '' $ac_executable_extensions; do
   20384   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20385     ac_cv_path_DOT="$as_dir$ac_word$ac_exec_ext"
   20386     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20387     break 2
   20388   fi
   20389 done
   20390   done
   20391 IFS=$as_save_IFS
   20392 
   20393   ;;
   20394 esac
   20395 fi
   20396 DOT=$ac_cv_path_DOT
   20397 if test -n "$DOT"; then
   20398   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
   20399 printf "%s\n" "$DOT" >&6; }
   20400 else
   20401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20402 printf "%s\n" "no" >&6; }
   20403 fi
   20404 
   20405 
   20406     if test "x$DOT" != "x"; then
   20407       HAVE_DOT=yes
   20408     fi
   20409 fi
   20410 
   20411 
   20412  if test "$HAVE_DOT" = "yes"; then
   20413   HAVE_DOT_TRUE=
   20414   HAVE_DOT_FALSE='#'
   20415 else
   20416   HAVE_DOT_TRUE='#'
   20417   HAVE_DOT_FALSE=
   20418 fi
   20419 
   20420  if test "$have_doxygen" = yes; then
   20421   HAVE_DOXYGEN_TRUE=
   20422   HAVE_DOXYGEN_FALSE='#'
   20423 else
   20424   HAVE_DOXYGEN_TRUE='#'
   20425   HAVE_DOXYGEN_FALSE=
   20426 fi
   20427 
   20428 
   20429 
   20430 # The dot drawing tool is checked by XORG_WITH_DOXYGEN, needed for xcb manual
   20431 if test x"$HAVE_DOT" = xno; then
   20432     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - doxygen targets will be skipped" >&5
   20433 printf "%s\n" "$as_me: WARNING: dot not found - doxygen targets will be skipped" >&2;}
   20434 fi
   20435 
   20436 
   20437 pkg_failed=no
   20438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
   20439 printf %s "checking for CHECK... " >&6; }
   20440 
   20441 if test -n "$CHECK_CFLAGS"; then
   20442     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
   20443  elif test -n "$PKG_CONFIG"; then
   20444     if test -n "$PKG_CONFIG" && \
   20445     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.6\""; } >&5
   20446   ($PKG_CONFIG --exists --print-errors "check >= 0.9.6") 2>&5
   20447   ac_status=$?
   20448   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20449   test $ac_status = 0; }; then
   20450   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.6" 2>/dev/null`
   20451 		      test "x$?" != "x0" && pkg_failed=yes
   20452 else
   20453   pkg_failed=yes
   20454 fi
   20455  else
   20456     pkg_failed=untried
   20457 fi
   20458 if test -n "$CHECK_LIBS"; then
   20459     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
   20460  elif test -n "$PKG_CONFIG"; then
   20461     if test -n "$PKG_CONFIG" && \
   20462     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.6\""; } >&5
   20463   ($PKG_CONFIG --exists --print-errors "check >= 0.9.6") 2>&5
   20464   ac_status=$?
   20465   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20466   test $ac_status = 0; }; then
   20467   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.6" 2>/dev/null`
   20468 		      test "x$?" != "x0" && pkg_failed=yes
   20469 else
   20470   pkg_failed=yes
   20471 fi
   20472  else
   20473     pkg_failed=untried
   20474 fi
   20475 
   20476 
   20477 
   20478 if test $pkg_failed = yes; then
   20479    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20480 printf "%s\n" "no" >&6; }
   20481 
   20482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20483         _pkg_short_errors_supported=yes
   20484 else
   20485         _pkg_short_errors_supported=no
   20486 fi
   20487         if test $_pkg_short_errors_supported = yes; then
   20488 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.6" 2>&1`
   20489         else
   20490 	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.6" 2>&1`
   20491         fi
   20492 	# Put the nasty error message in config.log where it belongs
   20493 	echo "$CHECK_PKG_ERRORS" >&5
   20494 
   20495 	HAVE_CHECK=no
   20496 elif test $pkg_failed = untried; then
   20497      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20498 printf "%s\n" "no" >&6; }
   20499 	HAVE_CHECK=no
   20500 else
   20501 	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
   20502 	CHECK_LIBS=$pkg_cv_CHECK_LIBS
   20503         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20504 printf "%s\n" "yes" >&6; }
   20505 	HAVE_CHECK=yes
   20506 fi
   20507  if test x$HAVE_CHECK = xyes; then
   20508   HAVE_CHECK_TRUE=
   20509   HAVE_CHECK_FALSE='#'
   20510 else
   20511   HAVE_CHECK_TRUE='#'
   20512   HAVE_CHECK_FALSE=
   20513 fi
   20514 
   20515 
   20516 XSLTPROC=no
   20517 HTML_CHECK_RESULT=no
   20518 if test x"$HAVE_CHECK" = xyes; then
   20519         # Extract the first word of "xsltproc", so it can be a program name with args.
   20520 set dummy xsltproc; ac_word=$2
   20521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20522 printf %s "checking for $ac_word... " >&6; }
   20523 if test ${ac_cv_path_XSLTPROC+y}
   20524 then :
   20525   printf %s "(cached) " >&6
   20526 else $as_nop
   20527   case $XSLTPROC in
   20528   [\\/]* | ?:[\\/]*)
   20529   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20530   ;;
   20531   *)
   20532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20533 for as_dir in $PATH
   20534 do
   20535   IFS=$as_save_IFS
   20536   case $as_dir in #(((
   20537     '') as_dir=./ ;;
   20538     */) ;;
   20539     *) as_dir=$as_dir/ ;;
   20540   esac
   20541     for ac_exec_ext in '' $ac_executable_extensions; do
   20542   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20543     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20544     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20545     break 2
   20546   fi
   20547 done
   20548   done
   20549 IFS=$as_save_IFS
   20550 
   20551   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
   20552   ;;
   20553 esac
   20554 fi
   20555 XSLTPROC=$ac_cv_path_XSLTPROC
   20556 if test -n "$XSLTPROC"; then
   20557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20558 printf "%s\n" "$XSLTPROC" >&6; }
   20559 else
   20560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20561 printf "%s\n" "no" >&6; }
   20562 fi
   20563 
   20564 
   20565         if test x"$XSLTPROC" != xno; then
   20566                 HTML_CHECK_RESULT=yes
   20567         fi
   20568 fi
   20569 
   20570 
   20571 # Checks for pkg-config packages
   20572 
   20573 pkg_failed=no
   20574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCBPROTO" >&5
   20575 printf %s "checking for XCBPROTO... " >&6; }
   20576 
   20577 if test -n "$XCBPROTO_CFLAGS"; then
   20578     pkg_cv_XCBPROTO_CFLAGS="$XCBPROTO_CFLAGS"
   20579  elif test -n "$PKG_CONFIG"; then
   20580     if test -n "$PKG_CONFIG" && \
   20581     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.14\""; } >&5
   20582   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.14") 2>&5
   20583   ac_status=$?
   20584   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20585   test $ac_status = 0; }; then
   20586   pkg_cv_XCBPROTO_CFLAGS=`$PKG_CONFIG --cflags "xcb-proto >= 1.14" 2>/dev/null`
   20587 		      test "x$?" != "x0" && pkg_failed=yes
   20588 else
   20589   pkg_failed=yes
   20590 fi
   20591  else
   20592     pkg_failed=untried
   20593 fi
   20594 if test -n "$XCBPROTO_LIBS"; then
   20595     pkg_cv_XCBPROTO_LIBS="$XCBPROTO_LIBS"
   20596  elif test -n "$PKG_CONFIG"; then
   20597     if test -n "$PKG_CONFIG" && \
   20598     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-proto >= 1.14\""; } >&5
   20599   ($PKG_CONFIG --exists --print-errors "xcb-proto >= 1.14") 2>&5
   20600   ac_status=$?
   20601   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20602   test $ac_status = 0; }; then
   20603   pkg_cv_XCBPROTO_LIBS=`$PKG_CONFIG --libs "xcb-proto >= 1.14" 2>/dev/null`
   20604 		      test "x$?" != "x0" && pkg_failed=yes
   20605 else
   20606   pkg_failed=yes
   20607 fi
   20608  else
   20609     pkg_failed=untried
   20610 fi
   20611 
   20612 
   20613 
   20614 if test $pkg_failed = yes; then
   20615    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20616 printf "%s\n" "no" >&6; }
   20617 
   20618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20619         _pkg_short_errors_supported=yes
   20620 else
   20621         _pkg_short_errors_supported=no
   20622 fi
   20623         if test $_pkg_short_errors_supported = yes; then
   20624 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-proto >= 1.14" 2>&1`
   20625         else
   20626 	        XCBPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-proto >= 1.14" 2>&1`
   20627         fi
   20628 	# Put the nasty error message in config.log where it belongs
   20629 	echo "$XCBPROTO_PKG_ERRORS" >&5
   20630 
   20631 	as_fn_error $? "Package requirements (xcb-proto >= 1.14) were not met:
   20632 
   20633 $XCBPROTO_PKG_ERRORS
   20634 
   20635 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20636 installed software in a non-standard prefix.
   20637 
   20638 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   20639 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   20640 See the pkg-config man page for more details." "$LINENO" 5
   20641 elif test $pkg_failed = untried; then
   20642      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20643 printf "%s\n" "no" >&6; }
   20644 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20645 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20646 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20647 is in your PATH or set the PKG_CONFIG environment variable to the full
   20648 path to pkg-config.
   20649 
   20650 Alternatively, you may set the environment variables XCBPROTO_CFLAGS
   20651 and XCBPROTO_LIBS to avoid the need to call pkg-config.
   20652 See the pkg-config man page for more details.
   20653 
   20654 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20655 See \`config.log' for more details" "$LINENO" 5; }
   20656 else
   20657 	XCBPROTO_CFLAGS=$pkg_cv_XCBPROTO_CFLAGS
   20658 	XCBPROTO_LIBS=$pkg_cv_XCBPROTO_LIBS
   20659         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20660 printf "%s\n" "yes" >&6; }
   20661 
   20662 fi
   20663 NEEDED="xau >= 0.99.2"
   20664 case $host_os in
   20665 linux*) ;;
   20666      *) NEEDED="$NEEDED pthread-stubs" ;;
   20667 esac
   20668 
   20669 pkg_failed=no
   20670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NEEDED" >&5
   20671 printf %s "checking for NEEDED... " >&6; }
   20672 
   20673 if test -n "$NEEDED_CFLAGS"; then
   20674     pkg_cv_NEEDED_CFLAGS="$NEEDED_CFLAGS"
   20675  elif test -n "$PKG_CONFIG"; then
   20676     if test -n "$PKG_CONFIG" && \
   20677     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   20678   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   20679   ac_status=$?
   20680   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20681   test $ac_status = 0; }; then
   20682   pkg_cv_NEEDED_CFLAGS=`$PKG_CONFIG --cflags "$NEEDED" 2>/dev/null`
   20683 		      test "x$?" != "x0" && pkg_failed=yes
   20684 else
   20685   pkg_failed=yes
   20686 fi
   20687  else
   20688     pkg_failed=untried
   20689 fi
   20690 if test -n "$NEEDED_LIBS"; then
   20691     pkg_cv_NEEDED_LIBS="$NEEDED_LIBS"
   20692  elif test -n "$PKG_CONFIG"; then
   20693     if test -n "$PKG_CONFIG" && \
   20694     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$NEEDED\""; } >&5
   20695   ($PKG_CONFIG --exists --print-errors "$NEEDED") 2>&5
   20696   ac_status=$?
   20697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20698   test $ac_status = 0; }; then
   20699   pkg_cv_NEEDED_LIBS=`$PKG_CONFIG --libs "$NEEDED" 2>/dev/null`
   20700 		      test "x$?" != "x0" && pkg_failed=yes
   20701 else
   20702   pkg_failed=yes
   20703 fi
   20704  else
   20705     pkg_failed=untried
   20706 fi
   20707 
   20708 
   20709 
   20710 if test $pkg_failed = yes; then
   20711    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20712 printf "%s\n" "no" >&6; }
   20713 
   20714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20715         _pkg_short_errors_supported=yes
   20716 else
   20717         _pkg_short_errors_supported=no
   20718 fi
   20719         if test $_pkg_short_errors_supported = yes; then
   20720 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$NEEDED" 2>&1`
   20721         else
   20722 	        NEEDED_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$NEEDED" 2>&1`
   20723         fi
   20724 	# Put the nasty error message in config.log where it belongs
   20725 	echo "$NEEDED_PKG_ERRORS" >&5
   20726 
   20727 	as_fn_error $? "Package requirements ($NEEDED) were not met:
   20728 
   20729 $NEEDED_PKG_ERRORS
   20730 
   20731 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20732 installed software in a non-standard prefix.
   20733 
   20734 Alternatively, you may set the environment variables NEEDED_CFLAGS
   20735 and NEEDED_LIBS to avoid the need to call pkg-config.
   20736 See the pkg-config man page for more details." "$LINENO" 5
   20737 elif test $pkg_failed = untried; then
   20738      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20739 printf "%s\n" "no" >&6; }
   20740 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20741 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20742 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20743 is in your PATH or set the PKG_CONFIG environment variable to the full
   20744 path to pkg-config.
   20745 
   20746 Alternatively, you may set the environment variables NEEDED_CFLAGS
   20747 and NEEDED_LIBS to avoid the need to call pkg-config.
   20748 See the pkg-config man page for more details.
   20749 
   20750 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20751 See \`config.log' for more details" "$LINENO" 5; }
   20752 else
   20753 	NEEDED_CFLAGS=$pkg_cv_NEEDED_CFLAGS
   20754 	NEEDED_LIBS=$pkg_cv_NEEDED_LIBS
   20755         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20756 printf "%s\n" "yes" >&6; }
   20757 
   20758 fi
   20759 
   20760 have_xdmcp="no"
   20761 
   20762 pkg_failed=no
   20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   20764 printf %s "checking for XDMCP... " >&6; }
   20765 
   20766 if test -n "$XDMCP_CFLAGS"; then
   20767     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   20768  elif test -n "$PKG_CONFIG"; then
   20769     if test -n "$PKG_CONFIG" && \
   20770     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   20771   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   20772   ac_status=$?
   20773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20774   test $ac_status = 0; }; then
   20775   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   20776 		      test "x$?" != "x0" && pkg_failed=yes
   20777 else
   20778   pkg_failed=yes
   20779 fi
   20780  else
   20781     pkg_failed=untried
   20782 fi
   20783 if test -n "$XDMCP_LIBS"; then
   20784     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   20785  elif test -n "$PKG_CONFIG"; then
   20786     if test -n "$PKG_CONFIG" && \
   20787     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   20788   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   20789   ac_status=$?
   20790   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20791   test $ac_status = 0; }; then
   20792   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   20793 		      test "x$?" != "x0" && pkg_failed=yes
   20794 else
   20795   pkg_failed=yes
   20796 fi
   20797  else
   20798     pkg_failed=untried
   20799 fi
   20800 
   20801 
   20802 
   20803 if test $pkg_failed = yes; then
   20804    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20805 printf "%s\n" "no" >&6; }
   20806 
   20807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20808         _pkg_short_errors_supported=yes
   20809 else
   20810         _pkg_short_errors_supported=no
   20811 fi
   20812         if test $_pkg_short_errors_supported = yes; then
   20813 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   20814         else
   20815 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   20816         fi
   20817 	# Put the nasty error message in config.log where it belongs
   20818 	echo "$XDMCP_PKG_ERRORS" >&5
   20819 
   20820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20821 printf "%s\n" "no" >&6; }
   20822 elif test $pkg_failed = untried; then
   20823      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20824 printf "%s\n" "no" >&6; }
   20825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20826 printf "%s\n" "no" >&6; }
   20827 else
   20828 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   20829 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   20830         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20831 printf "%s\n" "yes" >&6; }
   20832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   20833 printf %s "checking for XdmcpWrap in -lXdmcp... " >&6; }
   20834 if test ${ac_cv_lib_Xdmcp_XdmcpWrap+y}
   20835 then :
   20836   printf %s "(cached) " >&6
   20837 else $as_nop
   20838   ac_check_lib_save_LIBS=$LIBS
   20839 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20841 /* end confdefs.h.  */
   20842 
   20843 /* Override any GCC internal prototype to avoid an error.
   20844    Use char because int might match the return type of a GCC
   20845    builtin and then its argument prototype would still apply.  */
   20846 char XdmcpWrap ();
   20847 int
   20848 main (void)
   20849 {
   20850 return XdmcpWrap ();
   20851   ;
   20852   return 0;
   20853 }
   20854 _ACEOF
   20855 if ac_fn_c_try_link "$LINENO"
   20856 then :
   20857   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   20858 else $as_nop
   20859   ac_cv_lib_Xdmcp_XdmcpWrap=no
   20860 fi
   20861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20862     conftest$ac_exeext conftest.$ac_ext
   20863 LIBS=$ac_check_lib_save_LIBS
   20864 fi
   20865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   20866 printf "%s\n" "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   20867 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes
   20868 then :
   20869 
   20870 
   20871 printf "%s\n" "#define HASXDMAUTH 1" >>confdefs.h
   20872 
   20873                 NEEDED="$NEEDED xdmcp"
   20874                 have_xdmcp="yes"
   20875 
   20876 else $as_nop
   20877 
   20878                 XDMCP_CFLAGS=
   20879                 XDMCP_LIBS=
   20880 
   20881 fi
   20882 
   20883 fi
   20884 
   20885 
   20886 
   20887 # Find the xcb-proto protocol descriptions
   20888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBINCLUDEDIR" >&5
   20889 printf %s "checking XCBPROTO_XCBINCLUDEDIR... " >&6; }
   20890 XCBPROTO_XCBINCLUDEDIR=`$PKG_CONFIG --variable=xcbincludedir xcb-proto`
   20891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBINCLUDEDIR" >&5
   20892 printf "%s\n" "$XCBPROTO_XCBINCLUDEDIR" >&6; }
   20893 
   20894 
   20895 # Find the xcb-proto version
   20896 XCBPROTO_VERSION=`$PKG_CONFIG --modversion xcb-proto`
   20897 
   20898 
   20899 # Find the xcbgen Python package
   20900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XCBPROTO_XCBPYTHONDIR" >&5
   20901 printf %s "checking XCBPROTO_XCBPYTHONDIR... " >&6; }
   20902 XCBPROTO_XCBPYTHONDIR=`$PKG_CONFIG --variable=pythondir xcb-proto`
   20903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XCBPROTO_XCBPYTHONDIR" >&5
   20904 printf "%s\n" "$XCBPROTO_XCBPYTHONDIR" >&6; }
   20905 
   20906 
   20907 # Autoupdate added the next two lines to ensure that your configure
   20908 # script's behavior did not change.  They are probably safe to remove.
   20909 
   20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   20911 printf %s "checking for egrep... " >&6; }
   20912 if test ${ac_cv_path_EGREP+y}
   20913 then :
   20914   printf %s "(cached) " >&6
   20915 else $as_nop
   20916   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   20917    then ac_cv_path_EGREP="$GREP -E"
   20918    else
   20919      if test -z "$EGREP"; then
   20920   ac_path_EGREP_found=false
   20921   # Loop through the user's path and test for each of PROGNAME-LIST
   20922   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20923 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   20924 do
   20925   IFS=$as_save_IFS
   20926   case $as_dir in #(((
   20927     '') as_dir=./ ;;
   20928     */) ;;
   20929     *) as_dir=$as_dir/ ;;
   20930   esac
   20931     for ac_prog in egrep
   20932    do
   20933     for ac_exec_ext in '' $ac_executable_extensions; do
   20934       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   20935       as_fn_executable_p "$ac_path_EGREP" || continue
   20936 # Check for GNU ac_path_EGREP and select it if it is found.
   20937   # Check for GNU $ac_path_EGREP
   20938 case `"$ac_path_EGREP" --version 2>&1` in
   20939 *GNU*)
   20940   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   20941 *)
   20942   ac_count=0
   20943   printf %s 0123456789 >"conftest.in"
   20944   while :
   20945   do
   20946     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20947     mv "conftest.tmp" "conftest.in"
   20948     cp "conftest.in" "conftest.nl"
   20949     printf "%s\n" 'EGREP' >> "conftest.nl"
   20950     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20951     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20952     as_fn_arith $ac_count + 1 && ac_count=$as_val
   20953     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   20954       # Best one so far, save it but keep looking for a better one
   20955       ac_cv_path_EGREP="$ac_path_EGREP"
   20956       ac_path_EGREP_max=$ac_count
   20957     fi
   20958     # 10*(2^10) chars as input seems more than enough
   20959     test $ac_count -gt 10 && break
   20960   done
   20961   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20962 esac
   20963 
   20964       $ac_path_EGREP_found && break 3
   20965     done
   20966   done
   20967   done
   20968 IFS=$as_save_IFS
   20969   if test -z "$ac_cv_path_EGREP"; then
   20970     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   20971   fi
   20972 else
   20973   ac_cv_path_EGREP=$EGREP
   20974 fi
   20975 
   20976    fi
   20977 fi
   20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   20979 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   20980  EGREP="$ac_cv_path_EGREP"
   20981 
   20982 
   20983 
   20984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
   20985 printf %s "checking for library containing getaddrinfo... " >&6; }
   20986 if test ${ac_cv_search_getaddrinfo+y}
   20987 then :
   20988   printf %s "(cached) " >&6
   20989 else $as_nop
   20990   ac_func_search_save_LIBS=$LIBS
   20991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20992 /* end confdefs.h.  */
   20993 
   20994 /* Override any GCC internal prototype to avoid an error.
   20995    Use char because int might match the return type of a GCC
   20996    builtin and then its argument prototype would still apply.  */
   20997 char getaddrinfo ();
   20998 int
   20999 main (void)
   21000 {
   21001 return getaddrinfo ();
   21002   ;
   21003   return 0;
   21004 }
   21005 _ACEOF
   21006 for ac_lib in '' socket
   21007 do
   21008   if test -z "$ac_lib"; then
   21009     ac_res="none required"
   21010   else
   21011     ac_res=-l$ac_lib
   21012     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21013   fi
   21014   if ac_fn_c_try_link "$LINENO"
   21015 then :
   21016   ac_cv_search_getaddrinfo=$ac_res
   21017 fi
   21018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21019     conftest$ac_exeext
   21020   if test ${ac_cv_search_getaddrinfo+y}
   21021 then :
   21022   break
   21023 fi
   21024 done
   21025 if test ${ac_cv_search_getaddrinfo+y}
   21026 then :
   21027 
   21028 else $as_nop
   21029   ac_cv_search_getaddrinfo=no
   21030 fi
   21031 rm conftest.$ac_ext
   21032 LIBS=$ac_func_search_save_LIBS
   21033 fi
   21034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
   21035 printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; }
   21036 ac_res=$ac_cv_search_getaddrinfo
   21037 if test "$ac_res" != no
   21038 then :
   21039   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21040 
   21041 fi
   21042 
   21043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
   21044 printf %s "checking for library containing connect... " >&6; }
   21045 if test ${ac_cv_search_connect+y}
   21046 then :
   21047   printf %s "(cached) " >&6
   21048 else $as_nop
   21049   ac_func_search_save_LIBS=$LIBS
   21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21051 /* end confdefs.h.  */
   21052 
   21053 /* Override any GCC internal prototype to avoid an error.
   21054    Use char because int might match the return type of a GCC
   21055    builtin and then its argument prototype would still apply.  */
   21056 char connect ();
   21057 int
   21058 main (void)
   21059 {
   21060 return connect ();
   21061   ;
   21062   return 0;
   21063 }
   21064 _ACEOF
   21065 for ac_lib in '' socket
   21066 do
   21067   if test -z "$ac_lib"; then
   21068     ac_res="none required"
   21069   else
   21070     ac_res=-l$ac_lib
   21071     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21072   fi
   21073   if ac_fn_c_try_link "$LINENO"
   21074 then :
   21075   ac_cv_search_connect=$ac_res
   21076 fi
   21077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21078     conftest$ac_exeext
   21079   if test ${ac_cv_search_connect+y}
   21080 then :
   21081   break
   21082 fi
   21083 done
   21084 if test ${ac_cv_search_connect+y}
   21085 then :
   21086 
   21087 else $as_nop
   21088   ac_cv_search_connect=no
   21089 fi
   21090 rm conftest.$ac_ext
   21091 LIBS=$ac_func_search_save_LIBS
   21092 fi
   21093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
   21094 printf "%s\n" "$ac_cv_search_connect" >&6; }
   21095 ac_res=$ac_cv_search_connect
   21096 if test "$ac_res" != no
   21097 then :
   21098   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21099 
   21100 fi
   21101 
   21102 
   21103 # Find support for sending a message from a socket
   21104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
   21105 printf %s "checking for library containing sendmsg... " >&6; }
   21106 if test ${ac_cv_search_sendmsg+y}
   21107 then :
   21108   printf %s "(cached) " >&6
   21109 else $as_nop
   21110   ac_func_search_save_LIBS=$LIBS
   21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21112 /* end confdefs.h.  */
   21113 
   21114 /* Override any GCC internal prototype to avoid an error.
   21115    Use char because int might match the return type of a GCC
   21116    builtin and then its argument prototype would still apply.  */
   21117 char sendmsg ();
   21118 int
   21119 main (void)
   21120 {
   21121 return sendmsg ();
   21122   ;
   21123   return 0;
   21124 }
   21125 _ACEOF
   21126 for ac_lib in '' socket
   21127 do
   21128   if test -z "$ac_lib"; then
   21129     ac_res="none required"
   21130   else
   21131     ac_res=-l$ac_lib
   21132     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21133   fi
   21134   if ac_fn_c_try_link "$LINENO"
   21135 then :
   21136   ac_cv_search_sendmsg=$ac_res
   21137 fi
   21138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21139     conftest$ac_exeext
   21140   if test ${ac_cv_search_sendmsg+y}
   21141 then :
   21142   break
   21143 fi
   21144 done
   21145 if test ${ac_cv_search_sendmsg+y}
   21146 then :
   21147 
   21148 else $as_nop
   21149   ac_cv_search_sendmsg=no
   21150 fi
   21151 rm conftest.$ac_ext
   21152 LIBS=$ac_func_search_save_LIBS
   21153 fi
   21154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sendmsg" >&5
   21155 printf "%s\n" "$ac_cv_search_sendmsg" >&6; }
   21156 ac_res=$ac_cv_search_sendmsg
   21157 if test "$ac_res" != no
   21158 then :
   21159   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21160   have_sendmsg="yes"
   21161 else $as_nop
   21162   have_sendmsg="no"
   21163 fi
   21164 
   21165 
   21166 # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   21167 # _XOPEN_SOURCE to get it (such as on Solaris)
   21168 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21169 $ac_includes_default
   21170 #include <sys/socket.h>
   21171 
   21172 "
   21173 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21174 then :
   21175 
   21176 fi
   21177 
   21178 # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   21179 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21180     unset ac_cv_member_struct_msghdr_msg_control
   21181     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   21182 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   21183     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21184 #define _XOPEN_SOURCE 600
   21185 $ac_includes_default
   21186 #include <sys/socket.h>
   21187 
   21188 "
   21189 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21190 then :
   21191 
   21192 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   21193 
   21194 
   21195 fi
   21196 
   21197 fi
   21198 # If that didn't work, fall back to XPG5/UNIX98 with C89
   21199 if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21200     unset ac_cv_member_struct_msghdr_msg_control
   21201     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   21202 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   21203     ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21204 #define _XOPEN_SOURCE 500
   21205 $ac_includes_default
   21206 #include <sys/socket.h>
   21207 
   21208 "
   21209 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21210 then :
   21211 
   21212 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   21213 
   21214 
   21215 else $as_nop
   21216   have_sendmsg="no"
   21217 fi
   21218 
   21219 fi
   21220 
   21221 case x$have_sendmsg in
   21222 xyes)
   21223 
   21224 printf "%s\n" "#define HAVE_SENDMSG 1" >>confdefs.h
   21225 
   21226         ;;
   21227 esac
   21228 
   21229 have_win32="no"
   21230 lt_enable_auto_import=""
   21231 case $host_os in
   21232 mingw*)
   21233         have_win32="yes"
   21234         lt_enable_auto_import="-Wl,--enable-auto-import"
   21235         ;;
   21236 linux*)
   21237 
   21238 printf "%s\n" "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
   21239 
   21240         ;;
   21241 esac
   21242 
   21243 
   21244  if test "x${have_win32}" = "xyes"; then
   21245   XCB_HAVE_WIN32_TRUE=
   21246   XCB_HAVE_WIN32_FALSE='#'
   21247 else
   21248   XCB_HAVE_WIN32_TRUE='#'
   21249   XCB_HAVE_WIN32_FALSE=
   21250 fi
   21251 
   21252 
   21253 
   21254 # Check whether --with-queue-size was given.
   21255 if test ${with_queue_size+y}
   21256 then :
   21257   withval=$with_queue_size; xcb_queue_buffer_size="$withval"
   21258 else $as_nop
   21259   xcb_queue_buffer_size=16384
   21260 fi
   21261 
   21262 
   21263 printf "%s\n" "#define XCB_QUEUE_BUFFER_SIZE $xcb_queue_buffer_size" >>confdefs.h
   21264 
   21265 
   21266 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" " #include <sys/types.h>
   21267                   #include <sys/un.h>
   21268 
   21269 "
   21270 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
   21271 then :
   21272 
   21273 printf "%s\n" "#define HAVE_SOCKADDR_SUN_LEN 1" >>confdefs.h
   21274 
   21275 fi
   21276 
   21277 
   21278 ac_fn_c_check_header_compile "$LINENO" "tsol/label.h" "ac_cv_header_tsol_label_h" "$ac_includes_default"
   21279 if test "x$ac_cv_header_tsol_label_h" = xyes
   21280 then :
   21281   printf "%s\n" "#define HAVE_TSOL_LABEL_H 1" >>confdefs.h
   21282 
   21283 fi
   21284 
   21285 ac_fn_c_check_func "$LINENO" "is_system_labeled" "ac_cv_func_is_system_labeled"
   21286 if test "x$ac_cv_func_is_system_labeled" = xyes
   21287 then :
   21288   printf "%s\n" "#define HAVE_IS_SYSTEM_LABELED 1" >>confdefs.h
   21289 
   21290 fi
   21291 
   21292 
   21293 ac_fn_check_decl "$LINENO" "IOV_MAX" "ac_cv_have_decl_IOV_MAX" "#include <limits.h>
   21294 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   21295 if test "x$ac_cv_have_decl_IOV_MAX" = xyes
   21296 then :
   21297 
   21298 else $as_nop
   21299   ac_fn_check_decl "$LINENO" "UIO_MAXIOV" "ac_cv_have_decl_UIO_MAXIOV" "#include <sys/uio.h>
   21300 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   21301 if test "x$ac_cv_have_decl_UIO_MAXIOV" = xyes
   21302 then :
   21303   printf "%s\n" "#define IOV_MAX UIO_MAXIOV" >>confdefs.h
   21304 
   21305 else $as_nop
   21306 
   21307 printf "%s\n" "#define IOV_MAX 16" >>confdefs.h
   21308 
   21309 fi
   21310 fi
   21311 
   21312 xcbincludedir='${includedir}/xcb'
   21313 
   21314 
   21315 
   21316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports symbol visibility" >&5
   21317 printf %s "checking whether ${CC} supports symbol visibility... " >&6; }
   21318 
   21319 save_CFLAGS=${CFLAGS}
   21320 CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
   21321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21322 /* end confdefs.h.  */
   21323 
   21324 #pragma GCC visibility push(hidden)
   21325 extern void f(int);
   21326 #pragma GCC visibility pop
   21327 
   21328 int
   21329 main (void)
   21330 {
   21331 
   21332 
   21333   ;
   21334   return 0;
   21335 }
   21336 _ACEOF
   21337 if ac_fn_c_try_compile "$LINENO"
   21338 then :
   21339 
   21340 printf "%s\n" "#define GCC_HAS_VISIBILITY /**/" >>confdefs.h
   21341 
   21342     :
   21343     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21344 printf "%s\n" "yes" >&6; }
   21345 else $as_nop
   21346   :
   21347     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21348 printf "%s\n" "no" >&6; }
   21349 fi
   21350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21351 
   21352 CFLAGS=${save_CFLAGS}
   21353 
   21354 
   21355 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   21356 if test "x$ac_cv_func_getaddrinfo" = xyes
   21357 then :
   21358 
   21359 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   21360 
   21361 fi
   21362 
   21363 
   21364 case $host_os in
   21365         # darwin through Snow Leopard has poll() but can't be used to poll character devices.
   21366         darwin[789]*|darwin10*) ;;
   21367         darwin*)
   21368                 _ac_xorg_macosx_version_min=""
   21369                 if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   21370                         _ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   21371                 else
   21372                         _ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   21373                 fi
   21374                 case $_ac_xorg_macosx_version_min in
   21375                         10.[0123456]|10.[0123456].*) ;;
   21376                         *)
   21377                                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   21378 if test "x$ac_cv_func_poll" = xyes
   21379 then :
   21380 
   21381 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   21382 
   21383 fi
   21384 
   21385                         ;;
   21386                 esac
   21387                 unset _ac_xorg_macosx_version_min
   21388                 ;;
   21389         *)
   21390                 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   21391 if test "x$ac_cv_func_poll" = xyes
   21392 then :
   21393 
   21394 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   21395 
   21396 fi
   21397 
   21398         ;;
   21399 esac
   21400 
   21401 case $host_os in
   21402         *mingw*)
   21403                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   21404 printf %s "checking for main in -lws2_32... " >&6; }
   21405 if test ${ac_cv_lib_ws2_32_main+y}
   21406 then :
   21407   printf %s "(cached) " >&6
   21408 else $as_nop
   21409   ac_check_lib_save_LIBS=$LIBS
   21410 LIBS="-lws2_32  $LIBS"
   21411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21412 /* end confdefs.h.  */
   21413 
   21414 
   21415 int
   21416 main (void)
   21417 {
   21418 return main ();
   21419   ;
   21420   return 0;
   21421 }
   21422 _ACEOF
   21423 if ac_fn_c_try_link "$LINENO"
   21424 then :
   21425   ac_cv_lib_ws2_32_main=yes
   21426 else $as_nop
   21427   ac_cv_lib_ws2_32_main=no
   21428 fi
   21429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21430     conftest$ac_exeext conftest.$ac_ext
   21431 LIBS=$ac_check_lib_save_LIBS
   21432 fi
   21433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   21434 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   21435 if test "x$ac_cv_lib_ws2_32_main" = xyes
   21436 then :
   21437   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   21438 
   21439   LIBS="-lws2_32 $LIBS"
   21440 
   21441 fi
   21442 
   21443                 ;;
   21444         *)
   21445                 ;;
   21446 esac
   21447 
   21448 
   21449 # Check whether --enable-composite was given.
   21450 if test ${enable_composite+y}
   21451 then :
   21452   enableval=$enable_composite; BUILD_COMPOSITE=$enableval
   21453 else $as_nop
   21454   BUILD_COMPOSITE=yes
   21455 fi
   21456 
   21457 
   21458 
   21459  if test "x$BUILD_COMPOSITE" = "xyes"; then
   21460   BUILD_COMPOSITE_TRUE=
   21461   BUILD_COMPOSITE_FALSE='#'
   21462 else
   21463   BUILD_COMPOSITE_TRUE='#'
   21464   BUILD_COMPOSITE_FALSE=
   21465 fi
   21466 
   21467 
   21468 
   21469 # Check whether --enable-damage was given.
   21470 if test ${enable_damage+y}
   21471 then :
   21472   enableval=$enable_damage; BUILD_DAMAGE=$enableval
   21473 else $as_nop
   21474   BUILD_DAMAGE=yes
   21475 fi
   21476 
   21477 
   21478 
   21479  if test "x$BUILD_DAMAGE" = "xyes"; then
   21480   BUILD_DAMAGE_TRUE=
   21481   BUILD_DAMAGE_FALSE='#'
   21482 else
   21483   BUILD_DAMAGE_TRUE='#'
   21484   BUILD_DAMAGE_FALSE=
   21485 fi
   21486 
   21487 
   21488 
   21489 # Check whether --enable-dpms was given.
   21490 if test ${enable_dpms+y}
   21491 then :
   21492   enableval=$enable_dpms; BUILD_DPMS=$enableval
   21493 else $as_nop
   21494   BUILD_DPMS=yes
   21495 fi
   21496 
   21497 
   21498 
   21499  if test "x$BUILD_DPMS" = "xyes"; then
   21500   BUILD_DPMS_TRUE=
   21501   BUILD_DPMS_FALSE='#'
   21502 else
   21503   BUILD_DPMS_TRUE='#'
   21504   BUILD_DPMS_FALSE=
   21505 fi
   21506 
   21507 
   21508 
   21509 # Check whether --enable-dri2 was given.
   21510 if test ${enable_dri2+y}
   21511 then :
   21512   enableval=$enable_dri2; BUILD_DRI2=$enableval
   21513 else $as_nop
   21514   BUILD_DRI2=yes
   21515 fi
   21516 
   21517 
   21518 
   21519  if test "x$BUILD_DRI2" = "xyes"; then
   21520   BUILD_DRI2_TRUE=
   21521   BUILD_DRI2_FALSE='#'
   21522 else
   21523   BUILD_DRI2_TRUE='#'
   21524   BUILD_DRI2_FALSE=
   21525 fi
   21526 
   21527 
   21528 
   21529 # Check whether --enable-dri3 was given.
   21530 if test ${enable_dri3+y}
   21531 then :
   21532   enableval=$enable_dri3; BUILD_DRI3=$enableval
   21533 else $as_nop
   21534   BUILD_DRI3=auto
   21535 fi
   21536 
   21537 
   21538 # This extension has a default value of "auto" and depends on the value of $have_sendmsg
   21539 if test "x$BUILD_DRI3" = "xauto" ; then
   21540     BUILD_DRI3=$have_sendmsg
   21541 fi
   21542 if test "x$BUILD_DRI3" = "xyes" ; then
   21543     if test "x$have_sendmsg" = "xno" ; then
   21544       as_fn_error $? "Extension DRI3 requested, but dependencies are not met" "$LINENO" 5
   21545     fi
   21546 fi
   21547 
   21548  if test "x$BUILD_DRI3" = "xyes"; then
   21549   BUILD_DRI3_TRUE=
   21550   BUILD_DRI3_FALSE='#'
   21551 else
   21552   BUILD_DRI3_TRUE='#'
   21553   BUILD_DRI3_FALSE=
   21554 fi
   21555 
   21556 
   21557 
   21558 # Check whether --enable-ge was given.
   21559 if test ${enable_ge+y}
   21560 then :
   21561   enableval=$enable_ge; BUILD_GE=$enableval
   21562 else $as_nop
   21563   BUILD_GE=no
   21564 fi
   21565 
   21566 
   21567 
   21568  if test "x$BUILD_GE" = "xyes"; then
   21569   BUILD_GE_TRUE=
   21570   BUILD_GE_FALSE='#'
   21571 else
   21572   BUILD_GE_TRUE='#'
   21573   BUILD_GE_FALSE=
   21574 fi
   21575 
   21576 
   21577 
   21578 # Check whether --enable-glx was given.
   21579 if test ${enable_glx+y}
   21580 then :
   21581   enableval=$enable_glx; BUILD_GLX=$enableval
   21582 else $as_nop
   21583   BUILD_GLX=yes
   21584 fi
   21585 
   21586 
   21587 
   21588  if test "x$BUILD_GLX" = "xyes"; then
   21589   BUILD_GLX_TRUE=
   21590   BUILD_GLX_FALSE='#'
   21591 else
   21592   BUILD_GLX_TRUE='#'
   21593   BUILD_GLX_FALSE=
   21594 fi
   21595 
   21596 
   21597 
   21598 # Check whether --enable-present was given.
   21599 if test ${enable_present+y}
   21600 then :
   21601   enableval=$enable_present; BUILD_PRESENT=$enableval
   21602 else $as_nop
   21603   BUILD_PRESENT=yes
   21604 fi
   21605 
   21606 
   21607 
   21608  if test "x$BUILD_PRESENT" = "xyes"; then
   21609   BUILD_PRESENT_TRUE=
   21610   BUILD_PRESENT_FALSE='#'
   21611 else
   21612   BUILD_PRESENT_TRUE='#'
   21613   BUILD_PRESENT_FALSE=
   21614 fi
   21615 
   21616 
   21617 
   21618 # Check whether --enable-randr was given.
   21619 if test ${enable_randr+y}
   21620 then :
   21621   enableval=$enable_randr; BUILD_RANDR=$enableval
   21622 else $as_nop
   21623   BUILD_RANDR=yes
   21624 fi
   21625 
   21626 
   21627 
   21628  if test "x$BUILD_RANDR" = "xyes"; then
   21629   BUILD_RANDR_TRUE=
   21630   BUILD_RANDR_FALSE='#'
   21631 else
   21632   BUILD_RANDR_TRUE='#'
   21633   BUILD_RANDR_FALSE=
   21634 fi
   21635 
   21636 
   21637 
   21638 # Check whether --enable-record was given.
   21639 if test ${enable_record+y}
   21640 then :
   21641   enableval=$enable_record; BUILD_RECORD=$enableval
   21642 else $as_nop
   21643   BUILD_RECORD=yes
   21644 fi
   21645 
   21646 
   21647 
   21648  if test "x$BUILD_RECORD" = "xyes"; then
   21649   BUILD_RECORD_TRUE=
   21650   BUILD_RECORD_FALSE='#'
   21651 else
   21652   BUILD_RECORD_TRUE='#'
   21653   BUILD_RECORD_FALSE=
   21654 fi
   21655 
   21656 
   21657 
   21658 # Check whether --enable-render was given.
   21659 if test ${enable_render+y}
   21660 then :
   21661   enableval=$enable_render; BUILD_RENDER=$enableval
   21662 else $as_nop
   21663   BUILD_RENDER=yes
   21664 fi
   21665 
   21666 
   21667 
   21668  if test "x$BUILD_RENDER" = "xyes"; then
   21669   BUILD_RENDER_TRUE=
   21670   BUILD_RENDER_FALSE='#'
   21671 else
   21672   BUILD_RENDER_TRUE='#'
   21673   BUILD_RENDER_FALSE=
   21674 fi
   21675 
   21676 
   21677 
   21678 # Check whether --enable-resource was given.
   21679 if test ${enable_resource+y}
   21680 then :
   21681   enableval=$enable_resource; BUILD_RESOURCE=$enableval
   21682 else $as_nop
   21683   BUILD_RESOURCE=yes
   21684 fi
   21685 
   21686 
   21687 
   21688  if test "x$BUILD_RESOURCE" = "xyes"; then
   21689   BUILD_RESOURCE_TRUE=
   21690   BUILD_RESOURCE_FALSE='#'
   21691 else
   21692   BUILD_RESOURCE_TRUE='#'
   21693   BUILD_RESOURCE_FALSE=
   21694 fi
   21695 
   21696 
   21697 
   21698 # Check whether --enable-screensaver was given.
   21699 if test ${enable_screensaver+y}
   21700 then :
   21701   enableval=$enable_screensaver; BUILD_SCREENSAVER=$enableval
   21702 else $as_nop
   21703   BUILD_SCREENSAVER=yes
   21704 fi
   21705 
   21706 
   21707 
   21708  if test "x$BUILD_SCREENSAVER" = "xyes"; then
   21709   BUILD_SCREENSAVER_TRUE=
   21710   BUILD_SCREENSAVER_FALSE='#'
   21711 else
   21712   BUILD_SCREENSAVER_TRUE='#'
   21713   BUILD_SCREENSAVER_FALSE=
   21714 fi
   21715 
   21716 
   21717 
   21718 # Check whether --enable-shape was given.
   21719 if test ${enable_shape+y}
   21720 then :
   21721   enableval=$enable_shape; BUILD_SHAPE=$enableval
   21722 else $as_nop
   21723   BUILD_SHAPE=yes
   21724 fi
   21725 
   21726 
   21727 
   21728  if test "x$BUILD_SHAPE" = "xyes"; then
   21729   BUILD_SHAPE_TRUE=
   21730   BUILD_SHAPE_FALSE='#'
   21731 else
   21732   BUILD_SHAPE_TRUE='#'
   21733   BUILD_SHAPE_FALSE=
   21734 fi
   21735 
   21736 
   21737 
   21738 # Check whether --enable-shm was given.
   21739 if test ${enable_shm+y}
   21740 then :
   21741   enableval=$enable_shm; BUILD_SHM=$enableval
   21742 else $as_nop
   21743   BUILD_SHM=yes
   21744 fi
   21745 
   21746 
   21747 
   21748  if test "x$BUILD_SHM" = "xyes"; then
   21749   BUILD_SHM_TRUE=
   21750   BUILD_SHM_FALSE='#'
   21751 else
   21752   BUILD_SHM_TRUE='#'
   21753   BUILD_SHM_FALSE=
   21754 fi
   21755 
   21756 
   21757 
   21758 # Check whether --enable-sync was given.
   21759 if test ${enable_sync+y}
   21760 then :
   21761   enableval=$enable_sync; BUILD_SYNC=$enableval
   21762 else $as_nop
   21763   BUILD_SYNC=yes
   21764 fi
   21765 
   21766 
   21767 
   21768  if test "x$BUILD_SYNC" = "xyes"; then
   21769   BUILD_SYNC_TRUE=
   21770   BUILD_SYNC_FALSE='#'
   21771 else
   21772   BUILD_SYNC_TRUE='#'
   21773   BUILD_SYNC_FALSE=
   21774 fi
   21775 
   21776 
   21777 
   21778 # Check whether --enable-xevie was given.
   21779 if test ${enable_xevie+y}
   21780 then :
   21781   enableval=$enable_xevie; BUILD_XEVIE=$enableval
   21782 else $as_nop
   21783   BUILD_XEVIE=no
   21784 fi
   21785 
   21786 
   21787 
   21788  if test "x$BUILD_XEVIE" = "xyes"; then
   21789   BUILD_XEVIE_TRUE=
   21790   BUILD_XEVIE_FALSE='#'
   21791 else
   21792   BUILD_XEVIE_TRUE='#'
   21793   BUILD_XEVIE_FALSE=
   21794 fi
   21795 
   21796 
   21797 
   21798 # Check whether --enable-xfixes was given.
   21799 if test ${enable_xfixes+y}
   21800 then :
   21801   enableval=$enable_xfixes; BUILD_XFIXES=$enableval
   21802 else $as_nop
   21803   BUILD_XFIXES=yes
   21804 fi
   21805 
   21806 
   21807 
   21808  if test "x$BUILD_XFIXES" = "xyes"; then
   21809   BUILD_XFIXES_TRUE=
   21810   BUILD_XFIXES_FALSE='#'
   21811 else
   21812   BUILD_XFIXES_TRUE='#'
   21813   BUILD_XFIXES_FALSE=
   21814 fi
   21815 
   21816 
   21817 
   21818 # Check whether --enable-xfree86-dri was given.
   21819 if test ${enable_xfree86_dri+y}
   21820 then :
   21821   enableval=$enable_xfree86_dri; BUILD_XFREE86_DRI=$enableval
   21822 else $as_nop
   21823   BUILD_XFREE86_DRI=yes
   21824 fi
   21825 
   21826 
   21827 
   21828  if test "x$BUILD_XFREE86_DRI" = "xyes"; then
   21829   BUILD_XFREE86_DRI_TRUE=
   21830   BUILD_XFREE86_DRI_FALSE='#'
   21831 else
   21832   BUILD_XFREE86_DRI_TRUE='#'
   21833   BUILD_XFREE86_DRI_FALSE=
   21834 fi
   21835 
   21836 
   21837 
   21838 # Check whether --enable-xinerama was given.
   21839 if test ${enable_xinerama+y}
   21840 then :
   21841   enableval=$enable_xinerama; BUILD_XINERAMA=$enableval
   21842 else $as_nop
   21843   BUILD_XINERAMA=yes
   21844 fi
   21845 
   21846 
   21847 
   21848  if test "x$BUILD_XINERAMA" = "xyes"; then
   21849   BUILD_XINERAMA_TRUE=
   21850   BUILD_XINERAMA_FALSE='#'
   21851 else
   21852   BUILD_XINERAMA_TRUE='#'
   21853   BUILD_XINERAMA_FALSE=
   21854 fi
   21855 
   21856 
   21857 
   21858 # Check whether --enable-xinput was given.
   21859 if test ${enable_xinput+y}
   21860 then :
   21861   enableval=$enable_xinput; BUILD_XINPUT=$enableval
   21862 else $as_nop
   21863   BUILD_XINPUT=yes
   21864 fi
   21865 
   21866 
   21867 
   21868  if test "x$BUILD_XINPUT" = "xyes"; then
   21869   BUILD_XINPUT_TRUE=
   21870   BUILD_XINPUT_FALSE='#'
   21871 else
   21872   BUILD_XINPUT_TRUE='#'
   21873   BUILD_XINPUT_FALSE=
   21874 fi
   21875 
   21876 
   21877 
   21878 # Check whether --enable-xkb was given.
   21879 if test ${enable_xkb+y}
   21880 then :
   21881   enableval=$enable_xkb; BUILD_XKB=$enableval
   21882 else $as_nop
   21883   BUILD_XKB=yes
   21884 fi
   21885 
   21886 
   21887 
   21888  if test "x$BUILD_XKB" = "xyes"; then
   21889   BUILD_XKB_TRUE=
   21890   BUILD_XKB_FALSE='#'
   21891 else
   21892   BUILD_XKB_TRUE='#'
   21893   BUILD_XKB_FALSE=
   21894 fi
   21895 
   21896 
   21897 
   21898 # Check whether --enable-xprint was given.
   21899 if test ${enable_xprint+y}
   21900 then :
   21901   enableval=$enable_xprint; BUILD_XPRINT=$enableval
   21902 else $as_nop
   21903   BUILD_XPRINT=no
   21904 fi
   21905 
   21906 
   21907 
   21908  if test "x$BUILD_XPRINT" = "xyes"; then
   21909   BUILD_XPRINT_TRUE=
   21910   BUILD_XPRINT_FALSE='#'
   21911 else
   21912   BUILD_XPRINT_TRUE='#'
   21913   BUILD_XPRINT_FALSE=
   21914 fi
   21915 
   21916 
   21917 
   21918 # Check whether --enable-selinux was given.
   21919 if test ${enable_selinux+y}
   21920 then :
   21921   enableval=$enable_selinux; BUILD_SELINUX=$enableval
   21922 else $as_nop
   21923   BUILD_SELINUX=no
   21924 fi
   21925 
   21926 
   21927 
   21928  if test "x$BUILD_SELINUX" = "xyes"; then
   21929   BUILD_SELINUX_TRUE=
   21930   BUILD_SELINUX_FALSE='#'
   21931 else
   21932   BUILD_SELINUX_TRUE='#'
   21933   BUILD_SELINUX_FALSE=
   21934 fi
   21935 
   21936 
   21937 
   21938 # Check whether --enable-xtest was given.
   21939 if test ${enable_xtest+y}
   21940 then :
   21941   enableval=$enable_xtest; BUILD_XTEST=$enableval
   21942 else $as_nop
   21943   BUILD_XTEST=yes
   21944 fi
   21945 
   21946 
   21947 
   21948  if test "x$BUILD_XTEST" = "xyes"; then
   21949   BUILD_XTEST_TRUE=
   21950   BUILD_XTEST_FALSE='#'
   21951 else
   21952   BUILD_XTEST_TRUE='#'
   21953   BUILD_XTEST_FALSE=
   21954 fi
   21955 
   21956 
   21957 
   21958 # Check whether --enable-xv was given.
   21959 if test ${enable_xv+y}
   21960 then :
   21961   enableval=$enable_xv; BUILD_XV=$enableval
   21962 else $as_nop
   21963   BUILD_XV=yes
   21964 fi
   21965 
   21966 
   21967 
   21968  if test "x$BUILD_XV" = "xyes"; then
   21969   BUILD_XV_TRUE=
   21970   BUILD_XV_FALSE='#'
   21971 else
   21972   BUILD_XV_TRUE='#'
   21973   BUILD_XV_FALSE=
   21974 fi
   21975 
   21976 
   21977 
   21978 # Check whether --enable-xvmc was given.
   21979 if test ${enable_xvmc+y}
   21980 then :
   21981   enableval=$enable_xvmc; BUILD_XVMC=$enableval
   21982 else $as_nop
   21983   BUILD_XVMC=yes
   21984 fi
   21985 
   21986 
   21987 
   21988  if test "x$BUILD_XVMC" = "xyes"; then
   21989   BUILD_XVMC_TRUE=
   21990   BUILD_XVMC_FALSE='#'
   21991 else
   21992   BUILD_XVMC_TRUE='#'
   21993   BUILD_XVMC_FALSE=
   21994 fi
   21995 
   21996 
   21997 
   21998 
   21999 # Check whether --with-launchd was given.
   22000 if test ${with_launchd+y}
   22001 then :
   22002   withval=$with_launchd; LAUNCHD=$withval
   22003 else $as_nop
   22004   LAUNCHD=auto
   22005 fi
   22006 
   22007 if test "x$LAUNCHD" = xauto; then
   22008         unset LAUNCHD
   22009         # Extract the first word of "launchd", so it can be a program name with args.
   22010 set dummy launchd; ac_word=$2
   22011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22012 printf %s "checking for $ac_word... " >&6; }
   22013 if test ${ac_cv_prog_LAUNCHD+y}
   22014 then :
   22015   printf %s "(cached) " >&6
   22016 else $as_nop
   22017   if test -n "$LAUNCHD"; then
   22018   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   22019 else
   22020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22021 for as_dir in $PATH$PATH_SEPARATOR/sbin
   22022 do
   22023   IFS=$as_save_IFS
   22024   case $as_dir in #(((
   22025     '') as_dir=./ ;;
   22026     */) ;;
   22027     *) as_dir=$as_dir/ ;;
   22028   esac
   22029     for ac_exec_ext in '' $ac_executable_extensions; do
   22030   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22031     ac_cv_prog_LAUNCHD="yes"
   22032     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22033     break 2
   22034   fi
   22035 done
   22036   done
   22037 IFS=$as_save_IFS
   22038 
   22039   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   22040 fi
   22041 fi
   22042 LAUNCHD=$ac_cv_prog_LAUNCHD
   22043 if test -n "$LAUNCHD"; then
   22044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   22045 printf "%s\n" "$LAUNCHD" >&6; }
   22046 else
   22047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22048 printf "%s\n" "no" >&6; }
   22049 fi
   22050 
   22051 
   22052 fi
   22053 
   22054 if test "x$LAUNCHD" = xyes ; then
   22055 
   22056 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   22057 
   22058 fi
   22059 
   22060 
   22061 # Check whether --with-serverside-support was given.
   22062 if test ${with_serverside_support+y}
   22063 then :
   22064   withval=$with_serverside_support; XCB_SERVERSIDE_SUPPORT=$withval
   22065 else $as_nop
   22066   XCB_SERVERSIDE_SUPPORT=no
   22067 fi
   22068 
   22069 
   22070  if test "x$XCB_SERVERSIDE_SUPPORT" = "xyes"; then
   22071   XCB_SERVERSIDE_SUPPORT_TRUE=
   22072   XCB_SERVERSIDE_SUPPORT_FALSE='#'
   22073 else
   22074   XCB_SERVERSIDE_SUPPORT_TRUE='#'
   22075   XCB_SERVERSIDE_SUPPORT_FALSE=
   22076 fi
   22077 
   22078 
   22079 ac_config_files="$ac_config_files Makefile doc/Makefile man/Makefile src/Makefile tests/Makefile"
   22080 
   22081 
   22082 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"
   22083 
   22084 
   22085 ac_config_files="$ac_config_files doc/xcb.doxygen"
   22086 
   22087 
   22088 cat >confcache <<\_ACEOF
   22089 # This file is a shell script that caches the results of configure
   22090 # tests run on this system so they can be shared between configure
   22091 # scripts and configure runs, see configure's option --config-cache.
   22092 # It is not useful on other systems.  If it contains results you don't
   22093 # want to keep, you may remove or edit it.
   22094 #
   22095 # config.status only pays attention to the cache file if you give it
   22096 # the --recheck option to rerun configure.
   22097 #
   22098 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22099 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22100 # following values.
   22101 
   22102 _ACEOF
   22103 
   22104 # The following way of writing the cache mishandles newlines in values,
   22105 # but we know of no workaround that is simple, portable, and efficient.
   22106 # So, we kill variables containing newlines.
   22107 # Ultrix sh set writes to stderr and can't be redirected directly,
   22108 # and sets the high bit in the cache file unless we assign to the vars.
   22109 (
   22110   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22111     eval ac_val=\$$ac_var
   22112     case $ac_val in #(
   22113     *${as_nl}*)
   22114       case $ac_var in #(
   22115       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   22116 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22117       esac
   22118       case $ac_var in #(
   22119       _ | IFS | as_nl) ;; #(
   22120       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22121       *) { eval $ac_var=; unset $ac_var;} ;;
   22122       esac ;;
   22123     esac
   22124   done
   22125 
   22126   (set) 2>&1 |
   22127     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22128     *${as_nl}ac_space=\ *)
   22129       # `set' does not quote correctly, so add quotes: double-quote
   22130       # substitution turns \\\\ into \\, and sed turns \\ into \.
   22131       sed -n \
   22132 	"s/'/'\\\\''/g;
   22133 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22134       ;; #(
   22135     *)
   22136       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22137       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22138       ;;
   22139     esac |
   22140     sort
   22141 ) |
   22142   sed '
   22143      /^ac_cv_env_/b end
   22144      t clear
   22145      :clear
   22146      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   22147      t end
   22148      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22149      :end' >>confcache
   22150 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22151   if test -w "$cache_file"; then
   22152     if test "x$cache_file" != "x/dev/null"; then
   22153       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   22154 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   22155       if test ! -f "$cache_file" || test -h "$cache_file"; then
   22156 	cat confcache >"$cache_file"
   22157       else
   22158         case $cache_file in #(
   22159         */* | ?:*)
   22160 	  mv -f confcache "$cache_file"$$ &&
   22161 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   22162         *)
   22163 	  mv -f confcache "$cache_file" ;;
   22164 	esac
   22165       fi
   22166     fi
   22167   else
   22168     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   22169 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   22170   fi
   22171 fi
   22172 rm -f confcache
   22173 
   22174 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22175 # Let make expand exec_prefix.
   22176 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22177 
   22178 DEFS=-DHAVE_CONFIG_H
   22179 
   22180 ac_libobjs=
   22181 ac_ltlibobjs=
   22182 U=
   22183 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22184   # 1. Remove the extension, and $U if already installed.
   22185   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22186   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   22187   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22188   #    will be set to the directory where LIBOBJS objects are built.
   22189   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22190   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   22191 done
   22192 LIBOBJS=$ac_libobjs
   22193 
   22194 LTLIBOBJS=$ac_ltlibobjs
   22195 
   22196 
   22197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   22198 printf %s "checking that generated files are newer than configure... " >&6; }
   22199    if test -n "$am_sleep_pid"; then
   22200      # Hide warnings about reused PIDs.
   22201      wait $am_sleep_pid 2>/dev/null
   22202    fi
   22203    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   22204 printf "%s\n" "done" >&6; }
   22205  if test -n "$EXEEXT"; then
   22206   am__EXEEXT_TRUE=
   22207   am__EXEEXT_FALSE='#'
   22208 else
   22209   am__EXEEXT_TRUE='#'
   22210   am__EXEEXT_FALSE=
   22211 fi
   22212 
   22213 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22214   as_fn_error $? "conditional \"AMDEP\" was never defined.
   22215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22216 fi
   22217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22218   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   22219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22220 fi
   22221 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   22222   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   22223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22224 fi
   22225 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
   22226   as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
   22227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22228 fi
   22229 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   22230   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   22231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22232 fi
   22233 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
   22234   as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
   22235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22236 fi
   22237 if test -z "${XCB_HAVE_WIN32_TRUE}" && test -z "${XCB_HAVE_WIN32_FALSE}"; then
   22238   as_fn_error $? "conditional \"XCB_HAVE_WIN32\" was never defined.
   22239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22240 fi
   22241 if test -z "${BUILD_COMPOSITE_TRUE}" && test -z "${BUILD_COMPOSITE_FALSE}"; then
   22242   as_fn_error $? "conditional \"BUILD_COMPOSITE\" was never defined.
   22243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22244 fi
   22245 if test -z "${BUILD_DAMAGE_TRUE}" && test -z "${BUILD_DAMAGE_FALSE}"; then
   22246   as_fn_error $? "conditional \"BUILD_DAMAGE\" was never defined.
   22247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22248 fi
   22249 if test -z "${BUILD_DPMS_TRUE}" && test -z "${BUILD_DPMS_FALSE}"; then
   22250   as_fn_error $? "conditional \"BUILD_DPMS\" was never defined.
   22251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22252 fi
   22253 if test -z "${BUILD_DRI2_TRUE}" && test -z "${BUILD_DRI2_FALSE}"; then
   22254   as_fn_error $? "conditional \"BUILD_DRI2\" was never defined.
   22255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22256 fi
   22257 if test -z "${BUILD_DRI3_TRUE}" && test -z "${BUILD_DRI3_FALSE}"; then
   22258   as_fn_error $? "conditional \"BUILD_DRI3\" was never defined.
   22259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22260 fi
   22261 if test -z "${BUILD_GE_TRUE}" && test -z "${BUILD_GE_FALSE}"; then
   22262   as_fn_error $? "conditional \"BUILD_GE\" was never defined.
   22263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22264 fi
   22265 if test -z "${BUILD_GLX_TRUE}" && test -z "${BUILD_GLX_FALSE}"; then
   22266   as_fn_error $? "conditional \"BUILD_GLX\" was never defined.
   22267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22268 fi
   22269 if test -z "${BUILD_PRESENT_TRUE}" && test -z "${BUILD_PRESENT_FALSE}"; then
   22270   as_fn_error $? "conditional \"BUILD_PRESENT\" was never defined.
   22271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22272 fi
   22273 if test -z "${BUILD_RANDR_TRUE}" && test -z "${BUILD_RANDR_FALSE}"; then
   22274   as_fn_error $? "conditional \"BUILD_RANDR\" was never defined.
   22275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22276 fi
   22277 if test -z "${BUILD_RECORD_TRUE}" && test -z "${BUILD_RECORD_FALSE}"; then
   22278   as_fn_error $? "conditional \"BUILD_RECORD\" was never defined.
   22279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22280 fi
   22281 if test -z "${BUILD_RENDER_TRUE}" && test -z "${BUILD_RENDER_FALSE}"; then
   22282   as_fn_error $? "conditional \"BUILD_RENDER\" was never defined.
   22283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22284 fi
   22285 if test -z "${BUILD_RESOURCE_TRUE}" && test -z "${BUILD_RESOURCE_FALSE}"; then
   22286   as_fn_error $? "conditional \"BUILD_RESOURCE\" was never defined.
   22287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22288 fi
   22289 if test -z "${BUILD_SCREENSAVER_TRUE}" && test -z "${BUILD_SCREENSAVER_FALSE}"; then
   22290   as_fn_error $? "conditional \"BUILD_SCREENSAVER\" was never defined.
   22291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22292 fi
   22293 if test -z "${BUILD_SHAPE_TRUE}" && test -z "${BUILD_SHAPE_FALSE}"; then
   22294   as_fn_error $? "conditional \"BUILD_SHAPE\" was never defined.
   22295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22296 fi
   22297 if test -z "${BUILD_SHM_TRUE}" && test -z "${BUILD_SHM_FALSE}"; then
   22298   as_fn_error $? "conditional \"BUILD_SHM\" was never defined.
   22299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22300 fi
   22301 if test -z "${BUILD_SYNC_TRUE}" && test -z "${BUILD_SYNC_FALSE}"; then
   22302   as_fn_error $? "conditional \"BUILD_SYNC\" was never defined.
   22303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22304 fi
   22305 if test -z "${BUILD_XEVIE_TRUE}" && test -z "${BUILD_XEVIE_FALSE}"; then
   22306   as_fn_error $? "conditional \"BUILD_XEVIE\" was never defined.
   22307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22308 fi
   22309 if test -z "${BUILD_XFIXES_TRUE}" && test -z "${BUILD_XFIXES_FALSE}"; then
   22310   as_fn_error $? "conditional \"BUILD_XFIXES\" was never defined.
   22311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22312 fi
   22313 if test -z "${BUILD_XFREE86_DRI_TRUE}" && test -z "${BUILD_XFREE86_DRI_FALSE}"; then
   22314   as_fn_error $? "conditional \"BUILD_XFREE86_DRI\" was never defined.
   22315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22316 fi
   22317 if test -z "${BUILD_XINERAMA_TRUE}" && test -z "${BUILD_XINERAMA_FALSE}"; then
   22318   as_fn_error $? "conditional \"BUILD_XINERAMA\" was never defined.
   22319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22320 fi
   22321 if test -z "${BUILD_XINPUT_TRUE}" && test -z "${BUILD_XINPUT_FALSE}"; then
   22322   as_fn_error $? "conditional \"BUILD_XINPUT\" was never defined.
   22323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22324 fi
   22325 if test -z "${BUILD_XKB_TRUE}" && test -z "${BUILD_XKB_FALSE}"; then
   22326   as_fn_error $? "conditional \"BUILD_XKB\" was never defined.
   22327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22328 fi
   22329 if test -z "${BUILD_XPRINT_TRUE}" && test -z "${BUILD_XPRINT_FALSE}"; then
   22330   as_fn_error $? "conditional \"BUILD_XPRINT\" was never defined.
   22331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22332 fi
   22333 if test -z "${BUILD_SELINUX_TRUE}" && test -z "${BUILD_SELINUX_FALSE}"; then
   22334   as_fn_error $? "conditional \"BUILD_SELINUX\" was never defined.
   22335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22336 fi
   22337 if test -z "${BUILD_XTEST_TRUE}" && test -z "${BUILD_XTEST_FALSE}"; then
   22338   as_fn_error $? "conditional \"BUILD_XTEST\" was never defined.
   22339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22340 fi
   22341 if test -z "${BUILD_XV_TRUE}" && test -z "${BUILD_XV_FALSE}"; then
   22342   as_fn_error $? "conditional \"BUILD_XV\" was never defined.
   22343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22344 fi
   22345 if test -z "${BUILD_XVMC_TRUE}" && test -z "${BUILD_XVMC_FALSE}"; then
   22346   as_fn_error $? "conditional \"BUILD_XVMC\" was never defined.
   22347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22348 fi
   22349 if test -z "${XCB_SERVERSIDE_SUPPORT_TRUE}" && test -z "${XCB_SERVERSIDE_SUPPORT_FALSE}"; then
   22350   as_fn_error $? "conditional \"XCB_SERVERSIDE_SUPPORT\" was never defined.
   22351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22352 fi
   22353 
   22354 : "${CONFIG_STATUS=./config.status}"
   22355 ac_write_fail=0
   22356 ac_clean_files_save=$ac_clean_files
   22357 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   22359 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   22360 as_write_fail=0
   22361 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   22362 #! $SHELL
   22363 # Generated by $as_me.
   22364 # Run this file to recreate the current configuration.
   22365 # Compiler output produced by configure, useful for debugging
   22366 # configure, is in config.log if it exists.
   22367 
   22368 debug=false
   22369 ac_cs_recheck=false
   22370 ac_cs_silent=false
   22371 
   22372 SHELL=\${CONFIG_SHELL-$SHELL}
   22373 export SHELL
   22374 _ASEOF
   22375 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   22376 ## -------------------- ##
   22377 ## M4sh Initialization. ##
   22378 ## -------------------- ##
   22379 
   22380 # Be more Bourne compatible
   22381 DUALCASE=1; export DUALCASE # for MKS sh
   22382 as_nop=:
   22383 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   22384 then :
   22385   emulate sh
   22386   NULLCMD=:
   22387   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22388   # is contrary to our usage.  Disable this feature.
   22389   alias -g '${1+"$@"}'='"$@"'
   22390   setopt NO_GLOB_SUBST
   22391 else $as_nop
   22392   case `(set -o) 2>/dev/null` in #(
   22393   *posix*) :
   22394     set -o posix ;; #(
   22395   *) :
   22396      ;;
   22397 esac
   22398 fi
   22399 
   22400 
   22401 
   22402 # Reset variables that may have inherited troublesome values from
   22403 # the environment.
   22404 
   22405 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   22406 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   22407 # side effect of setting IFS to empty, thus disabling word splitting.)
   22408 # Quoting is to prevent editors from complaining about space-tab.
   22409 as_nl='
   22410 '
   22411 export as_nl
   22412 IFS=" ""	$as_nl"
   22413 
   22414 PS1='$ '
   22415 PS2='> '
   22416 PS4='+ '
   22417 
   22418 # Ensure predictable behavior from utilities with locale-dependent output.
   22419 LC_ALL=C
   22420 export LC_ALL
   22421 LANGUAGE=C
   22422 export LANGUAGE
   22423 
   22424 # We cannot yet rely on "unset" to work, but we need these variables
   22425 # to be unset--not just set to an empty or harmless value--now, to
   22426 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   22427 # also avoids known problems related to "unset" and subshell syntax
   22428 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   22429 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   22430 do eval test \${$as_var+y} \
   22431   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   22432 done
   22433 
   22434 # Ensure that fds 0, 1, and 2 are open.
   22435 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   22436 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   22437 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   22438 
   22439 # The user is always right.
   22440 if ${PATH_SEPARATOR+false} :; then
   22441   PATH_SEPARATOR=:
   22442   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22443     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22444       PATH_SEPARATOR=';'
   22445   }
   22446 fi
   22447 
   22448 
   22449 # Find who we are.  Look in the path if we contain no directory separator.
   22450 as_myself=
   22451 case $0 in #((
   22452   *[\\/]* ) as_myself=$0 ;;
   22453   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22454 for as_dir in $PATH
   22455 do
   22456   IFS=$as_save_IFS
   22457   case $as_dir in #(((
   22458     '') as_dir=./ ;;
   22459     */) ;;
   22460     *) as_dir=$as_dir/ ;;
   22461   esac
   22462     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   22463   done
   22464 IFS=$as_save_IFS
   22465 
   22466      ;;
   22467 esac
   22468 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22469 # in which case we are not to be found in the path.
   22470 if test "x$as_myself" = x; then
   22471   as_myself=$0
   22472 fi
   22473 if test ! -f "$as_myself"; then
   22474   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22475   exit 1
   22476 fi
   22477 
   22478 
   22479 
   22480 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   22481 # ----------------------------------------
   22482 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   22483 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   22484 # script with STATUS, using 1 if that was 0.
   22485 as_fn_error ()
   22486 {
   22487   as_status=$1; test $as_status -eq 0 && as_status=1
   22488   if test "$4"; then
   22489     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   22490     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   22491   fi
   22492   printf "%s\n" "$as_me: error: $2" >&2
   22493   as_fn_exit $as_status
   22494 } # as_fn_error
   22495 
   22496 
   22497 
   22498 # as_fn_set_status STATUS
   22499 # -----------------------
   22500 # Set $? to STATUS, without forking.
   22501 as_fn_set_status ()
   22502 {
   22503   return $1
   22504 } # as_fn_set_status
   22505 
   22506 # as_fn_exit STATUS
   22507 # -----------------
   22508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   22509 as_fn_exit ()
   22510 {
   22511   set +e
   22512   as_fn_set_status $1
   22513   exit $1
   22514 } # as_fn_exit
   22515 
   22516 # as_fn_unset VAR
   22517 # ---------------
   22518 # Portably unset VAR.
   22519 as_fn_unset ()
   22520 {
   22521   { eval $1=; unset $1;}
   22522 }
   22523 as_unset=as_fn_unset
   22524 
   22525 # as_fn_append VAR VALUE
   22526 # ----------------------
   22527 # Append the text in VALUE to the end of the definition contained in VAR. Take
   22528 # advantage of any shell optimizations that allow amortized linear growth over
   22529 # repeated appends, instead of the typical quadratic growth present in naive
   22530 # implementations.
   22531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   22532 then :
   22533   eval 'as_fn_append ()
   22534   {
   22535     eval $1+=\$2
   22536   }'
   22537 else $as_nop
   22538   as_fn_append ()
   22539   {
   22540     eval $1=\$$1\$2
   22541   }
   22542 fi # as_fn_append
   22543 
   22544 # as_fn_arith ARG...
   22545 # ------------------
   22546 # Perform arithmetic evaluation on the ARGs, and store the result in the
   22547 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   22548 # must be portable across $(()) and expr.
   22549 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   22550 then :
   22551   eval 'as_fn_arith ()
   22552   {
   22553     as_val=$(( $* ))
   22554   }'
   22555 else $as_nop
   22556   as_fn_arith ()
   22557   {
   22558     as_val=`expr "$@" || test $? -eq 1`
   22559   }
   22560 fi # as_fn_arith
   22561 
   22562 
   22563 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22564    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22565   as_expr=expr
   22566 else
   22567   as_expr=false
   22568 fi
   22569 
   22570 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22571   as_basename=basename
   22572 else
   22573   as_basename=false
   22574 fi
   22575 
   22576 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22577   as_dirname=dirname
   22578 else
   22579   as_dirname=false
   22580 fi
   22581 
   22582 as_me=`$as_basename -- "$0" ||
   22583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22584 	 X"$0" : 'X\(//\)$' \| \
   22585 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22586 printf "%s\n" X/"$0" |
   22587     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22588 	    s//\1/
   22589 	    q
   22590 	  }
   22591 	  /^X\/\(\/\/\)$/{
   22592 	    s//\1/
   22593 	    q
   22594 	  }
   22595 	  /^X\/\(\/\).*/{
   22596 	    s//\1/
   22597 	    q
   22598 	  }
   22599 	  s/.*/./; q'`
   22600 
   22601 # Avoid depending upon Character Ranges.
   22602 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22603 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22604 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22605 as_cr_digits='0123456789'
   22606 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22607 
   22608 
   22609 # Determine whether it's possible to make 'echo' print without a newline.
   22610 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   22611 # for compatibility with existing Makefiles.
   22612 ECHO_C= ECHO_N= ECHO_T=
   22613 case `echo -n x` in #(((((
   22614 -n*)
   22615   case `echo 'xy\c'` in
   22616   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22617   xy)  ECHO_C='\c';;
   22618   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   22619        ECHO_T='	';;
   22620   esac;;
   22621 *)
   22622   ECHO_N='-n';;
   22623 esac
   22624 
   22625 # For backward compatibility with old third-party macros, we provide
   22626 # the shell variables $as_echo and $as_echo_n.  New code should use
   22627 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   22628 as_echo='printf %s\n'
   22629 as_echo_n='printf %s'
   22630 
   22631 rm -f conf$$ conf$$.exe conf$$.file
   22632 if test -d conf$$.dir; then
   22633   rm -f conf$$.dir/conf$$.file
   22634 else
   22635   rm -f conf$$.dir
   22636   mkdir conf$$.dir 2>/dev/null
   22637 fi
   22638 if (echo >conf$$.file) 2>/dev/null; then
   22639   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22640     as_ln_s='ln -s'
   22641     # ... but there are two gotchas:
   22642     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22643     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22644     # In both cases, we have to default to `cp -pR'.
   22645     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22646       as_ln_s='cp -pR'
   22647   elif ln conf$$.file conf$$ 2>/dev/null; then
   22648     as_ln_s=ln
   22649   else
   22650     as_ln_s='cp -pR'
   22651   fi
   22652 else
   22653   as_ln_s='cp -pR'
   22654 fi
   22655 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22656 rmdir conf$$.dir 2>/dev/null
   22657 
   22658 
   22659 # as_fn_mkdir_p
   22660 # -------------
   22661 # Create "$as_dir" as a directory, including parents if necessary.
   22662 as_fn_mkdir_p ()
   22663 {
   22664 
   22665   case $as_dir in #(
   22666   -*) as_dir=./$as_dir;;
   22667   esac
   22668   test -d "$as_dir" || eval $as_mkdir_p || {
   22669     as_dirs=
   22670     while :; do
   22671       case $as_dir in #(
   22672       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22673       *) as_qdir=$as_dir;;
   22674       esac
   22675       as_dirs="'$as_qdir' $as_dirs"
   22676       as_dir=`$as_dirname -- "$as_dir" ||
   22677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22678 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22679 	 X"$as_dir" : 'X\(//\)$' \| \
   22680 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22681 printf "%s\n" X"$as_dir" |
   22682     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22683 	    s//\1/
   22684 	    q
   22685 	  }
   22686 	  /^X\(\/\/\)[^/].*/{
   22687 	    s//\1/
   22688 	    q
   22689 	  }
   22690 	  /^X\(\/\/\)$/{
   22691 	    s//\1/
   22692 	    q
   22693 	  }
   22694 	  /^X\(\/\).*/{
   22695 	    s//\1/
   22696 	    q
   22697 	  }
   22698 	  s/.*/./; q'`
   22699       test -d "$as_dir" && break
   22700     done
   22701     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22702   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   22703 
   22704 
   22705 } # as_fn_mkdir_p
   22706 if mkdir -p . 2>/dev/null; then
   22707   as_mkdir_p='mkdir -p "$as_dir"'
   22708 else
   22709   test -d ./-p && rmdir ./-p
   22710   as_mkdir_p=false
   22711 fi
   22712 
   22713 
   22714 # as_fn_executable_p FILE
   22715 # -----------------------
   22716 # Test if FILE is an executable regular file.
   22717 as_fn_executable_p ()
   22718 {
   22719   test -f "$1" && test -x "$1"
   22720 } # as_fn_executable_p
   22721 as_test_x='test -x'
   22722 as_executable_p=as_fn_executable_p
   22723 
   22724 # Sed expression to map a string onto a valid CPP name.
   22725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22726 
   22727 # Sed expression to map a string onto a valid variable name.
   22728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22729 
   22730 
   22731 exec 6>&1
   22732 ## ----------------------------------- ##
   22733 ## Main body of $CONFIG_STATUS script. ##
   22734 ## ----------------------------------- ##
   22735 _ASEOF
   22736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   22737 
   22738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22739 # Save the log message, to keep $0 and so on meaningful, and to
   22740 # report actual input values of CONFIG_FILES etc. instead of their
   22741 # values after options handling.
   22742 ac_log="
   22743 This file was extended by libxcb $as_me 1.15, which was
   22744 generated by GNU Autoconf 2.71.  Invocation command line was
   22745 
   22746   CONFIG_FILES    = $CONFIG_FILES
   22747   CONFIG_HEADERS  = $CONFIG_HEADERS
   22748   CONFIG_LINKS    = $CONFIG_LINKS
   22749   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22750   $ $0 $@
   22751 
   22752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22753 "
   22754 
   22755 _ACEOF
   22756 
   22757 case $ac_config_files in *"
   22758 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22759 esac
   22760 
   22761 case $ac_config_headers in *"
   22762 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22763 esac
   22764 
   22765 
   22766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22767 # Files that config.status was made for.
   22768 config_files="$ac_config_files"
   22769 config_headers="$ac_config_headers"
   22770 config_commands="$ac_config_commands"
   22771 
   22772 _ACEOF
   22773 
   22774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22775 ac_cs_usage="\
   22776 \`$as_me' instantiates files and other configuration actions
   22777 from templates according to the current configuration.  Unless the files
   22778 and actions are specified as TAGs, all are instantiated by default.
   22779 
   22780 Usage: $0 [OPTION]... [TAG]...
   22781 
   22782   -h, --help       print this help, then exit
   22783   -V, --version    print version number and configuration settings, then exit
   22784       --config     print configuration, then exit
   22785   -q, --quiet, --silent
   22786                    do not print progress messages
   22787   -d, --debug      don't remove temporary files
   22788       --recheck    update $as_me by reconfiguring in the same conditions
   22789       --file=FILE[:TEMPLATE]
   22790                    instantiate the configuration file FILE
   22791       --header=FILE[:TEMPLATE]
   22792                    instantiate the configuration header FILE
   22793 
   22794 Configuration files:
   22795 $config_files
   22796 
   22797 Configuration headers:
   22798 $config_headers
   22799 
   22800 Configuration commands:
   22801 $config_commands
   22802 
   22803 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxcb/issues>."
   22804 
   22805 _ACEOF
   22806 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   22807 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   22808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22809 ac_cs_config='$ac_cs_config_escaped'
   22810 ac_cs_version="\\
   22811 libxcb config.status 1.15
   22812 configured by $0, generated by GNU Autoconf 2.71,
   22813   with options \\"\$ac_cs_config\\"
   22814 
   22815 Copyright (C) 2021 Free Software Foundation, Inc.
   22816 This config.status script is free software; the Free Software Foundation
   22817 gives unlimited permission to copy, distribute and modify it."
   22818 
   22819 ac_pwd='$ac_pwd'
   22820 srcdir='$srcdir'
   22821 INSTALL='$INSTALL'
   22822 MKDIR_P='$MKDIR_P'
   22823 AWK='$AWK'
   22824 test -n "\$AWK" || AWK=awk
   22825 _ACEOF
   22826 
   22827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22828 # The default lists apply if the user does not specify any file.
   22829 ac_need_defaults=:
   22830 while test $# != 0
   22831 do
   22832   case $1 in
   22833   --*=?*)
   22834     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22835     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22836     ac_shift=:
   22837     ;;
   22838   --*=)
   22839     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22840     ac_optarg=
   22841     ac_shift=:
   22842     ;;
   22843   *)
   22844     ac_option=$1
   22845     ac_optarg=$2
   22846     ac_shift=shift
   22847     ;;
   22848   esac
   22849 
   22850   case $ac_option in
   22851   # Handling of the options.
   22852   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22853     ac_cs_recheck=: ;;
   22854   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22855     printf "%s\n" "$ac_cs_version"; exit ;;
   22856   --config | --confi | --conf | --con | --co | --c )
   22857     printf "%s\n" "$ac_cs_config"; exit ;;
   22858   --debug | --debu | --deb | --de | --d | -d )
   22859     debug=: ;;
   22860   --file | --fil | --fi | --f )
   22861     $ac_shift
   22862     case $ac_optarg in
   22863     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22864     '') as_fn_error $? "missing file argument" ;;
   22865     esac
   22866     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22867     ac_need_defaults=false;;
   22868   --header | --heade | --head | --hea )
   22869     $ac_shift
   22870     case $ac_optarg in
   22871     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22872     esac
   22873     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22874     ac_need_defaults=false;;
   22875   --he | --h)
   22876     # Conflict between --help and --header
   22877     as_fn_error $? "ambiguous option: \`$1'
   22878 Try \`$0 --help' for more information.";;
   22879   --help | --hel | -h )
   22880     printf "%s\n" "$ac_cs_usage"; exit ;;
   22881   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22882   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22883     ac_cs_silent=: ;;
   22884 
   22885   # This is an error.
   22886   -*) as_fn_error $? "unrecognized option: \`$1'
   22887 Try \`$0 --help' for more information." ;;
   22888 
   22889   *) as_fn_append ac_config_targets " $1"
   22890      ac_need_defaults=false ;;
   22891 
   22892   esac
   22893   shift
   22894 done
   22895 
   22896 ac_configure_extra_args=
   22897 
   22898 if $ac_cs_silent; then
   22899   exec 6>/dev/null
   22900   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22901 fi
   22902 
   22903 _ACEOF
   22904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22905 if \$ac_cs_recheck; then
   22906   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22907   shift
   22908   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22909   CONFIG_SHELL='$SHELL'
   22910   export CONFIG_SHELL
   22911   exec "\$@"
   22912 fi
   22913 
   22914 _ACEOF
   22915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22916 exec 5>>config.log
   22917 {
   22918   echo
   22919   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22920 ## Running $as_me. ##
   22921 _ASBOX
   22922   printf "%s\n" "$ac_log"
   22923 } >&5
   22924 
   22925 _ACEOF
   22926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22927 #
   22928 # INIT-COMMANDS
   22929 #
   22930 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22931 
   22932 
   22933 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22934 # if CDPATH is set.
   22935 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22936 
   22937 sed_quote_subst='$sed_quote_subst'
   22938 double_quote_subst='$double_quote_subst'
   22939 delay_variable_subst='$delay_variable_subst'
   22940 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22941 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22942 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   22943 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22944 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22945 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22946 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22947 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22948 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22949 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22950 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22951 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22952 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22953 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22954 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22955 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22956 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22957 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22958 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22959 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22960 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22961 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22962 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22963 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22964 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22965 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22966 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22967 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22968 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22969 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22970 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22971 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22972 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22973 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22974 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22975 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22976 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22977 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22978 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22979 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22980 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22981 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22982 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22983 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22984 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22985 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22986 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22987 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22988 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22989 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22990 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22991 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22992 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22993 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22994 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22995 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22996 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22997 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22998 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22999 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"`'
   23000 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   23001 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   23002 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   23003 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   23004 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   23005 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   23006 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   23007 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   23008 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   23009 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   23010 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   23011 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   23012 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   23013 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   23014 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   23015 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   23016 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   23017 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   23018 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   23019 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   23020 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23021 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   23022 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   23023 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   23024 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   23025 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   23026 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   23027 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23028 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   23029 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23030 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   23031 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23032 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   23033 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23034 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23035 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   23036 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   23037 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   23038 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   23039 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   23040 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23041 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   23042 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   23043 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   23044 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   23045 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   23046 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   23047 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   23048 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   23049 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   23050 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   23051 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   23052 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   23053 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   23054 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   23055 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   23056 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23057 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   23058 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   23059 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   23060 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   23061 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   23062 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23063 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23064 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   23065 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   23066 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   23067 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   23068 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   23069 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   23070 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   23071 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   23072 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   23073 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   23074 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   23075 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   23076 
   23077 LTCC='$LTCC'
   23078 LTCFLAGS='$LTCFLAGS'
   23079 compiler='$compiler_DEFAULT'
   23080 
   23081 # A function that is used when there is no print builtin or printf.
   23082 func_fallback_echo ()
   23083 {
   23084   eval 'cat <<_LTECHO_EOF
   23085 \$1
   23086 _LTECHO_EOF'
   23087 }
   23088 
   23089 # Quote evaled strings.
   23090 for var in AS \
   23091 DLLTOOL \
   23092 OBJDUMP \
   23093 SHELL \
   23094 ECHO \
   23095 PATH_SEPARATOR \
   23096 SED \
   23097 GREP \
   23098 EGREP \
   23099 FGREP \
   23100 LD \
   23101 NM \
   23102 LN_S \
   23103 lt_SP2NL \
   23104 lt_NL2SP \
   23105 reload_flag \
   23106 deplibs_check_method \
   23107 file_magic_cmd \
   23108 file_magic_glob \
   23109 want_nocaseglob \
   23110 sharedlib_from_linklib_cmd \
   23111 AR \
   23112 AR_FLAGS \
   23113 archiver_list_spec \
   23114 STRIP \
   23115 RANLIB \
   23116 CC \
   23117 CFLAGS \
   23118 compiler \
   23119 lt_cv_sys_global_symbol_pipe \
   23120 lt_cv_sys_global_symbol_to_cdecl \
   23121 lt_cv_sys_global_symbol_to_import \
   23122 lt_cv_sys_global_symbol_to_c_name_address \
   23123 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   23124 lt_cv_nm_interface \
   23125 nm_file_list_spec \
   23126 lt_cv_truncate_bin \
   23127 lt_prog_compiler_no_builtin_flag \
   23128 lt_prog_compiler_pic \
   23129 lt_prog_compiler_wl \
   23130 lt_prog_compiler_static \
   23131 lt_cv_prog_compiler_c_o \
   23132 need_locks \
   23133 MANIFEST_TOOL \
   23134 DSYMUTIL \
   23135 NMEDIT \
   23136 LIPO \
   23137 OTOOL \
   23138 OTOOL64 \
   23139 shrext_cmds \
   23140 export_dynamic_flag_spec \
   23141 whole_archive_flag_spec \
   23142 compiler_needs_object \
   23143 with_gnu_ld \
   23144 allow_undefined_flag \
   23145 no_undefined_flag \
   23146 hardcode_libdir_flag_spec \
   23147 hardcode_libdir_separator \
   23148 exclude_expsyms \
   23149 include_expsyms \
   23150 file_list_spec \
   23151 variables_saved_for_relink \
   23152 libname_spec \
   23153 library_names_spec \
   23154 soname_spec \
   23155 install_override_mode \
   23156 finish_eval \
   23157 old_striplib \
   23158 striplib; do
   23159     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23160     *[\\\\\\\`\\"\\\$]*)
   23161       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23162       ;;
   23163     *)
   23164       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23165       ;;
   23166     esac
   23167 done
   23168 
   23169 # Double-quote double-evaled strings.
   23170 for var in reload_cmds \
   23171 old_postinstall_cmds \
   23172 old_postuninstall_cmds \
   23173 old_archive_cmds \
   23174 extract_expsyms_cmds \
   23175 old_archive_from_new_cmds \
   23176 old_archive_from_expsyms_cmds \
   23177 archive_cmds \
   23178 archive_expsym_cmds \
   23179 module_cmds \
   23180 module_expsym_cmds \
   23181 export_symbols_cmds \
   23182 prelink_cmds \
   23183 postlink_cmds \
   23184 postinstall_cmds \
   23185 postuninstall_cmds \
   23186 finish_cmds \
   23187 sys_lib_search_path_spec \
   23188 configure_time_dlsearch_path \
   23189 configure_time_lt_sys_library_path; do
   23190     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23191     *[\\\\\\\`\\"\\\$]*)
   23192       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23193       ;;
   23194     *)
   23195       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23196       ;;
   23197     esac
   23198 done
   23199 
   23200 ac_aux_dir='$ac_aux_dir'
   23201 
   23202 # See if we are running on zsh, and set the options that allow our
   23203 # commands through without removal of \ escapes INIT.
   23204 if test -n "\${ZSH_VERSION+set}"; then
   23205    setopt NO_GLOB_SUBST
   23206 fi
   23207 
   23208 
   23209     PACKAGE='$PACKAGE'
   23210     VERSION='$VERSION'
   23211     RM='$RM'
   23212     ofile='$ofile'
   23213 
   23214 
   23215 
   23216 
   23217 _ACEOF
   23218 
   23219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23220 
   23221 # Handling of arguments.
   23222 for ac_config_target in $ac_config_targets
   23223 do
   23224   case $ac_config_target in
   23225     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   23226     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23227     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   23228     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23229     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   23230     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23231     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23232     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   23233     "xcb.pc") CONFIG_FILES="$CONFIG_FILES xcb.pc" ;;
   23234     "xcb-composite.pc") CONFIG_FILES="$CONFIG_FILES xcb-composite.pc" ;;
   23235     "xcb-damage.pc") CONFIG_FILES="$CONFIG_FILES xcb-damage.pc" ;;
   23236     "xcb-dpms.pc") CONFIG_FILES="$CONFIG_FILES xcb-dpms.pc" ;;
   23237     "xcb-dri2.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri2.pc" ;;
   23238     "xcb-dri3.pc") CONFIG_FILES="$CONFIG_FILES xcb-dri3.pc" ;;
   23239     "xcb-ge.pc") CONFIG_FILES="$CONFIG_FILES xcb-ge.pc" ;;
   23240     "xcb-glx.pc") CONFIG_FILES="$CONFIG_FILES xcb-glx.pc" ;;
   23241     "xcb-present.pc") CONFIG_FILES="$CONFIG_FILES xcb-present.pc" ;;
   23242     "xcb-randr.pc") CONFIG_FILES="$CONFIG_FILES xcb-randr.pc" ;;
   23243     "xcb-record.pc") CONFIG_FILES="$CONFIG_FILES xcb-record.pc" ;;
   23244     "xcb-render.pc") CONFIG_FILES="$CONFIG_FILES xcb-render.pc" ;;
   23245     "xcb-res.pc") CONFIG_FILES="$CONFIG_FILES xcb-res.pc" ;;
   23246     "xcb-screensaver.pc") CONFIG_FILES="$CONFIG_FILES xcb-screensaver.pc" ;;
   23247     "xcb-shape.pc") CONFIG_FILES="$CONFIG_FILES xcb-shape.pc" ;;
   23248     "xcb-shm.pc") CONFIG_FILES="$CONFIG_FILES xcb-shm.pc" ;;
   23249     "xcb-sync.pc") CONFIG_FILES="$CONFIG_FILES xcb-sync.pc" ;;
   23250     "xcb-xevie.pc") CONFIG_FILES="$CONFIG_FILES xcb-xevie.pc" ;;
   23251     "xcb-xf86dri.pc") CONFIG_FILES="$CONFIG_FILES xcb-xf86dri.pc" ;;
   23252     "xcb-xfixes.pc") CONFIG_FILES="$CONFIG_FILES xcb-xfixes.pc" ;;
   23253     "xcb-xinerama.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinerama.pc" ;;
   23254     "xcb-xinput.pc") CONFIG_FILES="$CONFIG_FILES xcb-xinput.pc" ;;
   23255     "xcb-xkb.pc") CONFIG_FILES="$CONFIG_FILES xcb-xkb.pc" ;;
   23256     "xcb-xprint.pc") CONFIG_FILES="$CONFIG_FILES xcb-xprint.pc" ;;
   23257     "xcb-xselinux.pc") CONFIG_FILES="$CONFIG_FILES xcb-xselinux.pc" ;;
   23258     "xcb-xtest.pc") CONFIG_FILES="$CONFIG_FILES xcb-xtest.pc" ;;
   23259     "xcb-xv.pc") CONFIG_FILES="$CONFIG_FILES xcb-xv.pc" ;;
   23260     "xcb-xvmc.pc") CONFIG_FILES="$CONFIG_FILES xcb-xvmc.pc" ;;
   23261     "doc/xcb.doxygen") CONFIG_FILES="$CONFIG_FILES doc/xcb.doxygen" ;;
   23262 
   23263   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   23264   esac
   23265 done
   23266 
   23267 
   23268 # If the user did not use the arguments to specify the items to instantiate,
   23269 # then the envvar interface is used.  Set only those that are not.
   23270 # We use the long form for the default assignment because of an extremely
   23271 # bizarre bug on SunOS 4.1.3.
   23272 if $ac_need_defaults; then
   23273   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   23274   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   23275   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   23276 fi
   23277 
   23278 # Have a temporary directory for convenience.  Make it in the build tree
   23279 # simply because there is no reason against having it here, and in addition,
   23280 # creating and moving files from /tmp can sometimes cause problems.
   23281 # Hook for its removal unless debugging.
   23282 # Note that there is a small window in which the directory will not be cleaned:
   23283 # after its creation but before its name has been assigned to `$tmp'.
   23284 $debug ||
   23285 {
   23286   tmp= ac_tmp=
   23287   trap 'exit_status=$?
   23288   : "${ac_tmp:=$tmp}"
   23289   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   23290 ' 0
   23291   trap 'as_fn_exit 1' 1 2 13 15
   23292 }
   23293 # Create a (secure) tmp directory for tmp files.
   23294 
   23295 {
   23296   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23297   test -d "$tmp"
   23298 }  ||
   23299 {
   23300   tmp=./conf$$-$RANDOM
   23301   (umask 077 && mkdir "$tmp")
   23302 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   23303 ac_tmp=$tmp
   23304 
   23305 # Set up the scripts for CONFIG_FILES section.
   23306 # No need to generate them if there are no CONFIG_FILES.
   23307 # This happens for instance with `./config.status config.h'.
   23308 if test -n "$CONFIG_FILES"; then
   23309 
   23310 
   23311 ac_cr=`echo X | tr X '\015'`
   23312 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   23313 # But we know of no other shell where ac_cr would be empty at this
   23314 # point, so we can use a bashism as a fallback.
   23315 if test "x$ac_cr" = x; then
   23316   eval ac_cr=\$\'\\r\'
   23317 fi
   23318 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23320   ac_cs_awk_cr='\\r'
   23321 else
   23322   ac_cs_awk_cr=$ac_cr
   23323 fi
   23324 
   23325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   23326 _ACEOF
   23327 
   23328 
   23329 {
   23330   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23331   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23332   echo "_ACEOF"
   23333 } >conf$$subs.sh ||
   23334   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   23336 ac_delim='%!_!# '
   23337 for ac_last_try in false false false false false :; do
   23338   . ./conf$$subs.sh ||
   23339     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23340 
   23341   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23342   if test $ac_delim_n = $ac_delim_num; then
   23343     break
   23344   elif $ac_last_try; then
   23345     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23346   else
   23347     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23348   fi
   23349 done
   23350 rm -f conf$$subs.sh
   23351 
   23352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23353 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   23354 _ACEOF
   23355 sed -n '
   23356 h
   23357 s/^/S["/; s/!.*/"]=/
   23358 p
   23359 g
   23360 s/^[^!]*!//
   23361 :repl
   23362 t repl
   23363 s/'"$ac_delim"'$//
   23364 t delim
   23365 :nl
   23366 h
   23367 s/\(.\{148\}\)..*/\1/
   23368 t more1
   23369 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23370 p
   23371 n
   23372 b repl
   23373 :more1
   23374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23375 p
   23376 g
   23377 s/.\{148\}//
   23378 t nl
   23379 :delim
   23380 h
   23381 s/\(.\{148\}\)..*/\1/
   23382 t more2
   23383 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23384 p
   23385 b
   23386 :more2
   23387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23388 p
   23389 g
   23390 s/.\{148\}//
   23391 t delim
   23392 ' <conf$$subs.awk | sed '
   23393 /^[^""]/{
   23394   N
   23395   s/\n//
   23396 }
   23397 ' >>$CONFIG_STATUS || ac_write_fail=1
   23398 rm -f conf$$subs.awk
   23399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23400 _ACAWK
   23401 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   23402   for (key in S) S_is_set[key] = 1
   23403   FS = ""
   23404 
   23405 }
   23406 {
   23407   line = $ 0
   23408   nfields = split(line, field, "@")
   23409   substed = 0
   23410   len = length(field[1])
   23411   for (i = 2; i < nfields; i++) {
   23412     key = field[i]
   23413     keylen = length(key)
   23414     if (S_is_set[key]) {
   23415       value = S[key]
   23416       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23417       len += length(value) + length(field[++i])
   23418       substed = 1
   23419     } else
   23420       len += 1 + keylen
   23421   }
   23422 
   23423   print line
   23424 }
   23425 
   23426 _ACAWK
   23427 _ACEOF
   23428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23429 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23430   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23431 else
   23432   cat
   23433 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   23434   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   23435 _ACEOF
   23436 
   23437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   23438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   23439 # trailing colons and then remove the whole line if VPATH becomes empty
   23440 # (actually we leave an empty line to preserve line numbers).
   23441 if test "x$srcdir" = x.; then
   23442   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   23443 h
   23444 s///
   23445 s/^/:/
   23446 s/[	 ]*$/:/
   23447 s/:\$(srcdir):/:/g
   23448 s/:\${srcdir}:/:/g
   23449 s/:@srcdir@:/:/g
   23450 s/^:*//
   23451 s/:*$//
   23452 x
   23453 s/\(=[	 ]*\).*/\1/
   23454 G
   23455 s/\n//
   23456 s/^[^=]*=[	 ]*$//
   23457 }'
   23458 fi
   23459 
   23460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23461 fi # test -n "$CONFIG_FILES"
   23462 
   23463 # Set up the scripts for CONFIG_HEADERS section.
   23464 # No need to generate them if there are no CONFIG_HEADERS.
   23465 # This happens for instance with `./config.status Makefile'.
   23466 if test -n "$CONFIG_HEADERS"; then
   23467 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   23468 BEGIN {
   23469 _ACEOF
   23470 
   23471 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23472 # here-document in config.status, that substitutes the proper values into
   23473 # config.h.in to produce config.h.
   23474 
   23475 # Create a delimiter string that does not exist in confdefs.h, to ease
   23476 # handling of long lines.
   23477 ac_delim='%!_!# '
   23478 for ac_last_try in false false :; do
   23479   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   23480   if test -z "$ac_tt"; then
   23481     break
   23482   elif $ac_last_try; then
   23483     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   23484   else
   23485     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23486   fi
   23487 done
   23488 
   23489 # For the awk script, D is an array of macro values keyed by name,
   23490 # likewise P contains macro parameters if any.  Preserve backslash
   23491 # newline sequences.
   23492 
   23493 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23494 sed -n '
   23495 s/.\{148\}/&'"$ac_delim"'/g
   23496 t rset
   23497 :rset
   23498 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23499 t def
   23500 d
   23501 :def
   23502 s/\\$//
   23503 t bsnl
   23504 s/["\\]/\\&/g
   23505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23506 D["\1"]=" \3"/p
   23507 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23508 d
   23509 :bsnl
   23510 s/["\\]/\\&/g
   23511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23512 D["\1"]=" \3\\\\\\n"\\/p
   23513 t cont
   23514 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23515 t cont
   23516 d
   23517 :cont
   23518 n
   23519 s/.\{148\}/&'"$ac_delim"'/g
   23520 t clear
   23521 :clear
   23522 s/\\$//
   23523 t bsnlc
   23524 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23525 d
   23526 :bsnlc
   23527 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23528 b cont
   23529 ' <confdefs.h | sed '
   23530 s/'"$ac_delim"'/"\\\
   23531 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23532 
   23533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23534   for (key in D) D_is_set[key] = 1
   23535   FS = ""
   23536 }
   23537 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23538   line = \$ 0
   23539   split(line, arg, " ")
   23540   if (arg[1] == "#") {
   23541     defundef = arg[2]
   23542     mac1 = arg[3]
   23543   } else {
   23544     defundef = substr(arg[1], 2)
   23545     mac1 = arg[2]
   23546   }
   23547   split(mac1, mac2, "(") #)
   23548   macro = mac2[1]
   23549   prefix = substr(line, 1, index(line, defundef) - 1)
   23550   if (D_is_set[macro]) {
   23551     # Preserve the white space surrounding the "#".
   23552     print prefix "define", macro P[macro] D[macro]
   23553     next
   23554   } else {
   23555     # Replace #undef with comments.  This is necessary, for example,
   23556     # in the case of _POSIX_SOURCE, which is predefined and required
   23557     # on some systems where configure will not decide to define it.
   23558     if (defundef == "undef") {
   23559       print "/*", prefix defundef, macro, "*/"
   23560       next
   23561     }
   23562   }
   23563 }
   23564 { print }
   23565 _ACAWK
   23566 _ACEOF
   23567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23568   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   23569 fi # test -n "$CONFIG_HEADERS"
   23570 
   23571 
   23572 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23573 shift
   23574 for ac_tag
   23575 do
   23576   case $ac_tag in
   23577   :[FHLC]) ac_mode=$ac_tag; continue;;
   23578   esac
   23579   case $ac_mode$ac_tag in
   23580   :[FHL]*:*);;
   23581   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   23582   :[FH]-) ac_tag=-:-;;
   23583   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23584   esac
   23585   ac_save_IFS=$IFS
   23586   IFS=:
   23587   set x $ac_tag
   23588   IFS=$ac_save_IFS
   23589   shift
   23590   ac_file=$1
   23591   shift
   23592 
   23593   case $ac_mode in
   23594   :L) ac_source=$1;;
   23595   :[FH])
   23596     ac_file_inputs=
   23597     for ac_f
   23598     do
   23599       case $ac_f in
   23600       -) ac_f="$ac_tmp/stdin";;
   23601       *) # Look for the file first in the build tree, then in the source tree
   23602 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23603 	 # because $ac_f cannot contain `:'.
   23604 	 test -f "$ac_f" ||
   23605 	   case $ac_f in
   23606 	   [\\/$]*) false;;
   23607 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23608 	   esac ||
   23609 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   23610       esac
   23611       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23612       as_fn_append ac_file_inputs " '$ac_f'"
   23613     done
   23614 
   23615     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23616     # use $as_me), people would be surprised to read:
   23617     #    /* config.h.  Generated by config.status.  */
   23618     configure_input='Generated from '`
   23619 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23620 	`' by configure.'
   23621     if test x"$ac_file" != x-; then
   23622       configure_input="$ac_file.  $configure_input"
   23623       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   23624 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   23625     fi
   23626     # Neutralize special characters interpreted by sed in replacement strings.
   23627     case $configure_input in #(
   23628     *\&* | *\|* | *\\* )
   23629        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   23630        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23631     *) ac_sed_conf_input=$configure_input;;
   23632     esac
   23633 
   23634     case $ac_tag in
   23635     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   23636       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   23637     esac
   23638     ;;
   23639   esac
   23640 
   23641   ac_dir=`$as_dirname -- "$ac_file" ||
   23642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23643 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23644 	 X"$ac_file" : 'X\(//\)$' \| \
   23645 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23646 printf "%s\n" X"$ac_file" |
   23647     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23648 	    s//\1/
   23649 	    q
   23650 	  }
   23651 	  /^X\(\/\/\)[^/].*/{
   23652 	    s//\1/
   23653 	    q
   23654 	  }
   23655 	  /^X\(\/\/\)$/{
   23656 	    s//\1/
   23657 	    q
   23658 	  }
   23659 	  /^X\(\/\).*/{
   23660 	    s//\1/
   23661 	    q
   23662 	  }
   23663 	  s/.*/./; q'`
   23664   as_dir="$ac_dir"; as_fn_mkdir_p
   23665   ac_builddir=.
   23666 
   23667 case "$ac_dir" in
   23668 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23669 *)
   23670   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   23671   # A ".." for each directory in $ac_dir_suffix.
   23672   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23673   case $ac_top_builddir_sub in
   23674   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23675   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23676   esac ;;
   23677 esac
   23678 ac_abs_top_builddir=$ac_pwd
   23679 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23680 # for backward compatibility:
   23681 ac_top_builddir=$ac_top_build_prefix
   23682 
   23683 case $srcdir in
   23684   .)  # We are building in place.
   23685     ac_srcdir=.
   23686     ac_top_srcdir=$ac_top_builddir_sub
   23687     ac_abs_top_srcdir=$ac_pwd ;;
   23688   [\\/]* | ?:[\\/]* )  # Absolute name.
   23689     ac_srcdir=$srcdir$ac_dir_suffix;
   23690     ac_top_srcdir=$srcdir
   23691     ac_abs_top_srcdir=$srcdir ;;
   23692   *) # Relative name.
   23693     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23694     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23695     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23696 esac
   23697 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23698 
   23699 
   23700   case $ac_mode in
   23701   :F)
   23702   #
   23703   # CONFIG_FILE
   23704   #
   23705 
   23706   case $INSTALL in
   23707   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23708   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23709   esac
   23710   ac_MKDIR_P=$MKDIR_P
   23711   case $MKDIR_P in
   23712   [\\/$]* | ?:[\\/]* ) ;;
   23713   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23714   esac
   23715 _ACEOF
   23716 
   23717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23718 # If the template does not know about datarootdir, expand it.
   23719 # FIXME: This hack should be removed a few years after 2.60.
   23720 ac_datarootdir_hack=; ac_datarootdir_seen=
   23721 ac_sed_dataroot='
   23722 /datarootdir/ {
   23723   p
   23724   q
   23725 }
   23726 /@datadir@/p
   23727 /@docdir@/p
   23728 /@infodir@/p
   23729 /@localedir@/p
   23730 /@mandir@/p'
   23731 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23732 *datarootdir*) ac_datarootdir_seen=yes;;
   23733 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23735 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23736 _ACEOF
   23737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23738   ac_datarootdir_hack='
   23739   s&@datadir@&$datadir&g
   23740   s&@docdir@&$docdir&g
   23741   s&@infodir@&$infodir&g
   23742   s&@localedir@&$localedir&g
   23743   s&@mandir@&$mandir&g
   23744   s&\\\${datarootdir}&$datarootdir&g' ;;
   23745 esac
   23746 _ACEOF
   23747 
   23748 # Neutralize VPATH when `$srcdir' = `.'.
   23749 # Shell code in configure.ac might set extrasub.
   23750 # FIXME: do we really want to maintain this feature?
   23751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23752 ac_sed_extra="$ac_vpsub
   23753 $extrasub
   23754 _ACEOF
   23755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23756 :t
   23757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23758 s|@configure_input@|$ac_sed_conf_input|;t t
   23759 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23760 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23761 s&@srcdir@&$ac_srcdir&;t t
   23762 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23763 s&@top_srcdir@&$ac_top_srcdir&;t t
   23764 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23765 s&@builddir@&$ac_builddir&;t t
   23766 s&@abs_builddir@&$ac_abs_builddir&;t t
   23767 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23768 s&@INSTALL@&$ac_INSTALL&;t t
   23769 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23770 $ac_datarootdir_hack
   23771 "
   23772 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   23773   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23774 
   23775 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23776   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   23777   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   23778       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   23779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23780 which seems to be undefined.  Please make sure it is defined" >&5
   23781 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23782 which seems to be undefined.  Please make sure it is defined" >&2;}
   23783 
   23784   rm -f "$ac_tmp/stdin"
   23785   case $ac_file in
   23786   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   23787   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   23788   esac \
   23789   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23790  ;;
   23791   :H)
   23792   #
   23793   # CONFIG_HEADER
   23794   #
   23795   if test x"$ac_file" != x-; then
   23796     {
   23797       printf "%s\n" "/* $configure_input  */" >&1 \
   23798       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   23799     } >"$ac_tmp/config.h" \
   23800       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23801     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   23802       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   23803 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   23804     else
   23805       rm -f "$ac_file"
   23806       mv "$ac_tmp/config.h" "$ac_file" \
   23807 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23808     fi
   23809   else
   23810     printf "%s\n" "/* $configure_input  */" >&1 \
   23811       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   23812       || as_fn_error $? "could not create -" "$LINENO" 5
   23813   fi
   23814 # Compute "$ac_file"'s index in $config_headers.
   23815 _am_arg="$ac_file"
   23816 _am_stamp_count=1
   23817 for _am_header in $config_headers :; do
   23818   case $_am_header in
   23819     $_am_arg | $_am_arg:* )
   23820       break ;;
   23821     * )
   23822       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23823   esac
   23824 done
   23825 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23826 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23827 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23828 	 X"$_am_arg" : 'X\(//\)$' \| \
   23829 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23830 printf "%s\n" X"$_am_arg" |
   23831     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23832 	    s//\1/
   23833 	    q
   23834 	  }
   23835 	  /^X\(\/\/\)[^/].*/{
   23836 	    s//\1/
   23837 	    q
   23838 	  }
   23839 	  /^X\(\/\/\)$/{
   23840 	    s//\1/
   23841 	    q
   23842 	  }
   23843 	  /^X\(\/\).*/{
   23844 	    s//\1/
   23845 	    q
   23846 	  }
   23847 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23848  ;;
   23849 
   23850   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   23851 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   23852  ;;
   23853   esac
   23854 
   23855 
   23856   case $ac_file$ac_mode in
   23857     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23858   # Older Autoconf quotes --file arguments for eval, but not when files
   23859   # are listed without --file.  Let's play safe and only enable the eval
   23860   # if we detect the quoting.
   23861   # TODO: see whether this extra hack can be removed once we start
   23862   # requiring Autoconf 2.70 or later.
   23863   case $CONFIG_FILES in #(
   23864   *\'*) :
   23865     eval set x "$CONFIG_FILES" ;; #(
   23866   *) :
   23867     set x $CONFIG_FILES ;; #(
   23868   *) :
   23869      ;;
   23870 esac
   23871   shift
   23872   # Used to flag and report bootstrapping failures.
   23873   am_rc=0
   23874   for am_mf
   23875   do
   23876     # Strip MF so we end up with the name of the file.
   23877     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23878     # Check whether this is an Automake generated Makefile which includes
   23879     # dependency-tracking related rules and includes.
   23880     # Grep'ing the whole file directly is not great: AIX grep has a line
   23881     # limit of 2048, but all sed's we know have understand at least 4000.
   23882     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23883       || continue
   23884     am_dirpart=`$as_dirname -- "$am_mf" ||
   23885 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23886 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23887 	 X"$am_mf" : 'X\(//\)$' \| \
   23888 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23889 printf "%s\n" X"$am_mf" |
   23890     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23891 	    s//\1/
   23892 	    q
   23893 	  }
   23894 	  /^X\(\/\/\)[^/].*/{
   23895 	    s//\1/
   23896 	    q
   23897 	  }
   23898 	  /^X\(\/\/\)$/{
   23899 	    s//\1/
   23900 	    q
   23901 	  }
   23902 	  /^X\(\/\).*/{
   23903 	    s//\1/
   23904 	    q
   23905 	  }
   23906 	  s/.*/./; q'`
   23907     am_filepart=`$as_basename -- "$am_mf" ||
   23908 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23909 	 X"$am_mf" : 'X\(//\)$' \| \
   23910 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23911 printf "%s\n" X/"$am_mf" |
   23912     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23913 	    s//\1/
   23914 	    q
   23915 	  }
   23916 	  /^X\/\(\/\/\)$/{
   23917 	    s//\1/
   23918 	    q
   23919 	  }
   23920 	  /^X\/\(\/\).*/{
   23921 	    s//\1/
   23922 	    q
   23923 	  }
   23924 	  s/.*/./; q'`
   23925     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23926       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23927         | $MAKE -f - am--depfiles" >&5
   23928    (cd "$am_dirpart" \
   23929       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23930         | $MAKE -f - am--depfiles) >&5 2>&5
   23931    ac_status=$?
   23932    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23933    (exit $ac_status); } || am_rc=$?
   23934   done
   23935   if test $am_rc -ne 0; then
   23936     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23937 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23938 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23939     for automatic dependency tracking.  If GNU make was not used, consider
   23940     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23941     necessary).  You can also try re-running configure with the
   23942     '--disable-dependency-tracking' option to at least be able to build
   23943     the package (albeit without support for automatic dependency tracking).
   23944 See \`config.log' for more details" "$LINENO" 5; }
   23945   fi
   23946   { am_dirpart=; unset am_dirpart;}
   23947   { am_filepart=; unset am_filepart;}
   23948   { am_mf=; unset am_mf;}
   23949   { am_rc=; unset am_rc;}
   23950   rm -f conftest-deps.mk
   23951 }
   23952  ;;
   23953     "libtool":C)
   23954 
   23955     # See if we are running on zsh, and set the options that allow our
   23956     # commands through without removal of \ escapes.
   23957     if test -n "${ZSH_VERSION+set}"; then
   23958       setopt NO_GLOB_SUBST
   23959     fi
   23960 
   23961     cfgfile=${ofile}T
   23962     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23963     $RM "$cfgfile"
   23964 
   23965     cat <<_LT_EOF >> "$cfgfile"
   23966 #! $SHELL
   23967 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   23969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23970 
   23971 # Provide generalized library-building support services.
   23972 # Written by Gordon Matzigkeit, 1996
   23973 
   23974 # Copyright (C) 2014 Free Software Foundation, Inc.
   23975 # This is free software; see the source for copying conditions.  There is NO
   23976 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23977 
   23978 # GNU Libtool is free software; you can redistribute it and/or modify
   23979 # it under the terms of the GNU General Public License as published by
   23980 # the Free Software Foundation; either version 2 of of the License, or
   23981 # (at your option) any later version.
   23982 #
   23983 # As a special exception to the GNU General Public License, if you
   23984 # distribute this file as part of a program or library that is built
   23985 # using GNU Libtool, you may include this file under the  same
   23986 # distribution terms that you use for the rest of that program.
   23987 #
   23988 # GNU Libtool is distributed in the hope that it will be useful, but
   23989 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23991 # GNU General Public License for more details.
   23992 #
   23993 # You should have received a copy of the GNU General Public License
   23994 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23995 
   23996 
   23997 # The names of the tagged configurations supported by this script.
   23998 available_tags=''
   23999 
   24000 # Configured defaults for sys_lib_dlsearch_path munging.
   24001 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   24002 
   24003 # ### BEGIN LIBTOOL CONFIG
   24004 
   24005 # Which release of libtool.m4 was used?
   24006 macro_version=$macro_version
   24007 macro_revision=$macro_revision
   24008 
   24009 # Assembler program.
   24010 AS=$lt_AS
   24011 
   24012 # DLL creation program.
   24013 DLLTOOL=$lt_DLLTOOL
   24014 
   24015 # Object dumper program.
   24016 OBJDUMP=$lt_OBJDUMP
   24017 
   24018 # Whether or not to build shared libraries.
   24019 build_libtool_libs=$enable_shared
   24020 
   24021 # Whether or not to build static libraries.
   24022 build_old_libs=$enable_static
   24023 
   24024 # What type of objects to build.
   24025 pic_mode=$pic_mode
   24026 
   24027 # Whether or not to optimize for fast installation.
   24028 fast_install=$enable_fast_install
   24029 
   24030 # Shared archive member basename,for filename based shared library versioning on AIX.
   24031 shared_archive_member_spec=$shared_archive_member_spec
   24032 
   24033 # Shell to use when invoking shell scripts.
   24034 SHELL=$lt_SHELL
   24035 
   24036 # An echo program that protects backslashes.
   24037 ECHO=$lt_ECHO
   24038 
   24039 # The PATH separator for the build system.
   24040 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   24041 
   24042 # The host system.
   24043 host_alias=$host_alias
   24044 host=$host
   24045 host_os=$host_os
   24046 
   24047 # The build system.
   24048 build_alias=$build_alias
   24049 build=$build
   24050 build_os=$build_os
   24051 
   24052 # A sed program that does not truncate output.
   24053 SED=$lt_SED
   24054 
   24055 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   24056 Xsed="\$SED -e 1s/^X//"
   24057 
   24058 # A grep program that handles long lines.
   24059 GREP=$lt_GREP
   24060 
   24061 # An ERE matcher.
   24062 EGREP=$lt_EGREP
   24063 
   24064 # A literal string matcher.
   24065 FGREP=$lt_FGREP
   24066 
   24067 # A BSD- or MS-compatible name lister.
   24068 NM=$lt_NM
   24069 
   24070 # Whether we need soft or hard links.
   24071 LN_S=$lt_LN_S
   24072 
   24073 # What is the maximum length of a command?
   24074 max_cmd_len=$max_cmd_len
   24075 
   24076 # Object file suffix (normally "o").
   24077 objext=$ac_objext
   24078 
   24079 # Executable file suffix (normally "").
   24080 exeext=$exeext
   24081 
   24082 # whether the shell understands "unset".
   24083 lt_unset=$lt_unset
   24084 
   24085 # turn spaces into newlines.
   24086 SP2NL=$lt_lt_SP2NL
   24087 
   24088 # turn newlines into spaces.
   24089 NL2SP=$lt_lt_NL2SP
   24090 
   24091 # convert \$build file names to \$host format.
   24092 to_host_file_cmd=$lt_cv_to_host_file_cmd
   24093 
   24094 # convert \$build files to toolchain format.
   24095 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   24096 
   24097 # Method to check whether dependent libraries are shared objects.
   24098 deplibs_check_method=$lt_deplibs_check_method
   24099 
   24100 # Command to use when deplibs_check_method = "file_magic".
   24101 file_magic_cmd=$lt_file_magic_cmd
   24102 
   24103 # How to find potential files when deplibs_check_method = "file_magic".
   24104 file_magic_glob=$lt_file_magic_glob
   24105 
   24106 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   24107 want_nocaseglob=$lt_want_nocaseglob
   24108 
   24109 # Command to associate shared and link libraries.
   24110 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   24111 
   24112 # The archiver.
   24113 AR=$lt_AR
   24114 
   24115 # Flags to create an archive.
   24116 AR_FLAGS=$lt_AR_FLAGS
   24117 
   24118 # How to feed a file listing to the archiver.
   24119 archiver_list_spec=$lt_archiver_list_spec
   24120 
   24121 # A symbol stripping program.
   24122 STRIP=$lt_STRIP
   24123 
   24124 # Commands used to install an old-style archive.
   24125 RANLIB=$lt_RANLIB
   24126 old_postinstall_cmds=$lt_old_postinstall_cmds
   24127 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   24128 
   24129 # Whether to use a lock for old archive extraction.
   24130 lock_old_archive_extraction=$lock_old_archive_extraction
   24131 
   24132 # A C compiler.
   24133 LTCC=$lt_CC
   24134 
   24135 # LTCC compiler flags.
   24136 LTCFLAGS=$lt_CFLAGS
   24137 
   24138 # Take the output of nm and produce a listing of raw symbols and C names.
   24139 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   24140 
   24141 # Transform the output of nm in a proper C declaration.
   24142 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   24143 
   24144 # Transform the output of nm into a list of symbols to manually relocate.
   24145 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   24146 
   24147 # Transform the output of nm in a C name address pair.
   24148 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   24149 
   24150 # Transform the output of nm in a C name address pair when lib prefix is needed.
   24151 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   24152 
   24153 # The name lister interface.
   24154 nm_interface=$lt_lt_cv_nm_interface
   24155 
   24156 # Specify filename containing input files for \$NM.
   24157 nm_file_list_spec=$lt_nm_file_list_spec
   24158 
   24159 # The root where to search for dependent libraries,and where our libraries should be installed.
   24160 lt_sysroot=$lt_sysroot
   24161 
   24162 # Command to truncate a binary pipe.
   24163 lt_truncate_bin=$lt_lt_cv_truncate_bin
   24164 
   24165 # The name of the directory that contains temporary libtool files.
   24166 objdir=$objdir
   24167 
   24168 # Used to examine libraries when file_magic_cmd begins with "file".
   24169 MAGIC_CMD=$MAGIC_CMD
   24170 
   24171 # Must we lock files when doing compilation?
   24172 need_locks=$lt_need_locks
   24173 
   24174 # Manifest tool.
   24175 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   24176 
   24177 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   24178 DSYMUTIL=$lt_DSYMUTIL
   24179 
   24180 # Tool to change global to local symbols on Mac OS X.
   24181 NMEDIT=$lt_NMEDIT
   24182 
   24183 # Tool to manipulate fat objects and archives on Mac OS X.
   24184 LIPO=$lt_LIPO
   24185 
   24186 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   24187 OTOOL=$lt_OTOOL
   24188 
   24189 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   24190 OTOOL64=$lt_OTOOL64
   24191 
   24192 # Old archive suffix (normally "a").
   24193 libext=$libext
   24194 
   24195 # Shared library suffix (normally ".so").
   24196 shrext_cmds=$lt_shrext_cmds
   24197 
   24198 # The commands to extract the exported symbol list from a shared archive.
   24199 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   24200 
   24201 # Variables whose values should be saved in libtool wrapper scripts and
   24202 # restored at link time.
   24203 variables_saved_for_relink=$lt_variables_saved_for_relink
   24204 
   24205 # Do we need the "lib" prefix for modules?
   24206 need_lib_prefix=$need_lib_prefix
   24207 
   24208 # Do we need a version for libraries?
   24209 need_version=$need_version
   24210 
   24211 # Library versioning type.
   24212 version_type=$version_type
   24213 
   24214 # Shared library runtime path variable.
   24215 runpath_var=$runpath_var
   24216 
   24217 # Shared library path variable.
   24218 shlibpath_var=$shlibpath_var
   24219 
   24220 # Is shlibpath searched before the hard-coded library search path?
   24221 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   24222 
   24223 # Format of library name prefix.
   24224 libname_spec=$lt_libname_spec
   24225 
   24226 # List of archive names.  First name is the real one, the rest are links.
   24227 # The last name is the one that the linker finds with -lNAME
   24228 library_names_spec=$lt_library_names_spec
   24229 
   24230 # The coded name of the library, if different from the real name.
   24231 soname_spec=$lt_soname_spec
   24232 
   24233 # Permission mode override for installation of shared libraries.
   24234 install_override_mode=$lt_install_override_mode
   24235 
   24236 # Command to use after installation of a shared archive.
   24237 postinstall_cmds=$lt_postinstall_cmds
   24238 
   24239 # Command to use after uninstallation of a shared archive.
   24240 postuninstall_cmds=$lt_postuninstall_cmds
   24241 
   24242 # Commands used to finish a libtool library installation in a directory.
   24243 finish_cmds=$lt_finish_cmds
   24244 
   24245 # As "finish_cmds", except a single script fragment to be evaled but
   24246 # not shown.
   24247 finish_eval=$lt_finish_eval
   24248 
   24249 # Whether we should hardcode library paths into libraries.
   24250 hardcode_into_libs=$hardcode_into_libs
   24251 
   24252 # Compile-time system search path for libraries.
   24253 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   24254 
   24255 # Detected run-time system search path for libraries.
   24256 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   24257 
   24258 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   24259 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   24260 
   24261 # Whether dlopen is supported.
   24262 dlopen_support=$enable_dlopen
   24263 
   24264 # Whether dlopen of programs is supported.
   24265 dlopen_self=$enable_dlopen_self
   24266 
   24267 # Whether dlopen of statically linked programs is supported.
   24268 dlopen_self_static=$enable_dlopen_self_static
   24269 
   24270 # Commands to strip libraries.
   24271 old_striplib=$lt_old_striplib
   24272 striplib=$lt_striplib
   24273 
   24274 
   24275 # The linker used to build libraries.
   24276 LD=$lt_LD
   24277 
   24278 # How to create reloadable object files.
   24279 reload_flag=$lt_reload_flag
   24280 reload_cmds=$lt_reload_cmds
   24281 
   24282 # Commands used to build an old-style archive.
   24283 old_archive_cmds=$lt_old_archive_cmds
   24284 
   24285 # A language specific compiler.
   24286 CC=$lt_compiler
   24287 
   24288 # Is the compiler the GNU compiler?
   24289 with_gcc=$GCC
   24290 
   24291 # Compiler flag to turn off builtin functions.
   24292 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   24293 
   24294 # Additional compiler flags for building library objects.
   24295 pic_flag=$lt_lt_prog_compiler_pic
   24296 
   24297 # How to pass a linker flag through the compiler.
   24298 wl=$lt_lt_prog_compiler_wl
   24299 
   24300 # Compiler flag to prevent dynamic linking.
   24301 link_static_flag=$lt_lt_prog_compiler_static
   24302 
   24303 # Does compiler simultaneously support -c and -o options?
   24304 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   24305 
   24306 # Whether or not to add -lc for building shared libraries.
   24307 build_libtool_need_lc=$archive_cmds_need_lc
   24308 
   24309 # Whether or not to disallow shared libs when runtime libs are static.
   24310 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   24311 
   24312 # Compiler flag to allow reflexive dlopens.
   24313 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   24314 
   24315 # Compiler flag to generate shared objects directly from archives.
   24316 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   24317 
   24318 # Whether the compiler copes with passing no objects directly.
   24319 compiler_needs_object=$lt_compiler_needs_object
   24320 
   24321 # Create an old-style archive from a shared archive.
   24322 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   24323 
   24324 # Create a temporary old-style archive to link instead of a shared archive.
   24325 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   24326 
   24327 # Commands used to build a shared archive.
   24328 archive_cmds=$lt_archive_cmds
   24329 archive_expsym_cmds=$lt_archive_expsym_cmds
   24330 
   24331 # Commands used to build a loadable module if different from building
   24332 # a shared archive.
   24333 module_cmds=$lt_module_cmds
   24334 module_expsym_cmds=$lt_module_expsym_cmds
   24335 
   24336 # Whether we are building with GNU ld or not.
   24337 with_gnu_ld=$lt_with_gnu_ld
   24338 
   24339 # Flag that allows shared libraries with undefined symbols to be built.
   24340 allow_undefined_flag=$lt_allow_undefined_flag
   24341 
   24342 # Flag that enforces no undefined symbols.
   24343 no_undefined_flag=$lt_no_undefined_flag
   24344 
   24345 # Flag to hardcode \$libdir into a binary during linking.
   24346 # This must work even if \$libdir does not exist
   24347 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   24348 
   24349 # Whether we need a single "-rpath" flag with a separated argument.
   24350 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   24351 
   24352 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24353 # DIR into the resulting binary.
   24354 hardcode_direct=$hardcode_direct
   24355 
   24356 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24357 # DIR into the resulting binary and the resulting library dependency is
   24358 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   24359 # library is relocated.
   24360 hardcode_direct_absolute=$hardcode_direct_absolute
   24361 
   24362 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   24363 # into the resulting binary.
   24364 hardcode_minus_L=$hardcode_minus_L
   24365 
   24366 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   24367 # into the resulting binary.
   24368 hardcode_shlibpath_var=$hardcode_shlibpath_var
   24369 
   24370 # Set to "yes" if building a shared library automatically hardcodes DIR
   24371 # into the library and all subsequent libraries and executables linked
   24372 # against it.
   24373 hardcode_automatic=$hardcode_automatic
   24374 
   24375 # Set to yes if linker adds runtime paths of dependent libraries
   24376 # to runtime path list.
   24377 inherit_rpath=$inherit_rpath
   24378 
   24379 # Whether libtool must link a program against all its dependency libraries.
   24380 link_all_deplibs=$link_all_deplibs
   24381 
   24382 # Set to "yes" if exported symbols are required.
   24383 always_export_symbols=$always_export_symbols
   24384 
   24385 # The commands to list exported symbols.
   24386 export_symbols_cmds=$lt_export_symbols_cmds
   24387 
   24388 # Symbols that should not be listed in the preloaded symbols.
   24389 exclude_expsyms=$lt_exclude_expsyms
   24390 
   24391 # Symbols that must always be exported.
   24392 include_expsyms=$lt_include_expsyms
   24393 
   24394 # Commands necessary for linking programs (against libraries) with templates.
   24395 prelink_cmds=$lt_prelink_cmds
   24396 
   24397 # Commands necessary for finishing linking programs.
   24398 postlink_cmds=$lt_postlink_cmds
   24399 
   24400 # Specify filename containing input files.
   24401 file_list_spec=$lt_file_list_spec
   24402 
   24403 # How to hardcode a shared library path into an executable.
   24404 hardcode_action=$hardcode_action
   24405 
   24406 # ### END LIBTOOL CONFIG
   24407 
   24408 _LT_EOF
   24409 
   24410     cat <<'_LT_EOF' >> "$cfgfile"
   24411 
   24412 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   24413 
   24414 # func_munge_path_list VARIABLE PATH
   24415 # -----------------------------------
   24416 # VARIABLE is name of variable containing _space_ separated list of
   24417 # directories to be munged by the contents of PATH, which is string
   24418 # having a format:
   24419 # "DIR[:DIR]:"
   24420 #       string "DIR[ DIR]" will be prepended to VARIABLE
   24421 # ":DIR[:DIR]"
   24422 #       string "DIR[ DIR]" will be appended to VARIABLE
   24423 # "DIRP[:DIRP]::[DIRA:]DIRA"
   24424 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   24425 #       "DIRA[ DIRA]" will be appended to VARIABLE
   24426 # "DIR[:DIR]"
   24427 #       VARIABLE will be replaced by "DIR[ DIR]"
   24428 func_munge_path_list ()
   24429 {
   24430     case x$2 in
   24431     x)
   24432         ;;
   24433     *:)
   24434         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   24435         ;;
   24436     x:*)
   24437         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   24438         ;;
   24439     *::*)
   24440         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   24441         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   24442         ;;
   24443     *)
   24444         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   24445         ;;
   24446     esac
   24447 }
   24448 
   24449 
   24450 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   24451 func_cc_basename ()
   24452 {
   24453     for cc_temp in $*""; do
   24454       case $cc_temp in
   24455         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   24456         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   24457         \-*) ;;
   24458         *) break;;
   24459       esac
   24460     done
   24461     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   24462 }
   24463 
   24464 
   24465 # ### END FUNCTIONS SHARED WITH CONFIGURE
   24466 
   24467 _LT_EOF
   24468 
   24469   case $host_os in
   24470   aix3*)
   24471     cat <<\_LT_EOF >> "$cfgfile"
   24472 # AIX sometimes has problems with the GCC collect2 program.  For some
   24473 # reason, if we set the COLLECT_NAMES environment variable, the problems
   24474 # vanish in a puff of smoke.
   24475 if test set != "${COLLECT_NAMES+set}"; then
   24476   COLLECT_NAMES=
   24477   export COLLECT_NAMES
   24478 fi
   24479 _LT_EOF
   24480     ;;
   24481   esac
   24482 
   24483 
   24484 
   24485 ltmain=$ac_aux_dir/ltmain.sh
   24486 
   24487 
   24488   # We use sed instead of cat because bash on DJGPP gets confused if
   24489   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   24490   # text mode, it properly converts lines to CR/LF.  This bash problem
   24491   # is reportedly fixed, but why not run on old versions too?
   24492   sed '$q' "$ltmain" >> "$cfgfile" \
   24493      || (rm -f "$cfgfile"; exit 1)
   24494 
   24495    mv -f "$cfgfile" "$ofile" ||
   24496     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   24497   chmod +x "$ofile"
   24498 
   24499  ;;
   24500 
   24501   esac
   24502 done # for ac_tag
   24503 
   24504 
   24505 as_fn_exit 0
   24506 _ACEOF
   24507 ac_clean_files=$ac_clean_files_save
   24508 
   24509 test $ac_write_fail = 0 ||
   24510   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   24511 
   24512 
   24513 # configure is writing to config.log, and then calls config.status.
   24514 # config.status does its own redirection, appending to config.log.
   24515 # Unfortunately, on DOS this fails, as config.log is still kept open
   24516 # by configure, so config.status won't be able to write to it; its
   24517 # output is simply discarded.  So we exec the FD to /dev/null,
   24518 # effectively closing config.log, so it can be properly (re)opened and
   24519 # appended to by config.status.  When coming back to configure, we
   24520 # need to make the FD available again.
   24521 if test "$no_create" != yes; then
   24522   ac_cs_success=:
   24523   ac_config_status_args=
   24524   test "$silent" = yes &&
   24525     ac_config_status_args="$ac_config_status_args --quiet"
   24526   exec 5>/dev/null
   24527   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24528   exec 5>>config.log
   24529   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24530   # would make configure fail if this is the last instruction.
   24531   $ac_cs_success || as_fn_exit 1
   24532 fi
   24533 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24535 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24536 fi
   24537 
   24538 
   24539 
   24540 echo ""
   24541 echo "  Package: ${PACKAGE_NAME} ${PACKAGE_VERSION}"
   24542 echo ""
   24543 echo "  Configuration"
   24544 echo "    XDM support.........: ${have_xdmcp}"
   24545 echo "    sendmsg fd passing..: ${have_sendmsg}"
   24546 echo "    Build unit tests....: ${HAVE_CHECK}"
   24547 echo "      with html results.: ${HTML_CHECK_RESULT}"
   24548 echo "    XCB buffer size.....: ${xcb_queue_buffer_size}"
   24549 echo ""
   24550 echo "  X11 extensions"
   24551 echo "    Composite...........: ${BUILD_COMPOSITE}"
   24552 echo "    Damage..............: ${BUILD_DAMAGE}"
   24553 echo "    Dpms................: ${BUILD_DPMS}"
   24554 echo "    Dri2................: ${BUILD_DRI2}"
   24555 echo "    Dri3................: ${BUILD_DRI3}"
   24556 echo "    GenericEvent........: ${BUILD_GE}"
   24557 echo "    Glx.................: ${BUILD_GLX}"
   24558 echo "    Randr...............: ${BUILD_RANDR}"
   24559 echo "    Record..............: ${BUILD_RECORD}"
   24560 echo "    Render..............: ${BUILD_RENDER}"
   24561 echo "    Resource............: ${BUILD_RESOURCE}"
   24562 echo "    Screensaver.........: ${BUILD_SCREENSAVER}"
   24563 echo "    selinux.............: ${BUILD_SELINUX}"
   24564 echo "    Shape...............: ${BUILD_SHAPE}"
   24565 echo "    Shm.................: ${BUILD_SHM}"
   24566 echo "    Sync................: ${BUILD_SYNC}"
   24567 echo "    Xevie...............: ${BUILD_XEVIE}"
   24568 echo "    Xfixes..............: ${BUILD_XFIXES}"
   24569 echo "    Xfree86-dri.........: ${BUILD_XFREE86_DRI}"
   24570 echo "    xinerama............: ${BUILD_XINERAMA}"
   24571 echo "    xinput..............: ${BUILD_XINPUT}"
   24572 echo "    xkb.................: ${BUILD_XKB}"
   24573 echo "    xprint..............: ${BUILD_XPRINT}"
   24574 echo "    xtest...............: ${BUILD_XTEST}"
   24575 echo "    xv..................: ${BUILD_XV}"
   24576 echo "    xvmc................: ${BUILD_XVMC}"
   24577 echo ""
   24578 echo "  Used CFLAGS:"
   24579 echo "    CPPFLAGS............: ${CPPFLAGS}"
   24580 echo "    CFLAGS..............: ${CFLAGS}"
   24581 echo ""
   24582 echo "  Installation:"
   24583 echo "    Prefix..............: ${prefix}"
   24584 echo ""
   24585 
   24586