Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xwud 1.0.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/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 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/xwud/issues
    272 $0: about your system, including any error possibly output
    273 $0: before this message. Then install a modern shell, or
    274 $0: manually run the script under such a shell if you do
    275 $0: have one."
    276   fi
    277   exit 1
    278 fi
    279 fi
    280 fi
    281 SHELL=${CONFIG_SHELL-/bin/sh}
    282 export SHELL
    283 # Unset more variables known to interfere with behavior of common tools.
    284 CLICOLOR_FORCE= GREP_OPTIONS=
    285 unset CLICOLOR_FORCE GREP_OPTIONS
    286 
    287 ## --------------------- ##
    288 ## M4sh Shell Functions. ##
    289 ## --------------------- ##
    290 # as_fn_unset VAR
    291 # ---------------
    292 # Portably unset VAR.
    293 as_fn_unset ()
    294 {
    295   { eval $1=; unset $1;}
    296 }
    297 as_unset=as_fn_unset
    298 
    299 
    300 # as_fn_set_status STATUS
    301 # -----------------------
    302 # Set $? to STATUS, without forking.
    303 as_fn_set_status ()
    304 {
    305   return $1
    306 } # as_fn_set_status
    307 
    308 # as_fn_exit STATUS
    309 # -----------------
    310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    311 as_fn_exit ()
    312 {
    313   set +e
    314   as_fn_set_status $1
    315   exit $1
    316 } # as_fn_exit
    317 # as_fn_nop
    318 # ---------
    319 # Do nothing but, unlike ":", preserve the value of $?.
    320 as_fn_nop ()
    321 {
    322   return $?
    323 }
    324 as_nop=as_fn_nop
    325 
    326 # as_fn_mkdir_p
    327 # -------------
    328 # Create "$as_dir" as a directory, including parents if necessary.
    329 as_fn_mkdir_p ()
    330 {
    331 
    332   case $as_dir in #(
    333   -*) as_dir=./$as_dir;;
    334   esac
    335   test -d "$as_dir" || eval $as_mkdir_p || {
    336     as_dirs=
    337     while :; do
    338       case $as_dir in #(
    339       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    340       *) as_qdir=$as_dir;;
    341       esac
    342       as_dirs="'$as_qdir' $as_dirs"
    343       as_dir=`$as_dirname -- "$as_dir" ||
    344 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    345 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    346 	 X"$as_dir" : 'X\(//\)$' \| \
    347 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    348 printf "%s\n" X"$as_dir" |
    349     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)[^/].*/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\).*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  s/.*/./; q'`
    366       test -d "$as_dir" && break
    367     done
    368     test -z "$as_dirs" || eval "mkdir $as_dirs"
    369   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    370 
    371 
    372 } # as_fn_mkdir_p
    373 
    374 # as_fn_executable_p FILE
    375 # -----------------------
    376 # Test if FILE is an executable regular file.
    377 as_fn_executable_p ()
    378 {
    379   test -f "$1" && test -x "$1"
    380 } # as_fn_executable_p
    381 # as_fn_append VAR VALUE
    382 # ----------------------
    383 # Append the text in VALUE to the end of the definition contained in VAR. Take
    384 # advantage of any shell optimizations that allow amortized linear growth over
    385 # repeated appends, instead of the typical quadratic growth present in naive
    386 # implementations.
    387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    388 then :
    389   eval 'as_fn_append ()
    390   {
    391     eval $1+=\$2
    392   }'
    393 else $as_nop
    394   as_fn_append ()
    395   {
    396     eval $1=\$$1\$2
    397   }
    398 fi # as_fn_append
    399 
    400 # as_fn_arith ARG...
    401 # ------------------
    402 # Perform arithmetic evaluation on the ARGs, and store the result in the
    403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    404 # must be portable across $(()) and expr.
    405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    406 then :
    407   eval 'as_fn_arith ()
    408   {
    409     as_val=$(( $* ))
    410   }'
    411 else $as_nop
    412   as_fn_arith ()
    413   {
    414     as_val=`expr "$@" || test $? -eq 1`
    415   }
    416 fi # as_fn_arith
    417 
    418 # as_fn_nop
    419 # ---------
    420 # Do nothing but, unlike ":", preserve the value of $?.
    421 as_fn_nop ()
    422 {
    423   return $?
    424 }
    425 as_nop=as_fn_nop
    426 
    427 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    428 # ----------------------------------------
    429 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    430 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    431 # script with STATUS, using 1 if that was 0.
    432 as_fn_error ()
    433 {
    434   as_status=$1; test $as_status -eq 0 && as_status=1
    435   if test "$4"; then
    436     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    438   fi
    439   printf "%s\n" "$as_me: error: $2" >&2
    440   as_fn_exit $as_status
    441 } # as_fn_error
    442 
    443 if expr a : '\(a\)' >/dev/null 2>&1 &&
    444    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    445   as_expr=expr
    446 else
    447   as_expr=false
    448 fi
    449 
    450 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    451   as_basename=basename
    452 else
    453   as_basename=false
    454 fi
    455 
    456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    457   as_dirname=dirname
    458 else
    459   as_dirname=false
    460 fi
    461 
    462 as_me=`$as_basename -- "$0" ||
    463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    464 	 X"$0" : 'X\(//\)$' \| \
    465 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    466 printf "%s\n" X/"$0" |
    467     sed '/^.*\/\([^/][^/]*\)\/*$/{
    468 	    s//\1/
    469 	    q
    470 	  }
    471 	  /^X\/\(\/\/\)$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\).*/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  s/.*/./; q'`
    480 
    481 # Avoid depending upon Character Ranges.
    482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    485 as_cr_digits='0123456789'
    486 as_cr_alnum=$as_cr_Letters$as_cr_digits
    487 
    488 
    489   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    490   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    491   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    492   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    493   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    494   sed -n '
    495     p
    496     /[$]LINENO/=
    497   ' <$as_myself |
    498     sed '
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 
    548 rm -f conf$$ conf$$.exe conf$$.file
    549 if test -d conf$$.dir; then
    550   rm -f conf$$.dir/conf$$.file
    551 else
    552   rm -f conf$$.dir
    553   mkdir conf$$.dir 2>/dev/null
    554 fi
    555 if (echo >conf$$.file) 2>/dev/null; then
    556   if ln -s conf$$.file conf$$ 2>/dev/null; then
    557     as_ln_s='ln -s'
    558     # ... but there are two gotchas:
    559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    561     # In both cases, we have to default to `cp -pR'.
    562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    563       as_ln_s='cp -pR'
    564   elif ln conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s=ln
    566   else
    567     as_ln_s='cp -pR'
    568   fi
    569 else
    570   as_ln_s='cp -pR'
    571 fi
    572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    573 rmdir conf$$.dir 2>/dev/null
    574 
    575 if mkdir -p . 2>/dev/null; then
    576   as_mkdir_p='mkdir -p "$as_dir"'
    577 else
    578   test -d ./-p && rmdir ./-p
    579   as_mkdir_p=false
    580 fi
    581 
    582 as_test_x='test -x'
    583 as_executable_p=as_fn_executable_p
    584 
    585 # Sed expression to map a string onto a valid CPP name.
    586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    590 
    591 
    592 test -n "$DJDIR" || exec 7<&0 </dev/null
    593 exec 6>&1
    594 
    595 # Name of the host.
    596 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    597 # so uname gets run too.
    598 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    599 
    600 #
    601 # Initializations.
    602 #
    603 ac_default_prefix=/usr/local
    604 ac_clean_files=
    605 ac_config_libobj_dir=.
    606 LIBOBJS=
    607 cross_compiling=no
    608 subdirs=
    609 MFLAGS=
    610 MAKEFLAGS=
    611 
    612 # Identity of this package.
    613 PACKAGE_NAME='xwud'
    614 PACKAGE_TARNAME='xwud'
    615 PACKAGE_VERSION='1.0.6'
    616 PACKAGE_STRING='xwud 1.0.6'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xwud/issues'
    618 PACKAGE_URL=''
    619 
    620 ac_unique_file="Makefile.am"
    621 # Factoring default headers for most tests.
    622 ac_includes_default="\
    623 #include <stddef.h>
    624 #ifdef HAVE_STDIO_H
    625 # include <stdio.h>
    626 #endif
    627 #ifdef HAVE_STDLIB_H
    628 # include <stdlib.h>
    629 #endif
    630 #ifdef HAVE_STRING_H
    631 # include <string.h>
    632 #endif
    633 #ifdef HAVE_INTTYPES_H
    634 # include <inttypes.h>
    635 #endif
    636 #ifdef HAVE_STDINT_H
    637 # include <stdint.h>
    638 #endif
    639 #ifdef HAVE_STRINGS_H
    640 # include <strings.h>
    641 #endif
    642 #ifdef HAVE_SYS_TYPES_H
    643 # include <sys/types.h>
    644 #endif
    645 #ifdef HAVE_SYS_STAT_H
    646 # include <sys/stat.h>
    647 #endif
    648 #ifdef HAVE_UNISTD_H
    649 # include <unistd.h>
    650 #endif"
    651 
    652 ac_header_c_list=
    653 ac_subst_vars='am__EXEEXT_FALSE
    654 am__EXEEXT_TRUE
    655 LTLIBOBJS
    656 LIBOBJS
    657 XWUD_LIBS
    658 XWUD_CFLAGS
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 CSCOPE
    711 ETAGS
    712 CTAGS
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_silent_rules
    780 enable_dependency_tracking
    781 enable_selective_werror
    782 enable_strict_compilation
    783 '
    784       ac_precious_vars='build_alias
    785 host_alias
    786 target_alias
    787 CC
    788 CFLAGS
    789 LDFLAGS
    790 LIBS
    791 CPPFLAGS
    792 PKG_CONFIG
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG_LIBDIR
    795 XWUD_CFLAGS
    796 XWUD_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 \`configure' configures xwud 1.0.6 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print \`checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for \`--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, \`make install' will install all the files in
   1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1374 for instance \`--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/xwud]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of xwud 1.0.6:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   XWUD_CFLAGS C compiler flags for XWUD, overriding pkg-config
   1451   XWUD_LIBS   linker flags for XWUD, overriding pkg-config
   1452 
   1453 Use these variables to override the choices made by `configure' or to help
   1454 it to find libraries and programs with nonstandard names/locations.
   1455 
   1456 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/issues>.
   1457 _ACEOF
   1458 ac_status=$?
   1459 fi
   1460 
   1461 if test "$ac_init_help" = "recursive"; then
   1462   # If there are subdirs, report their specific --help.
   1463   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1464     test -d "$ac_dir" ||
   1465       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1466       continue
   1467     ac_builddir=.
   1468 
   1469 case "$ac_dir" in
   1470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1471 *)
   1472   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1473   # A ".." for each directory in $ac_dir_suffix.
   1474   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1475   case $ac_top_builddir_sub in
   1476   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1477   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1478   esac ;;
   1479 esac
   1480 ac_abs_top_builddir=$ac_pwd
   1481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1482 # for backward compatibility:
   1483 ac_top_builddir=$ac_top_build_prefix
   1484 
   1485 case $srcdir in
   1486   .)  # We are building in place.
   1487     ac_srcdir=.
   1488     ac_top_srcdir=$ac_top_builddir_sub
   1489     ac_abs_top_srcdir=$ac_pwd ;;
   1490   [\\/]* | ?:[\\/]* )  # Absolute name.
   1491     ac_srcdir=$srcdir$ac_dir_suffix;
   1492     ac_top_srcdir=$srcdir
   1493     ac_abs_top_srcdir=$srcdir ;;
   1494   *) # Relative name.
   1495     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1496     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1497     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1498 esac
   1499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1500 
   1501     cd "$ac_dir" || { ac_status=$?; continue; }
   1502     # Check for configure.gnu first; this name is used for a wrapper for
   1503     # Metaconfig's "Configure" on case-insensitive file systems.
   1504     if test -f "$ac_srcdir/configure.gnu"; then
   1505       echo &&
   1506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1507     elif test -f "$ac_srcdir/configure"; then
   1508       echo &&
   1509       $SHELL "$ac_srcdir/configure" --help=recursive
   1510     else
   1511       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1512     fi || ac_status=$?
   1513     cd "$ac_pwd" || { ac_status=$?; break; }
   1514   done
   1515 fi
   1516 
   1517 test -n "$ac_init_help" && exit $ac_status
   1518 if $ac_init_version; then
   1519   cat <<\_ACEOF
   1520 xwud configure 1.0.6
   1521 generated by GNU Autoconf 2.71
   1522 
   1523 Copyright (C) 2021 Free Software Foundation, Inc.
   1524 This configure script is free software; the Free Software Foundation
   1525 gives unlimited permission to copy, distribute and modify it.
   1526 _ACEOF
   1527   exit
   1528 fi
   1529 
   1530 ## ------------------------ ##
   1531 ## Autoconf initialization. ##
   1532 ## ------------------------ ##
   1533 
   1534 # ac_fn_c_try_compile LINENO
   1535 # --------------------------
   1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1537 ac_fn_c_try_compile ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   rm -f conftest.$ac_objext conftest.beam
   1541   if { { ac_try="$ac_compile"
   1542 case "(($ac_try" in
   1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1544   *) ac_try_echo=$ac_try;;
   1545 esac
   1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1547 printf "%s\n" "$ac_try_echo"; } >&5
   1548   (eval "$ac_compile") 2>conftest.err
   1549   ac_status=$?
   1550   if test -s conftest.err; then
   1551     grep -v '^ *+' conftest.err >conftest.er1
   1552     cat conftest.er1 >&5
   1553     mv -f conftest.er1 conftest.err
   1554   fi
   1555   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1556   test $ac_status = 0; } && {
   1557 	 test -z "$ac_c_werror_flag" ||
   1558 	 test ! -s conftest.err
   1559        } && test -s conftest.$ac_objext
   1560 then :
   1561   ac_retval=0
   1562 else $as_nop
   1563   printf "%s\n" "$as_me: failed program was:" >&5
   1564 sed 's/^/| /' conftest.$ac_ext >&5
   1565 
   1566 	ac_retval=1
   1567 fi
   1568   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1569   as_fn_set_status $ac_retval
   1570 
   1571 } # ac_fn_c_try_compile
   1572 
   1573 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1574 # ------------------------------------------------------------------
   1575 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1576 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1577 ac_fn_check_decl ()
   1578 {
   1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1580   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1582 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1583 if eval test \${$3+y}
   1584 then :
   1585   printf %s "(cached) " >&6
   1586 else $as_nop
   1587   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1588   eval ac_save_FLAGS=\$$6
   1589   as_fn_append $6 " $5"
   1590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1591 /* end confdefs.h.  */
   1592 $4
   1593 int
   1594 main (void)
   1595 {
   1596 #ifndef $as_decl_name
   1597 #ifdef __cplusplus
   1598   (void) $as_decl_use;
   1599 #else
   1600   (void) $as_decl_name;
   1601 #endif
   1602 #endif
   1603 
   1604   ;
   1605   return 0;
   1606 }
   1607 _ACEOF
   1608 if ac_fn_c_try_compile "$LINENO"
   1609 then :
   1610   eval "$3=yes"
   1611 else $as_nop
   1612   eval "$3=no"
   1613 fi
   1614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1615   eval $6=\$ac_save_FLAGS
   1616 
   1617 fi
   1618 eval ac_res=\$$3
   1619 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1620 printf "%s\n" "$ac_res" >&6; }
   1621   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1622 
   1623 } # ac_fn_check_decl
   1624 
   1625 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1626 # -------------------------------------------------------
   1627 # Tests whether HEADER exists and can be compiled using the include files in
   1628 # INCLUDES, setting the cache variable VAR accordingly.
   1629 ac_fn_c_check_header_compile ()
   1630 {
   1631   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1633 printf %s "checking for $2... " >&6; }
   1634 if eval test \${$3+y}
   1635 then :
   1636   printf %s "(cached) " >&6
   1637 else $as_nop
   1638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1639 /* end confdefs.h.  */
   1640 $4
   1641 #include <$2>
   1642 _ACEOF
   1643 if ac_fn_c_try_compile "$LINENO"
   1644 then :
   1645   eval "$3=yes"
   1646 else $as_nop
   1647   eval "$3=no"
   1648 fi
   1649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1650 fi
   1651 eval ac_res=\$$3
   1652 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1653 printf "%s\n" "$ac_res" >&6; }
   1654   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1655 
   1656 } # ac_fn_c_check_header_compile
   1657 
   1658 # ac_fn_c_try_link LINENO
   1659 # -----------------------
   1660 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1661 ac_fn_c_try_link ()
   1662 {
   1663   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1664   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1665   if { { ac_try="$ac_link"
   1666 case "(($ac_try" in
   1667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1668   *) ac_try_echo=$ac_try;;
   1669 esac
   1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1671 printf "%s\n" "$ac_try_echo"; } >&5
   1672   (eval "$ac_link") 2>conftest.err
   1673   ac_status=$?
   1674   if test -s conftest.err; then
   1675     grep -v '^ *+' conftest.err >conftest.er1
   1676     cat conftest.er1 >&5
   1677     mv -f conftest.er1 conftest.err
   1678   fi
   1679   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1680   test $ac_status = 0; } && {
   1681 	 test -z "$ac_c_werror_flag" ||
   1682 	 test ! -s conftest.err
   1683        } && test -s conftest$ac_exeext && {
   1684 	 test "$cross_compiling" = yes ||
   1685 	 test -x conftest$ac_exeext
   1686        }
   1687 then :
   1688   ac_retval=0
   1689 else $as_nop
   1690   printf "%s\n" "$as_me: failed program was:" >&5
   1691 sed 's/^/| /' conftest.$ac_ext >&5
   1692 
   1693 	ac_retval=1
   1694 fi
   1695   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1696   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1697   # interfere with the next link command; also delete a directory that is
   1698   # left behind by Apple's compiler.  We do this before executing the actions.
   1699   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1700   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1701   as_fn_set_status $ac_retval
   1702 
   1703 } # ac_fn_c_try_link
   1704 ac_configure_args_raw=
   1705 for ac_arg
   1706 do
   1707   case $ac_arg in
   1708   *\'*)
   1709     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1710   esac
   1711   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1712 done
   1713 
   1714 case $ac_configure_args_raw in
   1715   *$as_nl*)
   1716     ac_safe_unquote= ;;
   1717   *)
   1718     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1719     ac_unsafe_a="$ac_unsafe_z#~"
   1720     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1721     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1722 esac
   1723 
   1724 cat >config.log <<_ACEOF
   1725 This file contains any messages produced by compilers while
   1726 running configure, to aid debugging if configure makes a mistake.
   1727 
   1728 It was created by xwud $as_me 1.0.6, which was
   1729 generated by GNU Autoconf 2.71.  Invocation command line was
   1730 
   1731   $ $0$ac_configure_args_raw
   1732 
   1733 _ACEOF
   1734 exec 5>>config.log
   1735 {
   1736 cat <<_ASUNAME
   1737 ## --------- ##
   1738 ## Platform. ##
   1739 ## --------- ##
   1740 
   1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1746 
   1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1748 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1749 
   1750 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1751 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1753 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1754 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1755 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1756 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1757 
   1758 _ASUNAME
   1759 
   1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1761 for as_dir in $PATH
   1762 do
   1763   IFS=$as_save_IFS
   1764   case $as_dir in #(((
   1765     '') as_dir=./ ;;
   1766     */) ;;
   1767     *) as_dir=$as_dir/ ;;
   1768   esac
   1769     printf "%s\n" "PATH: $as_dir"
   1770   done
   1771 IFS=$as_save_IFS
   1772 
   1773 } >&5
   1774 
   1775 cat >&5 <<_ACEOF
   1776 
   1777 
   1778 ## ----------- ##
   1779 ## Core tests. ##
   1780 ## ----------- ##
   1781 
   1782 _ACEOF
   1783 
   1784 
   1785 # Keep a trace of the command line.
   1786 # Strip out --no-create and --no-recursion so they do not pile up.
   1787 # Strip out --silent because we don't want to record it for future runs.
   1788 # Also quote any args containing shell meta-characters.
   1789 # Make two passes to allow for proper duplicate-argument suppression.
   1790 ac_configure_args=
   1791 ac_configure_args0=
   1792 ac_configure_args1=
   1793 ac_must_keep_next=false
   1794 for ac_pass in 1 2
   1795 do
   1796   for ac_arg
   1797   do
   1798     case $ac_arg in
   1799     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1800     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1801     | -silent | --silent | --silen | --sile | --sil)
   1802       continue ;;
   1803     *\'*)
   1804       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1805     esac
   1806     case $ac_pass in
   1807     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1808     2)
   1809       as_fn_append ac_configure_args1 " '$ac_arg'"
   1810       if test $ac_must_keep_next = true; then
   1811 	ac_must_keep_next=false # Got value, back to normal.
   1812       else
   1813 	case $ac_arg in
   1814 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1815 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1816 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1817 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1818 	    case "$ac_configure_args0 " in
   1819 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1820 	    esac
   1821 	    ;;
   1822 	  -* ) ac_must_keep_next=true ;;
   1823 	esac
   1824       fi
   1825       as_fn_append ac_configure_args " '$ac_arg'"
   1826       ;;
   1827     esac
   1828   done
   1829 done
   1830 { ac_configure_args0=; unset ac_configure_args0;}
   1831 { ac_configure_args1=; unset ac_configure_args1;}
   1832 
   1833 # When interrupted or exit'd, cleanup temporary files, and complete
   1834 # config.log.  We remove comments because anyway the quotes in there
   1835 # would cause problems or look ugly.
   1836 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1837 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1838 trap 'exit_status=$?
   1839   # Sanitize IFS.
   1840   IFS=" ""	$as_nl"
   1841   # Save into config.log some information that might help in debugging.
   1842   {
   1843     echo
   1844 
   1845     printf "%s\n" "## ---------------- ##
   1846 ## Cache variables. ##
   1847 ## ---------------- ##"
   1848     echo
   1849     # The following way of writing the cache mishandles newlines in values,
   1850 (
   1851   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1852     eval ac_val=\$$ac_var
   1853     case $ac_val in #(
   1854     *${as_nl}*)
   1855       case $ac_var in #(
   1856       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1857 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1858       esac
   1859       case $ac_var in #(
   1860       _ | IFS | as_nl) ;; #(
   1861       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1862       *) { eval $ac_var=; unset $ac_var;} ;;
   1863       esac ;;
   1864     esac
   1865   done
   1866   (set) 2>&1 |
   1867     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1868     *${as_nl}ac_space=\ *)
   1869       sed -n \
   1870 	"s/'\''/'\''\\\\'\'''\''/g;
   1871 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1872       ;; #(
   1873     *)
   1874       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1875       ;;
   1876     esac |
   1877     sort
   1878 )
   1879     echo
   1880 
   1881     printf "%s\n" "## ----------------- ##
   1882 ## Output variables. ##
   1883 ## ----------------- ##"
   1884     echo
   1885     for ac_var in $ac_subst_vars
   1886     do
   1887       eval ac_val=\$$ac_var
   1888       case $ac_val in
   1889       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1890       esac
   1891       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1892     done | sort
   1893     echo
   1894 
   1895     if test -n "$ac_subst_files"; then
   1896       printf "%s\n" "## ------------------- ##
   1897 ## File substitutions. ##
   1898 ## ------------------- ##"
   1899       echo
   1900       for ac_var in $ac_subst_files
   1901       do
   1902 	eval ac_val=\$$ac_var
   1903 	case $ac_val in
   1904 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1905 	esac
   1906 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1907       done | sort
   1908       echo
   1909     fi
   1910 
   1911     if test -s confdefs.h; then
   1912       printf "%s\n" "## ----------- ##
   1913 ## confdefs.h. ##
   1914 ## ----------- ##"
   1915       echo
   1916       cat confdefs.h
   1917       echo
   1918     fi
   1919     test "$ac_signal" != 0 &&
   1920       printf "%s\n" "$as_me: caught signal $ac_signal"
   1921     printf "%s\n" "$as_me: exit $exit_status"
   1922   } >&5
   1923   rm -f core *.core core.conftest.* &&
   1924     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1925     exit $exit_status
   1926 ' 0
   1927 for ac_signal in 1 2 13 15; do
   1928   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1929 done
   1930 ac_signal=0
   1931 
   1932 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1933 rm -f -r conftest* confdefs.h
   1934 
   1935 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1936 
   1937 # Predefined preprocessor variables.
   1938 
   1939 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1940 
   1941 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1942 
   1943 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1944 
   1945 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1946 
   1947 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1948 
   1949 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1950 
   1951 
   1952 # Let the site file select an alternate cache file if it wants to.
   1953 # Prefer an explicitly selected file to automatically selected ones.
   1954 if test -n "$CONFIG_SITE"; then
   1955   ac_site_files="$CONFIG_SITE"
   1956 elif test "x$prefix" != xNONE; then
   1957   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1958 else
   1959   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1960 fi
   1961 
   1962 for ac_site_file in $ac_site_files
   1963 do
   1964   case $ac_site_file in #(
   1965   */*) :
   1966      ;; #(
   1967   *) :
   1968     ac_site_file=./$ac_site_file ;;
   1969 esac
   1970   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1971     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1972 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1973     sed 's/^/| /' "$ac_site_file" >&5
   1974     . "$ac_site_file" \
   1975       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1976 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1977 as_fn_error $? "failed to load site script $ac_site_file
   1978 See \`config.log' for more details" "$LINENO" 5; }
   1979   fi
   1980 done
   1981 
   1982 if test -r "$cache_file"; then
   1983   # Some versions of bash will fail to source /dev/null (special files
   1984   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1985   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1986     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1987 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1988     case $cache_file in
   1989       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1990       *)                      . "./$cache_file";;
   1991     esac
   1992   fi
   1993 else
   1994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1995 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   1996   >$cache_file
   1997 fi
   1998 
   1999 # Test code for whether the C compiler supports C89 (global declarations)
   2000 ac_c_conftest_c89_globals='
   2001 /* Does the compiler advertise C89 conformance?
   2002    Do not test the value of __STDC__, because some compilers set it to 0
   2003    while being otherwise adequately conformant. */
   2004 #if !defined __STDC__
   2005 # error "Compiler does not advertise C89 conformance"
   2006 #endif
   2007 
   2008 #include <stddef.h>
   2009 #include <stdarg.h>
   2010 struct stat;
   2011 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2012 struct buf { int x; };
   2013 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2014 static char *e (p, i)
   2015      char **p;
   2016      int i;
   2017 {
   2018   return p[i];
   2019 }
   2020 static char *f (char * (*g) (char **, int), char **p, ...)
   2021 {
   2022   char *s;
   2023   va_list v;
   2024   va_start (v,p);
   2025   s = g (p, va_arg (v,int));
   2026   va_end (v);
   2027   return s;
   2028 }
   2029 
   2030 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2031    function prototypes and stuff, but not \xHH hex character constants.
   2032    These do not provoke an error unfortunately, instead are silently treated
   2033    as an "x".  The following induces an error, until -std is added to get
   2034    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2035    array size at least.  It is necessary to write \x00 == 0 to get something
   2036    that is true only with -std.  */
   2037 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2038 
   2039 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2040    inside strings and character constants.  */
   2041 #define FOO(x) '\''x'\''
   2042 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2043 
   2044 int test (int i, double x);
   2045 struct s1 {int (*f) (int a);};
   2046 struct s2 {int (*f) (double a);};
   2047 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2048                int, int);'
   2049 
   2050 # Test code for whether the C compiler supports C89 (body of main).
   2051 ac_c_conftest_c89_main='
   2052 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2053 '
   2054 
   2055 # Test code for whether the C compiler supports C99 (global declarations)
   2056 ac_c_conftest_c99_globals='
   2057 // Does the compiler advertise C99 conformance?
   2058 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2059 # error "Compiler does not advertise C99 conformance"
   2060 #endif
   2061 
   2062 #include <stdbool.h>
   2063 extern int puts (const char *);
   2064 extern int printf (const char *, ...);
   2065 extern int dprintf (int, const char *, ...);
   2066 extern void *malloc (size_t);
   2067 
   2068 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2069 // dprintf is used instead of fprintf to avoid needing to declare
   2070 // FILE and stderr.
   2071 #define debug(...) dprintf (2, __VA_ARGS__)
   2072 #define showlist(...) puts (#__VA_ARGS__)
   2073 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2074 static void
   2075 test_varargs_macros (void)
   2076 {
   2077   int x = 1234;
   2078   int y = 5678;
   2079   debug ("Flag");
   2080   debug ("X = %d\n", x);
   2081   showlist (The first, second, and third items.);
   2082   report (x>y, "x is %d but y is %d", x, y);
   2083 }
   2084 
   2085 // Check long long types.
   2086 #define BIG64 18446744073709551615ull
   2087 #define BIG32 4294967295ul
   2088 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2089 #if !BIG_OK
   2090   #error "your preprocessor is broken"
   2091 #endif
   2092 #if BIG_OK
   2093 #else
   2094   #error "your preprocessor is broken"
   2095 #endif
   2096 static long long int bignum = -9223372036854775807LL;
   2097 static unsigned long long int ubignum = BIG64;
   2098 
   2099 struct incomplete_array
   2100 {
   2101   int datasize;
   2102   double data[];
   2103 };
   2104 
   2105 struct named_init {
   2106   int number;
   2107   const wchar_t *name;
   2108   double average;
   2109 };
   2110 
   2111 typedef const char *ccp;
   2112 
   2113 static inline int
   2114 test_restrict (ccp restrict text)
   2115 {
   2116   // See if C++-style comments work.
   2117   // Iterate through items via the restricted pointer.
   2118   // Also check for declarations in for loops.
   2119   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2120     continue;
   2121   return 0;
   2122 }
   2123 
   2124 // Check varargs and va_copy.
   2125 static bool
   2126 test_varargs (const char *format, ...)
   2127 {
   2128   va_list args;
   2129   va_start (args, format);
   2130   va_list args_copy;
   2131   va_copy (args_copy, args);
   2132 
   2133   const char *str = "";
   2134   int number = 0;
   2135   float fnumber = 0;
   2136 
   2137   while (*format)
   2138     {
   2139       switch (*format++)
   2140 	{
   2141 	case '\''s'\'': // string
   2142 	  str = va_arg (args_copy, const char *);
   2143 	  break;
   2144 	case '\''d'\'': // int
   2145 	  number = va_arg (args_copy, int);
   2146 	  break;
   2147 	case '\''f'\'': // float
   2148 	  fnumber = va_arg (args_copy, double);
   2149 	  break;
   2150 	default:
   2151 	  break;
   2152 	}
   2153     }
   2154   va_end (args_copy);
   2155   va_end (args);
   2156 
   2157   return *str && number && fnumber;
   2158 }
   2159 '
   2160 
   2161 # Test code for whether the C compiler supports C99 (body of main).
   2162 ac_c_conftest_c99_main='
   2163   // Check bool.
   2164   _Bool success = false;
   2165   success |= (argc != 0);
   2166 
   2167   // Check restrict.
   2168   if (test_restrict ("String literal") == 0)
   2169     success = true;
   2170   char *restrict newvar = "Another string";
   2171 
   2172   // Check varargs.
   2173   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2174   test_varargs_macros ();
   2175 
   2176   // Check flexible array members.
   2177   struct incomplete_array *ia =
   2178     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2179   ia->datasize = 10;
   2180   for (int i = 0; i < ia->datasize; ++i)
   2181     ia->data[i] = i * 1.234;
   2182 
   2183   // Check named initializers.
   2184   struct named_init ni = {
   2185     .number = 34,
   2186     .name = L"Test wide string",
   2187     .average = 543.34343,
   2188   };
   2189 
   2190   ni.number = 58;
   2191 
   2192   int dynamic_array[ni.number];
   2193   dynamic_array[0] = argv[0][0];
   2194   dynamic_array[ni.number - 1] = 543;
   2195 
   2196   // work around unused variable warnings
   2197   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2198 	 || dynamic_array[ni.number - 1] != 543);
   2199 '
   2200 
   2201 # Test code for whether the C compiler supports C11 (global declarations)
   2202 ac_c_conftest_c11_globals='
   2203 // Does the compiler advertise C11 conformance?
   2204 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2205 # error "Compiler does not advertise C11 conformance"
   2206 #endif
   2207 
   2208 // Check _Alignas.
   2209 char _Alignas (double) aligned_as_double;
   2210 char _Alignas (0) no_special_alignment;
   2211 extern char aligned_as_int;
   2212 char _Alignas (0) _Alignas (int) aligned_as_int;
   2213 
   2214 // Check _Alignof.
   2215 enum
   2216 {
   2217   int_alignment = _Alignof (int),
   2218   int_array_alignment = _Alignof (int[100]),
   2219   char_alignment = _Alignof (char)
   2220 };
   2221 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2222 
   2223 // Check _Noreturn.
   2224 int _Noreturn does_not_return (void) { for (;;) continue; }
   2225 
   2226 // Check _Static_assert.
   2227 struct test_static_assert
   2228 {
   2229   int x;
   2230   _Static_assert (sizeof (int) <= sizeof (long int),
   2231                   "_Static_assert does not work in struct");
   2232   long int y;
   2233 };
   2234 
   2235 // Check UTF-8 literals.
   2236 #define u8 syntax error!
   2237 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2238 
   2239 // Check duplicate typedefs.
   2240 typedef long *long_ptr;
   2241 typedef long int *long_ptr;
   2242 typedef long_ptr long_ptr;
   2243 
   2244 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2245 struct anonymous
   2246 {
   2247   union {
   2248     struct { int i; int j; };
   2249     struct { int k; long int l; } w;
   2250   };
   2251   int m;
   2252 } v1;
   2253 '
   2254 
   2255 # Test code for whether the C compiler supports C11 (body of main).
   2256 ac_c_conftest_c11_main='
   2257   _Static_assert ((offsetof (struct anonymous, i)
   2258 		   == offsetof (struct anonymous, w.k)),
   2259 		  "Anonymous union alignment botch");
   2260   v1.i = 2;
   2261   v1.w.k = 5;
   2262   ok |= v1.i != 5;
   2263 '
   2264 
   2265 # Test code for whether the C compiler supports C11 (complete).
   2266 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2267 ${ac_c_conftest_c99_globals}
   2268 ${ac_c_conftest_c11_globals}
   2269 
   2270 int
   2271 main (int argc, char **argv)
   2272 {
   2273   int ok = 0;
   2274   ${ac_c_conftest_c89_main}
   2275   ${ac_c_conftest_c99_main}
   2276   ${ac_c_conftest_c11_main}
   2277   return ok;
   2278 }
   2279 "
   2280 
   2281 # Test code for whether the C compiler supports C99 (complete).
   2282 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2283 ${ac_c_conftest_c99_globals}
   2284 
   2285 int
   2286 main (int argc, char **argv)
   2287 {
   2288   int ok = 0;
   2289   ${ac_c_conftest_c89_main}
   2290   ${ac_c_conftest_c99_main}
   2291   return ok;
   2292 }
   2293 "
   2294 
   2295 # Test code for whether the C compiler supports C89 (complete).
   2296 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2297 
   2298 int
   2299 main (int argc, char **argv)
   2300 {
   2301   int ok = 0;
   2302   ${ac_c_conftest_c89_main}
   2303   return ok;
   2304 }
   2305 "
   2306 
   2307 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2308 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2309 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2310 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2311 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2312 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2313 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2314 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2315 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2316 
   2317 # Auxiliary files required by this configure script.
   2318 ac_aux_files="config.guess config.sub compile missing install-sh"
   2319 
   2320 # Locations in which to look for auxiliary files.
   2321 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2322 
   2323 # Search for a directory containing all of the required auxiliary files,
   2324 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2325 # If we don't find one directory that contains all the files we need,
   2326 # we report the set of missing files from the *first* directory in
   2327 # $ac_aux_dir_candidates and give up.
   2328 ac_missing_aux_files=""
   2329 ac_first_candidate=:
   2330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2332 as_found=false
   2333 for as_dir in $ac_aux_dir_candidates
   2334 do
   2335   IFS=$as_save_IFS
   2336   case $as_dir in #(((
   2337     '') as_dir=./ ;;
   2338     */) ;;
   2339     *) as_dir=$as_dir/ ;;
   2340   esac
   2341   as_found=:
   2342 
   2343   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2344   ac_aux_dir_found=yes
   2345   ac_install_sh=
   2346   for ac_aux in $ac_aux_files
   2347   do
   2348     # As a special case, if "install-sh" is required, that requirement
   2349     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2350     # and $ac_install_sh is set appropriately for whichever one is found.
   2351     if test x"$ac_aux" = x"install-sh"
   2352     then
   2353       if test -f "${as_dir}install-sh"; then
   2354         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2355         ac_install_sh="${as_dir}install-sh -c"
   2356       elif test -f "${as_dir}install.sh"; then
   2357         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2358         ac_install_sh="${as_dir}install.sh -c"
   2359       elif test -f "${as_dir}shtool"; then
   2360         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2361         ac_install_sh="${as_dir}shtool install -c"
   2362       else
   2363         ac_aux_dir_found=no
   2364         if $ac_first_candidate; then
   2365           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2366         else
   2367           break
   2368         fi
   2369       fi
   2370     else
   2371       if test -f "${as_dir}${ac_aux}"; then
   2372         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2373       else
   2374         ac_aux_dir_found=no
   2375         if $ac_first_candidate; then
   2376           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2377         else
   2378           break
   2379         fi
   2380       fi
   2381     fi
   2382   done
   2383   if test "$ac_aux_dir_found" = yes; then
   2384     ac_aux_dir="$as_dir"
   2385     break
   2386   fi
   2387   ac_first_candidate=false
   2388 
   2389   as_found=false
   2390 done
   2391 IFS=$as_save_IFS
   2392 if $as_found
   2393 then :
   2394 
   2395 else $as_nop
   2396   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2397 fi
   2398 
   2399 
   2400 # These three variables are undocumented and unsupported,
   2401 # and are intended to be withdrawn in a future Autoconf release.
   2402 # They can cause serious problems if a builder's source tree is in a directory
   2403 # whose full name contains unusual characters.
   2404 if test -f "${ac_aux_dir}config.guess"; then
   2405   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2406 fi
   2407 if test -f "${ac_aux_dir}config.sub"; then
   2408   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2409 fi
   2410 if test -f "$ac_aux_dir/configure"; then
   2411   ac_configure="$SHELL ${ac_aux_dir}configure"
   2412 fi
   2413 
   2414 # Check that the precious variables saved in the cache have kept the same
   2415 # value.
   2416 ac_cache_corrupted=false
   2417 for ac_var in $ac_precious_vars; do
   2418   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2419   eval ac_new_set=\$ac_env_${ac_var}_set
   2420   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2421   eval ac_new_val=\$ac_env_${ac_var}_value
   2422   case $ac_old_set,$ac_new_set in
   2423     set,)
   2424       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2425 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2426       ac_cache_corrupted=: ;;
   2427     ,set)
   2428       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2429 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2430       ac_cache_corrupted=: ;;
   2431     ,);;
   2432     *)
   2433       if test "x$ac_old_val" != "x$ac_new_val"; then
   2434 	# differences in whitespace do not lead to failure.
   2435 	ac_old_val_w=`echo x $ac_old_val`
   2436 	ac_new_val_w=`echo x $ac_new_val`
   2437 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2438 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2439 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2440 	  ac_cache_corrupted=:
   2441 	else
   2442 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2443 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2444 	  eval $ac_var=\$ac_old_val
   2445 	fi
   2446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2447 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2449 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2450       fi;;
   2451   esac
   2452   # Pass precious variables to config.status.
   2453   if test "$ac_new_set" = set; then
   2454     case $ac_new_val in
   2455     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2456     *) ac_arg=$ac_var=$ac_new_val ;;
   2457     esac
   2458     case " $ac_configure_args " in
   2459       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2460       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2461     esac
   2462   fi
   2463 done
   2464 if $ac_cache_corrupted; then
   2465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2466 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2468 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2469   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2470 	    and start over" "$LINENO" 5
   2471 fi
   2472 ## -------------------- ##
   2473 ## Main body of script. ##
   2474 ## -------------------- ##
   2475 
   2476 ac_ext=c
   2477 ac_cpp='$CPP $CPPFLAGS'
   2478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2481 
   2482 
   2483 
   2484 ac_config_headers="$ac_config_headers config.h"
   2485 
   2486 
   2487 # Initialize Automake
   2488 am__api_version='1.16'
   2489 
   2490 
   2491 
   2492   # Find a good install program.  We prefer a C program (faster),
   2493 # so one script is as good as another.  But avoid the broken or
   2494 # incompatible versions:
   2495 # SysV /etc/install, /usr/sbin/install
   2496 # SunOS /usr/etc/install
   2497 # IRIX /sbin/install
   2498 # AIX /bin/install
   2499 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2503 # OS/2's system install, which has a completely different semantic
   2504 # ./install, which can be erroneously created by make from ./install.sh.
   2505 # Reject install programs that cannot install multiple files.
   2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2507 printf %s "checking for a BSD-compatible install... " >&6; }
   2508 if test -z "$INSTALL"; then
   2509 if test ${ac_cv_path_install+y}
   2510 then :
   2511   printf %s "(cached) " >&6
   2512 else $as_nop
   2513   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 for as_dir in $PATH
   2515 do
   2516   IFS=$as_save_IFS
   2517   case $as_dir in #(((
   2518     '') as_dir=./ ;;
   2519     */) ;;
   2520     *) as_dir=$as_dir/ ;;
   2521   esac
   2522     # Account for fact that we put trailing slashes in our PATH walk.
   2523 case $as_dir in #((
   2524   ./ | /[cC]/* | \
   2525   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2526   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2527   /usr/ucb/* ) ;;
   2528   *)
   2529     # OSF1 and SCO ODT 3.0 have their own names for install.
   2530     # Don't use installbsd from OSF since it installs stuff as root
   2531     # by default.
   2532     for ac_prog in ginstall scoinst install; do
   2533       for ac_exec_ext in '' $ac_executable_extensions; do
   2534 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2535 	  if test $ac_prog = install &&
   2536 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2537 	    # AIX install.  It has an incompatible calling convention.
   2538 	    :
   2539 	  elif test $ac_prog = install &&
   2540 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2541 	    # program-specific install script used by HP pwplus--don't use.
   2542 	    :
   2543 	  else
   2544 	    rm -rf conftest.one conftest.two conftest.dir
   2545 	    echo one > conftest.one
   2546 	    echo two > conftest.two
   2547 	    mkdir conftest.dir
   2548 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2549 	      test -s conftest.one && test -s conftest.two &&
   2550 	      test -s conftest.dir/conftest.one &&
   2551 	      test -s conftest.dir/conftest.two
   2552 	    then
   2553 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2554 	      break 3
   2555 	    fi
   2556 	  fi
   2557 	fi
   2558       done
   2559     done
   2560     ;;
   2561 esac
   2562 
   2563   done
   2564 IFS=$as_save_IFS
   2565 
   2566 rm -rf conftest.one conftest.two conftest.dir
   2567 
   2568 fi
   2569   if test ${ac_cv_path_install+y}; then
   2570     INSTALL=$ac_cv_path_install
   2571   else
   2572     # As a last resort, use the slow shell script.  Don't cache a
   2573     # value for INSTALL within a source directory, because that will
   2574     # break other packages using the cache if that directory is
   2575     # removed, or if the value is a relative name.
   2576     INSTALL=$ac_install_sh
   2577   fi
   2578 fi
   2579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2580 printf "%s\n" "$INSTALL" >&6; }
   2581 
   2582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2583 # It thinks the first close brace ends the variable substitution.
   2584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2585 
   2586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2587 
   2588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2589 
   2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2591 printf %s "checking whether build environment is sane... " >&6; }
   2592 # Reject unsafe characters in $srcdir or the absolute working directory
   2593 # name.  Accept space and tab only in the latter.
   2594 am_lf='
   2595 '
   2596 case `pwd` in
   2597   *[\\\"\#\$\&\'\`$am_lf]*)
   2598     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2599 esac
   2600 case $srcdir in
   2601   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2602     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2603 esac
   2604 
   2605 # Do 'set' in a subshell so we don't clobber the current shell's
   2606 # arguments.  Must try -L first in case configure is actually a
   2607 # symlink; some systems play weird games with the mod time of symlinks
   2608 # (eg FreeBSD returns the mod time of the symlink's containing
   2609 # directory).
   2610 if (
   2611    am_has_slept=no
   2612    for am_try in 1 2; do
   2613      echo "timestamp, slept: $am_has_slept" > conftest.file
   2614      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2615      if test "$*" = "X"; then
   2616 	# -L didn't work.
   2617 	set X `ls -t "$srcdir/configure" conftest.file`
   2618      fi
   2619      if test "$*" != "X $srcdir/configure conftest.file" \
   2620 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2621 
   2622 	# If neither matched, then we have a broken ls.  This can happen
   2623 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2624 	# broken ls alias from the environment.  This has actually
   2625 	# happened.  Such a system could not be considered "sane".
   2626 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2627   alias in your environment" "$LINENO" 5
   2628      fi
   2629      if test "$2" = conftest.file || test $am_try -eq 2; then
   2630        break
   2631      fi
   2632      # Just in case.
   2633      sleep 1
   2634      am_has_slept=yes
   2635    done
   2636    test "$2" = conftest.file
   2637    )
   2638 then
   2639    # Ok.
   2640    :
   2641 else
   2642    as_fn_error $? "newly created file is older than distributed files!
   2643 Check your system clock" "$LINENO" 5
   2644 fi
   2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2646 printf "%s\n" "yes" >&6; }
   2647 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2648 # generated files are strictly newer.
   2649 am_sleep_pid=
   2650 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2651   ( sleep 1 ) &
   2652   am_sleep_pid=$!
   2653 fi
   2654 
   2655 rm -f conftest.file
   2656 
   2657 test "$program_prefix" != NONE &&
   2658   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2659 # Use a double $ so make ignores it.
   2660 test "$program_suffix" != NONE &&
   2661   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2662 # Double any \ or $.
   2663 # By default was `s,x,x', remove it if useless.
   2664 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2665 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2666 
   2667 
   2668 # Expand $ac_aux_dir to an absolute path.
   2669 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2670 
   2671 
   2672   if test x"${MISSING+set}" != xset; then
   2673   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2674 fi
   2675 # Use eval to expand $SHELL
   2676 if eval "$MISSING --is-lightweight"; then
   2677   am_missing_run="$MISSING "
   2678 else
   2679   am_missing_run=
   2680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2681 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2682 fi
   2683 
   2684 if test x"${install_sh+set}" != xset; then
   2685   case $am_aux_dir in
   2686   *\ * | *\	*)
   2687     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2688   *)
   2689     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2690   esac
   2691 fi
   2692 
   2693 # Installed binaries are usually stripped using 'strip' when the user
   2694 # run "make install-strip".  However 'strip' might not be the right
   2695 # tool to use in cross-compilation environments, therefore Automake
   2696 # will honor the 'STRIP' environment variable to overrule this program.
   2697 if test "$cross_compiling" != no; then
   2698   if test -n "$ac_tool_prefix"; then
   2699   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2700 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2702 printf %s "checking for $ac_word... " >&6; }
   2703 if test ${ac_cv_prog_STRIP+y}
   2704 then :
   2705   printf %s "(cached) " >&6
   2706 else $as_nop
   2707   if test -n "$STRIP"; then
   2708   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2709 else
   2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2711 for as_dir in $PATH
   2712 do
   2713   IFS=$as_save_IFS
   2714   case $as_dir in #(((
   2715     '') as_dir=./ ;;
   2716     */) ;;
   2717     *) as_dir=$as_dir/ ;;
   2718   esac
   2719     for ac_exec_ext in '' $ac_executable_extensions; do
   2720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2721     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2723     break 2
   2724   fi
   2725 done
   2726   done
   2727 IFS=$as_save_IFS
   2728 
   2729 fi
   2730 fi
   2731 STRIP=$ac_cv_prog_STRIP
   2732 if test -n "$STRIP"; then
   2733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2734 printf "%s\n" "$STRIP" >&6; }
   2735 else
   2736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2737 printf "%s\n" "no" >&6; }
   2738 fi
   2739 
   2740 
   2741 fi
   2742 if test -z "$ac_cv_prog_STRIP"; then
   2743   ac_ct_STRIP=$STRIP
   2744   # Extract the first word of "strip", so it can be a program name with args.
   2745 set dummy strip; ac_word=$2
   2746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2747 printf %s "checking for $ac_word... " >&6; }
   2748 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2749 then :
   2750   printf %s "(cached) " >&6
   2751 else $as_nop
   2752   if test -n "$ac_ct_STRIP"; then
   2753   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2754 else
   2755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2756 for as_dir in $PATH
   2757 do
   2758   IFS=$as_save_IFS
   2759   case $as_dir in #(((
   2760     '') as_dir=./ ;;
   2761     */) ;;
   2762     *) as_dir=$as_dir/ ;;
   2763   esac
   2764     for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2766     ac_cv_prog_ac_ct_STRIP="strip"
   2767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771   done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2777 if test -n "$ac_ct_STRIP"; then
   2778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2779 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2780 else
   2781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 printf "%s\n" "no" >&6; }
   2783 fi
   2784 
   2785   if test "x$ac_ct_STRIP" = x; then
   2786     STRIP=":"
   2787   else
   2788     case $cross_compiling:$ac_tool_warned in
   2789 yes:)
   2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2791 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2792 ac_tool_warned=yes ;;
   2793 esac
   2794     STRIP=$ac_ct_STRIP
   2795   fi
   2796 else
   2797   STRIP="$ac_cv_prog_STRIP"
   2798 fi
   2799 
   2800 fi
   2801 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2802 
   2803 
   2804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2805 printf %s "checking for a race-free mkdir -p... " >&6; }
   2806 if test -z "$MKDIR_P"; then
   2807   if test ${ac_cv_path_mkdir+y}
   2808 then :
   2809   printf %s "(cached) " >&6
   2810 else $as_nop
   2811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2812 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2813 do
   2814   IFS=$as_save_IFS
   2815   case $as_dir in #(((
   2816     '') as_dir=./ ;;
   2817     */) ;;
   2818     *) as_dir=$as_dir/ ;;
   2819   esac
   2820     for ac_prog in mkdir gmkdir; do
   2821 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2822 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2823 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2824 	     'mkdir ('*'coreutils) '* | \
   2825 	     'BusyBox '* | \
   2826 	     'mkdir (fileutils) '4.1*)
   2827 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2828 	       break 3;;
   2829 	   esac
   2830 	 done
   2831        done
   2832   done
   2833 IFS=$as_save_IFS
   2834 
   2835 fi
   2836 
   2837   test -d ./--version && rmdir ./--version
   2838   if test ${ac_cv_path_mkdir+y}; then
   2839     MKDIR_P="$ac_cv_path_mkdir -p"
   2840   else
   2841     # As a last resort, use the slow shell script.  Don't cache a
   2842     # value for MKDIR_P within a source directory, because that will
   2843     # break other packages using the cache if that directory is
   2844     # removed, or if the value is a relative name.
   2845     MKDIR_P="$ac_install_sh -d"
   2846   fi
   2847 fi
   2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2849 printf "%s\n" "$MKDIR_P" >&6; }
   2850 
   2851 for ac_prog in gawk mawk nawk awk
   2852 do
   2853   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2854 set dummy $ac_prog; ac_word=$2
   2855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2856 printf %s "checking for $ac_word... " >&6; }
   2857 if test ${ac_cv_prog_AWK+y}
   2858 then :
   2859   printf %s "(cached) " >&6
   2860 else $as_nop
   2861   if test -n "$AWK"; then
   2862   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2863 else
   2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2865 for as_dir in $PATH
   2866 do
   2867   IFS=$as_save_IFS
   2868   case $as_dir in #(((
   2869     '') as_dir=./ ;;
   2870     */) ;;
   2871     *) as_dir=$as_dir/ ;;
   2872   esac
   2873     for ac_exec_ext in '' $ac_executable_extensions; do
   2874   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2875     ac_cv_prog_AWK="$ac_prog"
   2876     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2877     break 2
   2878   fi
   2879 done
   2880   done
   2881 IFS=$as_save_IFS
   2882 
   2883 fi
   2884 fi
   2885 AWK=$ac_cv_prog_AWK
   2886 if test -n "$AWK"; then
   2887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2888 printf "%s\n" "$AWK" >&6; }
   2889 else
   2890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2891 printf "%s\n" "no" >&6; }
   2892 fi
   2893 
   2894 
   2895   test -n "$AWK" && break
   2896 done
   2897 
   2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2899 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2900 set x ${MAKE-make}
   2901 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2902 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2903 then :
   2904   printf %s "(cached) " >&6
   2905 else $as_nop
   2906   cat >conftest.make <<\_ACEOF
   2907 SHELL = /bin/sh
   2908 all:
   2909 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2910 _ACEOF
   2911 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2912 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2913   *@@@%%%=?*=@@@%%%*)
   2914     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2915   *)
   2916     eval ac_cv_prog_make_${ac_make}_set=no;;
   2917 esac
   2918 rm -f conftest.make
   2919 fi
   2920 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2922 printf "%s\n" "yes" >&6; }
   2923   SET_MAKE=
   2924 else
   2925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2926 printf "%s\n" "no" >&6; }
   2927   SET_MAKE="MAKE=${MAKE-make}"
   2928 fi
   2929 
   2930 rm -rf .tst 2>/dev/null
   2931 mkdir .tst 2>/dev/null
   2932 if test -d .tst; then
   2933   am__leading_dot=.
   2934 else
   2935   am__leading_dot=_
   2936 fi
   2937 rmdir .tst 2>/dev/null
   2938 
   2939 # Check whether --enable-silent-rules was given.
   2940 if test ${enable_silent_rules+y}
   2941 then :
   2942   enableval=$enable_silent_rules;
   2943 fi
   2944 
   2945 case $enable_silent_rules in # (((
   2946   yes) AM_DEFAULT_VERBOSITY=0;;
   2947    no) AM_DEFAULT_VERBOSITY=1;;
   2948     *) AM_DEFAULT_VERBOSITY=1;;
   2949 esac
   2950 am_make=${MAKE-make}
   2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2952 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2953 if test ${am_cv_make_support_nested_variables+y}
   2954 then :
   2955   printf %s "(cached) " >&6
   2956 else $as_nop
   2957   if printf "%s\n" 'TRUE=$(BAR$(V))
   2958 BAR0=false
   2959 BAR1=true
   2960 V=1
   2961 am__doit:
   2962 	@$(TRUE)
   2963 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2964   am_cv_make_support_nested_variables=yes
   2965 else
   2966   am_cv_make_support_nested_variables=no
   2967 fi
   2968 fi
   2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2970 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2971 if test $am_cv_make_support_nested_variables = yes; then
   2972     AM_V='$(V)'
   2973   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2974 else
   2975   AM_V=$AM_DEFAULT_VERBOSITY
   2976   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2977 fi
   2978 AM_BACKSLASH='\'
   2979 
   2980 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2981   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2982   # is not polluted with repeated "-I."
   2983   am__isrc=' -I$(srcdir)'
   2984   # test to see if srcdir already configured
   2985   if test -f $srcdir/config.status; then
   2986     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2987   fi
   2988 fi
   2989 
   2990 # test whether we have cygpath
   2991 if test -z "$CYGPATH_W"; then
   2992   if (cygpath --version) >/dev/null 2>/dev/null; then
   2993     CYGPATH_W='cygpath -w'
   2994   else
   2995     CYGPATH_W=echo
   2996   fi
   2997 fi
   2998 
   2999 
   3000 # Define the identity of the package.
   3001  PACKAGE='xwud'
   3002  VERSION='1.0.6'
   3003 
   3004 
   3005 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3006 
   3007 
   3008 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3009 
   3010 # Some tools Automake needs.
   3011 
   3012 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3013 
   3014 
   3015 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3016 
   3017 
   3018 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3019 
   3020 
   3021 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3022 
   3023 
   3024 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3025 
   3026 # For better backward compatibility.  To be removed once Automake 1.9.x
   3027 # dies out for good.  For more background, see:
   3028 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3029 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3030 mkdir_p='$(MKDIR_P)'
   3031 
   3032 # We need awk for the "check" target (and possibly the TAP driver).  The
   3033 # system "awk" is bad on some platforms.
   3034 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3035 # in the wild :-(  We should find a proper way to deprecate it ...
   3036 AMTAR='$${TAR-tar}'
   3037 
   3038 
   3039 # We'll loop over all known methods to create a tar archive until one works.
   3040 _am_tools='gnutar  pax cpio none'
   3041 
   3042 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3043 
   3044 
   3045 
   3046 
   3047 
   3048 # Variables for tags utilities; see am/tags.am
   3049 if test -z "$CTAGS"; then
   3050   CTAGS=ctags
   3051 fi
   3052 
   3053 if test -z "$ETAGS"; then
   3054   ETAGS=etags
   3055 fi
   3056 
   3057 if test -z "$CSCOPE"; then
   3058   CSCOPE=cscope
   3059 fi
   3060 
   3061 
   3062 
   3063 # POSIX will say in a future version that running "rm -f" with no argument
   3064 # is OK; and we want to be able to make that assumption in our Makefile
   3065 # recipes.  So use an aggressive probe to check that the usage we want is
   3066 # actually supported "in the wild" to an acceptable degree.
   3067 # See automake bug#10828.
   3068 # To make any issue more visible, cause the running configure to be aborted
   3069 # by default if the 'rm' program in use doesn't match our expectations; the
   3070 # user can still override this though.
   3071 if rm -f && rm -fr && rm -rf; then : OK; else
   3072   cat >&2 <<'END'
   3073 Oops!
   3074 
   3075 Your 'rm' program seems unable to run without file operands specified
   3076 on the command line, even when the '-f' option is present.  This is contrary
   3077 to the behaviour of most rm programs out there, and not conforming with
   3078 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3079 
   3080 Please tell bug-automake@gnu.org about your system, including the value
   3081 of your $PATH and any error possibly output before this message.  This
   3082 can help us improve future automake versions.
   3083 
   3084 END
   3085   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3086     echo 'Configuration will proceed anyway, since you have set the' >&2
   3087     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3088     echo >&2
   3089   else
   3090     cat >&2 <<'END'
   3091 Aborting the configuration process, to ensure you take notice of the issue.
   3092 
   3093 You can download and install GNU coreutils to get an 'rm' implementation
   3094 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3095 
   3096 If you want to complete the configuration process using your problematic
   3097 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3098 to "yes", and re-run configure.
   3099 
   3100 END
   3101     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3102   fi
   3103 fi
   3104 
   3105 
   3106 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3107 
   3108 
   3109 
   3110 
   3111 
   3112 
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 DEPDIR="${am__leading_dot}deps"
   3128 
   3129 ac_config_commands="$ac_config_commands depfiles"
   3130 
   3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3132 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3133 cat > confinc.mk << 'END'
   3134 am__doit:
   3135 	@echo this is the am__doit target >confinc.out
   3136 .PHONY: am__doit
   3137 END
   3138 am__include="#"
   3139 am__quote=
   3140 # BSD make does it like this.
   3141 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3142 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3143 echo 'include confinc.mk # ignored' > confmf.GNU
   3144 _am_result=no
   3145 for s in GNU BSD; do
   3146   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3147    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3148    ac_status=$?
   3149    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3150    (exit $ac_status); }
   3151   case $?:`cat confinc.out 2>/dev/null` in #(
   3152   '0:this is the am__doit target') :
   3153     case $s in #(
   3154   BSD) :
   3155     am__include='.include' am__quote='"' ;; #(
   3156   *) :
   3157     am__include='include' am__quote='' ;;
   3158 esac ;; #(
   3159   *) :
   3160      ;;
   3161 esac
   3162   if test "$am__include" != "#"; then
   3163     _am_result="yes ($s style)"
   3164     break
   3165   fi
   3166 done
   3167 rm -f confinc.* confmf.*
   3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3169 printf "%s\n" "${_am_result}" >&6; }
   3170 
   3171 # Check whether --enable-dependency-tracking was given.
   3172 if test ${enable_dependency_tracking+y}
   3173 then :
   3174   enableval=$enable_dependency_tracking;
   3175 fi
   3176 
   3177 if test "x$enable_dependency_tracking" != xno; then
   3178   am_depcomp="$ac_aux_dir/depcomp"
   3179   AMDEPBACKSLASH='\'
   3180   am__nodep='_no'
   3181 fi
   3182  if test "x$enable_dependency_tracking" != xno; then
   3183   AMDEP_TRUE=
   3184   AMDEP_FALSE='#'
   3185 else
   3186   AMDEP_TRUE='#'
   3187   AMDEP_FALSE=
   3188 fi
   3189 
   3190 
   3191 ac_ext=c
   3192 ac_cpp='$CPP $CPPFLAGS'
   3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3196 if test -n "$ac_tool_prefix"; then
   3197   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3198 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3200 printf %s "checking for $ac_word... " >&6; }
   3201 if test ${ac_cv_prog_CC+y}
   3202 then :
   3203   printf %s "(cached) " >&6
   3204 else $as_nop
   3205   if test -n "$CC"; then
   3206   ac_cv_prog_CC="$CC" # Let the user override the test.
   3207 else
   3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3209 for as_dir in $PATH
   3210 do
   3211   IFS=$as_save_IFS
   3212   case $as_dir in #(((
   3213     '') as_dir=./ ;;
   3214     */) ;;
   3215     *) as_dir=$as_dir/ ;;
   3216   esac
   3217     for ac_exec_ext in '' $ac_executable_extensions; do
   3218   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3219     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3220     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3221     break 2
   3222   fi
   3223 done
   3224   done
   3225 IFS=$as_save_IFS
   3226 
   3227 fi
   3228 fi
   3229 CC=$ac_cv_prog_CC
   3230 if test -n "$CC"; then
   3231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3232 printf "%s\n" "$CC" >&6; }
   3233 else
   3234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3235 printf "%s\n" "no" >&6; }
   3236 fi
   3237 
   3238 
   3239 fi
   3240 if test -z "$ac_cv_prog_CC"; then
   3241   ac_ct_CC=$CC
   3242   # Extract the first word of "gcc", so it can be a program name with args.
   3243 set dummy gcc; ac_word=$2
   3244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3245 printf %s "checking for $ac_word... " >&6; }
   3246 if test ${ac_cv_prog_ac_ct_CC+y}
   3247 then :
   3248   printf %s "(cached) " >&6
   3249 else $as_nop
   3250   if test -n "$ac_ct_CC"; then
   3251   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3252 else
   3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3254 for as_dir in $PATH
   3255 do
   3256   IFS=$as_save_IFS
   3257   case $as_dir in #(((
   3258     '') as_dir=./ ;;
   3259     */) ;;
   3260     *) as_dir=$as_dir/ ;;
   3261   esac
   3262     for ac_exec_ext in '' $ac_executable_extensions; do
   3263   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3264     ac_cv_prog_ac_ct_CC="gcc"
   3265     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3266     break 2
   3267   fi
   3268 done
   3269   done
   3270 IFS=$as_save_IFS
   3271 
   3272 fi
   3273 fi
   3274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3275 if test -n "$ac_ct_CC"; then
   3276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3277 printf "%s\n" "$ac_ct_CC" >&6; }
   3278 else
   3279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3280 printf "%s\n" "no" >&6; }
   3281 fi
   3282 
   3283   if test "x$ac_ct_CC" = x; then
   3284     CC=""
   3285   else
   3286     case $cross_compiling:$ac_tool_warned in
   3287 yes:)
   3288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3290 ac_tool_warned=yes ;;
   3291 esac
   3292     CC=$ac_ct_CC
   3293   fi
   3294 else
   3295   CC="$ac_cv_prog_CC"
   3296 fi
   3297 
   3298 if test -z "$CC"; then
   3299           if test -n "$ac_tool_prefix"; then
   3300     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3301 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3303 printf %s "checking for $ac_word... " >&6; }
   3304 if test ${ac_cv_prog_CC+y}
   3305 then :
   3306   printf %s "(cached) " >&6
   3307 else $as_nop
   3308   if test -n "$CC"; then
   3309   ac_cv_prog_CC="$CC" # Let the user override the test.
   3310 else
   3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3312 for as_dir in $PATH
   3313 do
   3314   IFS=$as_save_IFS
   3315   case $as_dir in #(((
   3316     '') as_dir=./ ;;
   3317     */) ;;
   3318     *) as_dir=$as_dir/ ;;
   3319   esac
   3320     for ac_exec_ext in '' $ac_executable_extensions; do
   3321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3322     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3323     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3324     break 2
   3325   fi
   3326 done
   3327   done
   3328 IFS=$as_save_IFS
   3329 
   3330 fi
   3331 fi
   3332 CC=$ac_cv_prog_CC
   3333 if test -n "$CC"; then
   3334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3335 printf "%s\n" "$CC" >&6; }
   3336 else
   3337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3338 printf "%s\n" "no" >&6; }
   3339 fi
   3340 
   3341 
   3342   fi
   3343 fi
   3344 if test -z "$CC"; then
   3345   # Extract the first word of "cc", so it can be a program name with args.
   3346 set dummy cc; ac_word=$2
   3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3348 printf %s "checking for $ac_word... " >&6; }
   3349 if test ${ac_cv_prog_CC+y}
   3350 then :
   3351   printf %s "(cached) " >&6
   3352 else $as_nop
   3353   if test -n "$CC"; then
   3354   ac_cv_prog_CC="$CC" # Let the user override the test.
   3355 else
   3356   ac_prog_rejected=no
   3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3358 for as_dir in $PATH
   3359 do
   3360   IFS=$as_save_IFS
   3361   case $as_dir in #(((
   3362     '') as_dir=./ ;;
   3363     */) ;;
   3364     *) as_dir=$as_dir/ ;;
   3365   esac
   3366     for ac_exec_ext in '' $ac_executable_extensions; do
   3367   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3368     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3369        ac_prog_rejected=yes
   3370        continue
   3371      fi
   3372     ac_cv_prog_CC="cc"
   3373     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3374     break 2
   3375   fi
   3376 done
   3377   done
   3378 IFS=$as_save_IFS
   3379 
   3380 if test $ac_prog_rejected = yes; then
   3381   # We found a bogon in the path, so make sure we never use it.
   3382   set dummy $ac_cv_prog_CC
   3383   shift
   3384   if test $# != 0; then
   3385     # We chose a different compiler from the bogus one.
   3386     # However, it has the same basename, so the bogon will be chosen
   3387     # first if we set CC to just the basename; use the full file name.
   3388     shift
   3389     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3390   fi
   3391 fi
   3392 fi
   3393 fi
   3394 CC=$ac_cv_prog_CC
   3395 if test -n "$CC"; then
   3396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3397 printf "%s\n" "$CC" >&6; }
   3398 else
   3399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3400 printf "%s\n" "no" >&6; }
   3401 fi
   3402 
   3403 
   3404 fi
   3405 if test -z "$CC"; then
   3406   if test -n "$ac_tool_prefix"; then
   3407   for ac_prog in cl.exe
   3408   do
   3409     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3412 printf %s "checking for $ac_word... " >&6; }
   3413 if test ${ac_cv_prog_CC+y}
   3414 then :
   3415   printf %s "(cached) " >&6
   3416 else $as_nop
   3417   if test -n "$CC"; then
   3418   ac_cv_prog_CC="$CC" # Let the user override the test.
   3419 else
   3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3421 for as_dir in $PATH
   3422 do
   3423   IFS=$as_save_IFS
   3424   case $as_dir in #(((
   3425     '') as_dir=./ ;;
   3426     */) ;;
   3427     *) as_dir=$as_dir/ ;;
   3428   esac
   3429     for ac_exec_ext in '' $ac_executable_extensions; do
   3430   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3431     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3432     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3433     break 2
   3434   fi
   3435 done
   3436   done
   3437 IFS=$as_save_IFS
   3438 
   3439 fi
   3440 fi
   3441 CC=$ac_cv_prog_CC
   3442 if test -n "$CC"; then
   3443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3444 printf "%s\n" "$CC" >&6; }
   3445 else
   3446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3447 printf "%s\n" "no" >&6; }
   3448 fi
   3449 
   3450 
   3451     test -n "$CC" && break
   3452   done
   3453 fi
   3454 if test -z "$CC"; then
   3455   ac_ct_CC=$CC
   3456   for ac_prog in cl.exe
   3457 do
   3458   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3459 set dummy $ac_prog; ac_word=$2
   3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3461 printf %s "checking for $ac_word... " >&6; }
   3462 if test ${ac_cv_prog_ac_ct_CC+y}
   3463 then :
   3464   printf %s "(cached) " >&6
   3465 else $as_nop
   3466   if test -n "$ac_ct_CC"; then
   3467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3468 else
   3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3470 for as_dir in $PATH
   3471 do
   3472   IFS=$as_save_IFS
   3473   case $as_dir in #(((
   3474     '') as_dir=./ ;;
   3475     */) ;;
   3476     *) as_dir=$as_dir/ ;;
   3477   esac
   3478     for ac_exec_ext in '' $ac_executable_extensions; do
   3479   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3480     ac_cv_prog_ac_ct_CC="$ac_prog"
   3481     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3482     break 2
   3483   fi
   3484 done
   3485   done
   3486 IFS=$as_save_IFS
   3487 
   3488 fi
   3489 fi
   3490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3491 if test -n "$ac_ct_CC"; then
   3492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3493 printf "%s\n" "$ac_ct_CC" >&6; }
   3494 else
   3495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3496 printf "%s\n" "no" >&6; }
   3497 fi
   3498 
   3499 
   3500   test -n "$ac_ct_CC" && break
   3501 done
   3502 
   3503   if test "x$ac_ct_CC" = x; then
   3504     CC=""
   3505   else
   3506     case $cross_compiling:$ac_tool_warned in
   3507 yes:)
   3508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3509 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3510 ac_tool_warned=yes ;;
   3511 esac
   3512     CC=$ac_ct_CC
   3513   fi
   3514 fi
   3515 
   3516 fi
   3517 if test -z "$CC"; then
   3518   if test -n "$ac_tool_prefix"; then
   3519   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3520 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3522 printf %s "checking for $ac_word... " >&6; }
   3523 if test ${ac_cv_prog_CC+y}
   3524 then :
   3525   printf %s "(cached) " >&6
   3526 else $as_nop
   3527   if test -n "$CC"; then
   3528   ac_cv_prog_CC="$CC" # Let the user override the test.
   3529 else
   3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3531 for as_dir in $PATH
   3532 do
   3533   IFS=$as_save_IFS
   3534   case $as_dir in #(((
   3535     '') as_dir=./ ;;
   3536     */) ;;
   3537     *) as_dir=$as_dir/ ;;
   3538   esac
   3539     for ac_exec_ext in '' $ac_executable_extensions; do
   3540   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3541     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3542     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3543     break 2
   3544   fi
   3545 done
   3546   done
   3547 IFS=$as_save_IFS
   3548 
   3549 fi
   3550 fi
   3551 CC=$ac_cv_prog_CC
   3552 if test -n "$CC"; then
   3553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3554 printf "%s\n" "$CC" >&6; }
   3555 else
   3556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3557 printf "%s\n" "no" >&6; }
   3558 fi
   3559 
   3560 
   3561 fi
   3562 if test -z "$ac_cv_prog_CC"; then
   3563   ac_ct_CC=$CC
   3564   # Extract the first word of "clang", so it can be a program name with args.
   3565 set dummy clang; ac_word=$2
   3566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3567 printf %s "checking for $ac_word... " >&6; }
   3568 if test ${ac_cv_prog_ac_ct_CC+y}
   3569 then :
   3570   printf %s "(cached) " >&6
   3571 else $as_nop
   3572   if test -n "$ac_ct_CC"; then
   3573   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3574 else
   3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3576 for as_dir in $PATH
   3577 do
   3578   IFS=$as_save_IFS
   3579   case $as_dir in #(((
   3580     '') as_dir=./ ;;
   3581     */) ;;
   3582     *) as_dir=$as_dir/ ;;
   3583   esac
   3584     for ac_exec_ext in '' $ac_executable_extensions; do
   3585   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3586     ac_cv_prog_ac_ct_CC="clang"
   3587     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3588     break 2
   3589   fi
   3590 done
   3591   done
   3592 IFS=$as_save_IFS
   3593 
   3594 fi
   3595 fi
   3596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3597 if test -n "$ac_ct_CC"; then
   3598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3599 printf "%s\n" "$ac_ct_CC" >&6; }
   3600 else
   3601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3602 printf "%s\n" "no" >&6; }
   3603 fi
   3604 
   3605   if test "x$ac_ct_CC" = x; then
   3606     CC=""
   3607   else
   3608     case $cross_compiling:$ac_tool_warned in
   3609 yes:)
   3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3612 ac_tool_warned=yes ;;
   3613 esac
   3614     CC=$ac_ct_CC
   3615   fi
   3616 else
   3617   CC="$ac_cv_prog_CC"
   3618 fi
   3619 
   3620 fi
   3621 
   3622 
   3623 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3624 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3625 as_fn_error $? "no acceptable C compiler found in \$PATH
   3626 See \`config.log' for more details" "$LINENO" 5; }
   3627 
   3628 # Provide some information about the compiler.
   3629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3630 set X $ac_compile
   3631 ac_compiler=$2
   3632 for ac_option in --version -v -V -qversion -version; do
   3633   { { ac_try="$ac_compiler $ac_option >&5"
   3634 case "(($ac_try" in
   3635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3636   *) ac_try_echo=$ac_try;;
   3637 esac
   3638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3639 printf "%s\n" "$ac_try_echo"; } >&5
   3640   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3641   ac_status=$?
   3642   if test -s conftest.err; then
   3643     sed '10a\
   3644 ... rest of stderr output deleted ...
   3645          10q' conftest.err >conftest.er1
   3646     cat conftest.er1 >&5
   3647   fi
   3648   rm -f conftest.er1 conftest.err
   3649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3650   test $ac_status = 0; }
   3651 done
   3652 
   3653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 
   3656 int
   3657 main (void)
   3658 {
   3659 
   3660   ;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 ac_clean_files_save=$ac_clean_files
   3665 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3666 # Try to create an executable without -o first, disregard a.out.
   3667 # It will help us diagnose broken compilers, and finding out an intuition
   3668 # of exeext.
   3669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3670 printf %s "checking whether the C compiler works... " >&6; }
   3671 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3672 
   3673 # The possible output files:
   3674 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3675 
   3676 ac_rmfiles=
   3677 for ac_file in $ac_files
   3678 do
   3679   case $ac_file in
   3680     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3681     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3682   esac
   3683 done
   3684 rm -f $ac_rmfiles
   3685 
   3686 if { { ac_try="$ac_link_default"
   3687 case "(($ac_try" in
   3688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3689   *) ac_try_echo=$ac_try;;
   3690 esac
   3691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3692 printf "%s\n" "$ac_try_echo"; } >&5
   3693   (eval "$ac_link_default") 2>&5
   3694   ac_status=$?
   3695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3696   test $ac_status = 0; }
   3697 then :
   3698   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3700 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3701 # so that the user can short-circuit this test for compilers unknown to
   3702 # Autoconf.
   3703 for ac_file in $ac_files ''
   3704 do
   3705   test -f "$ac_file" || continue
   3706   case $ac_file in
   3707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3708 	;;
   3709     [ab].out )
   3710 	# We found the default executable, but exeext='' is most
   3711 	# certainly right.
   3712 	break;;
   3713     *.* )
   3714 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3715 	then :; else
   3716 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3717 	fi
   3718 	# We set ac_cv_exeext here because the later test for it is not
   3719 	# safe: cross compilers may not add the suffix if given an `-o'
   3720 	# argument, so we may need to know it at that point already.
   3721 	# Even if this section looks crufty: it has the advantage of
   3722 	# actually working.
   3723 	break;;
   3724     * )
   3725 	break;;
   3726   esac
   3727 done
   3728 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3729 
   3730 else $as_nop
   3731   ac_file=''
   3732 fi
   3733 if test -z "$ac_file"
   3734 then :
   3735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3736 printf "%s\n" "no" >&6; }
   3737 printf "%s\n" "$as_me: failed program was:" >&5
   3738 sed 's/^/| /' conftest.$ac_ext >&5
   3739 
   3740 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3741 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3742 as_fn_error 77 "C compiler cannot create executables
   3743 See \`config.log' for more details" "$LINENO" 5; }
   3744 else $as_nop
   3745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3746 printf "%s\n" "yes" >&6; }
   3747 fi
   3748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3749 printf %s "checking for C compiler default output file name... " >&6; }
   3750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3751 printf "%s\n" "$ac_file" >&6; }
   3752 ac_exeext=$ac_cv_exeext
   3753 
   3754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3755 ac_clean_files=$ac_clean_files_save
   3756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3757 printf %s "checking for suffix of executables... " >&6; }
   3758 if { { ac_try="$ac_link"
   3759 case "(($ac_try" in
   3760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3761   *) ac_try_echo=$ac_try;;
   3762 esac
   3763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3764 printf "%s\n" "$ac_try_echo"; } >&5
   3765   (eval "$ac_link") 2>&5
   3766   ac_status=$?
   3767   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3768   test $ac_status = 0; }
   3769 then :
   3770   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3771 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3772 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3773 # `rm'.
   3774 for ac_file in conftest.exe conftest conftest.*; do
   3775   test -f "$ac_file" || continue
   3776   case $ac_file in
   3777     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3778     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3779 	  break;;
   3780     * ) break;;
   3781   esac
   3782 done
   3783 else $as_nop
   3784   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3785 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3786 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3787 See \`config.log' for more details" "$LINENO" 5; }
   3788 fi
   3789 rm -f conftest conftest$ac_cv_exeext
   3790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3791 printf "%s\n" "$ac_cv_exeext" >&6; }
   3792 
   3793 rm -f conftest.$ac_ext
   3794 EXEEXT=$ac_cv_exeext
   3795 ac_exeext=$EXEEXT
   3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3797 /* end confdefs.h.  */
   3798 #include <stdio.h>
   3799 int
   3800 main (void)
   3801 {
   3802 FILE *f = fopen ("conftest.out", "w");
   3803  return ferror (f) || fclose (f) != 0;
   3804 
   3805   ;
   3806   return 0;
   3807 }
   3808 _ACEOF
   3809 ac_clean_files="$ac_clean_files conftest.out"
   3810 # Check that the compiler produces executables we can run.  If not, either
   3811 # the compiler is broken, or we cross compile.
   3812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3813 printf %s "checking whether we are cross compiling... " >&6; }
   3814 if test "$cross_compiling" != yes; then
   3815   { { ac_try="$ac_link"
   3816 case "(($ac_try" in
   3817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3818   *) ac_try_echo=$ac_try;;
   3819 esac
   3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3821 printf "%s\n" "$ac_try_echo"; } >&5
   3822   (eval "$ac_link") 2>&5
   3823   ac_status=$?
   3824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3825   test $ac_status = 0; }
   3826   if { ac_try='./conftest$ac_cv_exeext'
   3827   { { case "(($ac_try" in
   3828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3829   *) ac_try_echo=$ac_try;;
   3830 esac
   3831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3832 printf "%s\n" "$ac_try_echo"; } >&5
   3833   (eval "$ac_try") 2>&5
   3834   ac_status=$?
   3835   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3836   test $ac_status = 0; }; }; then
   3837     cross_compiling=no
   3838   else
   3839     if test "$cross_compiling" = maybe; then
   3840 	cross_compiling=yes
   3841     else
   3842 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3843 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3844 as_fn_error 77 "cannot run C compiled programs.
   3845 If you meant to cross compile, use \`--host'.
   3846 See \`config.log' for more details" "$LINENO" 5; }
   3847     fi
   3848   fi
   3849 fi
   3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3851 printf "%s\n" "$cross_compiling" >&6; }
   3852 
   3853 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3854 ac_clean_files=$ac_clean_files_save
   3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3856 printf %s "checking for suffix of object files... " >&6; }
   3857 if test ${ac_cv_objext+y}
   3858 then :
   3859   printf %s "(cached) " >&6
   3860 else $as_nop
   3861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3862 /* end confdefs.h.  */
   3863 
   3864 int
   3865 main (void)
   3866 {
   3867 
   3868   ;
   3869   return 0;
   3870 }
   3871 _ACEOF
   3872 rm -f conftest.o conftest.obj
   3873 if { { ac_try="$ac_compile"
   3874 case "(($ac_try" in
   3875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3876   *) ac_try_echo=$ac_try;;
   3877 esac
   3878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3879 printf "%s\n" "$ac_try_echo"; } >&5
   3880   (eval "$ac_compile") 2>&5
   3881   ac_status=$?
   3882   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3883   test $ac_status = 0; }
   3884 then :
   3885   for ac_file in conftest.o conftest.obj conftest.*; do
   3886   test -f "$ac_file" || continue;
   3887   case $ac_file in
   3888     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3889     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3890        break;;
   3891   esac
   3892 done
   3893 else $as_nop
   3894   printf "%s\n" "$as_me: failed program was:" >&5
   3895 sed 's/^/| /' conftest.$ac_ext >&5
   3896 
   3897 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3898 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3899 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3900 See \`config.log' for more details" "$LINENO" 5; }
   3901 fi
   3902 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3903 fi
   3904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3905 printf "%s\n" "$ac_cv_objext" >&6; }
   3906 OBJEXT=$ac_cv_objext
   3907 ac_objext=$OBJEXT
   3908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3909 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3910 if test ${ac_cv_c_compiler_gnu+y}
   3911 then :
   3912   printf %s "(cached) " >&6
   3913 else $as_nop
   3914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3915 /* end confdefs.h.  */
   3916 
   3917 int
   3918 main (void)
   3919 {
   3920 #ifndef __GNUC__
   3921        choke me
   3922 #endif
   3923 
   3924   ;
   3925   return 0;
   3926 }
   3927 _ACEOF
   3928 if ac_fn_c_try_compile "$LINENO"
   3929 then :
   3930   ac_compiler_gnu=yes
   3931 else $as_nop
   3932   ac_compiler_gnu=no
   3933 fi
   3934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3935 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3936 
   3937 fi
   3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3939 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3941 
   3942 if test $ac_compiler_gnu = yes; then
   3943   GCC=yes
   3944 else
   3945   GCC=
   3946 fi
   3947 ac_test_CFLAGS=${CFLAGS+y}
   3948 ac_save_CFLAGS=$CFLAGS
   3949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3950 printf %s "checking whether $CC accepts -g... " >&6; }
   3951 if test ${ac_cv_prog_cc_g+y}
   3952 then :
   3953   printf %s "(cached) " >&6
   3954 else $as_nop
   3955   ac_save_c_werror_flag=$ac_c_werror_flag
   3956    ac_c_werror_flag=yes
   3957    ac_cv_prog_cc_g=no
   3958    CFLAGS="-g"
   3959    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3960 /* end confdefs.h.  */
   3961 
   3962 int
   3963 main (void)
   3964 {
   3965 
   3966   ;
   3967   return 0;
   3968 }
   3969 _ACEOF
   3970 if ac_fn_c_try_compile "$LINENO"
   3971 then :
   3972   ac_cv_prog_cc_g=yes
   3973 else $as_nop
   3974   CFLAGS=""
   3975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3976 /* end confdefs.h.  */
   3977 
   3978 int
   3979 main (void)
   3980 {
   3981 
   3982   ;
   3983   return 0;
   3984 }
   3985 _ACEOF
   3986 if ac_fn_c_try_compile "$LINENO"
   3987 then :
   3988 
   3989 else $as_nop
   3990   ac_c_werror_flag=$ac_save_c_werror_flag
   3991 	 CFLAGS="-g"
   3992 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3993 /* end confdefs.h.  */
   3994 
   3995 int
   3996 main (void)
   3997 {
   3998 
   3999   ;
   4000   return 0;
   4001 }
   4002 _ACEOF
   4003 if ac_fn_c_try_compile "$LINENO"
   4004 then :
   4005   ac_cv_prog_cc_g=yes
   4006 fi
   4007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4008 fi
   4009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4010 fi
   4011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4012    ac_c_werror_flag=$ac_save_c_werror_flag
   4013 fi
   4014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4015 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4016 if test $ac_test_CFLAGS; then
   4017   CFLAGS=$ac_save_CFLAGS
   4018 elif test $ac_cv_prog_cc_g = yes; then
   4019   if test "$GCC" = yes; then
   4020     CFLAGS="-g -O2"
   4021   else
   4022     CFLAGS="-g"
   4023   fi
   4024 else
   4025   if test "$GCC" = yes; then
   4026     CFLAGS="-O2"
   4027   else
   4028     CFLAGS=
   4029   fi
   4030 fi
   4031 ac_prog_cc_stdc=no
   4032 if test x$ac_prog_cc_stdc = xno
   4033 then :
   4034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4035 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4036 if test ${ac_cv_prog_cc_c11+y}
   4037 then :
   4038   printf %s "(cached) " >&6
   4039 else $as_nop
   4040   ac_cv_prog_cc_c11=no
   4041 ac_save_CC=$CC
   4042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4043 /* end confdefs.h.  */
   4044 $ac_c_conftest_c11_program
   4045 _ACEOF
   4046 for ac_arg in '' -std=gnu11
   4047 do
   4048   CC="$ac_save_CC $ac_arg"
   4049   if ac_fn_c_try_compile "$LINENO"
   4050 then :
   4051   ac_cv_prog_cc_c11=$ac_arg
   4052 fi
   4053 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4054   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4055 done
   4056 rm -f conftest.$ac_ext
   4057 CC=$ac_save_CC
   4058 fi
   4059 
   4060 if test "x$ac_cv_prog_cc_c11" = xno
   4061 then :
   4062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4063 printf "%s\n" "unsupported" >&6; }
   4064 else $as_nop
   4065   if test "x$ac_cv_prog_cc_c11" = x
   4066 then :
   4067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4068 printf "%s\n" "none needed" >&6; }
   4069 else $as_nop
   4070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4071 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4072      CC="$CC $ac_cv_prog_cc_c11"
   4073 fi
   4074   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4075   ac_prog_cc_stdc=c11
   4076 fi
   4077 fi
   4078 if test x$ac_prog_cc_stdc = xno
   4079 then :
   4080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4081 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4082 if test ${ac_cv_prog_cc_c99+y}
   4083 then :
   4084   printf %s "(cached) " >&6
   4085 else $as_nop
   4086   ac_cv_prog_cc_c99=no
   4087 ac_save_CC=$CC
   4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4089 /* end confdefs.h.  */
   4090 $ac_c_conftest_c99_program
   4091 _ACEOF
   4092 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4093 do
   4094   CC="$ac_save_CC $ac_arg"
   4095   if ac_fn_c_try_compile "$LINENO"
   4096 then :
   4097   ac_cv_prog_cc_c99=$ac_arg
   4098 fi
   4099 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4100   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4101 done
   4102 rm -f conftest.$ac_ext
   4103 CC=$ac_save_CC
   4104 fi
   4105 
   4106 if test "x$ac_cv_prog_cc_c99" = xno
   4107 then :
   4108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4109 printf "%s\n" "unsupported" >&6; }
   4110 else $as_nop
   4111   if test "x$ac_cv_prog_cc_c99" = x
   4112 then :
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4114 printf "%s\n" "none needed" >&6; }
   4115 else $as_nop
   4116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4117 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4118      CC="$CC $ac_cv_prog_cc_c99"
   4119 fi
   4120   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4121   ac_prog_cc_stdc=c99
   4122 fi
   4123 fi
   4124 if test x$ac_prog_cc_stdc = xno
   4125 then :
   4126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4127 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4128 if test ${ac_cv_prog_cc_c89+y}
   4129 then :
   4130   printf %s "(cached) " >&6
   4131 else $as_nop
   4132   ac_cv_prog_cc_c89=no
   4133 ac_save_CC=$CC
   4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4135 /* end confdefs.h.  */
   4136 $ac_c_conftest_c89_program
   4137 _ACEOF
   4138 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4139 do
   4140   CC="$ac_save_CC $ac_arg"
   4141   if ac_fn_c_try_compile "$LINENO"
   4142 then :
   4143   ac_cv_prog_cc_c89=$ac_arg
   4144 fi
   4145 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4146   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4147 done
   4148 rm -f conftest.$ac_ext
   4149 CC=$ac_save_CC
   4150 fi
   4151 
   4152 if test "x$ac_cv_prog_cc_c89" = xno
   4153 then :
   4154   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4155 printf "%s\n" "unsupported" >&6; }
   4156 else $as_nop
   4157   if test "x$ac_cv_prog_cc_c89" = x
   4158 then :
   4159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4160 printf "%s\n" "none needed" >&6; }
   4161 else $as_nop
   4162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4163 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4164      CC="$CC $ac_cv_prog_cc_c89"
   4165 fi
   4166   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4167   ac_prog_cc_stdc=c89
   4168 fi
   4169 fi
   4170 
   4171 ac_ext=c
   4172 ac_cpp='$CPP $CPPFLAGS'
   4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4176 
   4177 
   4178   ac_ext=c
   4179 ac_cpp='$CPP $CPPFLAGS'
   4180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4184 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4185 if test ${am_cv_prog_cc_c_o+y}
   4186 then :
   4187   printf %s "(cached) " >&6
   4188 else $as_nop
   4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 
   4192 int
   4193 main (void)
   4194 {
   4195 
   4196   ;
   4197   return 0;
   4198 }
   4199 _ACEOF
   4200   # Make sure it works both with $CC and with simple cc.
   4201   # Following AC_PROG_CC_C_O, we do the test twice because some
   4202   # compilers refuse to overwrite an existing .o file with -o,
   4203   # though they will create one.
   4204   am_cv_prog_cc_c_o=yes
   4205   for am_i in 1 2; do
   4206     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4207    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4208    ac_status=$?
   4209    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4210    (exit $ac_status); } \
   4211          && test -f conftest2.$ac_objext; then
   4212       : OK
   4213     else
   4214       am_cv_prog_cc_c_o=no
   4215       break
   4216     fi
   4217   done
   4218   rm -f core conftest*
   4219   unset am_i
   4220 fi
   4221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4222 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4223 if test "$am_cv_prog_cc_c_o" != yes; then
   4224    # Losing compiler, so override with the script.
   4225    # FIXME: It is wrong to rewrite CC.
   4226    # But if we don't then we get into trouble of one sort or another.
   4227    # A longer-term fix would be to have automake use am__CC in this case,
   4228    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4229    CC="$am_aux_dir/compile $CC"
   4230 fi
   4231 ac_ext=c
   4232 ac_cpp='$CPP $CPPFLAGS'
   4233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4236 
   4237 
   4238 depcc="$CC"   am_compiler_list=
   4239 
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4241 printf %s "checking dependency style of $depcc... " >&6; }
   4242 if test ${am_cv_CC_dependencies_compiler_type+y}
   4243 then :
   4244   printf %s "(cached) " >&6
   4245 else $as_nop
   4246   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4247   # We make a subdir and do the tests there.  Otherwise we can end up
   4248   # making bogus files that we don't know about and never remove.  For
   4249   # instance it was reported that on HP-UX the gcc test will end up
   4250   # making a dummy file named 'D' -- because '-MD' means "put the output
   4251   # in D".
   4252   rm -rf conftest.dir
   4253   mkdir conftest.dir
   4254   # Copy depcomp to subdir because otherwise we won't find it if we're
   4255   # using a relative directory.
   4256   cp "$am_depcomp" conftest.dir
   4257   cd conftest.dir
   4258   # We will build objects and dependencies in a subdirectory because
   4259   # it helps to detect inapplicable dependency modes.  For instance
   4260   # both Tru64's cc and ICC support -MD to output dependencies as a
   4261   # side effect of compilation, but ICC will put the dependencies in
   4262   # the current directory while Tru64 will put them in the object
   4263   # directory.
   4264   mkdir sub
   4265 
   4266   am_cv_CC_dependencies_compiler_type=none
   4267   if test "$am_compiler_list" = ""; then
   4268      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4269   fi
   4270   am__universal=false
   4271   case " $depcc " in #(
   4272      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4273      esac
   4274 
   4275   for depmode in $am_compiler_list; do
   4276     # Setup a source with many dependencies, because some compilers
   4277     # like to wrap large dependency lists on column 80 (with \), and
   4278     # we should not choose a depcomp mode which is confused by this.
   4279     #
   4280     # We need to recreate these files for each test, as the compiler may
   4281     # overwrite some of them when testing with obscure command lines.
   4282     # This happens at least with the AIX C compiler.
   4283     : > sub/conftest.c
   4284     for i in 1 2 3 4 5 6; do
   4285       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4286       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4287       # Solaris 10 /bin/sh.
   4288       echo '/* dummy */' > sub/conftst$i.h
   4289     done
   4290     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4291 
   4292     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4293     # mode.  It turns out that the SunPro C++ compiler does not properly
   4294     # handle '-M -o', and we need to detect this.  Also, some Intel
   4295     # versions had trouble with output in subdirs.
   4296     am__obj=sub/conftest.${OBJEXT-o}
   4297     am__minus_obj="-o $am__obj"
   4298     case $depmode in
   4299     gcc)
   4300       # This depmode causes a compiler race in universal mode.
   4301       test "$am__universal" = false || continue
   4302       ;;
   4303     nosideeffect)
   4304       # After this tag, mechanisms are not by side-effect, so they'll
   4305       # only be used when explicitly requested.
   4306       if test "x$enable_dependency_tracking" = xyes; then
   4307 	continue
   4308       else
   4309 	break
   4310       fi
   4311       ;;
   4312     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4313       # This compiler won't grok '-c -o', but also, the minuso test has
   4314       # not run yet.  These depmodes are late enough in the game, and
   4315       # so weak that their functioning should not be impacted.
   4316       am__obj=conftest.${OBJEXT-o}
   4317       am__minus_obj=
   4318       ;;
   4319     none) break ;;
   4320     esac
   4321     if depmode=$depmode \
   4322        source=sub/conftest.c object=$am__obj \
   4323        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4324        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4325          >/dev/null 2>conftest.err &&
   4326        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4327        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4328        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4329        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4330       # icc doesn't choke on unknown options, it will just issue warnings
   4331       # or remarks (even with -Werror).  So we grep stderr for any message
   4332       # that says an option was ignored or not supported.
   4333       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4334       #   icc: Command line warning: ignoring option '-M'; no argument required
   4335       # The diagnosis changed in icc 8.0:
   4336       #   icc: Command line remark: option '-MP' not supported
   4337       if (grep 'ignoring option' conftest.err ||
   4338           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4339         am_cv_CC_dependencies_compiler_type=$depmode
   4340         break
   4341       fi
   4342     fi
   4343   done
   4344 
   4345   cd ..
   4346   rm -rf conftest.dir
   4347 else
   4348   am_cv_CC_dependencies_compiler_type=none
   4349 fi
   4350 
   4351 fi
   4352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4353 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4354 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4355 
   4356  if
   4357   test "x$enable_dependency_tracking" != xno \
   4358   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4359   am__fastdepCC_TRUE=
   4360   am__fastdepCC_FALSE='#'
   4361 else
   4362   am__fastdepCC_TRUE='#'
   4363   am__fastdepCC_FALSE=
   4364 fi
   4365 
   4366 
   4367 
   4368 
   4369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4370 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4371 if test ${ac_cv_c_undeclared_builtin_options+y}
   4372 then :
   4373   printf %s "(cached) " >&6
   4374 else $as_nop
   4375   ac_save_CFLAGS=$CFLAGS
   4376    ac_cv_c_undeclared_builtin_options='cannot detect'
   4377    for ac_arg in '' -fno-builtin; do
   4378      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4379      # This test program should *not* compile successfully.
   4380      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 
   4383 int
   4384 main (void)
   4385 {
   4386 (void) strchr;
   4387   ;
   4388   return 0;
   4389 }
   4390 _ACEOF
   4391 if ac_fn_c_try_compile "$LINENO"
   4392 then :
   4393 
   4394 else $as_nop
   4395   # This test program should compile successfully.
   4396         # No library function is consistently available on
   4397         # freestanding implementations, so test against a dummy
   4398         # declaration.  Include always-available headers on the
   4399         # off chance that they somehow elicit warnings.
   4400         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4401 /* end confdefs.h.  */
   4402 #include <float.h>
   4403 #include <limits.h>
   4404 #include <stdarg.h>
   4405 #include <stddef.h>
   4406 extern void ac_decl (int, char *);
   4407 
   4408 int
   4409 main (void)
   4410 {
   4411 (void) ac_decl (0, (char *) 0);
   4412   (void) ac_decl;
   4413 
   4414   ;
   4415   return 0;
   4416 }
   4417 _ACEOF
   4418 if ac_fn_c_try_compile "$LINENO"
   4419 then :
   4420   if test x"$ac_arg" = x
   4421 then :
   4422   ac_cv_c_undeclared_builtin_options='none needed'
   4423 else $as_nop
   4424   ac_cv_c_undeclared_builtin_options=$ac_arg
   4425 fi
   4426           break
   4427 fi
   4428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4429 fi
   4430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4431     done
   4432     CFLAGS=$ac_save_CFLAGS
   4433 
   4434 fi
   4435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4436 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4437   case $ac_cv_c_undeclared_builtin_options in #(
   4438   'cannot detect') :
   4439     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4440 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4441 as_fn_error $? "cannot make $CC report undeclared builtins
   4442 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4443   'none needed') :
   4444     ac_c_undeclared_builtin_options='' ;; #(
   4445   *) :
   4446     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4447 esac
   4448 
   4449 ac_header= ac_cache=
   4450 for ac_item in $ac_header_c_list
   4451 do
   4452   if test $ac_cache; then
   4453     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4454     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4455       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4456     fi
   4457     ac_header= ac_cache=
   4458   elif test $ac_header; then
   4459     ac_cache=$ac_item
   4460   else
   4461     ac_header=$ac_item
   4462   fi
   4463 done
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4473 then :
   4474 
   4475 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4476 
   4477 fi
   4478 
   4479 
   4480 
   4481 
   4482 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4483 if test "x$ac_cv_have_decl___clang__" = xyes
   4484 then :
   4485   CLANGCC="yes"
   4486 else $as_nop
   4487   CLANGCC="no"
   4488 fi
   4489 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4490 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4491 then :
   4492   INTELCC="yes"
   4493 else $as_nop
   4494   INTELCC="no"
   4495 fi
   4496 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4497 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4498 then :
   4499   SUNCC="yes"
   4500 else $as_nop
   4501   SUNCC="no"
   4502 fi
   4503 
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4512 	if test -n "$ac_tool_prefix"; then
   4513   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4516 printf %s "checking for $ac_word... " >&6; }
   4517 if test ${ac_cv_path_PKG_CONFIG+y}
   4518 then :
   4519   printf %s "(cached) " >&6
   4520 else $as_nop
   4521   case $PKG_CONFIG in
   4522   [\\/]* | ?:[\\/]*)
   4523   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4524   ;;
   4525   *)
   4526   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4527 for as_dir in $PATH
   4528 do
   4529   IFS=$as_save_IFS
   4530   case $as_dir in #(((
   4531     '') as_dir=./ ;;
   4532     */) ;;
   4533     *) as_dir=$as_dir/ ;;
   4534   esac
   4535     for ac_exec_ext in '' $ac_executable_extensions; do
   4536   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4537     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4538     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4539     break 2
   4540   fi
   4541 done
   4542   done
   4543 IFS=$as_save_IFS
   4544 
   4545   ;;
   4546 esac
   4547 fi
   4548 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4549 if test -n "$PKG_CONFIG"; then
   4550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4551 printf "%s\n" "$PKG_CONFIG" >&6; }
   4552 else
   4553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4554 printf "%s\n" "no" >&6; }
   4555 fi
   4556 
   4557 
   4558 fi
   4559 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4560   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4561   # Extract the first word of "pkg-config", so it can be a program name with args.
   4562 set dummy pkg-config; ac_word=$2
   4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4564 printf %s "checking for $ac_word... " >&6; }
   4565 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4566 then :
   4567   printf %s "(cached) " >&6
   4568 else $as_nop
   4569   case $ac_pt_PKG_CONFIG in
   4570   [\\/]* | ?:[\\/]*)
   4571   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4572   ;;
   4573   *)
   4574   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4575 for as_dir in $PATH
   4576 do
   4577   IFS=$as_save_IFS
   4578   case $as_dir in #(((
   4579     '') as_dir=./ ;;
   4580     */) ;;
   4581     *) as_dir=$as_dir/ ;;
   4582   esac
   4583     for ac_exec_ext in '' $ac_executable_extensions; do
   4584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4585     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4587     break 2
   4588   fi
   4589 done
   4590   done
   4591 IFS=$as_save_IFS
   4592 
   4593   ;;
   4594 esac
   4595 fi
   4596 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4597 if test -n "$ac_pt_PKG_CONFIG"; then
   4598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4599 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4600 else
   4601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4602 printf "%s\n" "no" >&6; }
   4603 fi
   4604 
   4605   if test "x$ac_pt_PKG_CONFIG" = x; then
   4606     PKG_CONFIG=""
   4607   else
   4608     case $cross_compiling:$ac_tool_warned in
   4609 yes:)
   4610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4612 ac_tool_warned=yes ;;
   4613 esac
   4614     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4615   fi
   4616 else
   4617   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4618 fi
   4619 
   4620 fi
   4621 if test -n "$PKG_CONFIG"; then
   4622 	_pkg_min_version=0.9.0
   4623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4624 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4625 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4627 printf "%s\n" "yes" >&6; }
   4628 	else
   4629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4630 printf "%s\n" "no" >&6; }
   4631 		PKG_CONFIG=""
   4632 	fi
   4633 fi
   4634 
   4635 
   4636   # Make sure we can run config.sub.
   4637 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4638   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4639 
   4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4641 printf %s "checking build system type... " >&6; }
   4642 if test ${ac_cv_build+y}
   4643 then :
   4644   printf %s "(cached) " >&6
   4645 else $as_nop
   4646   ac_build_alias=$build_alias
   4647 test "x$ac_build_alias" = x &&
   4648   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4649 test "x$ac_build_alias" = x &&
   4650   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4651 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4652   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4653 
   4654 fi
   4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4656 printf "%s\n" "$ac_cv_build" >&6; }
   4657 case $ac_cv_build in
   4658 *-*-*) ;;
   4659 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4660 esac
   4661 build=$ac_cv_build
   4662 ac_save_IFS=$IFS; IFS='-'
   4663 set x $ac_cv_build
   4664 shift
   4665 build_cpu=$1
   4666 build_vendor=$2
   4667 shift; shift
   4668 # Remember, the first character of IFS is used to create $*,
   4669 # except with old shells:
   4670 build_os=$*
   4671 IFS=$ac_save_IFS
   4672 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4673 
   4674 
   4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4676 printf %s "checking host system type... " >&6; }
   4677 if test ${ac_cv_host+y}
   4678 then :
   4679   printf %s "(cached) " >&6
   4680 else $as_nop
   4681   if test "x$host_alias" = x; then
   4682   ac_cv_host=$ac_cv_build
   4683 else
   4684   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4685     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4686 fi
   4687 
   4688 fi
   4689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4690 printf "%s\n" "$ac_cv_host" >&6; }
   4691 case $ac_cv_host in
   4692 *-*-*) ;;
   4693 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4694 esac
   4695 host=$ac_cv_host
   4696 ac_save_IFS=$IFS; IFS='-'
   4697 set x $ac_cv_host
   4698 shift
   4699 host_cpu=$1
   4700 host_vendor=$2
   4701 shift; shift
   4702 # Remember, the first character of IFS is used to create $*,
   4703 # except with old shells:
   4704 host_os=$*
   4705 IFS=$ac_save_IFS
   4706 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4707 
   4708 
   4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4710 printf %s "checking for a sed that does not truncate output... " >&6; }
   4711 if test ${ac_cv_path_SED+y}
   4712 then :
   4713   printf %s "(cached) " >&6
   4714 else $as_nop
   4715             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4716      for ac_i in 1 2 3 4 5 6 7; do
   4717        ac_script="$ac_script$as_nl$ac_script"
   4718      done
   4719      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4720      { ac_script=; unset ac_script;}
   4721      if test -z "$SED"; then
   4722   ac_path_SED_found=false
   4723   # Loop through the user's path and test for each of PROGNAME-LIST
   4724   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4725 for as_dir in $PATH
   4726 do
   4727   IFS=$as_save_IFS
   4728   case $as_dir in #(((
   4729     '') as_dir=./ ;;
   4730     */) ;;
   4731     *) as_dir=$as_dir/ ;;
   4732   esac
   4733     for ac_prog in sed gsed
   4734    do
   4735     for ac_exec_ext in '' $ac_executable_extensions; do
   4736       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4737       as_fn_executable_p "$ac_path_SED" || continue
   4738 # Check for GNU ac_path_SED and select it if it is found.
   4739   # Check for GNU $ac_path_SED
   4740 case `"$ac_path_SED" --version 2>&1` in
   4741 *GNU*)
   4742   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4743 *)
   4744   ac_count=0
   4745   printf %s 0123456789 >"conftest.in"
   4746   while :
   4747   do
   4748     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4749     mv "conftest.tmp" "conftest.in"
   4750     cp "conftest.in" "conftest.nl"
   4751     printf "%s\n" '' >> "conftest.nl"
   4752     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4753     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4754     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4755     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4756       # Best one so far, save it but keep looking for a better one
   4757       ac_cv_path_SED="$ac_path_SED"
   4758       ac_path_SED_max=$ac_count
   4759     fi
   4760     # 10*(2^10) chars as input seems more than enough
   4761     test $ac_count -gt 10 && break
   4762   done
   4763   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4764 esac
   4765 
   4766       $ac_path_SED_found && break 3
   4767     done
   4768   done
   4769   done
   4770 IFS=$as_save_IFS
   4771   if test -z "$ac_cv_path_SED"; then
   4772     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4773   fi
   4774 else
   4775   ac_cv_path_SED=$SED
   4776 fi
   4777 
   4778 fi
   4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4780 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4781  SED="$ac_cv_path_SED"
   4782   rm -f conftest.sed
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 
   4789 # Check whether --enable-selective-werror was given.
   4790 if test ${enable_selective_werror+y}
   4791 then :
   4792   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4793 else $as_nop
   4794   SELECTIVE_WERROR=yes
   4795 fi
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4802 if test "x$SUNCC" = "xyes"; then
   4803     BASE_CFLAGS="-v"
   4804 else
   4805     BASE_CFLAGS=""
   4806 fi
   4807 
   4808 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 xorg_testset_save_CFLAGS="$CFLAGS"
   4823 
   4824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4829 then :
   4830   printf %s "(cached) " >&6
   4831 else $as_nop
   4832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4833 /* end confdefs.h.  */
   4834 int i;
   4835 _ACEOF
   4836 if ac_fn_c_try_compile "$LINENO"
   4837 then :
   4838   xorg_cv_cc_flag_unknown_warning_option=yes
   4839 else $as_nop
   4840   xorg_cv_cc_flag_unknown_warning_option=no
   4841 fi
   4842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4843 fi
   4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4847 	CFLAGS="$xorg_testset_save_CFLAGS"
   4848 fi
   4849 
   4850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4853 	fi
   4854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4858 then :
   4859   printf %s "(cached) " >&6
   4860 else $as_nop
   4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4862 /* end confdefs.h.  */
   4863 int i;
   4864 _ACEOF
   4865 if ac_fn_c_try_compile "$LINENO"
   4866 then :
   4867   xorg_cv_cc_flag_unused_command_line_argument=yes
   4868 else $as_nop
   4869   xorg_cv_cc_flag_unused_command_line_argument=no
   4870 fi
   4871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4872 fi
   4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4876 	CFLAGS="$xorg_testset_save_CFLAGS"
   4877 fi
   4878 
   4879 found="no"
   4880 
   4881 	if test $found = "no" ; then
   4882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4884 		fi
   4885 
   4886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4888 		fi
   4889 
   4890 		CFLAGS="$CFLAGS -Wall"
   4891 
   4892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4893 printf %s "checking if $CC supports -Wall... " >&6; }
   4894 		cacheid=xorg_cv_cc_flag__Wall
   4895 		if eval test \${$cacheid+y}
   4896 then :
   4897   printf %s "(cached) " >&6
   4898 else $as_nop
   4899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4900 /* end confdefs.h.  */
   4901 int i;
   4902 int
   4903 main (void)
   4904 {
   4905 
   4906   ;
   4907   return 0;
   4908 }
   4909 _ACEOF
   4910 if ac_fn_c_try_link "$LINENO"
   4911 then :
   4912   eval $cacheid=yes
   4913 else $as_nop
   4914   eval $cacheid=no
   4915 fi
   4916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4917     conftest$ac_exeext conftest.$ac_ext
   4918 fi
   4919 
   4920 
   4921 		CFLAGS="$xorg_testset_save_CFLAGS"
   4922 
   4923 		eval supported=\$$cacheid
   4924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4925 printf "%s\n" "$supported" >&6; }
   4926 		if test "$supported" = "yes" ; then
   4927 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4928 			found="yes"
   4929 		fi
   4930 	fi
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 xorg_testset_save_CFLAGS="$CFLAGS"
   4947 
   4948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4952 if test ${xorg_cv_cc_flag_unknown_warning_option+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 int i;
   4959 _ACEOF
   4960 if ac_fn_c_try_compile "$LINENO"
   4961 then :
   4962   xorg_cv_cc_flag_unknown_warning_option=yes
   4963 else $as_nop
   4964   xorg_cv_cc_flag_unknown_warning_option=no
   4965 fi
   4966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4967 fi
   4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4971 	CFLAGS="$xorg_testset_save_CFLAGS"
   4972 fi
   4973 
   4974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4977 	fi
   4978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4982 then :
   4983   printf %s "(cached) " >&6
   4984 else $as_nop
   4985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4986 /* end confdefs.h.  */
   4987 int i;
   4988 _ACEOF
   4989 if ac_fn_c_try_compile "$LINENO"
   4990 then :
   4991   xorg_cv_cc_flag_unused_command_line_argument=yes
   4992 else $as_nop
   4993   xorg_cv_cc_flag_unused_command_line_argument=no
   4994 fi
   4995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4996 fi
   4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4998 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5000 	CFLAGS="$xorg_testset_save_CFLAGS"
   5001 fi
   5002 
   5003 found="no"
   5004 
   5005 	if test $found = "no" ; then
   5006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5008 		fi
   5009 
   5010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5012 		fi
   5013 
   5014 		CFLAGS="$CFLAGS -Wpointer-arith"
   5015 
   5016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5017 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5018 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5019 		if eval test \${$cacheid+y}
   5020 then :
   5021   printf %s "(cached) " >&6
   5022 else $as_nop
   5023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5024 /* end confdefs.h.  */
   5025 int i;
   5026 int
   5027 main (void)
   5028 {
   5029 
   5030   ;
   5031   return 0;
   5032 }
   5033 _ACEOF
   5034 if ac_fn_c_try_link "$LINENO"
   5035 then :
   5036   eval $cacheid=yes
   5037 else $as_nop
   5038   eval $cacheid=no
   5039 fi
   5040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5041     conftest$ac_exeext conftest.$ac_ext
   5042 fi
   5043 
   5044 
   5045 		CFLAGS="$xorg_testset_save_CFLAGS"
   5046 
   5047 		eval supported=\$$cacheid
   5048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5049 printf "%s\n" "$supported" >&6; }
   5050 		if test "$supported" = "yes" ; then
   5051 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5052 			found="yes"
   5053 		fi
   5054 	fi
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 xorg_testset_save_CFLAGS="$CFLAGS"
   5071 
   5072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5077 then :
   5078   printf %s "(cached) " >&6
   5079 else $as_nop
   5080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 _ACEOF
   5084 if ac_fn_c_try_compile "$LINENO"
   5085 then :
   5086   xorg_cv_cc_flag_unknown_warning_option=yes
   5087 else $as_nop
   5088   xorg_cv_cc_flag_unknown_warning_option=no
   5089 fi
   5090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5091 fi
   5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5095 	CFLAGS="$xorg_testset_save_CFLAGS"
   5096 fi
   5097 
   5098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5101 	fi
   5102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5106 then :
   5107   printf %s "(cached) " >&6
   5108 else $as_nop
   5109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5110 /* end confdefs.h.  */
   5111 int i;
   5112 _ACEOF
   5113 if ac_fn_c_try_compile "$LINENO"
   5114 then :
   5115   xorg_cv_cc_flag_unused_command_line_argument=yes
   5116 else $as_nop
   5117   xorg_cv_cc_flag_unused_command_line_argument=no
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5120 fi
   5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5122 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5124 	CFLAGS="$xorg_testset_save_CFLAGS"
   5125 fi
   5126 
   5127 found="no"
   5128 
   5129 	if test $found = "no" ; then
   5130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5132 		fi
   5133 
   5134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5136 		fi
   5137 
   5138 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5139 
   5140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5141 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5142 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5143 		if eval test \${$cacheid+y}
   5144 then :
   5145   printf %s "(cached) " >&6
   5146 else $as_nop
   5147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5148 /* end confdefs.h.  */
   5149 int i;
   5150 int
   5151 main (void)
   5152 {
   5153 
   5154   ;
   5155   return 0;
   5156 }
   5157 _ACEOF
   5158 if ac_fn_c_try_link "$LINENO"
   5159 then :
   5160   eval $cacheid=yes
   5161 else $as_nop
   5162   eval $cacheid=no
   5163 fi
   5164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5165     conftest$ac_exeext conftest.$ac_ext
   5166 fi
   5167 
   5168 
   5169 		CFLAGS="$xorg_testset_save_CFLAGS"
   5170 
   5171 		eval supported=\$$cacheid
   5172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5173 printf "%s\n" "$supported" >&6; }
   5174 		if test "$supported" = "yes" ; then
   5175 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5176 			found="yes"
   5177 		fi
   5178 	fi
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 xorg_testset_save_CFLAGS="$CFLAGS"
   5195 
   5196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5201 then :
   5202   printf %s "(cached) " >&6
   5203 else $as_nop
   5204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5205 /* end confdefs.h.  */
   5206 int i;
   5207 _ACEOF
   5208 if ac_fn_c_try_compile "$LINENO"
   5209 then :
   5210   xorg_cv_cc_flag_unknown_warning_option=yes
   5211 else $as_nop
   5212   xorg_cv_cc_flag_unknown_warning_option=no
   5213 fi
   5214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5215 fi
   5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5219 	CFLAGS="$xorg_testset_save_CFLAGS"
   5220 fi
   5221 
   5222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5225 	fi
   5226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5230 then :
   5231   printf %s "(cached) " >&6
   5232 else $as_nop
   5233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5234 /* end confdefs.h.  */
   5235 int i;
   5236 _ACEOF
   5237 if ac_fn_c_try_compile "$LINENO"
   5238 then :
   5239   xorg_cv_cc_flag_unused_command_line_argument=yes
   5240 else $as_nop
   5241   xorg_cv_cc_flag_unused_command_line_argument=no
   5242 fi
   5243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5244 fi
   5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5248 	CFLAGS="$xorg_testset_save_CFLAGS"
   5249 fi
   5250 
   5251 found="no"
   5252 
   5253 	if test $found = "no" ; then
   5254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 		fi
   5257 
   5258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5260 		fi
   5261 
   5262 		CFLAGS="$CFLAGS -Wformat=2"
   5263 
   5264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5265 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5266 		cacheid=xorg_cv_cc_flag__Wformat_2
   5267 		if eval test \${$cacheid+y}
   5268 then :
   5269   printf %s "(cached) " >&6
   5270 else $as_nop
   5271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 int i;
   5274 int
   5275 main (void)
   5276 {
   5277 
   5278   ;
   5279   return 0;
   5280 }
   5281 _ACEOF
   5282 if ac_fn_c_try_link "$LINENO"
   5283 then :
   5284   eval $cacheid=yes
   5285 else $as_nop
   5286   eval $cacheid=no
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5289     conftest$ac_exeext conftest.$ac_ext
   5290 fi
   5291 
   5292 
   5293 		CFLAGS="$xorg_testset_save_CFLAGS"
   5294 
   5295 		eval supported=\$$cacheid
   5296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5297 printf "%s\n" "$supported" >&6; }
   5298 		if test "$supported" = "yes" ; then
   5299 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5300 			found="yes"
   5301 		fi
   5302 	fi
   5303 
   5304 	if test $found = "no" ; then
   5305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5307 		fi
   5308 
   5309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5311 		fi
   5312 
   5313 		CFLAGS="$CFLAGS -Wformat"
   5314 
   5315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5316 printf %s "checking if $CC supports -Wformat... " >&6; }
   5317 		cacheid=xorg_cv_cc_flag__Wformat
   5318 		if eval test \${$cacheid+y}
   5319 then :
   5320   printf %s "(cached) " >&6
   5321 else $as_nop
   5322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5323 /* end confdefs.h.  */
   5324 int i;
   5325 int
   5326 main (void)
   5327 {
   5328 
   5329   ;
   5330   return 0;
   5331 }
   5332 _ACEOF
   5333 if ac_fn_c_try_link "$LINENO"
   5334 then :
   5335   eval $cacheid=yes
   5336 else $as_nop
   5337   eval $cacheid=no
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5340     conftest$ac_exeext conftest.$ac_ext
   5341 fi
   5342 
   5343 
   5344 		CFLAGS="$xorg_testset_save_CFLAGS"
   5345 
   5346 		eval supported=\$$cacheid
   5347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5348 printf "%s\n" "$supported" >&6; }
   5349 		if test "$supported" = "yes" ; then
   5350 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5351 			found="yes"
   5352 		fi
   5353 	fi
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 xorg_testset_save_CFLAGS="$CFLAGS"
   5372 
   5373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5376 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5377 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5378 then :
   5379   printf %s "(cached) " >&6
   5380 else $as_nop
   5381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5382 /* end confdefs.h.  */
   5383 int i;
   5384 _ACEOF
   5385 if ac_fn_c_try_compile "$LINENO"
   5386 then :
   5387   xorg_cv_cc_flag_unknown_warning_option=yes
   5388 else $as_nop
   5389   xorg_cv_cc_flag_unknown_warning_option=no
   5390 fi
   5391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5392 fi
   5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5394 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5396 	CFLAGS="$xorg_testset_save_CFLAGS"
   5397 fi
   5398 
   5399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5402 	fi
   5403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5405 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5406 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5407 then :
   5408   printf %s "(cached) " >&6
   5409 else $as_nop
   5410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5411 /* end confdefs.h.  */
   5412 int i;
   5413 _ACEOF
   5414 if ac_fn_c_try_compile "$LINENO"
   5415 then :
   5416   xorg_cv_cc_flag_unused_command_line_argument=yes
   5417 else $as_nop
   5418   xorg_cv_cc_flag_unused_command_line_argument=no
   5419 fi
   5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5421 fi
   5422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5423 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5425 	CFLAGS="$xorg_testset_save_CFLAGS"
   5426 fi
   5427 
   5428 found="no"
   5429 
   5430 	if test $found = "no" ; then
   5431 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5433 		fi
   5434 
   5435 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5437 		fi
   5438 
   5439 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5440 
   5441 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5442 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5443 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5444 		if eval test \${$cacheid+y}
   5445 then :
   5446   printf %s "(cached) " >&6
   5447 else $as_nop
   5448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5449 /* end confdefs.h.  */
   5450 int i;
   5451 int
   5452 main (void)
   5453 {
   5454 
   5455   ;
   5456   return 0;
   5457 }
   5458 _ACEOF
   5459 if ac_fn_c_try_link "$LINENO"
   5460 then :
   5461   eval $cacheid=yes
   5462 else $as_nop
   5463   eval $cacheid=no
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5466     conftest$ac_exeext conftest.$ac_ext
   5467 fi
   5468 
   5469 
   5470 		CFLAGS="$xorg_testset_save_CFLAGS"
   5471 
   5472 		eval supported=\$$cacheid
   5473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5474 printf "%s\n" "$supported" >&6; }
   5475 		if test "$supported" = "yes" ; then
   5476 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5477 			found="yes"
   5478 		fi
   5479 	fi
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 xorg_testset_save_CFLAGS="$CFLAGS"
   5496 
   5497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5502 then :
   5503   printf %s "(cached) " >&6
   5504 else $as_nop
   5505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5506 /* end confdefs.h.  */
   5507 int i;
   5508 _ACEOF
   5509 if ac_fn_c_try_compile "$LINENO"
   5510 then :
   5511   xorg_cv_cc_flag_unknown_warning_option=yes
   5512 else $as_nop
   5513   xorg_cv_cc_flag_unknown_warning_option=no
   5514 fi
   5515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5516 fi
   5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5518 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5520 	CFLAGS="$xorg_testset_save_CFLAGS"
   5521 fi
   5522 
   5523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5526 	fi
   5527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5529 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5530 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5531 then :
   5532   printf %s "(cached) " >&6
   5533 else $as_nop
   5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5535 /* end confdefs.h.  */
   5536 int i;
   5537 _ACEOF
   5538 if ac_fn_c_try_compile "$LINENO"
   5539 then :
   5540   xorg_cv_cc_flag_unused_command_line_argument=yes
   5541 else $as_nop
   5542   xorg_cv_cc_flag_unused_command_line_argument=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5545 fi
   5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5547 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 found="no"
   5553 
   5554 	if test $found = "no" ; then
   5555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5557 		fi
   5558 
   5559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 		fi
   5562 
   5563 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5564 
   5565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5566 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5567 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5568 		if eval test \${$cacheid+y}
   5569 then :
   5570   printf %s "(cached) " >&6
   5571 else $as_nop
   5572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5573 /* end confdefs.h.  */
   5574 int i;
   5575 int
   5576 main (void)
   5577 {
   5578 
   5579   ;
   5580   return 0;
   5581 }
   5582 _ACEOF
   5583 if ac_fn_c_try_link "$LINENO"
   5584 then :
   5585   eval $cacheid=yes
   5586 else $as_nop
   5587   eval $cacheid=no
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5590     conftest$ac_exeext conftest.$ac_ext
   5591 fi
   5592 
   5593 
   5594 		CFLAGS="$xorg_testset_save_CFLAGS"
   5595 
   5596 		eval supported=\$$cacheid
   5597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5598 printf "%s\n" "$supported" >&6; }
   5599 		if test "$supported" = "yes" ; then
   5600 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5601 			found="yes"
   5602 		fi
   5603 	fi
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 xorg_testset_save_CFLAGS="$CFLAGS"
   5620 
   5621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5626 then :
   5627   printf %s "(cached) " >&6
   5628 else $as_nop
   5629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5630 /* end confdefs.h.  */
   5631 int i;
   5632 _ACEOF
   5633 if ac_fn_c_try_compile "$LINENO"
   5634 then :
   5635   xorg_cv_cc_flag_unknown_warning_option=yes
   5636 else $as_nop
   5637   xorg_cv_cc_flag_unknown_warning_option=no
   5638 fi
   5639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5640 fi
   5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5642 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5644 	CFLAGS="$xorg_testset_save_CFLAGS"
   5645 fi
   5646 
   5647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5650 	fi
   5651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5653 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5654 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5655 then :
   5656   printf %s "(cached) " >&6
   5657 else $as_nop
   5658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5659 /* end confdefs.h.  */
   5660 int i;
   5661 _ACEOF
   5662 if ac_fn_c_try_compile "$LINENO"
   5663 then :
   5664   xorg_cv_cc_flag_unused_command_line_argument=yes
   5665 else $as_nop
   5666   xorg_cv_cc_flag_unused_command_line_argument=no
   5667 fi
   5668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5669 fi
   5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5671 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5673 	CFLAGS="$xorg_testset_save_CFLAGS"
   5674 fi
   5675 
   5676 found="no"
   5677 
   5678 	if test $found = "no" ; then
   5679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5681 		fi
   5682 
   5683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5685 		fi
   5686 
   5687 		CFLAGS="$CFLAGS -Wnested-externs"
   5688 
   5689 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5690 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5691 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5692 		if eval test \${$cacheid+y}
   5693 then :
   5694   printf %s "(cached) " >&6
   5695 else $as_nop
   5696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5697 /* end confdefs.h.  */
   5698 int i;
   5699 int
   5700 main (void)
   5701 {
   5702 
   5703   ;
   5704   return 0;
   5705 }
   5706 _ACEOF
   5707 if ac_fn_c_try_link "$LINENO"
   5708 then :
   5709   eval $cacheid=yes
   5710 else $as_nop
   5711   eval $cacheid=no
   5712 fi
   5713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5714     conftest$ac_exeext conftest.$ac_ext
   5715 fi
   5716 
   5717 
   5718 		CFLAGS="$xorg_testset_save_CFLAGS"
   5719 
   5720 		eval supported=\$$cacheid
   5721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5722 printf "%s\n" "$supported" >&6; }
   5723 		if test "$supported" = "yes" ; then
   5724 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5725 			found="yes"
   5726 		fi
   5727 	fi
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 xorg_testset_save_CFLAGS="$CFLAGS"
   5744 
   5745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5748 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5749 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5750 then :
   5751   printf %s "(cached) " >&6
   5752 else $as_nop
   5753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5754 /* end confdefs.h.  */
   5755 int i;
   5756 _ACEOF
   5757 if ac_fn_c_try_compile "$LINENO"
   5758 then :
   5759   xorg_cv_cc_flag_unknown_warning_option=yes
   5760 else $as_nop
   5761   xorg_cv_cc_flag_unknown_warning_option=no
   5762 fi
   5763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5764 fi
   5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5766 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5768 	CFLAGS="$xorg_testset_save_CFLAGS"
   5769 fi
   5770 
   5771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5774 	fi
   5775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5779 then :
   5780   printf %s "(cached) " >&6
   5781 else $as_nop
   5782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5783 /* end confdefs.h.  */
   5784 int i;
   5785 _ACEOF
   5786 if ac_fn_c_try_compile "$LINENO"
   5787 then :
   5788   xorg_cv_cc_flag_unused_command_line_argument=yes
   5789 else $as_nop
   5790   xorg_cv_cc_flag_unused_command_line_argument=no
   5791 fi
   5792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5793 fi
   5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5797 	CFLAGS="$xorg_testset_save_CFLAGS"
   5798 fi
   5799 
   5800 found="no"
   5801 
   5802 	if test $found = "no" ; then
   5803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5805 		fi
   5806 
   5807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5809 		fi
   5810 
   5811 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5812 
   5813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5814 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5815 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5816 		if eval test \${$cacheid+y}
   5817 then :
   5818   printf %s "(cached) " >&6
   5819 else $as_nop
   5820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5821 /* end confdefs.h.  */
   5822 int i;
   5823 int
   5824 main (void)
   5825 {
   5826 
   5827   ;
   5828   return 0;
   5829 }
   5830 _ACEOF
   5831 if ac_fn_c_try_link "$LINENO"
   5832 then :
   5833   eval $cacheid=yes
   5834 else $as_nop
   5835   eval $cacheid=no
   5836 fi
   5837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5838     conftest$ac_exeext conftest.$ac_ext
   5839 fi
   5840 
   5841 
   5842 		CFLAGS="$xorg_testset_save_CFLAGS"
   5843 
   5844 		eval supported=\$$cacheid
   5845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5846 printf "%s\n" "$supported" >&6; }
   5847 		if test "$supported" = "yes" ; then
   5848 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5849 			found="yes"
   5850 		fi
   5851 	fi
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 xorg_testset_save_CFLAGS="$CFLAGS"
   5868 
   5869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5872 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5873 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5874 then :
   5875   printf %s "(cached) " >&6
   5876 else $as_nop
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"
   5882 then :
   5883   xorg_cv_cc_flag_unknown_warning_option=yes
   5884 else $as_nop
   5885   xorg_cv_cc_flag_unknown_warning_option=no
   5886 fi
   5887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5888 fi
   5889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5890 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5892 	CFLAGS="$xorg_testset_save_CFLAGS"
   5893 fi
   5894 
   5895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5898 	fi
   5899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5901 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5902 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5903 then :
   5904   printf %s "(cached) " >&6
   5905 else $as_nop
   5906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5907 /* end confdefs.h.  */
   5908 int i;
   5909 _ACEOF
   5910 if ac_fn_c_try_compile "$LINENO"
   5911 then :
   5912   xorg_cv_cc_flag_unused_command_line_argument=yes
   5913 else $as_nop
   5914   xorg_cv_cc_flag_unused_command_line_argument=no
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5917 fi
   5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5919 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5921 	CFLAGS="$xorg_testset_save_CFLAGS"
   5922 fi
   5923 
   5924 found="no"
   5925 
   5926 	if test $found = "no" ; then
   5927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5929 		fi
   5930 
   5931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5933 		fi
   5934 
   5935 		CFLAGS="$CFLAGS -Wold-style-definition"
   5936 
   5937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5938 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5939 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5940 		if eval test \${$cacheid+y}
   5941 then :
   5942   printf %s "(cached) " >&6
   5943 else $as_nop
   5944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5945 /* end confdefs.h.  */
   5946 int i;
   5947 int
   5948 main (void)
   5949 {
   5950 
   5951   ;
   5952   return 0;
   5953 }
   5954 _ACEOF
   5955 if ac_fn_c_try_link "$LINENO"
   5956 then :
   5957   eval $cacheid=yes
   5958 else $as_nop
   5959   eval $cacheid=no
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5962     conftest$ac_exeext conftest.$ac_ext
   5963 fi
   5964 
   5965 
   5966 		CFLAGS="$xorg_testset_save_CFLAGS"
   5967 
   5968 		eval supported=\$$cacheid
   5969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5970 printf "%s\n" "$supported" >&6; }
   5971 		if test "$supported" = "yes" ; then
   5972 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5973 			found="yes"
   5974 		fi
   5975 	fi
   5976 
   5977 	if test $found = "no" ; then
   5978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5980 		fi
   5981 
   5982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5984 		fi
   5985 
   5986 		CFLAGS="$CFLAGS -fd"
   5987 
   5988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5989 printf %s "checking if $CC supports -fd... " >&6; }
   5990 		cacheid=xorg_cv_cc_flag__fd
   5991 		if eval test \${$cacheid+y}
   5992 then :
   5993   printf %s "(cached) " >&6
   5994 else $as_nop
   5995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5996 /* end confdefs.h.  */
   5997 int i;
   5998 int
   5999 main (void)
   6000 {
   6001 
   6002   ;
   6003   return 0;
   6004 }
   6005 _ACEOF
   6006 if ac_fn_c_try_link "$LINENO"
   6007 then :
   6008   eval $cacheid=yes
   6009 else $as_nop
   6010   eval $cacheid=no
   6011 fi
   6012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6013     conftest$ac_exeext conftest.$ac_ext
   6014 fi
   6015 
   6016 
   6017 		CFLAGS="$xorg_testset_save_CFLAGS"
   6018 
   6019 		eval supported=\$$cacheid
   6020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6021 printf "%s\n" "$supported" >&6; }
   6022 		if test "$supported" = "yes" ; then
   6023 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6024 			found="yes"
   6025 		fi
   6026 	fi
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 xorg_testset_save_CFLAGS="$CFLAGS"
   6043 
   6044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6047 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6048 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6049 then :
   6050   printf %s "(cached) " >&6
   6051 else $as_nop
   6052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6053 /* end confdefs.h.  */
   6054 int i;
   6055 _ACEOF
   6056 if ac_fn_c_try_compile "$LINENO"
   6057 then :
   6058   xorg_cv_cc_flag_unknown_warning_option=yes
   6059 else $as_nop
   6060   xorg_cv_cc_flag_unknown_warning_option=no
   6061 fi
   6062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6063 fi
   6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6065 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6067 	CFLAGS="$xorg_testset_save_CFLAGS"
   6068 fi
   6069 
   6070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6073 	fi
   6074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6076 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6077 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6078 then :
   6079   printf %s "(cached) " >&6
   6080 else $as_nop
   6081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6082 /* end confdefs.h.  */
   6083 int i;
   6084 _ACEOF
   6085 if ac_fn_c_try_compile "$LINENO"
   6086 then :
   6087   xorg_cv_cc_flag_unused_command_line_argument=yes
   6088 else $as_nop
   6089   xorg_cv_cc_flag_unused_command_line_argument=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6092 fi
   6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6094 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6096 	CFLAGS="$xorg_testset_save_CFLAGS"
   6097 fi
   6098 
   6099 found="no"
   6100 
   6101 	if test $found = "no" ; then
   6102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6104 		fi
   6105 
   6106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6108 		fi
   6109 
   6110 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6111 
   6112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6113 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6114 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6115 		if eval test \${$cacheid+y}
   6116 then :
   6117   printf %s "(cached) " >&6
   6118 else $as_nop
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 int
   6123 main (void)
   6124 {
   6125 
   6126   ;
   6127   return 0;
   6128 }
   6129 _ACEOF
   6130 if ac_fn_c_try_link "$LINENO"
   6131 then :
   6132   eval $cacheid=yes
   6133 else $as_nop
   6134   eval $cacheid=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6137     conftest$ac_exeext conftest.$ac_ext
   6138 fi
   6139 
   6140 
   6141 		CFLAGS="$xorg_testset_save_CFLAGS"
   6142 
   6143 		eval supported=\$$cacheid
   6144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6145 printf "%s\n" "$supported" >&6; }
   6146 		if test "$supported" = "yes" ; then
   6147 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6148 			found="yes"
   6149 		fi
   6150 	fi
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 # This chunk adds additional warnings that could catch undesired effects.
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 xorg_testset_save_CFLAGS="$CFLAGS"
   6171 
   6172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6175 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6176 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6177 then :
   6178   printf %s "(cached) " >&6
   6179 else $as_nop
   6180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6181 /* end confdefs.h.  */
   6182 int i;
   6183 _ACEOF
   6184 if ac_fn_c_try_compile "$LINENO"
   6185 then :
   6186   xorg_cv_cc_flag_unknown_warning_option=yes
   6187 else $as_nop
   6188   xorg_cv_cc_flag_unknown_warning_option=no
   6189 fi
   6190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6191 fi
   6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6193 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6195 	CFLAGS="$xorg_testset_save_CFLAGS"
   6196 fi
   6197 
   6198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6201 	fi
   6202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6204 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6205 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6206 then :
   6207   printf %s "(cached) " >&6
   6208 else $as_nop
   6209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 _ACEOF
   6213 if ac_fn_c_try_compile "$LINENO"
   6214 then :
   6215   xorg_cv_cc_flag_unused_command_line_argument=yes
   6216 else $as_nop
   6217   xorg_cv_cc_flag_unused_command_line_argument=no
   6218 fi
   6219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6220 fi
   6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6222 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6224 	CFLAGS="$xorg_testset_save_CFLAGS"
   6225 fi
   6226 
   6227 found="no"
   6228 
   6229 	if test $found = "no" ; then
   6230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6232 		fi
   6233 
   6234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6236 		fi
   6237 
   6238 		CFLAGS="$CFLAGS -Wunused"
   6239 
   6240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6241 printf %s "checking if $CC supports -Wunused... " >&6; }
   6242 		cacheid=xorg_cv_cc_flag__Wunused
   6243 		if eval test \${$cacheid+y}
   6244 then :
   6245   printf %s "(cached) " >&6
   6246 else $as_nop
   6247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6248 /* end confdefs.h.  */
   6249 int i;
   6250 int
   6251 main (void)
   6252 {
   6253 
   6254   ;
   6255   return 0;
   6256 }
   6257 _ACEOF
   6258 if ac_fn_c_try_link "$LINENO"
   6259 then :
   6260   eval $cacheid=yes
   6261 else $as_nop
   6262   eval $cacheid=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6265     conftest$ac_exeext conftest.$ac_ext
   6266 fi
   6267 
   6268 
   6269 		CFLAGS="$xorg_testset_save_CFLAGS"
   6270 
   6271 		eval supported=\$$cacheid
   6272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6273 printf "%s\n" "$supported" >&6; }
   6274 		if test "$supported" = "yes" ; then
   6275 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6276 			found="yes"
   6277 		fi
   6278 	fi
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 xorg_testset_save_CFLAGS="$CFLAGS"
   6295 
   6296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6301 then :
   6302   printf %s "(cached) " >&6
   6303 else $as_nop
   6304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6305 /* end confdefs.h.  */
   6306 int i;
   6307 _ACEOF
   6308 if ac_fn_c_try_compile "$LINENO"
   6309 then :
   6310   xorg_cv_cc_flag_unknown_warning_option=yes
   6311 else $as_nop
   6312   xorg_cv_cc_flag_unknown_warning_option=no
   6313 fi
   6314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6315 fi
   6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6317 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6319 	CFLAGS="$xorg_testset_save_CFLAGS"
   6320 fi
   6321 
   6322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6325 	fi
   6326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6330 then :
   6331   printf %s "(cached) " >&6
   6332 else $as_nop
   6333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6334 /* end confdefs.h.  */
   6335 int i;
   6336 _ACEOF
   6337 if ac_fn_c_try_compile "$LINENO"
   6338 then :
   6339   xorg_cv_cc_flag_unused_command_line_argument=yes
   6340 else $as_nop
   6341   xorg_cv_cc_flag_unused_command_line_argument=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6344 fi
   6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6346 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6348 	CFLAGS="$xorg_testset_save_CFLAGS"
   6349 fi
   6350 
   6351 found="no"
   6352 
   6353 	if test $found = "no" ; then
   6354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6356 		fi
   6357 
   6358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6360 		fi
   6361 
   6362 		CFLAGS="$CFLAGS -Wuninitialized"
   6363 
   6364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6365 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6366 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6367 		if eval test \${$cacheid+y}
   6368 then :
   6369   printf %s "(cached) " >&6
   6370 else $as_nop
   6371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6372 /* end confdefs.h.  */
   6373 int i;
   6374 int
   6375 main (void)
   6376 {
   6377 
   6378   ;
   6379   return 0;
   6380 }
   6381 _ACEOF
   6382 if ac_fn_c_try_link "$LINENO"
   6383 then :
   6384   eval $cacheid=yes
   6385 else $as_nop
   6386   eval $cacheid=no
   6387 fi
   6388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6389     conftest$ac_exeext conftest.$ac_ext
   6390 fi
   6391 
   6392 
   6393 		CFLAGS="$xorg_testset_save_CFLAGS"
   6394 
   6395 		eval supported=\$$cacheid
   6396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6397 printf "%s\n" "$supported" >&6; }
   6398 		if test "$supported" = "yes" ; then
   6399 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6400 			found="yes"
   6401 		fi
   6402 	fi
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 xorg_testset_save_CFLAGS="$CFLAGS"
   6419 
   6420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6423 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6424 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6425 then :
   6426   printf %s "(cached) " >&6
   6427 else $as_nop
   6428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6429 /* end confdefs.h.  */
   6430 int i;
   6431 _ACEOF
   6432 if ac_fn_c_try_compile "$LINENO"
   6433 then :
   6434   xorg_cv_cc_flag_unknown_warning_option=yes
   6435 else $as_nop
   6436   xorg_cv_cc_flag_unknown_warning_option=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6439 fi
   6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6441 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6443 	CFLAGS="$xorg_testset_save_CFLAGS"
   6444 fi
   6445 
   6446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6449 	fi
   6450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6452 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6453 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6454 then :
   6455   printf %s "(cached) " >&6
   6456 else $as_nop
   6457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6458 /* end confdefs.h.  */
   6459 int i;
   6460 _ACEOF
   6461 if ac_fn_c_try_compile "$LINENO"
   6462 then :
   6463   xorg_cv_cc_flag_unused_command_line_argument=yes
   6464 else $as_nop
   6465   xorg_cv_cc_flag_unused_command_line_argument=no
   6466 fi
   6467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6468 fi
   6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6470 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6472 	CFLAGS="$xorg_testset_save_CFLAGS"
   6473 fi
   6474 
   6475 found="no"
   6476 
   6477 	if test $found = "no" ; then
   6478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6480 		fi
   6481 
   6482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6484 		fi
   6485 
   6486 		CFLAGS="$CFLAGS -Wshadow"
   6487 
   6488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6489 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6490 		cacheid=xorg_cv_cc_flag__Wshadow
   6491 		if eval test \${$cacheid+y}
   6492 then :
   6493   printf %s "(cached) " >&6
   6494 else $as_nop
   6495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6496 /* end confdefs.h.  */
   6497 int i;
   6498 int
   6499 main (void)
   6500 {
   6501 
   6502   ;
   6503   return 0;
   6504 }
   6505 _ACEOF
   6506 if ac_fn_c_try_link "$LINENO"
   6507 then :
   6508   eval $cacheid=yes
   6509 else $as_nop
   6510   eval $cacheid=no
   6511 fi
   6512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6513     conftest$ac_exeext conftest.$ac_ext
   6514 fi
   6515 
   6516 
   6517 		CFLAGS="$xorg_testset_save_CFLAGS"
   6518 
   6519 		eval supported=\$$cacheid
   6520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6521 printf "%s\n" "$supported" >&6; }
   6522 		if test "$supported" = "yes" ; then
   6523 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6524 			found="yes"
   6525 		fi
   6526 	fi
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 xorg_testset_save_CFLAGS="$CFLAGS"
   6543 
   6544 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6546 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6547 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6548 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6549 then :
   6550   printf %s "(cached) " >&6
   6551 else $as_nop
   6552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6553 /* end confdefs.h.  */
   6554 int i;
   6555 _ACEOF
   6556 if ac_fn_c_try_compile "$LINENO"
   6557 then :
   6558   xorg_cv_cc_flag_unknown_warning_option=yes
   6559 else $as_nop
   6560   xorg_cv_cc_flag_unknown_warning_option=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6563 fi
   6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6565 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6567 	CFLAGS="$xorg_testset_save_CFLAGS"
   6568 fi
   6569 
   6570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6573 	fi
   6574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6576 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6577 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6578 then :
   6579   printf %s "(cached) " >&6
   6580 else $as_nop
   6581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6582 /* end confdefs.h.  */
   6583 int i;
   6584 _ACEOF
   6585 if ac_fn_c_try_compile "$LINENO"
   6586 then :
   6587   xorg_cv_cc_flag_unused_command_line_argument=yes
   6588 else $as_nop
   6589   xorg_cv_cc_flag_unused_command_line_argument=no
   6590 fi
   6591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6592 fi
   6593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6594 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6596 	CFLAGS="$xorg_testset_save_CFLAGS"
   6597 fi
   6598 
   6599 found="no"
   6600 
   6601 	if test $found = "no" ; then
   6602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6604 		fi
   6605 
   6606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6608 		fi
   6609 
   6610 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6611 
   6612 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6613 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6614 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6615 		if eval test \${$cacheid+y}
   6616 then :
   6617   printf %s "(cached) " >&6
   6618 else $as_nop
   6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 int i;
   6622 int
   6623 main (void)
   6624 {
   6625 
   6626   ;
   6627   return 0;
   6628 }
   6629 _ACEOF
   6630 if ac_fn_c_try_link "$LINENO"
   6631 then :
   6632   eval $cacheid=yes
   6633 else $as_nop
   6634   eval $cacheid=no
   6635 fi
   6636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6637     conftest$ac_exeext conftest.$ac_ext
   6638 fi
   6639 
   6640 
   6641 		CFLAGS="$xorg_testset_save_CFLAGS"
   6642 
   6643 		eval supported=\$$cacheid
   6644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6645 printf "%s\n" "$supported" >&6; }
   6646 		if test "$supported" = "yes" ; then
   6647 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6648 			found="yes"
   6649 		fi
   6650 	fi
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 xorg_testset_save_CFLAGS="$CFLAGS"
   6667 
   6668 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6669 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6671 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6672 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6673 then :
   6674   printf %s "(cached) " >&6
   6675 else $as_nop
   6676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 _ACEOF
   6680 if ac_fn_c_try_compile "$LINENO"
   6681 then :
   6682   xorg_cv_cc_flag_unknown_warning_option=yes
   6683 else $as_nop
   6684   xorg_cv_cc_flag_unknown_warning_option=no
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6687 fi
   6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6689 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6691 	CFLAGS="$xorg_testset_save_CFLAGS"
   6692 fi
   6693 
   6694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6697 	fi
   6698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6700 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6701 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6702 then :
   6703   printf %s "(cached) " >&6
   6704 else $as_nop
   6705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6706 /* end confdefs.h.  */
   6707 int i;
   6708 _ACEOF
   6709 if ac_fn_c_try_compile "$LINENO"
   6710 then :
   6711   xorg_cv_cc_flag_unused_command_line_argument=yes
   6712 else $as_nop
   6713   xorg_cv_cc_flag_unused_command_line_argument=no
   6714 fi
   6715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6716 fi
   6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6718 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6720 	CFLAGS="$xorg_testset_save_CFLAGS"
   6721 fi
   6722 
   6723 found="no"
   6724 
   6725 	if test $found = "no" ; then
   6726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6728 		fi
   6729 
   6730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6732 		fi
   6733 
   6734 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6735 
   6736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6737 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6738 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6739 		if eval test \${$cacheid+y}
   6740 then :
   6741   printf %s "(cached) " >&6
   6742 else $as_nop
   6743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 int
   6747 main (void)
   6748 {
   6749 
   6750   ;
   6751   return 0;
   6752 }
   6753 _ACEOF
   6754 if ac_fn_c_try_link "$LINENO"
   6755 then :
   6756   eval $cacheid=yes
   6757 else $as_nop
   6758   eval $cacheid=no
   6759 fi
   6760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6761     conftest$ac_exeext conftest.$ac_ext
   6762 fi
   6763 
   6764 
   6765 		CFLAGS="$xorg_testset_save_CFLAGS"
   6766 
   6767 		eval supported=\$$cacheid
   6768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6769 printf "%s\n" "$supported" >&6; }
   6770 		if test "$supported" = "yes" ; then
   6771 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6772 			found="yes"
   6773 		fi
   6774 	fi
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 xorg_testset_save_CFLAGS="$CFLAGS"
   6791 
   6792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6797 then :
   6798   printf %s "(cached) " >&6
   6799 else $as_nop
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 _ACEOF
   6804 if ac_fn_c_try_compile "$LINENO"
   6805 then :
   6806   xorg_cv_cc_flag_unknown_warning_option=yes
   6807 else $as_nop
   6808   xorg_cv_cc_flag_unknown_warning_option=no
   6809 fi
   6810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6811 fi
   6812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6815 	CFLAGS="$xorg_testset_save_CFLAGS"
   6816 fi
   6817 
   6818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6821 	fi
   6822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6826 then :
   6827   printf %s "(cached) " >&6
   6828 else $as_nop
   6829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6830 /* end confdefs.h.  */
   6831 int i;
   6832 _ACEOF
   6833 if ac_fn_c_try_compile "$LINENO"
   6834 then :
   6835   xorg_cv_cc_flag_unused_command_line_argument=yes
   6836 else $as_nop
   6837   xorg_cv_cc_flag_unused_command_line_argument=no
   6838 fi
   6839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6840 fi
   6841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6842 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6844 	CFLAGS="$xorg_testset_save_CFLAGS"
   6845 fi
   6846 
   6847 found="no"
   6848 
   6849 	if test $found = "no" ; then
   6850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6852 		fi
   6853 
   6854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6856 		fi
   6857 
   6858 		CFLAGS="$CFLAGS -Wredundant-decls"
   6859 
   6860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6861 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6862 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6863 		if eval test \${$cacheid+y}
   6864 then :
   6865   printf %s "(cached) " >&6
   6866 else $as_nop
   6867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6868 /* end confdefs.h.  */
   6869 int i;
   6870 int
   6871 main (void)
   6872 {
   6873 
   6874   ;
   6875   return 0;
   6876 }
   6877 _ACEOF
   6878 if ac_fn_c_try_link "$LINENO"
   6879 then :
   6880   eval $cacheid=yes
   6881 else $as_nop
   6882   eval $cacheid=no
   6883 fi
   6884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6885     conftest$ac_exeext conftest.$ac_ext
   6886 fi
   6887 
   6888 
   6889 		CFLAGS="$xorg_testset_save_CFLAGS"
   6890 
   6891 		eval supported=\$$cacheid
   6892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6893 printf "%s\n" "$supported" >&6; }
   6894 		if test "$supported" = "yes" ; then
   6895 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6896 			found="yes"
   6897 		fi
   6898 	fi
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 xorg_testset_save_CFLAGS="$CFLAGS"
   6915 
   6916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6921 then :
   6922   printf %s "(cached) " >&6
   6923 else $as_nop
   6924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6925 /* end confdefs.h.  */
   6926 int i;
   6927 _ACEOF
   6928 if ac_fn_c_try_compile "$LINENO"
   6929 then :
   6930   xorg_cv_cc_flag_unknown_warning_option=yes
   6931 else $as_nop
   6932   xorg_cv_cc_flag_unknown_warning_option=no
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6935 fi
   6936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6937 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6939 	CFLAGS="$xorg_testset_save_CFLAGS"
   6940 fi
   6941 
   6942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6945 	fi
   6946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6948 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6949 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6950 then :
   6951   printf %s "(cached) " >&6
   6952 else $as_nop
   6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 int i;
   6956 _ACEOF
   6957 if ac_fn_c_try_compile "$LINENO"
   6958 then :
   6959   xorg_cv_cc_flag_unused_command_line_argument=yes
   6960 else $as_nop
   6961   xorg_cv_cc_flag_unused_command_line_argument=no
   6962 fi
   6963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6964 fi
   6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6966 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6968 	CFLAGS="$xorg_testset_save_CFLAGS"
   6969 fi
   6970 
   6971 found="no"
   6972 
   6973 	if test $found = "no" ; then
   6974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6976 		fi
   6977 
   6978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6980 		fi
   6981 
   6982 		CFLAGS="$CFLAGS -Wlogical-op"
   6983 
   6984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6985 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6986 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6987 		if eval test \${$cacheid+y}
   6988 then :
   6989   printf %s "(cached) " >&6
   6990 else $as_nop
   6991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6992 /* end confdefs.h.  */
   6993 int i;
   6994 int
   6995 main (void)
   6996 {
   6997 
   6998   ;
   6999   return 0;
   7000 }
   7001 _ACEOF
   7002 if ac_fn_c_try_link "$LINENO"
   7003 then :
   7004   eval $cacheid=yes
   7005 else $as_nop
   7006   eval $cacheid=no
   7007 fi
   7008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7009     conftest$ac_exeext conftest.$ac_ext
   7010 fi
   7011 
   7012 
   7013 		CFLAGS="$xorg_testset_save_CFLAGS"
   7014 
   7015 		eval supported=\$$cacheid
   7016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7017 printf "%s\n" "$supported" >&6; }
   7018 		if test "$supported" = "yes" ; then
   7019 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7020 			found="yes"
   7021 		fi
   7022 	fi
   7023 
   7024 
   7025 
   7026 # These are currently disabled because they are noisy.  They will be enabled
   7027 # in the future once the codebase is sufficiently modernized to silence
   7028 # them.  For now, I don't want them to drown out the other warnings.
   7029 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7030 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7031 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7032 
   7033 # Turn some warnings into errors, so we don't accidently get successful builds
   7034 # when there are problems that should be fixed.
   7035 
   7036 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 xorg_testset_save_CFLAGS="$CFLAGS"
   7051 
   7052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7055 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7056 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7057 then :
   7058   printf %s "(cached) " >&6
   7059 else $as_nop
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"
   7065 then :
   7066   xorg_cv_cc_flag_unknown_warning_option=yes
   7067 else $as_nop
   7068   xorg_cv_cc_flag_unknown_warning_option=no
   7069 fi
   7070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7071 fi
   7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7073 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7075 	CFLAGS="$xorg_testset_save_CFLAGS"
   7076 fi
   7077 
   7078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 	fi
   7082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7086 then :
   7087   printf %s "(cached) " >&6
   7088 else $as_nop
   7089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7090 /* end confdefs.h.  */
   7091 int i;
   7092 _ACEOF
   7093 if ac_fn_c_try_compile "$LINENO"
   7094 then :
   7095   xorg_cv_cc_flag_unused_command_line_argument=yes
   7096 else $as_nop
   7097   xorg_cv_cc_flag_unused_command_line_argument=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7100 fi
   7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7102 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7104 	CFLAGS="$xorg_testset_save_CFLAGS"
   7105 fi
   7106 
   7107 found="no"
   7108 
   7109 	if test $found = "no" ; then
   7110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7112 		fi
   7113 
   7114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7116 		fi
   7117 
   7118 		CFLAGS="$CFLAGS -Werror=implicit"
   7119 
   7120 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7121 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7122 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7123 		if eval test \${$cacheid+y}
   7124 then :
   7125   printf %s "(cached) " >&6
   7126 else $as_nop
   7127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7128 /* end confdefs.h.  */
   7129 int i;
   7130 int
   7131 main (void)
   7132 {
   7133 
   7134   ;
   7135   return 0;
   7136 }
   7137 _ACEOF
   7138 if ac_fn_c_try_link "$LINENO"
   7139 then :
   7140   eval $cacheid=yes
   7141 else $as_nop
   7142   eval $cacheid=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7145     conftest$ac_exeext conftest.$ac_ext
   7146 fi
   7147 
   7148 
   7149 		CFLAGS="$xorg_testset_save_CFLAGS"
   7150 
   7151 		eval supported=\$$cacheid
   7152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7153 printf "%s\n" "$supported" >&6; }
   7154 		if test "$supported" = "yes" ; then
   7155 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7156 			found="yes"
   7157 		fi
   7158 	fi
   7159 
   7160 	if test $found = "no" ; then
   7161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7163 		fi
   7164 
   7165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7167 		fi
   7168 
   7169 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7170 
   7171 		{ 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
   7172 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7173 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7174 		if eval test \${$cacheid+y}
   7175 then :
   7176   printf %s "(cached) " >&6
   7177 else $as_nop
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 int i;
   7181 int
   7182 main (void)
   7183 {
   7184 
   7185   ;
   7186   return 0;
   7187 }
   7188 _ACEOF
   7189 if ac_fn_c_try_link "$LINENO"
   7190 then :
   7191   eval $cacheid=yes
   7192 else $as_nop
   7193   eval $cacheid=no
   7194 fi
   7195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7196     conftest$ac_exeext conftest.$ac_ext
   7197 fi
   7198 
   7199 
   7200 		CFLAGS="$xorg_testset_save_CFLAGS"
   7201 
   7202 		eval supported=\$$cacheid
   7203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7204 printf "%s\n" "$supported" >&6; }
   7205 		if test "$supported" = "yes" ; then
   7206 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7207 			found="yes"
   7208 		fi
   7209 	fi
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 xorg_testset_save_CFLAGS="$CFLAGS"
   7226 
   7227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7230 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7231 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7232 then :
   7233   printf %s "(cached) " >&6
   7234 else $as_nop
   7235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 int i;
   7238 _ACEOF
   7239 if ac_fn_c_try_compile "$LINENO"
   7240 then :
   7241   xorg_cv_cc_flag_unknown_warning_option=yes
   7242 else $as_nop
   7243   xorg_cv_cc_flag_unknown_warning_option=no
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7246 fi
   7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7248 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7250 	CFLAGS="$xorg_testset_save_CFLAGS"
   7251 fi
   7252 
   7253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7256 	fi
   7257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7259 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7260 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7261 then :
   7262   printf %s "(cached) " >&6
   7263 else $as_nop
   7264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7265 /* end confdefs.h.  */
   7266 int i;
   7267 _ACEOF
   7268 if ac_fn_c_try_compile "$LINENO"
   7269 then :
   7270   xorg_cv_cc_flag_unused_command_line_argument=yes
   7271 else $as_nop
   7272   xorg_cv_cc_flag_unused_command_line_argument=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7275 fi
   7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7277 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7279 	CFLAGS="$xorg_testset_save_CFLAGS"
   7280 fi
   7281 
   7282 found="no"
   7283 
   7284 	if test $found = "no" ; then
   7285 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7287 		fi
   7288 
   7289 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7291 		fi
   7292 
   7293 		CFLAGS="$CFLAGS -Werror=nonnull"
   7294 
   7295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7296 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7297 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7298 		if eval test \${$cacheid+y}
   7299 then :
   7300   printf %s "(cached) " >&6
   7301 else $as_nop
   7302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7303 /* end confdefs.h.  */
   7304 int i;
   7305 int
   7306 main (void)
   7307 {
   7308 
   7309   ;
   7310   return 0;
   7311 }
   7312 _ACEOF
   7313 if ac_fn_c_try_link "$LINENO"
   7314 then :
   7315   eval $cacheid=yes
   7316 else $as_nop
   7317   eval $cacheid=no
   7318 fi
   7319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7320     conftest$ac_exeext conftest.$ac_ext
   7321 fi
   7322 
   7323 
   7324 		CFLAGS="$xorg_testset_save_CFLAGS"
   7325 
   7326 		eval supported=\$$cacheid
   7327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7328 printf "%s\n" "$supported" >&6; }
   7329 		if test "$supported" = "yes" ; then
   7330 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7331 			found="yes"
   7332 		fi
   7333 	fi
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 xorg_testset_save_CFLAGS="$CFLAGS"
   7350 
   7351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7356 then :
   7357   printf %s "(cached) " >&6
   7358 else $as_nop
   7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7360 /* end confdefs.h.  */
   7361 int i;
   7362 _ACEOF
   7363 if ac_fn_c_try_compile "$LINENO"
   7364 then :
   7365   xorg_cv_cc_flag_unknown_warning_option=yes
   7366 else $as_nop
   7367   xorg_cv_cc_flag_unknown_warning_option=no
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7370 fi
   7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7372 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7374 	CFLAGS="$xorg_testset_save_CFLAGS"
   7375 fi
   7376 
   7377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7380 	fi
   7381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7382 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7383 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7384 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7385 then :
   7386   printf %s "(cached) " >&6
   7387 else $as_nop
   7388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7389 /* end confdefs.h.  */
   7390 int i;
   7391 _ACEOF
   7392 if ac_fn_c_try_compile "$LINENO"
   7393 then :
   7394   xorg_cv_cc_flag_unused_command_line_argument=yes
   7395 else $as_nop
   7396   xorg_cv_cc_flag_unused_command_line_argument=no
   7397 fi
   7398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7399 fi
   7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7401 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7403 	CFLAGS="$xorg_testset_save_CFLAGS"
   7404 fi
   7405 
   7406 found="no"
   7407 
   7408 	if test $found = "no" ; then
   7409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7411 		fi
   7412 
   7413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7415 		fi
   7416 
   7417 		CFLAGS="$CFLAGS -Werror=init-self"
   7418 
   7419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7420 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7421 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7422 		if eval test \${$cacheid+y}
   7423 then :
   7424   printf %s "(cached) " >&6
   7425 else $as_nop
   7426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7427 /* end confdefs.h.  */
   7428 int i;
   7429 int
   7430 main (void)
   7431 {
   7432 
   7433   ;
   7434   return 0;
   7435 }
   7436 _ACEOF
   7437 if ac_fn_c_try_link "$LINENO"
   7438 then :
   7439   eval $cacheid=yes
   7440 else $as_nop
   7441   eval $cacheid=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7444     conftest$ac_exeext conftest.$ac_ext
   7445 fi
   7446 
   7447 
   7448 		CFLAGS="$xorg_testset_save_CFLAGS"
   7449 
   7450 		eval supported=\$$cacheid
   7451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7452 printf "%s\n" "$supported" >&6; }
   7453 		if test "$supported" = "yes" ; then
   7454 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7455 			found="yes"
   7456 		fi
   7457 	fi
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 xorg_testset_save_CFLAGS="$CFLAGS"
   7474 
   7475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7478 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7479 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7480 then :
   7481   printf %s "(cached) " >&6
   7482 else $as_nop
   7483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7484 /* end confdefs.h.  */
   7485 int i;
   7486 _ACEOF
   7487 if ac_fn_c_try_compile "$LINENO"
   7488 then :
   7489   xorg_cv_cc_flag_unknown_warning_option=yes
   7490 else $as_nop
   7491   xorg_cv_cc_flag_unknown_warning_option=no
   7492 fi
   7493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7494 fi
   7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7496 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7498 	CFLAGS="$xorg_testset_save_CFLAGS"
   7499 fi
   7500 
   7501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7504 	fi
   7505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7507 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7508 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7509 then :
   7510   printf %s "(cached) " >&6
   7511 else $as_nop
   7512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7513 /* end confdefs.h.  */
   7514 int i;
   7515 _ACEOF
   7516 if ac_fn_c_try_compile "$LINENO"
   7517 then :
   7518   xorg_cv_cc_flag_unused_command_line_argument=yes
   7519 else $as_nop
   7520   xorg_cv_cc_flag_unused_command_line_argument=no
   7521 fi
   7522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7523 fi
   7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7525 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7527 	CFLAGS="$xorg_testset_save_CFLAGS"
   7528 fi
   7529 
   7530 found="no"
   7531 
   7532 	if test $found = "no" ; then
   7533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7535 		fi
   7536 
   7537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7539 		fi
   7540 
   7541 		CFLAGS="$CFLAGS -Werror=main"
   7542 
   7543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7544 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7545 		cacheid=xorg_cv_cc_flag__Werror_main
   7546 		if eval test \${$cacheid+y}
   7547 then :
   7548   printf %s "(cached) " >&6
   7549 else $as_nop
   7550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 int
   7554 main (void)
   7555 {
   7556 
   7557   ;
   7558   return 0;
   7559 }
   7560 _ACEOF
   7561 if ac_fn_c_try_link "$LINENO"
   7562 then :
   7563   eval $cacheid=yes
   7564 else $as_nop
   7565   eval $cacheid=no
   7566 fi
   7567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7568     conftest$ac_exeext conftest.$ac_ext
   7569 fi
   7570 
   7571 
   7572 		CFLAGS="$xorg_testset_save_CFLAGS"
   7573 
   7574 		eval supported=\$$cacheid
   7575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7576 printf "%s\n" "$supported" >&6; }
   7577 		if test "$supported" = "yes" ; then
   7578 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7579 			found="yes"
   7580 		fi
   7581 	fi
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 xorg_testset_save_CFLAGS="$CFLAGS"
   7598 
   7599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7602 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7603 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7604 then :
   7605   printf %s "(cached) " >&6
   7606 else $as_nop
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 int i;
   7610 _ACEOF
   7611 if ac_fn_c_try_compile "$LINENO"
   7612 then :
   7613   xorg_cv_cc_flag_unknown_warning_option=yes
   7614 else $as_nop
   7615   xorg_cv_cc_flag_unknown_warning_option=no
   7616 fi
   7617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7618 fi
   7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7620 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7622 	CFLAGS="$xorg_testset_save_CFLAGS"
   7623 fi
   7624 
   7625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7628 	fi
   7629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7633 then :
   7634   printf %s "(cached) " >&6
   7635 else $as_nop
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 _ACEOF
   7640 if ac_fn_c_try_compile "$LINENO"
   7641 then :
   7642   xorg_cv_cc_flag_unused_command_line_argument=yes
   7643 else $as_nop
   7644   xorg_cv_cc_flag_unused_command_line_argument=no
   7645 fi
   7646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7647 fi
   7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7649 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7651 	CFLAGS="$xorg_testset_save_CFLAGS"
   7652 fi
   7653 
   7654 found="no"
   7655 
   7656 	if test $found = "no" ; then
   7657 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7659 		fi
   7660 
   7661 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7663 		fi
   7664 
   7665 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7666 
   7667 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7668 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7669 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7670 		if eval test \${$cacheid+y}
   7671 then :
   7672   printf %s "(cached) " >&6
   7673 else $as_nop
   7674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7675 /* end confdefs.h.  */
   7676 int i;
   7677 int
   7678 main (void)
   7679 {
   7680 
   7681   ;
   7682   return 0;
   7683 }
   7684 _ACEOF
   7685 if ac_fn_c_try_link "$LINENO"
   7686 then :
   7687   eval $cacheid=yes
   7688 else $as_nop
   7689   eval $cacheid=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7692     conftest$ac_exeext conftest.$ac_ext
   7693 fi
   7694 
   7695 
   7696 		CFLAGS="$xorg_testset_save_CFLAGS"
   7697 
   7698 		eval supported=\$$cacheid
   7699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7700 printf "%s\n" "$supported" >&6; }
   7701 		if test "$supported" = "yes" ; then
   7702 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7703 			found="yes"
   7704 		fi
   7705 	fi
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 xorg_testset_save_CFLAGS="$CFLAGS"
   7722 
   7723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7726 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7727 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7728 then :
   7729   printf %s "(cached) " >&6
   7730 else $as_nop
   7731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7732 /* end confdefs.h.  */
   7733 int i;
   7734 _ACEOF
   7735 if ac_fn_c_try_compile "$LINENO"
   7736 then :
   7737   xorg_cv_cc_flag_unknown_warning_option=yes
   7738 else $as_nop
   7739   xorg_cv_cc_flag_unknown_warning_option=no
   7740 fi
   7741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7742 fi
   7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7744 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7746 	CFLAGS="$xorg_testset_save_CFLAGS"
   7747 fi
   7748 
   7749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7752 	fi
   7753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7755 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7756 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7757 then :
   7758   printf %s "(cached) " >&6
   7759 else $as_nop
   7760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7761 /* end confdefs.h.  */
   7762 int i;
   7763 _ACEOF
   7764 if ac_fn_c_try_compile "$LINENO"
   7765 then :
   7766   xorg_cv_cc_flag_unused_command_line_argument=yes
   7767 else $as_nop
   7768   xorg_cv_cc_flag_unused_command_line_argument=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7771 fi
   7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7773 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7775 	CFLAGS="$xorg_testset_save_CFLAGS"
   7776 fi
   7777 
   7778 found="no"
   7779 
   7780 	if test $found = "no" ; then
   7781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7783 		fi
   7784 
   7785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7787 		fi
   7788 
   7789 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7790 
   7791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7792 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7793 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7794 		if eval test \${$cacheid+y}
   7795 then :
   7796   printf %s "(cached) " >&6
   7797 else $as_nop
   7798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7799 /* end confdefs.h.  */
   7800 int i;
   7801 int
   7802 main (void)
   7803 {
   7804 
   7805   ;
   7806   return 0;
   7807 }
   7808 _ACEOF
   7809 if ac_fn_c_try_link "$LINENO"
   7810 then :
   7811   eval $cacheid=yes
   7812 else $as_nop
   7813   eval $cacheid=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7816     conftest$ac_exeext conftest.$ac_ext
   7817 fi
   7818 
   7819 
   7820 		CFLAGS="$xorg_testset_save_CFLAGS"
   7821 
   7822 		eval supported=\$$cacheid
   7823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7824 printf "%s\n" "$supported" >&6; }
   7825 		if test "$supported" = "yes" ; then
   7826 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7827 			found="yes"
   7828 		fi
   7829 	fi
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 xorg_testset_save_CFLAGS="$CFLAGS"
   7846 
   7847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7850 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7851 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7852 then :
   7853   printf %s "(cached) " >&6
   7854 else $as_nop
   7855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7856 /* end confdefs.h.  */
   7857 int i;
   7858 _ACEOF
   7859 if ac_fn_c_try_compile "$LINENO"
   7860 then :
   7861   xorg_cv_cc_flag_unknown_warning_option=yes
   7862 else $as_nop
   7863   xorg_cv_cc_flag_unknown_warning_option=no
   7864 fi
   7865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7866 fi
   7867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7870 	CFLAGS="$xorg_testset_save_CFLAGS"
   7871 fi
   7872 
   7873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7876 	fi
   7877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7881 then :
   7882   printf %s "(cached) " >&6
   7883 else $as_nop
   7884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7885 /* end confdefs.h.  */
   7886 int i;
   7887 _ACEOF
   7888 if ac_fn_c_try_compile "$LINENO"
   7889 then :
   7890   xorg_cv_cc_flag_unused_command_line_argument=yes
   7891 else $as_nop
   7892   xorg_cv_cc_flag_unused_command_line_argument=no
   7893 fi
   7894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7895 fi
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7897 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7899 	CFLAGS="$xorg_testset_save_CFLAGS"
   7900 fi
   7901 
   7902 found="no"
   7903 
   7904 	if test $found = "no" ; then
   7905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7907 		fi
   7908 
   7909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7911 		fi
   7912 
   7913 		CFLAGS="$CFLAGS -Werror=return-type"
   7914 
   7915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7916 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7917 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7918 		if eval test \${$cacheid+y}
   7919 then :
   7920   printf %s "(cached) " >&6
   7921 else $as_nop
   7922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7923 /* end confdefs.h.  */
   7924 int i;
   7925 int
   7926 main (void)
   7927 {
   7928 
   7929   ;
   7930   return 0;
   7931 }
   7932 _ACEOF
   7933 if ac_fn_c_try_link "$LINENO"
   7934 then :
   7935   eval $cacheid=yes
   7936 else $as_nop
   7937   eval $cacheid=no
   7938 fi
   7939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7940     conftest$ac_exeext conftest.$ac_ext
   7941 fi
   7942 
   7943 
   7944 		CFLAGS="$xorg_testset_save_CFLAGS"
   7945 
   7946 		eval supported=\$$cacheid
   7947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7948 printf "%s\n" "$supported" >&6; }
   7949 		if test "$supported" = "yes" ; then
   7950 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7951 			found="yes"
   7952 		fi
   7953 	fi
   7954 
   7955 	if test $found = "no" ; then
   7956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7958 		fi
   7959 
   7960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7962 		fi
   7963 
   7964 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7965 
   7966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7967 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7968 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7969 		if eval test \${$cacheid+y}
   7970 then :
   7971   printf %s "(cached) " >&6
   7972 else $as_nop
   7973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7974 /* end confdefs.h.  */
   7975 int i;
   7976 int
   7977 main (void)
   7978 {
   7979 
   7980   ;
   7981   return 0;
   7982 }
   7983 _ACEOF
   7984 if ac_fn_c_try_link "$LINENO"
   7985 then :
   7986   eval $cacheid=yes
   7987 else $as_nop
   7988   eval $cacheid=no
   7989 fi
   7990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7991     conftest$ac_exeext conftest.$ac_ext
   7992 fi
   7993 
   7994 
   7995 		CFLAGS="$xorg_testset_save_CFLAGS"
   7996 
   7997 		eval supported=\$$cacheid
   7998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7999 printf "%s\n" "$supported" >&6; }
   8000 		if test "$supported" = "yes" ; then
   8001 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8002 			found="yes"
   8003 		fi
   8004 	fi
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 xorg_testset_save_CFLAGS="$CFLAGS"
   8021 
   8022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8027 then :
   8028   printf %s "(cached) " >&6
   8029 else $as_nop
   8030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8031 /* end confdefs.h.  */
   8032 int i;
   8033 _ACEOF
   8034 if ac_fn_c_try_compile "$LINENO"
   8035 then :
   8036   xorg_cv_cc_flag_unknown_warning_option=yes
   8037 else $as_nop
   8038   xorg_cv_cc_flag_unknown_warning_option=no
   8039 fi
   8040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8041 fi
   8042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8045 	CFLAGS="$xorg_testset_save_CFLAGS"
   8046 fi
   8047 
   8048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8051 	fi
   8052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8056 then :
   8057   printf %s "(cached) " >&6
   8058 else $as_nop
   8059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8060 /* end confdefs.h.  */
   8061 int i;
   8062 _ACEOF
   8063 if ac_fn_c_try_compile "$LINENO"
   8064 then :
   8065   xorg_cv_cc_flag_unused_command_line_argument=yes
   8066 else $as_nop
   8067   xorg_cv_cc_flag_unused_command_line_argument=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8070 fi
   8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8074 	CFLAGS="$xorg_testset_save_CFLAGS"
   8075 fi
   8076 
   8077 found="no"
   8078 
   8079 	if test $found = "no" ; then
   8080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8082 		fi
   8083 
   8084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8086 		fi
   8087 
   8088 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8089 
   8090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8091 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8092 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8093 		if eval test \${$cacheid+y}
   8094 then :
   8095   printf %s "(cached) " >&6
   8096 else $as_nop
   8097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8098 /* end confdefs.h.  */
   8099 int i;
   8100 int
   8101 main (void)
   8102 {
   8103 
   8104   ;
   8105   return 0;
   8106 }
   8107 _ACEOF
   8108 if ac_fn_c_try_link "$LINENO"
   8109 then :
   8110   eval $cacheid=yes
   8111 else $as_nop
   8112   eval $cacheid=no
   8113 fi
   8114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8115     conftest$ac_exeext conftest.$ac_ext
   8116 fi
   8117 
   8118 
   8119 		CFLAGS="$xorg_testset_save_CFLAGS"
   8120 
   8121 		eval supported=\$$cacheid
   8122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8123 printf "%s\n" "$supported" >&6; }
   8124 		if test "$supported" = "yes" ; then
   8125 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8126 			found="yes"
   8127 		fi
   8128 	fi
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 xorg_testset_save_CFLAGS="$CFLAGS"
   8145 
   8146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8150 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8151 then :
   8152   printf %s "(cached) " >&6
   8153 else $as_nop
   8154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8155 /* end confdefs.h.  */
   8156 int i;
   8157 _ACEOF
   8158 if ac_fn_c_try_compile "$LINENO"
   8159 then :
   8160   xorg_cv_cc_flag_unknown_warning_option=yes
   8161 else $as_nop
   8162   xorg_cv_cc_flag_unknown_warning_option=no
   8163 fi
   8164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8165 fi
   8166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8167 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8169 	CFLAGS="$xorg_testset_save_CFLAGS"
   8170 fi
   8171 
   8172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8175 	fi
   8176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8178 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8179 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8180 then :
   8181   printf %s "(cached) " >&6
   8182 else $as_nop
   8183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8184 /* end confdefs.h.  */
   8185 int i;
   8186 _ACEOF
   8187 if ac_fn_c_try_compile "$LINENO"
   8188 then :
   8189   xorg_cv_cc_flag_unused_command_line_argument=yes
   8190 else $as_nop
   8191   xorg_cv_cc_flag_unused_command_line_argument=no
   8192 fi
   8193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8194 fi
   8195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8198 	CFLAGS="$xorg_testset_save_CFLAGS"
   8199 fi
   8200 
   8201 found="no"
   8202 
   8203 	if test $found = "no" ; then
   8204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8206 		fi
   8207 
   8208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8210 		fi
   8211 
   8212 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8213 
   8214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8215 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8216 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8217 		if eval test \${$cacheid+y}
   8218 then :
   8219   printf %s "(cached) " >&6
   8220 else $as_nop
   8221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8222 /* end confdefs.h.  */
   8223 int i;
   8224 int
   8225 main (void)
   8226 {
   8227 
   8228   ;
   8229   return 0;
   8230 }
   8231 _ACEOF
   8232 if ac_fn_c_try_link "$LINENO"
   8233 then :
   8234   eval $cacheid=yes
   8235 else $as_nop
   8236   eval $cacheid=no
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8239     conftest$ac_exeext conftest.$ac_ext
   8240 fi
   8241 
   8242 
   8243 		CFLAGS="$xorg_testset_save_CFLAGS"
   8244 
   8245 		eval supported=\$$cacheid
   8246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8247 printf "%s\n" "$supported" >&6; }
   8248 		if test "$supported" = "yes" ; then
   8249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8250 			found="yes"
   8251 		fi
   8252 	fi
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 xorg_testset_save_CFLAGS="$CFLAGS"
   8269 
   8270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8272 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8273 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8274 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8275 then :
   8276   printf %s "(cached) " >&6
   8277 else $as_nop
   8278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 int i;
   8281 _ACEOF
   8282 if ac_fn_c_try_compile "$LINENO"
   8283 then :
   8284   xorg_cv_cc_flag_unknown_warning_option=yes
   8285 else $as_nop
   8286   xorg_cv_cc_flag_unknown_warning_option=no
   8287 fi
   8288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8289 fi
   8290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8291 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8293 	CFLAGS="$xorg_testset_save_CFLAGS"
   8294 fi
   8295 
   8296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8299 	fi
   8300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8302 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8303 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8304 then :
   8305   printf %s "(cached) " >&6
   8306 else $as_nop
   8307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8308 /* end confdefs.h.  */
   8309 int i;
   8310 _ACEOF
   8311 if ac_fn_c_try_compile "$LINENO"
   8312 then :
   8313   xorg_cv_cc_flag_unused_command_line_argument=yes
   8314 else $as_nop
   8315   xorg_cv_cc_flag_unused_command_line_argument=no
   8316 fi
   8317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8318 fi
   8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8320 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8322 	CFLAGS="$xorg_testset_save_CFLAGS"
   8323 fi
   8324 
   8325 found="no"
   8326 
   8327 	if test $found = "no" ; then
   8328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8330 		fi
   8331 
   8332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8334 		fi
   8335 
   8336 		CFLAGS="$CFLAGS -Werror=write-strings"
   8337 
   8338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8339 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8340 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8341 		if eval test \${$cacheid+y}
   8342 then :
   8343   printf %s "(cached) " >&6
   8344 else $as_nop
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 int
   8349 main (void)
   8350 {
   8351 
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 if ac_fn_c_try_link "$LINENO"
   8357 then :
   8358   eval $cacheid=yes
   8359 else $as_nop
   8360   eval $cacheid=no
   8361 fi
   8362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8363     conftest$ac_exeext conftest.$ac_ext
   8364 fi
   8365 
   8366 
   8367 		CFLAGS="$xorg_testset_save_CFLAGS"
   8368 
   8369 		eval supported=\$$cacheid
   8370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8371 printf "%s\n" "$supported" >&6; }
   8372 		if test "$supported" = "yes" ; then
   8373 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8374 			found="yes"
   8375 		fi
   8376 	fi
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 xorg_testset_save_CFLAGS="$CFLAGS"
   8393 
   8394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8396 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8397 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8398 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8399 then :
   8400   printf %s "(cached) " >&6
   8401 else $as_nop
   8402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8403 /* end confdefs.h.  */
   8404 int i;
   8405 _ACEOF
   8406 if ac_fn_c_try_compile "$LINENO"
   8407 then :
   8408   xorg_cv_cc_flag_unknown_warning_option=yes
   8409 else $as_nop
   8410   xorg_cv_cc_flag_unknown_warning_option=no
   8411 fi
   8412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8413 fi
   8414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8415 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8417 	CFLAGS="$xorg_testset_save_CFLAGS"
   8418 fi
   8419 
   8420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8423 	fi
   8424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8426 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8427 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8428 then :
   8429   printf %s "(cached) " >&6
   8430 else $as_nop
   8431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8432 /* end confdefs.h.  */
   8433 int i;
   8434 _ACEOF
   8435 if ac_fn_c_try_compile "$LINENO"
   8436 then :
   8437   xorg_cv_cc_flag_unused_command_line_argument=yes
   8438 else $as_nop
   8439   xorg_cv_cc_flag_unused_command_line_argument=no
   8440 fi
   8441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8442 fi
   8443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8444 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8446 	CFLAGS="$xorg_testset_save_CFLAGS"
   8447 fi
   8448 
   8449 found="no"
   8450 
   8451 	if test $found = "no" ; then
   8452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8454 		fi
   8455 
   8456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8458 		fi
   8459 
   8460 		CFLAGS="$CFLAGS -Werror=address"
   8461 
   8462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8463 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8464 		cacheid=xorg_cv_cc_flag__Werror_address
   8465 		if eval test \${$cacheid+y}
   8466 then :
   8467   printf %s "(cached) " >&6
   8468 else $as_nop
   8469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8470 /* end confdefs.h.  */
   8471 int i;
   8472 int
   8473 main (void)
   8474 {
   8475 
   8476   ;
   8477   return 0;
   8478 }
   8479 _ACEOF
   8480 if ac_fn_c_try_link "$LINENO"
   8481 then :
   8482   eval $cacheid=yes
   8483 else $as_nop
   8484   eval $cacheid=no
   8485 fi
   8486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8487     conftest$ac_exeext conftest.$ac_ext
   8488 fi
   8489 
   8490 
   8491 		CFLAGS="$xorg_testset_save_CFLAGS"
   8492 
   8493 		eval supported=\$$cacheid
   8494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8495 printf "%s\n" "$supported" >&6; }
   8496 		if test "$supported" = "yes" ; then
   8497 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8498 			found="yes"
   8499 		fi
   8500 	fi
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 xorg_testset_save_CFLAGS="$CFLAGS"
   8517 
   8518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8521 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8522 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8523 then :
   8524   printf %s "(cached) " >&6
   8525 else $as_nop
   8526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8527 /* end confdefs.h.  */
   8528 int i;
   8529 _ACEOF
   8530 if ac_fn_c_try_compile "$LINENO"
   8531 then :
   8532   xorg_cv_cc_flag_unknown_warning_option=yes
   8533 else $as_nop
   8534   xorg_cv_cc_flag_unknown_warning_option=no
   8535 fi
   8536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8537 fi
   8538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8539 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8541 	CFLAGS="$xorg_testset_save_CFLAGS"
   8542 fi
   8543 
   8544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8547 	fi
   8548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8550 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8551 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8552 then :
   8553   printf %s "(cached) " >&6
   8554 else $as_nop
   8555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 int i;
   8558 _ACEOF
   8559 if ac_fn_c_try_compile "$LINENO"
   8560 then :
   8561   xorg_cv_cc_flag_unused_command_line_argument=yes
   8562 else $as_nop
   8563   xorg_cv_cc_flag_unused_command_line_argument=no
   8564 fi
   8565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8566 fi
   8567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8568 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8570 	CFLAGS="$xorg_testset_save_CFLAGS"
   8571 fi
   8572 
   8573 found="no"
   8574 
   8575 	if test $found = "no" ; then
   8576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 		fi
   8579 
   8580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8582 		fi
   8583 
   8584 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8585 
   8586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8587 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8588 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8589 		if eval test \${$cacheid+y}
   8590 then :
   8591   printf %s "(cached) " >&6
   8592 else $as_nop
   8593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8594 /* end confdefs.h.  */
   8595 int i;
   8596 int
   8597 main (void)
   8598 {
   8599 
   8600   ;
   8601   return 0;
   8602 }
   8603 _ACEOF
   8604 if ac_fn_c_try_link "$LINENO"
   8605 then :
   8606   eval $cacheid=yes
   8607 else $as_nop
   8608   eval $cacheid=no
   8609 fi
   8610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8611     conftest$ac_exeext conftest.$ac_ext
   8612 fi
   8613 
   8614 
   8615 		CFLAGS="$xorg_testset_save_CFLAGS"
   8616 
   8617 		eval supported=\$$cacheid
   8618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8619 printf "%s\n" "$supported" >&6; }
   8620 		if test "$supported" = "yes" ; then
   8621 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8622 			found="yes"
   8623 		fi
   8624 	fi
   8625 
   8626 	if test $found = "no" ; then
   8627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8629 		fi
   8630 
   8631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8633 		fi
   8634 
   8635 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8636 
   8637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8638 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8639 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8640 		if eval test \${$cacheid+y}
   8641 then :
   8642   printf %s "(cached) " >&6
   8643 else $as_nop
   8644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8645 /* end confdefs.h.  */
   8646 int i;
   8647 int
   8648 main (void)
   8649 {
   8650 
   8651   ;
   8652   return 0;
   8653 }
   8654 _ACEOF
   8655 if ac_fn_c_try_link "$LINENO"
   8656 then :
   8657   eval $cacheid=yes
   8658 else $as_nop
   8659   eval $cacheid=no
   8660 fi
   8661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8662     conftest$ac_exeext conftest.$ac_ext
   8663 fi
   8664 
   8665 
   8666 		CFLAGS="$xorg_testset_save_CFLAGS"
   8667 
   8668 		eval supported=\$$cacheid
   8669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8670 printf "%s\n" "$supported" >&6; }
   8671 		if test "$supported" = "yes" ; then
   8672 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8673 			found="yes"
   8674 		fi
   8675 	fi
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 xorg_testset_save_CFLAGS="$CFLAGS"
   8692 
   8693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8696 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8697 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8698 then :
   8699   printf %s "(cached) " >&6
   8700 else $as_nop
   8701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 _ACEOF
   8705 if ac_fn_c_try_compile "$LINENO"
   8706 then :
   8707   xorg_cv_cc_flag_unknown_warning_option=yes
   8708 else $as_nop
   8709   xorg_cv_cc_flag_unknown_warning_option=no
   8710 fi
   8711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8712 fi
   8713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8714 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8716 	CFLAGS="$xorg_testset_save_CFLAGS"
   8717 fi
   8718 
   8719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8722 	fi
   8723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8725 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8726 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8727 then :
   8728   printf %s "(cached) " >&6
   8729 else $as_nop
   8730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8731 /* end confdefs.h.  */
   8732 int i;
   8733 _ACEOF
   8734 if ac_fn_c_try_compile "$LINENO"
   8735 then :
   8736   xorg_cv_cc_flag_unused_command_line_argument=yes
   8737 else $as_nop
   8738   xorg_cv_cc_flag_unused_command_line_argument=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8741 fi
   8742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8743 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8745 	CFLAGS="$xorg_testset_save_CFLAGS"
   8746 fi
   8747 
   8748 found="no"
   8749 
   8750 	if test $found = "no" ; then
   8751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8753 		fi
   8754 
   8755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8757 		fi
   8758 
   8759 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8760 
   8761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8762 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8763 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8764 		if eval test \${$cacheid+y}
   8765 then :
   8766   printf %s "(cached) " >&6
   8767 else $as_nop
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 int
   8772 main (void)
   8773 {
   8774 
   8775   ;
   8776   return 0;
   8777 }
   8778 _ACEOF
   8779 if ac_fn_c_try_link "$LINENO"
   8780 then :
   8781   eval $cacheid=yes
   8782 else $as_nop
   8783   eval $cacheid=no
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8786     conftest$ac_exeext conftest.$ac_ext
   8787 fi
   8788 
   8789 
   8790 		CFLAGS="$xorg_testset_save_CFLAGS"
   8791 
   8792 		eval supported=\$$cacheid
   8793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8794 printf "%s\n" "$supported" >&6; }
   8795 		if test "$supported" = "yes" ; then
   8796 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8797 			found="yes"
   8798 		fi
   8799 	fi
   8800 
   8801  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8802 else
   8803 { 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
   8804 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;}
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 xorg_testset_save_CFLAGS="$CFLAGS"
   8819 
   8820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8825 then :
   8826   printf %s "(cached) " >&6
   8827 else $as_nop
   8828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8829 /* end confdefs.h.  */
   8830 int i;
   8831 _ACEOF
   8832 if ac_fn_c_try_compile "$LINENO"
   8833 then :
   8834   xorg_cv_cc_flag_unknown_warning_option=yes
   8835 else $as_nop
   8836   xorg_cv_cc_flag_unknown_warning_option=no
   8837 fi
   8838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8839 fi
   8840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8841 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8843 	CFLAGS="$xorg_testset_save_CFLAGS"
   8844 fi
   8845 
   8846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8849 	fi
   8850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8852 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8853 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8854 then :
   8855   printf %s "(cached) " >&6
   8856 else $as_nop
   8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8858 /* end confdefs.h.  */
   8859 int i;
   8860 _ACEOF
   8861 if ac_fn_c_try_compile "$LINENO"
   8862 then :
   8863   xorg_cv_cc_flag_unused_command_line_argument=yes
   8864 else $as_nop
   8865   xorg_cv_cc_flag_unused_command_line_argument=no
   8866 fi
   8867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8868 fi
   8869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8872 	CFLAGS="$xorg_testset_save_CFLAGS"
   8873 fi
   8874 
   8875 found="no"
   8876 
   8877 	if test $found = "no" ; then
   8878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8880 		fi
   8881 
   8882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8884 		fi
   8885 
   8886 		CFLAGS="$CFLAGS -Wimplicit"
   8887 
   8888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8889 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8890 		cacheid=xorg_cv_cc_flag__Wimplicit
   8891 		if eval test \${$cacheid+y}
   8892 then :
   8893   printf %s "(cached) " >&6
   8894 else $as_nop
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 int
   8899 main (void)
   8900 {
   8901 
   8902   ;
   8903   return 0;
   8904 }
   8905 _ACEOF
   8906 if ac_fn_c_try_link "$LINENO"
   8907 then :
   8908   eval $cacheid=yes
   8909 else $as_nop
   8910   eval $cacheid=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8913     conftest$ac_exeext conftest.$ac_ext
   8914 fi
   8915 
   8916 
   8917 		CFLAGS="$xorg_testset_save_CFLAGS"
   8918 
   8919 		eval supported=\$$cacheid
   8920 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8921 printf "%s\n" "$supported" >&6; }
   8922 		if test "$supported" = "yes" ; then
   8923 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8924 			found="yes"
   8925 		fi
   8926 	fi
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 xorg_testset_save_CFLAGS="$CFLAGS"
   8943 
   8944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8946 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8947 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8948 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8949 then :
   8950   printf %s "(cached) " >&6
   8951 else $as_nop
   8952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8953 /* end confdefs.h.  */
   8954 int i;
   8955 _ACEOF
   8956 if ac_fn_c_try_compile "$LINENO"
   8957 then :
   8958   xorg_cv_cc_flag_unknown_warning_option=yes
   8959 else $as_nop
   8960   xorg_cv_cc_flag_unknown_warning_option=no
   8961 fi
   8962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8963 fi
   8964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8965 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8967 	CFLAGS="$xorg_testset_save_CFLAGS"
   8968 fi
   8969 
   8970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 	fi
   8974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8976 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8977 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8978 then :
   8979   printf %s "(cached) " >&6
   8980 else $as_nop
   8981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8982 /* end confdefs.h.  */
   8983 int i;
   8984 _ACEOF
   8985 if ac_fn_c_try_compile "$LINENO"
   8986 then :
   8987   xorg_cv_cc_flag_unused_command_line_argument=yes
   8988 else $as_nop
   8989   xorg_cv_cc_flag_unused_command_line_argument=no
   8990 fi
   8991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8992 fi
   8993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8994 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8996 	CFLAGS="$xorg_testset_save_CFLAGS"
   8997 fi
   8998 
   8999 found="no"
   9000 
   9001 	if test $found = "no" ; then
   9002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9004 		fi
   9005 
   9006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9008 		fi
   9009 
   9010 		CFLAGS="$CFLAGS -Wnonnull"
   9011 
   9012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9013 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9014 		cacheid=xorg_cv_cc_flag__Wnonnull
   9015 		if eval test \${$cacheid+y}
   9016 then :
   9017   printf %s "(cached) " >&6
   9018 else $as_nop
   9019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9020 /* end confdefs.h.  */
   9021 int i;
   9022 int
   9023 main (void)
   9024 {
   9025 
   9026   ;
   9027   return 0;
   9028 }
   9029 _ACEOF
   9030 if ac_fn_c_try_link "$LINENO"
   9031 then :
   9032   eval $cacheid=yes
   9033 else $as_nop
   9034   eval $cacheid=no
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9037     conftest$ac_exeext conftest.$ac_ext
   9038 fi
   9039 
   9040 
   9041 		CFLAGS="$xorg_testset_save_CFLAGS"
   9042 
   9043 		eval supported=\$$cacheid
   9044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9045 printf "%s\n" "$supported" >&6; }
   9046 		if test "$supported" = "yes" ; then
   9047 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9048 			found="yes"
   9049 		fi
   9050 	fi
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 xorg_testset_save_CFLAGS="$CFLAGS"
   9067 
   9068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9073 then :
   9074   printf %s "(cached) " >&6
   9075 else $as_nop
   9076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 _ACEOF
   9080 if ac_fn_c_try_compile "$LINENO"
   9081 then :
   9082   xorg_cv_cc_flag_unknown_warning_option=yes
   9083 else $as_nop
   9084   xorg_cv_cc_flag_unknown_warning_option=no
   9085 fi
   9086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9087 fi
   9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9091 	CFLAGS="$xorg_testset_save_CFLAGS"
   9092 fi
   9093 
   9094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9097 	fi
   9098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9102 then :
   9103   printf %s "(cached) " >&6
   9104 else $as_nop
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 _ACEOF
   9109 if ac_fn_c_try_compile "$LINENO"
   9110 then :
   9111   xorg_cv_cc_flag_unused_command_line_argument=yes
   9112 else $as_nop
   9113   xorg_cv_cc_flag_unused_command_line_argument=no
   9114 fi
   9115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9116 fi
   9117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9118 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9120 	CFLAGS="$xorg_testset_save_CFLAGS"
   9121 fi
   9122 
   9123 found="no"
   9124 
   9125 	if test $found = "no" ; then
   9126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9128 		fi
   9129 
   9130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9132 		fi
   9133 
   9134 		CFLAGS="$CFLAGS -Winit-self"
   9135 
   9136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9137 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9138 		cacheid=xorg_cv_cc_flag__Winit_self
   9139 		if eval test \${$cacheid+y}
   9140 then :
   9141   printf %s "(cached) " >&6
   9142 else $as_nop
   9143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9144 /* end confdefs.h.  */
   9145 int i;
   9146 int
   9147 main (void)
   9148 {
   9149 
   9150   ;
   9151   return 0;
   9152 }
   9153 _ACEOF
   9154 if ac_fn_c_try_link "$LINENO"
   9155 then :
   9156   eval $cacheid=yes
   9157 else $as_nop
   9158   eval $cacheid=no
   9159 fi
   9160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9161     conftest$ac_exeext conftest.$ac_ext
   9162 fi
   9163 
   9164 
   9165 		CFLAGS="$xorg_testset_save_CFLAGS"
   9166 
   9167 		eval supported=\$$cacheid
   9168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9169 printf "%s\n" "$supported" >&6; }
   9170 		if test "$supported" = "yes" ; then
   9171 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9172 			found="yes"
   9173 		fi
   9174 	fi
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 xorg_testset_save_CFLAGS="$CFLAGS"
   9191 
   9192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9195 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9196 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9197 then :
   9198   printf %s "(cached) " >&6
   9199 else $as_nop
   9200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9201 /* end confdefs.h.  */
   9202 int i;
   9203 _ACEOF
   9204 if ac_fn_c_try_compile "$LINENO"
   9205 then :
   9206   xorg_cv_cc_flag_unknown_warning_option=yes
   9207 else $as_nop
   9208   xorg_cv_cc_flag_unknown_warning_option=no
   9209 fi
   9210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9211 fi
   9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9213 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9215 	CFLAGS="$xorg_testset_save_CFLAGS"
   9216 fi
   9217 
   9218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9221 	fi
   9222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9224 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9225 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9226 then :
   9227   printf %s "(cached) " >&6
   9228 else $as_nop
   9229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9230 /* end confdefs.h.  */
   9231 int i;
   9232 _ACEOF
   9233 if ac_fn_c_try_compile "$LINENO"
   9234 then :
   9235   xorg_cv_cc_flag_unused_command_line_argument=yes
   9236 else $as_nop
   9237   xorg_cv_cc_flag_unused_command_line_argument=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9240 fi
   9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9242 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9244 	CFLAGS="$xorg_testset_save_CFLAGS"
   9245 fi
   9246 
   9247 found="no"
   9248 
   9249 	if test $found = "no" ; then
   9250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9252 		fi
   9253 
   9254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9256 		fi
   9257 
   9258 		CFLAGS="$CFLAGS -Wmain"
   9259 
   9260 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9261 printf %s "checking if $CC supports -Wmain... " >&6; }
   9262 		cacheid=xorg_cv_cc_flag__Wmain
   9263 		if eval test \${$cacheid+y}
   9264 then :
   9265   printf %s "(cached) " >&6
   9266 else $as_nop
   9267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9268 /* end confdefs.h.  */
   9269 int i;
   9270 int
   9271 main (void)
   9272 {
   9273 
   9274   ;
   9275   return 0;
   9276 }
   9277 _ACEOF
   9278 if ac_fn_c_try_link "$LINENO"
   9279 then :
   9280   eval $cacheid=yes
   9281 else $as_nop
   9282   eval $cacheid=no
   9283 fi
   9284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9285     conftest$ac_exeext conftest.$ac_ext
   9286 fi
   9287 
   9288 
   9289 		CFLAGS="$xorg_testset_save_CFLAGS"
   9290 
   9291 		eval supported=\$$cacheid
   9292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9293 printf "%s\n" "$supported" >&6; }
   9294 		if test "$supported" = "yes" ; then
   9295 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9296 			found="yes"
   9297 		fi
   9298 	fi
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 xorg_testset_save_CFLAGS="$CFLAGS"
   9315 
   9316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9321 then :
   9322   printf %s "(cached) " >&6
   9323 else $as_nop
   9324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9325 /* end confdefs.h.  */
   9326 int i;
   9327 _ACEOF
   9328 if ac_fn_c_try_compile "$LINENO"
   9329 then :
   9330   xorg_cv_cc_flag_unknown_warning_option=yes
   9331 else $as_nop
   9332   xorg_cv_cc_flag_unknown_warning_option=no
   9333 fi
   9334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9335 fi
   9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9339 	CFLAGS="$xorg_testset_save_CFLAGS"
   9340 fi
   9341 
   9342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9345 	fi
   9346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9350 then :
   9351   printf %s "(cached) " >&6
   9352 else $as_nop
   9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9354 /* end confdefs.h.  */
   9355 int i;
   9356 _ACEOF
   9357 if ac_fn_c_try_compile "$LINENO"
   9358 then :
   9359   xorg_cv_cc_flag_unused_command_line_argument=yes
   9360 else $as_nop
   9361   xorg_cv_cc_flag_unused_command_line_argument=no
   9362 fi
   9363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9364 fi
   9365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9366 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9368 	CFLAGS="$xorg_testset_save_CFLAGS"
   9369 fi
   9370 
   9371 found="no"
   9372 
   9373 	if test $found = "no" ; then
   9374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9376 		fi
   9377 
   9378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9380 		fi
   9381 
   9382 		CFLAGS="$CFLAGS -Wmissing-braces"
   9383 
   9384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9385 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9386 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9387 		if eval test \${$cacheid+y}
   9388 then :
   9389   printf %s "(cached) " >&6
   9390 else $as_nop
   9391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9392 /* end confdefs.h.  */
   9393 int i;
   9394 int
   9395 main (void)
   9396 {
   9397 
   9398   ;
   9399   return 0;
   9400 }
   9401 _ACEOF
   9402 if ac_fn_c_try_link "$LINENO"
   9403 then :
   9404   eval $cacheid=yes
   9405 else $as_nop
   9406   eval $cacheid=no
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9409     conftest$ac_exeext conftest.$ac_ext
   9410 fi
   9411 
   9412 
   9413 		CFLAGS="$xorg_testset_save_CFLAGS"
   9414 
   9415 		eval supported=\$$cacheid
   9416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9417 printf "%s\n" "$supported" >&6; }
   9418 		if test "$supported" = "yes" ; then
   9419 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9420 			found="yes"
   9421 		fi
   9422 	fi
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 xorg_testset_save_CFLAGS="$CFLAGS"
   9439 
   9440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9443 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9444 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9445 then :
   9446   printf %s "(cached) " >&6
   9447 else $as_nop
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 _ACEOF
   9452 if ac_fn_c_try_compile "$LINENO"
   9453 then :
   9454   xorg_cv_cc_flag_unknown_warning_option=yes
   9455 else $as_nop
   9456   xorg_cv_cc_flag_unknown_warning_option=no
   9457 fi
   9458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9459 fi
   9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9463 	CFLAGS="$xorg_testset_save_CFLAGS"
   9464 fi
   9465 
   9466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 	fi
   9470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9474 then :
   9475   printf %s "(cached) " >&6
   9476 else $as_nop
   9477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9478 /* end confdefs.h.  */
   9479 int i;
   9480 _ACEOF
   9481 if ac_fn_c_try_compile "$LINENO"
   9482 then :
   9483   xorg_cv_cc_flag_unused_command_line_argument=yes
   9484 else $as_nop
   9485   xorg_cv_cc_flag_unused_command_line_argument=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9488 fi
   9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9490 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9492 	CFLAGS="$xorg_testset_save_CFLAGS"
   9493 fi
   9494 
   9495 found="no"
   9496 
   9497 	if test $found = "no" ; then
   9498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 		fi
   9501 
   9502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9504 		fi
   9505 
   9506 		CFLAGS="$CFLAGS -Wsequence-point"
   9507 
   9508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9509 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9510 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9511 		if eval test \${$cacheid+y}
   9512 then :
   9513   printf %s "(cached) " >&6
   9514 else $as_nop
   9515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9516 /* end confdefs.h.  */
   9517 int i;
   9518 int
   9519 main (void)
   9520 {
   9521 
   9522   ;
   9523   return 0;
   9524 }
   9525 _ACEOF
   9526 if ac_fn_c_try_link "$LINENO"
   9527 then :
   9528   eval $cacheid=yes
   9529 else $as_nop
   9530   eval $cacheid=no
   9531 fi
   9532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9533     conftest$ac_exeext conftest.$ac_ext
   9534 fi
   9535 
   9536 
   9537 		CFLAGS="$xorg_testset_save_CFLAGS"
   9538 
   9539 		eval supported=\$$cacheid
   9540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9541 printf "%s\n" "$supported" >&6; }
   9542 		if test "$supported" = "yes" ; then
   9543 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9544 			found="yes"
   9545 		fi
   9546 	fi
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 xorg_testset_save_CFLAGS="$CFLAGS"
   9563 
   9564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9569 then :
   9570   printf %s "(cached) " >&6
   9571 else $as_nop
   9572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 _ACEOF
   9576 if ac_fn_c_try_compile "$LINENO"
   9577 then :
   9578   xorg_cv_cc_flag_unknown_warning_option=yes
   9579 else $as_nop
   9580   xorg_cv_cc_flag_unknown_warning_option=no
   9581 fi
   9582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9583 fi
   9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9585 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9587 	CFLAGS="$xorg_testset_save_CFLAGS"
   9588 fi
   9589 
   9590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9593 	fi
   9594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9596 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9597 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9598 then :
   9599   printf %s "(cached) " >&6
   9600 else $as_nop
   9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 int i;
   9604 _ACEOF
   9605 if ac_fn_c_try_compile "$LINENO"
   9606 then :
   9607   xorg_cv_cc_flag_unused_command_line_argument=yes
   9608 else $as_nop
   9609   xorg_cv_cc_flag_unused_command_line_argument=no
   9610 fi
   9611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9612 fi
   9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9614 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9616 	CFLAGS="$xorg_testset_save_CFLAGS"
   9617 fi
   9618 
   9619 found="no"
   9620 
   9621 	if test $found = "no" ; then
   9622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9624 		fi
   9625 
   9626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9628 		fi
   9629 
   9630 		CFLAGS="$CFLAGS -Wreturn-type"
   9631 
   9632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9633 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9634 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9635 		if eval test \${$cacheid+y}
   9636 then :
   9637   printf %s "(cached) " >&6
   9638 else $as_nop
   9639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 int
   9643 main (void)
   9644 {
   9645 
   9646   ;
   9647   return 0;
   9648 }
   9649 _ACEOF
   9650 if ac_fn_c_try_link "$LINENO"
   9651 then :
   9652   eval $cacheid=yes
   9653 else $as_nop
   9654   eval $cacheid=no
   9655 fi
   9656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9657     conftest$ac_exeext conftest.$ac_ext
   9658 fi
   9659 
   9660 
   9661 		CFLAGS="$xorg_testset_save_CFLAGS"
   9662 
   9663 		eval supported=\$$cacheid
   9664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9665 printf "%s\n" "$supported" >&6; }
   9666 		if test "$supported" = "yes" ; then
   9667 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9668 			found="yes"
   9669 		fi
   9670 	fi
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 xorg_testset_save_CFLAGS="$CFLAGS"
   9687 
   9688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9693 then :
   9694   printf %s "(cached) " >&6
   9695 else $as_nop
   9696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 _ACEOF
   9700 if ac_fn_c_try_compile "$LINENO"
   9701 then :
   9702   xorg_cv_cc_flag_unknown_warning_option=yes
   9703 else $as_nop
   9704   xorg_cv_cc_flag_unknown_warning_option=no
   9705 fi
   9706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9707 fi
   9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9709 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9711 	CFLAGS="$xorg_testset_save_CFLAGS"
   9712 fi
   9713 
   9714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9717 	fi
   9718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9720 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9721 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9722 then :
   9723   printf %s "(cached) " >&6
   9724 else $as_nop
   9725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9726 /* end confdefs.h.  */
   9727 int i;
   9728 _ACEOF
   9729 if ac_fn_c_try_compile "$LINENO"
   9730 then :
   9731   xorg_cv_cc_flag_unused_command_line_argument=yes
   9732 else $as_nop
   9733   xorg_cv_cc_flag_unused_command_line_argument=no
   9734 fi
   9735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9736 fi
   9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9738 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9740 	CFLAGS="$xorg_testset_save_CFLAGS"
   9741 fi
   9742 
   9743 found="no"
   9744 
   9745 	if test $found = "no" ; then
   9746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9748 		fi
   9749 
   9750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9752 		fi
   9753 
   9754 		CFLAGS="$CFLAGS -Wtrigraphs"
   9755 
   9756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9757 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9758 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9759 		if eval test \${$cacheid+y}
   9760 then :
   9761   printf %s "(cached) " >&6
   9762 else $as_nop
   9763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9764 /* end confdefs.h.  */
   9765 int i;
   9766 int
   9767 main (void)
   9768 {
   9769 
   9770   ;
   9771   return 0;
   9772 }
   9773 _ACEOF
   9774 if ac_fn_c_try_link "$LINENO"
   9775 then :
   9776   eval $cacheid=yes
   9777 else $as_nop
   9778   eval $cacheid=no
   9779 fi
   9780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9781     conftest$ac_exeext conftest.$ac_ext
   9782 fi
   9783 
   9784 
   9785 		CFLAGS="$xorg_testset_save_CFLAGS"
   9786 
   9787 		eval supported=\$$cacheid
   9788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9789 printf "%s\n" "$supported" >&6; }
   9790 		if test "$supported" = "yes" ; then
   9791 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9792 			found="yes"
   9793 		fi
   9794 	fi
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 xorg_testset_save_CFLAGS="$CFLAGS"
   9811 
   9812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9814 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9815 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9816 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9817 then :
   9818   printf %s "(cached) " >&6
   9819 else $as_nop
   9820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9821 /* end confdefs.h.  */
   9822 int i;
   9823 _ACEOF
   9824 if ac_fn_c_try_compile "$LINENO"
   9825 then :
   9826   xorg_cv_cc_flag_unknown_warning_option=yes
   9827 else $as_nop
   9828   xorg_cv_cc_flag_unknown_warning_option=no
   9829 fi
   9830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9831 fi
   9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9833 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9835 	CFLAGS="$xorg_testset_save_CFLAGS"
   9836 fi
   9837 
   9838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9841 	fi
   9842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9844 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9845 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9846 then :
   9847   printf %s "(cached) " >&6
   9848 else $as_nop
   9849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9850 /* end confdefs.h.  */
   9851 int i;
   9852 _ACEOF
   9853 if ac_fn_c_try_compile "$LINENO"
   9854 then :
   9855   xorg_cv_cc_flag_unused_command_line_argument=yes
   9856 else $as_nop
   9857   xorg_cv_cc_flag_unused_command_line_argument=no
   9858 fi
   9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9860 fi
   9861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9862 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9864 	CFLAGS="$xorg_testset_save_CFLAGS"
   9865 fi
   9866 
   9867 found="no"
   9868 
   9869 	if test $found = "no" ; then
   9870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9872 		fi
   9873 
   9874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9876 		fi
   9877 
   9878 		CFLAGS="$CFLAGS -Warray-bounds"
   9879 
   9880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9881 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9882 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9883 		if eval test \${$cacheid+y}
   9884 then :
   9885   printf %s "(cached) " >&6
   9886 else $as_nop
   9887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9888 /* end confdefs.h.  */
   9889 int i;
   9890 int
   9891 main (void)
   9892 {
   9893 
   9894   ;
   9895   return 0;
   9896 }
   9897 _ACEOF
   9898 if ac_fn_c_try_link "$LINENO"
   9899 then :
   9900   eval $cacheid=yes
   9901 else $as_nop
   9902   eval $cacheid=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9905     conftest$ac_exeext conftest.$ac_ext
   9906 fi
   9907 
   9908 
   9909 		CFLAGS="$xorg_testset_save_CFLAGS"
   9910 
   9911 		eval supported=\$$cacheid
   9912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9913 printf "%s\n" "$supported" >&6; }
   9914 		if test "$supported" = "yes" ; then
   9915 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9916 			found="yes"
   9917 		fi
   9918 	fi
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 xorg_testset_save_CFLAGS="$CFLAGS"
   9935 
   9936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9938 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9939 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9940 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9941 then :
   9942   printf %s "(cached) " >&6
   9943 else $as_nop
   9944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9945 /* end confdefs.h.  */
   9946 int i;
   9947 _ACEOF
   9948 if ac_fn_c_try_compile "$LINENO"
   9949 then :
   9950   xorg_cv_cc_flag_unknown_warning_option=yes
   9951 else $as_nop
   9952   xorg_cv_cc_flag_unknown_warning_option=no
   9953 fi
   9954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9955 fi
   9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9957 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9958 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9959 	CFLAGS="$xorg_testset_save_CFLAGS"
   9960 fi
   9961 
   9962 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9963 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9964 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9965 	fi
   9966 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9968 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9969 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9970 then :
   9971   printf %s "(cached) " >&6
   9972 else $as_nop
   9973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9974 /* end confdefs.h.  */
   9975 int i;
   9976 _ACEOF
   9977 if ac_fn_c_try_compile "$LINENO"
   9978 then :
   9979   xorg_cv_cc_flag_unused_command_line_argument=yes
   9980 else $as_nop
   9981   xorg_cv_cc_flag_unused_command_line_argument=no
   9982 fi
   9983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9984 fi
   9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9986 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9988 	CFLAGS="$xorg_testset_save_CFLAGS"
   9989 fi
   9990 
   9991 found="no"
   9992 
   9993 	if test $found = "no" ; then
   9994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9996 		fi
   9997 
   9998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10000 		fi
   10001 
   10002 		CFLAGS="$CFLAGS -Wwrite-strings"
   10003 
   10004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10005 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10006 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10007 		if eval test \${$cacheid+y}
   10008 then :
   10009   printf %s "(cached) " >&6
   10010 else $as_nop
   10011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10012 /* end confdefs.h.  */
   10013 int i;
   10014 int
   10015 main (void)
   10016 {
   10017 
   10018   ;
   10019   return 0;
   10020 }
   10021 _ACEOF
   10022 if ac_fn_c_try_link "$LINENO"
   10023 then :
   10024   eval $cacheid=yes
   10025 else $as_nop
   10026   eval $cacheid=no
   10027 fi
   10028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10029     conftest$ac_exeext conftest.$ac_ext
   10030 fi
   10031 
   10032 
   10033 		CFLAGS="$xorg_testset_save_CFLAGS"
   10034 
   10035 		eval supported=\$$cacheid
   10036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10037 printf "%s\n" "$supported" >&6; }
   10038 		if test "$supported" = "yes" ; then
   10039 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10040 			found="yes"
   10041 		fi
   10042 	fi
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 xorg_testset_save_CFLAGS="$CFLAGS"
   10059 
   10060 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10063 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10064 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10065 then :
   10066   printf %s "(cached) " >&6
   10067 else $as_nop
   10068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10069 /* end confdefs.h.  */
   10070 int i;
   10071 _ACEOF
   10072 if ac_fn_c_try_compile "$LINENO"
   10073 then :
   10074   xorg_cv_cc_flag_unknown_warning_option=yes
   10075 else $as_nop
   10076   xorg_cv_cc_flag_unknown_warning_option=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10079 fi
   10080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10081 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10082 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10083 	CFLAGS="$xorg_testset_save_CFLAGS"
   10084 fi
   10085 
   10086 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10087 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10088 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10089 	fi
   10090 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10092 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10093 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10094 then :
   10095   printf %s "(cached) " >&6
   10096 else $as_nop
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 _ACEOF
   10101 if ac_fn_c_try_compile "$LINENO"
   10102 then :
   10103   xorg_cv_cc_flag_unused_command_line_argument=yes
   10104 else $as_nop
   10105   xorg_cv_cc_flag_unused_command_line_argument=no
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10108 fi
   10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10110 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10111 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10112 	CFLAGS="$xorg_testset_save_CFLAGS"
   10113 fi
   10114 
   10115 found="no"
   10116 
   10117 	if test $found = "no" ; then
   10118 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10120 		fi
   10121 
   10122 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10124 		fi
   10125 
   10126 		CFLAGS="$CFLAGS -Waddress"
   10127 
   10128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10129 printf %s "checking if $CC supports -Waddress... " >&6; }
   10130 		cacheid=xorg_cv_cc_flag__Waddress
   10131 		if eval test \${$cacheid+y}
   10132 then :
   10133   printf %s "(cached) " >&6
   10134 else $as_nop
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 int
   10139 main (void)
   10140 {
   10141 
   10142   ;
   10143   return 0;
   10144 }
   10145 _ACEOF
   10146 if ac_fn_c_try_link "$LINENO"
   10147 then :
   10148   eval $cacheid=yes
   10149 else $as_nop
   10150   eval $cacheid=no
   10151 fi
   10152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10153     conftest$ac_exeext conftest.$ac_ext
   10154 fi
   10155 
   10156 
   10157 		CFLAGS="$xorg_testset_save_CFLAGS"
   10158 
   10159 		eval supported=\$$cacheid
   10160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10161 printf "%s\n" "$supported" >&6; }
   10162 		if test "$supported" = "yes" ; then
   10163 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10164 			found="yes"
   10165 		fi
   10166 	fi
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 xorg_testset_save_CFLAGS="$CFLAGS"
   10183 
   10184 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10187 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10188 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10189 then :
   10190   printf %s "(cached) " >&6
   10191 else $as_nop
   10192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10193 /* end confdefs.h.  */
   10194 int i;
   10195 _ACEOF
   10196 if ac_fn_c_try_compile "$LINENO"
   10197 then :
   10198   xorg_cv_cc_flag_unknown_warning_option=yes
   10199 else $as_nop
   10200   xorg_cv_cc_flag_unknown_warning_option=no
   10201 fi
   10202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10203 fi
   10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10205 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10207 	CFLAGS="$xorg_testset_save_CFLAGS"
   10208 fi
   10209 
   10210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10213 	fi
   10214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10216 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10217 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10218 then :
   10219   printf %s "(cached) " >&6
   10220 else $as_nop
   10221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10222 /* end confdefs.h.  */
   10223 int i;
   10224 _ACEOF
   10225 if ac_fn_c_try_compile "$LINENO"
   10226 then :
   10227   xorg_cv_cc_flag_unused_command_line_argument=yes
   10228 else $as_nop
   10229   xorg_cv_cc_flag_unused_command_line_argument=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10232 fi
   10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10234 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10236 	CFLAGS="$xorg_testset_save_CFLAGS"
   10237 fi
   10238 
   10239 found="no"
   10240 
   10241 	if test $found = "no" ; then
   10242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10244 		fi
   10245 
   10246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 		fi
   10249 
   10250 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10251 
   10252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10253 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10254 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10255 		if eval test \${$cacheid+y}
   10256 then :
   10257   printf %s "(cached) " >&6
   10258 else $as_nop
   10259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10260 /* end confdefs.h.  */
   10261 int i;
   10262 int
   10263 main (void)
   10264 {
   10265 
   10266   ;
   10267   return 0;
   10268 }
   10269 _ACEOF
   10270 if ac_fn_c_try_link "$LINENO"
   10271 then :
   10272   eval $cacheid=yes
   10273 else $as_nop
   10274   eval $cacheid=no
   10275 fi
   10276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10277     conftest$ac_exeext conftest.$ac_ext
   10278 fi
   10279 
   10280 
   10281 		CFLAGS="$xorg_testset_save_CFLAGS"
   10282 
   10283 		eval supported=\$$cacheid
   10284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10285 printf "%s\n" "$supported" >&6; }
   10286 		if test "$supported" = "yes" ; then
   10287 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10288 			found="yes"
   10289 		fi
   10290 	fi
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 xorg_testset_save_CFLAGS="$CFLAGS"
   10307 
   10308 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10309 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10311 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10312 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10313 then :
   10314   printf %s "(cached) " >&6
   10315 else $as_nop
   10316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10317 /* end confdefs.h.  */
   10318 int i;
   10319 _ACEOF
   10320 if ac_fn_c_try_compile "$LINENO"
   10321 then :
   10322   xorg_cv_cc_flag_unknown_warning_option=yes
   10323 else $as_nop
   10324   xorg_cv_cc_flag_unknown_warning_option=no
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10327 fi
   10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10329 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10331 	CFLAGS="$xorg_testset_save_CFLAGS"
   10332 fi
   10333 
   10334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10337 	fi
   10338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10340 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10341 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10342 then :
   10343   printf %s "(cached) " >&6
   10344 else $as_nop
   10345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10346 /* end confdefs.h.  */
   10347 int i;
   10348 _ACEOF
   10349 if ac_fn_c_try_compile "$LINENO"
   10350 then :
   10351   xorg_cv_cc_flag_unused_command_line_argument=yes
   10352 else $as_nop
   10353   xorg_cv_cc_flag_unused_command_line_argument=no
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10356 fi
   10357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10358 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10360 	CFLAGS="$xorg_testset_save_CFLAGS"
   10361 fi
   10362 
   10363 found="no"
   10364 
   10365 	if test $found = "no" ; then
   10366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10368 		fi
   10369 
   10370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10372 		fi
   10373 
   10374 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10375 
   10376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10377 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10378 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10379 		if eval test \${$cacheid+y}
   10380 then :
   10381   printf %s "(cached) " >&6
   10382 else $as_nop
   10383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10384 /* end confdefs.h.  */
   10385 int i;
   10386 int
   10387 main (void)
   10388 {
   10389 
   10390   ;
   10391   return 0;
   10392 }
   10393 _ACEOF
   10394 if ac_fn_c_try_link "$LINENO"
   10395 then :
   10396   eval $cacheid=yes
   10397 else $as_nop
   10398   eval $cacheid=no
   10399 fi
   10400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10401     conftest$ac_exeext conftest.$ac_ext
   10402 fi
   10403 
   10404 
   10405 		CFLAGS="$xorg_testset_save_CFLAGS"
   10406 
   10407 		eval supported=\$$cacheid
   10408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10409 printf "%s\n" "$supported" >&6; }
   10410 		if test "$supported" = "yes" ; then
   10411 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10412 			found="yes"
   10413 		fi
   10414 	fi
   10415 
   10416 
   10417 fi
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 		CWARNFLAGS="$BASE_CFLAGS"
   10426 		if  test "x$GCC" = xyes ; then
   10427 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10428 		fi
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 # Check whether --enable-strict-compilation was given.
   10438 if test ${enable_strict_compilation+y}
   10439 then :
   10440   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10441 else $as_nop
   10442   STRICT_COMPILE=no
   10443 fi
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 STRICT_CFLAGS=""
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 xorg_testset_save_CFLAGS="$CFLAGS"
   10465 
   10466 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10468 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10469 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10470 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10471 then :
   10472   printf %s "(cached) " >&6
   10473 else $as_nop
   10474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 int i;
   10477 _ACEOF
   10478 if ac_fn_c_try_compile "$LINENO"
   10479 then :
   10480   xorg_cv_cc_flag_unknown_warning_option=yes
   10481 else $as_nop
   10482   xorg_cv_cc_flag_unknown_warning_option=no
   10483 fi
   10484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10485 fi
   10486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10487 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10489 	CFLAGS="$xorg_testset_save_CFLAGS"
   10490 fi
   10491 
   10492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10495 	fi
   10496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10498 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10499 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10500 then :
   10501   printf %s "(cached) " >&6
   10502 else $as_nop
   10503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10504 /* end confdefs.h.  */
   10505 int i;
   10506 _ACEOF
   10507 if ac_fn_c_try_compile "$LINENO"
   10508 then :
   10509   xorg_cv_cc_flag_unused_command_line_argument=yes
   10510 else $as_nop
   10511   xorg_cv_cc_flag_unused_command_line_argument=no
   10512 fi
   10513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10514 fi
   10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10516 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10518 	CFLAGS="$xorg_testset_save_CFLAGS"
   10519 fi
   10520 
   10521 found="no"
   10522 
   10523 	if test $found = "no" ; then
   10524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10526 		fi
   10527 
   10528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10530 		fi
   10531 
   10532 		CFLAGS="$CFLAGS -pedantic"
   10533 
   10534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10535 printf %s "checking if $CC supports -pedantic... " >&6; }
   10536 		cacheid=xorg_cv_cc_flag__pedantic
   10537 		if eval test \${$cacheid+y}
   10538 then :
   10539   printf %s "(cached) " >&6
   10540 else $as_nop
   10541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10542 /* end confdefs.h.  */
   10543 int i;
   10544 int
   10545 main (void)
   10546 {
   10547 
   10548   ;
   10549   return 0;
   10550 }
   10551 _ACEOF
   10552 if ac_fn_c_try_link "$LINENO"
   10553 then :
   10554   eval $cacheid=yes
   10555 else $as_nop
   10556   eval $cacheid=no
   10557 fi
   10558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10559     conftest$ac_exeext conftest.$ac_ext
   10560 fi
   10561 
   10562 
   10563 		CFLAGS="$xorg_testset_save_CFLAGS"
   10564 
   10565 		eval supported=\$$cacheid
   10566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10567 printf "%s\n" "$supported" >&6; }
   10568 		if test "$supported" = "yes" ; then
   10569 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10570 			found="yes"
   10571 		fi
   10572 	fi
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 xorg_testset_save_CFLAGS="$CFLAGS"
   10589 
   10590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10595 then :
   10596   printf %s "(cached) " >&6
   10597 else $as_nop
   10598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 _ACEOF
   10602 if ac_fn_c_try_compile "$LINENO"
   10603 then :
   10604   xorg_cv_cc_flag_unknown_warning_option=yes
   10605 else $as_nop
   10606   xorg_cv_cc_flag_unknown_warning_option=no
   10607 fi
   10608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10609 fi
   10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10611 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10613 	CFLAGS="$xorg_testset_save_CFLAGS"
   10614 fi
   10615 
   10616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10619 	fi
   10620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10624 then :
   10625   printf %s "(cached) " >&6
   10626 else $as_nop
   10627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10628 /* end confdefs.h.  */
   10629 int i;
   10630 _ACEOF
   10631 if ac_fn_c_try_compile "$LINENO"
   10632 then :
   10633   xorg_cv_cc_flag_unused_command_line_argument=yes
   10634 else $as_nop
   10635   xorg_cv_cc_flag_unused_command_line_argument=no
   10636 fi
   10637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10638 fi
   10639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10640 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10642 	CFLAGS="$xorg_testset_save_CFLAGS"
   10643 fi
   10644 
   10645 found="no"
   10646 
   10647 	if test $found = "no" ; then
   10648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10650 		fi
   10651 
   10652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10654 		fi
   10655 
   10656 		CFLAGS="$CFLAGS -Werror"
   10657 
   10658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10659 printf %s "checking if $CC supports -Werror... " >&6; }
   10660 		cacheid=xorg_cv_cc_flag__Werror
   10661 		if eval test \${$cacheid+y}
   10662 then :
   10663   printf %s "(cached) " >&6
   10664 else $as_nop
   10665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10666 /* end confdefs.h.  */
   10667 int i;
   10668 int
   10669 main (void)
   10670 {
   10671 
   10672   ;
   10673   return 0;
   10674 }
   10675 _ACEOF
   10676 if ac_fn_c_try_link "$LINENO"
   10677 then :
   10678   eval $cacheid=yes
   10679 else $as_nop
   10680   eval $cacheid=no
   10681 fi
   10682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10683     conftest$ac_exeext conftest.$ac_ext
   10684 fi
   10685 
   10686 
   10687 		CFLAGS="$xorg_testset_save_CFLAGS"
   10688 
   10689 		eval supported=\$$cacheid
   10690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10691 printf "%s\n" "$supported" >&6; }
   10692 		if test "$supported" = "yes" ; then
   10693 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10694 			found="yes"
   10695 		fi
   10696 	fi
   10697 
   10698 	if test $found = "no" ; then
   10699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10701 		fi
   10702 
   10703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10705 		fi
   10706 
   10707 		CFLAGS="$CFLAGS -errwarn"
   10708 
   10709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10710 printf %s "checking if $CC supports -errwarn... " >&6; }
   10711 		cacheid=xorg_cv_cc_flag__errwarn
   10712 		if eval test \${$cacheid+y}
   10713 then :
   10714   printf %s "(cached) " >&6
   10715 else $as_nop
   10716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 int i;
   10719 int
   10720 main (void)
   10721 {
   10722 
   10723   ;
   10724   return 0;
   10725 }
   10726 _ACEOF
   10727 if ac_fn_c_try_link "$LINENO"
   10728 then :
   10729   eval $cacheid=yes
   10730 else $as_nop
   10731   eval $cacheid=no
   10732 fi
   10733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10734     conftest$ac_exeext conftest.$ac_ext
   10735 fi
   10736 
   10737 
   10738 		CFLAGS="$xorg_testset_save_CFLAGS"
   10739 
   10740 		eval supported=\$$cacheid
   10741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10742 printf "%s\n" "$supported" >&6; }
   10743 		if test "$supported" = "yes" ; then
   10744 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10745 			found="yes"
   10746 		fi
   10747 	fi
   10748 
   10749 
   10750 
   10751 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10752 # activate it with -Werror, so we add it here explicitly.
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 xorg_testset_save_CFLAGS="$CFLAGS"
   10767 
   10768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10773 then :
   10774   printf %s "(cached) " >&6
   10775 else $as_nop
   10776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10777 /* end confdefs.h.  */
   10778 int i;
   10779 _ACEOF
   10780 if ac_fn_c_try_compile "$LINENO"
   10781 then :
   10782   xorg_cv_cc_flag_unknown_warning_option=yes
   10783 else $as_nop
   10784   xorg_cv_cc_flag_unknown_warning_option=no
   10785 fi
   10786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10787 fi
   10788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10791 	CFLAGS="$xorg_testset_save_CFLAGS"
   10792 fi
   10793 
   10794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10797 	fi
   10798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10802 then :
   10803   printf %s "(cached) " >&6
   10804 else $as_nop
   10805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10806 /* end confdefs.h.  */
   10807 int i;
   10808 _ACEOF
   10809 if ac_fn_c_try_compile "$LINENO"
   10810 then :
   10811   xorg_cv_cc_flag_unused_command_line_argument=yes
   10812 else $as_nop
   10813   xorg_cv_cc_flag_unused_command_line_argument=no
   10814 fi
   10815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10816 fi
   10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10818 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10820 	CFLAGS="$xorg_testset_save_CFLAGS"
   10821 fi
   10822 
   10823 found="no"
   10824 
   10825 	if test $found = "no" ; then
   10826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10828 		fi
   10829 
   10830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10832 		fi
   10833 
   10834 		CFLAGS="$CFLAGS -Werror=attributes"
   10835 
   10836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10837 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10838 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10839 		if eval test \${$cacheid+y}
   10840 then :
   10841   printf %s "(cached) " >&6
   10842 else $as_nop
   10843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10844 /* end confdefs.h.  */
   10845 int i;
   10846 int
   10847 main (void)
   10848 {
   10849 
   10850   ;
   10851   return 0;
   10852 }
   10853 _ACEOF
   10854 if ac_fn_c_try_link "$LINENO"
   10855 then :
   10856   eval $cacheid=yes
   10857 else $as_nop
   10858   eval $cacheid=no
   10859 fi
   10860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10861     conftest$ac_exeext conftest.$ac_ext
   10862 fi
   10863 
   10864 
   10865 		CFLAGS="$xorg_testset_save_CFLAGS"
   10866 
   10867 		eval supported=\$$cacheid
   10868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10869 printf "%s\n" "$supported" >&6; }
   10870 		if test "$supported" = "yes" ; then
   10871 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10872 			found="yes"
   10873 		fi
   10874 	fi
   10875 
   10876 
   10877 
   10878 if test "x$STRICT_COMPILE" = "xyes"; then
   10879     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10880     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10881 fi
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 cat >>confdefs.h <<_ACEOF
   10889 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10890 _ACEOF
   10891 
   10892 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10893 	if test "x$PVM" = "x"; then
   10894 		PVM="0"
   10895 	fi
   10896 
   10897 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10898 
   10899 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10900 	if test "x$PVP" = "x"; then
   10901 		PVP="0"
   10902 	fi
   10903 
   10904 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10905 
   10906 
   10907 
   10908 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10909 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10910 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10911 touch \$(top_srcdir)/ChangeLog; \
   10912 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10913 
   10914 
   10915 
   10916 
   10917 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10918 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10919 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10920 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10921 touch \$(top_srcdir)/INSTALL; \
   10922 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 case $host_os in
   10930     solaris*)
   10931         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10932         # check for a man page file found in later versions that use
   10933         # traditional section numbers instead
   10934         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10935 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10936 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10937 then :
   10938   printf %s "(cached) " >&6
   10939 else $as_nop
   10940   test "$cross_compiling" = yes &&
   10941   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10942 if test -r "/usr/share/man/man7/attributes.7"; then
   10943   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10944 else
   10945   ac_cv_file__usr_share_man_man7_attributes_7=no
   10946 fi
   10947 fi
   10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10949 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10950 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10951 then :
   10952   SYSV_MAN_SECTIONS=false
   10953 else $as_nop
   10954   SYSV_MAN_SECTIONS=true
   10955 fi
   10956 
   10957         ;;
   10958     *) SYSV_MAN_SECTIONS=false ;;
   10959 esac
   10960 
   10961 if test x$APP_MAN_SUFFIX = x    ; then
   10962     APP_MAN_SUFFIX=1
   10963 fi
   10964 if test x$APP_MAN_DIR = x    ; then
   10965     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10966 fi
   10967 
   10968 if test x$LIB_MAN_SUFFIX = x    ; then
   10969     LIB_MAN_SUFFIX=3
   10970 fi
   10971 if test x$LIB_MAN_DIR = x    ; then
   10972     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10973 fi
   10974 
   10975 if test x$FILE_MAN_SUFFIX = x    ; then
   10976     case $SYSV_MAN_SECTIONS in
   10977 	true)				FILE_MAN_SUFFIX=4  ;;
   10978 	*)				FILE_MAN_SUFFIX=5  ;;
   10979     esac
   10980 fi
   10981 if test x$FILE_MAN_DIR = x    ; then
   10982     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10983 fi
   10984 
   10985 if test x$MISC_MAN_SUFFIX = x    ; then
   10986     case $SYSV_MAN_SECTIONS in
   10987 	true)				MISC_MAN_SUFFIX=5  ;;
   10988 	*)				MISC_MAN_SUFFIX=7  ;;
   10989     esac
   10990 fi
   10991 if test x$MISC_MAN_DIR = x    ; then
   10992     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10993 fi
   10994 
   10995 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10996     case $SYSV_MAN_SECTIONS in
   10997 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10998 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10999     esac
   11000 fi
   11001 if test x$DRIVER_MAN_DIR = x    ; then
   11002     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11003 fi
   11004 
   11005 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11006     case $SYSV_MAN_SECTIONS in
   11007 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11008 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11009     esac
   11010 fi
   11011 if test x$ADMIN_MAN_DIR = x    ; then
   11012     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11013 fi
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 XORG_MAN_PAGE="X Version 11"
   11030 
   11031 MAN_SUBSTS="\
   11032 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11033 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11034 	-e 's|__xservername__|Xorg|g' \
   11035 	-e 's|__xconfigfile__|xorg.conf|g' \
   11036 	-e 's|__projectroot__|\$(prefix)|g' \
   11037 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11038 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11039 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11040 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11041 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11042 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11043 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11044 
   11045 
   11046 
   11047 # Check whether --enable-silent-rules was given.
   11048 if test ${enable_silent_rules+y}
   11049 then :
   11050   enableval=$enable_silent_rules;
   11051 fi
   11052 
   11053 case $enable_silent_rules in # (((
   11054   yes) AM_DEFAULT_VERBOSITY=0;;
   11055    no) AM_DEFAULT_VERBOSITY=1;;
   11056     *) AM_DEFAULT_VERBOSITY=0;;
   11057 esac
   11058 am_make=${MAKE-make}
   11059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11060 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11061 if test ${am_cv_make_support_nested_variables+y}
   11062 then :
   11063   printf %s "(cached) " >&6
   11064 else $as_nop
   11065   if printf "%s\n" 'TRUE=$(BAR$(V))
   11066 BAR0=false
   11067 BAR1=true
   11068 V=1
   11069 am__doit:
   11070 	@$(TRUE)
   11071 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11072   am_cv_make_support_nested_variables=yes
   11073 else
   11074   am_cv_make_support_nested_variables=no
   11075 fi
   11076 fi
   11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11078 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11079 if test $am_cv_make_support_nested_variables = yes; then
   11080     AM_V='$(V)'
   11081   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11082 else
   11083   AM_V=$AM_DEFAULT_VERBOSITY
   11084   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11085 fi
   11086 AM_BACKSLASH='\'
   11087 
   11088 
   11089 
   11090 # Checks for pkg-config packages
   11091 
   11092 pkg_failed=no
   11093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XWUD" >&5
   11094 printf %s "checking for XWUD... " >&6; }
   11095 
   11096 if test -n "$XWUD_CFLAGS"; then
   11097     pkg_cv_XWUD_CFLAGS="$XWUD_CFLAGS"
   11098  elif test -n "$PKG_CONFIG"; then
   11099     if test -n "$PKG_CONFIG" && \
   11100     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11101   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11102   ac_status=$?
   11103   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11104   test $ac_status = 0; }; then
   11105   pkg_cv_XWUD_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   11106 		      test "x$?" != "x0" && pkg_failed=yes
   11107 else
   11108   pkg_failed=yes
   11109 fi
   11110  else
   11111     pkg_failed=untried
   11112 fi
   11113 if test -n "$XWUD_LIBS"; then
   11114     pkg_cv_XWUD_LIBS="$XWUD_LIBS"
   11115  elif test -n "$PKG_CONFIG"; then
   11116     if test -n "$PKG_CONFIG" && \
   11117     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   11118   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   11119   ac_status=$?
   11120   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11121   test $ac_status = 0; }; then
   11122   pkg_cv_XWUD_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   11123 		      test "x$?" != "x0" && pkg_failed=yes
   11124 else
   11125   pkg_failed=yes
   11126 fi
   11127  else
   11128     pkg_failed=untried
   11129 fi
   11130 
   11131 
   11132 
   11133 if test $pkg_failed = yes; then
   11134    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11135 printf "%s\n" "no" >&6; }
   11136 
   11137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11138         _pkg_short_errors_supported=yes
   11139 else
   11140         _pkg_short_errors_supported=no
   11141 fi
   11142         if test $_pkg_short_errors_supported = yes; then
   11143 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11144         else
   11145 	        XWUD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   11146         fi
   11147 	# Put the nasty error message in config.log where it belongs
   11148 	echo "$XWUD_PKG_ERRORS" >&5
   11149 
   11150 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   11151 
   11152 $XWUD_PKG_ERRORS
   11153 
   11154 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11155 installed software in a non-standard prefix.
   11156 
   11157 Alternatively, you may set the environment variables XWUD_CFLAGS
   11158 and XWUD_LIBS to avoid the need to call pkg-config.
   11159 See the pkg-config man page for more details." "$LINENO" 5
   11160 elif test $pkg_failed = untried; then
   11161      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11162 printf "%s\n" "no" >&6; }
   11163 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11165 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11166 is in your PATH or set the PKG_CONFIG environment variable to the full
   11167 path to pkg-config.
   11168 
   11169 Alternatively, you may set the environment variables XWUD_CFLAGS
   11170 and XWUD_LIBS to avoid the need to call pkg-config.
   11171 See the pkg-config man page for more details.
   11172 
   11173 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11174 See \`config.log' for more details" "$LINENO" 5; }
   11175 else
   11176 	XWUD_CFLAGS=$pkg_cv_XWUD_CFLAGS
   11177 	XWUD_LIBS=$pkg_cv_XWUD_LIBS
   11178         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11179 printf "%s\n" "yes" >&6; }
   11180 
   11181 fi
   11182 
   11183 ac_config_files="$ac_config_files Makefile man/Makefile"
   11184 
   11185 cat >confcache <<\_ACEOF
   11186 # This file is a shell script that caches the results of configure
   11187 # tests run on this system so they can be shared between configure
   11188 # scripts and configure runs, see configure's option --config-cache.
   11189 # It is not useful on other systems.  If it contains results you don't
   11190 # want to keep, you may remove or edit it.
   11191 #
   11192 # config.status only pays attention to the cache file if you give it
   11193 # the --recheck option to rerun configure.
   11194 #
   11195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11197 # following values.
   11198 
   11199 _ACEOF
   11200 
   11201 # The following way of writing the cache mishandles newlines in values,
   11202 # but we know of no workaround that is simple, portable, and efficient.
   11203 # So, we kill variables containing newlines.
   11204 # Ultrix sh set writes to stderr and can't be redirected directly,
   11205 # and sets the high bit in the cache file unless we assign to the vars.
   11206 (
   11207   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11208     eval ac_val=\$$ac_var
   11209     case $ac_val in #(
   11210     *${as_nl}*)
   11211       case $ac_var in #(
   11212       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11213 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11214       esac
   11215       case $ac_var in #(
   11216       _ | IFS | as_nl) ;; #(
   11217       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11218       *) { eval $ac_var=; unset $ac_var;} ;;
   11219       esac ;;
   11220     esac
   11221   done
   11222 
   11223   (set) 2>&1 |
   11224     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11225     *${as_nl}ac_space=\ *)
   11226       # `set' does not quote correctly, so add quotes: double-quote
   11227       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11228       sed -n \
   11229 	"s/'/'\\\\''/g;
   11230 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11231       ;; #(
   11232     *)
   11233       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11234       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11235       ;;
   11236     esac |
   11237     sort
   11238 ) |
   11239   sed '
   11240      /^ac_cv_env_/b end
   11241      t clear
   11242      :clear
   11243      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11244      t end
   11245      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11246      :end' >>confcache
   11247 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11248   if test -w "$cache_file"; then
   11249     if test "x$cache_file" != "x/dev/null"; then
   11250       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11251 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11252       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11253 	cat confcache >"$cache_file"
   11254       else
   11255         case $cache_file in #(
   11256         */* | ?:*)
   11257 	  mv -f confcache "$cache_file"$$ &&
   11258 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11259         *)
   11260 	  mv -f confcache "$cache_file" ;;
   11261 	esac
   11262       fi
   11263     fi
   11264   else
   11265     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11266 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11267   fi
   11268 fi
   11269 rm -f confcache
   11270 
   11271 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11272 # Let make expand exec_prefix.
   11273 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11274 
   11275 DEFS=-DHAVE_CONFIG_H
   11276 
   11277 ac_libobjs=
   11278 ac_ltlibobjs=
   11279 U=
   11280 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11281   # 1. Remove the extension, and $U if already installed.
   11282   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11283   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11284   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11285   #    will be set to the directory where LIBOBJS objects are built.
   11286   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11287   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11288 done
   11289 LIBOBJS=$ac_libobjs
   11290 
   11291 LTLIBOBJS=$ac_ltlibobjs
   11292 
   11293 
   11294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11295 printf %s "checking that generated files are newer than configure... " >&6; }
   11296    if test -n "$am_sleep_pid"; then
   11297      # Hide warnings about reused PIDs.
   11298      wait $am_sleep_pid 2>/dev/null
   11299    fi
   11300    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11301 printf "%s\n" "done" >&6; }
   11302  if test -n "$EXEEXT"; then
   11303   am__EXEEXT_TRUE=
   11304   am__EXEEXT_FALSE='#'
   11305 else
   11306   am__EXEEXT_TRUE='#'
   11307   am__EXEEXT_FALSE=
   11308 fi
   11309 
   11310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11311   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11313 fi
   11314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11315   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11317 fi
   11318 
   11319 : "${CONFIG_STATUS=./config.status}"
   11320 ac_write_fail=0
   11321 ac_clean_files_save=$ac_clean_files
   11322 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11324 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11325 as_write_fail=0
   11326 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11327 #! $SHELL
   11328 # Generated by $as_me.
   11329 # Run this file to recreate the current configuration.
   11330 # Compiler output produced by configure, useful for debugging
   11331 # configure, is in config.log if it exists.
   11332 
   11333 debug=false
   11334 ac_cs_recheck=false
   11335 ac_cs_silent=false
   11336 
   11337 SHELL=\${CONFIG_SHELL-$SHELL}
   11338 export SHELL
   11339 _ASEOF
   11340 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11341 ## -------------------- ##
   11342 ## M4sh Initialization. ##
   11343 ## -------------------- ##
   11344 
   11345 # Be more Bourne compatible
   11346 DUALCASE=1; export DUALCASE # for MKS sh
   11347 as_nop=:
   11348 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11349 then :
   11350   emulate sh
   11351   NULLCMD=:
   11352   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11353   # is contrary to our usage.  Disable this feature.
   11354   alias -g '${1+"$@"}'='"$@"'
   11355   setopt NO_GLOB_SUBST
   11356 else $as_nop
   11357   case `(set -o) 2>/dev/null` in #(
   11358   *posix*) :
   11359     set -o posix ;; #(
   11360   *) :
   11361      ;;
   11362 esac
   11363 fi
   11364 
   11365 
   11366 
   11367 # Reset variables that may have inherited troublesome values from
   11368 # the environment.
   11369 
   11370 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11371 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11372 # side effect of setting IFS to empty, thus disabling word splitting.)
   11373 # Quoting is to prevent editors from complaining about space-tab.
   11374 as_nl='
   11375 '
   11376 export as_nl
   11377 IFS=" ""	$as_nl"
   11378 
   11379 PS1='$ '
   11380 PS2='> '
   11381 PS4='+ '
   11382 
   11383 # Ensure predictable behavior from utilities with locale-dependent output.
   11384 LC_ALL=C
   11385 export LC_ALL
   11386 LANGUAGE=C
   11387 export LANGUAGE
   11388 
   11389 # We cannot yet rely on "unset" to work, but we need these variables
   11390 # to be unset--not just set to an empty or harmless value--now, to
   11391 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11392 # also avoids known problems related to "unset" and subshell syntax
   11393 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11394 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11395 do eval test \${$as_var+y} \
   11396   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11397 done
   11398 
   11399 # Ensure that fds 0, 1, and 2 are open.
   11400 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11401 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11402 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11403 
   11404 # The user is always right.
   11405 if ${PATH_SEPARATOR+false} :; then
   11406   PATH_SEPARATOR=:
   11407   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11408     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11409       PATH_SEPARATOR=';'
   11410   }
   11411 fi
   11412 
   11413 
   11414 # Find who we are.  Look in the path if we contain no directory separator.
   11415 as_myself=
   11416 case $0 in #((
   11417   *[\\/]* ) as_myself=$0 ;;
   11418   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11419 for as_dir in $PATH
   11420 do
   11421   IFS=$as_save_IFS
   11422   case $as_dir in #(((
   11423     '') as_dir=./ ;;
   11424     */) ;;
   11425     *) as_dir=$as_dir/ ;;
   11426   esac
   11427     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11428   done
   11429 IFS=$as_save_IFS
   11430 
   11431      ;;
   11432 esac
   11433 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11434 # in which case we are not to be found in the path.
   11435 if test "x$as_myself" = x; then
   11436   as_myself=$0
   11437 fi
   11438 if test ! -f "$as_myself"; then
   11439   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11440   exit 1
   11441 fi
   11442 
   11443 
   11444 
   11445 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11446 # ----------------------------------------
   11447 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11448 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11449 # script with STATUS, using 1 if that was 0.
   11450 as_fn_error ()
   11451 {
   11452   as_status=$1; test $as_status -eq 0 && as_status=1
   11453   if test "$4"; then
   11454     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11455     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11456   fi
   11457   printf "%s\n" "$as_me: error: $2" >&2
   11458   as_fn_exit $as_status
   11459 } # as_fn_error
   11460 
   11461 
   11462 
   11463 # as_fn_set_status STATUS
   11464 # -----------------------
   11465 # Set $? to STATUS, without forking.
   11466 as_fn_set_status ()
   11467 {
   11468   return $1
   11469 } # as_fn_set_status
   11470 
   11471 # as_fn_exit STATUS
   11472 # -----------------
   11473 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11474 as_fn_exit ()
   11475 {
   11476   set +e
   11477   as_fn_set_status $1
   11478   exit $1
   11479 } # as_fn_exit
   11480 
   11481 # as_fn_unset VAR
   11482 # ---------------
   11483 # Portably unset VAR.
   11484 as_fn_unset ()
   11485 {
   11486   { eval $1=; unset $1;}
   11487 }
   11488 as_unset=as_fn_unset
   11489 
   11490 # as_fn_append VAR VALUE
   11491 # ----------------------
   11492 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11493 # advantage of any shell optimizations that allow amortized linear growth over
   11494 # repeated appends, instead of the typical quadratic growth present in naive
   11495 # implementations.
   11496 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11497 then :
   11498   eval 'as_fn_append ()
   11499   {
   11500     eval $1+=\$2
   11501   }'
   11502 else $as_nop
   11503   as_fn_append ()
   11504   {
   11505     eval $1=\$$1\$2
   11506   }
   11507 fi # as_fn_append
   11508 
   11509 # as_fn_arith ARG...
   11510 # ------------------
   11511 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11512 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11513 # must be portable across $(()) and expr.
   11514 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11515 then :
   11516   eval 'as_fn_arith ()
   11517   {
   11518     as_val=$(( $* ))
   11519   }'
   11520 else $as_nop
   11521   as_fn_arith ()
   11522   {
   11523     as_val=`expr "$@" || test $? -eq 1`
   11524   }
   11525 fi # as_fn_arith
   11526 
   11527 
   11528 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11529    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11530   as_expr=expr
   11531 else
   11532   as_expr=false
   11533 fi
   11534 
   11535 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11536   as_basename=basename
   11537 else
   11538   as_basename=false
   11539 fi
   11540 
   11541 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11542   as_dirname=dirname
   11543 else
   11544   as_dirname=false
   11545 fi
   11546 
   11547 as_me=`$as_basename -- "$0" ||
   11548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11549 	 X"$0" : 'X\(//\)$' \| \
   11550 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11551 printf "%s\n" X/"$0" |
   11552     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11553 	    s//\1/
   11554 	    q
   11555 	  }
   11556 	  /^X\/\(\/\/\)$/{
   11557 	    s//\1/
   11558 	    q
   11559 	  }
   11560 	  /^X\/\(\/\).*/{
   11561 	    s//\1/
   11562 	    q
   11563 	  }
   11564 	  s/.*/./; q'`
   11565 
   11566 # Avoid depending upon Character Ranges.
   11567 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11568 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11569 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11570 as_cr_digits='0123456789'
   11571 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11572 
   11573 
   11574 # Determine whether it's possible to make 'echo' print without a newline.
   11575 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11576 # for compatibility with existing Makefiles.
   11577 ECHO_C= ECHO_N= ECHO_T=
   11578 case `echo -n x` in #(((((
   11579 -n*)
   11580   case `echo 'xy\c'` in
   11581   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11582   xy)  ECHO_C='\c';;
   11583   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11584        ECHO_T='	';;
   11585   esac;;
   11586 *)
   11587   ECHO_N='-n';;
   11588 esac
   11589 
   11590 # For backward compatibility with old third-party macros, we provide
   11591 # the shell variables $as_echo and $as_echo_n.  New code should use
   11592 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11593 as_echo='printf %s\n'
   11594 as_echo_n='printf %s'
   11595 
   11596 rm -f conf$$ conf$$.exe conf$$.file
   11597 if test -d conf$$.dir; then
   11598   rm -f conf$$.dir/conf$$.file
   11599 else
   11600   rm -f conf$$.dir
   11601   mkdir conf$$.dir 2>/dev/null
   11602 fi
   11603 if (echo >conf$$.file) 2>/dev/null; then
   11604   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11605     as_ln_s='ln -s'
   11606     # ... but there are two gotchas:
   11607     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11608     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11609     # In both cases, we have to default to `cp -pR'.
   11610     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11611       as_ln_s='cp -pR'
   11612   elif ln conf$$.file conf$$ 2>/dev/null; then
   11613     as_ln_s=ln
   11614   else
   11615     as_ln_s='cp -pR'
   11616   fi
   11617 else
   11618   as_ln_s='cp -pR'
   11619 fi
   11620 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11621 rmdir conf$$.dir 2>/dev/null
   11622 
   11623 
   11624 # as_fn_mkdir_p
   11625 # -------------
   11626 # Create "$as_dir" as a directory, including parents if necessary.
   11627 as_fn_mkdir_p ()
   11628 {
   11629 
   11630   case $as_dir in #(
   11631   -*) as_dir=./$as_dir;;
   11632   esac
   11633   test -d "$as_dir" || eval $as_mkdir_p || {
   11634     as_dirs=
   11635     while :; do
   11636       case $as_dir in #(
   11637       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11638       *) as_qdir=$as_dir;;
   11639       esac
   11640       as_dirs="'$as_qdir' $as_dirs"
   11641       as_dir=`$as_dirname -- "$as_dir" ||
   11642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11643 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11644 	 X"$as_dir" : 'X\(//\)$' \| \
   11645 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11646 printf "%s\n" X"$as_dir" |
   11647     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11648 	    s//\1/
   11649 	    q
   11650 	  }
   11651 	  /^X\(\/\/\)[^/].*/{
   11652 	    s//\1/
   11653 	    q
   11654 	  }
   11655 	  /^X\(\/\/\)$/{
   11656 	    s//\1/
   11657 	    q
   11658 	  }
   11659 	  /^X\(\/\).*/{
   11660 	    s//\1/
   11661 	    q
   11662 	  }
   11663 	  s/.*/./; q'`
   11664       test -d "$as_dir" && break
   11665     done
   11666     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11667   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11668 
   11669 
   11670 } # as_fn_mkdir_p
   11671 if mkdir -p . 2>/dev/null; then
   11672   as_mkdir_p='mkdir -p "$as_dir"'
   11673 else
   11674   test -d ./-p && rmdir ./-p
   11675   as_mkdir_p=false
   11676 fi
   11677 
   11678 
   11679 # as_fn_executable_p FILE
   11680 # -----------------------
   11681 # Test if FILE is an executable regular file.
   11682 as_fn_executable_p ()
   11683 {
   11684   test -f "$1" && test -x "$1"
   11685 } # as_fn_executable_p
   11686 as_test_x='test -x'
   11687 as_executable_p=as_fn_executable_p
   11688 
   11689 # Sed expression to map a string onto a valid CPP name.
   11690 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11691 
   11692 # Sed expression to map a string onto a valid variable name.
   11693 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11694 
   11695 
   11696 exec 6>&1
   11697 ## ----------------------------------- ##
   11698 ## Main body of $CONFIG_STATUS script. ##
   11699 ## ----------------------------------- ##
   11700 _ASEOF
   11701 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11702 
   11703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11704 # Save the log message, to keep $0 and so on meaningful, and to
   11705 # report actual input values of CONFIG_FILES etc. instead of their
   11706 # values after options handling.
   11707 ac_log="
   11708 This file was extended by xwud $as_me 1.0.6, which was
   11709 generated by GNU Autoconf 2.71.  Invocation command line was
   11710 
   11711   CONFIG_FILES    = $CONFIG_FILES
   11712   CONFIG_HEADERS  = $CONFIG_HEADERS
   11713   CONFIG_LINKS    = $CONFIG_LINKS
   11714   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11715   $ $0 $@
   11716 
   11717 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11718 "
   11719 
   11720 _ACEOF
   11721 
   11722 case $ac_config_files in *"
   11723 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11724 esac
   11725 
   11726 case $ac_config_headers in *"
   11727 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11728 esac
   11729 
   11730 
   11731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11732 # Files that config.status was made for.
   11733 config_files="$ac_config_files"
   11734 config_headers="$ac_config_headers"
   11735 config_commands="$ac_config_commands"
   11736 
   11737 _ACEOF
   11738 
   11739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11740 ac_cs_usage="\
   11741 \`$as_me' instantiates files and other configuration actions
   11742 from templates according to the current configuration.  Unless the files
   11743 and actions are specified as TAGs, all are instantiated by default.
   11744 
   11745 Usage: $0 [OPTION]... [TAG]...
   11746 
   11747   -h, --help       print this help, then exit
   11748   -V, --version    print version number and configuration settings, then exit
   11749       --config     print configuration, then exit
   11750   -q, --quiet, --silent
   11751                    do not print progress messages
   11752   -d, --debug      don't remove temporary files
   11753       --recheck    update $as_me by reconfiguring in the same conditions
   11754       --file=FILE[:TEMPLATE]
   11755                    instantiate the configuration file FILE
   11756       --header=FILE[:TEMPLATE]
   11757                    instantiate the configuration header FILE
   11758 
   11759 Configuration files:
   11760 $config_files
   11761 
   11762 Configuration headers:
   11763 $config_headers
   11764 
   11765 Configuration commands:
   11766 $config_commands
   11767 
   11768 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xwud/issues>."
   11769 
   11770 _ACEOF
   11771 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11772 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11774 ac_cs_config='$ac_cs_config_escaped'
   11775 ac_cs_version="\\
   11776 xwud config.status 1.0.6
   11777 configured by $0, generated by GNU Autoconf 2.71,
   11778   with options \\"\$ac_cs_config\\"
   11779 
   11780 Copyright (C) 2021 Free Software Foundation, Inc.
   11781 This config.status script is free software; the Free Software Foundation
   11782 gives unlimited permission to copy, distribute and modify it."
   11783 
   11784 ac_pwd='$ac_pwd'
   11785 srcdir='$srcdir'
   11786 INSTALL='$INSTALL'
   11787 MKDIR_P='$MKDIR_P'
   11788 AWK='$AWK'
   11789 test -n "\$AWK" || AWK=awk
   11790 _ACEOF
   11791 
   11792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11793 # The default lists apply if the user does not specify any file.
   11794 ac_need_defaults=:
   11795 while test $# != 0
   11796 do
   11797   case $1 in
   11798   --*=?*)
   11799     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11800     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11801     ac_shift=:
   11802     ;;
   11803   --*=)
   11804     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11805     ac_optarg=
   11806     ac_shift=:
   11807     ;;
   11808   *)
   11809     ac_option=$1
   11810     ac_optarg=$2
   11811     ac_shift=shift
   11812     ;;
   11813   esac
   11814 
   11815   case $ac_option in
   11816   # Handling of the options.
   11817   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11818     ac_cs_recheck=: ;;
   11819   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11820     printf "%s\n" "$ac_cs_version"; exit ;;
   11821   --config | --confi | --conf | --con | --co | --c )
   11822     printf "%s\n" "$ac_cs_config"; exit ;;
   11823   --debug | --debu | --deb | --de | --d | -d )
   11824     debug=: ;;
   11825   --file | --fil | --fi | --f )
   11826     $ac_shift
   11827     case $ac_optarg in
   11828     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11829     '') as_fn_error $? "missing file argument" ;;
   11830     esac
   11831     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11832     ac_need_defaults=false;;
   11833   --header | --heade | --head | --hea )
   11834     $ac_shift
   11835     case $ac_optarg in
   11836     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11837     esac
   11838     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11839     ac_need_defaults=false;;
   11840   --he | --h)
   11841     # Conflict between --help and --header
   11842     as_fn_error $? "ambiguous option: \`$1'
   11843 Try \`$0 --help' for more information.";;
   11844   --help | --hel | -h )
   11845     printf "%s\n" "$ac_cs_usage"; exit ;;
   11846   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11847   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11848     ac_cs_silent=: ;;
   11849 
   11850   # This is an error.
   11851   -*) as_fn_error $? "unrecognized option: \`$1'
   11852 Try \`$0 --help' for more information." ;;
   11853 
   11854   *) as_fn_append ac_config_targets " $1"
   11855      ac_need_defaults=false ;;
   11856 
   11857   esac
   11858   shift
   11859 done
   11860 
   11861 ac_configure_extra_args=
   11862 
   11863 if $ac_cs_silent; then
   11864   exec 6>/dev/null
   11865   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11866 fi
   11867 
   11868 _ACEOF
   11869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11870 if \$ac_cs_recheck; then
   11871   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11872   shift
   11873   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11874   CONFIG_SHELL='$SHELL'
   11875   export CONFIG_SHELL
   11876   exec "\$@"
   11877 fi
   11878 
   11879 _ACEOF
   11880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11881 exec 5>>config.log
   11882 {
   11883   echo
   11884   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11885 ## Running $as_me. ##
   11886 _ASBOX
   11887   printf "%s\n" "$ac_log"
   11888 } >&5
   11889 
   11890 _ACEOF
   11891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11892 #
   11893 # INIT-COMMANDS
   11894 #
   11895 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11896 
   11897 _ACEOF
   11898 
   11899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11900 
   11901 # Handling of arguments.
   11902 for ac_config_target in $ac_config_targets
   11903 do
   11904   case $ac_config_target in
   11905     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11906     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11907     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11908     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11909 
   11910   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11911   esac
   11912 done
   11913 
   11914 
   11915 # If the user did not use the arguments to specify the items to instantiate,
   11916 # then the envvar interface is used.  Set only those that are not.
   11917 # We use the long form for the default assignment because of an extremely
   11918 # bizarre bug on SunOS 4.1.3.
   11919 if $ac_need_defaults; then
   11920   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   11921   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   11922   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   11923 fi
   11924 
   11925 # Have a temporary directory for convenience.  Make it in the build tree
   11926 # simply because there is no reason against having it here, and in addition,
   11927 # creating and moving files from /tmp can sometimes cause problems.
   11928 # Hook for its removal unless debugging.
   11929 # Note that there is a small window in which the directory will not be cleaned:
   11930 # after its creation but before its name has been assigned to `$tmp'.
   11931 $debug ||
   11932 {
   11933   tmp= ac_tmp=
   11934   trap 'exit_status=$?
   11935   : "${ac_tmp:=$tmp}"
   11936   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11937 ' 0
   11938   trap 'as_fn_exit 1' 1 2 13 15
   11939 }
   11940 # Create a (secure) tmp directory for tmp files.
   11941 
   11942 {
   11943   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11944   test -d "$tmp"
   11945 }  ||
   11946 {
   11947   tmp=./conf$$-$RANDOM
   11948   (umask 077 && mkdir "$tmp")
   11949 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11950 ac_tmp=$tmp
   11951 
   11952 # Set up the scripts for CONFIG_FILES section.
   11953 # No need to generate them if there are no CONFIG_FILES.
   11954 # This happens for instance with `./config.status config.h'.
   11955 if test -n "$CONFIG_FILES"; then
   11956 
   11957 
   11958 ac_cr=`echo X | tr X '\015'`
   11959 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11960 # But we know of no other shell where ac_cr would be empty at this
   11961 # point, so we can use a bashism as a fallback.
   11962 if test "x$ac_cr" = x; then
   11963   eval ac_cr=\$\'\\r\'
   11964 fi
   11965 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11966 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11967   ac_cs_awk_cr='\\r'
   11968 else
   11969   ac_cs_awk_cr=$ac_cr
   11970 fi
   11971 
   11972 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11973 _ACEOF
   11974 
   11975 
   11976 {
   11977   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11978   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11979   echo "_ACEOF"
   11980 } >conf$$subs.sh ||
   11981   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11982 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11983 ac_delim='%!_!# '
   11984 for ac_last_try in false false false false false :; do
   11985   . ./conf$$subs.sh ||
   11986     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11987 
   11988   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11989   if test $ac_delim_n = $ac_delim_num; then
   11990     break
   11991   elif $ac_last_try; then
   11992     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11993   else
   11994     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11995   fi
   11996 done
   11997 rm -f conf$$subs.sh
   11998 
   11999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12000 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12001 _ACEOF
   12002 sed -n '
   12003 h
   12004 s/^/S["/; s/!.*/"]=/
   12005 p
   12006 g
   12007 s/^[^!]*!//
   12008 :repl
   12009 t repl
   12010 s/'"$ac_delim"'$//
   12011 t delim
   12012 :nl
   12013 h
   12014 s/\(.\{148\}\)..*/\1/
   12015 t more1
   12016 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12017 p
   12018 n
   12019 b repl
   12020 :more1
   12021 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12022 p
   12023 g
   12024 s/.\{148\}//
   12025 t nl
   12026 :delim
   12027 h
   12028 s/\(.\{148\}\)..*/\1/
   12029 t more2
   12030 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12031 p
   12032 b
   12033 :more2
   12034 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12035 p
   12036 g
   12037 s/.\{148\}//
   12038 t delim
   12039 ' <conf$$subs.awk | sed '
   12040 /^[^""]/{
   12041   N
   12042   s/\n//
   12043 }
   12044 ' >>$CONFIG_STATUS || ac_write_fail=1
   12045 rm -f conf$$subs.awk
   12046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12047 _ACAWK
   12048 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12049   for (key in S) S_is_set[key] = 1
   12050   FS = ""
   12051 
   12052 }
   12053 {
   12054   line = $ 0
   12055   nfields = split(line, field, "@")
   12056   substed = 0
   12057   len = length(field[1])
   12058   for (i = 2; i < nfields; i++) {
   12059     key = field[i]
   12060     keylen = length(key)
   12061     if (S_is_set[key]) {
   12062       value = S[key]
   12063       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12064       len += length(value) + length(field[++i])
   12065       substed = 1
   12066     } else
   12067       len += 1 + keylen
   12068   }
   12069 
   12070   print line
   12071 }
   12072 
   12073 _ACAWK
   12074 _ACEOF
   12075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12076 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12077   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12078 else
   12079   cat
   12080 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12081   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12082 _ACEOF
   12083 
   12084 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12085 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12086 # trailing colons and then remove the whole line if VPATH becomes empty
   12087 # (actually we leave an empty line to preserve line numbers).
   12088 if test "x$srcdir" = x.; then
   12089   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12090 h
   12091 s///
   12092 s/^/:/
   12093 s/[	 ]*$/:/
   12094 s/:\$(srcdir):/:/g
   12095 s/:\${srcdir}:/:/g
   12096 s/:@srcdir@:/:/g
   12097 s/^:*//
   12098 s/:*$//
   12099 x
   12100 s/\(=[	 ]*\).*/\1/
   12101 G
   12102 s/\n//
   12103 s/^[^=]*=[	 ]*$//
   12104 }'
   12105 fi
   12106 
   12107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12108 fi # test -n "$CONFIG_FILES"
   12109 
   12110 # Set up the scripts for CONFIG_HEADERS section.
   12111 # No need to generate them if there are no CONFIG_HEADERS.
   12112 # This happens for instance with `./config.status Makefile'.
   12113 if test -n "$CONFIG_HEADERS"; then
   12114 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12115 BEGIN {
   12116 _ACEOF
   12117 
   12118 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12119 # here-document in config.status, that substitutes the proper values into
   12120 # config.h.in to produce config.h.
   12121 
   12122 # Create a delimiter string that does not exist in confdefs.h, to ease
   12123 # handling of long lines.
   12124 ac_delim='%!_!# '
   12125 for ac_last_try in false false :; do
   12126   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12127   if test -z "$ac_tt"; then
   12128     break
   12129   elif $ac_last_try; then
   12130     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12131   else
   12132     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12133   fi
   12134 done
   12135 
   12136 # For the awk script, D is an array of macro values keyed by name,
   12137 # likewise P contains macro parameters if any.  Preserve backslash
   12138 # newline sequences.
   12139 
   12140 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12141 sed -n '
   12142 s/.\{148\}/&'"$ac_delim"'/g
   12143 t rset
   12144 :rset
   12145 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12146 t def
   12147 d
   12148 :def
   12149 s/\\$//
   12150 t bsnl
   12151 s/["\\]/\\&/g
   12152 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12153 D["\1"]=" \3"/p
   12154 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12155 d
   12156 :bsnl
   12157 s/["\\]/\\&/g
   12158 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12159 D["\1"]=" \3\\\\\\n"\\/p
   12160 t cont
   12161 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12162 t cont
   12163 d
   12164 :cont
   12165 n
   12166 s/.\{148\}/&'"$ac_delim"'/g
   12167 t clear
   12168 :clear
   12169 s/\\$//
   12170 t bsnlc
   12171 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12172 d
   12173 :bsnlc
   12174 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12175 b cont
   12176 ' <confdefs.h | sed '
   12177 s/'"$ac_delim"'/"\\\
   12178 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12179 
   12180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12181   for (key in D) D_is_set[key] = 1
   12182   FS = ""
   12183 }
   12184 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12185   line = \$ 0
   12186   split(line, arg, " ")
   12187   if (arg[1] == "#") {
   12188     defundef = arg[2]
   12189     mac1 = arg[3]
   12190   } else {
   12191     defundef = substr(arg[1], 2)
   12192     mac1 = arg[2]
   12193   }
   12194   split(mac1, mac2, "(") #)
   12195   macro = mac2[1]
   12196   prefix = substr(line, 1, index(line, defundef) - 1)
   12197   if (D_is_set[macro]) {
   12198     # Preserve the white space surrounding the "#".
   12199     print prefix "define", macro P[macro] D[macro]
   12200     next
   12201   } else {
   12202     # Replace #undef with comments.  This is necessary, for example,
   12203     # in the case of _POSIX_SOURCE, which is predefined and required
   12204     # on some systems where configure will not decide to define it.
   12205     if (defundef == "undef") {
   12206       print "/*", prefix defundef, macro, "*/"
   12207       next
   12208     }
   12209   }
   12210 }
   12211 { print }
   12212 _ACAWK
   12213 _ACEOF
   12214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12215   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12216 fi # test -n "$CONFIG_HEADERS"
   12217 
   12218 
   12219 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12220 shift
   12221 for ac_tag
   12222 do
   12223   case $ac_tag in
   12224   :[FHLC]) ac_mode=$ac_tag; continue;;
   12225   esac
   12226   case $ac_mode$ac_tag in
   12227   :[FHL]*:*);;
   12228   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12229   :[FH]-) ac_tag=-:-;;
   12230   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12231   esac
   12232   ac_save_IFS=$IFS
   12233   IFS=:
   12234   set x $ac_tag
   12235   IFS=$ac_save_IFS
   12236   shift
   12237   ac_file=$1
   12238   shift
   12239 
   12240   case $ac_mode in
   12241   :L) ac_source=$1;;
   12242   :[FH])
   12243     ac_file_inputs=
   12244     for ac_f
   12245     do
   12246       case $ac_f in
   12247       -) ac_f="$ac_tmp/stdin";;
   12248       *) # Look for the file first in the build tree, then in the source tree
   12249 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12250 	 # because $ac_f cannot contain `:'.
   12251 	 test -f "$ac_f" ||
   12252 	   case $ac_f in
   12253 	   [\\/$]*) false;;
   12254 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12255 	   esac ||
   12256 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12257       esac
   12258       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12259       as_fn_append ac_file_inputs " '$ac_f'"
   12260     done
   12261 
   12262     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12263     # use $as_me), people would be surprised to read:
   12264     #    /* config.h.  Generated by config.status.  */
   12265     configure_input='Generated from '`
   12266 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12267 	`' by configure.'
   12268     if test x"$ac_file" != x-; then
   12269       configure_input="$ac_file.  $configure_input"
   12270       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12271 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12272     fi
   12273     # Neutralize special characters interpreted by sed in replacement strings.
   12274     case $configure_input in #(
   12275     *\&* | *\|* | *\\* )
   12276        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12277        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12278     *) ac_sed_conf_input=$configure_input;;
   12279     esac
   12280 
   12281     case $ac_tag in
   12282     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12283       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12284     esac
   12285     ;;
   12286   esac
   12287 
   12288   ac_dir=`$as_dirname -- "$ac_file" ||
   12289 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12290 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12291 	 X"$ac_file" : 'X\(//\)$' \| \
   12292 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12293 printf "%s\n" X"$ac_file" |
   12294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12295 	    s//\1/
   12296 	    q
   12297 	  }
   12298 	  /^X\(\/\/\)[^/].*/{
   12299 	    s//\1/
   12300 	    q
   12301 	  }
   12302 	  /^X\(\/\/\)$/{
   12303 	    s//\1/
   12304 	    q
   12305 	  }
   12306 	  /^X\(\/\).*/{
   12307 	    s//\1/
   12308 	    q
   12309 	  }
   12310 	  s/.*/./; q'`
   12311   as_dir="$ac_dir"; as_fn_mkdir_p
   12312   ac_builddir=.
   12313 
   12314 case "$ac_dir" in
   12315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12316 *)
   12317   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12318   # A ".." for each directory in $ac_dir_suffix.
   12319   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12320   case $ac_top_builddir_sub in
   12321   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12322   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12323   esac ;;
   12324 esac
   12325 ac_abs_top_builddir=$ac_pwd
   12326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12327 # for backward compatibility:
   12328 ac_top_builddir=$ac_top_build_prefix
   12329 
   12330 case $srcdir in
   12331   .)  # We are building in place.
   12332     ac_srcdir=.
   12333     ac_top_srcdir=$ac_top_builddir_sub
   12334     ac_abs_top_srcdir=$ac_pwd ;;
   12335   [\\/]* | ?:[\\/]* )  # Absolute name.
   12336     ac_srcdir=$srcdir$ac_dir_suffix;
   12337     ac_top_srcdir=$srcdir
   12338     ac_abs_top_srcdir=$srcdir ;;
   12339   *) # Relative name.
   12340     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12341     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12342     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12343 esac
   12344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12345 
   12346 
   12347   case $ac_mode in
   12348   :F)
   12349   #
   12350   # CONFIG_FILE
   12351   #
   12352 
   12353   case $INSTALL in
   12354   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12355   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12356   esac
   12357   ac_MKDIR_P=$MKDIR_P
   12358   case $MKDIR_P in
   12359   [\\/$]* | ?:[\\/]* ) ;;
   12360   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12361   esac
   12362 _ACEOF
   12363 
   12364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12365 # If the template does not know about datarootdir, expand it.
   12366 # FIXME: This hack should be removed a few years after 2.60.
   12367 ac_datarootdir_hack=; ac_datarootdir_seen=
   12368 ac_sed_dataroot='
   12369 /datarootdir/ {
   12370   p
   12371   q
   12372 }
   12373 /@datadir@/p
   12374 /@docdir@/p
   12375 /@infodir@/p
   12376 /@localedir@/p
   12377 /@mandir@/p'
   12378 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12379 *datarootdir*) ac_datarootdir_seen=yes;;
   12380 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12382 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12383 _ACEOF
   12384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12385   ac_datarootdir_hack='
   12386   s&@datadir@&$datadir&g
   12387   s&@docdir@&$docdir&g
   12388   s&@infodir@&$infodir&g
   12389   s&@localedir@&$localedir&g
   12390   s&@mandir@&$mandir&g
   12391   s&\\\${datarootdir}&$datarootdir&g' ;;
   12392 esac
   12393 _ACEOF
   12394 
   12395 # Neutralize VPATH when `$srcdir' = `.'.
   12396 # Shell code in configure.ac might set extrasub.
   12397 # FIXME: do we really want to maintain this feature?
   12398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12399 ac_sed_extra="$ac_vpsub
   12400 $extrasub
   12401 _ACEOF
   12402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12403 :t
   12404 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12405 s|@configure_input@|$ac_sed_conf_input|;t t
   12406 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12407 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12408 s&@srcdir@&$ac_srcdir&;t t
   12409 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12410 s&@top_srcdir@&$ac_top_srcdir&;t t
   12411 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12412 s&@builddir@&$ac_builddir&;t t
   12413 s&@abs_builddir@&$ac_abs_builddir&;t t
   12414 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12415 s&@INSTALL@&$ac_INSTALL&;t t
   12416 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12417 $ac_datarootdir_hack
   12418 "
   12419 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12420   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12421 
   12422 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12423   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12424   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12425       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12427 which seems to be undefined.  Please make sure it is defined" >&5
   12428 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12429 which seems to be undefined.  Please make sure it is defined" >&2;}
   12430 
   12431   rm -f "$ac_tmp/stdin"
   12432   case $ac_file in
   12433   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12434   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12435   esac \
   12436   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12437  ;;
   12438   :H)
   12439   #
   12440   # CONFIG_HEADER
   12441   #
   12442   if test x"$ac_file" != x-; then
   12443     {
   12444       printf "%s\n" "/* $configure_input  */" >&1 \
   12445       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12446     } >"$ac_tmp/config.h" \
   12447       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12448     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12449       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12450 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12451     else
   12452       rm -f "$ac_file"
   12453       mv "$ac_tmp/config.h" "$ac_file" \
   12454 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12455     fi
   12456   else
   12457     printf "%s\n" "/* $configure_input  */" >&1 \
   12458       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12459       || as_fn_error $? "could not create -" "$LINENO" 5
   12460   fi
   12461 # Compute "$ac_file"'s index in $config_headers.
   12462 _am_arg="$ac_file"
   12463 _am_stamp_count=1
   12464 for _am_header in $config_headers :; do
   12465   case $_am_header in
   12466     $_am_arg | $_am_arg:* )
   12467       break ;;
   12468     * )
   12469       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12470   esac
   12471 done
   12472 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12473 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12474 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12475 	 X"$_am_arg" : 'X\(//\)$' \| \
   12476 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12477 printf "%s\n" X"$_am_arg" |
   12478     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12479 	    s//\1/
   12480 	    q
   12481 	  }
   12482 	  /^X\(\/\/\)[^/].*/{
   12483 	    s//\1/
   12484 	    q
   12485 	  }
   12486 	  /^X\(\/\/\)$/{
   12487 	    s//\1/
   12488 	    q
   12489 	  }
   12490 	  /^X\(\/\).*/{
   12491 	    s//\1/
   12492 	    q
   12493 	  }
   12494 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12495  ;;
   12496 
   12497   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12498 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12499  ;;
   12500   esac
   12501 
   12502 
   12503   case $ac_file$ac_mode in
   12504     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12505   # Older Autoconf quotes --file arguments for eval, but not when files
   12506   # are listed without --file.  Let's play safe and only enable the eval
   12507   # if we detect the quoting.
   12508   # TODO: see whether this extra hack can be removed once we start
   12509   # requiring Autoconf 2.70 or later.
   12510   case $CONFIG_FILES in #(
   12511   *\'*) :
   12512     eval set x "$CONFIG_FILES" ;; #(
   12513   *) :
   12514     set x $CONFIG_FILES ;; #(
   12515   *) :
   12516      ;;
   12517 esac
   12518   shift
   12519   # Used to flag and report bootstrapping failures.
   12520   am_rc=0
   12521   for am_mf
   12522   do
   12523     # Strip MF so we end up with the name of the file.
   12524     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12525     # Check whether this is an Automake generated Makefile which includes
   12526     # dependency-tracking related rules and includes.
   12527     # Grep'ing the whole file directly is not great: AIX grep has a line
   12528     # limit of 2048, but all sed's we know have understand at least 4000.
   12529     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12530       || continue
   12531     am_dirpart=`$as_dirname -- "$am_mf" ||
   12532 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12533 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12534 	 X"$am_mf" : 'X\(//\)$' \| \
   12535 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12536 printf "%s\n" X"$am_mf" |
   12537     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12538 	    s//\1/
   12539 	    q
   12540 	  }
   12541 	  /^X\(\/\/\)[^/].*/{
   12542 	    s//\1/
   12543 	    q
   12544 	  }
   12545 	  /^X\(\/\/\)$/{
   12546 	    s//\1/
   12547 	    q
   12548 	  }
   12549 	  /^X\(\/\).*/{
   12550 	    s//\1/
   12551 	    q
   12552 	  }
   12553 	  s/.*/./; q'`
   12554     am_filepart=`$as_basename -- "$am_mf" ||
   12555 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12556 	 X"$am_mf" : 'X\(//\)$' \| \
   12557 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12558 printf "%s\n" X/"$am_mf" |
   12559     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12560 	    s//\1/
   12561 	    q
   12562 	  }
   12563 	  /^X\/\(\/\/\)$/{
   12564 	    s//\1/
   12565 	    q
   12566 	  }
   12567 	  /^X\/\(\/\).*/{
   12568 	    s//\1/
   12569 	    q
   12570 	  }
   12571 	  s/.*/./; q'`
   12572     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12573       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12574         | $MAKE -f - am--depfiles" >&5
   12575    (cd "$am_dirpart" \
   12576       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12577         | $MAKE -f - am--depfiles) >&5 2>&5
   12578    ac_status=$?
   12579    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12580    (exit $ac_status); } || am_rc=$?
   12581   done
   12582   if test $am_rc -ne 0; then
   12583     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12584 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12585 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12586     for automatic dependency tracking.  If GNU make was not used, consider
   12587     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12588     necessary).  You can also try re-running configure with the
   12589     '--disable-dependency-tracking' option to at least be able to build
   12590     the package (albeit without support for automatic dependency tracking).
   12591 See \`config.log' for more details" "$LINENO" 5; }
   12592   fi
   12593   { am_dirpart=; unset am_dirpart;}
   12594   { am_filepart=; unset am_filepart;}
   12595   { am_mf=; unset am_mf;}
   12596   { am_rc=; unset am_rc;}
   12597   rm -f conftest-deps.mk
   12598 }
   12599  ;;
   12600 
   12601   esac
   12602 done # for ac_tag
   12603 
   12604 
   12605 as_fn_exit 0
   12606 _ACEOF
   12607 ac_clean_files=$ac_clean_files_save
   12608 
   12609 test $ac_write_fail = 0 ||
   12610   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12611 
   12612 
   12613 # configure is writing to config.log, and then calls config.status.
   12614 # config.status does its own redirection, appending to config.log.
   12615 # Unfortunately, on DOS this fails, as config.log is still kept open
   12616 # by configure, so config.status won't be able to write to it; its
   12617 # output is simply discarded.  So we exec the FD to /dev/null,
   12618 # effectively closing config.log, so it can be properly (re)opened and
   12619 # appended to by config.status.  When coming back to configure, we
   12620 # need to make the FD available again.
   12621 if test "$no_create" != yes; then
   12622   ac_cs_success=:
   12623   ac_config_status_args=
   12624   test "$silent" = yes &&
   12625     ac_config_status_args="$ac_config_status_args --quiet"
   12626   exec 5>/dev/null
   12627   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12628   exec 5>>config.log
   12629   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12630   # would make configure fail if this is the last instruction.
   12631   $ac_cs_success || as_fn_exit 1
   12632 fi
   12633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12635 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12636 fi
   12637 
   12638 
   12639