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 xeyes 1.3.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/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/xeyes/-/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='xeyes'
    614 PACKAGE_TARNAME='xeyes'
    615 PACKAGE_VERSION='1.3.0'
    616 PACKAGE_STRING='xeyes 1.3.0'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xeyes/-/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 PRESENT_LIBS
    658 PRESENT_CFLAGS
    659 XRENDER_LIBS
    660 XRENDER_CFLAGS
    661 XEYES_LIBS
    662 XEYES_CFLAGS
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 SED
    678 host_os
    679 host_vendor
    680 host_cpu
    681 host
    682 build_os
    683 build_vendor
    684 build_cpu
    685 build
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__include
    702 DEPDIR
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 AM_BACKSLASH
    711 AM_DEFAULT_VERBOSITY
    712 AM_DEFAULT_V
    713 AM_V
    714 CSCOPE
    715 ETAGS
    716 CTAGS
    717 am__untar
    718 am__tar
    719 AMTAR
    720 am__leading_dot
    721 SET_MAKE
    722 AWK
    723 mkdir_p
    724 MKDIR_P
    725 INSTALL_STRIP_PROGRAM
    726 STRIP
    727 install_sh
    728 MAKEINFO
    729 AUTOHEADER
    730 AUTOMAKE
    731 AUTOCONF
    732 ACLOCAL
    733 VERSION
    734 PACKAGE
    735 CYGPATH_W
    736 am__isrc
    737 INSTALL_DATA
    738 INSTALL_SCRIPT
    739 INSTALL_PROGRAM
    740 target_alias
    741 host_alias
    742 build_alias
    743 LIBS
    744 ECHO_T
    745 ECHO_N
    746 ECHO_C
    747 DEFS
    748 mandir
    749 localedir
    750 libdir
    751 psdir
    752 pdfdir
    753 dvidir
    754 htmldir
    755 infodir
    756 docdir
    757 oldincludedir
    758 includedir
    759 runstatedir
    760 localstatedir
    761 sharedstatedir
    762 sysconfdir
    763 datadir
    764 datarootdir
    765 libexecdir
    766 sbindir
    767 bindir
    768 program_transform_name
    769 prefix
    770 exec_prefix
    771 PACKAGE_URL
    772 PACKAGE_BUGREPORT
    773 PACKAGE_STRING
    774 PACKAGE_VERSION
    775 PACKAGE_TARNAME
    776 PACKAGE_NAME
    777 PATH_SEPARATOR
    778 SHELL
    779 am__quote'
    780 ac_subst_files=''
    781 ac_user_opts='
    782 enable_option_checking
    783 enable_silent_rules
    784 enable_dependency_tracking
    785 enable_selective_werror
    786 enable_strict_compilation
    787 with_xrender
    788 with_present
    789 '
    790       ac_precious_vars='build_alias
    791 host_alias
    792 target_alias
    793 CC
    794 CFLAGS
    795 LDFLAGS
    796 LIBS
    797 CPPFLAGS
    798 PKG_CONFIG
    799 PKG_CONFIG_PATH
    800 PKG_CONFIG_LIBDIR
    801 XEYES_CFLAGS
    802 XEYES_LIBS
    803 XRENDER_CFLAGS
    804 XRENDER_LIBS
    805 PRESENT_CFLAGS
    806 PRESENT_LIBS'
    807 
    808 
    809 # Initialize some variables set by options.
    810 ac_init_help=
    811 ac_init_version=false
    812 ac_unrecognized_opts=
    813 ac_unrecognized_sep=
    814 # The variables have the same names as the options, with
    815 # dashes changed to underlines.
    816 cache_file=/dev/null
    817 exec_prefix=NONE
    818 no_create=
    819 no_recursion=
    820 prefix=NONE
    821 program_prefix=NONE
    822 program_suffix=NONE
    823 program_transform_name=s,x,x,
    824 silent=
    825 site=
    826 srcdir=
    827 verbose=
    828 x_includes=NONE
    829 x_libraries=NONE
    830 
    831 # Installation directory options.
    832 # These are left unexpanded so users can "make install exec_prefix=/foo"
    833 # and all the variables that are supposed to be based on exec_prefix
    834 # by default will actually change.
    835 # Use braces instead of parens because sh, perl, etc. also accept them.
    836 # (The list follows the same order as the GNU Coding Standards.)
    837 bindir='${exec_prefix}/bin'
    838 sbindir='${exec_prefix}/sbin'
    839 libexecdir='${exec_prefix}/libexec'
    840 datarootdir='${prefix}/share'
    841 datadir='${datarootdir}'
    842 sysconfdir='${prefix}/etc'
    843 sharedstatedir='${prefix}/com'
    844 localstatedir='${prefix}/var'
    845 runstatedir='${localstatedir}/run'
    846 includedir='${prefix}/include'
    847 oldincludedir='/usr/include'
    848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    849 infodir='${datarootdir}/info'
    850 htmldir='${docdir}'
    851 dvidir='${docdir}'
    852 pdfdir='${docdir}'
    853 psdir='${docdir}'
    854 libdir='${exec_prefix}/lib'
    855 localedir='${datarootdir}/locale'
    856 mandir='${datarootdir}/man'
    857 
    858 ac_prev=
    859 ac_dashdash=
    860 for ac_option
    861 do
    862   # If the previous option needs an argument, assign it.
    863   if test -n "$ac_prev"; then
    864     eval $ac_prev=\$ac_option
    865     ac_prev=
    866     continue
    867   fi
    868 
    869   case $ac_option in
    870   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    871   *=)   ac_optarg= ;;
    872   *)    ac_optarg=yes ;;
    873   esac
    874 
    875   case $ac_dashdash$ac_option in
    876   --)
    877     ac_dashdash=yes ;;
    878 
    879   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    880     ac_prev=bindir ;;
    881   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    882     bindir=$ac_optarg ;;
    883 
    884   -build | --build | --buil | --bui | --bu)
    885     ac_prev=build_alias ;;
    886   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    887     build_alias=$ac_optarg ;;
    888 
    889   -cache-file | --cache-file | --cache-fil | --cache-fi \
    890   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    891     ac_prev=cache_file ;;
    892   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    893   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    894     cache_file=$ac_optarg ;;
    895 
    896   --config-cache | -C)
    897     cache_file=config.cache ;;
    898 
    899   -datadir | --datadir | --datadi | --datad)
    900     ac_prev=datadir ;;
    901   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    902     datadir=$ac_optarg ;;
    903 
    904   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    905   | --dataroo | --dataro | --datar)
    906     ac_prev=datarootdir ;;
    907   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    908   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    909     datarootdir=$ac_optarg ;;
    910 
    911   -disable-* | --disable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=no ;;
    926 
    927   -docdir | --docdir | --docdi | --doc | --do)
    928     ac_prev=docdir ;;
    929   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    930     docdir=$ac_optarg ;;
    931 
    932   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    933     ac_prev=dvidir ;;
    934   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    935     dvidir=$ac_optarg ;;
    936 
    937   -enable-* | --enable-*)
    938     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    939     # Reject names that are not valid shell variable names.
    940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    941       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    942     ac_useropt_orig=$ac_useropt
    943     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    944     case $ac_user_opts in
    945       *"
    946 "enable_$ac_useropt"
    947 "*) ;;
    948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    949 	 ac_unrecognized_sep=', ';;
    950     esac
    951     eval enable_$ac_useropt=\$ac_optarg ;;
    952 
    953   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    954   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    955   | --exec | --exe | --ex)
    956     ac_prev=exec_prefix ;;
    957   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    958   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    959   | --exec=* | --exe=* | --ex=*)
    960     exec_prefix=$ac_optarg ;;
    961 
    962   -gas | --gas | --ga | --g)
    963     # Obsolete; use --with-gas.
    964     with_gas=yes ;;
    965 
    966   -help | --help | --hel | --he | -h)
    967     ac_init_help=long ;;
    968   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    969     ac_init_help=recursive ;;
    970   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    971     ac_init_help=short ;;
    972 
    973   -host | --host | --hos | --ho)
    974     ac_prev=host_alias ;;
    975   -host=* | --host=* | --hos=* | --ho=*)
    976     host_alias=$ac_optarg ;;
    977 
    978   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    979     ac_prev=htmldir ;;
    980   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    981   | --ht=*)
    982     htmldir=$ac_optarg ;;
    983 
    984   -includedir | --includedir | --includedi | --included | --include \
    985   | --includ | --inclu | --incl | --inc)
    986     ac_prev=includedir ;;
    987   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    988   | --includ=* | --inclu=* | --incl=* | --inc=*)
    989     includedir=$ac_optarg ;;
    990 
    991   -infodir | --infodir | --infodi | --infod | --info | --inf)
    992     ac_prev=infodir ;;
    993   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    994     infodir=$ac_optarg ;;
    995 
    996   -libdir | --libdir | --libdi | --libd)
    997     ac_prev=libdir ;;
    998   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    999     libdir=$ac_optarg ;;
   1000 
   1001   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1002   | --libexe | --libex | --libe)
   1003     ac_prev=libexecdir ;;
   1004   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1005   | --libexe=* | --libex=* | --libe=*)
   1006     libexecdir=$ac_optarg ;;
   1007 
   1008   -localedir | --localedir | --localedi | --localed | --locale)
   1009     ac_prev=localedir ;;
   1010   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1011     localedir=$ac_optarg ;;
   1012 
   1013   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1014   | --localstate | --localstat | --localsta | --localst | --locals)
   1015     ac_prev=localstatedir ;;
   1016   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1017   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1018     localstatedir=$ac_optarg ;;
   1019 
   1020   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1021     ac_prev=mandir ;;
   1022   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1023     mandir=$ac_optarg ;;
   1024 
   1025   -nfp | --nfp | --nf)
   1026     # Obsolete; use --without-fp.
   1027     with_fp=no ;;
   1028 
   1029   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1030   | --no-cr | --no-c | -n)
   1031     no_create=yes ;;
   1032 
   1033   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1034   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1035     no_recursion=yes ;;
   1036 
   1037   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1038   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1039   | --oldin | --oldi | --old | --ol | --o)
   1040     ac_prev=oldincludedir ;;
   1041   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1042   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1043   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1044     oldincludedir=$ac_optarg ;;
   1045 
   1046   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1047     ac_prev=prefix ;;
   1048   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1049     prefix=$ac_optarg ;;
   1050 
   1051   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1052   | --program-pre | --program-pr | --program-p)
   1053     ac_prev=program_prefix ;;
   1054   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1055   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1056     program_prefix=$ac_optarg ;;
   1057 
   1058   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1059   | --program-suf | --program-su | --program-s)
   1060     ac_prev=program_suffix ;;
   1061   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1062   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1063     program_suffix=$ac_optarg ;;
   1064 
   1065   -program-transform-name | --program-transform-name \
   1066   | --program-transform-nam | --program-transform-na \
   1067   | --program-transform-n | --program-transform- \
   1068   | --program-transform | --program-transfor \
   1069   | --program-transfo | --program-transf \
   1070   | --program-trans | --program-tran \
   1071   | --progr-tra | --program-tr | --program-t)
   1072     ac_prev=program_transform_name ;;
   1073   -program-transform-name=* | --program-transform-name=* \
   1074   | --program-transform-nam=* | --program-transform-na=* \
   1075   | --program-transform-n=* | --program-transform-=* \
   1076   | --program-transform=* | --program-transfor=* \
   1077   | --program-transfo=* | --program-transf=* \
   1078   | --program-trans=* | --program-tran=* \
   1079   | --progr-tra=* | --program-tr=* | --program-t=*)
   1080     program_transform_name=$ac_optarg ;;
   1081 
   1082   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1083     ac_prev=pdfdir ;;
   1084   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1085     pdfdir=$ac_optarg ;;
   1086 
   1087   -psdir | --psdir | --psdi | --psd | --ps)
   1088     ac_prev=psdir ;;
   1089   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1090     psdir=$ac_optarg ;;
   1091 
   1092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1093   | -silent | --silent | --silen | --sile | --sil)
   1094     silent=yes ;;
   1095 
   1096   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1097   | --runstate | --runstat | --runsta | --runst | --runs \
   1098   | --run | --ru | --r)
   1099     ac_prev=runstatedir ;;
   1100   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1101   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1102   | --run=* | --ru=* | --r=*)
   1103     runstatedir=$ac_optarg ;;
   1104 
   1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1106     ac_prev=sbindir ;;
   1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1108   | --sbi=* | --sb=*)
   1109     sbindir=$ac_optarg ;;
   1110 
   1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1113   | --sharedst | --shareds | --shared | --share | --shar \
   1114   | --sha | --sh)
   1115     ac_prev=sharedstatedir ;;
   1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1119   | --sha=* | --sh=*)
   1120     sharedstatedir=$ac_optarg ;;
   1121 
   1122   -site | --site | --sit)
   1123     ac_prev=site ;;
   1124   -site=* | --site=* | --sit=*)
   1125     site=$ac_optarg ;;
   1126 
   1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1128     ac_prev=srcdir ;;
   1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1130     srcdir=$ac_optarg ;;
   1131 
   1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1133   | --syscon | --sysco | --sysc | --sys | --sy)
   1134     ac_prev=sysconfdir ;;
   1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1137     sysconfdir=$ac_optarg ;;
   1138 
   1139   -target | --target | --targe | --targ | --tar | --ta | --t)
   1140     ac_prev=target_alias ;;
   1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1142     target_alias=$ac_optarg ;;
   1143 
   1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1145     verbose=yes ;;
   1146 
   1147   -version | --version | --versio | --versi | --vers | -V)
   1148     ac_init_version=: ;;
   1149 
   1150   -with-* | --with-*)
   1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1152     # Reject names that are not valid shell variable names.
   1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1154       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1155     ac_useropt_orig=$ac_useropt
   1156     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1157     case $ac_user_opts in
   1158       *"
   1159 "with_$ac_useropt"
   1160 "*) ;;
   1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1162 	 ac_unrecognized_sep=', ';;
   1163     esac
   1164     eval with_$ac_useropt=\$ac_optarg ;;
   1165 
   1166   -without-* | --without-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=no ;;
   1181 
   1182   --x)
   1183     # Obsolete; use --with-x.
   1184     with_x=yes ;;
   1185 
   1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1187   | --x-incl | --x-inc | --x-in | --x-i)
   1188     ac_prev=x_includes ;;
   1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1191     x_includes=$ac_optarg ;;
   1192 
   1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1195     ac_prev=x_libraries ;;
   1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1198     x_libraries=$ac_optarg ;;
   1199 
   1200   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1201 Try \`$0 --help' for more information"
   1202     ;;
   1203 
   1204   *=*)
   1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1206     # Reject names that are not valid shell variable names.
   1207     case $ac_envvar in #(
   1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1209       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1210     esac
   1211     eval $ac_envvar=\$ac_optarg
   1212     export $ac_envvar ;;
   1213 
   1214   *)
   1215     # FIXME: should be removed in autoconf 3.0.
   1216     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1218       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1219     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1220     ;;
   1221 
   1222   esac
   1223 done
   1224 
   1225 if test -n "$ac_prev"; then
   1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1227   as_fn_error $? "missing argument to $ac_option"
   1228 fi
   1229 
   1230 if test -n "$ac_unrecognized_opts"; then
   1231   case $enable_option_checking in
   1232     no) ;;
   1233     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1234     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1235   esac
   1236 fi
   1237 
   1238 # Check all directory arguments for consistency.
   1239 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1240 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1241 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1242 		libdir localedir mandir runstatedir
   1243 do
   1244   eval ac_val=\$$ac_var
   1245   # Remove trailing slashes.
   1246   case $ac_val in
   1247     */ )
   1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1249       eval $ac_var=\$ac_val;;
   1250   esac
   1251   # Be sure to have absolute directory names.
   1252   case $ac_val in
   1253     [\\/$]* | ?:[\\/]* )  continue;;
   1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1255   esac
   1256   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1257 done
   1258 
   1259 # There might be people who depend on the old broken behavior: `$host'
   1260 # used to hold the argument of --host etc.
   1261 # FIXME: To remove some day.
   1262 build=$build_alias
   1263 host=$host_alias
   1264 target=$target_alias
   1265 
   1266 # FIXME: To remove some day.
   1267 if test "x$host_alias" != x; then
   1268   if test "x$build_alias" = x; then
   1269     cross_compiling=maybe
   1270   elif test "x$build_alias" != "x$host_alias"; then
   1271     cross_compiling=yes
   1272   fi
   1273 fi
   1274 
   1275 ac_tool_prefix=
   1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1277 
   1278 test "$silent" = yes && exec 6>/dev/null
   1279 
   1280 
   1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1282 ac_ls_di=`ls -di .` &&
   1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1284   as_fn_error $? "working directory cannot be determined"
   1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1286   as_fn_error $? "pwd does not report name of working directory"
   1287 
   1288 
   1289 # Find the source files, if location was not specified.
   1290 if test -z "$srcdir"; then
   1291   ac_srcdir_defaulted=yes
   1292   # Try the directory containing this script, then the parent directory.
   1293   ac_confdir=`$as_dirname -- "$as_myself" ||
   1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1295 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1296 	 X"$as_myself" : 'X\(//\)$' \| \
   1297 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1298 printf "%s\n" X"$as_myself" |
   1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)[^/].*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\).*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  s/.*/./; q'`
   1316   srcdir=$ac_confdir
   1317   if test ! -r "$srcdir/$ac_unique_file"; then
   1318     srcdir=..
   1319   fi
   1320 else
   1321   ac_srcdir_defaulted=no
   1322 fi
   1323 if test ! -r "$srcdir/$ac_unique_file"; then
   1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1326 fi
   1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1328 ac_abs_confdir=`(
   1329 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1330 	pwd)`
   1331 # When building in place, set srcdir=.
   1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1333   srcdir=.
   1334 fi
   1335 # Remove unnecessary trailing slashes from srcdir.
   1336 # Double slashes in file names in object file debugging info
   1337 # mess up M-x gdb in Emacs.
   1338 case $srcdir in
   1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1340 esac
   1341 for ac_var in $ac_precious_vars; do
   1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_env_${ac_var}_value=\$${ac_var}
   1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1346 done
   1347 
   1348 #
   1349 # Report the --help message.
   1350 #
   1351 if test "$ac_init_help" = "long"; then
   1352   # Omit some internal or obsolete options to make the list less imposing.
   1353   # This message is too long to be a string in the A/UX 3.1 sh.
   1354   cat <<_ACEOF
   1355 \`configure' configures xeyes 1.3.0 to adapt to many kinds of systems.
   1356 
   1357 Usage: $0 [OPTION]... [VAR=VALUE]...
   1358 
   1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1361 
   1362 Defaults for the options are specified in brackets.
   1363 
   1364 Configuration:
   1365   -h, --help              display this help and exit
   1366       --help=short        display options specific to this package
   1367       --help=recursive    display the short help of all the included packages
   1368   -V, --version           display version information and exit
   1369   -q, --quiet, --silent   do not print \`checking ...' messages
   1370       --cache-file=FILE   cache test results in FILE [disabled]
   1371   -C, --config-cache      alias for \`--cache-file=config.cache'
   1372   -n, --no-create         do not create output files
   1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1374 
   1375 Installation directories:
   1376   --prefix=PREFIX         install architecture-independent files in PREFIX
   1377                           [$ac_default_prefix]
   1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1379                           [PREFIX]
   1380 
   1381 By default, \`make install' will install all the files in
   1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1384 for instance \`--prefix=\$HOME'.
   1385 
   1386 For better control, use the options below.
   1387 
   1388 Fine tuning of the installation directories:
   1389   --bindir=DIR            user executables [EPREFIX/bin]
   1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1395   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/xeyes]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xeyes 1.3.0:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --disable-selective-werror
   1441                           Turn off selective compiler errors. (default:
   1442                           enabled)
   1443   --enable-strict-compilation
   1444                           Enable all warnings from compiler and make them
   1445                           errors (default: disabled)
   1446 
   1447 Optional Packages:
   1448   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1449   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1450   --with-xrender          Use Xrender for rendering (Default is YES)
   1451   --with-present          Use Present for updates (Default is AUTO)
   1452 
   1453 Some influential environment variables:
   1454   CC          C compiler command
   1455   CFLAGS      C compiler flags
   1456   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1457               nonstandard directory <lib dir>
   1458   LIBS        libraries to pass to the linker, e.g. -l<library>
   1459   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1460               you have headers in a nonstandard directory <include dir>
   1461   PKG_CONFIG  path to pkg-config utility
   1462   PKG_CONFIG_PATH
   1463               directories to add to pkg-config's search path
   1464   PKG_CONFIG_LIBDIR
   1465               path overriding pkg-config's built-in search path
   1466   XEYES_CFLAGS
   1467               C compiler flags for XEYES, overriding pkg-config
   1468   XEYES_LIBS  linker flags for XEYES, overriding pkg-config
   1469   XRENDER_CFLAGS
   1470               C compiler flags for XRENDER, overriding pkg-config
   1471   XRENDER_LIBS
   1472               linker flags for XRENDER, overriding pkg-config
   1473   PRESENT_CFLAGS
   1474               C compiler flags for PRESENT, overriding pkg-config
   1475   PRESENT_LIBS
   1476               linker flags for PRESENT, overriding pkg-config
   1477 
   1478 Use these variables to override the choices made by `configure' or to help
   1479 it to find libraries and programs with nonstandard names/locations.
   1480 
   1481 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues>.
   1482 _ACEOF
   1483 ac_status=$?
   1484 fi
   1485 
   1486 if test "$ac_init_help" = "recursive"; then
   1487   # If there are subdirs, report their specific --help.
   1488   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1489     test -d "$ac_dir" ||
   1490       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1491       continue
   1492     ac_builddir=.
   1493 
   1494 case "$ac_dir" in
   1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1496 *)
   1497   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1498   # A ".." for each directory in $ac_dir_suffix.
   1499   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1500   case $ac_top_builddir_sub in
   1501   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1503   esac ;;
   1504 esac
   1505 ac_abs_top_builddir=$ac_pwd
   1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1507 # for backward compatibility:
   1508 ac_top_builddir=$ac_top_build_prefix
   1509 
   1510 case $srcdir in
   1511   .)  # We are building in place.
   1512     ac_srcdir=.
   1513     ac_top_srcdir=$ac_top_builddir_sub
   1514     ac_abs_top_srcdir=$ac_pwd ;;
   1515   [\\/]* | ?:[\\/]* )  # Absolute name.
   1516     ac_srcdir=$srcdir$ac_dir_suffix;
   1517     ac_top_srcdir=$srcdir
   1518     ac_abs_top_srcdir=$srcdir ;;
   1519   *) # Relative name.
   1520     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1521     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1522     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1523 esac
   1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1525 
   1526     cd "$ac_dir" || { ac_status=$?; continue; }
   1527     # Check for configure.gnu first; this name is used for a wrapper for
   1528     # Metaconfig's "Configure" on case-insensitive file systems.
   1529     if test -f "$ac_srcdir/configure.gnu"; then
   1530       echo &&
   1531       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1532     elif test -f "$ac_srcdir/configure"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure" --help=recursive
   1535     else
   1536       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1537     fi || ac_status=$?
   1538     cd "$ac_pwd" || { ac_status=$?; break; }
   1539   done
   1540 fi
   1541 
   1542 test -n "$ac_init_help" && exit $ac_status
   1543 if $ac_init_version; then
   1544   cat <<\_ACEOF
   1545 xeyes configure 1.3.0
   1546 generated by GNU Autoconf 2.71
   1547 
   1548 Copyright (C) 2021 Free Software Foundation, Inc.
   1549 This configure script is free software; the Free Software Foundation
   1550 gives unlimited permission to copy, distribute and modify it.
   1551 _ACEOF
   1552   exit
   1553 fi
   1554 
   1555 ## ------------------------ ##
   1556 ## Autoconf initialization. ##
   1557 ## ------------------------ ##
   1558 
   1559 # ac_fn_c_try_compile LINENO
   1560 # --------------------------
   1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_compile ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   rm -f conftest.$ac_objext conftest.beam
   1566   if { { ac_try="$ac_compile"
   1567 case "(($ac_try" in
   1568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1569   *) ac_try_echo=$ac_try;;
   1570 esac
   1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1572 printf "%s\n" "$ac_try_echo"; } >&5
   1573   (eval "$ac_compile") 2>conftest.err
   1574   ac_status=$?
   1575   if test -s conftest.err; then
   1576     grep -v '^ *+' conftest.err >conftest.er1
   1577     cat conftest.er1 >&5
   1578     mv -f conftest.er1 conftest.err
   1579   fi
   1580   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1581   test $ac_status = 0; } && {
   1582 	 test -z "$ac_c_werror_flag" ||
   1583 	 test ! -s conftest.err
   1584        } && test -s conftest.$ac_objext
   1585 then :
   1586   ac_retval=0
   1587 else $as_nop
   1588   printf "%s\n" "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591 	ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594   as_fn_set_status $ac_retval
   1595 
   1596 } # ac_fn_c_try_compile
   1597 
   1598 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1599 # ------------------------------------------------------------------
   1600 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1601 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1602 ac_fn_check_decl ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1607 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1608 if eval test \${$3+y}
   1609 then :
   1610   printf %s "(cached) " >&6
   1611 else $as_nop
   1612   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1613   eval ac_save_FLAGS=\$$6
   1614   as_fn_append $6 " $5"
   1615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1616 /* end confdefs.h.  */
   1617 $4
   1618 int
   1619 main (void)
   1620 {
   1621 #ifndef $as_decl_name
   1622 #ifdef __cplusplus
   1623   (void) $as_decl_use;
   1624 #else
   1625   (void) $as_decl_name;
   1626 #endif
   1627 #endif
   1628 
   1629   ;
   1630   return 0;
   1631 }
   1632 _ACEOF
   1633 if ac_fn_c_try_compile "$LINENO"
   1634 then :
   1635   eval "$3=yes"
   1636 else $as_nop
   1637   eval "$3=no"
   1638 fi
   1639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1640   eval $6=\$ac_save_FLAGS
   1641 
   1642 fi
   1643 eval ac_res=\$$3
   1644 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1645 printf "%s\n" "$ac_res" >&6; }
   1646   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1647 
   1648 } # ac_fn_check_decl
   1649 
   1650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1651 # -------------------------------------------------------
   1652 # Tests whether HEADER exists and can be compiled using the include files in
   1653 # INCLUDES, setting the cache variable VAR accordingly.
   1654 ac_fn_c_check_header_compile ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1658 printf %s "checking for $2... " >&6; }
   1659 if eval test \${$3+y}
   1660 then :
   1661   printf %s "(cached) " >&6
   1662 else $as_nop
   1663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1664 /* end confdefs.h.  */
   1665 $4
   1666 #include <$2>
   1667 _ACEOF
   1668 if ac_fn_c_try_compile "$LINENO"
   1669 then :
   1670   eval "$3=yes"
   1671 else $as_nop
   1672   eval "$3=no"
   1673 fi
   1674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1675 fi
   1676 eval ac_res=\$$3
   1677 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1678 printf "%s\n" "$ac_res" >&6; }
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_compile
   1682 
   1683 # ac_fn_c_try_link LINENO
   1684 # -----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_link ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 printf "%s\n" "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>conftest.err
   1698   ac_status=$?
   1699   if test -s conftest.err; then
   1700     grep -v '^ *+' conftest.err >conftest.er1
   1701     cat conftest.er1 >&5
   1702     mv -f conftest.er1 conftest.err
   1703   fi
   1704   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1705   test $ac_status = 0; } && {
   1706 	 test -z "$ac_c_werror_flag" ||
   1707 	 test ! -s conftest.err
   1708        } && test -s conftest$ac_exeext && {
   1709 	 test "$cross_compiling" = yes ||
   1710 	 test -x conftest$ac_exeext
   1711        }
   1712 then :
   1713   ac_retval=0
   1714 else $as_nop
   1715   printf "%s\n" "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 	ac_retval=1
   1719 fi
   1720   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1721   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1722   # interfere with the next link command; also delete a directory that is
   1723   # left behind by Apple's compiler.  We do this before executing the actions.
   1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1726   as_fn_set_status $ac_retval
   1727 
   1728 } # ac_fn_c_try_link
   1729 ac_configure_args_raw=
   1730 for ac_arg
   1731 do
   1732   case $ac_arg in
   1733   *\'*)
   1734     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1735   esac
   1736   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1737 done
   1738 
   1739 case $ac_configure_args_raw in
   1740   *$as_nl*)
   1741     ac_safe_unquote= ;;
   1742   *)
   1743     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1744     ac_unsafe_a="$ac_unsafe_z#~"
   1745     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1746     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1747 esac
   1748 
   1749 cat >config.log <<_ACEOF
   1750 This file contains any messages produced by compilers while
   1751 running configure, to aid debugging if configure makes a mistake.
   1752 
   1753 It was created by xeyes $as_me 1.3.0, which was
   1754 generated by GNU Autoconf 2.71.  Invocation command line was
   1755 
   1756   $ $0$ac_configure_args_raw
   1757 
   1758 _ACEOF
   1759 exec 5>>config.log
   1760 {
   1761 cat <<_ASUNAME
   1762 ## --------- ##
   1763 ## Platform. ##
   1764 ## --------- ##
   1765 
   1766 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1767 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1768 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1769 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1770 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1771 
   1772 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1773 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1774 
   1775 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1776 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1777 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1778 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1779 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1780 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1781 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1782 
   1783 _ASUNAME
   1784 
   1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1786 for as_dir in $PATH
   1787 do
   1788   IFS=$as_save_IFS
   1789   case $as_dir in #(((
   1790     '') as_dir=./ ;;
   1791     */) ;;
   1792     *) as_dir=$as_dir/ ;;
   1793   esac
   1794     printf "%s\n" "PATH: $as_dir"
   1795   done
   1796 IFS=$as_save_IFS
   1797 
   1798 } >&5
   1799 
   1800 cat >&5 <<_ACEOF
   1801 
   1802 
   1803 ## ----------- ##
   1804 ## Core tests. ##
   1805 ## ----------- ##
   1806 
   1807 _ACEOF
   1808 
   1809 
   1810 # Keep a trace of the command line.
   1811 # Strip out --no-create and --no-recursion so they do not pile up.
   1812 # Strip out --silent because we don't want to record it for future runs.
   1813 # Also quote any args containing shell meta-characters.
   1814 # Make two passes to allow for proper duplicate-argument suppression.
   1815 ac_configure_args=
   1816 ac_configure_args0=
   1817 ac_configure_args1=
   1818 ac_must_keep_next=false
   1819 for ac_pass in 1 2
   1820 do
   1821   for ac_arg
   1822   do
   1823     case $ac_arg in
   1824     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1825     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1826     | -silent | --silent | --silen | --sile | --sil)
   1827       continue ;;
   1828     *\'*)
   1829       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1830     esac
   1831     case $ac_pass in
   1832     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1833     2)
   1834       as_fn_append ac_configure_args1 " '$ac_arg'"
   1835       if test $ac_must_keep_next = true; then
   1836 	ac_must_keep_next=false # Got value, back to normal.
   1837       else
   1838 	case $ac_arg in
   1839 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1840 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1841 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1842 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1843 	    case "$ac_configure_args0 " in
   1844 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1845 	    esac
   1846 	    ;;
   1847 	  -* ) ac_must_keep_next=true ;;
   1848 	esac
   1849       fi
   1850       as_fn_append ac_configure_args " '$ac_arg'"
   1851       ;;
   1852     esac
   1853   done
   1854 done
   1855 { ac_configure_args0=; unset ac_configure_args0;}
   1856 { ac_configure_args1=; unset ac_configure_args1;}
   1857 
   1858 # When interrupted or exit'd, cleanup temporary files, and complete
   1859 # config.log.  We remove comments because anyway the quotes in there
   1860 # would cause problems or look ugly.
   1861 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1862 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1863 trap 'exit_status=$?
   1864   # Sanitize IFS.
   1865   IFS=" ""	$as_nl"
   1866   # Save into config.log some information that might help in debugging.
   1867   {
   1868     echo
   1869 
   1870     printf "%s\n" "## ---------------- ##
   1871 ## Cache variables. ##
   1872 ## ---------------- ##"
   1873     echo
   1874     # The following way of writing the cache mishandles newlines in values,
   1875 (
   1876   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1877     eval ac_val=\$$ac_var
   1878     case $ac_val in #(
   1879     *${as_nl}*)
   1880       case $ac_var in #(
   1881       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1882 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1883       esac
   1884       case $ac_var in #(
   1885       _ | IFS | as_nl) ;; #(
   1886       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1887       *) { eval $ac_var=; unset $ac_var;} ;;
   1888       esac ;;
   1889     esac
   1890   done
   1891   (set) 2>&1 |
   1892     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1893     *${as_nl}ac_space=\ *)
   1894       sed -n \
   1895 	"s/'\''/'\''\\\\'\'''\''/g;
   1896 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1897       ;; #(
   1898     *)
   1899       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1900       ;;
   1901     esac |
   1902     sort
   1903 )
   1904     echo
   1905 
   1906     printf "%s\n" "## ----------------- ##
   1907 ## Output variables. ##
   1908 ## ----------------- ##"
   1909     echo
   1910     for ac_var in $ac_subst_vars
   1911     do
   1912       eval ac_val=\$$ac_var
   1913       case $ac_val in
   1914       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1915       esac
   1916       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1917     done | sort
   1918     echo
   1919 
   1920     if test -n "$ac_subst_files"; then
   1921       printf "%s\n" "## ------------------- ##
   1922 ## File substitutions. ##
   1923 ## ------------------- ##"
   1924       echo
   1925       for ac_var in $ac_subst_files
   1926       do
   1927 	eval ac_val=\$$ac_var
   1928 	case $ac_val in
   1929 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1930 	esac
   1931 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1932       done | sort
   1933       echo
   1934     fi
   1935 
   1936     if test -s confdefs.h; then
   1937       printf "%s\n" "## ----------- ##
   1938 ## confdefs.h. ##
   1939 ## ----------- ##"
   1940       echo
   1941       cat confdefs.h
   1942       echo
   1943     fi
   1944     test "$ac_signal" != 0 &&
   1945       printf "%s\n" "$as_me: caught signal $ac_signal"
   1946     printf "%s\n" "$as_me: exit $exit_status"
   1947   } >&5
   1948   rm -f core *.core core.conftest.* &&
   1949     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1950     exit $exit_status
   1951 ' 0
   1952 for ac_signal in 1 2 13 15; do
   1953   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1954 done
   1955 ac_signal=0
   1956 
   1957 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1958 rm -f -r conftest* confdefs.h
   1959 
   1960 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1961 
   1962 # Predefined preprocessor variables.
   1963 
   1964 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1965 
   1966 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1967 
   1968 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1969 
   1970 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1971 
   1972 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1973 
   1974 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1975 
   1976 
   1977 # Let the site file select an alternate cache file if it wants to.
   1978 # Prefer an explicitly selected file to automatically selected ones.
   1979 if test -n "$CONFIG_SITE"; then
   1980   ac_site_files="$CONFIG_SITE"
   1981 elif test "x$prefix" != xNONE; then
   1982   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1983 else
   1984   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1985 fi
   1986 
   1987 for ac_site_file in $ac_site_files
   1988 do
   1989   case $ac_site_file in #(
   1990   */*) :
   1991      ;; #(
   1992   *) :
   1993     ac_site_file=./$ac_site_file ;;
   1994 esac
   1995   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1996     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1997 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1998     sed 's/^/| /' "$ac_site_file" >&5
   1999     . "$ac_site_file" \
   2000       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2001 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2002 as_fn_error $? "failed to load site script $ac_site_file
   2003 See \`config.log' for more details" "$LINENO" 5; }
   2004   fi
   2005 done
   2006 
   2007 if test -r "$cache_file"; then
   2008   # Some versions of bash will fail to source /dev/null (special files
   2009   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2010   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2011     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2012 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2013     case $cache_file in
   2014       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2015       *)                      . "./$cache_file";;
   2016     esac
   2017   fi
   2018 else
   2019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2020 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2021   >$cache_file
   2022 fi
   2023 
   2024 # Test code for whether the C compiler supports C89 (global declarations)
   2025 ac_c_conftest_c89_globals='
   2026 /* Does the compiler advertise C89 conformance?
   2027    Do not test the value of __STDC__, because some compilers set it to 0
   2028    while being otherwise adequately conformant. */
   2029 #if !defined __STDC__
   2030 # error "Compiler does not advertise C89 conformance"
   2031 #endif
   2032 
   2033 #include <stddef.h>
   2034 #include <stdarg.h>
   2035 struct stat;
   2036 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2037 struct buf { int x; };
   2038 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2039 static char *e (p, i)
   2040      char **p;
   2041      int i;
   2042 {
   2043   return p[i];
   2044 }
   2045 static char *f (char * (*g) (char **, int), char **p, ...)
   2046 {
   2047   char *s;
   2048   va_list v;
   2049   va_start (v,p);
   2050   s = g (p, va_arg (v,int));
   2051   va_end (v);
   2052   return s;
   2053 }
   2054 
   2055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2056    function prototypes and stuff, but not \xHH hex character constants.
   2057    These do not provoke an error unfortunately, instead are silently treated
   2058    as an "x".  The following induces an error, until -std is added to get
   2059    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2060    array size at least.  It is necessary to write \x00 == 0 to get something
   2061    that is true only with -std.  */
   2062 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2063 
   2064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2065    inside strings and character constants.  */
   2066 #define FOO(x) '\''x'\''
   2067 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2068 
   2069 int test (int i, double x);
   2070 struct s1 {int (*f) (int a);};
   2071 struct s2 {int (*f) (double a);};
   2072 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2073                int, int);'
   2074 
   2075 # Test code for whether the C compiler supports C89 (body of main).
   2076 ac_c_conftest_c89_main='
   2077 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2078 '
   2079 
   2080 # Test code for whether the C compiler supports C99 (global declarations)
   2081 ac_c_conftest_c99_globals='
   2082 // Does the compiler advertise C99 conformance?
   2083 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2084 # error "Compiler does not advertise C99 conformance"
   2085 #endif
   2086 
   2087 #include <stdbool.h>
   2088 extern int puts (const char *);
   2089 extern int printf (const char *, ...);
   2090 extern int dprintf (int, const char *, ...);
   2091 extern void *malloc (size_t);
   2092 
   2093 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2094 // dprintf is used instead of fprintf to avoid needing to declare
   2095 // FILE and stderr.
   2096 #define debug(...) dprintf (2, __VA_ARGS__)
   2097 #define showlist(...) puts (#__VA_ARGS__)
   2098 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2099 static void
   2100 test_varargs_macros (void)
   2101 {
   2102   int x = 1234;
   2103   int y = 5678;
   2104   debug ("Flag");
   2105   debug ("X = %d\n", x);
   2106   showlist (The first, second, and third items.);
   2107   report (x>y, "x is %d but y is %d", x, y);
   2108 }
   2109 
   2110 // Check long long types.
   2111 #define BIG64 18446744073709551615ull
   2112 #define BIG32 4294967295ul
   2113 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2114 #if !BIG_OK
   2115   #error "your preprocessor is broken"
   2116 #endif
   2117 #if BIG_OK
   2118 #else
   2119   #error "your preprocessor is broken"
   2120 #endif
   2121 static long long int bignum = -9223372036854775807LL;
   2122 static unsigned long long int ubignum = BIG64;
   2123 
   2124 struct incomplete_array
   2125 {
   2126   int datasize;
   2127   double data[];
   2128 };
   2129 
   2130 struct named_init {
   2131   int number;
   2132   const wchar_t *name;
   2133   double average;
   2134 };
   2135 
   2136 typedef const char *ccp;
   2137 
   2138 static inline int
   2139 test_restrict (ccp restrict text)
   2140 {
   2141   // See if C++-style comments work.
   2142   // Iterate through items via the restricted pointer.
   2143   // Also check for declarations in for loops.
   2144   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2145     continue;
   2146   return 0;
   2147 }
   2148 
   2149 // Check varargs and va_copy.
   2150 static bool
   2151 test_varargs (const char *format, ...)
   2152 {
   2153   va_list args;
   2154   va_start (args, format);
   2155   va_list args_copy;
   2156   va_copy (args_copy, args);
   2157 
   2158   const char *str = "";
   2159   int number = 0;
   2160   float fnumber = 0;
   2161 
   2162   while (*format)
   2163     {
   2164       switch (*format++)
   2165 	{
   2166 	case '\''s'\'': // string
   2167 	  str = va_arg (args_copy, const char *);
   2168 	  break;
   2169 	case '\''d'\'': // int
   2170 	  number = va_arg (args_copy, int);
   2171 	  break;
   2172 	case '\''f'\'': // float
   2173 	  fnumber = va_arg (args_copy, double);
   2174 	  break;
   2175 	default:
   2176 	  break;
   2177 	}
   2178     }
   2179   va_end (args_copy);
   2180   va_end (args);
   2181 
   2182   return *str && number && fnumber;
   2183 }
   2184 '
   2185 
   2186 # Test code for whether the C compiler supports C99 (body of main).
   2187 ac_c_conftest_c99_main='
   2188   // Check bool.
   2189   _Bool success = false;
   2190   success |= (argc != 0);
   2191 
   2192   // Check restrict.
   2193   if (test_restrict ("String literal") == 0)
   2194     success = true;
   2195   char *restrict newvar = "Another string";
   2196 
   2197   // Check varargs.
   2198   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2199   test_varargs_macros ();
   2200 
   2201   // Check flexible array members.
   2202   struct incomplete_array *ia =
   2203     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2204   ia->datasize = 10;
   2205   for (int i = 0; i < ia->datasize; ++i)
   2206     ia->data[i] = i * 1.234;
   2207 
   2208   // Check named initializers.
   2209   struct named_init ni = {
   2210     .number = 34,
   2211     .name = L"Test wide string",
   2212     .average = 543.34343,
   2213   };
   2214 
   2215   ni.number = 58;
   2216 
   2217   int dynamic_array[ni.number];
   2218   dynamic_array[0] = argv[0][0];
   2219   dynamic_array[ni.number - 1] = 543;
   2220 
   2221   // work around unused variable warnings
   2222   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2223 	 || dynamic_array[ni.number - 1] != 543);
   2224 '
   2225 
   2226 # Test code for whether the C compiler supports C11 (global declarations)
   2227 ac_c_conftest_c11_globals='
   2228 // Does the compiler advertise C11 conformance?
   2229 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2230 # error "Compiler does not advertise C11 conformance"
   2231 #endif
   2232 
   2233 // Check _Alignas.
   2234 char _Alignas (double) aligned_as_double;
   2235 char _Alignas (0) no_special_alignment;
   2236 extern char aligned_as_int;
   2237 char _Alignas (0) _Alignas (int) aligned_as_int;
   2238 
   2239 // Check _Alignof.
   2240 enum
   2241 {
   2242   int_alignment = _Alignof (int),
   2243   int_array_alignment = _Alignof (int[100]),
   2244   char_alignment = _Alignof (char)
   2245 };
   2246 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2247 
   2248 // Check _Noreturn.
   2249 int _Noreturn does_not_return (void) { for (;;) continue; }
   2250 
   2251 // Check _Static_assert.
   2252 struct test_static_assert
   2253 {
   2254   int x;
   2255   _Static_assert (sizeof (int) <= sizeof (long int),
   2256                   "_Static_assert does not work in struct");
   2257   long int y;
   2258 };
   2259 
   2260 // Check UTF-8 literals.
   2261 #define u8 syntax error!
   2262 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2263 
   2264 // Check duplicate typedefs.
   2265 typedef long *long_ptr;
   2266 typedef long int *long_ptr;
   2267 typedef long_ptr long_ptr;
   2268 
   2269 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2270 struct anonymous
   2271 {
   2272   union {
   2273     struct { int i; int j; };
   2274     struct { int k; long int l; } w;
   2275   };
   2276   int m;
   2277 } v1;
   2278 '
   2279 
   2280 # Test code for whether the C compiler supports C11 (body of main).
   2281 ac_c_conftest_c11_main='
   2282   _Static_assert ((offsetof (struct anonymous, i)
   2283 		   == offsetof (struct anonymous, w.k)),
   2284 		  "Anonymous union alignment botch");
   2285   v1.i = 2;
   2286   v1.w.k = 5;
   2287   ok |= v1.i != 5;
   2288 '
   2289 
   2290 # Test code for whether the C compiler supports C11 (complete).
   2291 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2292 ${ac_c_conftest_c99_globals}
   2293 ${ac_c_conftest_c11_globals}
   2294 
   2295 int
   2296 main (int argc, char **argv)
   2297 {
   2298   int ok = 0;
   2299   ${ac_c_conftest_c89_main}
   2300   ${ac_c_conftest_c99_main}
   2301   ${ac_c_conftest_c11_main}
   2302   return ok;
   2303 }
   2304 "
   2305 
   2306 # Test code for whether the C compiler supports C99 (complete).
   2307 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2308 ${ac_c_conftest_c99_globals}
   2309 
   2310 int
   2311 main (int argc, char **argv)
   2312 {
   2313   int ok = 0;
   2314   ${ac_c_conftest_c89_main}
   2315   ${ac_c_conftest_c99_main}
   2316   return ok;
   2317 }
   2318 "
   2319 
   2320 # Test code for whether the C compiler supports C89 (complete).
   2321 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2322 
   2323 int
   2324 main (int argc, char **argv)
   2325 {
   2326   int ok = 0;
   2327   ${ac_c_conftest_c89_main}
   2328   return ok;
   2329 }
   2330 "
   2331 
   2332 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2333 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2334 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2335 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2336 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2337 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2338 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2339 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2340 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2341 
   2342 # Auxiliary files required by this configure script.
   2343 ac_aux_files="config.guess config.sub compile missing install-sh"
   2344 
   2345 # Locations in which to look for auxiliary files.
   2346 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2347 
   2348 # Search for a directory containing all of the required auxiliary files,
   2349 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2350 # If we don't find one directory that contains all the files we need,
   2351 # we report the set of missing files from the *first* directory in
   2352 # $ac_aux_dir_candidates and give up.
   2353 ac_missing_aux_files=""
   2354 ac_first_candidate=:
   2355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2357 as_found=false
   2358 for as_dir in $ac_aux_dir_candidates
   2359 do
   2360   IFS=$as_save_IFS
   2361   case $as_dir in #(((
   2362     '') as_dir=./ ;;
   2363     */) ;;
   2364     *) as_dir=$as_dir/ ;;
   2365   esac
   2366   as_found=:
   2367 
   2368   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2369   ac_aux_dir_found=yes
   2370   ac_install_sh=
   2371   for ac_aux in $ac_aux_files
   2372   do
   2373     # As a special case, if "install-sh" is required, that requirement
   2374     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2375     # and $ac_install_sh is set appropriately for whichever one is found.
   2376     if test x"$ac_aux" = x"install-sh"
   2377     then
   2378       if test -f "${as_dir}install-sh"; then
   2379         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2380         ac_install_sh="${as_dir}install-sh -c"
   2381       elif test -f "${as_dir}install.sh"; then
   2382         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2383         ac_install_sh="${as_dir}install.sh -c"
   2384       elif test -f "${as_dir}shtool"; then
   2385         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2386         ac_install_sh="${as_dir}shtool install -c"
   2387       else
   2388         ac_aux_dir_found=no
   2389         if $ac_first_candidate; then
   2390           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2391         else
   2392           break
   2393         fi
   2394       fi
   2395     else
   2396       if test -f "${as_dir}${ac_aux}"; then
   2397         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2398       else
   2399         ac_aux_dir_found=no
   2400         if $ac_first_candidate; then
   2401           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2402         else
   2403           break
   2404         fi
   2405       fi
   2406     fi
   2407   done
   2408   if test "$ac_aux_dir_found" = yes; then
   2409     ac_aux_dir="$as_dir"
   2410     break
   2411   fi
   2412   ac_first_candidate=false
   2413 
   2414   as_found=false
   2415 done
   2416 IFS=$as_save_IFS
   2417 if $as_found
   2418 then :
   2419 
   2420 else $as_nop
   2421   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2422 fi
   2423 
   2424 
   2425 # These three variables are undocumented and unsupported,
   2426 # and are intended to be withdrawn in a future Autoconf release.
   2427 # They can cause serious problems if a builder's source tree is in a directory
   2428 # whose full name contains unusual characters.
   2429 if test -f "${ac_aux_dir}config.guess"; then
   2430   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2431 fi
   2432 if test -f "${ac_aux_dir}config.sub"; then
   2433   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2434 fi
   2435 if test -f "$ac_aux_dir/configure"; then
   2436   ac_configure="$SHELL ${ac_aux_dir}configure"
   2437 fi
   2438 
   2439 # Check that the precious variables saved in the cache have kept the same
   2440 # value.
   2441 ac_cache_corrupted=false
   2442 for ac_var in $ac_precious_vars; do
   2443   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2444   eval ac_new_set=\$ac_env_${ac_var}_set
   2445   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2446   eval ac_new_val=\$ac_env_${ac_var}_value
   2447   case $ac_old_set,$ac_new_set in
   2448     set,)
   2449       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2450 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2451       ac_cache_corrupted=: ;;
   2452     ,set)
   2453       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2454 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2455       ac_cache_corrupted=: ;;
   2456     ,);;
   2457     *)
   2458       if test "x$ac_old_val" != "x$ac_new_val"; then
   2459 	# differences in whitespace do not lead to failure.
   2460 	ac_old_val_w=`echo x $ac_old_val`
   2461 	ac_new_val_w=`echo x $ac_new_val`
   2462 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2463 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2464 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2465 	  ac_cache_corrupted=:
   2466 	else
   2467 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2468 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2469 	  eval $ac_var=\$ac_old_val
   2470 	fi
   2471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2472 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2474 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2475       fi;;
   2476   esac
   2477   # Pass precious variables to config.status.
   2478   if test "$ac_new_set" = set; then
   2479     case $ac_new_val in
   2480     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2481     *) ac_arg=$ac_var=$ac_new_val ;;
   2482     esac
   2483     case " $ac_configure_args " in
   2484       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2485       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2486     esac
   2487   fi
   2488 done
   2489 if $ac_cache_corrupted; then
   2490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2491 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2493 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2494   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2495 	    and start over" "$LINENO" 5
   2496 fi
   2497 ## -------------------- ##
   2498 ## Main body of script. ##
   2499 ## -------------------- ##
   2500 
   2501 ac_ext=c
   2502 ac_cpp='$CPP $CPPFLAGS'
   2503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2506 
   2507 
   2508 
   2509 ac_config_headers="$ac_config_headers config.h"
   2510 
   2511 
   2512 # Initialize Automake
   2513 am__api_version='1.16'
   2514 
   2515 
   2516 
   2517   # Find a good install program.  We prefer a C program (faster),
   2518 # so one script is as good as another.  But avoid the broken or
   2519 # incompatible versions:
   2520 # SysV /etc/install, /usr/sbin/install
   2521 # SunOS /usr/etc/install
   2522 # IRIX /sbin/install
   2523 # AIX /bin/install
   2524 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2528 # OS/2's system install, which has a completely different semantic
   2529 # ./install, which can be erroneously created by make from ./install.sh.
   2530 # Reject install programs that cannot install multiple files.
   2531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2532 printf %s "checking for a BSD-compatible install... " >&6; }
   2533 if test -z "$INSTALL"; then
   2534 if test ${ac_cv_path_install+y}
   2535 then :
   2536   printf %s "(cached) " >&6
   2537 else $as_nop
   2538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2539 for as_dir in $PATH
   2540 do
   2541   IFS=$as_save_IFS
   2542   case $as_dir in #(((
   2543     '') as_dir=./ ;;
   2544     */) ;;
   2545     *) as_dir=$as_dir/ ;;
   2546   esac
   2547     # Account for fact that we put trailing slashes in our PATH walk.
   2548 case $as_dir in #((
   2549   ./ | /[cC]/* | \
   2550   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2551   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2552   /usr/ucb/* ) ;;
   2553   *)
   2554     # OSF1 and SCO ODT 3.0 have their own names for install.
   2555     # Don't use installbsd from OSF since it installs stuff as root
   2556     # by default.
   2557     for ac_prog in ginstall scoinst install; do
   2558       for ac_exec_ext in '' $ac_executable_extensions; do
   2559 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2560 	  if test $ac_prog = install &&
   2561 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2562 	    # AIX install.  It has an incompatible calling convention.
   2563 	    :
   2564 	  elif test $ac_prog = install &&
   2565 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2566 	    # program-specific install script used by HP pwplus--don't use.
   2567 	    :
   2568 	  else
   2569 	    rm -rf conftest.one conftest.two conftest.dir
   2570 	    echo one > conftest.one
   2571 	    echo two > conftest.two
   2572 	    mkdir conftest.dir
   2573 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2574 	      test -s conftest.one && test -s conftest.two &&
   2575 	      test -s conftest.dir/conftest.one &&
   2576 	      test -s conftest.dir/conftest.two
   2577 	    then
   2578 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2579 	      break 3
   2580 	    fi
   2581 	  fi
   2582 	fi
   2583       done
   2584     done
   2585     ;;
   2586 esac
   2587 
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 rm -rf conftest.one conftest.two conftest.dir
   2592 
   2593 fi
   2594   if test ${ac_cv_path_install+y}; then
   2595     INSTALL=$ac_cv_path_install
   2596   else
   2597     # As a last resort, use the slow shell script.  Don't cache a
   2598     # value for INSTALL within a source directory, because that will
   2599     # break other packages using the cache if that directory is
   2600     # removed, or if the value is a relative name.
   2601     INSTALL=$ac_install_sh
   2602   fi
   2603 fi
   2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2605 printf "%s\n" "$INSTALL" >&6; }
   2606 
   2607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2608 # It thinks the first close brace ends the variable substitution.
   2609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2610 
   2611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2612 
   2613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2614 
   2615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2616 printf %s "checking whether build environment is sane... " >&6; }
   2617 # Reject unsafe characters in $srcdir or the absolute working directory
   2618 # name.  Accept space and tab only in the latter.
   2619 am_lf='
   2620 '
   2621 case `pwd` in
   2622   *[\\\"\#\$\&\'\`$am_lf]*)
   2623     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2624 esac
   2625 case $srcdir in
   2626   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2627     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2628 esac
   2629 
   2630 # Do 'set' in a subshell so we don't clobber the current shell's
   2631 # arguments.  Must try -L first in case configure is actually a
   2632 # symlink; some systems play weird games with the mod time of symlinks
   2633 # (eg FreeBSD returns the mod time of the symlink's containing
   2634 # directory).
   2635 if (
   2636    am_has_slept=no
   2637    for am_try in 1 2; do
   2638      echo "timestamp, slept: $am_has_slept" > conftest.file
   2639      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2640      if test "$*" = "X"; then
   2641 	# -L didn't work.
   2642 	set X `ls -t "$srcdir/configure" conftest.file`
   2643      fi
   2644      if test "$*" != "X $srcdir/configure conftest.file" \
   2645 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2646 
   2647 	# If neither matched, then we have a broken ls.  This can happen
   2648 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2649 	# broken ls alias from the environment.  This has actually
   2650 	# happened.  Such a system could not be considered "sane".
   2651 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2652   alias in your environment" "$LINENO" 5
   2653      fi
   2654      if test "$2" = conftest.file || test $am_try -eq 2; then
   2655        break
   2656      fi
   2657      # Just in case.
   2658      sleep 1
   2659      am_has_slept=yes
   2660    done
   2661    test "$2" = conftest.file
   2662    )
   2663 then
   2664    # Ok.
   2665    :
   2666 else
   2667    as_fn_error $? "newly created file is older than distributed files!
   2668 Check your system clock" "$LINENO" 5
   2669 fi
   2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2671 printf "%s\n" "yes" >&6; }
   2672 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2673 # generated files are strictly newer.
   2674 am_sleep_pid=
   2675 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2676   ( sleep 1 ) &
   2677   am_sleep_pid=$!
   2678 fi
   2679 
   2680 rm -f conftest.file
   2681 
   2682 test "$program_prefix" != NONE &&
   2683   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2684 # Use a double $ so make ignores it.
   2685 test "$program_suffix" != NONE &&
   2686   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2687 # Double any \ or $.
   2688 # By default was `s,x,x', remove it if useless.
   2689 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2690 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2691 
   2692 
   2693 # Expand $ac_aux_dir to an absolute path.
   2694 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2695 
   2696 
   2697   if test x"${MISSING+set}" != xset; then
   2698   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2699 fi
   2700 # Use eval to expand $SHELL
   2701 if eval "$MISSING --is-lightweight"; then
   2702   am_missing_run="$MISSING "
   2703 else
   2704   am_missing_run=
   2705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2706 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2707 fi
   2708 
   2709 if test x"${install_sh+set}" != xset; then
   2710   case $am_aux_dir in
   2711   *\ * | *\	*)
   2712     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2713   *)
   2714     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2715   esac
   2716 fi
   2717 
   2718 # Installed binaries are usually stripped using 'strip' when the user
   2719 # run "make install-strip".  However 'strip' might not be the right
   2720 # tool to use in cross-compilation environments, therefore Automake
   2721 # will honor the 'STRIP' environment variable to overrule this program.
   2722 if test "$cross_compiling" != no; then
   2723   if test -n "$ac_tool_prefix"; then
   2724   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2725 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2727 printf %s "checking for $ac_word... " >&6; }
   2728 if test ${ac_cv_prog_STRIP+y}
   2729 then :
   2730   printf %s "(cached) " >&6
   2731 else $as_nop
   2732   if test -n "$STRIP"; then
   2733   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2734 else
   2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2736 for as_dir in $PATH
   2737 do
   2738   IFS=$as_save_IFS
   2739   case $as_dir in #(((
   2740     '') as_dir=./ ;;
   2741     */) ;;
   2742     *) as_dir=$as_dir/ ;;
   2743   esac
   2744     for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2746     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751   done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi
   2755 fi
   2756 STRIP=$ac_cv_prog_STRIP
   2757 if test -n "$STRIP"; then
   2758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2759 printf "%s\n" "$STRIP" >&6; }
   2760 else
   2761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2762 printf "%s\n" "no" >&6; }
   2763 fi
   2764 
   2765 
   2766 fi
   2767 if test -z "$ac_cv_prog_STRIP"; then
   2768   ac_ct_STRIP=$STRIP
   2769   # Extract the first word of "strip", so it can be a program name with args.
   2770 set dummy strip; ac_word=$2
   2771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2772 printf %s "checking for $ac_word... " >&6; }
   2773 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2774 then :
   2775   printf %s "(cached) " >&6
   2776 else $as_nop
   2777   if test -n "$ac_ct_STRIP"; then
   2778   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2779 else
   2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2781 for as_dir in $PATH
   2782 do
   2783   IFS=$as_save_IFS
   2784   case $as_dir in #(((
   2785     '') as_dir=./ ;;
   2786     */) ;;
   2787     *) as_dir=$as_dir/ ;;
   2788   esac
   2789     for ac_exec_ext in '' $ac_executable_extensions; do
   2790   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2791     ac_cv_prog_ac_ct_STRIP="strip"
   2792     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2793     break 2
   2794   fi
   2795 done
   2796   done
   2797 IFS=$as_save_IFS
   2798 
   2799 fi
   2800 fi
   2801 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2802 if test -n "$ac_ct_STRIP"; then
   2803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2804 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2805 else
   2806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2807 printf "%s\n" "no" >&6; }
   2808 fi
   2809 
   2810   if test "x$ac_ct_STRIP" = x; then
   2811     STRIP=":"
   2812   else
   2813     case $cross_compiling:$ac_tool_warned in
   2814 yes:)
   2815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2816 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2817 ac_tool_warned=yes ;;
   2818 esac
   2819     STRIP=$ac_ct_STRIP
   2820   fi
   2821 else
   2822   STRIP="$ac_cv_prog_STRIP"
   2823 fi
   2824 
   2825 fi
   2826 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2827 
   2828 
   2829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2830 printf %s "checking for a race-free mkdir -p... " >&6; }
   2831 if test -z "$MKDIR_P"; then
   2832   if test ${ac_cv_path_mkdir+y}
   2833 then :
   2834   printf %s "(cached) " >&6
   2835 else $as_nop
   2836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2837 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2838 do
   2839   IFS=$as_save_IFS
   2840   case $as_dir in #(((
   2841     '') as_dir=./ ;;
   2842     */) ;;
   2843     *) as_dir=$as_dir/ ;;
   2844   esac
   2845     for ac_prog in mkdir gmkdir; do
   2846 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2847 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2848 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2849 	     'mkdir ('*'coreutils) '* | \
   2850 	     'BusyBox '* | \
   2851 	     'mkdir (fileutils) '4.1*)
   2852 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2853 	       break 3;;
   2854 	   esac
   2855 	 done
   2856        done
   2857   done
   2858 IFS=$as_save_IFS
   2859 
   2860 fi
   2861 
   2862   test -d ./--version && rmdir ./--version
   2863   if test ${ac_cv_path_mkdir+y}; then
   2864     MKDIR_P="$ac_cv_path_mkdir -p"
   2865   else
   2866     # As a last resort, use the slow shell script.  Don't cache a
   2867     # value for MKDIR_P within a source directory, because that will
   2868     # break other packages using the cache if that directory is
   2869     # removed, or if the value is a relative name.
   2870     MKDIR_P="$ac_install_sh -d"
   2871   fi
   2872 fi
   2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2874 printf "%s\n" "$MKDIR_P" >&6; }
   2875 
   2876 for ac_prog in gawk mawk nawk awk
   2877 do
   2878   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2879 set dummy $ac_prog; ac_word=$2
   2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2881 printf %s "checking for $ac_word... " >&6; }
   2882 if test ${ac_cv_prog_AWK+y}
   2883 then :
   2884   printf %s "(cached) " >&6
   2885 else $as_nop
   2886   if test -n "$AWK"; then
   2887   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2888 else
   2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2890 for as_dir in $PATH
   2891 do
   2892   IFS=$as_save_IFS
   2893   case $as_dir in #(((
   2894     '') as_dir=./ ;;
   2895     */) ;;
   2896     *) as_dir=$as_dir/ ;;
   2897   esac
   2898     for ac_exec_ext in '' $ac_executable_extensions; do
   2899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2900     ac_cv_prog_AWK="$ac_prog"
   2901     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2902     break 2
   2903   fi
   2904 done
   2905   done
   2906 IFS=$as_save_IFS
   2907 
   2908 fi
   2909 fi
   2910 AWK=$ac_cv_prog_AWK
   2911 if test -n "$AWK"; then
   2912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2913 printf "%s\n" "$AWK" >&6; }
   2914 else
   2915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 printf "%s\n" "no" >&6; }
   2917 fi
   2918 
   2919 
   2920   test -n "$AWK" && break
   2921 done
   2922 
   2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2924 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2925 set x ${MAKE-make}
   2926 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2927 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2928 then :
   2929   printf %s "(cached) " >&6
   2930 else $as_nop
   2931   cat >conftest.make <<\_ACEOF
   2932 SHELL = /bin/sh
   2933 all:
   2934 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2935 _ACEOF
   2936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2938   *@@@%%%=?*=@@@%%%*)
   2939     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2940   *)
   2941     eval ac_cv_prog_make_${ac_make}_set=no;;
   2942 esac
   2943 rm -f conftest.make
   2944 fi
   2945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2947 printf "%s\n" "yes" >&6; }
   2948   SET_MAKE=
   2949 else
   2950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2951 printf "%s\n" "no" >&6; }
   2952   SET_MAKE="MAKE=${MAKE-make}"
   2953 fi
   2954 
   2955 rm -rf .tst 2>/dev/null
   2956 mkdir .tst 2>/dev/null
   2957 if test -d .tst; then
   2958   am__leading_dot=.
   2959 else
   2960   am__leading_dot=_
   2961 fi
   2962 rmdir .tst 2>/dev/null
   2963 
   2964 # Check whether --enable-silent-rules was given.
   2965 if test ${enable_silent_rules+y}
   2966 then :
   2967   enableval=$enable_silent_rules;
   2968 fi
   2969 
   2970 case $enable_silent_rules in # (((
   2971   yes) AM_DEFAULT_VERBOSITY=0;;
   2972    no) AM_DEFAULT_VERBOSITY=1;;
   2973     *) AM_DEFAULT_VERBOSITY=1;;
   2974 esac
   2975 am_make=${MAKE-make}
   2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2977 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2978 if test ${am_cv_make_support_nested_variables+y}
   2979 then :
   2980   printf %s "(cached) " >&6
   2981 else $as_nop
   2982   if printf "%s\n" 'TRUE=$(BAR$(V))
   2983 BAR0=false
   2984 BAR1=true
   2985 V=1
   2986 am__doit:
   2987 	@$(TRUE)
   2988 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2989   am_cv_make_support_nested_variables=yes
   2990 else
   2991   am_cv_make_support_nested_variables=no
   2992 fi
   2993 fi
   2994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2995 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2996 if test $am_cv_make_support_nested_variables = yes; then
   2997     AM_V='$(V)'
   2998   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2999 else
   3000   AM_V=$AM_DEFAULT_VERBOSITY
   3001   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3002 fi
   3003 AM_BACKSLASH='\'
   3004 
   3005 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3006   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3007   # is not polluted with repeated "-I."
   3008   am__isrc=' -I$(srcdir)'
   3009   # test to see if srcdir already configured
   3010   if test -f $srcdir/config.status; then
   3011     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3012   fi
   3013 fi
   3014 
   3015 # test whether we have cygpath
   3016 if test -z "$CYGPATH_W"; then
   3017   if (cygpath --version) >/dev/null 2>/dev/null; then
   3018     CYGPATH_W='cygpath -w'
   3019   else
   3020     CYGPATH_W=echo
   3021   fi
   3022 fi
   3023 
   3024 
   3025 # Define the identity of the package.
   3026  PACKAGE='xeyes'
   3027  VERSION='1.3.0'
   3028 
   3029 
   3030 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3031 
   3032 
   3033 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3034 
   3035 # Some tools Automake needs.
   3036 
   3037 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3038 
   3039 
   3040 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3041 
   3042 
   3043 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3044 
   3045 
   3046 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3047 
   3048 
   3049 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3050 
   3051 # For better backward compatibility.  To be removed once Automake 1.9.x
   3052 # dies out for good.  For more background, see:
   3053 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3054 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3055 mkdir_p='$(MKDIR_P)'
   3056 
   3057 # We need awk for the "check" target (and possibly the TAP driver).  The
   3058 # system "awk" is bad on some platforms.
   3059 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3060 # in the wild :-(  We should find a proper way to deprecate it ...
   3061 AMTAR='$${TAR-tar}'
   3062 
   3063 
   3064 # We'll loop over all known methods to create a tar archive until one works.
   3065 _am_tools='gnutar  pax cpio none'
   3066 
   3067 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3068 
   3069 
   3070 
   3071 
   3072 
   3073 # Variables for tags utilities; see am/tags.am
   3074 if test -z "$CTAGS"; then
   3075   CTAGS=ctags
   3076 fi
   3077 
   3078 if test -z "$ETAGS"; then
   3079   ETAGS=etags
   3080 fi
   3081 
   3082 if test -z "$CSCOPE"; then
   3083   CSCOPE=cscope
   3084 fi
   3085 
   3086 
   3087 
   3088 # POSIX will say in a future version that running "rm -f" with no argument
   3089 # is OK; and we want to be able to make that assumption in our Makefile
   3090 # recipes.  So use an aggressive probe to check that the usage we want is
   3091 # actually supported "in the wild" to an acceptable degree.
   3092 # See automake bug#10828.
   3093 # To make any issue more visible, cause the running configure to be aborted
   3094 # by default if the 'rm' program in use doesn't match our expectations; the
   3095 # user can still override this though.
   3096 if rm -f && rm -fr && rm -rf; then : OK; else
   3097   cat >&2 <<'END'
   3098 Oops!
   3099 
   3100 Your 'rm' program seems unable to run without file operands specified
   3101 on the command line, even when the '-f' option is present.  This is contrary
   3102 to the behaviour of most rm programs out there, and not conforming with
   3103 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3104 
   3105 Please tell bug-automake@gnu.org about your system, including the value
   3106 of your $PATH and any error possibly output before this message.  This
   3107 can help us improve future automake versions.
   3108 
   3109 END
   3110   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3111     echo 'Configuration will proceed anyway, since you have set the' >&2
   3112     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3113     echo >&2
   3114   else
   3115     cat >&2 <<'END'
   3116 Aborting the configuration process, to ensure you take notice of the issue.
   3117 
   3118 You can download and install GNU coreutils to get an 'rm' implementation
   3119 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3120 
   3121 If you want to complete the configuration process using your problematic
   3122 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3123 to "yes", and re-run configure.
   3124 
   3125 END
   3126     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3127   fi
   3128 fi
   3129 
   3130 
   3131 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3132 
   3133 
   3134 
   3135 
   3136 
   3137 
   3138 
   3139 
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 
   3152 DEPDIR="${am__leading_dot}deps"
   3153 
   3154 ac_config_commands="$ac_config_commands depfiles"
   3155 
   3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3157 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3158 cat > confinc.mk << 'END'
   3159 am__doit:
   3160 	@echo this is the am__doit target >confinc.out
   3161 .PHONY: am__doit
   3162 END
   3163 am__include="#"
   3164 am__quote=
   3165 # BSD make does it like this.
   3166 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3167 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3168 echo 'include confinc.mk # ignored' > confmf.GNU
   3169 _am_result=no
   3170 for s in GNU BSD; do
   3171   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3172    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3173    ac_status=$?
   3174    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3175    (exit $ac_status); }
   3176   case $?:`cat confinc.out 2>/dev/null` in #(
   3177   '0:this is the am__doit target') :
   3178     case $s in #(
   3179   BSD) :
   3180     am__include='.include' am__quote='"' ;; #(
   3181   *) :
   3182     am__include='include' am__quote='' ;;
   3183 esac ;; #(
   3184   *) :
   3185      ;;
   3186 esac
   3187   if test "$am__include" != "#"; then
   3188     _am_result="yes ($s style)"
   3189     break
   3190   fi
   3191 done
   3192 rm -f confinc.* confmf.*
   3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3194 printf "%s\n" "${_am_result}" >&6; }
   3195 
   3196 # Check whether --enable-dependency-tracking was given.
   3197 if test ${enable_dependency_tracking+y}
   3198 then :
   3199   enableval=$enable_dependency_tracking;
   3200 fi
   3201 
   3202 if test "x$enable_dependency_tracking" != xno; then
   3203   am_depcomp="$ac_aux_dir/depcomp"
   3204   AMDEPBACKSLASH='\'
   3205   am__nodep='_no'
   3206 fi
   3207  if test "x$enable_dependency_tracking" != xno; then
   3208   AMDEP_TRUE=
   3209   AMDEP_FALSE='#'
   3210 else
   3211   AMDEP_TRUE='#'
   3212   AMDEP_FALSE=
   3213 fi
   3214 
   3215 
   3216 ac_ext=c
   3217 ac_cpp='$CPP $CPPFLAGS'
   3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3221 if test -n "$ac_tool_prefix"; then
   3222   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3223 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3225 printf %s "checking for $ac_word... " >&6; }
   3226 if test ${ac_cv_prog_CC+y}
   3227 then :
   3228   printf %s "(cached) " >&6
   3229 else $as_nop
   3230   if test -n "$CC"; then
   3231   ac_cv_prog_CC="$CC" # Let the user override the test.
   3232 else
   3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3234 for as_dir in $PATH
   3235 do
   3236   IFS=$as_save_IFS
   3237   case $as_dir in #(((
   3238     '') as_dir=./ ;;
   3239     */) ;;
   3240     *) as_dir=$as_dir/ ;;
   3241   esac
   3242     for ac_exec_ext in '' $ac_executable_extensions; do
   3243   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3244     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3245     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3246     break 2
   3247   fi
   3248 done
   3249   done
   3250 IFS=$as_save_IFS
   3251 
   3252 fi
   3253 fi
   3254 CC=$ac_cv_prog_CC
   3255 if test -n "$CC"; then
   3256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3257 printf "%s\n" "$CC" >&6; }
   3258 else
   3259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3260 printf "%s\n" "no" >&6; }
   3261 fi
   3262 
   3263 
   3264 fi
   3265 if test -z "$ac_cv_prog_CC"; then
   3266   ac_ct_CC=$CC
   3267   # Extract the first word of "gcc", so it can be a program name with args.
   3268 set dummy gcc; ac_word=$2
   3269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3270 printf %s "checking for $ac_word... " >&6; }
   3271 if test ${ac_cv_prog_ac_ct_CC+y}
   3272 then :
   3273   printf %s "(cached) " >&6
   3274 else $as_nop
   3275   if test -n "$ac_ct_CC"; then
   3276   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3277 else
   3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3279 for as_dir in $PATH
   3280 do
   3281   IFS=$as_save_IFS
   3282   case $as_dir in #(((
   3283     '') as_dir=./ ;;
   3284     */) ;;
   3285     *) as_dir=$as_dir/ ;;
   3286   esac
   3287     for ac_exec_ext in '' $ac_executable_extensions; do
   3288   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3289     ac_cv_prog_ac_ct_CC="gcc"
   3290     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3291     break 2
   3292   fi
   3293 done
   3294   done
   3295 IFS=$as_save_IFS
   3296 
   3297 fi
   3298 fi
   3299 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3300 if test -n "$ac_ct_CC"; then
   3301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3302 printf "%s\n" "$ac_ct_CC" >&6; }
   3303 else
   3304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3305 printf "%s\n" "no" >&6; }
   3306 fi
   3307 
   3308   if test "x$ac_ct_CC" = x; then
   3309     CC=""
   3310   else
   3311     case $cross_compiling:$ac_tool_warned in
   3312 yes:)
   3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3314 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3315 ac_tool_warned=yes ;;
   3316 esac
   3317     CC=$ac_ct_CC
   3318   fi
   3319 else
   3320   CC="$ac_cv_prog_CC"
   3321 fi
   3322 
   3323 if test -z "$CC"; then
   3324           if test -n "$ac_tool_prefix"; then
   3325     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3326 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3328 printf %s "checking for $ac_word... " >&6; }
   3329 if test ${ac_cv_prog_CC+y}
   3330 then :
   3331   printf %s "(cached) " >&6
   3332 else $as_nop
   3333   if test -n "$CC"; then
   3334   ac_cv_prog_CC="$CC" # Let the user override the test.
   3335 else
   3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3337 for as_dir in $PATH
   3338 do
   3339   IFS=$as_save_IFS
   3340   case $as_dir in #(((
   3341     '') as_dir=./ ;;
   3342     */) ;;
   3343     *) as_dir=$as_dir/ ;;
   3344   esac
   3345     for ac_exec_ext in '' $ac_executable_extensions; do
   3346   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3347     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3348     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3349     break 2
   3350   fi
   3351 done
   3352   done
   3353 IFS=$as_save_IFS
   3354 
   3355 fi
   3356 fi
   3357 CC=$ac_cv_prog_CC
   3358 if test -n "$CC"; then
   3359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3360 printf "%s\n" "$CC" >&6; }
   3361 else
   3362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3363 printf "%s\n" "no" >&6; }
   3364 fi
   3365 
   3366 
   3367   fi
   3368 fi
   3369 if test -z "$CC"; then
   3370   # Extract the first word of "cc", so it can be a program name with args.
   3371 set dummy cc; ac_word=$2
   3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3373 printf %s "checking for $ac_word... " >&6; }
   3374 if test ${ac_cv_prog_CC+y}
   3375 then :
   3376   printf %s "(cached) " >&6
   3377 else $as_nop
   3378   if test -n "$CC"; then
   3379   ac_cv_prog_CC="$CC" # Let the user override the test.
   3380 else
   3381   ac_prog_rejected=no
   3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3383 for as_dir in $PATH
   3384 do
   3385   IFS=$as_save_IFS
   3386   case $as_dir in #(((
   3387     '') as_dir=./ ;;
   3388     */) ;;
   3389     *) as_dir=$as_dir/ ;;
   3390   esac
   3391     for ac_exec_ext in '' $ac_executable_extensions; do
   3392   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3393     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3394        ac_prog_rejected=yes
   3395        continue
   3396      fi
   3397     ac_cv_prog_CC="cc"
   3398     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3399     break 2
   3400   fi
   3401 done
   3402   done
   3403 IFS=$as_save_IFS
   3404 
   3405 if test $ac_prog_rejected = yes; then
   3406   # We found a bogon in the path, so make sure we never use it.
   3407   set dummy $ac_cv_prog_CC
   3408   shift
   3409   if test $# != 0; then
   3410     # We chose a different compiler from the bogus one.
   3411     # However, it has the same basename, so the bogon will be chosen
   3412     # first if we set CC to just the basename; use the full file name.
   3413     shift
   3414     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3415   fi
   3416 fi
   3417 fi
   3418 fi
   3419 CC=$ac_cv_prog_CC
   3420 if test -n "$CC"; then
   3421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3422 printf "%s\n" "$CC" >&6; }
   3423 else
   3424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3425 printf "%s\n" "no" >&6; }
   3426 fi
   3427 
   3428 
   3429 fi
   3430 if test -z "$CC"; then
   3431   if test -n "$ac_tool_prefix"; then
   3432   for ac_prog in cl.exe
   3433   do
   3434     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3437 printf %s "checking for $ac_word... " >&6; }
   3438 if test ${ac_cv_prog_CC+y}
   3439 then :
   3440   printf %s "(cached) " >&6
   3441 else $as_nop
   3442   if test -n "$CC"; then
   3443   ac_cv_prog_CC="$CC" # Let the user override the test.
   3444 else
   3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3446 for as_dir in $PATH
   3447 do
   3448   IFS=$as_save_IFS
   3449   case $as_dir in #(((
   3450     '') as_dir=./ ;;
   3451     */) ;;
   3452     *) as_dir=$as_dir/ ;;
   3453   esac
   3454     for ac_exec_ext in '' $ac_executable_extensions; do
   3455   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3456     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3457     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3458     break 2
   3459   fi
   3460 done
   3461   done
   3462 IFS=$as_save_IFS
   3463 
   3464 fi
   3465 fi
   3466 CC=$ac_cv_prog_CC
   3467 if test -n "$CC"; then
   3468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3469 printf "%s\n" "$CC" >&6; }
   3470 else
   3471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3472 printf "%s\n" "no" >&6; }
   3473 fi
   3474 
   3475 
   3476     test -n "$CC" && break
   3477   done
   3478 fi
   3479 if test -z "$CC"; then
   3480   ac_ct_CC=$CC
   3481   for ac_prog in cl.exe
   3482 do
   3483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3484 set dummy $ac_prog; ac_word=$2
   3485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3486 printf %s "checking for $ac_word... " >&6; }
   3487 if test ${ac_cv_prog_ac_ct_CC+y}
   3488 then :
   3489   printf %s "(cached) " >&6
   3490 else $as_nop
   3491   if test -n "$ac_ct_CC"; then
   3492   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3493 else
   3494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3495 for as_dir in $PATH
   3496 do
   3497   IFS=$as_save_IFS
   3498   case $as_dir in #(((
   3499     '') as_dir=./ ;;
   3500     */) ;;
   3501     *) as_dir=$as_dir/ ;;
   3502   esac
   3503     for ac_exec_ext in '' $ac_executable_extensions; do
   3504   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3505     ac_cv_prog_ac_ct_CC="$ac_prog"
   3506     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3507     break 2
   3508   fi
   3509 done
   3510   done
   3511 IFS=$as_save_IFS
   3512 
   3513 fi
   3514 fi
   3515 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3516 if test -n "$ac_ct_CC"; then
   3517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3518 printf "%s\n" "$ac_ct_CC" >&6; }
   3519 else
   3520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3521 printf "%s\n" "no" >&6; }
   3522 fi
   3523 
   3524 
   3525   test -n "$ac_ct_CC" && break
   3526 done
   3527 
   3528   if test "x$ac_ct_CC" = x; then
   3529     CC=""
   3530   else
   3531     case $cross_compiling:$ac_tool_warned in
   3532 yes:)
   3533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3534 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3535 ac_tool_warned=yes ;;
   3536 esac
   3537     CC=$ac_ct_CC
   3538   fi
   3539 fi
   3540 
   3541 fi
   3542 if test -z "$CC"; then
   3543   if test -n "$ac_tool_prefix"; then
   3544   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3545 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3547 printf %s "checking for $ac_word... " >&6; }
   3548 if test ${ac_cv_prog_CC+y}
   3549 then :
   3550   printf %s "(cached) " >&6
   3551 else $as_nop
   3552   if test -n "$CC"; then
   3553   ac_cv_prog_CC="$CC" # Let the user override the test.
   3554 else
   3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3556 for as_dir in $PATH
   3557 do
   3558   IFS=$as_save_IFS
   3559   case $as_dir in #(((
   3560     '') as_dir=./ ;;
   3561     */) ;;
   3562     *) as_dir=$as_dir/ ;;
   3563   esac
   3564     for ac_exec_ext in '' $ac_executable_extensions; do
   3565   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3566     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3567     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3568     break 2
   3569   fi
   3570 done
   3571   done
   3572 IFS=$as_save_IFS
   3573 
   3574 fi
   3575 fi
   3576 CC=$ac_cv_prog_CC
   3577 if test -n "$CC"; then
   3578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3579 printf "%s\n" "$CC" >&6; }
   3580 else
   3581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3582 printf "%s\n" "no" >&6; }
   3583 fi
   3584 
   3585 
   3586 fi
   3587 if test -z "$ac_cv_prog_CC"; then
   3588   ac_ct_CC=$CC
   3589   # Extract the first word of "clang", so it can be a program name with args.
   3590 set dummy clang; ac_word=$2
   3591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3592 printf %s "checking for $ac_word... " >&6; }
   3593 if test ${ac_cv_prog_ac_ct_CC+y}
   3594 then :
   3595   printf %s "(cached) " >&6
   3596 else $as_nop
   3597   if test -n "$ac_ct_CC"; then
   3598   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3599 else
   3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3601 for as_dir in $PATH
   3602 do
   3603   IFS=$as_save_IFS
   3604   case $as_dir in #(((
   3605     '') as_dir=./ ;;
   3606     */) ;;
   3607     *) as_dir=$as_dir/ ;;
   3608   esac
   3609     for ac_exec_ext in '' $ac_executable_extensions; do
   3610   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3611     ac_cv_prog_ac_ct_CC="clang"
   3612     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3613     break 2
   3614   fi
   3615 done
   3616   done
   3617 IFS=$as_save_IFS
   3618 
   3619 fi
   3620 fi
   3621 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3622 if test -n "$ac_ct_CC"; then
   3623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3624 printf "%s\n" "$ac_ct_CC" >&6; }
   3625 else
   3626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3627 printf "%s\n" "no" >&6; }
   3628 fi
   3629 
   3630   if test "x$ac_ct_CC" = x; then
   3631     CC=""
   3632   else
   3633     case $cross_compiling:$ac_tool_warned in
   3634 yes:)
   3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3636 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3637 ac_tool_warned=yes ;;
   3638 esac
   3639     CC=$ac_ct_CC
   3640   fi
   3641 else
   3642   CC="$ac_cv_prog_CC"
   3643 fi
   3644 
   3645 fi
   3646 
   3647 
   3648 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3649 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3650 as_fn_error $? "no acceptable C compiler found in \$PATH
   3651 See \`config.log' for more details" "$LINENO" 5; }
   3652 
   3653 # Provide some information about the compiler.
   3654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3655 set X $ac_compile
   3656 ac_compiler=$2
   3657 for ac_option in --version -v -V -qversion -version; do
   3658   { { ac_try="$ac_compiler $ac_option >&5"
   3659 case "(($ac_try" in
   3660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3661   *) ac_try_echo=$ac_try;;
   3662 esac
   3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3664 printf "%s\n" "$ac_try_echo"; } >&5
   3665   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3666   ac_status=$?
   3667   if test -s conftest.err; then
   3668     sed '10a\
   3669 ... rest of stderr output deleted ...
   3670          10q' conftest.err >conftest.er1
   3671     cat conftest.er1 >&5
   3672   fi
   3673   rm -f conftest.er1 conftest.err
   3674   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3675   test $ac_status = 0; }
   3676 done
   3677 
   3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main (void)
   3683 {
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689 ac_clean_files_save=$ac_clean_files
   3690 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3691 # Try to create an executable without -o first, disregard a.out.
   3692 # It will help us diagnose broken compilers, and finding out an intuition
   3693 # of exeext.
   3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3695 printf %s "checking whether the C compiler works... " >&6; }
   3696 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3697 
   3698 # The possible output files:
   3699 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3700 
   3701 ac_rmfiles=
   3702 for ac_file in $ac_files
   3703 do
   3704   case $ac_file in
   3705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3706     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3707   esac
   3708 done
   3709 rm -f $ac_rmfiles
   3710 
   3711 if { { ac_try="$ac_link_default"
   3712 case "(($ac_try" in
   3713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3714   *) ac_try_echo=$ac_try;;
   3715 esac
   3716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3717 printf "%s\n" "$ac_try_echo"; } >&5
   3718   (eval "$ac_link_default") 2>&5
   3719   ac_status=$?
   3720   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3721   test $ac_status = 0; }
   3722 then :
   3723   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3724 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3725 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3726 # so that the user can short-circuit this test for compilers unknown to
   3727 # Autoconf.
   3728 for ac_file in $ac_files ''
   3729 do
   3730   test -f "$ac_file" || continue
   3731   case $ac_file in
   3732     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3733 	;;
   3734     [ab].out )
   3735 	# We found the default executable, but exeext='' is most
   3736 	# certainly right.
   3737 	break;;
   3738     *.* )
   3739 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3740 	then :; else
   3741 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3742 	fi
   3743 	# We set ac_cv_exeext here because the later test for it is not
   3744 	# safe: cross compilers may not add the suffix if given an `-o'
   3745 	# argument, so we may need to know it at that point already.
   3746 	# Even if this section looks crufty: it has the advantage of
   3747 	# actually working.
   3748 	break;;
   3749     * )
   3750 	break;;
   3751   esac
   3752 done
   3753 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3754 
   3755 else $as_nop
   3756   ac_file=''
   3757 fi
   3758 if test -z "$ac_file"
   3759 then :
   3760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3761 printf "%s\n" "no" >&6; }
   3762 printf "%s\n" "$as_me: failed program was:" >&5
   3763 sed 's/^/| /' conftest.$ac_ext >&5
   3764 
   3765 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3766 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3767 as_fn_error 77 "C compiler cannot create executables
   3768 See \`config.log' for more details" "$LINENO" 5; }
   3769 else $as_nop
   3770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3771 printf "%s\n" "yes" >&6; }
   3772 fi
   3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3774 printf %s "checking for C compiler default output file name... " >&6; }
   3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3776 printf "%s\n" "$ac_file" >&6; }
   3777 ac_exeext=$ac_cv_exeext
   3778 
   3779 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3780 ac_clean_files=$ac_clean_files_save
   3781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3782 printf %s "checking for suffix of executables... " >&6; }
   3783 if { { ac_try="$ac_link"
   3784 case "(($ac_try" in
   3785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3786   *) ac_try_echo=$ac_try;;
   3787 esac
   3788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3789 printf "%s\n" "$ac_try_echo"; } >&5
   3790   (eval "$ac_link") 2>&5
   3791   ac_status=$?
   3792   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3793   test $ac_status = 0; }
   3794 then :
   3795   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3796 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3797 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3798 # `rm'.
   3799 for ac_file in conftest.exe conftest conftest.*; do
   3800   test -f "$ac_file" || continue
   3801   case $ac_file in
   3802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3803     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3804 	  break;;
   3805     * ) break;;
   3806   esac
   3807 done
   3808 else $as_nop
   3809   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3810 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3811 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3812 See \`config.log' for more details" "$LINENO" 5; }
   3813 fi
   3814 rm -f conftest conftest$ac_cv_exeext
   3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3816 printf "%s\n" "$ac_cv_exeext" >&6; }
   3817 
   3818 rm -f conftest.$ac_ext
   3819 EXEEXT=$ac_cv_exeext
   3820 ac_exeext=$EXEEXT
   3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3822 /* end confdefs.h.  */
   3823 #include <stdio.h>
   3824 int
   3825 main (void)
   3826 {
   3827 FILE *f = fopen ("conftest.out", "w");
   3828  return ferror (f) || fclose (f) != 0;
   3829 
   3830   ;
   3831   return 0;
   3832 }
   3833 _ACEOF
   3834 ac_clean_files="$ac_clean_files conftest.out"
   3835 # Check that the compiler produces executables we can run.  If not, either
   3836 # the compiler is broken, or we cross compile.
   3837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3838 printf %s "checking whether we are cross compiling... " >&6; }
   3839 if test "$cross_compiling" != yes; then
   3840   { { ac_try="$ac_link"
   3841 case "(($ac_try" in
   3842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3843   *) ac_try_echo=$ac_try;;
   3844 esac
   3845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3846 printf "%s\n" "$ac_try_echo"; } >&5
   3847   (eval "$ac_link") 2>&5
   3848   ac_status=$?
   3849   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3850   test $ac_status = 0; }
   3851   if { ac_try='./conftest$ac_cv_exeext'
   3852   { { case "(($ac_try" in
   3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3854   *) ac_try_echo=$ac_try;;
   3855 esac
   3856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3857 printf "%s\n" "$ac_try_echo"; } >&5
   3858   (eval "$ac_try") 2>&5
   3859   ac_status=$?
   3860   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3861   test $ac_status = 0; }; }; then
   3862     cross_compiling=no
   3863   else
   3864     if test "$cross_compiling" = maybe; then
   3865 	cross_compiling=yes
   3866     else
   3867 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3868 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3869 as_fn_error 77 "cannot run C compiled programs.
   3870 If you meant to cross compile, use \`--host'.
   3871 See \`config.log' for more details" "$LINENO" 5; }
   3872     fi
   3873   fi
   3874 fi
   3875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3876 printf "%s\n" "$cross_compiling" >&6; }
   3877 
   3878 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3879 ac_clean_files=$ac_clean_files_save
   3880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3881 printf %s "checking for suffix of object files... " >&6; }
   3882 if test ${ac_cv_objext+y}
   3883 then :
   3884   printf %s "(cached) " >&6
   3885 else $as_nop
   3886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3887 /* end confdefs.h.  */
   3888 
   3889 int
   3890 main (void)
   3891 {
   3892 
   3893   ;
   3894   return 0;
   3895 }
   3896 _ACEOF
   3897 rm -f conftest.o conftest.obj
   3898 if { { ac_try="$ac_compile"
   3899 case "(($ac_try" in
   3900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3901   *) ac_try_echo=$ac_try;;
   3902 esac
   3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3904 printf "%s\n" "$ac_try_echo"; } >&5
   3905   (eval "$ac_compile") 2>&5
   3906   ac_status=$?
   3907   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3908   test $ac_status = 0; }
   3909 then :
   3910   for ac_file in conftest.o conftest.obj conftest.*; do
   3911   test -f "$ac_file" || continue;
   3912   case $ac_file in
   3913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3914     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3915        break;;
   3916   esac
   3917 done
   3918 else $as_nop
   3919   printf "%s\n" "$as_me: failed program was:" >&5
   3920 sed 's/^/| /' conftest.$ac_ext >&5
   3921 
   3922 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3923 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3924 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3925 See \`config.log' for more details" "$LINENO" 5; }
   3926 fi
   3927 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3928 fi
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3930 printf "%s\n" "$ac_cv_objext" >&6; }
   3931 OBJEXT=$ac_cv_objext
   3932 ac_objext=$OBJEXT
   3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3934 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3935 if test ${ac_cv_c_compiler_gnu+y}
   3936 then :
   3937   printf %s "(cached) " >&6
   3938 else $as_nop
   3939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 
   3942 int
   3943 main (void)
   3944 {
   3945 #ifndef __GNUC__
   3946        choke me
   3947 #endif
   3948 
   3949   ;
   3950   return 0;
   3951 }
   3952 _ACEOF
   3953 if ac_fn_c_try_compile "$LINENO"
   3954 then :
   3955   ac_compiler_gnu=yes
   3956 else $as_nop
   3957   ac_compiler_gnu=no
   3958 fi
   3959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3960 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3961 
   3962 fi
   3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3964 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3966 
   3967 if test $ac_compiler_gnu = yes; then
   3968   GCC=yes
   3969 else
   3970   GCC=
   3971 fi
   3972 ac_test_CFLAGS=${CFLAGS+y}
   3973 ac_save_CFLAGS=$CFLAGS
   3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3975 printf %s "checking whether $CC accepts -g... " >&6; }
   3976 if test ${ac_cv_prog_cc_g+y}
   3977 then :
   3978   printf %s "(cached) " >&6
   3979 else $as_nop
   3980   ac_save_c_werror_flag=$ac_c_werror_flag
   3981    ac_c_werror_flag=yes
   3982    ac_cv_prog_cc_g=no
   3983    CFLAGS="-g"
   3984    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3985 /* end confdefs.h.  */
   3986 
   3987 int
   3988 main (void)
   3989 {
   3990 
   3991   ;
   3992   return 0;
   3993 }
   3994 _ACEOF
   3995 if ac_fn_c_try_compile "$LINENO"
   3996 then :
   3997   ac_cv_prog_cc_g=yes
   3998 else $as_nop
   3999   CFLAGS=""
   4000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4001 /* end confdefs.h.  */
   4002 
   4003 int
   4004 main (void)
   4005 {
   4006 
   4007   ;
   4008   return 0;
   4009 }
   4010 _ACEOF
   4011 if ac_fn_c_try_compile "$LINENO"
   4012 then :
   4013 
   4014 else $as_nop
   4015   ac_c_werror_flag=$ac_save_c_werror_flag
   4016 	 CFLAGS="-g"
   4017 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4018 /* end confdefs.h.  */
   4019 
   4020 int
   4021 main (void)
   4022 {
   4023 
   4024   ;
   4025   return 0;
   4026 }
   4027 _ACEOF
   4028 if ac_fn_c_try_compile "$LINENO"
   4029 then :
   4030   ac_cv_prog_cc_g=yes
   4031 fi
   4032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4033 fi
   4034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4035 fi
   4036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4037    ac_c_werror_flag=$ac_save_c_werror_flag
   4038 fi
   4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4040 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4041 if test $ac_test_CFLAGS; then
   4042   CFLAGS=$ac_save_CFLAGS
   4043 elif test $ac_cv_prog_cc_g = yes; then
   4044   if test "$GCC" = yes; then
   4045     CFLAGS="-g -O2"
   4046   else
   4047     CFLAGS="-g"
   4048   fi
   4049 else
   4050   if test "$GCC" = yes; then
   4051     CFLAGS="-O2"
   4052   else
   4053     CFLAGS=
   4054   fi
   4055 fi
   4056 ac_prog_cc_stdc=no
   4057 if test x$ac_prog_cc_stdc = xno
   4058 then :
   4059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4060 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4061 if test ${ac_cv_prog_cc_c11+y}
   4062 then :
   4063   printf %s "(cached) " >&6
   4064 else $as_nop
   4065   ac_cv_prog_cc_c11=no
   4066 ac_save_CC=$CC
   4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4068 /* end confdefs.h.  */
   4069 $ac_c_conftest_c11_program
   4070 _ACEOF
   4071 for ac_arg in '' -std=gnu11
   4072 do
   4073   CC="$ac_save_CC $ac_arg"
   4074   if ac_fn_c_try_compile "$LINENO"
   4075 then :
   4076   ac_cv_prog_cc_c11=$ac_arg
   4077 fi
   4078 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4079   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4080 done
   4081 rm -f conftest.$ac_ext
   4082 CC=$ac_save_CC
   4083 fi
   4084 
   4085 if test "x$ac_cv_prog_cc_c11" = xno
   4086 then :
   4087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4088 printf "%s\n" "unsupported" >&6; }
   4089 else $as_nop
   4090   if test "x$ac_cv_prog_cc_c11" = x
   4091 then :
   4092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4093 printf "%s\n" "none needed" >&6; }
   4094 else $as_nop
   4095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4096 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4097      CC="$CC $ac_cv_prog_cc_c11"
   4098 fi
   4099   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4100   ac_prog_cc_stdc=c11
   4101 fi
   4102 fi
   4103 if test x$ac_prog_cc_stdc = xno
   4104 then :
   4105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4106 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4107 if test ${ac_cv_prog_cc_c99+y}
   4108 then :
   4109   printf %s "(cached) " >&6
   4110 else $as_nop
   4111   ac_cv_prog_cc_c99=no
   4112 ac_save_CC=$CC
   4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4114 /* end confdefs.h.  */
   4115 $ac_c_conftest_c99_program
   4116 _ACEOF
   4117 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4118 do
   4119   CC="$ac_save_CC $ac_arg"
   4120   if ac_fn_c_try_compile "$LINENO"
   4121 then :
   4122   ac_cv_prog_cc_c99=$ac_arg
   4123 fi
   4124 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4125   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4126 done
   4127 rm -f conftest.$ac_ext
   4128 CC=$ac_save_CC
   4129 fi
   4130 
   4131 if test "x$ac_cv_prog_cc_c99" = xno
   4132 then :
   4133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4134 printf "%s\n" "unsupported" >&6; }
   4135 else $as_nop
   4136   if test "x$ac_cv_prog_cc_c99" = x
   4137 then :
   4138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4139 printf "%s\n" "none needed" >&6; }
   4140 else $as_nop
   4141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4142 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4143      CC="$CC $ac_cv_prog_cc_c99"
   4144 fi
   4145   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4146   ac_prog_cc_stdc=c99
   4147 fi
   4148 fi
   4149 if test x$ac_prog_cc_stdc = xno
   4150 then :
   4151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4152 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4153 if test ${ac_cv_prog_cc_c89+y}
   4154 then :
   4155   printf %s "(cached) " >&6
   4156 else $as_nop
   4157   ac_cv_prog_cc_c89=no
   4158 ac_save_CC=$CC
   4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 $ac_c_conftest_c89_program
   4162 _ACEOF
   4163 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4164 do
   4165   CC="$ac_save_CC $ac_arg"
   4166   if ac_fn_c_try_compile "$LINENO"
   4167 then :
   4168   ac_cv_prog_cc_c89=$ac_arg
   4169 fi
   4170 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4171   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4172 done
   4173 rm -f conftest.$ac_ext
   4174 CC=$ac_save_CC
   4175 fi
   4176 
   4177 if test "x$ac_cv_prog_cc_c89" = xno
   4178 then :
   4179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4180 printf "%s\n" "unsupported" >&6; }
   4181 else $as_nop
   4182   if test "x$ac_cv_prog_cc_c89" = x
   4183 then :
   4184   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4185 printf "%s\n" "none needed" >&6; }
   4186 else $as_nop
   4187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4188 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4189      CC="$CC $ac_cv_prog_cc_c89"
   4190 fi
   4191   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4192   ac_prog_cc_stdc=c89
   4193 fi
   4194 fi
   4195 
   4196 ac_ext=c
   4197 ac_cpp='$CPP $CPPFLAGS'
   4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4201 
   4202 
   4203   ac_ext=c
   4204 ac_cpp='$CPP $CPPFLAGS'
   4205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4209 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4210 if test ${am_cv_prog_cc_c_o+y}
   4211 then :
   4212   printf %s "(cached) " >&6
   4213 else $as_nop
   4214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4215 /* end confdefs.h.  */
   4216 
   4217 int
   4218 main (void)
   4219 {
   4220 
   4221   ;
   4222   return 0;
   4223 }
   4224 _ACEOF
   4225   # Make sure it works both with $CC and with simple cc.
   4226   # Following AC_PROG_CC_C_O, we do the test twice because some
   4227   # compilers refuse to overwrite an existing .o file with -o,
   4228   # though they will create one.
   4229   am_cv_prog_cc_c_o=yes
   4230   for am_i in 1 2; do
   4231     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4232    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4233    ac_status=$?
   4234    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4235    (exit $ac_status); } \
   4236          && test -f conftest2.$ac_objext; then
   4237       : OK
   4238     else
   4239       am_cv_prog_cc_c_o=no
   4240       break
   4241     fi
   4242   done
   4243   rm -f core conftest*
   4244   unset am_i
   4245 fi
   4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4247 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4248 if test "$am_cv_prog_cc_c_o" != yes; then
   4249    # Losing compiler, so override with the script.
   4250    # FIXME: It is wrong to rewrite CC.
   4251    # But if we don't then we get into trouble of one sort or another.
   4252    # A longer-term fix would be to have automake use am__CC in this case,
   4253    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4254    CC="$am_aux_dir/compile $CC"
   4255 fi
   4256 ac_ext=c
   4257 ac_cpp='$CPP $CPPFLAGS'
   4258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4261 
   4262 
   4263 depcc="$CC"   am_compiler_list=
   4264 
   4265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4266 printf %s "checking dependency style of $depcc... " >&6; }
   4267 if test ${am_cv_CC_dependencies_compiler_type+y}
   4268 then :
   4269   printf %s "(cached) " >&6
   4270 else $as_nop
   4271   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4272   # We make a subdir and do the tests there.  Otherwise we can end up
   4273   # making bogus files that we don't know about and never remove.  For
   4274   # instance it was reported that on HP-UX the gcc test will end up
   4275   # making a dummy file named 'D' -- because '-MD' means "put the output
   4276   # in D".
   4277   rm -rf conftest.dir
   4278   mkdir conftest.dir
   4279   # Copy depcomp to subdir because otherwise we won't find it if we're
   4280   # using a relative directory.
   4281   cp "$am_depcomp" conftest.dir
   4282   cd conftest.dir
   4283   # We will build objects and dependencies in a subdirectory because
   4284   # it helps to detect inapplicable dependency modes.  For instance
   4285   # both Tru64's cc and ICC support -MD to output dependencies as a
   4286   # side effect of compilation, but ICC will put the dependencies in
   4287   # the current directory while Tru64 will put them in the object
   4288   # directory.
   4289   mkdir sub
   4290 
   4291   am_cv_CC_dependencies_compiler_type=none
   4292   if test "$am_compiler_list" = ""; then
   4293      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4294   fi
   4295   am__universal=false
   4296   case " $depcc " in #(
   4297      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4298      esac
   4299 
   4300   for depmode in $am_compiler_list; do
   4301     # Setup a source with many dependencies, because some compilers
   4302     # like to wrap large dependency lists on column 80 (with \), and
   4303     # we should not choose a depcomp mode which is confused by this.
   4304     #
   4305     # We need to recreate these files for each test, as the compiler may
   4306     # overwrite some of them when testing with obscure command lines.
   4307     # This happens at least with the AIX C compiler.
   4308     : > sub/conftest.c
   4309     for i in 1 2 3 4 5 6; do
   4310       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4311       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4312       # Solaris 10 /bin/sh.
   4313       echo '/* dummy */' > sub/conftst$i.h
   4314     done
   4315     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4316 
   4317     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4318     # mode.  It turns out that the SunPro C++ compiler does not properly
   4319     # handle '-M -o', and we need to detect this.  Also, some Intel
   4320     # versions had trouble with output in subdirs.
   4321     am__obj=sub/conftest.${OBJEXT-o}
   4322     am__minus_obj="-o $am__obj"
   4323     case $depmode in
   4324     gcc)
   4325       # This depmode causes a compiler race in universal mode.
   4326       test "$am__universal" = false || continue
   4327       ;;
   4328     nosideeffect)
   4329       # After this tag, mechanisms are not by side-effect, so they'll
   4330       # only be used when explicitly requested.
   4331       if test "x$enable_dependency_tracking" = xyes; then
   4332 	continue
   4333       else
   4334 	break
   4335       fi
   4336       ;;
   4337     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4338       # This compiler won't grok '-c -o', but also, the minuso test has
   4339       # not run yet.  These depmodes are late enough in the game, and
   4340       # so weak that their functioning should not be impacted.
   4341       am__obj=conftest.${OBJEXT-o}
   4342       am__minus_obj=
   4343       ;;
   4344     none) break ;;
   4345     esac
   4346     if depmode=$depmode \
   4347        source=sub/conftest.c object=$am__obj \
   4348        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4349        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4350          >/dev/null 2>conftest.err &&
   4351        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4352        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4353        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4354        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4355       # icc doesn't choke on unknown options, it will just issue warnings
   4356       # or remarks (even with -Werror).  So we grep stderr for any message
   4357       # that says an option was ignored or not supported.
   4358       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4359       #   icc: Command line warning: ignoring option '-M'; no argument required
   4360       # The diagnosis changed in icc 8.0:
   4361       #   icc: Command line remark: option '-MP' not supported
   4362       if (grep 'ignoring option' conftest.err ||
   4363           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4364         am_cv_CC_dependencies_compiler_type=$depmode
   4365         break
   4366       fi
   4367     fi
   4368   done
   4369 
   4370   cd ..
   4371   rm -rf conftest.dir
   4372 else
   4373   am_cv_CC_dependencies_compiler_type=none
   4374 fi
   4375 
   4376 fi
   4377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4378 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4379 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4380 
   4381  if
   4382   test "x$enable_dependency_tracking" != xno \
   4383   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4384   am__fastdepCC_TRUE=
   4385   am__fastdepCC_FALSE='#'
   4386 else
   4387   am__fastdepCC_TRUE='#'
   4388   am__fastdepCC_FALSE=
   4389 fi
   4390 
   4391 
   4392 
   4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4394 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4395 if test ${ac_cv_c_undeclared_builtin_options+y}
   4396 then :
   4397   printf %s "(cached) " >&6
   4398 else $as_nop
   4399   ac_save_CFLAGS=$CFLAGS
   4400    ac_cv_c_undeclared_builtin_options='cannot detect'
   4401    for ac_arg in '' -fno-builtin; do
   4402      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4403      # This test program should *not* compile successfully.
   4404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4405 /* end confdefs.h.  */
   4406 
   4407 int
   4408 main (void)
   4409 {
   4410 (void) strchr;
   4411   ;
   4412   return 0;
   4413 }
   4414 _ACEOF
   4415 if ac_fn_c_try_compile "$LINENO"
   4416 then :
   4417 
   4418 else $as_nop
   4419   # This test program should compile successfully.
   4420         # No library function is consistently available on
   4421         # freestanding implementations, so test against a dummy
   4422         # declaration.  Include always-available headers on the
   4423         # off chance that they somehow elicit warnings.
   4424         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4425 /* end confdefs.h.  */
   4426 #include <float.h>
   4427 #include <limits.h>
   4428 #include <stdarg.h>
   4429 #include <stddef.h>
   4430 extern void ac_decl (int, char *);
   4431 
   4432 int
   4433 main (void)
   4434 {
   4435 (void) ac_decl (0, (char *) 0);
   4436   (void) ac_decl;
   4437 
   4438   ;
   4439   return 0;
   4440 }
   4441 _ACEOF
   4442 if ac_fn_c_try_compile "$LINENO"
   4443 then :
   4444   if test x"$ac_arg" = x
   4445 then :
   4446   ac_cv_c_undeclared_builtin_options='none needed'
   4447 else $as_nop
   4448   ac_cv_c_undeclared_builtin_options=$ac_arg
   4449 fi
   4450           break
   4451 fi
   4452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4453 fi
   4454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4455     done
   4456     CFLAGS=$ac_save_CFLAGS
   4457 
   4458 fi
   4459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4460 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4461   case $ac_cv_c_undeclared_builtin_options in #(
   4462   'cannot detect') :
   4463     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4464 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4465 as_fn_error $? "cannot make $CC report undeclared builtins
   4466 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4467   'none needed') :
   4468     ac_c_undeclared_builtin_options='' ;; #(
   4469   *) :
   4470     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4471 esac
   4472 
   4473 ac_header= ac_cache=
   4474 for ac_item in $ac_header_c_list
   4475 do
   4476   if test $ac_cache; then
   4477     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4478     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4479       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4480     fi
   4481     ac_header= ac_cache=
   4482   elif test $ac_header; then
   4483     ac_cache=$ac_item
   4484   else
   4485     ac_header=$ac_item
   4486   fi
   4487 done
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 
   4496 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4497 then :
   4498 
   4499 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4500 
   4501 fi
   4502 
   4503 
   4504 
   4505 
   4506 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4507 if test "x$ac_cv_have_decl___clang__" = xyes
   4508 then :
   4509   CLANGCC="yes"
   4510 else $as_nop
   4511   CLANGCC="no"
   4512 fi
   4513 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4514 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4515 then :
   4516   INTELCC="yes"
   4517 else $as_nop
   4518   INTELCC="no"
   4519 fi
   4520 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4521 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4522 then :
   4523   SUNCC="yes"
   4524 else $as_nop
   4525   SUNCC="no"
   4526 fi
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4536 	if test -n "$ac_tool_prefix"; then
   4537   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4540 printf %s "checking for $ac_word... " >&6; }
   4541 if test ${ac_cv_path_PKG_CONFIG+y}
   4542 then :
   4543   printf %s "(cached) " >&6
   4544 else $as_nop
   4545   case $PKG_CONFIG in
   4546   [\\/]* | ?:[\\/]*)
   4547   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4548   ;;
   4549   *)
   4550   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4551 for as_dir in $PATH
   4552 do
   4553   IFS=$as_save_IFS
   4554   case $as_dir in #(((
   4555     '') as_dir=./ ;;
   4556     */) ;;
   4557     *) as_dir=$as_dir/ ;;
   4558   esac
   4559     for ac_exec_ext in '' $ac_executable_extensions; do
   4560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4561     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4563     break 2
   4564   fi
   4565 done
   4566   done
   4567 IFS=$as_save_IFS
   4568 
   4569   ;;
   4570 esac
   4571 fi
   4572 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4573 if test -n "$PKG_CONFIG"; then
   4574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4575 printf "%s\n" "$PKG_CONFIG" >&6; }
   4576 else
   4577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4578 printf "%s\n" "no" >&6; }
   4579 fi
   4580 
   4581 
   4582 fi
   4583 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4584   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4585   # Extract the first word of "pkg-config", so it can be a program name with args.
   4586 set dummy pkg-config; ac_word=$2
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4588 printf %s "checking for $ac_word... " >&6; }
   4589 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4590 then :
   4591   printf %s "(cached) " >&6
   4592 else $as_nop
   4593   case $ac_pt_PKG_CONFIG in
   4594   [\\/]* | ?:[\\/]*)
   4595   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4596   ;;
   4597   *)
   4598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4599 for as_dir in $PATH
   4600 do
   4601   IFS=$as_save_IFS
   4602   case $as_dir in #(((
   4603     '') as_dir=./ ;;
   4604     */) ;;
   4605     *) as_dir=$as_dir/ ;;
   4606   esac
   4607     for ac_exec_ext in '' $ac_executable_extensions; do
   4608   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4609     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4610     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4611     break 2
   4612   fi
   4613 done
   4614   done
   4615 IFS=$as_save_IFS
   4616 
   4617   ;;
   4618 esac
   4619 fi
   4620 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4621 if test -n "$ac_pt_PKG_CONFIG"; then
   4622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4623 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4624 else
   4625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4626 printf "%s\n" "no" >&6; }
   4627 fi
   4628 
   4629   if test "x$ac_pt_PKG_CONFIG" = x; then
   4630     PKG_CONFIG=""
   4631   else
   4632     case $cross_compiling:$ac_tool_warned in
   4633 yes:)
   4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4636 ac_tool_warned=yes ;;
   4637 esac
   4638     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4639   fi
   4640 else
   4641   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4642 fi
   4643 
   4644 fi
   4645 if test -n "$PKG_CONFIG"; then
   4646 	_pkg_min_version=0.9.0
   4647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4648 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4649 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4651 printf "%s\n" "yes" >&6; }
   4652 	else
   4653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4654 printf "%s\n" "no" >&6; }
   4655 		PKG_CONFIG=""
   4656 	fi
   4657 fi
   4658 
   4659 
   4660   # Make sure we can run config.sub.
   4661 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4662   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4663 
   4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4665 printf %s "checking build system type... " >&6; }
   4666 if test ${ac_cv_build+y}
   4667 then :
   4668   printf %s "(cached) " >&6
   4669 else $as_nop
   4670   ac_build_alias=$build_alias
   4671 test "x$ac_build_alias" = x &&
   4672   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4673 test "x$ac_build_alias" = x &&
   4674   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4675 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4676   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4677 
   4678 fi
   4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4680 printf "%s\n" "$ac_cv_build" >&6; }
   4681 case $ac_cv_build in
   4682 *-*-*) ;;
   4683 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4684 esac
   4685 build=$ac_cv_build
   4686 ac_save_IFS=$IFS; IFS='-'
   4687 set x $ac_cv_build
   4688 shift
   4689 build_cpu=$1
   4690 build_vendor=$2
   4691 shift; shift
   4692 # Remember, the first character of IFS is used to create $*,
   4693 # except with old shells:
   4694 build_os=$*
   4695 IFS=$ac_save_IFS
   4696 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4697 
   4698 
   4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4700 printf %s "checking host system type... " >&6; }
   4701 if test ${ac_cv_host+y}
   4702 then :
   4703   printf %s "(cached) " >&6
   4704 else $as_nop
   4705   if test "x$host_alias" = x; then
   4706   ac_cv_host=$ac_cv_build
   4707 else
   4708   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4709     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4710 fi
   4711 
   4712 fi
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4714 printf "%s\n" "$ac_cv_host" >&6; }
   4715 case $ac_cv_host in
   4716 *-*-*) ;;
   4717 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4718 esac
   4719 host=$ac_cv_host
   4720 ac_save_IFS=$IFS; IFS='-'
   4721 set x $ac_cv_host
   4722 shift
   4723 host_cpu=$1
   4724 host_vendor=$2
   4725 shift; shift
   4726 # Remember, the first character of IFS is used to create $*,
   4727 # except with old shells:
   4728 host_os=$*
   4729 IFS=$ac_save_IFS
   4730 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4731 
   4732 
   4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4734 printf %s "checking for a sed that does not truncate output... " >&6; }
   4735 if test ${ac_cv_path_SED+y}
   4736 then :
   4737   printf %s "(cached) " >&6
   4738 else $as_nop
   4739             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4740      for ac_i in 1 2 3 4 5 6 7; do
   4741        ac_script="$ac_script$as_nl$ac_script"
   4742      done
   4743      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4744      { ac_script=; unset ac_script;}
   4745      if test -z "$SED"; then
   4746   ac_path_SED_found=false
   4747   # Loop through the user's path and test for each of PROGNAME-LIST
   4748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4749 for as_dir in $PATH
   4750 do
   4751   IFS=$as_save_IFS
   4752   case $as_dir in #(((
   4753     '') as_dir=./ ;;
   4754     */) ;;
   4755     *) as_dir=$as_dir/ ;;
   4756   esac
   4757     for ac_prog in sed gsed
   4758    do
   4759     for ac_exec_ext in '' $ac_executable_extensions; do
   4760       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4761       as_fn_executable_p "$ac_path_SED" || continue
   4762 # Check for GNU ac_path_SED and select it if it is found.
   4763   # Check for GNU $ac_path_SED
   4764 case `"$ac_path_SED" --version 2>&1` in
   4765 *GNU*)
   4766   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4767 *)
   4768   ac_count=0
   4769   printf %s 0123456789 >"conftest.in"
   4770   while :
   4771   do
   4772     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4773     mv "conftest.tmp" "conftest.in"
   4774     cp "conftest.in" "conftest.nl"
   4775     printf "%s\n" '' >> "conftest.nl"
   4776     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4777     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4778     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4779     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4780       # Best one so far, save it but keep looking for a better one
   4781       ac_cv_path_SED="$ac_path_SED"
   4782       ac_path_SED_max=$ac_count
   4783     fi
   4784     # 10*(2^10) chars as input seems more than enough
   4785     test $ac_count -gt 10 && break
   4786   done
   4787   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4788 esac
   4789 
   4790       $ac_path_SED_found && break 3
   4791     done
   4792   done
   4793   done
   4794 IFS=$as_save_IFS
   4795   if test -z "$ac_cv_path_SED"; then
   4796     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4797   fi
   4798 else
   4799   ac_cv_path_SED=$SED
   4800 fi
   4801 
   4802 fi
   4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4804 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4805  SED="$ac_cv_path_SED"
   4806   rm -f conftest.sed
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 # Check whether --enable-selective-werror was given.
   4814 if test ${enable_selective_werror+y}
   4815 then :
   4816   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4817 else $as_nop
   4818   SELECTIVE_WERROR=yes
   4819 fi
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4826 if test "x$SUNCC" = "xyes"; then
   4827     BASE_CFLAGS="-v"
   4828 else
   4829     BASE_CFLAGS=""
   4830 fi
   4831 
   4832 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 xorg_testset_save_CFLAGS="$CFLAGS"
   4847 
   4848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4853 then :
   4854   printf %s "(cached) " >&6
   4855 else $as_nop
   4856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4857 /* end confdefs.h.  */
   4858 int i;
   4859 _ACEOF
   4860 if ac_fn_c_try_compile "$LINENO"
   4861 then :
   4862   xorg_cv_cc_flag_unknown_warning_option=yes
   4863 else $as_nop
   4864   xorg_cv_cc_flag_unknown_warning_option=no
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4867 fi
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4869 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4871 	CFLAGS="$xorg_testset_save_CFLAGS"
   4872 fi
   4873 
   4874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	fi
   4878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4882 then :
   4883   printf %s "(cached) " >&6
   4884 else $as_nop
   4885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4886 /* end confdefs.h.  */
   4887 int i;
   4888 _ACEOF
   4889 if ac_fn_c_try_compile "$LINENO"
   4890 then :
   4891   xorg_cv_cc_flag_unused_command_line_argument=yes
   4892 else $as_nop
   4893   xorg_cv_cc_flag_unused_command_line_argument=no
   4894 fi
   4895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4896 fi
   4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4900 	CFLAGS="$xorg_testset_save_CFLAGS"
   4901 fi
   4902 
   4903 found="no"
   4904 
   4905 	if test $found = "no" ; then
   4906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4908 		fi
   4909 
   4910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4912 		fi
   4913 
   4914 		CFLAGS="$CFLAGS -Wall"
   4915 
   4916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4917 printf %s "checking if $CC supports -Wall... " >&6; }
   4918 		cacheid=xorg_cv_cc_flag__Wall
   4919 		if eval test \${$cacheid+y}
   4920 then :
   4921   printf %s "(cached) " >&6
   4922 else $as_nop
   4923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4924 /* end confdefs.h.  */
   4925 int i;
   4926 int
   4927 main (void)
   4928 {
   4929 
   4930   ;
   4931   return 0;
   4932 }
   4933 _ACEOF
   4934 if ac_fn_c_try_link "$LINENO"
   4935 then :
   4936   eval $cacheid=yes
   4937 else $as_nop
   4938   eval $cacheid=no
   4939 fi
   4940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4941     conftest$ac_exeext conftest.$ac_ext
   4942 fi
   4943 
   4944 
   4945 		CFLAGS="$xorg_testset_save_CFLAGS"
   4946 
   4947 		eval supported=\$$cacheid
   4948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4949 printf "%s\n" "$supported" >&6; }
   4950 		if test "$supported" = "yes" ; then
   4951 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4952 			found="yes"
   4953 		fi
   4954 	fi
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 xorg_testset_save_CFLAGS="$CFLAGS"
   4971 
   4972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4977 then :
   4978   printf %s "(cached) " >&6
   4979 else $as_nop
   4980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4981 /* end confdefs.h.  */
   4982 int i;
   4983 _ACEOF
   4984 if ac_fn_c_try_compile "$LINENO"
   4985 then :
   4986   xorg_cv_cc_flag_unknown_warning_option=yes
   4987 else $as_nop
   4988   xorg_cv_cc_flag_unknown_warning_option=no
   4989 fi
   4990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4991 fi
   4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4995 	CFLAGS="$xorg_testset_save_CFLAGS"
   4996 fi
   4997 
   4998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5001 	fi
   5002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5006 then :
   5007   printf %s "(cached) " >&6
   5008 else $as_nop
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 _ACEOF
   5013 if ac_fn_c_try_compile "$LINENO"
   5014 then :
   5015   xorg_cv_cc_flag_unused_command_line_argument=yes
   5016 else $as_nop
   5017   xorg_cv_cc_flag_unused_command_line_argument=no
   5018 fi
   5019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5020 fi
   5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5024 	CFLAGS="$xorg_testset_save_CFLAGS"
   5025 fi
   5026 
   5027 found="no"
   5028 
   5029 	if test $found = "no" ; then
   5030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 		fi
   5033 
   5034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5036 		fi
   5037 
   5038 		CFLAGS="$CFLAGS -Wpointer-arith"
   5039 
   5040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5041 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5042 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5043 		if eval test \${$cacheid+y}
   5044 then :
   5045   printf %s "(cached) " >&6
   5046 else $as_nop
   5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 int
   5051 main (void)
   5052 {
   5053 
   5054   ;
   5055   return 0;
   5056 }
   5057 _ACEOF
   5058 if ac_fn_c_try_link "$LINENO"
   5059 then :
   5060   eval $cacheid=yes
   5061 else $as_nop
   5062   eval $cacheid=no
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5065     conftest$ac_exeext conftest.$ac_ext
   5066 fi
   5067 
   5068 
   5069 		CFLAGS="$xorg_testset_save_CFLAGS"
   5070 
   5071 		eval supported=\$$cacheid
   5072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5073 printf "%s\n" "$supported" >&6; }
   5074 		if test "$supported" = "yes" ; then
   5075 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5076 			found="yes"
   5077 		fi
   5078 	fi
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 xorg_testset_save_CFLAGS="$CFLAGS"
   5095 
   5096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5101 then :
   5102   printf %s "(cached) " >&6
   5103 else $as_nop
   5104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5105 /* end confdefs.h.  */
   5106 int i;
   5107 _ACEOF
   5108 if ac_fn_c_try_compile "$LINENO"
   5109 then :
   5110   xorg_cv_cc_flag_unknown_warning_option=yes
   5111 else $as_nop
   5112   xorg_cv_cc_flag_unknown_warning_option=no
   5113 fi
   5114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5115 fi
   5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5117 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5119 	CFLAGS="$xorg_testset_save_CFLAGS"
   5120 fi
   5121 
   5122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 	fi
   5126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5128 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5129 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5130 then :
   5131   printf %s "(cached) " >&6
   5132 else $as_nop
   5133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5134 /* end confdefs.h.  */
   5135 int i;
   5136 _ACEOF
   5137 if ac_fn_c_try_compile "$LINENO"
   5138 then :
   5139   xorg_cv_cc_flag_unused_command_line_argument=yes
   5140 else $as_nop
   5141   xorg_cv_cc_flag_unused_command_line_argument=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5144 fi
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5148 	CFLAGS="$xorg_testset_save_CFLAGS"
   5149 fi
   5150 
   5151 found="no"
   5152 
   5153 	if test $found = "no" ; then
   5154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5156 		fi
   5157 
   5158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5160 		fi
   5161 
   5162 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5163 
   5164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5165 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5166 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5167 		if eval test \${$cacheid+y}
   5168 then :
   5169   printf %s "(cached) " >&6
   5170 else $as_nop
   5171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5172 /* end confdefs.h.  */
   5173 int i;
   5174 int
   5175 main (void)
   5176 {
   5177 
   5178   ;
   5179   return 0;
   5180 }
   5181 _ACEOF
   5182 if ac_fn_c_try_link "$LINENO"
   5183 then :
   5184   eval $cacheid=yes
   5185 else $as_nop
   5186   eval $cacheid=no
   5187 fi
   5188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5189     conftest$ac_exeext conftest.$ac_ext
   5190 fi
   5191 
   5192 
   5193 		CFLAGS="$xorg_testset_save_CFLAGS"
   5194 
   5195 		eval supported=\$$cacheid
   5196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5197 printf "%s\n" "$supported" >&6; }
   5198 		if test "$supported" = "yes" ; then
   5199 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5200 			found="yes"
   5201 		fi
   5202 	fi
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 xorg_testset_save_CFLAGS="$CFLAGS"
   5219 
   5220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5225 then :
   5226   printf %s "(cached) " >&6
   5227 else $as_nop
   5228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5229 /* end confdefs.h.  */
   5230 int i;
   5231 _ACEOF
   5232 if ac_fn_c_try_compile "$LINENO"
   5233 then :
   5234   xorg_cv_cc_flag_unknown_warning_option=yes
   5235 else $as_nop
   5236   xorg_cv_cc_flag_unknown_warning_option=no
   5237 fi
   5238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5239 fi
   5240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5243 	CFLAGS="$xorg_testset_save_CFLAGS"
   5244 fi
   5245 
   5246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5249 	fi
   5250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5254 then :
   5255   printf %s "(cached) " >&6
   5256 else $as_nop
   5257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5258 /* end confdefs.h.  */
   5259 int i;
   5260 _ACEOF
   5261 if ac_fn_c_try_compile "$LINENO"
   5262 then :
   5263   xorg_cv_cc_flag_unused_command_line_argument=yes
   5264 else $as_nop
   5265   xorg_cv_cc_flag_unused_command_line_argument=no
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5268 fi
   5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5270 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5272 	CFLAGS="$xorg_testset_save_CFLAGS"
   5273 fi
   5274 
   5275 found="no"
   5276 
   5277 	if test $found = "no" ; then
   5278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5280 		fi
   5281 
   5282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5284 		fi
   5285 
   5286 		CFLAGS="$CFLAGS -Wformat=2"
   5287 
   5288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5289 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5290 		cacheid=xorg_cv_cc_flag__Wformat_2
   5291 		if eval test \${$cacheid+y}
   5292 then :
   5293   printf %s "(cached) " >&6
   5294 else $as_nop
   5295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5296 /* end confdefs.h.  */
   5297 int i;
   5298 int
   5299 main (void)
   5300 {
   5301 
   5302   ;
   5303   return 0;
   5304 }
   5305 _ACEOF
   5306 if ac_fn_c_try_link "$LINENO"
   5307 then :
   5308   eval $cacheid=yes
   5309 else $as_nop
   5310   eval $cacheid=no
   5311 fi
   5312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5313     conftest$ac_exeext conftest.$ac_ext
   5314 fi
   5315 
   5316 
   5317 		CFLAGS="$xorg_testset_save_CFLAGS"
   5318 
   5319 		eval supported=\$$cacheid
   5320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5321 printf "%s\n" "$supported" >&6; }
   5322 		if test "$supported" = "yes" ; then
   5323 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5324 			found="yes"
   5325 		fi
   5326 	fi
   5327 
   5328 	if test $found = "no" ; then
   5329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5331 		fi
   5332 
   5333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5335 		fi
   5336 
   5337 		CFLAGS="$CFLAGS -Wformat"
   5338 
   5339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5340 printf %s "checking if $CC supports -Wformat... " >&6; }
   5341 		cacheid=xorg_cv_cc_flag__Wformat
   5342 		if eval test \${$cacheid+y}
   5343 then :
   5344   printf %s "(cached) " >&6
   5345 else $as_nop
   5346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5347 /* end confdefs.h.  */
   5348 int i;
   5349 int
   5350 main (void)
   5351 {
   5352 
   5353   ;
   5354   return 0;
   5355 }
   5356 _ACEOF
   5357 if ac_fn_c_try_link "$LINENO"
   5358 then :
   5359   eval $cacheid=yes
   5360 else $as_nop
   5361   eval $cacheid=no
   5362 fi
   5363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5364     conftest$ac_exeext conftest.$ac_ext
   5365 fi
   5366 
   5367 
   5368 		CFLAGS="$xorg_testset_save_CFLAGS"
   5369 
   5370 		eval supported=\$$cacheid
   5371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5372 printf "%s\n" "$supported" >&6; }
   5373 		if test "$supported" = "yes" ; then
   5374 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5375 			found="yes"
   5376 		fi
   5377 	fi
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 xorg_testset_save_CFLAGS="$CFLAGS"
   5396 
   5397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5402 then :
   5403   printf %s "(cached) " >&6
   5404 else $as_nop
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"
   5410 then :
   5411   xorg_cv_cc_flag_unknown_warning_option=yes
   5412 else $as_nop
   5413   xorg_cv_cc_flag_unknown_warning_option=no
   5414 fi
   5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5426 	fi
   5427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5431 then :
   5432   printf %s "(cached) " >&6
   5433 else $as_nop
   5434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5435 /* end confdefs.h.  */
   5436 int i;
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"
   5439 then :
   5440   xorg_cv_cc_flag_unused_command_line_argument=yes
   5441 else $as_nop
   5442   xorg_cv_cc_flag_unused_command_line_argument=no
   5443 fi
   5444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5445 fi
   5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5447 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5449 	CFLAGS="$xorg_testset_save_CFLAGS"
   5450 fi
   5451 
   5452 found="no"
   5453 
   5454 	if test $found = "no" ; then
   5455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5457 		fi
   5458 
   5459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5461 		fi
   5462 
   5463 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5464 
   5465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5466 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5467 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5468 		if eval test \${$cacheid+y}
   5469 then :
   5470   printf %s "(cached) " >&6
   5471 else $as_nop
   5472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5473 /* end confdefs.h.  */
   5474 int i;
   5475 int
   5476 main (void)
   5477 {
   5478 
   5479   ;
   5480   return 0;
   5481 }
   5482 _ACEOF
   5483 if ac_fn_c_try_link "$LINENO"
   5484 then :
   5485   eval $cacheid=yes
   5486 else $as_nop
   5487   eval $cacheid=no
   5488 fi
   5489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5490     conftest$ac_exeext conftest.$ac_ext
   5491 fi
   5492 
   5493 
   5494 		CFLAGS="$xorg_testset_save_CFLAGS"
   5495 
   5496 		eval supported=\$$cacheid
   5497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5498 printf "%s\n" "$supported" >&6; }
   5499 		if test "$supported" = "yes" ; then
   5500 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5501 			found="yes"
   5502 		fi
   5503 	fi
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 xorg_testset_save_CFLAGS="$CFLAGS"
   5520 
   5521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5526 then :
   5527   printf %s "(cached) " >&6
   5528 else $as_nop
   5529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5530 /* end confdefs.h.  */
   5531 int i;
   5532 _ACEOF
   5533 if ac_fn_c_try_compile "$LINENO"
   5534 then :
   5535   xorg_cv_cc_flag_unknown_warning_option=yes
   5536 else $as_nop
   5537   xorg_cv_cc_flag_unknown_warning_option=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5540 fi
   5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5544 	CFLAGS="$xorg_testset_save_CFLAGS"
   5545 fi
   5546 
   5547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5550 	fi
   5551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5555 then :
   5556   printf %s "(cached) " >&6
   5557 else $as_nop
   5558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5559 /* end confdefs.h.  */
   5560 int i;
   5561 _ACEOF
   5562 if ac_fn_c_try_compile "$LINENO"
   5563 then :
   5564   xorg_cv_cc_flag_unused_command_line_argument=yes
   5565 else $as_nop
   5566   xorg_cv_cc_flag_unused_command_line_argument=no
   5567 fi
   5568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5569 fi
   5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5573 	CFLAGS="$xorg_testset_save_CFLAGS"
   5574 fi
   5575 
   5576 found="no"
   5577 
   5578 	if test $found = "no" ; then
   5579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 		fi
   5582 
   5583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5585 		fi
   5586 
   5587 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5588 
   5589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5590 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5591 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5592 		if eval test \${$cacheid+y}
   5593 then :
   5594   printf %s "(cached) " >&6
   5595 else $as_nop
   5596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5597 /* end confdefs.h.  */
   5598 int i;
   5599 int
   5600 main (void)
   5601 {
   5602 
   5603   ;
   5604   return 0;
   5605 }
   5606 _ACEOF
   5607 if ac_fn_c_try_link "$LINENO"
   5608 then :
   5609   eval $cacheid=yes
   5610 else $as_nop
   5611   eval $cacheid=no
   5612 fi
   5613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5614     conftest$ac_exeext conftest.$ac_ext
   5615 fi
   5616 
   5617 
   5618 		CFLAGS="$xorg_testset_save_CFLAGS"
   5619 
   5620 		eval supported=\$$cacheid
   5621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5622 printf "%s\n" "$supported" >&6; }
   5623 		if test "$supported" = "yes" ; then
   5624 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5625 			found="yes"
   5626 		fi
   5627 	fi
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 xorg_testset_save_CFLAGS="$CFLAGS"
   5644 
   5645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5650 then :
   5651   printf %s "(cached) " >&6
   5652 else $as_nop
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"
   5658 then :
   5659   xorg_cv_cc_flag_unknown_warning_option=yes
   5660 else $as_nop
   5661   xorg_cv_cc_flag_unknown_warning_option=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5664 fi
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5668 	CFLAGS="$xorg_testset_save_CFLAGS"
   5669 fi
   5670 
   5671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	fi
   5675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5679 then :
   5680   printf %s "(cached) " >&6
   5681 else $as_nop
   5682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5683 /* end confdefs.h.  */
   5684 int i;
   5685 _ACEOF
   5686 if ac_fn_c_try_compile "$LINENO"
   5687 then :
   5688   xorg_cv_cc_flag_unused_command_line_argument=yes
   5689 else $as_nop
   5690   xorg_cv_cc_flag_unused_command_line_argument=no
   5691 fi
   5692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5693 fi
   5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5695 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5697 	CFLAGS="$xorg_testset_save_CFLAGS"
   5698 fi
   5699 
   5700 found="no"
   5701 
   5702 	if test $found = "no" ; then
   5703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5705 		fi
   5706 
   5707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5709 		fi
   5710 
   5711 		CFLAGS="$CFLAGS -Wnested-externs"
   5712 
   5713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5714 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5715 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5716 		if eval test \${$cacheid+y}
   5717 then :
   5718   printf %s "(cached) " >&6
   5719 else $as_nop
   5720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 int i;
   5723 int
   5724 main (void)
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 if ac_fn_c_try_link "$LINENO"
   5732 then :
   5733   eval $cacheid=yes
   5734 else $as_nop
   5735   eval $cacheid=no
   5736 fi
   5737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5738     conftest$ac_exeext conftest.$ac_ext
   5739 fi
   5740 
   5741 
   5742 		CFLAGS="$xorg_testset_save_CFLAGS"
   5743 
   5744 		eval supported=\$$cacheid
   5745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5746 printf "%s\n" "$supported" >&6; }
   5747 		if test "$supported" = "yes" ; then
   5748 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5749 			found="yes"
   5750 		fi
   5751 	fi
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 xorg_testset_save_CFLAGS="$CFLAGS"
   5768 
   5769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5772 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5773 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5774 then :
   5775   printf %s "(cached) " >&6
   5776 else $as_nop
   5777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5778 /* end confdefs.h.  */
   5779 int i;
   5780 _ACEOF
   5781 if ac_fn_c_try_compile "$LINENO"
   5782 then :
   5783   xorg_cv_cc_flag_unknown_warning_option=yes
   5784 else $as_nop
   5785   xorg_cv_cc_flag_unknown_warning_option=no
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5788 fi
   5789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5792 	CFLAGS="$xorg_testset_save_CFLAGS"
   5793 fi
   5794 
   5795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5798 	fi
   5799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5803 then :
   5804   printf %s "(cached) " >&6
   5805 else $as_nop
   5806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 _ACEOF
   5810 if ac_fn_c_try_compile "$LINENO"
   5811 then :
   5812   xorg_cv_cc_flag_unused_command_line_argument=yes
   5813 else $as_nop
   5814   xorg_cv_cc_flag_unused_command_line_argument=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5817 fi
   5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5819 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5821 	CFLAGS="$xorg_testset_save_CFLAGS"
   5822 fi
   5823 
   5824 found="no"
   5825 
   5826 	if test $found = "no" ; then
   5827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5829 		fi
   5830 
   5831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5833 		fi
   5834 
   5835 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5836 
   5837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5838 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5839 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5840 		if eval test \${$cacheid+y}
   5841 then :
   5842   printf %s "(cached) " >&6
   5843 else $as_nop
   5844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5845 /* end confdefs.h.  */
   5846 int i;
   5847 int
   5848 main (void)
   5849 {
   5850 
   5851   ;
   5852   return 0;
   5853 }
   5854 _ACEOF
   5855 if ac_fn_c_try_link "$LINENO"
   5856 then :
   5857   eval $cacheid=yes
   5858 else $as_nop
   5859   eval $cacheid=no
   5860 fi
   5861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5862     conftest$ac_exeext conftest.$ac_ext
   5863 fi
   5864 
   5865 
   5866 		CFLAGS="$xorg_testset_save_CFLAGS"
   5867 
   5868 		eval supported=\$$cacheid
   5869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5870 printf "%s\n" "$supported" >&6; }
   5871 		if test "$supported" = "yes" ; then
   5872 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5873 			found="yes"
   5874 		fi
   5875 	fi
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 xorg_testset_save_CFLAGS="$CFLAGS"
   5892 
   5893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5896 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5897 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5898 then :
   5899   printf %s "(cached) " >&6
   5900 else $as_nop
   5901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5902 /* end confdefs.h.  */
   5903 int i;
   5904 _ACEOF
   5905 if ac_fn_c_try_compile "$LINENO"
   5906 then :
   5907   xorg_cv_cc_flag_unknown_warning_option=yes
   5908 else $as_nop
   5909   xorg_cv_cc_flag_unknown_warning_option=no
   5910 fi
   5911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5912 fi
   5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5916 	CFLAGS="$xorg_testset_save_CFLAGS"
   5917 fi
   5918 
   5919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5922 	fi
   5923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5927 then :
   5928   printf %s "(cached) " >&6
   5929 else $as_nop
   5930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5931 /* end confdefs.h.  */
   5932 int i;
   5933 _ACEOF
   5934 if ac_fn_c_try_compile "$LINENO"
   5935 then :
   5936   xorg_cv_cc_flag_unused_command_line_argument=yes
   5937 else $as_nop
   5938   xorg_cv_cc_flag_unused_command_line_argument=no
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5941 fi
   5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5943 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5945 	CFLAGS="$xorg_testset_save_CFLAGS"
   5946 fi
   5947 
   5948 found="no"
   5949 
   5950 	if test $found = "no" ; then
   5951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5953 		fi
   5954 
   5955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5957 		fi
   5958 
   5959 		CFLAGS="$CFLAGS -Wold-style-definition"
   5960 
   5961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5962 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5963 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5964 		if eval test \${$cacheid+y}
   5965 then :
   5966   printf %s "(cached) " >&6
   5967 else $as_nop
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 int
   5972 main (void)
   5973 {
   5974 
   5975   ;
   5976   return 0;
   5977 }
   5978 _ACEOF
   5979 if ac_fn_c_try_link "$LINENO"
   5980 then :
   5981   eval $cacheid=yes
   5982 else $as_nop
   5983   eval $cacheid=no
   5984 fi
   5985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5986     conftest$ac_exeext conftest.$ac_ext
   5987 fi
   5988 
   5989 
   5990 		CFLAGS="$xorg_testset_save_CFLAGS"
   5991 
   5992 		eval supported=\$$cacheid
   5993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5994 printf "%s\n" "$supported" >&6; }
   5995 		if test "$supported" = "yes" ; then
   5996 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5997 			found="yes"
   5998 		fi
   5999 	fi
   6000 
   6001 	if test $found = "no" ; then
   6002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6004 		fi
   6005 
   6006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6008 		fi
   6009 
   6010 		CFLAGS="$CFLAGS -fd"
   6011 
   6012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6013 printf %s "checking if $CC supports -fd... " >&6; }
   6014 		cacheid=xorg_cv_cc_flag__fd
   6015 		if eval test \${$cacheid+y}
   6016 then :
   6017   printf %s "(cached) " >&6
   6018 else $as_nop
   6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6020 /* end confdefs.h.  */
   6021 int i;
   6022 int
   6023 main (void)
   6024 {
   6025 
   6026   ;
   6027   return 0;
   6028 }
   6029 _ACEOF
   6030 if ac_fn_c_try_link "$LINENO"
   6031 then :
   6032   eval $cacheid=yes
   6033 else $as_nop
   6034   eval $cacheid=no
   6035 fi
   6036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6037     conftest$ac_exeext conftest.$ac_ext
   6038 fi
   6039 
   6040 
   6041 		CFLAGS="$xorg_testset_save_CFLAGS"
   6042 
   6043 		eval supported=\$$cacheid
   6044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6045 printf "%s\n" "$supported" >&6; }
   6046 		if test "$supported" = "yes" ; then
   6047 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6048 			found="yes"
   6049 		fi
   6050 	fi
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 xorg_testset_save_CFLAGS="$CFLAGS"
   6067 
   6068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6073 then :
   6074   printf %s "(cached) " >&6
   6075 else $as_nop
   6076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6077 /* end confdefs.h.  */
   6078 int i;
   6079 _ACEOF
   6080 if ac_fn_c_try_compile "$LINENO"
   6081 then :
   6082   xorg_cv_cc_flag_unknown_warning_option=yes
   6083 else $as_nop
   6084   xorg_cv_cc_flag_unknown_warning_option=no
   6085 fi
   6086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6087 fi
   6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6091 	CFLAGS="$xorg_testset_save_CFLAGS"
   6092 fi
   6093 
   6094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6097 	fi
   6098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6102 then :
   6103   printf %s "(cached) " >&6
   6104 else $as_nop
   6105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6106 /* end confdefs.h.  */
   6107 int i;
   6108 _ACEOF
   6109 if ac_fn_c_try_compile "$LINENO"
   6110 then :
   6111   xorg_cv_cc_flag_unused_command_line_argument=yes
   6112 else $as_nop
   6113   xorg_cv_cc_flag_unused_command_line_argument=no
   6114 fi
   6115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6116 fi
   6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6118 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6120 	CFLAGS="$xorg_testset_save_CFLAGS"
   6121 fi
   6122 
   6123 found="no"
   6124 
   6125 	if test $found = "no" ; then
   6126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6128 		fi
   6129 
   6130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6132 		fi
   6133 
   6134 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6135 
   6136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6137 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6138 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6139 		if eval test \${$cacheid+y}
   6140 then :
   6141   printf %s "(cached) " >&6
   6142 else $as_nop
   6143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6144 /* end confdefs.h.  */
   6145 int i;
   6146 int
   6147 main (void)
   6148 {
   6149 
   6150   ;
   6151   return 0;
   6152 }
   6153 _ACEOF
   6154 if ac_fn_c_try_link "$LINENO"
   6155 then :
   6156   eval $cacheid=yes
   6157 else $as_nop
   6158   eval $cacheid=no
   6159 fi
   6160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6161     conftest$ac_exeext conftest.$ac_ext
   6162 fi
   6163 
   6164 
   6165 		CFLAGS="$xorg_testset_save_CFLAGS"
   6166 
   6167 		eval supported=\$$cacheid
   6168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6169 printf "%s\n" "$supported" >&6; }
   6170 		if test "$supported" = "yes" ; then
   6171 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6172 			found="yes"
   6173 		fi
   6174 	fi
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 # This chunk adds additional warnings that could catch undesired effects.
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 xorg_testset_save_CFLAGS="$CFLAGS"
   6195 
   6196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6201 then :
   6202   printf %s "(cached) " >&6
   6203 else $as_nop
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 _ACEOF
   6208 if ac_fn_c_try_compile "$LINENO"
   6209 then :
   6210   xorg_cv_cc_flag_unknown_warning_option=yes
   6211 else $as_nop
   6212   xorg_cv_cc_flag_unknown_warning_option=no
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6215 fi
   6216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6219 	CFLAGS="$xorg_testset_save_CFLAGS"
   6220 fi
   6221 
   6222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6225 	fi
   6226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6230 then :
   6231   printf %s "(cached) " >&6
   6232 else $as_nop
   6233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6234 /* end confdefs.h.  */
   6235 int i;
   6236 _ACEOF
   6237 if ac_fn_c_try_compile "$LINENO"
   6238 then :
   6239   xorg_cv_cc_flag_unused_command_line_argument=yes
   6240 else $as_nop
   6241   xorg_cv_cc_flag_unused_command_line_argument=no
   6242 fi
   6243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6244 fi
   6245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6248 	CFLAGS="$xorg_testset_save_CFLAGS"
   6249 fi
   6250 
   6251 found="no"
   6252 
   6253 	if test $found = "no" ; then
   6254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6256 		fi
   6257 
   6258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6260 		fi
   6261 
   6262 		CFLAGS="$CFLAGS -Wunused"
   6263 
   6264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6265 printf %s "checking if $CC supports -Wunused... " >&6; }
   6266 		cacheid=xorg_cv_cc_flag__Wunused
   6267 		if eval test \${$cacheid+y}
   6268 then :
   6269   printf %s "(cached) " >&6
   6270 else $as_nop
   6271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6272 /* end confdefs.h.  */
   6273 int i;
   6274 int
   6275 main (void)
   6276 {
   6277 
   6278   ;
   6279   return 0;
   6280 }
   6281 _ACEOF
   6282 if ac_fn_c_try_link "$LINENO"
   6283 then :
   6284   eval $cacheid=yes
   6285 else $as_nop
   6286   eval $cacheid=no
   6287 fi
   6288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6289     conftest$ac_exeext conftest.$ac_ext
   6290 fi
   6291 
   6292 
   6293 		CFLAGS="$xorg_testset_save_CFLAGS"
   6294 
   6295 		eval supported=\$$cacheid
   6296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6297 printf "%s\n" "$supported" >&6; }
   6298 		if test "$supported" = "yes" ; then
   6299 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6300 			found="yes"
   6301 		fi
   6302 	fi
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 xorg_testset_save_CFLAGS="$CFLAGS"
   6319 
   6320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6325 then :
   6326   printf %s "(cached) " >&6
   6327 else $as_nop
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 _ACEOF
   6332 if ac_fn_c_try_compile "$LINENO"
   6333 then :
   6334   xorg_cv_cc_flag_unknown_warning_option=yes
   6335 else $as_nop
   6336   xorg_cv_cc_flag_unknown_warning_option=no
   6337 fi
   6338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6339 fi
   6340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6341 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6343 	CFLAGS="$xorg_testset_save_CFLAGS"
   6344 fi
   6345 
   6346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 	fi
   6350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6352 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6353 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6354 then :
   6355   printf %s "(cached) " >&6
   6356 else $as_nop
   6357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6358 /* end confdefs.h.  */
   6359 int i;
   6360 _ACEOF
   6361 if ac_fn_c_try_compile "$LINENO"
   6362 then :
   6363   xorg_cv_cc_flag_unused_command_line_argument=yes
   6364 else $as_nop
   6365   xorg_cv_cc_flag_unused_command_line_argument=no
   6366 fi
   6367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6368 fi
   6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6372 	CFLAGS="$xorg_testset_save_CFLAGS"
   6373 fi
   6374 
   6375 found="no"
   6376 
   6377 	if test $found = "no" ; then
   6378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6380 		fi
   6381 
   6382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6384 		fi
   6385 
   6386 		CFLAGS="$CFLAGS -Wuninitialized"
   6387 
   6388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6389 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6390 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6391 		if eval test \${$cacheid+y}
   6392 then :
   6393   printf %s "(cached) " >&6
   6394 else $as_nop
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 int
   6399 main (void)
   6400 {
   6401 
   6402   ;
   6403   return 0;
   6404 }
   6405 _ACEOF
   6406 if ac_fn_c_try_link "$LINENO"
   6407 then :
   6408   eval $cacheid=yes
   6409 else $as_nop
   6410   eval $cacheid=no
   6411 fi
   6412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6413     conftest$ac_exeext conftest.$ac_ext
   6414 fi
   6415 
   6416 
   6417 		CFLAGS="$xorg_testset_save_CFLAGS"
   6418 
   6419 		eval supported=\$$cacheid
   6420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6421 printf "%s\n" "$supported" >&6; }
   6422 		if test "$supported" = "yes" ; then
   6423 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6424 			found="yes"
   6425 		fi
   6426 	fi
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 xorg_testset_save_CFLAGS="$CFLAGS"
   6443 
   6444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6449 then :
   6450   printf %s "(cached) " >&6
   6451 else $as_nop
   6452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6453 /* end confdefs.h.  */
   6454 int i;
   6455 _ACEOF
   6456 if ac_fn_c_try_compile "$LINENO"
   6457 then :
   6458   xorg_cv_cc_flag_unknown_warning_option=yes
   6459 else $as_nop
   6460   xorg_cv_cc_flag_unknown_warning_option=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6463 fi
   6464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6467 	CFLAGS="$xorg_testset_save_CFLAGS"
   6468 fi
   6469 
   6470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6473 	fi
   6474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6478 then :
   6479   printf %s "(cached) " >&6
   6480 else $as_nop
   6481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"
   6486 then :
   6487   xorg_cv_cc_flag_unused_command_line_argument=yes
   6488 else $as_nop
   6489   xorg_cv_cc_flag_unused_command_line_argument=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6492 fi
   6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 found="no"
   6500 
   6501 	if test $found = "no" ; then
   6502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 		fi
   6505 
   6506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 		fi
   6509 
   6510 		CFLAGS="$CFLAGS -Wshadow"
   6511 
   6512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6513 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6514 		cacheid=xorg_cv_cc_flag__Wshadow
   6515 		if eval test \${$cacheid+y}
   6516 then :
   6517   printf %s "(cached) " >&6
   6518 else $as_nop
   6519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6520 /* end confdefs.h.  */
   6521 int i;
   6522 int
   6523 main (void)
   6524 {
   6525 
   6526   ;
   6527   return 0;
   6528 }
   6529 _ACEOF
   6530 if ac_fn_c_try_link "$LINENO"
   6531 then :
   6532   eval $cacheid=yes
   6533 else $as_nop
   6534   eval $cacheid=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6537     conftest$ac_exeext conftest.$ac_ext
   6538 fi
   6539 
   6540 
   6541 		CFLAGS="$xorg_testset_save_CFLAGS"
   6542 
   6543 		eval supported=\$$cacheid
   6544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6545 printf "%s\n" "$supported" >&6; }
   6546 		if test "$supported" = "yes" ; then
   6547 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6548 			found="yes"
   6549 		fi
   6550 	fi
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 xorg_testset_save_CFLAGS="$CFLAGS"
   6567 
   6568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6573 then :
   6574   printf %s "(cached) " >&6
   6575 else $as_nop
   6576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6577 /* end confdefs.h.  */
   6578 int i;
   6579 _ACEOF
   6580 if ac_fn_c_try_compile "$LINENO"
   6581 then :
   6582   xorg_cv_cc_flag_unknown_warning_option=yes
   6583 else $as_nop
   6584   xorg_cv_cc_flag_unknown_warning_option=no
   6585 fi
   6586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6587 fi
   6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6591 	CFLAGS="$xorg_testset_save_CFLAGS"
   6592 fi
   6593 
   6594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6597 	fi
   6598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else $as_nop
   6605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"
   6610 then :
   6611   xorg_cv_cc_flag_unused_command_line_argument=yes
   6612 else $as_nop
   6613   xorg_cv_cc_flag_unused_command_line_argument=no
   6614 fi
   6615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6616 fi
   6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6620 	CFLAGS="$xorg_testset_save_CFLAGS"
   6621 fi
   6622 
   6623 found="no"
   6624 
   6625 	if test $found = "no" ; then
   6626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 		fi
   6629 
   6630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6632 		fi
   6633 
   6634 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6635 
   6636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6637 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6638 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6639 		if eval test \${$cacheid+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else $as_nop
   6643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6644 /* end confdefs.h.  */
   6645 int i;
   6646 int
   6647 main (void)
   6648 {
   6649 
   6650   ;
   6651   return 0;
   6652 }
   6653 _ACEOF
   6654 if ac_fn_c_try_link "$LINENO"
   6655 then :
   6656   eval $cacheid=yes
   6657 else $as_nop
   6658   eval $cacheid=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6661     conftest$ac_exeext conftest.$ac_ext
   6662 fi
   6663 
   6664 
   6665 		CFLAGS="$xorg_testset_save_CFLAGS"
   6666 
   6667 		eval supported=\$$cacheid
   6668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6669 printf "%s\n" "$supported" >&6; }
   6670 		if test "$supported" = "yes" ; then
   6671 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6672 			found="yes"
   6673 		fi
   6674 	fi
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 xorg_testset_save_CFLAGS="$CFLAGS"
   6691 
   6692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6697 then :
   6698   printf %s "(cached) " >&6
   6699 else $as_nop
   6700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6701 /* end confdefs.h.  */
   6702 int i;
   6703 _ACEOF
   6704 if ac_fn_c_try_compile "$LINENO"
   6705 then :
   6706   xorg_cv_cc_flag_unknown_warning_option=yes
   6707 else $as_nop
   6708   xorg_cv_cc_flag_unknown_warning_option=no
   6709 fi
   6710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6711 fi
   6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6715 	CFLAGS="$xorg_testset_save_CFLAGS"
   6716 fi
   6717 
   6718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6721 	fi
   6722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6726 then :
   6727   printf %s "(cached) " >&6
   6728 else $as_nop
   6729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 _ACEOF
   6733 if ac_fn_c_try_compile "$LINENO"
   6734 then :
   6735   xorg_cv_cc_flag_unused_command_line_argument=yes
   6736 else $as_nop
   6737   xorg_cv_cc_flag_unused_command_line_argument=no
   6738 fi
   6739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6740 fi
   6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6744 	CFLAGS="$xorg_testset_save_CFLAGS"
   6745 fi
   6746 
   6747 found="no"
   6748 
   6749 	if test $found = "no" ; then
   6750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6752 		fi
   6753 
   6754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6756 		fi
   6757 
   6758 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6759 
   6760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6761 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6762 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6763 		if eval test \${$cacheid+y}
   6764 then :
   6765   printf %s "(cached) " >&6
   6766 else $as_nop
   6767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6768 /* end confdefs.h.  */
   6769 int i;
   6770 int
   6771 main (void)
   6772 {
   6773 
   6774   ;
   6775   return 0;
   6776 }
   6777 _ACEOF
   6778 if ac_fn_c_try_link "$LINENO"
   6779 then :
   6780   eval $cacheid=yes
   6781 else $as_nop
   6782   eval $cacheid=no
   6783 fi
   6784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6785     conftest$ac_exeext conftest.$ac_ext
   6786 fi
   6787 
   6788 
   6789 		CFLAGS="$xorg_testset_save_CFLAGS"
   6790 
   6791 		eval supported=\$$cacheid
   6792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6793 printf "%s\n" "$supported" >&6; }
   6794 		if test "$supported" = "yes" ; then
   6795 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6796 			found="yes"
   6797 		fi
   6798 	fi
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 xorg_testset_save_CFLAGS="$CFLAGS"
   6815 
   6816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6819 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6820 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6821 then :
   6822   printf %s "(cached) " >&6
   6823 else $as_nop
   6824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6825 /* end confdefs.h.  */
   6826 int i;
   6827 _ACEOF
   6828 if ac_fn_c_try_compile "$LINENO"
   6829 then :
   6830   xorg_cv_cc_flag_unknown_warning_option=yes
   6831 else $as_nop
   6832   xorg_cv_cc_flag_unknown_warning_option=no
   6833 fi
   6834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6835 fi
   6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6837 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6839 	CFLAGS="$xorg_testset_save_CFLAGS"
   6840 fi
   6841 
   6842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6845 	fi
   6846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6848 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6849 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6850 then :
   6851   printf %s "(cached) " >&6
   6852 else $as_nop
   6853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6854 /* end confdefs.h.  */
   6855 int i;
   6856 _ACEOF
   6857 if ac_fn_c_try_compile "$LINENO"
   6858 then :
   6859   xorg_cv_cc_flag_unused_command_line_argument=yes
   6860 else $as_nop
   6861   xorg_cv_cc_flag_unused_command_line_argument=no
   6862 fi
   6863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6864 fi
   6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6866 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6867 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6868 	CFLAGS="$xorg_testset_save_CFLAGS"
   6869 fi
   6870 
   6871 found="no"
   6872 
   6873 	if test $found = "no" ; then
   6874 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6875 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6876 		fi
   6877 
   6878 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6879 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6880 		fi
   6881 
   6882 		CFLAGS="$CFLAGS -Wredundant-decls"
   6883 
   6884 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6885 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6886 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6887 		if eval test \${$cacheid+y}
   6888 then :
   6889   printf %s "(cached) " >&6
   6890 else $as_nop
   6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6892 /* end confdefs.h.  */
   6893 int i;
   6894 int
   6895 main (void)
   6896 {
   6897 
   6898   ;
   6899   return 0;
   6900 }
   6901 _ACEOF
   6902 if ac_fn_c_try_link "$LINENO"
   6903 then :
   6904   eval $cacheid=yes
   6905 else $as_nop
   6906   eval $cacheid=no
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6909     conftest$ac_exeext conftest.$ac_ext
   6910 fi
   6911 
   6912 
   6913 		CFLAGS="$xorg_testset_save_CFLAGS"
   6914 
   6915 		eval supported=\$$cacheid
   6916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6917 printf "%s\n" "$supported" >&6; }
   6918 		if test "$supported" = "yes" ; then
   6919 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6920 			found="yes"
   6921 		fi
   6922 	fi
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 xorg_testset_save_CFLAGS="$CFLAGS"
   6939 
   6940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6945 then :
   6946   printf %s "(cached) " >&6
   6947 else $as_nop
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 _ACEOF
   6952 if ac_fn_c_try_compile "$LINENO"
   6953 then :
   6954   xorg_cv_cc_flag_unknown_warning_option=yes
   6955 else $as_nop
   6956   xorg_cv_cc_flag_unknown_warning_option=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6959 fi
   6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6963 	CFLAGS="$xorg_testset_save_CFLAGS"
   6964 fi
   6965 
   6966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6969 	fi
   6970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6974 then :
   6975   printf %s "(cached) " >&6
   6976 else $as_nop
   6977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6978 /* end confdefs.h.  */
   6979 int i;
   6980 _ACEOF
   6981 if ac_fn_c_try_compile "$LINENO"
   6982 then :
   6983   xorg_cv_cc_flag_unused_command_line_argument=yes
   6984 else $as_nop
   6985   xorg_cv_cc_flag_unused_command_line_argument=no
   6986 fi
   6987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6988 fi
   6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6992 	CFLAGS="$xorg_testset_save_CFLAGS"
   6993 fi
   6994 
   6995 found="no"
   6996 
   6997 	if test $found = "no" ; then
   6998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7000 		fi
   7001 
   7002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7004 		fi
   7005 
   7006 		CFLAGS="$CFLAGS -Wlogical-op"
   7007 
   7008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7009 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7010 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7011 		if eval test \${$cacheid+y}
   7012 then :
   7013   printf %s "(cached) " >&6
   7014 else $as_nop
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 int
   7019 main (void)
   7020 {
   7021 
   7022   ;
   7023   return 0;
   7024 }
   7025 _ACEOF
   7026 if ac_fn_c_try_link "$LINENO"
   7027 then :
   7028   eval $cacheid=yes
   7029 else $as_nop
   7030   eval $cacheid=no
   7031 fi
   7032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7033     conftest$ac_exeext conftest.$ac_ext
   7034 fi
   7035 
   7036 
   7037 		CFLAGS="$xorg_testset_save_CFLAGS"
   7038 
   7039 		eval supported=\$$cacheid
   7040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7041 printf "%s\n" "$supported" >&6; }
   7042 		if test "$supported" = "yes" ; then
   7043 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7044 			found="yes"
   7045 		fi
   7046 	fi
   7047 
   7048 
   7049 
   7050 # These are currently disabled because they are noisy.  They will be enabled
   7051 # in the future once the codebase is sufficiently modernized to silence
   7052 # them.  For now, I don't want them to drown out the other warnings.
   7053 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7054 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7055 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7056 
   7057 # Turn some warnings into errors, so we don't accidentally get successful builds
   7058 # when there are problems that should be fixed.
   7059 
   7060 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 xorg_testset_save_CFLAGS="$CFLAGS"
   7075 
   7076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7081 then :
   7082   printf %s "(cached) " >&6
   7083 else $as_nop
   7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7085 /* end confdefs.h.  */
   7086 int i;
   7087 _ACEOF
   7088 if ac_fn_c_try_compile "$LINENO"
   7089 then :
   7090   xorg_cv_cc_flag_unknown_warning_option=yes
   7091 else $as_nop
   7092   xorg_cv_cc_flag_unknown_warning_option=no
   7093 fi
   7094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7095 fi
   7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7099 	CFLAGS="$xorg_testset_save_CFLAGS"
   7100 fi
   7101 
   7102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7105 	fi
   7106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7110 then :
   7111   printf %s "(cached) " >&6
   7112 else $as_nop
   7113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 int i;
   7116 _ACEOF
   7117 if ac_fn_c_try_compile "$LINENO"
   7118 then :
   7119   xorg_cv_cc_flag_unused_command_line_argument=yes
   7120 else $as_nop
   7121   xorg_cv_cc_flag_unused_command_line_argument=no
   7122 fi
   7123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7124 fi
   7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7128 	CFLAGS="$xorg_testset_save_CFLAGS"
   7129 fi
   7130 
   7131 found="no"
   7132 
   7133 	if test $found = "no" ; then
   7134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7136 		fi
   7137 
   7138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7140 		fi
   7141 
   7142 		CFLAGS="$CFLAGS -Werror=implicit"
   7143 
   7144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7145 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7146 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7147 		if eval test \${$cacheid+y}
   7148 then :
   7149   printf %s "(cached) " >&6
   7150 else $as_nop
   7151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7152 /* end confdefs.h.  */
   7153 int i;
   7154 int
   7155 main (void)
   7156 {
   7157 
   7158   ;
   7159   return 0;
   7160 }
   7161 _ACEOF
   7162 if ac_fn_c_try_link "$LINENO"
   7163 then :
   7164   eval $cacheid=yes
   7165 else $as_nop
   7166   eval $cacheid=no
   7167 fi
   7168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7169     conftest$ac_exeext conftest.$ac_ext
   7170 fi
   7171 
   7172 
   7173 		CFLAGS="$xorg_testset_save_CFLAGS"
   7174 
   7175 		eval supported=\$$cacheid
   7176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7177 printf "%s\n" "$supported" >&6; }
   7178 		if test "$supported" = "yes" ; then
   7179 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7180 			found="yes"
   7181 		fi
   7182 	fi
   7183 
   7184 	if test $found = "no" ; then
   7185 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7187 		fi
   7188 
   7189 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7191 		fi
   7192 
   7193 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7194 
   7195 		{ 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
   7196 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7197 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7198 		if eval test \${$cacheid+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else $as_nop
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 int i;
   7205 int
   7206 main (void)
   7207 {
   7208 
   7209   ;
   7210   return 0;
   7211 }
   7212 _ACEOF
   7213 if ac_fn_c_try_link "$LINENO"
   7214 then :
   7215   eval $cacheid=yes
   7216 else $as_nop
   7217   eval $cacheid=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7220     conftest$ac_exeext conftest.$ac_ext
   7221 fi
   7222 
   7223 
   7224 		CFLAGS="$xorg_testset_save_CFLAGS"
   7225 
   7226 		eval supported=\$$cacheid
   7227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7228 printf "%s\n" "$supported" >&6; }
   7229 		if test "$supported" = "yes" ; then
   7230 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7231 			found="yes"
   7232 		fi
   7233 	fi
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 xorg_testset_save_CFLAGS="$CFLAGS"
   7250 
   7251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7256 then :
   7257   printf %s "(cached) " >&6
   7258 else $as_nop
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 _ACEOF
   7263 if ac_fn_c_try_compile "$LINENO"
   7264 then :
   7265   xorg_cv_cc_flag_unknown_warning_option=yes
   7266 else $as_nop
   7267   xorg_cv_cc_flag_unknown_warning_option=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7270 fi
   7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7274 	CFLAGS="$xorg_testset_save_CFLAGS"
   7275 fi
   7276 
   7277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7280 	fi
   7281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7285 then :
   7286   printf %s "(cached) " >&6
   7287 else $as_nop
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 int i;
   7291 _ACEOF
   7292 if ac_fn_c_try_compile "$LINENO"
   7293 then :
   7294   xorg_cv_cc_flag_unused_command_line_argument=yes
   7295 else $as_nop
   7296   xorg_cv_cc_flag_unused_command_line_argument=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7299 fi
   7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 found="no"
   7307 
   7308 	if test $found = "no" ; then
   7309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7311 		fi
   7312 
   7313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 		fi
   7316 
   7317 		CFLAGS="$CFLAGS -Werror=nonnull"
   7318 
   7319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7320 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7321 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7322 		if eval test \${$cacheid+y}
   7323 then :
   7324   printf %s "(cached) " >&6
   7325 else $as_nop
   7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 int i;
   7329 int
   7330 main (void)
   7331 {
   7332 
   7333   ;
   7334   return 0;
   7335 }
   7336 _ACEOF
   7337 if ac_fn_c_try_link "$LINENO"
   7338 then :
   7339   eval $cacheid=yes
   7340 else $as_nop
   7341   eval $cacheid=no
   7342 fi
   7343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7344     conftest$ac_exeext conftest.$ac_ext
   7345 fi
   7346 
   7347 
   7348 		CFLAGS="$xorg_testset_save_CFLAGS"
   7349 
   7350 		eval supported=\$$cacheid
   7351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7352 printf "%s\n" "$supported" >&6; }
   7353 		if test "$supported" = "yes" ; then
   7354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7355 			found="yes"
   7356 		fi
   7357 	fi
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 xorg_testset_save_CFLAGS="$CFLAGS"
   7374 
   7375 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7376 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7377 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7378 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7379 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7380 then :
   7381   printf %s "(cached) " >&6
   7382 else $as_nop
   7383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7384 /* end confdefs.h.  */
   7385 int i;
   7386 _ACEOF
   7387 if ac_fn_c_try_compile "$LINENO"
   7388 then :
   7389   xorg_cv_cc_flag_unknown_warning_option=yes
   7390 else $as_nop
   7391   xorg_cv_cc_flag_unknown_warning_option=no
   7392 fi
   7393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7394 fi
   7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7398 	CFLAGS="$xorg_testset_save_CFLAGS"
   7399 fi
   7400 
   7401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7404 	fi
   7405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7409 then :
   7410   printf %s "(cached) " >&6
   7411 else $as_nop
   7412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7413 /* end confdefs.h.  */
   7414 int i;
   7415 _ACEOF
   7416 if ac_fn_c_try_compile "$LINENO"
   7417 then :
   7418   xorg_cv_cc_flag_unused_command_line_argument=yes
   7419 else $as_nop
   7420   xorg_cv_cc_flag_unused_command_line_argument=no
   7421 fi
   7422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7423 fi
   7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7427 	CFLAGS="$xorg_testset_save_CFLAGS"
   7428 fi
   7429 
   7430 found="no"
   7431 
   7432 	if test $found = "no" ; then
   7433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7435 		fi
   7436 
   7437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7439 		fi
   7440 
   7441 		CFLAGS="$CFLAGS -Werror=init-self"
   7442 
   7443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7444 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7445 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7446 		if eval test \${$cacheid+y}
   7447 then :
   7448   printf %s "(cached) " >&6
   7449 else $as_nop
   7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 int
   7454 main (void)
   7455 {
   7456 
   7457   ;
   7458   return 0;
   7459 }
   7460 _ACEOF
   7461 if ac_fn_c_try_link "$LINENO"
   7462 then :
   7463   eval $cacheid=yes
   7464 else $as_nop
   7465   eval $cacheid=no
   7466 fi
   7467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7468     conftest$ac_exeext conftest.$ac_ext
   7469 fi
   7470 
   7471 
   7472 		CFLAGS="$xorg_testset_save_CFLAGS"
   7473 
   7474 		eval supported=\$$cacheid
   7475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7476 printf "%s\n" "$supported" >&6; }
   7477 		if test "$supported" = "yes" ; then
   7478 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7479 			found="yes"
   7480 		fi
   7481 	fi
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 xorg_testset_save_CFLAGS="$CFLAGS"
   7498 
   7499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7502 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7503 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else $as_nop
   7507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7508 /* end confdefs.h.  */
   7509 int i;
   7510 _ACEOF
   7511 if ac_fn_c_try_compile "$LINENO"
   7512 then :
   7513   xorg_cv_cc_flag_unknown_warning_option=yes
   7514 else $as_nop
   7515   xorg_cv_cc_flag_unknown_warning_option=no
   7516 fi
   7517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7518 fi
   7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7522 	CFLAGS="$xorg_testset_save_CFLAGS"
   7523 fi
   7524 
   7525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7528 	fi
   7529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7533 then :
   7534   printf %s "(cached) " >&6
   7535 else $as_nop
   7536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7537 /* end confdefs.h.  */
   7538 int i;
   7539 _ACEOF
   7540 if ac_fn_c_try_compile "$LINENO"
   7541 then :
   7542   xorg_cv_cc_flag_unused_command_line_argument=yes
   7543 else $as_nop
   7544   xorg_cv_cc_flag_unused_command_line_argument=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7547 fi
   7548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7551 	CFLAGS="$xorg_testset_save_CFLAGS"
   7552 fi
   7553 
   7554 found="no"
   7555 
   7556 	if test $found = "no" ; then
   7557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7559 		fi
   7560 
   7561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7563 		fi
   7564 
   7565 		CFLAGS="$CFLAGS -Werror=main"
   7566 
   7567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7568 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7569 		cacheid=xorg_cv_cc_flag__Werror_main
   7570 		if eval test \${$cacheid+y}
   7571 then :
   7572   printf %s "(cached) " >&6
   7573 else $as_nop
   7574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7575 /* end confdefs.h.  */
   7576 int i;
   7577 int
   7578 main (void)
   7579 {
   7580 
   7581   ;
   7582   return 0;
   7583 }
   7584 _ACEOF
   7585 if ac_fn_c_try_link "$LINENO"
   7586 then :
   7587   eval $cacheid=yes
   7588 else $as_nop
   7589   eval $cacheid=no
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7592     conftest$ac_exeext conftest.$ac_ext
   7593 fi
   7594 
   7595 
   7596 		CFLAGS="$xorg_testset_save_CFLAGS"
   7597 
   7598 		eval supported=\$$cacheid
   7599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7600 printf "%s\n" "$supported" >&6; }
   7601 		if test "$supported" = "yes" ; then
   7602 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7603 			found="yes"
   7604 		fi
   7605 	fi
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 xorg_testset_save_CFLAGS="$CFLAGS"
   7622 
   7623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7626 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7627 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7628 then :
   7629   printf %s "(cached) " >&6
   7630 else $as_nop
   7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 _ACEOF
   7635 if ac_fn_c_try_compile "$LINENO"
   7636 then :
   7637   xorg_cv_cc_flag_unknown_warning_option=yes
   7638 else $as_nop
   7639   xorg_cv_cc_flag_unknown_warning_option=no
   7640 fi
   7641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7642 fi
   7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7646 	CFLAGS="$xorg_testset_save_CFLAGS"
   7647 fi
   7648 
   7649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7652 	fi
   7653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7657 then :
   7658   printf %s "(cached) " >&6
   7659 else $as_nop
   7660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7661 /* end confdefs.h.  */
   7662 int i;
   7663 _ACEOF
   7664 if ac_fn_c_try_compile "$LINENO"
   7665 then :
   7666   xorg_cv_cc_flag_unused_command_line_argument=yes
   7667 else $as_nop
   7668   xorg_cv_cc_flag_unused_command_line_argument=no
   7669 fi
   7670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7671 fi
   7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7673 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7675 	CFLAGS="$xorg_testset_save_CFLAGS"
   7676 fi
   7677 
   7678 found="no"
   7679 
   7680 	if test $found = "no" ; then
   7681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7683 		fi
   7684 
   7685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7687 		fi
   7688 
   7689 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7690 
   7691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7692 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7693 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7694 		if eval test \${$cacheid+y}
   7695 then :
   7696   printf %s "(cached) " >&6
   7697 else $as_nop
   7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7699 /* end confdefs.h.  */
   7700 int i;
   7701 int
   7702 main (void)
   7703 {
   7704 
   7705   ;
   7706   return 0;
   7707 }
   7708 _ACEOF
   7709 if ac_fn_c_try_link "$LINENO"
   7710 then :
   7711   eval $cacheid=yes
   7712 else $as_nop
   7713   eval $cacheid=no
   7714 fi
   7715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7716     conftest$ac_exeext conftest.$ac_ext
   7717 fi
   7718 
   7719 
   7720 		CFLAGS="$xorg_testset_save_CFLAGS"
   7721 
   7722 		eval supported=\$$cacheid
   7723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7724 printf "%s\n" "$supported" >&6; }
   7725 		if test "$supported" = "yes" ; then
   7726 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7727 			found="yes"
   7728 		fi
   7729 	fi
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 xorg_testset_save_CFLAGS="$CFLAGS"
   7746 
   7747 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7748 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7749 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7750 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7751 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7752 then :
   7753   printf %s "(cached) " >&6
   7754 else $as_nop
   7755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7756 /* end confdefs.h.  */
   7757 int i;
   7758 _ACEOF
   7759 if ac_fn_c_try_compile "$LINENO"
   7760 then :
   7761   xorg_cv_cc_flag_unknown_warning_option=yes
   7762 else $as_nop
   7763   xorg_cv_cc_flag_unknown_warning_option=no
   7764 fi
   7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7766 fi
   7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7768 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7770 	CFLAGS="$xorg_testset_save_CFLAGS"
   7771 fi
   7772 
   7773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	fi
   7777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7778 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7779 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7780 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7781 then :
   7782   printf %s "(cached) " >&6
   7783 else $as_nop
   7784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7785 /* end confdefs.h.  */
   7786 int i;
   7787 _ACEOF
   7788 if ac_fn_c_try_compile "$LINENO"
   7789 then :
   7790   xorg_cv_cc_flag_unused_command_line_argument=yes
   7791 else $as_nop
   7792   xorg_cv_cc_flag_unused_command_line_argument=no
   7793 fi
   7794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7795 fi
   7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7797 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7799 	CFLAGS="$xorg_testset_save_CFLAGS"
   7800 fi
   7801 
   7802 found="no"
   7803 
   7804 	if test $found = "no" ; then
   7805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7807 		fi
   7808 
   7809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7811 		fi
   7812 
   7813 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7814 
   7815 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7816 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7817 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7818 		if eval test \${$cacheid+y}
   7819 then :
   7820   printf %s "(cached) " >&6
   7821 else $as_nop
   7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 int i;
   7825 int
   7826 main (void)
   7827 {
   7828 
   7829   ;
   7830   return 0;
   7831 }
   7832 _ACEOF
   7833 if ac_fn_c_try_link "$LINENO"
   7834 then :
   7835   eval $cacheid=yes
   7836 else $as_nop
   7837   eval $cacheid=no
   7838 fi
   7839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7840     conftest$ac_exeext conftest.$ac_ext
   7841 fi
   7842 
   7843 
   7844 		CFLAGS="$xorg_testset_save_CFLAGS"
   7845 
   7846 		eval supported=\$$cacheid
   7847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7848 printf "%s\n" "$supported" >&6; }
   7849 		if test "$supported" = "yes" ; then
   7850 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7851 			found="yes"
   7852 		fi
   7853 	fi
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 xorg_testset_save_CFLAGS="$CFLAGS"
   7870 
   7871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7876 then :
   7877   printf %s "(cached) " >&6
   7878 else $as_nop
   7879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7880 /* end confdefs.h.  */
   7881 int i;
   7882 _ACEOF
   7883 if ac_fn_c_try_compile "$LINENO"
   7884 then :
   7885   xorg_cv_cc_flag_unknown_warning_option=yes
   7886 else $as_nop
   7887   xorg_cv_cc_flag_unknown_warning_option=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7890 fi
   7891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7894 	CFLAGS="$xorg_testset_save_CFLAGS"
   7895 fi
   7896 
   7897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7900 	fi
   7901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7905 then :
   7906   printf %s "(cached) " >&6
   7907 else $as_nop
   7908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7909 /* end confdefs.h.  */
   7910 int i;
   7911 _ACEOF
   7912 if ac_fn_c_try_compile "$LINENO"
   7913 then :
   7914   xorg_cv_cc_flag_unused_command_line_argument=yes
   7915 else $as_nop
   7916   xorg_cv_cc_flag_unused_command_line_argument=no
   7917 fi
   7918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7919 fi
   7920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7923 	CFLAGS="$xorg_testset_save_CFLAGS"
   7924 fi
   7925 
   7926 found="no"
   7927 
   7928 	if test $found = "no" ; then
   7929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7931 		fi
   7932 
   7933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7935 		fi
   7936 
   7937 		CFLAGS="$CFLAGS -Werror=return-type"
   7938 
   7939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7940 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7941 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7942 		if eval test \${$cacheid+y}
   7943 then :
   7944   printf %s "(cached) " >&6
   7945 else $as_nop
   7946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7947 /* end confdefs.h.  */
   7948 int i;
   7949 int
   7950 main (void)
   7951 {
   7952 
   7953   ;
   7954   return 0;
   7955 }
   7956 _ACEOF
   7957 if ac_fn_c_try_link "$LINENO"
   7958 then :
   7959   eval $cacheid=yes
   7960 else $as_nop
   7961   eval $cacheid=no
   7962 fi
   7963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7964     conftest$ac_exeext conftest.$ac_ext
   7965 fi
   7966 
   7967 
   7968 		CFLAGS="$xorg_testset_save_CFLAGS"
   7969 
   7970 		eval supported=\$$cacheid
   7971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7972 printf "%s\n" "$supported" >&6; }
   7973 		if test "$supported" = "yes" ; then
   7974 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7975 			found="yes"
   7976 		fi
   7977 	fi
   7978 
   7979 	if test $found = "no" ; then
   7980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7982 		fi
   7983 
   7984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7986 		fi
   7987 
   7988 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7989 
   7990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7991 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7992 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7993 		if eval test \${$cacheid+y}
   7994 then :
   7995   printf %s "(cached) " >&6
   7996 else $as_nop
   7997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7998 /* end confdefs.h.  */
   7999 int i;
   8000 int
   8001 main (void)
   8002 {
   8003 
   8004   ;
   8005   return 0;
   8006 }
   8007 _ACEOF
   8008 if ac_fn_c_try_link "$LINENO"
   8009 then :
   8010   eval $cacheid=yes
   8011 else $as_nop
   8012   eval $cacheid=no
   8013 fi
   8014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8015     conftest$ac_exeext conftest.$ac_ext
   8016 fi
   8017 
   8018 
   8019 		CFLAGS="$xorg_testset_save_CFLAGS"
   8020 
   8021 		eval supported=\$$cacheid
   8022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8023 printf "%s\n" "$supported" >&6; }
   8024 		if test "$supported" = "yes" ; then
   8025 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8026 			found="yes"
   8027 		fi
   8028 	fi
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 xorg_testset_save_CFLAGS="$CFLAGS"
   8045 
   8046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8051 then :
   8052   printf %s "(cached) " >&6
   8053 else $as_nop
   8054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8055 /* end confdefs.h.  */
   8056 int i;
   8057 _ACEOF
   8058 if ac_fn_c_try_compile "$LINENO"
   8059 then :
   8060   xorg_cv_cc_flag_unknown_warning_option=yes
   8061 else $as_nop
   8062   xorg_cv_cc_flag_unknown_warning_option=no
   8063 fi
   8064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8065 fi
   8066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8069 	CFLAGS="$xorg_testset_save_CFLAGS"
   8070 fi
   8071 
   8072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8075 	fi
   8076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8080 then :
   8081   printf %s "(cached) " >&6
   8082 else $as_nop
   8083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8084 /* end confdefs.h.  */
   8085 int i;
   8086 _ACEOF
   8087 if ac_fn_c_try_compile "$LINENO"
   8088 then :
   8089   xorg_cv_cc_flag_unused_command_line_argument=yes
   8090 else $as_nop
   8091   xorg_cv_cc_flag_unused_command_line_argument=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8094 fi
   8095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8098 	CFLAGS="$xorg_testset_save_CFLAGS"
   8099 fi
   8100 
   8101 found="no"
   8102 
   8103 	if test $found = "no" ; then
   8104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8106 		fi
   8107 
   8108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8110 		fi
   8111 
   8112 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8113 
   8114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8115 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8116 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8117 		if eval test \${$cacheid+y}
   8118 then :
   8119   printf %s "(cached) " >&6
   8120 else $as_nop
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 int
   8125 main (void)
   8126 {
   8127 
   8128   ;
   8129   return 0;
   8130 }
   8131 _ACEOF
   8132 if ac_fn_c_try_link "$LINENO"
   8133 then :
   8134   eval $cacheid=yes
   8135 else $as_nop
   8136   eval $cacheid=no
   8137 fi
   8138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8139     conftest$ac_exeext conftest.$ac_ext
   8140 fi
   8141 
   8142 
   8143 		CFLAGS="$xorg_testset_save_CFLAGS"
   8144 
   8145 		eval supported=\$$cacheid
   8146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8147 printf "%s\n" "$supported" >&6; }
   8148 		if test "$supported" = "yes" ; then
   8149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8150 			found="yes"
   8151 		fi
   8152 	fi
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 xorg_testset_save_CFLAGS="$CFLAGS"
   8169 
   8170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8172 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8173 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8174 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else $as_nop
   8178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8179 /* end confdefs.h.  */
   8180 int i;
   8181 _ACEOF
   8182 if ac_fn_c_try_compile "$LINENO"
   8183 then :
   8184   xorg_cv_cc_flag_unknown_warning_option=yes
   8185 else $as_nop
   8186   xorg_cv_cc_flag_unknown_warning_option=no
   8187 fi
   8188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8189 fi
   8190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8191 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8193 	CFLAGS="$xorg_testset_save_CFLAGS"
   8194 fi
   8195 
   8196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8199 	fi
   8200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8204 then :
   8205   printf %s "(cached) " >&6
   8206 else $as_nop
   8207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 _ACEOF
   8211 if ac_fn_c_try_compile "$LINENO"
   8212 then :
   8213   xorg_cv_cc_flag_unused_command_line_argument=yes
   8214 else $as_nop
   8215   xorg_cv_cc_flag_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8218 fi
   8219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8222 	CFLAGS="$xorg_testset_save_CFLAGS"
   8223 fi
   8224 
   8225 found="no"
   8226 
   8227 	if test $found = "no" ; then
   8228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8230 		fi
   8231 
   8232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 		fi
   8235 
   8236 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8237 
   8238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8239 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8240 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8241 		if eval test \${$cacheid+y}
   8242 then :
   8243   printf %s "(cached) " >&6
   8244 else $as_nop
   8245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8246 /* end confdefs.h.  */
   8247 int i;
   8248 int
   8249 main (void)
   8250 {
   8251 
   8252   ;
   8253   return 0;
   8254 }
   8255 _ACEOF
   8256 if ac_fn_c_try_link "$LINENO"
   8257 then :
   8258   eval $cacheid=yes
   8259 else $as_nop
   8260   eval $cacheid=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8263     conftest$ac_exeext conftest.$ac_ext
   8264 fi
   8265 
   8266 
   8267 		CFLAGS="$xorg_testset_save_CFLAGS"
   8268 
   8269 		eval supported=\$$cacheid
   8270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8271 printf "%s\n" "$supported" >&6; }
   8272 		if test "$supported" = "yes" ; then
   8273 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8274 			found="yes"
   8275 		fi
   8276 	fi
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 xorg_testset_save_CFLAGS="$CFLAGS"
   8293 
   8294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8299 then :
   8300   printf %s "(cached) " >&6
   8301 else $as_nop
   8302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8303 /* end confdefs.h.  */
   8304 int i;
   8305 _ACEOF
   8306 if ac_fn_c_try_compile "$LINENO"
   8307 then :
   8308   xorg_cv_cc_flag_unknown_warning_option=yes
   8309 else $as_nop
   8310   xorg_cv_cc_flag_unknown_warning_option=no
   8311 fi
   8312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8313 fi
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8317 	CFLAGS="$xorg_testset_save_CFLAGS"
   8318 fi
   8319 
   8320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 	fi
   8324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8328 then :
   8329   printf %s "(cached) " >&6
   8330 else $as_nop
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 _ACEOF
   8335 if ac_fn_c_try_compile "$LINENO"
   8336 then :
   8337   xorg_cv_cc_flag_unused_command_line_argument=yes
   8338 else $as_nop
   8339   xorg_cv_cc_flag_unused_command_line_argument=no
   8340 fi
   8341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8342 fi
   8343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8344 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8346 	CFLAGS="$xorg_testset_save_CFLAGS"
   8347 fi
   8348 
   8349 found="no"
   8350 
   8351 	if test $found = "no" ; then
   8352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8354 		fi
   8355 
   8356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8358 		fi
   8359 
   8360 		CFLAGS="$CFLAGS -Werror=write-strings"
   8361 
   8362 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8363 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8364 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8365 		if eval test \${$cacheid+y}
   8366 then :
   8367   printf %s "(cached) " >&6
   8368 else $as_nop
   8369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8370 /* end confdefs.h.  */
   8371 int i;
   8372 int
   8373 main (void)
   8374 {
   8375 
   8376   ;
   8377   return 0;
   8378 }
   8379 _ACEOF
   8380 if ac_fn_c_try_link "$LINENO"
   8381 then :
   8382   eval $cacheid=yes
   8383 else $as_nop
   8384   eval $cacheid=no
   8385 fi
   8386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8387     conftest$ac_exeext conftest.$ac_ext
   8388 fi
   8389 
   8390 
   8391 		CFLAGS="$xorg_testset_save_CFLAGS"
   8392 
   8393 		eval supported=\$$cacheid
   8394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8395 printf "%s\n" "$supported" >&6; }
   8396 		if test "$supported" = "yes" ; then
   8397 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8398 			found="yes"
   8399 		fi
   8400 	fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 xorg_testset_save_CFLAGS="$CFLAGS"
   8417 
   8418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8421 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8422 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8423 then :
   8424   printf %s "(cached) " >&6
   8425 else $as_nop
   8426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8427 /* end confdefs.h.  */
   8428 int i;
   8429 _ACEOF
   8430 if ac_fn_c_try_compile "$LINENO"
   8431 then :
   8432   xorg_cv_cc_flag_unknown_warning_option=yes
   8433 else $as_nop
   8434   xorg_cv_cc_flag_unknown_warning_option=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8437 fi
   8438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8439 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8440 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8445 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8447 	fi
   8448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8450 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8451 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8452 then :
   8453   printf %s "(cached) " >&6
   8454 else $as_nop
   8455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8456 /* end confdefs.h.  */
   8457 int i;
   8458 _ACEOF
   8459 if ac_fn_c_try_compile "$LINENO"
   8460 then :
   8461   xorg_cv_cc_flag_unused_command_line_argument=yes
   8462 else $as_nop
   8463   xorg_cv_cc_flag_unused_command_line_argument=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8466 fi
   8467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8468 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8469 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8470 	CFLAGS="$xorg_testset_save_CFLAGS"
   8471 fi
   8472 
   8473 found="no"
   8474 
   8475 	if test $found = "no" ; then
   8476 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8477 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8478 		fi
   8479 
   8480 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8481 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 		fi
   8483 
   8484 		CFLAGS="$CFLAGS -Werror=address"
   8485 
   8486 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8487 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8488 		cacheid=xorg_cv_cc_flag__Werror_address
   8489 		if eval test \${$cacheid+y}
   8490 then :
   8491   printf %s "(cached) " >&6
   8492 else $as_nop
   8493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8494 /* end confdefs.h.  */
   8495 int i;
   8496 int
   8497 main (void)
   8498 {
   8499 
   8500   ;
   8501   return 0;
   8502 }
   8503 _ACEOF
   8504 if ac_fn_c_try_link "$LINENO"
   8505 then :
   8506   eval $cacheid=yes
   8507 else $as_nop
   8508   eval $cacheid=no
   8509 fi
   8510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8511     conftest$ac_exeext conftest.$ac_ext
   8512 fi
   8513 
   8514 
   8515 		CFLAGS="$xorg_testset_save_CFLAGS"
   8516 
   8517 		eval supported=\$$cacheid
   8518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8519 printf "%s\n" "$supported" >&6; }
   8520 		if test "$supported" = "yes" ; then
   8521 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8522 			found="yes"
   8523 		fi
   8524 	fi
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 xorg_testset_save_CFLAGS="$CFLAGS"
   8541 
   8542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8545 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8546 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8547 then :
   8548   printf %s "(cached) " >&6
   8549 else $as_nop
   8550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"
   8555 then :
   8556   xorg_cv_cc_flag_unknown_warning_option=yes
   8557 else $as_nop
   8558   xorg_cv_cc_flag_unknown_warning_option=no
   8559 fi
   8560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8561 fi
   8562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8563 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8565 	CFLAGS="$xorg_testset_save_CFLAGS"
   8566 fi
   8567 
   8568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8571 	fi
   8572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8574 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8575 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8576 then :
   8577   printf %s "(cached) " >&6
   8578 else $as_nop
   8579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8580 /* end confdefs.h.  */
   8581 int i;
   8582 _ACEOF
   8583 if ac_fn_c_try_compile "$LINENO"
   8584 then :
   8585   xorg_cv_cc_flag_unused_command_line_argument=yes
   8586 else $as_nop
   8587   xorg_cv_cc_flag_unused_command_line_argument=no
   8588 fi
   8589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8590 fi
   8591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8592 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8594 	CFLAGS="$xorg_testset_save_CFLAGS"
   8595 fi
   8596 
   8597 found="no"
   8598 
   8599 	if test $found = "no" ; then
   8600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8602 		fi
   8603 
   8604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8606 		fi
   8607 
   8608 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8609 
   8610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8611 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8612 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8613 		if eval test \${$cacheid+y}
   8614 then :
   8615   printf %s "(cached) " >&6
   8616 else $as_nop
   8617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8618 /* end confdefs.h.  */
   8619 int i;
   8620 int
   8621 main (void)
   8622 {
   8623 
   8624   ;
   8625   return 0;
   8626 }
   8627 _ACEOF
   8628 if ac_fn_c_try_link "$LINENO"
   8629 then :
   8630   eval $cacheid=yes
   8631 else $as_nop
   8632   eval $cacheid=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8635     conftest$ac_exeext conftest.$ac_ext
   8636 fi
   8637 
   8638 
   8639 		CFLAGS="$xorg_testset_save_CFLAGS"
   8640 
   8641 		eval supported=\$$cacheid
   8642 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8643 printf "%s\n" "$supported" >&6; }
   8644 		if test "$supported" = "yes" ; then
   8645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8646 			found="yes"
   8647 		fi
   8648 	fi
   8649 
   8650 	if test $found = "no" ; then
   8651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8653 		fi
   8654 
   8655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8657 		fi
   8658 
   8659 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8660 
   8661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8662 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8663 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8664 		if eval test \${$cacheid+y}
   8665 then :
   8666   printf %s "(cached) " >&6
   8667 else $as_nop
   8668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 int
   8672 main (void)
   8673 {
   8674 
   8675   ;
   8676   return 0;
   8677 }
   8678 _ACEOF
   8679 if ac_fn_c_try_link "$LINENO"
   8680 then :
   8681   eval $cacheid=yes
   8682 else $as_nop
   8683   eval $cacheid=no
   8684 fi
   8685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8686     conftest$ac_exeext conftest.$ac_ext
   8687 fi
   8688 
   8689 
   8690 		CFLAGS="$xorg_testset_save_CFLAGS"
   8691 
   8692 		eval supported=\$$cacheid
   8693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8694 printf "%s\n" "$supported" >&6; }
   8695 		if test "$supported" = "yes" ; then
   8696 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8697 			found="yes"
   8698 		fi
   8699 	fi
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 xorg_testset_save_CFLAGS="$CFLAGS"
   8716 
   8717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8722 then :
   8723   printf %s "(cached) " >&6
   8724 else $as_nop
   8725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8726 /* end confdefs.h.  */
   8727 int i;
   8728 _ACEOF
   8729 if ac_fn_c_try_compile "$LINENO"
   8730 then :
   8731   xorg_cv_cc_flag_unknown_warning_option=yes
   8732 else $as_nop
   8733   xorg_cv_cc_flag_unknown_warning_option=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8736 fi
   8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8740 	CFLAGS="$xorg_testset_save_CFLAGS"
   8741 fi
   8742 
   8743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	fi
   8747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8751 then :
   8752   printf %s "(cached) " >&6
   8753 else $as_nop
   8754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8755 /* end confdefs.h.  */
   8756 int i;
   8757 _ACEOF
   8758 if ac_fn_c_try_compile "$LINENO"
   8759 then :
   8760   xorg_cv_cc_flag_unused_command_line_argument=yes
   8761 else $as_nop
   8762   xorg_cv_cc_flag_unused_command_line_argument=no
   8763 fi
   8764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8765 fi
   8766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8769 	CFLAGS="$xorg_testset_save_CFLAGS"
   8770 fi
   8771 
   8772 found="no"
   8773 
   8774 	if test $found = "no" ; then
   8775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8777 		fi
   8778 
   8779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8781 		fi
   8782 
   8783 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8784 
   8785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8786 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8787 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8788 		if eval test \${$cacheid+y}
   8789 then :
   8790   printf %s "(cached) " >&6
   8791 else $as_nop
   8792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8793 /* end confdefs.h.  */
   8794 int i;
   8795 int
   8796 main (void)
   8797 {
   8798 
   8799   ;
   8800   return 0;
   8801 }
   8802 _ACEOF
   8803 if ac_fn_c_try_link "$LINENO"
   8804 then :
   8805   eval $cacheid=yes
   8806 else $as_nop
   8807   eval $cacheid=no
   8808 fi
   8809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8810     conftest$ac_exeext conftest.$ac_ext
   8811 fi
   8812 
   8813 
   8814 		CFLAGS="$xorg_testset_save_CFLAGS"
   8815 
   8816 		eval supported=\$$cacheid
   8817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8818 printf "%s\n" "$supported" >&6; }
   8819 		if test "$supported" = "yes" ; then
   8820 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8821 			found="yes"
   8822 		fi
   8823 	fi
   8824 
   8825  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8826 else
   8827 { 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
   8828 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;}
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 xorg_testset_save_CFLAGS="$CFLAGS"
   8843 
   8844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8849 then :
   8850   printf %s "(cached) " >&6
   8851 else $as_nop
   8852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8853 /* end confdefs.h.  */
   8854 int i;
   8855 _ACEOF
   8856 if ac_fn_c_try_compile "$LINENO"
   8857 then :
   8858   xorg_cv_cc_flag_unknown_warning_option=yes
   8859 else $as_nop
   8860   xorg_cv_cc_flag_unknown_warning_option=no
   8861 fi
   8862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8863 fi
   8864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8867 	CFLAGS="$xorg_testset_save_CFLAGS"
   8868 fi
   8869 
   8870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8873 	fi
   8874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8878 then :
   8879   printf %s "(cached) " >&6
   8880 else $as_nop
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"
   8886 then :
   8887   xorg_cv_cc_flag_unused_command_line_argument=yes
   8888 else $as_nop
   8889   xorg_cv_cc_flag_unused_command_line_argument=no
   8890 fi
   8891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8892 fi
   8893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8896 	CFLAGS="$xorg_testset_save_CFLAGS"
   8897 fi
   8898 
   8899 found="no"
   8900 
   8901 	if test $found = "no" ; then
   8902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 		fi
   8905 
   8906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8908 		fi
   8909 
   8910 		CFLAGS="$CFLAGS -Wimplicit"
   8911 
   8912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8913 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8914 		cacheid=xorg_cv_cc_flag__Wimplicit
   8915 		if eval test \${$cacheid+y}
   8916 then :
   8917   printf %s "(cached) " >&6
   8918 else $as_nop
   8919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8920 /* end confdefs.h.  */
   8921 int i;
   8922 int
   8923 main (void)
   8924 {
   8925 
   8926   ;
   8927   return 0;
   8928 }
   8929 _ACEOF
   8930 if ac_fn_c_try_link "$LINENO"
   8931 then :
   8932   eval $cacheid=yes
   8933 else $as_nop
   8934   eval $cacheid=no
   8935 fi
   8936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8937     conftest$ac_exeext conftest.$ac_ext
   8938 fi
   8939 
   8940 
   8941 		CFLAGS="$xorg_testset_save_CFLAGS"
   8942 
   8943 		eval supported=\$$cacheid
   8944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8945 printf "%s\n" "$supported" >&6; }
   8946 		if test "$supported" = "yes" ; then
   8947 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8948 			found="yes"
   8949 		fi
   8950 	fi
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 xorg_testset_save_CFLAGS="$CFLAGS"
   8967 
   8968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8973 then :
   8974   printf %s "(cached) " >&6
   8975 else $as_nop
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"
   8981 then :
   8982   xorg_cv_cc_flag_unknown_warning_option=yes
   8983 else $as_nop
   8984   xorg_cv_cc_flag_unknown_warning_option=no
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8987 fi
   8988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8991 	CFLAGS="$xorg_testset_save_CFLAGS"
   8992 fi
   8993 
   8994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 	fi
   8998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9002 then :
   9003   printf %s "(cached) " >&6
   9004 else $as_nop
   9005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9006 /* end confdefs.h.  */
   9007 int i;
   9008 _ACEOF
   9009 if ac_fn_c_try_compile "$LINENO"
   9010 then :
   9011   xorg_cv_cc_flag_unused_command_line_argument=yes
   9012 else $as_nop
   9013   xorg_cv_cc_flag_unused_command_line_argument=no
   9014 fi
   9015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9016 fi
   9017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 found="no"
   9024 
   9025 	if test $found = "no" ; then
   9026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 		fi
   9029 
   9030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 		fi
   9033 
   9034 		CFLAGS="$CFLAGS -Wnonnull"
   9035 
   9036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9037 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9038 		cacheid=xorg_cv_cc_flag__Wnonnull
   9039 		if eval test \${$cacheid+y}
   9040 then :
   9041   printf %s "(cached) " >&6
   9042 else $as_nop
   9043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9044 /* end confdefs.h.  */
   9045 int i;
   9046 int
   9047 main (void)
   9048 {
   9049 
   9050   ;
   9051   return 0;
   9052 }
   9053 _ACEOF
   9054 if ac_fn_c_try_link "$LINENO"
   9055 then :
   9056   eval $cacheid=yes
   9057 else $as_nop
   9058   eval $cacheid=no
   9059 fi
   9060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9061     conftest$ac_exeext conftest.$ac_ext
   9062 fi
   9063 
   9064 
   9065 		CFLAGS="$xorg_testset_save_CFLAGS"
   9066 
   9067 		eval supported=\$$cacheid
   9068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9069 printf "%s\n" "$supported" >&6; }
   9070 		if test "$supported" = "yes" ; then
   9071 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9072 			found="yes"
   9073 		fi
   9074 	fi
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 xorg_testset_save_CFLAGS="$CFLAGS"
   9091 
   9092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9097 then :
   9098   printf %s "(cached) " >&6
   9099 else $as_nop
   9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 _ACEOF
   9104 if ac_fn_c_try_compile "$LINENO"
   9105 then :
   9106   xorg_cv_cc_flag_unknown_warning_option=yes
   9107 else $as_nop
   9108   xorg_cv_cc_flag_unknown_warning_option=no
   9109 fi
   9110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9111 fi
   9112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9115 	CFLAGS="$xorg_testset_save_CFLAGS"
   9116 fi
   9117 
   9118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9121 	fi
   9122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9126 then :
   9127   printf %s "(cached) " >&6
   9128 else $as_nop
   9129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9130 /* end confdefs.h.  */
   9131 int i;
   9132 _ACEOF
   9133 if ac_fn_c_try_compile "$LINENO"
   9134 then :
   9135   xorg_cv_cc_flag_unused_command_line_argument=yes
   9136 else $as_nop
   9137   xorg_cv_cc_flag_unused_command_line_argument=no
   9138 fi
   9139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9140 fi
   9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9144 	CFLAGS="$xorg_testset_save_CFLAGS"
   9145 fi
   9146 
   9147 found="no"
   9148 
   9149 	if test $found = "no" ; then
   9150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 		fi
   9153 
   9154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9156 		fi
   9157 
   9158 		CFLAGS="$CFLAGS -Winit-self"
   9159 
   9160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9161 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9162 		cacheid=xorg_cv_cc_flag__Winit_self
   9163 		if eval test \${$cacheid+y}
   9164 then :
   9165   printf %s "(cached) " >&6
   9166 else $as_nop
   9167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9168 /* end confdefs.h.  */
   9169 int i;
   9170 int
   9171 main (void)
   9172 {
   9173 
   9174   ;
   9175   return 0;
   9176 }
   9177 _ACEOF
   9178 if ac_fn_c_try_link "$LINENO"
   9179 then :
   9180   eval $cacheid=yes
   9181 else $as_nop
   9182   eval $cacheid=no
   9183 fi
   9184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9185     conftest$ac_exeext conftest.$ac_ext
   9186 fi
   9187 
   9188 
   9189 		CFLAGS="$xorg_testset_save_CFLAGS"
   9190 
   9191 		eval supported=\$$cacheid
   9192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9193 printf "%s\n" "$supported" >&6; }
   9194 		if test "$supported" = "yes" ; then
   9195 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9196 			found="yes"
   9197 		fi
   9198 	fi
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 xorg_testset_save_CFLAGS="$CFLAGS"
   9215 
   9216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9221 then :
   9222   printf %s "(cached) " >&6
   9223 else $as_nop
   9224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9225 /* end confdefs.h.  */
   9226 int i;
   9227 _ACEOF
   9228 if ac_fn_c_try_compile "$LINENO"
   9229 then :
   9230   xorg_cv_cc_flag_unknown_warning_option=yes
   9231 else $as_nop
   9232   xorg_cv_cc_flag_unknown_warning_option=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9235 fi
   9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9245 	fi
   9246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9250 then :
   9251   printf %s "(cached) " >&6
   9252 else $as_nop
   9253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9254 /* end confdefs.h.  */
   9255 int i;
   9256 _ACEOF
   9257 if ac_fn_c_try_compile "$LINENO"
   9258 then :
   9259   xorg_cv_cc_flag_unused_command_line_argument=yes
   9260 else $as_nop
   9261   xorg_cv_cc_flag_unused_command_line_argument=no
   9262 fi
   9263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9264 fi
   9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9266 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9268 	CFLAGS="$xorg_testset_save_CFLAGS"
   9269 fi
   9270 
   9271 found="no"
   9272 
   9273 	if test $found = "no" ; then
   9274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9276 		fi
   9277 
   9278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9280 		fi
   9281 
   9282 		CFLAGS="$CFLAGS -Wmain"
   9283 
   9284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9285 printf %s "checking if $CC supports -Wmain... " >&6; }
   9286 		cacheid=xorg_cv_cc_flag__Wmain
   9287 		if eval test \${$cacheid+y}
   9288 then :
   9289   printf %s "(cached) " >&6
   9290 else $as_nop
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 int
   9295 main (void)
   9296 {
   9297 
   9298   ;
   9299   return 0;
   9300 }
   9301 _ACEOF
   9302 if ac_fn_c_try_link "$LINENO"
   9303 then :
   9304   eval $cacheid=yes
   9305 else $as_nop
   9306   eval $cacheid=no
   9307 fi
   9308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9309     conftest$ac_exeext conftest.$ac_ext
   9310 fi
   9311 
   9312 
   9313 		CFLAGS="$xorg_testset_save_CFLAGS"
   9314 
   9315 		eval supported=\$$cacheid
   9316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9317 printf "%s\n" "$supported" >&6; }
   9318 		if test "$supported" = "yes" ; then
   9319 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9320 			found="yes"
   9321 		fi
   9322 	fi
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 xorg_testset_save_CFLAGS="$CFLAGS"
   9339 
   9340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9345 then :
   9346   printf %s "(cached) " >&6
   9347 else $as_nop
   9348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9349 /* end confdefs.h.  */
   9350 int i;
   9351 _ACEOF
   9352 if ac_fn_c_try_compile "$LINENO"
   9353 then :
   9354   xorg_cv_cc_flag_unknown_warning_option=yes
   9355 else $as_nop
   9356   xorg_cv_cc_flag_unknown_warning_option=no
   9357 fi
   9358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9359 fi
   9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9363 	CFLAGS="$xorg_testset_save_CFLAGS"
   9364 fi
   9365 
   9366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9369 	fi
   9370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else $as_nop
   9377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9378 /* end confdefs.h.  */
   9379 int i;
   9380 _ACEOF
   9381 if ac_fn_c_try_compile "$LINENO"
   9382 then :
   9383   xorg_cv_cc_flag_unused_command_line_argument=yes
   9384 else $as_nop
   9385   xorg_cv_cc_flag_unused_command_line_argument=no
   9386 fi
   9387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9388 fi
   9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9390 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9392 	CFLAGS="$xorg_testset_save_CFLAGS"
   9393 fi
   9394 
   9395 found="no"
   9396 
   9397 	if test $found = "no" ; then
   9398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9400 		fi
   9401 
   9402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9404 		fi
   9405 
   9406 		CFLAGS="$CFLAGS -Wmissing-braces"
   9407 
   9408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9409 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9410 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9411 		if eval test \${$cacheid+y}
   9412 then :
   9413   printf %s "(cached) " >&6
   9414 else $as_nop
   9415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9416 /* end confdefs.h.  */
   9417 int i;
   9418 int
   9419 main (void)
   9420 {
   9421 
   9422   ;
   9423   return 0;
   9424 }
   9425 _ACEOF
   9426 if ac_fn_c_try_link "$LINENO"
   9427 then :
   9428   eval $cacheid=yes
   9429 else $as_nop
   9430   eval $cacheid=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9433     conftest$ac_exeext conftest.$ac_ext
   9434 fi
   9435 
   9436 
   9437 		CFLAGS="$xorg_testset_save_CFLAGS"
   9438 
   9439 		eval supported=\$$cacheid
   9440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9441 printf "%s\n" "$supported" >&6; }
   9442 		if test "$supported" = "yes" ; then
   9443 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9444 			found="yes"
   9445 		fi
   9446 	fi
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 xorg_testset_save_CFLAGS="$CFLAGS"
   9463 
   9464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9467 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9468 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9469 then :
   9470   printf %s "(cached) " >&6
   9471 else $as_nop
   9472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9473 /* end confdefs.h.  */
   9474 int i;
   9475 _ACEOF
   9476 if ac_fn_c_try_compile "$LINENO"
   9477 then :
   9478   xorg_cv_cc_flag_unknown_warning_option=yes
   9479 else $as_nop
   9480   xorg_cv_cc_flag_unknown_warning_option=no
   9481 fi
   9482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9483 fi
   9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9485 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9487 	CFLAGS="$xorg_testset_save_CFLAGS"
   9488 fi
   9489 
   9490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9493 	fi
   9494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9498 then :
   9499   printf %s "(cached) " >&6
   9500 else $as_nop
   9501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9502 /* end confdefs.h.  */
   9503 int i;
   9504 _ACEOF
   9505 if ac_fn_c_try_compile "$LINENO"
   9506 then :
   9507   xorg_cv_cc_flag_unused_command_line_argument=yes
   9508 else $as_nop
   9509   xorg_cv_cc_flag_unused_command_line_argument=no
   9510 fi
   9511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9512 fi
   9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9516 	CFLAGS="$xorg_testset_save_CFLAGS"
   9517 fi
   9518 
   9519 found="no"
   9520 
   9521 	if test $found = "no" ; then
   9522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9524 		fi
   9525 
   9526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9528 		fi
   9529 
   9530 		CFLAGS="$CFLAGS -Wsequence-point"
   9531 
   9532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9533 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9534 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9535 		if eval test \${$cacheid+y}
   9536 then :
   9537   printf %s "(cached) " >&6
   9538 else $as_nop
   9539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9540 /* end confdefs.h.  */
   9541 int i;
   9542 int
   9543 main (void)
   9544 {
   9545 
   9546   ;
   9547   return 0;
   9548 }
   9549 _ACEOF
   9550 if ac_fn_c_try_link "$LINENO"
   9551 then :
   9552   eval $cacheid=yes
   9553 else $as_nop
   9554   eval $cacheid=no
   9555 fi
   9556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9557     conftest$ac_exeext conftest.$ac_ext
   9558 fi
   9559 
   9560 
   9561 		CFLAGS="$xorg_testset_save_CFLAGS"
   9562 
   9563 		eval supported=\$$cacheid
   9564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9565 printf "%s\n" "$supported" >&6; }
   9566 		if test "$supported" = "yes" ; then
   9567 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9568 			found="yes"
   9569 		fi
   9570 	fi
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 xorg_testset_save_CFLAGS="$CFLAGS"
   9587 
   9588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9591 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9592 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9593 then :
   9594   printf %s "(cached) " >&6
   9595 else $as_nop
   9596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 _ACEOF
   9600 if ac_fn_c_try_compile "$LINENO"
   9601 then :
   9602   xorg_cv_cc_flag_unknown_warning_option=yes
   9603 else $as_nop
   9604   xorg_cv_cc_flag_unknown_warning_option=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9607 fi
   9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9609 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9611 	CFLAGS="$xorg_testset_save_CFLAGS"
   9612 fi
   9613 
   9614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9617 	fi
   9618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9620 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9621 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9622 then :
   9623   printf %s "(cached) " >&6
   9624 else $as_nop
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 _ACEOF
   9629 if ac_fn_c_try_compile "$LINENO"
   9630 then :
   9631   xorg_cv_cc_flag_unused_command_line_argument=yes
   9632 else $as_nop
   9633   xorg_cv_cc_flag_unused_command_line_argument=no
   9634 fi
   9635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9636 fi
   9637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9638 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9639 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9640 	CFLAGS="$xorg_testset_save_CFLAGS"
   9641 fi
   9642 
   9643 found="no"
   9644 
   9645 	if test $found = "no" ; then
   9646 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9648 		fi
   9649 
   9650 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9652 		fi
   9653 
   9654 		CFLAGS="$CFLAGS -Wreturn-type"
   9655 
   9656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9657 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9658 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9659 		if eval test \${$cacheid+y}
   9660 then :
   9661   printf %s "(cached) " >&6
   9662 else $as_nop
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 int i;
   9666 int
   9667 main (void)
   9668 {
   9669 
   9670   ;
   9671   return 0;
   9672 }
   9673 _ACEOF
   9674 if ac_fn_c_try_link "$LINENO"
   9675 then :
   9676   eval $cacheid=yes
   9677 else $as_nop
   9678   eval $cacheid=no
   9679 fi
   9680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9681     conftest$ac_exeext conftest.$ac_ext
   9682 fi
   9683 
   9684 
   9685 		CFLAGS="$xorg_testset_save_CFLAGS"
   9686 
   9687 		eval supported=\$$cacheid
   9688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9689 printf "%s\n" "$supported" >&6; }
   9690 		if test "$supported" = "yes" ; then
   9691 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9692 			found="yes"
   9693 		fi
   9694 	fi
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 xorg_testset_save_CFLAGS="$CFLAGS"
   9711 
   9712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9717 then :
   9718   printf %s "(cached) " >&6
   9719 else $as_nop
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 _ACEOF
   9724 if ac_fn_c_try_compile "$LINENO"
   9725 then :
   9726   xorg_cv_cc_flag_unknown_warning_option=yes
   9727 else $as_nop
   9728   xorg_cv_cc_flag_unknown_warning_option=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9731 fi
   9732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	fi
   9742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9746 then :
   9747   printf %s "(cached) " >&6
   9748 else $as_nop
   9749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9750 /* end confdefs.h.  */
   9751 int i;
   9752 _ACEOF
   9753 if ac_fn_c_try_compile "$LINENO"
   9754 then :
   9755   xorg_cv_cc_flag_unused_command_line_argument=yes
   9756 else $as_nop
   9757   xorg_cv_cc_flag_unused_command_line_argument=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9760 fi
   9761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9764 	CFLAGS="$xorg_testset_save_CFLAGS"
   9765 fi
   9766 
   9767 found="no"
   9768 
   9769 	if test $found = "no" ; then
   9770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9772 		fi
   9773 
   9774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9776 		fi
   9777 
   9778 		CFLAGS="$CFLAGS -Wtrigraphs"
   9779 
   9780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9781 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9782 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9783 		if eval test \${$cacheid+y}
   9784 then :
   9785   printf %s "(cached) " >&6
   9786 else $as_nop
   9787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9788 /* end confdefs.h.  */
   9789 int i;
   9790 int
   9791 main (void)
   9792 {
   9793 
   9794   ;
   9795   return 0;
   9796 }
   9797 _ACEOF
   9798 if ac_fn_c_try_link "$LINENO"
   9799 then :
   9800   eval $cacheid=yes
   9801 else $as_nop
   9802   eval $cacheid=no
   9803 fi
   9804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9805     conftest$ac_exeext conftest.$ac_ext
   9806 fi
   9807 
   9808 
   9809 		CFLAGS="$xorg_testset_save_CFLAGS"
   9810 
   9811 		eval supported=\$$cacheid
   9812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9813 printf "%s\n" "$supported" >&6; }
   9814 		if test "$supported" = "yes" ; then
   9815 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9816 			found="yes"
   9817 		fi
   9818 	fi
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 xorg_testset_save_CFLAGS="$CFLAGS"
   9835 
   9836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9841 then :
   9842   printf %s "(cached) " >&6
   9843 else $as_nop
   9844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9845 /* end confdefs.h.  */
   9846 int i;
   9847 _ACEOF
   9848 if ac_fn_c_try_compile "$LINENO"
   9849 then :
   9850   xorg_cv_cc_flag_unknown_warning_option=yes
   9851 else $as_nop
   9852   xorg_cv_cc_flag_unknown_warning_option=no
   9853 fi
   9854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9855 fi
   9856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9859 	CFLAGS="$xorg_testset_save_CFLAGS"
   9860 fi
   9861 
   9862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9865 	fi
   9866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9870 then :
   9871   printf %s "(cached) " >&6
   9872 else $as_nop
   9873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9874 /* end confdefs.h.  */
   9875 int i;
   9876 _ACEOF
   9877 if ac_fn_c_try_compile "$LINENO"
   9878 then :
   9879   xorg_cv_cc_flag_unused_command_line_argument=yes
   9880 else $as_nop
   9881   xorg_cv_cc_flag_unused_command_line_argument=no
   9882 fi
   9883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9884 fi
   9885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9888 	CFLAGS="$xorg_testset_save_CFLAGS"
   9889 fi
   9890 
   9891 found="no"
   9892 
   9893 	if test $found = "no" ; then
   9894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9896 		fi
   9897 
   9898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9900 		fi
   9901 
   9902 		CFLAGS="$CFLAGS -Warray-bounds"
   9903 
   9904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9905 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9906 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9907 		if eval test \${$cacheid+y}
   9908 then :
   9909   printf %s "(cached) " >&6
   9910 else $as_nop
   9911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9912 /* end confdefs.h.  */
   9913 int i;
   9914 int
   9915 main (void)
   9916 {
   9917 
   9918   ;
   9919   return 0;
   9920 }
   9921 _ACEOF
   9922 if ac_fn_c_try_link "$LINENO"
   9923 then :
   9924   eval $cacheid=yes
   9925 else $as_nop
   9926   eval $cacheid=no
   9927 fi
   9928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9929     conftest$ac_exeext conftest.$ac_ext
   9930 fi
   9931 
   9932 
   9933 		CFLAGS="$xorg_testset_save_CFLAGS"
   9934 
   9935 		eval supported=\$$cacheid
   9936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9937 printf "%s\n" "$supported" >&6; }
   9938 		if test "$supported" = "yes" ; then
   9939 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9940 			found="yes"
   9941 		fi
   9942 	fi
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 xorg_testset_save_CFLAGS="$CFLAGS"
   9959 
   9960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9965 then :
   9966   printf %s "(cached) " >&6
   9967 else $as_nop
   9968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9969 /* end confdefs.h.  */
   9970 int i;
   9971 _ACEOF
   9972 if ac_fn_c_try_compile "$LINENO"
   9973 then :
   9974   xorg_cv_cc_flag_unknown_warning_option=yes
   9975 else $as_nop
   9976   xorg_cv_cc_flag_unknown_warning_option=no
   9977 fi
   9978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9979 fi
   9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9983 	CFLAGS="$xorg_testset_save_CFLAGS"
   9984 fi
   9985 
   9986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9989 	fi
   9990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9994 then :
   9995   printf %s "(cached) " >&6
   9996 else $as_nop
   9997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9998 /* end confdefs.h.  */
   9999 int i;
   10000 _ACEOF
   10001 if ac_fn_c_try_compile "$LINENO"
   10002 then :
   10003   xorg_cv_cc_flag_unused_command_line_argument=yes
   10004 else $as_nop
   10005   xorg_cv_cc_flag_unused_command_line_argument=no
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10008 fi
   10009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10010 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10012 	CFLAGS="$xorg_testset_save_CFLAGS"
   10013 fi
   10014 
   10015 found="no"
   10016 
   10017 	if test $found = "no" ; then
   10018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10020 		fi
   10021 
   10022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10024 		fi
   10025 
   10026 		CFLAGS="$CFLAGS -Wwrite-strings"
   10027 
   10028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10029 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10030 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10031 		if eval test \${$cacheid+y}
   10032 then :
   10033   printf %s "(cached) " >&6
   10034 else $as_nop
   10035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10036 /* end confdefs.h.  */
   10037 int i;
   10038 int
   10039 main (void)
   10040 {
   10041 
   10042   ;
   10043   return 0;
   10044 }
   10045 _ACEOF
   10046 if ac_fn_c_try_link "$LINENO"
   10047 then :
   10048   eval $cacheid=yes
   10049 else $as_nop
   10050   eval $cacheid=no
   10051 fi
   10052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10053     conftest$ac_exeext conftest.$ac_ext
   10054 fi
   10055 
   10056 
   10057 		CFLAGS="$xorg_testset_save_CFLAGS"
   10058 
   10059 		eval supported=\$$cacheid
   10060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10061 printf "%s\n" "$supported" >&6; }
   10062 		if test "$supported" = "yes" ; then
   10063 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10064 			found="yes"
   10065 		fi
   10066 	fi
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 xorg_testset_save_CFLAGS="$CFLAGS"
   10083 
   10084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10089 then :
   10090   printf %s "(cached) " >&6
   10091 else $as_nop
   10092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10093 /* end confdefs.h.  */
   10094 int i;
   10095 _ACEOF
   10096 if ac_fn_c_try_compile "$LINENO"
   10097 then :
   10098   xorg_cv_cc_flag_unknown_warning_option=yes
   10099 else $as_nop
   10100   xorg_cv_cc_flag_unknown_warning_option=no
   10101 fi
   10102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10103 fi
   10104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10105 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10107 	CFLAGS="$xorg_testset_save_CFLAGS"
   10108 fi
   10109 
   10110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10113 	fi
   10114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10115 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10116 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10117 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10118 then :
   10119   printf %s "(cached) " >&6
   10120 else $as_nop
   10121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10122 /* end confdefs.h.  */
   10123 int i;
   10124 _ACEOF
   10125 if ac_fn_c_try_compile "$LINENO"
   10126 then :
   10127   xorg_cv_cc_flag_unused_command_line_argument=yes
   10128 else $as_nop
   10129   xorg_cv_cc_flag_unused_command_line_argument=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10132 fi
   10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10136 	CFLAGS="$xorg_testset_save_CFLAGS"
   10137 fi
   10138 
   10139 found="no"
   10140 
   10141 	if test $found = "no" ; then
   10142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10144 		fi
   10145 
   10146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10148 		fi
   10149 
   10150 		CFLAGS="$CFLAGS -Waddress"
   10151 
   10152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10153 printf %s "checking if $CC supports -Waddress... " >&6; }
   10154 		cacheid=xorg_cv_cc_flag__Waddress
   10155 		if eval test \${$cacheid+y}
   10156 then :
   10157   printf %s "(cached) " >&6
   10158 else $as_nop
   10159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 int
   10163 main (void)
   10164 {
   10165 
   10166   ;
   10167   return 0;
   10168 }
   10169 _ACEOF
   10170 if ac_fn_c_try_link "$LINENO"
   10171 then :
   10172   eval $cacheid=yes
   10173 else $as_nop
   10174   eval $cacheid=no
   10175 fi
   10176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10177     conftest$ac_exeext conftest.$ac_ext
   10178 fi
   10179 
   10180 
   10181 		CFLAGS="$xorg_testset_save_CFLAGS"
   10182 
   10183 		eval supported=\$$cacheid
   10184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10185 printf "%s\n" "$supported" >&6; }
   10186 		if test "$supported" = "yes" ; then
   10187 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10188 			found="yes"
   10189 		fi
   10190 	fi
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 xorg_testset_save_CFLAGS="$CFLAGS"
   10207 
   10208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10213 then :
   10214   printf %s "(cached) " >&6
   10215 else $as_nop
   10216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 _ACEOF
   10220 if ac_fn_c_try_compile "$LINENO"
   10221 then :
   10222   xorg_cv_cc_flag_unknown_warning_option=yes
   10223 else $as_nop
   10224   xorg_cv_cc_flag_unknown_warning_option=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10227 fi
   10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10237 	fi
   10238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10242 then :
   10243   printf %s "(cached) " >&6
   10244 else $as_nop
   10245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10246 /* end confdefs.h.  */
   10247 int i;
   10248 _ACEOF
   10249 if ac_fn_c_try_compile "$LINENO"
   10250 then :
   10251   xorg_cv_cc_flag_unused_command_line_argument=yes
   10252 else $as_nop
   10253   xorg_cv_cc_flag_unused_command_line_argument=no
   10254 fi
   10255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10256 fi
   10257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10260 	CFLAGS="$xorg_testset_save_CFLAGS"
   10261 fi
   10262 
   10263 found="no"
   10264 
   10265 	if test $found = "no" ; then
   10266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10268 		fi
   10269 
   10270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10272 		fi
   10273 
   10274 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10275 
   10276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10277 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10278 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10279 		if eval test \${$cacheid+y}
   10280 then :
   10281   printf %s "(cached) " >&6
   10282 else $as_nop
   10283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10284 /* end confdefs.h.  */
   10285 int i;
   10286 int
   10287 main (void)
   10288 {
   10289 
   10290   ;
   10291   return 0;
   10292 }
   10293 _ACEOF
   10294 if ac_fn_c_try_link "$LINENO"
   10295 then :
   10296   eval $cacheid=yes
   10297 else $as_nop
   10298   eval $cacheid=no
   10299 fi
   10300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10301     conftest$ac_exeext conftest.$ac_ext
   10302 fi
   10303 
   10304 
   10305 		CFLAGS="$xorg_testset_save_CFLAGS"
   10306 
   10307 		eval supported=\$$cacheid
   10308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10309 printf "%s\n" "$supported" >&6; }
   10310 		if test "$supported" = "yes" ; then
   10311 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10312 			found="yes"
   10313 		fi
   10314 	fi
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 xorg_testset_save_CFLAGS="$CFLAGS"
   10331 
   10332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10337 then :
   10338   printf %s "(cached) " >&6
   10339 else $as_nop
   10340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 int i;
   10343 _ACEOF
   10344 if ac_fn_c_try_compile "$LINENO"
   10345 then :
   10346   xorg_cv_cc_flag_unknown_warning_option=yes
   10347 else $as_nop
   10348   xorg_cv_cc_flag_unknown_warning_option=no
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10351 fi
   10352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10355 	CFLAGS="$xorg_testset_save_CFLAGS"
   10356 fi
   10357 
   10358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10361 	fi
   10362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else $as_nop
   10369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 _ACEOF
   10373 if ac_fn_c_try_compile "$LINENO"
   10374 then :
   10375   xorg_cv_cc_flag_unused_command_line_argument=yes
   10376 else $as_nop
   10377   xorg_cv_cc_flag_unused_command_line_argument=no
   10378 fi
   10379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10380 fi
   10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10384 	CFLAGS="$xorg_testset_save_CFLAGS"
   10385 fi
   10386 
   10387 found="no"
   10388 
   10389 	if test $found = "no" ; then
   10390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10392 		fi
   10393 
   10394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10396 		fi
   10397 
   10398 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10399 
   10400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10401 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10402 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10403 		if eval test \${$cacheid+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else $as_nop
   10407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 int i;
   10410 int
   10411 main (void)
   10412 {
   10413 
   10414   ;
   10415   return 0;
   10416 }
   10417 _ACEOF
   10418 if ac_fn_c_try_link "$LINENO"
   10419 then :
   10420   eval $cacheid=yes
   10421 else $as_nop
   10422   eval $cacheid=no
   10423 fi
   10424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10425     conftest$ac_exeext conftest.$ac_ext
   10426 fi
   10427 
   10428 
   10429 		CFLAGS="$xorg_testset_save_CFLAGS"
   10430 
   10431 		eval supported=\$$cacheid
   10432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10433 printf "%s\n" "$supported" >&6; }
   10434 		if test "$supported" = "yes" ; then
   10435 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10436 			found="yes"
   10437 		fi
   10438 	fi
   10439 
   10440 
   10441 fi
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 		CWARNFLAGS="$BASE_CFLAGS"
   10450 		if  test "x$GCC" = xyes ; then
   10451 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10452 		fi
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 # Check whether --enable-strict-compilation was given.
   10462 if test ${enable_strict_compilation+y}
   10463 then :
   10464   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10465 else $as_nop
   10466   STRICT_COMPILE=no
   10467 fi
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 STRICT_CFLAGS=""
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 xorg_testset_save_CFLAGS="$CFLAGS"
   10489 
   10490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10495 then :
   10496   printf %s "(cached) " >&6
   10497 else $as_nop
   10498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10499 /* end confdefs.h.  */
   10500 int i;
   10501 _ACEOF
   10502 if ac_fn_c_try_compile "$LINENO"
   10503 then :
   10504   xorg_cv_cc_flag_unknown_warning_option=yes
   10505 else $as_nop
   10506   xorg_cv_cc_flag_unknown_warning_option=no
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10509 fi
   10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10511 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10513 	CFLAGS="$xorg_testset_save_CFLAGS"
   10514 fi
   10515 
   10516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10519 	fi
   10520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10521 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10522 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10523 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10524 then :
   10525   printf %s "(cached) " >&6
   10526 else $as_nop
   10527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10528 /* end confdefs.h.  */
   10529 int i;
   10530 _ACEOF
   10531 if ac_fn_c_try_compile "$LINENO"
   10532 then :
   10533   xorg_cv_cc_flag_unused_command_line_argument=yes
   10534 else $as_nop
   10535   xorg_cv_cc_flag_unused_command_line_argument=no
   10536 fi
   10537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10538 fi
   10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10540 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10542 	CFLAGS="$xorg_testset_save_CFLAGS"
   10543 fi
   10544 
   10545 found="no"
   10546 
   10547 	if test $found = "no" ; then
   10548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10550 		fi
   10551 
   10552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10554 		fi
   10555 
   10556 		CFLAGS="$CFLAGS -pedantic"
   10557 
   10558 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10559 printf %s "checking if $CC supports -pedantic... " >&6; }
   10560 		cacheid=xorg_cv_cc_flag__pedantic
   10561 		if eval test \${$cacheid+y}
   10562 then :
   10563   printf %s "(cached) " >&6
   10564 else $as_nop
   10565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10566 /* end confdefs.h.  */
   10567 int i;
   10568 int
   10569 main (void)
   10570 {
   10571 
   10572   ;
   10573   return 0;
   10574 }
   10575 _ACEOF
   10576 if ac_fn_c_try_link "$LINENO"
   10577 then :
   10578   eval $cacheid=yes
   10579 else $as_nop
   10580   eval $cacheid=no
   10581 fi
   10582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10583     conftest$ac_exeext conftest.$ac_ext
   10584 fi
   10585 
   10586 
   10587 		CFLAGS="$xorg_testset_save_CFLAGS"
   10588 
   10589 		eval supported=\$$cacheid
   10590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10591 printf "%s\n" "$supported" >&6; }
   10592 		if test "$supported" = "yes" ; then
   10593 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10594 			found="yes"
   10595 		fi
   10596 	fi
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 xorg_testset_save_CFLAGS="$CFLAGS"
   10613 
   10614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10619 then :
   10620   printf %s "(cached) " >&6
   10621 else $as_nop
   10622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10623 /* end confdefs.h.  */
   10624 int i;
   10625 _ACEOF
   10626 if ac_fn_c_try_compile "$LINENO"
   10627 then :
   10628   xorg_cv_cc_flag_unknown_warning_option=yes
   10629 else $as_nop
   10630   xorg_cv_cc_flag_unknown_warning_option=no
   10631 fi
   10632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10633 fi
   10634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10637 	CFLAGS="$xorg_testset_save_CFLAGS"
   10638 fi
   10639 
   10640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10643 	fi
   10644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10648 then :
   10649   printf %s "(cached) " >&6
   10650 else $as_nop
   10651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10652 /* end confdefs.h.  */
   10653 int i;
   10654 _ACEOF
   10655 if ac_fn_c_try_compile "$LINENO"
   10656 then :
   10657   xorg_cv_cc_flag_unused_command_line_argument=yes
   10658 else $as_nop
   10659   xorg_cv_cc_flag_unused_command_line_argument=no
   10660 fi
   10661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10662 fi
   10663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10666 	CFLAGS="$xorg_testset_save_CFLAGS"
   10667 fi
   10668 
   10669 found="no"
   10670 
   10671 	if test $found = "no" ; then
   10672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10674 		fi
   10675 
   10676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10678 		fi
   10679 
   10680 		CFLAGS="$CFLAGS -Werror"
   10681 
   10682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10683 printf %s "checking if $CC supports -Werror... " >&6; }
   10684 		cacheid=xorg_cv_cc_flag__Werror
   10685 		if eval test \${$cacheid+y}
   10686 then :
   10687   printf %s "(cached) " >&6
   10688 else $as_nop
   10689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10690 /* end confdefs.h.  */
   10691 int i;
   10692 int
   10693 main (void)
   10694 {
   10695 
   10696   ;
   10697   return 0;
   10698 }
   10699 _ACEOF
   10700 if ac_fn_c_try_link "$LINENO"
   10701 then :
   10702   eval $cacheid=yes
   10703 else $as_nop
   10704   eval $cacheid=no
   10705 fi
   10706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10707     conftest$ac_exeext conftest.$ac_ext
   10708 fi
   10709 
   10710 
   10711 		CFLAGS="$xorg_testset_save_CFLAGS"
   10712 
   10713 		eval supported=\$$cacheid
   10714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10715 printf "%s\n" "$supported" >&6; }
   10716 		if test "$supported" = "yes" ; then
   10717 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10718 			found="yes"
   10719 		fi
   10720 	fi
   10721 
   10722 	if test $found = "no" ; then
   10723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10725 		fi
   10726 
   10727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10729 		fi
   10730 
   10731 		CFLAGS="$CFLAGS -errwarn"
   10732 
   10733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10734 printf %s "checking if $CC supports -errwarn... " >&6; }
   10735 		cacheid=xorg_cv_cc_flag__errwarn
   10736 		if eval test \${$cacheid+y}
   10737 then :
   10738   printf %s "(cached) " >&6
   10739 else $as_nop
   10740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10741 /* end confdefs.h.  */
   10742 int i;
   10743 int
   10744 main (void)
   10745 {
   10746 
   10747   ;
   10748   return 0;
   10749 }
   10750 _ACEOF
   10751 if ac_fn_c_try_link "$LINENO"
   10752 then :
   10753   eval $cacheid=yes
   10754 else $as_nop
   10755   eval $cacheid=no
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10758     conftest$ac_exeext conftest.$ac_ext
   10759 fi
   10760 
   10761 
   10762 		CFLAGS="$xorg_testset_save_CFLAGS"
   10763 
   10764 		eval supported=\$$cacheid
   10765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10766 printf "%s\n" "$supported" >&6; }
   10767 		if test "$supported" = "yes" ; then
   10768 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10769 			found="yes"
   10770 		fi
   10771 	fi
   10772 
   10773 
   10774 
   10775 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10776 # activate it with -Werror, so we add it here explicitly.
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 xorg_testset_save_CFLAGS="$CFLAGS"
   10791 
   10792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10795 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10796 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10797 then :
   10798   printf %s "(cached) " >&6
   10799 else $as_nop
   10800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10801 /* end confdefs.h.  */
   10802 int i;
   10803 _ACEOF
   10804 if ac_fn_c_try_compile "$LINENO"
   10805 then :
   10806   xorg_cv_cc_flag_unknown_warning_option=yes
   10807 else $as_nop
   10808   xorg_cv_cc_flag_unknown_warning_option=no
   10809 fi
   10810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10811 fi
   10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10813 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10815 	CFLAGS="$xorg_testset_save_CFLAGS"
   10816 fi
   10817 
   10818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10821 	fi
   10822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10824 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10825 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10826 then :
   10827   printf %s "(cached) " >&6
   10828 else $as_nop
   10829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10830 /* end confdefs.h.  */
   10831 int i;
   10832 _ACEOF
   10833 if ac_fn_c_try_compile "$LINENO"
   10834 then :
   10835   xorg_cv_cc_flag_unused_command_line_argument=yes
   10836 else $as_nop
   10837   xorg_cv_cc_flag_unused_command_line_argument=no
   10838 fi
   10839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10840 fi
   10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10842 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10844 	CFLAGS="$xorg_testset_save_CFLAGS"
   10845 fi
   10846 
   10847 found="no"
   10848 
   10849 	if test $found = "no" ; then
   10850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10852 		fi
   10853 
   10854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10856 		fi
   10857 
   10858 		CFLAGS="$CFLAGS -Werror=attributes"
   10859 
   10860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10861 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10862 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10863 		if eval test \${$cacheid+y}
   10864 then :
   10865   printf %s "(cached) " >&6
   10866 else $as_nop
   10867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 int i;
   10870 int
   10871 main (void)
   10872 {
   10873 
   10874   ;
   10875   return 0;
   10876 }
   10877 _ACEOF
   10878 if ac_fn_c_try_link "$LINENO"
   10879 then :
   10880   eval $cacheid=yes
   10881 else $as_nop
   10882   eval $cacheid=no
   10883 fi
   10884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10885     conftest$ac_exeext conftest.$ac_ext
   10886 fi
   10887 
   10888 
   10889 		CFLAGS="$xorg_testset_save_CFLAGS"
   10890 
   10891 		eval supported=\$$cacheid
   10892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10893 printf "%s\n" "$supported" >&6; }
   10894 		if test "$supported" = "yes" ; then
   10895 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10896 			found="yes"
   10897 		fi
   10898 	fi
   10899 
   10900 
   10901 
   10902 if test "x$STRICT_COMPILE" = "xyes"; then
   10903     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10904     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10905 fi
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 cat >>confdefs.h <<_ACEOF
   10915 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10916 _ACEOF
   10917 
   10918 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10919 	if test "x$PVM" = "x"; then
   10920 		PVM="0"
   10921 	fi
   10922 
   10923 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10924 
   10925 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10926 	if test "x$PVP" = "x"; then
   10927 		PVP="0"
   10928 	fi
   10929 
   10930 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10931 
   10932 
   10933 
   10934 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10935 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10936 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10937 touch \$(top_srcdir)/ChangeLog; \
   10938 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10939 
   10940 
   10941 
   10942 
   10943 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10944 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10945 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10946 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10947 touch \$(top_srcdir)/INSTALL; \
   10948 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 case $host_os in
   10956     solaris*)
   10957         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10958         # check for a man page file found in later versions that use
   10959         # traditional section numbers instead
   10960         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10961 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10962 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10963 then :
   10964   printf %s "(cached) " >&6
   10965 else $as_nop
   10966   test "$cross_compiling" = yes &&
   10967   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10968 if test -r "/usr/share/man/man7/attributes.7"; then
   10969   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10970 else
   10971   ac_cv_file__usr_share_man_man7_attributes_7=no
   10972 fi
   10973 fi
   10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10975 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10976 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10977 then :
   10978   SYSV_MAN_SECTIONS=false
   10979 else $as_nop
   10980   SYSV_MAN_SECTIONS=true
   10981 fi
   10982 
   10983         ;;
   10984     *) SYSV_MAN_SECTIONS=false ;;
   10985 esac
   10986 
   10987 if test x$APP_MAN_SUFFIX = x    ; then
   10988     APP_MAN_SUFFIX=1
   10989 fi
   10990 if test x$APP_MAN_DIR = x    ; then
   10991     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10992 fi
   10993 
   10994 if test x$LIB_MAN_SUFFIX = x    ; then
   10995     LIB_MAN_SUFFIX=3
   10996 fi
   10997 if test x$LIB_MAN_DIR = x    ; then
   10998     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10999 fi
   11000 
   11001 if test x$FILE_MAN_SUFFIX = x    ; then
   11002     case $SYSV_MAN_SECTIONS in
   11003 	true)				FILE_MAN_SUFFIX=4  ;;
   11004 	*)				FILE_MAN_SUFFIX=5  ;;
   11005     esac
   11006 fi
   11007 if test x$FILE_MAN_DIR = x    ; then
   11008     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11009 fi
   11010 
   11011 if test x$MISC_MAN_SUFFIX = x    ; then
   11012     case $SYSV_MAN_SECTIONS in
   11013 	true)				MISC_MAN_SUFFIX=5  ;;
   11014 	*)				MISC_MAN_SUFFIX=7  ;;
   11015     esac
   11016 fi
   11017 if test x$MISC_MAN_DIR = x    ; then
   11018     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11019 fi
   11020 
   11021 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11022     case $SYSV_MAN_SECTIONS in
   11023 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11024 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11025     esac
   11026 fi
   11027 if test x$DRIVER_MAN_DIR = x    ; then
   11028     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11029 fi
   11030 
   11031 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11032     case $SYSV_MAN_SECTIONS in
   11033 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11034 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11035     esac
   11036 fi
   11037 if test x$ADMIN_MAN_DIR = x    ; then
   11038     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11039 fi
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 XORG_MAN_PAGE="X Version 11"
   11056 
   11057 MAN_SUBSTS="\
   11058 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11059 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11060 	-e 's|__xservername__|Xorg|g' \
   11061 	-e 's|__xconfigfile__|xorg.conf|g' \
   11062 	-e 's|__projectroot__|\$(prefix)|g' \
   11063 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11064 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11065 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11066 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11067 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11068 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11069 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11070 
   11071 
   11072 
   11073 # Check whether --enable-silent-rules was given.
   11074 if test ${enable_silent_rules+y}
   11075 then :
   11076   enableval=$enable_silent_rules;
   11077 fi
   11078 
   11079 case $enable_silent_rules in # (((
   11080   yes) AM_DEFAULT_VERBOSITY=0;;
   11081    no) AM_DEFAULT_VERBOSITY=1;;
   11082     *) AM_DEFAULT_VERBOSITY=0;;
   11083 esac
   11084 am_make=${MAKE-make}
   11085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11086 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11087 if test ${am_cv_make_support_nested_variables+y}
   11088 then :
   11089   printf %s "(cached) " >&6
   11090 else $as_nop
   11091   if printf "%s\n" 'TRUE=$(BAR$(V))
   11092 BAR0=false
   11093 BAR1=true
   11094 V=1
   11095 am__doit:
   11096 	@$(TRUE)
   11097 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11098   am_cv_make_support_nested_variables=yes
   11099 else
   11100   am_cv_make_support_nested_variables=no
   11101 fi
   11102 fi
   11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11104 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11105 if test $am_cv_make_support_nested_variables = yes; then
   11106     AM_V='$(V)'
   11107   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11108 else
   11109   AM_V=$AM_DEFAULT_VERBOSITY
   11110   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11111 fi
   11112 AM_BACKSLASH='\'
   11113 
   11114 
   11115 
   11116 
   11117 # Checks for pkg-config packages
   11118 
   11119 pkg_failed=no
   11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XEYES" >&5
   11121 printf %s "checking for XEYES... " >&6; }
   11122 
   11123 if test -n "$XEYES_CFLAGS"; then
   11124     pkg_cv_XEYES_CFLAGS="$XEYES_CFLAGS"
   11125  elif test -n "$PKG_CONFIG"; then
   11126     if test -n "$PKG_CONFIG" && \
   11127     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17\""; } >&5
   11128   ($PKG_CONFIG --exists --print-errors "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17") 2>&5
   11129   ac_status=$?
   11130   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11131   test $ac_status = 0; }; then
   11132   pkg_cv_XEYES_CFLAGS=`$PKG_CONFIG --cflags "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17" 2>/dev/null`
   11133 		      test "x$?" != "x0" && pkg_failed=yes
   11134 else
   11135   pkg_failed=yes
   11136 fi
   11137  else
   11138     pkg_failed=untried
   11139 fi
   11140 if test -n "$XEYES_LIBS"; then
   11141     pkg_cv_XEYES_LIBS="$XEYES_LIBS"
   11142  elif test -n "$PKG_CONFIG"; then
   11143     if test -n "$PKG_CONFIG" && \
   11144     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17\""; } >&5
   11145   ($PKG_CONFIG --exists --print-errors "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17") 2>&5
   11146   ac_status=$?
   11147   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11148   test $ac_status = 0; }; then
   11149   pkg_cv_XEYES_LIBS=`$PKG_CONFIG --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17" 2>/dev/null`
   11150 		      test "x$?" != "x0" && pkg_failed=yes
   11151 else
   11152   pkg_failed=yes
   11153 fi
   11154  else
   11155     pkg_failed=untried
   11156 fi
   11157 
   11158 
   11159 
   11160 if test $pkg_failed = yes; then
   11161    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11162 printf "%s\n" "no" >&6; }
   11163 
   11164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11165         _pkg_short_errors_supported=yes
   11166 else
   11167         _pkg_short_errors_supported=no
   11168 fi
   11169         if test $_pkg_short_errors_supported = yes; then
   11170 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17" 2>&1`
   11171         else
   11172 	        XEYES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17" 2>&1`
   11173         fi
   11174 	# Put the nasty error message in config.log where it belongs
   11175 	echo "$XEYES_PKG_ERRORS" >&5
   11176 
   11177 	as_fn_error $? "Package requirements (xi >= 1.7 x11 xt xext xmu xproto >= 7.0.17) were not met:
   11178 
   11179 $XEYES_PKG_ERRORS
   11180 
   11181 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11182 installed software in a non-standard prefix.
   11183 
   11184 Alternatively, you may set the environment variables XEYES_CFLAGS
   11185 and XEYES_LIBS to avoid the need to call pkg-config.
   11186 See the pkg-config man page for more details." "$LINENO" 5
   11187 elif test $pkg_failed = untried; then
   11188      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11189 printf "%s\n" "no" >&6; }
   11190 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11192 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11193 is in your PATH or set the PKG_CONFIG environment variable to the full
   11194 path to pkg-config.
   11195 
   11196 Alternatively, you may set the environment variables XEYES_CFLAGS
   11197 and XEYES_LIBS to avoid the need to call pkg-config.
   11198 See the pkg-config man page for more details.
   11199 
   11200 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11201 See \`config.log' for more details" "$LINENO" 5; }
   11202 else
   11203 	XEYES_CFLAGS=$pkg_cv_XEYES_CFLAGS
   11204 	XEYES_LIBS=$pkg_cv_XEYES_LIBS
   11205         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11206 printf "%s\n" "yes" >&6; }
   11207 
   11208 fi
   11209 
   11210 
   11211 # Check whether --with-xrender was given.
   11212 if test ${with_xrender+y}
   11213 then :
   11214   withval=$with_xrender; use_xrender="$withval"
   11215 else $as_nop
   11216   use_xrender="try"
   11217 fi
   11218 
   11219 if test x$use_xrender != xno ; then
   11220 
   11221 pkg_failed=no
   11222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   11223 printf %s "checking for XRENDER... " >&6; }
   11224 
   11225 if test -n "$XRENDER_CFLAGS"; then
   11226     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   11227  elif test -n "$PKG_CONFIG"; then
   11228     if test -n "$PKG_CONFIG" && \
   11229     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
   11230   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
   11231   ac_status=$?
   11232   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11233   test $ac_status = 0; }; then
   11234   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.4" 2>/dev/null`
   11235 		      test "x$?" != "x0" && pkg_failed=yes
   11236 else
   11237   pkg_failed=yes
   11238 fi
   11239  else
   11240     pkg_failed=untried
   11241 fi
   11242 if test -n "$XRENDER_LIBS"; then
   11243     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   11244  elif test -n "$PKG_CONFIG"; then
   11245     if test -n "$PKG_CONFIG" && \
   11246     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.4\""; } >&5
   11247   ($PKG_CONFIG --exists --print-errors "xrender >= 0.4") 2>&5
   11248   ac_status=$?
   11249   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11250   test $ac_status = 0; }; then
   11251   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.4" 2>/dev/null`
   11252 		      test "x$?" != "x0" && pkg_failed=yes
   11253 else
   11254   pkg_failed=yes
   11255 fi
   11256  else
   11257     pkg_failed=untried
   11258 fi
   11259 
   11260 
   11261 
   11262 if test $pkg_failed = yes; then
   11263    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11264 printf "%s\n" "no" >&6; }
   11265 
   11266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11267         _pkg_short_errors_supported=yes
   11268 else
   11269         _pkg_short_errors_supported=no
   11270 fi
   11271         if test $_pkg_short_errors_supported = yes; then
   11272 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   11273         else
   11274 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.4" 2>&1`
   11275         fi
   11276 	# Put the nasty error message in config.log where it belongs
   11277 	echo "$XRENDER_PKG_ERRORS" >&5
   11278 
   11279 	as_fn_error $? "Package requirements (xrender >= 0.4) were not met:
   11280 
   11281 $XRENDER_PKG_ERRORS
   11282 
   11283 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11284 installed software in a non-standard prefix.
   11285 
   11286 Alternatively, you may set the environment variables XRENDER_CFLAGS
   11287 and XRENDER_LIBS to avoid the need to call pkg-config.
   11288 See the pkg-config man page for more details." "$LINENO" 5
   11289 elif test $pkg_failed = untried; then
   11290      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11291 printf "%s\n" "no" >&6; }
   11292 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11293 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11294 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11295 is in your PATH or set the PKG_CONFIG environment variable to the full
   11296 path to pkg-config.
   11297 
   11298 Alternatively, you may set the environment variables XRENDER_CFLAGS
   11299 and XRENDER_LIBS to avoid the need to call pkg-config.
   11300 See the pkg-config man page for more details.
   11301 
   11302 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11303 See \`config.log' for more details" "$LINENO" 5; }
   11304 else
   11305 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   11306 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   11307         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11308 printf "%s\n" "yes" >&6; }
   11309 
   11310 fi
   11311 
   11312 printf "%s\n" "#define XRENDER 1" >>confdefs.h
   11313 
   11314 fi
   11315 
   11316 
   11317 # Check whether --with-present was given.
   11318 if test ${with_present+y}
   11319 then :
   11320   withval=$with_present; use_present="$withval"
   11321 else $as_nop
   11322   use_present="try"
   11323 fi
   11324 
   11325 if test x$use_present != xno ; then
   11326 
   11327 pkg_failed=no
   11328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PRESENT" >&5
   11329 printf %s "checking for PRESENT... " >&6; }
   11330 
   11331 if test -n "$PRESENT_CFLAGS"; then
   11332     pkg_cv_PRESENT_CFLAGS="$PRESENT_CFLAGS"
   11333  elif test -n "$PKG_CONFIG"; then
   11334     if test -n "$PKG_CONFIG" && \
   11335     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage\""; } >&5
   11336   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage") 2>&5
   11337   ac_status=$?
   11338   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11339   test $ac_status = 0; }; then
   11340   pkg_cv_PRESENT_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>/dev/null`
   11341 		      test "x$?" != "x0" && pkg_failed=yes
   11342 else
   11343   pkg_failed=yes
   11344 fi
   11345  else
   11346     pkg_failed=untried
   11347 fi
   11348 if test -n "$PRESENT_LIBS"; then
   11349     pkg_cv_PRESENT_LIBS="$PRESENT_LIBS"
   11350  elif test -n "$PKG_CONFIG"; then
   11351     if test -n "$PKG_CONFIG" && \
   11352     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage\""; } >&5
   11353   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage") 2>&5
   11354   ac_status=$?
   11355   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11356   test $ac_status = 0; }; then
   11357   pkg_cv_PRESENT_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>/dev/null`
   11358 		      test "x$?" != "x0" && pkg_failed=yes
   11359 else
   11360   pkg_failed=yes
   11361 fi
   11362  else
   11363     pkg_failed=untried
   11364 fi
   11365 
   11366 
   11367 
   11368 if test $pkg_failed = yes; then
   11369    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11370 printf "%s\n" "no" >&6; }
   11371 
   11372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11373         _pkg_short_errors_supported=yes
   11374 else
   11375         _pkg_short_errors_supported=no
   11376 fi
   11377         if test $_pkg_short_errors_supported = yes; then
   11378 	        PRESENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>&1`
   11379         else
   11380 	        PRESENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage" 2>&1`
   11381         fi
   11382 	# Put the nasty error message in config.log where it belongs
   11383 	echo "$PRESENT_PKG_ERRORS" >&5
   11384 
   11385 	as_fn_error $? "Package requirements (x11-xcb xcb-present >= 1.9 xcb-xfixes xcb-damage) were not met:
   11386 
   11387 $PRESENT_PKG_ERRORS
   11388 
   11389 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11390 installed software in a non-standard prefix.
   11391 
   11392 Alternatively, you may set the environment variables PRESENT_CFLAGS
   11393 and PRESENT_LIBS to avoid the need to call pkg-config.
   11394 See the pkg-config man page for more details." "$LINENO" 5
   11395 elif test $pkg_failed = untried; then
   11396      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11397 printf "%s\n" "no" >&6; }
   11398 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11399 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11400 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11401 is in your PATH or set the PKG_CONFIG environment variable to the full
   11402 path to pkg-config.
   11403 
   11404 Alternatively, you may set the environment variables PRESENT_CFLAGS
   11405 and PRESENT_LIBS to avoid the need to call pkg-config.
   11406 See the pkg-config man page for more details.
   11407 
   11408 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11409 See \`config.log' for more details" "$LINENO" 5; }
   11410 else
   11411 	PRESENT_CFLAGS=$pkg_cv_PRESENT_CFLAGS
   11412 	PRESENT_LIBS=$pkg_cv_PRESENT_LIBS
   11413         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11414 printf "%s\n" "yes" >&6; }
   11415 
   11416 fi
   11417 
   11418 printf "%s\n" "#define PRESENT 1" >>confdefs.h
   11419 
   11420 fi
   11421 
   11422 ac_config_files="$ac_config_files Makefile man/Makefile"
   11423 
   11424 cat >confcache <<\_ACEOF
   11425 # This file is a shell script that caches the results of configure
   11426 # tests run on this system so they can be shared between configure
   11427 # scripts and configure runs, see configure's option --config-cache.
   11428 # It is not useful on other systems.  If it contains results you don't
   11429 # want to keep, you may remove or edit it.
   11430 #
   11431 # config.status only pays attention to the cache file if you give it
   11432 # the --recheck option to rerun configure.
   11433 #
   11434 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11435 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11436 # following values.
   11437 
   11438 _ACEOF
   11439 
   11440 # The following way of writing the cache mishandles newlines in values,
   11441 # but we know of no workaround that is simple, portable, and efficient.
   11442 # So, we kill variables containing newlines.
   11443 # Ultrix sh set writes to stderr and can't be redirected directly,
   11444 # and sets the high bit in the cache file unless we assign to the vars.
   11445 (
   11446   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11447     eval ac_val=\$$ac_var
   11448     case $ac_val in #(
   11449     *${as_nl}*)
   11450       case $ac_var in #(
   11451       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11452 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11453       esac
   11454       case $ac_var in #(
   11455       _ | IFS | as_nl) ;; #(
   11456       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11457       *) { eval $ac_var=; unset $ac_var;} ;;
   11458       esac ;;
   11459     esac
   11460   done
   11461 
   11462   (set) 2>&1 |
   11463     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11464     *${as_nl}ac_space=\ *)
   11465       # `set' does not quote correctly, so add quotes: double-quote
   11466       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11467       sed -n \
   11468 	"s/'/'\\\\''/g;
   11469 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11470       ;; #(
   11471     *)
   11472       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11473       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11474       ;;
   11475     esac |
   11476     sort
   11477 ) |
   11478   sed '
   11479      /^ac_cv_env_/b end
   11480      t clear
   11481      :clear
   11482      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11483      t end
   11484      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11485      :end' >>confcache
   11486 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11487   if test -w "$cache_file"; then
   11488     if test "x$cache_file" != "x/dev/null"; then
   11489       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11490 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11491       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11492 	cat confcache >"$cache_file"
   11493       else
   11494         case $cache_file in #(
   11495         */* | ?:*)
   11496 	  mv -f confcache "$cache_file"$$ &&
   11497 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11498         *)
   11499 	  mv -f confcache "$cache_file" ;;
   11500 	esac
   11501       fi
   11502     fi
   11503   else
   11504     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11505 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11506   fi
   11507 fi
   11508 rm -f confcache
   11509 
   11510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11511 # Let make expand exec_prefix.
   11512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11513 
   11514 DEFS=-DHAVE_CONFIG_H
   11515 
   11516 ac_libobjs=
   11517 ac_ltlibobjs=
   11518 U=
   11519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11520   # 1. Remove the extension, and $U if already installed.
   11521   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11522   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11523   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11524   #    will be set to the directory where LIBOBJS objects are built.
   11525   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11526   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11527 done
   11528 LIBOBJS=$ac_libobjs
   11529 
   11530 LTLIBOBJS=$ac_ltlibobjs
   11531 
   11532 
   11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11534 printf %s "checking that generated files are newer than configure... " >&6; }
   11535    if test -n "$am_sleep_pid"; then
   11536      # Hide warnings about reused PIDs.
   11537      wait $am_sleep_pid 2>/dev/null
   11538    fi
   11539    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11540 printf "%s\n" "done" >&6; }
   11541  if test -n "$EXEEXT"; then
   11542   am__EXEEXT_TRUE=
   11543   am__EXEEXT_FALSE='#'
   11544 else
   11545   am__EXEEXT_TRUE='#'
   11546   am__EXEEXT_FALSE=
   11547 fi
   11548 
   11549 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11550   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11552 fi
   11553 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11554   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11556 fi
   11557 
   11558 : "${CONFIG_STATUS=./config.status}"
   11559 ac_write_fail=0
   11560 ac_clean_files_save=$ac_clean_files
   11561 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11563 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11564 as_write_fail=0
   11565 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11566 #! $SHELL
   11567 # Generated by $as_me.
   11568 # Run this file to recreate the current configuration.
   11569 # Compiler output produced by configure, useful for debugging
   11570 # configure, is in config.log if it exists.
   11571 
   11572 debug=false
   11573 ac_cs_recheck=false
   11574 ac_cs_silent=false
   11575 
   11576 SHELL=\${CONFIG_SHELL-$SHELL}
   11577 export SHELL
   11578 _ASEOF
   11579 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11580 ## -------------------- ##
   11581 ## M4sh Initialization. ##
   11582 ## -------------------- ##
   11583 
   11584 # Be more Bourne compatible
   11585 DUALCASE=1; export DUALCASE # for MKS sh
   11586 as_nop=:
   11587 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11588 then :
   11589   emulate sh
   11590   NULLCMD=:
   11591   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11592   # is contrary to our usage.  Disable this feature.
   11593   alias -g '${1+"$@"}'='"$@"'
   11594   setopt NO_GLOB_SUBST
   11595 else $as_nop
   11596   case `(set -o) 2>/dev/null` in #(
   11597   *posix*) :
   11598     set -o posix ;; #(
   11599   *) :
   11600      ;;
   11601 esac
   11602 fi
   11603 
   11604 
   11605 
   11606 # Reset variables that may have inherited troublesome values from
   11607 # the environment.
   11608 
   11609 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11610 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11611 # side effect of setting IFS to empty, thus disabling word splitting.)
   11612 # Quoting is to prevent editors from complaining about space-tab.
   11613 as_nl='
   11614 '
   11615 export as_nl
   11616 IFS=" ""	$as_nl"
   11617 
   11618 PS1='$ '
   11619 PS2='> '
   11620 PS4='+ '
   11621 
   11622 # Ensure predictable behavior from utilities with locale-dependent output.
   11623 LC_ALL=C
   11624 export LC_ALL
   11625 LANGUAGE=C
   11626 export LANGUAGE
   11627 
   11628 # We cannot yet rely on "unset" to work, but we need these variables
   11629 # to be unset--not just set to an empty or harmless value--now, to
   11630 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11631 # also avoids known problems related to "unset" and subshell syntax
   11632 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11633 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11634 do eval test \${$as_var+y} \
   11635   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11636 done
   11637 
   11638 # Ensure that fds 0, 1, and 2 are open.
   11639 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11640 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11641 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11642 
   11643 # The user is always right.
   11644 if ${PATH_SEPARATOR+false} :; then
   11645   PATH_SEPARATOR=:
   11646   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11647     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11648       PATH_SEPARATOR=';'
   11649   }
   11650 fi
   11651 
   11652 
   11653 # Find who we are.  Look in the path if we contain no directory separator.
   11654 as_myself=
   11655 case $0 in #((
   11656   *[\\/]* ) as_myself=$0 ;;
   11657   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11658 for as_dir in $PATH
   11659 do
   11660   IFS=$as_save_IFS
   11661   case $as_dir in #(((
   11662     '') as_dir=./ ;;
   11663     */) ;;
   11664     *) as_dir=$as_dir/ ;;
   11665   esac
   11666     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11667   done
   11668 IFS=$as_save_IFS
   11669 
   11670      ;;
   11671 esac
   11672 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11673 # in which case we are not to be found in the path.
   11674 if test "x$as_myself" = x; then
   11675   as_myself=$0
   11676 fi
   11677 if test ! -f "$as_myself"; then
   11678   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11679   exit 1
   11680 fi
   11681 
   11682 
   11683 
   11684 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11685 # ----------------------------------------
   11686 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11687 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11688 # script with STATUS, using 1 if that was 0.
   11689 as_fn_error ()
   11690 {
   11691   as_status=$1; test $as_status -eq 0 && as_status=1
   11692   if test "$4"; then
   11693     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11694     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11695   fi
   11696   printf "%s\n" "$as_me: error: $2" >&2
   11697   as_fn_exit $as_status
   11698 } # as_fn_error
   11699 
   11700 
   11701 
   11702 # as_fn_set_status STATUS
   11703 # -----------------------
   11704 # Set $? to STATUS, without forking.
   11705 as_fn_set_status ()
   11706 {
   11707   return $1
   11708 } # as_fn_set_status
   11709 
   11710 # as_fn_exit STATUS
   11711 # -----------------
   11712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11713 as_fn_exit ()
   11714 {
   11715   set +e
   11716   as_fn_set_status $1
   11717   exit $1
   11718 } # as_fn_exit
   11719 
   11720 # as_fn_unset VAR
   11721 # ---------------
   11722 # Portably unset VAR.
   11723 as_fn_unset ()
   11724 {
   11725   { eval $1=; unset $1;}
   11726 }
   11727 as_unset=as_fn_unset
   11728 
   11729 # as_fn_append VAR VALUE
   11730 # ----------------------
   11731 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11732 # advantage of any shell optimizations that allow amortized linear growth over
   11733 # repeated appends, instead of the typical quadratic growth present in naive
   11734 # implementations.
   11735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11736 then :
   11737   eval 'as_fn_append ()
   11738   {
   11739     eval $1+=\$2
   11740   }'
   11741 else $as_nop
   11742   as_fn_append ()
   11743   {
   11744     eval $1=\$$1\$2
   11745   }
   11746 fi # as_fn_append
   11747 
   11748 # as_fn_arith ARG...
   11749 # ------------------
   11750 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11751 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11752 # must be portable across $(()) and expr.
   11753 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11754 then :
   11755   eval 'as_fn_arith ()
   11756   {
   11757     as_val=$(( $* ))
   11758   }'
   11759 else $as_nop
   11760   as_fn_arith ()
   11761   {
   11762     as_val=`expr "$@" || test $? -eq 1`
   11763   }
   11764 fi # as_fn_arith
   11765 
   11766 
   11767 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11768    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11769   as_expr=expr
   11770 else
   11771   as_expr=false
   11772 fi
   11773 
   11774 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11775   as_basename=basename
   11776 else
   11777   as_basename=false
   11778 fi
   11779 
   11780 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11781   as_dirname=dirname
   11782 else
   11783   as_dirname=false
   11784 fi
   11785 
   11786 as_me=`$as_basename -- "$0" ||
   11787 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11788 	 X"$0" : 'X\(//\)$' \| \
   11789 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11790 printf "%s\n" X/"$0" |
   11791     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11792 	    s//\1/
   11793 	    q
   11794 	  }
   11795 	  /^X\/\(\/\/\)$/{
   11796 	    s//\1/
   11797 	    q
   11798 	  }
   11799 	  /^X\/\(\/\).*/{
   11800 	    s//\1/
   11801 	    q
   11802 	  }
   11803 	  s/.*/./; q'`
   11804 
   11805 # Avoid depending upon Character Ranges.
   11806 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11807 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11808 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11809 as_cr_digits='0123456789'
   11810 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11811 
   11812 
   11813 # Determine whether it's possible to make 'echo' print without a newline.
   11814 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11815 # for compatibility with existing Makefiles.
   11816 ECHO_C= ECHO_N= ECHO_T=
   11817 case `echo -n x` in #(((((
   11818 -n*)
   11819   case `echo 'xy\c'` in
   11820   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11821   xy)  ECHO_C='\c';;
   11822   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11823        ECHO_T='	';;
   11824   esac;;
   11825 *)
   11826   ECHO_N='-n';;
   11827 esac
   11828 
   11829 # For backward compatibility with old third-party macros, we provide
   11830 # the shell variables $as_echo and $as_echo_n.  New code should use
   11831 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11832 as_echo='printf %s\n'
   11833 as_echo_n='printf %s'
   11834 
   11835 rm -f conf$$ conf$$.exe conf$$.file
   11836 if test -d conf$$.dir; then
   11837   rm -f conf$$.dir/conf$$.file
   11838 else
   11839   rm -f conf$$.dir
   11840   mkdir conf$$.dir 2>/dev/null
   11841 fi
   11842 if (echo >conf$$.file) 2>/dev/null; then
   11843   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11844     as_ln_s='ln -s'
   11845     # ... but there are two gotchas:
   11846     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11847     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11848     # In both cases, we have to default to `cp -pR'.
   11849     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11850       as_ln_s='cp -pR'
   11851   elif ln conf$$.file conf$$ 2>/dev/null; then
   11852     as_ln_s=ln
   11853   else
   11854     as_ln_s='cp -pR'
   11855   fi
   11856 else
   11857   as_ln_s='cp -pR'
   11858 fi
   11859 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11860 rmdir conf$$.dir 2>/dev/null
   11861 
   11862 
   11863 # as_fn_mkdir_p
   11864 # -------------
   11865 # Create "$as_dir" as a directory, including parents if necessary.
   11866 as_fn_mkdir_p ()
   11867 {
   11868 
   11869   case $as_dir in #(
   11870   -*) as_dir=./$as_dir;;
   11871   esac
   11872   test -d "$as_dir" || eval $as_mkdir_p || {
   11873     as_dirs=
   11874     while :; do
   11875       case $as_dir in #(
   11876       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11877       *) as_qdir=$as_dir;;
   11878       esac
   11879       as_dirs="'$as_qdir' $as_dirs"
   11880       as_dir=`$as_dirname -- "$as_dir" ||
   11881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11882 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11883 	 X"$as_dir" : 'X\(//\)$' \| \
   11884 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11885 printf "%s\n" X"$as_dir" |
   11886     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11887 	    s//\1/
   11888 	    q
   11889 	  }
   11890 	  /^X\(\/\/\)[^/].*/{
   11891 	    s//\1/
   11892 	    q
   11893 	  }
   11894 	  /^X\(\/\/\)$/{
   11895 	    s//\1/
   11896 	    q
   11897 	  }
   11898 	  /^X\(\/\).*/{
   11899 	    s//\1/
   11900 	    q
   11901 	  }
   11902 	  s/.*/./; q'`
   11903       test -d "$as_dir" && break
   11904     done
   11905     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11906   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11907 
   11908 
   11909 } # as_fn_mkdir_p
   11910 if mkdir -p . 2>/dev/null; then
   11911   as_mkdir_p='mkdir -p "$as_dir"'
   11912 else
   11913   test -d ./-p && rmdir ./-p
   11914   as_mkdir_p=false
   11915 fi
   11916 
   11917 
   11918 # as_fn_executable_p FILE
   11919 # -----------------------
   11920 # Test if FILE is an executable regular file.
   11921 as_fn_executable_p ()
   11922 {
   11923   test -f "$1" && test -x "$1"
   11924 } # as_fn_executable_p
   11925 as_test_x='test -x'
   11926 as_executable_p=as_fn_executable_p
   11927 
   11928 # Sed expression to map a string onto a valid CPP name.
   11929 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11930 
   11931 # Sed expression to map a string onto a valid variable name.
   11932 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11933 
   11934 
   11935 exec 6>&1
   11936 ## ----------------------------------- ##
   11937 ## Main body of $CONFIG_STATUS script. ##
   11938 ## ----------------------------------- ##
   11939 _ASEOF
   11940 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11941 
   11942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11943 # Save the log message, to keep $0 and so on meaningful, and to
   11944 # report actual input values of CONFIG_FILES etc. instead of their
   11945 # values after options handling.
   11946 ac_log="
   11947 This file was extended by xeyes $as_me 1.3.0, which was
   11948 generated by GNU Autoconf 2.71.  Invocation command line was
   11949 
   11950   CONFIG_FILES    = $CONFIG_FILES
   11951   CONFIG_HEADERS  = $CONFIG_HEADERS
   11952   CONFIG_LINKS    = $CONFIG_LINKS
   11953   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11954   $ $0 $@
   11955 
   11956 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11957 "
   11958 
   11959 _ACEOF
   11960 
   11961 case $ac_config_files in *"
   11962 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11963 esac
   11964 
   11965 case $ac_config_headers in *"
   11966 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11967 esac
   11968 
   11969 
   11970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11971 # Files that config.status was made for.
   11972 config_files="$ac_config_files"
   11973 config_headers="$ac_config_headers"
   11974 config_commands="$ac_config_commands"
   11975 
   11976 _ACEOF
   11977 
   11978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11979 ac_cs_usage="\
   11980 \`$as_me' instantiates files and other configuration actions
   11981 from templates according to the current configuration.  Unless the files
   11982 and actions are specified as TAGs, all are instantiated by default.
   11983 
   11984 Usage: $0 [OPTION]... [TAG]...
   11985 
   11986   -h, --help       print this help, then exit
   11987   -V, --version    print version number and configuration settings, then exit
   11988       --config     print configuration, then exit
   11989   -q, --quiet, --silent
   11990                    do not print progress messages
   11991   -d, --debug      don't remove temporary files
   11992       --recheck    update $as_me by reconfiguring in the same conditions
   11993       --file=FILE[:TEMPLATE]
   11994                    instantiate the configuration file FILE
   11995       --header=FILE[:TEMPLATE]
   11996                    instantiate the configuration header FILE
   11997 
   11998 Configuration files:
   11999 $config_files
   12000 
   12001 Configuration headers:
   12002 $config_headers
   12003 
   12004 Configuration commands:
   12005 $config_commands
   12006 
   12007 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xeyes/-/issues>."
   12008 
   12009 _ACEOF
   12010 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12011 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12013 ac_cs_config='$ac_cs_config_escaped'
   12014 ac_cs_version="\\
   12015 xeyes config.status 1.3.0
   12016 configured by $0, generated by GNU Autoconf 2.71,
   12017   with options \\"\$ac_cs_config\\"
   12018 
   12019 Copyright (C) 2021 Free Software Foundation, Inc.
   12020 This config.status script is free software; the Free Software Foundation
   12021 gives unlimited permission to copy, distribute and modify it."
   12022 
   12023 ac_pwd='$ac_pwd'
   12024 srcdir='$srcdir'
   12025 INSTALL='$INSTALL'
   12026 MKDIR_P='$MKDIR_P'
   12027 AWK='$AWK'
   12028 test -n "\$AWK" || AWK=awk
   12029 _ACEOF
   12030 
   12031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12032 # The default lists apply if the user does not specify any file.
   12033 ac_need_defaults=:
   12034 while test $# != 0
   12035 do
   12036   case $1 in
   12037   --*=?*)
   12038     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12039     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12040     ac_shift=:
   12041     ;;
   12042   --*=)
   12043     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12044     ac_optarg=
   12045     ac_shift=:
   12046     ;;
   12047   *)
   12048     ac_option=$1
   12049     ac_optarg=$2
   12050     ac_shift=shift
   12051     ;;
   12052   esac
   12053 
   12054   case $ac_option in
   12055   # Handling of the options.
   12056   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12057     ac_cs_recheck=: ;;
   12058   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12059     printf "%s\n" "$ac_cs_version"; exit ;;
   12060   --config | --confi | --conf | --con | --co | --c )
   12061     printf "%s\n" "$ac_cs_config"; exit ;;
   12062   --debug | --debu | --deb | --de | --d | -d )
   12063     debug=: ;;
   12064   --file | --fil | --fi | --f )
   12065     $ac_shift
   12066     case $ac_optarg in
   12067     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12068     '') as_fn_error $? "missing file argument" ;;
   12069     esac
   12070     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12071     ac_need_defaults=false;;
   12072   --header | --heade | --head | --hea )
   12073     $ac_shift
   12074     case $ac_optarg in
   12075     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12076     esac
   12077     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12078     ac_need_defaults=false;;
   12079   --he | --h)
   12080     # Conflict between --help and --header
   12081     as_fn_error $? "ambiguous option: \`$1'
   12082 Try \`$0 --help' for more information.";;
   12083   --help | --hel | -h )
   12084     printf "%s\n" "$ac_cs_usage"; exit ;;
   12085   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12086   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12087     ac_cs_silent=: ;;
   12088 
   12089   # This is an error.
   12090   -*) as_fn_error $? "unrecognized option: \`$1'
   12091 Try \`$0 --help' for more information." ;;
   12092 
   12093   *) as_fn_append ac_config_targets " $1"
   12094      ac_need_defaults=false ;;
   12095 
   12096   esac
   12097   shift
   12098 done
   12099 
   12100 ac_configure_extra_args=
   12101 
   12102 if $ac_cs_silent; then
   12103   exec 6>/dev/null
   12104   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12105 fi
   12106 
   12107 _ACEOF
   12108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12109 if \$ac_cs_recheck; then
   12110   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12111   shift
   12112   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12113   CONFIG_SHELL='$SHELL'
   12114   export CONFIG_SHELL
   12115   exec "\$@"
   12116 fi
   12117 
   12118 _ACEOF
   12119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12120 exec 5>>config.log
   12121 {
   12122   echo
   12123   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12124 ## Running $as_me. ##
   12125 _ASBOX
   12126   printf "%s\n" "$ac_log"
   12127 } >&5
   12128 
   12129 _ACEOF
   12130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12131 #
   12132 # INIT-COMMANDS
   12133 #
   12134 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12135 
   12136 _ACEOF
   12137 
   12138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12139 
   12140 # Handling of arguments.
   12141 for ac_config_target in $ac_config_targets
   12142 do
   12143   case $ac_config_target in
   12144     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12145     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12146     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12147     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12148 
   12149   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12150   esac
   12151 done
   12152 
   12153 
   12154 # If the user did not use the arguments to specify the items to instantiate,
   12155 # then the envvar interface is used.  Set only those that are not.
   12156 # We use the long form for the default assignment because of an extremely
   12157 # bizarre bug on SunOS 4.1.3.
   12158 if $ac_need_defaults; then
   12159   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12160   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12161   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12162 fi
   12163 
   12164 # Have a temporary directory for convenience.  Make it in the build tree
   12165 # simply because there is no reason against having it here, and in addition,
   12166 # creating and moving files from /tmp can sometimes cause problems.
   12167 # Hook for its removal unless debugging.
   12168 # Note that there is a small window in which the directory will not be cleaned:
   12169 # after its creation but before its name has been assigned to `$tmp'.
   12170 $debug ||
   12171 {
   12172   tmp= ac_tmp=
   12173   trap 'exit_status=$?
   12174   : "${ac_tmp:=$tmp}"
   12175   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12176 ' 0
   12177   trap 'as_fn_exit 1' 1 2 13 15
   12178 }
   12179 # Create a (secure) tmp directory for tmp files.
   12180 
   12181 {
   12182   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12183   test -d "$tmp"
   12184 }  ||
   12185 {
   12186   tmp=./conf$$-$RANDOM
   12187   (umask 077 && mkdir "$tmp")
   12188 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12189 ac_tmp=$tmp
   12190 
   12191 # Set up the scripts for CONFIG_FILES section.
   12192 # No need to generate them if there are no CONFIG_FILES.
   12193 # This happens for instance with `./config.status config.h'.
   12194 if test -n "$CONFIG_FILES"; then
   12195 
   12196 
   12197 ac_cr=`echo X | tr X '\015'`
   12198 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12199 # But we know of no other shell where ac_cr would be empty at this
   12200 # point, so we can use a bashism as a fallback.
   12201 if test "x$ac_cr" = x; then
   12202   eval ac_cr=\$\'\\r\'
   12203 fi
   12204 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12205 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12206   ac_cs_awk_cr='\\r'
   12207 else
   12208   ac_cs_awk_cr=$ac_cr
   12209 fi
   12210 
   12211 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12212 _ACEOF
   12213 
   12214 
   12215 {
   12216   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12217   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12218   echo "_ACEOF"
   12219 } >conf$$subs.sh ||
   12220   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12221 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12222 ac_delim='%!_!# '
   12223 for ac_last_try in false false false false false :; do
   12224   . ./conf$$subs.sh ||
   12225     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12226 
   12227   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12228   if test $ac_delim_n = $ac_delim_num; then
   12229     break
   12230   elif $ac_last_try; then
   12231     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12232   else
   12233     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12234   fi
   12235 done
   12236 rm -f conf$$subs.sh
   12237 
   12238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12239 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12240 _ACEOF
   12241 sed -n '
   12242 h
   12243 s/^/S["/; s/!.*/"]=/
   12244 p
   12245 g
   12246 s/^[^!]*!//
   12247 :repl
   12248 t repl
   12249 s/'"$ac_delim"'$//
   12250 t delim
   12251 :nl
   12252 h
   12253 s/\(.\{148\}\)..*/\1/
   12254 t more1
   12255 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12256 p
   12257 n
   12258 b repl
   12259 :more1
   12260 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12261 p
   12262 g
   12263 s/.\{148\}//
   12264 t nl
   12265 :delim
   12266 h
   12267 s/\(.\{148\}\)..*/\1/
   12268 t more2
   12269 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12270 p
   12271 b
   12272 :more2
   12273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12274 p
   12275 g
   12276 s/.\{148\}//
   12277 t delim
   12278 ' <conf$$subs.awk | sed '
   12279 /^[^""]/{
   12280   N
   12281   s/\n//
   12282 }
   12283 ' >>$CONFIG_STATUS || ac_write_fail=1
   12284 rm -f conf$$subs.awk
   12285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12286 _ACAWK
   12287 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12288   for (key in S) S_is_set[key] = 1
   12289   FS = ""
   12290 
   12291 }
   12292 {
   12293   line = $ 0
   12294   nfields = split(line, field, "@")
   12295   substed = 0
   12296   len = length(field[1])
   12297   for (i = 2; i < nfields; i++) {
   12298     key = field[i]
   12299     keylen = length(key)
   12300     if (S_is_set[key]) {
   12301       value = S[key]
   12302       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12303       len += length(value) + length(field[++i])
   12304       substed = 1
   12305     } else
   12306       len += 1 + keylen
   12307   }
   12308 
   12309   print line
   12310 }
   12311 
   12312 _ACAWK
   12313 _ACEOF
   12314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12315 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12316   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12317 else
   12318   cat
   12319 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12320   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12321 _ACEOF
   12322 
   12323 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12324 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12325 # trailing colons and then remove the whole line if VPATH becomes empty
   12326 # (actually we leave an empty line to preserve line numbers).
   12327 if test "x$srcdir" = x.; then
   12328   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12329 h
   12330 s///
   12331 s/^/:/
   12332 s/[	 ]*$/:/
   12333 s/:\$(srcdir):/:/g
   12334 s/:\${srcdir}:/:/g
   12335 s/:@srcdir@:/:/g
   12336 s/^:*//
   12337 s/:*$//
   12338 x
   12339 s/\(=[	 ]*\).*/\1/
   12340 G
   12341 s/\n//
   12342 s/^[^=]*=[	 ]*$//
   12343 }'
   12344 fi
   12345 
   12346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12347 fi # test -n "$CONFIG_FILES"
   12348 
   12349 # Set up the scripts for CONFIG_HEADERS section.
   12350 # No need to generate them if there are no CONFIG_HEADERS.
   12351 # This happens for instance with `./config.status Makefile'.
   12352 if test -n "$CONFIG_HEADERS"; then
   12353 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12354 BEGIN {
   12355 _ACEOF
   12356 
   12357 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12358 # here-document in config.status, that substitutes the proper values into
   12359 # config.h.in to produce config.h.
   12360 
   12361 # Create a delimiter string that does not exist in confdefs.h, to ease
   12362 # handling of long lines.
   12363 ac_delim='%!_!# '
   12364 for ac_last_try in false false :; do
   12365   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12366   if test -z "$ac_tt"; then
   12367     break
   12368   elif $ac_last_try; then
   12369     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12370   else
   12371     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12372   fi
   12373 done
   12374 
   12375 # For the awk script, D is an array of macro values keyed by name,
   12376 # likewise P contains macro parameters if any.  Preserve backslash
   12377 # newline sequences.
   12378 
   12379 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12380 sed -n '
   12381 s/.\{148\}/&'"$ac_delim"'/g
   12382 t rset
   12383 :rset
   12384 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12385 t def
   12386 d
   12387 :def
   12388 s/\\$//
   12389 t bsnl
   12390 s/["\\]/\\&/g
   12391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12392 D["\1"]=" \3"/p
   12393 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12394 d
   12395 :bsnl
   12396 s/["\\]/\\&/g
   12397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12398 D["\1"]=" \3\\\\\\n"\\/p
   12399 t cont
   12400 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12401 t cont
   12402 d
   12403 :cont
   12404 n
   12405 s/.\{148\}/&'"$ac_delim"'/g
   12406 t clear
   12407 :clear
   12408 s/\\$//
   12409 t bsnlc
   12410 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12411 d
   12412 :bsnlc
   12413 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12414 b cont
   12415 ' <confdefs.h | sed '
   12416 s/'"$ac_delim"'/"\\\
   12417 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12418 
   12419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12420   for (key in D) D_is_set[key] = 1
   12421   FS = ""
   12422 }
   12423 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12424   line = \$ 0
   12425   split(line, arg, " ")
   12426   if (arg[1] == "#") {
   12427     defundef = arg[2]
   12428     mac1 = arg[3]
   12429   } else {
   12430     defundef = substr(arg[1], 2)
   12431     mac1 = arg[2]
   12432   }
   12433   split(mac1, mac2, "(") #)
   12434   macro = mac2[1]
   12435   prefix = substr(line, 1, index(line, defundef) - 1)
   12436   if (D_is_set[macro]) {
   12437     # Preserve the white space surrounding the "#".
   12438     print prefix "define", macro P[macro] D[macro]
   12439     next
   12440   } else {
   12441     # Replace #undef with comments.  This is necessary, for example,
   12442     # in the case of _POSIX_SOURCE, which is predefined and required
   12443     # on some systems where configure will not decide to define it.
   12444     if (defundef == "undef") {
   12445       print "/*", prefix defundef, macro, "*/"
   12446       next
   12447     }
   12448   }
   12449 }
   12450 { print }
   12451 _ACAWK
   12452 _ACEOF
   12453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12454   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12455 fi # test -n "$CONFIG_HEADERS"
   12456 
   12457 
   12458 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12459 shift
   12460 for ac_tag
   12461 do
   12462   case $ac_tag in
   12463   :[FHLC]) ac_mode=$ac_tag; continue;;
   12464   esac
   12465   case $ac_mode$ac_tag in
   12466   :[FHL]*:*);;
   12467   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12468   :[FH]-) ac_tag=-:-;;
   12469   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12470   esac
   12471   ac_save_IFS=$IFS
   12472   IFS=:
   12473   set x $ac_tag
   12474   IFS=$ac_save_IFS
   12475   shift
   12476   ac_file=$1
   12477   shift
   12478 
   12479   case $ac_mode in
   12480   :L) ac_source=$1;;
   12481   :[FH])
   12482     ac_file_inputs=
   12483     for ac_f
   12484     do
   12485       case $ac_f in
   12486       -) ac_f="$ac_tmp/stdin";;
   12487       *) # Look for the file first in the build tree, then in the source tree
   12488 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12489 	 # because $ac_f cannot contain `:'.
   12490 	 test -f "$ac_f" ||
   12491 	   case $ac_f in
   12492 	   [\\/$]*) false;;
   12493 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12494 	   esac ||
   12495 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12496       esac
   12497       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12498       as_fn_append ac_file_inputs " '$ac_f'"
   12499     done
   12500 
   12501     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12502     # use $as_me), people would be surprised to read:
   12503     #    /* config.h.  Generated by config.status.  */
   12504     configure_input='Generated from '`
   12505 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12506 	`' by configure.'
   12507     if test x"$ac_file" != x-; then
   12508       configure_input="$ac_file.  $configure_input"
   12509       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12510 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12511     fi
   12512     # Neutralize special characters interpreted by sed in replacement strings.
   12513     case $configure_input in #(
   12514     *\&* | *\|* | *\\* )
   12515        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12516        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12517     *) ac_sed_conf_input=$configure_input;;
   12518     esac
   12519 
   12520     case $ac_tag in
   12521     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12522       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12523     esac
   12524     ;;
   12525   esac
   12526 
   12527   ac_dir=`$as_dirname -- "$ac_file" ||
   12528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12529 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12530 	 X"$ac_file" : 'X\(//\)$' \| \
   12531 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12532 printf "%s\n" X"$ac_file" |
   12533     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12534 	    s//\1/
   12535 	    q
   12536 	  }
   12537 	  /^X\(\/\/\)[^/].*/{
   12538 	    s//\1/
   12539 	    q
   12540 	  }
   12541 	  /^X\(\/\/\)$/{
   12542 	    s//\1/
   12543 	    q
   12544 	  }
   12545 	  /^X\(\/\).*/{
   12546 	    s//\1/
   12547 	    q
   12548 	  }
   12549 	  s/.*/./; q'`
   12550   as_dir="$ac_dir"; as_fn_mkdir_p
   12551   ac_builddir=.
   12552 
   12553 case "$ac_dir" in
   12554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12555 *)
   12556   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12557   # A ".." for each directory in $ac_dir_suffix.
   12558   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12559   case $ac_top_builddir_sub in
   12560   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12561   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12562   esac ;;
   12563 esac
   12564 ac_abs_top_builddir=$ac_pwd
   12565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12566 # for backward compatibility:
   12567 ac_top_builddir=$ac_top_build_prefix
   12568 
   12569 case $srcdir in
   12570   .)  # We are building in place.
   12571     ac_srcdir=.
   12572     ac_top_srcdir=$ac_top_builddir_sub
   12573     ac_abs_top_srcdir=$ac_pwd ;;
   12574   [\\/]* | ?:[\\/]* )  # Absolute name.
   12575     ac_srcdir=$srcdir$ac_dir_suffix;
   12576     ac_top_srcdir=$srcdir
   12577     ac_abs_top_srcdir=$srcdir ;;
   12578   *) # Relative name.
   12579     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12580     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12581     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12582 esac
   12583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12584 
   12585 
   12586   case $ac_mode in
   12587   :F)
   12588   #
   12589   # CONFIG_FILE
   12590   #
   12591 
   12592   case $INSTALL in
   12593   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12594   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12595   esac
   12596   ac_MKDIR_P=$MKDIR_P
   12597   case $MKDIR_P in
   12598   [\\/$]* | ?:[\\/]* ) ;;
   12599   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12600   esac
   12601 _ACEOF
   12602 
   12603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12604 # If the template does not know about datarootdir, expand it.
   12605 # FIXME: This hack should be removed a few years after 2.60.
   12606 ac_datarootdir_hack=; ac_datarootdir_seen=
   12607 ac_sed_dataroot='
   12608 /datarootdir/ {
   12609   p
   12610   q
   12611 }
   12612 /@datadir@/p
   12613 /@docdir@/p
   12614 /@infodir@/p
   12615 /@localedir@/p
   12616 /@mandir@/p'
   12617 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12618 *datarootdir*) ac_datarootdir_seen=yes;;
   12619 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12621 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12622 _ACEOF
   12623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12624   ac_datarootdir_hack='
   12625   s&@datadir@&$datadir&g
   12626   s&@docdir@&$docdir&g
   12627   s&@infodir@&$infodir&g
   12628   s&@localedir@&$localedir&g
   12629   s&@mandir@&$mandir&g
   12630   s&\\\${datarootdir}&$datarootdir&g' ;;
   12631 esac
   12632 _ACEOF
   12633 
   12634 # Neutralize VPATH when `$srcdir' = `.'.
   12635 # Shell code in configure.ac might set extrasub.
   12636 # FIXME: do we really want to maintain this feature?
   12637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12638 ac_sed_extra="$ac_vpsub
   12639 $extrasub
   12640 _ACEOF
   12641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12642 :t
   12643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12644 s|@configure_input@|$ac_sed_conf_input|;t t
   12645 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12646 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12647 s&@srcdir@&$ac_srcdir&;t t
   12648 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12649 s&@top_srcdir@&$ac_top_srcdir&;t t
   12650 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12651 s&@builddir@&$ac_builddir&;t t
   12652 s&@abs_builddir@&$ac_abs_builddir&;t t
   12653 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12654 s&@INSTALL@&$ac_INSTALL&;t t
   12655 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12656 $ac_datarootdir_hack
   12657 "
   12658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12659   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12660 
   12661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12662   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12663   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12664       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12666 which seems to be undefined.  Please make sure it is defined" >&5
   12667 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12668 which seems to be undefined.  Please make sure it is defined" >&2;}
   12669 
   12670   rm -f "$ac_tmp/stdin"
   12671   case $ac_file in
   12672   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12673   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12674   esac \
   12675   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12676  ;;
   12677   :H)
   12678   #
   12679   # CONFIG_HEADER
   12680   #
   12681   if test x"$ac_file" != x-; then
   12682     {
   12683       printf "%s\n" "/* $configure_input  */" >&1 \
   12684       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12685     } >"$ac_tmp/config.h" \
   12686       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12687     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12688       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12689 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12690     else
   12691       rm -f "$ac_file"
   12692       mv "$ac_tmp/config.h" "$ac_file" \
   12693 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12694     fi
   12695   else
   12696     printf "%s\n" "/* $configure_input  */" >&1 \
   12697       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12698       || as_fn_error $? "could not create -" "$LINENO" 5
   12699   fi
   12700 # Compute "$ac_file"'s index in $config_headers.
   12701 _am_arg="$ac_file"
   12702 _am_stamp_count=1
   12703 for _am_header in $config_headers :; do
   12704   case $_am_header in
   12705     $_am_arg | $_am_arg:* )
   12706       break ;;
   12707     * )
   12708       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12709   esac
   12710 done
   12711 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12712 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12713 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12714 	 X"$_am_arg" : 'X\(//\)$' \| \
   12715 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12716 printf "%s\n" X"$_am_arg" |
   12717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12718 	    s//\1/
   12719 	    q
   12720 	  }
   12721 	  /^X\(\/\/\)[^/].*/{
   12722 	    s//\1/
   12723 	    q
   12724 	  }
   12725 	  /^X\(\/\/\)$/{
   12726 	    s//\1/
   12727 	    q
   12728 	  }
   12729 	  /^X\(\/\).*/{
   12730 	    s//\1/
   12731 	    q
   12732 	  }
   12733 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12734  ;;
   12735 
   12736   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12737 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12738  ;;
   12739   esac
   12740 
   12741 
   12742   case $ac_file$ac_mode in
   12743     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12744   # Older Autoconf quotes --file arguments for eval, but not when files
   12745   # are listed without --file.  Let's play safe and only enable the eval
   12746   # if we detect the quoting.
   12747   # TODO: see whether this extra hack can be removed once we start
   12748   # requiring Autoconf 2.70 or later.
   12749   case $CONFIG_FILES in #(
   12750   *\'*) :
   12751     eval set x "$CONFIG_FILES" ;; #(
   12752   *) :
   12753     set x $CONFIG_FILES ;; #(
   12754   *) :
   12755      ;;
   12756 esac
   12757   shift
   12758   # Used to flag and report bootstrapping failures.
   12759   am_rc=0
   12760   for am_mf
   12761   do
   12762     # Strip MF so we end up with the name of the file.
   12763     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12764     # Check whether this is an Automake generated Makefile which includes
   12765     # dependency-tracking related rules and includes.
   12766     # Grep'ing the whole file directly is not great: AIX grep has a line
   12767     # limit of 2048, but all sed's we know have understand at least 4000.
   12768     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12769       || continue
   12770     am_dirpart=`$as_dirname -- "$am_mf" ||
   12771 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12772 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12773 	 X"$am_mf" : 'X\(//\)$' \| \
   12774 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12775 printf "%s\n" X"$am_mf" |
   12776     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  /^X\(\/\/\)[^/].*/{
   12781 	    s//\1/
   12782 	    q
   12783 	  }
   12784 	  /^X\(\/\/\)$/{
   12785 	    s//\1/
   12786 	    q
   12787 	  }
   12788 	  /^X\(\/\).*/{
   12789 	    s//\1/
   12790 	    q
   12791 	  }
   12792 	  s/.*/./; q'`
   12793     am_filepart=`$as_basename -- "$am_mf" ||
   12794 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12795 	 X"$am_mf" : 'X\(//\)$' \| \
   12796 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12797 printf "%s\n" X/"$am_mf" |
   12798     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12799 	    s//\1/
   12800 	    q
   12801 	  }
   12802 	  /^X\/\(\/\/\)$/{
   12803 	    s//\1/
   12804 	    q
   12805 	  }
   12806 	  /^X\/\(\/\).*/{
   12807 	    s//\1/
   12808 	    q
   12809 	  }
   12810 	  s/.*/./; q'`
   12811     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12812       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12813         | $MAKE -f - am--depfiles" >&5
   12814    (cd "$am_dirpart" \
   12815       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12816         | $MAKE -f - am--depfiles) >&5 2>&5
   12817    ac_status=$?
   12818    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12819    (exit $ac_status); } || am_rc=$?
   12820   done
   12821   if test $am_rc -ne 0; then
   12822     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12823 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12824 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12825     for automatic dependency tracking.  If GNU make was not used, consider
   12826     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12827     necessary).  You can also try re-running configure with the
   12828     '--disable-dependency-tracking' option to at least be able to build
   12829     the package (albeit without support for automatic dependency tracking).
   12830 See \`config.log' for more details" "$LINENO" 5; }
   12831   fi
   12832   { am_dirpart=; unset am_dirpart;}
   12833   { am_filepart=; unset am_filepart;}
   12834   { am_mf=; unset am_mf;}
   12835   { am_rc=; unset am_rc;}
   12836   rm -f conftest-deps.mk
   12837 }
   12838  ;;
   12839 
   12840   esac
   12841 done # for ac_tag
   12842 
   12843 
   12844 as_fn_exit 0
   12845 _ACEOF
   12846 ac_clean_files=$ac_clean_files_save
   12847 
   12848 test $ac_write_fail = 0 ||
   12849   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12850 
   12851 
   12852 # configure is writing to config.log, and then calls config.status.
   12853 # config.status does its own redirection, appending to config.log.
   12854 # Unfortunately, on DOS this fails, as config.log is still kept open
   12855 # by configure, so config.status won't be able to write to it; its
   12856 # output is simply discarded.  So we exec the FD to /dev/null,
   12857 # effectively closing config.log, so it can be properly (re)opened and
   12858 # appended to by config.status.  When coming back to configure, we
   12859 # need to make the FD available again.
   12860 if test "$no_create" != yes; then
   12861   ac_cs_success=:
   12862   ac_config_status_args=
   12863   test "$silent" = yes &&
   12864     ac_config_status_args="$ac_config_status_args --quiet"
   12865   exec 5>/dev/null
   12866   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12867   exec 5>>config.log
   12868   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12869   # would make configure fail if this is the last instruction.
   12870   $ac_cs_success || as_fn_exit 1
   12871 fi
   12872 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12874 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12875 fi
   12876 
   12877 
   12878