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 xorg-cf-files 1.0.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/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/util/cf/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='xorg-cf-files'
    614 PACKAGE_TARNAME='xorg-cf-files'
    615 PACKAGE_VERSION='1.0.7'
    616 PACKAGE_STRING='xorg-cf-files 1.0.7'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/util/cf/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 XCONFDIR
    658 ENCODINGSDIR
    659 FONTROOTDIR
    660 MAN_SUBSTS
    661 XORG_MAN_PAGE
    662 ADMIN_MAN_DIR
    663 DRIVER_MAN_DIR
    664 MISC_MAN_DIR
    665 FILE_MAN_DIR
    666 LIB_MAN_DIR
    667 APP_MAN_DIR
    668 ADMIN_MAN_SUFFIX
    669 DRIVER_MAN_SUFFIX
    670 MISC_MAN_SUFFIX
    671 FILE_MAN_SUFFIX
    672 LIB_MAN_SUFFIX
    673 APP_MAN_SUFFIX
    674 SED
    675 host_os
    676 host_vendor
    677 host_cpu
    678 host
    679 build_os
    680 build_vendor
    681 build_cpu
    682 build
    683 INSTALL_CMD
    684 PKG_CONFIG_LIBDIR
    685 PKG_CONFIG_PATH
    686 PKG_CONFIG
    687 CHANGELOG_CMD
    688 STRICT_CFLAGS
    689 CWARNFLAGS
    690 BASE_CFLAGS
    691 am__fastdepCC_FALSE
    692 am__fastdepCC_TRUE
    693 CCDEPMODE
    694 am__nodep
    695 AMDEPBACKSLASH
    696 AMDEP_FALSE
    697 AMDEP_TRUE
    698 am__include
    699 DEPDIR
    700 OBJEXT
    701 EXEEXT
    702 ac_ct_CC
    703 CPPFLAGS
    704 LDFLAGS
    705 CFLAGS
    706 CC
    707 AM_BACKSLASH
    708 AM_DEFAULT_VERBOSITY
    709 AM_DEFAULT_V
    710 AM_V
    711 CSCOPE
    712 ETAGS
    713 CTAGS
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 target_alias
    738 host_alias
    739 build_alias
    740 LIBS
    741 ECHO_T
    742 ECHO_N
    743 ECHO_C
    744 DEFS
    745 mandir
    746 localedir
    747 libdir
    748 psdir
    749 pdfdir
    750 dvidir
    751 htmldir
    752 infodir
    753 docdir
    754 oldincludedir
    755 includedir
    756 runstatedir
    757 localstatedir
    758 sharedstatedir
    759 sysconfdir
    760 datadir
    761 datarootdir
    762 libexecdir
    763 sbindir
    764 bindir
    765 program_transform_name
    766 prefix
    767 exec_prefix
    768 PACKAGE_URL
    769 PACKAGE_BUGREPORT
    770 PACKAGE_STRING
    771 PACKAGE_VERSION
    772 PACKAGE_TARNAME
    773 PACKAGE_NAME
    774 PATH_SEPARATOR
    775 SHELL
    776 am__quote'
    777 ac_subst_files=''
    778 ac_user_opts='
    779 enable_option_checking
    780 enable_silent_rules
    781 enable_dependency_tracking
    782 enable_selective_werror
    783 enable_strict_compilation
    784 with_fontrootdir
    785 with_encodingsdir
    786 with_config_dir
    787 '
    788       ac_precious_vars='build_alias
    789 host_alias
    790 target_alias
    791 CC
    792 CFLAGS
    793 LDFLAGS
    794 LIBS
    795 CPPFLAGS
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR'
    799 
    800 
    801 # Initialize some variables set by options.
    802 ac_init_help=
    803 ac_init_version=false
    804 ac_unrecognized_opts=
    805 ac_unrecognized_sep=
    806 # The variables have the same names as the options, with
    807 # dashes changed to underlines.
    808 cache_file=/dev/null
    809 exec_prefix=NONE
    810 no_create=
    811 no_recursion=
    812 prefix=NONE
    813 program_prefix=NONE
    814 program_suffix=NONE
    815 program_transform_name=s,x,x,
    816 silent=
    817 site=
    818 srcdir=
    819 verbose=
    820 x_includes=NONE
    821 x_libraries=NONE
    822 
    823 # Installation directory options.
    824 # These are left unexpanded so users can "make install exec_prefix=/foo"
    825 # and all the variables that are supposed to be based on exec_prefix
    826 # by default will actually change.
    827 # Use braces instead of parens because sh, perl, etc. also accept them.
    828 # (The list follows the same order as the GNU Coding Standards.)
    829 bindir='${exec_prefix}/bin'
    830 sbindir='${exec_prefix}/sbin'
    831 libexecdir='${exec_prefix}/libexec'
    832 datarootdir='${prefix}/share'
    833 datadir='${datarootdir}'
    834 sysconfdir='${prefix}/etc'
    835 sharedstatedir='${prefix}/com'
    836 localstatedir='${prefix}/var'
    837 runstatedir='${localstatedir}/run'
    838 includedir='${prefix}/include'
    839 oldincludedir='/usr/include'
    840 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    841 infodir='${datarootdir}/info'
    842 htmldir='${docdir}'
    843 dvidir='${docdir}'
    844 pdfdir='${docdir}'
    845 psdir='${docdir}'
    846 libdir='${exec_prefix}/lib'
    847 localedir='${datarootdir}/locale'
    848 mandir='${datarootdir}/man'
    849 
    850 ac_prev=
    851 ac_dashdash=
    852 for ac_option
    853 do
    854   # If the previous option needs an argument, assign it.
    855   if test -n "$ac_prev"; then
    856     eval $ac_prev=\$ac_option
    857     ac_prev=
    858     continue
    859   fi
    860 
    861   case $ac_option in
    862   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    863   *=)   ac_optarg= ;;
    864   *)    ac_optarg=yes ;;
    865   esac
    866 
    867   case $ac_dashdash$ac_option in
    868   --)
    869     ac_dashdash=yes ;;
    870 
    871   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    872     ac_prev=bindir ;;
    873   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    874     bindir=$ac_optarg ;;
    875 
    876   -build | --build | --buil | --bui | --bu)
    877     ac_prev=build_alias ;;
    878   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    879     build_alias=$ac_optarg ;;
    880 
    881   -cache-file | --cache-file | --cache-fil | --cache-fi \
    882   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    883     ac_prev=cache_file ;;
    884   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    885   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    886     cache_file=$ac_optarg ;;
    887 
    888   --config-cache | -C)
    889     cache_file=config.cache ;;
    890 
    891   -datadir | --datadir | --datadi | --datad)
    892     ac_prev=datadir ;;
    893   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    894     datadir=$ac_optarg ;;
    895 
    896   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    897   | --dataroo | --dataro | --datar)
    898     ac_prev=datarootdir ;;
    899   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    900   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    901     datarootdir=$ac_optarg ;;
    902 
    903   -disable-* | --disable-*)
    904     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    905     # Reject names that are not valid shell variable names.
    906     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    907       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    908     ac_useropt_orig=$ac_useropt
    909     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    910     case $ac_user_opts in
    911       *"
    912 "enable_$ac_useropt"
    913 "*) ;;
    914       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    915 	 ac_unrecognized_sep=', ';;
    916     esac
    917     eval enable_$ac_useropt=no ;;
    918 
    919   -docdir | --docdir | --docdi | --doc | --do)
    920     ac_prev=docdir ;;
    921   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    922     docdir=$ac_optarg ;;
    923 
    924   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    925     ac_prev=dvidir ;;
    926   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    927     dvidir=$ac_optarg ;;
    928 
    929   -enable-* | --enable-*)
    930     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    931     # Reject names that are not valid shell variable names.
    932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    933       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    934     ac_useropt_orig=$ac_useropt
    935     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    936     case $ac_user_opts in
    937       *"
    938 "enable_$ac_useropt"
    939 "*) ;;
    940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    941 	 ac_unrecognized_sep=', ';;
    942     esac
    943     eval enable_$ac_useropt=\$ac_optarg ;;
    944 
    945   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    946   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    947   | --exec | --exe | --ex)
    948     ac_prev=exec_prefix ;;
    949   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    950   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    951   | --exec=* | --exe=* | --ex=*)
    952     exec_prefix=$ac_optarg ;;
    953 
    954   -gas | --gas | --ga | --g)
    955     # Obsolete; use --with-gas.
    956     with_gas=yes ;;
    957 
    958   -help | --help | --hel | --he | -h)
    959     ac_init_help=long ;;
    960   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    961     ac_init_help=recursive ;;
    962   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    963     ac_init_help=short ;;
    964 
    965   -host | --host | --hos | --ho)
    966     ac_prev=host_alias ;;
    967   -host=* | --host=* | --hos=* | --ho=*)
    968     host_alias=$ac_optarg ;;
    969 
    970   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    971     ac_prev=htmldir ;;
    972   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    973   | --ht=*)
    974     htmldir=$ac_optarg ;;
    975 
    976   -includedir | --includedir | --includedi | --included | --include \
    977   | --includ | --inclu | --incl | --inc)
    978     ac_prev=includedir ;;
    979   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    980   | --includ=* | --inclu=* | --incl=* | --inc=*)
    981     includedir=$ac_optarg ;;
    982 
    983   -infodir | --infodir | --infodi | --infod | --info | --inf)
    984     ac_prev=infodir ;;
    985   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    986     infodir=$ac_optarg ;;
    987 
    988   -libdir | --libdir | --libdi | --libd)
    989     ac_prev=libdir ;;
    990   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    991     libdir=$ac_optarg ;;
    992 
    993   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    994   | --libexe | --libex | --libe)
    995     ac_prev=libexecdir ;;
    996   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    997   | --libexe=* | --libex=* | --libe=*)
    998     libexecdir=$ac_optarg ;;
    999 
   1000   -localedir | --localedir | --localedi | --localed | --locale)
   1001     ac_prev=localedir ;;
   1002   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1003     localedir=$ac_optarg ;;
   1004 
   1005   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1006   | --localstate | --localstat | --localsta | --localst | --locals)
   1007     ac_prev=localstatedir ;;
   1008   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1009   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1010     localstatedir=$ac_optarg ;;
   1011 
   1012   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1013     ac_prev=mandir ;;
   1014   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1015     mandir=$ac_optarg ;;
   1016 
   1017   -nfp | --nfp | --nf)
   1018     # Obsolete; use --without-fp.
   1019     with_fp=no ;;
   1020 
   1021   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1022   | --no-cr | --no-c | -n)
   1023     no_create=yes ;;
   1024 
   1025   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1026   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1027     no_recursion=yes ;;
   1028 
   1029   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1030   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1031   | --oldin | --oldi | --old | --ol | --o)
   1032     ac_prev=oldincludedir ;;
   1033   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1034   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1035   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1036     oldincludedir=$ac_optarg ;;
   1037 
   1038   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1039     ac_prev=prefix ;;
   1040   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1041     prefix=$ac_optarg ;;
   1042 
   1043   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1044   | --program-pre | --program-pr | --program-p)
   1045     ac_prev=program_prefix ;;
   1046   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1047   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1048     program_prefix=$ac_optarg ;;
   1049 
   1050   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1051   | --program-suf | --program-su | --program-s)
   1052     ac_prev=program_suffix ;;
   1053   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1054   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1055     program_suffix=$ac_optarg ;;
   1056 
   1057   -program-transform-name | --program-transform-name \
   1058   | --program-transform-nam | --program-transform-na \
   1059   | --program-transform-n | --program-transform- \
   1060   | --program-transform | --program-transfor \
   1061   | --program-transfo | --program-transf \
   1062   | --program-trans | --program-tran \
   1063   | --progr-tra | --program-tr | --program-t)
   1064     ac_prev=program_transform_name ;;
   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     program_transform_name=$ac_optarg ;;
   1073 
   1074   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1075     ac_prev=pdfdir ;;
   1076   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1077     pdfdir=$ac_optarg ;;
   1078 
   1079   -psdir | --psdir | --psdi | --psd | --ps)
   1080     ac_prev=psdir ;;
   1081   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1082     psdir=$ac_optarg ;;
   1083 
   1084   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1085   | -silent | --silent | --silen | --sile | --sil)
   1086     silent=yes ;;
   1087 
   1088   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1089   | --runstate | --runstat | --runsta | --runst | --runs \
   1090   | --run | --ru | --r)
   1091     ac_prev=runstatedir ;;
   1092   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1093   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1094   | --run=* | --ru=* | --r=*)
   1095     runstatedir=$ac_optarg ;;
   1096 
   1097   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1098     ac_prev=sbindir ;;
   1099   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1100   | --sbi=* | --sb=*)
   1101     sbindir=$ac_optarg ;;
   1102 
   1103   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1104   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1105   | --sharedst | --shareds | --shared | --share | --shar \
   1106   | --sha | --sh)
   1107     ac_prev=sharedstatedir ;;
   1108   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1109   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1110   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1111   | --sha=* | --sh=*)
   1112     sharedstatedir=$ac_optarg ;;
   1113 
   1114   -site | --site | --sit)
   1115     ac_prev=site ;;
   1116   -site=* | --site=* | --sit=*)
   1117     site=$ac_optarg ;;
   1118 
   1119   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1120     ac_prev=srcdir ;;
   1121   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1122     srcdir=$ac_optarg ;;
   1123 
   1124   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1125   | --syscon | --sysco | --sysc | --sys | --sy)
   1126     ac_prev=sysconfdir ;;
   1127   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1128   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1129     sysconfdir=$ac_optarg ;;
   1130 
   1131   -target | --target | --targe | --targ | --tar | --ta | --t)
   1132     ac_prev=target_alias ;;
   1133   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1134     target_alias=$ac_optarg ;;
   1135 
   1136   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1137     verbose=yes ;;
   1138 
   1139   -version | --version | --versio | --versi | --vers | -V)
   1140     ac_init_version=: ;;
   1141 
   1142   -with-* | --with-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=no ;;
   1173 
   1174   --x)
   1175     # Obsolete; use --with-x.
   1176     with_x=yes ;;
   1177 
   1178   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1179   | --x-incl | --x-inc | --x-in | --x-i)
   1180     ac_prev=x_includes ;;
   1181   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1182   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1183     x_includes=$ac_optarg ;;
   1184 
   1185   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1186   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1187     ac_prev=x_libraries ;;
   1188   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1189   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1190     x_libraries=$ac_optarg ;;
   1191 
   1192   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1193 Try \`$0 --help' for more information"
   1194     ;;
   1195 
   1196   *=*)
   1197     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1198     # Reject names that are not valid shell variable names.
   1199     case $ac_envvar in #(
   1200       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1201       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1202     esac
   1203     eval $ac_envvar=\$ac_optarg
   1204     export $ac_envvar ;;
   1205 
   1206   *)
   1207     # FIXME: should be removed in autoconf 3.0.
   1208     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1209     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1210       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1211     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1212     ;;
   1213 
   1214   esac
   1215 done
   1216 
   1217 if test -n "$ac_prev"; then
   1218   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1219   as_fn_error $? "missing argument to $ac_option"
   1220 fi
   1221 
   1222 if test -n "$ac_unrecognized_opts"; then
   1223   case $enable_option_checking in
   1224     no) ;;
   1225     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1226     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1227   esac
   1228 fi
   1229 
   1230 # Check all directory arguments for consistency.
   1231 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1232 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1233 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1234 		libdir localedir mandir runstatedir
   1235 do
   1236   eval ac_val=\$$ac_var
   1237   # Remove trailing slashes.
   1238   case $ac_val in
   1239     */ )
   1240       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1241       eval $ac_var=\$ac_val;;
   1242   esac
   1243   # Be sure to have absolute directory names.
   1244   case $ac_val in
   1245     [\\/$]* | ?:[\\/]* )  continue;;
   1246     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1247   esac
   1248   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1249 done
   1250 
   1251 # There might be people who depend on the old broken behavior: `$host'
   1252 # used to hold the argument of --host etc.
   1253 # FIXME: To remove some day.
   1254 build=$build_alias
   1255 host=$host_alias
   1256 target=$target_alias
   1257 
   1258 # FIXME: To remove some day.
   1259 if test "x$host_alias" != x; then
   1260   if test "x$build_alias" = x; then
   1261     cross_compiling=maybe
   1262   elif test "x$build_alias" != "x$host_alias"; then
   1263     cross_compiling=yes
   1264   fi
   1265 fi
   1266 
   1267 ac_tool_prefix=
   1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1269 
   1270 test "$silent" = yes && exec 6>/dev/null
   1271 
   1272 
   1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1274 ac_ls_di=`ls -di .` &&
   1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1276   as_fn_error $? "working directory cannot be determined"
   1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1278   as_fn_error $? "pwd does not report name of working directory"
   1279 
   1280 
   1281 # Find the source files, if location was not specified.
   1282 if test -z "$srcdir"; then
   1283   ac_srcdir_defaulted=yes
   1284   # Try the directory containing this script, then the parent directory.
   1285   ac_confdir=`$as_dirname -- "$as_myself" ||
   1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1287 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1288 	 X"$as_myself" : 'X\(//\)$' \| \
   1289 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1290 printf "%s\n" X"$as_myself" |
   1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)[^/].*/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\).*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  s/.*/./; q'`
   1308   srcdir=$ac_confdir
   1309   if test ! -r "$srcdir/$ac_unique_file"; then
   1310     srcdir=..
   1311   fi
   1312 else
   1313   ac_srcdir_defaulted=no
   1314 fi
   1315 if test ! -r "$srcdir/$ac_unique_file"; then
   1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1317   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1318 fi
   1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1320 ac_abs_confdir=`(
   1321 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1322 	pwd)`
   1323 # When building in place, set srcdir=.
   1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1325   srcdir=.
   1326 fi
   1327 # Remove unnecessary trailing slashes from srcdir.
   1328 # Double slashes in file names in object file debugging info
   1329 # mess up M-x gdb in Emacs.
   1330 case $srcdir in
   1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1332 esac
   1333 for ac_var in $ac_precious_vars; do
   1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_env_${ac_var}_value=\$${ac_var}
   1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1338 done
   1339 
   1340 #
   1341 # Report the --help message.
   1342 #
   1343 if test "$ac_init_help" = "long"; then
   1344   # Omit some internal or obsolete options to make the list less imposing.
   1345   # This message is too long to be a string in the A/UX 3.1 sh.
   1346   cat <<_ACEOF
   1347 \`configure' configures xorg-cf-files 1.0.7 to adapt to many kinds of systems.
   1348 
   1349 Usage: $0 [OPTION]... [VAR=VALUE]...
   1350 
   1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1353 
   1354 Defaults for the options are specified in brackets.
   1355 
   1356 Configuration:
   1357   -h, --help              display this help and exit
   1358       --help=short        display options specific to this package
   1359       --help=recursive    display the short help of all the included packages
   1360   -V, --version           display version information and exit
   1361   -q, --quiet, --silent   do not print \`checking ...' messages
   1362       --cache-file=FILE   cache test results in FILE [disabled]
   1363   -C, --config-cache      alias for \`--cache-file=config.cache'
   1364   -n, --no-create         do not create output files
   1365       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1366 
   1367 Installation directories:
   1368   --prefix=PREFIX         install architecture-independent files in PREFIX
   1369                           [$ac_default_prefix]
   1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1371                           [PREFIX]
   1372 
   1373 By default, \`make install' will install all the files in
   1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1376 for instance \`--prefix=\$HOME'.
   1377 
   1378 For better control, use the options below.
   1379 
   1380 Fine tuning of the installation directories:
   1381   --bindir=DIR            user executables [EPREFIX/bin]
   1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1387   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1388   --libdir=DIR            object code libraries [EPREFIX/lib]
   1389   --includedir=DIR        C header files [PREFIX/include]
   1390   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1391   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1392   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1393   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1394   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1395   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1396   --docdir=DIR            documentation root [DATAROOTDIR/doc/xorg-cf-files]
   1397   --htmldir=DIR           html documentation [DOCDIR]
   1398   --dvidir=DIR            dvi documentation [DOCDIR]
   1399   --pdfdir=DIR            pdf documentation [DOCDIR]
   1400   --psdir=DIR             ps documentation [DOCDIR]
   1401 _ACEOF
   1402 
   1403   cat <<\_ACEOF
   1404 
   1405 Program names:
   1406   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1407   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1408   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1409 
   1410 System types:
   1411   --build=BUILD     configure for building on BUILD [guessed]
   1412   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1413 _ACEOF
   1414 fi
   1415 
   1416 if test -n "$ac_init_help"; then
   1417   case $ac_init_help in
   1418      short | recursive ) echo "Configuration of xorg-cf-files 1.0.7:";;
   1419    esac
   1420   cat <<\_ACEOF
   1421 
   1422 Optional Features:
   1423   --disable-option-checking  ignore unrecognized --enable/--with options
   1424   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1425   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1426   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1427   --disable-silent-rules  verbose build output (undo: "make V=0")
   1428   --enable-dependency-tracking
   1429                           do not reject slow dependency extractors
   1430   --disable-dependency-tracking
   1431                           speeds up one-time build
   1432   --disable-selective-werror
   1433                           Turn off selective compiler errors. (default:
   1434                           enabled)
   1435   --enable-strict-compilation
   1436                           Enable all warnings from compiler and make them
   1437                           errors (default: disabled)
   1438 
   1439 Optional Packages:
   1440   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1441   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1442   --with-fontrootdir=DIR  Path to root directory for font files
   1443   --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
   1444   --with-config-dir=<path>
   1445                           Path to config dir (default: ${libdir}/X11/config)
   1446 
   1447 Some influential environment variables:
   1448   CC          C compiler command
   1449   CFLAGS      C compiler flags
   1450   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1451               nonstandard directory <lib dir>
   1452   LIBS        libraries to pass to the linker, e.g. -l<library>
   1453   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1454               you have headers in a nonstandard directory <include dir>
   1455   PKG_CONFIG  path to pkg-config utility
   1456   PKG_CONFIG_PATH
   1457               directories to add to pkg-config's search path
   1458   PKG_CONFIG_LIBDIR
   1459               path overriding pkg-config's built-in search path
   1460 
   1461 Use these variables to override the choices made by `configure' or to help
   1462 it to find libraries and programs with nonstandard names/locations.
   1463 
   1464 Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/issues>.
   1465 _ACEOF
   1466 ac_status=$?
   1467 fi
   1468 
   1469 if test "$ac_init_help" = "recursive"; then
   1470   # If there are subdirs, report their specific --help.
   1471   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1472     test -d "$ac_dir" ||
   1473       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1474       continue
   1475     ac_builddir=.
   1476 
   1477 case "$ac_dir" in
   1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479 *)
   1480   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1481   # A ".." for each directory in $ac_dir_suffix.
   1482   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1483   case $ac_top_builddir_sub in
   1484   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1486   esac ;;
   1487 esac
   1488 ac_abs_top_builddir=$ac_pwd
   1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1490 # for backward compatibility:
   1491 ac_top_builddir=$ac_top_build_prefix
   1492 
   1493 case $srcdir in
   1494   .)  # We are building in place.
   1495     ac_srcdir=.
   1496     ac_top_srcdir=$ac_top_builddir_sub
   1497     ac_abs_top_srcdir=$ac_pwd ;;
   1498   [\\/]* | ?:[\\/]* )  # Absolute name.
   1499     ac_srcdir=$srcdir$ac_dir_suffix;
   1500     ac_top_srcdir=$srcdir
   1501     ac_abs_top_srcdir=$srcdir ;;
   1502   *) # Relative name.
   1503     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1504     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1505     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1506 esac
   1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1508 
   1509     cd "$ac_dir" || { ac_status=$?; continue; }
   1510     # Check for configure.gnu first; this name is used for a wrapper for
   1511     # Metaconfig's "Configure" on case-insensitive file systems.
   1512     if test -f "$ac_srcdir/configure.gnu"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1515     elif test -f "$ac_srcdir/configure"; then
   1516       echo &&
   1517       $SHELL "$ac_srcdir/configure" --help=recursive
   1518     else
   1519       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1520     fi || ac_status=$?
   1521     cd "$ac_pwd" || { ac_status=$?; break; }
   1522   done
   1523 fi
   1524 
   1525 test -n "$ac_init_help" && exit $ac_status
   1526 if $ac_init_version; then
   1527   cat <<\_ACEOF
   1528 xorg-cf-files configure 1.0.7
   1529 generated by GNU Autoconf 2.71
   1530 
   1531 Copyright (C) 2021 Free Software Foundation, Inc.
   1532 This configure script is free software; the Free Software Foundation
   1533 gives unlimited permission to copy, distribute and modify it.
   1534 _ACEOF
   1535   exit
   1536 fi
   1537 
   1538 ## ------------------------ ##
   1539 ## Autoconf initialization. ##
   1540 ## ------------------------ ##
   1541 
   1542 # ac_fn_c_try_compile LINENO
   1543 # --------------------------
   1544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1545 ac_fn_c_try_compile ()
   1546 {
   1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1548   rm -f conftest.$ac_objext conftest.beam
   1549   if { { ac_try="$ac_compile"
   1550 case "(($ac_try" in
   1551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1552   *) ac_try_echo=$ac_try;;
   1553 esac
   1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1555 printf "%s\n" "$ac_try_echo"; } >&5
   1556   (eval "$ac_compile") 2>conftest.err
   1557   ac_status=$?
   1558   if test -s conftest.err; then
   1559     grep -v '^ *+' conftest.err >conftest.er1
   1560     cat conftest.er1 >&5
   1561     mv -f conftest.er1 conftest.err
   1562   fi
   1563   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1564   test $ac_status = 0; } && {
   1565 	 test -z "$ac_c_werror_flag" ||
   1566 	 test ! -s conftest.err
   1567        } && test -s conftest.$ac_objext
   1568 then :
   1569   ac_retval=0
   1570 else $as_nop
   1571   printf "%s\n" "$as_me: failed program was:" >&5
   1572 sed 's/^/| /' conftest.$ac_ext >&5
   1573 
   1574 	ac_retval=1
   1575 fi
   1576   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1577   as_fn_set_status $ac_retval
   1578 
   1579 } # ac_fn_c_try_compile
   1580 
   1581 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1582 # ------------------------------------------------------------------
   1583 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1584 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1585 ac_fn_check_decl ()
   1586 {
   1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1588   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1590 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1591 if eval test \${$3+y}
   1592 then :
   1593   printf %s "(cached) " >&6
   1594 else $as_nop
   1595   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1596   eval ac_save_FLAGS=\$$6
   1597   as_fn_append $6 " $5"
   1598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1599 /* end confdefs.h.  */
   1600 $4
   1601 int
   1602 main (void)
   1603 {
   1604 #ifndef $as_decl_name
   1605 #ifdef __cplusplus
   1606   (void) $as_decl_use;
   1607 #else
   1608   (void) $as_decl_name;
   1609 #endif
   1610 #endif
   1611 
   1612   ;
   1613   return 0;
   1614 }
   1615 _ACEOF
   1616 if ac_fn_c_try_compile "$LINENO"
   1617 then :
   1618   eval "$3=yes"
   1619 else $as_nop
   1620   eval "$3=no"
   1621 fi
   1622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1623   eval $6=\$ac_save_FLAGS
   1624 
   1625 fi
   1626 eval ac_res=\$$3
   1627 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1628 printf "%s\n" "$ac_res" >&6; }
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630 
   1631 } # ac_fn_check_decl
   1632 
   1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1634 # -------------------------------------------------------
   1635 # Tests whether HEADER exists and can be compiled using the include files in
   1636 # INCLUDES, setting the cache variable VAR accordingly.
   1637 ac_fn_c_check_header_compile ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1641 printf %s "checking for $2... " >&6; }
   1642 if eval test \${$3+y}
   1643 then :
   1644   printf %s "(cached) " >&6
   1645 else $as_nop
   1646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1647 /* end confdefs.h.  */
   1648 $4
   1649 #include <$2>
   1650 _ACEOF
   1651 if ac_fn_c_try_compile "$LINENO"
   1652 then :
   1653   eval "$3=yes"
   1654 else $as_nop
   1655   eval "$3=no"
   1656 fi
   1657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1658 fi
   1659 eval ac_res=\$$3
   1660 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1661 printf "%s\n" "$ac_res" >&6; }
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663 
   1664 } # ac_fn_c_check_header_compile
   1665 
   1666 # ac_fn_c_try_link LINENO
   1667 # -----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1669 ac_fn_c_try_link ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 printf "%s\n" "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } && {
   1689 	 test -z "$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        } && test -s conftest$ac_exeext && {
   1692 	 test "$cross_compiling" = yes ||
   1693 	 test -x conftest$ac_exeext
   1694        }
   1695 then :
   1696   ac_retval=0
   1697 else $as_nop
   1698   printf "%s\n" "$as_me: failed program was:" >&5
   1699 sed 's/^/| /' conftest.$ac_ext >&5
   1700 
   1701 	ac_retval=1
   1702 fi
   1703   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1704   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1705   # interfere with the next link command; also delete a directory that is
   1706   # left behind by Apple's compiler.  We do this before executing the actions.
   1707   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1708   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1709   as_fn_set_status $ac_retval
   1710 
   1711 } # ac_fn_c_try_link
   1712 ac_configure_args_raw=
   1713 for ac_arg
   1714 do
   1715   case $ac_arg in
   1716   *\'*)
   1717     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1718   esac
   1719   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1720 done
   1721 
   1722 case $ac_configure_args_raw in
   1723   *$as_nl*)
   1724     ac_safe_unquote= ;;
   1725   *)
   1726     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1727     ac_unsafe_a="$ac_unsafe_z#~"
   1728     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1729     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1730 esac
   1731 
   1732 cat >config.log <<_ACEOF
   1733 This file contains any messages produced by compilers while
   1734 running configure, to aid debugging if configure makes a mistake.
   1735 
   1736 It was created by xorg-cf-files $as_me 1.0.7, which was
   1737 generated by GNU Autoconf 2.71.  Invocation command line was
   1738 
   1739   $ $0$ac_configure_args_raw
   1740 
   1741 _ACEOF
   1742 exec 5>>config.log
   1743 {
   1744 cat <<_ASUNAME
   1745 ## --------- ##
   1746 ## Platform. ##
   1747 ## --------- ##
   1748 
   1749 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1750 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1751 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1752 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1753 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1754 
   1755 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1756 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1757 
   1758 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1759 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1760 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1761 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1762 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1763 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1764 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1765 
   1766 _ASUNAME
   1767 
   1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1769 for as_dir in $PATH
   1770 do
   1771   IFS=$as_save_IFS
   1772   case $as_dir in #(((
   1773     '') as_dir=./ ;;
   1774     */) ;;
   1775     *) as_dir=$as_dir/ ;;
   1776   esac
   1777     printf "%s\n" "PATH: $as_dir"
   1778   done
   1779 IFS=$as_save_IFS
   1780 
   1781 } >&5
   1782 
   1783 cat >&5 <<_ACEOF
   1784 
   1785 
   1786 ## ----------- ##
   1787 ## Core tests. ##
   1788 ## ----------- ##
   1789 
   1790 _ACEOF
   1791 
   1792 
   1793 # Keep a trace of the command line.
   1794 # Strip out --no-create and --no-recursion so they do not pile up.
   1795 # Strip out --silent because we don't want to record it for future runs.
   1796 # Also quote any args containing shell meta-characters.
   1797 # Make two passes to allow for proper duplicate-argument suppression.
   1798 ac_configure_args=
   1799 ac_configure_args0=
   1800 ac_configure_args1=
   1801 ac_must_keep_next=false
   1802 for ac_pass in 1 2
   1803 do
   1804   for ac_arg
   1805   do
   1806     case $ac_arg in
   1807     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1808     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1809     | -silent | --silent | --silen | --sile | --sil)
   1810       continue ;;
   1811     *\'*)
   1812       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1813     esac
   1814     case $ac_pass in
   1815     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1816     2)
   1817       as_fn_append ac_configure_args1 " '$ac_arg'"
   1818       if test $ac_must_keep_next = true; then
   1819 	ac_must_keep_next=false # Got value, back to normal.
   1820       else
   1821 	case $ac_arg in
   1822 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1823 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1824 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1825 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1826 	    case "$ac_configure_args0 " in
   1827 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1828 	    esac
   1829 	    ;;
   1830 	  -* ) ac_must_keep_next=true ;;
   1831 	esac
   1832       fi
   1833       as_fn_append ac_configure_args " '$ac_arg'"
   1834       ;;
   1835     esac
   1836   done
   1837 done
   1838 { ac_configure_args0=; unset ac_configure_args0;}
   1839 { ac_configure_args1=; unset ac_configure_args1;}
   1840 
   1841 # When interrupted or exit'd, cleanup temporary files, and complete
   1842 # config.log.  We remove comments because anyway the quotes in there
   1843 # would cause problems or look ugly.
   1844 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1845 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1846 trap 'exit_status=$?
   1847   # Sanitize IFS.
   1848   IFS=" ""	$as_nl"
   1849   # Save into config.log some information that might help in debugging.
   1850   {
   1851     echo
   1852 
   1853     printf "%s\n" "## ---------------- ##
   1854 ## Cache variables. ##
   1855 ## ---------------- ##"
   1856     echo
   1857     # The following way of writing the cache mishandles newlines in values,
   1858 (
   1859   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1860     eval ac_val=\$$ac_var
   1861     case $ac_val in #(
   1862     *${as_nl}*)
   1863       case $ac_var in #(
   1864       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1865 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1866       esac
   1867       case $ac_var in #(
   1868       _ | IFS | as_nl) ;; #(
   1869       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1870       *) { eval $ac_var=; unset $ac_var;} ;;
   1871       esac ;;
   1872     esac
   1873   done
   1874   (set) 2>&1 |
   1875     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1876     *${as_nl}ac_space=\ *)
   1877       sed -n \
   1878 	"s/'\''/'\''\\\\'\'''\''/g;
   1879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1880       ;; #(
   1881     *)
   1882       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1883       ;;
   1884     esac |
   1885     sort
   1886 )
   1887     echo
   1888 
   1889     printf "%s\n" "## ----------------- ##
   1890 ## Output variables. ##
   1891 ## ----------------- ##"
   1892     echo
   1893     for ac_var in $ac_subst_vars
   1894     do
   1895       eval ac_val=\$$ac_var
   1896       case $ac_val in
   1897       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1898       esac
   1899       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1900     done | sort
   1901     echo
   1902 
   1903     if test -n "$ac_subst_files"; then
   1904       printf "%s\n" "## ------------------- ##
   1905 ## File substitutions. ##
   1906 ## ------------------- ##"
   1907       echo
   1908       for ac_var in $ac_subst_files
   1909       do
   1910 	eval ac_val=\$$ac_var
   1911 	case $ac_val in
   1912 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1913 	esac
   1914 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1915       done | sort
   1916       echo
   1917     fi
   1918 
   1919     if test -s confdefs.h; then
   1920       printf "%s\n" "## ----------- ##
   1921 ## confdefs.h. ##
   1922 ## ----------- ##"
   1923       echo
   1924       cat confdefs.h
   1925       echo
   1926     fi
   1927     test "$ac_signal" != 0 &&
   1928       printf "%s\n" "$as_me: caught signal $ac_signal"
   1929     printf "%s\n" "$as_me: exit $exit_status"
   1930   } >&5
   1931   rm -f core *.core core.conftest.* &&
   1932     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1933     exit $exit_status
   1934 ' 0
   1935 for ac_signal in 1 2 13 15; do
   1936   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1937 done
   1938 ac_signal=0
   1939 
   1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1941 rm -f -r conftest* confdefs.h
   1942 
   1943 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1944 
   1945 # Predefined preprocessor variables.
   1946 
   1947 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1948 
   1949 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1950 
   1951 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1952 
   1953 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1954 
   1955 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1956 
   1957 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1958 
   1959 
   1960 # Let the site file select an alternate cache file if it wants to.
   1961 # Prefer an explicitly selected file to automatically selected ones.
   1962 if test -n "$CONFIG_SITE"; then
   1963   ac_site_files="$CONFIG_SITE"
   1964 elif test "x$prefix" != xNONE; then
   1965   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1966 else
   1967   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1968 fi
   1969 
   1970 for ac_site_file in $ac_site_files
   1971 do
   1972   case $ac_site_file in #(
   1973   */*) :
   1974      ;; #(
   1975   *) :
   1976     ac_site_file=./$ac_site_file ;;
   1977 esac
   1978   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1979     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1980 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1981     sed 's/^/| /' "$ac_site_file" >&5
   1982     . "$ac_site_file" \
   1983       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1984 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1985 as_fn_error $? "failed to load site script $ac_site_file
   1986 See \`config.log' for more details" "$LINENO" 5; }
   1987   fi
   1988 done
   1989 
   1990 if test -r "$cache_file"; then
   1991   # Some versions of bash will fail to source /dev/null (special files
   1992   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1993   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1994     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1995 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1996     case $cache_file in
   1997       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1998       *)                      . "./$cache_file";;
   1999     esac
   2000   fi
   2001 else
   2002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2003 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2004   >$cache_file
   2005 fi
   2006 
   2007 # Test code for whether the C compiler supports C89 (global declarations)
   2008 ac_c_conftest_c89_globals='
   2009 /* Does the compiler advertise C89 conformance?
   2010    Do not test the value of __STDC__, because some compilers set it to 0
   2011    while being otherwise adequately conformant. */
   2012 #if !defined __STDC__
   2013 # error "Compiler does not advertise C89 conformance"
   2014 #endif
   2015 
   2016 #include <stddef.h>
   2017 #include <stdarg.h>
   2018 struct stat;
   2019 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2020 struct buf { int x; };
   2021 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2022 static char *e (p, i)
   2023      char **p;
   2024      int i;
   2025 {
   2026   return p[i];
   2027 }
   2028 static char *f (char * (*g) (char **, int), char **p, ...)
   2029 {
   2030   char *s;
   2031   va_list v;
   2032   va_start (v,p);
   2033   s = g (p, va_arg (v,int));
   2034   va_end (v);
   2035   return s;
   2036 }
   2037 
   2038 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2039    function prototypes and stuff, but not \xHH hex character constants.
   2040    These do not provoke an error unfortunately, instead are silently treated
   2041    as an "x".  The following induces an error, until -std is added to get
   2042    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2043    array size at least.  It is necessary to write \x00 == 0 to get something
   2044    that is true only with -std.  */
   2045 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2046 
   2047 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2048    inside strings and character constants.  */
   2049 #define FOO(x) '\''x'\''
   2050 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2051 
   2052 int test (int i, double x);
   2053 struct s1 {int (*f) (int a);};
   2054 struct s2 {int (*f) (double a);};
   2055 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2056                int, int);'
   2057 
   2058 # Test code for whether the C compiler supports C89 (body of main).
   2059 ac_c_conftest_c89_main='
   2060 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2061 '
   2062 
   2063 # Test code for whether the C compiler supports C99 (global declarations)
   2064 ac_c_conftest_c99_globals='
   2065 // Does the compiler advertise C99 conformance?
   2066 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2067 # error "Compiler does not advertise C99 conformance"
   2068 #endif
   2069 
   2070 #include <stdbool.h>
   2071 extern int puts (const char *);
   2072 extern int printf (const char *, ...);
   2073 extern int dprintf (int, const char *, ...);
   2074 extern void *malloc (size_t);
   2075 
   2076 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2077 // dprintf is used instead of fprintf to avoid needing to declare
   2078 // FILE and stderr.
   2079 #define debug(...) dprintf (2, __VA_ARGS__)
   2080 #define showlist(...) puts (#__VA_ARGS__)
   2081 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2082 static void
   2083 test_varargs_macros (void)
   2084 {
   2085   int x = 1234;
   2086   int y = 5678;
   2087   debug ("Flag");
   2088   debug ("X = %d\n", x);
   2089   showlist (The first, second, and third items.);
   2090   report (x>y, "x is %d but y is %d", x, y);
   2091 }
   2092 
   2093 // Check long long types.
   2094 #define BIG64 18446744073709551615ull
   2095 #define BIG32 4294967295ul
   2096 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2097 #if !BIG_OK
   2098   #error "your preprocessor is broken"
   2099 #endif
   2100 #if BIG_OK
   2101 #else
   2102   #error "your preprocessor is broken"
   2103 #endif
   2104 static long long int bignum = -9223372036854775807LL;
   2105 static unsigned long long int ubignum = BIG64;
   2106 
   2107 struct incomplete_array
   2108 {
   2109   int datasize;
   2110   double data[];
   2111 };
   2112 
   2113 struct named_init {
   2114   int number;
   2115   const wchar_t *name;
   2116   double average;
   2117 };
   2118 
   2119 typedef const char *ccp;
   2120 
   2121 static inline int
   2122 test_restrict (ccp restrict text)
   2123 {
   2124   // See if C++-style comments work.
   2125   // Iterate through items via the restricted pointer.
   2126   // Also check for declarations in for loops.
   2127   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2128     continue;
   2129   return 0;
   2130 }
   2131 
   2132 // Check varargs and va_copy.
   2133 static bool
   2134 test_varargs (const char *format, ...)
   2135 {
   2136   va_list args;
   2137   va_start (args, format);
   2138   va_list args_copy;
   2139   va_copy (args_copy, args);
   2140 
   2141   const char *str = "";
   2142   int number = 0;
   2143   float fnumber = 0;
   2144 
   2145   while (*format)
   2146     {
   2147       switch (*format++)
   2148 	{
   2149 	case '\''s'\'': // string
   2150 	  str = va_arg (args_copy, const char *);
   2151 	  break;
   2152 	case '\''d'\'': // int
   2153 	  number = va_arg (args_copy, int);
   2154 	  break;
   2155 	case '\''f'\'': // float
   2156 	  fnumber = va_arg (args_copy, double);
   2157 	  break;
   2158 	default:
   2159 	  break;
   2160 	}
   2161     }
   2162   va_end (args_copy);
   2163   va_end (args);
   2164 
   2165   return *str && number && fnumber;
   2166 }
   2167 '
   2168 
   2169 # Test code for whether the C compiler supports C99 (body of main).
   2170 ac_c_conftest_c99_main='
   2171   // Check bool.
   2172   _Bool success = false;
   2173   success |= (argc != 0);
   2174 
   2175   // Check restrict.
   2176   if (test_restrict ("String literal") == 0)
   2177     success = true;
   2178   char *restrict newvar = "Another string";
   2179 
   2180   // Check varargs.
   2181   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2182   test_varargs_macros ();
   2183 
   2184   // Check flexible array members.
   2185   struct incomplete_array *ia =
   2186     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2187   ia->datasize = 10;
   2188   for (int i = 0; i < ia->datasize; ++i)
   2189     ia->data[i] = i * 1.234;
   2190 
   2191   // Check named initializers.
   2192   struct named_init ni = {
   2193     .number = 34,
   2194     .name = L"Test wide string",
   2195     .average = 543.34343,
   2196   };
   2197 
   2198   ni.number = 58;
   2199 
   2200   int dynamic_array[ni.number];
   2201   dynamic_array[0] = argv[0][0];
   2202   dynamic_array[ni.number - 1] = 543;
   2203 
   2204   // work around unused variable warnings
   2205   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2206 	 || dynamic_array[ni.number - 1] != 543);
   2207 '
   2208 
   2209 # Test code for whether the C compiler supports C11 (global declarations)
   2210 ac_c_conftest_c11_globals='
   2211 // Does the compiler advertise C11 conformance?
   2212 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2213 # error "Compiler does not advertise C11 conformance"
   2214 #endif
   2215 
   2216 // Check _Alignas.
   2217 char _Alignas (double) aligned_as_double;
   2218 char _Alignas (0) no_special_alignment;
   2219 extern char aligned_as_int;
   2220 char _Alignas (0) _Alignas (int) aligned_as_int;
   2221 
   2222 // Check _Alignof.
   2223 enum
   2224 {
   2225   int_alignment = _Alignof (int),
   2226   int_array_alignment = _Alignof (int[100]),
   2227   char_alignment = _Alignof (char)
   2228 };
   2229 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2230 
   2231 // Check _Noreturn.
   2232 int _Noreturn does_not_return (void) { for (;;) continue; }
   2233 
   2234 // Check _Static_assert.
   2235 struct test_static_assert
   2236 {
   2237   int x;
   2238   _Static_assert (sizeof (int) <= sizeof (long int),
   2239                   "_Static_assert does not work in struct");
   2240   long int y;
   2241 };
   2242 
   2243 // Check UTF-8 literals.
   2244 #define u8 syntax error!
   2245 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2246 
   2247 // Check duplicate typedefs.
   2248 typedef long *long_ptr;
   2249 typedef long int *long_ptr;
   2250 typedef long_ptr long_ptr;
   2251 
   2252 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2253 struct anonymous
   2254 {
   2255   union {
   2256     struct { int i; int j; };
   2257     struct { int k; long int l; } w;
   2258   };
   2259   int m;
   2260 } v1;
   2261 '
   2262 
   2263 # Test code for whether the C compiler supports C11 (body of main).
   2264 ac_c_conftest_c11_main='
   2265   _Static_assert ((offsetof (struct anonymous, i)
   2266 		   == offsetof (struct anonymous, w.k)),
   2267 		  "Anonymous union alignment botch");
   2268   v1.i = 2;
   2269   v1.w.k = 5;
   2270   ok |= v1.i != 5;
   2271 '
   2272 
   2273 # Test code for whether the C compiler supports C11 (complete).
   2274 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2275 ${ac_c_conftest_c99_globals}
   2276 ${ac_c_conftest_c11_globals}
   2277 
   2278 int
   2279 main (int argc, char **argv)
   2280 {
   2281   int ok = 0;
   2282   ${ac_c_conftest_c89_main}
   2283   ${ac_c_conftest_c99_main}
   2284   ${ac_c_conftest_c11_main}
   2285   return ok;
   2286 }
   2287 "
   2288 
   2289 # Test code for whether the C compiler supports C99 (complete).
   2290 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2291 ${ac_c_conftest_c99_globals}
   2292 
   2293 int
   2294 main (int argc, char **argv)
   2295 {
   2296   int ok = 0;
   2297   ${ac_c_conftest_c89_main}
   2298   ${ac_c_conftest_c99_main}
   2299   return ok;
   2300 }
   2301 "
   2302 
   2303 # Test code for whether the C compiler supports C89 (complete).
   2304 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2305 
   2306 int
   2307 main (int argc, char **argv)
   2308 {
   2309   int ok = 0;
   2310   ${ac_c_conftest_c89_main}
   2311   return ok;
   2312 }
   2313 "
   2314 
   2315 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2316 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2317 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2318 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2319 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2320 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2321 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2322 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2323 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2324 
   2325 # Auxiliary files required by this configure script.
   2326 ac_aux_files="config.guess config.sub compile missing install-sh"
   2327 
   2328 # Locations in which to look for auxiliary files.
   2329 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2330 
   2331 # Search for a directory containing all of the required auxiliary files,
   2332 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2333 # If we don't find one directory that contains all the files we need,
   2334 # we report the set of missing files from the *first* directory in
   2335 # $ac_aux_dir_candidates and give up.
   2336 ac_missing_aux_files=""
   2337 ac_first_candidate=:
   2338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2340 as_found=false
   2341 for as_dir in $ac_aux_dir_candidates
   2342 do
   2343   IFS=$as_save_IFS
   2344   case $as_dir in #(((
   2345     '') as_dir=./ ;;
   2346     */) ;;
   2347     *) as_dir=$as_dir/ ;;
   2348   esac
   2349   as_found=:
   2350 
   2351   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2352   ac_aux_dir_found=yes
   2353   ac_install_sh=
   2354   for ac_aux in $ac_aux_files
   2355   do
   2356     # As a special case, if "install-sh" is required, that requirement
   2357     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2358     # and $ac_install_sh is set appropriately for whichever one is found.
   2359     if test x"$ac_aux" = x"install-sh"
   2360     then
   2361       if test -f "${as_dir}install-sh"; then
   2362         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2363         ac_install_sh="${as_dir}install-sh -c"
   2364       elif test -f "${as_dir}install.sh"; then
   2365         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2366         ac_install_sh="${as_dir}install.sh -c"
   2367       elif test -f "${as_dir}shtool"; then
   2368         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2369         ac_install_sh="${as_dir}shtool install -c"
   2370       else
   2371         ac_aux_dir_found=no
   2372         if $ac_first_candidate; then
   2373           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2374         else
   2375           break
   2376         fi
   2377       fi
   2378     else
   2379       if test -f "${as_dir}${ac_aux}"; then
   2380         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2381       else
   2382         ac_aux_dir_found=no
   2383         if $ac_first_candidate; then
   2384           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2385         else
   2386           break
   2387         fi
   2388       fi
   2389     fi
   2390   done
   2391   if test "$ac_aux_dir_found" = yes; then
   2392     ac_aux_dir="$as_dir"
   2393     break
   2394   fi
   2395   ac_first_candidate=false
   2396 
   2397   as_found=false
   2398 done
   2399 IFS=$as_save_IFS
   2400 if $as_found
   2401 then :
   2402 
   2403 else $as_nop
   2404   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2405 fi
   2406 
   2407 
   2408 # These three variables are undocumented and unsupported,
   2409 # and are intended to be withdrawn in a future Autoconf release.
   2410 # They can cause serious problems if a builder's source tree is in a directory
   2411 # whose full name contains unusual characters.
   2412 if test -f "${ac_aux_dir}config.guess"; then
   2413   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2414 fi
   2415 if test -f "${ac_aux_dir}config.sub"; then
   2416   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2417 fi
   2418 if test -f "$ac_aux_dir/configure"; then
   2419   ac_configure="$SHELL ${ac_aux_dir}configure"
   2420 fi
   2421 
   2422 # Check that the precious variables saved in the cache have kept the same
   2423 # value.
   2424 ac_cache_corrupted=false
   2425 for ac_var in $ac_precious_vars; do
   2426   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2427   eval ac_new_set=\$ac_env_${ac_var}_set
   2428   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2429   eval ac_new_val=\$ac_env_${ac_var}_value
   2430   case $ac_old_set,$ac_new_set in
   2431     set,)
   2432       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2433 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2434       ac_cache_corrupted=: ;;
   2435     ,set)
   2436       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2437 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2438       ac_cache_corrupted=: ;;
   2439     ,);;
   2440     *)
   2441       if test "x$ac_old_val" != "x$ac_new_val"; then
   2442 	# differences in whitespace do not lead to failure.
   2443 	ac_old_val_w=`echo x $ac_old_val`
   2444 	ac_new_val_w=`echo x $ac_new_val`
   2445 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2446 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2447 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2448 	  ac_cache_corrupted=:
   2449 	else
   2450 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2451 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2452 	  eval $ac_var=\$ac_old_val
   2453 	fi
   2454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2455 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2456 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2457 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2458       fi;;
   2459   esac
   2460   # Pass precious variables to config.status.
   2461   if test "$ac_new_set" = set; then
   2462     case $ac_new_val in
   2463     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2464     *) ac_arg=$ac_var=$ac_new_val ;;
   2465     esac
   2466     case " $ac_configure_args " in
   2467       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2468       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2469     esac
   2470   fi
   2471 done
   2472 if $ac_cache_corrupted; then
   2473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2474 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2476 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2477   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2478 	    and start over" "$LINENO" 5
   2479 fi
   2480 ## -------------------- ##
   2481 ## Main body of script. ##
   2482 ## -------------------- ##
   2483 
   2484 ac_ext=c
   2485 ac_cpp='$CPP $CPPFLAGS'
   2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2489 
   2490 
   2491 
   2492 
   2493 # Initialize Automake
   2494 am__api_version='1.16'
   2495 
   2496 
   2497 
   2498   # Find a good install program.  We prefer a C program (faster),
   2499 # so one script is as good as another.  But avoid the broken or
   2500 # incompatible versions:
   2501 # SysV /etc/install, /usr/sbin/install
   2502 # SunOS /usr/etc/install
   2503 # IRIX /sbin/install
   2504 # AIX /bin/install
   2505 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2506 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2507 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2508 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2509 # OS/2's system install, which has a completely different semantic
   2510 # ./install, which can be erroneously created by make from ./install.sh.
   2511 # Reject install programs that cannot install multiple files.
   2512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2513 printf %s "checking for a BSD-compatible install... " >&6; }
   2514 if test -z "$INSTALL"; then
   2515 if test ${ac_cv_path_install+y}
   2516 then :
   2517   printf %s "(cached) " >&6
   2518 else $as_nop
   2519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2520 for as_dir in $PATH
   2521 do
   2522   IFS=$as_save_IFS
   2523   case $as_dir in #(((
   2524     '') as_dir=./ ;;
   2525     */) ;;
   2526     *) as_dir=$as_dir/ ;;
   2527   esac
   2528     # Account for fact that we put trailing slashes in our PATH walk.
   2529 case $as_dir in #((
   2530   ./ | /[cC]/* | \
   2531   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2532   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2533   /usr/ucb/* ) ;;
   2534   *)
   2535     # OSF1 and SCO ODT 3.0 have their own names for install.
   2536     # Don't use installbsd from OSF since it installs stuff as root
   2537     # by default.
   2538     for ac_prog in ginstall scoinst install; do
   2539       for ac_exec_ext in '' $ac_executable_extensions; do
   2540 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2541 	  if test $ac_prog = install &&
   2542 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2543 	    # AIX install.  It has an incompatible calling convention.
   2544 	    :
   2545 	  elif test $ac_prog = install &&
   2546 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2547 	    # program-specific install script used by HP pwplus--don't use.
   2548 	    :
   2549 	  else
   2550 	    rm -rf conftest.one conftest.two conftest.dir
   2551 	    echo one > conftest.one
   2552 	    echo two > conftest.two
   2553 	    mkdir conftest.dir
   2554 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2555 	      test -s conftest.one && test -s conftest.two &&
   2556 	      test -s conftest.dir/conftest.one &&
   2557 	      test -s conftest.dir/conftest.two
   2558 	    then
   2559 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2560 	      break 3
   2561 	    fi
   2562 	  fi
   2563 	fi
   2564       done
   2565     done
   2566     ;;
   2567 esac
   2568 
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 rm -rf conftest.one conftest.two conftest.dir
   2573 
   2574 fi
   2575   if test ${ac_cv_path_install+y}; then
   2576     INSTALL=$ac_cv_path_install
   2577   else
   2578     # As a last resort, use the slow shell script.  Don't cache a
   2579     # value for INSTALL within a source directory, because that will
   2580     # break other packages using the cache if that directory is
   2581     # removed, or if the value is a relative name.
   2582     INSTALL=$ac_install_sh
   2583   fi
   2584 fi
   2585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2586 printf "%s\n" "$INSTALL" >&6; }
   2587 
   2588 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2589 # It thinks the first close brace ends the variable substitution.
   2590 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2591 
   2592 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2593 
   2594 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2595 
   2596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2597 printf %s "checking whether build environment is sane... " >&6; }
   2598 # Reject unsafe characters in $srcdir or the absolute working directory
   2599 # name.  Accept space and tab only in the latter.
   2600 am_lf='
   2601 '
   2602 case `pwd` in
   2603   *[\\\"\#\$\&\'\`$am_lf]*)
   2604     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2605 esac
   2606 case $srcdir in
   2607   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2608     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2609 esac
   2610 
   2611 # Do 'set' in a subshell so we don't clobber the current shell's
   2612 # arguments.  Must try -L first in case configure is actually a
   2613 # symlink; some systems play weird games with the mod time of symlinks
   2614 # (eg FreeBSD returns the mod time of the symlink's containing
   2615 # directory).
   2616 if (
   2617    am_has_slept=no
   2618    for am_try in 1 2; do
   2619      echo "timestamp, slept: $am_has_slept" > conftest.file
   2620      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2621      if test "$*" = "X"; then
   2622 	# -L didn't work.
   2623 	set X `ls -t "$srcdir/configure" conftest.file`
   2624      fi
   2625      if test "$*" != "X $srcdir/configure conftest.file" \
   2626 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2627 
   2628 	# If neither matched, then we have a broken ls.  This can happen
   2629 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2630 	# broken ls alias from the environment.  This has actually
   2631 	# happened.  Such a system could not be considered "sane".
   2632 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2633   alias in your environment" "$LINENO" 5
   2634      fi
   2635      if test "$2" = conftest.file || test $am_try -eq 2; then
   2636        break
   2637      fi
   2638      # Just in case.
   2639      sleep 1
   2640      am_has_slept=yes
   2641    done
   2642    test "$2" = conftest.file
   2643    )
   2644 then
   2645    # Ok.
   2646    :
   2647 else
   2648    as_fn_error $? "newly created file is older than distributed files!
   2649 Check your system clock" "$LINENO" 5
   2650 fi
   2651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2652 printf "%s\n" "yes" >&6; }
   2653 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2654 # generated files are strictly newer.
   2655 am_sleep_pid=
   2656 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2657   ( sleep 1 ) &
   2658   am_sleep_pid=$!
   2659 fi
   2660 
   2661 rm -f conftest.file
   2662 
   2663 test "$program_prefix" != NONE &&
   2664   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2665 # Use a double $ so make ignores it.
   2666 test "$program_suffix" != NONE &&
   2667   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2668 # Double any \ or $.
   2669 # By default was `s,x,x', remove it if useless.
   2670 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2671 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2672 
   2673 
   2674 # Expand $ac_aux_dir to an absolute path.
   2675 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2676 
   2677 
   2678   if test x"${MISSING+set}" != xset; then
   2679   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2680 fi
   2681 # Use eval to expand $SHELL
   2682 if eval "$MISSING --is-lightweight"; then
   2683   am_missing_run="$MISSING "
   2684 else
   2685   am_missing_run=
   2686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2687 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2688 fi
   2689 
   2690 if test x"${install_sh+set}" != xset; then
   2691   case $am_aux_dir in
   2692   *\ * | *\	*)
   2693     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2694   *)
   2695     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2696   esac
   2697 fi
   2698 
   2699 # Installed binaries are usually stripped using 'strip' when the user
   2700 # run "make install-strip".  However 'strip' might not be the right
   2701 # tool to use in cross-compilation environments, therefore Automake
   2702 # will honor the 'STRIP' environment variable to overrule this program.
   2703 if test "$cross_compiling" != no; then
   2704   if test -n "$ac_tool_prefix"; then
   2705   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2706 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2708 printf %s "checking for $ac_word... " >&6; }
   2709 if test ${ac_cv_prog_STRIP+y}
   2710 then :
   2711   printf %s "(cached) " >&6
   2712 else $as_nop
   2713   if test -n "$STRIP"; then
   2714   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2715 else
   2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2717 for as_dir in $PATH
   2718 do
   2719   IFS=$as_save_IFS
   2720   case $as_dir in #(((
   2721     '') as_dir=./ ;;
   2722     */) ;;
   2723     *) as_dir=$as_dir/ ;;
   2724   esac
   2725     for ac_exec_ext in '' $ac_executable_extensions; do
   2726   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2727     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2728     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2729     break 2
   2730   fi
   2731 done
   2732   done
   2733 IFS=$as_save_IFS
   2734 
   2735 fi
   2736 fi
   2737 STRIP=$ac_cv_prog_STRIP
   2738 if test -n "$STRIP"; then
   2739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2740 printf "%s\n" "$STRIP" >&6; }
   2741 else
   2742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 printf "%s\n" "no" >&6; }
   2744 fi
   2745 
   2746 
   2747 fi
   2748 if test -z "$ac_cv_prog_STRIP"; then
   2749   ac_ct_STRIP=$STRIP
   2750   # Extract the first word of "strip", so it can be a program name with args.
   2751 set dummy strip; ac_word=$2
   2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2753 printf %s "checking for $ac_word... " >&6; }
   2754 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2755 then :
   2756   printf %s "(cached) " >&6
   2757 else $as_nop
   2758   if test -n "$ac_ct_STRIP"; then
   2759   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2760 else
   2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2762 for as_dir in $PATH
   2763 do
   2764   IFS=$as_save_IFS
   2765   case $as_dir in #(((
   2766     '') as_dir=./ ;;
   2767     */) ;;
   2768     *) as_dir=$as_dir/ ;;
   2769   esac
   2770     for ac_exec_ext in '' $ac_executable_extensions; do
   2771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2772     ac_cv_prog_ac_ct_STRIP="strip"
   2773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2774     break 2
   2775   fi
   2776 done
   2777   done
   2778 IFS=$as_save_IFS
   2779 
   2780 fi
   2781 fi
   2782 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2783 if test -n "$ac_ct_STRIP"; then
   2784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2785 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2786 else
   2787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2788 printf "%s\n" "no" >&6; }
   2789 fi
   2790 
   2791   if test "x$ac_ct_STRIP" = x; then
   2792     STRIP=":"
   2793   else
   2794     case $cross_compiling:$ac_tool_warned in
   2795 yes:)
   2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2797 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2798 ac_tool_warned=yes ;;
   2799 esac
   2800     STRIP=$ac_ct_STRIP
   2801   fi
   2802 else
   2803   STRIP="$ac_cv_prog_STRIP"
   2804 fi
   2805 
   2806 fi
   2807 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2808 
   2809 
   2810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2811 printf %s "checking for a race-free mkdir -p... " >&6; }
   2812 if test -z "$MKDIR_P"; then
   2813   if test ${ac_cv_path_mkdir+y}
   2814 then :
   2815   printf %s "(cached) " >&6
   2816 else $as_nop
   2817   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2818 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2819 do
   2820   IFS=$as_save_IFS
   2821   case $as_dir in #(((
   2822     '') as_dir=./ ;;
   2823     */) ;;
   2824     *) as_dir=$as_dir/ ;;
   2825   esac
   2826     for ac_prog in mkdir gmkdir; do
   2827 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2828 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2829 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2830 	     'mkdir ('*'coreutils) '* | \
   2831 	     'BusyBox '* | \
   2832 	     'mkdir (fileutils) '4.1*)
   2833 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2834 	       break 3;;
   2835 	   esac
   2836 	 done
   2837        done
   2838   done
   2839 IFS=$as_save_IFS
   2840 
   2841 fi
   2842 
   2843   test -d ./--version && rmdir ./--version
   2844   if test ${ac_cv_path_mkdir+y}; then
   2845     MKDIR_P="$ac_cv_path_mkdir -p"
   2846   else
   2847     # As a last resort, use the slow shell script.  Don't cache a
   2848     # value for MKDIR_P within a source directory, because that will
   2849     # break other packages using the cache if that directory is
   2850     # removed, or if the value is a relative name.
   2851     MKDIR_P="$ac_install_sh -d"
   2852   fi
   2853 fi
   2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2855 printf "%s\n" "$MKDIR_P" >&6; }
   2856 
   2857 for ac_prog in gawk mawk nawk awk
   2858 do
   2859   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2860 set dummy $ac_prog; ac_word=$2
   2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2862 printf %s "checking for $ac_word... " >&6; }
   2863 if test ${ac_cv_prog_AWK+y}
   2864 then :
   2865   printf %s "(cached) " >&6
   2866 else $as_nop
   2867   if test -n "$AWK"; then
   2868   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2869 else
   2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2871 for as_dir in $PATH
   2872 do
   2873   IFS=$as_save_IFS
   2874   case $as_dir in #(((
   2875     '') as_dir=./ ;;
   2876     */) ;;
   2877     *) as_dir=$as_dir/ ;;
   2878   esac
   2879     for ac_exec_ext in '' $ac_executable_extensions; do
   2880   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2881     ac_cv_prog_AWK="$ac_prog"
   2882     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2883     break 2
   2884   fi
   2885 done
   2886   done
   2887 IFS=$as_save_IFS
   2888 
   2889 fi
   2890 fi
   2891 AWK=$ac_cv_prog_AWK
   2892 if test -n "$AWK"; then
   2893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2894 printf "%s\n" "$AWK" >&6; }
   2895 else
   2896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2897 printf "%s\n" "no" >&6; }
   2898 fi
   2899 
   2900 
   2901   test -n "$AWK" && break
   2902 done
   2903 
   2904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2905 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2906 set x ${MAKE-make}
   2907 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2908 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2909 then :
   2910   printf %s "(cached) " >&6
   2911 else $as_nop
   2912   cat >conftest.make <<\_ACEOF
   2913 SHELL = /bin/sh
   2914 all:
   2915 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2916 _ACEOF
   2917 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2918 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2919   *@@@%%%=?*=@@@%%%*)
   2920     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2921   *)
   2922     eval ac_cv_prog_make_${ac_make}_set=no;;
   2923 esac
   2924 rm -f conftest.make
   2925 fi
   2926 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2928 printf "%s\n" "yes" >&6; }
   2929   SET_MAKE=
   2930 else
   2931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2932 printf "%s\n" "no" >&6; }
   2933   SET_MAKE="MAKE=${MAKE-make}"
   2934 fi
   2935 
   2936 rm -rf .tst 2>/dev/null
   2937 mkdir .tst 2>/dev/null
   2938 if test -d .tst; then
   2939   am__leading_dot=.
   2940 else
   2941   am__leading_dot=_
   2942 fi
   2943 rmdir .tst 2>/dev/null
   2944 
   2945 # Check whether --enable-silent-rules was given.
   2946 if test ${enable_silent_rules+y}
   2947 then :
   2948   enableval=$enable_silent_rules;
   2949 fi
   2950 
   2951 case $enable_silent_rules in # (((
   2952   yes) AM_DEFAULT_VERBOSITY=0;;
   2953    no) AM_DEFAULT_VERBOSITY=1;;
   2954     *) AM_DEFAULT_VERBOSITY=1;;
   2955 esac
   2956 am_make=${MAKE-make}
   2957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2958 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2959 if test ${am_cv_make_support_nested_variables+y}
   2960 then :
   2961   printf %s "(cached) " >&6
   2962 else $as_nop
   2963   if printf "%s\n" 'TRUE=$(BAR$(V))
   2964 BAR0=false
   2965 BAR1=true
   2966 V=1
   2967 am__doit:
   2968 	@$(TRUE)
   2969 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2970   am_cv_make_support_nested_variables=yes
   2971 else
   2972   am_cv_make_support_nested_variables=no
   2973 fi
   2974 fi
   2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2976 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2977 if test $am_cv_make_support_nested_variables = yes; then
   2978     AM_V='$(V)'
   2979   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2980 else
   2981   AM_V=$AM_DEFAULT_VERBOSITY
   2982   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2983 fi
   2984 AM_BACKSLASH='\'
   2985 
   2986 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2987   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2988   # is not polluted with repeated "-I."
   2989   am__isrc=' -I$(srcdir)'
   2990   # test to see if srcdir already configured
   2991   if test -f $srcdir/config.status; then
   2992     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2993   fi
   2994 fi
   2995 
   2996 # test whether we have cygpath
   2997 if test -z "$CYGPATH_W"; then
   2998   if (cygpath --version) >/dev/null 2>/dev/null; then
   2999     CYGPATH_W='cygpath -w'
   3000   else
   3001     CYGPATH_W=echo
   3002   fi
   3003 fi
   3004 
   3005 
   3006 # Define the identity of the package.
   3007  PACKAGE='xorg-cf-files'
   3008  VERSION='1.0.7'
   3009 
   3010 
   3011 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3012 
   3013 
   3014 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3015 
   3016 # Some tools Automake needs.
   3017 
   3018 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3019 
   3020 
   3021 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3022 
   3023 
   3024 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3025 
   3026 
   3027 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3028 
   3029 
   3030 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3031 
   3032 # For better backward compatibility.  To be removed once Automake 1.9.x
   3033 # dies out for good.  For more background, see:
   3034 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3035 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3036 mkdir_p='$(MKDIR_P)'
   3037 
   3038 # We need awk for the "check" target (and possibly the TAP driver).  The
   3039 # system "awk" is bad on some platforms.
   3040 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3041 # in the wild :-(  We should find a proper way to deprecate it ...
   3042 AMTAR='$${TAR-tar}'
   3043 
   3044 
   3045 # We'll loop over all known methods to create a tar archive until one works.
   3046 _am_tools='gnutar  pax cpio none'
   3047 
   3048 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3049 
   3050 
   3051 
   3052 
   3053 
   3054 # Variables for tags utilities; see am/tags.am
   3055 if test -z "$CTAGS"; then
   3056   CTAGS=ctags
   3057 fi
   3058 
   3059 if test -z "$ETAGS"; then
   3060   ETAGS=etags
   3061 fi
   3062 
   3063 if test -z "$CSCOPE"; then
   3064   CSCOPE=cscope
   3065 fi
   3066 
   3067 
   3068 
   3069 # POSIX will say in a future version that running "rm -f" with no argument
   3070 # is OK; and we want to be able to make that assumption in our Makefile
   3071 # recipes.  So use an aggressive probe to check that the usage we want is
   3072 # actually supported "in the wild" to an acceptable degree.
   3073 # See automake bug#10828.
   3074 # To make any issue more visible, cause the running configure to be aborted
   3075 # by default if the 'rm' program in use doesn't match our expectations; the
   3076 # user can still override this though.
   3077 if rm -f && rm -fr && rm -rf; then : OK; else
   3078   cat >&2 <<'END'
   3079 Oops!
   3080 
   3081 Your 'rm' program seems unable to run without file operands specified
   3082 on the command line, even when the '-f' option is present.  This is contrary
   3083 to the behaviour of most rm programs out there, and not conforming with
   3084 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3085 
   3086 Please tell bug-automake@gnu.org about your system, including the value
   3087 of your $PATH and any error possibly output before this message.  This
   3088 can help us improve future automake versions.
   3089 
   3090 END
   3091   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3092     echo 'Configuration will proceed anyway, since you have set the' >&2
   3093     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3094     echo >&2
   3095   else
   3096     cat >&2 <<'END'
   3097 Aborting the configuration process, to ensure you take notice of the issue.
   3098 
   3099 You can download and install GNU coreutils to get an 'rm' implementation
   3100 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3101 
   3102 If you want to complete the configuration process using your problematic
   3103 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3104 to "yes", and re-run configure.
   3105 
   3106 END
   3107     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3108   fi
   3109 fi
   3110 
   3111 
   3112 # Require xorg-macros 1.4 or later: XORG_DEFAULT_OPTIONS, XORG_INSTALL
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 
   3129 
   3130 
   3131 
   3132 
   3133 DEPDIR="${am__leading_dot}deps"
   3134 
   3135 ac_config_commands="$ac_config_commands depfiles"
   3136 
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3138 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3139 cat > confinc.mk << 'END'
   3140 am__doit:
   3141 	@echo this is the am__doit target >confinc.out
   3142 .PHONY: am__doit
   3143 END
   3144 am__include="#"
   3145 am__quote=
   3146 # BSD make does it like this.
   3147 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3148 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3149 echo 'include confinc.mk # ignored' > confmf.GNU
   3150 _am_result=no
   3151 for s in GNU BSD; do
   3152   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3153    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3154    ac_status=$?
   3155    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3156    (exit $ac_status); }
   3157   case $?:`cat confinc.out 2>/dev/null` in #(
   3158   '0:this is the am__doit target') :
   3159     case $s in #(
   3160   BSD) :
   3161     am__include='.include' am__quote='"' ;; #(
   3162   *) :
   3163     am__include='include' am__quote='' ;;
   3164 esac ;; #(
   3165   *) :
   3166      ;;
   3167 esac
   3168   if test "$am__include" != "#"; then
   3169     _am_result="yes ($s style)"
   3170     break
   3171   fi
   3172 done
   3173 rm -f confinc.* confmf.*
   3174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3175 printf "%s\n" "${_am_result}" >&6; }
   3176 
   3177 # Check whether --enable-dependency-tracking was given.
   3178 if test ${enable_dependency_tracking+y}
   3179 then :
   3180   enableval=$enable_dependency_tracking;
   3181 fi
   3182 
   3183 if test "x$enable_dependency_tracking" != xno; then
   3184   am_depcomp="$ac_aux_dir/depcomp"
   3185   AMDEPBACKSLASH='\'
   3186   am__nodep='_no'
   3187 fi
   3188  if test "x$enable_dependency_tracking" != xno; then
   3189   AMDEP_TRUE=
   3190   AMDEP_FALSE='#'
   3191 else
   3192   AMDEP_TRUE='#'
   3193   AMDEP_FALSE=
   3194 fi
   3195 
   3196 
   3197 ac_ext=c
   3198 ac_cpp='$CPP $CPPFLAGS'
   3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3202 if test -n "$ac_tool_prefix"; then
   3203   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3204 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3206 printf %s "checking for $ac_word... " >&6; }
   3207 if test ${ac_cv_prog_CC+y}
   3208 then :
   3209   printf %s "(cached) " >&6
   3210 else $as_nop
   3211   if test -n "$CC"; then
   3212   ac_cv_prog_CC="$CC" # Let the user override the test.
   3213 else
   3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3215 for as_dir in $PATH
   3216 do
   3217   IFS=$as_save_IFS
   3218   case $as_dir in #(((
   3219     '') as_dir=./ ;;
   3220     */) ;;
   3221     *) as_dir=$as_dir/ ;;
   3222   esac
   3223     for ac_exec_ext in '' $ac_executable_extensions; do
   3224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3225     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3227     break 2
   3228   fi
   3229 done
   3230   done
   3231 IFS=$as_save_IFS
   3232 
   3233 fi
   3234 fi
   3235 CC=$ac_cv_prog_CC
   3236 if test -n "$CC"; then
   3237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3238 printf "%s\n" "$CC" >&6; }
   3239 else
   3240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3241 printf "%s\n" "no" >&6; }
   3242 fi
   3243 
   3244 
   3245 fi
   3246 if test -z "$ac_cv_prog_CC"; then
   3247   ac_ct_CC=$CC
   3248   # Extract the first word of "gcc", so it can be a program name with args.
   3249 set dummy gcc; ac_word=$2
   3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3251 printf %s "checking for $ac_word... " >&6; }
   3252 if test ${ac_cv_prog_ac_ct_CC+y}
   3253 then :
   3254   printf %s "(cached) " >&6
   3255 else $as_nop
   3256   if test -n "$ac_ct_CC"; then
   3257   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3258 else
   3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3260 for as_dir in $PATH
   3261 do
   3262   IFS=$as_save_IFS
   3263   case $as_dir in #(((
   3264     '') as_dir=./ ;;
   3265     */) ;;
   3266     *) as_dir=$as_dir/ ;;
   3267   esac
   3268     for ac_exec_ext in '' $ac_executable_extensions; do
   3269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3270     ac_cv_prog_ac_ct_CC="gcc"
   3271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3272     break 2
   3273   fi
   3274 done
   3275   done
   3276 IFS=$as_save_IFS
   3277 
   3278 fi
   3279 fi
   3280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3281 if test -n "$ac_ct_CC"; then
   3282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3283 printf "%s\n" "$ac_ct_CC" >&6; }
   3284 else
   3285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3286 printf "%s\n" "no" >&6; }
   3287 fi
   3288 
   3289   if test "x$ac_ct_CC" = x; then
   3290     CC=""
   3291   else
   3292     case $cross_compiling:$ac_tool_warned in
   3293 yes:)
   3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3295 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3296 ac_tool_warned=yes ;;
   3297 esac
   3298     CC=$ac_ct_CC
   3299   fi
   3300 else
   3301   CC="$ac_cv_prog_CC"
   3302 fi
   3303 
   3304 if test -z "$CC"; then
   3305           if test -n "$ac_tool_prefix"; then
   3306     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3307 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3309 printf %s "checking for $ac_word... " >&6; }
   3310 if test ${ac_cv_prog_CC+y}
   3311 then :
   3312   printf %s "(cached) " >&6
   3313 else $as_nop
   3314   if test -n "$CC"; then
   3315   ac_cv_prog_CC="$CC" # Let the user override the test.
   3316 else
   3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3318 for as_dir in $PATH
   3319 do
   3320   IFS=$as_save_IFS
   3321   case $as_dir in #(((
   3322     '') as_dir=./ ;;
   3323     */) ;;
   3324     *) as_dir=$as_dir/ ;;
   3325   esac
   3326     for ac_exec_ext in '' $ac_executable_extensions; do
   3327   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3328     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3329     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3330     break 2
   3331   fi
   3332 done
   3333   done
   3334 IFS=$as_save_IFS
   3335 
   3336 fi
   3337 fi
   3338 CC=$ac_cv_prog_CC
   3339 if test -n "$CC"; then
   3340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3341 printf "%s\n" "$CC" >&6; }
   3342 else
   3343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3344 printf "%s\n" "no" >&6; }
   3345 fi
   3346 
   3347 
   3348   fi
   3349 fi
   3350 if test -z "$CC"; then
   3351   # Extract the first word of "cc", so it can be a program name with args.
   3352 set dummy cc; ac_word=$2
   3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3354 printf %s "checking for $ac_word... " >&6; }
   3355 if test ${ac_cv_prog_CC+y}
   3356 then :
   3357   printf %s "(cached) " >&6
   3358 else $as_nop
   3359   if test -n "$CC"; then
   3360   ac_cv_prog_CC="$CC" # Let the user override the test.
   3361 else
   3362   ac_prog_rejected=no
   3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3364 for as_dir in $PATH
   3365 do
   3366   IFS=$as_save_IFS
   3367   case $as_dir in #(((
   3368     '') as_dir=./ ;;
   3369     */) ;;
   3370     *) as_dir=$as_dir/ ;;
   3371   esac
   3372     for ac_exec_ext in '' $ac_executable_extensions; do
   3373   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3374     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3375        ac_prog_rejected=yes
   3376        continue
   3377      fi
   3378     ac_cv_prog_CC="cc"
   3379     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3380     break 2
   3381   fi
   3382 done
   3383   done
   3384 IFS=$as_save_IFS
   3385 
   3386 if test $ac_prog_rejected = yes; then
   3387   # We found a bogon in the path, so make sure we never use it.
   3388   set dummy $ac_cv_prog_CC
   3389   shift
   3390   if test $# != 0; then
   3391     # We chose a different compiler from the bogus one.
   3392     # However, it has the same basename, so the bogon will be chosen
   3393     # first if we set CC to just the basename; use the full file name.
   3394     shift
   3395     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3396   fi
   3397 fi
   3398 fi
   3399 fi
   3400 CC=$ac_cv_prog_CC
   3401 if test -n "$CC"; then
   3402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3403 printf "%s\n" "$CC" >&6; }
   3404 else
   3405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 printf "%s\n" "no" >&6; }
   3407 fi
   3408 
   3409 
   3410 fi
   3411 if test -z "$CC"; then
   3412   if test -n "$ac_tool_prefix"; then
   3413   for ac_prog in cl.exe
   3414   do
   3415     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3416 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3418 printf %s "checking for $ac_word... " >&6; }
   3419 if test ${ac_cv_prog_CC+y}
   3420 then :
   3421   printf %s "(cached) " >&6
   3422 else $as_nop
   3423   if test -n "$CC"; then
   3424   ac_cv_prog_CC="$CC" # Let the user override the test.
   3425 else
   3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3427 for as_dir in $PATH
   3428 do
   3429   IFS=$as_save_IFS
   3430   case $as_dir in #(((
   3431     '') as_dir=./ ;;
   3432     */) ;;
   3433     *) as_dir=$as_dir/ ;;
   3434   esac
   3435     for ac_exec_ext in '' $ac_executable_extensions; do
   3436   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3437     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3438     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3439     break 2
   3440   fi
   3441 done
   3442   done
   3443 IFS=$as_save_IFS
   3444 
   3445 fi
   3446 fi
   3447 CC=$ac_cv_prog_CC
   3448 if test -n "$CC"; then
   3449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3450 printf "%s\n" "$CC" >&6; }
   3451 else
   3452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3453 printf "%s\n" "no" >&6; }
   3454 fi
   3455 
   3456 
   3457     test -n "$CC" && break
   3458   done
   3459 fi
   3460 if test -z "$CC"; then
   3461   ac_ct_CC=$CC
   3462   for ac_prog in cl.exe
   3463 do
   3464   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3465 set dummy $ac_prog; ac_word=$2
   3466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3467 printf %s "checking for $ac_word... " >&6; }
   3468 if test ${ac_cv_prog_ac_ct_CC+y}
   3469 then :
   3470   printf %s "(cached) " >&6
   3471 else $as_nop
   3472   if test -n "$ac_ct_CC"; then
   3473   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3474 else
   3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3476 for as_dir in $PATH
   3477 do
   3478   IFS=$as_save_IFS
   3479   case $as_dir in #(((
   3480     '') as_dir=./ ;;
   3481     */) ;;
   3482     *) as_dir=$as_dir/ ;;
   3483   esac
   3484     for ac_exec_ext in '' $ac_executable_extensions; do
   3485   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3486     ac_cv_prog_ac_ct_CC="$ac_prog"
   3487     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3488     break 2
   3489   fi
   3490 done
   3491   done
   3492 IFS=$as_save_IFS
   3493 
   3494 fi
   3495 fi
   3496 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3497 if test -n "$ac_ct_CC"; then
   3498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3499 printf "%s\n" "$ac_ct_CC" >&6; }
   3500 else
   3501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3502 printf "%s\n" "no" >&6; }
   3503 fi
   3504 
   3505 
   3506   test -n "$ac_ct_CC" && break
   3507 done
   3508 
   3509   if test "x$ac_ct_CC" = x; then
   3510     CC=""
   3511   else
   3512     case $cross_compiling:$ac_tool_warned in
   3513 yes:)
   3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3515 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3516 ac_tool_warned=yes ;;
   3517 esac
   3518     CC=$ac_ct_CC
   3519   fi
   3520 fi
   3521 
   3522 fi
   3523 if test -z "$CC"; then
   3524   if test -n "$ac_tool_prefix"; then
   3525   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3526 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3528 printf %s "checking for $ac_word... " >&6; }
   3529 if test ${ac_cv_prog_CC+y}
   3530 then :
   3531   printf %s "(cached) " >&6
   3532 else $as_nop
   3533   if test -n "$CC"; then
   3534   ac_cv_prog_CC="$CC" # Let the user override the test.
   3535 else
   3536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3537 for as_dir in $PATH
   3538 do
   3539   IFS=$as_save_IFS
   3540   case $as_dir in #(((
   3541     '') as_dir=./ ;;
   3542     */) ;;
   3543     *) as_dir=$as_dir/ ;;
   3544   esac
   3545     for ac_exec_ext in '' $ac_executable_extensions; do
   3546   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3547     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3548     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3549     break 2
   3550   fi
   3551 done
   3552   done
   3553 IFS=$as_save_IFS
   3554 
   3555 fi
   3556 fi
   3557 CC=$ac_cv_prog_CC
   3558 if test -n "$CC"; then
   3559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3560 printf "%s\n" "$CC" >&6; }
   3561 else
   3562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3563 printf "%s\n" "no" >&6; }
   3564 fi
   3565 
   3566 
   3567 fi
   3568 if test -z "$ac_cv_prog_CC"; then
   3569   ac_ct_CC=$CC
   3570   # Extract the first word of "clang", so it can be a program name with args.
   3571 set dummy clang; ac_word=$2
   3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3573 printf %s "checking for $ac_word... " >&6; }
   3574 if test ${ac_cv_prog_ac_ct_CC+y}
   3575 then :
   3576   printf %s "(cached) " >&6
   3577 else $as_nop
   3578   if test -n "$ac_ct_CC"; then
   3579   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3580 else
   3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3582 for as_dir in $PATH
   3583 do
   3584   IFS=$as_save_IFS
   3585   case $as_dir in #(((
   3586     '') as_dir=./ ;;
   3587     */) ;;
   3588     *) as_dir=$as_dir/ ;;
   3589   esac
   3590     for ac_exec_ext in '' $ac_executable_extensions; do
   3591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3592     ac_cv_prog_ac_ct_CC="clang"
   3593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3594     break 2
   3595   fi
   3596 done
   3597   done
   3598 IFS=$as_save_IFS
   3599 
   3600 fi
   3601 fi
   3602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3603 if test -n "$ac_ct_CC"; then
   3604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3605 printf "%s\n" "$ac_ct_CC" >&6; }
   3606 else
   3607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3608 printf "%s\n" "no" >&6; }
   3609 fi
   3610 
   3611   if test "x$ac_ct_CC" = x; then
   3612     CC=""
   3613   else
   3614     case $cross_compiling:$ac_tool_warned in
   3615 yes:)
   3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3618 ac_tool_warned=yes ;;
   3619 esac
   3620     CC=$ac_ct_CC
   3621   fi
   3622 else
   3623   CC="$ac_cv_prog_CC"
   3624 fi
   3625 
   3626 fi
   3627 
   3628 
   3629 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3630 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3631 as_fn_error $? "no acceptable C compiler found in \$PATH
   3632 See \`config.log' for more details" "$LINENO" 5; }
   3633 
   3634 # Provide some information about the compiler.
   3635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3636 set X $ac_compile
   3637 ac_compiler=$2
   3638 for ac_option in --version -v -V -qversion -version; do
   3639   { { ac_try="$ac_compiler $ac_option >&5"
   3640 case "(($ac_try" in
   3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3642   *) ac_try_echo=$ac_try;;
   3643 esac
   3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3645 printf "%s\n" "$ac_try_echo"; } >&5
   3646   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3647   ac_status=$?
   3648   if test -s conftest.err; then
   3649     sed '10a\
   3650 ... rest of stderr output deleted ...
   3651          10q' conftest.err >conftest.er1
   3652     cat conftest.er1 >&5
   3653   fi
   3654   rm -f conftest.er1 conftest.err
   3655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3656   test $ac_status = 0; }
   3657 done
   3658 
   3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3660 /* end confdefs.h.  */
   3661 
   3662 int
   3663 main (void)
   3664 {
   3665 
   3666   ;
   3667   return 0;
   3668 }
   3669 _ACEOF
   3670 ac_clean_files_save=$ac_clean_files
   3671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3672 # Try to create an executable without -o first, disregard a.out.
   3673 # It will help us diagnose broken compilers, and finding out an intuition
   3674 # of exeext.
   3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3676 printf %s "checking whether the C compiler works... " >&6; }
   3677 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3678 
   3679 # The possible output files:
   3680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3681 
   3682 ac_rmfiles=
   3683 for ac_file in $ac_files
   3684 do
   3685   case $ac_file in
   3686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3687     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3688   esac
   3689 done
   3690 rm -f $ac_rmfiles
   3691 
   3692 if { { ac_try="$ac_link_default"
   3693 case "(($ac_try" in
   3694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3695   *) ac_try_echo=$ac_try;;
   3696 esac
   3697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3698 printf "%s\n" "$ac_try_echo"; } >&5
   3699   (eval "$ac_link_default") 2>&5
   3700   ac_status=$?
   3701   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3702   test $ac_status = 0; }
   3703 then :
   3704   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3705 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3706 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3707 # so that the user can short-circuit this test for compilers unknown to
   3708 # Autoconf.
   3709 for ac_file in $ac_files ''
   3710 do
   3711   test -f "$ac_file" || continue
   3712   case $ac_file in
   3713     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3714 	;;
   3715     [ab].out )
   3716 	# We found the default executable, but exeext='' is most
   3717 	# certainly right.
   3718 	break;;
   3719     *.* )
   3720 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3721 	then :; else
   3722 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3723 	fi
   3724 	# We set ac_cv_exeext here because the later test for it is not
   3725 	# safe: cross compilers may not add the suffix if given an `-o'
   3726 	# argument, so we may need to know it at that point already.
   3727 	# Even if this section looks crufty: it has the advantage of
   3728 	# actually working.
   3729 	break;;
   3730     * )
   3731 	break;;
   3732   esac
   3733 done
   3734 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3735 
   3736 else $as_nop
   3737   ac_file=''
   3738 fi
   3739 if test -z "$ac_file"
   3740 then :
   3741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3742 printf "%s\n" "no" >&6; }
   3743 printf "%s\n" "$as_me: failed program was:" >&5
   3744 sed 's/^/| /' conftest.$ac_ext >&5
   3745 
   3746 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3747 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3748 as_fn_error 77 "C compiler cannot create executables
   3749 See \`config.log' for more details" "$LINENO" 5; }
   3750 else $as_nop
   3751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3752 printf "%s\n" "yes" >&6; }
   3753 fi
   3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3755 printf %s "checking for C compiler default output file name... " >&6; }
   3756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3757 printf "%s\n" "$ac_file" >&6; }
   3758 ac_exeext=$ac_cv_exeext
   3759 
   3760 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3761 ac_clean_files=$ac_clean_files_save
   3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3763 printf %s "checking for suffix of executables... " >&6; }
   3764 if { { ac_try="$ac_link"
   3765 case "(($ac_try" in
   3766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3767   *) ac_try_echo=$ac_try;;
   3768 esac
   3769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3770 printf "%s\n" "$ac_try_echo"; } >&5
   3771   (eval "$ac_link") 2>&5
   3772   ac_status=$?
   3773   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3774   test $ac_status = 0; }
   3775 then :
   3776   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3777 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3778 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3779 # `rm'.
   3780 for ac_file in conftest.exe conftest conftest.*; do
   3781   test -f "$ac_file" || continue
   3782   case $ac_file in
   3783     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3784     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3785 	  break;;
   3786     * ) break;;
   3787   esac
   3788 done
   3789 else $as_nop
   3790   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3791 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3792 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3793 See \`config.log' for more details" "$LINENO" 5; }
   3794 fi
   3795 rm -f conftest conftest$ac_cv_exeext
   3796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3797 printf "%s\n" "$ac_cv_exeext" >&6; }
   3798 
   3799 rm -f conftest.$ac_ext
   3800 EXEEXT=$ac_cv_exeext
   3801 ac_exeext=$EXEEXT
   3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3803 /* end confdefs.h.  */
   3804 #include <stdio.h>
   3805 int
   3806 main (void)
   3807 {
   3808 FILE *f = fopen ("conftest.out", "w");
   3809  return ferror (f) || fclose (f) != 0;
   3810 
   3811   ;
   3812   return 0;
   3813 }
   3814 _ACEOF
   3815 ac_clean_files="$ac_clean_files conftest.out"
   3816 # Check that the compiler produces executables we can run.  If not, either
   3817 # the compiler is broken, or we cross compile.
   3818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3819 printf %s "checking whether we are cross compiling... " >&6; }
   3820 if test "$cross_compiling" != yes; then
   3821   { { ac_try="$ac_link"
   3822 case "(($ac_try" in
   3823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3824   *) ac_try_echo=$ac_try;;
   3825 esac
   3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3827 printf "%s\n" "$ac_try_echo"; } >&5
   3828   (eval "$ac_link") 2>&5
   3829   ac_status=$?
   3830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3831   test $ac_status = 0; }
   3832   if { ac_try='./conftest$ac_cv_exeext'
   3833   { { case "(($ac_try" in
   3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3835   *) ac_try_echo=$ac_try;;
   3836 esac
   3837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3838 printf "%s\n" "$ac_try_echo"; } >&5
   3839   (eval "$ac_try") 2>&5
   3840   ac_status=$?
   3841   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3842   test $ac_status = 0; }; }; then
   3843     cross_compiling=no
   3844   else
   3845     if test "$cross_compiling" = maybe; then
   3846 	cross_compiling=yes
   3847     else
   3848 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3849 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3850 as_fn_error 77 "cannot run C compiled programs.
   3851 If you meant to cross compile, use \`--host'.
   3852 See \`config.log' for more details" "$LINENO" 5; }
   3853     fi
   3854   fi
   3855 fi
   3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3857 printf "%s\n" "$cross_compiling" >&6; }
   3858 
   3859 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3860 ac_clean_files=$ac_clean_files_save
   3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3862 printf %s "checking for suffix of object files... " >&6; }
   3863 if test ${ac_cv_objext+y}
   3864 then :
   3865   printf %s "(cached) " >&6
   3866 else $as_nop
   3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 
   3870 int
   3871 main (void)
   3872 {
   3873 
   3874   ;
   3875   return 0;
   3876 }
   3877 _ACEOF
   3878 rm -f conftest.o conftest.obj
   3879 if { { ac_try="$ac_compile"
   3880 case "(($ac_try" in
   3881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3882   *) ac_try_echo=$ac_try;;
   3883 esac
   3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3885 printf "%s\n" "$ac_try_echo"; } >&5
   3886   (eval "$ac_compile") 2>&5
   3887   ac_status=$?
   3888   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3889   test $ac_status = 0; }
   3890 then :
   3891   for ac_file in conftest.o conftest.obj conftest.*; do
   3892   test -f "$ac_file" || continue;
   3893   case $ac_file in
   3894     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3895     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3896        break;;
   3897   esac
   3898 done
   3899 else $as_nop
   3900   printf "%s\n" "$as_me: failed program was:" >&5
   3901 sed 's/^/| /' conftest.$ac_ext >&5
   3902 
   3903 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3904 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3905 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3906 See \`config.log' for more details" "$LINENO" 5; }
   3907 fi
   3908 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3909 fi
   3910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3911 printf "%s\n" "$ac_cv_objext" >&6; }
   3912 OBJEXT=$ac_cv_objext
   3913 ac_objext=$OBJEXT
   3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3915 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3916 if test ${ac_cv_c_compiler_gnu+y}
   3917 then :
   3918   printf %s "(cached) " >&6
   3919 else $as_nop
   3920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3921 /* end confdefs.h.  */
   3922 
   3923 int
   3924 main (void)
   3925 {
   3926 #ifndef __GNUC__
   3927        choke me
   3928 #endif
   3929 
   3930   ;
   3931   return 0;
   3932 }
   3933 _ACEOF
   3934 if ac_fn_c_try_compile "$LINENO"
   3935 then :
   3936   ac_compiler_gnu=yes
   3937 else $as_nop
   3938   ac_compiler_gnu=no
   3939 fi
   3940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3941 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3942 
   3943 fi
   3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3945 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3947 
   3948 if test $ac_compiler_gnu = yes; then
   3949   GCC=yes
   3950 else
   3951   GCC=
   3952 fi
   3953 ac_test_CFLAGS=${CFLAGS+y}
   3954 ac_save_CFLAGS=$CFLAGS
   3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3956 printf %s "checking whether $CC accepts -g... " >&6; }
   3957 if test ${ac_cv_prog_cc_g+y}
   3958 then :
   3959   printf %s "(cached) " >&6
   3960 else $as_nop
   3961   ac_save_c_werror_flag=$ac_c_werror_flag
   3962    ac_c_werror_flag=yes
   3963    ac_cv_prog_cc_g=no
   3964    CFLAGS="-g"
   3965    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3966 /* end confdefs.h.  */
   3967 
   3968 int
   3969 main (void)
   3970 {
   3971 
   3972   ;
   3973   return 0;
   3974 }
   3975 _ACEOF
   3976 if ac_fn_c_try_compile "$LINENO"
   3977 then :
   3978   ac_cv_prog_cc_g=yes
   3979 else $as_nop
   3980   CFLAGS=""
   3981       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3982 /* end confdefs.h.  */
   3983 
   3984 int
   3985 main (void)
   3986 {
   3987 
   3988   ;
   3989   return 0;
   3990 }
   3991 _ACEOF
   3992 if ac_fn_c_try_compile "$LINENO"
   3993 then :
   3994 
   3995 else $as_nop
   3996   ac_c_werror_flag=$ac_save_c_werror_flag
   3997 	 CFLAGS="-g"
   3998 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3999 /* end confdefs.h.  */
   4000 
   4001 int
   4002 main (void)
   4003 {
   4004 
   4005   ;
   4006   return 0;
   4007 }
   4008 _ACEOF
   4009 if ac_fn_c_try_compile "$LINENO"
   4010 then :
   4011   ac_cv_prog_cc_g=yes
   4012 fi
   4013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4014 fi
   4015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4016 fi
   4017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4018    ac_c_werror_flag=$ac_save_c_werror_flag
   4019 fi
   4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4021 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4022 if test $ac_test_CFLAGS; then
   4023   CFLAGS=$ac_save_CFLAGS
   4024 elif test $ac_cv_prog_cc_g = yes; then
   4025   if test "$GCC" = yes; then
   4026     CFLAGS="-g -O2"
   4027   else
   4028     CFLAGS="-g"
   4029   fi
   4030 else
   4031   if test "$GCC" = yes; then
   4032     CFLAGS="-O2"
   4033   else
   4034     CFLAGS=
   4035   fi
   4036 fi
   4037 ac_prog_cc_stdc=no
   4038 if test x$ac_prog_cc_stdc = xno
   4039 then :
   4040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4041 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4042 if test ${ac_cv_prog_cc_c11+y}
   4043 then :
   4044   printf %s "(cached) " >&6
   4045 else $as_nop
   4046   ac_cv_prog_cc_c11=no
   4047 ac_save_CC=$CC
   4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4049 /* end confdefs.h.  */
   4050 $ac_c_conftest_c11_program
   4051 _ACEOF
   4052 for ac_arg in '' -std=gnu11
   4053 do
   4054   CC="$ac_save_CC $ac_arg"
   4055   if ac_fn_c_try_compile "$LINENO"
   4056 then :
   4057   ac_cv_prog_cc_c11=$ac_arg
   4058 fi
   4059 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4060   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4061 done
   4062 rm -f conftest.$ac_ext
   4063 CC=$ac_save_CC
   4064 fi
   4065 
   4066 if test "x$ac_cv_prog_cc_c11" = xno
   4067 then :
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4069 printf "%s\n" "unsupported" >&6; }
   4070 else $as_nop
   4071   if test "x$ac_cv_prog_cc_c11" = x
   4072 then :
   4073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4074 printf "%s\n" "none needed" >&6; }
   4075 else $as_nop
   4076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4077 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4078      CC="$CC $ac_cv_prog_cc_c11"
   4079 fi
   4080   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4081   ac_prog_cc_stdc=c11
   4082 fi
   4083 fi
   4084 if test x$ac_prog_cc_stdc = xno
   4085 then :
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4087 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4088 if test ${ac_cv_prog_cc_c99+y}
   4089 then :
   4090   printf %s "(cached) " >&6
   4091 else $as_nop
   4092   ac_cv_prog_cc_c99=no
   4093 ac_save_CC=$CC
   4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4095 /* end confdefs.h.  */
   4096 $ac_c_conftest_c99_program
   4097 _ACEOF
   4098 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4099 do
   4100   CC="$ac_save_CC $ac_arg"
   4101   if ac_fn_c_try_compile "$LINENO"
   4102 then :
   4103   ac_cv_prog_cc_c99=$ac_arg
   4104 fi
   4105 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4106   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4107 done
   4108 rm -f conftest.$ac_ext
   4109 CC=$ac_save_CC
   4110 fi
   4111 
   4112 if test "x$ac_cv_prog_cc_c99" = xno
   4113 then :
   4114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4115 printf "%s\n" "unsupported" >&6; }
   4116 else $as_nop
   4117   if test "x$ac_cv_prog_cc_c99" = x
   4118 then :
   4119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4120 printf "%s\n" "none needed" >&6; }
   4121 else $as_nop
   4122   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4123 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4124      CC="$CC $ac_cv_prog_cc_c99"
   4125 fi
   4126   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4127   ac_prog_cc_stdc=c99
   4128 fi
   4129 fi
   4130 if test x$ac_prog_cc_stdc = xno
   4131 then :
   4132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4133 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4134 if test ${ac_cv_prog_cc_c89+y}
   4135 then :
   4136   printf %s "(cached) " >&6
   4137 else $as_nop
   4138   ac_cv_prog_cc_c89=no
   4139 ac_save_CC=$CC
   4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4141 /* end confdefs.h.  */
   4142 $ac_c_conftest_c89_program
   4143 _ACEOF
   4144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4145 do
   4146   CC="$ac_save_CC $ac_arg"
   4147   if ac_fn_c_try_compile "$LINENO"
   4148 then :
   4149   ac_cv_prog_cc_c89=$ac_arg
   4150 fi
   4151 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4152   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4153 done
   4154 rm -f conftest.$ac_ext
   4155 CC=$ac_save_CC
   4156 fi
   4157 
   4158 if test "x$ac_cv_prog_cc_c89" = xno
   4159 then :
   4160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4161 printf "%s\n" "unsupported" >&6; }
   4162 else $as_nop
   4163   if test "x$ac_cv_prog_cc_c89" = x
   4164 then :
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4166 printf "%s\n" "none needed" >&6; }
   4167 else $as_nop
   4168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4169 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4170      CC="$CC $ac_cv_prog_cc_c89"
   4171 fi
   4172   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4173   ac_prog_cc_stdc=c89
   4174 fi
   4175 fi
   4176 
   4177 ac_ext=c
   4178 ac_cpp='$CPP $CPPFLAGS'
   4179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4182 
   4183 
   4184   ac_ext=c
   4185 ac_cpp='$CPP $CPPFLAGS'
   4186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4190 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4191 if test ${am_cv_prog_cc_c_o+y}
   4192 then :
   4193   printf %s "(cached) " >&6
   4194 else $as_nop
   4195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4196 /* end confdefs.h.  */
   4197 
   4198 int
   4199 main (void)
   4200 {
   4201 
   4202   ;
   4203   return 0;
   4204 }
   4205 _ACEOF
   4206   # Make sure it works both with $CC and with simple cc.
   4207   # Following AC_PROG_CC_C_O, we do the test twice because some
   4208   # compilers refuse to overwrite an existing .o file with -o,
   4209   # though they will create one.
   4210   am_cv_prog_cc_c_o=yes
   4211   for am_i in 1 2; do
   4212     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4213    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4214    ac_status=$?
   4215    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4216    (exit $ac_status); } \
   4217          && test -f conftest2.$ac_objext; then
   4218       : OK
   4219     else
   4220       am_cv_prog_cc_c_o=no
   4221       break
   4222     fi
   4223   done
   4224   rm -f core conftest*
   4225   unset am_i
   4226 fi
   4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4228 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4229 if test "$am_cv_prog_cc_c_o" != yes; then
   4230    # Losing compiler, so override with the script.
   4231    # FIXME: It is wrong to rewrite CC.
   4232    # But if we don't then we get into trouble of one sort or another.
   4233    # A longer-term fix would be to have automake use am__CC in this case,
   4234    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4235    CC="$am_aux_dir/compile $CC"
   4236 fi
   4237 ac_ext=c
   4238 ac_cpp='$CPP $CPPFLAGS'
   4239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4242 
   4243 
   4244 depcc="$CC"   am_compiler_list=
   4245 
   4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4247 printf %s "checking dependency style of $depcc... " >&6; }
   4248 if test ${am_cv_CC_dependencies_compiler_type+y}
   4249 then :
   4250   printf %s "(cached) " >&6
   4251 else $as_nop
   4252   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4253   # We make a subdir and do the tests there.  Otherwise we can end up
   4254   # making bogus files that we don't know about and never remove.  For
   4255   # instance it was reported that on HP-UX the gcc test will end up
   4256   # making a dummy file named 'D' -- because '-MD' means "put the output
   4257   # in D".
   4258   rm -rf conftest.dir
   4259   mkdir conftest.dir
   4260   # Copy depcomp to subdir because otherwise we won't find it if we're
   4261   # using a relative directory.
   4262   cp "$am_depcomp" conftest.dir
   4263   cd conftest.dir
   4264   # We will build objects and dependencies in a subdirectory because
   4265   # it helps to detect inapplicable dependency modes.  For instance
   4266   # both Tru64's cc and ICC support -MD to output dependencies as a
   4267   # side effect of compilation, but ICC will put the dependencies in
   4268   # the current directory while Tru64 will put them in the object
   4269   # directory.
   4270   mkdir sub
   4271 
   4272   am_cv_CC_dependencies_compiler_type=none
   4273   if test "$am_compiler_list" = ""; then
   4274      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4275   fi
   4276   am__universal=false
   4277   case " $depcc " in #(
   4278      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4279      esac
   4280 
   4281   for depmode in $am_compiler_list; do
   4282     # Setup a source with many dependencies, because some compilers
   4283     # like to wrap large dependency lists on column 80 (with \), and
   4284     # we should not choose a depcomp mode which is confused by this.
   4285     #
   4286     # We need to recreate these files for each test, as the compiler may
   4287     # overwrite some of them when testing with obscure command lines.
   4288     # This happens at least with the AIX C compiler.
   4289     : > sub/conftest.c
   4290     for i in 1 2 3 4 5 6; do
   4291       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4292       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4293       # Solaris 10 /bin/sh.
   4294       echo '/* dummy */' > sub/conftst$i.h
   4295     done
   4296     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4297 
   4298     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4299     # mode.  It turns out that the SunPro C++ compiler does not properly
   4300     # handle '-M -o', and we need to detect this.  Also, some Intel
   4301     # versions had trouble with output in subdirs.
   4302     am__obj=sub/conftest.${OBJEXT-o}
   4303     am__minus_obj="-o $am__obj"
   4304     case $depmode in
   4305     gcc)
   4306       # This depmode causes a compiler race in universal mode.
   4307       test "$am__universal" = false || continue
   4308       ;;
   4309     nosideeffect)
   4310       # After this tag, mechanisms are not by side-effect, so they'll
   4311       # only be used when explicitly requested.
   4312       if test "x$enable_dependency_tracking" = xyes; then
   4313 	continue
   4314       else
   4315 	break
   4316       fi
   4317       ;;
   4318     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4319       # This compiler won't grok '-c -o', but also, the minuso test has
   4320       # not run yet.  These depmodes are late enough in the game, and
   4321       # so weak that their functioning should not be impacted.
   4322       am__obj=conftest.${OBJEXT-o}
   4323       am__minus_obj=
   4324       ;;
   4325     none) break ;;
   4326     esac
   4327     if depmode=$depmode \
   4328        source=sub/conftest.c object=$am__obj \
   4329        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4330        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4331          >/dev/null 2>conftest.err &&
   4332        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4333        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4334        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4335        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4336       # icc doesn't choke on unknown options, it will just issue warnings
   4337       # or remarks (even with -Werror).  So we grep stderr for any message
   4338       # that says an option was ignored or not supported.
   4339       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4340       #   icc: Command line warning: ignoring option '-M'; no argument required
   4341       # The diagnosis changed in icc 8.0:
   4342       #   icc: Command line remark: option '-MP' not supported
   4343       if (grep 'ignoring option' conftest.err ||
   4344           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4345         am_cv_CC_dependencies_compiler_type=$depmode
   4346         break
   4347       fi
   4348     fi
   4349   done
   4350 
   4351   cd ..
   4352   rm -rf conftest.dir
   4353 else
   4354   am_cv_CC_dependencies_compiler_type=none
   4355 fi
   4356 
   4357 fi
   4358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4359 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4360 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4361 
   4362  if
   4363   test "x$enable_dependency_tracking" != xno \
   4364   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4365   am__fastdepCC_TRUE=
   4366   am__fastdepCC_FALSE='#'
   4367 else
   4368   am__fastdepCC_TRUE='#'
   4369   am__fastdepCC_FALSE=
   4370 fi
   4371 
   4372 
   4373 
   4374 
   4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4376 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4377 if test ${ac_cv_c_undeclared_builtin_options+y}
   4378 then :
   4379   printf %s "(cached) " >&6
   4380 else $as_nop
   4381   ac_save_CFLAGS=$CFLAGS
   4382    ac_cv_c_undeclared_builtin_options='cannot detect'
   4383    for ac_arg in '' -fno-builtin; do
   4384      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4385      # This test program should *not* compile successfully.
   4386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4387 /* end confdefs.h.  */
   4388 
   4389 int
   4390 main (void)
   4391 {
   4392 (void) strchr;
   4393   ;
   4394   return 0;
   4395 }
   4396 _ACEOF
   4397 if ac_fn_c_try_compile "$LINENO"
   4398 then :
   4399 
   4400 else $as_nop
   4401   # This test program should compile successfully.
   4402         # No library function is consistently available on
   4403         # freestanding implementations, so test against a dummy
   4404         # declaration.  Include always-available headers on the
   4405         # off chance that they somehow elicit warnings.
   4406         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4407 /* end confdefs.h.  */
   4408 #include <float.h>
   4409 #include <limits.h>
   4410 #include <stdarg.h>
   4411 #include <stddef.h>
   4412 extern void ac_decl (int, char *);
   4413 
   4414 int
   4415 main (void)
   4416 {
   4417 (void) ac_decl (0, (char *) 0);
   4418   (void) ac_decl;
   4419 
   4420   ;
   4421   return 0;
   4422 }
   4423 _ACEOF
   4424 if ac_fn_c_try_compile "$LINENO"
   4425 then :
   4426   if test x"$ac_arg" = x
   4427 then :
   4428   ac_cv_c_undeclared_builtin_options='none needed'
   4429 else $as_nop
   4430   ac_cv_c_undeclared_builtin_options=$ac_arg
   4431 fi
   4432           break
   4433 fi
   4434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4435 fi
   4436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4437     done
   4438     CFLAGS=$ac_save_CFLAGS
   4439 
   4440 fi
   4441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4442 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4443   case $ac_cv_c_undeclared_builtin_options in #(
   4444   'cannot detect') :
   4445     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4446 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4447 as_fn_error $? "cannot make $CC report undeclared builtins
   4448 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4449   'none needed') :
   4450     ac_c_undeclared_builtin_options='' ;; #(
   4451   *) :
   4452     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4453 esac
   4454 
   4455 ac_header= ac_cache=
   4456 for ac_item in $ac_header_c_list
   4457 do
   4458   if test $ac_cache; then
   4459     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4460     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4461       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4462     fi
   4463     ac_header= ac_cache=
   4464   elif test $ac_header; then
   4465     ac_cache=$ac_item
   4466   else
   4467     ac_header=$ac_item
   4468   fi
   4469 done
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4479 then :
   4480 
   4481 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4482 
   4483 fi
   4484 
   4485 
   4486 
   4487 
   4488 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4489 if test "x$ac_cv_have_decl___clang__" = xyes
   4490 then :
   4491   CLANGCC="yes"
   4492 else $as_nop
   4493   CLANGCC="no"
   4494 fi
   4495 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4496 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4497 then :
   4498   INTELCC="yes"
   4499 else $as_nop
   4500   INTELCC="no"
   4501 fi
   4502 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4503 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4504 then :
   4505   SUNCC="yes"
   4506 else $as_nop
   4507   SUNCC="no"
   4508 fi
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4518 	if test -n "$ac_tool_prefix"; then
   4519   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4520 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4522 printf %s "checking for $ac_word... " >&6; }
   4523 if test ${ac_cv_path_PKG_CONFIG+y}
   4524 then :
   4525   printf %s "(cached) " >&6
   4526 else $as_nop
   4527   case $PKG_CONFIG in
   4528   [\\/]* | ?:[\\/]*)
   4529   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4530   ;;
   4531   *)
   4532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4533 for as_dir in $PATH
   4534 do
   4535   IFS=$as_save_IFS
   4536   case $as_dir in #(((
   4537     '') as_dir=./ ;;
   4538     */) ;;
   4539     *) as_dir=$as_dir/ ;;
   4540   esac
   4541     for ac_exec_ext in '' $ac_executable_extensions; do
   4542   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4543     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4544     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4545     break 2
   4546   fi
   4547 done
   4548   done
   4549 IFS=$as_save_IFS
   4550 
   4551   ;;
   4552 esac
   4553 fi
   4554 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4555 if test -n "$PKG_CONFIG"; then
   4556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4557 printf "%s\n" "$PKG_CONFIG" >&6; }
   4558 else
   4559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4560 printf "%s\n" "no" >&6; }
   4561 fi
   4562 
   4563 
   4564 fi
   4565 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4566   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4567   # Extract the first word of "pkg-config", so it can be a program name with args.
   4568 set dummy pkg-config; ac_word=$2
   4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4570 printf %s "checking for $ac_word... " >&6; }
   4571 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4572 then :
   4573   printf %s "(cached) " >&6
   4574 else $as_nop
   4575   case $ac_pt_PKG_CONFIG in
   4576   [\\/]* | ?:[\\/]*)
   4577   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4578   ;;
   4579   *)
   4580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4581 for as_dir in $PATH
   4582 do
   4583   IFS=$as_save_IFS
   4584   case $as_dir in #(((
   4585     '') as_dir=./ ;;
   4586     */) ;;
   4587     *) as_dir=$as_dir/ ;;
   4588   esac
   4589     for ac_exec_ext in '' $ac_executable_extensions; do
   4590   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4591     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4592     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4593     break 2
   4594   fi
   4595 done
   4596   done
   4597 IFS=$as_save_IFS
   4598 
   4599   ;;
   4600 esac
   4601 fi
   4602 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4603 if test -n "$ac_pt_PKG_CONFIG"; then
   4604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4605 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4606 else
   4607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4608 printf "%s\n" "no" >&6; }
   4609 fi
   4610 
   4611   if test "x$ac_pt_PKG_CONFIG" = x; then
   4612     PKG_CONFIG=""
   4613   else
   4614     case $cross_compiling:$ac_tool_warned in
   4615 yes:)
   4616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4617 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4618 ac_tool_warned=yes ;;
   4619 esac
   4620     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4621   fi
   4622 else
   4623   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4624 fi
   4625 
   4626 fi
   4627 if test -n "$PKG_CONFIG"; then
   4628 	_pkg_min_version=0.9.0
   4629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4630 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4631 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4633 printf "%s\n" "yes" >&6; }
   4634 	else
   4635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4636 printf "%s\n" "no" >&6; }
   4637 		PKG_CONFIG=""
   4638 	fi
   4639 fi
   4640 
   4641 
   4642   # Make sure we can run config.sub.
   4643 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4644   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4645 
   4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4647 printf %s "checking build system type... " >&6; }
   4648 if test ${ac_cv_build+y}
   4649 then :
   4650   printf %s "(cached) " >&6
   4651 else $as_nop
   4652   ac_build_alias=$build_alias
   4653 test "x$ac_build_alias" = x &&
   4654   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4655 test "x$ac_build_alias" = x &&
   4656   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4657 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4658   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4659 
   4660 fi
   4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4662 printf "%s\n" "$ac_cv_build" >&6; }
   4663 case $ac_cv_build in
   4664 *-*-*) ;;
   4665 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4666 esac
   4667 build=$ac_cv_build
   4668 ac_save_IFS=$IFS; IFS='-'
   4669 set x $ac_cv_build
   4670 shift
   4671 build_cpu=$1
   4672 build_vendor=$2
   4673 shift; shift
   4674 # Remember, the first character of IFS is used to create $*,
   4675 # except with old shells:
   4676 build_os=$*
   4677 IFS=$ac_save_IFS
   4678 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4679 
   4680 
   4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4682 printf %s "checking host system type... " >&6; }
   4683 if test ${ac_cv_host+y}
   4684 then :
   4685   printf %s "(cached) " >&6
   4686 else $as_nop
   4687   if test "x$host_alias" = x; then
   4688   ac_cv_host=$ac_cv_build
   4689 else
   4690   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4691     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4692 fi
   4693 
   4694 fi
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4696 printf "%s\n" "$ac_cv_host" >&6; }
   4697 case $ac_cv_host in
   4698 *-*-*) ;;
   4699 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4700 esac
   4701 host=$ac_cv_host
   4702 ac_save_IFS=$IFS; IFS='-'
   4703 set x $ac_cv_host
   4704 shift
   4705 host_cpu=$1
   4706 host_vendor=$2
   4707 shift; shift
   4708 # Remember, the first character of IFS is used to create $*,
   4709 # except with old shells:
   4710 host_os=$*
   4711 IFS=$ac_save_IFS
   4712 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4713 
   4714 
   4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4716 printf %s "checking for a sed that does not truncate output... " >&6; }
   4717 if test ${ac_cv_path_SED+y}
   4718 then :
   4719   printf %s "(cached) " >&6
   4720 else $as_nop
   4721             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4722      for ac_i in 1 2 3 4 5 6 7; do
   4723        ac_script="$ac_script$as_nl$ac_script"
   4724      done
   4725      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4726      { ac_script=; unset ac_script;}
   4727      if test -z "$SED"; then
   4728   ac_path_SED_found=false
   4729   # Loop through the user's path and test for each of PROGNAME-LIST
   4730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4731 for as_dir in $PATH
   4732 do
   4733   IFS=$as_save_IFS
   4734   case $as_dir in #(((
   4735     '') as_dir=./ ;;
   4736     */) ;;
   4737     *) as_dir=$as_dir/ ;;
   4738   esac
   4739     for ac_prog in sed gsed
   4740    do
   4741     for ac_exec_ext in '' $ac_executable_extensions; do
   4742       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4743       as_fn_executable_p "$ac_path_SED" || continue
   4744 # Check for GNU ac_path_SED and select it if it is found.
   4745   # Check for GNU $ac_path_SED
   4746 case `"$ac_path_SED" --version 2>&1` in
   4747 *GNU*)
   4748   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4749 *)
   4750   ac_count=0
   4751   printf %s 0123456789 >"conftest.in"
   4752   while :
   4753   do
   4754     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4755     mv "conftest.tmp" "conftest.in"
   4756     cp "conftest.in" "conftest.nl"
   4757     printf "%s\n" '' >> "conftest.nl"
   4758     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4759     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4760     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4761     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4762       # Best one so far, save it but keep looking for a better one
   4763       ac_cv_path_SED="$ac_path_SED"
   4764       ac_path_SED_max=$ac_count
   4765     fi
   4766     # 10*(2^10) chars as input seems more than enough
   4767     test $ac_count -gt 10 && break
   4768   done
   4769   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4770 esac
   4771 
   4772       $ac_path_SED_found && break 3
   4773     done
   4774   done
   4775   done
   4776 IFS=$as_save_IFS
   4777   if test -z "$ac_cv_path_SED"; then
   4778     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4779   fi
   4780 else
   4781   ac_cv_path_SED=$SED
   4782 fi
   4783 
   4784 fi
   4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4786 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4787  SED="$ac_cv_path_SED"
   4788   rm -f conftest.sed
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 # Check whether --enable-selective-werror was given.
   4796 if test ${enable_selective_werror+y}
   4797 then :
   4798   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4799 else $as_nop
   4800   SELECTIVE_WERROR=yes
   4801 fi
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4808 if test "x$SUNCC" = "xyes"; then
   4809     BASE_CFLAGS="-v"
   4810 else
   4811     BASE_CFLAGS=""
   4812 fi
   4813 
   4814 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 
   4826 
   4827 
   4828 xorg_testset_save_CFLAGS="$CFLAGS"
   4829 
   4830 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4831 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4833 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4834 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4835 then :
   4836   printf %s "(cached) " >&6
   4837 else $as_nop
   4838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4839 /* end confdefs.h.  */
   4840 int i;
   4841 _ACEOF
   4842 if ac_fn_c_try_compile "$LINENO"
   4843 then :
   4844   xorg_cv_cc_flag_unknown_warning_option=yes
   4845 else $as_nop
   4846   xorg_cv_cc_flag_unknown_warning_option=no
   4847 fi
   4848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4849 fi
   4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4853 	CFLAGS="$xorg_testset_save_CFLAGS"
   4854 fi
   4855 
   4856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4859 	fi
   4860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4864 then :
   4865   printf %s "(cached) " >&6
   4866 else $as_nop
   4867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4868 /* end confdefs.h.  */
   4869 int i;
   4870 _ACEOF
   4871 if ac_fn_c_try_compile "$LINENO"
   4872 then :
   4873   xorg_cv_cc_flag_unused_command_line_argument=yes
   4874 else $as_nop
   4875   xorg_cv_cc_flag_unused_command_line_argument=no
   4876 fi
   4877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4878 fi
   4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4880 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4882 	CFLAGS="$xorg_testset_save_CFLAGS"
   4883 fi
   4884 
   4885 found="no"
   4886 
   4887 	if test $found = "no" ; then
   4888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4890 		fi
   4891 
   4892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4894 		fi
   4895 
   4896 		CFLAGS="$CFLAGS -Wall"
   4897 
   4898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4899 printf %s "checking if $CC supports -Wall... " >&6; }
   4900 		cacheid=xorg_cv_cc_flag__Wall
   4901 		if eval test \${$cacheid+y}
   4902 then :
   4903   printf %s "(cached) " >&6
   4904 else $as_nop
   4905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4906 /* end confdefs.h.  */
   4907 int i;
   4908 int
   4909 main (void)
   4910 {
   4911 
   4912   ;
   4913   return 0;
   4914 }
   4915 _ACEOF
   4916 if ac_fn_c_try_link "$LINENO"
   4917 then :
   4918   eval $cacheid=yes
   4919 else $as_nop
   4920   eval $cacheid=no
   4921 fi
   4922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4923     conftest$ac_exeext conftest.$ac_ext
   4924 fi
   4925 
   4926 
   4927 		CFLAGS="$xorg_testset_save_CFLAGS"
   4928 
   4929 		eval supported=\$$cacheid
   4930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4931 printf "%s\n" "$supported" >&6; }
   4932 		if test "$supported" = "yes" ; then
   4933 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4934 			found="yes"
   4935 		fi
   4936 	fi
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 xorg_testset_save_CFLAGS="$CFLAGS"
   4953 
   4954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4959 then :
   4960   printf %s "(cached) " >&6
   4961 else $as_nop
   4962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4963 /* end confdefs.h.  */
   4964 int i;
   4965 _ACEOF
   4966 if ac_fn_c_try_compile "$LINENO"
   4967 then :
   4968   xorg_cv_cc_flag_unknown_warning_option=yes
   4969 else $as_nop
   4970   xorg_cv_cc_flag_unknown_warning_option=no
   4971 fi
   4972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4973 fi
   4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4975 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4977 	CFLAGS="$xorg_testset_save_CFLAGS"
   4978 fi
   4979 
   4980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4983 	fi
   4984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4986 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4987 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4988 then :
   4989   printf %s "(cached) " >&6
   4990 else $as_nop
   4991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4992 /* end confdefs.h.  */
   4993 int i;
   4994 _ACEOF
   4995 if ac_fn_c_try_compile "$LINENO"
   4996 then :
   4997   xorg_cv_cc_flag_unused_command_line_argument=yes
   4998 else $as_nop
   4999   xorg_cv_cc_flag_unused_command_line_argument=no
   5000 fi
   5001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5002 fi
   5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5004 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5006 	CFLAGS="$xorg_testset_save_CFLAGS"
   5007 fi
   5008 
   5009 found="no"
   5010 
   5011 	if test $found = "no" ; then
   5012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5014 		fi
   5015 
   5016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5018 		fi
   5019 
   5020 		CFLAGS="$CFLAGS -Wpointer-arith"
   5021 
   5022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5023 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5024 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5025 		if eval test \${$cacheid+y}
   5026 then :
   5027   printf %s "(cached) " >&6
   5028 else $as_nop
   5029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5030 /* end confdefs.h.  */
   5031 int i;
   5032 int
   5033 main (void)
   5034 {
   5035 
   5036   ;
   5037   return 0;
   5038 }
   5039 _ACEOF
   5040 if ac_fn_c_try_link "$LINENO"
   5041 then :
   5042   eval $cacheid=yes
   5043 else $as_nop
   5044   eval $cacheid=no
   5045 fi
   5046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5047     conftest$ac_exeext conftest.$ac_ext
   5048 fi
   5049 
   5050 
   5051 		CFLAGS="$xorg_testset_save_CFLAGS"
   5052 
   5053 		eval supported=\$$cacheid
   5054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5055 printf "%s\n" "$supported" >&6; }
   5056 		if test "$supported" = "yes" ; then
   5057 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5058 			found="yes"
   5059 		fi
   5060 	fi
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 xorg_testset_save_CFLAGS="$CFLAGS"
   5077 
   5078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5083 then :
   5084   printf %s "(cached) " >&6
   5085 else $as_nop
   5086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 _ACEOF
   5090 if ac_fn_c_try_compile "$LINENO"
   5091 then :
   5092   xorg_cv_cc_flag_unknown_warning_option=yes
   5093 else $as_nop
   5094   xorg_cv_cc_flag_unknown_warning_option=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5097 fi
   5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5101 	CFLAGS="$xorg_testset_save_CFLAGS"
   5102 fi
   5103 
   5104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5107 	fi
   5108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5112 then :
   5113   printf %s "(cached) " >&6
   5114 else $as_nop
   5115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5116 /* end confdefs.h.  */
   5117 int i;
   5118 _ACEOF
   5119 if ac_fn_c_try_compile "$LINENO"
   5120 then :
   5121   xorg_cv_cc_flag_unused_command_line_argument=yes
   5122 else $as_nop
   5123   xorg_cv_cc_flag_unused_command_line_argument=no
   5124 fi
   5125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5126 fi
   5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5128 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5130 	CFLAGS="$xorg_testset_save_CFLAGS"
   5131 fi
   5132 
   5133 found="no"
   5134 
   5135 	if test $found = "no" ; then
   5136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 		fi
   5139 
   5140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5142 		fi
   5143 
   5144 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5145 
   5146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5147 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5148 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5149 		if eval test \${$cacheid+y}
   5150 then :
   5151   printf %s "(cached) " >&6
   5152 else $as_nop
   5153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 int i;
   5156 int
   5157 main (void)
   5158 {
   5159 
   5160   ;
   5161   return 0;
   5162 }
   5163 _ACEOF
   5164 if ac_fn_c_try_link "$LINENO"
   5165 then :
   5166   eval $cacheid=yes
   5167 else $as_nop
   5168   eval $cacheid=no
   5169 fi
   5170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5171     conftest$ac_exeext conftest.$ac_ext
   5172 fi
   5173 
   5174 
   5175 		CFLAGS="$xorg_testset_save_CFLAGS"
   5176 
   5177 		eval supported=\$$cacheid
   5178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5179 printf "%s\n" "$supported" >&6; }
   5180 		if test "$supported" = "yes" ; then
   5181 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5182 			found="yes"
   5183 		fi
   5184 	fi
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 xorg_testset_save_CFLAGS="$CFLAGS"
   5201 
   5202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5205 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5206 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5207 then :
   5208   printf %s "(cached) " >&6
   5209 else $as_nop
   5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 int i;
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"
   5215 then :
   5216   xorg_cv_cc_flag_unknown_warning_option=yes
   5217 else $as_nop
   5218   xorg_cv_cc_flag_unknown_warning_option=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5221 fi
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	fi
   5232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5236 then :
   5237   printf %s "(cached) " >&6
   5238 else $as_nop
   5239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5240 /* end confdefs.h.  */
   5241 int i;
   5242 _ACEOF
   5243 if ac_fn_c_try_compile "$LINENO"
   5244 then :
   5245   xorg_cv_cc_flag_unused_command_line_argument=yes
   5246 else $as_nop
   5247   xorg_cv_cc_flag_unused_command_line_argument=no
   5248 fi
   5249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5250 fi
   5251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5252 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5254 	CFLAGS="$xorg_testset_save_CFLAGS"
   5255 fi
   5256 
   5257 found="no"
   5258 
   5259 	if test $found = "no" ; then
   5260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 		fi
   5263 
   5264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5266 		fi
   5267 
   5268 		CFLAGS="$CFLAGS -Wformat=2"
   5269 
   5270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5271 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5272 		cacheid=xorg_cv_cc_flag__Wformat_2
   5273 		if eval test \${$cacheid+y}
   5274 then :
   5275   printf %s "(cached) " >&6
   5276 else $as_nop
   5277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5278 /* end confdefs.h.  */
   5279 int i;
   5280 int
   5281 main (void)
   5282 {
   5283 
   5284   ;
   5285   return 0;
   5286 }
   5287 _ACEOF
   5288 if ac_fn_c_try_link "$LINENO"
   5289 then :
   5290   eval $cacheid=yes
   5291 else $as_nop
   5292   eval $cacheid=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5295     conftest$ac_exeext conftest.$ac_ext
   5296 fi
   5297 
   5298 
   5299 		CFLAGS="$xorg_testset_save_CFLAGS"
   5300 
   5301 		eval supported=\$$cacheid
   5302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5303 printf "%s\n" "$supported" >&6; }
   5304 		if test "$supported" = "yes" ; then
   5305 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5306 			found="yes"
   5307 		fi
   5308 	fi
   5309 
   5310 	if test $found = "no" ; then
   5311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5313 		fi
   5314 
   5315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5317 		fi
   5318 
   5319 		CFLAGS="$CFLAGS -Wformat"
   5320 
   5321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5322 printf %s "checking if $CC supports -Wformat... " >&6; }
   5323 		cacheid=xorg_cv_cc_flag__Wformat
   5324 		if eval test \${$cacheid+y}
   5325 then :
   5326   printf %s "(cached) " >&6
   5327 else $as_nop
   5328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5329 /* end confdefs.h.  */
   5330 int i;
   5331 int
   5332 main (void)
   5333 {
   5334 
   5335   ;
   5336   return 0;
   5337 }
   5338 _ACEOF
   5339 if ac_fn_c_try_link "$LINENO"
   5340 then :
   5341   eval $cacheid=yes
   5342 else $as_nop
   5343   eval $cacheid=no
   5344 fi
   5345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5346     conftest$ac_exeext conftest.$ac_ext
   5347 fi
   5348 
   5349 
   5350 		CFLAGS="$xorg_testset_save_CFLAGS"
   5351 
   5352 		eval supported=\$$cacheid
   5353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5354 printf "%s\n" "$supported" >&6; }
   5355 		if test "$supported" = "yes" ; then
   5356 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5357 			found="yes"
   5358 		fi
   5359 	fi
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 xorg_testset_save_CFLAGS="$CFLAGS"
   5378 
   5379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5382 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5383 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5384 then :
   5385   printf %s "(cached) " >&6
   5386 else $as_nop
   5387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5388 /* end confdefs.h.  */
   5389 int i;
   5390 _ACEOF
   5391 if ac_fn_c_try_compile "$LINENO"
   5392 then :
   5393   xorg_cv_cc_flag_unknown_warning_option=yes
   5394 else $as_nop
   5395   xorg_cv_cc_flag_unknown_warning_option=no
   5396 fi
   5397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5398 fi
   5399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5400 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5402 	CFLAGS="$xorg_testset_save_CFLAGS"
   5403 fi
   5404 
   5405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5408 	fi
   5409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5411 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5412 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5413 then :
   5414   printf %s "(cached) " >&6
   5415 else $as_nop
   5416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5417 /* end confdefs.h.  */
   5418 int i;
   5419 _ACEOF
   5420 if ac_fn_c_try_compile "$LINENO"
   5421 then :
   5422   xorg_cv_cc_flag_unused_command_line_argument=yes
   5423 else $as_nop
   5424   xorg_cv_cc_flag_unused_command_line_argument=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5427 fi
   5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5429 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 found="no"
   5435 
   5436 	if test $found = "no" ; then
   5437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5439 		fi
   5440 
   5441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5443 		fi
   5444 
   5445 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5446 
   5447 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5448 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5449 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5450 		if eval test \${$cacheid+y}
   5451 then :
   5452   printf %s "(cached) " >&6
   5453 else $as_nop
   5454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5455 /* end confdefs.h.  */
   5456 int i;
   5457 int
   5458 main (void)
   5459 {
   5460 
   5461   ;
   5462   return 0;
   5463 }
   5464 _ACEOF
   5465 if ac_fn_c_try_link "$LINENO"
   5466 then :
   5467   eval $cacheid=yes
   5468 else $as_nop
   5469   eval $cacheid=no
   5470 fi
   5471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5472     conftest$ac_exeext conftest.$ac_ext
   5473 fi
   5474 
   5475 
   5476 		CFLAGS="$xorg_testset_save_CFLAGS"
   5477 
   5478 		eval supported=\$$cacheid
   5479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5480 printf "%s\n" "$supported" >&6; }
   5481 		if test "$supported" = "yes" ; then
   5482 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5483 			found="yes"
   5484 		fi
   5485 	fi
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 xorg_testset_save_CFLAGS="$CFLAGS"
   5502 
   5503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5506 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5507 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5508 then :
   5509   printf %s "(cached) " >&6
   5510 else $as_nop
   5511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5512 /* end confdefs.h.  */
   5513 int i;
   5514 _ACEOF
   5515 if ac_fn_c_try_compile "$LINENO"
   5516 then :
   5517   xorg_cv_cc_flag_unknown_warning_option=yes
   5518 else $as_nop
   5519   xorg_cv_cc_flag_unknown_warning_option=no
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5522 fi
   5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5526 	CFLAGS="$xorg_testset_save_CFLAGS"
   5527 fi
   5528 
   5529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5532 	fi
   5533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5537 then :
   5538   printf %s "(cached) " >&6
   5539 else $as_nop
   5540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"
   5545 then :
   5546   xorg_cv_cc_flag_unused_command_line_argument=yes
   5547 else $as_nop
   5548   xorg_cv_cc_flag_unused_command_line_argument=no
   5549 fi
   5550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5551 fi
   5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5553 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5555 	CFLAGS="$xorg_testset_save_CFLAGS"
   5556 fi
   5557 
   5558 found="no"
   5559 
   5560 	if test $found = "no" ; then
   5561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5563 		fi
   5564 
   5565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5567 		fi
   5568 
   5569 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5570 
   5571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5572 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5573 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5574 		if eval test \${$cacheid+y}
   5575 then :
   5576   printf %s "(cached) " >&6
   5577 else $as_nop
   5578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 int i;
   5581 int
   5582 main (void)
   5583 {
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 if ac_fn_c_try_link "$LINENO"
   5590 then :
   5591   eval $cacheid=yes
   5592 else $as_nop
   5593   eval $cacheid=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5596     conftest$ac_exeext conftest.$ac_ext
   5597 fi
   5598 
   5599 
   5600 		CFLAGS="$xorg_testset_save_CFLAGS"
   5601 
   5602 		eval supported=\$$cacheid
   5603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5604 printf "%s\n" "$supported" >&6; }
   5605 		if test "$supported" = "yes" ; then
   5606 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5607 			found="yes"
   5608 		fi
   5609 	fi
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 xorg_testset_save_CFLAGS="$CFLAGS"
   5626 
   5627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5632 then :
   5633   printf %s "(cached) " >&6
   5634 else $as_nop
   5635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5636 /* end confdefs.h.  */
   5637 int i;
   5638 _ACEOF
   5639 if ac_fn_c_try_compile "$LINENO"
   5640 then :
   5641   xorg_cv_cc_flag_unknown_warning_option=yes
   5642 else $as_nop
   5643   xorg_cv_cc_flag_unknown_warning_option=no
   5644 fi
   5645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5646 fi
   5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5650 	CFLAGS="$xorg_testset_save_CFLAGS"
   5651 fi
   5652 
   5653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5656 	fi
   5657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5661 then :
   5662   printf %s "(cached) " >&6
   5663 else $as_nop
   5664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5665 /* end confdefs.h.  */
   5666 int i;
   5667 _ACEOF
   5668 if ac_fn_c_try_compile "$LINENO"
   5669 then :
   5670   xorg_cv_cc_flag_unused_command_line_argument=yes
   5671 else $as_nop
   5672   xorg_cv_cc_flag_unused_command_line_argument=no
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5675 fi
   5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5679 	CFLAGS="$xorg_testset_save_CFLAGS"
   5680 fi
   5681 
   5682 found="no"
   5683 
   5684 	if test $found = "no" ; then
   5685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5687 		fi
   5688 
   5689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5691 		fi
   5692 
   5693 		CFLAGS="$CFLAGS -Wnested-externs"
   5694 
   5695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5696 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5697 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5698 		if eval test \${$cacheid+y}
   5699 then :
   5700   printf %s "(cached) " >&6
   5701 else $as_nop
   5702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5703 /* end confdefs.h.  */
   5704 int i;
   5705 int
   5706 main (void)
   5707 {
   5708 
   5709   ;
   5710   return 0;
   5711 }
   5712 _ACEOF
   5713 if ac_fn_c_try_link "$LINENO"
   5714 then :
   5715   eval $cacheid=yes
   5716 else $as_nop
   5717   eval $cacheid=no
   5718 fi
   5719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5720     conftest$ac_exeext conftest.$ac_ext
   5721 fi
   5722 
   5723 
   5724 		CFLAGS="$xorg_testset_save_CFLAGS"
   5725 
   5726 		eval supported=\$$cacheid
   5727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5728 printf "%s\n" "$supported" >&6; }
   5729 		if test "$supported" = "yes" ; then
   5730 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5731 			found="yes"
   5732 		fi
   5733 	fi
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 xorg_testset_save_CFLAGS="$CFLAGS"
   5750 
   5751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5756 then :
   5757   printf %s "(cached) " >&6
   5758 else $as_nop
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"
   5764 then :
   5765   xorg_cv_cc_flag_unknown_warning_option=yes
   5766 else $as_nop
   5767   xorg_cv_cc_flag_unknown_warning_option=no
   5768 fi
   5769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5770 fi
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5774 	CFLAGS="$xorg_testset_save_CFLAGS"
   5775 fi
   5776 
   5777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5780 	fi
   5781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5785 then :
   5786   printf %s "(cached) " >&6
   5787 else $as_nop
   5788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5789 /* end confdefs.h.  */
   5790 int i;
   5791 _ACEOF
   5792 if ac_fn_c_try_compile "$LINENO"
   5793 then :
   5794   xorg_cv_cc_flag_unused_command_line_argument=yes
   5795 else $as_nop
   5796   xorg_cv_cc_flag_unused_command_line_argument=no
   5797 fi
   5798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5799 fi
   5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5803 	CFLAGS="$xorg_testset_save_CFLAGS"
   5804 fi
   5805 
   5806 found="no"
   5807 
   5808 	if test $found = "no" ; then
   5809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5811 		fi
   5812 
   5813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5815 		fi
   5816 
   5817 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5818 
   5819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5820 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5821 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5822 		if eval test \${$cacheid+y}
   5823 then :
   5824   printf %s "(cached) " >&6
   5825 else $as_nop
   5826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5827 /* end confdefs.h.  */
   5828 int i;
   5829 int
   5830 main (void)
   5831 {
   5832 
   5833   ;
   5834   return 0;
   5835 }
   5836 _ACEOF
   5837 if ac_fn_c_try_link "$LINENO"
   5838 then :
   5839   eval $cacheid=yes
   5840 else $as_nop
   5841   eval $cacheid=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5844     conftest$ac_exeext conftest.$ac_ext
   5845 fi
   5846 
   5847 
   5848 		CFLAGS="$xorg_testset_save_CFLAGS"
   5849 
   5850 		eval supported=\$$cacheid
   5851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5852 printf "%s\n" "$supported" >&6; }
   5853 		if test "$supported" = "yes" ; then
   5854 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5855 			found="yes"
   5856 		fi
   5857 	fi
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 xorg_testset_save_CFLAGS="$CFLAGS"
   5874 
   5875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5880 then :
   5881   printf %s "(cached) " >&6
   5882 else $as_nop
   5883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5884 /* end confdefs.h.  */
   5885 int i;
   5886 _ACEOF
   5887 if ac_fn_c_try_compile "$LINENO"
   5888 then :
   5889   xorg_cv_cc_flag_unknown_warning_option=yes
   5890 else $as_nop
   5891   xorg_cv_cc_flag_unknown_warning_option=no
   5892 fi
   5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5894 fi
   5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5898 	CFLAGS="$xorg_testset_save_CFLAGS"
   5899 fi
   5900 
   5901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5904 	fi
   5905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5909 then :
   5910   printf %s "(cached) " >&6
   5911 else $as_nop
   5912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5913 /* end confdefs.h.  */
   5914 int i;
   5915 _ACEOF
   5916 if ac_fn_c_try_compile "$LINENO"
   5917 then :
   5918   xorg_cv_cc_flag_unused_command_line_argument=yes
   5919 else $as_nop
   5920   xorg_cv_cc_flag_unused_command_line_argument=no
   5921 fi
   5922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5923 fi
   5924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5927 	CFLAGS="$xorg_testset_save_CFLAGS"
   5928 fi
   5929 
   5930 found="no"
   5931 
   5932 	if test $found = "no" ; then
   5933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5935 		fi
   5936 
   5937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5939 		fi
   5940 
   5941 		CFLAGS="$CFLAGS -Wold-style-definition"
   5942 
   5943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5944 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5945 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5946 		if eval test \${$cacheid+y}
   5947 then :
   5948   printf %s "(cached) " >&6
   5949 else $as_nop
   5950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5951 /* end confdefs.h.  */
   5952 int i;
   5953 int
   5954 main (void)
   5955 {
   5956 
   5957   ;
   5958   return 0;
   5959 }
   5960 _ACEOF
   5961 if ac_fn_c_try_link "$LINENO"
   5962 then :
   5963   eval $cacheid=yes
   5964 else $as_nop
   5965   eval $cacheid=no
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5968     conftest$ac_exeext conftest.$ac_ext
   5969 fi
   5970 
   5971 
   5972 		CFLAGS="$xorg_testset_save_CFLAGS"
   5973 
   5974 		eval supported=\$$cacheid
   5975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5976 printf "%s\n" "$supported" >&6; }
   5977 		if test "$supported" = "yes" ; then
   5978 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5979 			found="yes"
   5980 		fi
   5981 	fi
   5982 
   5983 	if test $found = "no" ; then
   5984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5986 		fi
   5987 
   5988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5990 		fi
   5991 
   5992 		CFLAGS="$CFLAGS -fd"
   5993 
   5994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5995 printf %s "checking if $CC supports -fd... " >&6; }
   5996 		cacheid=xorg_cv_cc_flag__fd
   5997 		if eval test \${$cacheid+y}
   5998 then :
   5999   printf %s "(cached) " >&6
   6000 else $as_nop
   6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 int i;
   6004 int
   6005 main (void)
   6006 {
   6007 
   6008   ;
   6009   return 0;
   6010 }
   6011 _ACEOF
   6012 if ac_fn_c_try_link "$LINENO"
   6013 then :
   6014   eval $cacheid=yes
   6015 else $as_nop
   6016   eval $cacheid=no
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6019     conftest$ac_exeext conftest.$ac_ext
   6020 fi
   6021 
   6022 
   6023 		CFLAGS="$xorg_testset_save_CFLAGS"
   6024 
   6025 		eval supported=\$$cacheid
   6026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6027 printf "%s\n" "$supported" >&6; }
   6028 		if test "$supported" = "yes" ; then
   6029 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6030 			found="yes"
   6031 		fi
   6032 	fi
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 xorg_testset_save_CFLAGS="$CFLAGS"
   6049 
   6050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6053 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6054 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6055 then :
   6056   printf %s "(cached) " >&6
   6057 else $as_nop
   6058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6059 /* end confdefs.h.  */
   6060 int i;
   6061 _ACEOF
   6062 if ac_fn_c_try_compile "$LINENO"
   6063 then :
   6064   xorg_cv_cc_flag_unknown_warning_option=yes
   6065 else $as_nop
   6066   xorg_cv_cc_flag_unknown_warning_option=no
   6067 fi
   6068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6069 fi
   6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6071 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6073 	CFLAGS="$xorg_testset_save_CFLAGS"
   6074 fi
   6075 
   6076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6079 	fi
   6080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6081 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6082 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6083 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6084 then :
   6085   printf %s "(cached) " >&6
   6086 else $as_nop
   6087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6088 /* end confdefs.h.  */
   6089 int i;
   6090 _ACEOF
   6091 if ac_fn_c_try_compile "$LINENO"
   6092 then :
   6093   xorg_cv_cc_flag_unused_command_line_argument=yes
   6094 else $as_nop
   6095   xorg_cv_cc_flag_unused_command_line_argument=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6098 fi
   6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6102 	CFLAGS="$xorg_testset_save_CFLAGS"
   6103 fi
   6104 
   6105 found="no"
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6117 
   6118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6119 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6121 		if eval test \${$cacheid+y}
   6122 then :
   6123   printf %s "(cached) " >&6
   6124 else $as_nop
   6125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6126 /* end confdefs.h.  */
   6127 int i;
   6128 int
   6129 main (void)
   6130 {
   6131 
   6132   ;
   6133   return 0;
   6134 }
   6135 _ACEOF
   6136 if ac_fn_c_try_link "$LINENO"
   6137 then :
   6138   eval $cacheid=yes
   6139 else $as_nop
   6140   eval $cacheid=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6143     conftest$ac_exeext conftest.$ac_ext
   6144 fi
   6145 
   6146 
   6147 		CFLAGS="$xorg_testset_save_CFLAGS"
   6148 
   6149 		eval supported=\$$cacheid
   6150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6151 printf "%s\n" "$supported" >&6; }
   6152 		if test "$supported" = "yes" ; then
   6153 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6154 			found="yes"
   6155 		fi
   6156 	fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 # This chunk adds additional warnings that could catch undesired effects.
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 xorg_testset_save_CFLAGS="$CFLAGS"
   6177 
   6178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6183 then :
   6184   printf %s "(cached) " >&6
   6185 else $as_nop
   6186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6187 /* end confdefs.h.  */
   6188 int i;
   6189 _ACEOF
   6190 if ac_fn_c_try_compile "$LINENO"
   6191 then :
   6192   xorg_cv_cc_flag_unknown_warning_option=yes
   6193 else $as_nop
   6194   xorg_cv_cc_flag_unknown_warning_option=no
   6195 fi
   6196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6197 fi
   6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6201 	CFLAGS="$xorg_testset_save_CFLAGS"
   6202 fi
   6203 
   6204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6207 	fi
   6208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6212 then :
   6213   printf %s "(cached) " >&6
   6214 else $as_nop
   6215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6216 /* end confdefs.h.  */
   6217 int i;
   6218 _ACEOF
   6219 if ac_fn_c_try_compile "$LINENO"
   6220 then :
   6221   xorg_cv_cc_flag_unused_command_line_argument=yes
   6222 else $as_nop
   6223   xorg_cv_cc_flag_unused_command_line_argument=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6226 fi
   6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6228 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6230 	CFLAGS="$xorg_testset_save_CFLAGS"
   6231 fi
   6232 
   6233 found="no"
   6234 
   6235 	if test $found = "no" ; then
   6236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 		fi
   6239 
   6240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6242 		fi
   6243 
   6244 		CFLAGS="$CFLAGS -Wunused"
   6245 
   6246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6247 printf %s "checking if $CC supports -Wunused... " >&6; }
   6248 		cacheid=xorg_cv_cc_flag__Wunused
   6249 		if eval test \${$cacheid+y}
   6250 then :
   6251   printf %s "(cached) " >&6
   6252 else $as_nop
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 int i;
   6256 int
   6257 main (void)
   6258 {
   6259 
   6260   ;
   6261   return 0;
   6262 }
   6263 _ACEOF
   6264 if ac_fn_c_try_link "$LINENO"
   6265 then :
   6266   eval $cacheid=yes
   6267 else $as_nop
   6268   eval $cacheid=no
   6269 fi
   6270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6271     conftest$ac_exeext conftest.$ac_ext
   6272 fi
   6273 
   6274 
   6275 		CFLAGS="$xorg_testset_save_CFLAGS"
   6276 
   6277 		eval supported=\$$cacheid
   6278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6279 printf "%s\n" "$supported" >&6; }
   6280 		if test "$supported" = "yes" ; then
   6281 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6282 			found="yes"
   6283 		fi
   6284 	fi
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 xorg_testset_save_CFLAGS="$CFLAGS"
   6301 
   6302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6307 then :
   6308   printf %s "(cached) " >&6
   6309 else $as_nop
   6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 _ACEOF
   6314 if ac_fn_c_try_compile "$LINENO"
   6315 then :
   6316   xorg_cv_cc_flag_unknown_warning_option=yes
   6317 else $as_nop
   6318   xorg_cv_cc_flag_unknown_warning_option=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6321 fi
   6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	fi
   6332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6336 then :
   6337   printf %s "(cached) " >&6
   6338 else $as_nop
   6339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"
   6344 then :
   6345   xorg_cv_cc_flag_unused_command_line_argument=yes
   6346 else $as_nop
   6347   xorg_cv_cc_flag_unused_command_line_argument=no
   6348 fi
   6349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6350 fi
   6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6352 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6354 	CFLAGS="$xorg_testset_save_CFLAGS"
   6355 fi
   6356 
   6357 found="no"
   6358 
   6359 	if test $found = "no" ; then
   6360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6362 		fi
   6363 
   6364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6366 		fi
   6367 
   6368 		CFLAGS="$CFLAGS -Wuninitialized"
   6369 
   6370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6371 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6372 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6373 		if eval test \${$cacheid+y}
   6374 then :
   6375   printf %s "(cached) " >&6
   6376 else $as_nop
   6377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 int i;
   6380 int
   6381 main (void)
   6382 {
   6383 
   6384   ;
   6385   return 0;
   6386 }
   6387 _ACEOF
   6388 if ac_fn_c_try_link "$LINENO"
   6389 then :
   6390   eval $cacheid=yes
   6391 else $as_nop
   6392   eval $cacheid=no
   6393 fi
   6394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6395     conftest$ac_exeext conftest.$ac_ext
   6396 fi
   6397 
   6398 
   6399 		CFLAGS="$xorg_testset_save_CFLAGS"
   6400 
   6401 		eval supported=\$$cacheid
   6402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6403 printf "%s\n" "$supported" >&6; }
   6404 		if test "$supported" = "yes" ; then
   6405 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6406 			found="yes"
   6407 		fi
   6408 	fi
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 xorg_testset_save_CFLAGS="$CFLAGS"
   6425 
   6426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6431 then :
   6432   printf %s "(cached) " >&6
   6433 else $as_nop
   6434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6435 /* end confdefs.h.  */
   6436 int i;
   6437 _ACEOF
   6438 if ac_fn_c_try_compile "$LINENO"
   6439 then :
   6440   xorg_cv_cc_flag_unknown_warning_option=yes
   6441 else $as_nop
   6442   xorg_cv_cc_flag_unknown_warning_option=no
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6445 fi
   6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6449 	CFLAGS="$xorg_testset_save_CFLAGS"
   6450 fi
   6451 
   6452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	fi
   6456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6460 then :
   6461   printf %s "(cached) " >&6
   6462 else $as_nop
   6463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6464 /* end confdefs.h.  */
   6465 int i;
   6466 _ACEOF
   6467 if ac_fn_c_try_compile "$LINENO"
   6468 then :
   6469   xorg_cv_cc_flag_unused_command_line_argument=yes
   6470 else $as_nop
   6471   xorg_cv_cc_flag_unused_command_line_argument=no
   6472 fi
   6473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6474 fi
   6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6478 	CFLAGS="$xorg_testset_save_CFLAGS"
   6479 fi
   6480 
   6481 found="no"
   6482 
   6483 	if test $found = "no" ; then
   6484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6486 		fi
   6487 
   6488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6490 		fi
   6491 
   6492 		CFLAGS="$CFLAGS -Wshadow"
   6493 
   6494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6495 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6496 		cacheid=xorg_cv_cc_flag__Wshadow
   6497 		if eval test \${$cacheid+y}
   6498 then :
   6499   printf %s "(cached) " >&6
   6500 else $as_nop
   6501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6502 /* end confdefs.h.  */
   6503 int i;
   6504 int
   6505 main (void)
   6506 {
   6507 
   6508   ;
   6509   return 0;
   6510 }
   6511 _ACEOF
   6512 if ac_fn_c_try_link "$LINENO"
   6513 then :
   6514   eval $cacheid=yes
   6515 else $as_nop
   6516   eval $cacheid=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6519     conftest$ac_exeext conftest.$ac_ext
   6520 fi
   6521 
   6522 
   6523 		CFLAGS="$xorg_testset_save_CFLAGS"
   6524 
   6525 		eval supported=\$$cacheid
   6526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6527 printf "%s\n" "$supported" >&6; }
   6528 		if test "$supported" = "yes" ; then
   6529 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6530 			found="yes"
   6531 		fi
   6532 	fi
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 xorg_testset_save_CFLAGS="$CFLAGS"
   6549 
   6550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6555 then :
   6556   printf %s "(cached) " >&6
   6557 else $as_nop
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"
   6563 then :
   6564   xorg_cv_cc_flag_unknown_warning_option=yes
   6565 else $as_nop
   6566   xorg_cv_cc_flag_unknown_warning_option=no
   6567 fi
   6568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6569 fi
   6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6573 	CFLAGS="$xorg_testset_save_CFLAGS"
   6574 fi
   6575 
   6576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 	fi
   6580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6584 then :
   6585   printf %s "(cached) " >&6
   6586 else $as_nop
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 int i;
   6590 _ACEOF
   6591 if ac_fn_c_try_compile "$LINENO"
   6592 then :
   6593   xorg_cv_cc_flag_unused_command_line_argument=yes
   6594 else $as_nop
   6595   xorg_cv_cc_flag_unused_command_line_argument=no
   6596 fi
   6597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6598 fi
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6602 	CFLAGS="$xorg_testset_save_CFLAGS"
   6603 fi
   6604 
   6605 found="no"
   6606 
   6607 	if test $found = "no" ; then
   6608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6610 		fi
   6611 
   6612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6614 		fi
   6615 
   6616 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6617 
   6618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6619 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6620 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6621 		if eval test \${$cacheid+y}
   6622 then :
   6623   printf %s "(cached) " >&6
   6624 else $as_nop
   6625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6626 /* end confdefs.h.  */
   6627 int i;
   6628 int
   6629 main (void)
   6630 {
   6631 
   6632   ;
   6633   return 0;
   6634 }
   6635 _ACEOF
   6636 if ac_fn_c_try_link "$LINENO"
   6637 then :
   6638   eval $cacheid=yes
   6639 else $as_nop
   6640   eval $cacheid=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6643     conftest$ac_exeext conftest.$ac_ext
   6644 fi
   6645 
   6646 
   6647 		CFLAGS="$xorg_testset_save_CFLAGS"
   6648 
   6649 		eval supported=\$$cacheid
   6650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6651 printf "%s\n" "$supported" >&6; }
   6652 		if test "$supported" = "yes" ; then
   6653 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6654 			found="yes"
   6655 		fi
   6656 	fi
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 xorg_testset_save_CFLAGS="$CFLAGS"
   6673 
   6674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else $as_nop
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"
   6687 then :
   6688   xorg_cv_cc_flag_unknown_warning_option=yes
   6689 else $as_nop
   6690   xorg_cv_cc_flag_unknown_warning_option=no
   6691 fi
   6692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6693 fi
   6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6697 	CFLAGS="$xorg_testset_save_CFLAGS"
   6698 fi
   6699 
   6700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 	fi
   6704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6708 then :
   6709   printf %s "(cached) " >&6
   6710 else $as_nop
   6711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6712 /* end confdefs.h.  */
   6713 int i;
   6714 _ACEOF
   6715 if ac_fn_c_try_compile "$LINENO"
   6716 then :
   6717   xorg_cv_cc_flag_unused_command_line_argument=yes
   6718 else $as_nop
   6719   xorg_cv_cc_flag_unused_command_line_argument=no
   6720 fi
   6721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6722 fi
   6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6726 	CFLAGS="$xorg_testset_save_CFLAGS"
   6727 fi
   6728 
   6729 found="no"
   6730 
   6731 	if test $found = "no" ; then
   6732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6734 		fi
   6735 
   6736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6738 		fi
   6739 
   6740 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6741 
   6742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6743 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6744 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6745 		if eval test \${$cacheid+y}
   6746 then :
   6747   printf %s "(cached) " >&6
   6748 else $as_nop
   6749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6750 /* end confdefs.h.  */
   6751 int i;
   6752 int
   6753 main (void)
   6754 {
   6755 
   6756   ;
   6757   return 0;
   6758 }
   6759 _ACEOF
   6760 if ac_fn_c_try_link "$LINENO"
   6761 then :
   6762   eval $cacheid=yes
   6763 else $as_nop
   6764   eval $cacheid=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6767     conftest$ac_exeext conftest.$ac_ext
   6768 fi
   6769 
   6770 
   6771 		CFLAGS="$xorg_testset_save_CFLAGS"
   6772 
   6773 		eval supported=\$$cacheid
   6774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6775 printf "%s\n" "$supported" >&6; }
   6776 		if test "$supported" = "yes" ; then
   6777 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6778 			found="yes"
   6779 		fi
   6780 	fi
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 xorg_testset_save_CFLAGS="$CFLAGS"
   6797 
   6798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6801 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6802 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6803 then :
   6804   printf %s "(cached) " >&6
   6805 else $as_nop
   6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 _ACEOF
   6810 if ac_fn_c_try_compile "$LINENO"
   6811 then :
   6812   xorg_cv_cc_flag_unknown_warning_option=yes
   6813 else $as_nop
   6814   xorg_cv_cc_flag_unknown_warning_option=no
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6817 fi
   6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6821 	CFLAGS="$xorg_testset_save_CFLAGS"
   6822 fi
   6823 
   6824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6827 	fi
   6828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6832 then :
   6833   printf %s "(cached) " >&6
   6834 else $as_nop
   6835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6836 /* end confdefs.h.  */
   6837 int i;
   6838 _ACEOF
   6839 if ac_fn_c_try_compile "$LINENO"
   6840 then :
   6841   xorg_cv_cc_flag_unused_command_line_argument=yes
   6842 else $as_nop
   6843   xorg_cv_cc_flag_unused_command_line_argument=no
   6844 fi
   6845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6846 fi
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6850 	CFLAGS="$xorg_testset_save_CFLAGS"
   6851 fi
   6852 
   6853 found="no"
   6854 
   6855 	if test $found = "no" ; then
   6856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 		fi
   6859 
   6860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6862 		fi
   6863 
   6864 		CFLAGS="$CFLAGS -Wredundant-decls"
   6865 
   6866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6867 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6868 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6869 		if eval test \${$cacheid+y}
   6870 then :
   6871   printf %s "(cached) " >&6
   6872 else $as_nop
   6873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 int
   6877 main (void)
   6878 {
   6879 
   6880   ;
   6881   return 0;
   6882 }
   6883 _ACEOF
   6884 if ac_fn_c_try_link "$LINENO"
   6885 then :
   6886   eval $cacheid=yes
   6887 else $as_nop
   6888   eval $cacheid=no
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6891     conftest$ac_exeext conftest.$ac_ext
   6892 fi
   6893 
   6894 
   6895 		CFLAGS="$xorg_testset_save_CFLAGS"
   6896 
   6897 		eval supported=\$$cacheid
   6898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6899 printf "%s\n" "$supported" >&6; }
   6900 		if test "$supported" = "yes" ; then
   6901 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6902 			found="yes"
   6903 		fi
   6904 	fi
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 xorg_testset_save_CFLAGS="$CFLAGS"
   6921 
   6922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6927 then :
   6928   printf %s "(cached) " >&6
   6929 else $as_nop
   6930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6931 /* end confdefs.h.  */
   6932 int i;
   6933 _ACEOF
   6934 if ac_fn_c_try_compile "$LINENO"
   6935 then :
   6936   xorg_cv_cc_flag_unknown_warning_option=yes
   6937 else $as_nop
   6938   xorg_cv_cc_flag_unknown_warning_option=no
   6939 fi
   6940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6941 fi
   6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6945 	CFLAGS="$xorg_testset_save_CFLAGS"
   6946 fi
   6947 
   6948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 	fi
   6952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6956 then :
   6957   printf %s "(cached) " >&6
   6958 else $as_nop
   6959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 int i;
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"
   6964 then :
   6965   xorg_cv_cc_flag_unused_command_line_argument=yes
   6966 else $as_nop
   6967   xorg_cv_cc_flag_unused_command_line_argument=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6970 fi
   6971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6972 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6974 	CFLAGS="$xorg_testset_save_CFLAGS"
   6975 fi
   6976 
   6977 found="no"
   6978 
   6979 	if test $found = "no" ; then
   6980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 		fi
   6983 
   6984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6986 		fi
   6987 
   6988 		CFLAGS="$CFLAGS -Wlogical-op"
   6989 
   6990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6991 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6992 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6993 		if eval test \${$cacheid+y}
   6994 then :
   6995   printf %s "(cached) " >&6
   6996 else $as_nop
   6997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6998 /* end confdefs.h.  */
   6999 int i;
   7000 int
   7001 main (void)
   7002 {
   7003 
   7004   ;
   7005   return 0;
   7006 }
   7007 _ACEOF
   7008 if ac_fn_c_try_link "$LINENO"
   7009 then :
   7010   eval $cacheid=yes
   7011 else $as_nop
   7012   eval $cacheid=no
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7015     conftest$ac_exeext conftest.$ac_ext
   7016 fi
   7017 
   7018 
   7019 		CFLAGS="$xorg_testset_save_CFLAGS"
   7020 
   7021 		eval supported=\$$cacheid
   7022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7023 printf "%s\n" "$supported" >&6; }
   7024 		if test "$supported" = "yes" ; then
   7025 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7026 			found="yes"
   7027 		fi
   7028 	fi
   7029 
   7030 
   7031 
   7032 # These are currently disabled because they are noisy.  They will be enabled
   7033 # in the future once the codebase is sufficiently modernized to silence
   7034 # them.  For now, I don't want them to drown out the other warnings.
   7035 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7036 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7037 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7038 
   7039 # Turn some warnings into errors, so we don't accidently get successful builds
   7040 # when there are problems that should be fixed.
   7041 
   7042 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 xorg_testset_save_CFLAGS="$CFLAGS"
   7057 
   7058 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7059 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7061 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7062 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7063 then :
   7064   printf %s "(cached) " >&6
   7065 else $as_nop
   7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 _ACEOF
   7070 if ac_fn_c_try_compile "$LINENO"
   7071 then :
   7072   xorg_cv_cc_flag_unknown_warning_option=yes
   7073 else $as_nop
   7074   xorg_cv_cc_flag_unknown_warning_option=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7077 fi
   7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7079 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7080 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7081 	CFLAGS="$xorg_testset_save_CFLAGS"
   7082 fi
   7083 
   7084 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7085 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7087 	fi
   7088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7089 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7090 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7091 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7092 then :
   7093   printf %s "(cached) " >&6
   7094 else $as_nop
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 _ACEOF
   7099 if ac_fn_c_try_compile "$LINENO"
   7100 then :
   7101   xorg_cv_cc_flag_unused_command_line_argument=yes
   7102 else $as_nop
   7103   xorg_cv_cc_flag_unused_command_line_argument=no
   7104 fi
   7105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7106 fi
   7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7108 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7109 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7110 	CFLAGS="$xorg_testset_save_CFLAGS"
   7111 fi
   7112 
   7113 found="no"
   7114 
   7115 	if test $found = "no" ; then
   7116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 		fi
   7119 
   7120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7122 		fi
   7123 
   7124 		CFLAGS="$CFLAGS -Werror=implicit"
   7125 
   7126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7127 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7128 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7129 		if eval test \${$cacheid+y}
   7130 then :
   7131   printf %s "(cached) " >&6
   7132 else $as_nop
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 int
   7137 main (void)
   7138 {
   7139 
   7140   ;
   7141   return 0;
   7142 }
   7143 _ACEOF
   7144 if ac_fn_c_try_link "$LINENO"
   7145 then :
   7146   eval $cacheid=yes
   7147 else $as_nop
   7148   eval $cacheid=no
   7149 fi
   7150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7151     conftest$ac_exeext conftest.$ac_ext
   7152 fi
   7153 
   7154 
   7155 		CFLAGS="$xorg_testset_save_CFLAGS"
   7156 
   7157 		eval supported=\$$cacheid
   7158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7159 printf "%s\n" "$supported" >&6; }
   7160 		if test "$supported" = "yes" ; then
   7161 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7162 			found="yes"
   7163 		fi
   7164 	fi
   7165 
   7166 	if test $found = "no" ; then
   7167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7169 		fi
   7170 
   7171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7173 		fi
   7174 
   7175 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7176 
   7177 		{ 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
   7178 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7179 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7180 		if eval test \${$cacheid+y}
   7181 then :
   7182   printf %s "(cached) " >&6
   7183 else $as_nop
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 int
   7188 main (void)
   7189 {
   7190 
   7191   ;
   7192   return 0;
   7193 }
   7194 _ACEOF
   7195 if ac_fn_c_try_link "$LINENO"
   7196 then :
   7197   eval $cacheid=yes
   7198 else $as_nop
   7199   eval $cacheid=no
   7200 fi
   7201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7202     conftest$ac_exeext conftest.$ac_ext
   7203 fi
   7204 
   7205 
   7206 		CFLAGS="$xorg_testset_save_CFLAGS"
   7207 
   7208 		eval supported=\$$cacheid
   7209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7210 printf "%s\n" "$supported" >&6; }
   7211 		if test "$supported" = "yes" ; then
   7212 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7213 			found="yes"
   7214 		fi
   7215 	fi
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 xorg_testset_save_CFLAGS="$CFLAGS"
   7232 
   7233 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7234 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7236 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7237 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7238 then :
   7239   printf %s "(cached) " >&6
   7240 else $as_nop
   7241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7242 /* end confdefs.h.  */
   7243 int i;
   7244 _ACEOF
   7245 if ac_fn_c_try_compile "$LINENO"
   7246 then :
   7247   xorg_cv_cc_flag_unknown_warning_option=yes
   7248 else $as_nop
   7249   xorg_cv_cc_flag_unknown_warning_option=no
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7252 fi
   7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7262 	fi
   7263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7267 then :
   7268   printf %s "(cached) " >&6
   7269 else $as_nop
   7270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 int i;
   7273 _ACEOF
   7274 if ac_fn_c_try_compile "$LINENO"
   7275 then :
   7276   xorg_cv_cc_flag_unused_command_line_argument=yes
   7277 else $as_nop
   7278   xorg_cv_cc_flag_unused_command_line_argument=no
   7279 fi
   7280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7281 fi
   7282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7283 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7285 	CFLAGS="$xorg_testset_save_CFLAGS"
   7286 fi
   7287 
   7288 found="no"
   7289 
   7290 	if test $found = "no" ; then
   7291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7293 		fi
   7294 
   7295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7297 		fi
   7298 
   7299 		CFLAGS="$CFLAGS -Werror=nonnull"
   7300 
   7301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7302 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7303 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7304 		if eval test \${$cacheid+y}
   7305 then :
   7306   printf %s "(cached) " >&6
   7307 else $as_nop
   7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 int i;
   7311 int
   7312 main (void)
   7313 {
   7314 
   7315   ;
   7316   return 0;
   7317 }
   7318 _ACEOF
   7319 if ac_fn_c_try_link "$LINENO"
   7320 then :
   7321   eval $cacheid=yes
   7322 else $as_nop
   7323   eval $cacheid=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7326     conftest$ac_exeext conftest.$ac_ext
   7327 fi
   7328 
   7329 
   7330 		CFLAGS="$xorg_testset_save_CFLAGS"
   7331 
   7332 		eval supported=\$$cacheid
   7333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7334 printf "%s\n" "$supported" >&6; }
   7335 		if test "$supported" = "yes" ; then
   7336 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7337 			found="yes"
   7338 		fi
   7339 	fi
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 xorg_testset_save_CFLAGS="$CFLAGS"
   7356 
   7357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7362 then :
   7363   printf %s "(cached) " >&6
   7364 else $as_nop
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"
   7370 then :
   7371   xorg_cv_cc_flag_unknown_warning_option=yes
   7372 else $as_nop
   7373   xorg_cv_cc_flag_unknown_warning_option=no
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7376 fi
   7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7380 	CFLAGS="$xorg_testset_save_CFLAGS"
   7381 fi
   7382 
   7383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7386 	fi
   7387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7391 then :
   7392   printf %s "(cached) " >&6
   7393 else $as_nop
   7394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7395 /* end confdefs.h.  */
   7396 int i;
   7397 _ACEOF
   7398 if ac_fn_c_try_compile "$LINENO"
   7399 then :
   7400   xorg_cv_cc_flag_unused_command_line_argument=yes
   7401 else $as_nop
   7402   xorg_cv_cc_flag_unused_command_line_argument=no
   7403 fi
   7404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7405 fi
   7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7407 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7409 	CFLAGS="$xorg_testset_save_CFLAGS"
   7410 fi
   7411 
   7412 found="no"
   7413 
   7414 	if test $found = "no" ; then
   7415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7417 		fi
   7418 
   7419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7421 		fi
   7422 
   7423 		CFLAGS="$CFLAGS -Werror=init-self"
   7424 
   7425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7426 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7427 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7428 		if eval test \${$cacheid+y}
   7429 then :
   7430   printf %s "(cached) " >&6
   7431 else $as_nop
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 int
   7436 main (void)
   7437 {
   7438 
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 if ac_fn_c_try_link "$LINENO"
   7444 then :
   7445   eval $cacheid=yes
   7446 else $as_nop
   7447   eval $cacheid=no
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7450     conftest$ac_exeext conftest.$ac_ext
   7451 fi
   7452 
   7453 
   7454 		CFLAGS="$xorg_testset_save_CFLAGS"
   7455 
   7456 		eval supported=\$$cacheid
   7457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7458 printf "%s\n" "$supported" >&6; }
   7459 		if test "$supported" = "yes" ; then
   7460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7461 			found="yes"
   7462 		fi
   7463 	fi
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 xorg_testset_save_CFLAGS="$CFLAGS"
   7480 
   7481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7486 then :
   7487   printf %s "(cached) " >&6
   7488 else $as_nop
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 _ACEOF
   7493 if ac_fn_c_try_compile "$LINENO"
   7494 then :
   7495   xorg_cv_cc_flag_unknown_warning_option=yes
   7496 else $as_nop
   7497   xorg_cv_cc_flag_unknown_warning_option=no
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7500 fi
   7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7504 	CFLAGS="$xorg_testset_save_CFLAGS"
   7505 fi
   7506 
   7507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7510 	fi
   7511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7515 then :
   7516   printf %s "(cached) " >&6
   7517 else $as_nop
   7518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7519 /* end confdefs.h.  */
   7520 int i;
   7521 _ACEOF
   7522 if ac_fn_c_try_compile "$LINENO"
   7523 then :
   7524   xorg_cv_cc_flag_unused_command_line_argument=yes
   7525 else $as_nop
   7526   xorg_cv_cc_flag_unused_command_line_argument=no
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7529 fi
   7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7533 	CFLAGS="$xorg_testset_save_CFLAGS"
   7534 fi
   7535 
   7536 found="no"
   7537 
   7538 	if test $found = "no" ; then
   7539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 		fi
   7542 
   7543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7545 		fi
   7546 
   7547 		CFLAGS="$CFLAGS -Werror=main"
   7548 
   7549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7550 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7551 		cacheid=xorg_cv_cc_flag__Werror_main
   7552 		if eval test \${$cacheid+y}
   7553 then :
   7554   printf %s "(cached) " >&6
   7555 else $as_nop
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 int
   7560 main (void)
   7561 {
   7562 
   7563   ;
   7564   return 0;
   7565 }
   7566 _ACEOF
   7567 if ac_fn_c_try_link "$LINENO"
   7568 then :
   7569   eval $cacheid=yes
   7570 else $as_nop
   7571   eval $cacheid=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7574     conftest$ac_exeext conftest.$ac_ext
   7575 fi
   7576 
   7577 
   7578 		CFLAGS="$xorg_testset_save_CFLAGS"
   7579 
   7580 		eval supported=\$$cacheid
   7581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7582 printf "%s\n" "$supported" >&6; }
   7583 		if test "$supported" = "yes" ; then
   7584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7585 			found="yes"
   7586 		fi
   7587 	fi
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 xorg_testset_save_CFLAGS="$CFLAGS"
   7604 
   7605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7610 then :
   7611   printf %s "(cached) " >&6
   7612 else $as_nop
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 _ACEOF
   7617 if ac_fn_c_try_compile "$LINENO"
   7618 then :
   7619   xorg_cv_cc_flag_unknown_warning_option=yes
   7620 else $as_nop
   7621   xorg_cv_cc_flag_unknown_warning_option=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7624 fi
   7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 	fi
   7635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7639 then :
   7640   printf %s "(cached) " >&6
   7641 else $as_nop
   7642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7643 /* end confdefs.h.  */
   7644 int i;
   7645 _ACEOF
   7646 if ac_fn_c_try_compile "$LINENO"
   7647 then :
   7648   xorg_cv_cc_flag_unused_command_line_argument=yes
   7649 else $as_nop
   7650   xorg_cv_cc_flag_unused_command_line_argument=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7653 fi
   7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7657 	CFLAGS="$xorg_testset_save_CFLAGS"
   7658 fi
   7659 
   7660 found="no"
   7661 
   7662 	if test $found = "no" ; then
   7663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7665 		fi
   7666 
   7667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7669 		fi
   7670 
   7671 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7672 
   7673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7674 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7675 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7676 		if eval test \${$cacheid+y}
   7677 then :
   7678   printf %s "(cached) " >&6
   7679 else $as_nop
   7680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7681 /* end confdefs.h.  */
   7682 int i;
   7683 int
   7684 main (void)
   7685 {
   7686 
   7687   ;
   7688   return 0;
   7689 }
   7690 _ACEOF
   7691 if ac_fn_c_try_link "$LINENO"
   7692 then :
   7693   eval $cacheid=yes
   7694 else $as_nop
   7695   eval $cacheid=no
   7696 fi
   7697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7698     conftest$ac_exeext conftest.$ac_ext
   7699 fi
   7700 
   7701 
   7702 		CFLAGS="$xorg_testset_save_CFLAGS"
   7703 
   7704 		eval supported=\$$cacheid
   7705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7706 printf "%s\n" "$supported" >&6; }
   7707 		if test "$supported" = "yes" ; then
   7708 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7709 			found="yes"
   7710 		fi
   7711 	fi
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 xorg_testset_save_CFLAGS="$CFLAGS"
   7728 
   7729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7732 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7733 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7734 then :
   7735   printf %s "(cached) " >&6
   7736 else $as_nop
   7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7738 /* end confdefs.h.  */
   7739 int i;
   7740 _ACEOF
   7741 if ac_fn_c_try_compile "$LINENO"
   7742 then :
   7743   xorg_cv_cc_flag_unknown_warning_option=yes
   7744 else $as_nop
   7745   xorg_cv_cc_flag_unknown_warning_option=no
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7748 fi
   7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7752 	CFLAGS="$xorg_testset_save_CFLAGS"
   7753 fi
   7754 
   7755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7758 	fi
   7759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7763 then :
   7764   printf %s "(cached) " >&6
   7765 else $as_nop
   7766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7767 /* end confdefs.h.  */
   7768 int i;
   7769 _ACEOF
   7770 if ac_fn_c_try_compile "$LINENO"
   7771 then :
   7772   xorg_cv_cc_flag_unused_command_line_argument=yes
   7773 else $as_nop
   7774   xorg_cv_cc_flag_unused_command_line_argument=no
   7775 fi
   7776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7777 fi
   7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7779 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7781 	CFLAGS="$xorg_testset_save_CFLAGS"
   7782 fi
   7783 
   7784 found="no"
   7785 
   7786 	if test $found = "no" ; then
   7787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7789 		fi
   7790 
   7791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7793 		fi
   7794 
   7795 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7796 
   7797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7798 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7799 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7800 		if eval test \${$cacheid+y}
   7801 then :
   7802   printf %s "(cached) " >&6
   7803 else $as_nop
   7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 int
   7808 main (void)
   7809 {
   7810 
   7811   ;
   7812   return 0;
   7813 }
   7814 _ACEOF
   7815 if ac_fn_c_try_link "$LINENO"
   7816 then :
   7817   eval $cacheid=yes
   7818 else $as_nop
   7819   eval $cacheid=no
   7820 fi
   7821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7822     conftest$ac_exeext conftest.$ac_ext
   7823 fi
   7824 
   7825 
   7826 		CFLAGS="$xorg_testset_save_CFLAGS"
   7827 
   7828 		eval supported=\$$cacheid
   7829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7830 printf "%s\n" "$supported" >&6; }
   7831 		if test "$supported" = "yes" ; then
   7832 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7833 			found="yes"
   7834 		fi
   7835 	fi
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 xorg_testset_save_CFLAGS="$CFLAGS"
   7852 
   7853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7858 then :
   7859   printf %s "(cached) " >&6
   7860 else $as_nop
   7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 _ACEOF
   7865 if ac_fn_c_try_compile "$LINENO"
   7866 then :
   7867   xorg_cv_cc_flag_unknown_warning_option=yes
   7868 else $as_nop
   7869   xorg_cv_cc_flag_unknown_warning_option=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7872 fi
   7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7876 	CFLAGS="$xorg_testset_save_CFLAGS"
   7877 fi
   7878 
   7879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 	fi
   7883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7887 then :
   7888   printf %s "(cached) " >&6
   7889 else $as_nop
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 _ACEOF
   7894 if ac_fn_c_try_compile "$LINENO"
   7895 then :
   7896   xorg_cv_cc_flag_unused_command_line_argument=yes
   7897 else $as_nop
   7898   xorg_cv_cc_flag_unused_command_line_argument=no
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7901 fi
   7902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7905 	CFLAGS="$xorg_testset_save_CFLAGS"
   7906 fi
   7907 
   7908 found="no"
   7909 
   7910 	if test $found = "no" ; then
   7911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7913 		fi
   7914 
   7915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7917 		fi
   7918 
   7919 		CFLAGS="$CFLAGS -Werror=return-type"
   7920 
   7921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7922 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7923 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7924 		if eval test \${$cacheid+y}
   7925 then :
   7926   printf %s "(cached) " >&6
   7927 else $as_nop
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 int
   7932 main (void)
   7933 {
   7934 
   7935   ;
   7936   return 0;
   7937 }
   7938 _ACEOF
   7939 if ac_fn_c_try_link "$LINENO"
   7940 then :
   7941   eval $cacheid=yes
   7942 else $as_nop
   7943   eval $cacheid=no
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7946     conftest$ac_exeext conftest.$ac_ext
   7947 fi
   7948 
   7949 
   7950 		CFLAGS="$xorg_testset_save_CFLAGS"
   7951 
   7952 		eval supported=\$$cacheid
   7953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7954 printf "%s\n" "$supported" >&6; }
   7955 		if test "$supported" = "yes" ; then
   7956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7957 			found="yes"
   7958 		fi
   7959 	fi
   7960 
   7961 	if test $found = "no" ; then
   7962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 		fi
   7965 
   7966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7968 		fi
   7969 
   7970 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7971 
   7972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7973 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7974 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7975 		if eval test \${$cacheid+y}
   7976 then :
   7977   printf %s "(cached) " >&6
   7978 else $as_nop
   7979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7980 /* end confdefs.h.  */
   7981 int i;
   7982 int
   7983 main (void)
   7984 {
   7985 
   7986   ;
   7987   return 0;
   7988 }
   7989 _ACEOF
   7990 if ac_fn_c_try_link "$LINENO"
   7991 then :
   7992   eval $cacheid=yes
   7993 else $as_nop
   7994   eval $cacheid=no
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7997     conftest$ac_exeext conftest.$ac_ext
   7998 fi
   7999 
   8000 
   8001 		CFLAGS="$xorg_testset_save_CFLAGS"
   8002 
   8003 		eval supported=\$$cacheid
   8004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8005 printf "%s\n" "$supported" >&6; }
   8006 		if test "$supported" = "yes" ; then
   8007 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8008 			found="yes"
   8009 		fi
   8010 	fi
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 xorg_testset_save_CFLAGS="$CFLAGS"
   8027 
   8028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8031 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8032 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8033 then :
   8034   printf %s "(cached) " >&6
   8035 else $as_nop
   8036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8037 /* end confdefs.h.  */
   8038 int i;
   8039 _ACEOF
   8040 if ac_fn_c_try_compile "$LINENO"
   8041 then :
   8042   xorg_cv_cc_flag_unknown_warning_option=yes
   8043 else $as_nop
   8044   xorg_cv_cc_flag_unknown_warning_option=no
   8045 fi
   8046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8047 fi
   8048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8049 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8051 	CFLAGS="$xorg_testset_save_CFLAGS"
   8052 fi
   8053 
   8054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8057 	fi
   8058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8060 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8061 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8062 then :
   8063   printf %s "(cached) " >&6
   8064 else $as_nop
   8065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8066 /* end confdefs.h.  */
   8067 int i;
   8068 _ACEOF
   8069 if ac_fn_c_try_compile "$LINENO"
   8070 then :
   8071   xorg_cv_cc_flag_unused_command_line_argument=yes
   8072 else $as_nop
   8073   xorg_cv_cc_flag_unused_command_line_argument=no
   8074 fi
   8075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8076 fi
   8077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8078 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8080 	CFLAGS="$xorg_testset_save_CFLAGS"
   8081 fi
   8082 
   8083 found="no"
   8084 
   8085 	if test $found = "no" ; then
   8086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8088 		fi
   8089 
   8090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8092 		fi
   8093 
   8094 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8095 
   8096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8097 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8098 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8099 		if eval test \${$cacheid+y}
   8100 then :
   8101   printf %s "(cached) " >&6
   8102 else $as_nop
   8103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8104 /* end confdefs.h.  */
   8105 int i;
   8106 int
   8107 main (void)
   8108 {
   8109 
   8110   ;
   8111   return 0;
   8112 }
   8113 _ACEOF
   8114 if ac_fn_c_try_link "$LINENO"
   8115 then :
   8116   eval $cacheid=yes
   8117 else $as_nop
   8118   eval $cacheid=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8121     conftest$ac_exeext conftest.$ac_ext
   8122 fi
   8123 
   8124 
   8125 		CFLAGS="$xorg_testset_save_CFLAGS"
   8126 
   8127 		eval supported=\$$cacheid
   8128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8129 printf "%s\n" "$supported" >&6; }
   8130 		if test "$supported" = "yes" ; then
   8131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8132 			found="yes"
   8133 		fi
   8134 	fi
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 xorg_testset_save_CFLAGS="$CFLAGS"
   8151 
   8152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8157 then :
   8158   printf %s "(cached) " >&6
   8159 else $as_nop
   8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 _ACEOF
   8164 if ac_fn_c_try_compile "$LINENO"
   8165 then :
   8166   xorg_cv_cc_flag_unknown_warning_option=yes
   8167 else $as_nop
   8168   xorg_cv_cc_flag_unknown_warning_option=no
   8169 fi
   8170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8171 fi
   8172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8175 	CFLAGS="$xorg_testset_save_CFLAGS"
   8176 fi
   8177 
   8178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8181 	fi
   8182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8186 then :
   8187   printf %s "(cached) " >&6
   8188 else $as_nop
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 _ACEOF
   8193 if ac_fn_c_try_compile "$LINENO"
   8194 then :
   8195   xorg_cv_cc_flag_unused_command_line_argument=yes
   8196 else $as_nop
   8197   xorg_cv_cc_flag_unused_command_line_argument=no
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8200 fi
   8201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8202 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8204 	CFLAGS="$xorg_testset_save_CFLAGS"
   8205 fi
   8206 
   8207 found="no"
   8208 
   8209 	if test $found = "no" ; then
   8210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8212 		fi
   8213 
   8214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8216 		fi
   8217 
   8218 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8219 
   8220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8221 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8222 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8223 		if eval test \${$cacheid+y}
   8224 then :
   8225   printf %s "(cached) " >&6
   8226 else $as_nop
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 int
   8231 main (void)
   8232 {
   8233 
   8234   ;
   8235   return 0;
   8236 }
   8237 _ACEOF
   8238 if ac_fn_c_try_link "$LINENO"
   8239 then :
   8240   eval $cacheid=yes
   8241 else $as_nop
   8242   eval $cacheid=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8245     conftest$ac_exeext conftest.$ac_ext
   8246 fi
   8247 
   8248 
   8249 		CFLAGS="$xorg_testset_save_CFLAGS"
   8250 
   8251 		eval supported=\$$cacheid
   8252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8253 printf "%s\n" "$supported" >&6; }
   8254 		if test "$supported" = "yes" ; then
   8255 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8256 			found="yes"
   8257 		fi
   8258 	fi
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 xorg_testset_save_CFLAGS="$CFLAGS"
   8275 
   8276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8281 then :
   8282   printf %s "(cached) " >&6
   8283 else $as_nop
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 _ACEOF
   8288 if ac_fn_c_try_compile "$LINENO"
   8289 then :
   8290   xorg_cv_cc_flag_unknown_warning_option=yes
   8291 else $as_nop
   8292   xorg_cv_cc_flag_unknown_warning_option=no
   8293 fi
   8294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8295 fi
   8296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8297 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8299 	CFLAGS="$xorg_testset_save_CFLAGS"
   8300 fi
   8301 
   8302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8305 	fi
   8306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8308 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8309 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8310 then :
   8311   printf %s "(cached) " >&6
   8312 else $as_nop
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"
   8318 then :
   8319   xorg_cv_cc_flag_unused_command_line_argument=yes
   8320 else $as_nop
   8321   xorg_cv_cc_flag_unused_command_line_argument=no
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8324 fi
   8325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8328 	CFLAGS="$xorg_testset_save_CFLAGS"
   8329 fi
   8330 
   8331 found="no"
   8332 
   8333 	if test $found = "no" ; then
   8334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8336 		fi
   8337 
   8338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8340 		fi
   8341 
   8342 		CFLAGS="$CFLAGS -Werror=write-strings"
   8343 
   8344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8345 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8346 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8347 		if eval test \${$cacheid+y}
   8348 then :
   8349   printf %s "(cached) " >&6
   8350 else $as_nop
   8351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8352 /* end confdefs.h.  */
   8353 int i;
   8354 int
   8355 main (void)
   8356 {
   8357 
   8358   ;
   8359   return 0;
   8360 }
   8361 _ACEOF
   8362 if ac_fn_c_try_link "$LINENO"
   8363 then :
   8364   eval $cacheid=yes
   8365 else $as_nop
   8366   eval $cacheid=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8369     conftest$ac_exeext conftest.$ac_ext
   8370 fi
   8371 
   8372 
   8373 		CFLAGS="$xorg_testset_save_CFLAGS"
   8374 
   8375 		eval supported=\$$cacheid
   8376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8377 printf "%s\n" "$supported" >&6; }
   8378 		if test "$supported" = "yes" ; then
   8379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8380 			found="yes"
   8381 		fi
   8382 	fi
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 xorg_testset_save_CFLAGS="$CFLAGS"
   8399 
   8400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8403 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8404 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8405 then :
   8406   printf %s "(cached) " >&6
   8407 else $as_nop
   8408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8409 /* end confdefs.h.  */
   8410 int i;
   8411 _ACEOF
   8412 if ac_fn_c_try_compile "$LINENO"
   8413 then :
   8414   xorg_cv_cc_flag_unknown_warning_option=yes
   8415 else $as_nop
   8416   xorg_cv_cc_flag_unknown_warning_option=no
   8417 fi
   8418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8419 fi
   8420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8421 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8423 	CFLAGS="$xorg_testset_save_CFLAGS"
   8424 fi
   8425 
   8426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8429 	fi
   8430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8431 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8432 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8433 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8434 then :
   8435   printf %s "(cached) " >&6
   8436 else $as_nop
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 _ACEOF
   8441 if ac_fn_c_try_compile "$LINENO"
   8442 then :
   8443   xorg_cv_cc_flag_unused_command_line_argument=yes
   8444 else $as_nop
   8445   xorg_cv_cc_flag_unused_command_line_argument=no
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8448 fi
   8449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8452 	CFLAGS="$xorg_testset_save_CFLAGS"
   8453 fi
   8454 
   8455 found="no"
   8456 
   8457 	if test $found = "no" ; then
   8458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 		fi
   8461 
   8462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8464 		fi
   8465 
   8466 		CFLAGS="$CFLAGS -Werror=address"
   8467 
   8468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8469 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8470 		cacheid=xorg_cv_cc_flag__Werror_address
   8471 		if eval test \${$cacheid+y}
   8472 then :
   8473   printf %s "(cached) " >&6
   8474 else $as_nop
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 int
   8479 main (void)
   8480 {
   8481 
   8482   ;
   8483   return 0;
   8484 }
   8485 _ACEOF
   8486 if ac_fn_c_try_link "$LINENO"
   8487 then :
   8488   eval $cacheid=yes
   8489 else $as_nop
   8490   eval $cacheid=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8493     conftest$ac_exeext conftest.$ac_ext
   8494 fi
   8495 
   8496 
   8497 		CFLAGS="$xorg_testset_save_CFLAGS"
   8498 
   8499 		eval supported=\$$cacheid
   8500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8501 printf "%s\n" "$supported" >&6; }
   8502 		if test "$supported" = "yes" ; then
   8503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8504 			found="yes"
   8505 		fi
   8506 	fi
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 xorg_testset_save_CFLAGS="$CFLAGS"
   8523 
   8524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8529 then :
   8530   printf %s "(cached) " >&6
   8531 else $as_nop
   8532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8533 /* end confdefs.h.  */
   8534 int i;
   8535 _ACEOF
   8536 if ac_fn_c_try_compile "$LINENO"
   8537 then :
   8538   xorg_cv_cc_flag_unknown_warning_option=yes
   8539 else $as_nop
   8540   xorg_cv_cc_flag_unknown_warning_option=no
   8541 fi
   8542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8543 fi
   8544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8545 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8547 	CFLAGS="$xorg_testset_save_CFLAGS"
   8548 fi
   8549 
   8550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 	fi
   8554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8555 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8556 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8557 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8558 then :
   8559   printf %s "(cached) " >&6
   8560 else $as_nop
   8561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8562 /* end confdefs.h.  */
   8563 int i;
   8564 _ACEOF
   8565 if ac_fn_c_try_compile "$LINENO"
   8566 then :
   8567   xorg_cv_cc_flag_unused_command_line_argument=yes
   8568 else $as_nop
   8569   xorg_cv_cc_flag_unused_command_line_argument=no
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8572 fi
   8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8574 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8576 	CFLAGS="$xorg_testset_save_CFLAGS"
   8577 fi
   8578 
   8579 found="no"
   8580 
   8581 	if test $found = "no" ; then
   8582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8584 		fi
   8585 
   8586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8588 		fi
   8589 
   8590 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8591 
   8592 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8593 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8594 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8595 		if eval test \${$cacheid+y}
   8596 then :
   8597   printf %s "(cached) " >&6
   8598 else $as_nop
   8599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8600 /* end confdefs.h.  */
   8601 int i;
   8602 int
   8603 main (void)
   8604 {
   8605 
   8606   ;
   8607   return 0;
   8608 }
   8609 _ACEOF
   8610 if ac_fn_c_try_link "$LINENO"
   8611 then :
   8612   eval $cacheid=yes
   8613 else $as_nop
   8614   eval $cacheid=no
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8617     conftest$ac_exeext conftest.$ac_ext
   8618 fi
   8619 
   8620 
   8621 		CFLAGS="$xorg_testset_save_CFLAGS"
   8622 
   8623 		eval supported=\$$cacheid
   8624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8625 printf "%s\n" "$supported" >&6; }
   8626 		if test "$supported" = "yes" ; then
   8627 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8628 			found="yes"
   8629 		fi
   8630 	fi
   8631 
   8632 	if test $found = "no" ; then
   8633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 		fi
   8636 
   8637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8639 		fi
   8640 
   8641 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8642 
   8643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8644 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8645 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8646 		if eval test \${$cacheid+y}
   8647 then :
   8648   printf %s "(cached) " >&6
   8649 else $as_nop
   8650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8651 /* end confdefs.h.  */
   8652 int i;
   8653 int
   8654 main (void)
   8655 {
   8656 
   8657   ;
   8658   return 0;
   8659 }
   8660 _ACEOF
   8661 if ac_fn_c_try_link "$LINENO"
   8662 then :
   8663   eval $cacheid=yes
   8664 else $as_nop
   8665   eval $cacheid=no
   8666 fi
   8667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8668     conftest$ac_exeext conftest.$ac_ext
   8669 fi
   8670 
   8671 
   8672 		CFLAGS="$xorg_testset_save_CFLAGS"
   8673 
   8674 		eval supported=\$$cacheid
   8675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8676 printf "%s\n" "$supported" >&6; }
   8677 		if test "$supported" = "yes" ; then
   8678 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8679 			found="yes"
   8680 		fi
   8681 	fi
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 xorg_testset_save_CFLAGS="$CFLAGS"
   8698 
   8699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8704 then :
   8705   printf %s "(cached) " >&6
   8706 else $as_nop
   8707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8708 /* end confdefs.h.  */
   8709 int i;
   8710 _ACEOF
   8711 if ac_fn_c_try_compile "$LINENO"
   8712 then :
   8713   xorg_cv_cc_flag_unknown_warning_option=yes
   8714 else $as_nop
   8715   xorg_cv_cc_flag_unknown_warning_option=no
   8716 fi
   8717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8718 fi
   8719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8720 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8722 	CFLAGS="$xorg_testset_save_CFLAGS"
   8723 fi
   8724 
   8725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8728 	fi
   8729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8733 then :
   8734   printf %s "(cached) " >&6
   8735 else $as_nop
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 _ACEOF
   8740 if ac_fn_c_try_compile "$LINENO"
   8741 then :
   8742   xorg_cv_cc_flag_unused_command_line_argument=yes
   8743 else $as_nop
   8744   xorg_cv_cc_flag_unused_command_line_argument=no
   8745 fi
   8746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8747 fi
   8748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8749 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8750 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8751 	CFLAGS="$xorg_testset_save_CFLAGS"
   8752 fi
   8753 
   8754 found="no"
   8755 
   8756 	if test $found = "no" ; then
   8757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 		fi
   8760 
   8761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8763 		fi
   8764 
   8765 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8766 
   8767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8768 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8769 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8770 		if eval test \${$cacheid+y}
   8771 then :
   8772   printf %s "(cached) " >&6
   8773 else $as_nop
   8774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 int
   8778 main (void)
   8779 {
   8780 
   8781   ;
   8782   return 0;
   8783 }
   8784 _ACEOF
   8785 if ac_fn_c_try_link "$LINENO"
   8786 then :
   8787   eval $cacheid=yes
   8788 else $as_nop
   8789   eval $cacheid=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8792     conftest$ac_exeext conftest.$ac_ext
   8793 fi
   8794 
   8795 
   8796 		CFLAGS="$xorg_testset_save_CFLAGS"
   8797 
   8798 		eval supported=\$$cacheid
   8799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8800 printf "%s\n" "$supported" >&6; }
   8801 		if test "$supported" = "yes" ; then
   8802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8803 			found="yes"
   8804 		fi
   8805 	fi
   8806 
   8807  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8808 else
   8809 { 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
   8810 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;}
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 xorg_testset_save_CFLAGS="$CFLAGS"
   8825 
   8826 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8829 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8830 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8831 then :
   8832   printf %s "(cached) " >&6
   8833 else $as_nop
   8834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8835 /* end confdefs.h.  */
   8836 int i;
   8837 _ACEOF
   8838 if ac_fn_c_try_compile "$LINENO"
   8839 then :
   8840   xorg_cv_cc_flag_unknown_warning_option=yes
   8841 else $as_nop
   8842   xorg_cv_cc_flag_unknown_warning_option=no
   8843 fi
   8844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8845 fi
   8846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8847 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8848 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8849 	CFLAGS="$xorg_testset_save_CFLAGS"
   8850 fi
   8851 
   8852 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8853 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8855 	fi
   8856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8857 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8858 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8859 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8860 then :
   8861   printf %s "(cached) " >&6
   8862 else $as_nop
   8863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8864 /* end confdefs.h.  */
   8865 int i;
   8866 _ACEOF
   8867 if ac_fn_c_try_compile "$LINENO"
   8868 then :
   8869   xorg_cv_cc_flag_unused_command_line_argument=yes
   8870 else $as_nop
   8871   xorg_cv_cc_flag_unused_command_line_argument=no
   8872 fi
   8873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8874 fi
   8875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8876 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8878 	CFLAGS="$xorg_testset_save_CFLAGS"
   8879 fi
   8880 
   8881 found="no"
   8882 
   8883 	if test $found = "no" ; then
   8884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8886 		fi
   8887 
   8888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8890 		fi
   8891 
   8892 		CFLAGS="$CFLAGS -Wimplicit"
   8893 
   8894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8895 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8896 		cacheid=xorg_cv_cc_flag__Wimplicit
   8897 		if eval test \${$cacheid+y}
   8898 then :
   8899   printf %s "(cached) " >&6
   8900 else $as_nop
   8901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 int
   8905 main (void)
   8906 {
   8907 
   8908   ;
   8909   return 0;
   8910 }
   8911 _ACEOF
   8912 if ac_fn_c_try_link "$LINENO"
   8913 then :
   8914   eval $cacheid=yes
   8915 else $as_nop
   8916   eval $cacheid=no
   8917 fi
   8918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8919     conftest$ac_exeext conftest.$ac_ext
   8920 fi
   8921 
   8922 
   8923 		CFLAGS="$xorg_testset_save_CFLAGS"
   8924 
   8925 		eval supported=\$$cacheid
   8926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8927 printf "%s\n" "$supported" >&6; }
   8928 		if test "$supported" = "yes" ; then
   8929 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8930 			found="yes"
   8931 		fi
   8932 	fi
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 xorg_testset_save_CFLAGS="$CFLAGS"
   8949 
   8950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8953 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8954 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8955 then :
   8956   printf %s "(cached) " >&6
   8957 else $as_nop
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 _ACEOF
   8962 if ac_fn_c_try_compile "$LINENO"
   8963 then :
   8964   xorg_cv_cc_flag_unknown_warning_option=yes
   8965 else $as_nop
   8966   xorg_cv_cc_flag_unknown_warning_option=no
   8967 fi
   8968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8969 fi
   8970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8971 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8973 	CFLAGS="$xorg_testset_save_CFLAGS"
   8974 fi
   8975 
   8976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8979 	fi
   8980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8982 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8983 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8984 then :
   8985   printf %s "(cached) " >&6
   8986 else $as_nop
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 _ACEOF
   8991 if ac_fn_c_try_compile "$LINENO"
   8992 then :
   8993   xorg_cv_cc_flag_unused_command_line_argument=yes
   8994 else $as_nop
   8995   xorg_cv_cc_flag_unused_command_line_argument=no
   8996 fi
   8997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8998 fi
   8999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9002 	CFLAGS="$xorg_testset_save_CFLAGS"
   9003 fi
   9004 
   9005 found="no"
   9006 
   9007 	if test $found = "no" ; then
   9008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9010 		fi
   9011 
   9012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9014 		fi
   9015 
   9016 		CFLAGS="$CFLAGS -Wnonnull"
   9017 
   9018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9019 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9020 		cacheid=xorg_cv_cc_flag__Wnonnull
   9021 		if eval test \${$cacheid+y}
   9022 then :
   9023   printf %s "(cached) " >&6
   9024 else $as_nop
   9025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9026 /* end confdefs.h.  */
   9027 int i;
   9028 int
   9029 main (void)
   9030 {
   9031 
   9032   ;
   9033   return 0;
   9034 }
   9035 _ACEOF
   9036 if ac_fn_c_try_link "$LINENO"
   9037 then :
   9038   eval $cacheid=yes
   9039 else $as_nop
   9040   eval $cacheid=no
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9043     conftest$ac_exeext conftest.$ac_ext
   9044 fi
   9045 
   9046 
   9047 		CFLAGS="$xorg_testset_save_CFLAGS"
   9048 
   9049 		eval supported=\$$cacheid
   9050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9051 printf "%s\n" "$supported" >&6; }
   9052 		if test "$supported" = "yes" ; then
   9053 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9054 			found="yes"
   9055 		fi
   9056 	fi
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 xorg_testset_save_CFLAGS="$CFLAGS"
   9073 
   9074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9077 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9078 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9079 then :
   9080   printf %s "(cached) " >&6
   9081 else $as_nop
   9082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 _ACEOF
   9086 if ac_fn_c_try_compile "$LINENO"
   9087 then :
   9088   xorg_cv_cc_flag_unknown_warning_option=yes
   9089 else $as_nop
   9090   xorg_cv_cc_flag_unknown_warning_option=no
   9091 fi
   9092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9093 fi
   9094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9097 	CFLAGS="$xorg_testset_save_CFLAGS"
   9098 fi
   9099 
   9100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9103 	fi
   9104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9108 then :
   9109   printf %s "(cached) " >&6
   9110 else $as_nop
   9111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9112 /* end confdefs.h.  */
   9113 int i;
   9114 _ACEOF
   9115 if ac_fn_c_try_compile "$LINENO"
   9116 then :
   9117   xorg_cv_cc_flag_unused_command_line_argument=yes
   9118 else $as_nop
   9119   xorg_cv_cc_flag_unused_command_line_argument=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9122 fi
   9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9126 	CFLAGS="$xorg_testset_save_CFLAGS"
   9127 fi
   9128 
   9129 found="no"
   9130 
   9131 	if test $found = "no" ; then
   9132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9134 		fi
   9135 
   9136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9138 		fi
   9139 
   9140 		CFLAGS="$CFLAGS -Winit-self"
   9141 
   9142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9143 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9144 		cacheid=xorg_cv_cc_flag__Winit_self
   9145 		if eval test \${$cacheid+y}
   9146 then :
   9147   printf %s "(cached) " >&6
   9148 else $as_nop
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 int
   9153 main (void)
   9154 {
   9155 
   9156   ;
   9157   return 0;
   9158 }
   9159 _ACEOF
   9160 if ac_fn_c_try_link "$LINENO"
   9161 then :
   9162   eval $cacheid=yes
   9163 else $as_nop
   9164   eval $cacheid=no
   9165 fi
   9166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9167     conftest$ac_exeext conftest.$ac_ext
   9168 fi
   9169 
   9170 
   9171 		CFLAGS="$xorg_testset_save_CFLAGS"
   9172 
   9173 		eval supported=\$$cacheid
   9174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9175 printf "%s\n" "$supported" >&6; }
   9176 		if test "$supported" = "yes" ; then
   9177 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9178 			found="yes"
   9179 		fi
   9180 	fi
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 xorg_testset_save_CFLAGS="$CFLAGS"
   9197 
   9198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9203 then :
   9204   printf %s "(cached) " >&6
   9205 else $as_nop
   9206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9207 /* end confdefs.h.  */
   9208 int i;
   9209 _ACEOF
   9210 if ac_fn_c_try_compile "$LINENO"
   9211 then :
   9212   xorg_cv_cc_flag_unknown_warning_option=yes
   9213 else $as_nop
   9214   xorg_cv_cc_flag_unknown_warning_option=no
   9215 fi
   9216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9217 fi
   9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9219 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9221 	CFLAGS="$xorg_testset_save_CFLAGS"
   9222 fi
   9223 
   9224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9227 	fi
   9228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9232 then :
   9233   printf %s "(cached) " >&6
   9234 else $as_nop
   9235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 _ACEOF
   9239 if ac_fn_c_try_compile "$LINENO"
   9240 then :
   9241   xorg_cv_cc_flag_unused_command_line_argument=yes
   9242 else $as_nop
   9243   xorg_cv_cc_flag_unused_command_line_argument=no
   9244 fi
   9245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9246 fi
   9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9248 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9250 	CFLAGS="$xorg_testset_save_CFLAGS"
   9251 fi
   9252 
   9253 found="no"
   9254 
   9255 	if test $found = "no" ; then
   9256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 		fi
   9259 
   9260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9262 		fi
   9263 
   9264 		CFLAGS="$CFLAGS -Wmain"
   9265 
   9266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9267 printf %s "checking if $CC supports -Wmain... " >&6; }
   9268 		cacheid=xorg_cv_cc_flag__Wmain
   9269 		if eval test \${$cacheid+y}
   9270 then :
   9271   printf %s "(cached) " >&6
   9272 else $as_nop
   9273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 int
   9277 main (void)
   9278 {
   9279 
   9280   ;
   9281   return 0;
   9282 }
   9283 _ACEOF
   9284 if ac_fn_c_try_link "$LINENO"
   9285 then :
   9286   eval $cacheid=yes
   9287 else $as_nop
   9288   eval $cacheid=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9291     conftest$ac_exeext conftest.$ac_ext
   9292 fi
   9293 
   9294 
   9295 		CFLAGS="$xorg_testset_save_CFLAGS"
   9296 
   9297 		eval supported=\$$cacheid
   9298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9299 printf "%s\n" "$supported" >&6; }
   9300 		if test "$supported" = "yes" ; then
   9301 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9302 			found="yes"
   9303 		fi
   9304 	fi
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 xorg_testset_save_CFLAGS="$CFLAGS"
   9321 
   9322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9327 then :
   9328   printf %s "(cached) " >&6
   9329 else $as_nop
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"
   9335 then :
   9336   xorg_cv_cc_flag_unknown_warning_option=yes
   9337 else $as_nop
   9338   xorg_cv_cc_flag_unknown_warning_option=no
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9341 fi
   9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9343 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9345 	CFLAGS="$xorg_testset_save_CFLAGS"
   9346 fi
   9347 
   9348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 	fi
   9352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9354 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9355 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9356 then :
   9357   printf %s "(cached) " >&6
   9358 else $as_nop
   9359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9360 /* end confdefs.h.  */
   9361 int i;
   9362 _ACEOF
   9363 if ac_fn_c_try_compile "$LINENO"
   9364 then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else $as_nop
   9367   xorg_cv_cc_flag_unused_command_line_argument=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9370 fi
   9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9372 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9374 	CFLAGS="$xorg_testset_save_CFLAGS"
   9375 fi
   9376 
   9377 found="no"
   9378 
   9379 	if test $found = "no" ; then
   9380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 		fi
   9383 
   9384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 		fi
   9387 
   9388 		CFLAGS="$CFLAGS -Wmissing-braces"
   9389 
   9390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9391 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9392 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9393 		if eval test \${$cacheid+y}
   9394 then :
   9395   printf %s "(cached) " >&6
   9396 else $as_nop
   9397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9398 /* end confdefs.h.  */
   9399 int i;
   9400 int
   9401 main (void)
   9402 {
   9403 
   9404   ;
   9405   return 0;
   9406 }
   9407 _ACEOF
   9408 if ac_fn_c_try_link "$LINENO"
   9409 then :
   9410   eval $cacheid=yes
   9411 else $as_nop
   9412   eval $cacheid=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9415     conftest$ac_exeext conftest.$ac_ext
   9416 fi
   9417 
   9418 
   9419 		CFLAGS="$xorg_testset_save_CFLAGS"
   9420 
   9421 		eval supported=\$$cacheid
   9422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9423 printf "%s\n" "$supported" >&6; }
   9424 		if test "$supported" = "yes" ; then
   9425 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9426 			found="yes"
   9427 		fi
   9428 	fi
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 xorg_testset_save_CFLAGS="$CFLAGS"
   9445 
   9446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9451 then :
   9452   printf %s "(cached) " >&6
   9453 else $as_nop
   9454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9455 /* end confdefs.h.  */
   9456 int i;
   9457 _ACEOF
   9458 if ac_fn_c_try_compile "$LINENO"
   9459 then :
   9460   xorg_cv_cc_flag_unknown_warning_option=yes
   9461 else $as_nop
   9462   xorg_cv_cc_flag_unknown_warning_option=no
   9463 fi
   9464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9465 fi
   9466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9467 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9469 	CFLAGS="$xorg_testset_save_CFLAGS"
   9470 fi
   9471 
   9472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9475 	fi
   9476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9480 then :
   9481   printf %s "(cached) " >&6
   9482 else $as_nop
   9483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9484 /* end confdefs.h.  */
   9485 int i;
   9486 _ACEOF
   9487 if ac_fn_c_try_compile "$LINENO"
   9488 then :
   9489   xorg_cv_cc_flag_unused_command_line_argument=yes
   9490 else $as_nop
   9491   xorg_cv_cc_flag_unused_command_line_argument=no
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9494 fi
   9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9496 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9498 	CFLAGS="$xorg_testset_save_CFLAGS"
   9499 fi
   9500 
   9501 found="no"
   9502 
   9503 	if test $found = "no" ; then
   9504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9506 		fi
   9507 
   9508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9510 		fi
   9511 
   9512 		CFLAGS="$CFLAGS -Wsequence-point"
   9513 
   9514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9515 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9516 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9517 		if eval test \${$cacheid+y}
   9518 then :
   9519   printf %s "(cached) " >&6
   9520 else $as_nop
   9521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int i;
   9524 int
   9525 main (void)
   9526 {
   9527 
   9528   ;
   9529   return 0;
   9530 }
   9531 _ACEOF
   9532 if ac_fn_c_try_link "$LINENO"
   9533 then :
   9534   eval $cacheid=yes
   9535 else $as_nop
   9536   eval $cacheid=no
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9539     conftest$ac_exeext conftest.$ac_ext
   9540 fi
   9541 
   9542 
   9543 		CFLAGS="$xorg_testset_save_CFLAGS"
   9544 
   9545 		eval supported=\$$cacheid
   9546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9547 printf "%s\n" "$supported" >&6; }
   9548 		if test "$supported" = "yes" ; then
   9549 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9550 			found="yes"
   9551 		fi
   9552 	fi
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 xorg_testset_save_CFLAGS="$CFLAGS"
   9569 
   9570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9573 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9574 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9575 then :
   9576   printf %s "(cached) " >&6
   9577 else $as_nop
   9578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9579 /* end confdefs.h.  */
   9580 int i;
   9581 _ACEOF
   9582 if ac_fn_c_try_compile "$LINENO"
   9583 then :
   9584   xorg_cv_cc_flag_unknown_warning_option=yes
   9585 else $as_nop
   9586   xorg_cv_cc_flag_unknown_warning_option=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9589 fi
   9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9591 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	fi
   9600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9604 then :
   9605   printf %s "(cached) " >&6
   9606 else $as_nop
   9607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 _ACEOF
   9611 if ac_fn_c_try_compile "$LINENO"
   9612 then :
   9613   xorg_cv_cc_flag_unused_command_line_argument=yes
   9614 else $as_nop
   9615   xorg_cv_cc_flag_unused_command_line_argument=no
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9618 fi
   9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9622 	CFLAGS="$xorg_testset_save_CFLAGS"
   9623 fi
   9624 
   9625 found="no"
   9626 
   9627 	if test $found = "no" ; then
   9628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9630 		fi
   9631 
   9632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9634 		fi
   9635 
   9636 		CFLAGS="$CFLAGS -Wreturn-type"
   9637 
   9638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9639 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9640 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9641 		if eval test \${$cacheid+y}
   9642 then :
   9643   printf %s "(cached) " >&6
   9644 else $as_nop
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 int
   9649 main (void)
   9650 {
   9651 
   9652   ;
   9653   return 0;
   9654 }
   9655 _ACEOF
   9656 if ac_fn_c_try_link "$LINENO"
   9657 then :
   9658   eval $cacheid=yes
   9659 else $as_nop
   9660   eval $cacheid=no
   9661 fi
   9662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9663     conftest$ac_exeext conftest.$ac_ext
   9664 fi
   9665 
   9666 
   9667 		CFLAGS="$xorg_testset_save_CFLAGS"
   9668 
   9669 		eval supported=\$$cacheid
   9670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9671 printf "%s\n" "$supported" >&6; }
   9672 		if test "$supported" = "yes" ; then
   9673 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9674 			found="yes"
   9675 		fi
   9676 	fi
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 xorg_testset_save_CFLAGS="$CFLAGS"
   9693 
   9694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9699 then :
   9700   printf %s "(cached) " >&6
   9701 else $as_nop
   9702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 _ACEOF
   9706 if ac_fn_c_try_compile "$LINENO"
   9707 then :
   9708   xorg_cv_cc_flag_unknown_warning_option=yes
   9709 else $as_nop
   9710   xorg_cv_cc_flag_unknown_warning_option=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9713 fi
   9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9715 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9717 	CFLAGS="$xorg_testset_save_CFLAGS"
   9718 fi
   9719 
   9720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9723 	fi
   9724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9726 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9727 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9728 then :
   9729   printf %s "(cached) " >&6
   9730 else $as_nop
   9731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9732 /* end confdefs.h.  */
   9733 int i;
   9734 _ACEOF
   9735 if ac_fn_c_try_compile "$LINENO"
   9736 then :
   9737   xorg_cv_cc_flag_unused_command_line_argument=yes
   9738 else $as_nop
   9739   xorg_cv_cc_flag_unused_command_line_argument=no
   9740 fi
   9741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9742 fi
   9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9744 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9746 	CFLAGS="$xorg_testset_save_CFLAGS"
   9747 fi
   9748 
   9749 found="no"
   9750 
   9751 	if test $found = "no" ; then
   9752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9754 		fi
   9755 
   9756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9758 		fi
   9759 
   9760 		CFLAGS="$CFLAGS -Wtrigraphs"
   9761 
   9762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9763 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9764 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9765 		if eval test \${$cacheid+y}
   9766 then :
   9767   printf %s "(cached) " >&6
   9768 else $as_nop
   9769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9770 /* end confdefs.h.  */
   9771 int i;
   9772 int
   9773 main (void)
   9774 {
   9775 
   9776   ;
   9777   return 0;
   9778 }
   9779 _ACEOF
   9780 if ac_fn_c_try_link "$LINENO"
   9781 then :
   9782   eval $cacheid=yes
   9783 else $as_nop
   9784   eval $cacheid=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9787     conftest$ac_exeext conftest.$ac_ext
   9788 fi
   9789 
   9790 
   9791 		CFLAGS="$xorg_testset_save_CFLAGS"
   9792 
   9793 		eval supported=\$$cacheid
   9794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9795 printf "%s\n" "$supported" >&6; }
   9796 		if test "$supported" = "yes" ; then
   9797 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9798 			found="yes"
   9799 		fi
   9800 	fi
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 xorg_testset_save_CFLAGS="$CFLAGS"
   9817 
   9818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9821 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9822 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9823 then :
   9824   printf %s "(cached) " >&6
   9825 else $as_nop
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 _ACEOF
   9830 if ac_fn_c_try_compile "$LINENO"
   9831 then :
   9832   xorg_cv_cc_flag_unknown_warning_option=yes
   9833 else $as_nop
   9834   xorg_cv_cc_flag_unknown_warning_option=no
   9835 fi
   9836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9837 fi
   9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9841 	CFLAGS="$xorg_testset_save_CFLAGS"
   9842 fi
   9843 
   9844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 	fi
   9848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9852 then :
   9853   printf %s "(cached) " >&6
   9854 else $as_nop
   9855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9856 /* end confdefs.h.  */
   9857 int i;
   9858 _ACEOF
   9859 if ac_fn_c_try_compile "$LINENO"
   9860 then :
   9861   xorg_cv_cc_flag_unused_command_line_argument=yes
   9862 else $as_nop
   9863   xorg_cv_cc_flag_unused_command_line_argument=no
   9864 fi
   9865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9866 fi
   9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9868 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9870 	CFLAGS="$xorg_testset_save_CFLAGS"
   9871 fi
   9872 
   9873 found="no"
   9874 
   9875 	if test $found = "no" ; then
   9876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9878 		fi
   9879 
   9880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9882 		fi
   9883 
   9884 		CFLAGS="$CFLAGS -Warray-bounds"
   9885 
   9886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9887 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9888 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9889 		if eval test \${$cacheid+y}
   9890 then :
   9891   printf %s "(cached) " >&6
   9892 else $as_nop
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 int
   9897 main (void)
   9898 {
   9899 
   9900   ;
   9901   return 0;
   9902 }
   9903 _ACEOF
   9904 if ac_fn_c_try_link "$LINENO"
   9905 then :
   9906   eval $cacheid=yes
   9907 else $as_nop
   9908   eval $cacheid=no
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9911     conftest$ac_exeext conftest.$ac_ext
   9912 fi
   9913 
   9914 
   9915 		CFLAGS="$xorg_testset_save_CFLAGS"
   9916 
   9917 		eval supported=\$$cacheid
   9918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9919 printf "%s\n" "$supported" >&6; }
   9920 		if test "$supported" = "yes" ; then
   9921 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9922 			found="yes"
   9923 		fi
   9924 	fi
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 xorg_testset_save_CFLAGS="$CFLAGS"
   9941 
   9942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9947 then :
   9948   printf %s "(cached) " >&6
   9949 else $as_nop
   9950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 _ACEOF
   9954 if ac_fn_c_try_compile "$LINENO"
   9955 then :
   9956   xorg_cv_cc_flag_unknown_warning_option=yes
   9957 else $as_nop
   9958   xorg_cv_cc_flag_unknown_warning_option=no
   9959 fi
   9960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9961 fi
   9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9965 	CFLAGS="$xorg_testset_save_CFLAGS"
   9966 fi
   9967 
   9968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9971 	fi
   9972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9976 then :
   9977   printf %s "(cached) " >&6
   9978 else $as_nop
   9979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 _ACEOF
   9983 if ac_fn_c_try_compile "$LINENO"
   9984 then :
   9985   xorg_cv_cc_flag_unused_command_line_argument=yes
   9986 else $as_nop
   9987   xorg_cv_cc_flag_unused_command_line_argument=no
   9988 fi
   9989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9990 fi
   9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9994 	CFLAGS="$xorg_testset_save_CFLAGS"
   9995 fi
   9996 
   9997 found="no"
   9998 
   9999 	if test $found = "no" ; then
   10000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 		fi
   10003 
   10004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10006 		fi
   10007 
   10008 		CFLAGS="$CFLAGS -Wwrite-strings"
   10009 
   10010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10011 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10012 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10013 		if eval test \${$cacheid+y}
   10014 then :
   10015   printf %s "(cached) " >&6
   10016 else $as_nop
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 int
   10021 main (void)
   10022 {
   10023 
   10024   ;
   10025   return 0;
   10026 }
   10027 _ACEOF
   10028 if ac_fn_c_try_link "$LINENO"
   10029 then :
   10030   eval $cacheid=yes
   10031 else $as_nop
   10032   eval $cacheid=no
   10033 fi
   10034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10035     conftest$ac_exeext conftest.$ac_ext
   10036 fi
   10037 
   10038 
   10039 		CFLAGS="$xorg_testset_save_CFLAGS"
   10040 
   10041 		eval supported=\$$cacheid
   10042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10043 printf "%s\n" "$supported" >&6; }
   10044 		if test "$supported" = "yes" ; then
   10045 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10046 			found="yes"
   10047 		fi
   10048 	fi
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 xorg_testset_save_CFLAGS="$CFLAGS"
   10065 
   10066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10069 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10070 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10071 then :
   10072   printf %s "(cached) " >&6
   10073 else $as_nop
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 _ACEOF
   10078 if ac_fn_c_try_compile "$LINENO"
   10079 then :
   10080   xorg_cv_cc_flag_unknown_warning_option=yes
   10081 else $as_nop
   10082   xorg_cv_cc_flag_unknown_warning_option=no
   10083 fi
   10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10085 fi
   10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10087 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10089 	CFLAGS="$xorg_testset_save_CFLAGS"
   10090 fi
   10091 
   10092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10095 	fi
   10096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10098 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10099 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10100 then :
   10101   printf %s "(cached) " >&6
   10102 else $as_nop
   10103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10104 /* end confdefs.h.  */
   10105 int i;
   10106 _ACEOF
   10107 if ac_fn_c_try_compile "$LINENO"
   10108 then :
   10109   xorg_cv_cc_flag_unused_command_line_argument=yes
   10110 else $as_nop
   10111   xorg_cv_cc_flag_unused_command_line_argument=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10114 fi
   10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 found="no"
   10122 
   10123 	if test $found = "no" ; then
   10124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10126 		fi
   10127 
   10128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 		fi
   10131 
   10132 		CFLAGS="$CFLAGS -Waddress"
   10133 
   10134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10135 printf %s "checking if $CC supports -Waddress... " >&6; }
   10136 		cacheid=xorg_cv_cc_flag__Waddress
   10137 		if eval test \${$cacheid+y}
   10138 then :
   10139   printf %s "(cached) " >&6
   10140 else $as_nop
   10141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10142 /* end confdefs.h.  */
   10143 int i;
   10144 int
   10145 main (void)
   10146 {
   10147 
   10148   ;
   10149   return 0;
   10150 }
   10151 _ACEOF
   10152 if ac_fn_c_try_link "$LINENO"
   10153 then :
   10154   eval $cacheid=yes
   10155 else $as_nop
   10156   eval $cacheid=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10159     conftest$ac_exeext conftest.$ac_ext
   10160 fi
   10161 
   10162 
   10163 		CFLAGS="$xorg_testset_save_CFLAGS"
   10164 
   10165 		eval supported=\$$cacheid
   10166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10167 printf "%s\n" "$supported" >&6; }
   10168 		if test "$supported" = "yes" ; then
   10169 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10170 			found="yes"
   10171 		fi
   10172 	fi
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 xorg_testset_save_CFLAGS="$CFLAGS"
   10189 
   10190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10193 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10194 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10195 then :
   10196   printf %s "(cached) " >&6
   10197 else $as_nop
   10198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10199 /* end confdefs.h.  */
   10200 int i;
   10201 _ACEOF
   10202 if ac_fn_c_try_compile "$LINENO"
   10203 then :
   10204   xorg_cv_cc_flag_unknown_warning_option=yes
   10205 else $as_nop
   10206   xorg_cv_cc_flag_unknown_warning_option=no
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10209 fi
   10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10211 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10213 	CFLAGS="$xorg_testset_save_CFLAGS"
   10214 fi
   10215 
   10216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 	fi
   10220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10222 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10223 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10224 then :
   10225   printf %s "(cached) " >&6
   10226 else $as_nop
   10227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 _ACEOF
   10231 if ac_fn_c_try_compile "$LINENO"
   10232 then :
   10233   xorg_cv_cc_flag_unused_command_line_argument=yes
   10234 else $as_nop
   10235   xorg_cv_cc_flag_unused_command_line_argument=no
   10236 fi
   10237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10238 fi
   10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10240 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10242 	CFLAGS="$xorg_testset_save_CFLAGS"
   10243 fi
   10244 
   10245 found="no"
   10246 
   10247 	if test $found = "no" ; then
   10248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 		fi
   10251 
   10252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10254 		fi
   10255 
   10256 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10257 
   10258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10259 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10260 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10261 		if eval test \${$cacheid+y}
   10262 then :
   10263   printf %s "(cached) " >&6
   10264 else $as_nop
   10265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10266 /* end confdefs.h.  */
   10267 int i;
   10268 int
   10269 main (void)
   10270 {
   10271 
   10272   ;
   10273   return 0;
   10274 }
   10275 _ACEOF
   10276 if ac_fn_c_try_link "$LINENO"
   10277 then :
   10278   eval $cacheid=yes
   10279 else $as_nop
   10280   eval $cacheid=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10283     conftest$ac_exeext conftest.$ac_ext
   10284 fi
   10285 
   10286 
   10287 		CFLAGS="$xorg_testset_save_CFLAGS"
   10288 
   10289 		eval supported=\$$cacheid
   10290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10291 printf "%s\n" "$supported" >&6; }
   10292 		if test "$supported" = "yes" ; then
   10293 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10294 			found="yes"
   10295 		fi
   10296 	fi
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 xorg_testset_save_CFLAGS="$CFLAGS"
   10313 
   10314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10319 then :
   10320   printf %s "(cached) " >&6
   10321 else $as_nop
   10322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10323 /* end confdefs.h.  */
   10324 int i;
   10325 _ACEOF
   10326 if ac_fn_c_try_compile "$LINENO"
   10327 then :
   10328   xorg_cv_cc_flag_unknown_warning_option=yes
   10329 else $as_nop
   10330   xorg_cv_cc_flag_unknown_warning_option=no
   10331 fi
   10332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10333 fi
   10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10337 	CFLAGS="$xorg_testset_save_CFLAGS"
   10338 fi
   10339 
   10340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10343 	fi
   10344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10348 then :
   10349   printf %s "(cached) " >&6
   10350 else $as_nop
   10351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10352 /* end confdefs.h.  */
   10353 int i;
   10354 _ACEOF
   10355 if ac_fn_c_try_compile "$LINENO"
   10356 then :
   10357   xorg_cv_cc_flag_unused_command_line_argument=yes
   10358 else $as_nop
   10359   xorg_cv_cc_flag_unused_command_line_argument=no
   10360 fi
   10361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10362 fi
   10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10366 	CFLAGS="$xorg_testset_save_CFLAGS"
   10367 fi
   10368 
   10369 found="no"
   10370 
   10371 	if test $found = "no" ; then
   10372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10374 		fi
   10375 
   10376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10378 		fi
   10379 
   10380 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10381 
   10382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10383 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10384 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10385 		if eval test \${$cacheid+y}
   10386 then :
   10387   printf %s "(cached) " >&6
   10388 else $as_nop
   10389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 int
   10393 main (void)
   10394 {
   10395 
   10396   ;
   10397   return 0;
   10398 }
   10399 _ACEOF
   10400 if ac_fn_c_try_link "$LINENO"
   10401 then :
   10402   eval $cacheid=yes
   10403 else $as_nop
   10404   eval $cacheid=no
   10405 fi
   10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10407     conftest$ac_exeext conftest.$ac_ext
   10408 fi
   10409 
   10410 
   10411 		CFLAGS="$xorg_testset_save_CFLAGS"
   10412 
   10413 		eval supported=\$$cacheid
   10414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10415 printf "%s\n" "$supported" >&6; }
   10416 		if test "$supported" = "yes" ; then
   10417 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10418 			found="yes"
   10419 		fi
   10420 	fi
   10421 
   10422 
   10423 fi
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 		CWARNFLAGS="$BASE_CFLAGS"
   10432 		if  test "x$GCC" = xyes ; then
   10433 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10434 		fi
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 # Check whether --enable-strict-compilation was given.
   10444 if test ${enable_strict_compilation+y}
   10445 then :
   10446   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10447 else $as_nop
   10448   STRICT_COMPILE=no
   10449 fi
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 STRICT_CFLAGS=""
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 xorg_testset_save_CFLAGS="$CFLAGS"
   10471 
   10472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10475 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10476 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10477 then :
   10478   printf %s "(cached) " >&6
   10479 else $as_nop
   10480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10481 /* end confdefs.h.  */
   10482 int i;
   10483 _ACEOF
   10484 if ac_fn_c_try_compile "$LINENO"
   10485 then :
   10486   xorg_cv_cc_flag_unknown_warning_option=yes
   10487 else $as_nop
   10488   xorg_cv_cc_flag_unknown_warning_option=no
   10489 fi
   10490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10491 fi
   10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10493 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10494 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10495 	CFLAGS="$xorg_testset_save_CFLAGS"
   10496 fi
   10497 
   10498 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10499 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10500 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10501 	fi
   10502 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10504 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10505 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10506 then :
   10507   printf %s "(cached) " >&6
   10508 else $as_nop
   10509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10510 /* end confdefs.h.  */
   10511 int i;
   10512 _ACEOF
   10513 if ac_fn_c_try_compile "$LINENO"
   10514 then :
   10515   xorg_cv_cc_flag_unused_command_line_argument=yes
   10516 else $as_nop
   10517   xorg_cv_cc_flag_unused_command_line_argument=no
   10518 fi
   10519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10520 fi
   10521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10524 	CFLAGS="$xorg_testset_save_CFLAGS"
   10525 fi
   10526 
   10527 found="no"
   10528 
   10529 	if test $found = "no" ; then
   10530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10532 		fi
   10533 
   10534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10536 		fi
   10537 
   10538 		CFLAGS="$CFLAGS -pedantic"
   10539 
   10540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10541 printf %s "checking if $CC supports -pedantic... " >&6; }
   10542 		cacheid=xorg_cv_cc_flag__pedantic
   10543 		if eval test \${$cacheid+y}
   10544 then :
   10545   printf %s "(cached) " >&6
   10546 else $as_nop
   10547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10548 /* end confdefs.h.  */
   10549 int i;
   10550 int
   10551 main (void)
   10552 {
   10553 
   10554   ;
   10555   return 0;
   10556 }
   10557 _ACEOF
   10558 if ac_fn_c_try_link "$LINENO"
   10559 then :
   10560   eval $cacheid=yes
   10561 else $as_nop
   10562   eval $cacheid=no
   10563 fi
   10564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10565     conftest$ac_exeext conftest.$ac_ext
   10566 fi
   10567 
   10568 
   10569 		CFLAGS="$xorg_testset_save_CFLAGS"
   10570 
   10571 		eval supported=\$$cacheid
   10572 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10573 printf "%s\n" "$supported" >&6; }
   10574 		if test "$supported" = "yes" ; then
   10575 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10576 			found="yes"
   10577 		fi
   10578 	fi
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 xorg_testset_save_CFLAGS="$CFLAGS"
   10595 
   10596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10599 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10600 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10601 then :
   10602   printf %s "(cached) " >&6
   10603 else $as_nop
   10604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10605 /* end confdefs.h.  */
   10606 int i;
   10607 _ACEOF
   10608 if ac_fn_c_try_compile "$LINENO"
   10609 then :
   10610   xorg_cv_cc_flag_unknown_warning_option=yes
   10611 else $as_nop
   10612   xorg_cv_cc_flag_unknown_warning_option=no
   10613 fi
   10614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10615 fi
   10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10617 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10619 	CFLAGS="$xorg_testset_save_CFLAGS"
   10620 fi
   10621 
   10622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10625 	fi
   10626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10628 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10629 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10630 then :
   10631   printf %s "(cached) " >&6
   10632 else $as_nop
   10633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10634 /* end confdefs.h.  */
   10635 int i;
   10636 _ACEOF
   10637 if ac_fn_c_try_compile "$LINENO"
   10638 then :
   10639   xorg_cv_cc_flag_unused_command_line_argument=yes
   10640 else $as_nop
   10641   xorg_cv_cc_flag_unused_command_line_argument=no
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10644 fi
   10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10648 	CFLAGS="$xorg_testset_save_CFLAGS"
   10649 fi
   10650 
   10651 found="no"
   10652 
   10653 	if test $found = "no" ; then
   10654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10656 		fi
   10657 
   10658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10660 		fi
   10661 
   10662 		CFLAGS="$CFLAGS -Werror"
   10663 
   10664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10665 printf %s "checking if $CC supports -Werror... " >&6; }
   10666 		cacheid=xorg_cv_cc_flag__Werror
   10667 		if eval test \${$cacheid+y}
   10668 then :
   10669   printf %s "(cached) " >&6
   10670 else $as_nop
   10671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10672 /* end confdefs.h.  */
   10673 int i;
   10674 int
   10675 main (void)
   10676 {
   10677 
   10678   ;
   10679   return 0;
   10680 }
   10681 _ACEOF
   10682 if ac_fn_c_try_link "$LINENO"
   10683 then :
   10684   eval $cacheid=yes
   10685 else $as_nop
   10686   eval $cacheid=no
   10687 fi
   10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10689     conftest$ac_exeext conftest.$ac_ext
   10690 fi
   10691 
   10692 
   10693 		CFLAGS="$xorg_testset_save_CFLAGS"
   10694 
   10695 		eval supported=\$$cacheid
   10696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10697 printf "%s\n" "$supported" >&6; }
   10698 		if test "$supported" = "yes" ; then
   10699 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10700 			found="yes"
   10701 		fi
   10702 	fi
   10703 
   10704 	if test $found = "no" ; then
   10705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10707 		fi
   10708 
   10709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10711 		fi
   10712 
   10713 		CFLAGS="$CFLAGS -errwarn"
   10714 
   10715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10716 printf %s "checking if $CC supports -errwarn... " >&6; }
   10717 		cacheid=xorg_cv_cc_flag__errwarn
   10718 		if eval test \${$cacheid+y}
   10719 then :
   10720   printf %s "(cached) " >&6
   10721 else $as_nop
   10722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10723 /* end confdefs.h.  */
   10724 int i;
   10725 int
   10726 main (void)
   10727 {
   10728 
   10729   ;
   10730   return 0;
   10731 }
   10732 _ACEOF
   10733 if ac_fn_c_try_link "$LINENO"
   10734 then :
   10735   eval $cacheid=yes
   10736 else $as_nop
   10737   eval $cacheid=no
   10738 fi
   10739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10740     conftest$ac_exeext conftest.$ac_ext
   10741 fi
   10742 
   10743 
   10744 		CFLAGS="$xorg_testset_save_CFLAGS"
   10745 
   10746 		eval supported=\$$cacheid
   10747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10748 printf "%s\n" "$supported" >&6; }
   10749 		if test "$supported" = "yes" ; then
   10750 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10751 			found="yes"
   10752 		fi
   10753 	fi
   10754 
   10755 
   10756 
   10757 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10758 # activate it with -Werror, so we add it here explicitly.
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 xorg_testset_save_CFLAGS="$CFLAGS"
   10773 
   10774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10779 then :
   10780   printf %s "(cached) " >&6
   10781 else $as_nop
   10782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10783 /* end confdefs.h.  */
   10784 int i;
   10785 _ACEOF
   10786 if ac_fn_c_try_compile "$LINENO"
   10787 then :
   10788   xorg_cv_cc_flag_unknown_warning_option=yes
   10789 else $as_nop
   10790   xorg_cv_cc_flag_unknown_warning_option=no
   10791 fi
   10792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10793 fi
   10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10797 	CFLAGS="$xorg_testset_save_CFLAGS"
   10798 fi
   10799 
   10800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 	fi
   10804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10808 then :
   10809   printf %s "(cached) " >&6
   10810 else $as_nop
   10811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10812 /* end confdefs.h.  */
   10813 int i;
   10814 _ACEOF
   10815 if ac_fn_c_try_compile "$LINENO"
   10816 then :
   10817   xorg_cv_cc_flag_unused_command_line_argument=yes
   10818 else $as_nop
   10819   xorg_cv_cc_flag_unused_command_line_argument=no
   10820 fi
   10821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10822 fi
   10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10826 	CFLAGS="$xorg_testset_save_CFLAGS"
   10827 fi
   10828 
   10829 found="no"
   10830 
   10831 	if test $found = "no" ; then
   10832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10834 		fi
   10835 
   10836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10838 		fi
   10839 
   10840 		CFLAGS="$CFLAGS -Werror=attributes"
   10841 
   10842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10843 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10844 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10845 		if eval test \${$cacheid+y}
   10846 then :
   10847   printf %s "(cached) " >&6
   10848 else $as_nop
   10849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10850 /* end confdefs.h.  */
   10851 int i;
   10852 int
   10853 main (void)
   10854 {
   10855 
   10856   ;
   10857   return 0;
   10858 }
   10859 _ACEOF
   10860 if ac_fn_c_try_link "$LINENO"
   10861 then :
   10862   eval $cacheid=yes
   10863 else $as_nop
   10864   eval $cacheid=no
   10865 fi
   10866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10867     conftest$ac_exeext conftest.$ac_ext
   10868 fi
   10869 
   10870 
   10871 		CFLAGS="$xorg_testset_save_CFLAGS"
   10872 
   10873 		eval supported=\$$cacheid
   10874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10875 printf "%s\n" "$supported" >&6; }
   10876 		if test "$supported" = "yes" ; then
   10877 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10878 			found="yes"
   10879 		fi
   10880 	fi
   10881 
   10882 
   10883 
   10884 if test "x$STRICT_COMPILE" = "xyes"; then
   10885     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10886     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10887 fi
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 cat >>confdefs.h <<_ACEOF
   10895 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10896 _ACEOF
   10897 
   10898 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10899 	if test "x$PVM" = "x"; then
   10900 		PVM="0"
   10901 	fi
   10902 
   10903 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10904 
   10905 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10906 	if test "x$PVP" = "x"; then
   10907 		PVP="0"
   10908 	fi
   10909 
   10910 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10911 
   10912 
   10913 
   10914 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10915 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10916 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10917 touch \$(top_srcdir)/ChangeLog; \
   10918 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10919 
   10920 
   10921 
   10922 
   10923 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10924 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10925 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10926 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10927 touch \$(top_srcdir)/INSTALL; \
   10928 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 case $host_os in
   10936     solaris*)
   10937         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10938         # check for a man page file found in later versions that use
   10939         # traditional section numbers instead
   10940         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10941 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10942 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10943 then :
   10944   printf %s "(cached) " >&6
   10945 else $as_nop
   10946   test "$cross_compiling" = yes &&
   10947   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10948 if test -r "/usr/share/man/man7/attributes.7"; then
   10949   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10950 else
   10951   ac_cv_file__usr_share_man_man7_attributes_7=no
   10952 fi
   10953 fi
   10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10955 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10956 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10957 then :
   10958   SYSV_MAN_SECTIONS=false
   10959 else $as_nop
   10960   SYSV_MAN_SECTIONS=true
   10961 fi
   10962 
   10963         ;;
   10964     *) SYSV_MAN_SECTIONS=false ;;
   10965 esac
   10966 
   10967 if test x$APP_MAN_SUFFIX = x    ; then
   10968     APP_MAN_SUFFIX=1
   10969 fi
   10970 if test x$APP_MAN_DIR = x    ; then
   10971     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10972 fi
   10973 
   10974 if test x$LIB_MAN_SUFFIX = x    ; then
   10975     LIB_MAN_SUFFIX=3
   10976 fi
   10977 if test x$LIB_MAN_DIR = x    ; then
   10978     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10979 fi
   10980 
   10981 if test x$FILE_MAN_SUFFIX = x    ; then
   10982     case $SYSV_MAN_SECTIONS in
   10983 	true)				FILE_MAN_SUFFIX=4  ;;
   10984 	*)				FILE_MAN_SUFFIX=5  ;;
   10985     esac
   10986 fi
   10987 if test x$FILE_MAN_DIR = x    ; then
   10988     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10989 fi
   10990 
   10991 if test x$MISC_MAN_SUFFIX = x    ; then
   10992     case $SYSV_MAN_SECTIONS in
   10993 	true)				MISC_MAN_SUFFIX=5  ;;
   10994 	*)				MISC_MAN_SUFFIX=7  ;;
   10995     esac
   10996 fi
   10997 if test x$MISC_MAN_DIR = x    ; then
   10998     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10999 fi
   11000 
   11001 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11002     case $SYSV_MAN_SECTIONS in
   11003 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11004 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11005     esac
   11006 fi
   11007 if test x$DRIVER_MAN_DIR = x    ; then
   11008     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11009 fi
   11010 
   11011 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11012     case $SYSV_MAN_SECTIONS in
   11013 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11014 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11015     esac
   11016 fi
   11017 if test x$ADMIN_MAN_DIR = x    ; then
   11018     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11019 fi
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 XORG_MAN_PAGE="X Version 11"
   11036 
   11037 MAN_SUBSTS="\
   11038 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11039 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11040 	-e 's|__xservername__|Xorg|g' \
   11041 	-e 's|__xconfigfile__|xorg.conf|g' \
   11042 	-e 's|__projectroot__|\$(prefix)|g' \
   11043 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11044 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11045 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11046 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11047 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11048 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11049 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11050 
   11051 
   11052 
   11053 # Check whether --enable-silent-rules was given.
   11054 if test ${enable_silent_rules+y}
   11055 then :
   11056   enableval=$enable_silent_rules;
   11057 fi
   11058 
   11059 case $enable_silent_rules in # (((
   11060   yes) AM_DEFAULT_VERBOSITY=0;;
   11061    no) AM_DEFAULT_VERBOSITY=1;;
   11062     *) AM_DEFAULT_VERBOSITY=0;;
   11063 esac
   11064 am_make=${MAKE-make}
   11065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11066 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11067 if test ${am_cv_make_support_nested_variables+y}
   11068 then :
   11069   printf %s "(cached) " >&6
   11070 else $as_nop
   11071   if printf "%s\n" 'TRUE=$(BAR$(V))
   11072 BAR0=false
   11073 BAR1=true
   11074 V=1
   11075 am__doit:
   11076 	@$(TRUE)
   11077 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11078   am_cv_make_support_nested_variables=yes
   11079 else
   11080   am_cv_make_support_nested_variables=no
   11081 fi
   11082 fi
   11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11084 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11085 if test $am_cv_make_support_nested_variables = yes; then
   11086     AM_V='$(V)'
   11087   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11088 else
   11089   AM_V=$AM_DEFAULT_VERBOSITY
   11090   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11091 fi
   11092 AM_BACKSLASH='\'
   11093 
   11094 
   11095 
   11096 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   11112 printf %s "checking for root directory for font files... " >&6; }
   11113 
   11114 # Check whether --with-fontrootdir was given.
   11115 if test ${with_fontrootdir+y}
   11116 then :
   11117   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   11118 fi
   11119 
   11120 	# if --with-fontrootdir not specified...
   11121 	if test "x${FONTROOTDIR}" = "x"; then
   11122 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   11123 	fi
   11124 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   11125 	if test "x${FONTROOTDIR}" = "x"; then
   11126 		FONTROOTDIR="${datadir}/fonts/X11"
   11127 	fi
   11128 
   11129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   11130 printf "%s\n" "${FONTROOTDIR}" >&6; }
   11131 
   11132 
   11133 
   11134 
   11135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
   11136 printf %s "checking for directory for encodings files... " >&6; }
   11137 
   11138 # Check whether --with-encodingsdir was given.
   11139 if test ${with_encodingsdir+y}
   11140 then :
   11141   withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
   11142 else $as_nop
   11143   ENCODINGSDIR='${FONTROOTDIR}/encodings'
   11144 fi
   11145 
   11146 
   11147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
   11148 printf "%s\n" "${ENCODINGSDIR}" >&6; }
   11149 
   11150 
   11151 
   11152 
   11153 DEFAULT_XCONFDIR="${libdir}/X11/config"
   11154 
   11155 # Check whether --with-config-dir was given.
   11156 if test ${with_config_dir+y}
   11157 then :
   11158   withval=$with_config_dir; XCONFDIR="$withval"
   11159 else $as_nop
   11160   XCONFDIR="$DEFAULT_XCONFDIR"
   11161 fi
   11162 
   11163 
   11164 
   11165 ac_config_files="$ac_config_files Makefile site.def"
   11166 
   11167 cat >confcache <<\_ACEOF
   11168 # This file is a shell script that caches the results of configure
   11169 # tests run on this system so they can be shared between configure
   11170 # scripts and configure runs, see configure's option --config-cache.
   11171 # It is not useful on other systems.  If it contains results you don't
   11172 # want to keep, you may remove or edit it.
   11173 #
   11174 # config.status only pays attention to the cache file if you give it
   11175 # the --recheck option to rerun configure.
   11176 #
   11177 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11178 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11179 # following values.
   11180 
   11181 _ACEOF
   11182 
   11183 # The following way of writing the cache mishandles newlines in values,
   11184 # but we know of no workaround that is simple, portable, and efficient.
   11185 # So, we kill variables containing newlines.
   11186 # Ultrix sh set writes to stderr and can't be redirected directly,
   11187 # and sets the high bit in the cache file unless we assign to the vars.
   11188 (
   11189   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11190     eval ac_val=\$$ac_var
   11191     case $ac_val in #(
   11192     *${as_nl}*)
   11193       case $ac_var in #(
   11194       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11195 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11196       esac
   11197       case $ac_var in #(
   11198       _ | IFS | as_nl) ;; #(
   11199       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11200       *) { eval $ac_var=; unset $ac_var;} ;;
   11201       esac ;;
   11202     esac
   11203   done
   11204 
   11205   (set) 2>&1 |
   11206     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11207     *${as_nl}ac_space=\ *)
   11208       # `set' does not quote correctly, so add quotes: double-quote
   11209       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11210       sed -n \
   11211 	"s/'/'\\\\''/g;
   11212 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11213       ;; #(
   11214     *)
   11215       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11216       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11217       ;;
   11218     esac |
   11219     sort
   11220 ) |
   11221   sed '
   11222      /^ac_cv_env_/b end
   11223      t clear
   11224      :clear
   11225      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11226      t end
   11227      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11228      :end' >>confcache
   11229 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11230   if test -w "$cache_file"; then
   11231     if test "x$cache_file" != "x/dev/null"; then
   11232       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11233 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11234       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11235 	cat confcache >"$cache_file"
   11236       else
   11237         case $cache_file in #(
   11238         */* | ?:*)
   11239 	  mv -f confcache "$cache_file"$$ &&
   11240 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11241         *)
   11242 	  mv -f confcache "$cache_file" ;;
   11243 	esac
   11244       fi
   11245     fi
   11246   else
   11247     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11248 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11249   fi
   11250 fi
   11251 rm -f confcache
   11252 
   11253 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11254 # Let make expand exec_prefix.
   11255 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11256 
   11257 # Transform confdefs.h into DEFS.
   11258 # Protect against shell expansion while executing Makefile rules.
   11259 # Protect against Makefile macro expansion.
   11260 #
   11261 # If the first sed substitution is executed (which looks for macros that
   11262 # take arguments), then branch to the quote section.  Otherwise,
   11263 # look for a macro that doesn't take arguments.
   11264 ac_script='
   11265 :mline
   11266 /\\$/{
   11267  N
   11268  s,\\\n,,
   11269  b mline
   11270 }
   11271 t clear
   11272 :clear
   11273 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11274 t quote
   11275 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11276 t quote
   11277 b any
   11278 :quote
   11279 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11280 s/\[/\\&/g
   11281 s/\]/\\&/g
   11282 s/\$/$$/g
   11283 H
   11284 :any
   11285 ${
   11286 	g
   11287 	s/^\n//
   11288 	s/\n/ /g
   11289 	p
   11290 }
   11291 '
   11292 DEFS=`sed -n "$ac_script" confdefs.h`
   11293 
   11294 
   11295 ac_libobjs=
   11296 ac_ltlibobjs=
   11297 U=
   11298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11299   # 1. Remove the extension, and $U if already installed.
   11300   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11301   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11302   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11303   #    will be set to the directory where LIBOBJS objects are built.
   11304   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11305   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11306 done
   11307 LIBOBJS=$ac_libobjs
   11308 
   11309 LTLIBOBJS=$ac_ltlibobjs
   11310 
   11311 
   11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11313 printf %s "checking that generated files are newer than configure... " >&6; }
   11314    if test -n "$am_sleep_pid"; then
   11315      # Hide warnings about reused PIDs.
   11316      wait $am_sleep_pid 2>/dev/null
   11317    fi
   11318    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11319 printf "%s\n" "done" >&6; }
   11320  if test -n "$EXEEXT"; then
   11321   am__EXEEXT_TRUE=
   11322   am__EXEEXT_FALSE='#'
   11323 else
   11324   am__EXEEXT_TRUE='#'
   11325   am__EXEEXT_FALSE=
   11326 fi
   11327 
   11328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11329   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11331 fi
   11332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11333   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11335 fi
   11336 
   11337 : "${CONFIG_STATUS=./config.status}"
   11338 ac_write_fail=0
   11339 ac_clean_files_save=$ac_clean_files
   11340 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11342 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11343 as_write_fail=0
   11344 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11345 #! $SHELL
   11346 # Generated by $as_me.
   11347 # Run this file to recreate the current configuration.
   11348 # Compiler output produced by configure, useful for debugging
   11349 # configure, is in config.log if it exists.
   11350 
   11351 debug=false
   11352 ac_cs_recheck=false
   11353 ac_cs_silent=false
   11354 
   11355 SHELL=\${CONFIG_SHELL-$SHELL}
   11356 export SHELL
   11357 _ASEOF
   11358 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11359 ## -------------------- ##
   11360 ## M4sh Initialization. ##
   11361 ## -------------------- ##
   11362 
   11363 # Be more Bourne compatible
   11364 DUALCASE=1; export DUALCASE # for MKS sh
   11365 as_nop=:
   11366 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11367 then :
   11368   emulate sh
   11369   NULLCMD=:
   11370   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11371   # is contrary to our usage.  Disable this feature.
   11372   alias -g '${1+"$@"}'='"$@"'
   11373   setopt NO_GLOB_SUBST
   11374 else $as_nop
   11375   case `(set -o) 2>/dev/null` in #(
   11376   *posix*) :
   11377     set -o posix ;; #(
   11378   *) :
   11379      ;;
   11380 esac
   11381 fi
   11382 
   11383 
   11384 
   11385 # Reset variables that may have inherited troublesome values from
   11386 # the environment.
   11387 
   11388 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11389 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11390 # side effect of setting IFS to empty, thus disabling word splitting.)
   11391 # Quoting is to prevent editors from complaining about space-tab.
   11392 as_nl='
   11393 '
   11394 export as_nl
   11395 IFS=" ""	$as_nl"
   11396 
   11397 PS1='$ '
   11398 PS2='> '
   11399 PS4='+ '
   11400 
   11401 # Ensure predictable behavior from utilities with locale-dependent output.
   11402 LC_ALL=C
   11403 export LC_ALL
   11404 LANGUAGE=C
   11405 export LANGUAGE
   11406 
   11407 # We cannot yet rely on "unset" to work, but we need these variables
   11408 # to be unset--not just set to an empty or harmless value--now, to
   11409 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11410 # also avoids known problems related to "unset" and subshell syntax
   11411 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11412 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11413 do eval test \${$as_var+y} \
   11414   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11415 done
   11416 
   11417 # Ensure that fds 0, 1, and 2 are open.
   11418 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11419 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11420 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11421 
   11422 # The user is always right.
   11423 if ${PATH_SEPARATOR+false} :; then
   11424   PATH_SEPARATOR=:
   11425   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11426     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11427       PATH_SEPARATOR=';'
   11428   }
   11429 fi
   11430 
   11431 
   11432 # Find who we are.  Look in the path if we contain no directory separator.
   11433 as_myself=
   11434 case $0 in #((
   11435   *[\\/]* ) as_myself=$0 ;;
   11436   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11437 for as_dir in $PATH
   11438 do
   11439   IFS=$as_save_IFS
   11440   case $as_dir in #(((
   11441     '') as_dir=./ ;;
   11442     */) ;;
   11443     *) as_dir=$as_dir/ ;;
   11444   esac
   11445     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11446   done
   11447 IFS=$as_save_IFS
   11448 
   11449      ;;
   11450 esac
   11451 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11452 # in which case we are not to be found in the path.
   11453 if test "x$as_myself" = x; then
   11454   as_myself=$0
   11455 fi
   11456 if test ! -f "$as_myself"; then
   11457   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11458   exit 1
   11459 fi
   11460 
   11461 
   11462 
   11463 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11464 # ----------------------------------------
   11465 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11466 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11467 # script with STATUS, using 1 if that was 0.
   11468 as_fn_error ()
   11469 {
   11470   as_status=$1; test $as_status -eq 0 && as_status=1
   11471   if test "$4"; then
   11472     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11473     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11474   fi
   11475   printf "%s\n" "$as_me: error: $2" >&2
   11476   as_fn_exit $as_status
   11477 } # as_fn_error
   11478 
   11479 
   11480 
   11481 # as_fn_set_status STATUS
   11482 # -----------------------
   11483 # Set $? to STATUS, without forking.
   11484 as_fn_set_status ()
   11485 {
   11486   return $1
   11487 } # as_fn_set_status
   11488 
   11489 # as_fn_exit STATUS
   11490 # -----------------
   11491 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11492 as_fn_exit ()
   11493 {
   11494   set +e
   11495   as_fn_set_status $1
   11496   exit $1
   11497 } # as_fn_exit
   11498 
   11499 # as_fn_unset VAR
   11500 # ---------------
   11501 # Portably unset VAR.
   11502 as_fn_unset ()
   11503 {
   11504   { eval $1=; unset $1;}
   11505 }
   11506 as_unset=as_fn_unset
   11507 
   11508 # as_fn_append VAR VALUE
   11509 # ----------------------
   11510 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11511 # advantage of any shell optimizations that allow amortized linear growth over
   11512 # repeated appends, instead of the typical quadratic growth present in naive
   11513 # implementations.
   11514 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11515 then :
   11516   eval 'as_fn_append ()
   11517   {
   11518     eval $1+=\$2
   11519   }'
   11520 else $as_nop
   11521   as_fn_append ()
   11522   {
   11523     eval $1=\$$1\$2
   11524   }
   11525 fi # as_fn_append
   11526 
   11527 # as_fn_arith ARG...
   11528 # ------------------
   11529 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11530 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11531 # must be portable across $(()) and expr.
   11532 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11533 then :
   11534   eval 'as_fn_arith ()
   11535   {
   11536     as_val=$(( $* ))
   11537   }'
   11538 else $as_nop
   11539   as_fn_arith ()
   11540   {
   11541     as_val=`expr "$@" || test $? -eq 1`
   11542   }
   11543 fi # as_fn_arith
   11544 
   11545 
   11546 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11547    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11548   as_expr=expr
   11549 else
   11550   as_expr=false
   11551 fi
   11552 
   11553 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11554   as_basename=basename
   11555 else
   11556   as_basename=false
   11557 fi
   11558 
   11559 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11560   as_dirname=dirname
   11561 else
   11562   as_dirname=false
   11563 fi
   11564 
   11565 as_me=`$as_basename -- "$0" ||
   11566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11567 	 X"$0" : 'X\(//\)$' \| \
   11568 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11569 printf "%s\n" X/"$0" |
   11570     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11571 	    s//\1/
   11572 	    q
   11573 	  }
   11574 	  /^X\/\(\/\/\)$/{
   11575 	    s//\1/
   11576 	    q
   11577 	  }
   11578 	  /^X\/\(\/\).*/{
   11579 	    s//\1/
   11580 	    q
   11581 	  }
   11582 	  s/.*/./; q'`
   11583 
   11584 # Avoid depending upon Character Ranges.
   11585 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11586 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11587 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11588 as_cr_digits='0123456789'
   11589 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11590 
   11591 
   11592 # Determine whether it's possible to make 'echo' print without a newline.
   11593 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11594 # for compatibility with existing Makefiles.
   11595 ECHO_C= ECHO_N= ECHO_T=
   11596 case `echo -n x` in #(((((
   11597 -n*)
   11598   case `echo 'xy\c'` in
   11599   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11600   xy)  ECHO_C='\c';;
   11601   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11602        ECHO_T='	';;
   11603   esac;;
   11604 *)
   11605   ECHO_N='-n';;
   11606 esac
   11607 
   11608 # For backward compatibility with old third-party macros, we provide
   11609 # the shell variables $as_echo and $as_echo_n.  New code should use
   11610 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11611 as_echo='printf %s\n'
   11612 as_echo_n='printf %s'
   11613 
   11614 rm -f conf$$ conf$$.exe conf$$.file
   11615 if test -d conf$$.dir; then
   11616   rm -f conf$$.dir/conf$$.file
   11617 else
   11618   rm -f conf$$.dir
   11619   mkdir conf$$.dir 2>/dev/null
   11620 fi
   11621 if (echo >conf$$.file) 2>/dev/null; then
   11622   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11623     as_ln_s='ln -s'
   11624     # ... but there are two gotchas:
   11625     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11626     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11627     # In both cases, we have to default to `cp -pR'.
   11628     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11629       as_ln_s='cp -pR'
   11630   elif ln conf$$.file conf$$ 2>/dev/null; then
   11631     as_ln_s=ln
   11632   else
   11633     as_ln_s='cp -pR'
   11634   fi
   11635 else
   11636   as_ln_s='cp -pR'
   11637 fi
   11638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11639 rmdir conf$$.dir 2>/dev/null
   11640 
   11641 
   11642 # as_fn_mkdir_p
   11643 # -------------
   11644 # Create "$as_dir" as a directory, including parents if necessary.
   11645 as_fn_mkdir_p ()
   11646 {
   11647 
   11648   case $as_dir in #(
   11649   -*) as_dir=./$as_dir;;
   11650   esac
   11651   test -d "$as_dir" || eval $as_mkdir_p || {
   11652     as_dirs=
   11653     while :; do
   11654       case $as_dir in #(
   11655       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11656       *) as_qdir=$as_dir;;
   11657       esac
   11658       as_dirs="'$as_qdir' $as_dirs"
   11659       as_dir=`$as_dirname -- "$as_dir" ||
   11660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11661 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11662 	 X"$as_dir" : 'X\(//\)$' \| \
   11663 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11664 printf "%s\n" X"$as_dir" |
   11665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11666 	    s//\1/
   11667 	    q
   11668 	  }
   11669 	  /^X\(\/\/\)[^/].*/{
   11670 	    s//\1/
   11671 	    q
   11672 	  }
   11673 	  /^X\(\/\/\)$/{
   11674 	    s//\1/
   11675 	    q
   11676 	  }
   11677 	  /^X\(\/\).*/{
   11678 	    s//\1/
   11679 	    q
   11680 	  }
   11681 	  s/.*/./; q'`
   11682       test -d "$as_dir" && break
   11683     done
   11684     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11685   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11686 
   11687 
   11688 } # as_fn_mkdir_p
   11689 if mkdir -p . 2>/dev/null; then
   11690   as_mkdir_p='mkdir -p "$as_dir"'
   11691 else
   11692   test -d ./-p && rmdir ./-p
   11693   as_mkdir_p=false
   11694 fi
   11695 
   11696 
   11697 # as_fn_executable_p FILE
   11698 # -----------------------
   11699 # Test if FILE is an executable regular file.
   11700 as_fn_executable_p ()
   11701 {
   11702   test -f "$1" && test -x "$1"
   11703 } # as_fn_executable_p
   11704 as_test_x='test -x'
   11705 as_executable_p=as_fn_executable_p
   11706 
   11707 # Sed expression to map a string onto a valid CPP name.
   11708 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11709 
   11710 # Sed expression to map a string onto a valid variable name.
   11711 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11712 
   11713 
   11714 exec 6>&1
   11715 ## ----------------------------------- ##
   11716 ## Main body of $CONFIG_STATUS script. ##
   11717 ## ----------------------------------- ##
   11718 _ASEOF
   11719 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11720 
   11721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11722 # Save the log message, to keep $0 and so on meaningful, and to
   11723 # report actual input values of CONFIG_FILES etc. instead of their
   11724 # values after options handling.
   11725 ac_log="
   11726 This file was extended by xorg-cf-files $as_me 1.0.7, which was
   11727 generated by GNU Autoconf 2.71.  Invocation command line was
   11728 
   11729   CONFIG_FILES    = $CONFIG_FILES
   11730   CONFIG_HEADERS  = $CONFIG_HEADERS
   11731   CONFIG_LINKS    = $CONFIG_LINKS
   11732   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11733   $ $0 $@
   11734 
   11735 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11736 "
   11737 
   11738 _ACEOF
   11739 
   11740 case $ac_config_files in *"
   11741 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11742 esac
   11743 
   11744 
   11745 
   11746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11747 # Files that config.status was made for.
   11748 config_files="$ac_config_files"
   11749 config_commands="$ac_config_commands"
   11750 
   11751 _ACEOF
   11752 
   11753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11754 ac_cs_usage="\
   11755 \`$as_me' instantiates files and other configuration actions
   11756 from templates according to the current configuration.  Unless the files
   11757 and actions are specified as TAGs, all are instantiated by default.
   11758 
   11759 Usage: $0 [OPTION]... [TAG]...
   11760 
   11761   -h, --help       print this help, then exit
   11762   -V, --version    print version number and configuration settings, then exit
   11763       --config     print configuration, then exit
   11764   -q, --quiet, --silent
   11765                    do not print progress messages
   11766   -d, --debug      don't remove temporary files
   11767       --recheck    update $as_me by reconfiguring in the same conditions
   11768       --file=FILE[:TEMPLATE]
   11769                    instantiate the configuration file FILE
   11770 
   11771 Configuration files:
   11772 $config_files
   11773 
   11774 Configuration commands:
   11775 $config_commands
   11776 
   11777 Report bugs to <https://gitlab.freedesktop.org/xorg/util/cf/issues>."
   11778 
   11779 _ACEOF
   11780 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11781 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11783 ac_cs_config='$ac_cs_config_escaped'
   11784 ac_cs_version="\\
   11785 xorg-cf-files config.status 1.0.7
   11786 configured by $0, generated by GNU Autoconf 2.71,
   11787   with options \\"\$ac_cs_config\\"
   11788 
   11789 Copyright (C) 2021 Free Software Foundation, Inc.
   11790 This config.status script is free software; the Free Software Foundation
   11791 gives unlimited permission to copy, distribute and modify it."
   11792 
   11793 ac_pwd='$ac_pwd'
   11794 srcdir='$srcdir'
   11795 INSTALL='$INSTALL'
   11796 MKDIR_P='$MKDIR_P'
   11797 AWK='$AWK'
   11798 test -n "\$AWK" || AWK=awk
   11799 _ACEOF
   11800 
   11801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11802 # The default lists apply if the user does not specify any file.
   11803 ac_need_defaults=:
   11804 while test $# != 0
   11805 do
   11806   case $1 in
   11807   --*=?*)
   11808     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11809     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11810     ac_shift=:
   11811     ;;
   11812   --*=)
   11813     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11814     ac_optarg=
   11815     ac_shift=:
   11816     ;;
   11817   *)
   11818     ac_option=$1
   11819     ac_optarg=$2
   11820     ac_shift=shift
   11821     ;;
   11822   esac
   11823 
   11824   case $ac_option in
   11825   # Handling of the options.
   11826   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11827     ac_cs_recheck=: ;;
   11828   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11829     printf "%s\n" "$ac_cs_version"; exit ;;
   11830   --config | --confi | --conf | --con | --co | --c )
   11831     printf "%s\n" "$ac_cs_config"; exit ;;
   11832   --debug | --debu | --deb | --de | --d | -d )
   11833     debug=: ;;
   11834   --file | --fil | --fi | --f )
   11835     $ac_shift
   11836     case $ac_optarg in
   11837     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11838     '') as_fn_error $? "missing file argument" ;;
   11839     esac
   11840     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11841     ac_need_defaults=false;;
   11842   --he | --h |  --help | --hel | -h )
   11843     printf "%s\n" "$ac_cs_usage"; exit ;;
   11844   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11845   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11846     ac_cs_silent=: ;;
   11847 
   11848   # This is an error.
   11849   -*) as_fn_error $? "unrecognized option: \`$1'
   11850 Try \`$0 --help' for more information." ;;
   11851 
   11852   *) as_fn_append ac_config_targets " $1"
   11853      ac_need_defaults=false ;;
   11854 
   11855   esac
   11856   shift
   11857 done
   11858 
   11859 ac_configure_extra_args=
   11860 
   11861 if $ac_cs_silent; then
   11862   exec 6>/dev/null
   11863   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11864 fi
   11865 
   11866 _ACEOF
   11867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11868 if \$ac_cs_recheck; then
   11869   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11870   shift
   11871   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11872   CONFIG_SHELL='$SHELL'
   11873   export CONFIG_SHELL
   11874   exec "\$@"
   11875 fi
   11876 
   11877 _ACEOF
   11878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11879 exec 5>>config.log
   11880 {
   11881   echo
   11882   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11883 ## Running $as_me. ##
   11884 _ASBOX
   11885   printf "%s\n" "$ac_log"
   11886 } >&5
   11887 
   11888 _ACEOF
   11889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11890 #
   11891 # INIT-COMMANDS
   11892 #
   11893 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11894 
   11895 _ACEOF
   11896 
   11897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11898 
   11899 # Handling of arguments.
   11900 for ac_config_target in $ac_config_targets
   11901 do
   11902   case $ac_config_target in
   11903     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11904     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11905     "site.def") CONFIG_FILES="$CONFIG_FILES site.def" ;;
   11906 
   11907   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11908   esac
   11909 done
   11910 
   11911 
   11912 # If the user did not use the arguments to specify the items to instantiate,
   11913 # then the envvar interface is used.  Set only those that are not.
   11914 # We use the long form for the default assignment because of an extremely
   11915 # bizarre bug on SunOS 4.1.3.
   11916 if $ac_need_defaults; then
   11917   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   11918   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   11919 fi
   11920 
   11921 # Have a temporary directory for convenience.  Make it in the build tree
   11922 # simply because there is no reason against having it here, and in addition,
   11923 # creating and moving files from /tmp can sometimes cause problems.
   11924 # Hook for its removal unless debugging.
   11925 # Note that there is a small window in which the directory will not be cleaned:
   11926 # after its creation but before its name has been assigned to `$tmp'.
   11927 $debug ||
   11928 {
   11929   tmp= ac_tmp=
   11930   trap 'exit_status=$?
   11931   : "${ac_tmp:=$tmp}"
   11932   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11933 ' 0
   11934   trap 'as_fn_exit 1' 1 2 13 15
   11935 }
   11936 # Create a (secure) tmp directory for tmp files.
   11937 
   11938 {
   11939   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11940   test -d "$tmp"
   11941 }  ||
   11942 {
   11943   tmp=./conf$$-$RANDOM
   11944   (umask 077 && mkdir "$tmp")
   11945 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11946 ac_tmp=$tmp
   11947 
   11948 # Set up the scripts for CONFIG_FILES section.
   11949 # No need to generate them if there are no CONFIG_FILES.
   11950 # This happens for instance with `./config.status config.h'.
   11951 if test -n "$CONFIG_FILES"; then
   11952 
   11953 
   11954 ac_cr=`echo X | tr X '\015'`
   11955 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11956 # But we know of no other shell where ac_cr would be empty at this
   11957 # point, so we can use a bashism as a fallback.
   11958 if test "x$ac_cr" = x; then
   11959   eval ac_cr=\$\'\\r\'
   11960 fi
   11961 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11962 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11963   ac_cs_awk_cr='\\r'
   11964 else
   11965   ac_cs_awk_cr=$ac_cr
   11966 fi
   11967 
   11968 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11969 _ACEOF
   11970 
   11971 
   11972 {
   11973   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11974   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11975   echo "_ACEOF"
   11976 } >conf$$subs.sh ||
   11977   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11978 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11979 ac_delim='%!_!# '
   11980 for ac_last_try in false false false false false :; do
   11981   . ./conf$$subs.sh ||
   11982     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11983 
   11984   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11985   if test $ac_delim_n = $ac_delim_num; then
   11986     break
   11987   elif $ac_last_try; then
   11988     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11989   else
   11990     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11991   fi
   11992 done
   11993 rm -f conf$$subs.sh
   11994 
   11995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11996 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11997 _ACEOF
   11998 sed -n '
   11999 h
   12000 s/^/S["/; s/!.*/"]=/
   12001 p
   12002 g
   12003 s/^[^!]*!//
   12004 :repl
   12005 t repl
   12006 s/'"$ac_delim"'$//
   12007 t delim
   12008 :nl
   12009 h
   12010 s/\(.\{148\}\)..*/\1/
   12011 t more1
   12012 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12013 p
   12014 n
   12015 b repl
   12016 :more1
   12017 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12018 p
   12019 g
   12020 s/.\{148\}//
   12021 t nl
   12022 :delim
   12023 h
   12024 s/\(.\{148\}\)..*/\1/
   12025 t more2
   12026 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12027 p
   12028 b
   12029 :more2
   12030 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12031 p
   12032 g
   12033 s/.\{148\}//
   12034 t delim
   12035 ' <conf$$subs.awk | sed '
   12036 /^[^""]/{
   12037   N
   12038   s/\n//
   12039 }
   12040 ' >>$CONFIG_STATUS || ac_write_fail=1
   12041 rm -f conf$$subs.awk
   12042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12043 _ACAWK
   12044 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12045   for (key in S) S_is_set[key] = 1
   12046   FS = ""
   12047 
   12048 }
   12049 {
   12050   line = $ 0
   12051   nfields = split(line, field, "@")
   12052   substed = 0
   12053   len = length(field[1])
   12054   for (i = 2; i < nfields; i++) {
   12055     key = field[i]
   12056     keylen = length(key)
   12057     if (S_is_set[key]) {
   12058       value = S[key]
   12059       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12060       len += length(value) + length(field[++i])
   12061       substed = 1
   12062     } else
   12063       len += 1 + keylen
   12064   }
   12065 
   12066   print line
   12067 }
   12068 
   12069 _ACAWK
   12070 _ACEOF
   12071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12072 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12073   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12074 else
   12075   cat
   12076 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12077   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12078 _ACEOF
   12079 
   12080 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12081 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12082 # trailing colons and then remove the whole line if VPATH becomes empty
   12083 # (actually we leave an empty line to preserve line numbers).
   12084 if test "x$srcdir" = x.; then
   12085   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12086 h
   12087 s///
   12088 s/^/:/
   12089 s/[	 ]*$/:/
   12090 s/:\$(srcdir):/:/g
   12091 s/:\${srcdir}:/:/g
   12092 s/:@srcdir@:/:/g
   12093 s/^:*//
   12094 s/:*$//
   12095 x
   12096 s/\(=[	 ]*\).*/\1/
   12097 G
   12098 s/\n//
   12099 s/^[^=]*=[	 ]*$//
   12100 }'
   12101 fi
   12102 
   12103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12104 fi # test -n "$CONFIG_FILES"
   12105 
   12106 
   12107 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12108 shift
   12109 for ac_tag
   12110 do
   12111   case $ac_tag in
   12112   :[FHLC]) ac_mode=$ac_tag; continue;;
   12113   esac
   12114   case $ac_mode$ac_tag in
   12115   :[FHL]*:*);;
   12116   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12117   :[FH]-) ac_tag=-:-;;
   12118   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12119   esac
   12120   ac_save_IFS=$IFS
   12121   IFS=:
   12122   set x $ac_tag
   12123   IFS=$ac_save_IFS
   12124   shift
   12125   ac_file=$1
   12126   shift
   12127 
   12128   case $ac_mode in
   12129   :L) ac_source=$1;;
   12130   :[FH])
   12131     ac_file_inputs=
   12132     for ac_f
   12133     do
   12134       case $ac_f in
   12135       -) ac_f="$ac_tmp/stdin";;
   12136       *) # Look for the file first in the build tree, then in the source tree
   12137 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12138 	 # because $ac_f cannot contain `:'.
   12139 	 test -f "$ac_f" ||
   12140 	   case $ac_f in
   12141 	   [\\/$]*) false;;
   12142 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12143 	   esac ||
   12144 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12145       esac
   12146       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12147       as_fn_append ac_file_inputs " '$ac_f'"
   12148     done
   12149 
   12150     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12151     # use $as_me), people would be surprised to read:
   12152     #    /* config.h.  Generated by config.status.  */
   12153     configure_input='Generated from '`
   12154 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12155 	`' by configure.'
   12156     if test x"$ac_file" != x-; then
   12157       configure_input="$ac_file.  $configure_input"
   12158       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12159 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12160     fi
   12161     # Neutralize special characters interpreted by sed in replacement strings.
   12162     case $configure_input in #(
   12163     *\&* | *\|* | *\\* )
   12164        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12165        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12166     *) ac_sed_conf_input=$configure_input;;
   12167     esac
   12168 
   12169     case $ac_tag in
   12170     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12171       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12172     esac
   12173     ;;
   12174   esac
   12175 
   12176   ac_dir=`$as_dirname -- "$ac_file" ||
   12177 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12178 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12179 	 X"$ac_file" : 'X\(//\)$' \| \
   12180 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12181 printf "%s\n" X"$ac_file" |
   12182     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12183 	    s//\1/
   12184 	    q
   12185 	  }
   12186 	  /^X\(\/\/\)[^/].*/{
   12187 	    s//\1/
   12188 	    q
   12189 	  }
   12190 	  /^X\(\/\/\)$/{
   12191 	    s//\1/
   12192 	    q
   12193 	  }
   12194 	  /^X\(\/\).*/{
   12195 	    s//\1/
   12196 	    q
   12197 	  }
   12198 	  s/.*/./; q'`
   12199   as_dir="$ac_dir"; as_fn_mkdir_p
   12200   ac_builddir=.
   12201 
   12202 case "$ac_dir" in
   12203 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12204 *)
   12205   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12206   # A ".." for each directory in $ac_dir_suffix.
   12207   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12208   case $ac_top_builddir_sub in
   12209   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12210   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12211   esac ;;
   12212 esac
   12213 ac_abs_top_builddir=$ac_pwd
   12214 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12215 # for backward compatibility:
   12216 ac_top_builddir=$ac_top_build_prefix
   12217 
   12218 case $srcdir in
   12219   .)  # We are building in place.
   12220     ac_srcdir=.
   12221     ac_top_srcdir=$ac_top_builddir_sub
   12222     ac_abs_top_srcdir=$ac_pwd ;;
   12223   [\\/]* | ?:[\\/]* )  # Absolute name.
   12224     ac_srcdir=$srcdir$ac_dir_suffix;
   12225     ac_top_srcdir=$srcdir
   12226     ac_abs_top_srcdir=$srcdir ;;
   12227   *) # Relative name.
   12228     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12229     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12230     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12231 esac
   12232 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12233 
   12234 
   12235   case $ac_mode in
   12236   :F)
   12237   #
   12238   # CONFIG_FILE
   12239   #
   12240 
   12241   case $INSTALL in
   12242   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12243   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12244   esac
   12245   ac_MKDIR_P=$MKDIR_P
   12246   case $MKDIR_P in
   12247   [\\/$]* | ?:[\\/]* ) ;;
   12248   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12249   esac
   12250 _ACEOF
   12251 
   12252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12253 # If the template does not know about datarootdir, expand it.
   12254 # FIXME: This hack should be removed a few years after 2.60.
   12255 ac_datarootdir_hack=; ac_datarootdir_seen=
   12256 ac_sed_dataroot='
   12257 /datarootdir/ {
   12258   p
   12259   q
   12260 }
   12261 /@datadir@/p
   12262 /@docdir@/p
   12263 /@infodir@/p
   12264 /@localedir@/p
   12265 /@mandir@/p'
   12266 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12267 *datarootdir*) ac_datarootdir_seen=yes;;
   12268 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12270 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12271 _ACEOF
   12272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12273   ac_datarootdir_hack='
   12274   s&@datadir@&$datadir&g
   12275   s&@docdir@&$docdir&g
   12276   s&@infodir@&$infodir&g
   12277   s&@localedir@&$localedir&g
   12278   s&@mandir@&$mandir&g
   12279   s&\\\${datarootdir}&$datarootdir&g' ;;
   12280 esac
   12281 _ACEOF
   12282 
   12283 # Neutralize VPATH when `$srcdir' = `.'.
   12284 # Shell code in configure.ac might set extrasub.
   12285 # FIXME: do we really want to maintain this feature?
   12286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12287 ac_sed_extra="$ac_vpsub
   12288 $extrasub
   12289 _ACEOF
   12290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12291 :t
   12292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12293 s|@configure_input@|$ac_sed_conf_input|;t t
   12294 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12295 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12296 s&@srcdir@&$ac_srcdir&;t t
   12297 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12298 s&@top_srcdir@&$ac_top_srcdir&;t t
   12299 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12300 s&@builddir@&$ac_builddir&;t t
   12301 s&@abs_builddir@&$ac_abs_builddir&;t t
   12302 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12303 s&@INSTALL@&$ac_INSTALL&;t t
   12304 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12305 $ac_datarootdir_hack
   12306 "
   12307 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12308   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12309 
   12310 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12311   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12312   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12313       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12315 which seems to be undefined.  Please make sure it is defined" >&5
   12316 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12317 which seems to be undefined.  Please make sure it is defined" >&2;}
   12318 
   12319   rm -f "$ac_tmp/stdin"
   12320   case $ac_file in
   12321   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12322   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12323   esac \
   12324   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12325  ;;
   12326 
   12327 
   12328   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12329 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12330  ;;
   12331   esac
   12332 
   12333 
   12334   case $ac_file$ac_mode in
   12335     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12336   # Older Autoconf quotes --file arguments for eval, but not when files
   12337   # are listed without --file.  Let's play safe and only enable the eval
   12338   # if we detect the quoting.
   12339   # TODO: see whether this extra hack can be removed once we start
   12340   # requiring Autoconf 2.70 or later.
   12341   case $CONFIG_FILES in #(
   12342   *\'*) :
   12343     eval set x "$CONFIG_FILES" ;; #(
   12344   *) :
   12345     set x $CONFIG_FILES ;; #(
   12346   *) :
   12347      ;;
   12348 esac
   12349   shift
   12350   # Used to flag and report bootstrapping failures.
   12351   am_rc=0
   12352   for am_mf
   12353   do
   12354     # Strip MF so we end up with the name of the file.
   12355     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12356     # Check whether this is an Automake generated Makefile which includes
   12357     # dependency-tracking related rules and includes.
   12358     # Grep'ing the whole file directly is not great: AIX grep has a line
   12359     # limit of 2048, but all sed's we know have understand at least 4000.
   12360     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12361       || continue
   12362     am_dirpart=`$as_dirname -- "$am_mf" ||
   12363 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12364 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12365 	 X"$am_mf" : 'X\(//\)$' \| \
   12366 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12367 printf "%s\n" X"$am_mf" |
   12368     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12369 	    s//\1/
   12370 	    q
   12371 	  }
   12372 	  /^X\(\/\/\)[^/].*/{
   12373 	    s//\1/
   12374 	    q
   12375 	  }
   12376 	  /^X\(\/\/\)$/{
   12377 	    s//\1/
   12378 	    q
   12379 	  }
   12380 	  /^X\(\/\).*/{
   12381 	    s//\1/
   12382 	    q
   12383 	  }
   12384 	  s/.*/./; q'`
   12385     am_filepart=`$as_basename -- "$am_mf" ||
   12386 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12387 	 X"$am_mf" : 'X\(//\)$' \| \
   12388 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12389 printf "%s\n" X/"$am_mf" |
   12390     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12391 	    s//\1/
   12392 	    q
   12393 	  }
   12394 	  /^X\/\(\/\/\)$/{
   12395 	    s//\1/
   12396 	    q
   12397 	  }
   12398 	  /^X\/\(\/\).*/{
   12399 	    s//\1/
   12400 	    q
   12401 	  }
   12402 	  s/.*/./; q'`
   12403     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12404       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12405         | $MAKE -f - am--depfiles" >&5
   12406    (cd "$am_dirpart" \
   12407       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12408         | $MAKE -f - am--depfiles) >&5 2>&5
   12409    ac_status=$?
   12410    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12411    (exit $ac_status); } || am_rc=$?
   12412   done
   12413   if test $am_rc -ne 0; then
   12414     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12415 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12416 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12417     for automatic dependency tracking.  If GNU make was not used, consider
   12418     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12419     necessary).  You can also try re-running configure with the
   12420     '--disable-dependency-tracking' option to at least be able to build
   12421     the package (albeit without support for automatic dependency tracking).
   12422 See \`config.log' for more details" "$LINENO" 5; }
   12423   fi
   12424   { am_dirpart=; unset am_dirpart;}
   12425   { am_filepart=; unset am_filepart;}
   12426   { am_mf=; unset am_mf;}
   12427   { am_rc=; unset am_rc;}
   12428   rm -f conftest-deps.mk
   12429 }
   12430  ;;
   12431 
   12432   esac
   12433 done # for ac_tag
   12434 
   12435 
   12436 as_fn_exit 0
   12437 _ACEOF
   12438 ac_clean_files=$ac_clean_files_save
   12439 
   12440 test $ac_write_fail = 0 ||
   12441   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12442 
   12443 
   12444 # configure is writing to config.log, and then calls config.status.
   12445 # config.status does its own redirection, appending to config.log.
   12446 # Unfortunately, on DOS this fails, as config.log is still kept open
   12447 # by configure, so config.status won't be able to write to it; its
   12448 # output is simply discarded.  So we exec the FD to /dev/null,
   12449 # effectively closing config.log, so it can be properly (re)opened and
   12450 # appended to by config.status.  When coming back to configure, we
   12451 # need to make the FD available again.
   12452 if test "$no_create" != yes; then
   12453   ac_cs_success=:
   12454   ac_config_status_args=
   12455   test "$silent" = yes &&
   12456     ac_config_status_args="$ac_config_status_args --quiet"
   12457   exec 5>/dev/null
   12458   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12459   exec 5>>config.log
   12460   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12461   # would make configure fail if this is the last instruction.
   12462   $ac_cs_success || as_fn_exit 1
   12463 fi
   12464 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12466 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12467 fi
   12468 
   12469 
   12470