Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for transset 1.0.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/transset/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1"
    187   if (eval "$as_required") 2>/dev/null
    188 then :
    189   as_have_required=yes
    190 else $as_nop
    191   as_have_required=no
    192 fi
    193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    194 then :
    195 
    196 else $as_nop
    197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    198 as_found=false
    199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    200 do
    201   IFS=$as_save_IFS
    202   case $as_dir in #(((
    203     '') as_dir=./ ;;
    204     */) ;;
    205     *) as_dir=$as_dir/ ;;
    206   esac
    207   as_found=:
    208   case $as_dir in #(
    209 	 /*)
    210 	   for as_base in sh bash ksh sh5; do
    211 	     # Try only shells that exist, to save several forks.
    212 	     as_shell=$as_dir$as_base
    213 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    214 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    215 then :
    216   CONFIG_SHELL=$as_shell as_have_required=yes
    217 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    218 then :
    219   break 2
    220 fi
    221 fi
    222 	   done;;
    223        esac
    224   as_found=false
    225 done
    226 IFS=$as_save_IFS
    227 if $as_found
    228 then :
    229 
    230 else $as_nop
    231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    232 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    233 then :
    234   CONFIG_SHELL=$SHELL as_have_required=yes
    235 fi
    236 fi
    237 
    238 
    239       if test "x$CONFIG_SHELL" != x
    240 then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno
    263 then :
    264   printf "%s\n" "$0: This script requires a shell more modern than all"
    265   printf "%s\n" "$0: the shells that I found on your system."
    266   if test ${ZSH_VERSION+y} ; then
    267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    269   else
    270     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    271 $0: https://gitlab.freedesktop.org/xorg/app/transset/-/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='transset'
    614 PACKAGE_TARNAME='transset'
    615 PACKAGE_VERSION='1.0.3'
    616 PACKAGE_STRING='transset 1.0.3'
    617 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/transset/-/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 TRANSSET_LIBS
    658 TRANSSET_CFLAGS
    659 MAN_SUBSTS
    660 XORG_MAN_PAGE
    661 ADMIN_MAN_DIR
    662 DRIVER_MAN_DIR
    663 MISC_MAN_DIR
    664 FILE_MAN_DIR
    665 LIB_MAN_DIR
    666 APP_MAN_DIR
    667 ADMIN_MAN_SUFFIX
    668 DRIVER_MAN_SUFFIX
    669 MISC_MAN_SUFFIX
    670 FILE_MAN_SUFFIX
    671 LIB_MAN_SUFFIX
    672 APP_MAN_SUFFIX
    673 SED
    674 host_os
    675 host_vendor
    676 host_cpu
    677 host
    678 build_os
    679 build_vendor
    680 build_cpu
    681 build
    682 INSTALL_CMD
    683 PKG_CONFIG_LIBDIR
    684 PKG_CONFIG_PATH
    685 PKG_CONFIG
    686 CHANGELOG_CMD
    687 STRICT_CFLAGS
    688 CWARNFLAGS
    689 BASE_CFLAGS
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 CSCOPE
    711 ETAGS
    712 CTAGS
    713 am__untar
    714 am__tar
    715 AMTAR
    716 am__leading_dot
    717 SET_MAKE
    718 AWK
    719 mkdir_p
    720 MKDIR_P
    721 INSTALL_STRIP_PROGRAM
    722 STRIP
    723 install_sh
    724 MAKEINFO
    725 AUTOHEADER
    726 AUTOMAKE
    727 AUTOCONF
    728 ACLOCAL
    729 VERSION
    730 PACKAGE
    731 CYGPATH_W
    732 am__isrc
    733 INSTALL_DATA
    734 INSTALL_SCRIPT
    735 INSTALL_PROGRAM
    736 target_alias
    737 host_alias
    738 build_alias
    739 LIBS
    740 ECHO_T
    741 ECHO_N
    742 ECHO_C
    743 DEFS
    744 mandir
    745 localedir
    746 libdir
    747 psdir
    748 pdfdir
    749 dvidir
    750 htmldir
    751 infodir
    752 docdir
    753 oldincludedir
    754 includedir
    755 runstatedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL
    775 am__quote'
    776 ac_subst_files=''
    777 ac_user_opts='
    778 enable_option_checking
    779 enable_silent_rules
    780 enable_dependency_tracking
    781 enable_selective_werror
    782 enable_strict_compilation
    783 '
    784       ac_precious_vars='build_alias
    785 host_alias
    786 target_alias
    787 CC
    788 CFLAGS
    789 LDFLAGS
    790 LIBS
    791 CPPFLAGS
    792 PKG_CONFIG
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG_LIBDIR
    795 TRANSSET_CFLAGS
    796 TRANSSET_LIBS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 runstatedir='${localstatedir}/run'
    836 includedir='${prefix}/include'
    837 oldincludedir='/usr/include'
    838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    839 infodir='${datarootdir}/info'
    840 htmldir='${docdir}'
    841 dvidir='${docdir}'
    842 pdfdir='${docdir}'
    843 psdir='${docdir}'
    844 libdir='${exec_prefix}/lib'
    845 localedir='${datarootdir}/locale'
    846 mandir='${datarootdir}/man'
    847 
    848 ac_prev=
    849 ac_dashdash=
    850 for ac_option
    851 do
    852   # If the previous option needs an argument, assign it.
    853   if test -n "$ac_prev"; then
    854     eval $ac_prev=\$ac_option
    855     ac_prev=
    856     continue
    857   fi
    858 
    859   case $ac_option in
    860   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    861   *=)   ac_optarg= ;;
    862   *)    ac_optarg=yes ;;
    863   esac
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1087   | --runstate | --runstat | --runsta | --runst | --runs \
   1088   | --run | --ru | --r)
   1089     ac_prev=runstatedir ;;
   1090   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1091   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1092   | --run=* | --ru=* | --r=*)
   1093     runstatedir=$ac_optarg ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir runstatedir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260   elif test "x$build_alias" != "x$host_alias"; then
   1261     cross_compiling=yes
   1262   fi
   1263 fi
   1264 
   1265 ac_tool_prefix=
   1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1267 
   1268 test "$silent" = yes && exec 6>/dev/null
   1269 
   1270 
   1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1272 ac_ls_di=`ls -di .` &&
   1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1274   as_fn_error $? "working directory cannot be determined"
   1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1276   as_fn_error $? "pwd does not report name of working directory"
   1277 
   1278 
   1279 # Find the source files, if location was not specified.
   1280 if test -z "$srcdir"; then
   1281   ac_srcdir_defaulted=yes
   1282   # Try the directory containing this script, then the parent directory.
   1283   ac_confdir=`$as_dirname -- "$as_myself" ||
   1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1285 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1286 	 X"$as_myself" : 'X\(//\)$' \| \
   1287 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1288 printf "%s\n" X"$as_myself" |
   1289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1290 	    s//\1/
   1291 	    q
   1292 	  }
   1293 	  /^X\(\/\/\)[^/].*/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\).*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  s/.*/./; q'`
   1306   srcdir=$ac_confdir
   1307   if test ! -r "$srcdir/$ac_unique_file"; then
   1308     srcdir=..
   1309   fi
   1310 else
   1311   ac_srcdir_defaulted=no
   1312 fi
   1313 if test ! -r "$srcdir/$ac_unique_file"; then
   1314   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1315   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1316 fi
   1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1318 ac_abs_confdir=`(
   1319 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1320 	pwd)`
   1321 # When building in place, set srcdir=.
   1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1323   srcdir=.
   1324 fi
   1325 # Remove unnecessary trailing slashes from srcdir.
   1326 # Double slashes in file names in object file debugging info
   1327 # mess up M-x gdb in Emacs.
   1328 case $srcdir in
   1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1330 esac
   1331 for ac_var in $ac_precious_vars; do
   1332   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1333   eval ac_env_${ac_var}_value=\$${ac_var}
   1334   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1336 done
   1337 
   1338 #
   1339 # Report the --help message.
   1340 #
   1341 if test "$ac_init_help" = "long"; then
   1342   # Omit some internal or obsolete options to make the list less imposing.
   1343   # This message is too long to be a string in the A/UX 3.1 sh.
   1344   cat <<_ACEOF
   1345 \`configure' configures transset 1.0.3 to adapt to many kinds of systems.
   1346 
   1347 Usage: $0 [OPTION]... [VAR=VALUE]...
   1348 
   1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1350 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1351 
   1352 Defaults for the options are specified in brackets.
   1353 
   1354 Configuration:
   1355   -h, --help              display this help and exit
   1356       --help=short        display options specific to this package
   1357       --help=recursive    display the short help of all the included packages
   1358   -V, --version           display version information and exit
   1359   -q, --quiet, --silent   do not print \`checking ...' messages
   1360       --cache-file=FILE   cache test results in FILE [disabled]
   1361   -C, --config-cache      alias for \`--cache-file=config.cache'
   1362   -n, --no-create         do not create output files
   1363       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1364 
   1365 Installation directories:
   1366   --prefix=PREFIX         install architecture-independent files in PREFIX
   1367                           [$ac_default_prefix]
   1368   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1369                           [PREFIX]
   1370 
   1371 By default, \`make install' will install all the files in
   1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1374 for instance \`--prefix=\$HOME'.
   1375 
   1376 For better control, use the options below.
   1377 
   1378 Fine tuning of the installation directories:
   1379   --bindir=DIR            user executables [EPREFIX/bin]
   1380   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1381   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1382   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1383   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1384   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1385   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/transset]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of transset 1.0.3:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-dependency-tracking
   1427                           do not reject slow dependency extractors
   1428   --disable-dependency-tracking
   1429                           speeds up one-time build
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   PKG_CONFIG  path to pkg-config utility
   1446   PKG_CONFIG_PATH
   1447               directories to add to pkg-config's search path
   1448   PKG_CONFIG_LIBDIR
   1449               path overriding pkg-config's built-in search path
   1450   TRANSSET_CFLAGS
   1451               C compiler flags for TRANSSET, overriding pkg-config
   1452   TRANSSET_LIBS
   1453               linker flags for TRANSSET, overriding pkg-config
   1454 
   1455 Use these variables to override the choices made by `configure' or to help
   1456 it to find libraries and programs with nonstandard names/locations.
   1457 
   1458 Report bugs to <https://gitlab.freedesktop.org/xorg/app/transset/-/issues>.
   1459 _ACEOF
   1460 ac_status=$?
   1461 fi
   1462 
   1463 if test "$ac_init_help" = "recursive"; then
   1464   # If there are subdirs, report their specific --help.
   1465   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1466     test -d "$ac_dir" ||
   1467       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1468       continue
   1469     ac_builddir=.
   1470 
   1471 case "$ac_dir" in
   1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473 *)
   1474   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1475   # A ".." for each directory in $ac_dir_suffix.
   1476   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1477   case $ac_top_builddir_sub in
   1478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1480   esac ;;
   1481 esac
   1482 ac_abs_top_builddir=$ac_pwd
   1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1484 # for backward compatibility:
   1485 ac_top_builddir=$ac_top_build_prefix
   1486 
   1487 case $srcdir in
   1488   .)  # We are building in place.
   1489     ac_srcdir=.
   1490     ac_top_srcdir=$ac_top_builddir_sub
   1491     ac_abs_top_srcdir=$ac_pwd ;;
   1492   [\\/]* | ?:[\\/]* )  # Absolute name.
   1493     ac_srcdir=$srcdir$ac_dir_suffix;
   1494     ac_top_srcdir=$srcdir
   1495     ac_abs_top_srcdir=$srcdir ;;
   1496   *) # Relative name.
   1497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1500 esac
   1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1502 
   1503     cd "$ac_dir" || { ac_status=$?; continue; }
   1504     # Check for configure.gnu first; this name is used for a wrapper for
   1505     # Metaconfig's "Configure" on case-insensitive file systems.
   1506     if test -f "$ac_srcdir/configure.gnu"; then
   1507       echo &&
   1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1509     elif test -f "$ac_srcdir/configure"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure" --help=recursive
   1512     else
   1513       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1514     fi || ac_status=$?
   1515     cd "$ac_pwd" || { ac_status=$?; break; }
   1516   done
   1517 fi
   1518 
   1519 test -n "$ac_init_help" && exit $ac_status
   1520 if $ac_init_version; then
   1521   cat <<\_ACEOF
   1522 transset configure 1.0.3
   1523 generated by GNU Autoconf 2.71
   1524 
   1525 Copyright (C) 2021 Free Software Foundation, Inc.
   1526 This configure script is free software; the Free Software Foundation
   1527 gives unlimited permission to copy, distribute and modify it.
   1528 _ACEOF
   1529   exit
   1530 fi
   1531 
   1532 ## ------------------------ ##
   1533 ## Autoconf initialization. ##
   1534 ## ------------------------ ##
   1535 
   1536 # ac_fn_c_try_compile LINENO
   1537 # --------------------------
   1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1539 ac_fn_c_try_compile ()
   1540 {
   1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1542   rm -f conftest.$ac_objext conftest.beam
   1543   if { { ac_try="$ac_compile"
   1544 case "(($ac_try" in
   1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1546   *) ac_try_echo=$ac_try;;
   1547 esac
   1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1549 printf "%s\n" "$ac_try_echo"; } >&5
   1550   (eval "$ac_compile") 2>conftest.err
   1551   ac_status=$?
   1552   if test -s conftest.err; then
   1553     grep -v '^ *+' conftest.err >conftest.er1
   1554     cat conftest.er1 >&5
   1555     mv -f conftest.er1 conftest.err
   1556   fi
   1557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1558   test $ac_status = 0; } && {
   1559 	 test -z "$ac_c_werror_flag" ||
   1560 	 test ! -s conftest.err
   1561        } && test -s conftest.$ac_objext
   1562 then :
   1563   ac_retval=0
   1564 else $as_nop
   1565   printf "%s\n" "$as_me: failed program was:" >&5
   1566 sed 's/^/| /' conftest.$ac_ext >&5
   1567 
   1568 	ac_retval=1
   1569 fi
   1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1571   as_fn_set_status $ac_retval
   1572 
   1573 } # ac_fn_c_try_compile
   1574 
   1575 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1576 # ------------------------------------------------------------------
   1577 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1578 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1579 ac_fn_check_decl ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1584 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1585 if eval test \${$3+y}
   1586 then :
   1587   printf %s "(cached) " >&6
   1588 else $as_nop
   1589   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1590   eval ac_save_FLAGS=\$$6
   1591   as_fn_append $6 " $5"
   1592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1593 /* end confdefs.h.  */
   1594 $4
   1595 int
   1596 main (void)
   1597 {
   1598 #ifndef $as_decl_name
   1599 #ifdef __cplusplus
   1600   (void) $as_decl_use;
   1601 #else
   1602   (void) $as_decl_name;
   1603 #endif
   1604 #endif
   1605 
   1606   ;
   1607   return 0;
   1608 }
   1609 _ACEOF
   1610 if ac_fn_c_try_compile "$LINENO"
   1611 then :
   1612   eval "$3=yes"
   1613 else $as_nop
   1614   eval "$3=no"
   1615 fi
   1616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1617   eval $6=\$ac_save_FLAGS
   1618 
   1619 fi
   1620 eval ac_res=\$$3
   1621 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1622 printf "%s\n" "$ac_res" >&6; }
   1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1624 
   1625 } # ac_fn_check_decl
   1626 
   1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1628 # -------------------------------------------------------
   1629 # Tests whether HEADER exists and can be compiled using the include files in
   1630 # INCLUDES, setting the cache variable VAR accordingly.
   1631 ac_fn_c_check_header_compile ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1635 printf %s "checking for $2... " >&6; }
   1636 if eval test \${$3+y}
   1637 then :
   1638   printf %s "(cached) " >&6
   1639 else $as_nop
   1640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1641 /* end confdefs.h.  */
   1642 $4
   1643 #include <$2>
   1644 _ACEOF
   1645 if ac_fn_c_try_compile "$LINENO"
   1646 then :
   1647   eval "$3=yes"
   1648 else $as_nop
   1649   eval "$3=no"
   1650 fi
   1651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 printf "%s\n" "$ac_res" >&6; }
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657 
   1658 } # ac_fn_c_check_header_compile
   1659 
   1660 # ac_fn_c_try_link LINENO
   1661 # -----------------------
   1662 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_link ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1667   if { { ac_try="$ac_link"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 printf "%s\n" "$ac_try_echo"; } >&5
   1674   (eval "$ac_link") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } && {
   1683 	 test -z "$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        } && test -s conftest$ac_exeext && {
   1686 	 test "$cross_compiling" = yes ||
   1687 	 test -x conftest$ac_exeext
   1688        }
   1689 then :
   1690   ac_retval=0
   1691 else $as_nop
   1692   printf "%s\n" "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1
   1696 fi
   1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1699   # interfere with the next link command; also delete a directory that is
   1700   # left behind by Apple's compiler.  We do this before executing the actions.
   1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_link
   1706 ac_configure_args_raw=
   1707 for ac_arg
   1708 do
   1709   case $ac_arg in
   1710   *\'*)
   1711     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1712   esac
   1713   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1714 done
   1715 
   1716 case $ac_configure_args_raw in
   1717   *$as_nl*)
   1718     ac_safe_unquote= ;;
   1719   *)
   1720     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1721     ac_unsafe_a="$ac_unsafe_z#~"
   1722     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1723     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1724 esac
   1725 
   1726 cat >config.log <<_ACEOF
   1727 This file contains any messages produced by compilers while
   1728 running configure, to aid debugging if configure makes a mistake.
   1729 
   1730 It was created by transset $as_me 1.0.3, which was
   1731 generated by GNU Autoconf 2.71.  Invocation command line was
   1732 
   1733   $ $0$ac_configure_args_raw
   1734 
   1735 _ACEOF
   1736 exec 5>>config.log
   1737 {
   1738 cat <<_ASUNAME
   1739 ## --------- ##
   1740 ## Platform. ##
   1741 ## --------- ##
   1742 
   1743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1748 
   1749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1750 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1751 
   1752 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1753 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1755 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1756 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1757 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1758 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1759 
   1760 _ASUNAME
   1761 
   1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1763 for as_dir in $PATH
   1764 do
   1765   IFS=$as_save_IFS
   1766   case $as_dir in #(((
   1767     '') as_dir=./ ;;
   1768     */) ;;
   1769     *) as_dir=$as_dir/ ;;
   1770   esac
   1771     printf "%s\n" "PATH: $as_dir"
   1772   done
   1773 IFS=$as_save_IFS
   1774 
   1775 } >&5
   1776 
   1777 cat >&5 <<_ACEOF
   1778 
   1779 
   1780 ## ----------- ##
   1781 ## Core tests. ##
   1782 ## ----------- ##
   1783 
   1784 _ACEOF
   1785 
   1786 
   1787 # Keep a trace of the command line.
   1788 # Strip out --no-create and --no-recursion so they do not pile up.
   1789 # Strip out --silent because we don't want to record it for future runs.
   1790 # Also quote any args containing shell meta-characters.
   1791 # Make two passes to allow for proper duplicate-argument suppression.
   1792 ac_configure_args=
   1793 ac_configure_args0=
   1794 ac_configure_args1=
   1795 ac_must_keep_next=false
   1796 for ac_pass in 1 2
   1797 do
   1798   for ac_arg
   1799   do
   1800     case $ac_arg in
   1801     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1802     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1803     | -silent | --silent | --silen | --sile | --sil)
   1804       continue ;;
   1805     *\'*)
   1806       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1807     esac
   1808     case $ac_pass in
   1809     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1810     2)
   1811       as_fn_append ac_configure_args1 " '$ac_arg'"
   1812       if test $ac_must_keep_next = true; then
   1813 	ac_must_keep_next=false # Got value, back to normal.
   1814       else
   1815 	case $ac_arg in
   1816 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1817 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1818 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1819 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1820 	    case "$ac_configure_args0 " in
   1821 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1822 	    esac
   1823 	    ;;
   1824 	  -* ) ac_must_keep_next=true ;;
   1825 	esac
   1826       fi
   1827       as_fn_append ac_configure_args " '$ac_arg'"
   1828       ;;
   1829     esac
   1830   done
   1831 done
   1832 { ac_configure_args0=; unset ac_configure_args0;}
   1833 { ac_configure_args1=; unset ac_configure_args1;}
   1834 
   1835 # When interrupted or exit'd, cleanup temporary files, and complete
   1836 # config.log.  We remove comments because anyway the quotes in there
   1837 # would cause problems or look ugly.
   1838 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1839 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1840 trap 'exit_status=$?
   1841   # Sanitize IFS.
   1842   IFS=" ""	$as_nl"
   1843   # Save into config.log some information that might help in debugging.
   1844   {
   1845     echo
   1846 
   1847     printf "%s\n" "## ---------------- ##
   1848 ## Cache variables. ##
   1849 ## ---------------- ##"
   1850     echo
   1851     # The following way of writing the cache mishandles newlines in values,
   1852 (
   1853   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1854     eval ac_val=\$$ac_var
   1855     case $ac_val in #(
   1856     *${as_nl}*)
   1857       case $ac_var in #(
   1858       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1859 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1860       esac
   1861       case $ac_var in #(
   1862       _ | IFS | as_nl) ;; #(
   1863       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1864       *) { eval $ac_var=; unset $ac_var;} ;;
   1865       esac ;;
   1866     esac
   1867   done
   1868   (set) 2>&1 |
   1869     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1870     *${as_nl}ac_space=\ *)
   1871       sed -n \
   1872 	"s/'\''/'\''\\\\'\'''\''/g;
   1873 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1874       ;; #(
   1875     *)
   1876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1877       ;;
   1878     esac |
   1879     sort
   1880 )
   1881     echo
   1882 
   1883     printf "%s\n" "## ----------------- ##
   1884 ## Output variables. ##
   1885 ## ----------------- ##"
   1886     echo
   1887     for ac_var in $ac_subst_vars
   1888     do
   1889       eval ac_val=\$$ac_var
   1890       case $ac_val in
   1891       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1892       esac
   1893       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1894     done | sort
   1895     echo
   1896 
   1897     if test -n "$ac_subst_files"; then
   1898       printf "%s\n" "## ------------------- ##
   1899 ## File substitutions. ##
   1900 ## ------------------- ##"
   1901       echo
   1902       for ac_var in $ac_subst_files
   1903       do
   1904 	eval ac_val=\$$ac_var
   1905 	case $ac_val in
   1906 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1907 	esac
   1908 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1909       done | sort
   1910       echo
   1911     fi
   1912 
   1913     if test -s confdefs.h; then
   1914       printf "%s\n" "## ----------- ##
   1915 ## confdefs.h. ##
   1916 ## ----------- ##"
   1917       echo
   1918       cat confdefs.h
   1919       echo
   1920     fi
   1921     test "$ac_signal" != 0 &&
   1922       printf "%s\n" "$as_me: caught signal $ac_signal"
   1923     printf "%s\n" "$as_me: exit $exit_status"
   1924   } >&5
   1925   rm -f core *.core core.conftest.* &&
   1926     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1927     exit $exit_status
   1928 ' 0
   1929 for ac_signal in 1 2 13 15; do
   1930   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1931 done
   1932 ac_signal=0
   1933 
   1934 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1935 rm -f -r conftest* confdefs.h
   1936 
   1937 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1938 
   1939 # Predefined preprocessor variables.
   1940 
   1941 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1942 
   1943 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1944 
   1945 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1946 
   1947 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1948 
   1949 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1950 
   1951 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1952 
   1953 
   1954 # Let the site file select an alternate cache file if it wants to.
   1955 # Prefer an explicitly selected file to automatically selected ones.
   1956 if test -n "$CONFIG_SITE"; then
   1957   ac_site_files="$CONFIG_SITE"
   1958 elif test "x$prefix" != xNONE; then
   1959   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1960 else
   1961   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1962 fi
   1963 
   1964 for ac_site_file in $ac_site_files
   1965 do
   1966   case $ac_site_file in #(
   1967   */*) :
   1968      ;; #(
   1969   *) :
   1970     ac_site_file=./$ac_site_file ;;
   1971 esac
   1972   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1973     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1974 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1975     sed 's/^/| /' "$ac_site_file" >&5
   1976     . "$ac_site_file" \
   1977       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   1978 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   1979 as_fn_error $? "failed to load site script $ac_site_file
   1980 See \`config.log' for more details" "$LINENO" 5; }
   1981   fi
   1982 done
   1983 
   1984 if test -r "$cache_file"; then
   1985   # Some versions of bash will fail to source /dev/null (special files
   1986   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   1987   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   1988     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   1989 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   1990     case $cache_file in
   1991       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1992       *)                      . "./$cache_file";;
   1993     esac
   1994   fi
   1995 else
   1996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   1997 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   1998   >$cache_file
   1999 fi
   2000 
   2001 # Test code for whether the C compiler supports C89 (global declarations)
   2002 ac_c_conftest_c89_globals='
   2003 /* Does the compiler advertise C89 conformance?
   2004    Do not test the value of __STDC__, because some compilers set it to 0
   2005    while being otherwise adequately conformant. */
   2006 #if !defined __STDC__
   2007 # error "Compiler does not advertise C89 conformance"
   2008 #endif
   2009 
   2010 #include <stddef.h>
   2011 #include <stdarg.h>
   2012 struct stat;
   2013 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2014 struct buf { int x; };
   2015 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2016 static char *e (p, i)
   2017      char **p;
   2018      int i;
   2019 {
   2020   return p[i];
   2021 }
   2022 static char *f (char * (*g) (char **, int), char **p, ...)
   2023 {
   2024   char *s;
   2025   va_list v;
   2026   va_start (v,p);
   2027   s = g (p, va_arg (v,int));
   2028   va_end (v);
   2029   return s;
   2030 }
   2031 
   2032 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2033    function prototypes and stuff, but not \xHH hex character constants.
   2034    These do not provoke an error unfortunately, instead are silently treated
   2035    as an "x".  The following induces an error, until -std is added to get
   2036    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2037    array size at least.  It is necessary to write \x00 == 0 to get something
   2038    that is true only with -std.  */
   2039 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2040 
   2041 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2042    inside strings and character constants.  */
   2043 #define FOO(x) '\''x'\''
   2044 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2045 
   2046 int test (int i, double x);
   2047 struct s1 {int (*f) (int a);};
   2048 struct s2 {int (*f) (double a);};
   2049 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2050                int, int);'
   2051 
   2052 # Test code for whether the C compiler supports C89 (body of main).
   2053 ac_c_conftest_c89_main='
   2054 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2055 '
   2056 
   2057 # Test code for whether the C compiler supports C99 (global declarations)
   2058 ac_c_conftest_c99_globals='
   2059 // Does the compiler advertise C99 conformance?
   2060 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2061 # error "Compiler does not advertise C99 conformance"
   2062 #endif
   2063 
   2064 #include <stdbool.h>
   2065 extern int puts (const char *);
   2066 extern int printf (const char *, ...);
   2067 extern int dprintf (int, const char *, ...);
   2068 extern void *malloc (size_t);
   2069 
   2070 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2071 // dprintf is used instead of fprintf to avoid needing to declare
   2072 // FILE and stderr.
   2073 #define debug(...) dprintf (2, __VA_ARGS__)
   2074 #define showlist(...) puts (#__VA_ARGS__)
   2075 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2076 static void
   2077 test_varargs_macros (void)
   2078 {
   2079   int x = 1234;
   2080   int y = 5678;
   2081   debug ("Flag");
   2082   debug ("X = %d\n", x);
   2083   showlist (The first, second, and third items.);
   2084   report (x>y, "x is %d but y is %d", x, y);
   2085 }
   2086 
   2087 // Check long long types.
   2088 #define BIG64 18446744073709551615ull
   2089 #define BIG32 4294967295ul
   2090 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2091 #if !BIG_OK
   2092   #error "your preprocessor is broken"
   2093 #endif
   2094 #if BIG_OK
   2095 #else
   2096   #error "your preprocessor is broken"
   2097 #endif
   2098 static long long int bignum = -9223372036854775807LL;
   2099 static unsigned long long int ubignum = BIG64;
   2100 
   2101 struct incomplete_array
   2102 {
   2103   int datasize;
   2104   double data[];
   2105 };
   2106 
   2107 struct named_init {
   2108   int number;
   2109   const wchar_t *name;
   2110   double average;
   2111 };
   2112 
   2113 typedef const char *ccp;
   2114 
   2115 static inline int
   2116 test_restrict (ccp restrict text)
   2117 {
   2118   // See if C++-style comments work.
   2119   // Iterate through items via the restricted pointer.
   2120   // Also check for declarations in for loops.
   2121   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2122     continue;
   2123   return 0;
   2124 }
   2125 
   2126 // Check varargs and va_copy.
   2127 static bool
   2128 test_varargs (const char *format, ...)
   2129 {
   2130   va_list args;
   2131   va_start (args, format);
   2132   va_list args_copy;
   2133   va_copy (args_copy, args);
   2134 
   2135   const char *str = "";
   2136   int number = 0;
   2137   float fnumber = 0;
   2138 
   2139   while (*format)
   2140     {
   2141       switch (*format++)
   2142 	{
   2143 	case '\''s'\'': // string
   2144 	  str = va_arg (args_copy, const char *);
   2145 	  break;
   2146 	case '\''d'\'': // int
   2147 	  number = va_arg (args_copy, int);
   2148 	  break;
   2149 	case '\''f'\'': // float
   2150 	  fnumber = va_arg (args_copy, double);
   2151 	  break;
   2152 	default:
   2153 	  break;
   2154 	}
   2155     }
   2156   va_end (args_copy);
   2157   va_end (args);
   2158 
   2159   return *str && number && fnumber;
   2160 }
   2161 '
   2162 
   2163 # Test code for whether the C compiler supports C99 (body of main).
   2164 ac_c_conftest_c99_main='
   2165   // Check bool.
   2166   _Bool success = false;
   2167   success |= (argc != 0);
   2168 
   2169   // Check restrict.
   2170   if (test_restrict ("String literal") == 0)
   2171     success = true;
   2172   char *restrict newvar = "Another string";
   2173 
   2174   // Check varargs.
   2175   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2176   test_varargs_macros ();
   2177 
   2178   // Check flexible array members.
   2179   struct incomplete_array *ia =
   2180     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2181   ia->datasize = 10;
   2182   for (int i = 0; i < ia->datasize; ++i)
   2183     ia->data[i] = i * 1.234;
   2184 
   2185   // Check named initializers.
   2186   struct named_init ni = {
   2187     .number = 34,
   2188     .name = L"Test wide string",
   2189     .average = 543.34343,
   2190   };
   2191 
   2192   ni.number = 58;
   2193 
   2194   int dynamic_array[ni.number];
   2195   dynamic_array[0] = argv[0][0];
   2196   dynamic_array[ni.number - 1] = 543;
   2197 
   2198   // work around unused variable warnings
   2199   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2200 	 || dynamic_array[ni.number - 1] != 543);
   2201 '
   2202 
   2203 # Test code for whether the C compiler supports C11 (global declarations)
   2204 ac_c_conftest_c11_globals='
   2205 // Does the compiler advertise C11 conformance?
   2206 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2207 # error "Compiler does not advertise C11 conformance"
   2208 #endif
   2209 
   2210 // Check _Alignas.
   2211 char _Alignas (double) aligned_as_double;
   2212 char _Alignas (0) no_special_alignment;
   2213 extern char aligned_as_int;
   2214 char _Alignas (0) _Alignas (int) aligned_as_int;
   2215 
   2216 // Check _Alignof.
   2217 enum
   2218 {
   2219   int_alignment = _Alignof (int),
   2220   int_array_alignment = _Alignof (int[100]),
   2221   char_alignment = _Alignof (char)
   2222 };
   2223 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2224 
   2225 // Check _Noreturn.
   2226 int _Noreturn does_not_return (void) { for (;;) continue; }
   2227 
   2228 // Check _Static_assert.
   2229 struct test_static_assert
   2230 {
   2231   int x;
   2232   _Static_assert (sizeof (int) <= sizeof (long int),
   2233                   "_Static_assert does not work in struct");
   2234   long int y;
   2235 };
   2236 
   2237 // Check UTF-8 literals.
   2238 #define u8 syntax error!
   2239 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2240 
   2241 // Check duplicate typedefs.
   2242 typedef long *long_ptr;
   2243 typedef long int *long_ptr;
   2244 typedef long_ptr long_ptr;
   2245 
   2246 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2247 struct anonymous
   2248 {
   2249   union {
   2250     struct { int i; int j; };
   2251     struct { int k; long int l; } w;
   2252   };
   2253   int m;
   2254 } v1;
   2255 '
   2256 
   2257 # Test code for whether the C compiler supports C11 (body of main).
   2258 ac_c_conftest_c11_main='
   2259   _Static_assert ((offsetof (struct anonymous, i)
   2260 		   == offsetof (struct anonymous, w.k)),
   2261 		  "Anonymous union alignment botch");
   2262   v1.i = 2;
   2263   v1.w.k = 5;
   2264   ok |= v1.i != 5;
   2265 '
   2266 
   2267 # Test code for whether the C compiler supports C11 (complete).
   2268 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2269 ${ac_c_conftest_c99_globals}
   2270 ${ac_c_conftest_c11_globals}
   2271 
   2272 int
   2273 main (int argc, char **argv)
   2274 {
   2275   int ok = 0;
   2276   ${ac_c_conftest_c89_main}
   2277   ${ac_c_conftest_c99_main}
   2278   ${ac_c_conftest_c11_main}
   2279   return ok;
   2280 }
   2281 "
   2282 
   2283 # Test code for whether the C compiler supports C99 (complete).
   2284 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2285 ${ac_c_conftest_c99_globals}
   2286 
   2287 int
   2288 main (int argc, char **argv)
   2289 {
   2290   int ok = 0;
   2291   ${ac_c_conftest_c89_main}
   2292   ${ac_c_conftest_c99_main}
   2293   return ok;
   2294 }
   2295 "
   2296 
   2297 # Test code for whether the C compiler supports C89 (complete).
   2298 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2299 
   2300 int
   2301 main (int argc, char **argv)
   2302 {
   2303   int ok = 0;
   2304   ${ac_c_conftest_c89_main}
   2305   return ok;
   2306 }
   2307 "
   2308 
   2309 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2310 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2311 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2312 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2313 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2314 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2315 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2316 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2317 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2318 
   2319 # Auxiliary files required by this configure script.
   2320 ac_aux_files="config.guess config.sub compile missing install-sh"
   2321 
   2322 # Locations in which to look for auxiliary files.
   2323 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2324 
   2325 # Search for a directory containing all of the required auxiliary files,
   2326 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2327 # If we don't find one directory that contains all the files we need,
   2328 # we report the set of missing files from the *first* directory in
   2329 # $ac_aux_dir_candidates and give up.
   2330 ac_missing_aux_files=""
   2331 ac_first_candidate=:
   2332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 as_found=false
   2335 for as_dir in $ac_aux_dir_candidates
   2336 do
   2337   IFS=$as_save_IFS
   2338   case $as_dir in #(((
   2339     '') as_dir=./ ;;
   2340     */) ;;
   2341     *) as_dir=$as_dir/ ;;
   2342   esac
   2343   as_found=:
   2344 
   2345   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2346   ac_aux_dir_found=yes
   2347   ac_install_sh=
   2348   for ac_aux in $ac_aux_files
   2349   do
   2350     # As a special case, if "install-sh" is required, that requirement
   2351     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2352     # and $ac_install_sh is set appropriately for whichever one is found.
   2353     if test x"$ac_aux" = x"install-sh"
   2354     then
   2355       if test -f "${as_dir}install-sh"; then
   2356         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2357         ac_install_sh="${as_dir}install-sh -c"
   2358       elif test -f "${as_dir}install.sh"; then
   2359         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2360         ac_install_sh="${as_dir}install.sh -c"
   2361       elif test -f "${as_dir}shtool"; then
   2362         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2363         ac_install_sh="${as_dir}shtool install -c"
   2364       else
   2365         ac_aux_dir_found=no
   2366         if $ac_first_candidate; then
   2367           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2368         else
   2369           break
   2370         fi
   2371       fi
   2372     else
   2373       if test -f "${as_dir}${ac_aux}"; then
   2374         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2375       else
   2376         ac_aux_dir_found=no
   2377         if $ac_first_candidate; then
   2378           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2379         else
   2380           break
   2381         fi
   2382       fi
   2383     fi
   2384   done
   2385   if test "$ac_aux_dir_found" = yes; then
   2386     ac_aux_dir="$as_dir"
   2387     break
   2388   fi
   2389   ac_first_candidate=false
   2390 
   2391   as_found=false
   2392 done
   2393 IFS=$as_save_IFS
   2394 if $as_found
   2395 then :
   2396 
   2397 else $as_nop
   2398   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2399 fi
   2400 
   2401 
   2402 # These three variables are undocumented and unsupported,
   2403 # and are intended to be withdrawn in a future Autoconf release.
   2404 # They can cause serious problems if a builder's source tree is in a directory
   2405 # whose full name contains unusual characters.
   2406 if test -f "${ac_aux_dir}config.guess"; then
   2407   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2408 fi
   2409 if test -f "${ac_aux_dir}config.sub"; then
   2410   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2411 fi
   2412 if test -f "$ac_aux_dir/configure"; then
   2413   ac_configure="$SHELL ${ac_aux_dir}configure"
   2414 fi
   2415 
   2416 # Check that the precious variables saved in the cache have kept the same
   2417 # value.
   2418 ac_cache_corrupted=false
   2419 for ac_var in $ac_precious_vars; do
   2420   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2421   eval ac_new_set=\$ac_env_${ac_var}_set
   2422   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2423   eval ac_new_val=\$ac_env_${ac_var}_value
   2424   case $ac_old_set,$ac_new_set in
   2425     set,)
   2426       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2427 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2428       ac_cache_corrupted=: ;;
   2429     ,set)
   2430       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2431 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2432       ac_cache_corrupted=: ;;
   2433     ,);;
   2434     *)
   2435       if test "x$ac_old_val" != "x$ac_new_val"; then
   2436 	# differences in whitespace do not lead to failure.
   2437 	ac_old_val_w=`echo x $ac_old_val`
   2438 	ac_new_val_w=`echo x $ac_new_val`
   2439 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2440 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2441 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2442 	  ac_cache_corrupted=:
   2443 	else
   2444 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2445 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2446 	  eval $ac_var=\$ac_old_val
   2447 	fi
   2448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2449 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2450 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2451 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2452       fi;;
   2453   esac
   2454   # Pass precious variables to config.status.
   2455   if test "$ac_new_set" = set; then
   2456     case $ac_new_val in
   2457     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2458     *) ac_arg=$ac_var=$ac_new_val ;;
   2459     esac
   2460     case " $ac_configure_args " in
   2461       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2462       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2463     esac
   2464   fi
   2465 done
   2466 if $ac_cache_corrupted; then
   2467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2468 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2470 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2471   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2472 	    and start over" "$LINENO" 5
   2473 fi
   2474 ## -------------------- ##
   2475 ## Main body of script. ##
   2476 ## -------------------- ##
   2477 
   2478 ac_ext=c
   2479 ac_cpp='$CPP $CPPFLAGS'
   2480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2483 
   2484 
   2485 RELEASE_DATE="2022-12-03"
   2486 
   2487 ac_config_headers="$ac_config_headers config.h"
   2488 
   2489 
   2490 # Initialize Automake
   2491 am__api_version='1.16'
   2492 
   2493 
   2494 
   2495   # Find a good install program.  We prefer a C program (faster),
   2496 # so one script is as good as another.  But avoid the broken or
   2497 # incompatible versions:
   2498 # SysV /etc/install, /usr/sbin/install
   2499 # SunOS /usr/etc/install
   2500 # IRIX /sbin/install
   2501 # AIX /bin/install
   2502 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2506 # OS/2's system install, which has a completely different semantic
   2507 # ./install, which can be erroneously created by make from ./install.sh.
   2508 # Reject install programs that cannot install multiple files.
   2509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2510 printf %s "checking for a BSD-compatible install... " >&6; }
   2511 if test -z "$INSTALL"; then
   2512 if test ${ac_cv_path_install+y}
   2513 then :
   2514   printf %s "(cached) " >&6
   2515 else $as_nop
   2516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2517 for as_dir in $PATH
   2518 do
   2519   IFS=$as_save_IFS
   2520   case $as_dir in #(((
   2521     '') as_dir=./ ;;
   2522     */) ;;
   2523     *) as_dir=$as_dir/ ;;
   2524   esac
   2525     # Account for fact that we put trailing slashes in our PATH walk.
   2526 case $as_dir in #((
   2527   ./ | /[cC]/* | \
   2528   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2529   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2530   /usr/ucb/* ) ;;
   2531   *)
   2532     # OSF1 and SCO ODT 3.0 have their own names for install.
   2533     # Don't use installbsd from OSF since it installs stuff as root
   2534     # by default.
   2535     for ac_prog in ginstall scoinst install; do
   2536       for ac_exec_ext in '' $ac_executable_extensions; do
   2537 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2538 	  if test $ac_prog = install &&
   2539 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2540 	    # AIX install.  It has an incompatible calling convention.
   2541 	    :
   2542 	  elif test $ac_prog = install &&
   2543 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2544 	    # program-specific install script used by HP pwplus--don't use.
   2545 	    :
   2546 	  else
   2547 	    rm -rf conftest.one conftest.two conftest.dir
   2548 	    echo one > conftest.one
   2549 	    echo two > conftest.two
   2550 	    mkdir conftest.dir
   2551 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2552 	      test -s conftest.one && test -s conftest.two &&
   2553 	      test -s conftest.dir/conftest.one &&
   2554 	      test -s conftest.dir/conftest.two
   2555 	    then
   2556 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2557 	      break 3
   2558 	    fi
   2559 	  fi
   2560 	fi
   2561       done
   2562     done
   2563     ;;
   2564 esac
   2565 
   2566   done
   2567 IFS=$as_save_IFS
   2568 
   2569 rm -rf conftest.one conftest.two conftest.dir
   2570 
   2571 fi
   2572   if test ${ac_cv_path_install+y}; then
   2573     INSTALL=$ac_cv_path_install
   2574   else
   2575     # As a last resort, use the slow shell script.  Don't cache a
   2576     # value for INSTALL within a source directory, because that will
   2577     # break other packages using the cache if that directory is
   2578     # removed, or if the value is a relative name.
   2579     INSTALL=$ac_install_sh
   2580   fi
   2581 fi
   2582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2583 printf "%s\n" "$INSTALL" >&6; }
   2584 
   2585 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2586 # It thinks the first close brace ends the variable substitution.
   2587 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2588 
   2589 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2590 
   2591 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2592 
   2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2594 printf %s "checking whether build environment is sane... " >&6; }
   2595 # Reject unsafe characters in $srcdir or the absolute working directory
   2596 # name.  Accept space and tab only in the latter.
   2597 am_lf='
   2598 '
   2599 case `pwd` in
   2600   *[\\\"\#\$\&\'\`$am_lf]*)
   2601     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2602 esac
   2603 case $srcdir in
   2604   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2605     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2606 esac
   2607 
   2608 # Do 'set' in a subshell so we don't clobber the current shell's
   2609 # arguments.  Must try -L first in case configure is actually a
   2610 # symlink; some systems play weird games with the mod time of symlinks
   2611 # (eg FreeBSD returns the mod time of the symlink's containing
   2612 # directory).
   2613 if (
   2614    am_has_slept=no
   2615    for am_try in 1 2; do
   2616      echo "timestamp, slept: $am_has_slept" > conftest.file
   2617      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2618      if test "$*" = "X"; then
   2619 	# -L didn't work.
   2620 	set X `ls -t "$srcdir/configure" conftest.file`
   2621      fi
   2622      if test "$*" != "X $srcdir/configure conftest.file" \
   2623 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2624 
   2625 	# If neither matched, then we have a broken ls.  This can happen
   2626 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2627 	# broken ls alias from the environment.  This has actually
   2628 	# happened.  Such a system could not be considered "sane".
   2629 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2630   alias in your environment" "$LINENO" 5
   2631      fi
   2632      if test "$2" = conftest.file || test $am_try -eq 2; then
   2633        break
   2634      fi
   2635      # Just in case.
   2636      sleep 1
   2637      am_has_slept=yes
   2638    done
   2639    test "$2" = conftest.file
   2640    )
   2641 then
   2642    # Ok.
   2643    :
   2644 else
   2645    as_fn_error $? "newly created file is older than distributed files!
   2646 Check your system clock" "$LINENO" 5
   2647 fi
   2648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2649 printf "%s\n" "yes" >&6; }
   2650 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2651 # generated files are strictly newer.
   2652 am_sleep_pid=
   2653 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2654   ( sleep 1 ) &
   2655   am_sleep_pid=$!
   2656 fi
   2657 
   2658 rm -f conftest.file
   2659 
   2660 test "$program_prefix" != NONE &&
   2661   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2662 # Use a double $ so make ignores it.
   2663 test "$program_suffix" != NONE &&
   2664   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2665 # Double any \ or $.
   2666 # By default was `s,x,x', remove it if useless.
   2667 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2668 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2669 
   2670 
   2671 # Expand $ac_aux_dir to an absolute path.
   2672 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2673 
   2674 
   2675   if test x"${MISSING+set}" != xset; then
   2676   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2677 fi
   2678 # Use eval to expand $SHELL
   2679 if eval "$MISSING --is-lightweight"; then
   2680   am_missing_run="$MISSING "
   2681 else
   2682   am_missing_run=
   2683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2684 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2685 fi
   2686 
   2687 if test x"${install_sh+set}" != xset; then
   2688   case $am_aux_dir in
   2689   *\ * | *\	*)
   2690     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2691   *)
   2692     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2693   esac
   2694 fi
   2695 
   2696 # Installed binaries are usually stripped using 'strip' when the user
   2697 # run "make install-strip".  However 'strip' might not be the right
   2698 # tool to use in cross-compilation environments, therefore Automake
   2699 # will honor the 'STRIP' environment variable to overrule this program.
   2700 if test "$cross_compiling" != no; then
   2701   if test -n "$ac_tool_prefix"; then
   2702   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2703 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2705 printf %s "checking for $ac_word... " >&6; }
   2706 if test ${ac_cv_prog_STRIP+y}
   2707 then :
   2708   printf %s "(cached) " >&6
   2709 else $as_nop
   2710   if test -n "$STRIP"; then
   2711   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2712 else
   2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2714 for as_dir in $PATH
   2715 do
   2716   IFS=$as_save_IFS
   2717   case $as_dir in #(((
   2718     '') as_dir=./ ;;
   2719     */) ;;
   2720     *) as_dir=$as_dir/ ;;
   2721   esac
   2722     for ac_exec_ext in '' $ac_executable_extensions; do
   2723   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2724     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2725     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2726     break 2
   2727   fi
   2728 done
   2729   done
   2730 IFS=$as_save_IFS
   2731 
   2732 fi
   2733 fi
   2734 STRIP=$ac_cv_prog_STRIP
   2735 if test -n "$STRIP"; then
   2736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2737 printf "%s\n" "$STRIP" >&6; }
   2738 else
   2739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2740 printf "%s\n" "no" >&6; }
   2741 fi
   2742 
   2743 
   2744 fi
   2745 if test -z "$ac_cv_prog_STRIP"; then
   2746   ac_ct_STRIP=$STRIP
   2747   # Extract the first word of "strip", so it can be a program name with args.
   2748 set dummy strip; ac_word=$2
   2749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2750 printf %s "checking for $ac_word... " >&6; }
   2751 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2752 then :
   2753   printf %s "(cached) " >&6
   2754 else $as_nop
   2755   if test -n "$ac_ct_STRIP"; then
   2756   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2757 else
   2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2759 for as_dir in $PATH
   2760 do
   2761   IFS=$as_save_IFS
   2762   case $as_dir in #(((
   2763     '') as_dir=./ ;;
   2764     */) ;;
   2765     *) as_dir=$as_dir/ ;;
   2766   esac
   2767     for ac_exec_ext in '' $ac_executable_extensions; do
   2768   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2769     ac_cv_prog_ac_ct_STRIP="strip"
   2770     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2771     break 2
   2772   fi
   2773 done
   2774   done
   2775 IFS=$as_save_IFS
   2776 
   2777 fi
   2778 fi
   2779 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2780 if test -n "$ac_ct_STRIP"; then
   2781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2782 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2783 else
   2784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2785 printf "%s\n" "no" >&6; }
   2786 fi
   2787 
   2788   if test "x$ac_ct_STRIP" = x; then
   2789     STRIP=":"
   2790   else
   2791     case $cross_compiling:$ac_tool_warned in
   2792 yes:)
   2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2794 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2795 ac_tool_warned=yes ;;
   2796 esac
   2797     STRIP=$ac_ct_STRIP
   2798   fi
   2799 else
   2800   STRIP="$ac_cv_prog_STRIP"
   2801 fi
   2802 
   2803 fi
   2804 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2805 
   2806 
   2807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2808 printf %s "checking for a race-free mkdir -p... " >&6; }
   2809 if test -z "$MKDIR_P"; then
   2810   if test ${ac_cv_path_mkdir+y}
   2811 then :
   2812   printf %s "(cached) " >&6
   2813 else $as_nop
   2814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2815 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2816 do
   2817   IFS=$as_save_IFS
   2818   case $as_dir in #(((
   2819     '') as_dir=./ ;;
   2820     */) ;;
   2821     *) as_dir=$as_dir/ ;;
   2822   esac
   2823     for ac_prog in mkdir gmkdir; do
   2824 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2825 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2826 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2827 	     'mkdir ('*'coreutils) '* | \
   2828 	     'BusyBox '* | \
   2829 	     'mkdir (fileutils) '4.1*)
   2830 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2831 	       break 3;;
   2832 	   esac
   2833 	 done
   2834        done
   2835   done
   2836 IFS=$as_save_IFS
   2837 
   2838 fi
   2839 
   2840   test -d ./--version && rmdir ./--version
   2841   if test ${ac_cv_path_mkdir+y}; then
   2842     MKDIR_P="$ac_cv_path_mkdir -p"
   2843   else
   2844     # As a last resort, use the slow shell script.  Don't cache a
   2845     # value for MKDIR_P within a source directory, because that will
   2846     # break other packages using the cache if that directory is
   2847     # removed, or if the value is a relative name.
   2848     MKDIR_P="$ac_install_sh -d"
   2849   fi
   2850 fi
   2851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2852 printf "%s\n" "$MKDIR_P" >&6; }
   2853 
   2854 for ac_prog in gawk mawk nawk awk
   2855 do
   2856   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2857 set dummy $ac_prog; ac_word=$2
   2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2859 printf %s "checking for $ac_word... " >&6; }
   2860 if test ${ac_cv_prog_AWK+y}
   2861 then :
   2862   printf %s "(cached) " >&6
   2863 else $as_nop
   2864   if test -n "$AWK"; then
   2865   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2866 else
   2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2868 for as_dir in $PATH
   2869 do
   2870   IFS=$as_save_IFS
   2871   case $as_dir in #(((
   2872     '') as_dir=./ ;;
   2873     */) ;;
   2874     *) as_dir=$as_dir/ ;;
   2875   esac
   2876     for ac_exec_ext in '' $ac_executable_extensions; do
   2877   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2878     ac_cv_prog_AWK="$ac_prog"
   2879     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2880     break 2
   2881   fi
   2882 done
   2883   done
   2884 IFS=$as_save_IFS
   2885 
   2886 fi
   2887 fi
   2888 AWK=$ac_cv_prog_AWK
   2889 if test -n "$AWK"; then
   2890   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2891 printf "%s\n" "$AWK" >&6; }
   2892 else
   2893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2894 printf "%s\n" "no" >&6; }
   2895 fi
   2896 
   2897 
   2898   test -n "$AWK" && break
   2899 done
   2900 
   2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2902 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2903 set x ${MAKE-make}
   2904 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2905 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   2906 then :
   2907   printf %s "(cached) " >&6
   2908 else $as_nop
   2909   cat >conftest.make <<\_ACEOF
   2910 SHELL = /bin/sh
   2911 all:
   2912 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2913 _ACEOF
   2914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2916   *@@@%%%=?*=@@@%%%*)
   2917     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2918   *)
   2919     eval ac_cv_prog_make_${ac_make}_set=no;;
   2920 esac
   2921 rm -f conftest.make
   2922 fi
   2923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2925 printf "%s\n" "yes" >&6; }
   2926   SET_MAKE=
   2927 else
   2928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2929 printf "%s\n" "no" >&6; }
   2930   SET_MAKE="MAKE=${MAKE-make}"
   2931 fi
   2932 
   2933 rm -rf .tst 2>/dev/null
   2934 mkdir .tst 2>/dev/null
   2935 if test -d .tst; then
   2936   am__leading_dot=.
   2937 else
   2938   am__leading_dot=_
   2939 fi
   2940 rmdir .tst 2>/dev/null
   2941 
   2942 # Check whether --enable-silent-rules was given.
   2943 if test ${enable_silent_rules+y}
   2944 then :
   2945   enableval=$enable_silent_rules;
   2946 fi
   2947 
   2948 case $enable_silent_rules in # (((
   2949   yes) AM_DEFAULT_VERBOSITY=0;;
   2950    no) AM_DEFAULT_VERBOSITY=1;;
   2951     *) AM_DEFAULT_VERBOSITY=1;;
   2952 esac
   2953 am_make=${MAKE-make}
   2954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2955 printf %s "checking whether $am_make supports nested variables... " >&6; }
   2956 if test ${am_cv_make_support_nested_variables+y}
   2957 then :
   2958   printf %s "(cached) " >&6
   2959 else $as_nop
   2960   if printf "%s\n" 'TRUE=$(BAR$(V))
   2961 BAR0=false
   2962 BAR1=true
   2963 V=1
   2964 am__doit:
   2965 	@$(TRUE)
   2966 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2967   am_cv_make_support_nested_variables=yes
   2968 else
   2969   am_cv_make_support_nested_variables=no
   2970 fi
   2971 fi
   2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2973 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   2974 if test $am_cv_make_support_nested_variables = yes; then
   2975     AM_V='$(V)'
   2976   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2977 else
   2978   AM_V=$AM_DEFAULT_VERBOSITY
   2979   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2980 fi
   2981 AM_BACKSLASH='\'
   2982 
   2983 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2984   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2985   # is not polluted with repeated "-I."
   2986   am__isrc=' -I$(srcdir)'
   2987   # test to see if srcdir already configured
   2988   if test -f $srcdir/config.status; then
   2989     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2990   fi
   2991 fi
   2992 
   2993 # test whether we have cygpath
   2994 if test -z "$CYGPATH_W"; then
   2995   if (cygpath --version) >/dev/null 2>/dev/null; then
   2996     CYGPATH_W='cygpath -w'
   2997   else
   2998     CYGPATH_W=echo
   2999   fi
   3000 fi
   3001 
   3002 
   3003 # Define the identity of the package.
   3004  PACKAGE='transset'
   3005  VERSION='1.0.3'
   3006 
   3007 
   3008 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3009 
   3010 
   3011 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3012 
   3013 # Some tools Automake needs.
   3014 
   3015 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3016 
   3017 
   3018 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3019 
   3020 
   3021 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3022 
   3023 
   3024 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3025 
   3026 
   3027 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3028 
   3029 # For better backward compatibility.  To be removed once Automake 1.9.x
   3030 # dies out for good.  For more background, see:
   3031 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3032 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3033 mkdir_p='$(MKDIR_P)'
   3034 
   3035 # We need awk for the "check" target (and possibly the TAP driver).  The
   3036 # system "awk" is bad on some platforms.
   3037 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3038 # in the wild :-(  We should find a proper way to deprecate it ...
   3039 AMTAR='$${TAR-tar}'
   3040 
   3041 
   3042 # We'll loop over all known methods to create a tar archive until one works.
   3043 _am_tools='gnutar  pax cpio none'
   3044 
   3045 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3046 
   3047 
   3048 
   3049 
   3050 
   3051 # Variables for tags utilities; see am/tags.am
   3052 if test -z "$CTAGS"; then
   3053   CTAGS=ctags
   3054 fi
   3055 
   3056 if test -z "$ETAGS"; then
   3057   ETAGS=etags
   3058 fi
   3059 
   3060 if test -z "$CSCOPE"; then
   3061   CSCOPE=cscope
   3062 fi
   3063 
   3064 
   3065 
   3066 # POSIX will say in a future version that running "rm -f" with no argument
   3067 # is OK; and we want to be able to make that assumption in our Makefile
   3068 # recipes.  So use an aggressive probe to check that the usage we want is
   3069 # actually supported "in the wild" to an acceptable degree.
   3070 # See automake bug#10828.
   3071 # To make any issue more visible, cause the running configure to be aborted
   3072 # by default if the 'rm' program in use doesn't match our expectations; the
   3073 # user can still override this though.
   3074 if rm -f && rm -fr && rm -rf; then : OK; else
   3075   cat >&2 <<'END'
   3076 Oops!
   3077 
   3078 Your 'rm' program seems unable to run without file operands specified
   3079 on the command line, even when the '-f' option is present.  This is contrary
   3080 to the behaviour of most rm programs out there, and not conforming with
   3081 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3082 
   3083 Please tell bug-automake@gnu.org about your system, including the value
   3084 of your $PATH and any error possibly output before this message.  This
   3085 can help us improve future automake versions.
   3086 
   3087 END
   3088   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3089     echo 'Configuration will proceed anyway, since you have set the' >&2
   3090     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3091     echo >&2
   3092   else
   3093     cat >&2 <<'END'
   3094 Aborting the configuration process, to ensure you take notice of the issue.
   3095 
   3096 You can download and install GNU coreutils to get an 'rm' implementation
   3097 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3098 
   3099 If you want to complete the configuration process using your problematic
   3100 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3101 to "yes", and re-run configure.
   3102 
   3103 END
   3104     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3105   fi
   3106 fi
   3107 
   3108 
   3109 # Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3110 
   3111 
   3112 
   3113 
   3114 
   3115 
   3116 
   3117 
   3118 
   3119 
   3120 
   3121 
   3122 
   3123 
   3124 
   3125 
   3126 
   3127 
   3128 
   3129 
   3130 DEPDIR="${am__leading_dot}deps"
   3131 
   3132 ac_config_commands="$ac_config_commands depfiles"
   3133 
   3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3135 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3136 cat > confinc.mk << 'END'
   3137 am__doit:
   3138 	@echo this is the am__doit target >confinc.out
   3139 .PHONY: am__doit
   3140 END
   3141 am__include="#"
   3142 am__quote=
   3143 # BSD make does it like this.
   3144 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3145 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3146 echo 'include confinc.mk # ignored' > confmf.GNU
   3147 _am_result=no
   3148 for s in GNU BSD; do
   3149   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3150    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3151    ac_status=$?
   3152    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3153    (exit $ac_status); }
   3154   case $?:`cat confinc.out 2>/dev/null` in #(
   3155   '0:this is the am__doit target') :
   3156     case $s in #(
   3157   BSD) :
   3158     am__include='.include' am__quote='"' ;; #(
   3159   *) :
   3160     am__include='include' am__quote='' ;;
   3161 esac ;; #(
   3162   *) :
   3163      ;;
   3164 esac
   3165   if test "$am__include" != "#"; then
   3166     _am_result="yes ($s style)"
   3167     break
   3168   fi
   3169 done
   3170 rm -f confinc.* confmf.*
   3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3172 printf "%s\n" "${_am_result}" >&6; }
   3173 
   3174 # Check whether --enable-dependency-tracking was given.
   3175 if test ${enable_dependency_tracking+y}
   3176 then :
   3177   enableval=$enable_dependency_tracking;
   3178 fi
   3179 
   3180 if test "x$enable_dependency_tracking" != xno; then
   3181   am_depcomp="$ac_aux_dir/depcomp"
   3182   AMDEPBACKSLASH='\'
   3183   am__nodep='_no'
   3184 fi
   3185  if test "x$enable_dependency_tracking" != xno; then
   3186   AMDEP_TRUE=
   3187   AMDEP_FALSE='#'
   3188 else
   3189   AMDEP_TRUE='#'
   3190   AMDEP_FALSE=
   3191 fi
   3192 
   3193 
   3194 ac_ext=c
   3195 ac_cpp='$CPP $CPPFLAGS'
   3196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3199 if test -n "$ac_tool_prefix"; then
   3200   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3201 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3203 printf %s "checking for $ac_word... " >&6; }
   3204 if test ${ac_cv_prog_CC+y}
   3205 then :
   3206   printf %s "(cached) " >&6
   3207 else $as_nop
   3208   if test -n "$CC"; then
   3209   ac_cv_prog_CC="$CC" # Let the user override the test.
   3210 else
   3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3212 for as_dir in $PATH
   3213 do
   3214   IFS=$as_save_IFS
   3215   case $as_dir in #(((
   3216     '') as_dir=./ ;;
   3217     */) ;;
   3218     *) as_dir=$as_dir/ ;;
   3219   esac
   3220     for ac_exec_ext in '' $ac_executable_extensions; do
   3221   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3222     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3223     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3224     break 2
   3225   fi
   3226 done
   3227   done
   3228 IFS=$as_save_IFS
   3229 
   3230 fi
   3231 fi
   3232 CC=$ac_cv_prog_CC
   3233 if test -n "$CC"; then
   3234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3235 printf "%s\n" "$CC" >&6; }
   3236 else
   3237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3238 printf "%s\n" "no" >&6; }
   3239 fi
   3240 
   3241 
   3242 fi
   3243 if test -z "$ac_cv_prog_CC"; then
   3244   ac_ct_CC=$CC
   3245   # Extract the first word of "gcc", so it can be a program name with args.
   3246 set dummy gcc; ac_word=$2
   3247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3248 printf %s "checking for $ac_word... " >&6; }
   3249 if test ${ac_cv_prog_ac_ct_CC+y}
   3250 then :
   3251   printf %s "(cached) " >&6
   3252 else $as_nop
   3253   if test -n "$ac_ct_CC"; then
   3254   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3255 else
   3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3257 for as_dir in $PATH
   3258 do
   3259   IFS=$as_save_IFS
   3260   case $as_dir in #(((
   3261     '') as_dir=./ ;;
   3262     */) ;;
   3263     *) as_dir=$as_dir/ ;;
   3264   esac
   3265     for ac_exec_ext in '' $ac_executable_extensions; do
   3266   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3267     ac_cv_prog_ac_ct_CC="gcc"
   3268     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3269     break 2
   3270   fi
   3271 done
   3272   done
   3273 IFS=$as_save_IFS
   3274 
   3275 fi
   3276 fi
   3277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3278 if test -n "$ac_ct_CC"; then
   3279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3280 printf "%s\n" "$ac_ct_CC" >&6; }
   3281 else
   3282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3283 printf "%s\n" "no" >&6; }
   3284 fi
   3285 
   3286   if test "x$ac_ct_CC" = x; then
   3287     CC=""
   3288   else
   3289     case $cross_compiling:$ac_tool_warned in
   3290 yes:)
   3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3292 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3293 ac_tool_warned=yes ;;
   3294 esac
   3295     CC=$ac_ct_CC
   3296   fi
   3297 else
   3298   CC="$ac_cv_prog_CC"
   3299 fi
   3300 
   3301 if test -z "$CC"; then
   3302           if test -n "$ac_tool_prefix"; then
   3303     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3304 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3306 printf %s "checking for $ac_word... " >&6; }
   3307 if test ${ac_cv_prog_CC+y}
   3308 then :
   3309   printf %s "(cached) " >&6
   3310 else $as_nop
   3311   if test -n "$CC"; then
   3312   ac_cv_prog_CC="$CC" # Let the user override the test.
   3313 else
   3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3315 for as_dir in $PATH
   3316 do
   3317   IFS=$as_save_IFS
   3318   case $as_dir in #(((
   3319     '') as_dir=./ ;;
   3320     */) ;;
   3321     *) as_dir=$as_dir/ ;;
   3322   esac
   3323     for ac_exec_ext in '' $ac_executable_extensions; do
   3324   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3325     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3326     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3327     break 2
   3328   fi
   3329 done
   3330   done
   3331 IFS=$as_save_IFS
   3332 
   3333 fi
   3334 fi
   3335 CC=$ac_cv_prog_CC
   3336 if test -n "$CC"; then
   3337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3338 printf "%s\n" "$CC" >&6; }
   3339 else
   3340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 printf "%s\n" "no" >&6; }
   3342 fi
   3343 
   3344 
   3345   fi
   3346 fi
   3347 if test -z "$CC"; then
   3348   # Extract the first word of "cc", so it can be a program name with args.
   3349 set dummy cc; ac_word=$2
   3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3351 printf %s "checking for $ac_word... " >&6; }
   3352 if test ${ac_cv_prog_CC+y}
   3353 then :
   3354   printf %s "(cached) " >&6
   3355 else $as_nop
   3356   if test -n "$CC"; then
   3357   ac_cv_prog_CC="$CC" # Let the user override the test.
   3358 else
   3359   ac_prog_rejected=no
   3360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3361 for as_dir in $PATH
   3362 do
   3363   IFS=$as_save_IFS
   3364   case $as_dir in #(((
   3365     '') as_dir=./ ;;
   3366     */) ;;
   3367     *) as_dir=$as_dir/ ;;
   3368   esac
   3369     for ac_exec_ext in '' $ac_executable_extensions; do
   3370   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3371     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3372        ac_prog_rejected=yes
   3373        continue
   3374      fi
   3375     ac_cv_prog_CC="cc"
   3376     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3377     break 2
   3378   fi
   3379 done
   3380   done
   3381 IFS=$as_save_IFS
   3382 
   3383 if test $ac_prog_rejected = yes; then
   3384   # We found a bogon in the path, so make sure we never use it.
   3385   set dummy $ac_cv_prog_CC
   3386   shift
   3387   if test $# != 0; then
   3388     # We chose a different compiler from the bogus one.
   3389     # However, it has the same basename, so the bogon will be chosen
   3390     # first if we set CC to just the basename; use the full file name.
   3391     shift
   3392     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3393   fi
   3394 fi
   3395 fi
   3396 fi
   3397 CC=$ac_cv_prog_CC
   3398 if test -n "$CC"; then
   3399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3400 printf "%s\n" "$CC" >&6; }
   3401 else
   3402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3403 printf "%s\n" "no" >&6; }
   3404 fi
   3405 
   3406 
   3407 fi
   3408 if test -z "$CC"; then
   3409   if test -n "$ac_tool_prefix"; then
   3410   for ac_prog in cl.exe
   3411   do
   3412     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3415 printf %s "checking for $ac_word... " >&6; }
   3416 if test ${ac_cv_prog_CC+y}
   3417 then :
   3418   printf %s "(cached) " >&6
   3419 else $as_nop
   3420   if test -n "$CC"; then
   3421   ac_cv_prog_CC="$CC" # Let the user override the test.
   3422 else
   3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3424 for as_dir in $PATH
   3425 do
   3426   IFS=$as_save_IFS
   3427   case $as_dir in #(((
   3428     '') as_dir=./ ;;
   3429     */) ;;
   3430     *) as_dir=$as_dir/ ;;
   3431   esac
   3432     for ac_exec_ext in '' $ac_executable_extensions; do
   3433   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3434     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3436     break 2
   3437   fi
   3438 done
   3439   done
   3440 IFS=$as_save_IFS
   3441 
   3442 fi
   3443 fi
   3444 CC=$ac_cv_prog_CC
   3445 if test -n "$CC"; then
   3446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3447 printf "%s\n" "$CC" >&6; }
   3448 else
   3449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3450 printf "%s\n" "no" >&6; }
   3451 fi
   3452 
   3453 
   3454     test -n "$CC" && break
   3455   done
   3456 fi
   3457 if test -z "$CC"; then
   3458   ac_ct_CC=$CC
   3459   for ac_prog in cl.exe
   3460 do
   3461   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3462 set dummy $ac_prog; ac_word=$2
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3464 printf %s "checking for $ac_word... " >&6; }
   3465 if test ${ac_cv_prog_ac_ct_CC+y}
   3466 then :
   3467   printf %s "(cached) " >&6
   3468 else $as_nop
   3469   if test -n "$ac_ct_CC"; then
   3470   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3471 else
   3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3473 for as_dir in $PATH
   3474 do
   3475   IFS=$as_save_IFS
   3476   case $as_dir in #(((
   3477     '') as_dir=./ ;;
   3478     */) ;;
   3479     *) as_dir=$as_dir/ ;;
   3480   esac
   3481     for ac_exec_ext in '' $ac_executable_extensions; do
   3482   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3483     ac_cv_prog_ac_ct_CC="$ac_prog"
   3484     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3485     break 2
   3486   fi
   3487 done
   3488   done
   3489 IFS=$as_save_IFS
   3490 
   3491 fi
   3492 fi
   3493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3494 if test -n "$ac_ct_CC"; then
   3495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3496 printf "%s\n" "$ac_ct_CC" >&6; }
   3497 else
   3498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3499 printf "%s\n" "no" >&6; }
   3500 fi
   3501 
   3502 
   3503   test -n "$ac_ct_CC" && break
   3504 done
   3505 
   3506   if test "x$ac_ct_CC" = x; then
   3507     CC=""
   3508   else
   3509     case $cross_compiling:$ac_tool_warned in
   3510 yes:)
   3511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3512 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3513 ac_tool_warned=yes ;;
   3514 esac
   3515     CC=$ac_ct_CC
   3516   fi
   3517 fi
   3518 
   3519 fi
   3520 if test -z "$CC"; then
   3521   if test -n "$ac_tool_prefix"; then
   3522   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3523 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3525 printf %s "checking for $ac_word... " >&6; }
   3526 if test ${ac_cv_prog_CC+y}
   3527 then :
   3528   printf %s "(cached) " >&6
   3529 else $as_nop
   3530   if test -n "$CC"; then
   3531   ac_cv_prog_CC="$CC" # Let the user override the test.
   3532 else
   3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3534 for as_dir in $PATH
   3535 do
   3536   IFS=$as_save_IFS
   3537   case $as_dir in #(((
   3538     '') as_dir=./ ;;
   3539     */) ;;
   3540     *) as_dir=$as_dir/ ;;
   3541   esac
   3542     for ac_exec_ext in '' $ac_executable_extensions; do
   3543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3544     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3546     break 2
   3547   fi
   3548 done
   3549   done
   3550 IFS=$as_save_IFS
   3551 
   3552 fi
   3553 fi
   3554 CC=$ac_cv_prog_CC
   3555 if test -n "$CC"; then
   3556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3557 printf "%s\n" "$CC" >&6; }
   3558 else
   3559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3560 printf "%s\n" "no" >&6; }
   3561 fi
   3562 
   3563 
   3564 fi
   3565 if test -z "$ac_cv_prog_CC"; then
   3566   ac_ct_CC=$CC
   3567   # Extract the first word of "clang", so it can be a program name with args.
   3568 set dummy clang; ac_word=$2
   3569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3570 printf %s "checking for $ac_word... " >&6; }
   3571 if test ${ac_cv_prog_ac_ct_CC+y}
   3572 then :
   3573   printf %s "(cached) " >&6
   3574 else $as_nop
   3575   if test -n "$ac_ct_CC"; then
   3576   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3577 else
   3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3579 for as_dir in $PATH
   3580 do
   3581   IFS=$as_save_IFS
   3582   case $as_dir in #(((
   3583     '') as_dir=./ ;;
   3584     */) ;;
   3585     *) as_dir=$as_dir/ ;;
   3586   esac
   3587     for ac_exec_ext in '' $ac_executable_extensions; do
   3588   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3589     ac_cv_prog_ac_ct_CC="clang"
   3590     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3591     break 2
   3592   fi
   3593 done
   3594   done
   3595 IFS=$as_save_IFS
   3596 
   3597 fi
   3598 fi
   3599 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3600 if test -n "$ac_ct_CC"; then
   3601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3602 printf "%s\n" "$ac_ct_CC" >&6; }
   3603 else
   3604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3605 printf "%s\n" "no" >&6; }
   3606 fi
   3607 
   3608   if test "x$ac_ct_CC" = x; then
   3609     CC=""
   3610   else
   3611     case $cross_compiling:$ac_tool_warned in
   3612 yes:)
   3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3615 ac_tool_warned=yes ;;
   3616 esac
   3617     CC=$ac_ct_CC
   3618   fi
   3619 else
   3620   CC="$ac_cv_prog_CC"
   3621 fi
   3622 
   3623 fi
   3624 
   3625 
   3626 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3627 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3628 as_fn_error $? "no acceptable C compiler found in \$PATH
   3629 See \`config.log' for more details" "$LINENO" 5; }
   3630 
   3631 # Provide some information about the compiler.
   3632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3633 set X $ac_compile
   3634 ac_compiler=$2
   3635 for ac_option in --version -v -V -qversion -version; do
   3636   { { ac_try="$ac_compiler $ac_option >&5"
   3637 case "(($ac_try" in
   3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3639   *) ac_try_echo=$ac_try;;
   3640 esac
   3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3642 printf "%s\n" "$ac_try_echo"; } >&5
   3643   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3644   ac_status=$?
   3645   if test -s conftest.err; then
   3646     sed '10a\
   3647 ... rest of stderr output deleted ...
   3648          10q' conftest.err >conftest.er1
   3649     cat conftest.er1 >&5
   3650   fi
   3651   rm -f conftest.er1 conftest.err
   3652   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3653   test $ac_status = 0; }
   3654 done
   3655 
   3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3657 /* end confdefs.h.  */
   3658 
   3659 int
   3660 main (void)
   3661 {
   3662 
   3663   ;
   3664   return 0;
   3665 }
   3666 _ACEOF
   3667 ac_clean_files_save=$ac_clean_files
   3668 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3669 # Try to create an executable without -o first, disregard a.out.
   3670 # It will help us diagnose broken compilers, and finding out an intuition
   3671 # of exeext.
   3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3673 printf %s "checking whether the C compiler works... " >&6; }
   3674 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3675 
   3676 # The possible output files:
   3677 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3678 
   3679 ac_rmfiles=
   3680 for ac_file in $ac_files
   3681 do
   3682   case $ac_file in
   3683     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3684     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3685   esac
   3686 done
   3687 rm -f $ac_rmfiles
   3688 
   3689 if { { ac_try="$ac_link_default"
   3690 case "(($ac_try" in
   3691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3692   *) ac_try_echo=$ac_try;;
   3693 esac
   3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3695 printf "%s\n" "$ac_try_echo"; } >&5
   3696   (eval "$ac_link_default") 2>&5
   3697   ac_status=$?
   3698   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3699   test $ac_status = 0; }
   3700 then :
   3701   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3702 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3703 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3704 # so that the user can short-circuit this test for compilers unknown to
   3705 # Autoconf.
   3706 for ac_file in $ac_files ''
   3707 do
   3708   test -f "$ac_file" || continue
   3709   case $ac_file in
   3710     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3711 	;;
   3712     [ab].out )
   3713 	# We found the default executable, but exeext='' is most
   3714 	# certainly right.
   3715 	break;;
   3716     *.* )
   3717 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3718 	then :; else
   3719 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3720 	fi
   3721 	# We set ac_cv_exeext here because the later test for it is not
   3722 	# safe: cross compilers may not add the suffix if given an `-o'
   3723 	# argument, so we may need to know it at that point already.
   3724 	# Even if this section looks crufty: it has the advantage of
   3725 	# actually working.
   3726 	break;;
   3727     * )
   3728 	break;;
   3729   esac
   3730 done
   3731 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3732 
   3733 else $as_nop
   3734   ac_file=''
   3735 fi
   3736 if test -z "$ac_file"
   3737 then :
   3738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3739 printf "%s\n" "no" >&6; }
   3740 printf "%s\n" "$as_me: failed program was:" >&5
   3741 sed 's/^/| /' conftest.$ac_ext >&5
   3742 
   3743 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3744 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3745 as_fn_error 77 "C compiler cannot create executables
   3746 See \`config.log' for more details" "$LINENO" 5; }
   3747 else $as_nop
   3748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3749 printf "%s\n" "yes" >&6; }
   3750 fi
   3751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3752 printf %s "checking for C compiler default output file name... " >&6; }
   3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3754 printf "%s\n" "$ac_file" >&6; }
   3755 ac_exeext=$ac_cv_exeext
   3756 
   3757 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3758 ac_clean_files=$ac_clean_files_save
   3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3760 printf %s "checking for suffix of executables... " >&6; }
   3761 if { { ac_try="$ac_link"
   3762 case "(($ac_try" in
   3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3764   *) ac_try_echo=$ac_try;;
   3765 esac
   3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3767 printf "%s\n" "$ac_try_echo"; } >&5
   3768   (eval "$ac_link") 2>&5
   3769   ac_status=$?
   3770   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3771   test $ac_status = 0; }
   3772 then :
   3773   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3774 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3775 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3776 # `rm'.
   3777 for ac_file in conftest.exe conftest conftest.*; do
   3778   test -f "$ac_file" || continue
   3779   case $ac_file in
   3780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3781     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3782 	  break;;
   3783     * ) break;;
   3784   esac
   3785 done
   3786 else $as_nop
   3787   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3788 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3790 See \`config.log' for more details" "$LINENO" 5; }
   3791 fi
   3792 rm -f conftest conftest$ac_cv_exeext
   3793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3794 printf "%s\n" "$ac_cv_exeext" >&6; }
   3795 
   3796 rm -f conftest.$ac_ext
   3797 EXEEXT=$ac_cv_exeext
   3798 ac_exeext=$EXEEXT
   3799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3800 /* end confdefs.h.  */
   3801 #include <stdio.h>
   3802 int
   3803 main (void)
   3804 {
   3805 FILE *f = fopen ("conftest.out", "w");
   3806  return ferror (f) || fclose (f) != 0;
   3807 
   3808   ;
   3809   return 0;
   3810 }
   3811 _ACEOF
   3812 ac_clean_files="$ac_clean_files conftest.out"
   3813 # Check that the compiler produces executables we can run.  If not, either
   3814 # the compiler is broken, or we cross compile.
   3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3816 printf %s "checking whether we are cross compiling... " >&6; }
   3817 if test "$cross_compiling" != yes; then
   3818   { { ac_try="$ac_link"
   3819 case "(($ac_try" in
   3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3821   *) ac_try_echo=$ac_try;;
   3822 esac
   3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3824 printf "%s\n" "$ac_try_echo"; } >&5
   3825   (eval "$ac_link") 2>&5
   3826   ac_status=$?
   3827   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3828   test $ac_status = 0; }
   3829   if { ac_try='./conftest$ac_cv_exeext'
   3830   { { case "(($ac_try" in
   3831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3832   *) ac_try_echo=$ac_try;;
   3833 esac
   3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3835 printf "%s\n" "$ac_try_echo"; } >&5
   3836   (eval "$ac_try") 2>&5
   3837   ac_status=$?
   3838   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3839   test $ac_status = 0; }; }; then
   3840     cross_compiling=no
   3841   else
   3842     if test "$cross_compiling" = maybe; then
   3843 	cross_compiling=yes
   3844     else
   3845 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3846 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3847 as_fn_error 77 "cannot run C compiled programs.
   3848 If you meant to cross compile, use \`--host'.
   3849 See \`config.log' for more details" "$LINENO" 5; }
   3850     fi
   3851   fi
   3852 fi
   3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3854 printf "%s\n" "$cross_compiling" >&6; }
   3855 
   3856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3857 ac_clean_files=$ac_clean_files_save
   3858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3859 printf %s "checking for suffix of object files... " >&6; }
   3860 if test ${ac_cv_objext+y}
   3861 then :
   3862   printf %s "(cached) " >&6
   3863 else $as_nop
   3864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3865 /* end confdefs.h.  */
   3866 
   3867 int
   3868 main (void)
   3869 {
   3870 
   3871   ;
   3872   return 0;
   3873 }
   3874 _ACEOF
   3875 rm -f conftest.o conftest.obj
   3876 if { { ac_try="$ac_compile"
   3877 case "(($ac_try" in
   3878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3879   *) ac_try_echo=$ac_try;;
   3880 esac
   3881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3882 printf "%s\n" "$ac_try_echo"; } >&5
   3883   (eval "$ac_compile") 2>&5
   3884   ac_status=$?
   3885   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3886   test $ac_status = 0; }
   3887 then :
   3888   for ac_file in conftest.o conftest.obj conftest.*; do
   3889   test -f "$ac_file" || continue;
   3890   case $ac_file in
   3891     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3892     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3893        break;;
   3894   esac
   3895 done
   3896 else $as_nop
   3897   printf "%s\n" "$as_me: failed program was:" >&5
   3898 sed 's/^/| /' conftest.$ac_ext >&5
   3899 
   3900 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3901 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3902 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3903 See \`config.log' for more details" "$LINENO" 5; }
   3904 fi
   3905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3906 fi
   3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3908 printf "%s\n" "$ac_cv_objext" >&6; }
   3909 OBJEXT=$ac_cv_objext
   3910 ac_objext=$OBJEXT
   3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3912 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3913 if test ${ac_cv_c_compiler_gnu+y}
   3914 then :
   3915   printf %s "(cached) " >&6
   3916 else $as_nop
   3917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3918 /* end confdefs.h.  */
   3919 
   3920 int
   3921 main (void)
   3922 {
   3923 #ifndef __GNUC__
   3924        choke me
   3925 #endif
   3926 
   3927   ;
   3928   return 0;
   3929 }
   3930 _ACEOF
   3931 if ac_fn_c_try_compile "$LINENO"
   3932 then :
   3933   ac_compiler_gnu=yes
   3934 else $as_nop
   3935   ac_compiler_gnu=no
   3936 fi
   3937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3939 
   3940 fi
   3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3942 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3944 
   3945 if test $ac_compiler_gnu = yes; then
   3946   GCC=yes
   3947 else
   3948   GCC=
   3949 fi
   3950 ac_test_CFLAGS=${CFLAGS+y}
   3951 ac_save_CFLAGS=$CFLAGS
   3952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3953 printf %s "checking whether $CC accepts -g... " >&6; }
   3954 if test ${ac_cv_prog_cc_g+y}
   3955 then :
   3956   printf %s "(cached) " >&6
   3957 else $as_nop
   3958   ac_save_c_werror_flag=$ac_c_werror_flag
   3959    ac_c_werror_flag=yes
   3960    ac_cv_prog_cc_g=no
   3961    CFLAGS="-g"
   3962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3963 /* end confdefs.h.  */
   3964 
   3965 int
   3966 main (void)
   3967 {
   3968 
   3969   ;
   3970   return 0;
   3971 }
   3972 _ACEOF
   3973 if ac_fn_c_try_compile "$LINENO"
   3974 then :
   3975   ac_cv_prog_cc_g=yes
   3976 else $as_nop
   3977   CFLAGS=""
   3978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3979 /* end confdefs.h.  */
   3980 
   3981 int
   3982 main (void)
   3983 {
   3984 
   3985   ;
   3986   return 0;
   3987 }
   3988 _ACEOF
   3989 if ac_fn_c_try_compile "$LINENO"
   3990 then :
   3991 
   3992 else $as_nop
   3993   ac_c_werror_flag=$ac_save_c_werror_flag
   3994 	 CFLAGS="-g"
   3995 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3996 /* end confdefs.h.  */
   3997 
   3998 int
   3999 main (void)
   4000 {
   4001 
   4002   ;
   4003   return 0;
   4004 }
   4005 _ACEOF
   4006 if ac_fn_c_try_compile "$LINENO"
   4007 then :
   4008   ac_cv_prog_cc_g=yes
   4009 fi
   4010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4011 fi
   4012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4013 fi
   4014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4015    ac_c_werror_flag=$ac_save_c_werror_flag
   4016 fi
   4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4018 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4019 if test $ac_test_CFLAGS; then
   4020   CFLAGS=$ac_save_CFLAGS
   4021 elif test $ac_cv_prog_cc_g = yes; then
   4022   if test "$GCC" = yes; then
   4023     CFLAGS="-g -O2"
   4024   else
   4025     CFLAGS="-g"
   4026   fi
   4027 else
   4028   if test "$GCC" = yes; then
   4029     CFLAGS="-O2"
   4030   else
   4031     CFLAGS=
   4032   fi
   4033 fi
   4034 ac_prog_cc_stdc=no
   4035 if test x$ac_prog_cc_stdc = xno
   4036 then :
   4037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4038 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4039 if test ${ac_cv_prog_cc_c11+y}
   4040 then :
   4041   printf %s "(cached) " >&6
   4042 else $as_nop
   4043   ac_cv_prog_cc_c11=no
   4044 ac_save_CC=$CC
   4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4046 /* end confdefs.h.  */
   4047 $ac_c_conftest_c11_program
   4048 _ACEOF
   4049 for ac_arg in '' -std=gnu11
   4050 do
   4051   CC="$ac_save_CC $ac_arg"
   4052   if ac_fn_c_try_compile "$LINENO"
   4053 then :
   4054   ac_cv_prog_cc_c11=$ac_arg
   4055 fi
   4056 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4057   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4058 done
   4059 rm -f conftest.$ac_ext
   4060 CC=$ac_save_CC
   4061 fi
   4062 
   4063 if test "x$ac_cv_prog_cc_c11" = xno
   4064 then :
   4065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4066 printf "%s\n" "unsupported" >&6; }
   4067 else $as_nop
   4068   if test "x$ac_cv_prog_cc_c11" = x
   4069 then :
   4070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4071 printf "%s\n" "none needed" >&6; }
   4072 else $as_nop
   4073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4074 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4075      CC="$CC $ac_cv_prog_cc_c11"
   4076 fi
   4077   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4078   ac_prog_cc_stdc=c11
   4079 fi
   4080 fi
   4081 if test x$ac_prog_cc_stdc = xno
   4082 then :
   4083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4084 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4085 if test ${ac_cv_prog_cc_c99+y}
   4086 then :
   4087   printf %s "(cached) " >&6
   4088 else $as_nop
   4089   ac_cv_prog_cc_c99=no
   4090 ac_save_CC=$CC
   4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4092 /* end confdefs.h.  */
   4093 $ac_c_conftest_c99_program
   4094 _ACEOF
   4095 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4096 do
   4097   CC="$ac_save_CC $ac_arg"
   4098   if ac_fn_c_try_compile "$LINENO"
   4099 then :
   4100   ac_cv_prog_cc_c99=$ac_arg
   4101 fi
   4102 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4103   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4104 done
   4105 rm -f conftest.$ac_ext
   4106 CC=$ac_save_CC
   4107 fi
   4108 
   4109 if test "x$ac_cv_prog_cc_c99" = xno
   4110 then :
   4111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4112 printf "%s\n" "unsupported" >&6; }
   4113 else $as_nop
   4114   if test "x$ac_cv_prog_cc_c99" = x
   4115 then :
   4116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4117 printf "%s\n" "none needed" >&6; }
   4118 else $as_nop
   4119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4120 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4121      CC="$CC $ac_cv_prog_cc_c99"
   4122 fi
   4123   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4124   ac_prog_cc_stdc=c99
   4125 fi
   4126 fi
   4127 if test x$ac_prog_cc_stdc = xno
   4128 then :
   4129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4130 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4131 if test ${ac_cv_prog_cc_c89+y}
   4132 then :
   4133   printf %s "(cached) " >&6
   4134 else $as_nop
   4135   ac_cv_prog_cc_c89=no
   4136 ac_save_CC=$CC
   4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4138 /* end confdefs.h.  */
   4139 $ac_c_conftest_c89_program
   4140 _ACEOF
   4141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4142 do
   4143   CC="$ac_save_CC $ac_arg"
   4144   if ac_fn_c_try_compile "$LINENO"
   4145 then :
   4146   ac_cv_prog_cc_c89=$ac_arg
   4147 fi
   4148 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4149   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4150 done
   4151 rm -f conftest.$ac_ext
   4152 CC=$ac_save_CC
   4153 fi
   4154 
   4155 if test "x$ac_cv_prog_cc_c89" = xno
   4156 then :
   4157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4158 printf "%s\n" "unsupported" >&6; }
   4159 else $as_nop
   4160   if test "x$ac_cv_prog_cc_c89" = x
   4161 then :
   4162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4163 printf "%s\n" "none needed" >&6; }
   4164 else $as_nop
   4165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4166 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4167      CC="$CC $ac_cv_prog_cc_c89"
   4168 fi
   4169   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4170   ac_prog_cc_stdc=c89
   4171 fi
   4172 fi
   4173 
   4174 ac_ext=c
   4175 ac_cpp='$CPP $CPPFLAGS'
   4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4179 
   4180 
   4181   ac_ext=c
   4182 ac_cpp='$CPP $CPPFLAGS'
   4183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4187 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4188 if test ${am_cv_prog_cc_c_o+y}
   4189 then :
   4190   printf %s "(cached) " >&6
   4191 else $as_nop
   4192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4193 /* end confdefs.h.  */
   4194 
   4195 int
   4196 main (void)
   4197 {
   4198 
   4199   ;
   4200   return 0;
   4201 }
   4202 _ACEOF
   4203   # Make sure it works both with $CC and with simple cc.
   4204   # Following AC_PROG_CC_C_O, we do the test twice because some
   4205   # compilers refuse to overwrite an existing .o file with -o,
   4206   # though they will create one.
   4207   am_cv_prog_cc_c_o=yes
   4208   for am_i in 1 2; do
   4209     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4210    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4211    ac_status=$?
   4212    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4213    (exit $ac_status); } \
   4214          && test -f conftest2.$ac_objext; then
   4215       : OK
   4216     else
   4217       am_cv_prog_cc_c_o=no
   4218       break
   4219     fi
   4220   done
   4221   rm -f core conftest*
   4222   unset am_i
   4223 fi
   4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4225 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4226 if test "$am_cv_prog_cc_c_o" != yes; then
   4227    # Losing compiler, so override with the script.
   4228    # FIXME: It is wrong to rewrite CC.
   4229    # But if we don't then we get into trouble of one sort or another.
   4230    # A longer-term fix would be to have automake use am__CC in this case,
   4231    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4232    CC="$am_aux_dir/compile $CC"
   4233 fi
   4234 ac_ext=c
   4235 ac_cpp='$CPP $CPPFLAGS'
   4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4239 
   4240 
   4241 depcc="$CC"   am_compiler_list=
   4242 
   4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4244 printf %s "checking dependency style of $depcc... " >&6; }
   4245 if test ${am_cv_CC_dependencies_compiler_type+y}
   4246 then :
   4247   printf %s "(cached) " >&6
   4248 else $as_nop
   4249   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4250   # We make a subdir and do the tests there.  Otherwise we can end up
   4251   # making bogus files that we don't know about and never remove.  For
   4252   # instance it was reported that on HP-UX the gcc test will end up
   4253   # making a dummy file named 'D' -- because '-MD' means "put the output
   4254   # in D".
   4255   rm -rf conftest.dir
   4256   mkdir conftest.dir
   4257   # Copy depcomp to subdir because otherwise we won't find it if we're
   4258   # using a relative directory.
   4259   cp "$am_depcomp" conftest.dir
   4260   cd conftest.dir
   4261   # We will build objects and dependencies in a subdirectory because
   4262   # it helps to detect inapplicable dependency modes.  For instance
   4263   # both Tru64's cc and ICC support -MD to output dependencies as a
   4264   # side effect of compilation, but ICC will put the dependencies in
   4265   # the current directory while Tru64 will put them in the object
   4266   # directory.
   4267   mkdir sub
   4268 
   4269   am_cv_CC_dependencies_compiler_type=none
   4270   if test "$am_compiler_list" = ""; then
   4271      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4272   fi
   4273   am__universal=false
   4274   case " $depcc " in #(
   4275      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4276      esac
   4277 
   4278   for depmode in $am_compiler_list; do
   4279     # Setup a source with many dependencies, because some compilers
   4280     # like to wrap large dependency lists on column 80 (with \), and
   4281     # we should not choose a depcomp mode which is confused by this.
   4282     #
   4283     # We need to recreate these files for each test, as the compiler may
   4284     # overwrite some of them when testing with obscure command lines.
   4285     # This happens at least with the AIX C compiler.
   4286     : > sub/conftest.c
   4287     for i in 1 2 3 4 5 6; do
   4288       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4289       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4290       # Solaris 10 /bin/sh.
   4291       echo '/* dummy */' > sub/conftst$i.h
   4292     done
   4293     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4294 
   4295     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4296     # mode.  It turns out that the SunPro C++ compiler does not properly
   4297     # handle '-M -o', and we need to detect this.  Also, some Intel
   4298     # versions had trouble with output in subdirs.
   4299     am__obj=sub/conftest.${OBJEXT-o}
   4300     am__minus_obj="-o $am__obj"
   4301     case $depmode in
   4302     gcc)
   4303       # This depmode causes a compiler race in universal mode.
   4304       test "$am__universal" = false || continue
   4305       ;;
   4306     nosideeffect)
   4307       # After this tag, mechanisms are not by side-effect, so they'll
   4308       # only be used when explicitly requested.
   4309       if test "x$enable_dependency_tracking" = xyes; then
   4310 	continue
   4311       else
   4312 	break
   4313       fi
   4314       ;;
   4315     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4316       # This compiler won't grok '-c -o', but also, the minuso test has
   4317       # not run yet.  These depmodes are late enough in the game, and
   4318       # so weak that their functioning should not be impacted.
   4319       am__obj=conftest.${OBJEXT-o}
   4320       am__minus_obj=
   4321       ;;
   4322     none) break ;;
   4323     esac
   4324     if depmode=$depmode \
   4325        source=sub/conftest.c object=$am__obj \
   4326        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4327        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4328          >/dev/null 2>conftest.err &&
   4329        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4330        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4331        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4332        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4333       # icc doesn't choke on unknown options, it will just issue warnings
   4334       # or remarks (even with -Werror).  So we grep stderr for any message
   4335       # that says an option was ignored or not supported.
   4336       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4337       #   icc: Command line warning: ignoring option '-M'; no argument required
   4338       # The diagnosis changed in icc 8.0:
   4339       #   icc: Command line remark: option '-MP' not supported
   4340       if (grep 'ignoring option' conftest.err ||
   4341           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4342         am_cv_CC_dependencies_compiler_type=$depmode
   4343         break
   4344       fi
   4345     fi
   4346   done
   4347 
   4348   cd ..
   4349   rm -rf conftest.dir
   4350 else
   4351   am_cv_CC_dependencies_compiler_type=none
   4352 fi
   4353 
   4354 fi
   4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4356 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4357 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4358 
   4359  if
   4360   test "x$enable_dependency_tracking" != xno \
   4361   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4362   am__fastdepCC_TRUE=
   4363   am__fastdepCC_FALSE='#'
   4364 else
   4365   am__fastdepCC_TRUE='#'
   4366   am__fastdepCC_FALSE=
   4367 fi
   4368 
   4369 
   4370 
   4371 
   4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4373 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4374 if test ${ac_cv_c_undeclared_builtin_options+y}
   4375 then :
   4376   printf %s "(cached) " >&6
   4377 else $as_nop
   4378   ac_save_CFLAGS=$CFLAGS
   4379    ac_cv_c_undeclared_builtin_options='cannot detect'
   4380    for ac_arg in '' -fno-builtin; do
   4381      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4382      # This test program should *not* compile successfully.
   4383      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4384 /* end confdefs.h.  */
   4385 
   4386 int
   4387 main (void)
   4388 {
   4389 (void) strchr;
   4390   ;
   4391   return 0;
   4392 }
   4393 _ACEOF
   4394 if ac_fn_c_try_compile "$LINENO"
   4395 then :
   4396 
   4397 else $as_nop
   4398   # This test program should compile successfully.
   4399         # No library function is consistently available on
   4400         # freestanding implementations, so test against a dummy
   4401         # declaration.  Include always-available headers on the
   4402         # off chance that they somehow elicit warnings.
   4403         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4404 /* end confdefs.h.  */
   4405 #include <float.h>
   4406 #include <limits.h>
   4407 #include <stdarg.h>
   4408 #include <stddef.h>
   4409 extern void ac_decl (int, char *);
   4410 
   4411 int
   4412 main (void)
   4413 {
   4414 (void) ac_decl (0, (char *) 0);
   4415   (void) ac_decl;
   4416 
   4417   ;
   4418   return 0;
   4419 }
   4420 _ACEOF
   4421 if ac_fn_c_try_compile "$LINENO"
   4422 then :
   4423   if test x"$ac_arg" = x
   4424 then :
   4425   ac_cv_c_undeclared_builtin_options='none needed'
   4426 else $as_nop
   4427   ac_cv_c_undeclared_builtin_options=$ac_arg
   4428 fi
   4429           break
   4430 fi
   4431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4432 fi
   4433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4434     done
   4435     CFLAGS=$ac_save_CFLAGS
   4436 
   4437 fi
   4438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4439 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4440   case $ac_cv_c_undeclared_builtin_options in #(
   4441   'cannot detect') :
   4442     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4443 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4444 as_fn_error $? "cannot make $CC report undeclared builtins
   4445 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4446   'none needed') :
   4447     ac_c_undeclared_builtin_options='' ;; #(
   4448   *) :
   4449     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4450 esac
   4451 
   4452 ac_header= ac_cache=
   4453 for ac_item in $ac_header_c_list
   4454 do
   4455   if test $ac_cache; then
   4456     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4457     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4458       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4459     fi
   4460     ac_header= ac_cache=
   4461   elif test $ac_header; then
   4462     ac_cache=$ac_item
   4463   else
   4464     ac_header=$ac_item
   4465   fi
   4466 done
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4476 then :
   4477 
   4478 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4479 
   4480 fi
   4481 
   4482 
   4483 
   4484 
   4485 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4486 if test "x$ac_cv_have_decl___clang__" = xyes
   4487 then :
   4488   CLANGCC="yes"
   4489 else $as_nop
   4490   CLANGCC="no"
   4491 fi
   4492 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4493 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4494 then :
   4495   INTELCC="yes"
   4496 else $as_nop
   4497   INTELCC="no"
   4498 fi
   4499 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4500 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4501 then :
   4502   SUNCC="yes"
   4503 else $as_nop
   4504   SUNCC="no"
   4505 fi
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4515 	if test -n "$ac_tool_prefix"; then
   4516   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4517 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4519 printf %s "checking for $ac_word... " >&6; }
   4520 if test ${ac_cv_path_PKG_CONFIG+y}
   4521 then :
   4522   printf %s "(cached) " >&6
   4523 else $as_nop
   4524   case $PKG_CONFIG in
   4525   [\\/]* | ?:[\\/]*)
   4526   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4527   ;;
   4528   *)
   4529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4530 for as_dir in $PATH
   4531 do
   4532   IFS=$as_save_IFS
   4533   case $as_dir in #(((
   4534     '') as_dir=./ ;;
   4535     */) ;;
   4536     *) as_dir=$as_dir/ ;;
   4537   esac
   4538     for ac_exec_ext in '' $ac_executable_extensions; do
   4539   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4540     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4541     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4542     break 2
   4543   fi
   4544 done
   4545   done
   4546 IFS=$as_save_IFS
   4547 
   4548   ;;
   4549 esac
   4550 fi
   4551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4552 if test -n "$PKG_CONFIG"; then
   4553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4554 printf "%s\n" "$PKG_CONFIG" >&6; }
   4555 else
   4556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4557 printf "%s\n" "no" >&6; }
   4558 fi
   4559 
   4560 
   4561 fi
   4562 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4563   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4564   # Extract the first word of "pkg-config", so it can be a program name with args.
   4565 set dummy pkg-config; ac_word=$2
   4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4567 printf %s "checking for $ac_word... " >&6; }
   4568 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4569 then :
   4570   printf %s "(cached) " >&6
   4571 else $as_nop
   4572   case $ac_pt_PKG_CONFIG in
   4573   [\\/]* | ?:[\\/]*)
   4574   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4575   ;;
   4576   *)
   4577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4578 for as_dir in $PATH
   4579 do
   4580   IFS=$as_save_IFS
   4581   case $as_dir in #(((
   4582     '') as_dir=./ ;;
   4583     */) ;;
   4584     *) as_dir=$as_dir/ ;;
   4585   esac
   4586     for ac_exec_ext in '' $ac_executable_extensions; do
   4587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4588     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4590     break 2
   4591   fi
   4592 done
   4593   done
   4594 IFS=$as_save_IFS
   4595 
   4596   ;;
   4597 esac
   4598 fi
   4599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4600 if test -n "$ac_pt_PKG_CONFIG"; then
   4601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4602 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4603 else
   4604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4605 printf "%s\n" "no" >&6; }
   4606 fi
   4607 
   4608   if test "x$ac_pt_PKG_CONFIG" = x; then
   4609     PKG_CONFIG=""
   4610   else
   4611     case $cross_compiling:$ac_tool_warned in
   4612 yes:)
   4613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4615 ac_tool_warned=yes ;;
   4616 esac
   4617     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4618   fi
   4619 else
   4620   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4621 fi
   4622 
   4623 fi
   4624 if test -n "$PKG_CONFIG"; then
   4625 	_pkg_min_version=0.9.0
   4626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4627 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4628 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4630 printf "%s\n" "yes" >&6; }
   4631 	else
   4632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4633 printf "%s\n" "no" >&6; }
   4634 		PKG_CONFIG=""
   4635 	fi
   4636 fi
   4637 
   4638 
   4639   # Make sure we can run config.sub.
   4640 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4641   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4642 
   4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4644 printf %s "checking build system type... " >&6; }
   4645 if test ${ac_cv_build+y}
   4646 then :
   4647   printf %s "(cached) " >&6
   4648 else $as_nop
   4649   ac_build_alias=$build_alias
   4650 test "x$ac_build_alias" = x &&
   4651   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4652 test "x$ac_build_alias" = x &&
   4653   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4654 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4655   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4656 
   4657 fi
   4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4659 printf "%s\n" "$ac_cv_build" >&6; }
   4660 case $ac_cv_build in
   4661 *-*-*) ;;
   4662 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4663 esac
   4664 build=$ac_cv_build
   4665 ac_save_IFS=$IFS; IFS='-'
   4666 set x $ac_cv_build
   4667 shift
   4668 build_cpu=$1
   4669 build_vendor=$2
   4670 shift; shift
   4671 # Remember, the first character of IFS is used to create $*,
   4672 # except with old shells:
   4673 build_os=$*
   4674 IFS=$ac_save_IFS
   4675 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4676 
   4677 
   4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4679 printf %s "checking host system type... " >&6; }
   4680 if test ${ac_cv_host+y}
   4681 then :
   4682   printf %s "(cached) " >&6
   4683 else $as_nop
   4684   if test "x$host_alias" = x; then
   4685   ac_cv_host=$ac_cv_build
   4686 else
   4687   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4688     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4689 fi
   4690 
   4691 fi
   4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4693 printf "%s\n" "$ac_cv_host" >&6; }
   4694 case $ac_cv_host in
   4695 *-*-*) ;;
   4696 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4697 esac
   4698 host=$ac_cv_host
   4699 ac_save_IFS=$IFS; IFS='-'
   4700 set x $ac_cv_host
   4701 shift
   4702 host_cpu=$1
   4703 host_vendor=$2
   4704 shift; shift
   4705 # Remember, the first character of IFS is used to create $*,
   4706 # except with old shells:
   4707 host_os=$*
   4708 IFS=$ac_save_IFS
   4709 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4710 
   4711 
   4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4713 printf %s "checking for a sed that does not truncate output... " >&6; }
   4714 if test ${ac_cv_path_SED+y}
   4715 then :
   4716   printf %s "(cached) " >&6
   4717 else $as_nop
   4718             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4719      for ac_i in 1 2 3 4 5 6 7; do
   4720        ac_script="$ac_script$as_nl$ac_script"
   4721      done
   4722      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4723      { ac_script=; unset ac_script;}
   4724      if test -z "$SED"; then
   4725   ac_path_SED_found=false
   4726   # Loop through the user's path and test for each of PROGNAME-LIST
   4727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4728 for as_dir in $PATH
   4729 do
   4730   IFS=$as_save_IFS
   4731   case $as_dir in #(((
   4732     '') as_dir=./ ;;
   4733     */) ;;
   4734     *) as_dir=$as_dir/ ;;
   4735   esac
   4736     for ac_prog in sed gsed
   4737    do
   4738     for ac_exec_ext in '' $ac_executable_extensions; do
   4739       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4740       as_fn_executable_p "$ac_path_SED" || continue
   4741 # Check for GNU ac_path_SED and select it if it is found.
   4742   # Check for GNU $ac_path_SED
   4743 case `"$ac_path_SED" --version 2>&1` in
   4744 *GNU*)
   4745   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4746 *)
   4747   ac_count=0
   4748   printf %s 0123456789 >"conftest.in"
   4749   while :
   4750   do
   4751     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4752     mv "conftest.tmp" "conftest.in"
   4753     cp "conftest.in" "conftest.nl"
   4754     printf "%s\n" '' >> "conftest.nl"
   4755     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4756     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4757     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4758     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4759       # Best one so far, save it but keep looking for a better one
   4760       ac_cv_path_SED="$ac_path_SED"
   4761       ac_path_SED_max=$ac_count
   4762     fi
   4763     # 10*(2^10) chars as input seems more than enough
   4764     test $ac_count -gt 10 && break
   4765   done
   4766   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4767 esac
   4768 
   4769       $ac_path_SED_found && break 3
   4770     done
   4771   done
   4772   done
   4773 IFS=$as_save_IFS
   4774   if test -z "$ac_cv_path_SED"; then
   4775     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4776   fi
   4777 else
   4778   ac_cv_path_SED=$SED
   4779 fi
   4780 
   4781 fi
   4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4783 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4784  SED="$ac_cv_path_SED"
   4785   rm -f conftest.sed
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 # Check whether --enable-selective-werror was given.
   4793 if test ${enable_selective_werror+y}
   4794 then :
   4795   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4796 else $as_nop
   4797   SELECTIVE_WERROR=yes
   4798 fi
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4805 if test "x$SUNCC" = "xyes"; then
   4806     BASE_CFLAGS="-v"
   4807 else
   4808     BASE_CFLAGS=""
   4809 fi
   4810 
   4811 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 xorg_testset_save_CFLAGS="$CFLAGS"
   4826 
   4827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4830 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4831 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4832 then :
   4833   printf %s "(cached) " >&6
   4834 else $as_nop
   4835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4836 /* end confdefs.h.  */
   4837 int i;
   4838 _ACEOF
   4839 if ac_fn_c_try_compile "$LINENO"
   4840 then :
   4841   xorg_cv_cc_flag_unknown_warning_option=yes
   4842 else $as_nop
   4843   xorg_cv_cc_flag_unknown_warning_option=no
   4844 fi
   4845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4846 fi
   4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4848 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4850 	CFLAGS="$xorg_testset_save_CFLAGS"
   4851 fi
   4852 
   4853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4856 	fi
   4857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4858 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4859 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4860 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4861 then :
   4862   printf %s "(cached) " >&6
   4863 else $as_nop
   4864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4865 /* end confdefs.h.  */
   4866 int i;
   4867 _ACEOF
   4868 if ac_fn_c_try_compile "$LINENO"
   4869 then :
   4870   xorg_cv_cc_flag_unused_command_line_argument=yes
   4871 else $as_nop
   4872   xorg_cv_cc_flag_unused_command_line_argument=no
   4873 fi
   4874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4875 fi
   4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4877 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4879 	CFLAGS="$xorg_testset_save_CFLAGS"
   4880 fi
   4881 
   4882 found="no"
   4883 
   4884 	if test $found = "no" ; then
   4885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4887 		fi
   4888 
   4889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4891 		fi
   4892 
   4893 		CFLAGS="$CFLAGS -Wall"
   4894 
   4895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4896 printf %s "checking if $CC supports -Wall... " >&6; }
   4897 		cacheid=xorg_cv_cc_flag__Wall
   4898 		if eval test \${$cacheid+y}
   4899 then :
   4900   printf %s "(cached) " >&6
   4901 else $as_nop
   4902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 int i;
   4905 int
   4906 main (void)
   4907 {
   4908 
   4909   ;
   4910   return 0;
   4911 }
   4912 _ACEOF
   4913 if ac_fn_c_try_link "$LINENO"
   4914 then :
   4915   eval $cacheid=yes
   4916 else $as_nop
   4917   eval $cacheid=no
   4918 fi
   4919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   4920     conftest$ac_exeext conftest.$ac_ext
   4921 fi
   4922 
   4923 
   4924 		CFLAGS="$xorg_testset_save_CFLAGS"
   4925 
   4926 		eval supported=\$$cacheid
   4927 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4928 printf "%s\n" "$supported" >&6; }
   4929 		if test "$supported" = "yes" ; then
   4930 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4931 			found="yes"
   4932 		fi
   4933 	fi
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 xorg_testset_save_CFLAGS="$CFLAGS"
   4950 
   4951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4954 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4955 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4956 then :
   4957   printf %s "(cached) " >&6
   4958 else $as_nop
   4959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4960 /* end confdefs.h.  */
   4961 int i;
   4962 _ACEOF
   4963 if ac_fn_c_try_compile "$LINENO"
   4964 then :
   4965   xorg_cv_cc_flag_unknown_warning_option=yes
   4966 else $as_nop
   4967   xorg_cv_cc_flag_unknown_warning_option=no
   4968 fi
   4969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4970 fi
   4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4972 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4974 	CFLAGS="$xorg_testset_save_CFLAGS"
   4975 fi
   4976 
   4977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4980 	fi
   4981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4983 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4984 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4985 then :
   4986   printf %s "(cached) " >&6
   4987 else $as_nop
   4988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4989 /* end confdefs.h.  */
   4990 int i;
   4991 _ACEOF
   4992 if ac_fn_c_try_compile "$LINENO"
   4993 then :
   4994   xorg_cv_cc_flag_unused_command_line_argument=yes
   4995 else $as_nop
   4996   xorg_cv_cc_flag_unused_command_line_argument=no
   4997 fi
   4998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4999 fi
   5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5001 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5003 	CFLAGS="$xorg_testset_save_CFLAGS"
   5004 fi
   5005 
   5006 found="no"
   5007 
   5008 	if test $found = "no" ; then
   5009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 		fi
   5012 
   5013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5015 		fi
   5016 
   5017 		CFLAGS="$CFLAGS -Wpointer-arith"
   5018 
   5019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5020 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5021 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5022 		if eval test \${$cacheid+y}
   5023 then :
   5024   printf %s "(cached) " >&6
   5025 else $as_nop
   5026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5027 /* end confdefs.h.  */
   5028 int i;
   5029 int
   5030 main (void)
   5031 {
   5032 
   5033   ;
   5034   return 0;
   5035 }
   5036 _ACEOF
   5037 if ac_fn_c_try_link "$LINENO"
   5038 then :
   5039   eval $cacheid=yes
   5040 else $as_nop
   5041   eval $cacheid=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5044     conftest$ac_exeext conftest.$ac_ext
   5045 fi
   5046 
   5047 
   5048 		CFLAGS="$xorg_testset_save_CFLAGS"
   5049 
   5050 		eval supported=\$$cacheid
   5051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5052 printf "%s\n" "$supported" >&6; }
   5053 		if test "$supported" = "yes" ; then
   5054 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5055 			found="yes"
   5056 		fi
   5057 	fi
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 xorg_testset_save_CFLAGS="$CFLAGS"
   5074 
   5075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5080 then :
   5081   printf %s "(cached) " >&6
   5082 else $as_nop
   5083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5084 /* end confdefs.h.  */
   5085 int i;
   5086 _ACEOF
   5087 if ac_fn_c_try_compile "$LINENO"
   5088 then :
   5089   xorg_cv_cc_flag_unknown_warning_option=yes
   5090 else $as_nop
   5091   xorg_cv_cc_flag_unknown_warning_option=no
   5092 fi
   5093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5094 fi
   5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5096 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5098 	CFLAGS="$xorg_testset_save_CFLAGS"
   5099 fi
   5100 
   5101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5104 	fi
   5105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5107 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5108 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5109 then :
   5110   printf %s "(cached) " >&6
   5111 else $as_nop
   5112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5113 /* end confdefs.h.  */
   5114 int i;
   5115 _ACEOF
   5116 if ac_fn_c_try_compile "$LINENO"
   5117 then :
   5118   xorg_cv_cc_flag_unused_command_line_argument=yes
   5119 else $as_nop
   5120   xorg_cv_cc_flag_unused_command_line_argument=no
   5121 fi
   5122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5123 fi
   5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5127 	CFLAGS="$xorg_testset_save_CFLAGS"
   5128 fi
   5129 
   5130 found="no"
   5131 
   5132 	if test $found = "no" ; then
   5133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5135 		fi
   5136 
   5137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5139 		fi
   5140 
   5141 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5142 
   5143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5144 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5145 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5146 		if eval test \${$cacheid+y}
   5147 then :
   5148   printf %s "(cached) " >&6
   5149 else $as_nop
   5150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5151 /* end confdefs.h.  */
   5152 int i;
   5153 int
   5154 main (void)
   5155 {
   5156 
   5157   ;
   5158   return 0;
   5159 }
   5160 _ACEOF
   5161 if ac_fn_c_try_link "$LINENO"
   5162 then :
   5163   eval $cacheid=yes
   5164 else $as_nop
   5165   eval $cacheid=no
   5166 fi
   5167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5168     conftest$ac_exeext conftest.$ac_ext
   5169 fi
   5170 
   5171 
   5172 		CFLAGS="$xorg_testset_save_CFLAGS"
   5173 
   5174 		eval supported=\$$cacheid
   5175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5176 printf "%s\n" "$supported" >&6; }
   5177 		if test "$supported" = "yes" ; then
   5178 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5179 			found="yes"
   5180 		fi
   5181 	fi
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 xorg_testset_save_CFLAGS="$CFLAGS"
   5198 
   5199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5202 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5203 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5204 then :
   5205   printf %s "(cached) " >&6
   5206 else $as_nop
   5207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5208 /* end confdefs.h.  */
   5209 int i;
   5210 _ACEOF
   5211 if ac_fn_c_try_compile "$LINENO"
   5212 then :
   5213   xorg_cv_cc_flag_unknown_warning_option=yes
   5214 else $as_nop
   5215   xorg_cv_cc_flag_unknown_warning_option=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5218 fi
   5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5222 	CFLAGS="$xorg_testset_save_CFLAGS"
   5223 fi
   5224 
   5225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5228 	fi
   5229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5233 then :
   5234   printf %s "(cached) " >&6
   5235 else $as_nop
   5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5237 /* end confdefs.h.  */
   5238 int i;
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"
   5241 then :
   5242   xorg_cv_cc_flag_unused_command_line_argument=yes
   5243 else $as_nop
   5244   xorg_cv_cc_flag_unused_command_line_argument=no
   5245 fi
   5246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5247 fi
   5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5249 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5251 	CFLAGS="$xorg_testset_save_CFLAGS"
   5252 fi
   5253 
   5254 found="no"
   5255 
   5256 	if test $found = "no" ; then
   5257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 		fi
   5260 
   5261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5263 		fi
   5264 
   5265 		CFLAGS="$CFLAGS -Wformat=2"
   5266 
   5267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5268 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5269 		cacheid=xorg_cv_cc_flag__Wformat_2
   5270 		if eval test \${$cacheid+y}
   5271 then :
   5272   printf %s "(cached) " >&6
   5273 else $as_nop
   5274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5275 /* end confdefs.h.  */
   5276 int i;
   5277 int
   5278 main (void)
   5279 {
   5280 
   5281   ;
   5282   return 0;
   5283 }
   5284 _ACEOF
   5285 if ac_fn_c_try_link "$LINENO"
   5286 then :
   5287   eval $cacheid=yes
   5288 else $as_nop
   5289   eval $cacheid=no
   5290 fi
   5291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5292     conftest$ac_exeext conftest.$ac_ext
   5293 fi
   5294 
   5295 
   5296 		CFLAGS="$xorg_testset_save_CFLAGS"
   5297 
   5298 		eval supported=\$$cacheid
   5299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5300 printf "%s\n" "$supported" >&6; }
   5301 		if test "$supported" = "yes" ; then
   5302 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5303 			found="yes"
   5304 		fi
   5305 	fi
   5306 
   5307 	if test $found = "no" ; then
   5308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5310 		fi
   5311 
   5312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5314 		fi
   5315 
   5316 		CFLAGS="$CFLAGS -Wformat"
   5317 
   5318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5319 printf %s "checking if $CC supports -Wformat... " >&6; }
   5320 		cacheid=xorg_cv_cc_flag__Wformat
   5321 		if eval test \${$cacheid+y}
   5322 then :
   5323   printf %s "(cached) " >&6
   5324 else $as_nop
   5325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5326 /* end confdefs.h.  */
   5327 int i;
   5328 int
   5329 main (void)
   5330 {
   5331 
   5332   ;
   5333   return 0;
   5334 }
   5335 _ACEOF
   5336 if ac_fn_c_try_link "$LINENO"
   5337 then :
   5338   eval $cacheid=yes
   5339 else $as_nop
   5340   eval $cacheid=no
   5341 fi
   5342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5343     conftest$ac_exeext conftest.$ac_ext
   5344 fi
   5345 
   5346 
   5347 		CFLAGS="$xorg_testset_save_CFLAGS"
   5348 
   5349 		eval supported=\$$cacheid
   5350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5351 printf "%s\n" "$supported" >&6; }
   5352 		if test "$supported" = "yes" ; then
   5353 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5354 			found="yes"
   5355 		fi
   5356 	fi
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 xorg_testset_save_CFLAGS="$CFLAGS"
   5375 
   5376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5379 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5380 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5381 then :
   5382   printf %s "(cached) " >&6
   5383 else $as_nop
   5384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 int i;
   5387 _ACEOF
   5388 if ac_fn_c_try_compile "$LINENO"
   5389 then :
   5390   xorg_cv_cc_flag_unknown_warning_option=yes
   5391 else $as_nop
   5392   xorg_cv_cc_flag_unknown_warning_option=no
   5393 fi
   5394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5395 fi
   5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5397 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5399 	CFLAGS="$xorg_testset_save_CFLAGS"
   5400 fi
   5401 
   5402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5405 	fi
   5406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5408 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5409 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5410 then :
   5411   printf %s "(cached) " >&6
   5412 else $as_nop
   5413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5414 /* end confdefs.h.  */
   5415 int i;
   5416 _ACEOF
   5417 if ac_fn_c_try_compile "$LINENO"
   5418 then :
   5419   xorg_cv_cc_flag_unused_command_line_argument=yes
   5420 else $as_nop
   5421   xorg_cv_cc_flag_unused_command_line_argument=no
   5422 fi
   5423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5424 fi
   5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5426 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5428 	CFLAGS="$xorg_testset_save_CFLAGS"
   5429 fi
   5430 
   5431 found="no"
   5432 
   5433 	if test $found = "no" ; then
   5434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5436 		fi
   5437 
   5438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5440 		fi
   5441 
   5442 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5443 
   5444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5445 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5446 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5447 		if eval test \${$cacheid+y}
   5448 then :
   5449   printf %s "(cached) " >&6
   5450 else $as_nop
   5451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 int
   5455 main (void)
   5456 {
   5457 
   5458   ;
   5459   return 0;
   5460 }
   5461 _ACEOF
   5462 if ac_fn_c_try_link "$LINENO"
   5463 then :
   5464   eval $cacheid=yes
   5465 else $as_nop
   5466   eval $cacheid=no
   5467 fi
   5468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5469     conftest$ac_exeext conftest.$ac_ext
   5470 fi
   5471 
   5472 
   5473 		CFLAGS="$xorg_testset_save_CFLAGS"
   5474 
   5475 		eval supported=\$$cacheid
   5476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5477 printf "%s\n" "$supported" >&6; }
   5478 		if test "$supported" = "yes" ; then
   5479 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5480 			found="yes"
   5481 		fi
   5482 	fi
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 xorg_testset_save_CFLAGS="$CFLAGS"
   5499 
   5500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5503 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5504 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5505 then :
   5506   printf %s "(cached) " >&6
   5507 else $as_nop
   5508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5509 /* end confdefs.h.  */
   5510 int i;
   5511 _ACEOF
   5512 if ac_fn_c_try_compile "$LINENO"
   5513 then :
   5514   xorg_cv_cc_flag_unknown_warning_option=yes
   5515 else $as_nop
   5516   xorg_cv_cc_flag_unknown_warning_option=no
   5517 fi
   5518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5519 fi
   5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5521 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5523 	CFLAGS="$xorg_testset_save_CFLAGS"
   5524 fi
   5525 
   5526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5529 	fi
   5530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5534 then :
   5535   printf %s "(cached) " >&6
   5536 else $as_nop
   5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5538 /* end confdefs.h.  */
   5539 int i;
   5540 _ACEOF
   5541 if ac_fn_c_try_compile "$LINENO"
   5542 then :
   5543   xorg_cv_cc_flag_unused_command_line_argument=yes
   5544 else $as_nop
   5545   xorg_cv_cc_flag_unused_command_line_argument=no
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5548 fi
   5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5550 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5552 	CFLAGS="$xorg_testset_save_CFLAGS"
   5553 fi
   5554 
   5555 found="no"
   5556 
   5557 	if test $found = "no" ; then
   5558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 		fi
   5561 
   5562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5564 		fi
   5565 
   5566 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5567 
   5568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5569 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5570 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5571 		if eval test \${$cacheid+y}
   5572 then :
   5573   printf %s "(cached) " >&6
   5574 else $as_nop
   5575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5576 /* end confdefs.h.  */
   5577 int i;
   5578 int
   5579 main (void)
   5580 {
   5581 
   5582   ;
   5583   return 0;
   5584 }
   5585 _ACEOF
   5586 if ac_fn_c_try_link "$LINENO"
   5587 then :
   5588   eval $cacheid=yes
   5589 else $as_nop
   5590   eval $cacheid=no
   5591 fi
   5592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5593     conftest$ac_exeext conftest.$ac_ext
   5594 fi
   5595 
   5596 
   5597 		CFLAGS="$xorg_testset_save_CFLAGS"
   5598 
   5599 		eval supported=\$$cacheid
   5600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5601 printf "%s\n" "$supported" >&6; }
   5602 		if test "$supported" = "yes" ; then
   5603 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5604 			found="yes"
   5605 		fi
   5606 	fi
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 xorg_testset_save_CFLAGS="$CFLAGS"
   5623 
   5624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5627 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5628 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5629 then :
   5630   printf %s "(cached) " >&6
   5631 else $as_nop
   5632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5633 /* end confdefs.h.  */
   5634 int i;
   5635 _ACEOF
   5636 if ac_fn_c_try_compile "$LINENO"
   5637 then :
   5638   xorg_cv_cc_flag_unknown_warning_option=yes
   5639 else $as_nop
   5640   xorg_cv_cc_flag_unknown_warning_option=no
   5641 fi
   5642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5643 fi
   5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5647 	CFLAGS="$xorg_testset_save_CFLAGS"
   5648 fi
   5649 
   5650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	fi
   5654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5658 then :
   5659   printf %s "(cached) " >&6
   5660 else $as_nop
   5661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 _ACEOF
   5665 if ac_fn_c_try_compile "$LINENO"
   5666 then :
   5667   xorg_cv_cc_flag_unused_command_line_argument=yes
   5668 else $as_nop
   5669   xorg_cv_cc_flag_unused_command_line_argument=no
   5670 fi
   5671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5672 fi
   5673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5674 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5676 	CFLAGS="$xorg_testset_save_CFLAGS"
   5677 fi
   5678 
   5679 found="no"
   5680 
   5681 	if test $found = "no" ; then
   5682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 		fi
   5685 
   5686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5688 		fi
   5689 
   5690 		CFLAGS="$CFLAGS -Wnested-externs"
   5691 
   5692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5693 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5694 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5695 		if eval test \${$cacheid+y}
   5696 then :
   5697   printf %s "(cached) " >&6
   5698 else $as_nop
   5699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5700 /* end confdefs.h.  */
   5701 int i;
   5702 int
   5703 main (void)
   5704 {
   5705 
   5706   ;
   5707   return 0;
   5708 }
   5709 _ACEOF
   5710 if ac_fn_c_try_link "$LINENO"
   5711 then :
   5712   eval $cacheid=yes
   5713 else $as_nop
   5714   eval $cacheid=no
   5715 fi
   5716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5717     conftest$ac_exeext conftest.$ac_ext
   5718 fi
   5719 
   5720 
   5721 		CFLAGS="$xorg_testset_save_CFLAGS"
   5722 
   5723 		eval supported=\$$cacheid
   5724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5725 printf "%s\n" "$supported" >&6; }
   5726 		if test "$supported" = "yes" ; then
   5727 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5728 			found="yes"
   5729 		fi
   5730 	fi
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 xorg_testset_save_CFLAGS="$CFLAGS"
   5747 
   5748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5751 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5752 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5753 then :
   5754   printf %s "(cached) " >&6
   5755 else $as_nop
   5756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5757 /* end confdefs.h.  */
   5758 int i;
   5759 _ACEOF
   5760 if ac_fn_c_try_compile "$LINENO"
   5761 then :
   5762   xorg_cv_cc_flag_unknown_warning_option=yes
   5763 else $as_nop
   5764   xorg_cv_cc_flag_unknown_warning_option=no
   5765 fi
   5766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5767 fi
   5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5769 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5771 	CFLAGS="$xorg_testset_save_CFLAGS"
   5772 fi
   5773 
   5774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5777 	fi
   5778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5780 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5781 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5782 then :
   5783   printf %s "(cached) " >&6
   5784 else $as_nop
   5785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5786 /* end confdefs.h.  */
   5787 int i;
   5788 _ACEOF
   5789 if ac_fn_c_try_compile "$LINENO"
   5790 then :
   5791   xorg_cv_cc_flag_unused_command_line_argument=yes
   5792 else $as_nop
   5793   xorg_cv_cc_flag_unused_command_line_argument=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5796 fi
   5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5798 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5815 
   5816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5817 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5818 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5819 		if eval test \${$cacheid+y}
   5820 then :
   5821   printf %s "(cached) " >&6
   5822 else $as_nop
   5823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 int
   5827 main (void)
   5828 {
   5829 
   5830   ;
   5831   return 0;
   5832 }
   5833 _ACEOF
   5834 if ac_fn_c_try_link "$LINENO"
   5835 then :
   5836   eval $cacheid=yes
   5837 else $as_nop
   5838   eval $cacheid=no
   5839 fi
   5840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5841     conftest$ac_exeext conftest.$ac_ext
   5842 fi
   5843 
   5844 
   5845 		CFLAGS="$xorg_testset_save_CFLAGS"
   5846 
   5847 		eval supported=\$$cacheid
   5848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5849 printf "%s\n" "$supported" >&6; }
   5850 		if test "$supported" = "yes" ; then
   5851 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5852 			found="yes"
   5853 		fi
   5854 	fi
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 xorg_testset_save_CFLAGS="$CFLAGS"
   5871 
   5872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5875 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5876 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5877 then :
   5878   printf %s "(cached) " >&6
   5879 else $as_nop
   5880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5881 /* end confdefs.h.  */
   5882 int i;
   5883 _ACEOF
   5884 if ac_fn_c_try_compile "$LINENO"
   5885 then :
   5886   xorg_cv_cc_flag_unknown_warning_option=yes
   5887 else $as_nop
   5888   xorg_cv_cc_flag_unknown_warning_option=no
   5889 fi
   5890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5891 fi
   5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5895 	CFLAGS="$xorg_testset_save_CFLAGS"
   5896 fi
   5897 
   5898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5901 	fi
   5902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5906 then :
   5907   printf %s "(cached) " >&6
   5908 else $as_nop
   5909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5910 /* end confdefs.h.  */
   5911 int i;
   5912 _ACEOF
   5913 if ac_fn_c_try_compile "$LINENO"
   5914 then :
   5915   xorg_cv_cc_flag_unused_command_line_argument=yes
   5916 else $as_nop
   5917   xorg_cv_cc_flag_unused_command_line_argument=no
   5918 fi
   5919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5920 fi
   5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5922 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5924 	CFLAGS="$xorg_testset_save_CFLAGS"
   5925 fi
   5926 
   5927 found="no"
   5928 
   5929 	if test $found = "no" ; then
   5930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5932 		fi
   5933 
   5934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5936 		fi
   5937 
   5938 		CFLAGS="$CFLAGS -Wold-style-definition"
   5939 
   5940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5941 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   5942 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5943 		if eval test \${$cacheid+y}
   5944 then :
   5945   printf %s "(cached) " >&6
   5946 else $as_nop
   5947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5948 /* end confdefs.h.  */
   5949 int i;
   5950 int
   5951 main (void)
   5952 {
   5953 
   5954   ;
   5955   return 0;
   5956 }
   5957 _ACEOF
   5958 if ac_fn_c_try_link "$LINENO"
   5959 then :
   5960   eval $cacheid=yes
   5961 else $as_nop
   5962   eval $cacheid=no
   5963 fi
   5964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5965     conftest$ac_exeext conftest.$ac_ext
   5966 fi
   5967 
   5968 
   5969 		CFLAGS="$xorg_testset_save_CFLAGS"
   5970 
   5971 		eval supported=\$$cacheid
   5972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5973 printf "%s\n" "$supported" >&6; }
   5974 		if test "$supported" = "yes" ; then
   5975 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5976 			found="yes"
   5977 		fi
   5978 	fi
   5979 
   5980 	if test $found = "no" ; then
   5981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5983 		fi
   5984 
   5985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5987 		fi
   5988 
   5989 		CFLAGS="$CFLAGS -fd"
   5990 
   5991 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5992 printf %s "checking if $CC supports -fd... " >&6; }
   5993 		cacheid=xorg_cv_cc_flag__fd
   5994 		if eval test \${$cacheid+y}
   5995 then :
   5996   printf %s "(cached) " >&6
   5997 else $as_nop
   5998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5999 /* end confdefs.h.  */
   6000 int i;
   6001 int
   6002 main (void)
   6003 {
   6004 
   6005   ;
   6006   return 0;
   6007 }
   6008 _ACEOF
   6009 if ac_fn_c_try_link "$LINENO"
   6010 then :
   6011   eval $cacheid=yes
   6012 else $as_nop
   6013   eval $cacheid=no
   6014 fi
   6015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6016     conftest$ac_exeext conftest.$ac_ext
   6017 fi
   6018 
   6019 
   6020 		CFLAGS="$xorg_testset_save_CFLAGS"
   6021 
   6022 		eval supported=\$$cacheid
   6023 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6024 printf "%s\n" "$supported" >&6; }
   6025 		if test "$supported" = "yes" ; then
   6026 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6027 			found="yes"
   6028 		fi
   6029 	fi
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 xorg_testset_save_CFLAGS="$CFLAGS"
   6046 
   6047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6050 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6051 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6052 then :
   6053   printf %s "(cached) " >&6
   6054 else $as_nop
   6055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6056 /* end confdefs.h.  */
   6057 int i;
   6058 _ACEOF
   6059 if ac_fn_c_try_compile "$LINENO"
   6060 then :
   6061   xorg_cv_cc_flag_unknown_warning_option=yes
   6062 else $as_nop
   6063   xorg_cv_cc_flag_unknown_warning_option=no
   6064 fi
   6065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6066 fi
   6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6070 	CFLAGS="$xorg_testset_save_CFLAGS"
   6071 fi
   6072 
   6073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 	fi
   6077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6081 then :
   6082   printf %s "(cached) " >&6
   6083 else $as_nop
   6084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6085 /* end confdefs.h.  */
   6086 int i;
   6087 _ACEOF
   6088 if ac_fn_c_try_compile "$LINENO"
   6089 then :
   6090   xorg_cv_cc_flag_unused_command_line_argument=yes
   6091 else $as_nop
   6092   xorg_cv_cc_flag_unused_command_line_argument=no
   6093 fi
   6094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6095 fi
   6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6097 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6099 	CFLAGS="$xorg_testset_save_CFLAGS"
   6100 fi
   6101 
   6102 found="no"
   6103 
   6104 	if test $found = "no" ; then
   6105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6107 		fi
   6108 
   6109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6111 		fi
   6112 
   6113 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6114 
   6115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6116 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6117 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6118 		if eval test \${$cacheid+y}
   6119 then :
   6120   printf %s "(cached) " >&6
   6121 else $as_nop
   6122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6123 /* end confdefs.h.  */
   6124 int i;
   6125 int
   6126 main (void)
   6127 {
   6128 
   6129   ;
   6130   return 0;
   6131 }
   6132 _ACEOF
   6133 if ac_fn_c_try_link "$LINENO"
   6134 then :
   6135   eval $cacheid=yes
   6136 else $as_nop
   6137   eval $cacheid=no
   6138 fi
   6139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6140     conftest$ac_exeext conftest.$ac_ext
   6141 fi
   6142 
   6143 
   6144 		CFLAGS="$xorg_testset_save_CFLAGS"
   6145 
   6146 		eval supported=\$$cacheid
   6147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6148 printf "%s\n" "$supported" >&6; }
   6149 		if test "$supported" = "yes" ; then
   6150 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6151 			found="yes"
   6152 		fi
   6153 	fi
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 # This chunk adds additional warnings that could catch undesired effects.
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 xorg_testset_save_CFLAGS="$CFLAGS"
   6174 
   6175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6180 then :
   6181   printf %s "(cached) " >&6
   6182 else $as_nop
   6183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6184 /* end confdefs.h.  */
   6185 int i;
   6186 _ACEOF
   6187 if ac_fn_c_try_compile "$LINENO"
   6188 then :
   6189   xorg_cv_cc_flag_unknown_warning_option=yes
   6190 else $as_nop
   6191   xorg_cv_cc_flag_unknown_warning_option=no
   6192 fi
   6193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6194 fi
   6195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6196 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6198 	CFLAGS="$xorg_testset_save_CFLAGS"
   6199 fi
   6200 
   6201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6204 	fi
   6205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6207 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6208 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6209 then :
   6210   printf %s "(cached) " >&6
   6211 else $as_nop
   6212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6213 /* end confdefs.h.  */
   6214 int i;
   6215 _ACEOF
   6216 if ac_fn_c_try_compile "$LINENO"
   6217 then :
   6218   xorg_cv_cc_flag_unused_command_line_argument=yes
   6219 else $as_nop
   6220   xorg_cv_cc_flag_unused_command_line_argument=no
   6221 fi
   6222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6223 fi
   6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6225 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6226 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6227 	CFLAGS="$xorg_testset_save_CFLAGS"
   6228 fi
   6229 
   6230 found="no"
   6231 
   6232 	if test $found = "no" ; then
   6233 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6234 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6235 		fi
   6236 
   6237 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6238 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6239 		fi
   6240 
   6241 		CFLAGS="$CFLAGS -Wunused"
   6242 
   6243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6244 printf %s "checking if $CC supports -Wunused... " >&6; }
   6245 		cacheid=xorg_cv_cc_flag__Wunused
   6246 		if eval test \${$cacheid+y}
   6247 then :
   6248   printf %s "(cached) " >&6
   6249 else $as_nop
   6250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6251 /* end confdefs.h.  */
   6252 int i;
   6253 int
   6254 main (void)
   6255 {
   6256 
   6257   ;
   6258   return 0;
   6259 }
   6260 _ACEOF
   6261 if ac_fn_c_try_link "$LINENO"
   6262 then :
   6263   eval $cacheid=yes
   6264 else $as_nop
   6265   eval $cacheid=no
   6266 fi
   6267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6268     conftest$ac_exeext conftest.$ac_ext
   6269 fi
   6270 
   6271 
   6272 		CFLAGS="$xorg_testset_save_CFLAGS"
   6273 
   6274 		eval supported=\$$cacheid
   6275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6276 printf "%s\n" "$supported" >&6; }
   6277 		if test "$supported" = "yes" ; then
   6278 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6279 			found="yes"
   6280 		fi
   6281 	fi
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 xorg_testset_save_CFLAGS="$CFLAGS"
   6298 
   6299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6304 then :
   6305   printf %s "(cached) " >&6
   6306 else $as_nop
   6307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6308 /* end confdefs.h.  */
   6309 int i;
   6310 _ACEOF
   6311 if ac_fn_c_try_compile "$LINENO"
   6312 then :
   6313   xorg_cv_cc_flag_unknown_warning_option=yes
   6314 else $as_nop
   6315   xorg_cv_cc_flag_unknown_warning_option=no
   6316 fi
   6317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6318 fi
   6319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6322 	CFLAGS="$xorg_testset_save_CFLAGS"
   6323 fi
   6324 
   6325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6328 	fi
   6329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6333 then :
   6334   printf %s "(cached) " >&6
   6335 else $as_nop
   6336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6337 /* end confdefs.h.  */
   6338 int i;
   6339 _ACEOF
   6340 if ac_fn_c_try_compile "$LINENO"
   6341 then :
   6342   xorg_cv_cc_flag_unused_command_line_argument=yes
   6343 else $as_nop
   6344   xorg_cv_cc_flag_unused_command_line_argument=no
   6345 fi
   6346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6347 fi
   6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6351 	CFLAGS="$xorg_testset_save_CFLAGS"
   6352 fi
   6353 
   6354 found="no"
   6355 
   6356 	if test $found = "no" ; then
   6357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 		fi
   6360 
   6361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6363 		fi
   6364 
   6365 		CFLAGS="$CFLAGS -Wuninitialized"
   6366 
   6367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6368 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6369 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6370 		if eval test \${$cacheid+y}
   6371 then :
   6372   printf %s "(cached) " >&6
   6373 else $as_nop
   6374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6375 /* end confdefs.h.  */
   6376 int i;
   6377 int
   6378 main (void)
   6379 {
   6380 
   6381   ;
   6382   return 0;
   6383 }
   6384 _ACEOF
   6385 if ac_fn_c_try_link "$LINENO"
   6386 then :
   6387   eval $cacheid=yes
   6388 else $as_nop
   6389   eval $cacheid=no
   6390 fi
   6391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6392     conftest$ac_exeext conftest.$ac_ext
   6393 fi
   6394 
   6395 
   6396 		CFLAGS="$xorg_testset_save_CFLAGS"
   6397 
   6398 		eval supported=\$$cacheid
   6399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6400 printf "%s\n" "$supported" >&6; }
   6401 		if test "$supported" = "yes" ; then
   6402 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6403 			found="yes"
   6404 		fi
   6405 	fi
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 xorg_testset_save_CFLAGS="$CFLAGS"
   6422 
   6423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6426 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6427 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6428 then :
   6429   printf %s "(cached) " >&6
   6430 else $as_nop
   6431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6432 /* end confdefs.h.  */
   6433 int i;
   6434 _ACEOF
   6435 if ac_fn_c_try_compile "$LINENO"
   6436 then :
   6437   xorg_cv_cc_flag_unknown_warning_option=yes
   6438 else $as_nop
   6439   xorg_cv_cc_flag_unknown_warning_option=no
   6440 fi
   6441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6442 fi
   6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6446 	CFLAGS="$xorg_testset_save_CFLAGS"
   6447 fi
   6448 
   6449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6452 	fi
   6453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6457 then :
   6458   printf %s "(cached) " >&6
   6459 else $as_nop
   6460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6461 /* end confdefs.h.  */
   6462 int i;
   6463 _ACEOF
   6464 if ac_fn_c_try_compile "$LINENO"
   6465 then :
   6466   xorg_cv_cc_flag_unused_command_line_argument=yes
   6467 else $as_nop
   6468   xorg_cv_cc_flag_unused_command_line_argument=no
   6469 fi
   6470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6471 fi
   6472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6473 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6475 	CFLAGS="$xorg_testset_save_CFLAGS"
   6476 fi
   6477 
   6478 found="no"
   6479 
   6480 	if test $found = "no" ; then
   6481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6483 		fi
   6484 
   6485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6487 		fi
   6488 
   6489 		CFLAGS="$CFLAGS -Wshadow"
   6490 
   6491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6492 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6493 		cacheid=xorg_cv_cc_flag__Wshadow
   6494 		if eval test \${$cacheid+y}
   6495 then :
   6496   printf %s "(cached) " >&6
   6497 else $as_nop
   6498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6499 /* end confdefs.h.  */
   6500 int i;
   6501 int
   6502 main (void)
   6503 {
   6504 
   6505   ;
   6506   return 0;
   6507 }
   6508 _ACEOF
   6509 if ac_fn_c_try_link "$LINENO"
   6510 then :
   6511   eval $cacheid=yes
   6512 else $as_nop
   6513   eval $cacheid=no
   6514 fi
   6515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6516     conftest$ac_exeext conftest.$ac_ext
   6517 fi
   6518 
   6519 
   6520 		CFLAGS="$xorg_testset_save_CFLAGS"
   6521 
   6522 		eval supported=\$$cacheid
   6523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6524 printf "%s\n" "$supported" >&6; }
   6525 		if test "$supported" = "yes" ; then
   6526 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6527 			found="yes"
   6528 		fi
   6529 	fi
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 xorg_testset_save_CFLAGS="$CFLAGS"
   6546 
   6547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6552 then :
   6553   printf %s "(cached) " >&6
   6554 else $as_nop
   6555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6556 /* end confdefs.h.  */
   6557 int i;
   6558 _ACEOF
   6559 if ac_fn_c_try_compile "$LINENO"
   6560 then :
   6561   xorg_cv_cc_flag_unknown_warning_option=yes
   6562 else $as_nop
   6563   xorg_cv_cc_flag_unknown_warning_option=no
   6564 fi
   6565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6566 fi
   6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6568 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6570 	CFLAGS="$xorg_testset_save_CFLAGS"
   6571 fi
   6572 
   6573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 	fi
   6577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6581 then :
   6582   printf %s "(cached) " >&6
   6583 else $as_nop
   6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6585 /* end confdefs.h.  */
   6586 int i;
   6587 _ACEOF
   6588 if ac_fn_c_try_compile "$LINENO"
   6589 then :
   6590   xorg_cv_cc_flag_unused_command_line_argument=yes
   6591 else $as_nop
   6592   xorg_cv_cc_flag_unused_command_line_argument=no
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6595 fi
   6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6597 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6599 	CFLAGS="$xorg_testset_save_CFLAGS"
   6600 fi
   6601 
   6602 found="no"
   6603 
   6604 	if test $found = "no" ; then
   6605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 		fi
   6608 
   6609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6611 		fi
   6612 
   6613 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6614 
   6615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6616 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6617 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6618 		if eval test \${$cacheid+y}
   6619 then :
   6620   printf %s "(cached) " >&6
   6621 else $as_nop
   6622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6623 /* end confdefs.h.  */
   6624 int i;
   6625 int
   6626 main (void)
   6627 {
   6628 
   6629   ;
   6630   return 0;
   6631 }
   6632 _ACEOF
   6633 if ac_fn_c_try_link "$LINENO"
   6634 then :
   6635   eval $cacheid=yes
   6636 else $as_nop
   6637   eval $cacheid=no
   6638 fi
   6639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6640     conftest$ac_exeext conftest.$ac_ext
   6641 fi
   6642 
   6643 
   6644 		CFLAGS="$xorg_testset_save_CFLAGS"
   6645 
   6646 		eval supported=\$$cacheid
   6647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6648 printf "%s\n" "$supported" >&6; }
   6649 		if test "$supported" = "yes" ; then
   6650 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6651 			found="yes"
   6652 		fi
   6653 	fi
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 xorg_testset_save_CFLAGS="$CFLAGS"
   6670 
   6671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6676 then :
   6677   printf %s "(cached) " >&6
   6678 else $as_nop
   6679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6680 /* end confdefs.h.  */
   6681 int i;
   6682 _ACEOF
   6683 if ac_fn_c_try_compile "$LINENO"
   6684 then :
   6685   xorg_cv_cc_flag_unknown_warning_option=yes
   6686 else $as_nop
   6687   xorg_cv_cc_flag_unknown_warning_option=no
   6688 fi
   6689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6690 fi
   6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6694 	CFLAGS="$xorg_testset_save_CFLAGS"
   6695 fi
   6696 
   6697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6700 	fi
   6701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6705 then :
   6706   printf %s "(cached) " >&6
   6707 else $as_nop
   6708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6709 /* end confdefs.h.  */
   6710 int i;
   6711 _ACEOF
   6712 if ac_fn_c_try_compile "$LINENO"
   6713 then :
   6714   xorg_cv_cc_flag_unused_command_line_argument=yes
   6715 else $as_nop
   6716   xorg_cv_cc_flag_unused_command_line_argument=no
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6719 fi
   6720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6723 	CFLAGS="$xorg_testset_save_CFLAGS"
   6724 fi
   6725 
   6726 found="no"
   6727 
   6728 	if test $found = "no" ; then
   6729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6731 		fi
   6732 
   6733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6735 		fi
   6736 
   6737 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6738 
   6739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6740 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6741 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6742 		if eval test \${$cacheid+y}
   6743 then :
   6744   printf %s "(cached) " >&6
   6745 else $as_nop
   6746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6747 /* end confdefs.h.  */
   6748 int i;
   6749 int
   6750 main (void)
   6751 {
   6752 
   6753   ;
   6754   return 0;
   6755 }
   6756 _ACEOF
   6757 if ac_fn_c_try_link "$LINENO"
   6758 then :
   6759   eval $cacheid=yes
   6760 else $as_nop
   6761   eval $cacheid=no
   6762 fi
   6763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6764     conftest$ac_exeext conftest.$ac_ext
   6765 fi
   6766 
   6767 
   6768 		CFLAGS="$xorg_testset_save_CFLAGS"
   6769 
   6770 		eval supported=\$$cacheid
   6771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6772 printf "%s\n" "$supported" >&6; }
   6773 		if test "$supported" = "yes" ; then
   6774 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6775 			found="yes"
   6776 		fi
   6777 	fi
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 xorg_testset_save_CFLAGS="$CFLAGS"
   6794 
   6795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6800 then :
   6801   printf %s "(cached) " >&6
   6802 else $as_nop
   6803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6804 /* end confdefs.h.  */
   6805 int i;
   6806 _ACEOF
   6807 if ac_fn_c_try_compile "$LINENO"
   6808 then :
   6809   xorg_cv_cc_flag_unknown_warning_option=yes
   6810 else $as_nop
   6811   xorg_cv_cc_flag_unknown_warning_option=no
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6814 fi
   6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6816 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6818 	CFLAGS="$xorg_testset_save_CFLAGS"
   6819 fi
   6820 
   6821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 	fi
   6825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6829 then :
   6830   printf %s "(cached) " >&6
   6831 else $as_nop
   6832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6833 /* end confdefs.h.  */
   6834 int i;
   6835 _ACEOF
   6836 if ac_fn_c_try_compile "$LINENO"
   6837 then :
   6838   xorg_cv_cc_flag_unused_command_line_argument=yes
   6839 else $as_nop
   6840   xorg_cv_cc_flag_unused_command_line_argument=no
   6841 fi
   6842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6843 fi
   6844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6845 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6847 	CFLAGS="$xorg_testset_save_CFLAGS"
   6848 fi
   6849 
   6850 found="no"
   6851 
   6852 	if test $found = "no" ; then
   6853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6855 		fi
   6856 
   6857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6859 		fi
   6860 
   6861 		CFLAGS="$CFLAGS -Wredundant-decls"
   6862 
   6863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6864 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6865 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6866 		if eval test \${$cacheid+y}
   6867 then :
   6868   printf %s "(cached) " >&6
   6869 else $as_nop
   6870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6871 /* end confdefs.h.  */
   6872 int i;
   6873 int
   6874 main (void)
   6875 {
   6876 
   6877   ;
   6878   return 0;
   6879 }
   6880 _ACEOF
   6881 if ac_fn_c_try_link "$LINENO"
   6882 then :
   6883   eval $cacheid=yes
   6884 else $as_nop
   6885   eval $cacheid=no
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6888     conftest$ac_exeext conftest.$ac_ext
   6889 fi
   6890 
   6891 
   6892 		CFLAGS="$xorg_testset_save_CFLAGS"
   6893 
   6894 		eval supported=\$$cacheid
   6895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6896 printf "%s\n" "$supported" >&6; }
   6897 		if test "$supported" = "yes" ; then
   6898 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6899 			found="yes"
   6900 		fi
   6901 	fi
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 xorg_testset_save_CFLAGS="$CFLAGS"
   6918 
   6919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6924 then :
   6925   printf %s "(cached) " >&6
   6926 else $as_nop
   6927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6928 /* end confdefs.h.  */
   6929 int i;
   6930 _ACEOF
   6931 if ac_fn_c_try_compile "$LINENO"
   6932 then :
   6933   xorg_cv_cc_flag_unknown_warning_option=yes
   6934 else $as_nop
   6935   xorg_cv_cc_flag_unknown_warning_option=no
   6936 fi
   6937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6938 fi
   6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6940 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6942 	CFLAGS="$xorg_testset_save_CFLAGS"
   6943 fi
   6944 
   6945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6948 	fi
   6949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6951 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6952 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6953 then :
   6954   printf %s "(cached) " >&6
   6955 else $as_nop
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 _ACEOF
   6960 if ac_fn_c_try_compile "$LINENO"
   6961 then :
   6962   xorg_cv_cc_flag_unused_command_line_argument=yes
   6963 else $as_nop
   6964   xorg_cv_cc_flag_unused_command_line_argument=no
   6965 fi
   6966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6967 fi
   6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6971 	CFLAGS="$xorg_testset_save_CFLAGS"
   6972 fi
   6973 
   6974 found="no"
   6975 
   6976 	if test $found = "no" ; then
   6977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6979 		fi
   6980 
   6981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6983 		fi
   6984 
   6985 		CFLAGS="$CFLAGS -Wlogical-op"
   6986 
   6987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6988 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   6989 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6990 		if eval test \${$cacheid+y}
   6991 then :
   6992   printf %s "(cached) " >&6
   6993 else $as_nop
   6994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6995 /* end confdefs.h.  */
   6996 int i;
   6997 int
   6998 main (void)
   6999 {
   7000 
   7001   ;
   7002   return 0;
   7003 }
   7004 _ACEOF
   7005 if ac_fn_c_try_link "$LINENO"
   7006 then :
   7007   eval $cacheid=yes
   7008 else $as_nop
   7009   eval $cacheid=no
   7010 fi
   7011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7012     conftest$ac_exeext conftest.$ac_ext
   7013 fi
   7014 
   7015 
   7016 		CFLAGS="$xorg_testset_save_CFLAGS"
   7017 
   7018 		eval supported=\$$cacheid
   7019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7020 printf "%s\n" "$supported" >&6; }
   7021 		if test "$supported" = "yes" ; then
   7022 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7023 			found="yes"
   7024 		fi
   7025 	fi
   7026 
   7027 
   7028 
   7029 # These are currently disabled because they are noisy.  They will be enabled
   7030 # in the future once the codebase is sufficiently modernized to silence
   7031 # them.  For now, I don't want them to drown out the other warnings.
   7032 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7033 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7034 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7035 
   7036 # Turn some warnings into errors, so we don't accidently get successful builds
   7037 # when there are problems that should be fixed.
   7038 
   7039 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 xorg_testset_save_CFLAGS="$CFLAGS"
   7054 
   7055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7060 then :
   7061   printf %s "(cached) " >&6
   7062 else $as_nop
   7063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7064 /* end confdefs.h.  */
   7065 int i;
   7066 _ACEOF
   7067 if ac_fn_c_try_compile "$LINENO"
   7068 then :
   7069   xorg_cv_cc_flag_unknown_warning_option=yes
   7070 else $as_nop
   7071   xorg_cv_cc_flag_unknown_warning_option=no
   7072 fi
   7073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7074 fi
   7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7076 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7078 	CFLAGS="$xorg_testset_save_CFLAGS"
   7079 fi
   7080 
   7081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7084 	fi
   7085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7087 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7088 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7089 then :
   7090   printf %s "(cached) " >&6
   7091 else $as_nop
   7092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7093 /* end confdefs.h.  */
   7094 int i;
   7095 _ACEOF
   7096 if ac_fn_c_try_compile "$LINENO"
   7097 then :
   7098   xorg_cv_cc_flag_unused_command_line_argument=yes
   7099 else $as_nop
   7100   xorg_cv_cc_flag_unused_command_line_argument=no
   7101 fi
   7102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7103 fi
   7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7105 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7107 	CFLAGS="$xorg_testset_save_CFLAGS"
   7108 fi
   7109 
   7110 found="no"
   7111 
   7112 	if test $found = "no" ; then
   7113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7115 		fi
   7116 
   7117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7119 		fi
   7120 
   7121 		CFLAGS="$CFLAGS -Werror=implicit"
   7122 
   7123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7124 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7125 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7126 		if eval test \${$cacheid+y}
   7127 then :
   7128   printf %s "(cached) " >&6
   7129 else $as_nop
   7130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 int i;
   7133 int
   7134 main (void)
   7135 {
   7136 
   7137   ;
   7138   return 0;
   7139 }
   7140 _ACEOF
   7141 if ac_fn_c_try_link "$LINENO"
   7142 then :
   7143   eval $cacheid=yes
   7144 else $as_nop
   7145   eval $cacheid=no
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7148     conftest$ac_exeext conftest.$ac_ext
   7149 fi
   7150 
   7151 
   7152 		CFLAGS="$xorg_testset_save_CFLAGS"
   7153 
   7154 		eval supported=\$$cacheid
   7155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7156 printf "%s\n" "$supported" >&6; }
   7157 		if test "$supported" = "yes" ; then
   7158 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7159 			found="yes"
   7160 		fi
   7161 	fi
   7162 
   7163 	if test $found = "no" ; then
   7164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 		fi
   7167 
   7168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7170 		fi
   7171 
   7172 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7173 
   7174 		{ 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
   7175 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7176 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7177 		if eval test \${$cacheid+y}
   7178 then :
   7179   printf %s "(cached) " >&6
   7180 else $as_nop
   7181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7182 /* end confdefs.h.  */
   7183 int i;
   7184 int
   7185 main (void)
   7186 {
   7187 
   7188   ;
   7189   return 0;
   7190 }
   7191 _ACEOF
   7192 if ac_fn_c_try_link "$LINENO"
   7193 then :
   7194   eval $cacheid=yes
   7195 else $as_nop
   7196   eval $cacheid=no
   7197 fi
   7198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7199     conftest$ac_exeext conftest.$ac_ext
   7200 fi
   7201 
   7202 
   7203 		CFLAGS="$xorg_testset_save_CFLAGS"
   7204 
   7205 		eval supported=\$$cacheid
   7206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7207 printf "%s\n" "$supported" >&6; }
   7208 		if test "$supported" = "yes" ; then
   7209 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7210 			found="yes"
   7211 		fi
   7212 	fi
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 xorg_testset_save_CFLAGS="$CFLAGS"
   7229 
   7230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7232 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7233 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7234 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7235 then :
   7236   printf %s "(cached) " >&6
   7237 else $as_nop
   7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7239 /* end confdefs.h.  */
   7240 int i;
   7241 _ACEOF
   7242 if ac_fn_c_try_compile "$LINENO"
   7243 then :
   7244   xorg_cv_cc_flag_unknown_warning_option=yes
   7245 else $as_nop
   7246   xorg_cv_cc_flag_unknown_warning_option=no
   7247 fi
   7248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7249 fi
   7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7251 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7253 	CFLAGS="$xorg_testset_save_CFLAGS"
   7254 fi
   7255 
   7256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7259 	fi
   7260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7262 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7263 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7264 then :
   7265   printf %s "(cached) " >&6
   7266 else $as_nop
   7267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7268 /* end confdefs.h.  */
   7269 int i;
   7270 _ACEOF
   7271 if ac_fn_c_try_compile "$LINENO"
   7272 then :
   7273   xorg_cv_cc_flag_unused_command_line_argument=yes
   7274 else $as_nop
   7275   xorg_cv_cc_flag_unused_command_line_argument=no
   7276 fi
   7277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7278 fi
   7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7280 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7282 	CFLAGS="$xorg_testset_save_CFLAGS"
   7283 fi
   7284 
   7285 found="no"
   7286 
   7287 	if test $found = "no" ; then
   7288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7290 		fi
   7291 
   7292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7294 		fi
   7295 
   7296 		CFLAGS="$CFLAGS -Werror=nonnull"
   7297 
   7298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7299 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7300 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7301 		if eval test \${$cacheid+y}
   7302 then :
   7303   printf %s "(cached) " >&6
   7304 else $as_nop
   7305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7306 /* end confdefs.h.  */
   7307 int i;
   7308 int
   7309 main (void)
   7310 {
   7311 
   7312   ;
   7313   return 0;
   7314 }
   7315 _ACEOF
   7316 if ac_fn_c_try_link "$LINENO"
   7317 then :
   7318   eval $cacheid=yes
   7319 else $as_nop
   7320   eval $cacheid=no
   7321 fi
   7322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7323     conftest$ac_exeext conftest.$ac_ext
   7324 fi
   7325 
   7326 
   7327 		CFLAGS="$xorg_testset_save_CFLAGS"
   7328 
   7329 		eval supported=\$$cacheid
   7330 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7331 printf "%s\n" "$supported" >&6; }
   7332 		if test "$supported" = "yes" ; then
   7333 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7334 			found="yes"
   7335 		fi
   7336 	fi
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 xorg_testset_save_CFLAGS="$CFLAGS"
   7353 
   7354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7357 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7358 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7359 then :
   7360   printf %s "(cached) " >&6
   7361 else $as_nop
   7362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7363 /* end confdefs.h.  */
   7364 int i;
   7365 _ACEOF
   7366 if ac_fn_c_try_compile "$LINENO"
   7367 then :
   7368   xorg_cv_cc_flag_unknown_warning_option=yes
   7369 else $as_nop
   7370   xorg_cv_cc_flag_unknown_warning_option=no
   7371 fi
   7372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7373 fi
   7374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7375 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7377 	CFLAGS="$xorg_testset_save_CFLAGS"
   7378 fi
   7379 
   7380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7383 	fi
   7384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7386 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7387 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7388 then :
   7389   printf %s "(cached) " >&6
   7390 else $as_nop
   7391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7392 /* end confdefs.h.  */
   7393 int i;
   7394 _ACEOF
   7395 if ac_fn_c_try_compile "$LINENO"
   7396 then :
   7397   xorg_cv_cc_flag_unused_command_line_argument=yes
   7398 else $as_nop
   7399   xorg_cv_cc_flag_unused_command_line_argument=no
   7400 fi
   7401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7402 fi
   7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7406 	CFLAGS="$xorg_testset_save_CFLAGS"
   7407 fi
   7408 
   7409 found="no"
   7410 
   7411 	if test $found = "no" ; then
   7412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7414 		fi
   7415 
   7416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7418 		fi
   7419 
   7420 		CFLAGS="$CFLAGS -Werror=init-self"
   7421 
   7422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7423 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7424 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7425 		if eval test \${$cacheid+y}
   7426 then :
   7427   printf %s "(cached) " >&6
   7428 else $as_nop
   7429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7430 /* end confdefs.h.  */
   7431 int i;
   7432 int
   7433 main (void)
   7434 {
   7435 
   7436   ;
   7437   return 0;
   7438 }
   7439 _ACEOF
   7440 if ac_fn_c_try_link "$LINENO"
   7441 then :
   7442   eval $cacheid=yes
   7443 else $as_nop
   7444   eval $cacheid=no
   7445 fi
   7446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7447     conftest$ac_exeext conftest.$ac_ext
   7448 fi
   7449 
   7450 
   7451 		CFLAGS="$xorg_testset_save_CFLAGS"
   7452 
   7453 		eval supported=\$$cacheid
   7454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7455 printf "%s\n" "$supported" >&6; }
   7456 		if test "$supported" = "yes" ; then
   7457 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7458 			found="yes"
   7459 		fi
   7460 	fi
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 xorg_testset_save_CFLAGS="$CFLAGS"
   7477 
   7478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7483 then :
   7484   printf %s "(cached) " >&6
   7485 else $as_nop
   7486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7487 /* end confdefs.h.  */
   7488 int i;
   7489 _ACEOF
   7490 if ac_fn_c_try_compile "$LINENO"
   7491 then :
   7492   xorg_cv_cc_flag_unknown_warning_option=yes
   7493 else $as_nop
   7494   xorg_cv_cc_flag_unknown_warning_option=no
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7497 fi
   7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7499 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7501 	CFLAGS="$xorg_testset_save_CFLAGS"
   7502 fi
   7503 
   7504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7507 	fi
   7508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7512 then :
   7513   printf %s "(cached) " >&6
   7514 else $as_nop
   7515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7516 /* end confdefs.h.  */
   7517 int i;
   7518 _ACEOF
   7519 if ac_fn_c_try_compile "$LINENO"
   7520 then :
   7521   xorg_cv_cc_flag_unused_command_line_argument=yes
   7522 else $as_nop
   7523   xorg_cv_cc_flag_unused_command_line_argument=no
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7526 fi
   7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7530 	CFLAGS="$xorg_testset_save_CFLAGS"
   7531 fi
   7532 
   7533 found="no"
   7534 
   7535 	if test $found = "no" ; then
   7536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7538 		fi
   7539 
   7540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7542 		fi
   7543 
   7544 		CFLAGS="$CFLAGS -Werror=main"
   7545 
   7546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7547 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7548 		cacheid=xorg_cv_cc_flag__Werror_main
   7549 		if eval test \${$cacheid+y}
   7550 then :
   7551   printf %s "(cached) " >&6
   7552 else $as_nop
   7553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7554 /* end confdefs.h.  */
   7555 int i;
   7556 int
   7557 main (void)
   7558 {
   7559 
   7560   ;
   7561   return 0;
   7562 }
   7563 _ACEOF
   7564 if ac_fn_c_try_link "$LINENO"
   7565 then :
   7566   eval $cacheid=yes
   7567 else $as_nop
   7568   eval $cacheid=no
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7571     conftest$ac_exeext conftest.$ac_ext
   7572 fi
   7573 
   7574 
   7575 		CFLAGS="$xorg_testset_save_CFLAGS"
   7576 
   7577 		eval supported=\$$cacheid
   7578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7579 printf "%s\n" "$supported" >&6; }
   7580 		if test "$supported" = "yes" ; then
   7581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7582 			found="yes"
   7583 		fi
   7584 	fi
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 xorg_testset_save_CFLAGS="$CFLAGS"
   7601 
   7602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7605 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7606 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7607 then :
   7608   printf %s "(cached) " >&6
   7609 else $as_nop
   7610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7611 /* end confdefs.h.  */
   7612 int i;
   7613 _ACEOF
   7614 if ac_fn_c_try_compile "$LINENO"
   7615 then :
   7616   xorg_cv_cc_flag_unknown_warning_option=yes
   7617 else $as_nop
   7618   xorg_cv_cc_flag_unknown_warning_option=no
   7619 fi
   7620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7621 fi
   7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7623 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7625 	CFLAGS="$xorg_testset_save_CFLAGS"
   7626 fi
   7627 
   7628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7631 	fi
   7632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7634 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7635 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7636 then :
   7637   printf %s "(cached) " >&6
   7638 else $as_nop
   7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 _ACEOF
   7643 if ac_fn_c_try_compile "$LINENO"
   7644 then :
   7645   xorg_cv_cc_flag_unused_command_line_argument=yes
   7646 else $as_nop
   7647   xorg_cv_cc_flag_unused_command_line_argument=no
   7648 fi
   7649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7650 fi
   7651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7652 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7654 	CFLAGS="$xorg_testset_save_CFLAGS"
   7655 fi
   7656 
   7657 found="no"
   7658 
   7659 	if test $found = "no" ; then
   7660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7662 		fi
   7663 
   7664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7666 		fi
   7667 
   7668 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7669 
   7670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7671 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7672 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7673 		if eval test \${$cacheid+y}
   7674 then :
   7675   printf %s "(cached) " >&6
   7676 else $as_nop
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 int
   7681 main (void)
   7682 {
   7683 
   7684   ;
   7685   return 0;
   7686 }
   7687 _ACEOF
   7688 if ac_fn_c_try_link "$LINENO"
   7689 then :
   7690   eval $cacheid=yes
   7691 else $as_nop
   7692   eval $cacheid=no
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7695     conftest$ac_exeext conftest.$ac_ext
   7696 fi
   7697 
   7698 
   7699 		CFLAGS="$xorg_testset_save_CFLAGS"
   7700 
   7701 		eval supported=\$$cacheid
   7702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7703 printf "%s\n" "$supported" >&6; }
   7704 		if test "$supported" = "yes" ; then
   7705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7706 			found="yes"
   7707 		fi
   7708 	fi
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 xorg_testset_save_CFLAGS="$CFLAGS"
   7725 
   7726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7729 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7730 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7731 then :
   7732   printf %s "(cached) " >&6
   7733 else $as_nop
   7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7735 /* end confdefs.h.  */
   7736 int i;
   7737 _ACEOF
   7738 if ac_fn_c_try_compile "$LINENO"
   7739 then :
   7740   xorg_cv_cc_flag_unknown_warning_option=yes
   7741 else $as_nop
   7742   xorg_cv_cc_flag_unknown_warning_option=no
   7743 fi
   7744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7745 fi
   7746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7747 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7749 	CFLAGS="$xorg_testset_save_CFLAGS"
   7750 fi
   7751 
   7752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7755 	fi
   7756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7758 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7759 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7760 then :
   7761   printf %s "(cached) " >&6
   7762 else $as_nop
   7763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7764 /* end confdefs.h.  */
   7765 int i;
   7766 _ACEOF
   7767 if ac_fn_c_try_compile "$LINENO"
   7768 then :
   7769   xorg_cv_cc_flag_unused_command_line_argument=yes
   7770 else $as_nop
   7771   xorg_cv_cc_flag_unused_command_line_argument=no
   7772 fi
   7773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7774 fi
   7775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7776 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7778 	CFLAGS="$xorg_testset_save_CFLAGS"
   7779 fi
   7780 
   7781 found="no"
   7782 
   7783 	if test $found = "no" ; then
   7784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7786 		fi
   7787 
   7788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7790 		fi
   7791 
   7792 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7793 
   7794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7795 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7796 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7797 		if eval test \${$cacheid+y}
   7798 then :
   7799   printf %s "(cached) " >&6
   7800 else $as_nop
   7801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7802 /* end confdefs.h.  */
   7803 int i;
   7804 int
   7805 main (void)
   7806 {
   7807 
   7808   ;
   7809   return 0;
   7810 }
   7811 _ACEOF
   7812 if ac_fn_c_try_link "$LINENO"
   7813 then :
   7814   eval $cacheid=yes
   7815 else $as_nop
   7816   eval $cacheid=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7819     conftest$ac_exeext conftest.$ac_ext
   7820 fi
   7821 
   7822 
   7823 		CFLAGS="$xorg_testset_save_CFLAGS"
   7824 
   7825 		eval supported=\$$cacheid
   7826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7827 printf "%s\n" "$supported" >&6; }
   7828 		if test "$supported" = "yes" ; then
   7829 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7830 			found="yes"
   7831 		fi
   7832 	fi
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 xorg_testset_save_CFLAGS="$CFLAGS"
   7849 
   7850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7855 then :
   7856   printf %s "(cached) " >&6
   7857 else $as_nop
   7858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7859 /* end confdefs.h.  */
   7860 int i;
   7861 _ACEOF
   7862 if ac_fn_c_try_compile "$LINENO"
   7863 then :
   7864   xorg_cv_cc_flag_unknown_warning_option=yes
   7865 else $as_nop
   7866   xorg_cv_cc_flag_unknown_warning_option=no
   7867 fi
   7868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7869 fi
   7870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7871 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7873 	CFLAGS="$xorg_testset_save_CFLAGS"
   7874 fi
   7875 
   7876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7879 	fi
   7880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7884 then :
   7885   printf %s "(cached) " >&6
   7886 else $as_nop
   7887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7888 /* end confdefs.h.  */
   7889 int i;
   7890 _ACEOF
   7891 if ac_fn_c_try_compile "$LINENO"
   7892 then :
   7893   xorg_cv_cc_flag_unused_command_line_argument=yes
   7894 else $as_nop
   7895   xorg_cv_cc_flag_unused_command_line_argument=no
   7896 fi
   7897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7898 fi
   7899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7900 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7902 	CFLAGS="$xorg_testset_save_CFLAGS"
   7903 fi
   7904 
   7905 found="no"
   7906 
   7907 	if test $found = "no" ; then
   7908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7910 		fi
   7911 
   7912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7914 		fi
   7915 
   7916 		CFLAGS="$CFLAGS -Werror=return-type"
   7917 
   7918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7919 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   7920 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7921 		if eval test \${$cacheid+y}
   7922 then :
   7923   printf %s "(cached) " >&6
   7924 else $as_nop
   7925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7926 /* end confdefs.h.  */
   7927 int i;
   7928 int
   7929 main (void)
   7930 {
   7931 
   7932   ;
   7933   return 0;
   7934 }
   7935 _ACEOF
   7936 if ac_fn_c_try_link "$LINENO"
   7937 then :
   7938   eval $cacheid=yes
   7939 else $as_nop
   7940   eval $cacheid=no
   7941 fi
   7942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7943     conftest$ac_exeext conftest.$ac_ext
   7944 fi
   7945 
   7946 
   7947 		CFLAGS="$xorg_testset_save_CFLAGS"
   7948 
   7949 		eval supported=\$$cacheid
   7950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7951 printf "%s\n" "$supported" >&6; }
   7952 		if test "$supported" = "yes" ; then
   7953 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7954 			found="yes"
   7955 		fi
   7956 	fi
   7957 
   7958 	if test $found = "no" ; then
   7959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 		fi
   7962 
   7963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7965 		fi
   7966 
   7967 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7968 
   7969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7970 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7971 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7972 		if eval test \${$cacheid+y}
   7973 then :
   7974   printf %s "(cached) " >&6
   7975 else $as_nop
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 int
   7980 main (void)
   7981 {
   7982 
   7983   ;
   7984   return 0;
   7985 }
   7986 _ACEOF
   7987 if ac_fn_c_try_link "$LINENO"
   7988 then :
   7989   eval $cacheid=yes
   7990 else $as_nop
   7991   eval $cacheid=no
   7992 fi
   7993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7994     conftest$ac_exeext conftest.$ac_ext
   7995 fi
   7996 
   7997 
   7998 		CFLAGS="$xorg_testset_save_CFLAGS"
   7999 
   8000 		eval supported=\$$cacheid
   8001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8002 printf "%s\n" "$supported" >&6; }
   8003 		if test "$supported" = "yes" ; then
   8004 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8005 			found="yes"
   8006 		fi
   8007 	fi
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 xorg_testset_save_CFLAGS="$CFLAGS"
   8024 
   8025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8028 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8029 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else $as_nop
   8033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8034 /* end confdefs.h.  */
   8035 int i;
   8036 _ACEOF
   8037 if ac_fn_c_try_compile "$LINENO"
   8038 then :
   8039   xorg_cv_cc_flag_unknown_warning_option=yes
   8040 else $as_nop
   8041   xorg_cv_cc_flag_unknown_warning_option=no
   8042 fi
   8043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8044 fi
   8045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8046 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8048 	CFLAGS="$xorg_testset_save_CFLAGS"
   8049 fi
   8050 
   8051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8054 	fi
   8055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8057 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8058 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8059 then :
   8060   printf %s "(cached) " >&6
   8061 else $as_nop
   8062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8063 /* end confdefs.h.  */
   8064 int i;
   8065 _ACEOF
   8066 if ac_fn_c_try_compile "$LINENO"
   8067 then :
   8068   xorg_cv_cc_flag_unused_command_line_argument=yes
   8069 else $as_nop
   8070   xorg_cv_cc_flag_unused_command_line_argument=no
   8071 fi
   8072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8073 fi
   8074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8077 	CFLAGS="$xorg_testset_save_CFLAGS"
   8078 fi
   8079 
   8080 found="no"
   8081 
   8082 	if test $found = "no" ; then
   8083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8085 		fi
   8086 
   8087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8089 		fi
   8090 
   8091 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8092 
   8093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8094 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8095 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8096 		if eval test \${$cacheid+y}
   8097 then :
   8098   printf %s "(cached) " >&6
   8099 else $as_nop
   8100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 int i;
   8103 int
   8104 main (void)
   8105 {
   8106 
   8107   ;
   8108   return 0;
   8109 }
   8110 _ACEOF
   8111 if ac_fn_c_try_link "$LINENO"
   8112 then :
   8113   eval $cacheid=yes
   8114 else $as_nop
   8115   eval $cacheid=no
   8116 fi
   8117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8118     conftest$ac_exeext conftest.$ac_ext
   8119 fi
   8120 
   8121 
   8122 		CFLAGS="$xorg_testset_save_CFLAGS"
   8123 
   8124 		eval supported=\$$cacheid
   8125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8126 printf "%s\n" "$supported" >&6; }
   8127 		if test "$supported" = "yes" ; then
   8128 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8129 			found="yes"
   8130 		fi
   8131 	fi
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 xorg_testset_save_CFLAGS="$CFLAGS"
   8148 
   8149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8152 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8153 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8154 then :
   8155   printf %s "(cached) " >&6
   8156 else $as_nop
   8157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 _ACEOF
   8161 if ac_fn_c_try_compile "$LINENO"
   8162 then :
   8163   xorg_cv_cc_flag_unknown_warning_option=yes
   8164 else $as_nop
   8165   xorg_cv_cc_flag_unknown_warning_option=no
   8166 fi
   8167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8168 fi
   8169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8170 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8172 	CFLAGS="$xorg_testset_save_CFLAGS"
   8173 fi
   8174 
   8175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8178 	fi
   8179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8181 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8182 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8183 then :
   8184   printf %s "(cached) " >&6
   8185 else $as_nop
   8186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 _ACEOF
   8190 if ac_fn_c_try_compile "$LINENO"
   8191 then :
   8192   xorg_cv_cc_flag_unused_command_line_argument=yes
   8193 else $as_nop
   8194   xorg_cv_cc_flag_unused_command_line_argument=no
   8195 fi
   8196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8197 fi
   8198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8201 	CFLAGS="$xorg_testset_save_CFLAGS"
   8202 fi
   8203 
   8204 found="no"
   8205 
   8206 	if test $found = "no" ; then
   8207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8209 		fi
   8210 
   8211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8213 		fi
   8214 
   8215 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8216 
   8217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8218 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8219 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8220 		if eval test \${$cacheid+y}
   8221 then :
   8222   printf %s "(cached) " >&6
   8223 else $as_nop
   8224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8225 /* end confdefs.h.  */
   8226 int i;
   8227 int
   8228 main (void)
   8229 {
   8230 
   8231   ;
   8232   return 0;
   8233 }
   8234 _ACEOF
   8235 if ac_fn_c_try_link "$LINENO"
   8236 then :
   8237   eval $cacheid=yes
   8238 else $as_nop
   8239   eval $cacheid=no
   8240 fi
   8241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8242     conftest$ac_exeext conftest.$ac_ext
   8243 fi
   8244 
   8245 
   8246 		CFLAGS="$xorg_testset_save_CFLAGS"
   8247 
   8248 		eval supported=\$$cacheid
   8249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8250 printf "%s\n" "$supported" >&6; }
   8251 		if test "$supported" = "yes" ; then
   8252 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8253 			found="yes"
   8254 		fi
   8255 	fi
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 xorg_testset_save_CFLAGS="$CFLAGS"
   8272 
   8273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8276 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8277 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8278 then :
   8279   printf %s "(cached) " >&6
   8280 else $as_nop
   8281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8282 /* end confdefs.h.  */
   8283 int i;
   8284 _ACEOF
   8285 if ac_fn_c_try_compile "$LINENO"
   8286 then :
   8287   xorg_cv_cc_flag_unknown_warning_option=yes
   8288 else $as_nop
   8289   xorg_cv_cc_flag_unknown_warning_option=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8292 fi
   8293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8294 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8296 	CFLAGS="$xorg_testset_save_CFLAGS"
   8297 fi
   8298 
   8299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	fi
   8303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8305 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8306 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8307 then :
   8308   printf %s "(cached) " >&6
   8309 else $as_nop
   8310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8311 /* end confdefs.h.  */
   8312 int i;
   8313 _ACEOF
   8314 if ac_fn_c_try_compile "$LINENO"
   8315 then :
   8316   xorg_cv_cc_flag_unused_command_line_argument=yes
   8317 else $as_nop
   8318   xorg_cv_cc_flag_unused_command_line_argument=no
   8319 fi
   8320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8321 fi
   8322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8323 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8325 	CFLAGS="$xorg_testset_save_CFLAGS"
   8326 fi
   8327 
   8328 found="no"
   8329 
   8330 	if test $found = "no" ; then
   8331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 		fi
   8334 
   8335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8337 		fi
   8338 
   8339 		CFLAGS="$CFLAGS -Werror=write-strings"
   8340 
   8341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8342 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8343 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8344 		if eval test \${$cacheid+y}
   8345 then :
   8346   printf %s "(cached) " >&6
   8347 else $as_nop
   8348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8349 /* end confdefs.h.  */
   8350 int i;
   8351 int
   8352 main (void)
   8353 {
   8354 
   8355   ;
   8356   return 0;
   8357 }
   8358 _ACEOF
   8359 if ac_fn_c_try_link "$LINENO"
   8360 then :
   8361   eval $cacheid=yes
   8362 else $as_nop
   8363   eval $cacheid=no
   8364 fi
   8365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8366     conftest$ac_exeext conftest.$ac_ext
   8367 fi
   8368 
   8369 
   8370 		CFLAGS="$xorg_testset_save_CFLAGS"
   8371 
   8372 		eval supported=\$$cacheid
   8373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8374 printf "%s\n" "$supported" >&6; }
   8375 		if test "$supported" = "yes" ; then
   8376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8377 			found="yes"
   8378 		fi
   8379 	fi
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 xorg_testset_save_CFLAGS="$CFLAGS"
   8396 
   8397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8402 then :
   8403   printf %s "(cached) " >&6
   8404 else $as_nop
   8405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8406 /* end confdefs.h.  */
   8407 int i;
   8408 _ACEOF
   8409 if ac_fn_c_try_compile "$LINENO"
   8410 then :
   8411   xorg_cv_cc_flag_unknown_warning_option=yes
   8412 else $as_nop
   8413   xorg_cv_cc_flag_unknown_warning_option=no
   8414 fi
   8415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8416 fi
   8417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8420 	CFLAGS="$xorg_testset_save_CFLAGS"
   8421 fi
   8422 
   8423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8426 	fi
   8427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8431 then :
   8432   printf %s "(cached) " >&6
   8433 else $as_nop
   8434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8435 /* end confdefs.h.  */
   8436 int i;
   8437 _ACEOF
   8438 if ac_fn_c_try_compile "$LINENO"
   8439 then :
   8440   xorg_cv_cc_flag_unused_command_line_argument=yes
   8441 else $as_nop
   8442   xorg_cv_cc_flag_unused_command_line_argument=no
   8443 fi
   8444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8445 fi
   8446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8447 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8449 	CFLAGS="$xorg_testset_save_CFLAGS"
   8450 fi
   8451 
   8452 found="no"
   8453 
   8454 	if test $found = "no" ; then
   8455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8457 		fi
   8458 
   8459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8461 		fi
   8462 
   8463 		CFLAGS="$CFLAGS -Werror=address"
   8464 
   8465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8466 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8467 		cacheid=xorg_cv_cc_flag__Werror_address
   8468 		if eval test \${$cacheid+y}
   8469 then :
   8470   printf %s "(cached) " >&6
   8471 else $as_nop
   8472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8473 /* end confdefs.h.  */
   8474 int i;
   8475 int
   8476 main (void)
   8477 {
   8478 
   8479   ;
   8480   return 0;
   8481 }
   8482 _ACEOF
   8483 if ac_fn_c_try_link "$LINENO"
   8484 then :
   8485   eval $cacheid=yes
   8486 else $as_nop
   8487   eval $cacheid=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8490     conftest$ac_exeext conftest.$ac_ext
   8491 fi
   8492 
   8493 
   8494 		CFLAGS="$xorg_testset_save_CFLAGS"
   8495 
   8496 		eval supported=\$$cacheid
   8497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8498 printf "%s\n" "$supported" >&6; }
   8499 		if test "$supported" = "yes" ; then
   8500 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8501 			found="yes"
   8502 		fi
   8503 	fi
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 xorg_testset_save_CFLAGS="$CFLAGS"
   8520 
   8521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8526 then :
   8527   printf %s "(cached) " >&6
   8528 else $as_nop
   8529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8530 /* end confdefs.h.  */
   8531 int i;
   8532 _ACEOF
   8533 if ac_fn_c_try_compile "$LINENO"
   8534 then :
   8535   xorg_cv_cc_flag_unknown_warning_option=yes
   8536 else $as_nop
   8537   xorg_cv_cc_flag_unknown_warning_option=no
   8538 fi
   8539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8540 fi
   8541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8544 	CFLAGS="$xorg_testset_save_CFLAGS"
   8545 fi
   8546 
   8547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8550 	fi
   8551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8555 then :
   8556   printf %s "(cached) " >&6
   8557 else $as_nop
   8558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8559 /* end confdefs.h.  */
   8560 int i;
   8561 _ACEOF
   8562 if ac_fn_c_try_compile "$LINENO"
   8563 then :
   8564   xorg_cv_cc_flag_unused_command_line_argument=yes
   8565 else $as_nop
   8566   xorg_cv_cc_flag_unused_command_line_argument=no
   8567 fi
   8568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8569 fi
   8570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8573 	CFLAGS="$xorg_testset_save_CFLAGS"
   8574 fi
   8575 
   8576 found="no"
   8577 
   8578 	if test $found = "no" ; then
   8579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8581 		fi
   8582 
   8583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8585 		fi
   8586 
   8587 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8588 
   8589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8590 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8591 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8592 		if eval test \${$cacheid+y}
   8593 then :
   8594   printf %s "(cached) " >&6
   8595 else $as_nop
   8596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8597 /* end confdefs.h.  */
   8598 int i;
   8599 int
   8600 main (void)
   8601 {
   8602 
   8603   ;
   8604   return 0;
   8605 }
   8606 _ACEOF
   8607 if ac_fn_c_try_link "$LINENO"
   8608 then :
   8609   eval $cacheid=yes
   8610 else $as_nop
   8611   eval $cacheid=no
   8612 fi
   8613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8614     conftest$ac_exeext conftest.$ac_ext
   8615 fi
   8616 
   8617 
   8618 		CFLAGS="$xorg_testset_save_CFLAGS"
   8619 
   8620 		eval supported=\$$cacheid
   8621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8622 printf "%s\n" "$supported" >&6; }
   8623 		if test "$supported" = "yes" ; then
   8624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8625 			found="yes"
   8626 		fi
   8627 	fi
   8628 
   8629 	if test $found = "no" ; then
   8630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8632 		fi
   8633 
   8634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 		fi
   8637 
   8638 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8639 
   8640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8641 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8642 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8643 		if eval test \${$cacheid+y}
   8644 then :
   8645   printf %s "(cached) " >&6
   8646 else $as_nop
   8647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8648 /* end confdefs.h.  */
   8649 int i;
   8650 int
   8651 main (void)
   8652 {
   8653 
   8654   ;
   8655   return 0;
   8656 }
   8657 _ACEOF
   8658 if ac_fn_c_try_link "$LINENO"
   8659 then :
   8660   eval $cacheid=yes
   8661 else $as_nop
   8662   eval $cacheid=no
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8665     conftest$ac_exeext conftest.$ac_ext
   8666 fi
   8667 
   8668 
   8669 		CFLAGS="$xorg_testset_save_CFLAGS"
   8670 
   8671 		eval supported=\$$cacheid
   8672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8673 printf "%s\n" "$supported" >&6; }
   8674 		if test "$supported" = "yes" ; then
   8675 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8676 			found="yes"
   8677 		fi
   8678 	fi
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 xorg_testset_save_CFLAGS="$CFLAGS"
   8695 
   8696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8699 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8700 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8701 then :
   8702   printf %s "(cached) " >&6
   8703 else $as_nop
   8704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8705 /* end confdefs.h.  */
   8706 int i;
   8707 _ACEOF
   8708 if ac_fn_c_try_compile "$LINENO"
   8709 then :
   8710   xorg_cv_cc_flag_unknown_warning_option=yes
   8711 else $as_nop
   8712   xorg_cv_cc_flag_unknown_warning_option=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8715 fi
   8716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8717 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8719 	CFLAGS="$xorg_testset_save_CFLAGS"
   8720 fi
   8721 
   8722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8725 	fi
   8726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8728 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8729 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8730 then :
   8731   printf %s "(cached) " >&6
   8732 else $as_nop
   8733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8734 /* end confdefs.h.  */
   8735 int i;
   8736 _ACEOF
   8737 if ac_fn_c_try_compile "$LINENO"
   8738 then :
   8739   xorg_cv_cc_flag_unused_command_line_argument=yes
   8740 else $as_nop
   8741   xorg_cv_cc_flag_unused_command_line_argument=no
   8742 fi
   8743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8744 fi
   8745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8746 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8748 	CFLAGS="$xorg_testset_save_CFLAGS"
   8749 fi
   8750 
   8751 found="no"
   8752 
   8753 	if test $found = "no" ; then
   8754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8756 		fi
   8757 
   8758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8760 		fi
   8761 
   8762 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8763 
   8764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8765 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8766 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8767 		if eval test \${$cacheid+y}
   8768 then :
   8769   printf %s "(cached) " >&6
   8770 else $as_nop
   8771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8772 /* end confdefs.h.  */
   8773 int i;
   8774 int
   8775 main (void)
   8776 {
   8777 
   8778   ;
   8779   return 0;
   8780 }
   8781 _ACEOF
   8782 if ac_fn_c_try_link "$LINENO"
   8783 then :
   8784   eval $cacheid=yes
   8785 else $as_nop
   8786   eval $cacheid=no
   8787 fi
   8788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8789     conftest$ac_exeext conftest.$ac_ext
   8790 fi
   8791 
   8792 
   8793 		CFLAGS="$xorg_testset_save_CFLAGS"
   8794 
   8795 		eval supported=\$$cacheid
   8796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8797 printf "%s\n" "$supported" >&6; }
   8798 		if test "$supported" = "yes" ; then
   8799 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8800 			found="yes"
   8801 		fi
   8802 	fi
   8803 
   8804  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8805 else
   8806 { 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
   8807 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;}
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 xorg_testset_save_CFLAGS="$CFLAGS"
   8822 
   8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8828 then :
   8829   printf %s "(cached) " >&6
   8830 else $as_nop
   8831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 _ACEOF
   8835 if ac_fn_c_try_compile "$LINENO"
   8836 then :
   8837   xorg_cv_cc_flag_unknown_warning_option=yes
   8838 else $as_nop
   8839   xorg_cv_cc_flag_unknown_warning_option=no
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8842 fi
   8843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8844 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8846 	CFLAGS="$xorg_testset_save_CFLAGS"
   8847 fi
   8848 
   8849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 	fi
   8853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8855 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8856 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else $as_nop
   8860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 _ACEOF
   8864 if ac_fn_c_try_compile "$LINENO"
   8865 then :
   8866   xorg_cv_cc_flag_unused_command_line_argument=yes
   8867 else $as_nop
   8868   xorg_cv_cc_flag_unused_command_line_argument=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8871 fi
   8872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8873 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 found="no"
   8879 
   8880 	if test $found = "no" ; then
   8881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8883 		fi
   8884 
   8885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8887 		fi
   8888 
   8889 		CFLAGS="$CFLAGS -Wimplicit"
   8890 
   8891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8892 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   8893 		cacheid=xorg_cv_cc_flag__Wimplicit
   8894 		if eval test \${$cacheid+y}
   8895 then :
   8896   printf %s "(cached) " >&6
   8897 else $as_nop
   8898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8899 /* end confdefs.h.  */
   8900 int i;
   8901 int
   8902 main (void)
   8903 {
   8904 
   8905   ;
   8906   return 0;
   8907 }
   8908 _ACEOF
   8909 if ac_fn_c_try_link "$LINENO"
   8910 then :
   8911   eval $cacheid=yes
   8912 else $as_nop
   8913   eval $cacheid=no
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8916     conftest$ac_exeext conftest.$ac_ext
   8917 fi
   8918 
   8919 
   8920 		CFLAGS="$xorg_testset_save_CFLAGS"
   8921 
   8922 		eval supported=\$$cacheid
   8923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8924 printf "%s\n" "$supported" >&6; }
   8925 		if test "$supported" = "yes" ; then
   8926 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8927 			found="yes"
   8928 		fi
   8929 	fi
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 xorg_testset_save_CFLAGS="$CFLAGS"
   8946 
   8947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8952 then :
   8953   printf %s "(cached) " >&6
   8954 else $as_nop
   8955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8956 /* end confdefs.h.  */
   8957 int i;
   8958 _ACEOF
   8959 if ac_fn_c_try_compile "$LINENO"
   8960 then :
   8961   xorg_cv_cc_flag_unknown_warning_option=yes
   8962 else $as_nop
   8963   xorg_cv_cc_flag_unknown_warning_option=no
   8964 fi
   8965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8966 fi
   8967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8970 	CFLAGS="$xorg_testset_save_CFLAGS"
   8971 fi
   8972 
   8973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8976 	fi
   8977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8981 then :
   8982   printf %s "(cached) " >&6
   8983 else $as_nop
   8984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8985 /* end confdefs.h.  */
   8986 int i;
   8987 _ACEOF
   8988 if ac_fn_c_try_compile "$LINENO"
   8989 then :
   8990   xorg_cv_cc_flag_unused_command_line_argument=yes
   8991 else $as_nop
   8992   xorg_cv_cc_flag_unused_command_line_argument=no
   8993 fi
   8994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8995 fi
   8996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8999 	CFLAGS="$xorg_testset_save_CFLAGS"
   9000 fi
   9001 
   9002 found="no"
   9003 
   9004 	if test $found = "no" ; then
   9005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9007 		fi
   9008 
   9009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9011 		fi
   9012 
   9013 		CFLAGS="$CFLAGS -Wnonnull"
   9014 
   9015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9016 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9017 		cacheid=xorg_cv_cc_flag__Wnonnull
   9018 		if eval test \${$cacheid+y}
   9019 then :
   9020   printf %s "(cached) " >&6
   9021 else $as_nop
   9022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9023 /* end confdefs.h.  */
   9024 int i;
   9025 int
   9026 main (void)
   9027 {
   9028 
   9029   ;
   9030   return 0;
   9031 }
   9032 _ACEOF
   9033 if ac_fn_c_try_link "$LINENO"
   9034 then :
   9035   eval $cacheid=yes
   9036 else $as_nop
   9037   eval $cacheid=no
   9038 fi
   9039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9040     conftest$ac_exeext conftest.$ac_ext
   9041 fi
   9042 
   9043 
   9044 		CFLAGS="$xorg_testset_save_CFLAGS"
   9045 
   9046 		eval supported=\$$cacheid
   9047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9048 printf "%s\n" "$supported" >&6; }
   9049 		if test "$supported" = "yes" ; then
   9050 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9051 			found="yes"
   9052 		fi
   9053 	fi
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 xorg_testset_save_CFLAGS="$CFLAGS"
   9070 
   9071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9076 then :
   9077   printf %s "(cached) " >&6
   9078 else $as_nop
   9079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9080 /* end confdefs.h.  */
   9081 int i;
   9082 _ACEOF
   9083 if ac_fn_c_try_compile "$LINENO"
   9084 then :
   9085   xorg_cv_cc_flag_unknown_warning_option=yes
   9086 else $as_nop
   9087   xorg_cv_cc_flag_unknown_warning_option=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9090 fi
   9091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9094 	CFLAGS="$xorg_testset_save_CFLAGS"
   9095 fi
   9096 
   9097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9100 	fi
   9101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9105 then :
   9106   printf %s "(cached) " >&6
   9107 else $as_nop
   9108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9109 /* end confdefs.h.  */
   9110 int i;
   9111 _ACEOF
   9112 if ac_fn_c_try_compile "$LINENO"
   9113 then :
   9114   xorg_cv_cc_flag_unused_command_line_argument=yes
   9115 else $as_nop
   9116   xorg_cv_cc_flag_unused_command_line_argument=no
   9117 fi
   9118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9119 fi
   9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9123 	CFLAGS="$xorg_testset_save_CFLAGS"
   9124 fi
   9125 
   9126 found="no"
   9127 
   9128 	if test $found = "no" ; then
   9129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9131 		fi
   9132 
   9133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9135 		fi
   9136 
   9137 		CFLAGS="$CFLAGS -Winit-self"
   9138 
   9139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9140 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9141 		cacheid=xorg_cv_cc_flag__Winit_self
   9142 		if eval test \${$cacheid+y}
   9143 then :
   9144   printf %s "(cached) " >&6
   9145 else $as_nop
   9146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9147 /* end confdefs.h.  */
   9148 int i;
   9149 int
   9150 main (void)
   9151 {
   9152 
   9153   ;
   9154   return 0;
   9155 }
   9156 _ACEOF
   9157 if ac_fn_c_try_link "$LINENO"
   9158 then :
   9159   eval $cacheid=yes
   9160 else $as_nop
   9161   eval $cacheid=no
   9162 fi
   9163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9164     conftest$ac_exeext conftest.$ac_ext
   9165 fi
   9166 
   9167 
   9168 		CFLAGS="$xorg_testset_save_CFLAGS"
   9169 
   9170 		eval supported=\$$cacheid
   9171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9172 printf "%s\n" "$supported" >&6; }
   9173 		if test "$supported" = "yes" ; then
   9174 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9175 			found="yes"
   9176 		fi
   9177 	fi
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 xorg_testset_save_CFLAGS="$CFLAGS"
   9194 
   9195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9200 then :
   9201   printf %s "(cached) " >&6
   9202 else $as_nop
   9203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9204 /* end confdefs.h.  */
   9205 int i;
   9206 _ACEOF
   9207 if ac_fn_c_try_compile "$LINENO"
   9208 then :
   9209   xorg_cv_cc_flag_unknown_warning_option=yes
   9210 else $as_nop
   9211   xorg_cv_cc_flag_unknown_warning_option=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9214 fi
   9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9216 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9218 	CFLAGS="$xorg_testset_save_CFLAGS"
   9219 fi
   9220 
   9221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9224 	fi
   9225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9227 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9228 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9229 then :
   9230   printf %s "(cached) " >&6
   9231 else $as_nop
   9232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9233 /* end confdefs.h.  */
   9234 int i;
   9235 _ACEOF
   9236 if ac_fn_c_try_compile "$LINENO"
   9237 then :
   9238   xorg_cv_cc_flag_unused_command_line_argument=yes
   9239 else $as_nop
   9240   xorg_cv_cc_flag_unused_command_line_argument=no
   9241 fi
   9242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9243 fi
   9244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9247 	CFLAGS="$xorg_testset_save_CFLAGS"
   9248 fi
   9249 
   9250 found="no"
   9251 
   9252 	if test $found = "no" ; then
   9253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9255 		fi
   9256 
   9257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9259 		fi
   9260 
   9261 		CFLAGS="$CFLAGS -Wmain"
   9262 
   9263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9264 printf %s "checking if $CC supports -Wmain... " >&6; }
   9265 		cacheid=xorg_cv_cc_flag__Wmain
   9266 		if eval test \${$cacheid+y}
   9267 then :
   9268   printf %s "(cached) " >&6
   9269 else $as_nop
   9270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9271 /* end confdefs.h.  */
   9272 int i;
   9273 int
   9274 main (void)
   9275 {
   9276 
   9277   ;
   9278   return 0;
   9279 }
   9280 _ACEOF
   9281 if ac_fn_c_try_link "$LINENO"
   9282 then :
   9283   eval $cacheid=yes
   9284 else $as_nop
   9285   eval $cacheid=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9288     conftest$ac_exeext conftest.$ac_ext
   9289 fi
   9290 
   9291 
   9292 		CFLAGS="$xorg_testset_save_CFLAGS"
   9293 
   9294 		eval supported=\$$cacheid
   9295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9296 printf "%s\n" "$supported" >&6; }
   9297 		if test "$supported" = "yes" ; then
   9298 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9299 			found="yes"
   9300 		fi
   9301 	fi
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 xorg_testset_save_CFLAGS="$CFLAGS"
   9318 
   9319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9322 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9323 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9324 then :
   9325   printf %s "(cached) " >&6
   9326 else $as_nop
   9327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9328 /* end confdefs.h.  */
   9329 int i;
   9330 _ACEOF
   9331 if ac_fn_c_try_compile "$LINENO"
   9332 then :
   9333   xorg_cv_cc_flag_unknown_warning_option=yes
   9334 else $as_nop
   9335   xorg_cv_cc_flag_unknown_warning_option=no
   9336 fi
   9337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9338 fi
   9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9342 	CFLAGS="$xorg_testset_save_CFLAGS"
   9343 fi
   9344 
   9345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9348 	fi
   9349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9353 then :
   9354   printf %s "(cached) " >&6
   9355 else $as_nop
   9356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9357 /* end confdefs.h.  */
   9358 int i;
   9359 _ACEOF
   9360 if ac_fn_c_try_compile "$LINENO"
   9361 then :
   9362   xorg_cv_cc_flag_unused_command_line_argument=yes
   9363 else $as_nop
   9364   xorg_cv_cc_flag_unused_command_line_argument=no
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9367 fi
   9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9371 	CFLAGS="$xorg_testset_save_CFLAGS"
   9372 fi
   9373 
   9374 found="no"
   9375 
   9376 	if test $found = "no" ; then
   9377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 		fi
   9380 
   9381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9383 		fi
   9384 
   9385 		CFLAGS="$CFLAGS -Wmissing-braces"
   9386 
   9387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9388 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9389 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9390 		if eval test \${$cacheid+y}
   9391 then :
   9392   printf %s "(cached) " >&6
   9393 else $as_nop
   9394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9395 /* end confdefs.h.  */
   9396 int i;
   9397 int
   9398 main (void)
   9399 {
   9400 
   9401   ;
   9402   return 0;
   9403 }
   9404 _ACEOF
   9405 if ac_fn_c_try_link "$LINENO"
   9406 then :
   9407   eval $cacheid=yes
   9408 else $as_nop
   9409   eval $cacheid=no
   9410 fi
   9411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9412     conftest$ac_exeext conftest.$ac_ext
   9413 fi
   9414 
   9415 
   9416 		CFLAGS="$xorg_testset_save_CFLAGS"
   9417 
   9418 		eval supported=\$$cacheid
   9419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9420 printf "%s\n" "$supported" >&6; }
   9421 		if test "$supported" = "yes" ; then
   9422 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9423 			found="yes"
   9424 		fi
   9425 	fi
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 xorg_testset_save_CFLAGS="$CFLAGS"
   9442 
   9443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9446 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9447 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9448 then :
   9449   printf %s "(cached) " >&6
   9450 else $as_nop
   9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"
   9456 then :
   9457   xorg_cv_cc_flag_unknown_warning_option=yes
   9458 else $as_nop
   9459   xorg_cv_cc_flag_unknown_warning_option=no
   9460 fi
   9461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9462 fi
   9463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9464 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9466 	CFLAGS="$xorg_testset_save_CFLAGS"
   9467 fi
   9468 
   9469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9472 	fi
   9473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9475 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9476 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9477 then :
   9478   printf %s "(cached) " >&6
   9479 else $as_nop
   9480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9481 /* end confdefs.h.  */
   9482 int i;
   9483 _ACEOF
   9484 if ac_fn_c_try_compile "$LINENO"
   9485 then :
   9486   xorg_cv_cc_flag_unused_command_line_argument=yes
   9487 else $as_nop
   9488   xorg_cv_cc_flag_unused_command_line_argument=no
   9489 fi
   9490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9491 fi
   9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9495 	CFLAGS="$xorg_testset_save_CFLAGS"
   9496 fi
   9497 
   9498 found="no"
   9499 
   9500 	if test $found = "no" ; then
   9501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 		fi
   9504 
   9505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9507 		fi
   9508 
   9509 		CFLAGS="$CFLAGS -Wsequence-point"
   9510 
   9511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9512 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9513 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9514 		if eval test \${$cacheid+y}
   9515 then :
   9516   printf %s "(cached) " >&6
   9517 else $as_nop
   9518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9519 /* end confdefs.h.  */
   9520 int i;
   9521 int
   9522 main (void)
   9523 {
   9524 
   9525   ;
   9526   return 0;
   9527 }
   9528 _ACEOF
   9529 if ac_fn_c_try_link "$LINENO"
   9530 then :
   9531   eval $cacheid=yes
   9532 else $as_nop
   9533   eval $cacheid=no
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9536     conftest$ac_exeext conftest.$ac_ext
   9537 fi
   9538 
   9539 
   9540 		CFLAGS="$xorg_testset_save_CFLAGS"
   9541 
   9542 		eval supported=\$$cacheid
   9543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9544 printf "%s\n" "$supported" >&6; }
   9545 		if test "$supported" = "yes" ; then
   9546 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9547 			found="yes"
   9548 		fi
   9549 	fi
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 xorg_testset_save_CFLAGS="$CFLAGS"
   9566 
   9567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9572 then :
   9573   printf %s "(cached) " >&6
   9574 else $as_nop
   9575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9576 /* end confdefs.h.  */
   9577 int i;
   9578 _ACEOF
   9579 if ac_fn_c_try_compile "$LINENO"
   9580 then :
   9581   xorg_cv_cc_flag_unknown_warning_option=yes
   9582 else $as_nop
   9583   xorg_cv_cc_flag_unknown_warning_option=no
   9584 fi
   9585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9586 fi
   9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9588 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9590 	CFLAGS="$xorg_testset_save_CFLAGS"
   9591 fi
   9592 
   9593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9596 	fi
   9597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9599 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9600 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9601 then :
   9602   printf %s "(cached) " >&6
   9603 else $as_nop
   9604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9605 /* end confdefs.h.  */
   9606 int i;
   9607 _ACEOF
   9608 if ac_fn_c_try_compile "$LINENO"
   9609 then :
   9610   xorg_cv_cc_flag_unused_command_line_argument=yes
   9611 else $as_nop
   9612   xorg_cv_cc_flag_unused_command_line_argument=no
   9613 fi
   9614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9615 fi
   9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9617 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9619 	CFLAGS="$xorg_testset_save_CFLAGS"
   9620 fi
   9621 
   9622 found="no"
   9623 
   9624 	if test $found = "no" ; then
   9625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 		fi
   9628 
   9629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9631 		fi
   9632 
   9633 		CFLAGS="$CFLAGS -Wreturn-type"
   9634 
   9635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9636 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9637 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9638 		if eval test \${$cacheid+y}
   9639 then :
   9640   printf %s "(cached) " >&6
   9641 else $as_nop
   9642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9643 /* end confdefs.h.  */
   9644 int i;
   9645 int
   9646 main (void)
   9647 {
   9648 
   9649   ;
   9650   return 0;
   9651 }
   9652 _ACEOF
   9653 if ac_fn_c_try_link "$LINENO"
   9654 then :
   9655   eval $cacheid=yes
   9656 else $as_nop
   9657   eval $cacheid=no
   9658 fi
   9659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9660     conftest$ac_exeext conftest.$ac_ext
   9661 fi
   9662 
   9663 
   9664 		CFLAGS="$xorg_testset_save_CFLAGS"
   9665 
   9666 		eval supported=\$$cacheid
   9667 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9668 printf "%s\n" "$supported" >&6; }
   9669 		if test "$supported" = "yes" ; then
   9670 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9671 			found="yes"
   9672 		fi
   9673 	fi
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 xorg_testset_save_CFLAGS="$CFLAGS"
   9690 
   9691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9694 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9695 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9696 then :
   9697   printf %s "(cached) " >&6
   9698 else $as_nop
   9699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9700 /* end confdefs.h.  */
   9701 int i;
   9702 _ACEOF
   9703 if ac_fn_c_try_compile "$LINENO"
   9704 then :
   9705   xorg_cv_cc_flag_unknown_warning_option=yes
   9706 else $as_nop
   9707   xorg_cv_cc_flag_unknown_warning_option=no
   9708 fi
   9709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9710 fi
   9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9712 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9714 	CFLAGS="$xorg_testset_save_CFLAGS"
   9715 fi
   9716 
   9717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9720 	fi
   9721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9723 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9724 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9725 then :
   9726   printf %s "(cached) " >&6
   9727 else $as_nop
   9728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9729 /* end confdefs.h.  */
   9730 int i;
   9731 _ACEOF
   9732 if ac_fn_c_try_compile "$LINENO"
   9733 then :
   9734   xorg_cv_cc_flag_unused_command_line_argument=yes
   9735 else $as_nop
   9736   xorg_cv_cc_flag_unused_command_line_argument=no
   9737 fi
   9738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9739 fi
   9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9741 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9743 	CFLAGS="$xorg_testset_save_CFLAGS"
   9744 fi
   9745 
   9746 found="no"
   9747 
   9748 	if test $found = "no" ; then
   9749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9751 		fi
   9752 
   9753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9755 		fi
   9756 
   9757 		CFLAGS="$CFLAGS -Wtrigraphs"
   9758 
   9759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9760 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9761 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9762 		if eval test \${$cacheid+y}
   9763 then :
   9764   printf %s "(cached) " >&6
   9765 else $as_nop
   9766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9767 /* end confdefs.h.  */
   9768 int i;
   9769 int
   9770 main (void)
   9771 {
   9772 
   9773   ;
   9774   return 0;
   9775 }
   9776 _ACEOF
   9777 if ac_fn_c_try_link "$LINENO"
   9778 then :
   9779   eval $cacheid=yes
   9780 else $as_nop
   9781   eval $cacheid=no
   9782 fi
   9783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9784     conftest$ac_exeext conftest.$ac_ext
   9785 fi
   9786 
   9787 
   9788 		CFLAGS="$xorg_testset_save_CFLAGS"
   9789 
   9790 		eval supported=\$$cacheid
   9791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9792 printf "%s\n" "$supported" >&6; }
   9793 		if test "$supported" = "yes" ; then
   9794 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9795 			found="yes"
   9796 		fi
   9797 	fi
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 xorg_testset_save_CFLAGS="$CFLAGS"
   9814 
   9815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9820 then :
   9821   printf %s "(cached) " >&6
   9822 else $as_nop
   9823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9824 /* end confdefs.h.  */
   9825 int i;
   9826 _ACEOF
   9827 if ac_fn_c_try_compile "$LINENO"
   9828 then :
   9829   xorg_cv_cc_flag_unknown_warning_option=yes
   9830 else $as_nop
   9831   xorg_cv_cc_flag_unknown_warning_option=no
   9832 fi
   9833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9834 fi
   9835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9836 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9838 	CFLAGS="$xorg_testset_save_CFLAGS"
   9839 fi
   9840 
   9841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9844 	fi
   9845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9849 then :
   9850   printf %s "(cached) " >&6
   9851 else $as_nop
   9852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9853 /* end confdefs.h.  */
   9854 int i;
   9855 _ACEOF
   9856 if ac_fn_c_try_compile "$LINENO"
   9857 then :
   9858   xorg_cv_cc_flag_unused_command_line_argument=yes
   9859 else $as_nop
   9860   xorg_cv_cc_flag_unused_command_line_argument=no
   9861 fi
   9862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9863 fi
   9864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9867 	CFLAGS="$xorg_testset_save_CFLAGS"
   9868 fi
   9869 
   9870 found="no"
   9871 
   9872 	if test $found = "no" ; then
   9873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 		fi
   9876 
   9877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9879 		fi
   9880 
   9881 		CFLAGS="$CFLAGS -Warray-bounds"
   9882 
   9883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9884 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   9885 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9886 		if eval test \${$cacheid+y}
   9887 then :
   9888   printf %s "(cached) " >&6
   9889 else $as_nop
   9890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9891 /* end confdefs.h.  */
   9892 int i;
   9893 int
   9894 main (void)
   9895 {
   9896 
   9897   ;
   9898   return 0;
   9899 }
   9900 _ACEOF
   9901 if ac_fn_c_try_link "$LINENO"
   9902 then :
   9903   eval $cacheid=yes
   9904 else $as_nop
   9905   eval $cacheid=no
   9906 fi
   9907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9908     conftest$ac_exeext conftest.$ac_ext
   9909 fi
   9910 
   9911 
   9912 		CFLAGS="$xorg_testset_save_CFLAGS"
   9913 
   9914 		eval supported=\$$cacheid
   9915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9916 printf "%s\n" "$supported" >&6; }
   9917 		if test "$supported" = "yes" ; then
   9918 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9919 			found="yes"
   9920 		fi
   9921 	fi
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 xorg_testset_save_CFLAGS="$CFLAGS"
   9938 
   9939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9944 then :
   9945   printf %s "(cached) " >&6
   9946 else $as_nop
   9947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9948 /* end confdefs.h.  */
   9949 int i;
   9950 _ACEOF
   9951 if ac_fn_c_try_compile "$LINENO"
   9952 then :
   9953   xorg_cv_cc_flag_unknown_warning_option=yes
   9954 else $as_nop
   9955   xorg_cv_cc_flag_unknown_warning_option=no
   9956 fi
   9957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9958 fi
   9959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9962 	CFLAGS="$xorg_testset_save_CFLAGS"
   9963 fi
   9964 
   9965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9968 	fi
   9969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9973 then :
   9974   printf %s "(cached) " >&6
   9975 else $as_nop
   9976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9977 /* end confdefs.h.  */
   9978 int i;
   9979 _ACEOF
   9980 if ac_fn_c_try_compile "$LINENO"
   9981 then :
   9982   xorg_cv_cc_flag_unused_command_line_argument=yes
   9983 else $as_nop
   9984   xorg_cv_cc_flag_unused_command_line_argument=no
   9985 fi
   9986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9987 fi
   9988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9989 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9991 	CFLAGS="$xorg_testset_save_CFLAGS"
   9992 fi
   9993 
   9994 found="no"
   9995 
   9996 	if test $found = "no" ; then
   9997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9999 		fi
   10000 
   10001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10003 		fi
   10004 
   10005 		CFLAGS="$CFLAGS -Wwrite-strings"
   10006 
   10007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10008 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10009 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10010 		if eval test \${$cacheid+y}
   10011 then :
   10012   printf %s "(cached) " >&6
   10013 else $as_nop
   10014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10015 /* end confdefs.h.  */
   10016 int i;
   10017 int
   10018 main (void)
   10019 {
   10020 
   10021   ;
   10022   return 0;
   10023 }
   10024 _ACEOF
   10025 if ac_fn_c_try_link "$LINENO"
   10026 then :
   10027   eval $cacheid=yes
   10028 else $as_nop
   10029   eval $cacheid=no
   10030 fi
   10031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10032     conftest$ac_exeext conftest.$ac_ext
   10033 fi
   10034 
   10035 
   10036 		CFLAGS="$xorg_testset_save_CFLAGS"
   10037 
   10038 		eval supported=\$$cacheid
   10039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10040 printf "%s\n" "$supported" >&6; }
   10041 		if test "$supported" = "yes" ; then
   10042 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10043 			found="yes"
   10044 		fi
   10045 	fi
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 xorg_testset_save_CFLAGS="$CFLAGS"
   10062 
   10063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10066 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10067 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10068 then :
   10069   printf %s "(cached) " >&6
   10070 else $as_nop
   10071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10072 /* end confdefs.h.  */
   10073 int i;
   10074 _ACEOF
   10075 if ac_fn_c_try_compile "$LINENO"
   10076 then :
   10077   xorg_cv_cc_flag_unknown_warning_option=yes
   10078 else $as_nop
   10079   xorg_cv_cc_flag_unknown_warning_option=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10082 fi
   10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10084 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10086 	CFLAGS="$xorg_testset_save_CFLAGS"
   10087 fi
   10088 
   10089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 	fi
   10093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10095 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10096 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10097 then :
   10098   printf %s "(cached) " >&6
   10099 else $as_nop
   10100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10101 /* end confdefs.h.  */
   10102 int i;
   10103 _ACEOF
   10104 if ac_fn_c_try_compile "$LINENO"
   10105 then :
   10106   xorg_cv_cc_flag_unused_command_line_argument=yes
   10107 else $as_nop
   10108   xorg_cv_cc_flag_unused_command_line_argument=no
   10109 fi
   10110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10111 fi
   10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10115 	CFLAGS="$xorg_testset_save_CFLAGS"
   10116 fi
   10117 
   10118 found="no"
   10119 
   10120 	if test $found = "no" ; then
   10121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 		fi
   10124 
   10125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10127 		fi
   10128 
   10129 		CFLAGS="$CFLAGS -Waddress"
   10130 
   10131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10132 printf %s "checking if $CC supports -Waddress... " >&6; }
   10133 		cacheid=xorg_cv_cc_flag__Waddress
   10134 		if eval test \${$cacheid+y}
   10135 then :
   10136   printf %s "(cached) " >&6
   10137 else $as_nop
   10138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10139 /* end confdefs.h.  */
   10140 int i;
   10141 int
   10142 main (void)
   10143 {
   10144 
   10145   ;
   10146   return 0;
   10147 }
   10148 _ACEOF
   10149 if ac_fn_c_try_link "$LINENO"
   10150 then :
   10151   eval $cacheid=yes
   10152 else $as_nop
   10153   eval $cacheid=no
   10154 fi
   10155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10156     conftest$ac_exeext conftest.$ac_ext
   10157 fi
   10158 
   10159 
   10160 		CFLAGS="$xorg_testset_save_CFLAGS"
   10161 
   10162 		eval supported=\$$cacheid
   10163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10164 printf "%s\n" "$supported" >&6; }
   10165 		if test "$supported" = "yes" ; then
   10166 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10167 			found="yes"
   10168 		fi
   10169 	fi
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 xorg_testset_save_CFLAGS="$CFLAGS"
   10186 
   10187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10192 then :
   10193   printf %s "(cached) " >&6
   10194 else $as_nop
   10195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10196 /* end confdefs.h.  */
   10197 int i;
   10198 _ACEOF
   10199 if ac_fn_c_try_compile "$LINENO"
   10200 then :
   10201   xorg_cv_cc_flag_unknown_warning_option=yes
   10202 else $as_nop
   10203   xorg_cv_cc_flag_unknown_warning_option=no
   10204 fi
   10205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10206 fi
   10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10208 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10210 	CFLAGS="$xorg_testset_save_CFLAGS"
   10211 fi
   10212 
   10213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10216 	fi
   10217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10221 then :
   10222   printf %s "(cached) " >&6
   10223 else $as_nop
   10224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10225 /* end confdefs.h.  */
   10226 int i;
   10227 _ACEOF
   10228 if ac_fn_c_try_compile "$LINENO"
   10229 then :
   10230   xorg_cv_cc_flag_unused_command_line_argument=yes
   10231 else $as_nop
   10232   xorg_cv_cc_flag_unused_command_line_argument=no
   10233 fi
   10234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10235 fi
   10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10237 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10239 	CFLAGS="$xorg_testset_save_CFLAGS"
   10240 fi
   10241 
   10242 found="no"
   10243 
   10244 	if test $found = "no" ; then
   10245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10247 		fi
   10248 
   10249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10251 		fi
   10252 
   10253 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10254 
   10255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10256 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10257 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10258 		if eval test \${$cacheid+y}
   10259 then :
   10260   printf %s "(cached) " >&6
   10261 else $as_nop
   10262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10263 /* end confdefs.h.  */
   10264 int i;
   10265 int
   10266 main (void)
   10267 {
   10268 
   10269   ;
   10270   return 0;
   10271 }
   10272 _ACEOF
   10273 if ac_fn_c_try_link "$LINENO"
   10274 then :
   10275   eval $cacheid=yes
   10276 else $as_nop
   10277   eval $cacheid=no
   10278 fi
   10279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10280     conftest$ac_exeext conftest.$ac_ext
   10281 fi
   10282 
   10283 
   10284 		CFLAGS="$xorg_testset_save_CFLAGS"
   10285 
   10286 		eval supported=\$$cacheid
   10287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10288 printf "%s\n" "$supported" >&6; }
   10289 		if test "$supported" = "yes" ; then
   10290 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10291 			found="yes"
   10292 		fi
   10293 	fi
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 xorg_testset_save_CFLAGS="$CFLAGS"
   10310 
   10311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10314 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10315 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10316 then :
   10317   printf %s "(cached) " >&6
   10318 else $as_nop
   10319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 int i;
   10322 _ACEOF
   10323 if ac_fn_c_try_compile "$LINENO"
   10324 then :
   10325   xorg_cv_cc_flag_unknown_warning_option=yes
   10326 else $as_nop
   10327   xorg_cv_cc_flag_unknown_warning_option=no
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10330 fi
   10331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10332 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10334 	CFLAGS="$xorg_testset_save_CFLAGS"
   10335 fi
   10336 
   10337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10340 	fi
   10341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10345 then :
   10346   printf %s "(cached) " >&6
   10347 else $as_nop
   10348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10349 /* end confdefs.h.  */
   10350 int i;
   10351 _ACEOF
   10352 if ac_fn_c_try_compile "$LINENO"
   10353 then :
   10354   xorg_cv_cc_flag_unused_command_line_argument=yes
   10355 else $as_nop
   10356   xorg_cv_cc_flag_unused_command_line_argument=no
   10357 fi
   10358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10359 fi
   10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10361 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10363 	CFLAGS="$xorg_testset_save_CFLAGS"
   10364 fi
   10365 
   10366 found="no"
   10367 
   10368 	if test $found = "no" ; then
   10369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10371 		fi
   10372 
   10373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10375 		fi
   10376 
   10377 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10378 
   10379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10380 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10381 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10382 		if eval test \${$cacheid+y}
   10383 then :
   10384   printf %s "(cached) " >&6
   10385 else $as_nop
   10386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 int i;
   10389 int
   10390 main (void)
   10391 {
   10392 
   10393   ;
   10394   return 0;
   10395 }
   10396 _ACEOF
   10397 if ac_fn_c_try_link "$LINENO"
   10398 then :
   10399   eval $cacheid=yes
   10400 else $as_nop
   10401   eval $cacheid=no
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10404     conftest$ac_exeext conftest.$ac_ext
   10405 fi
   10406 
   10407 
   10408 		CFLAGS="$xorg_testset_save_CFLAGS"
   10409 
   10410 		eval supported=\$$cacheid
   10411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10412 printf "%s\n" "$supported" >&6; }
   10413 		if test "$supported" = "yes" ; then
   10414 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10415 			found="yes"
   10416 		fi
   10417 	fi
   10418 
   10419 
   10420 fi
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 		CWARNFLAGS="$BASE_CFLAGS"
   10429 		if  test "x$GCC" = xyes ; then
   10430 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10431 		fi
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 # Check whether --enable-strict-compilation was given.
   10441 if test ${enable_strict_compilation+y}
   10442 then :
   10443   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10444 else $as_nop
   10445   STRICT_COMPILE=no
   10446 fi
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 STRICT_CFLAGS=""
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 xorg_testset_save_CFLAGS="$CFLAGS"
   10468 
   10469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10472 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10473 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10474 then :
   10475   printf %s "(cached) " >&6
   10476 else $as_nop
   10477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10478 /* end confdefs.h.  */
   10479 int i;
   10480 _ACEOF
   10481 if ac_fn_c_try_compile "$LINENO"
   10482 then :
   10483   xorg_cv_cc_flag_unknown_warning_option=yes
   10484 else $as_nop
   10485   xorg_cv_cc_flag_unknown_warning_option=no
   10486 fi
   10487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10488 fi
   10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10492 	CFLAGS="$xorg_testset_save_CFLAGS"
   10493 fi
   10494 
   10495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10498 	fi
   10499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10503 then :
   10504   printf %s "(cached) " >&6
   10505 else $as_nop
   10506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10507 /* end confdefs.h.  */
   10508 int i;
   10509 _ACEOF
   10510 if ac_fn_c_try_compile "$LINENO"
   10511 then :
   10512   xorg_cv_cc_flag_unused_command_line_argument=yes
   10513 else $as_nop
   10514   xorg_cv_cc_flag_unused_command_line_argument=no
   10515 fi
   10516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10517 fi
   10518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10519 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10521 	CFLAGS="$xorg_testset_save_CFLAGS"
   10522 fi
   10523 
   10524 found="no"
   10525 
   10526 	if test $found = "no" ; then
   10527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10529 		fi
   10530 
   10531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10533 		fi
   10534 
   10535 		CFLAGS="$CFLAGS -pedantic"
   10536 
   10537 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10538 printf %s "checking if $CC supports -pedantic... " >&6; }
   10539 		cacheid=xorg_cv_cc_flag__pedantic
   10540 		if eval test \${$cacheid+y}
   10541 then :
   10542   printf %s "(cached) " >&6
   10543 else $as_nop
   10544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10545 /* end confdefs.h.  */
   10546 int i;
   10547 int
   10548 main (void)
   10549 {
   10550 
   10551   ;
   10552   return 0;
   10553 }
   10554 _ACEOF
   10555 if ac_fn_c_try_link "$LINENO"
   10556 then :
   10557   eval $cacheid=yes
   10558 else $as_nop
   10559   eval $cacheid=no
   10560 fi
   10561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10562     conftest$ac_exeext conftest.$ac_ext
   10563 fi
   10564 
   10565 
   10566 		CFLAGS="$xorg_testset_save_CFLAGS"
   10567 
   10568 		eval supported=\$$cacheid
   10569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10570 printf "%s\n" "$supported" >&6; }
   10571 		if test "$supported" = "yes" ; then
   10572 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10573 			found="yes"
   10574 		fi
   10575 	fi
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 xorg_testset_save_CFLAGS="$CFLAGS"
   10592 
   10593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10598 then :
   10599   printf %s "(cached) " >&6
   10600 else $as_nop
   10601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10602 /* end confdefs.h.  */
   10603 int i;
   10604 _ACEOF
   10605 if ac_fn_c_try_compile "$LINENO"
   10606 then :
   10607   xorg_cv_cc_flag_unknown_warning_option=yes
   10608 else $as_nop
   10609   xorg_cv_cc_flag_unknown_warning_option=no
   10610 fi
   10611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10612 fi
   10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10614 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10616 	CFLAGS="$xorg_testset_save_CFLAGS"
   10617 fi
   10618 
   10619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10622 	fi
   10623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10627 then :
   10628   printf %s "(cached) " >&6
   10629 else $as_nop
   10630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10631 /* end confdefs.h.  */
   10632 int i;
   10633 _ACEOF
   10634 if ac_fn_c_try_compile "$LINENO"
   10635 then :
   10636   xorg_cv_cc_flag_unused_command_line_argument=yes
   10637 else $as_nop
   10638   xorg_cv_cc_flag_unused_command_line_argument=no
   10639 fi
   10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10641 fi
   10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10643 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10645 	CFLAGS="$xorg_testset_save_CFLAGS"
   10646 fi
   10647 
   10648 found="no"
   10649 
   10650 	if test $found = "no" ; then
   10651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10653 		fi
   10654 
   10655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10657 		fi
   10658 
   10659 		CFLAGS="$CFLAGS -Werror"
   10660 
   10661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10662 printf %s "checking if $CC supports -Werror... " >&6; }
   10663 		cacheid=xorg_cv_cc_flag__Werror
   10664 		if eval test \${$cacheid+y}
   10665 then :
   10666   printf %s "(cached) " >&6
   10667 else $as_nop
   10668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10669 /* end confdefs.h.  */
   10670 int i;
   10671 int
   10672 main (void)
   10673 {
   10674 
   10675   ;
   10676   return 0;
   10677 }
   10678 _ACEOF
   10679 if ac_fn_c_try_link "$LINENO"
   10680 then :
   10681   eval $cacheid=yes
   10682 else $as_nop
   10683   eval $cacheid=no
   10684 fi
   10685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10686     conftest$ac_exeext conftest.$ac_ext
   10687 fi
   10688 
   10689 
   10690 		CFLAGS="$xorg_testset_save_CFLAGS"
   10691 
   10692 		eval supported=\$$cacheid
   10693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10694 printf "%s\n" "$supported" >&6; }
   10695 		if test "$supported" = "yes" ; then
   10696 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10697 			found="yes"
   10698 		fi
   10699 	fi
   10700 
   10701 	if test $found = "no" ; then
   10702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10704 		fi
   10705 
   10706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10708 		fi
   10709 
   10710 		CFLAGS="$CFLAGS -errwarn"
   10711 
   10712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10713 printf %s "checking if $CC supports -errwarn... " >&6; }
   10714 		cacheid=xorg_cv_cc_flag__errwarn
   10715 		if eval test \${$cacheid+y}
   10716 then :
   10717   printf %s "(cached) " >&6
   10718 else $as_nop
   10719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10720 /* end confdefs.h.  */
   10721 int i;
   10722 int
   10723 main (void)
   10724 {
   10725 
   10726   ;
   10727   return 0;
   10728 }
   10729 _ACEOF
   10730 if ac_fn_c_try_link "$LINENO"
   10731 then :
   10732   eval $cacheid=yes
   10733 else $as_nop
   10734   eval $cacheid=no
   10735 fi
   10736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10737     conftest$ac_exeext conftest.$ac_ext
   10738 fi
   10739 
   10740 
   10741 		CFLAGS="$xorg_testset_save_CFLAGS"
   10742 
   10743 		eval supported=\$$cacheid
   10744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10745 printf "%s\n" "$supported" >&6; }
   10746 		if test "$supported" = "yes" ; then
   10747 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10748 			found="yes"
   10749 		fi
   10750 	fi
   10751 
   10752 
   10753 
   10754 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10755 # activate it with -Werror, so we add it here explicitly.
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 xorg_testset_save_CFLAGS="$CFLAGS"
   10770 
   10771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10774 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10775 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10776 then :
   10777   printf %s "(cached) " >&6
   10778 else $as_nop
   10779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10780 /* end confdefs.h.  */
   10781 int i;
   10782 _ACEOF
   10783 if ac_fn_c_try_compile "$LINENO"
   10784 then :
   10785   xorg_cv_cc_flag_unknown_warning_option=yes
   10786 else $as_nop
   10787   xorg_cv_cc_flag_unknown_warning_option=no
   10788 fi
   10789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10790 fi
   10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10792 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10794 	CFLAGS="$xorg_testset_save_CFLAGS"
   10795 fi
   10796 
   10797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10800 	fi
   10801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10803 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10804 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10805 then :
   10806   printf %s "(cached) " >&6
   10807 else $as_nop
   10808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10809 /* end confdefs.h.  */
   10810 int i;
   10811 _ACEOF
   10812 if ac_fn_c_try_compile "$LINENO"
   10813 then :
   10814   xorg_cv_cc_flag_unused_command_line_argument=yes
   10815 else $as_nop
   10816   xorg_cv_cc_flag_unused_command_line_argument=no
   10817 fi
   10818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10819 fi
   10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10823 	CFLAGS="$xorg_testset_save_CFLAGS"
   10824 fi
   10825 
   10826 found="no"
   10827 
   10828 	if test $found = "no" ; then
   10829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10831 		fi
   10832 
   10833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10835 		fi
   10836 
   10837 		CFLAGS="$CFLAGS -Werror=attributes"
   10838 
   10839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10840 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10841 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10842 		if eval test \${$cacheid+y}
   10843 then :
   10844   printf %s "(cached) " >&6
   10845 else $as_nop
   10846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10847 /* end confdefs.h.  */
   10848 int i;
   10849 int
   10850 main (void)
   10851 {
   10852 
   10853   ;
   10854   return 0;
   10855 }
   10856 _ACEOF
   10857 if ac_fn_c_try_link "$LINENO"
   10858 then :
   10859   eval $cacheid=yes
   10860 else $as_nop
   10861   eval $cacheid=no
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10864     conftest$ac_exeext conftest.$ac_ext
   10865 fi
   10866 
   10867 
   10868 		CFLAGS="$xorg_testset_save_CFLAGS"
   10869 
   10870 		eval supported=\$$cacheid
   10871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10872 printf "%s\n" "$supported" >&6; }
   10873 		if test "$supported" = "yes" ; then
   10874 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10875 			found="yes"
   10876 		fi
   10877 	fi
   10878 
   10879 
   10880 
   10881 if test "x$STRICT_COMPILE" = "xyes"; then
   10882     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10883     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10884 fi
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 cat >>confdefs.h <<_ACEOF
   10892 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10893 _ACEOF
   10894 
   10895 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10896 	if test "x$PVM" = "x"; then
   10897 		PVM="0"
   10898 	fi
   10899 
   10900 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   10901 
   10902 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10903 	if test "x$PVP" = "x"; then
   10904 		PVP="0"
   10905 	fi
   10906 
   10907 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   10908 
   10909 
   10910 
   10911 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10912 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10913 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10914 touch \$(top_srcdir)/ChangeLog; \
   10915 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10916 
   10917 
   10918 
   10919 
   10920 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10921 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10922 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10923 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10924 touch \$(top_srcdir)/INSTALL; \
   10925 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 case $host_os in
   10933     solaris*)
   10934         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10935         # check for a man page file found in later versions that use
   10936         # traditional section numbers instead
   10937         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10938 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10939 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   10940 then :
   10941   printf %s "(cached) " >&6
   10942 else $as_nop
   10943   test "$cross_compiling" = yes &&
   10944   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10945 if test -r "/usr/share/man/man7/attributes.7"; then
   10946   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10947 else
   10948   ac_cv_file__usr_share_man_man7_attributes_7=no
   10949 fi
   10950 fi
   10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10952 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10953 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   10954 then :
   10955   SYSV_MAN_SECTIONS=false
   10956 else $as_nop
   10957   SYSV_MAN_SECTIONS=true
   10958 fi
   10959 
   10960         ;;
   10961     *) SYSV_MAN_SECTIONS=false ;;
   10962 esac
   10963 
   10964 if test x$APP_MAN_SUFFIX = x    ; then
   10965     APP_MAN_SUFFIX=1
   10966 fi
   10967 if test x$APP_MAN_DIR = x    ; then
   10968     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10969 fi
   10970 
   10971 if test x$LIB_MAN_SUFFIX = x    ; then
   10972     LIB_MAN_SUFFIX=3
   10973 fi
   10974 if test x$LIB_MAN_DIR = x    ; then
   10975     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10976 fi
   10977 
   10978 if test x$FILE_MAN_SUFFIX = x    ; then
   10979     case $SYSV_MAN_SECTIONS in
   10980 	true)				FILE_MAN_SUFFIX=4  ;;
   10981 	*)				FILE_MAN_SUFFIX=5  ;;
   10982     esac
   10983 fi
   10984 if test x$FILE_MAN_DIR = x    ; then
   10985     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10986 fi
   10987 
   10988 if test x$MISC_MAN_SUFFIX = x    ; then
   10989     case $SYSV_MAN_SECTIONS in
   10990 	true)				MISC_MAN_SUFFIX=5  ;;
   10991 	*)				MISC_MAN_SUFFIX=7  ;;
   10992     esac
   10993 fi
   10994 if test x$MISC_MAN_DIR = x    ; then
   10995     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10996 fi
   10997 
   10998 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10999     case $SYSV_MAN_SECTIONS in
   11000 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11001 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11002     esac
   11003 fi
   11004 if test x$DRIVER_MAN_DIR = x    ; then
   11005     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11006 fi
   11007 
   11008 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11009     case $SYSV_MAN_SECTIONS in
   11010 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11011 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11012     esac
   11013 fi
   11014 if test x$ADMIN_MAN_DIR = x    ; then
   11015     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11016 fi
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 XORG_MAN_PAGE="X Version 11"
   11033 
   11034 MAN_SUBSTS="\
   11035 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11036 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11037 	-e 's|__xservername__|Xorg|g' \
   11038 	-e 's|__xconfigfile__|xorg.conf|g' \
   11039 	-e 's|__projectroot__|\$(prefix)|g' \
   11040 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11041 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11042 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11043 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11044 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11045 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11046 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11047 
   11048 
   11049 
   11050 # Check whether --enable-silent-rules was given.
   11051 if test ${enable_silent_rules+y}
   11052 then :
   11053   enableval=$enable_silent_rules;
   11054 fi
   11055 
   11056 case $enable_silent_rules in # (((
   11057   yes) AM_DEFAULT_VERBOSITY=0;;
   11058    no) AM_DEFAULT_VERBOSITY=1;;
   11059     *) AM_DEFAULT_VERBOSITY=0;;
   11060 esac
   11061 am_make=${MAKE-make}
   11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11063 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11064 if test ${am_cv_make_support_nested_variables+y}
   11065 then :
   11066   printf %s "(cached) " >&6
   11067 else $as_nop
   11068   if printf "%s\n" 'TRUE=$(BAR$(V))
   11069 BAR0=false
   11070 BAR1=true
   11071 V=1
   11072 am__doit:
   11073 	@$(TRUE)
   11074 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11075   am_cv_make_support_nested_variables=yes
   11076 else
   11077   am_cv_make_support_nested_variables=no
   11078 fi
   11079 fi
   11080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11081 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11082 if test $am_cv_make_support_nested_variables = yes; then
   11083     AM_V='$(V)'
   11084   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11085 else
   11086   AM_V=$AM_DEFAULT_VERBOSITY
   11087   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11088 fi
   11089 AM_BACKSLASH='\'
   11090 
   11091 
   11092 
   11093 # Obtain compiler/linker options for the transset dependencies
   11094 
   11095 pkg_failed=no
   11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TRANSSET" >&5
   11097 printf %s "checking for TRANSSET... " >&6; }
   11098 
   11099 if test -n "$TRANSSET_CFLAGS"; then
   11100     pkg_cv_TRANSSET_CFLAGS="$TRANSSET_CFLAGS"
   11101  elif test -n "$PKG_CONFIG"; then
   11102     if test -n "$PKG_CONFIG" && \
   11103     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   11104   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   11105   ac_status=$?
   11106   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11107   test $ac_status = 0; }; then
   11108   pkg_cv_TRANSSET_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.17" 2>/dev/null`
   11109 		      test "x$?" != "x0" && pkg_failed=yes
   11110 else
   11111   pkg_failed=yes
   11112 fi
   11113  else
   11114     pkg_failed=untried
   11115 fi
   11116 if test -n "$TRANSSET_LIBS"; then
   11117     pkg_cv_TRANSSET_LIBS="$TRANSSET_LIBS"
   11118  elif test -n "$PKG_CONFIG"; then
   11119     if test -n "$PKG_CONFIG" && \
   11120     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.17\""; } >&5
   11121   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.17") 2>&5
   11122   ac_status=$?
   11123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11124   test $ac_status = 0; }; then
   11125   pkg_cv_TRANSSET_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.17" 2>/dev/null`
   11126 		      test "x$?" != "x0" && pkg_failed=yes
   11127 else
   11128   pkg_failed=yes
   11129 fi
   11130  else
   11131     pkg_failed=untried
   11132 fi
   11133 
   11134 
   11135 
   11136 if test $pkg_failed = yes; then
   11137    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11138 printf "%s\n" "no" >&6; }
   11139 
   11140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11141         _pkg_short_errors_supported=yes
   11142 else
   11143         _pkg_short_errors_supported=no
   11144 fi
   11145         if test $_pkg_short_errors_supported = yes; then
   11146 	        TRANSSET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
   11147         else
   11148 	        TRANSSET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.17" 2>&1`
   11149         fi
   11150 	# Put the nasty error message in config.log where it belongs
   11151 	echo "$TRANSSET_PKG_ERRORS" >&5
   11152 
   11153 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.17) were not met:
   11154 
   11155 $TRANSSET_PKG_ERRORS
   11156 
   11157 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11158 installed software in a non-standard prefix.
   11159 
   11160 Alternatively, you may set the environment variables TRANSSET_CFLAGS
   11161 and TRANSSET_LIBS to avoid the need to call pkg-config.
   11162 See the pkg-config man page for more details." "$LINENO" 5
   11163 elif test $pkg_failed = untried; then
   11164      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11165 printf "%s\n" "no" >&6; }
   11166 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   11168 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11169 is in your PATH or set the PKG_CONFIG environment variable to the full
   11170 path to pkg-config.
   11171 
   11172 Alternatively, you may set the environment variables TRANSSET_CFLAGS
   11173 and TRANSSET_LIBS to avoid the need to call pkg-config.
   11174 See the pkg-config man page for more details.
   11175 
   11176 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11177 See \`config.log' for more details" "$LINENO" 5; }
   11178 else
   11179 	TRANSSET_CFLAGS=$pkg_cv_TRANSSET_CFLAGS
   11180 	TRANSSET_LIBS=$pkg_cv_TRANSSET_LIBS
   11181         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11182 printf "%s\n" "yes" >&6; }
   11183 
   11184 fi
   11185 
   11186 
   11187 printf "%s\n" "#define RELEASE_DATE \"$RELEASE_DATE\"" >>confdefs.h
   11188 
   11189 
   11190 ac_config_files="$ac_config_files Makefile man/Makefile"
   11191 
   11192 cat >confcache <<\_ACEOF
   11193 # This file is a shell script that caches the results of configure
   11194 # tests run on this system so they can be shared between configure
   11195 # scripts and configure runs, see configure's option --config-cache.
   11196 # It is not useful on other systems.  If it contains results you don't
   11197 # want to keep, you may remove or edit it.
   11198 #
   11199 # config.status only pays attention to the cache file if you give it
   11200 # the --recheck option to rerun configure.
   11201 #
   11202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11204 # following values.
   11205 
   11206 _ACEOF
   11207 
   11208 # The following way of writing the cache mishandles newlines in values,
   11209 # but we know of no workaround that is simple, portable, and efficient.
   11210 # So, we kill variables containing newlines.
   11211 # Ultrix sh set writes to stderr and can't be redirected directly,
   11212 # and sets the high bit in the cache file unless we assign to the vars.
   11213 (
   11214   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11215     eval ac_val=\$$ac_var
   11216     case $ac_val in #(
   11217     *${as_nl}*)
   11218       case $ac_var in #(
   11219       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11220 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11221       esac
   11222       case $ac_var in #(
   11223       _ | IFS | as_nl) ;; #(
   11224       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11225       *) { eval $ac_var=; unset $ac_var;} ;;
   11226       esac ;;
   11227     esac
   11228   done
   11229 
   11230   (set) 2>&1 |
   11231     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11232     *${as_nl}ac_space=\ *)
   11233       # `set' does not quote correctly, so add quotes: double-quote
   11234       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11235       sed -n \
   11236 	"s/'/'\\\\''/g;
   11237 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11238       ;; #(
   11239     *)
   11240       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11241       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11242       ;;
   11243     esac |
   11244     sort
   11245 ) |
   11246   sed '
   11247      /^ac_cv_env_/b end
   11248      t clear
   11249      :clear
   11250      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11251      t end
   11252      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11253      :end' >>confcache
   11254 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11255   if test -w "$cache_file"; then
   11256     if test "x$cache_file" != "x/dev/null"; then
   11257       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11258 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11259       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11260 	cat confcache >"$cache_file"
   11261       else
   11262         case $cache_file in #(
   11263         */* | ?:*)
   11264 	  mv -f confcache "$cache_file"$$ &&
   11265 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11266         *)
   11267 	  mv -f confcache "$cache_file" ;;
   11268 	esac
   11269       fi
   11270     fi
   11271   else
   11272     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11273 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11274   fi
   11275 fi
   11276 rm -f confcache
   11277 
   11278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11279 # Let make expand exec_prefix.
   11280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11281 
   11282 DEFS=-DHAVE_CONFIG_H
   11283 
   11284 ac_libobjs=
   11285 ac_ltlibobjs=
   11286 U=
   11287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11288   # 1. Remove the extension, and $U if already installed.
   11289   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11290   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11291   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11292   #    will be set to the directory where LIBOBJS objects are built.
   11293   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11294   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11295 done
   11296 LIBOBJS=$ac_libobjs
   11297 
   11298 LTLIBOBJS=$ac_ltlibobjs
   11299 
   11300 
   11301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11302 printf %s "checking that generated files are newer than configure... " >&6; }
   11303    if test -n "$am_sleep_pid"; then
   11304      # Hide warnings about reused PIDs.
   11305      wait $am_sleep_pid 2>/dev/null
   11306    fi
   11307    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11308 printf "%s\n" "done" >&6; }
   11309  if test -n "$EXEEXT"; then
   11310   am__EXEEXT_TRUE=
   11311   am__EXEEXT_FALSE='#'
   11312 else
   11313   am__EXEEXT_TRUE='#'
   11314   am__EXEEXT_FALSE=
   11315 fi
   11316 
   11317 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11318   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11320 fi
   11321 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11322   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11324 fi
   11325 
   11326 : "${CONFIG_STATUS=./config.status}"
   11327 ac_write_fail=0
   11328 ac_clean_files_save=$ac_clean_files
   11329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11331 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11332 as_write_fail=0
   11333 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11334 #! $SHELL
   11335 # Generated by $as_me.
   11336 # Run this file to recreate the current configuration.
   11337 # Compiler output produced by configure, useful for debugging
   11338 # configure, is in config.log if it exists.
   11339 
   11340 debug=false
   11341 ac_cs_recheck=false
   11342 ac_cs_silent=false
   11343 
   11344 SHELL=\${CONFIG_SHELL-$SHELL}
   11345 export SHELL
   11346 _ASEOF
   11347 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11348 ## -------------------- ##
   11349 ## M4sh Initialization. ##
   11350 ## -------------------- ##
   11351 
   11352 # Be more Bourne compatible
   11353 DUALCASE=1; export DUALCASE # for MKS sh
   11354 as_nop=:
   11355 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11356 then :
   11357   emulate sh
   11358   NULLCMD=:
   11359   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11360   # is contrary to our usage.  Disable this feature.
   11361   alias -g '${1+"$@"}'='"$@"'
   11362   setopt NO_GLOB_SUBST
   11363 else $as_nop
   11364   case `(set -o) 2>/dev/null` in #(
   11365   *posix*) :
   11366     set -o posix ;; #(
   11367   *) :
   11368      ;;
   11369 esac
   11370 fi
   11371 
   11372 
   11373 
   11374 # Reset variables that may have inherited troublesome values from
   11375 # the environment.
   11376 
   11377 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11378 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11379 # side effect of setting IFS to empty, thus disabling word splitting.)
   11380 # Quoting is to prevent editors from complaining about space-tab.
   11381 as_nl='
   11382 '
   11383 export as_nl
   11384 IFS=" ""	$as_nl"
   11385 
   11386 PS1='$ '
   11387 PS2='> '
   11388 PS4='+ '
   11389 
   11390 # Ensure predictable behavior from utilities with locale-dependent output.
   11391 LC_ALL=C
   11392 export LC_ALL
   11393 LANGUAGE=C
   11394 export LANGUAGE
   11395 
   11396 # We cannot yet rely on "unset" to work, but we need these variables
   11397 # to be unset--not just set to an empty or harmless value--now, to
   11398 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   11399 # also avoids known problems related to "unset" and subshell syntax
   11400 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   11401 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   11402 do eval test \${$as_var+y} \
   11403   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11404 done
   11405 
   11406 # Ensure that fds 0, 1, and 2 are open.
   11407 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   11408 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   11409 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   11410 
   11411 # The user is always right.
   11412 if ${PATH_SEPARATOR+false} :; then
   11413   PATH_SEPARATOR=:
   11414   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11415     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11416       PATH_SEPARATOR=';'
   11417   }
   11418 fi
   11419 
   11420 
   11421 # Find who we are.  Look in the path if we contain no directory separator.
   11422 as_myself=
   11423 case $0 in #((
   11424   *[\\/]* ) as_myself=$0 ;;
   11425   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11426 for as_dir in $PATH
   11427 do
   11428   IFS=$as_save_IFS
   11429   case $as_dir in #(((
   11430     '') as_dir=./ ;;
   11431     */) ;;
   11432     *) as_dir=$as_dir/ ;;
   11433   esac
   11434     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   11435   done
   11436 IFS=$as_save_IFS
   11437 
   11438      ;;
   11439 esac
   11440 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11441 # in which case we are not to be found in the path.
   11442 if test "x$as_myself" = x; then
   11443   as_myself=$0
   11444 fi
   11445 if test ! -f "$as_myself"; then
   11446   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11447   exit 1
   11448 fi
   11449 
   11450 
   11451 
   11452 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11453 # ----------------------------------------
   11454 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11455 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11456 # script with STATUS, using 1 if that was 0.
   11457 as_fn_error ()
   11458 {
   11459   as_status=$1; test $as_status -eq 0 && as_status=1
   11460   if test "$4"; then
   11461     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11462     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11463   fi
   11464   printf "%s\n" "$as_me: error: $2" >&2
   11465   as_fn_exit $as_status
   11466 } # as_fn_error
   11467 
   11468 
   11469 
   11470 # as_fn_set_status STATUS
   11471 # -----------------------
   11472 # Set $? to STATUS, without forking.
   11473 as_fn_set_status ()
   11474 {
   11475   return $1
   11476 } # as_fn_set_status
   11477 
   11478 # as_fn_exit STATUS
   11479 # -----------------
   11480 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11481 as_fn_exit ()
   11482 {
   11483   set +e
   11484   as_fn_set_status $1
   11485   exit $1
   11486 } # as_fn_exit
   11487 
   11488 # as_fn_unset VAR
   11489 # ---------------
   11490 # Portably unset VAR.
   11491 as_fn_unset ()
   11492 {
   11493   { eval $1=; unset $1;}
   11494 }
   11495 as_unset=as_fn_unset
   11496 
   11497 # as_fn_append VAR VALUE
   11498 # ----------------------
   11499 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11500 # advantage of any shell optimizations that allow amortized linear growth over
   11501 # repeated appends, instead of the typical quadratic growth present in naive
   11502 # implementations.
   11503 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   11504 then :
   11505   eval 'as_fn_append ()
   11506   {
   11507     eval $1+=\$2
   11508   }'
   11509 else $as_nop
   11510   as_fn_append ()
   11511   {
   11512     eval $1=\$$1\$2
   11513   }
   11514 fi # as_fn_append
   11515 
   11516 # as_fn_arith ARG...
   11517 # ------------------
   11518 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11519 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11520 # must be portable across $(()) and expr.
   11521 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   11522 then :
   11523   eval 'as_fn_arith ()
   11524   {
   11525     as_val=$(( $* ))
   11526   }'
   11527 else $as_nop
   11528   as_fn_arith ()
   11529   {
   11530     as_val=`expr "$@" || test $? -eq 1`
   11531   }
   11532 fi # as_fn_arith
   11533 
   11534 
   11535 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11536    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11537   as_expr=expr
   11538 else
   11539   as_expr=false
   11540 fi
   11541 
   11542 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11543   as_basename=basename
   11544 else
   11545   as_basename=false
   11546 fi
   11547 
   11548 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11549   as_dirname=dirname
   11550 else
   11551   as_dirname=false
   11552 fi
   11553 
   11554 as_me=`$as_basename -- "$0" ||
   11555 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11556 	 X"$0" : 'X\(//\)$' \| \
   11557 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11558 printf "%s\n" X/"$0" |
   11559     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11560 	    s//\1/
   11561 	    q
   11562 	  }
   11563 	  /^X\/\(\/\/\)$/{
   11564 	    s//\1/
   11565 	    q
   11566 	  }
   11567 	  /^X\/\(\/\).*/{
   11568 	    s//\1/
   11569 	    q
   11570 	  }
   11571 	  s/.*/./; q'`
   11572 
   11573 # Avoid depending upon Character Ranges.
   11574 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11575 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11576 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11577 as_cr_digits='0123456789'
   11578 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11579 
   11580 
   11581 # Determine whether it's possible to make 'echo' print without a newline.
   11582 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   11583 # for compatibility with existing Makefiles.
   11584 ECHO_C= ECHO_N= ECHO_T=
   11585 case `echo -n x` in #(((((
   11586 -n*)
   11587   case `echo 'xy\c'` in
   11588   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11589   xy)  ECHO_C='\c';;
   11590   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11591        ECHO_T='	';;
   11592   esac;;
   11593 *)
   11594   ECHO_N='-n';;
   11595 esac
   11596 
   11597 # For backward compatibility with old third-party macros, we provide
   11598 # the shell variables $as_echo and $as_echo_n.  New code should use
   11599 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   11600 as_echo='printf %s\n'
   11601 as_echo_n='printf %s'
   11602 
   11603 rm -f conf$$ conf$$.exe conf$$.file
   11604 if test -d conf$$.dir; then
   11605   rm -f conf$$.dir/conf$$.file
   11606 else
   11607   rm -f conf$$.dir
   11608   mkdir conf$$.dir 2>/dev/null
   11609 fi
   11610 if (echo >conf$$.file) 2>/dev/null; then
   11611   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11612     as_ln_s='ln -s'
   11613     # ... but there are two gotchas:
   11614     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11615     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11616     # In both cases, we have to default to `cp -pR'.
   11617     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11618       as_ln_s='cp -pR'
   11619   elif ln conf$$.file conf$$ 2>/dev/null; then
   11620     as_ln_s=ln
   11621   else
   11622     as_ln_s='cp -pR'
   11623   fi
   11624 else
   11625   as_ln_s='cp -pR'
   11626 fi
   11627 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11628 rmdir conf$$.dir 2>/dev/null
   11629 
   11630 
   11631 # as_fn_mkdir_p
   11632 # -------------
   11633 # Create "$as_dir" as a directory, including parents if necessary.
   11634 as_fn_mkdir_p ()
   11635 {
   11636 
   11637   case $as_dir in #(
   11638   -*) as_dir=./$as_dir;;
   11639   esac
   11640   test -d "$as_dir" || eval $as_mkdir_p || {
   11641     as_dirs=
   11642     while :; do
   11643       case $as_dir in #(
   11644       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11645       *) as_qdir=$as_dir;;
   11646       esac
   11647       as_dirs="'$as_qdir' $as_dirs"
   11648       as_dir=`$as_dirname -- "$as_dir" ||
   11649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11650 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11651 	 X"$as_dir" : 'X\(//\)$' \| \
   11652 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11653 printf "%s\n" X"$as_dir" |
   11654     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11655 	    s//\1/
   11656 	    q
   11657 	  }
   11658 	  /^X\(\/\/\)[^/].*/{
   11659 	    s//\1/
   11660 	    q
   11661 	  }
   11662 	  /^X\(\/\/\)$/{
   11663 	    s//\1/
   11664 	    q
   11665 	  }
   11666 	  /^X\(\/\).*/{
   11667 	    s//\1/
   11668 	    q
   11669 	  }
   11670 	  s/.*/./; q'`
   11671       test -d "$as_dir" && break
   11672     done
   11673     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11674   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11675 
   11676 
   11677 } # as_fn_mkdir_p
   11678 if mkdir -p . 2>/dev/null; then
   11679   as_mkdir_p='mkdir -p "$as_dir"'
   11680 else
   11681   test -d ./-p && rmdir ./-p
   11682   as_mkdir_p=false
   11683 fi
   11684 
   11685 
   11686 # as_fn_executable_p FILE
   11687 # -----------------------
   11688 # Test if FILE is an executable regular file.
   11689 as_fn_executable_p ()
   11690 {
   11691   test -f "$1" && test -x "$1"
   11692 } # as_fn_executable_p
   11693 as_test_x='test -x'
   11694 as_executable_p=as_fn_executable_p
   11695 
   11696 # Sed expression to map a string onto a valid CPP name.
   11697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11698 
   11699 # Sed expression to map a string onto a valid variable name.
   11700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11701 
   11702 
   11703 exec 6>&1
   11704 ## ----------------------------------- ##
   11705 ## Main body of $CONFIG_STATUS script. ##
   11706 ## ----------------------------------- ##
   11707 _ASEOF
   11708 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11709 
   11710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11711 # Save the log message, to keep $0 and so on meaningful, and to
   11712 # report actual input values of CONFIG_FILES etc. instead of their
   11713 # values after options handling.
   11714 ac_log="
   11715 This file was extended by transset $as_me 1.0.3, which was
   11716 generated by GNU Autoconf 2.71.  Invocation command line was
   11717 
   11718   CONFIG_FILES    = $CONFIG_FILES
   11719   CONFIG_HEADERS  = $CONFIG_HEADERS
   11720   CONFIG_LINKS    = $CONFIG_LINKS
   11721   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11722   $ $0 $@
   11723 
   11724 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11725 "
   11726 
   11727 _ACEOF
   11728 
   11729 case $ac_config_files in *"
   11730 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11731 esac
   11732 
   11733 case $ac_config_headers in *"
   11734 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11735 esac
   11736 
   11737 
   11738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11739 # Files that config.status was made for.
   11740 config_files="$ac_config_files"
   11741 config_headers="$ac_config_headers"
   11742 config_commands="$ac_config_commands"
   11743 
   11744 _ACEOF
   11745 
   11746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11747 ac_cs_usage="\
   11748 \`$as_me' instantiates files and other configuration actions
   11749 from templates according to the current configuration.  Unless the files
   11750 and actions are specified as TAGs, all are instantiated by default.
   11751 
   11752 Usage: $0 [OPTION]... [TAG]...
   11753 
   11754   -h, --help       print this help, then exit
   11755   -V, --version    print version number and configuration settings, then exit
   11756       --config     print configuration, then exit
   11757   -q, --quiet, --silent
   11758                    do not print progress messages
   11759   -d, --debug      don't remove temporary files
   11760       --recheck    update $as_me by reconfiguring in the same conditions
   11761       --file=FILE[:TEMPLATE]
   11762                    instantiate the configuration file FILE
   11763       --header=FILE[:TEMPLATE]
   11764                    instantiate the configuration header FILE
   11765 
   11766 Configuration files:
   11767 $config_files
   11768 
   11769 Configuration headers:
   11770 $config_headers
   11771 
   11772 Configuration commands:
   11773 $config_commands
   11774 
   11775 Report bugs to <https://gitlab.freedesktop.org/xorg/app/transset/-/issues>."
   11776 
   11777 _ACEOF
   11778 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   11779 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   11780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11781 ac_cs_config='$ac_cs_config_escaped'
   11782 ac_cs_version="\\
   11783 transset config.status 1.0.3
   11784 configured by $0, generated by GNU Autoconf 2.71,
   11785   with options \\"\$ac_cs_config\\"
   11786 
   11787 Copyright (C) 2021 Free Software Foundation, Inc.
   11788 This config.status script is free software; the Free Software Foundation
   11789 gives unlimited permission to copy, distribute and modify it."
   11790 
   11791 ac_pwd='$ac_pwd'
   11792 srcdir='$srcdir'
   11793 INSTALL='$INSTALL'
   11794 MKDIR_P='$MKDIR_P'
   11795 AWK='$AWK'
   11796 test -n "\$AWK" || AWK=awk
   11797 _ACEOF
   11798 
   11799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11800 # The default lists apply if the user does not specify any file.
   11801 ac_need_defaults=:
   11802 while test $# != 0
   11803 do
   11804   case $1 in
   11805   --*=?*)
   11806     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11807     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11808     ac_shift=:
   11809     ;;
   11810   --*=)
   11811     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11812     ac_optarg=
   11813     ac_shift=:
   11814     ;;
   11815   *)
   11816     ac_option=$1
   11817     ac_optarg=$2
   11818     ac_shift=shift
   11819     ;;
   11820   esac
   11821 
   11822   case $ac_option in
   11823   # Handling of the options.
   11824   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11825     ac_cs_recheck=: ;;
   11826   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11827     printf "%s\n" "$ac_cs_version"; exit ;;
   11828   --config | --confi | --conf | --con | --co | --c )
   11829     printf "%s\n" "$ac_cs_config"; exit ;;
   11830   --debug | --debu | --deb | --de | --d | -d )
   11831     debug=: ;;
   11832   --file | --fil | --fi | --f )
   11833     $ac_shift
   11834     case $ac_optarg in
   11835     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11836     '') as_fn_error $? "missing file argument" ;;
   11837     esac
   11838     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11839     ac_need_defaults=false;;
   11840   --header | --heade | --head | --hea )
   11841     $ac_shift
   11842     case $ac_optarg in
   11843     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11844     esac
   11845     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11846     ac_need_defaults=false;;
   11847   --he | --h)
   11848     # Conflict between --help and --header
   11849     as_fn_error $? "ambiguous option: \`$1'
   11850 Try \`$0 --help' for more information.";;
   11851   --help | --hel | -h )
   11852     printf "%s\n" "$ac_cs_usage"; exit ;;
   11853   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11854   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11855     ac_cs_silent=: ;;
   11856 
   11857   # This is an error.
   11858   -*) as_fn_error $? "unrecognized option: \`$1'
   11859 Try \`$0 --help' for more information." ;;
   11860 
   11861   *) as_fn_append ac_config_targets " $1"
   11862      ac_need_defaults=false ;;
   11863 
   11864   esac
   11865   shift
   11866 done
   11867 
   11868 ac_configure_extra_args=
   11869 
   11870 if $ac_cs_silent; then
   11871   exec 6>/dev/null
   11872   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11873 fi
   11874 
   11875 _ACEOF
   11876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11877 if \$ac_cs_recheck; then
   11878   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11879   shift
   11880   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   11881   CONFIG_SHELL='$SHELL'
   11882   export CONFIG_SHELL
   11883   exec "\$@"
   11884 fi
   11885 
   11886 _ACEOF
   11887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11888 exec 5>>config.log
   11889 {
   11890   echo
   11891   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11892 ## Running $as_me. ##
   11893 _ASBOX
   11894   printf "%s\n" "$ac_log"
   11895 } >&5
   11896 
   11897 _ACEOF
   11898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11899 #
   11900 # INIT-COMMANDS
   11901 #
   11902 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   11903 
   11904 _ACEOF
   11905 
   11906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11907 
   11908 # Handling of arguments.
   11909 for ac_config_target in $ac_config_targets
   11910 do
   11911   case $ac_config_target in
   11912     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11913     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11914     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11915     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11916 
   11917   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11918   esac
   11919 done
   11920 
   11921 
   11922 # If the user did not use the arguments to specify the items to instantiate,
   11923 # then the envvar interface is used.  Set only those that are not.
   11924 # We use the long form for the default assignment because of an extremely
   11925 # bizarre bug on SunOS 4.1.3.
   11926 if $ac_need_defaults; then
   11927   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   11928   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   11929   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   11930 fi
   11931 
   11932 # Have a temporary directory for convenience.  Make it in the build tree
   11933 # simply because there is no reason against having it here, and in addition,
   11934 # creating and moving files from /tmp can sometimes cause problems.
   11935 # Hook for its removal unless debugging.
   11936 # Note that there is a small window in which the directory will not be cleaned:
   11937 # after its creation but before its name has been assigned to `$tmp'.
   11938 $debug ||
   11939 {
   11940   tmp= ac_tmp=
   11941   trap 'exit_status=$?
   11942   : "${ac_tmp:=$tmp}"
   11943   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11944 ' 0
   11945   trap 'as_fn_exit 1' 1 2 13 15
   11946 }
   11947 # Create a (secure) tmp directory for tmp files.
   11948 
   11949 {
   11950   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11951   test -d "$tmp"
   11952 }  ||
   11953 {
   11954   tmp=./conf$$-$RANDOM
   11955   (umask 077 && mkdir "$tmp")
   11956 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11957 ac_tmp=$tmp
   11958 
   11959 # Set up the scripts for CONFIG_FILES section.
   11960 # No need to generate them if there are no CONFIG_FILES.
   11961 # This happens for instance with `./config.status config.h'.
   11962 if test -n "$CONFIG_FILES"; then
   11963 
   11964 
   11965 ac_cr=`echo X | tr X '\015'`
   11966 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11967 # But we know of no other shell where ac_cr would be empty at this
   11968 # point, so we can use a bashism as a fallback.
   11969 if test "x$ac_cr" = x; then
   11970   eval ac_cr=\$\'\\r\'
   11971 fi
   11972 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11973 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11974   ac_cs_awk_cr='\\r'
   11975 else
   11976   ac_cs_awk_cr=$ac_cr
   11977 fi
   11978 
   11979 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11980 _ACEOF
   11981 
   11982 
   11983 {
   11984   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11985   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11986   echo "_ACEOF"
   11987 } >conf$$subs.sh ||
   11988   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11990 ac_delim='%!_!# '
   11991 for ac_last_try in false false false false false :; do
   11992   . ./conf$$subs.sh ||
   11993     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11994 
   11995   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11996   if test $ac_delim_n = $ac_delim_num; then
   11997     break
   11998   elif $ac_last_try; then
   11999     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12000   else
   12001     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12002   fi
   12003 done
   12004 rm -f conf$$subs.sh
   12005 
   12006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12007 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12008 _ACEOF
   12009 sed -n '
   12010 h
   12011 s/^/S["/; s/!.*/"]=/
   12012 p
   12013 g
   12014 s/^[^!]*!//
   12015 :repl
   12016 t repl
   12017 s/'"$ac_delim"'$//
   12018 t delim
   12019 :nl
   12020 h
   12021 s/\(.\{148\}\)..*/\1/
   12022 t more1
   12023 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12024 p
   12025 n
   12026 b repl
   12027 :more1
   12028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12029 p
   12030 g
   12031 s/.\{148\}//
   12032 t nl
   12033 :delim
   12034 h
   12035 s/\(.\{148\}\)..*/\1/
   12036 t more2
   12037 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12038 p
   12039 b
   12040 :more2
   12041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12042 p
   12043 g
   12044 s/.\{148\}//
   12045 t delim
   12046 ' <conf$$subs.awk | sed '
   12047 /^[^""]/{
   12048   N
   12049   s/\n//
   12050 }
   12051 ' >>$CONFIG_STATUS || ac_write_fail=1
   12052 rm -f conf$$subs.awk
   12053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12054 _ACAWK
   12055 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12056   for (key in S) S_is_set[key] = 1
   12057   FS = ""
   12058 
   12059 }
   12060 {
   12061   line = $ 0
   12062   nfields = split(line, field, "@")
   12063   substed = 0
   12064   len = length(field[1])
   12065   for (i = 2; i < nfields; i++) {
   12066     key = field[i]
   12067     keylen = length(key)
   12068     if (S_is_set[key]) {
   12069       value = S[key]
   12070       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12071       len += length(value) + length(field[++i])
   12072       substed = 1
   12073     } else
   12074       len += 1 + keylen
   12075   }
   12076 
   12077   print line
   12078 }
   12079 
   12080 _ACAWK
   12081 _ACEOF
   12082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12083 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12084   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12085 else
   12086   cat
   12087 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12088   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12089 _ACEOF
   12090 
   12091 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12092 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12093 # trailing colons and then remove the whole line if VPATH becomes empty
   12094 # (actually we leave an empty line to preserve line numbers).
   12095 if test "x$srcdir" = x.; then
   12096   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12097 h
   12098 s///
   12099 s/^/:/
   12100 s/[	 ]*$/:/
   12101 s/:\$(srcdir):/:/g
   12102 s/:\${srcdir}:/:/g
   12103 s/:@srcdir@:/:/g
   12104 s/^:*//
   12105 s/:*$//
   12106 x
   12107 s/\(=[	 ]*\).*/\1/
   12108 G
   12109 s/\n//
   12110 s/^[^=]*=[	 ]*$//
   12111 }'
   12112 fi
   12113 
   12114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12115 fi # test -n "$CONFIG_FILES"
   12116 
   12117 # Set up the scripts for CONFIG_HEADERS section.
   12118 # No need to generate them if there are no CONFIG_HEADERS.
   12119 # This happens for instance with `./config.status Makefile'.
   12120 if test -n "$CONFIG_HEADERS"; then
   12121 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12122 BEGIN {
   12123 _ACEOF
   12124 
   12125 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12126 # here-document in config.status, that substitutes the proper values into
   12127 # config.h.in to produce config.h.
   12128 
   12129 # Create a delimiter string that does not exist in confdefs.h, to ease
   12130 # handling of long lines.
   12131 ac_delim='%!_!# '
   12132 for ac_last_try in false false :; do
   12133   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12134   if test -z "$ac_tt"; then
   12135     break
   12136   elif $ac_last_try; then
   12137     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12138   else
   12139     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12140   fi
   12141 done
   12142 
   12143 # For the awk script, D is an array of macro values keyed by name,
   12144 # likewise P contains macro parameters if any.  Preserve backslash
   12145 # newline sequences.
   12146 
   12147 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12148 sed -n '
   12149 s/.\{148\}/&'"$ac_delim"'/g
   12150 t rset
   12151 :rset
   12152 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12153 t def
   12154 d
   12155 :def
   12156 s/\\$//
   12157 t bsnl
   12158 s/["\\]/\\&/g
   12159 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12160 D["\1"]=" \3"/p
   12161 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12162 d
   12163 :bsnl
   12164 s/["\\]/\\&/g
   12165 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12166 D["\1"]=" \3\\\\\\n"\\/p
   12167 t cont
   12168 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12169 t cont
   12170 d
   12171 :cont
   12172 n
   12173 s/.\{148\}/&'"$ac_delim"'/g
   12174 t clear
   12175 :clear
   12176 s/\\$//
   12177 t bsnlc
   12178 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12179 d
   12180 :bsnlc
   12181 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12182 b cont
   12183 ' <confdefs.h | sed '
   12184 s/'"$ac_delim"'/"\\\
   12185 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12186 
   12187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12188   for (key in D) D_is_set[key] = 1
   12189   FS = ""
   12190 }
   12191 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12192   line = \$ 0
   12193   split(line, arg, " ")
   12194   if (arg[1] == "#") {
   12195     defundef = arg[2]
   12196     mac1 = arg[3]
   12197   } else {
   12198     defundef = substr(arg[1], 2)
   12199     mac1 = arg[2]
   12200   }
   12201   split(mac1, mac2, "(") #)
   12202   macro = mac2[1]
   12203   prefix = substr(line, 1, index(line, defundef) - 1)
   12204   if (D_is_set[macro]) {
   12205     # Preserve the white space surrounding the "#".
   12206     print prefix "define", macro P[macro] D[macro]
   12207     next
   12208   } else {
   12209     # Replace #undef with comments.  This is necessary, for example,
   12210     # in the case of _POSIX_SOURCE, which is predefined and required
   12211     # on some systems where configure will not decide to define it.
   12212     if (defundef == "undef") {
   12213       print "/*", prefix defundef, macro, "*/"
   12214       next
   12215     }
   12216   }
   12217 }
   12218 { print }
   12219 _ACAWK
   12220 _ACEOF
   12221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12222   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12223 fi # test -n "$CONFIG_HEADERS"
   12224 
   12225 
   12226 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12227 shift
   12228 for ac_tag
   12229 do
   12230   case $ac_tag in
   12231   :[FHLC]) ac_mode=$ac_tag; continue;;
   12232   esac
   12233   case $ac_mode$ac_tag in
   12234   :[FHL]*:*);;
   12235   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12236   :[FH]-) ac_tag=-:-;;
   12237   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12238   esac
   12239   ac_save_IFS=$IFS
   12240   IFS=:
   12241   set x $ac_tag
   12242   IFS=$ac_save_IFS
   12243   shift
   12244   ac_file=$1
   12245   shift
   12246 
   12247   case $ac_mode in
   12248   :L) ac_source=$1;;
   12249   :[FH])
   12250     ac_file_inputs=
   12251     for ac_f
   12252     do
   12253       case $ac_f in
   12254       -) ac_f="$ac_tmp/stdin";;
   12255       *) # Look for the file first in the build tree, then in the source tree
   12256 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12257 	 # because $ac_f cannot contain `:'.
   12258 	 test -f "$ac_f" ||
   12259 	   case $ac_f in
   12260 	   [\\/$]*) false;;
   12261 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12262 	   esac ||
   12263 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12264       esac
   12265       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12266       as_fn_append ac_file_inputs " '$ac_f'"
   12267     done
   12268 
   12269     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12270     # use $as_me), people would be surprised to read:
   12271     #    /* config.h.  Generated by config.status.  */
   12272     configure_input='Generated from '`
   12273 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12274 	`' by configure.'
   12275     if test x"$ac_file" != x-; then
   12276       configure_input="$ac_file.  $configure_input"
   12277       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12278 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12279     fi
   12280     # Neutralize special characters interpreted by sed in replacement strings.
   12281     case $configure_input in #(
   12282     *\&* | *\|* | *\\* )
   12283        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12284        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12285     *) ac_sed_conf_input=$configure_input;;
   12286     esac
   12287 
   12288     case $ac_tag in
   12289     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12290       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12291     esac
   12292     ;;
   12293   esac
   12294 
   12295   ac_dir=`$as_dirname -- "$ac_file" ||
   12296 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12297 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12298 	 X"$ac_file" : 'X\(//\)$' \| \
   12299 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12300 printf "%s\n" X"$ac_file" |
   12301     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12302 	    s//\1/
   12303 	    q
   12304 	  }
   12305 	  /^X\(\/\/\)[^/].*/{
   12306 	    s//\1/
   12307 	    q
   12308 	  }
   12309 	  /^X\(\/\/\)$/{
   12310 	    s//\1/
   12311 	    q
   12312 	  }
   12313 	  /^X\(\/\).*/{
   12314 	    s//\1/
   12315 	    q
   12316 	  }
   12317 	  s/.*/./; q'`
   12318   as_dir="$ac_dir"; as_fn_mkdir_p
   12319   ac_builddir=.
   12320 
   12321 case "$ac_dir" in
   12322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12323 *)
   12324   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12325   # A ".." for each directory in $ac_dir_suffix.
   12326   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12327   case $ac_top_builddir_sub in
   12328   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12329   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12330   esac ;;
   12331 esac
   12332 ac_abs_top_builddir=$ac_pwd
   12333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12334 # for backward compatibility:
   12335 ac_top_builddir=$ac_top_build_prefix
   12336 
   12337 case $srcdir in
   12338   .)  # We are building in place.
   12339     ac_srcdir=.
   12340     ac_top_srcdir=$ac_top_builddir_sub
   12341     ac_abs_top_srcdir=$ac_pwd ;;
   12342   [\\/]* | ?:[\\/]* )  # Absolute name.
   12343     ac_srcdir=$srcdir$ac_dir_suffix;
   12344     ac_top_srcdir=$srcdir
   12345     ac_abs_top_srcdir=$srcdir ;;
   12346   *) # Relative name.
   12347     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12348     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12349     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12350 esac
   12351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12352 
   12353 
   12354   case $ac_mode in
   12355   :F)
   12356   #
   12357   # CONFIG_FILE
   12358   #
   12359 
   12360   case $INSTALL in
   12361   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12362   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12363   esac
   12364   ac_MKDIR_P=$MKDIR_P
   12365   case $MKDIR_P in
   12366   [\\/$]* | ?:[\\/]* ) ;;
   12367   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12368   esac
   12369 _ACEOF
   12370 
   12371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12372 # If the template does not know about datarootdir, expand it.
   12373 # FIXME: This hack should be removed a few years after 2.60.
   12374 ac_datarootdir_hack=; ac_datarootdir_seen=
   12375 ac_sed_dataroot='
   12376 /datarootdir/ {
   12377   p
   12378   q
   12379 }
   12380 /@datadir@/p
   12381 /@docdir@/p
   12382 /@infodir@/p
   12383 /@localedir@/p
   12384 /@mandir@/p'
   12385 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12386 *datarootdir*) ac_datarootdir_seen=yes;;
   12387 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12389 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12390 _ACEOF
   12391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12392   ac_datarootdir_hack='
   12393   s&@datadir@&$datadir&g
   12394   s&@docdir@&$docdir&g
   12395   s&@infodir@&$infodir&g
   12396   s&@localedir@&$localedir&g
   12397   s&@mandir@&$mandir&g
   12398   s&\\\${datarootdir}&$datarootdir&g' ;;
   12399 esac
   12400 _ACEOF
   12401 
   12402 # Neutralize VPATH when `$srcdir' = `.'.
   12403 # Shell code in configure.ac might set extrasub.
   12404 # FIXME: do we really want to maintain this feature?
   12405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12406 ac_sed_extra="$ac_vpsub
   12407 $extrasub
   12408 _ACEOF
   12409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12410 :t
   12411 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12412 s|@configure_input@|$ac_sed_conf_input|;t t
   12413 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12414 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12415 s&@srcdir@&$ac_srcdir&;t t
   12416 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12417 s&@top_srcdir@&$ac_top_srcdir&;t t
   12418 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12419 s&@builddir@&$ac_builddir&;t t
   12420 s&@abs_builddir@&$ac_abs_builddir&;t t
   12421 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12422 s&@INSTALL@&$ac_INSTALL&;t t
   12423 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12424 $ac_datarootdir_hack
   12425 "
   12426 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12427   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12428 
   12429 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12430   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12431   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12432       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12434 which seems to be undefined.  Please make sure it is defined" >&5
   12435 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12436 which seems to be undefined.  Please make sure it is defined" >&2;}
   12437 
   12438   rm -f "$ac_tmp/stdin"
   12439   case $ac_file in
   12440   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12441   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12442   esac \
   12443   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12444  ;;
   12445   :H)
   12446   #
   12447   # CONFIG_HEADER
   12448   #
   12449   if test x"$ac_file" != x-; then
   12450     {
   12451       printf "%s\n" "/* $configure_input  */" >&1 \
   12452       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12453     } >"$ac_tmp/config.h" \
   12454       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12455     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12456       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12457 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   12458     else
   12459       rm -f "$ac_file"
   12460       mv "$ac_tmp/config.h" "$ac_file" \
   12461 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12462     fi
   12463   else
   12464     printf "%s\n" "/* $configure_input  */" >&1 \
   12465       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12466       || as_fn_error $? "could not create -" "$LINENO" 5
   12467   fi
   12468 # Compute "$ac_file"'s index in $config_headers.
   12469 _am_arg="$ac_file"
   12470 _am_stamp_count=1
   12471 for _am_header in $config_headers :; do
   12472   case $_am_header in
   12473     $_am_arg | $_am_arg:* )
   12474       break ;;
   12475     * )
   12476       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12477   esac
   12478 done
   12479 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12480 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12481 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12482 	 X"$_am_arg" : 'X\(//\)$' \| \
   12483 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12484 printf "%s\n" X"$_am_arg" |
   12485     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12486 	    s//\1/
   12487 	    q
   12488 	  }
   12489 	  /^X\(\/\/\)[^/].*/{
   12490 	    s//\1/
   12491 	    q
   12492 	  }
   12493 	  /^X\(\/\/\)$/{
   12494 	    s//\1/
   12495 	    q
   12496 	  }
   12497 	  /^X\(\/\).*/{
   12498 	    s//\1/
   12499 	    q
   12500 	  }
   12501 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12502  ;;
   12503 
   12504   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12505 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   12506  ;;
   12507   esac
   12508 
   12509 
   12510   case $ac_file$ac_mode in
   12511     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12512   # Older Autoconf quotes --file arguments for eval, but not when files
   12513   # are listed without --file.  Let's play safe and only enable the eval
   12514   # if we detect the quoting.
   12515   # TODO: see whether this extra hack can be removed once we start
   12516   # requiring Autoconf 2.70 or later.
   12517   case $CONFIG_FILES in #(
   12518   *\'*) :
   12519     eval set x "$CONFIG_FILES" ;; #(
   12520   *) :
   12521     set x $CONFIG_FILES ;; #(
   12522   *) :
   12523      ;;
   12524 esac
   12525   shift
   12526   # Used to flag and report bootstrapping failures.
   12527   am_rc=0
   12528   for am_mf
   12529   do
   12530     # Strip MF so we end up with the name of the file.
   12531     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   12532     # Check whether this is an Automake generated Makefile which includes
   12533     # dependency-tracking related rules and includes.
   12534     # Grep'ing the whole file directly is not great: AIX grep has a line
   12535     # limit of 2048, but all sed's we know have understand at least 4000.
   12536     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   12537       || continue
   12538     am_dirpart=`$as_dirname -- "$am_mf" ||
   12539 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12540 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   12541 	 X"$am_mf" : 'X\(//\)$' \| \
   12542 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12543 printf "%s\n" X"$am_mf" |
   12544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12545 	    s//\1/
   12546 	    q
   12547 	  }
   12548 	  /^X\(\/\/\)[^/].*/{
   12549 	    s//\1/
   12550 	    q
   12551 	  }
   12552 	  /^X\(\/\/\)$/{
   12553 	    s//\1/
   12554 	    q
   12555 	  }
   12556 	  /^X\(\/\).*/{
   12557 	    s//\1/
   12558 	    q
   12559 	  }
   12560 	  s/.*/./; q'`
   12561     am_filepart=`$as_basename -- "$am_mf" ||
   12562 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   12563 	 X"$am_mf" : 'X\(//\)$' \| \
   12564 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   12565 printf "%s\n" X/"$am_mf" |
   12566     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12567 	    s//\1/
   12568 	    q
   12569 	  }
   12570 	  /^X\/\(\/\/\)$/{
   12571 	    s//\1/
   12572 	    q
   12573 	  }
   12574 	  /^X\/\(\/\).*/{
   12575 	    s//\1/
   12576 	    q
   12577 	  }
   12578 	  s/.*/./; q'`
   12579     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   12580       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12581         | $MAKE -f - am--depfiles" >&5
   12582    (cd "$am_dirpart" \
   12583       && sed -e '/# am--include-marker/d' "$am_filepart" \
   12584         | $MAKE -f - am--depfiles) >&5 2>&5
   12585    ac_status=$?
   12586    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12587    (exit $ac_status); } || am_rc=$?
   12588   done
   12589   if test $am_rc -ne 0; then
   12590     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12591 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12592 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   12593     for automatic dependency tracking.  If GNU make was not used, consider
   12594     re-running the configure script with MAKE=\"gmake\" (or whatever is
   12595     necessary).  You can also try re-running configure with the
   12596     '--disable-dependency-tracking' option to at least be able to build
   12597     the package (albeit without support for automatic dependency tracking).
   12598 See \`config.log' for more details" "$LINENO" 5; }
   12599   fi
   12600   { am_dirpart=; unset am_dirpart;}
   12601   { am_filepart=; unset am_filepart;}
   12602   { am_mf=; unset am_mf;}
   12603   { am_rc=; unset am_rc;}
   12604   rm -f conftest-deps.mk
   12605 }
   12606  ;;
   12607 
   12608   esac
   12609 done # for ac_tag
   12610 
   12611 
   12612 as_fn_exit 0
   12613 _ACEOF
   12614 ac_clean_files=$ac_clean_files_save
   12615 
   12616 test $ac_write_fail = 0 ||
   12617   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12618 
   12619 
   12620 # configure is writing to config.log, and then calls config.status.
   12621 # config.status does its own redirection, appending to config.log.
   12622 # Unfortunately, on DOS this fails, as config.log is still kept open
   12623 # by configure, so config.status won't be able to write to it; its
   12624 # output is simply discarded.  So we exec the FD to /dev/null,
   12625 # effectively closing config.log, so it can be properly (re)opened and
   12626 # appended to by config.status.  When coming back to configure, we
   12627 # need to make the FD available again.
   12628 if test "$no_create" != yes; then
   12629   ac_cs_success=:
   12630   ac_config_status_args=
   12631   test "$silent" = yes &&
   12632     ac_config_status_args="$ac_config_status_args --quiet"
   12633   exec 5>/dev/null
   12634   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12635   exec 5>>config.log
   12636   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12637   # would make configure fail if this is the last instruction.
   12638   $ac_cs_success || as_fn_exit 1
   12639 fi
   12640 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12642 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12643 fi
   12644 
   12645 
   12646